Bridge Integration StagingStaging
update_layerzero_oft_route
Update Layerzero Oft Route configuration action.
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. |
| glam_protocol_program | read-only | GLAM Protocol program account used for authorization or CPI. |
Arguments
| Argument | Type | Notes |
|---|---|---|
| route | LayerzeroOftRoute |
Policy & permissions
- Owner-only.
- Loads the OFT policy, replaces the matching route, validates the route set, and persists through core policy storage; state timelock applies when active.
TypeScript SDK usage
await glamClient.bridge.updateLayerzeroOftRoute(route);