erigon-pulse/core/systemcontracts/const.go
Anshal Shukla c4ba26107e
Rpc get code (#6899)
This in conjuction with
[PR#893](https://github.com/ledgerwatch/erigon-lib/pull/893) fixes the
eth_getCode RPC call.
2023-03-02 14:12:16 +00:00

22 lines
1.3 KiB
Go

package systemcontracts
import (
libcommon "github.com/ledgerwatch/erigon-lib/common"
)
var (
// genesis contracts
ValidatorContract = libcommon.HexToAddress("0x0000000000000000000000000000000000001000")
SlashContract = libcommon.HexToAddress("0x0000000000000000000000000000000000001001")
SystemRewardContract = libcommon.HexToAddress("0x0000000000000000000000000000000000001002")
LightClientContract = libcommon.HexToAddress("0x0000000000000000000000000000000000001003")
TokenHubContract = libcommon.HexToAddress("0x0000000000000000000000000000000000001004")
RelayerIncentivizeContract = libcommon.HexToAddress("0x0000000000000000000000000000000000001005")
RelayerHubContract = libcommon.HexToAddress("0x0000000000000000000000000000000000001006")
GovHubContract = libcommon.HexToAddress("0x0000000000000000000000000000000000001007")
TokenManagerContract = libcommon.HexToAddress("0x0000000000000000000000000000000000001008")
MaticTokenContract = libcommon.HexToAddress("0x0000000000000000000000000000000000001010")
CrossChainContract = libcommon.HexToAddress("0x0000000000000000000000000000000000002000")
StakingContract = libcommon.HexToAddress("0x0000000000000000000000000000000000002001")
)