predeploys

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Namespace - namespace of predeploys users will interact with.
	Namespace     = "0x121E240000000000000000000000000000000000"
	NamespaceSize = 2048

	// Implementation namespaces.
	ImplNamespace = "0x121E241111111111111111111111111111000000"

	// Predeploy addresses.
	ProxyAdmin = "0x121E240000000000000000000000000000000001"
	OmniStake  = "0x121E240000000000000000000000000000000002"

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

Variables

This section is empty.

Functions

func Alloc

func Alloc(network netconf.ID) (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