Polymarket / polymarket-subgraph

Polymarket's public subgraph manifest for indexing on-chain trade, volume, user, liquidity and market data.
GNU Lesser General Public License v3.0
24 stars 5 forks source link

Feat/market position refactor #30

Closed JonathanAmenechi closed 1 year ago

JonathanAmenechi commented 1 year ago

Goal of this PR is to unify MarketPosition type across FPMMs and the Orderbook. This is done by using the ConditionalTokens ERC1155 tokenId as the primary identifier for a position.

Refactor MarketPosition:

Update Exchange: