mocks

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: MIT 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 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) error

ApproveAllTokens provides a mock function with given fields: ctx

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) GetTokenMetadata added in v0.13.3

func (_m *Manager) GetTokenMetadata(chainID int, token common.Address) (*inventory.TokenMetadata, error)

GetTokenMetadata provides a mock function with given fields: chainID, token

func (*Manager) HasSufficientGas

func (_m *Manager) HasSufficientGas(ctx context.Context, chainID int, gasValue *big.Int) (bool, error)

HasSufficientGas provides a mock function with given fields: ctx, chainID, gasValue

func (*Manager) Rebalance added in v0.0.54

func (_m *Manager) Rebalance(ctx context.Context, chainID int, token common.Address) error

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

func (*Manager) Start added in v0.0.54

func (_m *Manager) Start(ctx context.Context) error

Start provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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