Documentation
¶
Index ¶
- type CurrencyPairStrategy
- func (_m *CurrencyPairStrategy) EXPECT() *CurrencyPairStrategy_Expecter
- func (_m *CurrencyPairStrategy) FromID(ctx types.Context, id uint64) (pkgtypes.CurrencyPair, error)
- func (_m *CurrencyPairStrategy) GetDecodedPrice(ctx types.Context, cp pkgtypes.CurrencyPair, priceBytes []byte) (*big.Int, error)
- func (_m *CurrencyPairStrategy) GetEncodedPrice(ctx types.Context, cp pkgtypes.CurrencyPair, price *big.Int) ([]byte, error)
- func (_m *CurrencyPairStrategy) GetMaxNumCP(ctx types.Context) (uint64, error)
- func (_m *CurrencyPairStrategy) ID(ctx types.Context, cp pkgtypes.CurrencyPair) (uint64, error)
- type CurrencyPairStrategy_Expecter
- func (_e *CurrencyPairStrategy_Expecter) FromID(ctx interface{}, id interface{}) *CurrencyPairStrategy_FromID_Call
- func (_e *CurrencyPairStrategy_Expecter) GetDecodedPrice(ctx interface{}, cp interface{}, priceBytes interface{}) *CurrencyPairStrategy_GetDecodedPrice_Call
- func (_e *CurrencyPairStrategy_Expecter) GetEncodedPrice(ctx interface{}, cp interface{}, price interface{}) *CurrencyPairStrategy_GetEncodedPrice_Call
- func (_e *CurrencyPairStrategy_Expecter) GetMaxNumCP(ctx interface{}) *CurrencyPairStrategy_GetMaxNumCP_Call
- func (_e *CurrencyPairStrategy_Expecter) ID(ctx interface{}, cp interface{}) *CurrencyPairStrategy_ID_Call
- type CurrencyPairStrategy_FromID_Call
- func (_c *CurrencyPairStrategy_FromID_Call) Return(_a0 pkgtypes.CurrencyPair, _a1 error) *CurrencyPairStrategy_FromID_Call
- func (_c *CurrencyPairStrategy_FromID_Call) Run(run func(ctx types.Context, id uint64)) *CurrencyPairStrategy_FromID_Call
- func (_c *CurrencyPairStrategy_FromID_Call) RunAndReturn(run func(types.Context, uint64) (pkgtypes.CurrencyPair, error)) *CurrencyPairStrategy_FromID_Call
- type CurrencyPairStrategy_GetDecodedPrice_Call
- func (_c *CurrencyPairStrategy_GetDecodedPrice_Call) Return(_a0 *big.Int, _a1 error) *CurrencyPairStrategy_GetDecodedPrice_Call
- func (_c *CurrencyPairStrategy_GetDecodedPrice_Call) Run(run func(ctx types.Context, cp pkgtypes.CurrencyPair, priceBytes []byte)) *CurrencyPairStrategy_GetDecodedPrice_Call
- func (_c *CurrencyPairStrategy_GetDecodedPrice_Call) RunAndReturn(run func(types.Context, pkgtypes.CurrencyPair, []byte) (*big.Int, error)) *CurrencyPairStrategy_GetDecodedPrice_Call
- type CurrencyPairStrategy_GetEncodedPrice_Call
- func (_c *CurrencyPairStrategy_GetEncodedPrice_Call) Return(_a0 []byte, _a1 error) *CurrencyPairStrategy_GetEncodedPrice_Call
- func (_c *CurrencyPairStrategy_GetEncodedPrice_Call) Run(run func(ctx types.Context, cp pkgtypes.CurrencyPair, price *big.Int)) *CurrencyPairStrategy_GetEncodedPrice_Call
- func (_c *CurrencyPairStrategy_GetEncodedPrice_Call) RunAndReturn(run func(types.Context, pkgtypes.CurrencyPair, *big.Int) ([]byte, error)) *CurrencyPairStrategy_GetEncodedPrice_Call
- type CurrencyPairStrategy_GetMaxNumCP_Call
- func (_c *CurrencyPairStrategy_GetMaxNumCP_Call) Return(_a0 uint64, _a1 error) *CurrencyPairStrategy_GetMaxNumCP_Call
- func (_c *CurrencyPairStrategy_GetMaxNumCP_Call) Run(run func(ctx types.Context)) *CurrencyPairStrategy_GetMaxNumCP_Call
- func (_c *CurrencyPairStrategy_GetMaxNumCP_Call) RunAndReturn(run func(types.Context) (uint64, error)) *CurrencyPairStrategy_GetMaxNumCP_Call
- type CurrencyPairStrategy_ID_Call
- func (_c *CurrencyPairStrategy_ID_Call) Return(_a0 uint64, _a1 error) *CurrencyPairStrategy_ID_Call
- func (_c *CurrencyPairStrategy_ID_Call) Run(run func(ctx types.Context, cp pkgtypes.CurrencyPair)) *CurrencyPairStrategy_ID_Call
- func (_c *CurrencyPairStrategy_ID_Call) RunAndReturn(run func(types.Context, pkgtypes.CurrencyPair) (uint64, error)) *CurrencyPairStrategy_ID_Call
- type OracleKeeper
- func (_m *OracleKeeper) EXPECT() *OracleKeeper_Expecter
- func (_m *OracleKeeper) GetAllCurrencyPairs(ctx context.Context) []types.CurrencyPair
- func (_m *OracleKeeper) GetCurrencyPairFromID(ctx context.Context, id uint64) (types.CurrencyPair, bool)
- func (_m *OracleKeeper) GetIDForCurrencyPair(ctx context.Context, cp types.CurrencyPair) (uint64, bool)
- func (_m *OracleKeeper) GetNumCurrencyPairs(ctx context.Context) (uint64, error)
- func (_m *OracleKeeper) GetNumRemovedCurrencyPairs(ctx context.Context) (uint64, error)
- func (_m *OracleKeeper) GetPriceForCurrencyPair(ctx context.Context, cp types.CurrencyPair) (oracletypes.QuotePrice, error)
- type OracleKeeper_Expecter
- func (_e *OracleKeeper_Expecter) GetAllCurrencyPairs(ctx interface{}) *OracleKeeper_GetAllCurrencyPairs_Call
- func (_e *OracleKeeper_Expecter) GetCurrencyPairFromID(ctx interface{}, id interface{}) *OracleKeeper_GetCurrencyPairFromID_Call
- func (_e *OracleKeeper_Expecter) GetIDForCurrencyPair(ctx interface{}, cp interface{}) *OracleKeeper_GetIDForCurrencyPair_Call
- func (_e *OracleKeeper_Expecter) GetNumCurrencyPairs(ctx interface{}) *OracleKeeper_GetNumCurrencyPairs_Call
- func (_e *OracleKeeper_Expecter) GetNumRemovedCurrencyPairs(ctx interface{}) *OracleKeeper_GetNumRemovedCurrencyPairs_Call
- func (_e *OracleKeeper_Expecter) GetPriceForCurrencyPair(ctx interface{}, cp interface{}) *OracleKeeper_GetPriceForCurrencyPair_Call
- type OracleKeeper_GetAllCurrencyPairs_Call
- func (_c *OracleKeeper_GetAllCurrencyPairs_Call) Return(_a0 []types.CurrencyPair) *OracleKeeper_GetAllCurrencyPairs_Call
- func (_c *OracleKeeper_GetAllCurrencyPairs_Call) Run(run func(ctx context.Context)) *OracleKeeper_GetAllCurrencyPairs_Call
- func (_c *OracleKeeper_GetAllCurrencyPairs_Call) RunAndReturn(run func(context.Context) []types.CurrencyPair) *OracleKeeper_GetAllCurrencyPairs_Call
- type OracleKeeper_GetCurrencyPairFromID_Call
- func (_c *OracleKeeper_GetCurrencyPairFromID_Call) Return(cp types.CurrencyPair, found bool) *OracleKeeper_GetCurrencyPairFromID_Call
- func (_c *OracleKeeper_GetCurrencyPairFromID_Call) Run(run func(ctx context.Context, id uint64)) *OracleKeeper_GetCurrencyPairFromID_Call
- func (_c *OracleKeeper_GetCurrencyPairFromID_Call) RunAndReturn(run func(context.Context, uint64) (types.CurrencyPair, bool)) *OracleKeeper_GetCurrencyPairFromID_Call
- type OracleKeeper_GetIDForCurrencyPair_Call
- func (_c *OracleKeeper_GetIDForCurrencyPair_Call) Return(_a0 uint64, _a1 bool) *OracleKeeper_GetIDForCurrencyPair_Call
- func (_c *OracleKeeper_GetIDForCurrencyPair_Call) Run(run func(ctx context.Context, cp types.CurrencyPair)) *OracleKeeper_GetIDForCurrencyPair_Call
- func (_c *OracleKeeper_GetIDForCurrencyPair_Call) RunAndReturn(run func(context.Context, types.CurrencyPair) (uint64, bool)) *OracleKeeper_GetIDForCurrencyPair_Call
- type OracleKeeper_GetNumCurrencyPairs_Call
- func (_c *OracleKeeper_GetNumCurrencyPairs_Call) Return(_a0 uint64, _a1 error) *OracleKeeper_GetNumCurrencyPairs_Call
- func (_c *OracleKeeper_GetNumCurrencyPairs_Call) Run(run func(ctx context.Context)) *OracleKeeper_GetNumCurrencyPairs_Call
- func (_c *OracleKeeper_GetNumCurrencyPairs_Call) RunAndReturn(run func(context.Context) (uint64, error)) *OracleKeeper_GetNumCurrencyPairs_Call
- type OracleKeeper_GetNumRemovedCurrencyPairs_Call
- func (_c *OracleKeeper_GetNumRemovedCurrencyPairs_Call) Return(_a0 uint64, _a1 error) *OracleKeeper_GetNumRemovedCurrencyPairs_Call
- func (_c *OracleKeeper_GetNumRemovedCurrencyPairs_Call) Run(run func(ctx context.Context)) *OracleKeeper_GetNumRemovedCurrencyPairs_Call
- func (_c *OracleKeeper_GetNumRemovedCurrencyPairs_Call) RunAndReturn(run func(context.Context) (uint64, error)) *OracleKeeper_GetNumRemovedCurrencyPairs_Call
- type OracleKeeper_GetPriceForCurrencyPair_Call
- func (_c *OracleKeeper_GetPriceForCurrencyPair_Call) Return(_a0 oracletypes.QuotePrice, _a1 error) *OracleKeeper_GetPriceForCurrencyPair_Call
- func (_c *OracleKeeper_GetPriceForCurrencyPair_Call) Run(run func(ctx context.Context, cp types.CurrencyPair)) *OracleKeeper_GetPriceForCurrencyPair_Call
- func (_c *OracleKeeper_GetPriceForCurrencyPair_Call) RunAndReturn(run func(context.Context, types.CurrencyPair) (oracletypes.QuotePrice, error)) *OracleKeeper_GetPriceForCurrencyPair_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrencyPairStrategy ¶
CurrencyPairStrategy is an autogenerated mock type for the CurrencyPairStrategy type
func NewCurrencyPairStrategy ¶
func NewCurrencyPairStrategy(t interface { mock.TestingT Cleanup(func()) }) *CurrencyPairStrategy
NewCurrencyPairStrategy creates a new instance of CurrencyPairStrategy. 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 (*CurrencyPairStrategy) EXPECT ¶
func (_m *CurrencyPairStrategy) EXPECT() *CurrencyPairStrategy_Expecter
func (*CurrencyPairStrategy) FromID ¶
func (_m *CurrencyPairStrategy) FromID(ctx types.Context, id uint64) (pkgtypes.CurrencyPair, error)
FromID provides a mock function with given fields: ctx, id
func (*CurrencyPairStrategy) GetDecodedPrice ¶
func (_m *CurrencyPairStrategy) GetDecodedPrice(ctx types.Context, cp pkgtypes.CurrencyPair, priceBytes []byte) (*big.Int, error)
GetDecodedPrice provides a mock function with given fields: ctx, cp, priceBytes
func (*CurrencyPairStrategy) GetEncodedPrice ¶
func (_m *CurrencyPairStrategy) GetEncodedPrice(ctx types.Context, cp pkgtypes.CurrencyPair, price *big.Int) ([]byte, error)
GetEncodedPrice provides a mock function with given fields: ctx, cp, price
func (*CurrencyPairStrategy) GetMaxNumCP ¶
func (_m *CurrencyPairStrategy) GetMaxNumCP(ctx types.Context) (uint64, error)
GetMaxNumCP provides a mock function with given fields: ctx
func (*CurrencyPairStrategy) ID ¶
func (_m *CurrencyPairStrategy) ID(ctx types.Context, cp pkgtypes.CurrencyPair) (uint64, error)
ID provides a mock function with given fields: ctx, cp
type CurrencyPairStrategy_Expecter ¶
type CurrencyPairStrategy_Expecter struct {
// contains filtered or unexported fields
}
func (*CurrencyPairStrategy_Expecter) FromID ¶
func (_e *CurrencyPairStrategy_Expecter) FromID(ctx interface{}, id interface{}) *CurrencyPairStrategy_FromID_Call
FromID is a helper method to define mock.On call
- ctx types.Context
- id uint64
func (*CurrencyPairStrategy_Expecter) GetDecodedPrice ¶
func (_e *CurrencyPairStrategy_Expecter) GetDecodedPrice(ctx interface{}, cp interface{}, priceBytes interface{}) *CurrencyPairStrategy_GetDecodedPrice_Call
GetDecodedPrice is a helper method to define mock.On call
- ctx types.Context
- cp pkgtypes.CurrencyPair
- priceBytes []byte
func (*CurrencyPairStrategy_Expecter) GetEncodedPrice ¶
func (_e *CurrencyPairStrategy_Expecter) GetEncodedPrice(ctx interface{}, cp interface{}, price interface{}) *CurrencyPairStrategy_GetEncodedPrice_Call
GetEncodedPrice is a helper method to define mock.On call
- ctx types.Context
- cp pkgtypes.CurrencyPair
- price *big.Int
func (*CurrencyPairStrategy_Expecter) GetMaxNumCP ¶
func (_e *CurrencyPairStrategy_Expecter) GetMaxNumCP(ctx interface{}) *CurrencyPairStrategy_GetMaxNumCP_Call
GetMaxNumCP is a helper method to define mock.On call
- ctx types.Context
func (*CurrencyPairStrategy_Expecter) ID ¶
func (_e *CurrencyPairStrategy_Expecter) ID(ctx interface{}, cp interface{}) *CurrencyPairStrategy_ID_Call
ID is a helper method to define mock.On call
- ctx types.Context
- cp pkgtypes.CurrencyPair
type CurrencyPairStrategy_FromID_Call ¶
CurrencyPairStrategy_FromID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FromID'
func (*CurrencyPairStrategy_FromID_Call) Return ¶
func (_c *CurrencyPairStrategy_FromID_Call) Return(_a0 pkgtypes.CurrencyPair, _a1 error) *CurrencyPairStrategy_FromID_Call
func (*CurrencyPairStrategy_FromID_Call) Run ¶
func (_c *CurrencyPairStrategy_FromID_Call) Run(run func(ctx types.Context, id uint64)) *CurrencyPairStrategy_FromID_Call
func (*CurrencyPairStrategy_FromID_Call) RunAndReturn ¶
func (_c *CurrencyPairStrategy_FromID_Call) RunAndReturn(run func(types.Context, uint64) (pkgtypes.CurrencyPair, error)) *CurrencyPairStrategy_FromID_Call
type CurrencyPairStrategy_GetDecodedPrice_Call ¶
CurrencyPairStrategy_GetDecodedPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDecodedPrice'
func (*CurrencyPairStrategy_GetDecodedPrice_Call) Return ¶
func (_c *CurrencyPairStrategy_GetDecodedPrice_Call) Return(_a0 *big.Int, _a1 error) *CurrencyPairStrategy_GetDecodedPrice_Call
func (*CurrencyPairStrategy_GetDecodedPrice_Call) Run ¶
func (_c *CurrencyPairStrategy_GetDecodedPrice_Call) Run(run func(ctx types.Context, cp pkgtypes.CurrencyPair, priceBytes []byte)) *CurrencyPairStrategy_GetDecodedPrice_Call
func (*CurrencyPairStrategy_GetDecodedPrice_Call) RunAndReturn ¶
func (_c *CurrencyPairStrategy_GetDecodedPrice_Call) RunAndReturn(run func(types.Context, pkgtypes.CurrencyPair, []byte) (*big.Int, error)) *CurrencyPairStrategy_GetDecodedPrice_Call
type CurrencyPairStrategy_GetEncodedPrice_Call ¶
CurrencyPairStrategy_GetEncodedPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEncodedPrice'
func (*CurrencyPairStrategy_GetEncodedPrice_Call) Return ¶
func (_c *CurrencyPairStrategy_GetEncodedPrice_Call) Return(_a0 []byte, _a1 error) *CurrencyPairStrategy_GetEncodedPrice_Call
func (*CurrencyPairStrategy_GetEncodedPrice_Call) Run ¶
func (_c *CurrencyPairStrategy_GetEncodedPrice_Call) Run(run func(ctx types.Context, cp pkgtypes.CurrencyPair, price *big.Int)) *CurrencyPairStrategy_GetEncodedPrice_Call
func (*CurrencyPairStrategy_GetEncodedPrice_Call) RunAndReturn ¶
func (_c *CurrencyPairStrategy_GetEncodedPrice_Call) RunAndReturn(run func(types.Context, pkgtypes.CurrencyPair, *big.Int) ([]byte, error)) *CurrencyPairStrategy_GetEncodedPrice_Call
type CurrencyPairStrategy_GetMaxNumCP_Call ¶
CurrencyPairStrategy_GetMaxNumCP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMaxNumCP'
func (*CurrencyPairStrategy_GetMaxNumCP_Call) Return ¶
func (_c *CurrencyPairStrategy_GetMaxNumCP_Call) Return(_a0 uint64, _a1 error) *CurrencyPairStrategy_GetMaxNumCP_Call
func (*CurrencyPairStrategy_GetMaxNumCP_Call) Run ¶
func (_c *CurrencyPairStrategy_GetMaxNumCP_Call) Run(run func(ctx types.Context)) *CurrencyPairStrategy_GetMaxNumCP_Call
func (*CurrencyPairStrategy_GetMaxNumCP_Call) RunAndReturn ¶
func (_c *CurrencyPairStrategy_GetMaxNumCP_Call) RunAndReturn(run func(types.Context) (uint64, error)) *CurrencyPairStrategy_GetMaxNumCP_Call
type CurrencyPairStrategy_ID_Call ¶
CurrencyPairStrategy_ID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ID'
func (*CurrencyPairStrategy_ID_Call) Return ¶
func (_c *CurrencyPairStrategy_ID_Call) Return(_a0 uint64, _a1 error) *CurrencyPairStrategy_ID_Call
func (*CurrencyPairStrategy_ID_Call) Run ¶
func (_c *CurrencyPairStrategy_ID_Call) Run(run func(ctx types.Context, cp pkgtypes.CurrencyPair)) *CurrencyPairStrategy_ID_Call
func (*CurrencyPairStrategy_ID_Call) RunAndReturn ¶
func (_c *CurrencyPairStrategy_ID_Call) RunAndReturn(run func(types.Context, pkgtypes.CurrencyPair) (uint64, error)) *CurrencyPairStrategy_ID_Call
type OracleKeeper ¶
OracleKeeper is an autogenerated mock type for the OracleKeeper type
func NewOracleKeeper ¶
func NewOracleKeeper(t interface { mock.TestingT Cleanup(func()) }) *OracleKeeper
NewOracleKeeper creates a new instance of OracleKeeper. 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 (*OracleKeeper) EXPECT ¶
func (_m *OracleKeeper) EXPECT() *OracleKeeper_Expecter
func (*OracleKeeper) GetAllCurrencyPairs ¶
func (_m *OracleKeeper) GetAllCurrencyPairs(ctx context.Context) []types.CurrencyPair
GetAllCurrencyPairs provides a mock function with given fields: ctx
func (*OracleKeeper) GetCurrencyPairFromID ¶
func (_m *OracleKeeper) GetCurrencyPairFromID(ctx context.Context, id uint64) (types.CurrencyPair, bool)
GetCurrencyPairFromID provides a mock function with given fields: ctx, id
func (*OracleKeeper) GetIDForCurrencyPair ¶
func (_m *OracleKeeper) GetIDForCurrencyPair(ctx context.Context, cp types.CurrencyPair) (uint64, bool)
GetIDForCurrencyPair provides a mock function with given fields: ctx, cp
func (*OracleKeeper) GetNumCurrencyPairs ¶
func (_m *OracleKeeper) GetNumCurrencyPairs(ctx context.Context) (uint64, error)
GetNumCurrencyPairs provides a mock function with given fields: ctx
func (*OracleKeeper) GetNumRemovedCurrencyPairs ¶
func (_m *OracleKeeper) GetNumRemovedCurrencyPairs(ctx context.Context) (uint64, error)
GetNumRemovedCurrencyPairs provides a mock function with given fields: ctx
func (*OracleKeeper) GetPriceForCurrencyPair ¶
func (_m *OracleKeeper) GetPriceForCurrencyPair(ctx context.Context, cp types.CurrencyPair) (oracletypes.QuotePrice, error)
GetPriceForCurrencyPair provides a mock function with given fields: ctx, cp
type OracleKeeper_Expecter ¶
type OracleKeeper_Expecter struct {
// contains filtered or unexported fields
}
func (*OracleKeeper_Expecter) GetAllCurrencyPairs ¶
func (_e *OracleKeeper_Expecter) GetAllCurrencyPairs(ctx interface{}) *OracleKeeper_GetAllCurrencyPairs_Call
GetAllCurrencyPairs is a helper method to define mock.On call
- ctx context.Context
func (*OracleKeeper_Expecter) GetCurrencyPairFromID ¶
func (_e *OracleKeeper_Expecter) GetCurrencyPairFromID(ctx interface{}, id interface{}) *OracleKeeper_GetCurrencyPairFromID_Call
GetCurrencyPairFromID is a helper method to define mock.On call
- ctx context.Context
- id uint64
func (*OracleKeeper_Expecter) GetIDForCurrencyPair ¶
func (_e *OracleKeeper_Expecter) GetIDForCurrencyPair(ctx interface{}, cp interface{}) *OracleKeeper_GetIDForCurrencyPair_Call
GetIDForCurrencyPair is a helper method to define mock.On call
- ctx context.Context
- cp types.CurrencyPair
func (*OracleKeeper_Expecter) GetNumCurrencyPairs ¶
func (_e *OracleKeeper_Expecter) GetNumCurrencyPairs(ctx interface{}) *OracleKeeper_GetNumCurrencyPairs_Call
GetNumCurrencyPairs is a helper method to define mock.On call
- ctx context.Context
func (*OracleKeeper_Expecter) GetNumRemovedCurrencyPairs ¶
func (_e *OracleKeeper_Expecter) GetNumRemovedCurrencyPairs(ctx interface{}) *OracleKeeper_GetNumRemovedCurrencyPairs_Call
GetNumRemovedCurrencyPairs is a helper method to define mock.On call
- ctx context.Context
func (*OracleKeeper_Expecter) GetPriceForCurrencyPair ¶
func (_e *OracleKeeper_Expecter) GetPriceForCurrencyPair(ctx interface{}, cp interface{}) *OracleKeeper_GetPriceForCurrencyPair_Call
GetPriceForCurrencyPair is a helper method to define mock.On call
- ctx context.Context
- cp types.CurrencyPair
type OracleKeeper_GetAllCurrencyPairs_Call ¶
OracleKeeper_GetAllCurrencyPairs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllCurrencyPairs'
func (*OracleKeeper_GetAllCurrencyPairs_Call) Return ¶
func (_c *OracleKeeper_GetAllCurrencyPairs_Call) Return(_a0 []types.CurrencyPair) *OracleKeeper_GetAllCurrencyPairs_Call
func (*OracleKeeper_GetAllCurrencyPairs_Call) Run ¶
func (_c *OracleKeeper_GetAllCurrencyPairs_Call) Run(run func(ctx context.Context)) *OracleKeeper_GetAllCurrencyPairs_Call
func (*OracleKeeper_GetAllCurrencyPairs_Call) RunAndReturn ¶
func (_c *OracleKeeper_GetAllCurrencyPairs_Call) RunAndReturn(run func(context.Context) []types.CurrencyPair) *OracleKeeper_GetAllCurrencyPairs_Call
type OracleKeeper_GetCurrencyPairFromID_Call ¶
OracleKeeper_GetCurrencyPairFromID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCurrencyPairFromID'
func (*OracleKeeper_GetCurrencyPairFromID_Call) Return ¶
func (_c *OracleKeeper_GetCurrencyPairFromID_Call) Return(cp types.CurrencyPair, found bool) *OracleKeeper_GetCurrencyPairFromID_Call
func (*OracleKeeper_GetCurrencyPairFromID_Call) Run ¶
func (_c *OracleKeeper_GetCurrencyPairFromID_Call) Run(run func(ctx context.Context, id uint64)) *OracleKeeper_GetCurrencyPairFromID_Call
func (*OracleKeeper_GetCurrencyPairFromID_Call) RunAndReturn ¶
func (_c *OracleKeeper_GetCurrencyPairFromID_Call) RunAndReturn(run func(context.Context, uint64) (types.CurrencyPair, bool)) *OracleKeeper_GetCurrencyPairFromID_Call
type OracleKeeper_GetIDForCurrencyPair_Call ¶
OracleKeeper_GetIDForCurrencyPair_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIDForCurrencyPair'
func (*OracleKeeper_GetIDForCurrencyPair_Call) Return ¶
func (_c *OracleKeeper_GetIDForCurrencyPair_Call) Return(_a0 uint64, _a1 bool) *OracleKeeper_GetIDForCurrencyPair_Call
func (*OracleKeeper_GetIDForCurrencyPair_Call) Run ¶
func (_c *OracleKeeper_GetIDForCurrencyPair_Call) Run(run func(ctx context.Context, cp types.CurrencyPair)) *OracleKeeper_GetIDForCurrencyPair_Call
func (*OracleKeeper_GetIDForCurrencyPair_Call) RunAndReturn ¶
func (_c *OracleKeeper_GetIDForCurrencyPair_Call) RunAndReturn(run func(context.Context, types.CurrencyPair) (uint64, bool)) *OracleKeeper_GetIDForCurrencyPair_Call
type OracleKeeper_GetNumCurrencyPairs_Call ¶
OracleKeeper_GetNumCurrencyPairs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNumCurrencyPairs'
func (*OracleKeeper_GetNumCurrencyPairs_Call) Return ¶
func (_c *OracleKeeper_GetNumCurrencyPairs_Call) Return(_a0 uint64, _a1 error) *OracleKeeper_GetNumCurrencyPairs_Call
func (*OracleKeeper_GetNumCurrencyPairs_Call) Run ¶
func (_c *OracleKeeper_GetNumCurrencyPairs_Call) Run(run func(ctx context.Context)) *OracleKeeper_GetNumCurrencyPairs_Call
func (*OracleKeeper_GetNumCurrencyPairs_Call) RunAndReturn ¶
func (_c *OracleKeeper_GetNumCurrencyPairs_Call) RunAndReturn(run func(context.Context) (uint64, error)) *OracleKeeper_GetNumCurrencyPairs_Call
type OracleKeeper_GetNumRemovedCurrencyPairs_Call ¶
OracleKeeper_GetNumRemovedCurrencyPairs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNumRemovedCurrencyPairs'
func (*OracleKeeper_GetNumRemovedCurrencyPairs_Call) Return ¶
func (_c *OracleKeeper_GetNumRemovedCurrencyPairs_Call) Return(_a0 uint64, _a1 error) *OracleKeeper_GetNumRemovedCurrencyPairs_Call
func (*OracleKeeper_GetNumRemovedCurrencyPairs_Call) Run ¶
func (_c *OracleKeeper_GetNumRemovedCurrencyPairs_Call) Run(run func(ctx context.Context)) *OracleKeeper_GetNumRemovedCurrencyPairs_Call
func (*OracleKeeper_GetNumRemovedCurrencyPairs_Call) RunAndReturn ¶
func (_c *OracleKeeper_GetNumRemovedCurrencyPairs_Call) RunAndReturn(run func(context.Context) (uint64, error)) *OracleKeeper_GetNumRemovedCurrencyPairs_Call
type OracleKeeper_GetPriceForCurrencyPair_Call ¶
OracleKeeper_GetPriceForCurrencyPair_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPriceForCurrencyPair'
func (*OracleKeeper_GetPriceForCurrencyPair_Call) Return ¶
func (_c *OracleKeeper_GetPriceForCurrencyPair_Call) Return(_a0 oracletypes.QuotePrice, _a1 error) *OracleKeeper_GetPriceForCurrencyPair_Call
func (*OracleKeeper_GetPriceForCurrencyPair_Call) Run ¶
func (_c *OracleKeeper_GetPriceForCurrencyPair_Call) Run(run func(ctx context.Context, cp types.CurrencyPair)) *OracleKeeper_GetPriceForCurrencyPair_Call
func (*OracleKeeper_GetPriceForCurrencyPair_Call) RunAndReturn ¶
func (_c *OracleKeeper_GetPriceForCurrencyPair_Call) RunAndReturn(run func(context.Context, types.CurrencyPair) (oracletypes.QuotePrice, error)) *OracleKeeper_GetPriceForCurrencyPair_Call