IAuthority.sol 402 B

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