manifold/common
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
..
util New, pretty user page (#48) 2022-02-17 17:16:58 -08:00
.gitignore Add package.json to common directory, and lodash dependency 2022-02-01 12:59:51 -06:00
access.ts Reapply Manifold for Teams config changes (#54) 2022-02-26 23:29:33 -08:00
answer.ts Free response (#47) 2022-02-17 17:00:19 -06:00
antes.ts Free response (#47) 2022-02-17 17:00:19 -06:00
bet.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00
calculate.ts for sales, show change in implied probability 2022-02-17 18:24:10 -06:00
comment.ts User profile (#44) 2022-02-03 21:04:56 -06:00
contract.ts Implement resolving to multiple answers, weighted by probability 2022-02-20 01:26:33 -06:00
fees.ts lower creator fee to 4% 2022-02-03 20:49:04 -06:00
fold.ts Match lowercase tags for folds 2022-02-01 12:29:14 -06:00
new-bet.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00
new-contract.ts Free response (#47) 2022-02-17 17:00:19 -06:00
package.json Yarn workspaces (#42) 2022-02-01 15:25:51 -06:00
payouts.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00
scoring.ts Calculate global leaderboard from contract bets 2022-02-01 21:30:43 -06:00
sell-bet.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00
user.ts Send email to market creator on new answer 2022-02-23 00:05:04 -06:00
yarn.lock Add package.json to common directory, and lodash dependency 2022-02-01 12:59:51 -06:00