Documentation
¶
Index ¶
- type Manager
- func (_m *Manager) BurnTokens(ctx context.Context, ns string, connector string, poolName string, ...) (*fftypes.TokenTransfer, error)
- func (_m *Manager) CreateTokenPool(ctx context.Context, ns string, connector string, pool *fftypes.TokenPool, ...) (*fftypes.TokenPool, error)
- func (_m *Manager) GetTokenAccounts(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.TokenAccount, *database.FilterResult, error)
- func (_m *Manager) GetTokenAccountsByPool(ctx context.Context, ns string, connector string, poolName string, ...) ([]*fftypes.TokenAccount, *database.FilterResult, error)
- func (_m *Manager) GetTokenConnectors(ctx context.Context, ns string) ([]*fftypes.TokenConnector, error)
- func (_m *Manager) GetTokenPool(ctx context.Context, ns string, connector string, poolName string) (*fftypes.TokenPool, error)
- func (_m *Manager) GetTokenPoolByNameOrID(ctx context.Context, ns string, poolNameOrID string) (*fftypes.TokenPool, error)
- func (_m *Manager) GetTokenPools(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.TokenPool, *database.FilterResult, error)
- func (_m *Manager) GetTokenPoolsByType(ctx context.Context, ns string, connector string, filter database.AndFilter) ([]*fftypes.TokenPool, *database.FilterResult, error)
- func (_m *Manager) GetTokenTransferByID(ctx context.Context, ns string, id string) (*fftypes.TokenTransfer, error)
- func (_m *Manager) GetTokenTransfers(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.TokenTransfer, *database.FilterResult, error)
- func (_m *Manager) GetTokenTransfersByPool(ctx context.Context, ns string, connector string, poolName string, ...) ([]*fftypes.TokenTransfer, *database.FilterResult, error)
- func (_m *Manager) MintTokens(ctx context.Context, ns string, connector string, poolName string, ...) (*fftypes.TokenTransfer, error)
- func (_m *Manager) NewTransfer(ns string, connector string, poolName string, ...) sysmessaging.MessageSender
- func (_m *Manager) Start() error
- func (_m *Manager) TokenPoolCreated(tk tokens.Plugin, pool *fftypes.TokenPool, protocolTxID string, ...) error
- func (_m *Manager) TransferTokens(ctx context.Context, ns string, connector string, poolName string, ...) (*fftypes.TokenTransfer, error)
- func (_m *Manager) ValidateTokenPoolTx(ctx context.Context, pool *fftypes.TokenPool, protocolTxID string) error
- func (_m *Manager) WaitStop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func (*Manager) BurnTokens ¶
func (_m *Manager) BurnTokens(ctx context.Context, ns string, connector string, poolName string, transfer *fftypes.TokenTransferInput, waitConfirm bool) (*fftypes.TokenTransfer, error)
BurnTokens provides a mock function with given fields: ctx, ns, connector, poolName, transfer, waitConfirm
func (*Manager) CreateTokenPool ¶
func (_m *Manager) CreateTokenPool(ctx context.Context, ns string, connector string, pool *fftypes.TokenPool, waitConfirm bool) (*fftypes.TokenPool, error)
CreateTokenPool provides a mock function with given fields: ctx, ns, connector, pool, waitConfirm
func (*Manager) GetTokenAccounts ¶
func (_m *Manager) GetTokenAccounts(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.TokenAccount, *database.FilterResult, error)
GetTokenAccounts provides a mock function with given fields: ctx, ns, filter
func (*Manager) GetTokenAccountsByPool ¶
func (_m *Manager) GetTokenAccountsByPool(ctx context.Context, ns string, connector string, poolName string, filter database.AndFilter) ([]*fftypes.TokenAccount, *database.FilterResult, error)
GetTokenAccountsByPool provides a mock function with given fields: ctx, ns, connector, poolName, filter
func (*Manager) GetTokenConnectors ¶ added in v0.11.0
func (_m *Manager) GetTokenConnectors(ctx context.Context, ns string) ([]*fftypes.TokenConnector, error)
GetTokenConnectors provides a mock function with given fields: ctx, ns
func (*Manager) GetTokenPool ¶
func (_m *Manager) GetTokenPool(ctx context.Context, ns string, connector string, poolName string) (*fftypes.TokenPool, error)
GetTokenPool provides a mock function with given fields: ctx, ns, connector, poolName
func (*Manager) GetTokenPoolByNameOrID ¶ added in v0.11.0
func (_m *Manager) GetTokenPoolByNameOrID(ctx context.Context, ns string, poolNameOrID string) (*fftypes.TokenPool, error)
GetTokenPoolByNameOrID provides a mock function with given fields: ctx, ns, poolNameOrID
func (*Manager) GetTokenPools ¶
func (_m *Manager) GetTokenPools(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.TokenPool, *database.FilterResult, error)
GetTokenPools provides a mock function with given fields: ctx, ns, filter
func (*Manager) GetTokenPoolsByType ¶ added in v0.11.0
func (_m *Manager) GetTokenPoolsByType(ctx context.Context, ns string, connector string, filter database.AndFilter) ([]*fftypes.TokenPool, *database.FilterResult, error)
GetTokenPoolsByType provides a mock function with given fields: ctx, ns, connector, filter
func (*Manager) GetTokenTransferByID ¶ added in v0.11.0
func (_m *Manager) GetTokenTransferByID(ctx context.Context, ns string, id string) (*fftypes.TokenTransfer, error)
GetTokenTransferByID provides a mock function with given fields: ctx, ns, id
func (*Manager) GetTokenTransfers ¶
func (_m *Manager) GetTokenTransfers(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.TokenTransfer, *database.FilterResult, error)
GetTokenTransfers provides a mock function with given fields: ctx, ns, filter
func (*Manager) GetTokenTransfersByPool ¶ added in v0.11.0
func (_m *Manager) GetTokenTransfersByPool(ctx context.Context, ns string, connector string, poolName string, filter database.AndFilter) ([]*fftypes.TokenTransfer, *database.FilterResult, error)
GetTokenTransfersByPool provides a mock function with given fields: ctx, ns, connector, poolName, filter
func (*Manager) MintTokens ¶
func (_m *Manager) MintTokens(ctx context.Context, ns string, connector string, poolName string, transfer *fftypes.TokenTransferInput, waitConfirm bool) (*fftypes.TokenTransfer, error)
MintTokens provides a mock function with given fields: ctx, ns, connector, poolName, transfer, waitConfirm
func (*Manager) NewTransfer ¶ added in v0.11.0
func (_m *Manager) NewTransfer(ns string, connector string, poolName string, transfer *fftypes.TokenTransferInput) sysmessaging.MessageSender
NewTransfer provides a mock function with given fields: ns, connector, poolName, transfer
func (*Manager) TokenPoolCreated ¶
func (_m *Manager) TokenPoolCreated(tk tokens.Plugin, pool *fftypes.TokenPool, protocolTxID string, additionalInfo fftypes.JSONObject) error
TokenPoolCreated provides a mock function with given fields: tk, pool, protocolTxID, additionalInfo
func (*Manager) TransferTokens ¶
func (_m *Manager) TransferTokens(ctx context.Context, ns string, connector string, poolName string, transfer *fftypes.TokenTransferInput, waitConfirm bool) (*fftypes.TokenTransfer, error)
TransferTokens provides a mock function with given fields: ctx, ns, connector, poolName, transfer, waitConfirm