blockchainmocks

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) BatchPinComplete

func (_m *Callbacks) BatchPinComplete(batch *blockchain.BatchPin, signingIdentity string, protocolTxID string, additionalInfo fftypes.JSONObject) error

BatchPinComplete provides a mock function with given fields: batch, signingIdentity, protocolTxID, additionalInfo

func (*Callbacks) BlockchainTxUpdate

func (_m *Callbacks) BlockchainTxUpdate(tx string, txState fftypes.OpStatus, errorMessage string, opOutput fftypes.JSONObject) error

BlockchainTxUpdate provides a mock function with given fields: tx, 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() *blockchain.Capabilities

Capabilities provides a mock function with given fields:

func (*Plugin) Init

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

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

func (*Plugin) InitPrefix

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

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:

func (*Plugin) SubmitBatchPin

func (_m *Plugin) SubmitBatchPin(ctx context.Context, ledgerID *fftypes.UUID, identity *fftypes.Identity, batch *blockchain.BatchPin) error

SubmitBatchPin provides a mock function with given fields: ctx, ledgerID, identity, batch

func (*Plugin) VerifyIdentitySyntax

func (_m *Plugin) VerifyIdentitySyntax(ctx context.Context, identity *fftypes.Identity) error

VerifyIdentitySyntax provides a mock function with given fields: ctx, identity

Jump to

Keyboard shortcuts

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