common

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EthereumNetworks sync.Map

EthereumNetworks list of ethereum networks where Hermez Network connects and his definitions in each ethereum network

Functions

This section is empty.

Types

type HermezDefinitionEthereumNetwork

type HermezDefinitionEthereumNetwork struct {
	ChainID                int
	RollupContractAddress  common.Address
	AuctionContractAddress common.Address
}

func GetNetworkDefinition

func GetNetworkDefinition(networkName string) (network HermezDefinitionEthereumNetwork, err error)

GetNetworkDefinition return Hermez network definitions (contract addresses) per Ethereum network

Jump to

Keyboard shortcuts

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