ODCdataIndex
AccessManagerInternal
Internal facet to manage access of DataManagers to DataObjects
InvalidDataPointAdmin
Error thrown when the sender is not an admin of the DataPoint
DataManagerNotApproved
Error thrown when the DataManager is not approved to interact with the DataPoint
DataObjectNotApproved
Error thrown when the DataObject is not approved to interact with the DataPoint
DataPointDMApprovalChanged
Event emitted when DataManager is approved for DataPoint
Parameters
Name | Type | Description |
---|---|---|
dp | DataPoint | Identifier of the DataPoint |
dpAdmin | OmnichainAddress | Address of the DataPoint admin who executed the approval change |
dm | OmnichainAddress | Address of DataManager |
approved | bool | if DataManager is approved |
onlyDPAdmin
Restricts access to the function, allowing only DataPoint admins
Parameters
Name | Type | Description |
---|---|---|
dp | DataPoint | DataPoint to check ownership of |
onlyApprovedDM
Allows access only to DataManagers which was previously approved
Parameters
Name | Type | Description |
---|---|---|
dp | DataPoint | DataPoint to check DataManager approval for |
onlyApprovedDO
Restrict access to approved DataObjects
Parameters
Name | Type | Description |
---|---|---|
dp | DataPoint | DataPoint to check DataObject approval for |