Phoenix Integration StagingStaging
set_phoenix_policy
Sets the GLAM Phoenix policy (market allowlist, order types, and price-deviation limits) on the vault state.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | writable | `glam_state` account required by the `set_phoenix_policy` instruction (see program source for the full constraint). |
| glam_signer | signer, writable | `glam_signer` account required by the `set_phoenix_policy` instruction (see program source for the full constraint). |
| glam_protocol_program | read-only | `glam_protocol_program` account required by the `set_phoenix_policy` instruction (see program source for the full constraint). |
Arguments
| Argument | Type | Notes |
|---|---|---|
| policy | PhoenixPolicy |
Policy & permissions
- Only the GLAM owner can call. Persistence is gated through GLAM Protocol's owner-only protocol-policy persistence path; delegates cannot complete the policy change on their own.
- For non-empty policy data, the target protocol must already be enabled in
integration_acls. - State timelock applies when active.