Skip to content

Commit 770f475

Browse files
committed
refactor invariant methods in sdk
1 parent d202eaa commit 770f475

File tree

4 files changed

+122
-638
lines changed

4 files changed

+122
-638
lines changed

src/consts.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import {
1515
FeeGrowth,
1616
FixedPoint,
1717
Liquidity,
18+
Options,
1819
Percentage,
1920
Price,
2021
SqrtPrice,
@@ -91,3 +92,7 @@ export const SOL_ID = {
9192
[Network.Testnet]: 'c925472266dbd7f2e01313ad787cfb12b7f4be6776e9a3b02daed9dde7706200',
9293
[Network.Mainnet]: ''
9394
}
95+
96+
export const CONFIRMATIONS = 1
97+
export const REQUEST_INTERVAL = 1000
98+
export const DEFAULT_OPTIONS: Options = { waitForTxConfirmation: true }

0 commit comments

Comments
 (0)