foundry_cheatcodes_spec::Vm

Enum VmCalls

Source
pub enum VmCalls {
Show 493 variants addr(addrCall), dumpState(dumpStateCall), getNonce_0(getNonce_0Call), getNonce_1(getNonce_1Call), load(loadCall), loadAllocs(loadAllocsCall), startDebugTraceRecording(startDebugTraceRecordingCall), stopAndReturnDebugTraceRecording(stopAndReturnDebugTraceRecordingCall), cloneAccount(cloneAccountCall), record(recordCall), accesses(accessesCall), startStateDiffRecording(startStateDiffRecordingCall), stopAndReturnStateDiff(stopAndReturnStateDiffCall), getStateDiff(getStateDiffCall), getStateDiffJson(getStateDiffJsonCall), startMappingRecording(startMappingRecordingCall), stopMappingRecording(stopMappingRecordingCall), getMappingLength(getMappingLengthCall), getMappingSlotAt(getMappingSlotAtCall), getMappingKeyAndParentOf(getMappingKeyAndParentOfCall), chainId(chainIdCall), coinbase(coinbaseCall), difficulty(difficultyCall), fee(feeCall), prevrandao_0(prevrandao_0Call), prevrandao_1(prevrandao_1Call), blobhashes(blobhashesCall), getBlobhashes(getBlobhashesCall), roll(rollCall), getBlockNumber(getBlockNumberCall), txGasPrice(txGasPriceCall), warp(warpCall), getBlockTimestamp(getBlockTimestampCall), blobBaseFee(blobBaseFeeCall), getBlobBaseFee(getBlobBaseFeeCall), setBlockhash(setBlockhashCall), deal(dealCall), etch(etchCall), resetNonce(resetNonceCall), setNonce(setNonceCall), setNonceUnsafe(setNonceUnsafeCall), store(storeCall), cool(coolCall), clearMockedCalls(clearMockedCallsCall), mockCall_0(mockCall_0Call), mockCall_1(mockCall_1Call), mockCall_2(mockCall_2Call), mockCall_3(mockCall_3Call), mockCalls_0(mockCalls_0Call), mockCalls_1(mockCalls_1Call), mockCallRevert_0(mockCallRevert_0Call), mockCallRevert_1(mockCallRevert_1Call), mockCallRevert_2(mockCallRevert_2Call), mockCallRevert_3(mockCallRevert_3Call), mockFunction(mockFunctionCall), prank_0(prank_0Call), startPrank_0(startPrank_0Call), prank_1(prank_1Call), startPrank_1(startPrank_1Call), prank_2(prank_2Call), startPrank_2(startPrank_2Call), prank_3(prank_3Call), startPrank_3(startPrank_3Call), stopPrank(stopPrankCall), readCallers(readCallersCall), snapshotValue_0(snapshotValue_0Call), snapshotValue_1(snapshotValue_1Call), snapshotGasLastCall_0(snapshotGasLastCall_0Call), snapshotGasLastCall_1(snapshotGasLastCall_1Call), startSnapshotGas_0(startSnapshotGas_0Call), startSnapshotGas_1(startSnapshotGas_1Call), stopSnapshotGas_0(stopSnapshotGas_0Call), stopSnapshotGas_1(stopSnapshotGas_1Call), stopSnapshotGas_2(stopSnapshotGas_2Call), snapshot(snapshotCall), snapshotState(snapshotStateCall), revertTo(revertToCall), revertToState(revertToStateCall), revertToAndDelete(revertToAndDeleteCall), revertToStateAndDelete(revertToStateAndDeleteCall), deleteSnapshot(deleteSnapshotCall), deleteStateSnapshot(deleteStateSnapshotCall), deleteSnapshots(deleteSnapshotsCall), deleteStateSnapshots(deleteStateSnapshotsCall), activeFork(activeForkCall), createFork_0(createFork_0Call), createFork_1(createFork_1Call), createFork_2(createFork_2Call), createSelectFork_0(createSelectFork_0Call), createSelectFork_1(createSelectFork_1Call), createSelectFork_2(createSelectFork_2Call), rollFork_0(rollFork_0Call), rollFork_1(rollFork_1Call), rollFork_2(rollFork_2Call), rollFork_3(rollFork_3Call), selectFork(selectForkCall), transact_0(transact_0Call), transact_1(transact_1Call), rpc_0(rpc_0Call), rpc_1(rpc_1Call), eth_getLogs(eth_getLogsCall), allowCheatcodes(allowCheatcodesCall), makePersistent_0(makePersistent_0Call), makePersistent_1(makePersistent_1Call), makePersistent_2(makePersistent_2Call), makePersistent_3(makePersistent_3Call), revokePersistent_0(revokePersistent_0Call), revokePersistent_1(revokePersistent_1Call), isPersistent(isPersistentCall), recordLogs(recordLogsCall), getRecordedLogs(getRecordedLogsCall), pauseGasMetering(pauseGasMeteringCall), resumeGasMetering(resumeGasMeteringCall), resetGasMetering(resetGasMeteringCall), lastCallGas(lastCallGasCall), assume(assumeCall), assumeNoRevert(assumeNoRevertCall), breakpoint_0(breakpoint_0Call), breakpoint_1(breakpoint_1Call), getFoundryVersion(getFoundryVersionCall), rpcUrl(rpcUrlCall), rpcUrls(rpcUrlsCall), rpcUrlStructs(rpcUrlStructsCall), sleep(sleepCall), expectCall_0(expectCall_0Call), expectCall_1(expectCall_1Call), expectCall_2(expectCall_2Call), expectCall_3(expectCall_3Call), expectCall_4(expectCall_4Call), expectCall_5(expectCall_5Call), expectCallMinGas_0(expectCallMinGas_0Call), expectCallMinGas_1(expectCallMinGas_1Call), expectEmit_0(expectEmit_0Call), expectEmit_1(expectEmit_1Call), expectEmit_2(expectEmit_2Call), expectEmit_3(expectEmit_3Call), expectEmit_4(expectEmit_4Call), expectEmit_5(expectEmit_5Call), expectEmit_6(expectEmit_6Call), expectEmit_7(expectEmit_7Call), expectEmitAnonymous_0(expectEmitAnonymous_0Call), expectEmitAnonymous_1(expectEmitAnonymous_1Call), expectEmitAnonymous_2(expectEmitAnonymous_2Call), expectEmitAnonymous_3(expectEmitAnonymous_3Call), expectRevert_0(expectRevert_0Call), expectRevert_1(expectRevert_1Call), expectRevert_2(expectRevert_2Call), expectRevert_3(expectRevert_3Call), expectRevert_4(expectRevert_4Call), expectRevert_5(expectRevert_5Call), expectRevert_6(expectRevert_6Call), expectRevert_7(expectRevert_7Call), expectRevert_8(expectRevert_8Call), expectRevert_9(expectRevert_9Call), expectRevert_10(expectRevert_10Call), expectRevert_11(expectRevert_11Call), expectPartialRevert_0(expectPartialRevert_0Call), expectPartialRevert_1(expectPartialRevert_1Call), _expectCheatcodeRevert_0(_expectCheatcodeRevert_0Call), _expectCheatcodeRevert_1(_expectCheatcodeRevert_1Call), _expectCheatcodeRevert_2(_expectCheatcodeRevert_2Call), expectSafeMemory(expectSafeMemoryCall), stopExpectSafeMemory(stopExpectSafeMemoryCall), expectSafeMemoryCall(expectSafeMemoryCallCall), skip_0(skip_0Call), skip_1(skip_1Call), assertTrue_0(assertTrue_0Call), assertTrue_1(assertTrue_1Call), assertFalse_0(assertFalse_0Call), assertFalse_1(assertFalse_1Call), assertEq_0(assertEq_0Call), assertEq_1(assertEq_1Call), assertEq_2(assertEq_2Call), assertEq_3(assertEq_3Call), assertEq_4(assertEq_4Call), assertEq_5(assertEq_5Call), assertEq_6(assertEq_6Call), assertEq_7(assertEq_7Call), assertEq_8(assertEq_8Call), assertEq_9(assertEq_9Call), assertEq_10(assertEq_10Call), assertEq_11(assertEq_11Call), assertEq_12(assertEq_12Call), assertEq_13(assertEq_13Call), assertEq_14(assertEq_14Call), assertEq_15(assertEq_15Call), assertEq_16(assertEq_16Call), assertEq_17(assertEq_17Call), assertEq_18(assertEq_18Call), assertEq_19(assertEq_19Call), assertEq_20(assertEq_20Call), assertEq_21(assertEq_21Call), assertEq_22(assertEq_22Call), assertEq_23(assertEq_23Call), assertEq_24(assertEq_24Call), assertEq_25(assertEq_25Call), assertEq_26(assertEq_26Call), assertEq_27(assertEq_27Call), assertEqDecimal_0(assertEqDecimal_0Call), assertEqDecimal_1(assertEqDecimal_1Call), assertEqDecimal_2(assertEqDecimal_2Call), assertEqDecimal_3(assertEqDecimal_3Call), assertNotEq_0(assertNotEq_0Call), assertNotEq_1(assertNotEq_1Call), assertNotEq_2(assertNotEq_2Call), assertNotEq_3(assertNotEq_3Call), assertNotEq_4(assertNotEq_4Call), assertNotEq_5(assertNotEq_5Call), assertNotEq_6(assertNotEq_6Call), assertNotEq_7(assertNotEq_7Call), assertNotEq_8(assertNotEq_8Call), assertNotEq_9(assertNotEq_9Call), assertNotEq_10(assertNotEq_10Call), assertNotEq_11(assertNotEq_11Call), assertNotEq_12(assertNotEq_12Call), assertNotEq_13(assertNotEq_13Call), assertNotEq_14(assertNotEq_14Call), assertNotEq_15(assertNotEq_15Call), assertNotEq_16(assertNotEq_16Call), assertNotEq_17(assertNotEq_17Call), assertNotEq_18(assertNotEq_18Call), assertNotEq_19(assertNotEq_19Call), assertNotEq_20(assertNotEq_20Call), assertNotEq_21(assertNotEq_21Call), assertNotEq_22(assertNotEq_22Call), assertNotEq_23(assertNotEq_23Call), assertNotEq_24(assertNotEq_24Call), assertNotEq_25(assertNotEq_25Call), assertNotEq_26(assertNotEq_26Call), assertNotEq_27(assertNotEq_27Call), assertNotEqDecimal_0(assertNotEqDecimal_0Call), assertNotEqDecimal_1(assertNotEqDecimal_1Call), assertNotEqDecimal_2(assertNotEqDecimal_2Call), assertNotEqDecimal_3(assertNotEqDecimal_3Call), assertGt_0(assertGt_0Call), assertGt_1(assertGt_1Call), assertGt_2(assertGt_2Call), assertGt_3(assertGt_3Call), assertGtDecimal_0(assertGtDecimal_0Call), assertGtDecimal_1(assertGtDecimal_1Call), assertGtDecimal_2(assertGtDecimal_2Call), assertGtDecimal_3(assertGtDecimal_3Call), assertGe_0(assertGe_0Call), assertGe_1(assertGe_1Call), assertGe_2(assertGe_2Call), assertGe_3(assertGe_3Call), assertGeDecimal_0(assertGeDecimal_0Call), assertGeDecimal_1(assertGeDecimal_1Call), assertGeDecimal_2(assertGeDecimal_2Call), assertGeDecimal_3(assertGeDecimal_3Call), assertLt_0(assertLt_0Call), assertLt_1(assertLt_1Call), assertLt_2(assertLt_2Call), assertLt_3(assertLt_3Call), assertLtDecimal_0(assertLtDecimal_0Call), assertLtDecimal_1(assertLtDecimal_1Call), assertLtDecimal_2(assertLtDecimal_2Call), assertLtDecimal_3(assertLtDecimal_3Call), assertLe_0(assertLe_0Call), assertLe_1(assertLe_1Call), assertLe_2(assertLe_2Call), assertLe_3(assertLe_3Call), assertLeDecimal_0(assertLeDecimal_0Call), assertLeDecimal_1(assertLeDecimal_1Call), assertLeDecimal_2(assertLeDecimal_2Call), assertLeDecimal_3(assertLeDecimal_3Call), assertApproxEqAbs_0(assertApproxEqAbs_0Call), assertApproxEqAbs_1(assertApproxEqAbs_1Call), assertApproxEqAbs_2(assertApproxEqAbs_2Call), assertApproxEqAbs_3(assertApproxEqAbs_3Call), assertApproxEqAbsDecimal_0(assertApproxEqAbsDecimal_0Call), assertApproxEqAbsDecimal_1(assertApproxEqAbsDecimal_1Call), assertApproxEqAbsDecimal_2(assertApproxEqAbsDecimal_2Call), assertApproxEqAbsDecimal_3(assertApproxEqAbsDecimal_3Call), assertApproxEqRel_0(assertApproxEqRel_0Call), assertApproxEqRel_1(assertApproxEqRel_1Call), assertApproxEqRel_2(assertApproxEqRel_2Call), assertApproxEqRel_3(assertApproxEqRel_3Call), assertApproxEqRelDecimal_0(assertApproxEqRelDecimal_0Call), assertApproxEqRelDecimal_1(assertApproxEqRelDecimal_1Call), assertApproxEqRelDecimal_2(assertApproxEqRelDecimal_2Call), assertApproxEqRelDecimal_3(assertApproxEqRelDecimal_3Call), exists(existsCall), fsMetadata(fsMetadataCall), isDir(isDirCall), isFile(isFileCall), projectRoot(projectRootCall), unixTime(unixTimeCall), closeFile(closeFileCall), copyFile(copyFileCall), createDir(createDirCall), readDir_0(readDir_0Call), readDir_1(readDir_1Call), readDir_2(readDir_2Call), readFile(readFileCall), readFileBinary(readFileBinaryCall), readLine(readLineCall), readLink(readLinkCall), removeDir(removeDirCall), removeFile(removeFileCall), writeFile(writeFileCall), writeFileBinary(writeFileBinaryCall), writeLine(writeLineCall), getArtifactPathByCode(getArtifactPathByCodeCall), getArtifactPathByDeployedCode(getArtifactPathByDeployedCodeCall), getCode(getCodeCall), deployCode_0(deployCode_0Call), deployCode_1(deployCode_1Call), getDeployedCode(getDeployedCodeCall), getBroadcast(getBroadcastCall), getBroadcasts_0(getBroadcasts_0Call), getBroadcasts_1(getBroadcasts_1Call), getDeployment_0(getDeployment_0Call), getDeployment_1(getDeployment_1Call), getDeployments(getDeploymentsCall), ffi(ffiCall), tryFfi(tryFfiCall), prompt(promptCall), promptSecret(promptSecretCall), promptSecretUint(promptSecretUintCall), promptAddress(promptAddressCall), promptUint(promptUintCall), setEnv(setEnvCall), envExists(envExistsCall), envBool_0(envBool_0Call), envUint_0(envUint_0Call), envInt_0(envInt_0Call), envAddress_0(envAddress_0Call), envBytes32_0(envBytes32_0Call), envString_0(envString_0Call), envBytes_0(envBytes_0Call), envBool_1(envBool_1Call), envUint_1(envUint_1Call), envInt_1(envInt_1Call), envAddress_1(envAddress_1Call), envBytes32_1(envBytes32_1Call), envString_1(envString_1Call), envBytes_1(envBytes_1Call), envOr_0(envOr_0Call), envOr_1(envOr_1Call), envOr_2(envOr_2Call), envOr_3(envOr_3Call), envOr_4(envOr_4Call), envOr_5(envOr_5Call), envOr_6(envOr_6Call), envOr_7(envOr_7Call), envOr_8(envOr_8Call), envOr_9(envOr_9Call), envOr_10(envOr_10Call), envOr_11(envOr_11Call), envOr_12(envOr_12Call), envOr_13(envOr_13Call), isContext(isContextCall), broadcast_0(broadcast_0Call), broadcast_1(broadcast_1Call), broadcast_2(broadcast_2Call), startBroadcast_0(startBroadcast_0Call), startBroadcast_1(startBroadcast_1Call), startBroadcast_2(startBroadcast_2Call), stopBroadcast(stopBroadcastCall), broadcastRawTransaction(broadcastRawTransactionCall), signDelegation(signDelegationCall), attachDelegation(attachDelegationCall), signAndAttachDelegation(signAndAttachDelegationCall), getWallets(getWalletsCall), toString_0(toString_0Call), toString_1(toString_1Call), toString_2(toString_2Call), toString_3(toString_3Call), toString_4(toString_4Call), toString_5(toString_5Call), parseBytes(parseBytesCall), parseAddress(parseAddressCall), parseUint(parseUintCall), parseInt(parseIntCall), parseBytes32(parseBytes32Call), parseBool(parseBoolCall), toLowercase(toLowercaseCall), toUppercase(toUppercaseCall), trim(trimCall), replace(replaceCall), split(splitCall), indexOf(indexOfCall), contains(containsCall), keyExists(keyExistsCall), keyExistsJson(keyExistsJsonCall), parseJson_0(parseJson_0Call), parseJson_1(parseJson_1Call), parseJsonUint(parseJsonUintCall), parseJsonUintArray(parseJsonUintArrayCall), parseJsonInt(parseJsonIntCall), parseJsonIntArray(parseJsonIntArrayCall), parseJsonBool(parseJsonBoolCall), parseJsonBoolArray(parseJsonBoolArrayCall), parseJsonAddress(parseJsonAddressCall), parseJsonAddressArray(parseJsonAddressArrayCall), parseJsonString(parseJsonStringCall), parseJsonStringArray(parseJsonStringArrayCall), parseJsonBytes(parseJsonBytesCall), parseJsonBytesArray(parseJsonBytesArrayCall), parseJsonBytes32(parseJsonBytes32Call), parseJsonBytes32Array(parseJsonBytes32ArrayCall), parseJsonType_0(parseJsonType_0Call), parseJsonType_1(parseJsonType_1Call), parseJsonTypeArray(parseJsonTypeArrayCall), parseJsonKeys(parseJsonKeysCall), serializeJson(serializeJsonCall), serializeBool_0(serializeBool_0Call), serializeUint_0(serializeUint_0Call), serializeUintToHex(serializeUintToHexCall), serializeInt_0(serializeInt_0Call), serializeAddress_0(serializeAddress_0Call), serializeBytes32_0(serializeBytes32_0Call), serializeString_0(serializeString_0Call), serializeBytes_0(serializeBytes_0Call), serializeBool_1(serializeBool_1Call), serializeUint_1(serializeUint_1Call), serializeInt_1(serializeInt_1Call), serializeAddress_1(serializeAddress_1Call), serializeBytes32_1(serializeBytes32_1Call), serializeString_1(serializeString_1Call), serializeBytes_1(serializeBytes_1Call), serializeJsonType_0(serializeJsonType_0Call), serializeJsonType_1(serializeJsonType_1Call), writeJson_0(writeJson_0Call), writeJson_1(writeJson_1Call), keyExistsToml(keyExistsTomlCall), parseToml_0(parseToml_0Call), parseToml_1(parseToml_1Call), parseTomlUint(parseTomlUintCall), parseTomlUintArray(parseTomlUintArrayCall), parseTomlInt(parseTomlIntCall), parseTomlIntArray(parseTomlIntArrayCall), parseTomlBool(parseTomlBoolCall), parseTomlBoolArray(parseTomlBoolArrayCall), parseTomlAddress(parseTomlAddressCall), parseTomlAddressArray(parseTomlAddressArrayCall), parseTomlString(parseTomlStringCall), parseTomlStringArray(parseTomlStringArrayCall), parseTomlBytes(parseTomlBytesCall), parseTomlBytesArray(parseTomlBytesArrayCall), parseTomlBytes32(parseTomlBytes32Call), parseTomlBytes32Array(parseTomlBytes32ArrayCall), parseTomlType_0(parseTomlType_0Call), parseTomlType_1(parseTomlType_1Call), parseTomlTypeArray(parseTomlTypeArrayCall), parseTomlKeys(parseTomlKeysCall), writeToml_0(writeToml_0Call), writeToml_1(writeToml_1Call), createWallet_0(createWallet_0Call), createWallet_1(createWallet_1Call), createWallet_2(createWallet_2Call), sign_0(sign_0Call), signCompact_0(signCompact_0Call), sign_1(sign_1Call), signCompact_1(signCompact_1Call), sign_2(sign_2Call), signCompact_2(signCompact_2Call), sign_3(sign_3Call), signCompact_3(signCompact_3Call), signP256(signP256Call), publicKeyP256(publicKeyP256Call), deriveKey_0(deriveKey_0Call), deriveKey_1(deriveKey_1Call), deriveKey_2(deriveKey_2Call), deriveKey_3(deriveKey_3Call), rememberKey(rememberKeyCall), rememberKeys_0(rememberKeys_0Call), rememberKeys_1(rememberKeys_1Call), label(labelCall), getLabel(getLabelCall), computeCreateAddress(computeCreateAddressCall), computeCreate2Address_0(computeCreate2Address_0Call), computeCreate2Address_1(computeCreate2Address_1Call), toBase64_0(toBase64_0Call), toBase64_1(toBase64_1Call), toBase64URL_0(toBase64URL_0Call), toBase64URL_1(toBase64URL_1Call), ensNamehash(ensNamehashCall), randomUint_0(randomUint_0Call), randomUint_1(randomUint_1Call), randomUint_2(randomUint_2Call), randomAddress(randomAddressCall), randomInt_0(randomInt_0Call), randomInt_1(randomInt_1Call), randomBool(randomBoolCall), randomBytes(randomBytesCall), randomBytes4(randomBytes4Call), randomBytes8(randomBytes8Call), pauseTracing(pauseTracingCall), resumeTracing(resumeTracingCall), copyStorage(copyStorageCall), setArbitraryStorage(setArbitraryStorageCall),
}
Expand description

