From 18bba89507b854ddc98a5faf39773bf118423e76 Mon Sep 17 00:00:00 2001 From: mantikoros Date: Mon, 4 Apr 2022 10:47:29 -0500 Subject: [PATCH] raise min ante to M$50 --- common/antes.ts | 2 +- web/pages/create.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/antes.ts b/common/antes.ts index 6092ab09..6a0c0946 100644 --- a/common/antes.ts +++ b/common/antes.ts @@ -6,7 +6,7 @@ import { LiquidityProvision } from './liquidity-provision' import { noFees } from './fees' export const PHANTOM_ANTE = 0.001 -export const MINIMUM_ANTE = 10 +export const MINIMUM_ANTE = 50 export function getCpmmInitialLiquidity( creator: User, diff --git a/web/pages/create.tsx b/web/pages/create.tsx index fbffd927..4092e97e 100644 --- a/web/pages/create.tsx +++ b/web/pages/create.tsx @@ -72,7 +72,7 @@ export function NewContract(props: { question: string; tag?: string }) { const [ante, setAnte] = useState(null) useEffect(() => { if (ante === null && creator) { - const initialAnte = creator.balance < 100 ? 10 : 100 + const initialAnte = creator.balance < 100 ? MINIMUM_ANTE : 100 setAnte(initialAnte) } }, [ante, creator])