issues
search
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
Track user positions
#1
Closed
TomAFrench
closed
3 years ago
TomAFrench
commented
3 years ago
Changelog:
[x] Track how buys/sells/merges/splits/redeems affect a user's balance of outcome tokens + price paid for them.
[x] Modify schema such that mapping between conditions and market makers is stored on conditions.
[x] Calculate outcome token prices on market makers after each buy/sell.
[x] Refactor
handlePoolShareTransfer
function to remove duplication.
[x] Move some common constants out to utils/constants.ts.
Changelog:
handlePoolShareTransfer
function to remove duplication.