@meteora-ag/cp-amm-sdk 1.2.8 → 1.2.9
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/dist/index.d.mts +27 -20
- package/dist/index.d.ts +27 -20
- package/dist/index.js +69 -59
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +70 -60
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -8
package/dist/index.js
CHANGED
|
@@ -9186,28 +9186,6 @@ function getMaxBaseFeeNumerator(cliffFeeNumerator) {
|
|
|
9186
9186
|
}
|
|
9187
9187
|
|
|
9188
9188
|
// src/math/poolFees/feeTimeScheduler.ts
|
|
9189
|
-
function toPodAlignedFeeTimeScheduler(borshFeeScheduler) {
|
|
9190
|
-
return {
|
|
9191
|
-
cliffFeeNumerator: borshFeeScheduler.cliffFeeNumerator,
|
|
9192
|
-
baseFeeMode: borshFeeScheduler.baseFeeMode,
|
|
9193
|
-
padding: new Array(16).fill(0),
|
|
9194
|
-
// Assumes default/rust alignment of 16
|
|
9195
|
-
numberOfPeriod: borshFeeScheduler.numberOfPeriod,
|
|
9196
|
-
periodFrequency: borshFeeScheduler.periodFrequency,
|
|
9197
|
-
reductionFactor: borshFeeScheduler.reductionFactor
|
|
9198
|
-
};
|
|
9199
|
-
}
|
|
9200
|
-
function toBorshFeeTimeScheduler(podAlignedFeeScheduler) {
|
|
9201
|
-
return {
|
|
9202
|
-
cliffFeeNumerator: podAlignedFeeScheduler.cliffFeeNumerator,
|
|
9203
|
-
numberOfPeriod: podAlignedFeeScheduler.numberOfPeriod,
|
|
9204
|
-
periodFrequency: podAlignedFeeScheduler.periodFrequency,
|
|
9205
|
-
reductionFactor: podAlignedFeeScheduler.reductionFactor,
|
|
9206
|
-
baseFeeMode: podAlignedFeeScheduler.baseFeeMode,
|
|
9207
|
-
padding: new Array(16).fill(0)
|
|
9208
|
-
// Assumes default/rust alignment of 16
|
|
9209
|
-
};
|
|
9210
|
-
}
|
|
9211
9189
|
function getFeeTimeBaseFeeNumeratorByPeriod(cliffFeeNumerator, numberOfPeriod, period, reductionFactor, feeTimeSchedulerMode) {
|
|
9212
9190
|
const periodValue = _bnjs2.default.min(period, new (0, _bnjs2.default)(numberOfPeriod));
|
|
9213
9191
|
const periodNumber = periodValue.toNumber();
|
|
@@ -9718,7 +9696,7 @@ function getLiquidityDeltaFromAmountB(amountB, lowerSqrtPrice, upperSqrtPrice) {
|
|
|
9718
9696
|
}
|
|
9719
9697
|
|
|
9720
9698
|
// src/math/quote.ts
|
|
9721
|
-
function getSwapResultFromExactInput(
|
|
9699
|
+
function getSwapResultFromExactInput(poolState, amountIn, feeMode, tradeDirection, currentPoint) {
|
|
9722
9700
|
let actualProtocolFee = new (0, _bnjs2.default)(0);
|
|
9723
9701
|
let actualTradingFee = new (0, _bnjs2.default)(0);
|
|
9724
9702
|
let actualReferralFee = new (0, _bnjs2.default)(0);
|
|
@@ -9831,7 +9809,7 @@ function calculateBtoAFromAmountIn(poolState, amountIn) {
|
|
|
9831
9809
|
amountLeft: new (0, _bnjs2.default)(0)
|
|
9832
9810
|
};
|
|
9833
9811
|
}
|
|
9834
|
-
function getSwapResultFromPartialInput(
|
|
9812
|
+
function getSwapResultFromPartialInput(poolState, amountIn, feeMode, tradeDirection, currentPoint) {
|
|
9835
9813
|
let actualProtocolFee = new (0, _bnjs2.default)(0);
|
|
9836
9814
|
let actualTradingFee = new (0, _bnjs2.default)(0);
|
|
9837
9815
|
let actualReferralFee = new (0, _bnjs2.default)(0);
|
|
@@ -10009,7 +9987,7 @@ function calculateBtoAFromPartialAmountIn(poolState, amountIn) {
|
|
|
10009
9987
|
amountLeft
|
|
10010
9988
|
};
|
|
10011
9989
|
}
|
|
10012
|
-
function getSwapResultFromExactOutput(
|
|
9990
|
+
function getSwapResultFromExactOutput(poolState, amountOut, feeMode, tradeDirection, currentPoint) {
|
|
10013
9991
|
let actualProtocolFee = new (0, _bnjs2.default)(0);
|
|
10014
9992
|
let actualTradingFee = new (0, _bnjs2.default)(0);
|
|
10015
9993
|
let actualReferralFee = new (0, _bnjs2.default)(0);
|
|
@@ -10142,7 +10120,7 @@ function calculateBtoAFromAmountOut(poolState, amountOut) {
|
|
|
10142
10120
|
nextSqrtPrice
|
|
10143
10121
|
};
|
|
10144
10122
|
}
|
|
10145
|
-
function swapQuoteExactInput(
|
|
10123
|
+
function swapQuoteExactInput(pool, currentPoint, amountIn, slippage, aToB, hasReferral, tokenADecimal, tokenBDecimal, inputTokenInfo, outputTokenInfo) {
|
|
10146
10124
|
if (amountIn.lte(new (0, _bnjs2.default)(0))) {
|
|
10147
10125
|
throw new Error("Amount in must be greater than 0");
|
|
10148
10126
|
}
|
|
@@ -10160,7 +10138,6 @@ function swapQuoteExactInput(program, pool, currentPoint, amountIn, slippage, aT
|
|
|
10160
10138
|
).amount;
|
|
10161
10139
|
}
|
|
10162
10140
|
const swapResult = getSwapResultFromExactInput(
|
|
10163
|
-
program,
|
|
10164
10141
|
pool,
|
|
10165
10142
|
actualAmountIn,
|
|
10166
10143
|
feeMode,
|
|
@@ -10193,7 +10170,7 @@ function swapQuoteExactInput(program, pool, currentPoint, amountIn, slippage, aT
|
|
|
10193
10170
|
priceImpact
|
|
10194
10171
|
});
|
|
10195
10172
|
}
|
|
10196
|
-
function swapQuoteExactOutput(
|
|
10173
|
+
function swapQuoteExactOutput(pool, currentPoint, amountOut, slippage, aToB, hasReferral, tokenADecimal, tokenBDecimal, inputTokenInfo, outputTokenInfo) {
|
|
10197
10174
|
if (amountOut.lte(new (0, _bnjs2.default)(0))) {
|
|
10198
10175
|
throw new Error("Amount out must be greater than 0");
|
|
10199
10176
|
}
|
|
@@ -10211,7 +10188,6 @@ function swapQuoteExactOutput(program, pool, currentPoint, amountOut, slippage,
|
|
|
10211
10188
|
).amount;
|
|
10212
10189
|
}
|
|
10213
10190
|
const swapResult = getSwapResultFromExactOutput(
|
|
10214
|
-
program,
|
|
10215
10191
|
pool,
|
|
10216
10192
|
actualAmountOut,
|
|
10217
10193
|
feeMode,
|
|
@@ -10244,7 +10220,7 @@ function swapQuoteExactOutput(program, pool, currentPoint, amountOut, slippage,
|
|
|
10244
10220
|
priceImpact
|
|
10245
10221
|
});
|
|
10246
10222
|
}
|
|
10247
|
-
function swapQuotePartialInput(
|
|
10223
|
+
function swapQuotePartialInput(pool, currentPoint, amountIn, slippage, aToB, hasReferral, tokenADecimal, tokenBDecimal, inputTokenInfo, outputTokenInfo) {
|
|
10248
10224
|
if (amountIn.lte(new (0, _bnjs2.default)(0))) {
|
|
10249
10225
|
throw new Error("Amount in must be greater than 0");
|
|
10250
10226
|
}
|
|
@@ -10262,7 +10238,6 @@ function swapQuotePartialInput(program, pool, currentPoint, amountIn, slippage,
|
|
|
10262
10238
|
).amount;
|
|
10263
10239
|
}
|
|
10264
10240
|
const swapResult = getSwapResultFromPartialInput(
|
|
10265
|
-
program,
|
|
10266
10241
|
pool,
|
|
10267
10242
|
actualAmountIn,
|
|
10268
10243
|
feeMode,
|
|
@@ -11385,9 +11360,7 @@ var CpAmm = class {
|
|
|
11385
11360
|
*/
|
|
11386
11361
|
fetchConfigState(config) {
|
|
11387
11362
|
return __async(this, null, function* () {
|
|
11388
|
-
const configState = yield this._program.account.config.fetchNullable(
|
|
11389
|
-
config
|
|
11390
|
-
);
|
|
11363
|
+
const configState = yield this._program.account.config.fetchNullable(config);
|
|
11391
11364
|
_invariant2.default.call(void 0, configState, `Config account: ${config} not found`);
|
|
11392
11365
|
return configState;
|
|
11393
11366
|
});
|
|
@@ -11453,13 +11426,56 @@ var CpAmm = class {
|
|
|
11453
11426
|
*/
|
|
11454
11427
|
fetchPositionState(position) {
|
|
11455
11428
|
return __async(this, null, function* () {
|
|
11456
|
-
const positionState = yield this._program.account.position.fetchNullable(
|
|
11457
|
-
position
|
|
11458
|
-
);
|
|
11429
|
+
const positionState = yield this._program.account.position.fetchNullable(position);
|
|
11459
11430
|
_invariant2.default.call(void 0, positionState, `Position account: ${position} not found`);
|
|
11460
11431
|
return positionState;
|
|
11461
11432
|
});
|
|
11462
11433
|
}
|
|
11434
|
+
/**
|
|
11435
|
+
* Fetches multiple Config states.
|
|
11436
|
+
* @param configs - Array of public keys of config accounts.
|
|
11437
|
+
* @returns Array of parsed ConfigState.
|
|
11438
|
+
*/
|
|
11439
|
+
getMultipleConfigs(configs) {
|
|
11440
|
+
return __async(this, null, function* () {
|
|
11441
|
+
const configStates = yield this._program.account.config.fetchMultiple(configs);
|
|
11442
|
+
configStates.forEach((configState, index) => {
|
|
11443
|
+
_invariant2.default.call(void 0, configState, `Config account: ${configs[index]} not found`);
|
|
11444
|
+
});
|
|
11445
|
+
return configStates;
|
|
11446
|
+
});
|
|
11447
|
+
}
|
|
11448
|
+
/**
|
|
11449
|
+
* Fetches multiple Pool states.
|
|
11450
|
+
* @param pools - Array of public keys of pool accounts.
|
|
11451
|
+
* @returns Array of parsed PoolState.
|
|
11452
|
+
*/
|
|
11453
|
+
getMultiplePools(pools) {
|
|
11454
|
+
return __async(this, null, function* () {
|
|
11455
|
+
const poolStates = yield this._program.account.pool.fetchMultiple(pools);
|
|
11456
|
+
poolStates.forEach((poolState, index) => {
|
|
11457
|
+
_invariant2.default.call(void 0, poolState, `Pool account: ${pools[index]} not found`);
|
|
11458
|
+
});
|
|
11459
|
+
return poolStates;
|
|
11460
|
+
});
|
|
11461
|
+
}
|
|
11462
|
+
/**
|
|
11463
|
+
* Fetches multiple Position states.
|
|
11464
|
+
* @param positions - Array of public keys of position accounts.
|
|
11465
|
+
* @returns Array of parsed PositionState.
|
|
11466
|
+
*/
|
|
11467
|
+
getMultiplePositions(positions) {
|
|
11468
|
+
return __async(this, null, function* () {
|
|
11469
|
+
const positionStates = yield this._program.account.position.fetchMultiple(positions);
|
|
11470
|
+
positionStates.forEach((positionState, index) => {
|
|
11471
|
+
_invariant2.default.call(void 0,
|
|
11472
|
+
positionState,
|
|
11473
|
+
`Position account: ${positions[index]} not found`
|
|
11474
|
+
);
|
|
11475
|
+
});
|
|
11476
|
+
return positionStates;
|
|
11477
|
+
});
|
|
11478
|
+
}
|
|
11463
11479
|
/**
|
|
11464
11480
|
* Retrieves all config accounts.
|
|
11465
11481
|
* @returns Array of config public keys and their states.
|
|
@@ -11533,9 +11549,7 @@ var CpAmm = class {
|
|
|
11533
11549
|
const positionAddresses = userPositionAccounts.map(
|
|
11534
11550
|
(account) => derivePositionAddress(account.positionNft)
|
|
11535
11551
|
);
|
|
11536
|
-
const positionStates = yield this._program.account.position.fetchMultiple(
|
|
11537
|
-
positionAddresses
|
|
11538
|
-
);
|
|
11552
|
+
const positionStates = yield this._program.account.position.fetchMultiple(positionAddresses);
|
|
11539
11553
|
const positionResult = userPositionAccounts.map((account, index) => {
|
|
11540
11554
|
const positionState = positionStates[index];
|
|
11541
11555
|
if (!positionState) return null;
|
|
@@ -11680,7 +11694,6 @@ var CpAmm = class {
|
|
|
11680
11694
|
const aToB = poolState.tokenAMint.equals(inputTokenMint);
|
|
11681
11695
|
const currentPoint = activationType ? new (0, _bnjs2.default)(currentTime) : new (0, _bnjs2.default)(currentSlot);
|
|
11682
11696
|
const swapResult = swapQuoteExactInput(
|
|
11683
|
-
this._program,
|
|
11684
11697
|
poolState,
|
|
11685
11698
|
currentPoint,
|
|
11686
11699
|
inAmount,
|
|
@@ -11724,7 +11737,6 @@ var CpAmm = class {
|
|
|
11724
11737
|
case 0 /* ExactIn */:
|
|
11725
11738
|
if ("amountIn" in params) {
|
|
11726
11739
|
return swapQuoteExactInput(
|
|
11727
|
-
this._program,
|
|
11728
11740
|
poolState,
|
|
11729
11741
|
currentPoint,
|
|
11730
11742
|
params.amountIn,
|
|
@@ -11741,7 +11753,6 @@ var CpAmm = class {
|
|
|
11741
11753
|
case 2 /* ExactOut */:
|
|
11742
11754
|
if ("amountOut" in params) {
|
|
11743
11755
|
return swapQuoteExactOutput(
|
|
11744
|
-
this._program,
|
|
11745
11756
|
poolState,
|
|
11746
11757
|
currentPoint,
|
|
11747
11758
|
params.amountOut,
|
|
@@ -11758,7 +11769,6 @@ var CpAmm = class {
|
|
|
11758
11769
|
case 1 /* PartialFill */:
|
|
11759
11770
|
if ("amountIn" in params) {
|
|
11760
11771
|
return swapQuotePartialInput(
|
|
11761
|
-
this._program,
|
|
11762
11772
|
poolState,
|
|
11763
11773
|
currentPoint,
|
|
11764
11774
|
params.amountIn,
|
|
@@ -12612,7 +12622,8 @@ var CpAmm = class {
|
|
|
12612
12622
|
tokenBMint,
|
|
12613
12623
|
tokenAProgram,
|
|
12614
12624
|
tokenBProgram,
|
|
12615
|
-
referralTokenAccount
|
|
12625
|
+
referralTokenAccount,
|
|
12626
|
+
receiver
|
|
12616
12627
|
} = params;
|
|
12617
12628
|
const [inputTokenProgram, outputTokenProgram] = inputTokenMint.equals(
|
|
12618
12629
|
tokenAMint
|
|
@@ -12624,8 +12635,8 @@ var CpAmm = class {
|
|
|
12624
12635
|
instructions: preInstructions
|
|
12625
12636
|
} = yield this.prepareTokenAccounts({
|
|
12626
12637
|
payer,
|
|
12627
|
-
tokenAOwner: payer,
|
|
12628
|
-
tokenBOwner: payer,
|
|
12638
|
+
tokenAOwner: receiver != null ? receiver : payer,
|
|
12639
|
+
tokenBOwner: receiver != null ? receiver : payer,
|
|
12629
12640
|
tokenAMint: inputTokenMint,
|
|
12630
12641
|
tokenBMint: outputTokenMint,
|
|
12631
12642
|
tokenAProgram: inputTokenProgram,
|
|
@@ -12633,7 +12644,7 @@ var CpAmm = class {
|
|
|
12633
12644
|
});
|
|
12634
12645
|
if (inputTokenMint.equals(_spltoken.NATIVE_MINT)) {
|
|
12635
12646
|
const wrapSOLIx = wrapSOLInstruction(
|
|
12636
|
-
payer,
|
|
12647
|
+
receiver != null ? receiver : payer,
|
|
12637
12648
|
inputTokenAccount,
|
|
12638
12649
|
BigInt(amountIn.toString())
|
|
12639
12650
|
);
|
|
@@ -12643,7 +12654,7 @@ var CpAmm = class {
|
|
|
12643
12654
|
if ([tokenAMint.toBase58(), tokenBMint.toBase58()].includes(
|
|
12644
12655
|
_spltoken.NATIVE_MINT.toBase58()
|
|
12645
12656
|
)) {
|
|
12646
|
-
const closeWrappedSOLIx = yield unwrapSOLInstruction(payer);
|
|
12657
|
+
const closeWrappedSOLIx = yield unwrapSOLInstruction(receiver != null ? receiver : payer);
|
|
12647
12658
|
closeWrappedSOLIx && postInstructions.push(closeWrappedSOLIx);
|
|
12648
12659
|
}
|
|
12649
12660
|
let { poolState } = params;
|
|
@@ -12681,7 +12692,7 @@ var CpAmm = class {
|
|
|
12681
12692
|
}).accountsPartial({
|
|
12682
12693
|
poolAuthority: this.poolAuthority,
|
|
12683
12694
|
pool,
|
|
12684
|
-
payer,
|
|
12695
|
+
payer: receiver != null ? receiver : payer,
|
|
12685
12696
|
inputTokenAccount,
|
|
12686
12697
|
outputTokenAccount,
|
|
12687
12698
|
tokenAVault,
|
|
@@ -12713,7 +12724,8 @@ var CpAmm = class {
|
|
|
12713
12724
|
tokenAProgram,
|
|
12714
12725
|
tokenBProgram,
|
|
12715
12726
|
referralTokenAccount,
|
|
12716
|
-
swapMode
|
|
12727
|
+
swapMode,
|
|
12728
|
+
receiver
|
|
12717
12729
|
} = params;
|
|
12718
12730
|
const [inputTokenProgram, outputTokenProgram] = inputTokenMint.equals(
|
|
12719
12731
|
tokenAMint
|
|
@@ -12725,8 +12737,8 @@ var CpAmm = class {
|
|
|
12725
12737
|
instructions: preInstructions
|
|
12726
12738
|
} = yield this.prepareTokenAccounts({
|
|
12727
12739
|
payer,
|
|
12728
|
-
tokenAOwner: payer,
|
|
12729
|
-
tokenBOwner: payer,
|
|
12740
|
+
tokenAOwner: receiver != null ? receiver : payer,
|
|
12741
|
+
tokenBOwner: receiver != null ? receiver : payer,
|
|
12730
12742
|
tokenAMint: inputTokenMint,
|
|
12731
12743
|
tokenBMint: outputTokenMint,
|
|
12732
12744
|
tokenAProgram: inputTokenProgram,
|
|
@@ -12744,7 +12756,7 @@ var CpAmm = class {
|
|
|
12744
12756
|
if (inputTokenMint.equals(_spltoken.NATIVE_MINT)) {
|
|
12745
12757
|
const amount = swapMode === 0 /* ExactIn */ || swapMode === 1 /* PartialFill */ ? amount0 : amount1;
|
|
12746
12758
|
const wrapSOLIx = wrapSOLInstruction(
|
|
12747
|
-
payer,
|
|
12759
|
+
receiver != null ? receiver : payer,
|
|
12748
12760
|
inputTokenAccount,
|
|
12749
12761
|
BigInt(amount.toString())
|
|
12750
12762
|
);
|
|
@@ -12754,7 +12766,7 @@ var CpAmm = class {
|
|
|
12754
12766
|
if ([tokenAMint.toBase58(), tokenBMint.toBase58()].includes(
|
|
12755
12767
|
_spltoken.NATIVE_MINT.toBase58()
|
|
12756
12768
|
)) {
|
|
12757
|
-
const closeWrappedSOLIx = yield unwrapSOLInstruction(payer);
|
|
12769
|
+
const closeWrappedSOLIx = yield unwrapSOLInstruction(receiver != null ? receiver : payer);
|
|
12758
12770
|
closeWrappedSOLIx && postInstructions.push(closeWrappedSOLIx);
|
|
12759
12771
|
}
|
|
12760
12772
|
let { poolState } = params;
|
|
@@ -12793,7 +12805,7 @@ var CpAmm = class {
|
|
|
12793
12805
|
}).accountsPartial({
|
|
12794
12806
|
poolAuthority: this.poolAuthority,
|
|
12795
12807
|
pool,
|
|
12796
|
-
payer,
|
|
12808
|
+
payer: receiver != null ? receiver : payer,
|
|
12797
12809
|
inputTokenAccount,
|
|
12798
12810
|
outputTokenAccount,
|
|
12799
12811
|
tokenAVault,
|
|
@@ -13779,7 +13791,5 @@ var CpAmm = class {
|
|
|
13779
13791
|
|
|
13780
13792
|
|
|
13781
13793
|
|
|
13782
|
-
|
|
13783
|
-
|
|
13784
|
-
exports.ActivationPoint = ActivationPoint; exports.ActivationType = ActivationType; exports.BASIS_POINT_MAX = BASIS_POINT_MAX; exports.BIN_STEP_BPS_DEFAULT = BIN_STEP_BPS_DEFAULT; exports.BIN_STEP_BPS_U128_DEFAULT = BIN_STEP_BPS_U128_DEFAULT; exports.BaseFeeMode = BaseFeeMode; exports.CP_AMM_PROGRAM_ID = CP_AMM_PROGRAM_ID; exports.CURRENT_POOL_VERSION = CURRENT_POOL_VERSION; exports.CollectFeeMode = CollectFeeMode; exports.CpAmm = CpAmm; exports.CpAmmIdl = cp_amm_default; exports.DYNAMIC_FEE_DECAY_PERIOD_DEFAULT = DYNAMIC_FEE_DECAY_PERIOD_DEFAULT; exports.DYNAMIC_FEE_FILTER_PERIOD_DEFAULT = DYNAMIC_FEE_FILTER_PERIOD_DEFAULT; exports.DYNAMIC_FEE_REDUCTION_FACTOR_DEFAULT = DYNAMIC_FEE_REDUCTION_FACTOR_DEFAULT; exports.DYNAMIC_FEE_ROUNDING_OFFSET = DYNAMIC_FEE_ROUNDING_OFFSET; exports.DYNAMIC_FEE_SCALING_FACTOR = DYNAMIC_FEE_SCALING_FACTOR; exports.FEE_DENOMINATOR = FEE_DENOMINATOR; exports.FEE_PADDING = FEE_PADDING; exports.FeeMarketCapScheduler = FeeMarketCapScheduler; exports.FeeRateLimiter = FeeRateLimiter; exports.FeeTimeScheduler = FeeTimeScheduler; exports.LIQUIDITY_SCALE = LIQUIDITY_SCALE; exports.MAX = MAX; exports.MAX_CU_BUFFER = MAX_CU_BUFFER; exports.MAX_EXPONENTIAL = MAX_EXPONENTIAL; exports.MAX_FEE_BPS_V0 = MAX_FEE_BPS_V0; exports.MAX_FEE_BPS_V1 = MAX_FEE_BPS_V1; exports.MAX_FEE_NUMERATOR_V0 = MAX_FEE_NUMERATOR_V0; exports.MAX_FEE_NUMERATOR_V1 = MAX_FEE_NUMERATOR_V1; exports.MAX_PRICE_CHANGE_BPS_DEFAULT = MAX_PRICE_CHANGE_BPS_DEFAULT; exports.MAX_RATE_LIMITER_DURATION_IN_SECONDS = MAX_RATE_LIMITER_DURATION_IN_SECONDS; exports.MAX_RATE_LIMITER_DURATION_IN_SLOTS = MAX_RATE_LIMITER_DURATION_IN_SLOTS; exports.MAX_SQRT_PRICE = MAX_SQRT_PRICE; exports.MIN_CU_BUFFER = MIN_CU_BUFFER; exports.MIN_FEE_BPS = MIN_FEE_BPS; exports.MIN_FEE_NUMERATOR = MIN_FEE_NUMERATOR; exports.MIN_SQRT_PRICE = MIN_SQRT_PRICE; exports.ONE_Q64 = ONE_Q64; exports.PoolStatus = PoolStatus; exports.PoolVersion = PoolVersion; exports.Rounding = Rounding; exports.SCALE_OFFSET = SCALE_OFFSET; exports.SPLIT_POSITION_DENOMINATOR = SPLIT_POSITION_DENOMINATOR; exports.SwapMode = SwapMode; exports.TradeDirection = TradeDirection; exports.U128_MAX = U128_MAX; exports.U16_MAX = U16_MAX; exports.U64_MAX = U64_MAX; exports.bpsToFeeNumerator = bpsToFeeNumerator; exports.calculateAtoBFromAmountIn = calculateAtoBFromAmountIn; exports.calculateAtoBFromAmountOut = calculateAtoBFromAmountOut; exports.calculateAtoBFromPartialAmountIn = calculateAtoBFromPartialAmountIn; exports.calculateBtoAFromAmountIn = calculateBtoAFromAmountIn; exports.calculateBtoAFromAmountOut = calculateBtoAFromAmountOut; exports.calculateBtoAFromPartialAmountIn = calculateBtoAFromPartialAmountIn; exports.calculateInitSqrtPrice = calculateInitSqrtPrice; exports.calculateTransferFeeExcludedAmount = calculateTransferFeeExcludedAmount; exports.calculateTransferFeeIncludedAmount = calculateTransferFeeIncludedAmount; exports.convertToFeeSchedulerSecondFactor = convertToFeeSchedulerSecondFactor; exports.convertToLamports = convertToLamports; exports.convertToRateLimiterSecondFactor = convertToRateLimiterSecondFactor; exports.cpAmmCoder = cpAmmCoder; exports.decimalToQ64 = decimalToQ64; exports.decodeFeeMarketCapSchedulerParams = decodeFeeMarketCapSchedulerParams; exports.decodeFeeRateLimiterParams = decodeFeeRateLimiterParams; exports.decodeFeeTimeSchedulerParams = decodeFeeTimeSchedulerParams; exports.decodePodAlignedFeeMarketCapScheduler = decodePodAlignedFeeMarketCapScheduler; exports.decodePodAlignedFeeRateLimiter = decodePodAlignedFeeRateLimiter; exports.decodePodAlignedFeeTimeScheduler = decodePodAlignedFeeTimeScheduler; exports.deriveClaimFeeOperatorAddress = deriveClaimFeeOperatorAddress; exports.deriveConfigAddress = deriveConfigAddress; exports.deriveCustomizablePoolAddress = deriveCustomizablePoolAddress; exports.deriveOperatorAddress = deriveOperatorAddress; exports.derivePoolAddress = derivePoolAddress; exports.derivePoolAuthority = derivePoolAuthority; exports.derivePositionAddress = derivePositionAddress; exports.derivePositionNftAccount = derivePositionNftAccount; exports.deriveRewardVaultAddress = deriveRewardVaultAddress; exports.deriveTokenBadgeAddress = deriveTokenBadgeAddress; exports.deriveTokenVaultAddress = deriveTokenVaultAddress; exports.encodeFeeMarketCapSchedulerParams = encodeFeeMarketCapSchedulerParams; exports.encodeFeeRateLimiterParams = encodeFeeRateLimiterParams; exports.encodeFeeTimeSchedulerParams = encodeFeeTimeSchedulerParams; exports.feeNumeratorToBps = feeNumeratorToBps; exports.fromDecimalToBN = fromDecimalToBN; exports.getAllPositionNftAccountByOwner = getAllPositionNftAccountByOwner; exports.getAllUserPositionNftAccount = getAllUserPositionNftAccount; exports.getAmountAFromLiquidityDelta = getAmountAFromLiquidityDelta; exports.getAmountBFromLiquidityDelta = getAmountBFromLiquidityDelta; exports.getAmountWithSlippage = getAmountWithSlippage; exports.getAvailableVestingLiquidity = getAvailableVestingLiquidity; exports.getBaseFeeHandler = getBaseFeeHandler; exports.getBaseFeeParams = getBaseFeeParams; exports.getCheckedAmounts = getCheckedAmounts; exports.getCurrentPoint = getCurrentPoint; exports.getDynamicFeeNumerator = getDynamicFeeNumerator; exports.getDynamicFeeParams = getDynamicFeeParams; exports.getEstimatedComputeUnitIxWithBuffer = getEstimatedComputeUnitIxWithBuffer; exports.getEstimatedComputeUnitUsageWithBuffer = getEstimatedComputeUnitUsageWithBuffer; exports.getExcludedFeeAmount = getExcludedFeeAmount; exports.getExcludedFeeAmountFromIncludedFeeAmount = getExcludedFeeAmountFromIncludedFeeAmount; exports.getFeeInPeriod = getFeeInPeriod; exports.getFeeMarketCapBaseFeeNumerator = getFeeMarketCapBaseFeeNumerator; exports.getFeeMarketCapBaseFeeNumeratorByPeriod = getFeeMarketCapBaseFeeNumeratorByPeriod; exports.getFeeMarketCapMinBaseFeeNumerator = getFeeMarketCapMinBaseFeeNumerator; exports.getFeeMarketCapSchedulerParams = getFeeMarketCapSchedulerParams; exports.getFeeMode = getFeeMode; exports.getFeeNumeratorFromExcludedFeeAmount = getFeeNumeratorFromExcludedFeeAmount; exports.getFeeNumeratorFromIncludedFeeAmount = getFeeNumeratorFromIncludedFeeAmount; exports.getFeeNumeratorOnExponentialFeeScheduler = getFeeNumeratorOnExponentialFeeScheduler; exports.getFeeNumeratorOnLinearFeeScheduler = getFeeNumeratorOnLinearFeeScheduler; exports.getFeeOnAmount = getFeeOnAmount; exports.getFeeTimeBaseFeeNumerator = getFeeTimeBaseFeeNumerator; exports.getFeeTimeBaseFeeNumeratorByPeriod = getFeeTimeBaseFeeNumeratorByPeriod; exports.getFeeTimeMinBaseFeeNumerator = getFeeTimeMinBaseFeeNumerator; exports.getFeeTimeSchedulerParams = getFeeTimeSchedulerParams; exports.getFirstKey = getFirstKey; exports.getIncludedFeeAmount = getIncludedFeeAmount; exports.getLiquidityDeltaFromAmountA = getLiquidityDeltaFromAmountA; exports.getLiquidityDeltaFromAmountB = getLiquidityDeltaFromAmountB; exports.getMaxAmountWithSlippage = getMaxAmountWithSlippage; exports.getMaxBaseFeeNumerator = getMaxBaseFeeNumerator; exports.getMaxFeeBps = getMaxFeeBps; exports.getMaxFeeNumerator = getMaxFeeNumerator; exports.getMaxIndex = getMaxIndex; exports.getNextSqrtPriceFromAmountInARoundingUp = getNextSqrtPriceFromAmountInARoundingUp; exports.getNextSqrtPriceFromAmountInBRoundingDown = getNextSqrtPriceFromAmountInBRoundingDown; exports.getNextSqrtPriceFromAmountOutARoundingUp = getNextSqrtPriceFromAmountOutARoundingUp; exports.getNextSqrtPriceFromAmountOutBRoundingDown = getNextSqrtPriceFromAmountOutBRoundingDown; exports.getNextSqrtPriceFromInput = getNextSqrtPriceFromInput; exports.getNextSqrtPriceFromOutput = getNextSqrtPriceFromOutput; exports.getOrCreateATAInstruction = getOrCreateATAInstruction; exports.getPriceChange = getPriceChange; exports.getPriceFromSqrtPrice = getPriceFromSqrtPrice; exports.getPriceImpact = getPriceImpact; exports.getRateLimiterParams = getRateLimiterParams; exports.getRewardInfo = getRewardInfo; exports.getSecondKey = getSecondKey; exports.getSimulationComputeUnits = getSimulationComputeUnits; exports.getSqrtPriceFromPrice = getSqrtPriceFromPrice; exports.getSwapResultFromExactInput = getSwapResultFromExactInput; exports.getSwapResultFromExactOutput = getSwapResultFromExactOutput; exports.getSwapResultFromPartialInput = getSwapResultFromPartialInput; exports.getTokenDecimals = getTokenDecimals; exports.getTokenProgram = getTokenProgram; exports.getTotalFeeNumerator = getTotalFeeNumerator; exports.getTotalLockedLiquidity = getTotalLockedLiquidity; exports.getTotalTradingFeeFromExcludedFeeAmount = getTotalTradingFeeFromExcludedFeeAmount; exports.getTotalTradingFeeFromIncludedFeeAmount = getTotalTradingFeeFromIncludedFeeAmount; exports.getUnClaimLpFee = getUnClaimLpFee; exports.getUserRewardPending = getUserRewardPending; exports.hasPartner = hasPartner; exports.hasTransferHookExtension = hasTransferHookExtension; exports.isDynamicFeeEnabled = isDynamicFeeEnabled; exports.isNonZeroRateLimiter = isNonZeroRateLimiter; exports.isRateLimiterApplied = isRateLimiterApplied; exports.isSwapEnabled = isSwapEnabled; exports.isVestingComplete = isVestingComplete; exports.isZeroRateLimiter = isZeroRateLimiter; exports.mulDiv = mulDiv; exports.offsetBasedFilter = offsetBasedFilter; exports.parseFeeSchedulerSecondFactor = parseFeeSchedulerSecondFactor; exports.parseRateLimiterSecondFactor = parseRateLimiterSecondFactor; exports.positionByPoolFilter = positionByPoolFilter; exports.pow = pow; exports.q64ToDecimal = q64ToDecimal; exports.splitFees = splitFees; exports.sqrt = sqrt; exports.swapQuoteExactInput = swapQuoteExactInput; exports.swapQuoteExactOutput = swapQuoteExactOutput; exports.swapQuotePartialInput = swapQuotePartialInput; exports.toBorshFeeTimeScheduler = toBorshFeeTimeScheduler; exports.toNumerator = toNumerator; exports.toPodAlignedFeeTimeScheduler = toPodAlignedFeeTimeScheduler; exports.unwrapSOLInstruction = unwrapSOLInstruction; exports.validateFeeFraction = validateFeeFraction; exports.validateFeeMarketCapBaseFeeIsStatic = validateFeeMarketCapBaseFeeIsStatic; exports.validateFeeMarketCapScheduler = validateFeeMarketCapScheduler; exports.validateFeeRateLimiter = validateFeeRateLimiter; exports.validateFeeRateLimiterBaseFeeIsStatic = validateFeeRateLimiterBaseFeeIsStatic; exports.validateFeeTimeScheduler = validateFeeTimeScheduler; exports.validateFeeTimeSchedulerBaseFeeIsStatic = validateFeeTimeSchedulerBaseFeeIsStatic; exports.validateNoTransferHook = validateNoTransferHook; exports.vestingByPositionFilter = vestingByPositionFilter; exports.wrapSOLInstruction = wrapSOLInstruction;
|
|
13794
|
+
exports.ActivationPoint = ActivationPoint; exports.ActivationType = ActivationType; exports.BASIS_POINT_MAX = BASIS_POINT_MAX; exports.BIN_STEP_BPS_DEFAULT = BIN_STEP_BPS_DEFAULT; exports.BIN_STEP_BPS_U128_DEFAULT = BIN_STEP_BPS_U128_DEFAULT; exports.BaseFeeMode = BaseFeeMode; exports.CP_AMM_PROGRAM_ID = CP_AMM_PROGRAM_ID; exports.CURRENT_POOL_VERSION = CURRENT_POOL_VERSION; exports.CollectFeeMode = CollectFeeMode; exports.CpAmm = CpAmm; exports.CpAmmIdl = cp_amm_default; exports.DYNAMIC_FEE_DECAY_PERIOD_DEFAULT = DYNAMIC_FEE_DECAY_PERIOD_DEFAULT; exports.DYNAMIC_FEE_FILTER_PERIOD_DEFAULT = DYNAMIC_FEE_FILTER_PERIOD_DEFAULT; exports.DYNAMIC_FEE_REDUCTION_FACTOR_DEFAULT = DYNAMIC_FEE_REDUCTION_FACTOR_DEFAULT; exports.DYNAMIC_FEE_ROUNDING_OFFSET = DYNAMIC_FEE_ROUNDING_OFFSET; exports.DYNAMIC_FEE_SCALING_FACTOR = DYNAMIC_FEE_SCALING_FACTOR; exports.FEE_DENOMINATOR = FEE_DENOMINATOR; exports.FEE_PADDING = FEE_PADDING; exports.FeeMarketCapScheduler = FeeMarketCapScheduler; exports.FeeRateLimiter = FeeRateLimiter; exports.FeeTimeScheduler = FeeTimeScheduler; exports.LIQUIDITY_SCALE = LIQUIDITY_SCALE; exports.MAX = MAX; exports.MAX_CU_BUFFER = MAX_CU_BUFFER; exports.MAX_EXPONENTIAL = MAX_EXPONENTIAL; exports.MAX_FEE_BPS_V0 = MAX_FEE_BPS_V0; exports.MAX_FEE_BPS_V1 = MAX_FEE_BPS_V1; exports.MAX_FEE_NUMERATOR_V0 = MAX_FEE_NUMERATOR_V0; exports.MAX_FEE_NUMERATOR_V1 = MAX_FEE_NUMERATOR_V1; exports.MAX_PRICE_CHANGE_BPS_DEFAULT = MAX_PRICE_CHANGE_BPS_DEFAULT; exports.MAX_RATE_LIMITER_DURATION_IN_SECONDS = MAX_RATE_LIMITER_DURATION_IN_SECONDS; exports.MAX_RATE_LIMITER_DURATION_IN_SLOTS = MAX_RATE_LIMITER_DURATION_IN_SLOTS; exports.MAX_SQRT_PRICE = MAX_SQRT_PRICE; exports.MIN_CU_BUFFER = MIN_CU_BUFFER; exports.MIN_FEE_BPS = MIN_FEE_BPS; exports.MIN_FEE_NUMERATOR = MIN_FEE_NUMERATOR; exports.MIN_SQRT_PRICE = MIN_SQRT_PRICE; exports.ONE_Q64 = ONE_Q64; exports.PoolStatus = PoolStatus; exports.PoolVersion = PoolVersion; exports.Rounding = Rounding; exports.SCALE_OFFSET = SCALE_OFFSET; exports.SPLIT_POSITION_DENOMINATOR = SPLIT_POSITION_DENOMINATOR; exports.SwapMode = SwapMode; exports.TradeDirection = TradeDirection; exports.U128_MAX = U128_MAX; exports.U16_MAX = U16_MAX; exports.U64_MAX = U64_MAX; exports.bpsToFeeNumerator = bpsToFeeNumerator; exports.calculateAtoBFromAmountIn = calculateAtoBFromAmountIn; exports.calculateAtoBFromAmountOut = calculateAtoBFromAmountOut; exports.calculateAtoBFromPartialAmountIn = calculateAtoBFromPartialAmountIn; exports.calculateBtoAFromAmountIn = calculateBtoAFromAmountIn; exports.calculateBtoAFromAmountOut = calculateBtoAFromAmountOut; exports.calculateBtoAFromPartialAmountIn = calculateBtoAFromPartialAmountIn; exports.calculateInitSqrtPrice = calculateInitSqrtPrice; exports.calculateTransferFeeExcludedAmount = calculateTransferFeeExcludedAmount; exports.calculateTransferFeeIncludedAmount = calculateTransferFeeIncludedAmount; exports.convertToFeeSchedulerSecondFactor = convertToFeeSchedulerSecondFactor; exports.convertToLamports = convertToLamports; exports.convertToRateLimiterSecondFactor = convertToRateLimiterSecondFactor; exports.cpAmmCoder = cpAmmCoder; exports.decimalToQ64 = decimalToQ64; exports.decodeFeeMarketCapSchedulerParams = decodeFeeMarketCapSchedulerParams; exports.decodeFeeRateLimiterParams = decodeFeeRateLimiterParams; exports.decodeFeeTimeSchedulerParams = decodeFeeTimeSchedulerParams; exports.decodePodAlignedFeeMarketCapScheduler = decodePodAlignedFeeMarketCapScheduler; exports.decodePodAlignedFeeRateLimiter = decodePodAlignedFeeRateLimiter; exports.decodePodAlignedFeeTimeScheduler = decodePodAlignedFeeTimeScheduler; exports.deriveClaimFeeOperatorAddress = deriveClaimFeeOperatorAddress; exports.deriveConfigAddress = deriveConfigAddress; exports.deriveCustomizablePoolAddress = deriveCustomizablePoolAddress; exports.deriveOperatorAddress = deriveOperatorAddress; exports.derivePoolAddress = derivePoolAddress; exports.derivePoolAuthority = derivePoolAuthority; exports.derivePositionAddress = derivePositionAddress; exports.derivePositionNftAccount = derivePositionNftAccount; exports.deriveRewardVaultAddress = deriveRewardVaultAddress; exports.deriveTokenBadgeAddress = deriveTokenBadgeAddress; exports.deriveTokenVaultAddress = deriveTokenVaultAddress; exports.encodeFeeMarketCapSchedulerParams = encodeFeeMarketCapSchedulerParams; exports.encodeFeeRateLimiterParams = encodeFeeRateLimiterParams; exports.encodeFeeTimeSchedulerParams = encodeFeeTimeSchedulerParams; exports.feeNumeratorToBps = feeNumeratorToBps; exports.fromDecimalToBN = fromDecimalToBN; exports.getAllPositionNftAccountByOwner = getAllPositionNftAccountByOwner; exports.getAllUserPositionNftAccount = getAllUserPositionNftAccount; exports.getAmountAFromLiquidityDelta = getAmountAFromLiquidityDelta; exports.getAmountBFromLiquidityDelta = getAmountBFromLiquidityDelta; exports.getAmountWithSlippage = getAmountWithSlippage; exports.getAvailableVestingLiquidity = getAvailableVestingLiquidity; exports.getBaseFeeHandler = getBaseFeeHandler; exports.getBaseFeeParams = getBaseFeeParams; exports.getCheckedAmounts = getCheckedAmounts; exports.getCurrentPoint = getCurrentPoint; exports.getDynamicFeeNumerator = getDynamicFeeNumerator; exports.getDynamicFeeParams = getDynamicFeeParams; exports.getEstimatedComputeUnitIxWithBuffer = getEstimatedComputeUnitIxWithBuffer; exports.getEstimatedComputeUnitUsageWithBuffer = getEstimatedComputeUnitUsageWithBuffer; exports.getExcludedFeeAmount = getExcludedFeeAmount; exports.getExcludedFeeAmountFromIncludedFeeAmount = getExcludedFeeAmountFromIncludedFeeAmount; exports.getFeeInPeriod = getFeeInPeriod; exports.getFeeMarketCapBaseFeeNumerator = getFeeMarketCapBaseFeeNumerator; exports.getFeeMarketCapBaseFeeNumeratorByPeriod = getFeeMarketCapBaseFeeNumeratorByPeriod; exports.getFeeMarketCapMinBaseFeeNumerator = getFeeMarketCapMinBaseFeeNumerator; exports.getFeeMarketCapSchedulerParams = getFeeMarketCapSchedulerParams; exports.getFeeMode = getFeeMode; exports.getFeeNumeratorFromExcludedFeeAmount = getFeeNumeratorFromExcludedFeeAmount; exports.getFeeNumeratorFromIncludedFeeAmount = getFeeNumeratorFromIncludedFeeAmount; exports.getFeeNumeratorOnExponentialFeeScheduler = getFeeNumeratorOnExponentialFeeScheduler; exports.getFeeNumeratorOnLinearFeeScheduler = getFeeNumeratorOnLinearFeeScheduler; exports.getFeeOnAmount = getFeeOnAmount; exports.getFeeTimeBaseFeeNumerator = getFeeTimeBaseFeeNumerator; exports.getFeeTimeBaseFeeNumeratorByPeriod = getFeeTimeBaseFeeNumeratorByPeriod; exports.getFeeTimeMinBaseFeeNumerator = getFeeTimeMinBaseFeeNumerator; exports.getFeeTimeSchedulerParams = getFeeTimeSchedulerParams; exports.getFirstKey = getFirstKey; exports.getIncludedFeeAmount = getIncludedFeeAmount; exports.getLiquidityDeltaFromAmountA = getLiquidityDeltaFromAmountA; exports.getLiquidityDeltaFromAmountB = getLiquidityDeltaFromAmountB; exports.getMaxAmountWithSlippage = getMaxAmountWithSlippage; exports.getMaxBaseFeeNumerator = getMaxBaseFeeNumerator; exports.getMaxFeeBps = getMaxFeeBps; exports.getMaxFeeNumerator = getMaxFeeNumerator; exports.getMaxIndex = getMaxIndex; exports.getNextSqrtPriceFromAmountInARoundingUp = getNextSqrtPriceFromAmountInARoundingUp; exports.getNextSqrtPriceFromAmountInBRoundingDown = getNextSqrtPriceFromAmountInBRoundingDown; exports.getNextSqrtPriceFromAmountOutARoundingUp = getNextSqrtPriceFromAmountOutARoundingUp; exports.getNextSqrtPriceFromAmountOutBRoundingDown = getNextSqrtPriceFromAmountOutBRoundingDown; exports.getNextSqrtPriceFromInput = getNextSqrtPriceFromInput; exports.getNextSqrtPriceFromOutput = getNextSqrtPriceFromOutput; exports.getOrCreateATAInstruction = getOrCreateATAInstruction; exports.getPriceChange = getPriceChange; exports.getPriceFromSqrtPrice = getPriceFromSqrtPrice; exports.getPriceImpact = getPriceImpact; exports.getRateLimiterParams = getRateLimiterParams; exports.getRewardInfo = getRewardInfo; exports.getSecondKey = getSecondKey; exports.getSimulationComputeUnits = getSimulationComputeUnits; exports.getSqrtPriceFromPrice = getSqrtPriceFromPrice; exports.getSwapResultFromExactInput = getSwapResultFromExactInput; exports.getSwapResultFromExactOutput = getSwapResultFromExactOutput; exports.getSwapResultFromPartialInput = getSwapResultFromPartialInput; exports.getTokenDecimals = getTokenDecimals; exports.getTokenProgram = getTokenProgram; exports.getTotalFeeNumerator = getTotalFeeNumerator; exports.getTotalLockedLiquidity = getTotalLockedLiquidity; exports.getTotalTradingFeeFromExcludedFeeAmount = getTotalTradingFeeFromExcludedFeeAmount; exports.getTotalTradingFeeFromIncludedFeeAmount = getTotalTradingFeeFromIncludedFeeAmount; exports.getUnClaimLpFee = getUnClaimLpFee; exports.getUserRewardPending = getUserRewardPending; exports.hasPartner = hasPartner; exports.hasTransferHookExtension = hasTransferHookExtension; exports.isDynamicFeeEnabled = isDynamicFeeEnabled; exports.isNonZeroRateLimiter = isNonZeroRateLimiter; exports.isRateLimiterApplied = isRateLimiterApplied; exports.isSwapEnabled = isSwapEnabled; exports.isVestingComplete = isVestingComplete; exports.isZeroRateLimiter = isZeroRateLimiter; exports.mulDiv = mulDiv; exports.offsetBasedFilter = offsetBasedFilter; exports.parseFeeSchedulerSecondFactor = parseFeeSchedulerSecondFactor; exports.parseRateLimiterSecondFactor = parseRateLimiterSecondFactor; exports.positionByPoolFilter = positionByPoolFilter; exports.pow = pow; exports.q64ToDecimal = q64ToDecimal; exports.splitFees = splitFees; exports.sqrt = sqrt; exports.swapQuoteExactInput = swapQuoteExactInput; exports.swapQuoteExactOutput = swapQuoteExactOutput; exports.swapQuotePartialInput = swapQuotePartialInput; exports.toNumerator = toNumerator; exports.unwrapSOLInstruction = unwrapSOLInstruction; exports.validateFeeFraction = validateFeeFraction; exports.validateFeeMarketCapBaseFeeIsStatic = validateFeeMarketCapBaseFeeIsStatic; exports.validateFeeMarketCapScheduler = validateFeeMarketCapScheduler; exports.validateFeeRateLimiter = validateFeeRateLimiter; exports.validateFeeRateLimiterBaseFeeIsStatic = validateFeeRateLimiterBaseFeeIsStatic; exports.validateFeeTimeScheduler = validateFeeTimeScheduler; exports.validateFeeTimeSchedulerBaseFeeIsStatic = validateFeeTimeSchedulerBaseFeeIsStatic; exports.validateNoTransferHook = validateNoTransferHook; exports.vestingByPositionFilter = vestingByPositionFilter; exports.wrapSOLInstruction = wrapSOLInstruction;
|
|
13785
13795
|
//# sourceMappingURL=index.js.map
|