@magmaprotocol/magma-clmm-sdk 0.5.31 → 0.5.32

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 CHANGED
@@ -3094,6 +3094,7 @@ declare class LockModule implements IModule {
3094
3094
  claimVotingRewardsPayload(params: ClaimFeesParams): Promise<Transaction>;
3095
3095
  claimVotingRewardsPoolsPayload(params: ClaimFeesPoolsParams): Promise<Transaction>;
3096
3096
  claimAndLockRebasesPayload(params: ClaimAndLockParams): Promise<Transaction>;
3097
+ burnLockTransactionPayload(lockId: string): Promise<Transaction>;
3097
3098
  pokePayload(params: PokeParams): Promise<Transaction>;
3098
3099
  addBribeReward(params: AddBribeReward): Promise<Transaction>;
3099
3100
  claimVotingBribe(locks: string[], incentive_tokens: string[]): Promise<Transaction>;
package/dist/index.js CHANGED
@@ -7501,6 +7501,12 @@ var LockModule = class {
7501
7501
  }
7502
7502
  return TransactionUtil.buildClaimAndLockRebases(this.sdk, params);
7503
7503
  }
7504
+ async burnLockTransactionPayload(lockId) {
7505
+ if (this._sdk.senderAddress.length === 0) {
7506
+ throw Error("this config sdk senderAddress is empty");
7507
+ }
7508
+ return TransactionUtil.buildBurnLockTransaction(this.sdk, lockId);
7509
+ }
7504
7510
  async pokePayload(params) {
7505
7511
  if (this._sdk.senderAddress.length === 0) {
7506
7512
  throw Error("this config sdk senderAddress is empty");