bridge

package
v0.0.0-...-bd61a53 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthCluster

type EthCluster struct {
	Clients []*ethclient
}

func NewClientCluster

func NewClientCluster(urls []string) *EthCluster

func (*EthCluster) Add

func (c *EthCluster) Add(url string) error

func (*EthCluster) GetBalance

func (c *EthCluster) GetBalance(contract string, address string, number int64) (*big.Int, error)

func (*EthCluster) SendTransaction

func (c *EthCluster) SendTransaction(contract string, from string, to string, value *big.Int) ([]byte, error)

Jump to

Keyboard shortcuts

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