FunctionChecks

Git Source

Author: EridianAlpha

This contract contains the functions used inside AavePM modifiers.

Functions

_checkOwner

Check if the caller has the OWNER_ROLE.

This function checks if the caller has the OWNER_ROLE and reverts if it does not.

function _checkOwner(address _owner) internal view;

Parameters

NameTypeDescription
_owneraddressThe address to check if it has the OWNER_ROLE.

_checkManagerInvocationLimit

Check if manager invocations are within the daily limit.

This function checks if the manager invocations are within the daily limit and reverts if the limit is reached.

function _checkManagerInvocationLimit(uint64[] memory managerInvocations) internal view;

Parameters

NameTypeDescription
managerInvocationsuint64[]The array of manager invocations.