balancer-subgraph-v2 icon indicating copy to clipboard operation
balancer-subgraph-v2 copied to clipboard

Add additional references between objects

Open jeffywu opened this issue 3 years ago • 1 comments

PoolSnapshot could be added as a derived reference on the Pool object, this would make it easy to get all the snapshots in context.

JoinExit and Swap objects could refer to PoolHistoricalLiquidity objects so that trade sizes relative to the pool could be calculated.

jeffywu avatar Feb 12 '22 13:02 jeffywu

@thetroyharris you can also add: 1. JoinExit as derived reference to Pool, 2. blockNumber to JoinExit and Swap entity; 3. BalancerSnapshot as derived reference to Balancer

mendesfabio avatar Dec 11 '23 14:12 mendesfabio