valorem-labs-inc / clear-subgraph

The Clear Subgraph indexes data on the Valorem Clear smart contracts using a GraphQL interface. It updates data in response to contract ABI function calls and events. The Subgraph can be used to power frontend apps and integration use cases.
https://valorem.xyz/docs/clear-subgraph/
MIT License
1 stars 1 forks source link

Update subgraph with new bucket events #44

Closed nickadamson closed 1 year ago

nickadamson commented 1 year ago

Need to add these properties back to Claim once we are able to emulate Buckets on Subgraph to calculate claimIds

  // The number of options this claim corresponds to that have been exercised
  amountExercised: BigInt! 
  // The amount of the Exercise Asset this claim can redeem post-expiry
  exercisePositionAmount: BigInt! 
  // The amount of the Underlying Asset this claim can redeem post-expiry
  underlyingPositionAmount: BigInt! 

requires changes made to core contracts

Edit: Now that https://github.com/valorem-labs-inc/valorem-core/pull/185 has been merged, the subgraph needs to be updated with the new ABI.

0xAlcibiades commented 1 year ago

@nickadamson is this encapsulated in the latest subgraph PR?