ODCinterfacesdataIndex
IIDManager
Interface defines functions to build Data Index user identifiers and get information about them
diid
Provides Data Index id for a specific account for a specific DataPoint
Can be also understood as user Id within the DataIndex
Parameters
Name | Type | Description |
---|---|---|
account | address | Address of the user |
dp | DataPoint | DataPoint the id should be linked with |
Return Values
Name | Type | Description |
---|---|---|
[0] | bytes32 | Data Index token id |
ownerOf
Provides information about owner of specific Data Index id
Parameters
Name | Type | Description |
---|---|---|
diid_ | bytes32 | Data Index id to get info for |
Return Values
Name | Type | Description |
---|---|---|
[0] | uint32 | chainid of owner's address |
[1] | address | owner's address |