ODCinterfacesdataIndex

IIDManager

Interface defines functions to build Data Index user identifiers and get information about them

diid

function diid(address account, DataPoint dp) external view returns (bytes32)

Provides Data Index id for a specific account for a specific DataPoint

Can be also understood as user Id within the DataIndex

Parameters

NameTypeDescription
accountaddressAddress of the user
dpDataPointDataPoint the id should be linked with

Return Values

NameTypeDescription
[0]bytes32Data Index token id

ownerOf

function ownerOf(bytes32 diid_) external view returns (uint32, address)

Provides information about owner of specific Data Index id

Parameters

NameTypeDescription
diid_bytes32Data Index id to get info for

Return Values

NameTypeDescription
[0]uint32chainid of owner's address
[1]addressowner's address

On this page