Versions in this module Expand all Collapse all v1 v1.0.0 Nov 15, 2022 Changes in this version + func NewMsgServerImpl(keeper Keeper) types.MsgServer + func NewQuerier(keeper Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier + func NewQueryServerImpl(k Keeper) types.QueryServer + type Keeper struct + func NewKeeper(cdc codec.Codec, key sdk.StoreKey, paramstore paramtypes.Subspace) Keeper + func (k Keeper) CalculateMedianPrice(prices []types.CurrentPrice) sdk.Dec + func (k Keeper) GetAuthorizedAddresses(ctx sdk.Context) []sdk.AccAddress + func (k Keeper) GetCurrentPrice(ctx sdk.Context, marketID string) (types.CurrentPrice, error) + func (k Keeper) GetCurrentPrices(ctx sdk.Context) types.CurrentPrices + func (k Keeper) GetMarket(ctx sdk.Context, marketID string) (types.Market, bool) + func (k Keeper) GetMarkets(ctx sdk.Context) types.Markets + func (k Keeper) GetOracle(ctx sdk.Context, marketID string, address sdk.AccAddress) (sdk.AccAddress, error) + func (k Keeper) GetOracles(ctx sdk.Context, marketID string) ([]sdk.AccAddress, error) + func (k Keeper) GetParams(ctx sdk.Context) types.Params + func (k Keeper) GetRawPrices(ctx sdk.Context, marketId string) types.PostedPrices + func (k Keeper) IterateCurrentPrices(ctx sdk.Context, cb func(cp types.CurrentPrice) (stop bool)) + func (k Keeper) IterateRawPricesByMarket(ctx sdk.Context, marketId string, ...) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) SetCurrentPrices(ctx sdk.Context, marketID string) error + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetPrice(ctx sdk.Context, oracle sdk.AccAddress, marketID string, price sdk.Dec, ...) (types.PostedPrice, error)