Git Source

Inherits: HandlerUtils, AppAdministratorOrOwnerOnlyDiamondVersion, HandlerAccountApproveDenyOracle, HandlerAccountApproveDenyOracleFlexible, IZeroAddressError, IHandlerDiamondErrors

Functions

checkAccountApproveDenyOraclesRules

Function to check the Account Approve Deny Oracle Rules

function checkAccountApproveDenyOraclesRules(
    address _from,
    address _to,
    address _sender,
    ActionTypes action,
    address handlerBase
) external view onlyOwner;

Parameters

NameTypeDescription
_fromaddressaddress of the from account
_toaddressaddress of the to account
_senderaddressaddress of the sender account
actionActionTypesif selling or buying (of ActionTypes type)
handlerBaseaddressaddress of the handler proxy

_checkAccountApproveDenyOraclesFlexibleRule

Internal function to check the Account Approve Deny Oracle Flexible Rules

function _checkAccountApproveDenyOraclesFlexibleRule(
    address _from,
    address _to,
    ActionTypes action,
    address handlerBase
) internal view;

Parameters

NameTypeDescription
_fromaddressaddress of the from account
_toaddressaddress of the to account
actionActionTypesif selling or buying (of ActionTypes type)
handlerBaseaddressaddress of the handler proxy

_checkAccountApproveDenyOraclesRule

Internal function to check the Account Approve Deny Oracle Rules

function _checkAccountApproveDenyOraclesRule(
    address _from,
    address _to,
    address _sender,
    ActionTypes action,
    address handlerBase
) internal view;

Parameters

NameTypeDescription
_fromaddressaddress of the from account
_toaddressaddress of the to account
_senderaddressaddress of the caller
actionActionTypesif selling or buying (of ActionTypes type)
handlerBaseaddressaddress of the handler proxy