Container for all the Vm function calls.

Variants§

§

addr(addrCall)

§

dumpState(dumpStateCall)

§

getNonce_0(getNonce_0Call)

§

getNonce_1(getNonce_1Call)

§

load(loadCall)

§

loadAllocs(loadAllocsCall)

§

startDebugTraceRecording(startDebugTraceRecordingCall)

§

stopAndReturnDebugTraceRecording(stopAndReturnDebugTraceRecordingCall)

§

cloneAccount(cloneAccountCall)

§

record(recordCall)

§

accesses(accessesCall)

§

startStateDiffRecording(startStateDiffRecordingCall)

§

stopAndReturnStateDiff(stopAndReturnStateDiffCall)

§

getStateDiff(getStateDiffCall)

§

getStateDiffJson(getStateDiffJsonCall)

§

startMappingRecording(startMappingRecordingCall)

§

stopMappingRecording(stopMappingRecordingCall)

§

getMappingLength(getMappingLengthCall)

§

getMappingSlotAt(getMappingSlotAtCall)

§

getMappingKeyAndParentOf(getMappingKeyAndParentOfCall)

§

chainId(chainIdCall)

§

coinbase(coinbaseCall)

§

difficulty(difficultyCall)

§

fee(feeCall)

§

prevrandao_0(prevrandao_0Call)

