mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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