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> |
||
---|---|---|
.. | ||
[username] | ||
api/v0 | ||
fold/[...slugs] | ||
tag | ||
_app.tsx | ||
_document.tsx | ||
404.tsx | ||
about.module.css | ||
about.tsx | ||
account.tsx | ||
activity.tsx | ||
add-funds.tsx | ||
admin.tsx | ||
analytics.tsx | ||
create.tsx | ||
folds.tsx | ||
home.tsx | ||
index.tsx | ||
landing-page.tsx | ||
leaderboards.tsx | ||
make-predictions.tsx | ||
markets.tsx | ||
profile.tsx | ||
simulator.tsx | ||
trades.tsx |