985cdd2537
* 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> |
||
---|---|---|
.. | ||
util | ||
.gitignore | ||
access.ts | ||
answer.ts | ||
antes.ts | ||
bet.ts | ||
calculate.ts | ||
comment.ts | ||
contract.ts | ||
fees.ts | ||
fold.ts | ||
new-bet.ts | ||
new-contract.ts | ||
package.json | ||
payouts.ts | ||
scoring.ts | ||
sell-bet.ts | ||
user.ts | ||
yarn.lock |