GLAMIDL Reference

set_ntbundle_policy

Sets the NT bundle allowlist policy.

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `set_ntbundle_policy` instruction (see program source for the full constraint).
glam_signersigner, writable`glam_signer` account required by the `set_ntbundle_policy` instruction (see program source for the full constraint).
glam_protocol_programread-only`glam_protocol_program` account required by the `set_ntbundle_policy` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
policyNtBundlePolicy

Policy & permissions

  • Only requires glam_state, glam_signer, and glam_protocol_program; does not use the Big Seven account pattern.
  • Rejects policies with too many bundles, default bundle pubkeys, or duplicate bundles before persistence.
  • Persistence runs through GLAM Protocol's owner-only protocol-policy persistence path.