Skip to main content

Module cheatcodes

Module cheatcodes 

Source

Functionsยง

abi_bytes_return ๐Ÿ”’
Returns the abi_bytes_return cheatcode runtime helper result.
abi_bytes_return_with_len ๐Ÿ”’
Returns the abi_bytes_return_with_len cheatcode runtime helper result.
abi_concrete_bytes_return ๐Ÿ”’
Returns the abi_concrete_bytes_return cheatcode runtime helper result.
abi_concrete_value_return ๐Ÿ”’
Returns the abi_concrete_value_return cheatcode runtime helper result.
abi_static_input_size ๐Ÿ”’
Returns the abi_static_input_size cheatcode runtime helper result.
accesses_return_data ๐Ÿ”’
Implements the accesses_return_data cheatcode runtime helper.
array_assertion_element_type ๐Ÿ”’
Implements the array_assertion_element_type cheatcode runtime helper.
artifact_code ๐Ÿ”’
Implements the artifact_code cheatcode runtime helper.
artifact_json_path ๐Ÿ”’
Implements the artifact_json_path cheatcode runtime helper.
complete_cheatcode_call ๐Ÿ”’
Implements the complete_cheatcode_call cheatcode runtime helper.
decode_cheatcode_args ๐Ÿ”’
Returns the decode_cheatcode_args cheatcode runtime helper result.
derive_private_key ๐Ÿ”’
Computes the derive_private_key cheatcode runtime helper result.
derive_private_key_with_language ๐Ÿ”’
Computes the derive_private_key_with_language cheatcode runtime helper result.
dyn_address ๐Ÿ”’
Returns the dyn_address cheatcode runtime helper result.
dyn_address_array ๐Ÿ”’
Returns the dyn_address_array cheatcode runtime helper result.
dyn_bool ๐Ÿ”’
Returns the dyn_bool cheatcode runtime helper result.
dyn_bytes ๐Ÿ”’
Returns the dyn_bytes cheatcode runtime helper result.
dyn_bytes32_array ๐Ÿ”’
Returns the dyn_bytes32_array cheatcode runtime helper result.
dyn_potential_revert ๐Ÿ”’
Returns the dyn_potential_revert cheatcode runtime helper result.
dyn_potential_reverts ๐Ÿ”’
Returns the dyn_potential_reverts cheatcode runtime helper result.
dyn_string ๐Ÿ”’
Returns the dyn_string cheatcode runtime helper result.
dyn_string_array ๐Ÿ”’
Returns the dyn_string_array cheatcode runtime helper result.
expected_revert_match_condition ๐Ÿ”’
Implements the expected_revert_match_condition cheatcode runtime helper.
foundry_cheatcode_min_input_size ๐Ÿ”’
Implements the foundry_cheatcode_min_input_size cheatcode runtime helper.
hex_nibble_ascii ๐Ÿ”’
Implements the hex_nibble_ascii cheatcode runtime helper.
parse_env_address ๐Ÿ”’
Returns the parse_env_address cheatcode runtime helper result.
parse_env_address_value ๐Ÿ”’
Returns the parse_env_address_value cheatcode runtime helper result.
parse_env_array ๐Ÿ”’
Returns the parse_env_array cheatcode runtime helper result.
parse_env_bool ๐Ÿ”’
Returns the parse_env_bool cheatcode runtime helper result.
parse_env_bool_value ๐Ÿ”’
Returns the parse_env_bool_value cheatcode runtime helper result.
parse_env_bytes ๐Ÿ”’
Returns the parse_env_bytes cheatcode runtime helper result.
parse_env_bytes32 ๐Ÿ”’
Returns the parse_env_bytes32 cheatcode runtime helper result.
parse_env_bytes32_value ๐Ÿ”’
Returns the parse_env_bytes32_value cheatcode runtime helper result.
parse_env_bytes_value ๐Ÿ”’
Returns the parse_env_bytes_value cheatcode runtime helper result.
parse_env_int ๐Ÿ”’
Returns the parse_env_int cheatcode runtime helper result.
parse_env_int_value ๐Ÿ”’
Returns the parse_env_int_value cheatcode runtime helper result.
parse_env_string_value ๐Ÿ”’
Returns the parse_env_string_value cheatcode runtime helper result.
parse_env_uint ๐Ÿ”’
Returns the parse_env_uint cheatcode runtime helper result.
parse_env_uint_value ๐Ÿ”’
Returns the parse_env_uint_value cheatcode runtime helper result.
private_key_address ๐Ÿ”’
Implements the private_key_address cheatcode runtime helper.
private_key_signer ๐Ÿ”’
Implements the private_key_signer cheatcode runtime helper.
push_ascii ๐Ÿ”’
Applies the push_ascii cheatcode runtime helper.
push_hex_byte ๐Ÿ”’
Applies the push_hex_byte cheatcode runtime helper.
push_hex_word ๐Ÿ”’
Applies the push_hex_word cheatcode runtime helper.
read_abi_address_arg ๐Ÿ”’
Returns the read_abi_address_arg cheatcode runtime helper result.
read_abi_address_or_symbolic_slot_arg ๐Ÿ”’
Returns the read_abi_address_or_symbolic_slot_arg cheatcode runtime helper result.
read_abi_address_word_or_symbolic_slot_arg ๐Ÿ”’
Returns the read_abi_address_word_or_symbolic_slot_arg cheatcode runtime helper result.
read_abi_bool_arg ๐Ÿ”’
Returns the read_abi_bool_arg cheatcode runtime helper result.
read_abi_bytes4_words_arg ๐Ÿ”’
Returns the read_abi_bytes4_words_arg cheatcode runtime helper result.
read_abi_concrete_word_arg ๐Ÿ”’
Returns the read_abi_concrete_word_arg cheatcode runtime helper result.
read_abi_constrained_address_arg ๐Ÿ”’
Returns the read_abi_constrained_address_arg cheatcode runtime helper result.
read_abi_constrained_word_arg ๐Ÿ”’
Returns the read_abi_constrained_word_arg cheatcode runtime helper result.
read_abi_dynamic_bytes_arg ๐Ÿ”’
Returns the read_abi_dynamic_bytes_arg cheatcode runtime helper result.
read_abi_dynamic_return_data_arg ๐Ÿ”’
Returns the read_abi_dynamic_return_data_arg cheatcode runtime helper result.
read_abi_string_arg ๐Ÿ”’
Returns the read_abi_string_arg cheatcode runtime helper result.
read_abi_symbolic_dynamic_bytes_arg ๐Ÿ”’
Returns the read_abi_symbolic_dynamic_bytes_arg cheatcode runtime helper result.
read_abi_symbolic_dynamic_bytes_array_arg ๐Ÿ”’
Returns the read_abi_symbolic_dynamic_bytes_array_arg cheatcode runtime helper result.
read_abi_u32_arg ๐Ÿ”’
Returns the read_abi_u32_arg cheatcode runtime helper result.
read_abi_u64_arg ๐Ÿ”’
Returns the read_abi_u64_arg cheatcode runtime helper result.
read_abi_word_arg ๐Ÿ”’
Returns the read_abi_word_arg cheatcode runtime helper result.
recorded_logs_json_return_data ๐Ÿ”’
Implements the recorded_logs_json_return_data cheatcode runtime helper.
recorded_logs_return_data ๐Ÿ”’
Implements the recorded_logs_return_data cheatcode runtime helper.
selector_has_string_reason ๐Ÿ”’
Returns the selector_has_string_reason cheatcode runtime helper result.
selector_in ๐Ÿ”’
Returns the selector_in cheatcode runtime helper result.
sign_compact_hash_words ๐Ÿ”’
Implements the sign_compact_hash_words cheatcode runtime helper.
sign_hash_words ๐Ÿ”’
Implements the sign_hash_words cheatcode runtime helper.
storage_slots_abi_array ๐Ÿ”’
Implements the storage_slots_abi_array cheatcode runtime helper.
symbolic_vm_cheatcode_min_input_size ๐Ÿ”’
Returns the symbolic_vm_cheatcode_min_input_size cheatcode runtime helper result.