GLAMIDL Reference

close

Closes the global GLAM configuration account.

Handler narrative

  1. Load the GLAM state or program account required by the instruction and verify the signer.
  2. 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

AccountRoleDescription
global_configwritableInstruction-specific account supplied by the caller or SDK.
adminsigner, writableInstruction-specific account supplied by the caller or SDK.
system_programread-onlyStandard 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.