Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) BurnTokens(ctx context.Context, ns string, typeName string, poolName string, ...) (*fftypes.TokenTransfer, error)
- func (_m *Manager) CreateTokenPool(ctx context.Context, ns string, typeName string, pool *fftypes.TokenPool, ...) (*fftypes.TokenPool, error)
- func (_m *Manager) GetTokenAccounts(ctx context.Context, ns string, typeName string, poolName string, ...) ([]*fftypes.TokenAccount, *database.FilterResult, error)
- func (_m *Manager) GetTokenPool(ctx context.Context, ns string, typeName string, poolName string) (*fftypes.TokenPool, error)
- func (_m *Manager) GetTokenPools(ctx context.Context, ns string, typeName string, filter database.AndFilter) ([]*fftypes.TokenPool, *database.FilterResult, error)
- func (_m *Manager) GetTokenTransfers(ctx context.Context, ns string, typeName string, poolName string, ...) ([]*fftypes.TokenTransfer, *database.FilterResult, error)
- func (_m *Manager) MintTokens(ctx context.Context, ns string, typeName string, poolName string, ...) (*fftypes.TokenTransfer, error)
- func (_m *Manager) Start() error
- func (_m *Manager) TokenPoolCreated(tk tokens.Plugin, pool *fftypes.TokenPool, protocolTxID string, ...) error
- func (_m *Manager) TokensTransferred(tk tokens.Plugin, transfer *fftypes.TokenTransfer, protocolTxID string, ...) error
- func (_m *Manager) TransferTokens(ctx context.Context, ns string, typeName 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, typeName string, poolName string, transfer *fftypes.TokenTransfer, waitConfirm bool) (*fftypes.TokenTransfer, error)
BurnTokens provides a mock function with given fields: ctx, ns, typeName, poolName, transfer, waitConfirm
func (*Manager) CreateTokenPool ¶
func (_m *Manager) CreateTokenPool(ctx context.Context, ns string, typeName string, pool *fftypes.TokenPool, waitConfirm bool) (*fftypes.TokenPool, error)
CreateTokenPool provides a mock function with given fields: ctx, ns, typeName, pool, waitConfirm
func (*Manager) GetTokenAccounts ¶
func (_m *Manager) GetTokenAccounts(ctx context.Context, ns string, typeName string, poolName string, filter database.AndFilter) ([]*fftypes.TokenAccount, *database.FilterResult, error)
GetTokenAccounts provides a mock function with given fields: ctx, ns, typeName, poolName, filter
func (*Manager) GetTokenPool ¶
func (_m *Manager) GetTokenPool(ctx context.Context, ns string, typeName string, poolName string) (*fftypes.TokenPool, error)
GetTokenPool provides a mock function with given fields: ctx, ns, typeName, poolName
func (*Manager) GetTokenPools ¶
func (_m *Manager) GetTokenPools(ctx context.Context, ns string, typeName string, filter database.AndFilter) ([]*fftypes.TokenPool, *database.FilterResult, error)
GetTokenPools provides a mock function with given fields: ctx, ns, typeName, filter
func (*Manager) GetTokenTransfers ¶
func (_m *Manager) GetTokenTransfers(ctx context.Context, ns string, typeName string, poolName string, filter database.AndFilter) ([]*fftypes.TokenTransfer, *database.FilterResult, error)
GetTokenTransfers provides a mock function with given fields: ctx, ns, typeName, poolName, filter
func (*Manager) MintTokens ¶
func (_m *Manager) MintTokens(ctx context.Context, ns string, typeName string, poolName string, transfer *fftypes.TokenTransfer, waitConfirm bool) (*fftypes.TokenTransfer, error)
MintTokens provides a mock function with given fields: ctx, ns, typeName, poolName, transfer, waitConfirm
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) TokensTransferred ¶
func (_m *Manager) TokensTransferred(tk tokens.Plugin, transfer *fftypes.TokenTransfer, protocolTxID string, additionalInfo fftypes.JSONObject) error
TokensTransferred provides a mock function with given fields: tk, transfer, protocolTxID, additionalInfo
func (*Manager) TransferTokens ¶
func (_m *Manager) TransferTokens(ctx context.Context, ns string, typeName string, poolName string, transfer *fftypes.TokenTransfer, waitConfirm bool) (*fftypes.TokenTransfer, error)
TransferTokens provides a mock function with given fields: ctx, ns, typeName, poolName, transfer, waitConfirm