Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/IKontrolCheatsBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pragma solidity >=0.6.2 <0.9.0;
pragma experimental ABIEncoderV2;

interface KontrolCheatsBase {
enum ComparisonOperator { Equal, NotEqual, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan }
// Expects a call using the CALL opcode to an address with the specified calldata.
function expectRegularCall(address,bytes calldata) external;
// Expects a call using the CALL opcode to an address with the specified msg.value and calldata.
Expand Down Expand Up @@ -35,4 +36,6 @@ interface KontrolCheatsBase {
function freshBytes(uint256) external view returns (bytes memory);
// Returns a symbolic address
function freshAddress() external view returns (address);
// Removes a path constraint
function forgetBranch(uint256, ComparisonOperator, uint256) external;
}