assetmocks

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 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) ActivateTokenPool added in v0.11.0

func (_m *Manager) ActivateTokenPool(ctx context.Context, pool *fftypes.TokenPool, event *fftypes.BlockchainEvent) error

ActivateTokenPool provides a mock function with given fields: ctx, pool, event

func (*Manager) BurnTokens

func (_m *Manager) BurnTokens(ctx context.Context, ns string, transfer *fftypes.TokenTransferInput, waitConfirm bool) (*fftypes.TokenTransfer, error)

BurnTokens provides a mock function with given fields: ctx, ns, transfer, waitConfirm

func (*Manager) CreateTokenPool

func (_m *Manager) CreateTokenPool(ctx context.Context, ns string, pool *fftypes.TokenPool, waitConfirm bool) (*fftypes.TokenPool, error)

CreateTokenPool provides a mock function with given fields: ctx, ns, pool, waitConfirm

func (*Manager) GetTokenAccountPools added in v0.11.0

func (_m *Manager) GetTokenAccountPools(ctx context.Context, ns string, key string, filter database.AndFilter) ([]*fftypes.TokenAccountPool, *database.FilterResult, error)

GetTokenAccountPools provides a mock function with given fields: ctx, ns, key, filter

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) GetTokenBalances added in v0.11.0

func (_m *Manager) GetTokenBalances(ctx context.Context, ns string, filter database.AndFilter) ([]*fftypes.TokenBalance, *database.FilterResult, error)

GetTokenBalances provides a mock function with given fields: ctx, ns, 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) 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) MintTokens

func (_m *Manager) MintTokens(ctx context.Context, ns string, transfer *fftypes.TokenTransferInput, waitConfirm bool) (*fftypes.TokenTransfer, error)

MintTokens provides a mock function with given fields: ctx, ns, transfer, waitConfirm

func (*Manager) NewTransfer added in v0.11.0

func (_m *Manager) NewTransfer(ns string, transfer *fftypes.TokenTransferInput) sysmessaging.MessageSender

NewTransfer provides a mock function with given fields: ns, transfer

func (*Manager) Start

func (_m *Manager) Start() error

Start provides a mock function with given fields:

func (*Manager) TransferTokens

func (_m *Manager) TransferTokens(ctx context.Context, ns string, transfer *fftypes.TokenTransferInput, waitConfirm bool) (*fftypes.TokenTransfer, error)

TransferTokens provides a mock function with given fields: ctx, ns, transfer, waitConfirm

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