ethutil

package
v0.0.0-...-8efdbe7 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 9 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 {
	Address common.Address
	Client  *ethclient.Client
	// contains filtered or unexported fields
}

func NewWallet

func NewWallet(privateHexKey string, app di.App) (*Wallet, error)

func (*Wallet) BalanceOf

func (wallet *Wallet) BalanceOf(contractAddress string, ownerAddress string) (*big.Int, error)

func (*Wallet) Transfer

func (wallet *Wallet) Transfer(contractAddress string, toAddress string, tokenId int64) (*string, error)

Jump to

Keyboard shortcuts

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