Skip to content

[sync]: Release 0.2.2 - #105

Merged
dannxbt merged 3 commits into
mainfrom
sync/release_0.2.2
Jun 25, 2026
Merged

[sync]: Release 0.2.2#105
dannxbt merged 3 commits into
mainfrom
sync/release_0.2.2

Conversation

@dannxbt

@dannxbt dannxbt commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Changelog

Added

  • Added updateDelegatePermission endpoint to grant or revoke delegate permissions on a position. It SPL-approves the delegate on the position NFT account and sets the on-chain delegate permission bitmask in a single transaction.
  • Added withdrawDeadLiquidityReward endpoint to withdraw the reward share attributable to a compounding pool's permanent dead liquidity. Only valid for CollectFeeMode.Compounding pools.
  • Added PositionDelegatePermission enum and encodeDelegatePermissions helper to build the delegate permission bitmask.
  • Added UpdateDelegatePermissionParams and WithdrawDeadLiquidityRewardParams types.

Changed

  • Bumped the IDL and program fixture: the signer account on position instructions (addLiquidity, removeLiquidity, removeAllLiquidity, claimPositionFee, claimReward, lockPosition, lockInnerPosition and permanentLockPosition) was renamed from owner to signer so a delegate can sign. SDK parameter interfaces are unchanged.

Pre-release version: @meteora-ag/cp-amm-sdk@1.4.3-rc.0

Comment thread src/CpAmm.ts Outdated
Comment thread tests/deadLiquidityReward.test.ts Outdated
@dannxbt
dannxbt merged commit 8ecb5ea into main Jun 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants