manifold/web/lib/firebase
James Grugett 985cdd2537
🏦 Per-market loans! (#57)
* Loan backend: Add loanAmount field to Bet, manage loans up to max loan amount per market -- buy, sell, and resolve.

* Loan frontend: show your loan amount in bet panel, answer bet panel

* Resolve emails include full payout not subtracting loan

* Exclude sold bets from current loan amount

* Handle bets table for loans. Sell dialog explains how you will repay your loan.

* Floor remaining balance

* Fix layout of create answer bet info

* Clean up Sell popup UI

* Fix bug where listen query was not updating data.

* Reword loan copy

* Adjust bet panel width

* Fix loan calc on front end

* Add comment for includeMetadataChanges.

Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-03-01 21:31:48 -06:00
..
answers.ts Free response (#47) 2022-02-17 17:00:19 -06:00
api-call.ts Implement resolving to multiple answers, weighted by probability 2022-02-20 01:26:33 -06:00
bets.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00
comments.ts User profile (#44) 2022-02-03 21:04:56 -06:00
contracts.ts Add explore tab on home feed that shows random inactive markets. 2022-02-27 13:37:11 -08:00
folds.ts Prevent client error with > 10 tags on contract 2022-02-22 22:21:00 -06:00
init.ts Reapply Manifold for Teams config changes (#54) 2022-02-26 23:29:33 -08:00
storage.ts User profile (#44) 2022-02-03 21:04:56 -06:00
users.ts add @SG back to leaderboard 2022-02-22 19:41:57 -06:00
utils.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00