Required functions for the External Access Level Provider
see IAccessLevels
see AccessLevels
see DataModule
Process for switching to an external access level provider
The switching process consists of proposing and confirming the data provider. The first part of the 2 step process is to propose a new access level provider in the AppManager. Once the new provider address is proposed, then it is confirmed by invoking a confirmation function in the new provider that invokes the corresponding function in AppManager. The process is as follows:-
- Deploy the external Access Level Provider.
-
- Call proposeAccessLevelsProvider in the AppManager.
-
- Call confirmDataProvider in the external access level provider contract with provider type = IDataModule.ProviderType.ACCESS_LEVEL:
Revert Messages
The confirmation will revert if the external access level contract address does not match the proposed access level provider:0x41284967
.