GLAMIDL Reference

upsert_registered_position_wormhole_config

Creates or updates Wormhole verification config for a Wormhole-sourced registered position.

Accounts

AccountRoleDescription
glam_stateread-only`glam_state` account required by the `upsert_registered_position_wormhole_config` instruction (see program source for the full constraint).
glam_signersigner, writable`glam_signer` account required by the `upsert_registered_position_wormhole_config` instruction (see program source for the full constraint).
wormhole_configwritable`wormhole_config` account required by the `upsert_registered_position_wormhole_config` instruction (see program source for the full constraint).
system_programread-only`system_program` account required by the `upsert_registered_position_wormhole_config` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
inputWormholeObservationConfigInput

Policy & permissions

  • Signer must hold the RPI Configure ACL permission on the GLAM state.
  • Creates or updates the Wormhole envelope config for an existing Wormhole-sourced registered position.