GLAM ProtocolProduction
set_protocol_policy
Sets raw policy bytes for an enabled integration protocol on the GLAM state.
Required conditions
- Configuration changes must pass owner or authorized-manager checks and, when the state or mint timelock is active, must follow the propose/apply timing model instead of taking effect immediately.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | writable | GLAM state account that stores vault configuration, integration ACLs, delegate permissions, policies, assets, mint linkage, and pricing records. |
| glam_signer | signer, writable | Calling authority or fee payer. |
Arguments
| Argument | Type | Notes |
|---|---|---|
| integration_program | pubkey | |
| protocol_bitflag | u16 | |
| data | bytes |
Policy & permissions
- Only the GLAM owner can call.
- Non-empty policy data requires the target integration program and protocol bit to already be enabled in
integration_acls. Empty data only deletes or no-ops.