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.
30 lines
981 B
30 lines
981 B
interface ITestContract {
|
|
event NoParams();
|
|
event Anonymous();
|
|
event OneParam(address);
|
|
event OneParamIndexed(address);
|
|
error ErrorWithEnum(uint8);
|
|
error ErrorSimple();
|
|
error ErrorWithArgs(uint256, uint256);
|
|
error ErrorWithStruct(uint256);
|
|
enum SomeEnum { ONE, TWO, THREE }
|
|
struct St {
|
|
uint256 v;
|
|
}
|
|
struct Nested {
|
|
St st;
|
|
}
|
|
function stateA() external returns (uint256);
|
|
function owner() external returns (address);
|
|
function structsMap(address,uint256) external returns (uint256);
|
|
function structsArray(uint256) external returns (uint256);
|
|
function otherI() external returns (address);
|
|
function err0() external;
|
|
function err1() external;
|
|
function err2(uint256,uint256) external;
|
|
function newSt(uint256) external returns (uint256);
|
|
function getSt(uint256) external view returns (uint256);
|
|
function removeSt(uint256) external;
|
|
function setOtherI(address) external;
|
|
}
|
|
|
|
|