Versions in this module Expand all Collapse all v11 v11.0.1 Aug 15, 2022 Changes in this version + type Hooks struct + func (h Hooks) AfterDistributeMintedCoin(ctx sdk.Context) + func (h Hooks) AfterExitPool(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, shareInAmount sdk.Int, ...) + func (h Hooks) AfterJoinPool(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, enterCoins sdk.Coins, ...) + func (h Hooks) AfterPoolCreated(ctx sdk.Context, sender sdk.AccAddress, poolId uint64) + func (h Hooks) AfterSwap(ctx sdk.Context, sender sdk.AccAddress, poolId uint64, input sdk.Coins, ...) + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, storeKey sdk.StoreKey, paramSpace paramtypes.Subspace, ...) Keeper + func (k Keeper) AllocateAsset(ctx sdk.Context) error + func (k Keeper) CreatePoolGauges(ctx sdk.Context, poolId uint64) error + func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (k Keeper) FundCommunityPoolFromModule(ctx sdk.Context, asset sdk.Coin) error + func (k Keeper) GetAllGauges(ctx sdk.Context) []incentivestypes.Gauge + func (k Keeper) GetDistrInfo(ctx sdk.Context) types.DistrInfo + func (k Keeper) GetLockableDurations(ctx sdk.Context) []time.Duration + func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k Keeper) GetPoolGaugeId(ctx sdk.Context, poolId uint64, lockableDuration time.Duration) (uint64, error) + func (k Keeper) GetPoolIdFromGaugeId(ctx sdk.Context, gaugeId uint64, lockableDuration time.Duration) (uint64, error) + func (k Keeper) HandleReplacePoolIncentivesProposal(ctx sdk.Context, p *types.ReplacePoolIncentivesProposal) error + func (k Keeper) HandleUpdatePoolIncentivesProposal(ctx sdk.Context, p *types.UpdatePoolIncentivesProposal) error + func (k Keeper) Hooks() Hooks + func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) ReplaceDistrRecords(ctx sdk.Context, records ...types.DistrRecord) error + func (k Keeper) SetDistrInfo(ctx sdk.Context, distrInfo types.DistrInfo) + func (k Keeper) SetLockableDurations(ctx sdk.Context, lockableDurations []time.Duration) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetPoolGaugeId(ctx sdk.Context, poolId uint64, lockableDuration time.Duration, gaugeId uint64) + func (k Keeper) UpdateDistrRecords(ctx sdk.Context, records ...types.DistrRecord) error + type Querier struct + func NewQuerier(k Keeper) Querier + func (q Querier) DistrInfo(ctx context.Context, _ *types.QueryDistrInfoRequest) (*types.QueryDistrInfoResponse, error) + func (q Querier) ExternalIncentiveGauges(ctx context.Context, req *types.QueryExternalIncentiveGaugesRequest) (*types.QueryExternalIncentiveGaugesResponse, error) + func (q Querier) GaugeIds(ctx context.Context, req *types.QueryGaugeIdsRequest) (*types.QueryGaugeIdsResponse, error) + func (q Querier) IncentivizedPools(ctx context.Context, _ *types.QueryIncentivizedPoolsRequest) (*types.QueryIncentivizedPoolsResponse, error) + func (q Querier) LockableDurations(ctx context.Context, _ *types.QueryLockableDurationsRequest) (*types.QueryLockableDurationsResponse, error) + func (q Querier) Params(ctx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) Other modules containing this package github.com/osmosis-labs/osmosis github.com/osmosis-labs/osmosis/v10 github.com/osmosis-labs/osmosis/v12 github.com/osmosis-labs/osmosis/v13 github.com/osmosis-labs/osmosis/v14 github.com/osmosis-labs/osmosis/v15 github.com/osmosis-labs/osmosis/v16 github.com/osmosis-labs/osmosis/v17 github.com/osmosis-labs/osmosis/v19 github.com/osmosis-labs/osmosis/v20 github.com/osmosis-labs/osmosis/v21 github.com/osmosis-labs/osmosis/v22 github.com/osmosis-labs/osmosis/v23 github.com/osmosis-labs/osmosis/v24 github.com/osmosis-labs/osmosis/v25 github.com/osmosis-labs/osmosis/v26 github.com/osmosis-labs/osmosis/v27 github.com/osmosis-labs/osmosis/v6 github.com/osmosis-labs/osmosis/v7 github.com/osmosis-labs/osmosis/v8 github.com/osmosis-labs/osmosis/v9