§

prevrandao_1(prevrandao_1Call)

§

blobhashes(blobhashesCall)

§

getBlobhashes(getBlobhashesCall)

§

roll(rollCall)

§

getBlockNumber(getBlockNumberCall)

§

txGasPrice(txGasPriceCall)

§

warp(warpCall)

§

getBlockTimestamp(getBlockTimestampCall)

§

blobBaseFee(blobBaseFeeCall)

§

getBlobBaseFee(getBlobBaseFeeCall)

§

setBlockhash(setBlockhashCall)

§

deal(dealCall)

§

etch(etchCall)

§

resetNonce(resetNonceCall)

§

setNonce(setNonceCall)

§

setNonceUnsafe(setNonceUnsafeCall)

§

store(storeCall)

§

cool(coolCall)

§

clearMockedCalls(clearMockedCallsCall)

§

mockCall_0(mockCall_0Call)

§

mockCall_1(mockCall_1Call)

§

mockCall_2(mockCall_2Call)

§

mockCall_3(mockCall_3Call)

§

mockCalls_0(mockCalls_0Call)

§

mockCalls_1(mockCalls_1Call)

§

mockCallRevert_0(mockCallRevert_0Call)

§

mockCallRevert_1(mockCallRevert_1Call)

§

mockCallRevert_2(mockCallRevert_2Call)

§

mockCallRevert_3(mockCallRevert_3Call)

§

mockFunction(mockFunctionCall)

§

prank_0(prank_0Call)

§

startPrank_0(startPrank_0Call)

§

prank_1(prank_1Call)

§

startPrank_1(startPrank_1Call)

§

prank_2(prank_2Call)

§

startPrank_2(startPrank_2Call)

§

prank_3(prank_3Call)

§

startPrank_3(startPrank_3Call)

§

stopPrank(stopPrankCall)

§

readCallers(readCallersCall)

§

snapshotValue_0(snapshotValue_0Call)

§

snapshotValue_1(snapshotValue_1Call)

§

snapshotGasLastCall_0(snapshotGasLastCall_0Call)

§

snapshotGasLastCall_1(snapshotGasLastCall_1Call)

§

startSnapshotGas_0(startSnapshotGas_0Call)

§

startSnapshotGas_1(startSnapshotGas_1Call)

§

stopSnapshotGas_0(stopSnapshotGas_0Call)

§

stopSnapshotGas_1(stopSnapshotGas_1Call)

§

stopSnapshotGas_2(stopSnapshotGas_2Call)

§

snapshot(snapshotCall)

§

snapshotState(snapshotStateCall)

§

revertTo(revertToCall)

§

revertToState(revertToStateCall)

§

revertToAndDelete(revertToAndDeleteCall)

§

revertToStateAndDelete(revertToStateAndDeleteCall)

§

deleteSnapshot(deleteSnapshotCall)

§

deleteStateSnapshot(deleteStateSnapshotCall)

§

deleteSnapshots(deleteSnapshotsCall)

§

