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§
- Fuzz
Artifact Selector - Fuzz
Interface - Fuzz
Selector - after
Invariant Call - Function with signature
afterInvariant()and selector0x93969ddf. - after
Invariant Return - Container type for the return parameters of the
afterInvariant()function. - exclude
Artifacts Call - Function with signature
excludeArtifacts()and selector0xb5508aa9. - exclude
Artifacts Return - Container type for the return parameters of the
excludeArtifacts()function. - exclude
Contracts Call - Function with signature
excludeContracts()and selector0xe20c9f71. - exclude
Contracts Return - Container type for the return parameters of the
excludeContracts()function. - exclude
Selectors Call - Function with signature
excludeSelectors()and selector0xb0464fdc. - exclude
Selectors Return - Container type for the return parameters of the
excludeSelectors()function. - exclude
Senders Call - Function with signature
excludeSenders()and selector0x1ed7831c. - exclude
Senders Return - Container type for the return parameters of the
excludeSenders()function. - target
Artifact Selectors Call - Function with signature
targetArtifactSelectors()and selector0x66d9a9a0. - target
Artifact Selectors Return - Container type for the return parameters of the
targetArtifactSelectors()function. - target
Artifacts Call - Function with signature
targetArtifacts()and selector0x85226c81. - target
Artifacts Return - Container type for the return parameters of the
targetArtifacts()function. - target
Contracts Call - Function with signature
targetContracts()and selector0x3f7286f4. - target
Contracts Return - Container type for the return parameters of the
targetContracts()function. - target
Interfaces Call - Function with signature
targetInterfaces()and selector0x2ade3880. - target
Interfaces Return - Container type for the return parameters of the
targetInterfaces()function. - target
Selectors Call - Function with signature
targetSelectors()and selector0x916a17c6. - target
Selectors Return - Container type for the return parameters of the
targetSelectors()function. - target
Senders Call - Function with signature
targetSenders()and selector0x3e5e3c23. - target
Senders Return - Container type for the return parameters of the
targetSenders()function.
Enums§
- IInvariant
Test Calls - Container for all the
IInvariantTestfunction calls.