ethereum.prague.vm.precompiled_contracts.mapping
Precompiled Contract Addresses ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. contents:: Table of Contents :backlinks: none :local:
Introduction
Mapping of precompiled contracts their implementations.
PRE_COMPILED_CONTRACTS
56 | PRE_COMPILED_CONTRACTS: Dict[Address, Callable] = { |
---|---|
57 | ECRECOVER_ADDRESS: ecrecover, |
58 | SHA256_ADDRESS: sha256, |
59 | RIPEMD160_ADDRESS: ripemd160, |
60 | IDENTITY_ADDRESS: identity, |
61 | MODEXP_ADDRESS: modexp, |
62 | ALT_BN128_ADD_ADDRESS: alt_bn128_add, |
63 | ALT_BN128_MUL_ADDRESS: alt_bn128_mul, |
64 | ALT_BN128_PAIRING_CHECK_ADDRESS: alt_bn128_pairing_check, |
65 | BLAKE2F_ADDRESS: blake2f, |
66 | POINT_EVALUATION_ADDRESS: point_evaluation, |
67 | BLS12_G1_ADD_ADDRESS: bls12_g1_add, |
68 | BLS12_G1_MSM_ADDRESS: bls12_g1_msm, |
69 | BLS12_G2_ADD_ADDRESS: bls12_g2_add, |
70 | BLS12_G2_MSM_ADDRESS: bls12_g2_msm, |
71 | BLS12_PAIRING_ADDRESS: bls12_pairing, |
72 | BLS12_MAP_FP_TO_G1_ADDRESS: bls12_map_fp_to_g1, |
73 | BLS12_MAP_FP2_TO_G2_ADDRESS: bls12_map_fp2_to_g2, |
74 | } |