Skip to content

Commit

Permalink
refactor invariant methods in sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
zielvna committed Oct 8, 2024
1 parent d202eaa commit 770f475
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 638 deletions.
5 changes: 5 additions & 0 deletions src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
FeeGrowth,
FixedPoint,
Liquidity,
Options,
Percentage,
Price,
SqrtPrice,
Expand Down Expand Up @@ -91,3 +92,7 @@ export const SOL_ID = {
[Network.Testnet]: 'c925472266dbd7f2e01313ad787cfb12b7f4be6776e9a3b02daed9dde7706200',
[Network.Mainnet]: ''
}

export const CONFIRMATIONS = 1
export const REQUEST_INTERVAL = 1000
export const DEFAULT_OPTIONS: Options = { waitForTxConfirmation: true }
Loading

0 comments on commit 770f475

Please sign in to comment.