Skip to content

Commit

Permalink
partial revert
Browse files Browse the repository at this point in the history
  • Loading branch information
awojciak committed Nov 15, 2023
1 parent b6d5e2b commit a157b0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/store/consts/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,17 +352,17 @@ export const WSOL_POSITION_INIT_LAMPORTS = new BN(6164600)

export const WSOL_POOL_INIT_LAMPORTS = new BN(106000961)

export const minimumRangesForTiers = [20, 20, 74, 80, 64, 28, 28, 28, 28]
export const minimumRangesForTiers = [20, 20, 20, 20, 74, 80, 64, 28, 28, 28, 28]

export const maxSafeConcentrationsForTiers = [
400.52, 400.52, 41.49, 21.47, 8.13, 5.45, 5.45, 5.45, 5.45
400.52, 400.52, 400.52, 400.52, 41.49, 21.47, 8.13, 5.45, 5.45, 5.45, 5.45
]

export const ALL_FEE_TIERS_DATA = FEE_TIERS.slice(2).map((tier, index) => ({
export const ALL_FEE_TIERS_DATA = FEE_TIERS.map((tier, index) => ({
tier,
minimumRange: minimumRangesForTiers[index],
maxSafeConcentration: maxSafeConcentrationsForTiers[index],
primaryIndex: index
}))
})).slice(2) // remove slice if all tiers should be visible

export { SolanaNetworks, DEFAULT_PUBLICKEY, MAX_U64, NetworkType }

0 comments on commit a157b0b

Please sign in to comment.