close
Closes the global GLAM configuration account.
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.
Accounts
| Account | Role | Description |
|---|---|---|
| global_config | writable | Instruction-specific account supplied by the caller or SDK. |
| admin | signer, writable | Instruction-specific account supplied by the caller or SDK. |
| system_program | read-only | Standard Solana program account required by the instruction. |
Arguments
No arguments.
Policy & permissions
- No external integration enablement is required beyond the program-level functionality involved in this instruction.
- Caller must be the owner or a delegate with the explicit protocol permission required by this instruction.
Cross-instruction constraints
- No additional cross-instruction constraint is documented beyond account initialization, authority checks, and policy validation.