ODCdataIndexomnichain
OmnichainCallbackHandlerFacet
Facet to handle Omnichain callbacks from Omnichain proxy
UnsupportedCallbackOperation
Error thrown when the operation is not supported
SenderIsNotOmnichainProxy
Error thrown when the sender is not the Omnichain proxy
omnichainCallback
Callback function for OmnichainProxy
Parameters
Name | Type | Description |
---|---|---|
rid | bytes32 | Request ID (GUID) |
data | bytes | Callback data |
remoteApproveDataManager
Approves a DataManager for a DataPoint allocated on another chain
This call MUST be executed by trusted contract, like OmnichainProxy
Parameters
Name | Type | Description |
---|---|---|
dp | DataPoint | DataPoint |
dm | OmnichainAddress | DataManager |
approved | bool | approve (true) or remove approval (false) |
sender | OmnichainAddress | Address of original sender of approve request |