Conversation
|
dont spend too much time on this one, im already working on a v3 which tracks all gauges deployed by the velodrome factory. quick test: mock connect to the app from
https://optimistic.etherscan.io/address/0xa1034ed2c9eb616d6f7f318614316e64682e7923#readContract |
petrovska-petro
left a comment
There was a problem hiding this comment.
lfg 🚀
-
queries against
https://api.studio.thegraph.com/proxy/50162/smartgarden-optimism-gauges/version/latest/graphqlsplits out the expected for multiple users ✅ -
entities and reverse lookup in user looks good ✅
-
handleDepositfor user leverages thetoevent, since it could be deposited in behalf on somebody else ✅
lets leverage this info into the ui 🔥


ideally the subgraph would grab balances of all gauges, but for now i just hardcoded the usdc dola gauge
i have no idea what i am doing in the frontend part, but i got the balance logged successfully :D