GLAMIDL Reference

deposit_user_vault

Deposits user vault.

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
glam_vaultwritable`glam_vault` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
glam_signersigner, writable`glam_signer` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
integration_authorityread-only`integration_authority` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
cpi_programread-only`cpi_program` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
glam_protocol_programread-only`glam_protocol_program` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
system_programread-only`system_program` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
bs_authsigner`bs_auth` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
vaultwritable`vault` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
strategywritable`strategy` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
market_informationread-only`market_information` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
lp_mintwritable`lp_mint` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
user_lp_tawritable`user_lp_ta` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
user_principal_tawritable`user_principal_ta` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
strategy_principal_tawritable`strategy_principal_ta` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
principal_mintread-only`principal_mint` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
principal_token_programread-only`principal_token_program` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
token_2022_programread-only`token_2022_program` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
associated_token_programread-only`associated_token_program` account required by the `deposit_user_vault` instruction (see program source for the full constraint).
event_authorityread-only`event_authority` account required by the `deposit_user_vault` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
paramsLpParams

Policy & permissions

  • Loopscale integration must be enabled.
  • Caller: GLAM owner, or a delegate with Loopscale DepositUserVault.
  • The strategy must be allowed by the Loopscale deposit policy. The market is not gated for this path.