@whetstone-research/doppler-sdk 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -13
- package/dist/{chunk-AT33RY6T.cjs → chunk-3BW6IVP3.cjs} +46 -37
- package/dist/chunk-3BW6IVP3.cjs.map +1 -0
- package/dist/{chunk-ZQEEGBXT.js → chunk-NMTYI3TB.js} +23 -26
- package/dist/chunk-NMTYI3TB.js.map +1 -0
- package/dist/{chunk-2NFQKIOB.js → chunk-TVBSIQIX.js} +35 -26
- package/dist/chunk-TVBSIQIX.js.map +1 -0
- package/dist/{chunk-LL7TW3GU.cjs → chunk-W5TMS4RD.cjs} +56 -59
- package/dist/chunk-W5TMS4RD.cjs.map +1 -0
- package/dist/evm/index.cjs +226 -115
- package/dist/evm/index.cjs.map +1 -1
- package/dist/evm/index.d.cts +6 -0
- package/dist/evm/index.d.ts +6 -0
- package/dist/evm/index.js +227 -116
- package/dist/evm/index.js.map +1 -1
- package/dist/{oracle-CU-nZnja.d.cts → oracle-DN8BrGPh.d.cts} +28 -28
- package/dist/{oracle-CU-nZnja.d.ts → oracle-DN8BrGPh.d.ts} +28 -28
- package/dist/{pda-FLNTBIC5.js → pda-5D3GD5S6.js} +3 -3
- package/dist/pda-5D3GD5S6.js.map +1 -0
- package/dist/{pda-G25AJSXG.cjs → pda-GNZYNRUH.cjs} +17 -17
- package/dist/{pda-G25AJSXG.cjs.map → pda-GNZYNRUH.cjs.map} +1 -1
- package/dist/solana/index.cjs +875 -740
- package/dist/solana/index.cjs.map +1 -1
- package/dist/solana/index.d.cts +545 -471
- package/dist/solana/index.d.ts +545 -471
- package/dist/solana/index.js +738 -603
- package/dist/solana/index.js.map +1 -1
- package/dist/solana/react/index.cjs +57 -57
- package/dist/solana/react/index.cjs.map +1 -1
- package/dist/solana/react/index.d.cts +5 -5
- package/dist/solana/react/index.d.ts +5 -5
- package/dist/solana/react/index.js +15 -15
- package/dist/solana/react/index.js.map +1 -1
- package/package.json +4 -2
- package/dist/chunk-2NFQKIOB.js.map +0 -1
- package/dist/chunk-AT33RY6T.cjs.map +0 -1
- package/dist/chunk-LL7TW3GU.cjs.map +0 -1
- package/dist/chunk-ZQEEGBXT.js.map +0 -1
- package/dist/pda-FLNTBIC5.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Address, Rpc, GetProgramAccountsApi, GetAccountInfoApi } from '@solana/kit';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Trade direction of a swap operation
|
|
5
5
|
* - 0: token0 -> token1 (sell token0 for token1)
|
|
6
6
|
* - 1: token1 -> token0 (sell token1 for token0)
|
|
7
7
|
*/
|
|
8
|
-
type
|
|
8
|
+
type TradeDirection = 0 | 1;
|
|
9
9
|
/**
|
|
10
10
|
* Global AMM configuration account
|
|
11
11
|
* PDA: ['config']
|
|
@@ -17,10 +17,10 @@ interface AmmConfig {
|
|
|
17
17
|
paused: boolean;
|
|
18
18
|
/** Default numeraire mint for pricing */
|
|
19
19
|
numeraireMint: Address;
|
|
20
|
-
/** Number of programs in
|
|
21
|
-
|
|
22
|
-
/** Allowlist of
|
|
23
|
-
|
|
20
|
+
/** Number of programs in hook allowlist */
|
|
21
|
+
hookAllowlistLen: number;
|
|
22
|
+
/** Allowlist of hook programs (fixed size: 32) */
|
|
23
|
+
hookAllowlist: Address[];
|
|
24
24
|
/** Maximum allowed swap fee in basis points */
|
|
25
25
|
maxSwapFeeBps: number;
|
|
26
26
|
/** Maximum allowed fee split in basis points */
|
|
@@ -73,22 +73,22 @@ interface Pool {
|
|
|
73
73
|
feesUnclaimed0: bigint;
|
|
74
74
|
/** Unclaimed distributable fees in token1 */
|
|
75
75
|
feesUnclaimed1: bigint;
|
|
76
|
-
/**
|
|
77
|
-
|
|
78
|
-
/** Bitflags for enabled
|
|
79
|
-
|
|
76
|
+
/** Hook program (default = disabled) */
|
|
77
|
+
hookProgram: Address;
|
|
78
|
+
/** Bitflags for enabled hooks */
|
|
79
|
+
hookFlags: number;
|
|
80
80
|
/** Override numeraire mint for this pool */
|
|
81
81
|
numeraireMint: Address;
|
|
82
82
|
/** Which token to use for liquidity measure (0 or 1) */
|
|
83
|
-
|
|
83
|
+
liquidityMeasureTokenIndex: number;
|
|
84
84
|
/** Next pool in routing chain (default = none) */
|
|
85
85
|
routeNextPool: Address;
|
|
86
86
|
/** Bridge mint for routing (must be token0 or token1) */
|
|
87
87
|
routeBridgeMint: Address;
|
|
88
88
|
/** Last k value for protocol fee calculation (u128) */
|
|
89
89
|
kLast: bigint;
|
|
90
|
-
/** Protocol position for protocol fee shares */
|
|
91
|
-
|
|
90
|
+
/** Protocol fee position for protocol fee shares */
|
|
91
|
+
protocolFeePosition: Address;
|
|
92
92
|
/** Reentrancy lock (0 = unlocked, 1 = locked) */
|
|
93
93
|
locked: number;
|
|
94
94
|
/** Account version for migrations */
|
|
@@ -181,14 +181,14 @@ interface InitializeConfigArgs {
|
|
|
181
181
|
maxRouteHops: number;
|
|
182
182
|
protocolFeeEnabled: boolean;
|
|
183
183
|
protocolFeeBps: number;
|
|
184
|
-
|
|
184
|
+
hookAllowlist: Address[];
|
|
185
185
|
}
|
|
186
186
|
interface InitializePoolArgs {
|
|
187
187
|
mintA: Address;
|
|
188
188
|
mintB: Address;
|
|
189
189
|
initialSwapFeeBps: number;
|
|
190
190
|
initialFeeSplitBps: number;
|
|
191
|
-
|
|
191
|
+
liquidityMeasureTokenIndex: number;
|
|
192
192
|
numeraireMintOverride: Address | null;
|
|
193
193
|
}
|
|
194
194
|
interface InitializeOracleArgs {
|
|
@@ -214,7 +214,7 @@ interface RemoveLiquidityArgs {
|
|
|
214
214
|
interface SwapExactInArgs {
|
|
215
215
|
amountIn: bigint;
|
|
216
216
|
minAmountOut: bigint;
|
|
217
|
-
|
|
217
|
+
tradeDirection: TradeDirection;
|
|
218
218
|
updateOracle: boolean;
|
|
219
219
|
}
|
|
220
220
|
interface CollectFeesArgs {
|
|
@@ -225,9 +225,9 @@ interface CollectProtocolFeesArgs {
|
|
|
225
225
|
max0: bigint;
|
|
226
226
|
max1: bigint;
|
|
227
227
|
}
|
|
228
|
-
interface
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
interface SetHookArgs {
|
|
229
|
+
hookProgram: Address;
|
|
230
|
+
hookFlags: number;
|
|
231
231
|
}
|
|
232
232
|
interface SetFeesArgs {
|
|
233
233
|
swapFeeBps: number;
|
|
@@ -245,7 +245,7 @@ interface OracleConsultArgs {
|
|
|
245
245
|
}
|
|
246
246
|
interface QuoteToNumeraireArgs {
|
|
247
247
|
amount: bigint;
|
|
248
|
-
|
|
248
|
+
inputTokenIndex: number;
|
|
249
249
|
maxHops: number;
|
|
250
250
|
/** Must be false in v0.1 (spot-only) */
|
|
251
251
|
useTwap: boolean;
|
|
@@ -301,7 +301,7 @@ interface TwapResult {
|
|
|
301
301
|
interface SwapEvent {
|
|
302
302
|
pool: Address;
|
|
303
303
|
user: Address;
|
|
304
|
-
|
|
304
|
+
tradeDirection: TradeDirection;
|
|
305
305
|
amountIn: bigint;
|
|
306
306
|
amountOut: bigint;
|
|
307
307
|
feeTotal: bigint;
|
|
@@ -352,22 +352,22 @@ interface PositionClosedEvent {
|
|
|
352
352
|
owner: Address;
|
|
353
353
|
position: Address;
|
|
354
354
|
}
|
|
355
|
-
interface
|
|
355
|
+
interface HookInvokedEvent {
|
|
356
356
|
pool: Address;
|
|
357
357
|
action: number;
|
|
358
358
|
allow: number;
|
|
359
359
|
newFeeBps: number;
|
|
360
360
|
newSplitBps: number;
|
|
361
361
|
}
|
|
362
|
-
interface
|
|
362
|
+
interface HookErrorEvent {
|
|
363
363
|
pool: Address;
|
|
364
364
|
action: number;
|
|
365
365
|
errorCode: bigint;
|
|
366
366
|
}
|
|
367
|
-
interface
|
|
367
|
+
interface HookUpdatedEvent {
|
|
368
368
|
pool: Address;
|
|
369
|
-
|
|
370
|
-
|
|
369
|
+
hookProgram: Address;
|
|
370
|
+
hookFlags: number;
|
|
371
371
|
admin: Address;
|
|
372
372
|
}
|
|
373
373
|
interface FeesUpdatedEvent {
|
|
@@ -406,7 +406,7 @@ interface PausedEvent {
|
|
|
406
406
|
}
|
|
407
407
|
interface UnpausedEvent {
|
|
408
408
|
}
|
|
409
|
-
interface
|
|
409
|
+
interface VaultExcessWithdrawnEvent {
|
|
410
410
|
pool: Address;
|
|
411
411
|
amount0: bigint;
|
|
412
412
|
amount1: bigint;
|
|
@@ -823,4 +823,4 @@ declare function comparePoolAndOraclePrices(pool: Pool, oracle: OracleState): {
|
|
|
823
823
|
divergencePct: number;
|
|
824
824
|
};
|
|
825
825
|
|
|
826
|
-
export { type
|
|
826
|
+
export { type UnpausedEvent as $, type AmmConfig as A, type HookUpdatedEvent as B, type CollectFeesArgs as C, type OracleInitializedEvent as D, type OracleUpdatedEvent as E, type FeesUpdatedEvent as F, type GetProgramAccountsRpc as G, type HookErrorEvent as H, type InitializeConfigArgs as I, type OracleWithAddress as J, type PausedEvent as K, type PoolInitializedEvent as L, type MarketCapValidationResult as M, type PositionClosedEvent as N, type OracleState as O, type Pool as P, type QuoteToNumeraireArgs as Q, type RemoveLiquidityArgs as R, type SwapExactInArgs as S, type TransferAdminArgs as T, type PositionCreatedEvent as U, type PositionValue as V, type PositionWithAddress as W, type RemoveLiquidityEvent as X, type RouteUpdatedEvent as Y, type SwapEvent as Z, type TwapResult as _, type Position as a, type VaultExcessWithdrawnEvent as a0, comparePoolAndOraclePrices as a1, consultTwap as a2, fetchOracle as a3, fetchOraclesBatch as a4, fetchPoolPositions as a5, fetchPosition as a6, fetchPositionByParams as a7, fetchPositionsBatch as a8, fetchUserPositions as a9, filterActivePositions as aa, getOracleAddressFromPool as ab, getOracleAge as ac, getOracleBufferStats as ad, getOracleDeviation as ae, getOracleForPool as af, getOracleSpotPrices as ag, getPositionAddressFromParams as ah, getPositionValue as ai, isOracleStale as aj, sortPositionsByShares as ak, type AddLiquidityArgs as b, type CollectProtocolFeesArgs as c, type CreatePositionArgs as d, type InitializePoolArgs as e, type InitializeOracleArgs as f, type SetHookArgs as g, type SetFeesArgs as h, type SetRouteArgs as i, type OracleConsultArgs as j, type Observation as k, type TradeDirection as l, type SwapQuote as m, type SwapQuoteExactOut as n, type AddLiquidityQuote as o, type RemoveLiquidityQuote as p, type MarketCapToCurveParamsInput as q, type CurveParams as r, type CurveParamsToMarketCapInput as s, type AddLiquidityEvent as t, type AdminTransferredEvent as u, type CollectFeesEvent as v, type CollectProtocolFeesEvent as w, type FetchOracleConfig as x, type FetchPositionsConfig as y, type HookInvokedEvent as z };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Address, Rpc, GetProgramAccountsApi, GetAccountInfoApi } from '@solana/kit';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Trade direction of a swap operation
|
|
5
5
|
* - 0: token0 -> token1 (sell token0 for token1)
|
|
6
6
|
* - 1: token1 -> token0 (sell token1 for token0)
|
|
7
7
|
*/
|
|
8
|
-
type
|
|
8
|
+
type TradeDirection = 0 | 1;
|
|
9
9
|
/**
|
|
10
10
|
* Global AMM configuration account
|
|
11
11
|
* PDA: ['config']
|
|
@@ -17,10 +17,10 @@ interface AmmConfig {
|
|
|
17
17
|
paused: boolean;
|
|
18
18
|
/** Default numeraire mint for pricing */
|
|
19
19
|
numeraireMint: Address;
|
|
20
|
-
/** Number of programs in
|
|
21
|
-
|
|
22
|
-
/** Allowlist of
|
|
23
|
-
|
|
20
|
+
/** Number of programs in hook allowlist */
|
|
21
|
+
hookAllowlistLen: number;
|
|
22
|
+
/** Allowlist of hook programs (fixed size: 32) */
|
|
23
|
+
hookAllowlist: Address[];
|
|
24
24
|
/** Maximum allowed swap fee in basis points */
|
|
25
25
|
maxSwapFeeBps: number;
|
|
26
26
|
/** Maximum allowed fee split in basis points */
|
|
@@ -73,22 +73,22 @@ interface Pool {
|
|
|
73
73
|
feesUnclaimed0: bigint;
|
|
74
74
|
/** Unclaimed distributable fees in token1 */
|
|
75
75
|
feesUnclaimed1: bigint;
|
|
76
|
-
/**
|
|
77
|
-
|
|
78
|
-
/** Bitflags for enabled
|
|
79
|
-
|
|
76
|
+
/** Hook program (default = disabled) */
|
|
77
|
+
hookProgram: Address;
|
|
78
|
+
/** Bitflags for enabled hooks */
|
|
79
|
+
hookFlags: number;
|
|
80
80
|
/** Override numeraire mint for this pool */
|
|
81
81
|
numeraireMint: Address;
|
|
82
82
|
/** Which token to use for liquidity measure (0 or 1) */
|
|
83
|
-
|
|
83
|
+
liquidityMeasureTokenIndex: number;
|
|
84
84
|
/** Next pool in routing chain (default = none) */
|
|
85
85
|
routeNextPool: Address;
|
|
86
86
|
/** Bridge mint for routing (must be token0 or token1) */
|
|
87
87
|
routeBridgeMint: Address;
|
|
88
88
|
/** Last k value for protocol fee calculation (u128) */
|
|
89
89
|
kLast: bigint;
|
|
90
|
-
/** Protocol position for protocol fee shares */
|
|
91
|
-
|
|
90
|
+
/** Protocol fee position for protocol fee shares */
|
|
91
|
+
protocolFeePosition: Address;
|
|
92
92
|
/** Reentrancy lock (0 = unlocked, 1 = locked) */
|
|
93
93
|
locked: number;
|
|
94
94
|
/** Account version for migrations */
|
|
@@ -181,14 +181,14 @@ interface InitializeConfigArgs {
|
|
|
181
181
|
maxRouteHops: number;
|
|
182
182
|
protocolFeeEnabled: boolean;
|
|
183
183
|
protocolFeeBps: number;
|
|
184
|
-
|
|
184
|
+
hookAllowlist: Address[];
|
|
185
185
|
}
|
|
186
186
|
interface InitializePoolArgs {
|
|
187
187
|
mintA: Address;
|
|
188
188
|
mintB: Address;
|
|
189
189
|
initialSwapFeeBps: number;
|
|
190
190
|
initialFeeSplitBps: number;
|
|
191
|
-
|
|
191
|
+
liquidityMeasureTokenIndex: number;
|
|
192
192
|
numeraireMintOverride: Address | null;
|
|
193
193
|
}
|
|
194
194
|
interface InitializeOracleArgs {
|
|
@@ -214,7 +214,7 @@ interface RemoveLiquidityArgs {
|
|
|
214
214
|
interface SwapExactInArgs {
|
|
215
215
|
amountIn: bigint;
|
|
216
216
|
minAmountOut: bigint;
|
|
217
|
-
|
|
217
|
+
tradeDirection: TradeDirection;
|
|
218
218
|
updateOracle: boolean;
|
|
219
219
|
}
|
|
220
220
|
interface CollectFeesArgs {
|
|
@@ -225,9 +225,9 @@ interface CollectProtocolFeesArgs {
|
|
|
225
225
|
max0: bigint;
|
|
226
226
|
max1: bigint;
|
|
227
227
|
}
|
|
228
|
-
interface
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
interface SetHookArgs {
|
|
229
|
+
hookProgram: Address;
|
|
230
|
+
hookFlags: number;
|
|
231
231
|
}
|
|
232
232
|
interface SetFeesArgs {
|
|
233
233
|
swapFeeBps: number;
|
|
@@ -245,7 +245,7 @@ interface OracleConsultArgs {
|
|
|
245
245
|
}
|
|
246
246
|
interface QuoteToNumeraireArgs {
|
|
247
247
|
amount: bigint;
|
|
248
|
-
|
|
248
|
+
inputTokenIndex: number;
|
|
249
249
|
maxHops: number;
|
|
250
250
|
/** Must be false in v0.1 (spot-only) */
|
|
251
251
|
useTwap: boolean;
|
|
@@ -301,7 +301,7 @@ interface TwapResult {
|
|
|
301
301
|
interface SwapEvent {
|
|
302
302
|
pool: Address;
|
|
303
303
|
user: Address;
|
|
304
|
-
|
|
304
|
+
tradeDirection: TradeDirection;
|
|
305
305
|
amountIn: bigint;
|
|
306
306
|
amountOut: bigint;
|
|
307
307
|
feeTotal: bigint;
|
|
@@ -352,22 +352,22 @@ interface PositionClosedEvent {
|
|
|
352
352
|
owner: Address;
|
|
353
353
|
position: Address;
|
|
354
354
|
}
|
|
355
|
-
interface
|
|
355
|
+
interface HookInvokedEvent {
|
|
356
356
|
pool: Address;
|
|
357
357
|
action: number;
|
|
358
358
|
allow: number;
|
|
359
359
|
newFeeBps: number;
|
|
360
360
|
newSplitBps: number;
|
|
361
361
|
}
|
|
362
|
-
interface
|
|
362
|
+
interface HookErrorEvent {
|
|
363
363
|
pool: Address;
|
|
364
364
|
action: number;
|
|
365
365
|
errorCode: bigint;
|
|
366
366
|
}
|
|
367
|
-
interface
|
|
367
|
+
interface HookUpdatedEvent {
|
|
368
368
|
pool: Address;
|
|
369
|
-
|
|
370
|
-
|
|
369
|
+
hookProgram: Address;
|
|
370
|
+
hookFlags: number;
|
|
371
371
|
admin: Address;
|
|
372
372
|
}
|
|
373
373
|
interface FeesUpdatedEvent {
|
|
@@ -406,7 +406,7 @@ interface PausedEvent {
|
|
|
406
406
|
}
|
|
407
407
|
interface UnpausedEvent {
|
|
408
408
|
}
|
|
409
|
-
interface
|
|
409
|
+
interface VaultExcessWithdrawnEvent {
|
|
410
410
|
pool: Address;
|
|
411
411
|
amount0: bigint;
|
|
412
412
|
amount1: bigint;
|
|
@@ -823,4 +823,4 @@ declare function comparePoolAndOraclePrices(pool: Pool, oracle: OracleState): {
|
|
|
823
823
|
divergencePct: number;
|
|
824
824
|
};
|
|
825
825
|
|
|
826
|
-
export { type
|
|
826
|
+
export { type UnpausedEvent as $, type AmmConfig as A, type HookUpdatedEvent as B, type CollectFeesArgs as C, type OracleInitializedEvent as D, type OracleUpdatedEvent as E, type FeesUpdatedEvent as F, type GetProgramAccountsRpc as G, type HookErrorEvent as H, type InitializeConfigArgs as I, type OracleWithAddress as J, type PausedEvent as K, type PoolInitializedEvent as L, type MarketCapValidationResult as M, type PositionClosedEvent as N, type OracleState as O, type Pool as P, type QuoteToNumeraireArgs as Q, type RemoveLiquidityArgs as R, type SwapExactInArgs as S, type TransferAdminArgs as T, type PositionCreatedEvent as U, type PositionValue as V, type PositionWithAddress as W, type RemoveLiquidityEvent as X, type RouteUpdatedEvent as Y, type SwapEvent as Z, type TwapResult as _, type Position as a, type VaultExcessWithdrawnEvent as a0, comparePoolAndOraclePrices as a1, consultTwap as a2, fetchOracle as a3, fetchOraclesBatch as a4, fetchPoolPositions as a5, fetchPosition as a6, fetchPositionByParams as a7, fetchPositionsBatch as a8, fetchUserPositions as a9, filterActivePositions as aa, getOracleAddressFromPool as ab, getOracleAge as ac, getOracleBufferStats as ad, getOracleDeviation as ae, getOracleForPool as af, getOracleSpotPrices as ag, getPositionAddressFromParams as ah, getPositionValue as ai, isOracleStale as aj, sortPositionsByShares as ak, type AddLiquidityArgs as b, type CollectProtocolFeesArgs as c, type CreatePositionArgs as d, type InitializePoolArgs as e, type InitializeOracleArgs as f, type SetHookArgs as g, type SetFeesArgs as h, type SetRouteArgs as i, type OracleConsultArgs as j, type Observation as k, type TradeDirection as l, type SwapQuote as m, type SwapQuoteExactOut as n, type AddLiquidityQuote as o, type RemoveLiquidityQuote as p, type MarketCapToCurveParamsInput as q, type CurveParams as r, type CurveParamsToMarketCapInput as s, type AddLiquidityEvent as t, type AdminTransferredEvent as u, type CollectFeesEvent as v, type CollectProtocolFeesEvent as w, type FetchOracleConfig as x, type FetchPositionsConfig as y, type HookInvokedEvent as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { areMintsOrdered, getConfigAddress, getLiquidityAddresses, getOracleAddress, getPoolAddress, getPoolAuthorityAddress, getPoolInitAddresses, getPoolVault0Address, getPoolVault1Address, getPositionAddress,
|
|
1
|
+
export { areMintsOrdered, getConfigAddress, getLiquidityAddresses, getOracleAddress, getPoolAddress, getPoolAuthorityAddress, getPoolInitAddresses, getPoolVault0Address, getPoolVault1Address, getPositionAddress, getProtocolFeePositionAddress, getSwapAddresses, sortMints } from './chunk-TVBSIQIX.js';
|
|
2
2
|
import './chunk-PZ5AY32C.js';
|
|
3
|
-
//# sourceMappingURL=pda-
|
|
4
|
-
//# sourceMappingURL=pda-
|
|
3
|
+
//# sourceMappingURL=pda-5D3GD5S6.js.map
|
|
4
|
+
//# sourceMappingURL=pda-5D3GD5S6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"pda-5D3GD5S6.js"}
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3BW6IVP3_cjs = require('./chunk-3BW6IVP3.cjs');
|
|
4
4
|
require('./chunk-Q7SFCCGT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "areMintsOrdered", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk3BW6IVP3_cjs.areMintsOrdered; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "getConfigAddress", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk3BW6IVP3_cjs.getConfigAddress; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "getLiquidityAddresses", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk3BW6IVP3_cjs.getLiquidityAddresses; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "getOracleAddress", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk3BW6IVP3_cjs.getOracleAddress; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "getPoolAddress", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk3BW6IVP3_cjs.getPoolAddress; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "getPoolAuthorityAddress", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk3BW6IVP3_cjs.getPoolAuthorityAddress; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "getPoolInitAddresses", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk3BW6IVP3_cjs.getPoolInitAddresses; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "getPoolVault0Address", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk3BW6IVP3_cjs.getPoolVault0Address; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "getPoolVault1Address", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunk3BW6IVP3_cjs.getPoolVault1Address; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "getPositionAddress", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunk3BW6IVP3_cjs.getPositionAddress; }
|
|
47
47
|
});
|
|
48
|
-
Object.defineProperty(exports, "
|
|
48
|
+
Object.defineProperty(exports, "getProtocolFeePositionAddress", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk3BW6IVP3_cjs.getProtocolFeePositionAddress; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "getSwapAddresses", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunk3BW6IVP3_cjs.getSwapAddresses; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "sortMints", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk3BW6IVP3_cjs.sortMints; }
|
|
59
59
|
});
|
|
60
|
-
//# sourceMappingURL=pda-
|
|
61
|
-
//# sourceMappingURL=pda-
|
|
60
|
+
//# sourceMappingURL=pda-GNZYNRUH.cjs.map
|
|
61
|
+
//# sourceMappingURL=pda-GNZYNRUH.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"pda-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"pda-GNZYNRUH.cjs"}
|