GLAMIDL Reference

stake_user_vault_lp

Stakes user vault lp.

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
glam_vaultwritable`glam_vault` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
glam_signersigner, writable`glam_signer` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
integration_authorityread-only`integration_authority` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
cpi_programread-only`cpi_program` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
glam_protocol_programread-only`glam_protocol_program` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
system_programread-only`system_program` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
bs_authsigner`bs_auth` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
noncesigner`nonce` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
vaultwritable`vault` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
vault_stakewritable`vault_stake` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
lp_mintread-only`lp_mint` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
user_lp_tawritable`user_lp_ta` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
vault_stake_lp_tawritable`vault_stake_lp_ta` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
vault_rewards_infowritable`vault_rewards_info` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
user_rewards_infowritable`user_rewards_info` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
token_programread-only`token_program` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
associated_token_programread-only`associated_token_program` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).
event_authorityread-only`event_authority` account required by the `stake_user_vault_lp` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
paramsVaultStakeParams

Policy & permissions

  • Loopscale integration must be enabled.
  • Signer must be the GLAM owner or a delegate holding Loopscale StakeUserVaultLp before forwarding the CPI.