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

Precompiled Contract Addresses.

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

Introduction

Mapping of precompiled contracts to their implementations.

PRE_COMPILED_CONTRACTS

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