@magmaprotocol/magma-clmm-sdk 0.5.32 → 0.5.33
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 +0 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2973,7 +2973,6 @@ var _TransactionUtil = class {
|
|
|
2973
2973
|
// public fun increase_unlock_time<T>(self: &mut VotingEscrow<T>, lock: &mut Lock, lock_duration: u64, clock: &Clock, ctx: &mut TxContext) {
|
|
2974
2974
|
static buildIncreaseUnlockTimeTransaction(sdk, params) {
|
|
2975
2975
|
const tx = new Transaction();
|
|
2976
|
-
tx.setGasBudget(1e8);
|
|
2977
2976
|
tx.setSender(sdk.senderAddress);
|
|
2978
2977
|
const oneDay = 24 * 60 * 60;
|
|
2979
2978
|
const newLockDuration = Math.ceil((params.newLockEndAt - Date.now() / 1e3) / oneDay);
|
|
@@ -3134,7 +3133,6 @@ var _TransactionUtil = class {
|
|
|
3134
3133
|
static buildClaimAndLockRebases(sdk, params) {
|
|
3135
3134
|
const tx = new Transaction();
|
|
3136
3135
|
tx.setSender(sdk.senderAddress);
|
|
3137
|
-
tx.setGasBudget(5e8);
|
|
3138
3136
|
const { integrate } = sdk.sdkOptions;
|
|
3139
3137
|
const { voting_escrow_id, magma_token, reward_distributor_id } = getPackagerConfigs(sdk.sdkOptions.magma_config);
|
|
3140
3138
|
const typeArguments = [magma_token];
|
|
@@ -3170,7 +3168,6 @@ var _TransactionUtil = class {
|
|
|
3170
3168
|
}
|
|
3171
3169
|
static buildClaimVotingBribe(sdk, locks, incentive_tokens) {
|
|
3172
3170
|
const tx = new Transaction();
|
|
3173
|
-
tx.setGasBudget(5e8);
|
|
3174
3171
|
tx.setSender(sdk.senderAddress);
|
|
3175
3172
|
const { integrate, distribution } = sdk.sdkOptions;
|
|
3176
3173
|
const { voting_escrow_id, magma_token, voter_id } = getPackagerConfigs(sdk.sdkOptions.magma_config);
|
|
@@ -9402,7 +9399,6 @@ var GaugeModule = class {
|
|
|
9402
9399
|
const poolGauger = /* @__PURE__ */ new Map();
|
|
9403
9400
|
simulateRes.events?.forEach((item) => {
|
|
9404
9401
|
const { gauges } = item.parsedJson;
|
|
9405
|
-
console.log("parsedJson", item.parsedJson);
|
|
9406
9402
|
item.parsedJson.pools.map((pool, index) => {
|
|
9407
9403
|
poolGauger.set(pool, gauges[index]);
|
|
9408
9404
|
});
|