GLAMIDL Reference

liquid_unstake

Liquid unstake.

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `liquid_unstake` instruction (see program source for the full constraint).
glam_vaultwritable`glam_vault` account required by the `liquid_unstake` instruction (see program source for the full constraint).
glam_signersigner, writable`glam_signer` account required by the `liquid_unstake` instruction (see program source for the full constraint).
integration_authorityread-only`integration_authority` account required by the `liquid_unstake` instruction (see program source for the full constraint).
cpi_programread-only`cpi_program` account required by the `liquid_unstake` instruction (see program source for the full constraint).
glam_protocol_programread-only`glam_protocol_program` account required by the `liquid_unstake` instruction (see program source for the full constraint).
system_programread-only`system_program` account required by the `liquid_unstake` instruction (see program source for the full constraint).
statewritable`state` account required by the `liquid_unstake` instruction (see program source for the full constraint).
msol_mintwritable`msol_mint` account required by the `liquid_unstake` instruction (see program source for the full constraint).
liq_pool_sol_leg_pdawritable`liq_pool_sol_leg_pda` account required by the `liquid_unstake` instruction (see program source for the full constraint).
liq_pool_msol_legwritable`liq_pool_msol_leg` account required by the `liquid_unstake` instruction (see program source for the full constraint).
treasury_msol_accountwritable`treasury_msol_account` account required by the `liquid_unstake` instruction (see program source for the full constraint).
get_msol_fromwritable`get_msol_from` account required by the `liquid_unstake` instruction (see program source for the full constraint).
token_programread-only`token_program` account required by the `liquid_unstake` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
msol_amountu64

Policy & permissions

  • Marinade integration must be enabled.
  • Signer must be the GLAM owner or a delegate holding Marinade Unstake before liquid unstaking mSOL.