issues
search
treasure-chess
/
treasure-contracts
Smart Contracts and Subgraphs for Treasure Chess
MIT License
6
stars
1
forks
source link
Subgraph for Treasure and TreasureMarket
#7
Open
pi0neerpat
opened
2 years ago
pi0neerpat
commented
2 years ago
[ ] 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
commented
2 years ago
@step21 Adding here, so you can link to this in your PR