GLAMIDL Reference

claim_vault_rewards

Claims vault rewards.

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
glam_vaultwritable`glam_vault` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
glam_signersigner, writable`glam_signer` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
integration_authorityread-only`integration_authority` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
cpi_programread-only`cpi_program` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
glam_protocol_programread-only`glam_protocol_program` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
system_programread-only`system_program` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
bs_authsigner`bs_auth` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
vaultread-only`vault` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
vault_rewards_infowritable`vault_rewards_info` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
user_rewards_infowritable`user_rewards_info` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
stake_accountwritable`stake_account` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
associated_token_programread-only`associated_token_program` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).
event_authorityread-only`event_authority` account required by the `claim_vault_rewards` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
mintsvec<pubkey>

Policy & permissions

  • Loopscale integration must be enabled.
  • Signer must be the GLAM owner or a delegate holding Loopscale ClaimVaultRewards.
  • Claims rewards through the Loopscale vault CPI.