mocks

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 6 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 NewManager

func NewManager(t mockConstructorTestingTNewManager) *Manager

NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Manager) ApproveAllTokens

func (_m *Manager) ApproveAllTokens(ctx context.Context, _a1 submitter.TransactionSubmitter) error

ApproveAllTokens provides a mock function with given fields: ctx, _a1

func (*Manager) GetCommittableBalance

func (_m *Manager) GetCommittableBalance(ctx context.Context, chainID int, token common.Address, options ...inventory.BalanceFetchArgOption) (*big.Int, error)

GetCommittableBalance provides a mock function with given fields: ctx, chainID, token, options

func (*Manager) GetCommittableBalances

func (_m *Manager) GetCommittableBalances(ctx context.Context, options ...inventory.BalanceFetchArgOption) (map[int]map[common.Address]*big.Int, error)

GetCommittableBalances provides a mock function with given fields: ctx, options

func (*Manager) HasSufficientGas

func (_m *Manager) HasSufficientGas(ctx context.Context, origin int, dest int) (bool, error)

HasSufficientGas provides a mock function with given fields: ctx, origin, dest

Jump to

Keyboard shortcuts

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