@meteora-ag/dlmm 1.0.2 → 1.0.3
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 +11 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6141,15 +6141,17 @@ var DLMM = class {
|
|
|
6141
6141
|
"lbPair",
|
|
6142
6142
|
lbPairAccountInfo.data
|
|
6143
6143
|
);
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6144
|
+
if (binArrayBitmapExtensionAccountInfo) {
|
|
6145
|
+
const binArrayBitmapExtensionState = this.program.coder.accounts.decode(
|
|
6146
|
+
"binArrayBitmapExtension",
|
|
6147
|
+
binArrayBitmapExtensionAccountInfo.data
|
|
6148
|
+
);
|
|
6149
|
+
if (binArrayBitmapExtensionState) {
|
|
6150
|
+
this.binArrayBitmapExtension = {
|
|
6151
|
+
account: binArrayBitmapExtensionState,
|
|
6152
|
+
publicKey: binArrayBitmapExtensionPubkey
|
|
6153
|
+
};
|
|
6154
|
+
}
|
|
6153
6155
|
}
|
|
6154
6156
|
const reserveXBalance = _spltoken.AccountLayout.decode(reserveXAccountInfo.data);
|
|
6155
6157
|
const reserveYBalance = _spltoken.AccountLayout.decode(reserveYAccountInfo.data);
|