raise min ante to M$50
This commit is contained in:
parent
9c11104110
commit
18bba89507
|
@ -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,
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue
Block a user