From 2acc1a8433c7427977e2a380828a27dc8e1e13e8 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Sun, 28 Aug 2022 00:11:28 -0500 Subject: [PATCH] =?UTF-8?q?Double=20daily=20loans=20rate=20to=202%=20?= =?UTF-8?q?=F0=9F=92=B0=F0=9F=92=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/loans.ts | 2 +- web/components/profile/loans-modal.tsx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/loans.ts b/common/loans.ts index cb956c09..05b64474 100644 --- a/common/loans.ts +++ b/common/loans.ts @@ -10,7 +10,7 @@ import { import { PortfolioMetrics, User } from './user' import { filterDefined } from './util/array' -const LOAN_DAILY_RATE = 0.01 +const LOAN_DAILY_RATE = 0.02 const calculateNewLoan = (investedValue: number, loanTotal: number) => { const netValue = investedValue - loanTotal diff --git a/web/components/profile/loans-modal.tsx b/web/components/profile/loans-modal.tsx index 945fb6fe..07853162 100644 --- a/web/components/profile/loans-modal.tsx +++ b/web/components/profile/loans-modal.tsx @@ -15,7 +15,7 @@ export function LoansModal(props: { • What are daily loans? - Every day at midnight PT, get 1% of your total bet amount back as a + Every day at midnight PT, get 2% of your total bet amount back as a loan. @@ -34,12 +34,12 @@ export function LoansModal(props: { • What is an example? - For example, if you bet M$1000 on "Will I become a millionare?" on - Monday, you will get M$10 back on Tuesday. + 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 Wednesday, - you would get back 1% of M$990 = M$9.9. + Previous loans count against your total bet amount. So on the third + day, you would get back 2% of M$(1000 - 20) = M$19.6.