GLAM ProtocolProduction
set_jupiter_swap_policy
Sets Jupiter swap policy including slippage and allowlist guardrails.
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 |
|---|---|---|
| policy | JupiterSwapPolicy |
Policy & permissions
- Only the GLAM owner can call. Non-empty policy data requires the native GLAM Protocol
JupiterSwapbit to already be enabled inintegration_acls. - Empty policy data clears the existing policy.