Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

StdCheatsTest

Inherits: Test

State Variables

test

Bar test;

Functions

setUp

function setUp() public;

test_Skip

function test_Skip() public;

test_Rewind

function test_Rewind() public;

test_Hoax

function test_Hoax() public;

test_HoaxOrigin

function test_HoaxOrigin() public;

test_HoaxDifferentAddresses

function test_HoaxDifferentAddresses() public;

test_StartHoax

function test_StartHoax() public;

test_StartHoaxOrigin

function test_StartHoaxOrigin() public;

test_ChangePrankMsgSender

function test_ChangePrankMsgSender() public;

test_ChangePrankMsgSenderAndTxOrigin

function test_ChangePrankMsgSenderAndTxOrigin() public;

test_MakeAccountEquivalence

function test_MakeAccountEquivalence() public;

test_MakeAddrEquivalence

function test_MakeAddrEquivalence() public;

test_MakeAddrSigning

function test_MakeAddrSigning() public;

test_Deal

function test_Deal() public;

test_DealToken

function test_DealToken() public;

test_DealTokenAdjustTotalSupply

function test_DealTokenAdjustTotalSupply() public;

test_DealERC1155Token

function test_DealERC1155Token() public;

test_DealERC1155TokenAdjustTotalSupply

function test_DealERC1155TokenAdjustTotalSupply() public;

test_DealERC721Token

function test_DealERC721Token() public;

test_DeployCode

function test_DeployCode() public;

test_DestroyAccount

function test_DestroyAccount() public;

test_DeployCodeNoArgs

function test_DeployCodeNoArgs() public;

test_DeployCodeVal

function test_DeployCodeVal() public;

test_DeployCodeValNoArgs

function test_DeployCodeValNoArgs() public;

deployCodeHelper

function deployCodeHelper(string memory what) external;

test_RevertIf_DeployCodeFail

function test_RevertIf_DeployCodeFail() public;

getCode

function getCode(address who) internal view returns (bytes memory o_code);

test_DeriveRememberKey

function test_DeriveRememberKey() public;

test_BytesToUint

function test_BytesToUint() public pure;

test_ParseJsonTxDetail

function test_ParseJsonTxDetail() public view;

test_ReadEIP1559Transaction

function test_ReadEIP1559Transaction() public view;

test_ReadEIP1559Transactions

function test_ReadEIP1559Transactions() public view;

test_ReadReceipt

function test_ReadReceipt() public view;

test_ReadReceipts

function test_ReadReceipts() public view;

test_GasMeteringModifier

function test_GasMeteringModifier() public;

addInLoop

function addInLoop() internal pure returns (uint256);

addInLoopNoGas

function addInLoopNoGas() internal noGasMetering returns (uint256);

addInLoopNoGasNoGas

function addInLoopNoGasNoGas() internal noGasMetering returns (uint256);

bytesToUint_test

function bytesToUint_test(bytes memory b) private pure returns (uint256);

testFuzz_AssumeAddressIsNot

function testFuzz_AssumeAddressIsNot(address addr) external;

test_AssumePayable

function test_AssumePayable() external;

test_AssumeNotPayable

function test_AssumeNotPayable() external;

testFuzz_AssumeNotPrecompile

function testFuzz_AssumeNotPrecompile(address addr) external;

testFuzz_AssumeNotForgeAddress

function testFuzz_AssumeNotForgeAddress(address addr) external pure;

test_RevertIf_CannotDeployCodeTo

function test_RevertIf_CannotDeployCodeTo() external;

_revertDeployCodeTo

function _revertDeployCodeTo() external;

test_DeployCodeTo

function test_DeployCodeTo() external;