Documentation ¶
Index ¶
- type Callbacks
- func (_m *Callbacks) BatchPinComplete(batch *blockchain.BatchPin, signingKey *fftypes.VerifierRef) error
- func (_m *Callbacks) BlockchainEvent(event *blockchain.EventWithSubscription) error
- func (_m *Callbacks) BlockchainOpUpdate(plugin blockchain.Plugin, operationID *fftypes.UUID, txState fftypes.OpStatus, ...)
- type Plugin
- func (_m *Plugin) AddContractListener(ctx context.Context, subscription *fftypes.ContractListenerInput) error
- func (_m *Plugin) Capabilities() *blockchain.Capabilities
- func (_m *Plugin) DeleteContractListener(ctx context.Context, subscription *fftypes.ContractListener) error
- func (_m *Plugin) GenerateFFI(ctx context.Context, generationRequest *fftypes.FFIGenerationRequest) (*fftypes.FFI, error)
- func (_m *Plugin) GetFFIParamValidator(ctx context.Context) (fftypes.FFIParamValidator, error)
- func (_m *Plugin) Init(ctx context.Context, prefix config.Prefix, callbacks blockchain.Callbacks, ...) error
- func (_m *Plugin) InitPrefix(prefix config.Prefix)
- func (_m *Plugin) InvokeContract(ctx context.Context, operationID *fftypes.UUID, signingKey string, ...) error
- func (_m *Plugin) Name() string
- func (_m *Plugin) NormalizeSigningKey(ctx context.Context, keyRef string) (string, error)
- func (_m *Plugin) QueryContract(ctx context.Context, location *fftypes.JSONAny, method *fftypes.FFIMethod, ...) (interface{}, error)
- func (_m *Plugin) Start() error
- func (_m *Plugin) SubmitBatchPin(ctx context.Context, operationID *fftypes.UUID, ledgerID *fftypes.UUID, ...) error
- func (_m *Plugin) VerifierType() fftypes.FFEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callbacks ¶
Callbacks is an autogenerated mock type for the Callbacks type
func (*Callbacks) BatchPinComplete ¶
func (_m *Callbacks) BatchPinComplete(batch *blockchain.BatchPin, signingKey *fftypes.VerifierRef) error
BatchPinComplete provides a mock function with given fields: batch, signingKey
func (*Callbacks) BlockchainEvent ¶ added in v0.12.0
func (_m *Callbacks) BlockchainEvent(event *blockchain.EventWithSubscription) error
BlockchainEvent provides a mock function with given fields: event
func (*Callbacks) BlockchainOpUpdate ¶
func (_m *Callbacks) BlockchainOpUpdate(plugin blockchain.Plugin, operationID *fftypes.UUID, txState fftypes.OpStatus, blockchainTXID string, errorMessage string, opOutput fftypes.JSONObject)
BlockchainOpUpdate provides a mock function with given fields: plugin, operationID, txState, blockchainTXID, errorMessage, opOutput
type Plugin ¶
Plugin is an autogenerated mock type for the Plugin type
func (*Plugin) AddContractListener ¶ added in v0.14.0
func (_m *Plugin) AddContractListener(ctx context.Context, subscription *fftypes.ContractListenerInput) error
AddContractListener provides a mock function with given fields: ctx, subscription
func (*Plugin) Capabilities ¶
func (_m *Plugin) Capabilities() *blockchain.Capabilities
Capabilities provides a mock function with given fields:
func (*Plugin) DeleteContractListener ¶ added in v0.14.0
func (_m *Plugin) DeleteContractListener(ctx context.Context, subscription *fftypes.ContractListener) error
DeleteContractListener provides a mock function with given fields: ctx, subscription
func (*Plugin) GenerateFFI ¶ added in v0.13.1
func (_m *Plugin) GenerateFFI(ctx context.Context, generationRequest *fftypes.FFIGenerationRequest) (*fftypes.FFI, error)
GenerateFFI provides a mock function with given fields: ctx, generationRequest
func (*Plugin) GetFFIParamValidator ¶ added in v0.12.0
GetFFIParamValidator provides a mock function with given fields: ctx
func (*Plugin) Init ¶
func (_m *Plugin) Init(ctx context.Context, prefix config.Prefix, callbacks blockchain.Callbacks, _a3 metrics.Manager) error
Init provides a mock function with given fields: ctx, prefix, callbacks, _a3
func (*Plugin) InitPrefix ¶
InitPrefix provides a mock function with given fields: prefix
func (*Plugin) InvokeContract ¶ added in v0.12.0
func (_m *Plugin) InvokeContract(ctx context.Context, operationID *fftypes.UUID, signingKey string, location *fftypes.JSONAny, method *fftypes.FFIMethod, input map[string]interface{}) error
InvokeContract provides a mock function with given fields: ctx, operationID, signingKey, location, method, input
func (*Plugin) NormalizeSigningKey ¶ added in v0.14.0
NormalizeSigningKey provides a mock function with given fields: ctx, keyRef
func (*Plugin) QueryContract ¶ added in v0.12.0
func (_m *Plugin) QueryContract(ctx context.Context, location *fftypes.JSONAny, method *fftypes.FFIMethod, input map[string]interface{}) (interface{}, error)
QueryContract provides a mock function with given fields: ctx, location, method, input
func (*Plugin) SubmitBatchPin ¶
func (_m *Plugin) SubmitBatchPin(ctx context.Context, operationID *fftypes.UUID, ledgerID *fftypes.UUID, signingKey string, batch *blockchain.BatchPin) error
SubmitBatchPin provides a mock function with given fields: ctx, operationID, ledgerID, signingKey, batch
func (*Plugin) VerifierType ¶ added in v0.14.0
VerifierType provides a mock function with given fields: