OracleRulesFacet.sol
OracleRulesFacet
Inherits: HandlerUtils, AppAdministratorOrOwnerOnlyDiamondVersion, HandlerAccountApproveDenyOracle, HandlerAccountApproveDenyOracleFlexible, IZeroAddressError, IHandlerDiamondErrors
Functions
checkAccountApproveDenyOraclesRules
Function to check the Account Approve Deny Oracle Rules
Parameters
Name | Type | Description |
---|---|---|
_from | address | address of the from account |
_to | address | address of the to account |
_sender | address | address of the sender account |
action | ActionTypes | if selling or buying (of ActionTypes type) |
handlerBase | address | address of the handler proxy |
_checkAccountApproveDenyOraclesFlexibleRule
Internal function to check the Account Approve Deny Oracle Flexible Rules
Parameters
Name | Type | Description |
---|---|---|
_from | address | address of the from account |
_to | address | address of the to account |
action | ActionTypes | if selling or buying (of ActionTypes type) |
handlerBase | address | address of the handler proxy |
_checkAccountApproveDenyOraclesRule
Internal function to check the Account Approve Deny Oracle Rules
Parameters
Name | Type | Description |
---|---|---|
_from | address | address of the from account |
_to | address | address of the to account |
_sender | address | address of the caller |
action | ActionTypes | if selling or buying (of ActionTypes type) |
handlerBase | address | address of the handler proxy |