wallet

package
v0.0.0-...-dee77e4 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wallet

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

func NewWallet

func NewWallet(address common.Address, client *ethclient.Client) *Wallet

func (*Wallet) Address

func (w *Wallet) Address() common.Address

func (*Wallet) GetBalance

func (w *Wallet) GetBalance(ctx context.Context) (uint64, error)

func (*Wallet) GetTransactions

func (w *Wallet) GetTransactions(ctx context.Context) ([]types.Log, error)

Jump to

Keyboard shortcuts

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