manifold/functions
mantikoros f48ae0170b
Sell bets (#12)
* sell bet

* dev mode

* single-pot no-refund payoff; bet selling

* Increase default fetch size 25 -> 99

* Fix about page numbering

* Don't flash no markets when loading on tag page.

* Change Title to use body font

* Make a bunch of predictions at once (#9)

* Set up a page to make bulk predictions

* Integrate preview into the same card

* List created predictions

* Make changes per James's comments

* Increase the starting balance (#11)

* Remove references to paying for our Mantic Dollars

* Update simulator to use new calculations

* Change simulator random to be evenly random again

* Sell bet UI

* Migrate contracts and bets script

* Add comment to script

* bets => trades; exclude sold bets

* change sale formula

* Change current value to uncapped sell value.

* Disable sell button while selling

* Update some 'bet' to 'trade'

Co-authored-by: Austin Chen <akrolsmir@gmail.com>
Co-authored-by: jahooma <jahooma@gmail.com>
2021-12-24 15:06:01 -06:00
..
src Sell bets (#12) 2021-12-24 15:06:01 -06:00
.gitignore initial commit 2021-12-10 12:10:30 -06:00
.prettierrc Calculate probBefore, probAfter, and probAverage on placeBet cloud function 2021-12-12 15:32:06 -06:00
package.json Sell bets (#12) 2021-12-24 15:06:01 -06:00
tsconfig.json initial commit 2021-12-10 12:10:30 -06:00
yarn.lock Switch to yarn 2021-12-19 16:08:25 -06:00