tokenmocks

package
v0.0.0-...-93e01a0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callbacks

type Callbacks struct {
	mock.Mock
}

Callbacks is an autogenerated mock type for the Callbacks type

func (*Callbacks) TokenPoolCreated

func (_m *Callbacks) TokenPoolCreated(plugin tokens.Plugin, pool *fftypes.TokenPool, signingIdentity string, protocolTxID string, additionalInfo fftypes.JSONObject) error

TokenPoolCreated provides a mock function with given fields: plugin, pool, signingIdentity, protocolTxID, additionalInfo

func (*Callbacks) TokensTxUpdate

func (_m *Callbacks) TokensTxUpdate(plugin tokens.Plugin, txTrackingID string, txState fftypes.OpStatus, errorMessage string, opOutput fftypes.JSONObject) error

TokensTxUpdate provides a mock function with given fields: plugin, txTrackingID, txState, errorMessage, opOutput

type Plugin

type Plugin struct {
	mock.Mock
}

Plugin is an autogenerated mock type for the Plugin type

func (*Plugin) Capabilities

func (_m *Plugin) Capabilities() *tokens.Capabilities

Capabilities provides a mock function with given fields:

func (*Plugin) CreateTokenPool

func (_m *Plugin) CreateTokenPool(ctx context.Context, identity *fftypes.Identity, pool *fftypes.TokenPool) error

CreateTokenPool provides a mock function with given fields: ctx, identity, pool

func (*Plugin) Init

func (_m *Plugin) Init(ctx context.Context, name string, prefix config.Prefix, callbacks tokens.Callbacks) error

Init provides a mock function with given fields: ctx, name, prefix, callbacks

func (*Plugin) InitPrefix

func (_m *Plugin) InitPrefix(prefix config.PrefixArray)

InitPrefix provides a mock function with given fields: prefix

func (*Plugin) Name

func (_m *Plugin) Name() string

Name provides a mock function with given fields:

func (*Plugin) Start

func (_m *Plugin) Start() error

Start 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