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