Versions in this module Expand all Collapse all v1 v1.1.1 Nov 19, 2022 Changes in this version + var EnableAdvanceAuction = false + func NewMsgServerImpl(keeper Keeper) types.MsgServer + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, storeKey sdk.StoreKey, paramSpace paramtypes.Subspace, ...) Keeper + func (k Keeper) CreateRewardsAuction(ctx sdk.Context, poolId uint64, endTime time.Time) + func (k Keeper) DeleteBid(ctx sdk.Context, bid types.Bid) + func (k Keeper) DeleteLiquidFarm(ctx sdk.Context, liquidFarm types.LiquidFarm) + func (k Keeper) DeleteWinningBid(ctx sdk.Context, auctionId, poolId uint64) + func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (k Keeper) FinishRewardsAuction(ctx sdk.Context, auction types.RewardsAuction, feeRate sdk.Dec) error + func (k Keeper) GetAllRewardsAuctions(ctx sdk.Context) (auctions []types.RewardsAuction) + func (k Keeper) GetBid(ctx sdk.Context, poolId uint64, bidder sdk.AccAddress) (bid types.Bid, found bool) + func (k Keeper) GetBidsByPoolId(ctx sdk.Context, poolId uint64) []types.Bid + func (k Keeper) GetCompoundingRewards(ctx sdk.Context, poolId uint64) (rewards types.CompoundingRewards, found bool) + func (k Keeper) GetFeeCollector(ctx sdk.Context) (feeCollector string) + func (k Keeper) GetLastRewardsAuction(ctx sdk.Context, poolId uint64) (auction types.RewardsAuction, found bool) + func (k Keeper) GetLastRewardsAuctionEndTime(ctx sdk.Context) (t time.Time, found bool) + func (k Keeper) GetLastRewardsAuctionId(ctx sdk.Context, poolId uint64) uint64 + func (k Keeper) GetLiquidFarm(ctx sdk.Context, poolId uint64) (liquidFarm types.LiquidFarm, found bool) + func (k Keeper) GetLiquidFarmsInParams(ctx sdk.Context) (liquidFarms []types.LiquidFarm) + func (k Keeper) GetLiquidFarmsInStore(ctx sdk.Context) (liquidFarms []types.LiquidFarm) + func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k Keeper) GetRewardsAuction(ctx sdk.Context, auctionId uint64, poolId uint64) (auction types.RewardsAuction, found bool) + func (k Keeper) GetRewardsAuctionDuration(ctx sdk.Context) (duration time.Duration) + func (k Keeper) GetWinningBid(ctx sdk.Context, auctionId uint64, poolId uint64) (bid types.Bid, found bool) + func (k Keeper) HandleRemovedLiquidFarm(ctx sdk.Context, liquidFarm types.LiquidFarm) + func (k Keeper) InitGenesis(ctx sdk.Context, genState types.GenesisState) + func (k Keeper) IterateBidsByPoolId(ctx sdk.Context, poolId uint64, cb func(bid types.Bid) (stop bool)) + func (k Keeper) IterateLiquidFarms(ctx sdk.Context, cb func(liquidFarm types.LiquidFarm) (stop bool)) + func (k Keeper) IterateRewardsAuctions(ctx sdk.Context, cb func(auction types.RewardsAuction) (stop bool)) + func (k Keeper) LiquidFarm(ctx sdk.Context, poolId uint64, farmer sdk.AccAddress, farmingCoin sdk.Coin) error + func (k Keeper) LiquidUnfarm(ctx sdk.Context, poolId uint64, farmer sdk.AccAddress, unfarmingCoin sdk.Coin) (unfarmedCoin sdk.Coin, err error) + func (k Keeper) LiquidUnfarmAndWithdraw(ctx sdk.Context, poolId uint64, farmer sdk.AccAddress, unfarmingCoin sdk.Coin) error + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) PlaceBid(ctx sdk.Context, auctionId uint64, poolId uint64, bidder sdk.AccAddress, ...) (types.Bid, error) + func (k Keeper) RefundBid(ctx sdk.Context, auctionId uint64, poolId uint64, bidder sdk.AccAddress) error + func (k Keeper) SetBid(ctx sdk.Context, bid types.Bid) + func (k Keeper) SetCompoundingRewards(ctx sdk.Context, poolId uint64, rewards types.CompoundingRewards) + func (k Keeper) SetLastRewardsAuctionEndTime(ctx sdk.Context, t time.Time) + func (k Keeper) SetLastRewardsAuctionId(ctx sdk.Context, auctionId uint64, poolId uint64) + func (k Keeper) SetLiquidFarm(ctx sdk.Context, liquidFarm types.LiquidFarm) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetRewardsAuction(ctx sdk.Context, auction types.RewardsAuction) + func (k Keeper) SetWinningBid(ctx sdk.Context, auctionId uint64, bid types.Bid) + type Querier struct + func (k Querier) Bids(c context.Context, req *types.QueryBidsRequest) (*types.QueryBidsResponse, error) + func (k Querier) ExchangeRate(c context.Context, req *types.QueryExchangeRateRequest) (*types.QueryExchangeRateResponse, error) + func (k Querier) LiquidFarm(c context.Context, req *types.QueryLiquidFarmRequest) (*types.QueryLiquidFarmResponse, error) + func (k Querier) LiquidFarms(c context.Context, req *types.QueryLiquidFarmsRequest) (*types.QueryLiquidFarmsResponse, error) + func (k Querier) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (k Querier) Rewards(c context.Context, req *types.QueryRewardsRequest) (*types.QueryRewardsResponse, error) + func (k Querier) RewardsAuction(c context.Context, req *types.QueryRewardsAuctionRequest) (*types.QueryRewardsAuctionResponse, error) + func (k Querier) RewardsAuctions(c context.Context, req *types.QueryRewardsAuctionsRequest) (*types.QueryRewardsAuctionsResponse, error)