ethereum.homestead.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
)

ECRECOVER_ADDRESS

25
ECRECOVER_ADDRESS = hex_to_address("0x01")

SHA256_ADDRESS

26
SHA256_ADDRESS = hex_to_address("0x02")

RIPEMD160_ADDRESS

27
RIPEMD160_ADDRESS = hex_to_address("0x03")

IDENTITY_ADDRESS

28
IDENTITY_ADDRESS = hex_to_address("0x04")