Module IInvariantTest
Expand description
Module containing a contract’s types and functions.
interface IInvariantTest {
struct FuzzSelector { address addr; bytes4[] selectors; }
struct FuzzArtifactSelector { string artifact; bytes4[] selectors; }
struct FuzzInterface { address addr; string[] artifacts; }
function afterInvariant() external;
function excludeArtifacts() public view returns (string[] memory excludedArtifacts);
function excludeContracts() public view returns (address[] memory excludedContracts);
function excludeSelectors() public view returns (FuzzSelector[] memory excludedSelectors);
function excludeSenders() public view returns (address[] memory excludedSenders);
function targetArtifacts() public view returns (string[] memory targetedArtifacts);
function targetArtifactSelectors() public view returns (FuzzArtifactSelector[] memory targetedArtifactSelectors);
function targetContracts() public view returns (address[] memory targetedContracts);
function targetSelectors() public view returns (FuzzSelector[] memory targetedSelectors);
function targetSenders() public view returns (address[] memory targetedSenders);
function targetInterfaces() public view returns (FuzzInterface[] memory targetedInterfaces);
}
Structs§
- Function with signature
afterInvariant()
and selector0x93969ddf
. - Container type for the return parameters of the
afterInvariant()
function. - Function with signature
excludeArtifacts()
and selector0xb5508aa9
. - Container type for the return parameters of the
excludeArtifacts()
function. - Function with signature
excludeContracts()
and selector0xe20c9f71
. - Container type for the return parameters of the
excludeContracts()
function. - Function with signature
excludeSelectors()
and selector0xb0464fdc
. - Container type for the return parameters of the
excludeSelectors()
function. - Function with signature
excludeSenders()
and selector0x1ed7831c
. - Container type for the return parameters of the
excludeSenders()
function. - Function with signature
targetArtifactSelectors()
and selector0x66d9a9a0
. - Container type for the return parameters of the
targetArtifactSelectors()
function. - Function with signature
targetArtifacts()
and selector0x85226c81
. - Container type for the return parameters of the
targetArtifacts()
function. - Function with signature
targetContracts()
and selector0x3f7286f4
. - Container type for the return parameters of the
targetContracts()
function. - Function with signature
targetInterfaces()
and selector0x2ade3880
. - Container type for the return parameters of the
targetInterfaces()
function. - Function with signature
targetSelectors()
and selector0x916a17c6
. - Container type for the return parameters of the
targetSelectors()
function. - Function with signature
targetSenders()
and selector0x3e5e3c23
. - Container type for the return parameters of the
targetSenders()
function.
Enums§
- Container for all the
IInvariantTest
function calls.