mocks

package
v0.0.0-...-1f6a0e3 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ledger

type Ledger struct {
	mock.Mock
}

Ledger is an autogenerated mock type for the Ledger type

func NewLedger

func NewLedger(t mockConstructorTestingTNewLedger) *Ledger

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

func (*Ledger) Address

func (_m *Ledger) Address(displayHRP string, addressIndex uint32) (ids.ShortID, error)

Address provides a mock function with given fields: displayHRP, addressIndex

func (*Ledger) Addresses

func (_m *Ledger) Addresses(_a0 []uint32) ([]ids.ShortID, error)

Addresses provides a mock function with given fields: _a0

func (*Ledger) Disconnect

func (_m *Ledger) Disconnect() error

Disconnect provides a mock function with given fields:

func (*Ledger) SignHash

func (_m *Ledger) SignHash(hash []byte, addressIndices []uint32) ([][]byte, error)

SignHash provides a mock function with given fields: hash, addressIndices

func (*Ledger) Version

func (_m *Ledger) Version() (string, string, string, error)

Version 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