@stabbleorg/mclmm-sdk 0.4.0 → 0.5.1
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/lib/index.js +55 -10
- package/lib/index.mjs +59 -11
- package/lib/swap.d.ts +10 -2
- package/lib/swap.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -7889,7 +7889,7 @@ var Clmm = class {
|
|
|
7889
7889
|
tradeFeeRate,
|
|
7890
7890
|
protocolFeeRate,
|
|
7891
7891
|
fundFeeRate
|
|
7892
|
-
});
|
|
7892
|
+
}, { programAddress: this.programId });
|
|
7893
7893
|
return {
|
|
7894
7894
|
instruction,
|
|
7895
7895
|
extInfo: {
|
|
@@ -8013,7 +8013,7 @@ var PoolManager = class {
|
|
|
8013
8013
|
tokenProgram1: import_token2.TOKEN_PROGRAM_ADDRESS,
|
|
8014
8014
|
sqrtPriceX64: BigInt(initialPriceX64.toString()),
|
|
8015
8015
|
openTime: BigInt(0)
|
|
8016
|
-
});
|
|
8016
|
+
}, { programAddress: this.programId });
|
|
8017
8017
|
return {
|
|
8018
8018
|
instructions: [instruction],
|
|
8019
8019
|
signers: [],
|
|
@@ -8053,7 +8053,7 @@ var PoolManager = class {
|
|
|
8053
8053
|
tradeFeeRate,
|
|
8054
8054
|
protocolFeeRate,
|
|
8055
8055
|
fundFeeRate
|
|
8056
|
-
});
|
|
8056
|
+
}, { programAddress: this.programId });
|
|
8057
8057
|
return {
|
|
8058
8058
|
instructions: [instruction],
|
|
8059
8059
|
signers: [owner],
|
|
@@ -8362,7 +8362,7 @@ var PositionManager = class {
|
|
|
8362
8362
|
amount1Max: amountMaxB,
|
|
8363
8363
|
withMetadata,
|
|
8364
8364
|
baseFlag: null
|
|
8365
|
-
});
|
|
8365
|
+
}, { programAddress: this.programId });
|
|
8366
8366
|
return {
|
|
8367
8367
|
instructions: [instruction],
|
|
8368
8368
|
signers,
|
|
@@ -8486,7 +8486,7 @@ var PositionManager = class {
|
|
|
8486
8486
|
withMetadata,
|
|
8487
8487
|
baseFlag: base === "MintA" ? true : false
|
|
8488
8488
|
// true = MintA is base, false = MintB is base
|
|
8489
|
-
});
|
|
8489
|
+
}, { programAddress: this.programId });
|
|
8490
8490
|
const ixWithRemAccounts = {
|
|
8491
8491
|
...instruction,
|
|
8492
8492
|
accounts: [...instruction.accounts, ...remAccounts]
|
|
@@ -8573,7 +8573,7 @@ var PositionManager = class {
|
|
|
8573
8573
|
amount0Max: amountMaxA,
|
|
8574
8574
|
amount1Max: amountMaxB,
|
|
8575
8575
|
baseFlag: null
|
|
8576
|
-
});
|
|
8576
|
+
}, { programAddress: this.programId });
|
|
8577
8577
|
const ixWithRemAccounts = {
|
|
8578
8578
|
...instruction,
|
|
8579
8579
|
accounts: [...instruction.accounts, ...remAccounts]
|
|
@@ -8682,7 +8682,7 @@ var PositionManager = class {
|
|
|
8682
8682
|
liquidity,
|
|
8683
8683
|
amount0Min: amountMinA,
|
|
8684
8684
|
amount1Min: amountMinB
|
|
8685
|
-
});
|
|
8685
|
+
}, { programAddress: this.programId });
|
|
8686
8686
|
const ixWithRemAccounts = {
|
|
8687
8687
|
...instruction,
|
|
8688
8688
|
accounts: [...instruction.accounts, ...remAccounts]
|
|
@@ -8742,7 +8742,7 @@ var PositionManager = class {
|
|
|
8742
8742
|
positionNftAccount,
|
|
8743
8743
|
personalPosition,
|
|
8744
8744
|
tokenProgram: import_token_20222.TOKEN_2022_PROGRAM_ADDRESS
|
|
8745
|
-
});
|
|
8745
|
+
}, { programAddress: this.programId });
|
|
8746
8746
|
return {
|
|
8747
8747
|
instructions: [instruction],
|
|
8748
8748
|
signers: [],
|
|
@@ -9207,6 +9207,7 @@ var ClmmApi = class {
|
|
|
9207
9207
|
};
|
|
9208
9208
|
|
|
9209
9209
|
// src/swap.ts
|
|
9210
|
+
var import_kit55 = require("@solana/kit");
|
|
9210
9211
|
var import_token5 = require("@solana-program/token");
|
|
9211
9212
|
|
|
9212
9213
|
// src/managers/pool-data-manager.ts
|
|
@@ -11251,7 +11252,10 @@ var SwapManager = class {
|
|
|
11251
11252
|
}
|
|
11252
11253
|
const pool = await this.poolDataManager.getPoolState(poolAddress, options);
|
|
11253
11254
|
const zeroForOne = params.tokenIn === pool.tokenMint0;
|
|
11254
|
-
const [observationState] = await PdaUtils.getObservationStatePda(
|
|
11255
|
+
const [observationState] = await PdaUtils.getObservationStatePda(
|
|
11256
|
+
poolAddress,
|
|
11257
|
+
this.programId
|
|
11258
|
+
);
|
|
11255
11259
|
const [inputTokenAccount] = await (0, import_token5.findAssociatedTokenPda)({
|
|
11256
11260
|
mint: params.tokenIn,
|
|
11257
11261
|
owner: payer.address,
|
|
@@ -11283,7 +11287,48 @@ var SwapManager = class {
|
|
|
11283
11287
|
sqrtPriceLimitX64: BigInt(sqrtPriceLimitX64.toString()),
|
|
11284
11288
|
isBaseInput: true
|
|
11285
11289
|
};
|
|
11286
|
-
|
|
11290
|
+
const baseInstruction = getSwapV2Instruction(input, {
|
|
11291
|
+
programAddress: this.programId
|
|
11292
|
+
});
|
|
11293
|
+
const remainingAccounts = [];
|
|
11294
|
+
const [bitmapExtensionPda] = await PdaUtils.getTickArrayBitmapExtensionPda(
|
|
11295
|
+
poolAddress,
|
|
11296
|
+
this.programId
|
|
11297
|
+
);
|
|
11298
|
+
remainingAccounts.push({
|
|
11299
|
+
address: bitmapExtensionPda,
|
|
11300
|
+
role: import_kit55.AccountRole.READONLY
|
|
11301
|
+
});
|
|
11302
|
+
const tickArrayAddresses = await this.getRequiredTickArrays(
|
|
11303
|
+
poolAddress,
|
|
11304
|
+
pool.tickCurrent,
|
|
11305
|
+
pool.tickSpacing,
|
|
11306
|
+
zeroForOne,
|
|
11307
|
+
this.estimateTickArrayCount(pool, params.amountIn)
|
|
11308
|
+
);
|
|
11309
|
+
for (const addr of tickArrayAddresses) {
|
|
11310
|
+
remainingAccounts.push({
|
|
11311
|
+
address: addr,
|
|
11312
|
+
role: import_kit55.AccountRole.WRITABLE
|
|
11313
|
+
});
|
|
11314
|
+
}
|
|
11315
|
+
const swapInstruction = {
|
|
11316
|
+
...baseInstruction,
|
|
11317
|
+
accounts: [...baseInstruction.accounts, ...remainingAccounts]
|
|
11318
|
+
};
|
|
11319
|
+
const instructions = [swapInstruction];
|
|
11320
|
+
if (options?.createOutputAta) {
|
|
11321
|
+
instructions.unshift(
|
|
11322
|
+
(0, import_token5.getCreateAssociatedTokenIdempotentInstruction)({
|
|
11323
|
+
payer,
|
|
11324
|
+
ata: outputTokenAccount,
|
|
11325
|
+
owner: payer.address,
|
|
11326
|
+
mint: params.tokenOut,
|
|
11327
|
+
tokenProgram: import_token5.TOKEN_PROGRAM_ADDRESS
|
|
11328
|
+
})
|
|
11329
|
+
);
|
|
11330
|
+
}
|
|
11331
|
+
return instructions;
|
|
11287
11332
|
}
|
|
11288
11333
|
async getCurrentPrice(poolAddress, options) {
|
|
11289
11334
|
const pool = await this.poolDataManager.getPoolState(poolAddress, options);
|
package/lib/index.mjs
CHANGED
|
@@ -8446,7 +8446,7 @@ var Clmm = class {
|
|
|
8446
8446
|
tradeFeeRate,
|
|
8447
8447
|
protocolFeeRate,
|
|
8448
8448
|
fundFeeRate
|
|
8449
|
-
});
|
|
8449
|
+
}, { programAddress: this.programId });
|
|
8450
8450
|
return {
|
|
8451
8451
|
instruction,
|
|
8452
8452
|
extInfo: {
|
|
@@ -8575,7 +8575,7 @@ var PoolManager = class {
|
|
|
8575
8575
|
tokenProgram1: TOKEN_PROGRAM_ADDRESS2,
|
|
8576
8576
|
sqrtPriceX64: BigInt(initialPriceX64.toString()),
|
|
8577
8577
|
openTime: BigInt(0)
|
|
8578
|
-
});
|
|
8578
|
+
}, { programAddress: this.programId });
|
|
8579
8579
|
return {
|
|
8580
8580
|
instructions: [instruction],
|
|
8581
8581
|
signers: [],
|
|
@@ -8615,7 +8615,7 @@ var PoolManager = class {
|
|
|
8615
8615
|
tradeFeeRate,
|
|
8616
8616
|
protocolFeeRate,
|
|
8617
8617
|
fundFeeRate
|
|
8618
|
-
});
|
|
8618
|
+
}, { programAddress: this.programId });
|
|
8619
8619
|
return {
|
|
8620
8620
|
instructions: [instruction],
|
|
8621
8621
|
signers: [owner],
|
|
@@ -8939,7 +8939,7 @@ var PositionManager = class {
|
|
|
8939
8939
|
amount1Max: amountMaxB,
|
|
8940
8940
|
withMetadata,
|
|
8941
8941
|
baseFlag: null
|
|
8942
|
-
});
|
|
8942
|
+
}, { programAddress: this.programId });
|
|
8943
8943
|
return {
|
|
8944
8944
|
instructions: [instruction],
|
|
8945
8945
|
signers,
|
|
@@ -9063,7 +9063,7 @@ var PositionManager = class {
|
|
|
9063
9063
|
withMetadata,
|
|
9064
9064
|
baseFlag: base === "MintA" ? true : false
|
|
9065
9065
|
// true = MintA is base, false = MintB is base
|
|
9066
|
-
});
|
|
9066
|
+
}, { programAddress: this.programId });
|
|
9067
9067
|
const ixWithRemAccounts = {
|
|
9068
9068
|
...instruction,
|
|
9069
9069
|
accounts: [...instruction.accounts, ...remAccounts]
|
|
@@ -9150,7 +9150,7 @@ var PositionManager = class {
|
|
|
9150
9150
|
amount0Max: amountMaxA,
|
|
9151
9151
|
amount1Max: amountMaxB,
|
|
9152
9152
|
baseFlag: null
|
|
9153
|
-
});
|
|
9153
|
+
}, { programAddress: this.programId });
|
|
9154
9154
|
const ixWithRemAccounts = {
|
|
9155
9155
|
...instruction,
|
|
9156
9156
|
accounts: [...instruction.accounts, ...remAccounts]
|
|
@@ -9259,7 +9259,7 @@ var PositionManager = class {
|
|
|
9259
9259
|
liquidity,
|
|
9260
9260
|
amount0Min: amountMinA,
|
|
9261
9261
|
amount1Min: amountMinB
|
|
9262
|
-
});
|
|
9262
|
+
}, { programAddress: this.programId });
|
|
9263
9263
|
const ixWithRemAccounts = {
|
|
9264
9264
|
...instruction,
|
|
9265
9265
|
accounts: [...instruction.accounts, ...remAccounts]
|
|
@@ -9319,7 +9319,7 @@ var PositionManager = class {
|
|
|
9319
9319
|
positionNftAccount,
|
|
9320
9320
|
personalPosition,
|
|
9321
9321
|
tokenProgram: TOKEN_2022_PROGRAM_ADDRESS2
|
|
9322
|
-
});
|
|
9322
|
+
}, { programAddress: this.programId });
|
|
9323
9323
|
return {
|
|
9324
9324
|
instructions: [instruction],
|
|
9325
9325
|
signers: [],
|
|
@@ -9784,9 +9784,13 @@ var ClmmApi = class {
|
|
|
9784
9784
|
};
|
|
9785
9785
|
|
|
9786
9786
|
// src/swap.ts
|
|
9787
|
+
import {
|
|
9788
|
+
AccountRole as AccountRole3
|
|
9789
|
+
} from "@solana/kit";
|
|
9787
9790
|
import {
|
|
9788
9791
|
findAssociatedTokenPda as findAssociatedTokenPda2,
|
|
9789
|
-
TOKEN_PROGRAM_ADDRESS as TOKEN_PROGRAM_ADDRESS4
|
|
9792
|
+
TOKEN_PROGRAM_ADDRESS as TOKEN_PROGRAM_ADDRESS4,
|
|
9793
|
+
getCreateAssociatedTokenIdempotentInstruction as getCreateAssociatedTokenIdempotentInstruction2
|
|
9790
9794
|
} from "@solana-program/token";
|
|
9791
9795
|
|
|
9792
9796
|
// src/managers/pool-data-manager.ts
|
|
@@ -11831,7 +11835,10 @@ var SwapManager = class {
|
|
|
11831
11835
|
}
|
|
11832
11836
|
const pool = await this.poolDataManager.getPoolState(poolAddress, options);
|
|
11833
11837
|
const zeroForOne = params.tokenIn === pool.tokenMint0;
|
|
11834
|
-
const [observationState] = await PdaUtils.getObservationStatePda(
|
|
11838
|
+
const [observationState] = await PdaUtils.getObservationStatePda(
|
|
11839
|
+
poolAddress,
|
|
11840
|
+
this.programId
|
|
11841
|
+
);
|
|
11835
11842
|
const [inputTokenAccount] = await findAssociatedTokenPda2({
|
|
11836
11843
|
mint: params.tokenIn,
|
|
11837
11844
|
owner: payer.address,
|
|
@@ -11863,7 +11870,48 @@ var SwapManager = class {
|
|
|
11863
11870
|
sqrtPriceLimitX64: BigInt(sqrtPriceLimitX64.toString()),
|
|
11864
11871
|
isBaseInput: true
|
|
11865
11872
|
};
|
|
11866
|
-
|
|
11873
|
+
const baseInstruction = getSwapV2Instruction(input, {
|
|
11874
|
+
programAddress: this.programId
|
|
11875
|
+
});
|
|
11876
|
+
const remainingAccounts = [];
|
|
11877
|
+
const [bitmapExtensionPda] = await PdaUtils.getTickArrayBitmapExtensionPda(
|
|
11878
|
+
poolAddress,
|
|
11879
|
+
this.programId
|
|
11880
|
+
);
|
|
11881
|
+
remainingAccounts.push({
|
|
11882
|
+
address: bitmapExtensionPda,
|
|
11883
|
+
role: AccountRole3.READONLY
|
|
11884
|
+
});
|
|
11885
|
+
const tickArrayAddresses = await this.getRequiredTickArrays(
|
|
11886
|
+
poolAddress,
|
|
11887
|
+
pool.tickCurrent,
|
|
11888
|
+
pool.tickSpacing,
|
|
11889
|
+
zeroForOne,
|
|
11890
|
+
this.estimateTickArrayCount(pool, params.amountIn)
|
|
11891
|
+
);
|
|
11892
|
+
for (const addr of tickArrayAddresses) {
|
|
11893
|
+
remainingAccounts.push({
|
|
11894
|
+
address: addr,
|
|
11895
|
+
role: AccountRole3.WRITABLE
|
|
11896
|
+
});
|
|
11897
|
+
}
|
|
11898
|
+
const swapInstruction = {
|
|
11899
|
+
...baseInstruction,
|
|
11900
|
+
accounts: [...baseInstruction.accounts, ...remainingAccounts]
|
|
11901
|
+
};
|
|
11902
|
+
const instructions = [swapInstruction];
|
|
11903
|
+
if (options?.createOutputAta) {
|
|
11904
|
+
instructions.unshift(
|
|
11905
|
+
getCreateAssociatedTokenIdempotentInstruction2({
|
|
11906
|
+
payer,
|
|
11907
|
+
ata: outputTokenAccount,
|
|
11908
|
+
owner: payer.address,
|
|
11909
|
+
mint: params.tokenOut,
|
|
11910
|
+
tokenProgram: TOKEN_PROGRAM_ADDRESS4
|
|
11911
|
+
})
|
|
11912
|
+
);
|
|
11913
|
+
}
|
|
11914
|
+
return instructions;
|
|
11867
11915
|
}
|
|
11868
11916
|
async getCurrentPrice(poolAddress, options) {
|
|
11869
11917
|
const pool = await this.poolDataManager.getPoolState(poolAddress, options);
|
package/lib/swap.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Account, type Address, type Instruction, type TransactionSigner } from "@solana/kit";
|
|
2
2
|
import { type PoolState, type TickArrayState, type AmmConfig } from "./generated";
|
|
3
3
|
import { ClmmSdkConfig, SwapParams, SwapQuote } from "./types";
|
|
4
4
|
import { type PriceApiConfig } from "./managers";
|
|
@@ -306,6 +306,13 @@ export declare class SwapManager {
|
|
|
306
306
|
hits: number;
|
|
307
307
|
misses: number;
|
|
308
308
|
errors: number;
|
|
309
|
+
/**
|
|
310
|
+
* Gets the execution price (output per input)
|
|
311
|
+
*
|
|
312
|
+
* Why this conversion: Token amounts are stored in base units (e.g., lamports for SOL),
|
|
313
|
+
* but users think in decimal units (SOL, USDC). We convert both sides to human-readable
|
|
314
|
+
* before calculating the rate to avoid precision loss from integer division.
|
|
315
|
+
*/
|
|
309
316
|
hitRate: number;
|
|
310
317
|
cacheSize: number;
|
|
311
318
|
inFlight: number;
|
|
@@ -752,7 +759,8 @@ export declare class SwapManager {
|
|
|
752
759
|
sqrtPriceLimitX64?: BN;
|
|
753
760
|
}, priorQuote?: SwapQuote, options?: {
|
|
754
761
|
signal?: AbortSignal;
|
|
755
|
-
|
|
762
|
+
createOutputAta?: boolean;
|
|
763
|
+
}): Promise<Instruction[]>;
|
|
756
764
|
getCurrentPrice(poolAddress: Address, options?: {
|
|
757
765
|
signal?: AbortSignal;
|
|
758
766
|
allowStale?: boolean;
|
package/lib/swap.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap.d.ts","sourceRoot":"","sources":["../src/swap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"swap.d.ts","sourceRoot":"","sources":["../src/swap.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EAEZ,KAAK,OAAO,EACZ,KAAK,WAA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