ODCinterfacesdataIndex
IPortabilityManager
Interface defines functions used to change Data Index implementation used for a DataPoint to another one
IncorrectDataIndexImplementationAddress
Error thrown when incorrect Data Index implementation address is provided
Parameters
Name | Type | Description |
---|---|---|
dataIndexImpl | address | Incorrect Data Index Implementation address |
DataIndexImplementationSet
Emitted when Data Index implementation is set
Parameters
Name | Type | Description |
---|---|---|
dp | DataPoint | DataPoint to work with |
dataIndexImpl | address | New Data Index Implementation |
dataObjects | contract IDataObject[] | DataObjects switched to a new implementation |
setDataIndexImplementation
This function MUST be called by DataPoint owner
After this call current implementation will not be able to work with this DataPoint on specified DataObjects Great care should be taken to not make DataObject unusable because of this change
Parameters
Name | Type | Description |
---|---|---|
dp | DataPoint | DataPoint to work with |
newImpl | address | New Data Index Implementation |
dataObjects | contract IDataObject[] | DataObjects switched to a new implementation |