GLAMIDL Reference
GLAM MintProduction

mint_tokens

Mints GLAM share tokens under authorized mint-management flow.

Applies toVaultTokenized VaultSingle-Asset Vault

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.

Accounts

AccountRoleDescription
glam_statewritableGLAM state account that stores vault configuration, integration ACLs, delegate permissions, policies, assets, mint linkage, and pricing records.
glam_signersigner, writableCalling authority or fee payer.
glam_mintwritableToken mint account used or validated by this instruction.
mint_towritableToken mint account used or validated by this instruction.
recipientwritableDestination account or owner receiving newly issued share tokens.
policy_accountwritable, optionalPolicy account or policy-related account.
system_programread-onlySolana System Program.
token_2022_programread-onlyToken-2022 program account.
policies_programread-onlypolicies program account invoked or checked by this instruction.

Arguments

ArgumentTypeNotes
amountu64

Policy & permissions

  • Requires a Mint GLAM state.
  • Caller: GLAM owner, or a delegate with Mint MintTokens.
  • A recipient lockup policy is created when configured; tokens are minted to the recipient ATA.