GLAMIDL Reference

stake_split

Performs native stake-program action `stake_split` 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.
split_stakewritableStake, stake-pool, or staking-related account.

Arguments

ArgumentTypeNotes
lamportsu64

Policy & permissions

  • Enable native Stake Program access on GLAM Protocol staging builds.
  • Delegate permission: Stake Program Stake/Unstake depending split flow.