ODCdataIndexomnichain

OmnichainDataFacet

Facet to interact with stored data in DataObjects for DataPoints by Omnichain queries

writeOmnichain

function writeOmnichain(address dobj, DataPoint dp, bytes4 operation, bytes data, OmnichainAddress originalSender) external returns (bytes)

Stores data by Omnichain query

Parameters

NameTypeDescription
dobjaddressAddress of the DataObject
dpDataPointIdentifier of the DataPoint
operationbytes4Read operation to execute on the data
databytesOperation-specific data
originalSenderOmnichainAddressAddress of the original sender on the origin chain

Return Values

NameTypeDescription
[0]bytesOperation-specific data (can be empty)

On this page