deleteStateSnapshots(deleteStateSnapshotsCall)

§

activeFork(activeForkCall)

§

createFork_0(createFork_0Call)

§

createFork_1(createFork_1Call)

§

createFork_2(createFork_2Call)

§

createSelectFork_0(createSelectFork_0Call)

§

createSelectFork_1(createSelectFork_1Call)

§

createSelectFork_2(createSelectFork_2Call)

§

rollFork_0(rollFork_0Call)

§

rollFork_1(rollFork_1Call)

§

rollFork_2(rollFork_2Call)

§

rollFork_3(rollFork_3Call)

§

selectFork(selectForkCall)

§

transact_0(transact_0Call)

§

transact_1(transact_1Call)

§

rpc_0(rpc_0Call)

§

rpc_1(rpc_1Call)

§

eth_getLogs(eth_getLogsCall)

§

allowCheatcodes(allowCheatcodesCall)

§

makePersistent_0(makePersistent_0Call)

§

makePersistent_1(makePersistent_1Call)

§

makePersistent_2(makePersistent_2Call)

§

makePersistent_3(makePersistent_3Call)

§

revokePersistent_0(revokePersistent_0Call)

§

revokePersistent_1(revokePersistent_1Call)

§

isPersistent(isPersistentCall)

§

recordLogs(recordLogsCall)

§

getRecordedLogs(getRecordedLogsCall)

§

pauseGasMetering(pauseGasMeteringCall)

§

resumeGasMetering(resumeGasMeteringCall)

§

resetGasMetering(resetGasMeteringCall)

§

lastCallGas(lastCallGasCall)

§

assume(assumeCall)

§

assumeNoRevert(assumeNoRevertCall)

§

breakpoint_0(breakpoint_0Call)

§

breakpoint_1(breakpoint_1Call)

§

getFoundryVersion(getFoundryVersionCall)

§

rpcUrl(rpcUrlCall)

§

rpcUrls(rpcUrlsCall)

§

rpcUrlStructs(rpcUrlStructsCall)

§

sleep(sleepCall)

§

expectCall_0(expectCall_0Call)

§

expectCall_1(expectCall_1Call)

§

expectCall_2(expectCall_2Call)

§

expectCall_3(expectCall_3Call)

§

expectCall_4(expectCall_4Call)

§

expectCall_5(expectCall_5Call)

§

expectCallMinGas_0(expectCallMinGas_0Call)

§

expectCallMinGas_1(expectCallMinGas_1Call)

§

expectEmit_0(expectEmit_0Call)

§

expectEmit_1(expectEmit_1Call)

§

expectEmit_2(expectEmit_2Call)

§

expectEmit_3(expectEmit_3Call)

§

expectEmit_4(expectEmit_4Call)

§

expectEmit_5(expectEmit_5Call)

§

expectEmit_6(expectEmit_6Call)

§

expectEmit_7(expectEmit_7Call)

§

expectEmitAnonymous_0(expectEmitAnonymous_0Call)

§

expectEmitAnonymous_1(expectEmitAnonymous_1Call)

§

expectEmitAnonymous_2(expectEmitAnonymous_2Call)

§

expectEmitAnonymous_3(expectEmitAnonymous_3Call)

§

expectRevert_0(expectRevert_0Call)

§

expectRevert_1(expectRevert_1Call)

§

expectRevert_2(expectRevert_2Call)

§

expectRevert_3(expectRevert_3Call)

§

expectRevert_4(expectRevert_4Call)

§

expectRevert_5(expectRevert_5Call)

§

expectRevert_6(expectRevert_6Call)

§

expectRevert_7(expectRevert_7Call)

§

expectRevert_8(expectRevert_8Call)

§

expectRevert_9(expectRevert_9Call)

§

expectRevert_10(expectRevert_10Call)

§

expectRevert_11(expectRevert_11Call)

§

expectPartialRevert_0(expectPartialRevert_0Call)

§

expectPartialRevert_1(expectPartialRevert_1Call)

§

_expectCheatcodeRevert_0(_expectCheatcodeRevert_0Call)

§

_expectCheatcodeRevert_1(_expectCheatcodeRevert_1Call)

§

_expectCheatcodeRevert_2(_expectCheatcodeRevert_2Call)

§

expectSafeMemory(expectSafeMemoryCall)

§

stopExpectSafeMemory(stopExpectSafeMemoryCall)

§

expectSafeMemoryCall(expectSafeMemoryCallCall)

§

skip_0(skip_0Call)

§

skip_1(skip_1Call)

§

assertTrue_0(assertTrue_0Call)

§

assertTrue_1(assertTrue_1Call)

§

assertFalse_0(assertFalse_0Call)

§

assertFalse_1(assertFalse_1Call)

§

assertEq_0(assertEq_0Call)

§

assertEq_1(assertEq_1Call)

§

assertEq_2(assertEq_2Call)

§

assertEq_3(assertEq_3Call)

§

assertEq_4(assertEq_4Call)

§

assertEq_5(assertEq_5Call)

§

assertEq_6(assertEq_6Call)

§

assertEq_7(assertEq_7Call)

§

assertEq_8(assertEq_8Call)

§

assertEq_9(assertEq_9Call)

§

assertEq_10(assertEq_10Call)

§

assertEq_11(assertEq_11Call)

§

assertEq_12(assertEq_12Call)

§

assertEq_13(assertEq_13Call)

§

assertEq_14(assertEq_14Call)

§

assertEq_15(assertEq_15Call)

§

assertEq_16(assertEq_16Call)

§

assertEq_17(assertEq_17Call)

§

assertEq_18(assertEq_18Call)

§

assertEq_19(assertEq_19Call)

§

assertEq_20(assertEq_20Call)

§

assertEq_21(assertEq_21Call)

§

assertEq_22(assertEq_22Call)

§

assertEq_23(assertEq_23Call)

§

assertEq_24(assertEq_24Call)

§

assertEq_25(assertEq_25Call)

§

assertEq_26(assertEq_26Call)

§

assertEq_27(assertEq_27Call)

§

assertEqDecimal_0(assertEqDecimal_0Call)

§

assertEqDecimal_1(assertEqDecimal_1Call)

§

assertEqDecimal_2(assertEqDecimal_2Call)

§

assertEqDecimal_3(assertEqDecimal_3Call)

§

assertNotEq_0(assertNotEq_0Call)

§

assertNotEq_1(assertNotEq_1Call)

§

assertNotEq_2(assertNotEq_2Call)

§

assertNotEq_3(assertNotEq_3Call)

§

assertNotEq_4(assertNotEq_4Call)

§

assertNotEq_5(assertNotEq_5Call)

§

assertNotEq_6(assertNotEq_6Call)

§

assertNotEq_7(assertNotEq_7Call)

§

assertNotEq_8(assertNotEq_8Call)

§

assertNotEq_9(assertNotEq_9Call)

§

assertNotEq_10(assertNotEq_10Call)

§

assertNotEq_11(assertNotEq_11Call)

§

assertNotEq_12(assertNotEq_12Call)

§

assertNotEq_13(assertNotEq_13Call)

§

assertNotEq_14(assertNotEq_14Call)

§

assertNotEq_15(assertNotEq_15Call)

§

assertNotEq_16(assertNotEq_16Call)

§

assertNotEq_17(assertNotEq_17Call)

§

assertNotEq_18(assertNotEq_18Call)

§

assertNotEq_19(assertNotEq_19Call)

§

assertNotEq_20(assertNotEq_20Call)

§

assertNotEq_21(assertNotEq_21Call)

§

assertNotEq_22(assertNotEq_22Call)

§

assertNotEq_23(assertNotEq_23Call)

§

assertNotEq_24(assertNotEq_24Call)

§

assertNotEq_25(assertNotEq_25Call)

§

assertNotEq_26(assertNotEq_26Call)

§

assertNotEq_27(assertNotEq_27Call)

§

assertNotEqDecimal_0(assertNotEqDecimal_0Call)

§

assertNotEqDecimal_1(assertNotEqDecimal_1Call)

§

assertNotEqDecimal_2(assertNotEqDecimal_2Call)

§

assertNotEqDecimal_3(assertNotEqDecimal_3Call)

§

assertGt_0(assertGt_0Call)

§

assertGt_1(assertGt_1Call)

§

assertGt_2(assertGt_2Call)

§

assertGt_3(assertGt_3Call)

§

assertGtDecimal_0(assertGtDecimal_0Call)

§

assertGtDecimal_1(assertGtDecimal_1Call)

§

assertGtDecimal_2(assertGtDecimal_2Call)

§

assertGtDecimal_3(assertGtDecimal_3Call)

§

assertGe_0(assertGe_0Call)

§

assertGe_1(assertGe_1Call)

§

assertGe_2(assertGe_2Call)

§

assertGe_3(assertGe_3Call)

