Help us shape the future of Go! Take the 2026 Go Developer Survey

genesis

package
v1.9.13 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

View Source
const (
	MessengerContractAddress = "0x253b2784c75e510dD0fF1da844684a1aC0aa5fcf"
	RegistryContractAddress  = "0xF86Cb19Ad8405AEFa7d09C778215D2Cb6eBfB228"
	MessengerDeployerAddress = "0x618FEdD9A45a8C456812ecAAE70C671c6249DfaC"
)

Variables

This section is empty.

Functions

func AddWarpMessengerContractToAllocations

func AddWarpMessengerContractToAllocations(
	allocs core.GenesisAlloc,
)

func AddWarpRegistryContractToAllocations

func AddWarpRegistryContractToAllocations(
	allocs core.GenesisAlloc,
) error

func WarpAtGenesis

func WarpAtGenesis(
	genesisData []byte,
) (bool, bool, error)

check if [genesisData] has smart contracts (len(alloc.Code)>0) allocated for Warp Messenger and Warp registry, based on their expected addresses MessengerContractAddress and RegistryContractAddress to be used by local blockchain deploy to determine if a Warp messenger or or registry deploy is needed

Types

This section is empty.

Jump to

Keyboard shortcuts

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