network

package
v0.0.0-...-620b38c Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitNetworks

func InitNetworks() error

Types

type Network

type Network struct {
	// contains filtered or unexported fields
}

func Dial

func Dial(name string) (*Network, error)

func (*Network) Accounts

func (n *Network) Accounts() []accounts.Account

func (*Network) Client

func (n *Network) Client() *ethclient.Client

func (*Network) Keystore

func (n *Network) Keystore() *keystore.KeyStore

func (*Network) KeystorePath

func (n *Network) KeystorePath() string

func (*Network) Mnemonic

func (n *Network) Mnemonic() string

func (*Network) Name

func (n *Network) Name() string

func (*Network) NewTransactor

func (n *Network) NewTransactor(a accounts.Account) *bind.TransactOpts

func (*Network) NumAccounts

func (n *Network) NumAccounts() int64

func (*Network) Passphrase

func (n *Network) Passphrase() string

func (*Network) RpcClient

func (n *Network) RpcClient() *rpc.Client

func (*Network) Unlock

func (n *Network) Unlock(a accounts.Account) error

func (*Network) Url

func (n *Network) Url() string

type NetworkConfig

type NetworkConfig struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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