Changelog for Program
❗️NOTE: This update contains BREAKING CHANGES
lb_clmm [0.11.0]
Added
- New endpoint
zap_protocol_fee that allow operator to claim protocol fees and zap out to SOL/USDC or other token in pool and send to treasury address
- Add new endpoints
reset_pool_tombstone_fields, reset_bin_array_tombstone_fields and reset_position_tombstone_fields that allow admin to reset tombstone fields to default value
- Endpoint
initialize_customizable_permissionless_lb_pair and initialize_customizable_permissionless_lb_pair2 requires a new field function_type
- Add new endpoint
create_operator_account and close_operator_account that allows admin to manage different operator accounts
- Add new account
Operator, that would stores signer address as well as their operational permissions
- Update treasury address to new address
6aYhxiNGmG8AyU25rh2R7iFu4pBrqnQHpNUGhmsEXRcm
Changed
- Remove constraints for quote tokens (SOL/USDC), affected endpoints:
initialize_customizable_permissionless_lb_pair and initialize_customizable_permissionless_lb_pair2
- Remove launch pool admins for simplicity, all launch pool admin operations will be authorized by a single admin list.
- Allow Admin to migrate position v1 to position v2 for user in endpoint
migrate_position
- Endpoint
close_position doesn't check lp_pair and bin_array_lower and bin_array_upper anymore
- Change all rent account to UncheckedAccount, so we could save 1 account in instructions
Removed
- Remove endpoints
create_claim_protocol_fee_operator and close_claim_protocol_fee_operator (changed to endpoint close_claim_fee_operator_account)
Fixed
- Change min/max ID bound for lbPair