@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.js
CHANGED
|
@@ -3178,7 +3178,6 @@ var _TransactionUtil = class {
|
|
|
3178
3178
|
// public fun increase_unlock_time<T>(self: &mut VotingEscrow<T>, lock: &mut Lock, lock_duration: u64, clock: &Clock, ctx: &mut TxContext) {
|
|
3179
3179
|
static buildIncreaseUnlockTimeTransaction(sdk, params) {
|
|
3180
3180
|
const tx = new import_transactions.Transaction();
|
|
3181
|
-
tx.setGasBudget(1e8);
|
|
3182
3181
|
tx.setSender(sdk.senderAddress);
|
|
3183
3182
|
const oneDay = 24 * 60 * 60;
|
|
3184
3183
|
const newLockDuration = Math.ceil((params.newLockEndAt - Date.now() / 1e3) / oneDay);
|
|
@@ -3339,7 +3338,6 @@ var _TransactionUtil = class {
|
|
|
3339
3338
|
static buildClaimAndLockRebases(sdk, params) {
|
|
3340
3339
|
const tx = new import_transactions.Transaction();
|
|
3341
3340
|
tx.setSender(sdk.senderAddress);
|
|
3342
|
-
tx.setGasBudget(5e8);
|
|
3343
3341
|
const { integrate } = sdk.sdkOptions;
|
|
3344
3342
|
const { voting_escrow_id, magma_token, reward_distributor_id } = getPackagerConfigs(sdk.sdkOptions.magma_config);
|
|
3345
3343
|
const typeArguments = [magma_token];
|
|
@@ -3375,7 +3373,6 @@ var _TransactionUtil = class {
|
|
|
3375
3373
|
}
|
|
3376
3374
|
static buildClaimVotingBribe(sdk, locks, incentive_tokens) {
|
|
3377
3375
|
const tx = new import_transactions.Transaction();
|
|
3378
|
-
tx.setGasBudget(5e8);
|
|
3379
3376
|
tx.setSender(sdk.senderAddress);
|
|
3380
3377
|
const { integrate, distribution } = sdk.sdkOptions;
|
|
3381
3378
|
const { voting_escrow_id, magma_token, voter_id } = getPackagerConfigs(sdk.sdkOptions.magma_config);
|
|
@@ -9605,7 +9602,6 @@ var GaugeModule = class {
|
|
|
9605
9602
|
const poolGauger = /* @__PURE__ */ new Map();
|
|
9606
9603
|
simulateRes.events?.forEach((item) => {
|
|
9607
9604
|
const { gauges } = item.parsedJson;
|
|
9608
|
-
console.log("parsedJson", item.parsedJson);
|
|
9609
9605
|
item.parsedJson.pools.map((pool, index) => {
|
|
9610
9606
|
poolGauger.set(pool, gauges[index]);
|
|
9611
9607
|
});
|