ODCdataIndex

AccessManagerInternal

Internal facet to manage access of DataManagers to DataObjects

InvalidDataPointAdmin

error InvalidDataPointAdmin(DataPoint dp, address sender)

Error thrown when the sender is not an admin of the DataPoint

DataManagerNotApproved

error DataManagerNotApproved(DataPoint dp, address dm)

Error thrown when the DataManager is not approved to interact with the DataPoint

DataObjectNotApproved

error DataObjectNotApproved(DataPoint dp, address dobj)

Error thrown when the DataObject is not approved to interact with the DataPoint

DataPointDMApprovalChanged

event DataPointDMApprovalChanged(DataPoint dp, OmnichainAddress dpAdmin, OmnichainAddress dm, bool approved)

Event emitted when DataManager is approved for DataPoint

Parameters

NameTypeDescription
dpDataPointIdentifier of the DataPoint
dpAdminOmnichainAddressAddress of the DataPoint admin who executed the approval change
dmOmnichainAddressAddress of DataManager
approvedboolif DataManager is approved

onlyDPAdmin

modifier onlyDPAdmin(DataPoint dp)

Restricts access to the function, allowing only DataPoint admins

Parameters

NameTypeDescription
dpDataPointDataPoint to check ownership of

onlyApprovedDM

modifier onlyApprovedDM(DataPoint dp)

Allows access only to DataManagers which was previously approved

Parameters

NameTypeDescription
dpDataPointDataPoint to check DataManager approval for

onlyApprovedDO

modifier onlyApprovedDO(DataPoint dp)

Restrict access to approved DataObjects

Parameters

NameTypeDescription
dpDataPointDataPoint to check DataObject approval for

On this page