manifold/web/pages/api/v0
TrueMilli 9945738811
Refinement of LiteMarket (#479)
* split into two function to access the pool value as number

* rename function

* changes to the exported object

* removal of totalLiquidity: this value was only set for binary markets and it's value is identical to getPoolvalue(contract)
* pool: set in the same way as in the "Market Overview" from contract-info-dialog.tsx now
* totalShares: total shares of the contract. It's value is equal to the old "pool" value in case of binary markets

* update docs

* removal of totalShares
2022-06-14 12:01:12 -05:00
..
bet api/v0/bets -> api/v0/bet 2022-06-07 15:44:07 -07:00
market Revert "Revert "Turn on no unused variables linting, kill dead code (#484)"" 2022-06-12 21:42:41 -07:00
slug Revert "Revert "Turn on no unused variables linting, kill dead code (#484)"" 2022-06-12 21:42:41 -07:00
_types.ts Refinement of LiteMarket (#479) 2022-06-14 12:01:12 -05:00
markets.ts Add paging to /markets API endpoint (#468) 2022-06-08 18:08:06 -07:00