GLAMIDL Reference
GLAM ConfigProduction

initialize

Initializes the global GLAM configuration account.

Required conditions

  • Creation-style flows require the target account or PDA to be uninitialized or intentionally updatable, the fee payer to be writable, and the System Program to be present when rent or allocation is needed.

Accounts

AccountRoleDescription
global_configwritableGlobal Config PDA storing protocol-wide admin authority, fee settings, referrers, and asset/oracle metadata.
payersigner, writableFee payer funding rent or account allocation for this instruction.
system_programread-onlySolana System Program.

Arguments

ArgumentTypeNotes
adminpubkey
fee_authoritypubkey
referrerpubkey
base_fee_bpsu16
flow_fee_bpsu16

Policy & permissions

  • No GLAM state involvement. payer plus the supplied admin, fee_authority, referrer, and fee values establish the global config PDA.