GLAMIDL Reference

set_vault_policy

Set the Loopscale vault policy (vault allowlist).

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `set_vault_policy` instruction (see program source for the full constraint).
glam_signersigner, writable`glam_signer` account required by the `set_vault_policy` instruction (see program source for the full constraint).
glam_protocol_programread-only`glam_protocol_program` account required by the `set_vault_policy` instruction (see program source for the full constraint).
integration_programread-only`integration_program` account required by the `set_vault_policy` instruction (see program source for the full constraint).
integration_authorityread-only`integration_authority` account required by the `set_vault_policy` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
policyVaultPolicy

Policy & permissions

  • Permission: VaultPermissions::SetPolicy.