Create H2O voting strategy #517
Create H2O voting strategy #517
Comments
|
Does it absolutely need to use the subgraph? Or would it be acceptable to use a Multicall? |
|
Many strategies in snapshot use multicall, so as an improvement this seems fine. As a note, many of our existing strategies are consuming from the subgraph. Potentially in the near future, we'll have to find a solution beyond 1000 records for our existing subgraph queries. |
|
Just in case I can't get the Multicall approach working, I optimized the subgraph query slightly. It now lists all the safes associated with a given user (useful for users with multiple safes) and filters by "OCEAN-A" collateral. |
|
I finished implementing the strategy using the subgraph, submitted the PR to snapshot labs, and the PR was merged! |
|
@MantisClone, great work. Based on our checks and verifications, I believe it's working as intended. Recommended order of priority and improvements:
If you agree, please close the ticket, create new ones, and reference this task. |
Based on share made by Alex Coseru
using https://thegraph.com/hosted-service/subgraph/h2odata/h2o-mainnet?selected=playground
The text was updated successfully, but these errors were encountered: