IAccessManaged
Functions
authority
Returns the current authority.
function authority() external view returns (address);
setAuthority
Transfers control to a new authority. The caller must be the current authority.
function setAuthority(address) external;
isConsumingScheduledOp
Returns true only in the context of a delayed restricted call, at the moment that the scheduled operation is being consumed. Prevents denial of service for delayed restricted calls in the case that the contract performs attacker controlled calls.
function isConsumingScheduledOp() external view returns (bytes4);
Events
AuthorityUpdated
Authority that manages this contract was updated.
event AuthorityUpdated(address authority);
Errors
AccessManagedUnauthorized
error AccessManagedUnauthorized(address caller);
AccessManagedRequiredDelay
error AccessManagedRequiredDelay(address caller, uint32 delay);
AccessManagedInvalidAuthority
error AccessManagedInvalidAuthority(address authority);