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
Click to show internal directories.
Click to hide internal directories.