§

assertGeDecimal_0(assertGeDecimal_0Call)

§

assertGeDecimal_1(assertGeDecimal_1Call)

§

assertGeDecimal_2(assertGeDecimal_2Call)

§

assertGeDecimal_3(assertGeDecimal_3Call)

§

assertLt_0(assertLt_0Call)

§

assertLt_1(assertLt_1Call)

§

assertLt_2(assertLt_2Call)

§

assertLt_3(assertLt_3Call)

§

assertLtDecimal_0(assertLtDecimal_0Call)

§

assertLtDecimal_1(assertLtDecimal_1Call)

§

assertLtDecimal_2(assertLtDecimal_2Call)

§

assertLtDecimal_3(assertLtDecimal_3Call)

§

assertLe_0(assertLe_0Call)

§

assertLe_1(assertLe_1Call)

§

assertLe_2(assertLe_2Call)

§

assertLe_3(assertLe_3Call)

§

assertLeDecimal_0(assertLeDecimal_0Call)

§

assertLeDecimal_1(assertLeDecimal_1Call)

§

assertLeDecimal_2(assertLeDecimal_2Call)

§

assertLeDecimal_3(assertLeDecimal_3Call)

§

assertApproxEqAbs_0(assertApproxEqAbs_0Call)

§

assertApproxEqAbs_1(assertApproxEqAbs_1Call)

§

assertApproxEqAbs_2(assertApproxEqAbs_2Call)

§

assertApproxEqAbs_3(assertApproxEqAbs_3Call)

§

assertApproxEqAbsDecimal_0(assertApproxEqAbsDecimal_0Call)

§

assertApproxEqAbsDecimal_1(assertApproxEqAbsDecimal_1Call)

§

assertApproxEqAbsDecimal_2(assertApproxEqAbsDecimal_2Call)

§

assertApproxEqAbsDecimal_3(assertApproxEqAbsDecimal_3Call)

§

assertApproxEqRel_0(assertApproxEqRel_0Call)

§

assertApproxEqRel_1(assertApproxEqRel_1Call)

§

assertApproxEqRel_2(assertApproxEqRel_2Call)

§

assertApproxEqRel_3(assertApproxEqRel_3Call)

§

assertApproxEqRelDecimal_0(assertApproxEqRelDecimal_0Call)

§

assertApproxEqRelDecimal_1(assertApproxEqRelDecimal_1Call)

§

assertApproxEqRelDecimal_2(assertApproxEqRelDecimal_2Call)

§

assertApproxEqRelDecimal_3(assertApproxEqRelDecimal_3Call)

§

exists(existsCall)

§

fsMetadata(fsMetadataCall)

§

isDir(isDirCall)

§

isFile(isFileCall)

§

projectRoot(projectRootCall)

§

unixTime(unixTimeCall)

§

closeFile(closeFileCall)

§

copyFile(copyFileCall)

§

createDir(createDirCall)

§

readDir_0(readDir_0Call)

§

readDir_1(readDir_1Call)

§

readDir_2(readDir_2Call)

§

readFile(readFileCall)

§

readFileBinary(readFileBinaryCall)

§

readLine(readLineCall)

§

removeDir(removeDirCall)

§

removeFile(removeFileCall)

§

writeFile(writeFileCall)

§

writeFileBinary(writeFileBinaryCall)

§

writeLine(writeLineCall)

§

getArtifactPathByCode(getArtifactPathByCodeCall)

§

getArtifactPathByDeployedCode(getArtifactPathByDeployedCodeCall)

§

getCode(getCodeCall)

§

deployCode_0(deployCode_0Call)

§

deployCode_1(deployCode_1Call)

§

getDeployedCode(getDeployedCodeCall)

§

getBroadcast(getBroadcastCall)

§

getBroadcasts_0(getBroadcasts_0Call)

§

getBroadcasts_1(getBroadcasts_1Call)

§

getDeployment_0(getDeployment_0Call)

§

getDeployment_1(getDeployment_1Call)

§

getDeployments(getDeploymentsCall)

§

ffi(ffiCall)

§

tryFfi(tryFfiCall)

§

prompt(promptCall)

§

promptSecret(promptSecretCall)

§

promptSecretUint(promptSecretUintCall)

§

promptAddress(promptAddressCall)

§

promptUint(promptUintCall)

§

setEnv(setEnvCall)

§

envExists(envExistsCall)

§

envBool_0(envBool_0Call)

§

envUint_0(envUint_0Call)

§

envInt_0(envInt_0Call)

§

envAddress_0(envAddress_0Call)

§

envBytes32_0(envBytes32_0Call)

§

envString_0(envString_0Call)

§

envBytes_0(envBytes_0Call)

§

envBool_1(envBool_1Call)

§

envUint_1(envUint_1Call)

§

envInt_1(envInt_1Call)

§

envAddress_1(envAddress_1Call)

§

envBytes32_1(envBytes32_1Call)

§

envString_1(envString_1Call)

§

envBytes_1(envBytes_1Call)

§

envOr_0(envOr_0Call)

§

envOr_1(envOr_1Call)

§

envOr_2(envOr_2Call)

§

envOr_3(envOr_3Call)

§

envOr_4(envOr_4Call)

§

envOr_5(envOr_5Call)

§

envOr_6(envOr_6Call)

§

envOr_7(envOr_7Call)

§

envOr_8(envOr_8Call)

§

envOr_9(envOr_9Call)

§

envOr_10(envOr_10Call)

§

envOr_11(envOr_11Call)

§

envOr_12(envOr_12Call)

§

envOr_13(envOr_13Call)

§

isContext(isContextCall)

§

broadcast_0(broadcast_0Call)

§

broadcast_1(broadcast_1Call)

§

broadcast_2(broadcast_2Call)

§

startBroadcast_0(startBroadcast_0Call)

§

startBroadcast_1(startBroadcast_1Call)

§

startBroadcast_2(startBroadcast_2Call)

§

stopBroadcast(stopBroadcastCall)

§

broadcastRawTransaction(broadcastRawTransactionCall)

§

signDelegation(signDelegationCall)

§

attachDelegation(attachDelegationCall)

§

signAndAttachDelegation(signAndAttachDelegationCall)

§

getWallets(getWalletsCall)

§

toString_0(toString_0Call)

§

toString_1(toString_1Call)

§

toString_2(toString_2Call)

§

toString_3(toString_3Call)

§

toString_4(toString_4Call)

§

toString_5(toString_5Call)

§

parseBytes(parseBytesCall)

§

parseAddress(parseAddressCall)

§

parseUint(parseUintCall)

§

parseInt(parseIntCall)

§

parseBytes32(parseBytes32Call)

§

parseBool(parseBoolCall)

§

toLowercase(toLowercaseCall)

§

toUppercase(toUppercaseCall)

§

trim(trimCall)

§

replace(replaceCall)

§

split(splitCall)

§

indexOf(indexOfCall)

§

contains(containsCall)

§

keyExists(keyExistsCall)

§

keyExistsJson(keyExistsJsonCall)

§

parseJson_0(parseJson_0Call)

§

parseJson_1(parseJson_1Call)

§

parseJsonUint(parseJsonUintCall)

§

parseJsonUintArray(parseJsonUintArrayCall)

§

parseJsonInt(parseJsonIntCall)

§

parseJsonIntArray(parseJsonIntArrayCall)

§

parseJsonBool(parseJsonBoolCall)

§

parseJsonBoolArray(parseJsonBoolArrayCall)

§

parseJsonAddress(parseJsonAddressCall)

§

parseJsonAddressArray(parseJsonAddressArrayCall)

§

parseJsonString(parseJsonStringCall)

§

parseJsonStringArray(parseJsonStringArrayCall)

§

parseJsonBytes(parseJsonBytesCall)

§

parseJsonBytesArray(parseJsonBytesArrayCall)

§

parseJsonBytes32(parseJsonBytes32Call)

§

parseJsonBytes32Array(parseJsonBytes32ArrayCall)

§

parseJsonType_0(parseJsonType_0Call)

§

parseJsonType_1(parseJsonType_1Call)

§

parseJsonTypeArray(parseJsonTypeArrayCall)

§

parseJsonKeys(parseJsonKeysCall)

§

serializeJson(serializeJsonCall)

§

serializeBool_0(serializeBool_0Call)

§

serializeUint_0(serializeUint_0Call)

§

serializeUintToHex(serializeUintToHexCall)

§

serializeInt_0(serializeInt_0Call)

§

serializeAddress_0(serializeAddress_0Call)

§

serializeBytes32_0(serializeBytes32_0Call)

§

serializeString_0(serializeString_0Call)

§

serializeBytes_0(serializeBytes_0Call)

§

serializeBool_1(serializeBool_1Call)

§

serializeUint_1(serializeUint_1Call)

§

serializeInt_1(serializeInt_1Call)

