Remove deprecated antes
This commit is contained in:
parent
14864a9f7e
commit
8d97eb6f63
|
@ -14,10 +14,6 @@ import { ENV_CONFIG } from './envs/constants'
|
||||||
|
|
||||||
export const FIXED_ANTE = ENV_CONFIG.fixedAnte ?? 10
|
export const FIXED_ANTE = ENV_CONFIG.fixedAnte ?? 10
|
||||||
|
|
||||||
// deprecated
|
|
||||||
export const PHANTOM_ANTE = 0.001
|
|
||||||
export const MINIMUM_ANTE = 50
|
|
||||||
|
|
||||||
export const HOUSE_LIQUIDITY_PROVIDER_ID = 'IPTOzEqrpkWmEzh6hwvAyY9PqFb2' // @ManifoldMarkets' id
|
export const HOUSE_LIQUIDITY_PROVIDER_ID = 'IPTOzEqrpkWmEzh6hwvAyY9PqFb2' // @ManifoldMarkets' id
|
||||||
|
|
||||||
export function getCpmmInitialLiquidity(
|
export function getCpmmInitialLiquidity(
|
||||||
|
|
|
@ -109,7 +109,6 @@ export function NewContract(props: { question: string }) {
|
||||||
question.length > 0 &&
|
question.length > 0 &&
|
||||||
ante !== undefined &&
|
ante !== undefined &&
|
||||||
ante !== null &&
|
ante !== null &&
|
||||||
ante >= MINIMUM_ANTE &&
|
|
||||||
(ante <= balance ||
|
(ante <= balance ||
|
||||||
(mustWaitForDailyFreeMarketStatus != 'loading' &&
|
(mustWaitForDailyFreeMarketStatus != 'loading' &&
|
||||||
!mustWaitForDailyFreeMarketStatus)) &&
|
!mustWaitForDailyFreeMarketStatus)) &&
|
||||||
|
|
Loading…
Reference in New Issue
Block a user