raise min ante to M$50

This commit is contained in:
mantikoros 2022-04-04 10:47:29 -05:00
parent 9c11104110
commit 18bba89507
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -72,7 +72,7 @@ export function NewContract(props: { question: string; tag?: string }) {
const [ante, setAnte] = useState<number | undefined | null>(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])