§

serializeAddress_1(serializeAddress_1Call)

§

serializeBytes32_1(serializeBytes32_1Call)

§

serializeString_1(serializeString_1Call)

§

serializeBytes_1(serializeBytes_1Call)

§

serializeJsonType_0(serializeJsonType_0Call)

§

serializeJsonType_1(serializeJsonType_1Call)

§

writeJson_0(writeJson_0Call)

§

writeJson_1(writeJson_1Call)

§

keyExistsToml(keyExistsTomlCall)

§

parseToml_0(parseToml_0Call)

§

parseToml_1(parseToml_1Call)

§

parseTomlUint(parseTomlUintCall)

§

parseTomlUintArray(parseTomlUintArrayCall)

§

parseTomlInt(parseTomlIntCall)

§

parseTomlIntArray(parseTomlIntArrayCall)

§

parseTomlBool(parseTomlBoolCall)

§

parseTomlBoolArray(parseTomlBoolArrayCall)

§

parseTomlAddress(parseTomlAddressCall)

§

parseTomlAddressArray(parseTomlAddressArrayCall)

§

parseTomlString(parseTomlStringCall)

§

parseTomlStringArray(parseTomlStringArrayCall)

§

parseTomlBytes(parseTomlBytesCall)

§

parseTomlBytesArray(parseTomlBytesArrayCall)

§

parseTomlBytes32(parseTomlBytes32Call)

§

parseTomlBytes32Array(parseTomlBytes32ArrayCall)

§

parseTomlType_0(parseTomlType_0Call)

§

parseTomlType_1(parseTomlType_1Call)

§

parseTomlTypeArray(parseTomlTypeArrayCall)

§

parseTomlKeys(parseTomlKeysCall)

§

writeToml_0(writeToml_0Call)

§

writeToml_1(writeToml_1Call)

§

createWallet_0(createWallet_0Call)

§

createWallet_1(createWallet_1Call)

§

createWallet_2(createWallet_2Call)

§

sign_0(sign_0Call)

§

signCompact_0(signCompact_0Call)

§

sign_1(sign_1Call)

§

signCompact_1(signCompact_1Call)

§

sign_2(sign_2Call)

§

signCompact_2(signCompact_2Call)

§

sign_3(sign_3Call)

§

signCompact_3(signCompact_3Call)

§

signP256(signP256Call)

§

publicKeyP256(publicKeyP256Call)

§

deriveKey_0(deriveKey_0Call)

§

deriveKey_1(deriveKey_1Call)

§

deriveKey_2(deriveKey_2Call)

§

deriveKey_3(deriveKey_3Call)

§

rememberKey(rememberKeyCall)

§

rememberKeys_0(rememberKeys_0Call)

§

rememberKeys_1(rememberKeys_1Call)

§

label(labelCall)

§

getLabel(getLabelCall)

§

computeCreateAddress(computeCreateAddressCall)

§

computeCreate2Address_0(computeCreate2Address_0Call)

§

computeCreate2Address_1(computeCreate2Address_1Call)

§

toBase64_0(toBase64_0Call)

§

toBase64_1(toBase64_1Call)

§

toBase64URL_0(toBase64URL_0Call)

§

toBase64URL_1(toBase64URL_1Call)

§

ensNamehash(ensNamehashCall)

§

randomUint_0(randomUint_0Call)

§

randomUint_1(randomUint_1Call)

§

randomUint_2(randomUint_2Call)

§

randomAddress(randomAddressCall)

§

randomInt_0(randomInt_0Call)

§

randomInt_1(randomInt_1Call)

§

randomBool(randomBoolCall)

§

randomBytes(randomBytesCall)

§

randomBytes4(randomBytes4Call)

§

randomBytes8(randomBytes8Call)

§

pauseTracing(pauseTracingCall)

§

resumeTracing(resumeTracingCall)

§

copyStorage(copyStorageCall)

§

setArbitraryStorage(setArbitraryStorageCall)

Implementations§

Source§

impl VmCalls

Source

pub const SELECTORS: &'static [[u8; 4]]

All the selectors of this enum.

Note that the selectors might not be in the same order as the variants. No guarantees are made about the order of the selectors.

Prefer using SolInterface methods instead.

Trait Implementations§

Source§

impl Debug for VmCalls

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl SolInterface for VmCalls

Source§

const NAME: &'static str = "VmCalls"

The name of this type.
Source§

const MIN_DATA_LENGTH: usize = 0usize

The minimum length of the data for this type. Read more
Source§

const COUNT: usize = 493usize

The number of variants.
Source§

fn selector(&self) -> [u8; 4]

The selector of this instance.
Source§

fn selector_at(i: usize) -> Option<[u8; 4]>

The selector of this type at the given index, used in selectors. Read more
Source§

fn valid_selector(selector: [u8; 4]) -> bool

Returns true if the given selector is known to this type.
Source§

fn abi_decode_raw( selector: [u8; 4], data: &[u8], validate: bool, ) -> Result<Self>

ABI-decodes the given data into one of the variants of self.
Source§

fn abi_encoded_size(&self) -> usize

The size of the encoded data, without any selectors.
Source§

fn abi_encode_raw(&self, out: &mut Vec<u8>)

ABI-encodes self into the given buffer, without any selectors.
§

fn type_check(selector: [u8; 4]) -> Result<(), Error>

Returns an error if the given selector is not known to this type.
§

fn selectors() -> Selectors<Self>

Returns an iterator over the selectors of this type.
§

fn abi_encode(&self) -> Vec<u8>

ABI-encodes self into the given buffer.
§

fn abi_decode(data: &[u8], validate: bool) -> Result<Self, Error>

ABI-decodes the given data into one of the variants of self.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 160 bytes

