predeploys

package
v1.3.2-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProxyAdmin                 = "0x4200000000000000000000000000000000000000"
	WETH9                      = "0x4200000000000000000000000000000000000001"
	L1Block                    = "0x4200000000000000000000000000000000000002"
	L2ToL1MessagePasser        = "0x4200000000000000000000000000000000000003"
	L2CrossDomainMessenger     = "0x4200000000000000000000000000000000000004"
	GasPriceOracle             = "0x4200000000000000000000000000000000000005"
	ProtocolVault              = "0x4200000000000000000000000000000000000006"
	L1FeeVault                 = "0x4200000000000000000000000000000000000007"
	ValidatorRewardVault       = "0x4200000000000000000000000000000000000008"
	L2StandardBridge           = "0x4200000000000000000000000000000000000009"
	GovernanceToken            = "0x4200000000000000000000000000000000000010"
	L2ERC721Bridge             = "0x420000000000000000000000000000000000000A"
	KromaMintableERC20Factory  = "0x420000000000000000000000000000000000000B"
	KromaMintableERC721Factory = "0x420000000000000000000000000000000000000C"
	Create2Deployer            = "0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2"
)
View Source
const (
	LegacyERC20ETH = "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000"
)

Variables

View Source
var (
	ProxyAdminAddr                 = common.HexToAddress(ProxyAdmin)
	WETH9Addr                      = common.HexToAddress(WETH9)
	L1BlockAddr                    = common.HexToAddress(L1Block)
	L2ToL1MessagePasserAddr        = common.HexToAddress(L2ToL1MessagePasser)
	L2CrossDomainMessengerAddr     = common.HexToAddress(L2CrossDomainMessenger)
	GasPriceOracleAddr             = common.HexToAddress(GasPriceOracle)
	ProtocolVaultAddr              = common.HexToAddress(ProtocolVault)
	L1FeeVaultAddr                 = common.HexToAddress(L1FeeVault)
	ValidatorRewardVaultAddr       = common.HexToAddress(ValidatorRewardVault)
	L2StandardBridgeAddr           = common.HexToAddress(L2StandardBridge)
	GovernanceTokenAddr            = common.HexToAddress(GovernanceToken)
	L2ERC721BridgeAddr             = common.HexToAddress(L2ERC721Bridge)
	KromaMintableERC20FactoryAddr  = common.HexToAddress(KromaMintableERC20Factory)
	KromaMintableERC721FactoryAddr = common.HexToAddress(KromaMintableERC721Factory)
	Create2DeployerAddr            = common.HexToAddress(Create2Deployer)

	Predeploys          = make(map[string]*oppredeploys.Predeploy)
	PredeploysByAddress = make(map[common.Address]*oppredeploys.Predeploy)
)
View Source
var (
	LegacyERC20ETHAddr = common.HexToAddress(LegacyERC20ETH)
)

Functions

func IsProxied

func IsProxied(predeployAddr common.Address) bool

IsProxied returns true for predeploys that will sit behind a proxy contract

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL