foundry_evm::constants

Constant CHEATCODE_ADDRESS

pub const CHEATCODE_ADDRESS: Address;
Expand description

The cheatcode handler address.

This is the same address as the one used in DappTools’s HEVM.

This is calculated as: address(bytes20(uint160(uint256(keccak256('hevm cheat code')))))