Re-exportsΒ§
use crate::CallTrace;πuse crate::DecodedCallData;πuse alloy_primitives::Address;πuse alloy_primitives::B256;πuse alloy_primitives::U256;πuse alloy_primitives::hex;πuse alloy_primitives::hex;πuse alloy_sol_types::SolCall;πuse alloy_sol_types::abi;πuse alloy_sol_types::sol;πuse foundry_config::Chain;πuse foundry_config::NamedChain;πuse foundry_evm_core::precompiles::BLAKE_2F;πuse foundry_evm_core::precompiles::BLS12_G1ADD;πuse foundry_evm_core::precompiles::BLS12_G1MSM;πuse foundry_evm_core::precompiles::BLS12_G2ADD;πuse foundry_evm_core::precompiles::BLS12_G2MSM;πuse foundry_evm_core::precompiles::BLS12_MAP_FP_TO_G1;πuse foundry_evm_core::precompiles::BLS12_MAP_FP2_TO_G2;πuse foundry_evm_core::precompiles::BLS12_PAIRING_CHECK;πuse foundry_evm_core::precompiles::CELO_TRANSFER;πuse foundry_evm_core::precompiles::EC_ADD;πuse foundry_evm_core::precompiles::EC_MUL;πuse foundry_evm_core::precompiles::EC_PAIRING;πuse foundry_evm_core::precompiles::EC_RECOVER;πuse foundry_evm_core::precompiles::IDENTITY;πuse foundry_evm_core::precompiles::MOD_EXP;πuse foundry_evm_core::precompiles::P256_VERIFY;πuse foundry_evm_core::precompiles::POINT_EVALUATION;πuse foundry_evm_core::precompiles::RIPEMD_160;πuse foundry_evm_core::precompiles::SHA_256;πuse foundry_evm_core::tempo::TEMPO_PRECOMPILE_ADDRESSES;πuse foundry_evm_core::tempo::TEMPO_TIP20_TOKENS;πuse foundry_evm_core::tempo::active_tempo_precompile_addresses;πuse foundry_evm_hardforks::ExecutionSpec;πuse foundry_evm_hardforks::FoundryHardfork;πuse foundry_evm_hardforks::TempoHardfork;πuse foundry_evm_networks::NetworkConfigs;πuse itertools::Itertools;πuse revm_inspectors::tracing::types::DecodedCallTrace;πuse Precompiles::*;π
ModulesΒ§
- Precompiles
- EVM precompiles interface. For illustration purposes only, as precompiles donβt follow the Solidity ABI codec.
StructsΒ§
- Blake2f π
- Bls12
G1Add π - Bls12
G1Msm π - Bls12
G2Add π - Bls12
G2Msm π - Bls12
MapFp2 πToG2 - Bls12
MapFp πToG1 - Bls12
Pairing πCheck - EcAdd π
- Ecmul π
- Ecpairing π
- Ecrecover π
- Identity π
- ModExp π
- P256
Verify π - Point
Evaluation π - Ripemd160 π
- Sha256 π
ConstantsΒ§
- FP_SIZE π
- G1_
POINT_ πSIZE - G2_
POINT_ πSIZE - PRECOMPILES π
- SCALAR_
SIZE π
TraitsΒ§
- Precompile π
FunctionsΒ§
- decode π
- Tries to decode a precompile call. Returns
Someif successful. - decode_
blake2f π - is_
known_ πprecompile - is_
known_ πprecompile_ call - iter_
to_ πstring - take_
at_ πmost