Skip to main content

Module cheatcodes

Module cheatcodes 

Source

Re-exportsยง

use foundry_common::contracts::ContractsByArtifact; ๐Ÿ”’
use foundry_common::version::SEMVER_VERSION; ๐Ÿ”’
use foundry_evm::core::backend::GLOBAL_FAIL_SLOT; ๐Ÿ”’
use foundry_evm::core::decode::ASSERTION_FAILED_PREFIX; ๐Ÿ”’
use foundry_evm::inspectors::cheatcodes::current_execution_context; ๐Ÿ”’
use super::create::runtime_exceeds_code_size_limit; ๐Ÿ”’
use super::create::runtime_has_rejected_prefix; ๐Ÿ”’
use foundry_cheatcodes_spec::Vm::*; ๐Ÿ”’
use super::*; ๐Ÿ”’

Constantsยง

MAX_FREE_ADDRESS_ALIAS_CANDIDATES ๐Ÿ”’
Bounds the concrete accounts a cheatcode write through a free symbolic address forks over.

Functionsยง

contract_abi ๐Ÿ”’
Returns the ABI of the project contract or interface named name, in source file file when given. Artifacts of one name with the same ABI, such as builds for several compiler versions, are not ambiguous.