ethereum.arrow_glacier.vm.precompiled_contractsethereum.gray_glacier.vm.precompiled_contracts

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

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

Introduction

Addresses of precompiled contracts and mappings to their implementations.

__all__

18
__all__ = (
19
    "ECRECOVER_ADDRESS",
20
    "SHA256_ADDRESS",
21
    "RIPEMD160_ADDRESS",
22
    "IDENTITY_ADDRESS",
23
    "MODEXP_ADDRESS",
24
    "ALT_BN128_ADD_ADDRESS",
25
    "ALT_BN128_MUL_ADDRESS",
26
    "ALT_BN128_PAIRING_CHECK_ADDRESS",
27
    "BLAKE2F_ADDRESS",
28
)

ECRECOVER_ADDRESS

30
ECRECOVER_ADDRESS = hex_to_address("0x01")

SHA256_ADDRESS

31
SHA256_ADDRESS = hex_to_address("0x02")

RIPEMD160_ADDRESS

32
RIPEMD160_ADDRESS = hex_to_address("0x03")

IDENTITY_ADDRESS

33
IDENTITY_ADDRESS = hex_to_address("0x04")

MODEXP_ADDRESS

34
MODEXP_ADDRESS = hex_to_address("0x05")

ALT_BN128_ADD_ADDRESS

35
ALT_BN128_ADD_ADDRESS = hex_to_address("0x06")

ALT_BN128_MUL_ADDRESS

36
ALT_BN128_MUL_ADDRESS = hex_to_address("0x07")

ALT_BN128_PAIRING_CHECK_ADDRESS

37
ALT_BN128_PAIRING_CHECK_ADDRESS = hex_to_address("0x08")

BLAKE2F_ADDRESS

38
BLAKE2F_ADDRESS = hex_to_address("0x09")