eth

package
v0.0.0-...-57c21f4 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ERC20AddressLength = 20

Variables

This section is empty.

Functions

This section is empty.

Types

type ERC20Address

type ERC20Address [ERC20AddressLength]byte

func GetErc20AddressFromB64

func GetErc20AddressFromB64(input string) (ethAddress ERC20Address, err error)

type NetworkConfiguration

type NetworkConfiguration struct {
	NetworkID       uint64
	NetworkName     string
	ContractAddress common.Address
}

NetworkConfiguration defines the Ethereum network specific configuration needed by the bridge

func GetEthNetworkConfiguration

func GetEthNetworkConfiguration(networkname string) (networkconfig NetworkConfiguration, err error)

GetEthNetworkConfiguration returns the EthNetworkConAfiguration for a specific network

Jump to

Keyboard shortcuts

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