foundry_evm_core/
constants.rsuse alloy_primitives::{address, b256, hex, Address, B256};
pub const CHEATCODE_ADDRESS: Address = address!("7109709ECfa91a80626fF3989D68f67F5b1DD12D");
pub const CHEATCODE_CONTRACT_HASH: B256 =
b256!("b0450508e5a2349057c3b4c9c84524d62be4bb17e565dbe2df34725a26872291");
pub const HARDHAT_CONSOLE_ADDRESS: Address = address!("000000000000000000636F6e736F6c652e6c6f67");
pub const CALLER: Address = address!("1804c8AB1F12E6bbf3894d4083f33e07309d1f38");
pub const TEST_CONTRACT_ADDRESS: Address = address!("b4c79daB8f259C7Aee6E5b2Aa729821864227e84");
pub const MAGIC_ASSUME: &[u8] = b"FOUNDRY::ASSUME";
pub const MAGIC_SKIP: &[u8] = b"FOUNDRY::SKIP";
pub const TEST_TIMEOUT: &str = "FOUNDRY::TEST_TIMEOUT";
pub const DEFAULT_CREATE2_DEPLOYER_DEPLOYER: Address =
address!("3fAB184622Dc19b6109349B94811493BF2a45362");
pub const DEFAULT_CREATE2_DEPLOYER: Address = address!("4e59b44847b379578588920ca78fbf26c0b4956c");
pub const DEFAULT_CREATE2_DEPLOYER_CODE: &[u8] = &hex!("604580600e600039806000f350fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3");
pub const DEFAULT_CREATE2_DEPLOYER_RUNTIME_CODE: &[u8] = &hex!("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3");
pub const DEFAULT_CREATE2_DEPLOYER_CODEHASH: B256 =
b256!("2fa86add0aed31f33a762c9d88e807c475bd51d0f52bd0955754b2608f7e4989");
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn create2_deployer() {
assert_eq!(DEFAULT_CREATE2_DEPLOYER_DEPLOYER.create(0), DEFAULT_CREATE2_DEPLOYER);
}
}