IAuthority.sol 482 B

1234567891011121314
  1. // SPDX-License-Identifier: MIT
  2. // OpenZeppelin Contracts (last updated v5.0.0) (access/manager/IAuthority.sol)
  3. pragma solidity ^0.8.20;
  4. /**
  5. * @dev Standard interface for permissioning originally defined in Dappsys.
  6. */
  7. interface IAuthority {
  8. /**
  9. * @dev Returns true if the caller can invoke on a target the function identified by a function selector.
  10. */
  11. function canCall(address caller, address target, bytes4 selector) external view returns (bool allowed);
  12. }