@meteora-ag/dlmm 1.9.0-rc.2 → 1.9.0-rc.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.d.ts +344 -344
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11235,9 +11235,9 @@ var U64_MAX = new BN("18446744073709551615");
|
|
|
11235
11235
|
var MAX_BINS_PER_POSITION = new BN(
|
|
11236
11236
|
CONSTANTS.find(([k, v]) => v.name == "POSITION_MAX_LENGTH")?.[1].value ?? 0
|
|
11237
11237
|
);
|
|
11238
|
-
var FunctionType = /* @__PURE__ */ ((
|
|
11239
|
-
|
|
11240
|
-
return
|
|
11238
|
+
var FunctionType = /* @__PURE__ */ ((FunctionType2) => {
|
|
11239
|
+
FunctionType2[FunctionType2["LiquidityMining"] = 0] = "LiquidityMining";
|
|
11240
|
+
return FunctionType2;
|
|
11241
11241
|
})(FunctionType || {});
|
|
11242
11242
|
|
|
11243
11243
|
// src/dlmm/error.ts
|
|
@@ -16974,7 +16974,7 @@ var DLMM = class {
|
|
|
16974
16974
|
* @param opt An options object.
|
|
16975
16975
|
* @returns A transaction that creates the pair.
|
|
16976
16976
|
*/
|
|
16977
|
-
static async createCustomizablePermissionlessLbPair2(connection, binStep, tokenX, tokenY, activeId, feeBps, activationType, hasAlphaVault, creatorKey,
|
|
16977
|
+
static async createCustomizablePermissionlessLbPair2(connection, binStep, tokenX, tokenY, activeId, feeBps, activationType, hasAlphaVault, creatorKey, activationPoint, creatorPoolOnOffControl, opt) {
|
|
16978
16978
|
const program = createProgram(connection, opt);
|
|
16979
16979
|
const [tokenBadgeX] = deriveTokenBadge(tokenX, program.programId);
|
|
16980
16980
|
const [tokenBadgeY] = deriveTokenBadge(tokenY, program.programId);
|
|
@@ -17009,7 +17009,7 @@ var DLMM = class {
|
|
|
17009
17009
|
activeId: activeId.toNumber(),
|
|
17010
17010
|
binStep: binStep.toNumber(),
|
|
17011
17011
|
baseFactor: baseFactor.toNumber(),
|
|
17012
|
-
functionType
|
|
17012
|
+
functionType: 0 /* LiquidityMining */,
|
|
17013
17013
|
activationType,
|
|
17014
17014
|
activationPoint: activationPoint ? activationPoint : null,
|
|
17015
17015
|
hasAlphaVault,
|
|
@@ -17062,7 +17062,7 @@ var DLMM = class {
|
|
|
17062
17062
|
* @param opt An options object.
|
|
17063
17063
|
* @returns A transaction that creates the pair.
|
|
17064
17064
|
*/
|
|
17065
|
-
static async createCustomizablePermissionlessLbPair(connection, binStep, tokenX, tokenY, activeId, feeBps, activationType, hasAlphaVault, creatorKey,
|
|
17065
|
+
static async createCustomizablePermissionlessLbPair(connection, binStep, tokenX, tokenY, activeId, feeBps, activationType, hasAlphaVault, creatorKey, activationPoint, creatorPoolOnOffControl, opt) {
|
|
17066
17066
|
const program = createProgram(connection, opt);
|
|
17067
17067
|
const [lbPair] = deriveCustomizablePermissionlessLbPair(
|
|
17068
17068
|
tokenX,
|
|
@@ -17087,7 +17087,7 @@ var DLMM = class {
|
|
|
17087
17087
|
activeId: activeId.toNumber(),
|
|
17088
17088
|
binStep: binStep.toNumber(),
|
|
17089
17089
|
baseFactor: baseFactor.toNumber(),
|
|
17090
|
-
functionType
|
|
17090
|
+
functionType: 0 /* LiquidityMining */,
|
|
17091
17091
|
activationType,
|
|
17092
17092
|
activationPoint: activationPoint ? activationPoint : null,
|
|
17093
17093
|
hasAlphaVault,
|