GLAMIDL Reference

deposit_stake_account

Deposits stake account.

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
glam_vaultwritable`glam_vault` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
glam_signersigner, writable`glam_signer` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
integration_authorityread-only`integration_authority` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
cpi_programread-only`cpi_program` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
glam_protocol_programread-only`glam_protocol_program` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
system_programread-only`system_program` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
statewritable`state` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
validator_listwritable`validator_list` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
stake_listwritable`stake_list` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
stake_accountwritable`stake_account` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
duplication_flagwritable`duplication_flag` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
msol_mintwritable`msol_mint` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
mint_towritable`mint_to` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
msol_mint_authorityread-only`msol_mint_authority` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
clockread-only`clock` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
rentread-only`rent` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
token_programread-only`token_program` account required by the `deposit_stake_account` instruction (see program source for the full constraint).
stake_programread-only`stake_program` account required by the `deposit_stake_account` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
validator_indexu32

Policy & permissions

  • Marinade integration must be enabled.
  • Signer must be the GLAM owner or a delegate holding Marinade Stake before depositing a stake account into Marinade.