You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
491 B
18 lines
491 B
2 years ago
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
pragma solidity ^0.8.20;
|
||
|
|
||
|
interface IAccessManaged {
|
||
|
event AuthorityUpdated(address authority);
|
||
|
|
||
|
error AccessManagedUnauthorized(address caller);
|
||
|
error AccessManagedRequiredDelay(address caller, uint32 delay);
|
||
|
error AccessManagedInvalidAuthority(address authority);
|
||
|
|
||
|
function authority() external view returns (address);
|
||
|
|
||
|
function setAuthority(address) external;
|
||
|
|
||
|
function isConsumingScheduledOp() external view returns (bool);
|
||
|
}
|