GLAMIDL Reference

execute

Executes the GLAM Policies Token-2022 transfer-hook validation path.

Accounts

AccountRoleDescription
src_accountread-onlySource token account being evaluated by the Token-2022 transfer hook.
mintread-onlyToken mint account used or validated by this instruction.
dst_accountread-onlyDestination token account being evaluated by the Token-2022 transfer hook.
src_account_authorityread-onlyAuthority for the source token account in Token-2022 transfer-hook validation.
extra_metas_accountread-onlyextra metas account account read by GLAM Policies (Transfer Hook)'s execute instruction.
src_policy_accountread-onlyPolicy account or policy-related account.
dst_policy_accountread-onlyPolicy account or policy-related account.

Arguments

ArgumentTypeNotes
_amountu64

Policy & permissions

  • Token-2022 transfer-hook callback. Source and destination accounts must be in transferring state; the source policy PDA is validated; unexpired source lockups are rejected.
  • There is no GLAM owner/delegate signer.