https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertGeDecimal_0Call.html
assertGeDecimal_0Call in foundry_cheatcodes::Vm - Rust
Compares two `uint256` values. Expects first value to be greater than or equal to second. Formats values with decimals in failure message. Function with...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.deriveKey_0Return.html
deriveKey_0Return in foundry_cheatcodes::Vm - Rust
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/crypto/fn.derive_key_str.html
derive_key_str in foundry_cheatcodes::crypto - Rust
API documentation for the Rust `derive_key_str` fn in crate `foundry_cheatcodes`.
derivekeystrfoundrycheatcodes
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.mockCall_3Call.html
mockCall_3Call in foundry_cheatcodes::Vm - Rust
Mocks a call to an address with a specific `msg.value`, returning specified data. Calldata match takes precedence over `msg.value` in case of ambiguity.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.expectRevert_0Return.html
expectRevert_0Return in foundry_cheatcodes::Vm - Rust
Expects an error on next call with any revert data. Container type for the return parameters of the `expectRevert()` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.addrReturn.html
addrReturn in foundry_cheatcodes::Vm - Rust
Gets the address for a given private key. Container type for the return parameters of the `addr(uint256)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertGe_0Return.html
assertGe_0Return in foundry_cheatcodes::Vm - Rust
Compares two `uint256` values. Expects first value to be greater than or equal to second. Container type for the return parameters of the...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertTrue_1Return.html
assertTrue_1Return in foundry_cheatcodes::Vm - Rust
Asserts that the given condition is true and includes error message into revert string on failure. Container type for the return parameters of the...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.envString_1Call.html
envString_1Call in foundry_cheatcodes::Vm - Rust
Gets the environment variable `name` and parses it as an array of `string`, delimited by `delim`. Reverts if the variable was not found or could not be parsed....
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertNotEq_2Return.html
assertNotEq_2Return in foundry_cheatcodes::Vm - Rust
Asserts that two `uint256` values are not equal. Container type for the return parameters of the `assertNotEq(uint256,uint256)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/constant.CHEATCODES.html
CHEATCODES in foundry_cheatcodes::Vm - Rust
All the cheatcodes in this contract.
cheatcodesfoundryvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.revertToReturn.html
revertToReturn in foundry_cheatcodes::Vm - Rust
`revertTo` is being deprecated in favor of `revertToState`. It will be removed in future versions. Container type for the return parameters of the...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.readDir_1Return.html
readDir_1Return in foundry_cheatcodes::Vm - Rust
See `readDir(string)`. Container type for the return parameters of the `readDir(string,uint64)` function.
readdirfoundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.resetGasMeteringReturn.html
resetGasMeteringReturn in foundry_cheatcodes::Vm - Rust
Reset gas metering (i.e. gas usage is set to gas limit). Container type for the return parameters of the `resetGasMetering()` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertEq_23Call.html
assertEq_23Call in foundry_cheatcodes::Vm - Rust
Asserts that two arrays of `bytes32` values are equal and includes error message into revert string on failure. Function with signature...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/evm/struct.AccountStateDiffs.html
AccountStateDiffs in foundry_cheatcodes::evm - Rust
Account state diff info.
foundrycheatcodesevmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/evm/fn.read_callers.html
read_callers in foundry_cheatcodes::evm - Rust
Reads the current caller information and returns the current CallerMode, `msg.sender` and `tx.origin`.
readcallersfoundrycheatcodesevm
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.expectRevert_1Call.html
expectRevert_1Call in foundry_cheatcodes::Vm - Rust
Expects an error on next call that exactly matches the revert data. Function with signature `expectRevert(bytes4)` and selector `0xc31eb0e0`.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.splitReturn.html
splitReturn in foundry_cheatcodes::Vm - Rust
Splits the given `string` into an array of strings divided by the `delimiter`. Container type for the return parameters of the `split(string,string)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertEq_1Return.html
assertEq_1Return in foundry_cheatcodes::Vm - Rust
Asserts that two `bool` values are equal and includes error message into revert string on failure. Container type for the return parameters of the...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.rememberKeys_0Call.html
rememberKeys_0Call in foundry_cheatcodes::Vm - Rust
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.getBlockNumberReturn.html
getBlockNumberReturn in foundry_cheatcodes::Vm - Rust
Gets the current `block.number`. You should use this instead of `block.number` if you use `vm.roll`, as `block.number` is assumed to be constant across a...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.makePersistent_3Return.html
makePersistent_3Return in foundry_cheatcodes::Vm - Rust
See `makePersistent(address)`. Container type for the return parameters of the `makePersistent(address[])` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertApproxEqRelDecimal_3Return.html
assertApproxEqRelDecimal_3Return in foundry_cheatcodes::Vm - Rust
Compares two `int256` values. Expects relative difference in percents to be less than or equal to `maxPercentDelta`. `maxPercentDelta` is an 18 decimal fixed...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/type.Result.html
Result in foundry_cheatcodes - Rust
Cheatcode result type.
resultfoundrycheatcodesrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertApproxEqRelDecimal_0Return.html
assertApproxEqRelDecimal_0Return in foundry_cheatcodes::Vm - Rust
Compares two `uint256` values. Expects relative difference in percents to be less than or equal to `maxPercentDelta`. `maxPercentDelta` is an 18 decimal fixed...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/crypto/fn.parse_private_key_p256.html
parse_private_key_p256 in foundry_cheatcodes::crypto - Rust
API documentation for the Rust `parse_private_key_p256` fn in crate `foundry_cheatcodes`.
private keyparsefoundrycheatcodescrypto
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.toLowercaseCall.html
toLowercaseCall in foundry_cheatcodes::Vm - Rust
Converts the given `string` value to Lowercase. Function with signature `toLowercase(string)` and selector `0x50bb0884`.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.sign_1Call.html
sign_1Call in foundry_cheatcodes::Vm - Rust
Signs `digest` with `privateKey` using the secp256k1 curve. Function with signature `sign(uint256,bytes32)` and selector `0xe341eaa4`.
signfoundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.DirEntry.html
DirEntry in foundry_cheatcodes::Vm - Rust
A single entry in a directory listing. Returned by `readDir`.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.envAddress_0Return.html
envAddress_0Return in foundry_cheatcodes::Vm - Rust
Gets the environment variable `name` and parses it as `address`. Reverts if the variable was not found or could not be parsed. Container type for the return...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertEqDecimal_3Return.html
assertEqDecimal_3Return in foundry_cheatcodes::Vm - Rust
Asserts that two `int256` values are equal, formatting them with decimals in failure message. Includes error message into revert string on failure. Container...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/version/fn.foundry_version_cmp.html
foundry_version_cmp in foundry_cheatcodes::version - Rust
API documentation for the Rust `foundry_version_cmp` fn in crate `foundry_cheatcodes`.
foundryversioncmpcheatcodesrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.attachBlobReturn.html
attachBlobReturn in foundry_cheatcodes::Vm - Rust
Attach an EIP-4844 blob to the next call Container type for the return parameters of the `attachBlob(bytes)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/string/fn.parse.html
parse in foundry_cheatcodes::string - Rust
API documentation for the Rust `parse` fn in crate `foundry_cheatcodes`.
parsefoundrycheatcodesstringrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.envOr_7Call.html
envOr_7Call in foundry_cheatcodes::Vm - Rust
Gets the environment variable `name` and parses it as an array of `bool`, delimited by `delim`. Reverts if the variable could not be parsed. Returns...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.envOr_7Return.html
envOr_7Return in foundry_cheatcodes::Vm - Rust
Gets the environment variable `name` and parses it as an array of `bool`, delimited by `delim`. Reverts if the variable could not be parsed. Returns...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/fs/fn.parse_broadcast_results.html
parse_broadcast_results in foundry_cheatcodes::fs - Rust
API documentation for the Rust `parse_broadcast_results` fn in crate `foundry_cheatcodes`.
parsebroadcastresultsfoundrycheatcodes
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.envBool_1Call.html
envBool_1Call in foundry_cheatcodes::Vm - Rust
Gets the environment variable `name` and parses it as an array of `bool`, delimited by `delim`. Reverts if the variable was not found or could not be parsed....
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/test/expect/struct.LogCountMap.html
LogCountMap in foundry_cheatcodes::test::expect - Rust
API documentation for the Rust `LogCountMap` struct in crate `foundry_cheatcodes`.
foundrycheatcodestestexpectrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertGtDecimal_0Return.html
assertGtDecimal_0Return in foundry_cheatcodes::Vm - Rust
Compares two `uint256` values. Expects first value to be greater than second. Formats values with decimals in failure message. Container type for the return...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertApproxEqRelDecimal_2Call.html
assertApproxEqRelDecimal_2Call in foundry_cheatcodes::Vm - Rust
Compares two `int256` values. Expects relative difference in percents to be less than or equal to `maxPercentDelta`. `maxPercentDelta` is an 18 decimal fixed...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/version/fn.version_cmp.html
version_cmp in foundry_cheatcodes::version - Rust
API documentation for the Rust `version_cmp` fn in crate `foundry_cheatcodes`.
versioncmpfoundrycheatcodesrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.mockCallRevert_2Return.html
mockCallRevert_2Return in foundry_cheatcodes::Vm - Rust
Reverts a call to an address with specified revert data.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.parseJsonBytesCall.html
parseJsonBytesCall in foundry_cheatcodes::Vm - Rust
Parses a string of JSON data at `key` and coerces it to `bytes`. Function with signature `parseJsonBytes(string,string)` and selector `0xfd921be8`.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertEq_15Call.html
assertEq_15Call in foundry_cheatcodes::Vm - Rust
Asserts that two arrays of `bool` values are equal and includes error message into revert string on failure. Function with signature...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertNotEqDecimal_3Call.html
assertNotEqDecimal_3Call in foundry_cheatcodes::Vm - Rust
Asserts that two `int256` values are not equal, formatting them with decimals in failure message. Includes error message into revert string on failure....
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.coolReturn.html
coolReturn in foundry_cheatcodes::Vm - Rust
Marks the slots of an account and the account address as cold. Container type for the return parameters of the `cool(address)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertApproxEqAbs_0Call.html
assertApproxEqAbs_0Call in foundry_cheatcodes::Vm - Rust
Compares two `uint256` values. Expects difference to be less than or equal to `maxDelta`. Function with signature `assertApproxEqAbs(uint256,uint256,uint256)`...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertNotEq_17Call.html
assertNotEq_17Call in foundry_cheatcodes::Vm - Rust
Asserts that two arrays of `uint256` values are not equal and includes error message into revert string on failure. Function with signature...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.serializeString_0Return.html
serializeString_0Return in foundry_cheatcodes::Vm - Rust
See `serializeJson`. Container type for the return parameters of the `serializeString(string,string,string)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/json/fn.parse_json_str.html
parse_json_str in foundry_cheatcodes::json - Rust
API documentation for the Rust `parse_json_str` fn in crate `foundry_cheatcodes`.
parse jsonstrfoundrycheatcodesrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.serializeString_1Return.html
serializeString_1Return in foundry_cheatcodes::Vm - Rust
See `serializeJson`. Container type for the return parameters of the `serializeString(string,string,string[])` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.promptAddressCall.html
promptAddressCall in foundry_cheatcodes::Vm - Rust
Prompts the user for an address in the terminal. Function with signature `promptAddress(string)` and selector `0x62ee05f4`.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertEqDecimal_2Call.html
assertEqDecimal_2Call in foundry_cheatcodes::Vm - Rust
Asserts that two `int256` values are equal, formatting them with decimals in failure message. Function with signature `assertEqDecimal(int256,int256,uint256)`...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.mockCallRevert_3Return.html
mockCallRevert_3Return in foundry_cheatcodes::Vm - Rust
Reverts a call to an address with a specific `msg.value`, with specified revert data.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertNotEq_21Call.html
assertNotEq_21Call in foundry_cheatcodes::Vm - Rust
Asserts that two arrays of `address` values are not equal and includes error message into revert string on failure. Function with signature...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.chainIdReturn.html
chainIdReturn in foundry_cheatcodes::Vm - Rust
Sets `block.chainid`. Container type for the return parameters of the `chainId(uint256)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.AccountAccess.html
AccountAccess in foundry_cheatcodes::Vm - Rust
The result of a `stopAndReturnStateDiff` call.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.readFileBinaryReturn.html
readFileBinaryReturn in foundry_cheatcodes::Vm - Rust
Reads the entire content of file as binary. `path` is relative to the project root. Container type for the return parameters of the `readFileBinary(string)`...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertEqDecimal_1Return.html
assertEqDecimal_1Return in foundry_cheatcodes::Vm - Rust
Asserts that two `uint256` values are equal, formatting them with decimals in failure message. Includes error message into revert string on failure. Container...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertNotEq_12Return.html
assertNotEq_12Return in foundry_cheatcodes::Vm - Rust
Asserts that two `bytes` values are not equal. Container type for the return parameters of the `assertNotEq(bytes,bytes)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/utils/fn.get_type_def_from_bindings.html
get_type_def_from_bindings in foundry_cheatcodes::utils - Rust
Returns the EIP-712 type definition from the bindings in the provided path. Assumes that read validation for the path has already been checked.
gettypedefbindingsfoundry
https://foundry-rs.github.io/foundry/foundry_cheatcodes/evm/mock/struct.MockCallReturnData.html
MockCallReturnData in foundry_cheatcodes::evm::mock - Rust
foundrycheatcodesevmmockrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.parseJsonType_1Return.html
parseJsonType_1Return in foundry_cheatcodes::Vm - Rust
Parses a string of JSON data at `key` and coerces it to type corresponding to `typeDescription`. Container type for the return parameters of the...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.serializeBytes_0Call.html
serializeBytes_0Call in foundry_cheatcodes::Vm - Rust
See `serializeJson`. Function with signature `serializeBytes(string,string,bytes)` and selector `0xf21d52c7`.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.expectRevert_0Call.html
expectRevert_0Call in foundry_cheatcodes::Vm - Rust
Expects an error on next call with any revert data. Function with signature `expectRevert()` and selector `0xf4844814`.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.expectRevert_4Return.html
expectRevert_4Return in foundry_cheatcodes::Vm - Rust
Expects an error from reverter address on next call, with any revert data. Container type for the return parameters of the `expectRevert(bytes4,address)`...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/enum.BroadcastTxType.html
BroadcastTxType in foundry_cheatcodes::Vm - Rust
The transaction type (`txType`) of the broadcast.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.skip_1Call.html
skip_1Call in foundry_cheatcodes::Vm - Rust
Marks a test as skipped with a reason. Must be called at the top level of a test. Function with signature `skip(bool,string)` and selector `0xc42a80a7`.
skipfoundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.serializeJsonType_0Return.html
serializeJsonType_0Return in foundry_cheatcodes::Vm - Rust
See `serializeJson`. Container type for the return parameters of the `serializeJsonType(string,bytes)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertEq_25Return.html
assertEq_25Return in foundry_cheatcodes::Vm - Rust
Asserts that two arrays of `string` values are equal and includes error message into revert string on failure. Container type for the return parameters of the...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.serializeBool_0Return.html
serializeBool_0Return in foundry_cheatcodes::Vm - Rust
See `serializeJson`. Container type for the return parameters of the `serializeBool(string,string,bool)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/inspector/macro.try_or_return.html
try_or_return in foundry_cheatcodes::inspector - Rust
API documentation for the Rust `try_or_return` macro in crate `foundry_cheatcodes`.
tryreturnfoundrycheatcodesinspector
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.eip712HashType_1Return.html
eip712HashType_1Return in foundry_cheatcodes::Vm - Rust
Generates the hash of the canonical EIP-712 type representation. Requires previous binding generation with `forge bind-json`.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.signDelegation_2Call.html
signDelegation_2Call in foundry_cheatcodes::Vm - Rust
Sign an EIP-7702 authorization for delegation, with optional cross-chain validity. Function with signature `signDelegation(address,uint256,bool)` and selector...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/evm/struct.NonceDiff.html
NonceDiff in foundry_cheatcodes::evm - Rust
foundrycheatcodesevmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/test/expect/struct.ExpectedRevert.html
ExpectedRevert in foundry_cheatcodes::test::expect - Rust
API documentation for the Rust `ExpectedRevert` struct in crate `foundry_cheatcodes`.
foundrycheatcodestestexpectrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.getArtifactPathByDeployedCodeReturn.html
getArtifactPathByDeployedCodeReturn in foundry_cheatcodes::Vm - Rust
Gets the artifact path from deployed code (aka. runtime code). Container type for the return parameters of the `getArtifactPathByDeployedCode(bytes)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.setArbitraryStorage_1Return.html
setArbitraryStorage_1Return in foundry_cheatcodes::Vm - Rust
Utility cheatcode to set arbitrary storage for given target address and overwrite any storage slots that have been previously set. Container type for the...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/crypto/fn.derive_key.html
derive_key in foundry_cheatcodes::crypto - Rust
API documentation for the Rust `derive_key` fn in crate `foundry_cheatcodes`.
derivekeyfoundrycheatcodescrypto
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.getBlobhashesCall.html
getBlobhashesCall in foundry_cheatcodes::Vm - Rust
Gets the blockhashes from the current transaction. Not available on EVM versions before Cancun. If used on unsupported EVM versions it will revert. Function...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/utils/fn.get_canonical_type_def.html
get_canonical_type_def in foundry_cheatcodes::utils - Rust
Returns EIP-712 canonical type definition from the provided string type representation or type name. If type name provided, then it looks up bindings from file...
getcanonicaltypedeffoundry
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.ensNamehashCall.html
ensNamehashCall in foundry_cheatcodes::Vm - Rust
Returns ENS namehash for provided string. Function with signature `ensNamehash(string)` and selector `0x8c374c65`.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.existsReturn.html
existsReturn in foundry_cheatcodes::Vm - Rust
Returns true if the given path points to an existing entity, else returns false. Container type for the return parameters of the `exists(string)` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/test/assert/fn.calc_delta_full.html
calc_delta_full in foundry_cheatcodes::test::assert - Rust
Calculates the relative delta for an absolute difference.
full incalcdeltafoundrycheatcodes
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.pauseGasMeteringReturn.html
pauseGasMeteringReturn in foundry_cheatcodes::Vm - Rust
Pauses gas metering (i.e. gas usage is not counted). Noop if already paused. Container type for the return parameters of the `pauseGasMetering()` function.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/test/revert_handlers/constant.DUMMY_CREATE_ADDRESS.html
DUMMY_CREATE_ADDRESS in foundry_cheatcodes::test::revert_handlers - Rust
Same reasoning as DUMMY_CALL_OUTPUT, but for creates.
dummycreateaddressfoundrycheatcodes
https://foundry-rs.github.io/foundry/foundry_cheatcodes/crypto/fn.sign_with_wallet.html
sign_with_wallet in foundry_cheatcodes::crypto - Rust
API documentation for the Rust `sign_with_wallet` fn in crate `foundry_cheatcodes`.
signwalletfoundrycheatcodescrypto
https://foundry-rs.github.io/foundry/foundry_cheatcodes/toml/fn.toml_to_json_value.html
toml_to_json_value in foundry_cheatcodes::toml - Rust
Convert a TOML value to a JSON value.
toml to jsonvaluefoundrycheatcodesrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.snapshotValue_0Return.html
snapshotValue_0Return in foundry_cheatcodes::Vm - Rust
Snapshot capture an arbitrary numerical value by name. The group name is derived from the contract name. Container type for the return parameters of the...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/test/expect/fn.expect_call.html
expect_call in foundry_cheatcodes::test::expect - Rust
Handles expected calls specified by the `expectCall` cheatcodes.
call inexpectfoundrycheatcodestest
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.envBytes32_1Call.html
envBytes32_1Call in foundry_cheatcodes::Vm - Rust
Gets the environment variable `name` and parses it as an array of `bytes32`, delimited by `delim`. Reverts if the variable was not found or could not be...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.expectRevert_9Return.html
expectRevert_9Return in foundry_cheatcodes::Vm - Rust
Expects a `count` number of reverts from the upcoming calls from the reverter address. Container type for the return parameters of the...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/fs/fn.latest_broadcast.html
latest_broadcast in foundry_cheatcodes::fs - Rust
API documentation for the Rust `latest_broadcast` fn in crate `foundry_cheatcodes`.
latest broadcastfoundrycheatcodesfsrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.allowCheatcodesCall.html
allowCheatcodesCall in foundry_cheatcodes::Vm - Rust
In forking mode, explicitly grant the given address cheatcode access. Function with signature `allowCheatcodes(address)` and selector `0xea060291`.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.accessListCall.html
accessListCall in foundry_cheatcodes::Vm - Rust
Utility cheatcode to set an EIP-2930 access list for all subsequent transactions. Function with signature `accessList((address,bytes32[])[])` and selector...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.rpcUrlsCall.html
rpcUrlsCall in foundry_cheatcodes::Vm - Rust
Returns all rpc urls and their aliases `[alias, url][]`. Function with signature `rpcUrls()` and selector `0xa85a8418`.
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.assertGtDecimal_0Call.html
assertGtDecimal_0Call in foundry_cheatcodes::Vm - Rust
Compares two `uint256` values. Expects first value to be greater than second. Formats values with decimals in failure message. Function with signature...
foundrycheatcodesvmrust
https://foundry-rs.github.io/foundry/foundry_cheatcodes/Vm/struct.parseTomlStringCall.html
parseTomlStringCall in foundry_cheatcodes::Vm - Rust
Parses a string of TOML data at `key` and coerces it to `string`. Function with signature `parseTomlString(string,string)` and selector `0x8bb8dd43`.
foundrycheatcodesvmrust