Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) ApproveAllTokens(ctx context.Context) error
- func (_m *Manager) GetCommittableBalance(ctx context.Context, chainID int, token common.Address, ...) (*big.Int, error)
- func (_m *Manager) GetCommittableBalances(ctx context.Context, options ...inventory.BalanceFetchArgOption) (map[int]map[common.Address]*big.Int, error)
- func (_m *Manager) GetTokenMetadata(chainID int, token common.Address) (*inventory.TokenMetadata, error)
- func (_m *Manager) HasSufficientGas(ctx context.Context, chainID int, gasValue *big.Int) (bool, error)
- func (_m *Manager) Rebalance(ctx context.Context) error
- func (_m *Manager) Start(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.