GLAMIDL Reference

stake_authorize

Performs native stake-program action `stake_authorize` for a GLAM vault.

Accounts

AccountRoleDescription
glam_statewritableGLAM state account that stores vault configuration, integration ACLs, delegate permissions, policies, assets, mint linkage, and pricing records.
glam_vaultwritableVault PDA associated with the GLAM state and used as the vault authority.
glam_signersigner, writableCalling authority or fee payer.
cpi_programread-onlyDownstream program invoked by this instruction.
stakewritableStake, stake-pool, or staking-related account.
clockread-onlySolana sysvar account.

Arguments

ArgumentTypeNotes
new_authoritypubkey
staker_or_withdraweru32

Policy & permissions

  • Enable native Stake Program access on GLAM Protocol staging builds.
  • Delegate permission: Stake Program Stake or owner-level stake authority management.