GLAMIDL Reference

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

AccountRoleDescription
glam_statewritableGLAM state account that stores vault configuration, integration ACLs, delegate permissions, policies, assets, mint linkage, and pricing records.
glam_signersigner, writableCalling authority or fee payer.
glam_protocol_programread-onlyGLAM Protocol program account used for authorization or CPI.

Arguments

ArgumentTypeNotes
routeLayerzeroOftRoute

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);