GLAMIDL Reference

GLAM Mint Staging

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. This staging deployment exposes additional or pre-release functionality for review.

Accounts owned or controlled

AccountOwner / authorityPurpose
Tokenized vault mintToken-2022 account with GLAM Mint Staging authorityShare-token mint for tokenized vaults. It uses Token-2022 extensions for metadata, transfer hooks, and default account state where configured.
Request queue PDAGLAM Mint StagingQueue for subscription and redemption requests that cannot settle instantly.
Escrow PDAControlled by GLAM Mint StagingTemporary holding account used by queued subscription and redemption flows until fulfillment and claim.
Token ACL gate accountsGLAM Mint StagingOptional allowlist-style token account controls used by staging ACL gate instructions.
Anchor event authorityGLAM Mint StagingProgram-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

39 total
InstructionDescription
acl_gate_add_walletManages token ACL gate data for `add wallet`.
acl_gate_create_listManages token ACL gate data for `create list`.
acl_gate_delete_listManages token ACL gate data for `delete list`.
acl_gate_remove_walletManages token ACL gate data for `remove wallet`.
acl_gate_setup_extra_metasManages token ACL gate data for `setup extra metas`.
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.
enable_token_aclEnable Token Acl instruction.
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_bridge_managed_transfersPrices bridge-managed inflight transfers and records their value for vault AUM.
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_external_positionsPrices configured external positions from the EPI observation state 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_loopscale_loansPrices Loopscale loan positions held by the vault and records their value for vault AUM.
price_neutral_bundle_depositorsPrices Neutral bundle depositor positions held by the vault and records their value for vault AUM.
price_single_asset_vaultPrices a SingleAssetVault by its base asset balance.
price_stake_accountsPrices native stake accounts tracked by the vault and records their value for vault AUM.
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.
token_acl_freezeApplies token ACL `freeze` behavior to a mint token account.
token_acl_thawApplies token ACL `thaw` behavior to a mint token account.
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.