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

Ability to query options ERC-1155 tokens #6

Closed 0xAlcibiades closed 2 years ago

0xAlcibiades commented 2 years ago

This PR adds a type field to the ERC-1155 tokens created by the protocol in the subgraph. This type enum/int can be used to query for all tokens of type option produced by the prococol in a given user's wallet.