Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
SidharthK2 committed May 13, 2024
1 parent e77a48f commit d3024a3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/data/LockConstants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@ import config from '@/config'

const DEV_GAS_LIMIT = 10_000_000
export const YEARS_LOCK = 4
export const YIELD_GAS_LIMIT = config.alchemyChain === 'iqChain' ? DEV_GAS_LIMIT : 185_000
export const CHECKPOINT_GAS_LIMIT = config.alchemyChain === 'iqChain' ? DEV_GAS_LIMIT : 220_000
export const LOCK_UPDATE_GAS_LIMIT = config.alchemyChain === 'iqChain' ? DEV_GAS_LIMIT : 440000
export const LOCK_AND_WITHDRAWAL_GAS_LIMIT = config.alchemyChain === 'iqChain' ? DEV_GAS_LIMIT : 490000
export const DEFAULT_GAS_LIMIT = config.alchemyChain === 'iqChain' ? DEV_GAS_LIMIT : 170000
export const YIELD_GAS_LIMIT =
config.alchemyChain === 'iqChain' ? DEV_GAS_LIMIT : 185_000
export const CHECKPOINT_GAS_LIMIT =
config.alchemyChain === 'iqChain' ? DEV_GAS_LIMIT : 220_000
export const LOCK_UPDATE_GAS_LIMIT =
config.alchemyChain === 'iqChain' ? DEV_GAS_LIMIT : 440000
export const LOCK_AND_WITHDRAWAL_GAS_LIMIT =
config.alchemyChain === 'iqChain' ? DEV_GAS_LIMIT : 490000
export const DEFAULT_GAS_LIMIT =
config.alchemyChain === 'iqChain' ? DEV_GAS_LIMIT : 170000
export const APPROVE = config.alchemyChain === 'iqChain' ? DEV_GAS_LIMIT : 50000
export const EP_COINGECKO_URL =
'https://api.coingecko.com/api/v3/simple/price?ids=everipedia&vs_currencies=usd'
Expand Down

0 comments on commit d3024a3

Please sign in to comment.