parent
70cbfffc74
commit
aafb14461b
@ -1,6 +1,22 @@ |
||||
import "../../munged/token/ERC1155/extensions/ERC1155Pausable.sol" |
||||
import "../../munged/token/ERC1155/extensions/ERC1155Pausable.sol"; |
||||
|
||||
contract ERC1155PausableHarness is ERC1155Pausable { |
||||
constructor(string memory uri_) |
||||
ERC1155(uri_) |
||||
{} |
||||
|
||||
function pause() public { |
||||
_pause(); |
||||
} |
||||
|
||||
function unpause() public { |
||||
_unpause(); |
||||
} |
||||
|
||||
function onlyWhenPausedMethod() public whenPaused { |
||||
} |
||||
|
||||
function onlyWhenNotPausedMethod() public whenNotPaused { |
||||
} |
||||
} |
||||
|
||||
|
@ -0,0 +1,9 @@ |
||||
|
||||
rule sanity { |
||||
method f; env e; calldataarg args; |
||||
|
||||
f(e, args); |
||||
|
||||
assert false; |
||||
} |
||||
|
Loading…
Reference in new issue