8b7cd20b6f
* Remove some old loan code * Almost complete implementation of updateLoans cloud function * Merge fixes * Use invested instead of sale value, check if eligible, perform payouts * Run monday 12am * Implement loan income notification * Fix imports * Loan update fixes / debug * Handle NaN and negative loan calcs * Working loan notification * Loan modal! * Move loans calculation to /common * Better layout * Pay back loan on sell shares * Pay back fraction of loan on redeem * Sell bet loan: negate buy bet's loan * Modal tweaks * Compute and store nextLoanCached for all users * lint * Update loans with newest portfolio * Filter loans to only unresolved contracts * Tweak spacing * Increase memory |
||
---|---|---|
.. | ||
[username] | ||
api/v0 | ||
challenges | ||
charity | ||
embed | ||
group/[...slugs] | ||
link | ||
_app.tsx | ||
_document.tsx | ||
404.tsx | ||
add-funds.tsx | ||
admin.tsx | ||
contract-search-firestore.tsx | ||
create.tsx | ||
groups.tsx | ||
home.tsx | ||
index.tsx | ||
leaderboards.tsx | ||
links.tsx | ||
notifications.tsx | ||
profile.tsx | ||
referrals.tsx | ||
server-sitemap.xml.tsx | ||
simulator.tsx | ||
stats.tsx |