Versions in this module Expand all Collapse all v11 v11.0.0 Aug 29, 2022 Changes in this version + func NewTwapRecord(k types.AmmInterface, ctx sdk.Context, poolId uint64, denom0, denom1 string) (types.TwapRecord, error) + type Keeper struct + func NewKeeper(storeKey sdk.StoreKey, transientKey *sdk.TransientStoreKey, ...) *Keeper + func (k *Keeper) PruneEpochIdentifier(ctx sdk.Context) string + func (k *Keeper) RecordHistoryKeepPeriod(ctx sdk.Context) time.Duration + func (k Keeper) EndBlock(ctx sdk.Context) + func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (k Keeper) GammHooks() types.GammHooks + func (k Keeper) GetArithmeticTwap(ctx sdk.Context, poolId uint64, baseAssetDenom string, quoteAssetDenom string, ...) (sdk.Dec, error) + func (k Keeper) GetArithmeticTwapToNow(ctx sdk.Context, poolId uint64, baseAssetDenom string, quoteAssetDenom string, ...) (sdk.Dec, error) + func (k Keeper) GetBeginBlockAccumulatorRecord(ctx sdk.Context, poolId uint64, asset0Denom string, asset1Denom string) (types.TwapRecord, error) + func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState) + func (k Keeper) MigrateExistingPools(ctx sdk.Context, latestPoolId uint64) error + func (k Keeper) SetParams(ctx sdk.Context, params types.Params)