@magmaprotocol/magma-clmm-sdk 0.5.10 → 0.5.11

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
@@ -3031,6 +3031,7 @@ type ALockSummary = {
3031
3031
  voting_power: string;
3032
3032
  };
3033
3033
  type AddBribeReward = {
3034
+ poolId: string;
3034
3035
  amount: string;
3035
3036
  coinType: string;
3036
3037
  };
package/dist/index.js CHANGED
@@ -7462,7 +7462,7 @@ var LockModule = class {
7462
7462
  const typeArguments = [magma_token, params.coinType];
7463
7463
  const allCoinAsset = await this._sdk.getOwnerCoinAssets(this._sdk.senderAddress);
7464
7464
  const coinInput = TransactionUtil.buildCoinForAmount(tx, allCoinAsset, BigInt(params.amount), params.coinType, false, true);
7465
- const args = [tx.object(voter_id), coinInput.targetCoin, tx.object(CLOCK_ADDRESS)];
7465
+ const args = [tx.object(voter_id), tx.object(params.poolId), coinInput.targetCoin, tx.object(CLOCK_ADDRESS)];
7466
7466
  tx.moveCall({
7467
7467
  target: `${integrate.published_at}::${Voter}::add_bribe_reward`,
7468
7468
  typeArguments,