Size for each variant:

  • addr: 38 bytes
  • dumpState: 30 bytes
  • getNonce_0: 20 bytes
  • getNonce_1: 126 bytes
  • load: 52 bytes
  • loadAllocs: 30 bytes
  • startDebugTraceRecording: 0 bytes
  • stopAndReturnDebugTraceRecording: 0 bytes
  • cloneAccount: 40 bytes
  • record: 0 bytes
  • accesses: 20 bytes
  • startStateDiffRecording: 0 bytes
  • stopAndReturnStateDiff: 0 bytes
  • getStateDiff: 0 bytes
  • getStateDiffJson: 0 bytes
  • startMappingRecording: 0 bytes
  • stopMappingRecording: 0 bytes
  • getMappingLength: 52 bytes
  • getMappingSlotAt: 94 bytes
  • getMappingKeyAndParentOf: 52 bytes
  • chainId: 38 bytes
  • coinbase: 20 bytes
  • difficulty: 38 bytes
  • fee: 38 bytes
  • prevrandao_0: 32 bytes
  • prevrandao_1: 38 bytes
  • blobhashes: 30 bytes
  • getBlobhashes: 0 bytes
  • roll: 38 bytes
  • getBlockNumber: 0 bytes
  • txGasPrice: 38 bytes
  • warp: 38 bytes
  • getBlockTimestamp: 0 bytes
  • blobBaseFee: 38 bytes
  • getBlobBaseFee: 0 bytes
  • setBlockhash: 70 bytes
  • deal: 62 bytes
  • etch: 62 bytes
  • resetNonce: 20 bytes
  • setNonce: 38 bytes
  • setNonceUnsafe: 38 bytes
  • store: 84 bytes
  • cool: 20 bytes
  • clearMockedCalls: 0 bytes
  • mockCall_0: 94 bytes
  • mockCall_1: 126 bytes
  • mockCall_2: 62 bytes
  • mockCall_3: 94 bytes
  • mockCalls_0: 86 bytes
  • mockCalls_1: 118 bytes
  • mockCallRevert_0: 94 bytes
  • mockCallRevert_1: 126 bytes
  • mockCallRevert_2: 62 bytes
  • mockCallRevert_3: 94 bytes
  • mockFunction: 78 bytes
  • prank_0: 20 bytes
  • startPrank_0: 20 bytes
  • prank_1: 40 bytes
  • startPrank_1: 40 bytes
  • prank_2: 22 bytes
  • startPrank_2: 22 bytes
  • prank_3: 42 bytes
  • startPrank_3: 42 bytes
  • stopPrank: 0 bytes
  • readCallers: 0 bytes
  • snapshotValue_0: 62 bytes
  • snapshotValue_1: 86 bytes
  • snapshotGasLastCall_0: 30 bytes
  • snapshotGasLastCall_1: 54 bytes
  • startSnapshotGas_0: 30 bytes
  • startSnapshotGas_1: 54 bytes
  • stopSnapshotGas_0: 0 bytes
  • stopSnapshotGas_1: 30 bytes
  • stopSnapshotGas_2: 54 bytes
  • snapshot: 0 bytes
  • snapshotState: 0 bytes
  • revertTo: 38 bytes
  • revertToState: 38 bytes
  • revertToAndDelete: 38 bytes
  • revertToStateAndDelete: 38 bytes
  • deleteSnapshot: 38 bytes
  • deleteStateSnapshot: 38 bytes
  • deleteSnapshots: 0 bytes
  • deleteStateSnapshots: 0 bytes
  • activeFork: 0 bytes
  • createFork_0: 30 bytes
  • createFork_1: 62 bytes
  • createFork_2: 62 bytes
  • createSelectFork_0: 30 bytes
  • createSelectFork_1: 62 bytes
  • createSelectFork_2: 62 bytes
  • rollFork_0: 38 bytes
  • rollFork_1: 32 bytes
  • rollFork_2: 70 bytes
  • rollFork_3: 70 bytes
  • selectFork: 38 bytes
  • transact_0: 32 bytes
  • transact_1: 70 bytes
  • rpc_0: 54 bytes
  • rpc_1: 78 bytes
  • eth_getLogs: 118 bytes
  • allowCheatcodes: 20 bytes
  • makePersistent_0: 20 bytes
  • makePersistent_1: 40 bytes
  • makePersistent_2: 60 bytes
  • makePersistent_3: 30 bytes
  • revokePersistent_0: 20 bytes
  • revokePersistent_1: 30 bytes
  • isPersistent: 20 bytes
  • recordLogs: 0 bytes
  • getRecordedLogs: 0 bytes
  • pauseGasMetering: 0 bytes
  • resumeGasMetering: 0 bytes
  • resetGasMetering: 0 bytes
  • lastCallGas: 0 bytes
  • assume: 2 bytes
  • assumeNoRevert: 0 bytes
  • breakpoint_0: 30 bytes
  • breakpoint_1: 38 bytes
  • getFoundryVersion: 0 bytes
  • rpcUrl: 30 bytes
  • rpcUrls: 0 bytes
  • rpcUrlStructs: 0 bytes
  • sleep: 38 bytes
  • expectCall_0: 62 bytes
  • expectCall_1: 70 bytes
  • expectCall_2: 94 bytes
  • expectCall_3: 102 bytes
  • expectCall_4: 102 bytes
  • expectCall_5: 110 bytes
  • expectCallMinGas_0: 102 bytes
  • expectCallMinGas_1: 110 bytes
  • expectEmit_0: 4 bytes
  • expectEmit_1: 24 bytes
  • expectEmit_2: 0 bytes
  • expectEmit_3: 20 bytes
  • expectEmit_4: 22 bytes
  • expectEmit_5: 38 bytes
  • expectEmit_6: 14 bytes
  • expectEmit_7: 38 bytes
  • expectEmitAnonymous_0: 6 bytes
  • expectEmitAnonymous_1: 26 bytes
  • expectEmitAnonymous_2: 0 bytes
  • expectEmitAnonymous_3: 20 bytes
  • expectRevert_0: 0 bytes
  • expectRevert_1: 4 bytes
  • expectRevert_2: 38 bytes
  • expectRevert_3: 20 bytes
  • expectRevert_4: 24 bytes
  • expectRevert_5: 62 bytes
  • expectRevert_6: 14 bytes
  • expectRevert_7: 22 bytes
  • expectRevert_8: 46 bytes
  • expectRevert_9: 38 bytes
  • expectRevert_10: 38 bytes
  • expectRevert_11: 70 bytes
  • expectPartialRevert_0: 4 bytes
  • expectPartialRevert_1: 24 bytes
  • _expectCheatcodeRevert_0: 0 bytes
  • _expectCheatcodeRevert_1: 4 bytes
  • _expectCheatcodeRevert_2: 38 bytes
  • expectSafeMemory: 22 bytes
  • stopExpectSafeMemory: 0 bytes
  • expectSafeMemoryCall: 22 bytes
  • skip_0: 2 bytes
  • skip_1: 38 bytes
  • assertTrue_0: 2 bytes
  • assertTrue_1: 38 bytes
  • assertFalse_0: 2 bytes
  • assertFalse_1: 38 bytes
  • assertEq_0: 2 bytes
  • assertEq_1: 38 bytes
  • assertEq_2: 70 bytes
  • assertEq_3: 94 bytes
  • assertEq_4: 70 bytes
  • assertEq_5: 94 bytes
  • assertEq_6: 40 bytes
  • assertEq_7: 70 bytes
  • assertEq_8: 64 bytes
  • assertEq_9: 94 bytes
  • assertEq_10: 54 bytes
  • assertEq_11: 78 bytes
  • assertEq_12: 70 bytes
  • assertEq_13: 94 bytes
  • assertEq_14: 54 bytes
  • assertEq_15: 78 bytes
  • assertEq_16: 54 bytes
  • assertEq_17: 78 bytes
  • assertEq_18: 54 bytes
  • assertEq_19: 78 bytes
  • assertEq_20: 54 bytes
  • assertEq_21: 78 bytes
  • assertEq_22: 54 bytes
  • assertEq_23: 78 bytes
  • assertEq_24: 54 bytes
  • assertEq_25: 78 bytes
  • assertEq_26: 54 bytes
  • assertEq_27: 78 bytes
  • assertEqDecimal_0: 102 bytes
  • assertEqDecimal_1: 126 bytes
  • assertEqDecimal_2: 102 bytes
  • assertEqDecimal_3: 126 bytes
  • assertNotEq_0: 2 bytes
  • assertNotEq_1: 38 bytes
  • assertNotEq_2: 70 bytes
  • assertNotEq_3: 94 bytes
  • assertNotEq_4: 70 bytes
  • assertNotEq_5: 94 bytes
  • assertNotEq_6: 40 bytes
  • assertNotEq_7: 70 bytes
  • assertNotEq_8: 64 bytes
  • assertNotEq_9: 94 bytes
  • assertNotEq_10: 54 bytes
  • assertNotEq_11: 78 bytes
  • assertNotEq_12: 70 bytes
  • assertNotEq_13: 94 bytes
  • assertNotEq_14: 54 bytes
  • assertNotEq_15: 78 bytes
  • assertNotEq_16: 54 bytes
  • assertNotEq_17: 78 bytes
  • assertNotEq_18: 54 bytes
  • assertNotEq_19: 78 bytes
  • assertNotEq_20: 54 bytes
  • assertNotEq_21: 78 bytes
  • assertNotEq_22: 54 bytes
  • assertNotEq_23: 78 bytes
  • assertNotEq_24: 54 bytes
  • assertNotEq_25: 78 bytes
  • assertNotEq_26: 54 bytes
  • assertNotEq_27: 78 bytes
  • assertNotEqDecimal_0: 102 bytes
  • assertNotEqDecimal_1: 126 bytes
  • assertNotEqDecimal_2: 102 bytes
  • assertNotEqDecimal_3: 126 bytes
  • assertGt_0: 70 bytes
  • assertGt_1: 94 bytes
  • assertGt_2: 70 bytes
  • assertGt_3: 94 bytes
  • assertGtDecimal_0: 102 bytes
  • assertGtDecimal_1: 126 bytes
  • assertGtDecimal_2: 102 bytes
  • assertGtDecimal_3: 126 bytes
  • assertGe_0: 70 bytes
  • assertGe_1: 94 bytes
  • assertGe_2: 70 bytes
  • assertGe_3: 94 bytes
  • assertGeDecimal_0: 102 bytes
  • assertGeDecimal_1: 126 bytes
  • assertGeDecimal_2: 102 bytes
  • assertGeDecimal_3: 126 bytes
  • assertLt_0: 70 bytes
  • assertLt_1: 94 bytes
  • assertLt_2: 70 bytes
  • assertLt_3: 94 bytes
  • assertLtDecimal_0: 102 bytes
  • assertLtDecimal_1: 126 bytes
  • assertLtDecimal_2: 102 bytes
  • assertLtDecimal_3: 126 bytes
  • assertLe_0: 70 bytes
  • assertLe_1: 94 bytes
  • assertLe_2: 70 bytes
  • assertLe_3: 94 bytes
  • assertLeDecimal_0: 102 bytes
  • assertLeDecimal_1: 126 bytes
  • assertLeDecimal_2: 102 bytes
  • assertLeDecimal_3: 126 bytes
  • assertApproxEqAbs_0: 102 bytes
  • assertApproxEqAbs_1: 126 bytes
  • assertApproxEqAbs_2: 102 bytes
  • assertApproxEqAbs_3: 126 bytes
  • assertApproxEqAbsDecimal_0: 134 bytes
  • assertApproxEqAbsDecimal_1: 158 bytes
  • assertApproxEqAbsDecimal_2: 134 bytes
  • assertApproxEqAbsDecimal_3: 158 bytes
  • assertApproxEqRel_0: 102 bytes
  • assertApproxEqRel_1: 126 bytes
  • assertApproxEqRel_2: 102 bytes
  • assertApproxEqRel_3: 126 bytes
  • assertApproxEqRelDecimal_0: 134 bytes
  • assertApproxEqRelDecimal_1: 158 bytes
  • assertApproxEqRelDecimal_2: 134 bytes
  • assertApproxEqRelDecimal_3: 158 bytes
  • exists: 30 bytes
  • fsMetadata: 30 bytes
  • isDir: 30 bytes
  • isFile: 30 bytes
  • projectRoot: 0 bytes
  • unixTime: 0 bytes
  • closeFile: 30 bytes
  • copyFile: 54 bytes
  • createDir: 38 bytes
  • readDir_0: 30 bytes
  • readDir_1: 38 bytes
  • readDir_2: 46 bytes
  • readFile: 30 bytes
  • readFileBinary: 30 bytes
  • readLine: 30 bytes
  • readLink: 30 bytes
  • removeDir: 38 bytes
  • removeFile: 30 bytes
  • writeFile: 54 bytes
  • writeFileBinary: 62 bytes
  • writeLine: 54 bytes
  • getArtifactPathByCode: 38 bytes
  • getArtifactPathByDeployedCode: 38 bytes
  • getCode: 30 bytes
  • deployCode_0: 30 bytes
  • deployCode_1: 62 bytes
  • getDeployedCode: 30 bytes
  • getBroadcast: 46 bytes
  • getBroadcasts_0: 46 bytes
  • getBroadcasts_1: 38 bytes
  • getDeployment_0: 30 bytes
  • getDeployment_1: 38 bytes
  • getDeployments: 38 bytes
  • ffi: 30 bytes
  • tryFfi: 30 bytes
  • prompt: 30 bytes
  • promptSecret: 30 bytes
  • promptSecretUint: 30 bytes
  • promptAddress: 30 bytes
  • promptUint: 30 bytes
  • setEnv: 54 bytes
  • envExists: 30 bytes
  • envBool_0: 30 bytes
  • envUint_0: 30 bytes
  • envInt_0: 30 bytes
  • envAddress_0: 30 bytes
  • envBytes32_0: 30 bytes
  • envString_0: 30 bytes
  • envBytes_0: 30 bytes
  • envBool_1: 54 bytes
  • envUint_1: 54 bytes
  • envInt_1: 54 bytes
  • envAddress_1: 54 bytes
  • envBytes32_1: 54 bytes
  • envString_1: 54 bytes
  • envBytes_1: 54 bytes
  • envOr_0: 38 bytes
  • envOr_1: 62 bytes
  • envOr_2: 62 bytes
  • envOr_3: 54 bytes
  • envOr_4: 62 bytes
  • envOr_5: 54 bytes
  • envOr_6: 62 bytes
  • envOr_7: 78 bytes
  • envOr_8: 78 bytes
  • envOr_9: 78 bytes
  • envOr_10: 78 bytes
  • envOr_11: 78 bytes
  • envOr_12: 78 bytes
  • envOr_13: 78 bytes
  • isContext: 2 bytes
  • broadcast_0: 0 bytes
  • broadcast_1: 20 bytes
  • broadcast_2: 38 bytes
  • startBroadcast_0: 0 bytes
  • startBroadcast_1: 20 bytes
  • startBroadcast_2: 38 bytes
  • stopBroadcast: 0 bytes
  • broadcastRawTransaction: 38 bytes
  • signDelegation: 62 bytes
  • attachDelegation: 102 bytes
  • signAndAttachDelegation: 62 bytes
  • getWallets: 0 bytes
  • toString_0: 20 bytes
  • toString_1: 38 bytes
  • toString_2: 32 bytes
  • toString_3: 2 bytes
  • toString_4: 38 bytes
  • toString_5: 38 bytes
  • parseBytes: 30 bytes
  • parseAddress: 30 bytes
  • parseUint: 30 bytes
  • parseInt: 30 bytes
  • parseBytes32: 30 bytes
  • parseBool: 30 bytes
  • toLowercase: 30 bytes
  • toUppercase: 30 bytes
  • trim: 30 bytes
  • replace: 78 bytes
  • split: 54 bytes
  • indexOf: 54 bytes
  • contains: 54 bytes
  • keyExists: 54 bytes
  • keyExistsJson: 54 bytes
  • parseJson_0: 30 bytes
  • parseJson_1: 54 bytes
  • parseJsonUint: 54 bytes
  • parseJsonUintArray: 54 bytes
  • parseJsonInt: 54 bytes
  • parseJsonIntArray: 54 bytes
  • parseJsonBool: 54 bytes
  • parseJsonBoolArray: 54 bytes
  • parseJsonAddress: 54 bytes
  • parseJsonAddressArray: 54 bytes
  • parseJsonString: 54 bytes
  • parseJsonStringArray: 54 bytes
  • parseJsonBytes: 54 bytes
  • parseJsonBytesArray: 54 bytes
  • parseJsonBytes32: 54 bytes
  • parseJsonBytes32Array: 54 bytes
  • parseJsonType_0: 54 bytes
  • parseJsonType_1: 78 bytes
  • parseJsonTypeArray: 78 bytes
  • parseJsonKeys: 54 bytes
  • serializeJson: 54 bytes
  • serializeBool_0: 62 bytes
  • serializeUint_0: 86 bytes
  • serializeUintToHex: 86 bytes
  • serializeInt_0: 86 bytes
  • serializeAddress_0: 78 bytes
  • serializeBytes32_0: 86 bytes
  • serializeString_0: 78 bytes
  • serializeBytes_0: 86 bytes
  • serializeBool_1: 78 bytes
  • serializeUint_1: 78 bytes
  • serializeInt_1: 78 bytes
  • serializeAddress_1: 78 bytes
  • serializeBytes32_1: 78 bytes
  • serializeString_1: 78 bytes
  • serializeBytes_1: 78 bytes
  • serializeJsonType_0: 62 bytes
  • serializeJsonType_1: 110 bytes
  • writeJson_0: 54 bytes
  • writeJson_1: 78 bytes
  • keyExistsToml: 54 bytes
  • parseToml_0: 30 bytes
  • parseToml_1: 54 bytes
  • parseTomlUint: 54 bytes
  • parseTomlUintArray: 54 bytes
  • parseTomlInt: 54 bytes
  • parseTomlIntArray: 54 bytes
  • parseTomlBool: 54 bytes
  • parseTomlBoolArray: 54 bytes
  • parseTomlAddress: 54 bytes
  • parseTomlAddressArray: 54 bytes
  • parseTomlString: 54 bytes
  • parseTomlStringArray: 54 bytes
  • parseTomlBytes: 54 bytes
  • parseTomlBytesArray: 54 bytes
  • parseTomlBytes32: 54 bytes
  • parseTomlBytes32Array: 54 bytes
  • parseTomlType_0: 54 bytes
  • parseTomlType_1: 78 bytes
  • parseTomlTypeArray: 78 bytes
  • parseTomlKeys: 54 bytes
  • writeToml_0: 54 bytes
  • writeToml_1: 78 bytes
  • createWallet_0: 30 bytes
  • createWallet_1: 38 bytes
  • createWallet_2: 62 bytes
  • sign_0: 158 bytes
  • signCompact_0: 158 bytes
  • sign_1: 70 bytes
  • signCompact_1: 70 bytes
  • sign_2: 32 bytes
  • signCompact_2: 32 bytes
  • sign_3: 52 bytes
  • signCompact_3: 52 bytes
  • signP256: 70 bytes
  • publicKeyP256: 38 bytes
  • deriveKey_0: 38 bytes
  • deriveKey_1: 62 bytes
  • deriveKey_2: 62 bytes
  • deriveKey_3: 86 bytes
  • rememberKey: 38 bytes
  • rememberKeys_0: 62 bytes
  • rememberKeys_1: 86 bytes
  • label: 54 bytes
  • getLabel: 20 bytes
  • computeCreateAddress: 62 bytes
  • computeCreate2Address_0: 84 bytes
  • computeCreate2Address_1: 64 bytes
  • toBase64_0: 38 bytes
  • toBase64_1: 30 bytes
  • toBase64URL_0: 38 bytes
  • toBase64URL_1: 30 bytes
  • ensNamehash: 30 bytes
  • randomUint_0: 0 bytes
  • randomUint_1: 70 bytes
  • randomUint_2: 38 bytes
  • randomAddress: 0 bytes
  • randomInt_0: 0 bytes
  • randomInt_1: 38 bytes
  • randomBool: 0 bytes
  • randomBytes: 38 bytes
  • randomBytes4: 0 bytes
  • randomBytes8: 0 bytes
  • pauseTracing: 0 bytes
  • resumeTracing: 0 bytes
  • copyStorage: 40 bytes
  • setArbitraryStorage: 20 bytes