ODCinterfacesomnichain
IOmnichainData
Interface defines functions to interact with stored data in DataObjects for DataPoints by Omnichain queries
SenderIsNotOmnichainProxy
Error thrown when the sender is not the Omnichain proxy
OmnichainDataManagerNotApproved
Error thrown when the Omnichain data manager is not approved for the DataPoint
writeOmnichain
Stores data by Omnichain query
Parameters
Name | Type | Description |
---|---|---|
dobj | address | Address of the DataObject |
dp | DataPoint | Identifier of the DataPoint |
operation | bytes4 | Read operation to execute on the data |
data | bytes | Operation-specific data |
originalSender | OmnichainAddress | Address of the original sender on the origin chain |
Return Values
Name | Type | Description |
---|---|---|
[0] | bytes | Operation-specific data (can be empty) |