HandlerBase.sol
HandlerBase
Inherits: IZeroAddressError, ITokenHandlerEvents, IOwnershipErrors, AppAdministratorOrOwnerOnlyDiamondVersion
Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett
This contract contains common variables and functions for all Protocol Asset Handlers
State Variables
MAX_ORACLE_RULES
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 storage. It can only be confirmed by the proposed address
setLastPossibleAction
Set the last possible action for use in action validations.
Parameters
Name | Type | Description |
---|---|---|
_lastPossibleAction | uint8 | the highest number in the Action Enum |