constructor

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.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 Handler

type Handler struct {
	mock.Mock
}

Handler is an autogenerated mock type for the Handler type

func (*Handler) AddressCreated

func (_m *Handler) AddressCreated(_a0 context.Context, _a1 string) error

AddressCreated provides a mock function with given fields: _a0, _a1

func (*Handler) TransactionCreated

func (_m *Handler) TransactionCreated(_a0 context.Context, _a1 string, _a2 *types.TransactionIdentifier) error

TransactionCreated provides a mock function with given fields: _a0, _a1, _a2

type Helper

type Helper struct {
	mock.Mock
}

Helper is an autogenerated mock type for the Helper type

func (*Helper) AccountBalance

func (_m *Helper) AccountBalance(_a0 context.Context, _a1 *types.AccountIdentifier, _a2 *types.Currency) (*big.Int, error)

AccountBalance provides a mock function with given fields: _a0, _a1, _a2

func (*Helper) AllAddresses

func (_m *Helper) AllAddresses(ctx context.Context) ([]string, error)

AllAddresses provides a mock function with given fields: ctx

func (*Helper) AllBroadcasts

func (_m *Helper) AllBroadcasts(ctx context.Context) ([]*storage.Broadcast, error)

AllBroadcasts provides a mock function with given fields: ctx

func (*Helper) Broadcast

func (_m *Helper) Broadcast(_a0 context.Context, _a1 string, _a2 []*types.Operation, _a3 *types.TransactionIdentifier, _a4 string) error

Broadcast provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

func (*Helper) ClearBroadcasts

func (_m *Helper) ClearBroadcasts(ctx context.Context) ([]*storage.Broadcast, error)

ClearBroadcasts provides a mock function with given fields: ctx

func (*Helper) CoinBalance

func (_m *Helper) CoinBalance(_a0 context.Context, _a1 *types.AccountIdentifier, _a2 *types.Currency) (*big.Int, *types.CoinIdentifier, error)

CoinBalance provides a mock function with given fields: _a0, _a1, _a2

func (*Helper) Combine

func (_m *Helper) Combine(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 string, _a3 []*types.Signature) (string, error)

Combine provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Helper) Derive

func (_m *Helper) Derive(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 *types.PublicKey, _a3 map[string]interface{}) (string, map[string]interface{}, error)

Derive provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Helper) Hash

Hash provides a mock function with given fields: _a0, _a1, _a2

func (*Helper) HeadBlockExists added in v0.5.0

func (_m *Helper) HeadBlockExists(_a0 context.Context) bool

HeadBlockExists provides a mock function with given fields: _a0

func (*Helper) LockedAddresses

func (_m *Helper) LockedAddresses(_a0 context.Context) ([]string, error)

LockedAddresses provides a mock function with given fields: _a0

func (*Helper) Metadata

func (_m *Helper) Metadata(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 map[string]interface{}) (map[string]interface{}, error)

Metadata provides a mock function with given fields: _a0, _a1, _a2

func (*Helper) Parse

func (_m *Helper) Parse(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 bool, _a3 string) ([]*types.Operation, []string, map[string]interface{}, error)

Parse provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Helper) Payloads

func (_m *Helper) Payloads(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 []*types.Operation, _a3 map[string]interface{}) (string, []*types.SigningPayload, error)

Payloads provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Helper) Preprocess

func (_m *Helper) Preprocess(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 []*types.Operation, _a3 map[string]interface{}) (map[string]interface{}, error)

Preprocess provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Helper) RandomAmount

func (_m *Helper) RandomAmount(_a0 *big.Int, _a1 *big.Int) *big.Int

RandomAmount provides a mock function with given fields: _a0, _a1

func (*Helper) Sign

func (_m *Helper) Sign(_a0 context.Context, _a1 []*types.SigningPayload) ([]*types.Signature, error)

Sign provides a mock function with given fields: _a0, _a1

func (*Helper) StoreKey

func (_m *Helper) StoreKey(_a0 context.Context, _a1 string, _a2 *keys.KeyPair) error

StoreKey provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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