GLAMIDL Reference

set_protocol_fees

Updates protocol fee configuration for mint flows.

Applies toVaultTokenized VaultSingle-Asset Vault

Accounts

AccountRoleDescription
glam_statewritableGLAM state account that stores vault configuration, integration ACLs, delegate permissions, policies, assets, mint linkage, and pricing records.
glam_mintread-onlyToken mint account used or validated by this instruction.
signersigner, writableCalling authority or fee payer.
glam_configread-onlyGlobal GLAM configuration account for fee and asset/oracle metadata.
glam_protocol_programread-onlyGLAM Protocol program account used for authorization or CPI.

Arguments

ArgumentTypeNotes
base_fee_bpsu16
flow_fee_bpsu16

Policy & permissions

  • Signer must be the global glam_config fee_authority on mainnet and staging.
  • Protocol fees must have been crystallized at the current timestamp before this update is accepted.

TypeScript SDK usage

await glamClient.fees.setProtocolFees(
  1,
  2000,
);