predeploys

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OmniNamespace is namespace of for omni specific predeploys.
	OmniNamepsace = "0x121E240000000000000000000000000000000000"

	// OctaneNamespace is namespace of for octane specific predeploys.
	OctaneNamespace = "0xcccccc0000000000000000000000000000000000"

	// NamespaceSize is the number of proxies to deploy per namespace.
	NamespaceSize = 2048

	// ProxyAdmin for all namespaces.
	ProxyAdmin = "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"

	// Omni Predeploys.
	PortalRegistry   = "0x121E240000000000000000000000000000000001"
	OmniBridgeNative = "0x121E240000000000000000000000000000000002"
	EthStakeInbox    = "0x121E240000000000000000000000000000000003"

	// Octane Predeploys.
	Staking  = "0xcccccc0000000000000000000000000000000001"
	Slashing = "0xcccccc0000000000000000000000000000000002"

	// TransparentUpgradeableProxy storage slots.
	ProxyImplementationSlot = "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc"
	ProxyAdminSlot          = "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103"
)

Variables

This section is empty.

Functions

func Alloc

func Alloc(admin common.Address) (types.GenesisAlloc, error)

Alloc returns the genesis allocs for the predeployed contracts, initializing code and storage.

Types

This section is empty.

Jump to

Keyboard shortcuts

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