import { Modal } from 'web/components/layout/modal' import { Col } from 'web/components/layout/col' import { PAST_BETS } from 'common/user' export function LoansModal(props: { isOpen: boolean setOpen: (open: boolean) => void }) { const { isOpen, setOpen } = props return ( 🏦 Daily loans on your {PAST_BETS} • What are daily loans? Every day at midnight PT, get 2% of your total bet amount back as a loan. • Do I have to pay back a loan? Yes, don't worry! You will automatically pay back loans when the market resolves or you sell your bet. • What is the purpose of loans? Loans make it worthwhile to bet on markets that won't resolve for months or years, because your investment won't be locked up as long. • What is an example? For example, if you bet M$1000 on "Will I become a millionare?", you will get M$20 back tomorrow. Previous loans count against your total bet amount. So on the next day, you would get back 2% of M$(1000 - 20) = M$19.6. ) }