ODCdataIndexomnichain

OmnichainCallbackHandlerFacet

Facet to handle Omnichain callbacks from Omnichain proxy

UnsupportedCallbackOperation

error UnsupportedCallbackOperation(enum OmnichainSupportStorage.CallbackOperation op)

Error thrown when the operation is not supported

SenderIsNotOmnichainProxy

error SenderIsNotOmnichainProxy(address sender)

Error thrown when the sender is not the Omnichain proxy

omnichainCallback

function omnichainCallback(bytes32 rid, bytes data) external

Callback function for OmnichainProxy

Parameters

NameTypeDescription
ridbytes32Request ID (GUID)
databytesCallback data

remoteApproveDataManager

function remoteApproveDataManager(DataPoint dp, OmnichainAddress dm, bool approved, OmnichainAddress sender) external

Approves a DataManager for a DataPoint allocated on another chain

This call MUST be executed by trusted contract, like OmnichainProxy

Parameters

NameTypeDescription
dpDataPointDataPoint
dmOmnichainAddressDataManager
approvedboolapprove (true) or remove approval (false)
senderOmnichainAddressAddress of original sender of approve request

On this page