assetmocks

package
v0.11.0 Latest Latest
Warning

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

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

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

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

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

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

BurnTokensByType 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, pool *fftypes.TokenPool, waitConfirm bool) (*fftypes.TokenPool, error)

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

func (*Manager) CreateTokenPoolByType added in v0.11.0

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

CreateTokenPoolByType provides a mock function with given fields: ctx, ns, connector, 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) GetTokenBalancesByPool added in v0.11.0

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

GetTokenBalancesByPool 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, transfer *fftypes.TokenTransferInput, waitConfirm bool) (*fftypes.TokenTransfer, error)

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

func (*Manager) MintTokensByType added in v0.11.0

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

MintTokensByType 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, 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) TransferTokensByType added in v0.11.0

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

TransferTokensByType provides a mock function with given fields: ctx, ns, connector, poolName, 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