Documentation ¶
Index ¶
- type Ledger
- func (_m *Ledger) Address(displayHRP string, addressIndex uint32) (ids.ShortID, error)
- func (_m *Ledger) Addresses(_a0 []uint32) ([]ids.ShortID, error)
- func (_m *Ledger) Disconnect() error
- func (_m *Ledger) SignHash(hash []byte, addressIndices []uint32) ([][]byte, error)
- func (_m *Ledger) Version() (string, string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ledger ¶
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 ¶
Address provides a mock function with given fields: displayHRP, addressIndex
func (*Ledger) Disconnect ¶
Disconnect provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.