Versions in this module Expand all Collapse all v1 v1.0.0 Nov 15, 2022 Changes in this version + func ModuleAccountInvariants(k Keeper) sdk.Invariant + func NewMsgServerImpl(keeper Keeper) types.MsgServer + func NewQuerier(keeper Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier + func NewQueryServerImpl(k Keeper) types.QueryServer + func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper) + func ValidAuctionInvariant(k Keeper) sdk.Invariant + func ValidIndexInvariant(k Keeper) sdk.Invariant + type Keeper struct + func NewKeeper(cdc codec.Codec, storeKey sdk.StoreKey, paramstore paramtypes.Subspace, ...) Keeper + func (k Keeper) CloseAuction(ctx sdk.Context, auctionID uint64) error + func (k Keeper) CloseExpiredAuctions(ctx sdk.Context) error + func (k Keeper) DeleteAuction(ctx sdk.Context, auctionID uint64) + func (k Keeper) GetAllAuctions(ctx sdk.Context) (auctions []types.Auction) + func (k Keeper) GetAuction(ctx sdk.Context, auctionID uint64) (types.Auction, bool) + func (k Keeper) GetNextAuctionID(ctx sdk.Context) (uint64, error) + func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k Keeper) IncrementNextAuctionID(ctx sdk.Context) error + func (k Keeper) InsertIntoByTimeIndex(ctx sdk.Context, endTime time.Time, auctionID uint64) + func (k Keeper) IterateAuctions(ctx sdk.Context, cb func(auction types.Auction) (stop bool)) + func (k Keeper) IterateAuctionsByTime(ctx sdk.Context, inclusiveCutoffTime time.Time, ...) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) MarshalAuction(auctionI types.Auction) ([]byte, error) + func (k Keeper) MustMarshalAuction(auction types.Auction) []byte + func (k Keeper) MustUnmarshalAuction(bz []byte) types.Auction + func (k Keeper) PayoutCollateralAuction(ctx sdk.Context, auction *types.CollateralAuction) error + func (k Keeper) PayoutDebtAuction(ctx sdk.Context, auction *types.DebtAuction) error + func (k Keeper) PayoutSurplusAuction(ctx sdk.Context, auction *types.SurplusAuction) error + func (k Keeper) PlaceBid(ctx sdk.Context, auctionID uint64, bidder sdk.AccAddress, newAmount sdk.Coin) error + func (k Keeper) PlaceBidDebt(ctx sdk.Context, auction *types.DebtAuction, bidder sdk.AccAddress, ...) (*types.DebtAuction, error) + func (k Keeper) PlaceBidSurplus(ctx sdk.Context, auction *types.SurplusAuction, bidder sdk.AccAddress, ...) (*types.SurplusAuction, error) + func (k Keeper) PlaceForwardBidCollateral(ctx sdk.Context, auction *types.CollateralAuction, bidder sdk.AccAddress, ...) (*types.CollateralAuction, error) + func (k Keeper) PlaceReverseBidCollateral(ctx sdk.Context, auction *types.CollateralAuction, bidder sdk.AccAddress, ...) (*types.CollateralAuction, error) + func (k Keeper) SetAuction(ctx sdk.Context, auction types.Auction) + func (k Keeper) SetNextAuctionID(ctx sdk.Context, id uint64) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) StartCollateralAuction(ctx sdk.Context, seller string, lot, maxBid sdk.Coin, ...) (uint64, error) + func (k Keeper) StartDebtAuction(ctx sdk.Context, buyer string, bid sdk.Coin, initialLot sdk.Coin, ...) (uint64, error) + func (k Keeper) StartSurplusAuction(ctx sdk.Context, seller string, lot sdk.Coin, bidDenom string) (uint64, error) + func (k Keeper) StoreNewAuction(ctx sdk.Context, auction types.Auction) (uint64, error) + func (k Keeper) UnmarshalAuction(bz []byte) (types.Auction, error)