Documentation
¶
Index ¶
- type Callbacks
- type Plugin
- func (_m *Plugin) Capabilities() *tokens.Capabilities
- func (_m *Plugin) CreateTokenPool(ctx context.Context, identity *fftypes.Identity, pool *fftypes.TokenPool) error
- func (_m *Plugin) Init(ctx context.Context, name string, prefix config.Prefix, ...) error
- func (_m *Plugin) InitPrefix(prefix config.PrefixArray)
- func (_m *Plugin) Name() string
- func (_m *Plugin) Start() error
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) 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 ¶
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