Git Source

Inherits: AppAdministratorOnlyU, IProtocolToken, IZeroAddressError, IOwnershipErrors

Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett

This contract contains common variables and functions for all Protocol Tokens

State Variables

newAppManagerAddress

address newAppManagerAddress;

appManagerAddress

address appManagerAddress;

appManager

IAppManager appManager;

Functions

proposeAppManagerAddress

This function proposes a new appManagerAddress that is put in storage to be confirmed in a separate process

function proposeAppManagerAddress(address _newAppManagerAddress) external appAdministratorOnly(appManagerAddress);

Parameters

NameTypeDescription
_newAppManagerAddressaddressthe new address being proposed

confirmAppManagerAddress

This function confirms a new appManagerAddress that was put in storageIt can only be confirmed by the proposed address

function confirmAppManagerAddress() external;

getAppManagerAddress

Function to get the appManagerAddress

AppAdministratorOnly modifier uses appManagerAddress. Only Addresses asigned as AppAdministrator can call function.

function getAppManagerAddress() external view returns (address);