Skip to content

Commit

Permalink
init price_scale calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0n00gler committed Sep 25, 2023
1 parent 95f6a0e commit d6f0682
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/testcases/run_in_band/tge.auction_migration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,9 @@ describe('Neutron / TGE / Auction / Lockdrop migration', () => {
fee_gamma: '0.00023',
repeg_profit_threshold: '0.000002',
min_price_scale_delta: '0.000146',
price_scale: '1',
price_scale: (atomBalance / ntrnAtomSize)
.toPrecision(5)
.toString(),
ma_half_time: 600,
track_asset_balances: true,
}),
Expand All @@ -1536,7 +1538,9 @@ describe('Neutron / TGE / Auction / Lockdrop migration', () => {
fee_gamma: '0.00023',
repeg_profit_threshold: '0.000002',
min_price_scale_delta: '0.000146',
price_scale: '1',
price_scale: (usdcBalance / ntrnUsdcSize)
.toPrecision(5)
.toString(),
ma_half_time: 600,
track_asset_balances: true,
}),
Expand Down

0 comments on commit d6f0682

Please sign in to comment.