Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Francisco Giordano <fg@frang.io> Co-authored-by: Ernesto García <ernestognw@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Eric Lau <ericglau@outlook.com> Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
15 lines
482 B
Solidity
15 lines
482 B
Solidity
// SPDX-License-Identifier: MIT
|
|
// OpenZeppelin Contracts (last updated v5.0.0) (access/manager/IAuthority.sol)
|
|
|
|
pragma solidity ^0.8.20;
|
|
|
|
/**
|
|
* @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);
|
|
}
|