1234567891011121314 |
- // SPDX-License-Identifier: MIT
- // OpenZeppelin Contracts (last updated v5.4.0) (access/manager/IAuthority.sol)
- pragma solidity >=0.4.16;
- /**
- * @dev Standard interface for permissioning originally defined in Dappsys.
- */
- interface IAuthority {
- /**
- * @dev Returns true if the caller can invoke on a target the function identified by a function selector.
- */
- function canCall(address caller, address target, bytes4 selector) external view returns (bool allowed);
- }
|