GLAMIDL Reference

force_transfer_tokens

Forces movement of share tokens using mint administrative authority.

Required conditions

  • Mint actions must satisfy the linked GLAM state, Token-2022 mint configuration, mint policy, and any request queue or escrow state involved in the flow.
  • Asset, amount, and destination restrictions must satisfy the configured transfer or destination policy when that policy is present.

Accounts

AccountRoleDescription
glam_statewritableState account owned by the GLAM Protocol program; it records vault configuration, policies, and pricing records.
glam_signersigner, writableCalling authority. It must be the owner or a delegate with the explicit permission required by this instruction.
glam_mintwritableToken-2022 mint associated with the GLAM mint or tokenized vault.
from_token_accountwritableToken account read or written by the instruction.
to_atawritableToken account read or written by the instruction.
fromread-onlyToken account read or written by the instruction.
toread-onlyToken account read or written by the instruction.
to_policy_accountwritable, optionalInstruction-specific account supplied by the caller or SDK.
system_programread-onlyStandard Solana program account required by the instruction.
token_2022_programread-onlyStandard Solana program account required by the instruction.
policies_programread-onlyGLAM Policies program account used for Token-2022 transfer-hook behavior.

Arguments

ArgumentTypeNotes
amountu64Amount of share tokens moved by mint administrative authority, in the mint's smallest unit.

Policy & permissions

  • Destination and asset restrictions must satisfy the configured transfer or destination policy when one is set.