mirror of https://github.com/crytic/slither
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.
33 lines
491 B
33 lines
491 B
2 years ago
|
pragma solidity ^0.8.0;
|
||
|
|
||
|
contract Mock {
|
||
|
|
||
|
error Error1();
|
||
|
error Error2();
|
||
|
error Error3();
|
||
|
|
||
|
event Event1();
|
||
|
event Event2(address param);
|
||
|
event Event3(uint256 num1, uint72 num2);
|
||
|
|
||
|
struct Foo {
|
||
|
uint256 bar;
|
||
|
address baz;
|
||
|
}
|
||
|
|
||
|
enum Status {
|
||
|
Active,
|
||
|
Pending,
|
||
|
Canceled
|
||
|
}
|
||
|
|
||
|
Foo public foo;
|
||
|
|
||
|
Status public status;
|
||
|
|
||
|
function function1() public pure returns (address){
|
||
|
return address(0);
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|