GLAM ConfigProduction
update_referrer
Updates protocol referrer configuration.
Handler narrative
- Load the GLAM state or program account required by the instruction and verify the signer.
- Verify global config authority, then create, update, or remove protocol-wide fee/referrer/asset metadata.
Required conditions
- The submitted accounts must match the declared account list, signer requirements, writable requirements, fixed program addresses, and account relationships shown below.
- Configuration changes must pass owner or authorized-manager checks and, when the state or mint timelock is active, must follow the propose/apply timing model instead of taking effect immediately.
Accounts
| Account | Role | Description |
|---|---|---|
| global_config | writable | Program-derived account used by this instruction; clients should prefer SDK helpers when available. |
| fee_authority | signer | Instruction-specific account supplied by the caller or SDK. |
Arguments
| Argument | Type | Notes |
|---|---|---|
| referrer | pubkey | Replacement protocol referrer account. |
Policy & permissions
- No external integration enablement is required beyond the program-level functionality involved in this instruction.
- Only the owner is expected. Delegates do not receive this capability by being added; it must be granted explicitly if supported.
Cross-instruction constraints
- No additional cross-instruction constraint is documented beyond account initialization, authority checks, and policy validation.