Documentation ¶
Index ¶
- type PriceKeeper
- func (_m *PriceKeeper) CoinToMiniDollar(ctx types.Context, coin linotypes.Coin) (linotypes.MiniDollar, types.Error)
- func (_m *PriceKeeper) CurrPrice(ctx types.Context) (linotypes.MiniDollar, types.Error)
- func (_m *PriceKeeper) FeedPrice(ctx types.Context, validator linotypes.AccountKey, _a2 linotypes.MiniDollar) types.Error
- func (_m *PriceKeeper) HistoryPrice(ctx types.Context) []model.FeedHistory
- func (_m *PriceKeeper) InitGenesis(ctx types.Context, initPrice linotypes.MiniDollar) types.Error
- func (_m *PriceKeeper) MiniDollarToCoin(ctx types.Context, dollar linotypes.MiniDollar) (linotypes.Coin, linotypes.MiniDollar, types.Error)
- func (_m *PriceKeeper) UpdatePrice(ctx types.Context) types.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PriceKeeper ¶
PriceKeeper is an autogenerated mock type for the PriceKeeper type
func (*PriceKeeper) CoinToMiniDollar ¶
func (_m *PriceKeeper) CoinToMiniDollar(ctx types.Context, coin linotypes.Coin) (linotypes.MiniDollar, types.Error)
CoinToMiniDollar provides a mock function with given fields: ctx, coin
func (*PriceKeeper) CurrPrice ¶ added in v0.4.0
func (_m *PriceKeeper) CurrPrice(ctx types.Context) (linotypes.MiniDollar, types.Error)
CurrPrice provides a mock function with given fields: ctx
func (*PriceKeeper) FeedPrice ¶ added in v0.4.0
func (_m *PriceKeeper) FeedPrice(ctx types.Context, validator linotypes.AccountKey, _a2 linotypes.MiniDollar) types.Error
FeedPrice provides a mock function with given fields: ctx, validator, _a2
func (*PriceKeeper) HistoryPrice ¶ added in v0.4.0
func (_m *PriceKeeper) HistoryPrice(ctx types.Context) []model.FeedHistory
HistoryPrice provides a mock function with given fields: ctx
func (*PriceKeeper) InitGenesis ¶ added in v0.4.0
func (_m *PriceKeeper) InitGenesis(ctx types.Context, initPrice linotypes.MiniDollar) types.Error
InitGenesis provides a mock function with given fields: ctx, initPrice
func (*PriceKeeper) MiniDollarToCoin ¶
func (_m *PriceKeeper) MiniDollarToCoin(ctx types.Context, dollar linotypes.MiniDollar) (linotypes.Coin, linotypes.MiniDollar, types.Error)
MiniDollarToCoin provides a mock function with given fields: ctx, dollar
func (*PriceKeeper) UpdatePrice ¶ added in v0.4.0
func (_m *PriceKeeper) UpdatePrice(ctx types.Context) types.Error
UpdatePrice provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.