mocks

package
v12.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: LGPL-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 {
	mock.Mock
}

Wallet is an autogenerated mock type for the Wallet type

func NewWallet

func NewWallet(t mockConstructorTestingTNewWallet) *Wallet

NewWallet creates a new instance of Wallet. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Wallet) Accounts

func (_m *Wallet) Accounts() []accounts.Account

Accounts provides a mock function with given fields:

func (*Wallet) Close

func (_m *Wallet) Close() error

Close provides a mock function with given fields:

func (*Wallet) Contains

func (_m *Wallet) Contains(account accounts.Account) bool

Contains provides a mock function with given fields: account

func (*Wallet) Derive

Derive provides a mock function with given fields: path, pin

func (*Wallet) Open

func (_m *Wallet) Open(passphrase string) error

Open provides a mock function with given fields: passphrase

func (*Wallet) SignTx

func (_m *Wallet) SignTx(account accounts.Account, tx *types.Transaction, chainID *big.Int) ([]byte, error)

SignTx provides a mock function with given fields: account, tx, chainID

func (*Wallet) SignTypedData

func (_m *Wallet) SignTypedData(account accounts.Account, typedData apitypes.TypedData) ([]byte, error)

SignTypedData provides a mock function with given fields: account, typedData

func (*Wallet) Status

func (_m *Wallet) Status() (string, error)

Status provides a mock function with given fields:

func (*Wallet) URL

func (_m *Wallet) URL() go_ethereumaccounts.URL

URL provides a mock function with given fields:

Jump to

Keyboard shortcuts

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