Module access_protocol::instruction
source · Expand description
Program instructions and their CPI-compatible bindings
Modules§
- Activate a stake pool
- Add more tokens to an existing Bond V2
- Change freeze authority
- Freeze and unfreeze a program account This admin instruction can be dangereous 💀
- Allows central state authority to mint ACCESS tokens
- Admin program freeze instruction.
- Admin renounce functionality
- Admin set protocol fee
- Setup fee split
- Change central state authority
- Change central state inflation
- Change the minimum stakeable amount of a pool This instruction allows a pool owner to adjust the price of its subscription for new joiners without impacting people who already subscribed
- Claim bond This instruction allows a buyer to claim a bond once it has been signed by enough DAO members.
- Claim bond rewards This Instruction allows bond owners to claim their staking rewards
- Claim rewards of a bond V2 from the Access NFT Program
- Claim rewards of a stake pool This instruction is used by stake pool owner for claiming their staking rewards
- Claim rewards of a stake account This instruction can be used by stakers to claim their staking rewards
- Close a royalty account This instruction can be used to close a royalty account. The laports will be sent to the original fee payer
- Close a stake account This instruction can be used to close an empty stake account and collect the lamports
- Close a stake pool This instruction can be used to close an empty stake pool and collect the lamports
- Permissionless crank to update the stake pool rewards This instructions updates the circular buffer with the pool balances multiplied by the current inflation
- Create a bond This instruction can be used by authorized sellers to create a bond
- Create a Bond V2
- Create central state
- Create royalty account
- Create stake account
- Create stake pool
- Distribute fees to the recipients
- Edit metadata
- Migrate the central state to the v2 format
- Sign a bond This instruction is used by authorized sellers to approve the creation of a bond
- Stake
- Unlock ACCESS tokens bought through a bond account When tokens are unlocked they are withdrawn from the pool and are not considered staked anymore
- Unlock bond v2
- Unstake