Expand description

Program instructions and their CPI-compatible bindings

Modules

  • Activate a stake pool
  • Freeze and unfreeze a program account This admin instruction can be dangereous 💀
  • Allows central state authority to mint ACCESS tokens
  • 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 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 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 central state
  • Create stake account
  • Create stake pool
  • Edit metadata
  • 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
  • Unstake

Enums

Functions