ethereum.forks.osaka.vm.precompiled_contracts
Precompiled Contract Addresses.
.. contents:: Table of Contents :backlinks: none :local:
Introduction
Addresses of precompiled contracts and mappings to their implementations.
__all__
| 17 | __all__ = ( | 
|---|---|
| 18 |     "ECRECOVER_ADDRESS", | 
| 19 |     "SHA256_ADDRESS", | 
| 20 |     "RIPEMD160_ADDRESS", | 
| 21 |     "IDENTITY_ADDRESS", | 
| 22 |     "MODEXP_ADDRESS", | 
| 23 |     "ALT_BN128_ADD_ADDRESS", | 
| 24 |     "ALT_BN128_MUL_ADDRESS", | 
| 25 |     "ALT_BN128_PAIRING_CHECK_ADDRESS", | 
| 26 |     "BLAKE2F_ADDRESS", | 
| 27 |     "POINT_EVALUATION_ADDRESS", | 
| 28 |     "BLS12_G1_ADD_ADDRESS", | 
| 29 |     "BLS12_G1_MSM_ADDRESS", | 
| 30 |     "BLS12_G2_ADD_ADDRESS", | 
| 31 |     "BLS12_G2_MSM_ADDRESS", | 
| 32 |     "BLS12_PAIRING_ADDRESS", | 
| 33 |     "BLS12_MAP_FP_TO_G1_ADDRESS", | 
| 34 |     "BLS12_MAP_FP2_TO_G2_ADDRESS", | 
| 35 |     "P256VERIFY_ADDRESS", | 
| 36 | ) | 
ECRECOVER_ADDRESS
| 38 | ECRECOVER_ADDRESS = hex_to_address("0x01") | 
|---|
SHA256_ADDRESS
| 39 | SHA256_ADDRESS = hex_to_address("0x02") | 
|---|
RIPEMD160_ADDRESS
| 40 | RIPEMD160_ADDRESS = hex_to_address("0x03") | 
|---|
IDENTITY_ADDRESS
| 41 | IDENTITY_ADDRESS = hex_to_address("0x04") | 
|---|
MODEXP_ADDRESS
| 42 | MODEXP_ADDRESS = hex_to_address("0x05") | 
|---|
ALT_BN128_ADD_ADDRESS
| 43 | ALT_BN128_ADD_ADDRESS = hex_to_address("0x06") | 
|---|
ALT_BN128_MUL_ADDRESS
| 44 | ALT_BN128_MUL_ADDRESS = hex_to_address("0x07") | 
|---|
ALT_BN128_PAIRING_CHECK_ADDRESS
| 45 | ALT_BN128_PAIRING_CHECK_ADDRESS = hex_to_address("0x08") | 
|---|
BLAKE2F_ADDRESS
| 46 | BLAKE2F_ADDRESS = hex_to_address("0x09") | 
|---|
POINT_EVALUATION_ADDRESS
| 47 | POINT_EVALUATION_ADDRESS = hex_to_address("0x0a") | 
|---|
BLS12_G1_ADD_ADDRESS
| 48 | BLS12_G1_ADD_ADDRESS = hex_to_address("0x0b") | 
|---|
BLS12_G1_MSM_ADDRESS
| 49 | BLS12_G1_MSM_ADDRESS = hex_to_address("0x0c") | 
|---|
BLS12_G2_ADD_ADDRESS
| 50 | BLS12_G2_ADD_ADDRESS = hex_to_address("0x0d") | 
|---|
BLS12_G2_MSM_ADDRESS
| 51 | BLS12_G2_MSM_ADDRESS = hex_to_address("0x0e") | 
|---|
BLS12_PAIRING_ADDRESS
| 52 | BLS12_PAIRING_ADDRESS = hex_to_address("0x0f") | 
|---|
BLS12_MAP_FP_TO_G1_ADDRESS
| 53 | BLS12_MAP_FP_TO_G1_ADDRESS = hex_to_address("0x10") | 
|---|
BLS12_MAP_FP2_TO_G2_ADDRESS
| 54 | BLS12_MAP_FP2_TO_G2_ADDRESS = hex_to_address("0x11") | 
|---|
P256VERIFY_ADDRESS
| 55 | P256VERIFY_ADDRESS = hex_to_address("0x100") | 
|---|