Versions in this module Expand all Collapse all v0 v0.3.2 Jul 7, 2023 v0.3.1 Jul 6, 2023 v0.2.1 Jul 6, 2023 Changes in this version + const AttributeKeyAuctionID + const AttributeKeyAuctionType + const AttributeKeyBid + const AttributeKeyBidder + const AttributeKeyCloseBlock + const AttributeKeyEndTime + const AttributeKeyLot + const AttributeKeyMaxBid + const AttributeValueCategory + const CollateralAuctionType + const DebtAuctionType + const DefaultForwardBidDuration + const DefaultMaxAuctionDuration + const DefaultNextAuctionID + const DefaultParamspace + const DefaultReverseBidDuration + const EventTypeAuctionBid + const EventTypeAuctionClose + const EventTypeAuctionStart + const ForwardAuctionPhase + const ModuleName + const QuerierRoute + const QueryGetAuction + const QueryGetAuctions + const QueryGetParams + const QueryNextAuctionID + const ReverseAuctionPhase + const RouterKey + const StoreKey + const SurplusAuctionType + var AuctionByTimeKeyPrefix = []byte + var AuctionKeyPrefix = []byte + var DefaultIncrement sdk.Dec = sdk.MustNewDecFromStr("0.05") + var DistantFuture = time.Date(9000, 1, 1, 0, 0, 0, 0, time.UTC) + var ErrAuctionHasExpired = errorsmod.Register(ModuleName, 6, "auction has closed") + var ErrAuctionHasNotExpired = errorsmod.Register(ModuleName, 5, ...) + var ErrAuctionNotFound = errorsmod.Register(ModuleName, 4, "auction not found") + var ErrBidTooLarge = errorsmod.Register(ModuleName, 10, "bid is greater than auction's max bid") + var ErrBidTooSmall = errorsmod.Register(ModuleName, 9, "bid is not greater than auction's min new bid amount") + var ErrIntOverflowAuction = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidBidDenom = errorsmod.Register(ModuleName, 7, "bid denom doesn't match auction bid denom") + var ErrInvalidInitialAuctionID = errorsmod.Register(ModuleName, 2, "initial auction ID hasn't been set") + var ErrInvalidLengthAuction = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLotDenom = errorsmod.Register(ModuleName, 8, "lot denom doesn't match auction lot denom") + var ErrLotTooLarge = errorsmod.Register(ModuleName, 12, "lot is greater than auction's max new lot amount") + var ErrLotTooSmall = errorsmod.Register(ModuleName, 11, "lot is not greater than auction's min new lot amount") + var ErrUnexpectedEndOfGroupAuction = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ErrUnrecognizedAuctionType = errorsmod.Register(ModuleName, 3, "unrecognized auction type") + var KeyForwardBidDuration = []byte("ForwardBidDuration") + var KeyIncrementCollateral = []byte("IncrementCollateral") + var KeyIncrementDebt = []byte("IncrementDebt") + var KeyIncrementSurplus = []byte("IncrementSurplus") + var KeyMaxAuctionDuration = []byte("MaxAuctionDuration") + var KeyReverseBidDuration = []byte("ReverseBidDuration") + var ModuleCdc = codec.NewAminoCodec(amino) + var NextAuctionIDKey = []byte + func GetAuctionByTimeKey(endTime time.Time, auctionID uint64) []byte + func GetAuctionKey(auctionID uint64) []byte + func PackGenesisAuctions(ga []GenesisAuction) ([]*types.Any, error) + func ParamKeyTable() paramtypes.KeyTable + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func Uint64FromBytes(bz []byte) uint64 + func Uint64ToBytes(id uint64) []byte + func ValidateAuction(a Auction) error + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) types.AccountI + GetModuleAccount func(ctx sdk.Context, name string) types.ModuleAccountI + type Auction interface + GetBid func() sdk.Coin + GetBidder func() sdk.AccAddress + GetEndTime func() time.Time + GetID func() uint64 + GetInitiator func() string + GetLot func() sdk.Coin + GetMaxEndTime func() time.Time + GetPhase func() string + GetType func() string + WithID func(uint64) Auction + type AuctionWithPhase struct + Auction Auction + Phase string + Type string + func NewAuctionWithPhase(a Auction) AuctionWithPhase + type BankKeeper interface + BurnCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + GetAllBalances func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + MintCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + SendCoinsFromModuleToModule func(ctx sdk.Context, sender, recipient string, amt sdk.Coins) error + type BaseAuction struct + Bid types.Coin + Bidder github_com_cosmos_cosmos_sdk_types.AccAddress + EndTime time.Time + HasReceivedBids bool + ID uint64 + Initiator string + Lot types.Coin + MaxEndTime time.Time + func (*BaseAuction) Descriptor() ([]byte, []int) + func (*BaseAuction) ProtoMessage() + func (a BaseAuction) GetBid() sdk.Coin + func (a BaseAuction) GetBidder() sdk.AccAddress + func (a BaseAuction) GetEndTime() time.Time + func (a BaseAuction) GetID() uint64 + func (a BaseAuction) GetInitiator() string + func (a BaseAuction) GetLot() sdk.Coin + func (a BaseAuction) GetMaxEndTime() time.Time + func (m *BaseAuction) Marshal() (dAtA []byte, err error) + func (m *BaseAuction) MarshalTo(dAtA []byte) (int, error) + func (m *BaseAuction) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BaseAuction) Reset() + func (m *BaseAuction) Size() (n int) + func (m *BaseAuction) String() string + func (m *BaseAuction) Unmarshal(dAtA []byte) error + func (m *BaseAuction) XXX_DiscardUnknown() + func (m *BaseAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BaseAuction) XXX_Merge(src proto.Message) + func (m *BaseAuction) XXX_Size() int + func (m *BaseAuction) XXX_Unmarshal(b []byte) error + type CollateralAuction struct + CorrespondingDebt types.Coin + LotReturns WeightedAddresses + MaxBid types.Coin + func NewCollateralAuction(seller string, lot sdk.Coin, endTime time.Time, maxBid sdk.Coin, ...) CollateralAuction + func (*CollateralAuction) Descriptor() ([]byte, []int) + func (*CollateralAuction) ProtoMessage() + func (a CollateralAuction) GetLotReturns() WeightedAddresses + func (a CollateralAuction) GetModuleAccountCoins() sdk.Coins + func (a CollateralAuction) GetPhase() string + func (a CollateralAuction) GetType() string + func (a CollateralAuction) IsReversePhase() bool + func (a CollateralAuction) Validate() error + func (a CollateralAuction) WithID(id uint64) Auction + func (m *CollateralAuction) Marshal() (dAtA []byte, err error) + func (m *CollateralAuction) MarshalTo(dAtA []byte) (int, error) + func (m *CollateralAuction) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CollateralAuction) Reset() + func (m *CollateralAuction) Size() (n int) + func (m *CollateralAuction) String() string + func (m *CollateralAuction) Unmarshal(dAtA []byte) error + func (m *CollateralAuction) XXX_DiscardUnknown() + func (m *CollateralAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CollateralAuction) XXX_Merge(src proto.Message) + func (m *CollateralAuction) XXX_Size() int + func (m *CollateralAuction) XXX_Unmarshal(b []byte) error + type DebtAuction struct + CorrespondingDebt types.Coin + func NewDebtAuction(buyerModAccName string, bid sdk.Coin, initialLot sdk.Coin, endTime time.Time, ...) DebtAuction + func (*DebtAuction) Descriptor() ([]byte, []int) + func (*DebtAuction) ProtoMessage() + func (a DebtAuction) GetModuleAccountCoins() sdk.Coins + func (a DebtAuction) GetPhase() string + func (a DebtAuction) GetType() string + func (a DebtAuction) Validate() error + func (a DebtAuction) WithID(id uint64) Auction + func (m *DebtAuction) Marshal() (dAtA []byte, err error) + func (m *DebtAuction) MarshalTo(dAtA []byte) (int, error) + func (m *DebtAuction) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DebtAuction) Reset() + func (m *DebtAuction) Size() (n int) + func (m *DebtAuction) String() string + func (m *DebtAuction) Unmarshal(dAtA []byte) error + func (m *DebtAuction) XXX_DiscardUnknown() + func (m *DebtAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DebtAuction) XXX_Merge(src proto.Message) + func (m *DebtAuction) XXX_Size() int + func (m *DebtAuction) XXX_Unmarshal(b []byte) error + type GenesisAuction interface + GetModuleAccountCoins func() sdk.Coins + Validate func() error + func UnpackGenesisAuctions(genesisAuctionsAny []*types.Any) ([]GenesisAuction, error) + type GenesisState struct + Auctions []*types.Any + NextAuctionId uint64 + Params Params + func DefaultGenesisState() *GenesisState + func NewGenesisState(nextID uint64, ap Params, ga []GenesisAuction) (*GenesisState, error) + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (gs GenesisState) UnpackInterfaces(unpacker types.AnyUnpacker) error + func (gs GenesisState) Validate() error + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type MsgClient interface + PlaceBid func(ctx context.Context, in *MsgPlaceBid, opts ...grpc.CallOption) (*MsgPlaceBidResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgPlaceBid struct + Amount types.Coin + AuctionId uint64 + Bidder string + func NewMsgPlaceBid(auctionID uint64, bidder string, amt sdk.Coin) MsgPlaceBid + func (*MsgPlaceBid) Descriptor() ([]byte, []int) + func (*MsgPlaceBid) ProtoMessage() + func (m *MsgPlaceBid) Marshal() (dAtA []byte, err error) + func (m *MsgPlaceBid) MarshalTo(dAtA []byte) (int, error) + func (m *MsgPlaceBid) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgPlaceBid) Reset() + func (m *MsgPlaceBid) Size() (n int) + func (m *MsgPlaceBid) String() string + func (m *MsgPlaceBid) Unmarshal(dAtA []byte) error + func (m *MsgPlaceBid) XXX_DiscardUnknown() + func (m *MsgPlaceBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgPlaceBid) XXX_Merge(src proto.Message) + func (m *MsgPlaceBid) XXX_Size() int + func (m *MsgPlaceBid) XXX_Unmarshal(b []byte) error + func (msg MsgPlaceBid) GetSignBytes() []byte + func (msg MsgPlaceBid) GetSigners() []sdk.AccAddress + func (msg MsgPlaceBid) Route() string + func (msg MsgPlaceBid) Type() string + func (msg MsgPlaceBid) ValidateBasic() error + type MsgPlaceBidResponse struct + func (*MsgPlaceBidResponse) Descriptor() ([]byte, []int) + func (*MsgPlaceBidResponse) ProtoMessage() + func (m *MsgPlaceBidResponse) Marshal() (dAtA []byte, err error) + func (m *MsgPlaceBidResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgPlaceBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgPlaceBidResponse) Reset() + func (m *MsgPlaceBidResponse) Size() (n int) + func (m *MsgPlaceBidResponse) String() string + func (m *MsgPlaceBidResponse) Unmarshal(dAtA []byte) error + func (m *MsgPlaceBidResponse) XXX_DiscardUnknown() + func (m *MsgPlaceBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgPlaceBidResponse) XXX_Merge(src proto.Message) + func (m *MsgPlaceBidResponse) XXX_Size() int + func (m *MsgPlaceBidResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + PlaceBid func(context.Context, *MsgPlaceBid) (*MsgPlaceBidResponse, error) + type Params struct + ForwardBidDuration time.Duration + IncrementCollateral github_com_cosmos_cosmos_sdk_types.Dec + IncrementDebt github_com_cosmos_cosmos_sdk_types.Dec + IncrementSurplus github_com_cosmos_cosmos_sdk_types.Dec + MaxAuctionDuration time.Duration + ReverseBidDuration time.Duration + func DefaultParams() Params + func NewParams(maxAuctionDuration, forwardBidDuration, reverseBidDuration time.Duration, ...) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) String() string + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) Validate() error + type QueryAllAuctionParams struct + Denom string + Limit int + Owner sdk.AccAddress + Page int + Phase string + Type string + func NewQueryAllAuctionParams(page, limit int, aucType, aucDenom, aucPhase string, aucOwner sdk.AccAddress) QueryAllAuctionParams + type QueryAuctionParams struct + AuctionID uint64 + func NewQueryAuctionParams(id uint64) QueryAuctionParams + type QueryAuctionRequest struct + AuctionId uint64 + func (*QueryAuctionRequest) Descriptor() ([]byte, []int) + func (*QueryAuctionRequest) ProtoMessage() + func (m *QueryAuctionRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAuctionRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAuctionRequest) Reset() + func (m *QueryAuctionRequest) Size() (n int) + func (m *QueryAuctionRequest) String() string + func (m *QueryAuctionRequest) Unmarshal(dAtA []byte) error + func (m *QueryAuctionRequest) XXX_DiscardUnknown() + func (m *QueryAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAuctionRequest) XXX_Merge(src proto.Message) + func (m *QueryAuctionRequest) XXX_Size() int + func (m *QueryAuctionRequest) XXX_Unmarshal(b []byte) error + type QueryAuctionResponse struct + Auction *types.Any + func (*QueryAuctionResponse) Descriptor() ([]byte, []int) + func (*QueryAuctionResponse) ProtoMessage() + func (m *QueryAuctionResponse) GetAuction() *types.Any + func (m *QueryAuctionResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAuctionResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAuctionResponse) Reset() + func (m *QueryAuctionResponse) Size() (n int) + func (m *QueryAuctionResponse) String() string + func (m *QueryAuctionResponse) Unmarshal(dAtA []byte) error + func (m *QueryAuctionResponse) XXX_DiscardUnknown() + func (m *QueryAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAuctionResponse) XXX_Merge(src proto.Message) + func (m *QueryAuctionResponse) XXX_Size() int + func (m *QueryAuctionResponse) XXX_Unmarshal(b []byte) error + type QueryAuctionsRequest struct + Denom string + Owner string + Pagination *query.PageRequest + Phase string + Type string + func (*QueryAuctionsRequest) Descriptor() ([]byte, []int) + func (*QueryAuctionsRequest) ProtoMessage() + func (m *QueryAuctionsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAuctionsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAuctionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAuctionsRequest) Reset() + func (m *QueryAuctionsRequest) Size() (n int) + func (m *QueryAuctionsRequest) String() string + func (m *QueryAuctionsRequest) Unmarshal(dAtA []byte) error + func (m *QueryAuctionsRequest) XXX_DiscardUnknown() + func (m *QueryAuctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAuctionsRequest) XXX_Merge(src proto.Message) + func (m *QueryAuctionsRequest) XXX_Size() int + func (m *QueryAuctionsRequest) XXX_Unmarshal(b []byte) error + type QueryAuctionsResponse struct + Auctions []*types.Any + Pagination *query.PageResponse + func (*QueryAuctionsResponse) Descriptor() ([]byte, []int) + func (*QueryAuctionsResponse) ProtoMessage() + func (m *QueryAuctionsResponse) GetAuctions() []*types.Any + func (m *QueryAuctionsResponse) GetPagination() *query.PageResponse + func (m *QueryAuctionsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAuctionsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAuctionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAuctionsResponse) Reset() + func (m *QueryAuctionsResponse) Size() (n int) + func (m *QueryAuctionsResponse) String() string + func (m *QueryAuctionsResponse) Unmarshal(dAtA []byte) error + func (m *QueryAuctionsResponse) XXX_DiscardUnknown() + func (m *QueryAuctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAuctionsResponse) XXX_Merge(src proto.Message) + func (m *QueryAuctionsResponse) XXX_Size() int + func (m *QueryAuctionsResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + Auction func(ctx context.Context, in *QueryAuctionRequest, opts ...grpc.CallOption) (*QueryAuctionResponse, error) + Auctions func(ctx context.Context, in *QueryAuctionsRequest, opts ...grpc.CallOption) (*QueryAuctionsResponse, error) + NextAuctionID func(ctx context.Context, in *QueryNextAuctionIDRequest, opts ...grpc.CallOption) (*QueryNextAuctionIDResponse, error) + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryNextAuctionIDRequest struct + func (*QueryNextAuctionIDRequest) Descriptor() ([]byte, []int) + func (*QueryNextAuctionIDRequest) ProtoMessage() + func (m *QueryNextAuctionIDRequest) Marshal() (dAtA []byte, err error) + func (m *QueryNextAuctionIDRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryNextAuctionIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryNextAuctionIDRequest) Reset() + func (m *QueryNextAuctionIDRequest) Size() (n int) + func (m *QueryNextAuctionIDRequest) String() string + func (m *QueryNextAuctionIDRequest) Unmarshal(dAtA []byte) error + func (m *QueryNextAuctionIDRequest) XXX_DiscardUnknown() + func (m *QueryNextAuctionIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryNextAuctionIDRequest) XXX_Merge(src proto.Message) + func (m *QueryNextAuctionIDRequest) XXX_Size() int + func (m *QueryNextAuctionIDRequest) XXX_Unmarshal(b []byte) error + type QueryNextAuctionIDResponse struct + Id uint64 + func (*QueryNextAuctionIDResponse) Descriptor() ([]byte, []int) + func (*QueryNextAuctionIDResponse) ProtoMessage() + func (m *QueryNextAuctionIDResponse) GetId() uint64 + func (m *QueryNextAuctionIDResponse) Marshal() (dAtA []byte, err error) + func (m *QueryNextAuctionIDResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryNextAuctionIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryNextAuctionIDResponse) Reset() + func (m *QueryNextAuctionIDResponse) Size() (n int) + func (m *QueryNextAuctionIDResponse) String() string + func (m *QueryNextAuctionIDResponse) Unmarshal(dAtA []byte) error + func (m *QueryNextAuctionIDResponse) XXX_DiscardUnknown() + func (m *QueryNextAuctionIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryNextAuctionIDResponse) XXX_Merge(src proto.Message) + func (m *QueryNextAuctionIDResponse) XXX_Size() int + func (m *QueryNextAuctionIDResponse) XXX_Unmarshal(b []byte) error + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsRequest) Reset() + func (m *QueryParamsRequest) Size() (n int) + func (m *QueryParamsRequest) String() string + func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error + func (m *QueryParamsRequest) XXX_DiscardUnknown() + func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsRequest) XXX_Merge(src proto.Message) + func (m *QueryParamsRequest) XXX_Size() int + func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error + type QueryParamsResponse struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + func (m *QueryParamsResponse) GetParams() Params + func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsResponse) Reset() + func (m *QueryParamsResponse) Size() (n int) + func (m *QueryParamsResponse) String() string + func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error + func (m *QueryParamsResponse) XXX_DiscardUnknown() + func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsResponse) XXX_Merge(src proto.Message) + func (m *QueryParamsResponse) XXX_Size() int + func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + Auction func(context.Context, *QueryAuctionRequest) (*QueryAuctionResponse, error) + Auctions func(context.Context, *QueryAuctionsRequest) (*QueryAuctionsResponse, error) + NextAuctionID func(context.Context, *QueryNextAuctionIDRequest) (*QueryNextAuctionIDResponse, error) + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + type SurplusAuction struct + func NewSurplusAuction(seller string, lot sdk.Coin, bidDenom string, endTime time.Time) SurplusAuction + func (*SurplusAuction) Descriptor() ([]byte, []int) + func (*SurplusAuction) ProtoMessage() + func (a SurplusAuction) GetModuleAccountCoins() sdk.Coins + func (a SurplusAuction) GetPhase() string + func (a SurplusAuction) GetType() string + func (a SurplusAuction) Validate() error + func (a SurplusAuction) WithID(id uint64) Auction + func (m *SurplusAuction) Marshal() (dAtA []byte, err error) + func (m *SurplusAuction) MarshalTo(dAtA []byte) (int, error) + func (m *SurplusAuction) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SurplusAuction) Reset() + func (m *SurplusAuction) Size() (n int) + func (m *SurplusAuction) String() string + func (m *SurplusAuction) Unmarshal(dAtA []byte) error + func (m *SurplusAuction) XXX_DiscardUnknown() + func (m *SurplusAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SurplusAuction) XXX_Merge(src proto.Message) + func (m *SurplusAuction) XXX_Size() int + func (m *SurplusAuction) XXX_Unmarshal(b []byte) error + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) PlaceBid(ctx context.Context, req *MsgPlaceBid) (*MsgPlaceBidResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) Auction(ctx context.Context, req *QueryAuctionRequest) (*QueryAuctionResponse, error) + func (*UnimplementedQueryServer) Auctions(ctx context.Context, req *QueryAuctionsRequest) (*QueryAuctionsResponse, error) + func (*UnimplementedQueryServer) NextAuctionID(ctx context.Context, req *QueryNextAuctionIDRequest) (*QueryNextAuctionIDResponse, error) + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) + type WeightedAddresses struct + Addresses []github_com_cosmos_cosmos_sdk_types.AccAddress + Weights []github_com_cosmos_cosmos_sdk_types.Int + func NewWeightedAddresses(addrs []sdk.AccAddress, weights []sdkmath.Int) (WeightedAddresses, error) + func (*WeightedAddresses) Descriptor() ([]byte, []int) + func (*WeightedAddresses) ProtoMessage() + func (m *WeightedAddresses) Marshal() (dAtA []byte, err error) + func (m *WeightedAddresses) MarshalTo(dAtA []byte) (int, error) + func (m *WeightedAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WeightedAddresses) Reset() + func (m *WeightedAddresses) Size() (n int) + func (m *WeightedAddresses) String() string + func (m *WeightedAddresses) Unmarshal(dAtA []byte) error + func (m *WeightedAddresses) XXX_DiscardUnknown() + func (m *WeightedAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *WeightedAddresses) XXX_Merge(src proto.Message) + func (m *WeightedAddresses) XXX_Size() int + func (m *WeightedAddresses) XXX_Unmarshal(b []byte) error + func (wa WeightedAddresses) Validate() error