Constants§
- BERLIN
modexp
precompile with BERLIN gas rules.- BYZANTIUM
modexp
precompile with BYZANTIUM gas rules.- OSAKA
modexp
precompile with OSAKA gas rules.
Functions§
- berlin_
gas_ calc - Calculate gas cost according to EIP 2565: https://eips.ethereum.org/EIPS/eip-2565
- berlin_
run - See: https://eips.ethereum.org/EIPS/eip-2565 Gas cost of berlin is modified from byzantium.
- byzantium_
gas_ calc - Calculate the gas cost for the modexp precompile with BYZANTIUM gas rules.
- byzantium_
run - See: https://eips.ethereum.org/EIPS/eip-198 See: https://etherscan.io/address/0000000000000000000000000000000000000005
- calculate_
iteration_ count - Calculate the iteration count for the modexp precompile.
- gas_
calc - Calculate gas cost.
- osaka_
gas_ calc - Calculate gas cost according to EIP-7883: https://eips.ethereum.org/EIPS/eip-7883
- osaka_
run - See: https://eips.ethereum.org/EIPS/eip-7823 Gas cost of berlin is modified from byzantium.
- run_
inner - Run the modexp precompile.