ethereum.shanghai.vm.precompiled_contracts.mappingethereum.cancun.vm.precompiled_contracts.mapping

Precompiled Contract Addresses ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. contents:: Table of Contents :backlinks: none :local:

Introduction

Mapping of precompiled contracts their implementations.

PRE_COMPILED_CONTRACTS

38
PRE_COMPILED_CONTRACTS: Dict[Address, Callable] = {
39
    ECRECOVER_ADDRESS: ecrecover,
40
    SHA256_ADDRESS: sha256,
41
    RIPEMD160_ADDRESS: ripemd160,
42
    IDENTITY_ADDRESS: identity,
43
    MODEXP_ADDRESS: modexp,
44
    ALT_BN128_ADD_ADDRESS: alt_bn128_add,
45
    ALT_BN128_MUL_ADDRESS: alt_bn128_mul,
46
    ALT_BN128_PAIRING_CHECK_ADDRESS: alt_bn128_pairing_check,
45
    BLAKE2F_ADDRESS: blake2f,
47
    BLAKE2F_ADDRESS: blake2f,
48
    POINT_EVALUATION_ADDRESS: point_evaluation,
49
}