Documentation ¶
Index ¶
- type AccountedPoolKeeper
- type AccountedPoolKeeper_Expecter
- type AccountedPoolKeeper_GetAccountedBalance_Call
- func (_c *AccountedPoolKeeper_GetAccountedBalance_Call) Return(_a0 math.Int) *AccountedPoolKeeper_GetAccountedBalance_Call
- func (_c *AccountedPoolKeeper_GetAccountedBalance_Call) Run(run func(_a0 types.Context, _a1 uint64, _a2 string)) *AccountedPoolKeeper_GetAccountedBalance_Call
- func (_c *AccountedPoolKeeper_GetAccountedBalance_Call) RunAndReturn(run func(types.Context, uint64, string) math.Int) *AccountedPoolKeeper_GetAccountedBalance_Call
- type OracleKeeper
- func (_m *OracleKeeper) EXPECT() *OracleKeeper_Expecter
- func (_m *OracleKeeper) GetAssetPrice(ctx types.Context, asset string) (oracletypes.Price, bool)
- func (_m *OracleKeeper) GetAssetPriceFromDenom(ctx types.Context, denom string) math.LegacyDec
- func (_m *OracleKeeper) GetPriceFeeder(ctx types.Context, feeder types.AccAddress) (oracletypes.PriceFeeder, bool)
- type OracleKeeper_Expecter
- func (_e *OracleKeeper_Expecter) GetAssetPrice(ctx interface{}, asset interface{}) *OracleKeeper_GetAssetPrice_Call
- func (_e *OracleKeeper_Expecter) GetAssetPriceFromDenom(ctx interface{}, denom interface{}) *OracleKeeper_GetAssetPriceFromDenom_Call
- func (_e *OracleKeeper_Expecter) GetPriceFeeder(ctx interface{}, feeder interface{}) *OracleKeeper_GetPriceFeeder_Call
- type OracleKeeper_GetAssetPriceFromDenom_Call
- func (_c *OracleKeeper_GetAssetPriceFromDenom_Call) Return(_a0 math.LegacyDec) *OracleKeeper_GetAssetPriceFromDenom_Call
- func (_c *OracleKeeper_GetAssetPriceFromDenom_Call) Run(run func(ctx types.Context, denom string)) *OracleKeeper_GetAssetPriceFromDenom_Call
- func (_c *OracleKeeper_GetAssetPriceFromDenom_Call) RunAndReturn(run func(types.Context, string) math.LegacyDec) *OracleKeeper_GetAssetPriceFromDenom_Call
- type OracleKeeper_GetAssetPrice_Call
- func (_c *OracleKeeper_GetAssetPrice_Call) Return(_a0 oracletypes.Price, _a1 bool) *OracleKeeper_GetAssetPrice_Call
- func (_c *OracleKeeper_GetAssetPrice_Call) Run(run func(ctx types.Context, asset string)) *OracleKeeper_GetAssetPrice_Call
- func (_c *OracleKeeper_GetAssetPrice_Call) RunAndReturn(run func(types.Context, string) (oracletypes.Price, bool)) *OracleKeeper_GetAssetPrice_Call
- type OracleKeeper_GetPriceFeeder_Call
- func (_c *OracleKeeper_GetPriceFeeder_Call) Return(val oracletypes.PriceFeeder, found bool) *OracleKeeper_GetPriceFeeder_Call
- func (_c *OracleKeeper_GetPriceFeeder_Call) Run(run func(ctx types.Context, feeder types.AccAddress)) *OracleKeeper_GetPriceFeeder_Call
- func (_c *OracleKeeper_GetPriceFeeder_Call) RunAndReturn(run func(types.Context, types.AccAddress) (oracletypes.PriceFeeder, bool)) *OracleKeeper_GetPriceFeeder_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountedPoolKeeper ¶
AccountedPoolKeeper is an autogenerated mock type for the AccountedPoolKeeper type
func NewAccountedPoolKeeper ¶
func NewAccountedPoolKeeper(t interface { mock.TestingT Cleanup(func()) }) *AccountedPoolKeeper
NewAccountedPoolKeeper creates a new instance of AccountedPoolKeeper. 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 (*AccountedPoolKeeper) EXPECT ¶
func (_m *AccountedPoolKeeper) EXPECT() *AccountedPoolKeeper_Expecter
func (*AccountedPoolKeeper) GetAccountedBalance ¶
func (_m *AccountedPoolKeeper) GetAccountedBalance(_a0 types.Context, _a1 uint64, _a2 string) math.Int
GetAccountedBalance provides a mock function with given fields: _a0, _a1, _a2
type AccountedPoolKeeper_Expecter ¶
type AccountedPoolKeeper_Expecter struct {
// contains filtered or unexported fields
}
func (*AccountedPoolKeeper_Expecter) GetAccountedBalance ¶
func (_e *AccountedPoolKeeper_Expecter) GetAccountedBalance(_a0 interface{}, _a1 interface{}, _a2 interface{}) *AccountedPoolKeeper_GetAccountedBalance_Call
GetAccountedBalance is a helper method to define mock.On call
- _a0 types.Context
- _a1 uint64
- _a2 string
type AccountedPoolKeeper_GetAccountedBalance_Call ¶
AccountedPoolKeeper_GetAccountedBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountedBalance'
func (*AccountedPoolKeeper_GetAccountedBalance_Call) Return ¶
func (_c *AccountedPoolKeeper_GetAccountedBalance_Call) Return(_a0 math.Int) *AccountedPoolKeeper_GetAccountedBalance_Call
func (*AccountedPoolKeeper_GetAccountedBalance_Call) Run ¶
func (_c *AccountedPoolKeeper_GetAccountedBalance_Call) Run(run func(_a0 types.Context, _a1 uint64, _a2 string)) *AccountedPoolKeeper_GetAccountedBalance_Call
func (*AccountedPoolKeeper_GetAccountedBalance_Call) RunAndReturn ¶
func (_c *AccountedPoolKeeper_GetAccountedBalance_Call) RunAndReturn(run func(types.Context, uint64, string) math.Int) *AccountedPoolKeeper_GetAccountedBalance_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) GetAssetPrice ¶
func (_m *OracleKeeper) GetAssetPrice(ctx types.Context, asset string) (oracletypes.Price, bool)
GetAssetPrice provides a mock function with given fields: ctx, asset
func (*OracleKeeper) GetAssetPriceFromDenom ¶
GetAssetPriceFromDenom provides a mock function with given fields: ctx, denom
func (*OracleKeeper) GetPriceFeeder ¶
func (_m *OracleKeeper) GetPriceFeeder(ctx types.Context, feeder types.AccAddress) (oracletypes.PriceFeeder, bool)
GetPriceFeeder provides a mock function with given fields: ctx, feeder
type OracleKeeper_Expecter ¶
type OracleKeeper_Expecter struct {
// contains filtered or unexported fields
}
func (*OracleKeeper_Expecter) GetAssetPrice ¶
func (_e *OracleKeeper_Expecter) GetAssetPrice(ctx interface{}, asset interface{}) *OracleKeeper_GetAssetPrice_Call
GetAssetPrice is a helper method to define mock.On call
- ctx types.Context
- asset string
func (*OracleKeeper_Expecter) GetAssetPriceFromDenom ¶
func (_e *OracleKeeper_Expecter) GetAssetPriceFromDenom(ctx interface{}, denom interface{}) *OracleKeeper_GetAssetPriceFromDenom_Call
GetAssetPriceFromDenom is a helper method to define mock.On call
- ctx types.Context
- denom string
func (*OracleKeeper_Expecter) GetPriceFeeder ¶
func (_e *OracleKeeper_Expecter) GetPriceFeeder(ctx interface{}, feeder interface{}) *OracleKeeper_GetPriceFeeder_Call
GetPriceFeeder is a helper method to define mock.On call
- ctx types.Context
- feeder types.AccAddress
type OracleKeeper_GetAssetPriceFromDenom_Call ¶
OracleKeeper_GetAssetPriceFromDenom_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAssetPriceFromDenom'
func (*OracleKeeper_GetAssetPriceFromDenom_Call) Return ¶
func (_c *OracleKeeper_GetAssetPriceFromDenom_Call) Return(_a0 math.LegacyDec) *OracleKeeper_GetAssetPriceFromDenom_Call
func (*OracleKeeper_GetAssetPriceFromDenom_Call) Run ¶
func (_c *OracleKeeper_GetAssetPriceFromDenom_Call) Run(run func(ctx types.Context, denom string)) *OracleKeeper_GetAssetPriceFromDenom_Call
func (*OracleKeeper_GetAssetPriceFromDenom_Call) RunAndReturn ¶
func (_c *OracleKeeper_GetAssetPriceFromDenom_Call) RunAndReturn(run func(types.Context, string) math.LegacyDec) *OracleKeeper_GetAssetPriceFromDenom_Call
type OracleKeeper_GetAssetPrice_Call ¶
OracleKeeper_GetAssetPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAssetPrice'
func (*OracleKeeper_GetAssetPrice_Call) Return ¶
func (_c *OracleKeeper_GetAssetPrice_Call) Return(_a0 oracletypes.Price, _a1 bool) *OracleKeeper_GetAssetPrice_Call
func (*OracleKeeper_GetAssetPrice_Call) Run ¶
func (_c *OracleKeeper_GetAssetPrice_Call) Run(run func(ctx types.Context, asset string)) *OracleKeeper_GetAssetPrice_Call
func (*OracleKeeper_GetAssetPrice_Call) RunAndReturn ¶
func (_c *OracleKeeper_GetAssetPrice_Call) RunAndReturn(run func(types.Context, string) (oracletypes.Price, bool)) *OracleKeeper_GetAssetPrice_Call
type OracleKeeper_GetPriceFeeder_Call ¶
OracleKeeper_GetPriceFeeder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPriceFeeder'
func (*OracleKeeper_GetPriceFeeder_Call) Return ¶
func (_c *OracleKeeper_GetPriceFeeder_Call) Return(val oracletypes.PriceFeeder, found bool) *OracleKeeper_GetPriceFeeder_Call
func (*OracleKeeper_GetPriceFeeder_Call) Run ¶
func (_c *OracleKeeper_GetPriceFeeder_Call) Run(run func(ctx types.Context, feeder types.AccAddress)) *OracleKeeper_GetPriceFeeder_Call
func (*OracleKeeper_GetPriceFeeder_Call) RunAndReturn ¶
func (_c *OracleKeeper_GetPriceFeeder_Call) RunAndReturn(run func(types.Context, types.AccAddress) (oracletypes.PriceFeeder, bool)) *OracleKeeper_GetPriceFeeder_Call