Change currency constants

This commit is contained in:
Austin Chen 2022-06-14 03:34:50 -07:00
parent f4c7148e7e
commit 14864a9f7e
3 changed files with 8 additions and 3 deletions

View File

@ -10,8 +10,9 @@ import {
import { User } from './user' import { User } from './user'
import { LiquidityProvision } from './liquidity-provision' import { LiquidityProvision } from './liquidity-provision'
import { noFees } from './fees' import { noFees } from './fees'
import { ENV_CONFIG } from './envs/constants'
export const FIXED_ANTE = 100 export const FIXED_ANTE = ENV_CONFIG.fixedAnte ?? 10
// deprecated // deprecated
export const PHANTOM_ANTE = 0.001 export const PHANTOM_ANTE = 0.001

View File

@ -20,8 +20,9 @@ export const ATLAS_CONFIG: EnvConfig = {
}, },
adminEmails: [...PROD_CONFIG.adminEmails], adminEmails: [...PROD_CONFIG.adminEmails],
whitelistEmail: '', whitelistEmail: '',
moneyMoniker: 'A$', moneyMoniker: '📎',
startingBalance: 5000, fixedAnte: 10,
startingBalance: 500,
visibility: 'PRIVATE', visibility: 'PRIVATE',
// faviconPath: '/atlas/atlas-favicon.png', // faviconPath: '/atlas/atlas-favicon.png',
navbarLogoPath: '/atlas/atlas-logo-white.svg', navbarLogoPath: '/atlas/atlas-logo-white.svg',

View File

@ -19,6 +19,9 @@ export type EnvConfig = {
faviconPath?: string // Should be a file in /public faviconPath?: string // Should be a file in /public
navbarLogoPath?: string navbarLogoPath?: string
newQuestionPlaceholders: string[] newQuestionPlaceholders: string[]
// Currency controls
fixedAnte?: number
startingBalance?: number startingBalance?: number
} }