Skip to main content
Version: Endpoint V1 Docs

UA Custom Configuration

User Application contracts may set their own configuration for message library, relayer, oracle, etc.

public fun set_config<UA>(
major_version: u64,
minor_version: u8,
chain_id: u64,
config_type: u8,
config_bytes: vector<u8>,
_cap: &UaCapability<UA>
)

public fun set_send_msglib<UA>(chain_id: u64, major_version: u64, minor_version: u8, _cap: &UaCapability<UA>)

public fun set_receive_msglib<UA>(chain_id: u64, major_version: u64, minor_version: u8, _cap: &UaCapability<UA>)

public fun set_executor<UA>(chain_id: u64, version: u64, executor: address, _cap: &UaCapability<UA>)