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> |
||
---|---|---|
.. | ||
use-admin.ts | ||
use-answers.ts | ||
use-bets.ts | ||
use-comments.ts | ||
use-contract.ts | ||
use-contracts.ts | ||
use-find-active-contracts.ts | ||
use-fold.ts | ||
use-preserve-scroll.ts | ||
use-sort-and-query-params.tsx | ||
use-user-bets.ts | ||
use-user.ts | ||
use-users.ts | ||
use-window-size.ts |