Module modexp
forge
1.0.0
Module modexp
Module Items
Constants
Functions
In forge::
revm::
precompile
Modules
blake2
bls12_381
bn128
fatal_precompile
hash
identity
kzg_point_evaluation
modexp
secp256k1
secp256r1
utilities
Structs
Address
Bytes
Log
PrecompileOutput
PrecompileWithAddress
Precompiles
Enums
Error
Precompile
PrecompileError
PrecompileErrors
PrecompileSpecId
Traits
StatefulPrecompile
StatefulPrecompileMut
Functions
calc_linear_cost_u32
fatal_precompile
u64_to_address
Type Aliases
B256
EnvPrecompileFn
HashMap
HashSet
PrecompileResult
StandardPrecompileFn
StatefulPrecompileArc
StatefulPrecompileBox
forge
::
revm
::
precompile
Module
modexp
Copy item path
Settings
Help
Summary
Constants
§
BERLIN
BYZANTIUM
Functions
§
berlin_
gas_
calc
berlin_
run
byzantium_
gas_
calc
byzantium_
run
See:
https://eips.ethereum.org/EIPS/eip-198
See:
https://etherscan.io/address/0000000000000000000000000000000000000005
calculate_
iteration_
count
run_
inner