ethsignermocks

package
v0.9.16 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 4 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 (*Wallet) Close

func (_m *Wallet) Close() error

Close provides a mock function with given fields:

func (*Wallet) GetAccounts

func (_m *Wallet) GetAccounts(ctx context.Context) ([]*ethtypes.Address0xHex, error)

GetAccounts provides a mock function with given fields: ctx

func (*Wallet) Initialize

func (_m *Wallet) Initialize(ctx context.Context) error

Initialize provides a mock function with given fields: ctx

func (*Wallet) Refresh

func (_m *Wallet) Refresh(ctx context.Context) error

Refresh provides a mock function with given fields: ctx

func (*Wallet) Sign

func (_m *Wallet) Sign(ctx context.Context, txn *ethsigner.Transaction, chainID int64) ([]byte, error)

Sign provides a mock function with given fields: ctx, txn, chainID

Jump to

Keyboard shortcuts

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