@magmaprotocol/magma-clmm-sdk 0.5.41 → 0.5.42
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 +0 -1
- package/dist/index.js +6 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -20
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3493,7 +3493,6 @@ declare class GaugeModule implements IModule {
|
|
|
3493
3493
|
getEmissions(): Promise<EpochEmission>;
|
|
3494
3494
|
getRewardByPosition(params: GetRewardByPosition): Promise<Transaction>;
|
|
3495
3495
|
getAllRewardByPositions(paramsList: GetRewardByPosition[]): Promise<Transaction>;
|
|
3496
|
-
testTeacherCap(): Promise<Transaction>;
|
|
3497
3496
|
getEpochRewardByPool(pool: string, incentive_tokens: string[]): Promise<Map<string, string>>;
|
|
3498
3497
|
}
|
|
3499
3498
|
|
package/dist/index.js
CHANGED
|
@@ -10672,20 +10672,6 @@ var GaugeModule = class {
|
|
|
10672
10672
|
});
|
|
10673
10673
|
return tx;
|
|
10674
10674
|
}
|
|
10675
|
-
async testTeacherCap() {
|
|
10676
|
-
const tx = new import_transactions11.Transaction();
|
|
10677
|
-
tx.moveCall({
|
|
10678
|
-
target: `0xd1bf0385f6d298d3b6f140869c28700e85709d570984200cd82c8164401c5e49::hello_world::call_func1`,
|
|
10679
|
-
arguments: [tx.object("0xe1af009a9212aa4bf936ff51794d39e8a75dfbd8e65e3265d3a8e93b4c9256bf")],
|
|
10680
|
-
typeArguments: []
|
|
10681
|
-
});
|
|
10682
|
-
tx.moveCall({
|
|
10683
|
-
target: `0xd1bf0385f6d298d3b6f140869c28700e85709d570984200cd82c8164401c5e49::hello_world::call_func2`,
|
|
10684
|
-
arguments: [tx.object("0xe1af009a9212aa4bf936ff51794d39e8a75dfbd8e65e3265d3a8e93b4c9256bf")],
|
|
10685
|
-
typeArguments: []
|
|
10686
|
-
});
|
|
10687
|
-
return tx;
|
|
10688
|
-
}
|
|
10689
10675
|
async getEpochRewardByPool(pool, incentive_tokens) {
|
|
10690
10676
|
const tx = new import_transactions11.Transaction();
|
|
10691
10677
|
const { integrate, simulationAccount } = this.sdk.sdkOptions;
|
|
@@ -11556,7 +11542,7 @@ var SDKConfig = {
|
|
|
11556
11542
|
clmmConfig: {
|
|
11557
11543
|
pools_id: "0xfa145b9de10fe858be81edd1c6cdffcf27be9d016de02a1345eb1009a68ba8b2",
|
|
11558
11544
|
// clmm and dlmm both use this global_config
|
|
11559
|
-
global_config_id: "
|
|
11545
|
+
global_config_id: "0x4c4e1402401f72c7d8533d0ed8d5f8949da363c7a3319ccef261ffe153d32f8a",
|
|
11560
11546
|
global_vault_id: "0xa7e1102f222b6eb81ccc8a126e7feb2353342be9df6f6646a77c4519da29c071",
|
|
11561
11547
|
admin_cap_id: "0x89c1a321291d15ddae5a086c9abc533dff697fde3d89e0ca836c41af73e36a75"
|
|
11562
11548
|
},
|
|
@@ -11577,7 +11563,7 @@ var SDKConfig = {
|
|
|
11577
11563
|
minter_id: "0x4fa5766cd83b33b215b139fec27ac344040f3bbd84fcbee7b61fc671aadc51fa"
|
|
11578
11564
|
},
|
|
11579
11565
|
dlmmConfig: {
|
|
11580
|
-
factory: "
|
|
11566
|
+
factory: ""
|
|
11581
11567
|
},
|
|
11582
11568
|
gaugeConfig: {}
|
|
11583
11569
|
};
|
|
@@ -11597,8 +11583,8 @@ var clmmMainnet = {
|
|
|
11597
11583
|
config: SDKConfig.clmmConfig
|
|
11598
11584
|
},
|
|
11599
11585
|
dlmm_pool: {
|
|
11600
|
-
package_id: "
|
|
11601
|
-
published_at: "
|
|
11586
|
+
package_id: "",
|
|
11587
|
+
published_at: "",
|
|
11602
11588
|
config: SDKConfig.dlmmConfig
|
|
11603
11589
|
},
|
|
11604
11590
|
distribution: {
|
|
@@ -11606,8 +11592,8 @@ var clmmMainnet = {
|
|
|
11606
11592
|
published_at: "0xee4a1f231dc45a303389998fe26c4e39278cf68b404b32e4f0b9769129b8267b"
|
|
11607
11593
|
},
|
|
11608
11594
|
integrate: {
|
|
11609
|
-
package_id: "
|
|
11610
|
-
published_at: "
|
|
11595
|
+
package_id: "0x2e704d8afc1d6d7f154dee337cc14c153f6f9ce1708213e5dc04a32afe0e45f1",
|
|
11596
|
+
published_at: "0x2e704d8afc1d6d7f154dee337cc14c153f6f9ce1708213e5dc04a32afe0e45f1"
|
|
11611
11597
|
},
|
|
11612
11598
|
deepbook: {
|
|
11613
11599
|
package_id: "0x000000000000000000000000000000000000000000000000000000000000dee9",
|