predeploys

package
v0.0.0-...-eb934a0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

View Source
const (
	L2ToL1MessagePasser        = "0x4200000000000000000000000000000000000016"
	DeployerWhitelist          = "0x4200000000000000000000000000000000000002"
	WETH9                      = "0x4200000000000000000000000000000000000006"
	L2CrossDomainMessenger     = "0x4200000000000000000000000000000000000007"
	L2StandardBridge           = "0x4200000000000000000000000000000000000010"
	SequencerFeeVault          = "0x4200000000000000000000000000000000000011"
	SliceMintableERC20Factory  = "0x4200000000000000000000000000000000000012"
	L1BlockNumber              = "0x4200000000000000000000000000000000000013"
	GasPriceOracle             = "0x420000000000000000000000000000000000000F"
	L1Block                    = "0x4200000000000000000000000000000000000015"
	GovernanceToken            = "0x4200000000000000000000000000000000000042"
	LegacyMessagePasser        = "0x4200000000000000000000000000000000000000"
	L2ERC721Bridge             = "0x4200000000000000000000000000000000000014"
	SliceMintableERC721Factory = "0x4200000000000000000000000000000000000017"
	ProxyAdmin                 = "0x4200000000000000000000000000000000000018"
	BaseFeeVault               = "0x4200000000000000000000000000000000000019"
	L1FeeVault                 = "0x420000000000000000000000000000000000001a"
)
View Source
const (
	DevL2OutputOracle            = "0x6900000000000000000000000000000000000000"
	DevSlicePortal               = "0x6900000000000000000000000000000000000001"
	DevL1CrossDomainMessenger    = "0x6900000000000000000000000000000000000002"
	DevL1StandardBridge          = "0x6900000000000000000000000000000000000003"
	DevSliceMintableERC20Factory = "0x6900000000000000000000000000000000000004"
	DevAddressManager            = "0x6900000000000000000000000000000000000005"
	DevProxyAdmin                = "0x6900000000000000000000000000000000000006"
	DevWETH9                     = "0x6900000000000000000000000000000000000007"
	DevL1ERC721Bridge            = "0x6900000000000000000000000000000000000008"
	DevSystemConfig              = "0x6900000000000000000000000000000000000009"
)

Variables

View Source
var (
	L2ToL1MessagePasserAddr        = common.HexToAddress(L2ToL1MessagePasser)
	DeployerWhitelistAddr          = common.HexToAddress(DeployerWhitelist)
	WETH9Addr                      = common.HexToAddress(WETH9)
	L2CrossDomainMessengerAddr     = common.HexToAddress(L2CrossDomainMessenger)
	L2StandardBridgeAddr           = common.HexToAddress(L2StandardBridge)
	SequencerFeeVaultAddr          = common.HexToAddress(SequencerFeeVault)
	SliceMintableERC20FactoryAddr  = common.HexToAddress(SliceMintableERC20Factory)
	L1BlockNumberAddr              = common.HexToAddress(L1BlockNumber)
	GasPriceOracleAddr             = common.HexToAddress(GasPriceOracle)
	L1BlockAddr                    = common.HexToAddress(L1Block)
	GovernanceTokenAddr            = common.HexToAddress(GovernanceToken)
	LegacyMessagePasserAddr        = common.HexToAddress(LegacyMessagePasser)
	L2ERC721BridgeAddr             = common.HexToAddress(L2ERC721Bridge)
	SliceMintableERC721FactoryAddr = common.HexToAddress(SliceMintableERC721Factory)
	ProxyAdminAddr                 = common.HexToAddress(ProxyAdmin)
	BaseFeeVaultAddr               = common.HexToAddress(BaseFeeVault)
	L1FeeVaultAddr                 = common.HexToAddress(L1FeeVault)

	Predeploys = make(map[string]*common.Address)
)
View Source
var (
	DevL2OutputOracleAddr            = common.HexToAddress(DevL2OutputOracle)
	DevSlicePortalAddr               = common.HexToAddress(DevSlicePortal)
	DevL1CrossDomainMessengerAddr    = common.HexToAddress(DevL1CrossDomainMessenger)
	DevL1StandardBridgeAddr          = common.HexToAddress(DevL1StandardBridge)
	DevSliceMintableERC20FactoryAddr = common.HexToAddress(DevSliceMintableERC20Factory)
	DevAddressManagerAddr            = common.HexToAddress(DevAddressManager)
	DevProxyAdminAddr                = common.HexToAddress(DevProxyAdmin)
	DevWETH9Addr                     = common.HexToAddress(DevWETH9)
	DevL1ERC721BridgeAddr            = common.HexToAddress(DevL1ERC721Bridge)
	DevSystemConfigAddr              = common.HexToAddress(DevSystemConfig)

	DevPredeploys = make(map[string]*common.Address)
)

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