2019-11-25 19:46:02 +00:00
|
|
|
// nolint
|
|
|
|
// autogenerated code using github.com/rigelrozanski/multitool
|
|
|
|
// aliases generated for the following subdirectories:
|
|
|
|
// ALIASGEN: github.com/kava-labs/kava/x/auction/types/
|
|
|
|
// ALIASGEN: github.com/kava-labs/kava/x/auction/keeper/
|
|
|
|
package auction
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/kava-labs/kava/x/auction/keeper"
|
|
|
|
"github.com/kava-labs/kava/x/auction/types"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
2020-01-15 10:39:55 +00:00
|
|
|
DefaultCodespace = types.DefaultCodespace
|
|
|
|
CodeInvalidInitialAuctionID = types.CodeInvalidInitialAuctionID
|
|
|
|
CodeUnrecognizedAuctionType = types.CodeUnrecognizedAuctionType
|
|
|
|
CodeAuctionNotFound = types.CodeAuctionNotFound
|
|
|
|
CodeAuctionHasNotExpired = types.CodeAuctionHasNotExpired
|
|
|
|
CodeAuctionHasExpired = types.CodeAuctionHasExpired
|
|
|
|
CodeInvalidBidDenom = types.CodeInvalidBidDenom
|
|
|
|
CodeInvalidLotDenom = types.CodeInvalidLotDenom
|
|
|
|
CodeBidTooSmall = types.CodeBidTooSmall
|
|
|
|
CodeBidTooLarge = types.CodeBidTooLarge
|
|
|
|
CodeLotTooLarge = types.CodeLotTooLarge
|
|
|
|
CodeCollateralAuctionIsInReversePhase = types.CodeCollateralAuctionIsInReversePhase
|
|
|
|
CodeCollateralAuctionIsInForwardPhase = types.CodeCollateralAuctionIsInForwardPhase
|
|
|
|
ModuleName = types.ModuleName
|
|
|
|
StoreKey = types.StoreKey
|
|
|
|
RouterKey = types.RouterKey
|
|
|
|
DefaultParamspace = types.DefaultParamspace
|
|
|
|
DefaultMaxAuctionDuration = types.DefaultMaxAuctionDuration
|
|
|
|
DefaultBidDuration = types.DefaultBidDuration
|
|
|
|
QueryGetAuction = types.QueryGetAuction
|
2020-02-03 15:54:00 +00:00
|
|
|
DefaultNextAuctionID = types.DefaultNextAuctionID
|
2019-11-25 19:46:02 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
// functions aliases
|
2020-01-12 15:12:22 +00:00
|
|
|
NewSurplusAuction = types.NewSurplusAuction
|
|
|
|
NewDebtAuction = types.NewDebtAuction
|
|
|
|
NewCollateralAuction = types.NewCollateralAuction
|
|
|
|
NewWeightedAddresses = types.NewWeightedAddresses
|
|
|
|
RegisterCodec = types.RegisterCodec
|
|
|
|
NewGenesisState = types.NewGenesisState
|
|
|
|
DefaultGenesisState = types.DefaultGenesisState
|
|
|
|
GetAuctionKey = types.GetAuctionKey
|
|
|
|
GetAuctionByTimeKey = types.GetAuctionByTimeKey
|
|
|
|
Uint64FromBytes = types.Uint64FromBytes
|
|
|
|
Uint64ToBytes = types.Uint64ToBytes
|
|
|
|
NewMsgPlaceBid = types.NewMsgPlaceBid
|
|
|
|
NewParams = types.NewParams
|
|
|
|
DefaultParams = types.DefaultParams
|
|
|
|
ParamKeyTable = types.ParamKeyTable
|
|
|
|
NewKeeper = keeper.NewKeeper
|
|
|
|
NewQuerier = keeper.NewQuerier
|
2019-11-25 19:46:02 +00:00
|
|
|
|
|
|
|
// variable aliases
|
2020-01-12 15:12:22 +00:00
|
|
|
ModuleCdc = types.ModuleCdc
|
|
|
|
AuctionKeyPrefix = types.AuctionKeyPrefix
|
|
|
|
AuctionByTimeKeyPrefix = types.AuctionByTimeKeyPrefix
|
|
|
|
NextAuctionIDKey = types.NextAuctionIDKey
|
|
|
|
KeyAuctionBidDuration = types.KeyAuctionBidDuration
|
|
|
|
KeyAuctionDuration = types.KeyAuctionDuration
|
2019-11-25 19:46:02 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type (
|
2020-01-12 15:12:22 +00:00
|
|
|
Auction = types.Auction
|
|
|
|
BaseAuction = types.BaseAuction
|
|
|
|
SurplusAuction = types.SurplusAuction
|
|
|
|
DebtAuction = types.DebtAuction
|
|
|
|
CollateralAuction = types.CollateralAuction
|
|
|
|
WeightedAddresses = types.WeightedAddresses
|
|
|
|
SupplyKeeper = types.SupplyKeeper
|
2020-01-14 14:00:37 +00:00
|
|
|
GenesisAuctions = types.GenesisAuctions
|
|
|
|
GenesisAuction = types.GenesisAuction
|
2020-01-12 15:12:22 +00:00
|
|
|
GenesisState = types.GenesisState
|
|
|
|
MsgPlaceBid = types.MsgPlaceBid
|
|
|
|
Params = types.Params
|
|
|
|
Keeper = keeper.Keeper
|
2019-11-25 19:46:02 +00:00
|
|
|
)
|