2022-08-22 05:22:49 +00:00
|
|
|
import { Modal } from 'web/components/layout/modal'
|
|
|
|
import { Col } from 'web/components/layout/col'
|
2022-09-15 15:12:56 +00:00
|
|
|
import { PAST_BETS } from 'common/user'
|
2022-08-22 05:22:49 +00:00
|
|
|
|
|
|
|
export function LoansModal(props: {
|
|
|
|
isOpen: boolean
|
|
|
|
setOpen: (open: boolean) => void
|
|
|
|
}) {
|
|
|
|
const { isOpen, setOpen } = props
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Modal open={isOpen} setOpen={setOpen}>
|
|
|
|
<Col className="items-center gap-4 rounded-md bg-white px-8 py-6">
|
|
|
|
<span className={'text-8xl'}>🏦</span>
|
2022-09-15 15:12:56 +00:00
|
|
|
<span className="text-xl">Daily loans on your {PAST_BETS}</span>
|
2022-08-22 05:22:49 +00:00
|
|
|
<Col className={'gap-2'}>
|
2022-08-25 03:03:07 +00:00
|
|
|
<span className={'text-indigo-700'}>• What are daily loans?</span>
|
2022-08-22 05:22:49 +00:00
|
|
|
<span className={'ml-2'}>
|
2022-08-28 05:11:28 +00:00
|
|
|
Every day at midnight PT, get 2% of your total bet amount back as a
|
2022-08-25 03:03:07 +00:00
|
|
|
loan.
|
2022-08-22 05:22:49 +00:00
|
|
|
</span>
|
|
|
|
<span className={'text-indigo-700'}>
|
|
|
|
• Do I have to pay back a loan?
|
|
|
|
</span>
|
|
|
|
<span className={'ml-2'}>
|
|
|
|
Yes, don't worry! You will automatically pay back loans when the
|
|
|
|
market resolves or you sell your bet.
|
|
|
|
</span>
|
|
|
|
<span className={'text-indigo-700'}>
|
|
|
|
• What is the purpose of loans?
|
|
|
|
</span>
|
|
|
|
<span className={'ml-2'}>
|
|
|
|
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.
|
|
|
|
</span>
|
|
|
|
<span className={'text-indigo-700'}>• What is an example?</span>
|
|
|
|
<span className={'ml-2'}>
|
2022-10-08 17:51:58 +00:00
|
|
|
For example, if you bet M$1000 on "Will I become a millionare?", you
|
|
|
|
will get M$20 back tomorrow.
|
2022-08-22 05:22:49 +00:00
|
|
|
</span>
|
|
|
|
<span className={'ml-2'}>
|
2022-08-29 04:51:43 +00:00
|
|
|
Previous loans count against your total bet amount. So on the next
|
2022-08-28 05:11:28 +00:00
|
|
|
day, you would get back 2% of M$(1000 - 20) = M$19.6.
|
2022-08-22 05:22:49 +00:00
|
|
|
</span>
|
|
|
|
</Col>
|
|
|
|
</Col>
|
|
|
|
</Modal>
|
|
|
|
)
|
|
|
|
}
|