Co-authored-by: Francisco Giordano <fg@frang.io> Co-authored-by: ernestognw <ernestognw@gmail.com>
20 lines
375 B
Solidity
20 lines
375 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.20;
|
|
|
|
import "../patched/security/Pausable.sol";
|
|
|
|
contract PausableHarness is Pausable {
|
|
function pause() external {
|
|
_pause();
|
|
}
|
|
|
|
function unpause() external {
|
|
_unpause();
|
|
}
|
|
|
|
function onlyWhenPaused() external whenPaused {}
|
|
|
|
function onlyWhenNotPaused() external whenNotPaused {}
|
|
}
|