manifold/web/components/answers
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
..
answer-bet-panel.tsx 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00
answer-item.tsx 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00
answer-resolve-panel.tsx Split answers panel into 5 files 2022-02-20 16:25:58 -06:00
answers-panel.tsx Fix hiding answers where all bets sold 2022-02-22 14:12:49 -06:00
create-answer-panel.tsx 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00