GLAM ProtocolProduction
set_protocol_policy_by_integration_authority
Persists an integration protocol policy using the integration authority PDA.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | writable | `glam_state` account required by the `set_protocol_policy_by_integration_authority` instruction (see program source for the full constraint). |
| integration_program | read-only | `integration_program` account required by the `set_protocol_policy_by_integration_authority` instruction (see program source for the full constraint). |
| integration_authority | signer | `integration_authority` account required by the `set_protocol_policy_by_integration_authority` instruction (see program source for the full constraint). |
Arguments
| Argument | Type | Notes |
|---|---|---|
| protocol_bitflag | u16 | |
| data | bytes |
Policy & permissions
integration_authoritymust be the PDA derived for the suppliedintegration_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.