GLAMIDL Reference

GLAM Mint

Tokenized vault and mint lifecycle program. It initializes Token-2022 share mints, handles subscription and redemption flows, pricing/AUM validation, fee accrual/claims, token-account controls, and mint-policy updates.

Accounts owned or controlled

AccountOwner / authorityPurpose
Tokenized vault mintToken-2022 account with GLAM Mint authorityShare-token mint for tokenized vaults. It uses Token-2022 extensions for metadata, transfer hooks, and default account state where configured.
Request queue PDAGLAM MintQueue for subscription and redemption requests that cannot settle instantly.
Escrow PDAControlled by GLAM MintTemporary holding account used by queued subscription and redemption flows until fulfillment and claim.
Anchor event authorityGLAM MintProgram-derived event helper used when instructions emit Anchor events.

Integration notes

  • Tokenized vault shares use Token-2022 features such as metadata, transfer hooks, and default account state when configured.
  • Relevant official references: [Solana Token-2022 extensions](https://solana.com/docs/tokens/extensions).

Instructions

26 total
InstructionDescription
burn_tokensBurns GLAM mint/share tokens as part of redemption or manager-controlled token lifecycle.
cancelCancels an eligible queued subscription or redemption request.
claimClaims fulfilled subscription shares or redeemed assets from the mint flow.
claim_feesClaims accrued manager or protocol fees from a tokenized vault.
close_mintCloses a zero-supply GLAM mint after unlinking it from state and clearing its request queue.
crystallize_feesCalculates and crystallizes time/performance fees for a tokenized vault.
emergency_update_mintEmergency mint update path for pausing or changing sensitive mint controls.
force_transfer_tokensForces movement of share tokens using mint administrative authority.
fulfillFulfills pending subscription or redemption requests after required pricing and settlement conditions.
initialize_mintInitializes a new GLAM Token-2022 mint and, for tokenized vaults, the linked GLAM state.
mint_tokensMints GLAM share tokens under authorized mint-management flow.
price_drift_usersPrices Drift user accounts held by the vault and records their value for vault AUM.
price_drift_vault_depositorsPrices Drift vault depositor positions held by the vault and records their value for vault AUM.
price_kamino_obligationsPrices Kamino lending obligations held by the vault and records their value for vault AUM.
price_kamino_vault_sharesPrices Kamino vault share holdings and records their value for vault AUM.
price_single_asset_vaultPrices a SingleAssetVault by its base asset balance.
price_vault_tokensPrices the vault SOL balance and allowlisted token holdings.
queued_redeemQueues a redemption request for later fulfillment and claim.
queued_subscribeQueues a subscription request for later fulfillment and claim.
set_mint_policySets tokenization policy such as cap, minimums, lockup, allowlist, and blocklist.
set_protocol_feesUpdates protocol fee configuration for mint flows.
set_token_accounts_statesFreezes or thaws Token-2022 token accounts associated with the GLAM mint.
subscribePerforms an instant subscription into a tokenized vault when policy and valuation allow.
update_mintUpdates mutable mint configuration.
update_mint_apply_timelockApplies a pending timelocked mint update.
validate_aumValidates vault AUM after pricing instructions populate priced protocol records.