ProtocolTokenCommonU.sol
ProtocolTokenCommonU
Inherits: AppAdministratorOnlyU, IProtocolToken, IZeroAddressError, IOwnershipErrors
Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett
This contract contains common variables and functions for all Protocol Tokens
State Variables
newAppManagerAddress
appManagerAddress
appManager
Functions
proposeAppManagerAddress
This function proposes a new appManagerAddress that is put in storage to be confirmed in a separate process
Parameters
Name | Type | Description |
---|---|---|
_newAppManagerAddress | address | the new address being proposed |
confirmAppManagerAddress
This function confirms a new appManagerAddress that was put in storageIt can only be confirmed by the proposed address
getAppManagerAddress
Function to get the appManagerAddress
AppAdministratorOnly modifier uses appManagerAddress. Only Addresses asigned as AppAdministrator can call function.