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
| Account | Role | Description |
|---|---|---|
| global_config | writable | Global Config PDA storing protocol-wide admin authority, fee settings, referrers, and asset/oracle metadata. |
| payer | signer, writable | Fee payer funding rent or account allocation for this instruction. |
| system_program | read-only | Solana System Program. |
Arguments
| Argument | Type | Notes |
|---|---|---|
| admin | pubkey | |
| fee_authority | pubkey | |
| referrer | pubkey | |
| base_fee_bps | u16 | |
| flow_fee_bps | u16 |
Policy & permissions
- No GLAM state involvement.
payerplus the suppliedadmin,fee_authority,referrer, and fee values establish the global config PDA.