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

Subgraph for Treasure and TreasureMarket #7

Open
5 tasks
pi0neerpat opened this issue Nov 9, 2021 · 1 comment
Open
5 tasks

Subgraph for Treasure and TreasureMarket #7

pi0neerpat opened this issue Nov 9, 2021 · 1 comment
Assignees

Comments

@pi0neerpat
Copy link
Member

pi0neerpat commented Nov 9, 2021

  • List of all tokens by owner. Watches for transfer and minting events. Ie query owner 0xabc123 and get a list of tokens they own [1, 7, 8]
  • List of tokens listed for sale, includes price and who listed it. [{tokenId: 5, price: , saleCurrency: eth/0xUsdc},]
  • Track transfers and sales of each token. Watches market + transfers. Ie token 5 has been sold for X amount on Y day.
  • Query token id to get current price (if for sale), meta data, current owner
  • Query token id to get a history of previous transfers / sales: [who sold it, who got it, time of transfer, price/0]
@pi0neerpat
Copy link
Member Author

@step21 Adding here, so you can link to this in your PR

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

No branches or pull requests

3 participants