turbo
turbo copied to clipboard
Sportsbook: Don't show the remaining balances from LP removals
this will require an update to graph data so we can differentiate what was shares from a bought/sold position and what is shares from lp add/remove. adding bruno to track this.
There are flags on the graph data and on the user's position that indicated if the user got a position from LPing.
positionFromAddLiquidity and positionFromRemoveLiquidity for positions that come from getUserBalances.
The graph schema also has these flags for closed positions. These flags would need to be added to the positionBalance graph query in queries.ts