Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CW20 Transfer Tracking #13

Closed
ejfitzgerald opened this issue Jul 21, 2022 · 0 comments · Fixed by #86
Closed

CW20 Transfer Tracking #13

ejfitzgerald opened this issue Jul 21, 2022 · 0 comments · Fixed by #86
Milestone

Comments

@ejfitzgerald
Copy link
Member

Acceptance Criteria

To add the ability for a user to query CW20 transfers between two accounts. This means that a user should be able to perform the following searches:

  • Transfers made to a specified account
  • Transfers made from a specified account
  • Transfers made to or from a specified account

In addition the following filters should be able to queries above

  • Filter by denom
  • Filter by block height
    • In a specified range
    • Greater than value
    • Less than value
  • Filter timestamp
    • In a specified range
    • Greater than value
    • Less than value

Below is an illustrative schema for the problem

type Cw20Transfer @entity {
  id: ID!
  timestamp: Timestamp! # indexable
  from: String!  # indexable
  contract: String! #indexable
  to: String! #indexable
  blockHeight: BigInt! # indexable
  txIndex: Int!
  msgIndex: Int!
  amount: BigInt!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants