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.
19 lines
465 B
19 lines
465 B
2 years ago
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
pragma solidity ^0.8.20;
|
||
|
|
||
|
import {AccessManaged} from "../access/manager/AccessManaged.sol";
|
||
|
|
||
|
abstract contract AccessManagedTarget is AccessManaged {
|
||
|
event CalledRestricted(address caller);
|
||
|
event CalledUnrestricted(address caller);
|
||
|
|
||
|
function fnRestricted() public restricted {
|
||
|
emit CalledRestricted(msg.sender);
|
||
|
}
|
||
|
|
||
|
function fnUnrestricted() public {
|
||
|
emit CalledUnrestricted(msg.sender);
|
||
|
}
|
||
|
}
|