@meteora-ag/dlmm 1.9.9 → 1.9.10
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.js +13 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -10266,6 +10266,7 @@ var DlmmSdkError = class extends Error {
|
|
|
10266
10266
|
|
|
10267
10267
|
|
|
10268
10268
|
|
|
10269
|
+
|
|
10269
10270
|
// src/dlmm/types/index.ts
|
|
10270
10271
|
|
|
10271
10272
|
|
|
@@ -15354,7 +15355,8 @@ async function chunkDepositWithRebalanceEndpoint(dlmm, strategy, slippagePercent
|
|
|
15354
15355
|
const initBitmapIx = await dlmm.program.methods.initializeBinArrayBitmapExtension().accountsPartial({
|
|
15355
15356
|
binArrayBitmapExtension: bitmapPubkey,
|
|
15356
15357
|
lbPair: dlmm.pubkey,
|
|
15357
|
-
funder: payer
|
|
15358
|
+
funder: payer,
|
|
15359
|
+
rent: _web3js.SYSVAR_RENT_PUBKEY
|
|
15358
15360
|
}).instruction();
|
|
15359
15361
|
initBitmapIxs.push(initBitmapIx);
|
|
15360
15362
|
binArrayOrBitmapInitTracking.add(bitmapPubkey.toBase58());
|
|
@@ -20731,7 +20733,8 @@ var DLMM = class {
|
|
|
20731
20733
|
await this.program.methods.initializeBinArrayBitmapExtension().accountsPartial({
|
|
20732
20734
|
binArrayBitmapExtension,
|
|
20733
20735
|
funder: payer,
|
|
20734
|
-
lbPair: this.pubkey
|
|
20736
|
+
lbPair: this.pubkey,
|
|
20737
|
+
rent: _web3js.SYSVAR_RENT_PUBKEY
|
|
20735
20738
|
}).instruction()
|
|
20736
20739
|
);
|
|
20737
20740
|
appendedInitBinArrayBitmap = true;
|
|
@@ -20930,7 +20933,8 @@ var DLMM = class {
|
|
|
20930
20933
|
await this.program.methods.initializeBinArrayBitmapExtension().accountsPartial({
|
|
20931
20934
|
binArrayBitmapExtension,
|
|
20932
20935
|
funder: payer,
|
|
20933
|
-
lbPair: this.pubkey
|
|
20936
|
+
lbPair: this.pubkey,
|
|
20937
|
+
rent: _web3js.SYSVAR_RENT_PUBKEY
|
|
20934
20938
|
}).instruction()
|
|
20935
20939
|
);
|
|
20936
20940
|
binArrayBitmapLamports = binArrayBitmapLamports.add(
|
|
@@ -21346,7 +21350,8 @@ var DLMM = class {
|
|
|
21346
21350
|
const initializeBitmapExtensionIx = await this.program.methods.initializeBinArrayBitmapExtension().accountsPartial({
|
|
21347
21351
|
binArrayBitmapExtension: binArrayBitMapExtensionPubkey,
|
|
21348
21352
|
funder: owner,
|
|
21349
|
-
lbPair: this.pubkey
|
|
21353
|
+
lbPair: this.pubkey,
|
|
21354
|
+
rent: _web3js.SYSVAR_RENT_PUBKEY
|
|
21350
21355
|
}).instruction();
|
|
21351
21356
|
preInstructions.push(initializeBitmapExtensionIx);
|
|
21352
21357
|
}
|
|
@@ -21754,7 +21759,8 @@ var DLMM = class {
|
|
|
21754
21759
|
const initBitmapExtensionIx = await this.program.methods.initializeBinArrayBitmapExtension().accountsPartial({
|
|
21755
21760
|
binArrayBitmapExtension: binArrayBitmap,
|
|
21756
21761
|
funder: owner,
|
|
21757
|
-
lbPair: this.pubkey
|
|
21762
|
+
lbPair: this.pubkey,
|
|
21763
|
+
rent: _web3js.SYSVAR_RENT_PUBKEY
|
|
21758
21764
|
}).preInstructions([
|
|
21759
21765
|
_web3js.ComputeBudgetProgram.setComputeUnitLimit({
|
|
21760
21766
|
units: DEFAULT_INIT_BIN_ARRAY_CU
|
|
@@ -21970,7 +21976,8 @@ var DLMM = class {
|
|
|
21970
21976
|
const initializeBitmapExtensionIx = await this.program.methods.initializeBinArrayBitmapExtension().accountsPartial({
|
|
21971
21977
|
binArrayBitmapExtension,
|
|
21972
21978
|
funder: owner,
|
|
21973
|
-
lbPair: this.pubkey
|
|
21979
|
+
lbPair: this.pubkey,
|
|
21980
|
+
rent: _web3js.SYSVAR_RENT_PUBKEY
|
|
21974
21981
|
}).instruction();
|
|
21975
21982
|
preInstructions.push(initializeBitmapExtensionIx);
|
|
21976
21983
|
}
|