assetmocks

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 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 Manager

type Manager struct {
	mock.Mock
}

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

func (_m *Manager) Start() error

Start provides a mock function with given fields:

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

func (*Manager) ValidateTokenPoolTx

func (_m *Manager) ValidateTokenPoolTx(ctx context.Context, pool *fftypes.TokenPool, protocolTxID string) error

ValidateTokenPoolTx provides a mock function with given fields: ctx, pool, protocolTxID

func (*Manager) WaitStop

func (_m *Manager) WaitStop()

WaitStop provides a mock function with given fields:

Jump to

Keyboard shortcuts

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