GLAMIDL Reference
GLAM ProtocolProduction

set_protocol_policy_by_integration_authority

Persists an integration protocol policy using the integration authority PDA.

Accounts

AccountRoleDescription
glam_statewritable`glam_state` account required by the `set_protocol_policy_by_integration_authority` instruction (see program source for the full constraint).
integration_programread-only`integration_program` account required by the `set_protocol_policy_by_integration_authority` instruction (see program source for the full constraint).
integration_authoritysigner`integration_authority` account required by the `set_protocol_policy_by_integration_authority` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
protocol_bitflagu16
databytes

Policy & permissions

  • integration_authority must be the PDA derived for the supplied integration_program.
  • The supplied integration program must already be enabled in the GLAM state's integration ACLs.
  • On mainnet, the integration program must also be in GLAM's integration-program allowlist.
  • The instruction writes policy data directly through the integration authority path; owner/delegate signer authority is not used.