GLAM Policies (Transfer Hook)Production
execute
Executes the GLAM Policies Token-2022 transfer-hook validation path.
Accounts
| Account | Role | Description |
|---|---|---|
| src_account | read-only | Source token account being evaluated by the Token-2022 transfer hook. |
| mint | read-only | Token mint account used or validated by this instruction. |
| dst_account | read-only | Destination token account being evaluated by the Token-2022 transfer hook. |
| src_account_authority | read-only | Authority for the source token account in Token-2022 transfer-hook validation. |
| extra_metas_account | read-only | extra metas account account read by GLAM Policies (Transfer Hook)'s execute instruction. |
| src_policy_account | read-only | Policy account or policy-related account. |
| dst_policy_account | read-only | Policy account or policy-related account. |
Arguments
| Argument | Type | Notes |
|---|---|---|
| _amount | u64 |
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.