ODCinterfacesdataIndex
IData
Interface defines functions to interact with stored data in DataObjects for DataPoints
read
Reads stored data
Parameters
Name | Type | Description |
---|---|---|
dobj | contract IDataObject | Identifier of DataObject |
dp | DataPoint | Identifier of the DataPoint |
operation | bytes4 | Read operation to execute on the data |
data | bytes | Operation-specific data |
Return Values
Name | Type | Description |
---|---|---|
[0] | bytes | Operation-specific data |
write
Stores data
Function SHOULD be restricted to allowed DMs only
Parameters
Name | Type | Description |
---|---|---|
dobj | contract IDataObject | Identifier of DataObject |
dp | DataPoint | Identifier of the DataPoint |
operation | bytes4 | Write operation to execute on the data |
data | bytes | Operation-specific data |
Return Values
Name | Type | Description |
---|---|---|
[0] | bytes | Operation-specific data (can be empty) |