All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Note: Version 0 of Semantic Versioning is handled differently from version 1 and above. The minor version will be incremented upon a breaking change and the patch version will be incremented for features.
- Added
flash_account
account toAddLiquidity
andRemoveLiquidity
- Removed
payer
account fromUnstake
andUnstakeWSol
instructions, rent for stake_account_record_account is now paid frompool_sol_reserves
SetLpTokenMetadata
instruction forpool_authority
to set metaplex token metadata for LP token- flash loan feature:
SetFlashLoanFee
,TakeFlashLoan
,RepayFlashLoan
UnstakeWsol
instruction to unstake directly to a wrapped SOL account- protocol fees and referral bonuses determined by the
ProtocolFee
account InitProtocolFee
instruction to initialize global protocol fee to a defaultSetProtocolFee
instruction to modify protocol fee
- BREAKING: unstake instructions (Unstake, UnstakeWsol) now require the protocol fee account and protocol fee destination account to be passed in
- unstake instructions now accept an optional referral account in
remaining_accounts
to receive referral bonuses