Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Oracle ¶
Oracle is an autogenerated mock type for the Oracle type
func NewOracle ¶
NewOracle creates a new instance of Oracle. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Oracle) GetLastSyncTime ¶
GetLastSyncTime provides a mock function with no fields
func (*Oracle) GetMarketMap ¶
GetMarketMap provides a mock function with no fields
type PriceAggregator ¶
PriceAggregator is an autogenerated mock type for the PriceAggregator type
func NewPriceAggregator ¶
func NewPriceAggregator(t interface {
mock.TestingT
Cleanup(func())
}) *PriceAggregator
NewPriceAggregator creates a new instance of PriceAggregator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PriceAggregator) AggregatePrices ¶
func (_m *PriceAggregator) AggregatePrices()
AggregatePrices provides a mock function with no fields
func (*PriceAggregator) GetPrices ¶
func (_m *PriceAggregator) GetPrices() map[string]*big.Float
GetPrices provides a mock function with no fields
func (*PriceAggregator) Reset ¶
func (_m *PriceAggregator) Reset()
Reset provides a mock function with no fields
func (*PriceAggregator) SetProviderPrices ¶
func (_m *PriceAggregator) SetProviderPrices(provider string, prices map[string]*big.Float)
SetProviderPrices provides a mock function with given fields: provider, prices
func (*PriceAggregator) UpdateMarketMap ¶
func (_m *PriceAggregator) UpdateMarketMap(_a0 types.MarketMap)
UpdateMarketMap provides a mock function with given fields: _a0