Documentation ¶
Index ¶
- Constants
- Variables
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type BankKeeper
- type Bid
- func (*Bid) Descriptor() ([]byte, []int)
- func (m *Bid) GetBidder() string
- func (m *Bid) Marshal() (dAtA []byte, err error)
- func (m *Bid) MarshalTo(dAtA []byte) (int, error)
- func (m *Bid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Bid) ProtoMessage()
- func (m *Bid) Reset()
- func (m *Bid) Size() (n int)
- func (m *Bid) String() string
- func (m *Bid) Unmarshal(dAtA []byte) error
- func (m *Bid) XXX_DiscardUnknown()
- func (m *Bid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bid) XXX_Merge(src proto.Message)
- func (m *Bid) XXX_Size() int
- func (m *Bid) XXX_Unmarshal(b []byte) error
- type EventAuctionResult
- func (*EventAuctionResult) Descriptor() ([]byte, []int)
- func (m *EventAuctionResult) GetRound() uint64
- func (m *EventAuctionResult) GetWinner() string
- func (m *EventAuctionResult) Marshal() (dAtA []byte, err error)
- func (m *EventAuctionResult) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAuctionResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAuctionResult) ProtoMessage()
- func (m *EventAuctionResult) Reset()
- func (m *EventAuctionResult) Size() (n int)
- func (m *EventAuctionResult) String() string
- func (m *EventAuctionResult) Unmarshal(dAtA []byte) error
- func (m *EventAuctionResult) XXX_DiscardUnknown()
- func (m *EventAuctionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAuctionResult) XXX_Merge(src proto.Message)
- func (m *EventAuctionResult) XXX_Size() int
- func (m *EventAuctionResult) XXX_Unmarshal(b []byte) error
- type EventAuctionStart
- func (*EventAuctionStart) Descriptor() ([]byte, []int)
- func (m *EventAuctionStart) GetEndingTimestamp() int64
- func (m *EventAuctionStart) GetNewBasket() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *EventAuctionStart) GetRound() uint64
- func (m *EventAuctionStart) Marshal() (dAtA []byte, err error)
- func (m *EventAuctionStart) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAuctionStart) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAuctionStart) ProtoMessage()
- func (m *EventAuctionStart) Reset()
- func (m *EventAuctionStart) Size() (n int)
- func (m *EventAuctionStart) String() string
- func (m *EventAuctionStart) Unmarshal(dAtA []byte) error
- func (m *EventAuctionStart) XXX_DiscardUnknown()
- func (m *EventAuctionStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAuctionStart) XXX_Merge(src proto.Message)
- func (m *EventAuctionStart) XXX_Size() int
- func (m *EventAuctionStart) XXX_Unmarshal(b []byte) error
- type EventBid
- func (*EventBid) Descriptor() ([]byte, []int)
- func (m *EventBid) GetBidder() string
- func (m *EventBid) GetRound() uint64
- func (m *EventBid) Marshal() (dAtA []byte, err error)
- func (m *EventBid) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBid) ProtoMessage()
- func (m *EventBid) Reset()
- func (m *EventBid) Size() (n int)
- func (m *EventBid) String() string
- func (m *EventBid) Unmarshal(dAtA []byte) error
- func (m *EventBid) XXX_DiscardUnknown()
- func (m *EventBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBid) XXX_Merge(src proto.Message)
- func (m *EventBid) XXX_Size() int
- func (m *EventBid) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAuctionEndingTimestamp() int64
- func (m *GenesisState) GetAuctionRound() uint64
- func (m *GenesisState) GetHighestBid() *Bid
- func (m *GenesisState) GetLastAuctionResult() *LastAuctionResult
- func (m *GenesisState) GetParams() Params
- 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 (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() 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 LastAuctionResult
- func (*LastAuctionResult) Descriptor() ([]byte, []int)
- func (m *LastAuctionResult) GetRound() uint64
- func (m *LastAuctionResult) GetWinner() string
- func (m *LastAuctionResult) Marshal() (dAtA []byte, err error)
- func (m *LastAuctionResult) MarshalTo(dAtA []byte) (int, error)
- func (m *LastAuctionResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LastAuctionResult) ProtoMessage()
- func (m *LastAuctionResult) Reset()
- func (m *LastAuctionResult) Size() (n int)
- func (m *LastAuctionResult) String() string
- func (m *LastAuctionResult) Unmarshal(dAtA []byte) error
- func (m *LastAuctionResult) XXX_DiscardUnknown()
- func (m *LastAuctionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LastAuctionResult) XXX_Merge(src proto.Message)
- func (m *LastAuctionResult) XXX_Size() int
- func (m *LastAuctionResult) XXX_Unmarshal(b []byte) error
- type MsgBid
- func (*MsgBid) Descriptor() ([]byte, []int)
- func (msg *MsgBid) GetSignBytes() []byte
- func (msg MsgBid) GetSigners() []sdk.AccAddress
- func (m *MsgBid) Marshal() (dAtA []byte, err error)
- func (m *MsgBid) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBid) ProtoMessage()
- func (m *MsgBid) Reset()
- func (msg MsgBid) Route() string
- func (m *MsgBid) Size() (n int)
- func (m *MsgBid) String() string
- func (msg MsgBid) Type() string
- func (m *MsgBid) Unmarshal(dAtA []byte) error
- func (msg MsgBid) ValidateBasic() error
- func (m *MsgBid) XXX_DiscardUnknown()
- func (m *MsgBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBid) XXX_Merge(src proto.Message)
- func (m *MsgBid) XXX_Size() int
- func (m *MsgBid) XXX_Unmarshal(b []byte) error
- type MsgBidResponse
- func (*MsgBidResponse) Descriptor() ([]byte, []int)
- func (m *MsgBidResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBidResponse) ProtoMessage()
- func (m *MsgBidResponse) Reset()
- func (m *MsgBidResponse) Size() (n int)
- func (m *MsgBidResponse) String() string
- func (m *MsgBidResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBidResponse) XXX_DiscardUnknown()
- func (m *MsgBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBidResponse) XXX_Merge(src proto.Message)
- func (m *MsgBidResponse) XXX_Size() int
- func (m *MsgBidResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (msg *MsgUpdateParams) GetSignBytes() []byte
- func (msg MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (msg MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (msg MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type ParamSet
- type ParamSetPair
- type ParamSetPairs
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetAuctionPeriod() int64
- 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() 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
- type QueryAuctionParamsRequest
- func (*QueryAuctionParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAuctionParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAuctionParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAuctionParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAuctionParamsRequest) ProtoMessage()
- func (m *QueryAuctionParamsRequest) Reset()
- func (m *QueryAuctionParamsRequest) Size() (n int)
- func (m *QueryAuctionParamsRequest) String() string
- func (m *QueryAuctionParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAuctionParamsRequest) XXX_DiscardUnknown()
- func (m *QueryAuctionParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAuctionParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAuctionParamsRequest) XXX_Size() int
- func (m *QueryAuctionParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryAuctionParamsResponse
- func (*QueryAuctionParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAuctionParamsResponse) GetParams() Params
- func (m *QueryAuctionParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAuctionParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAuctionParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAuctionParamsResponse) ProtoMessage()
- func (m *QueryAuctionParamsResponse) Reset()
- func (m *QueryAuctionParamsResponse) Size() (n int)
- func (m *QueryAuctionParamsResponse) String() string
- func (m *QueryAuctionParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAuctionParamsResponse) XXX_DiscardUnknown()
- func (m *QueryAuctionParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAuctionParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAuctionParamsResponse) XXX_Size() int
- func (m *QueryAuctionParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCurrentAuctionBasketRequest
- func (*QueryCurrentAuctionBasketRequest) Descriptor() ([]byte, []int)
- func (m *QueryCurrentAuctionBasketRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCurrentAuctionBasketRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCurrentAuctionBasketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCurrentAuctionBasketRequest) ProtoMessage()
- func (m *QueryCurrentAuctionBasketRequest) Reset()
- func (m *QueryCurrentAuctionBasketRequest) Size() (n int)
- func (m *QueryCurrentAuctionBasketRequest) String() string
- func (m *QueryCurrentAuctionBasketRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCurrentAuctionBasketRequest) XXX_DiscardUnknown()
- func (m *QueryCurrentAuctionBasketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCurrentAuctionBasketRequest) XXX_Merge(src proto.Message)
- func (m *QueryCurrentAuctionBasketRequest) XXX_Size() int
- func (m *QueryCurrentAuctionBasketRequest) XXX_Unmarshal(b []byte) error
- type QueryCurrentAuctionBasketResponse
- func (*QueryCurrentAuctionBasketResponse) Descriptor() ([]byte, []int)
- func (m *QueryCurrentAuctionBasketResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryCurrentAuctionBasketResponse) GetAuctionClosingTime() int64
- func (m *QueryCurrentAuctionBasketResponse) GetAuctionRound() uint64
- func (m *QueryCurrentAuctionBasketResponse) GetHighestBidder() string
- func (m *QueryCurrentAuctionBasketResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCurrentAuctionBasketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCurrentAuctionBasketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCurrentAuctionBasketResponse) ProtoMessage()
- func (m *QueryCurrentAuctionBasketResponse) Reset()
- func (m *QueryCurrentAuctionBasketResponse) Size() (n int)
- func (m *QueryCurrentAuctionBasketResponse) String() string
- func (m *QueryCurrentAuctionBasketResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCurrentAuctionBasketResponse) XXX_DiscardUnknown()
- func (m *QueryCurrentAuctionBasketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCurrentAuctionBasketResponse) XXX_Merge(src proto.Message)
- func (m *QueryCurrentAuctionBasketResponse) XXX_Size() int
- func (m *QueryCurrentAuctionBasketResponse) XXX_Unmarshal(b []byte) error
- type QueryLastAuctionResultRequest
- func (*QueryLastAuctionResultRequest) Descriptor() ([]byte, []int)
- func (m *QueryLastAuctionResultRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLastAuctionResultRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLastAuctionResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLastAuctionResultRequest) ProtoMessage()
- func (m *QueryLastAuctionResultRequest) Reset()
- func (m *QueryLastAuctionResultRequest) Size() (n int)
- func (m *QueryLastAuctionResultRequest) String() string
- func (m *QueryLastAuctionResultRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLastAuctionResultRequest) XXX_DiscardUnknown()
- func (m *QueryLastAuctionResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLastAuctionResultRequest) XXX_Merge(src proto.Message)
- func (m *QueryLastAuctionResultRequest) XXX_Size() int
- func (m *QueryLastAuctionResultRequest) XXX_Unmarshal(b []byte) error
- type QueryLastAuctionResultResponse
- func (*QueryLastAuctionResultResponse) Descriptor() ([]byte, []int)
- func (m *QueryLastAuctionResultResponse) GetLastAuctionResult() *LastAuctionResult
- func (m *QueryLastAuctionResultResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLastAuctionResultResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLastAuctionResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLastAuctionResultResponse) ProtoMessage()
- func (m *QueryLastAuctionResultResponse) Reset()
- func (m *QueryLastAuctionResultResponse) Size() (n int)
- func (m *QueryLastAuctionResultResponse) String() string
- func (m *QueryLastAuctionResultResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLastAuctionResultResponse) XXX_DiscardUnknown()
- func (m *QueryLastAuctionResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLastAuctionResultResponse) XXX_Merge(src proto.Message)
- func (m *QueryLastAuctionResultResponse) XXX_Size() int
- func (m *QueryLastAuctionResultResponse) XXX_Unmarshal(b []byte) error
- type QueryModuleStateRequest
- func (*QueryModuleStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleStateRequest) ProtoMessage()
- func (m *QueryModuleStateRequest) Reset()
- func (m *QueryModuleStateRequest) Size() (n int)
- func (m *QueryModuleStateRequest) String() string
- func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryModuleStateRequest) XXX_DiscardUnknown()
- func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryModuleStateRequest) XXX_Size() int
- func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error
- type QueryModuleStateResponse
- func (*QueryModuleStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryModuleStateResponse) GetState() *GenesisState
- func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleStateResponse) ProtoMessage()
- func (m *QueryModuleStateResponse) Reset()
- func (m *QueryModuleStateResponse) Size() (n int)
- func (m *QueryModuleStateResponse) String() string
- func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryModuleStateResponse) XXX_DiscardUnknown()
- func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryModuleStateResponse) XXX_Size() int
- func (m *QueryModuleStateResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AuctionModuleState(ctx context.Context, req *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
- func (*UnimplementedQueryServer) AuctionParams(ctx context.Context, req *QueryAuctionParamsRequest) (*QueryAuctionParamsResponse, error)
- func (*UnimplementedQueryServer) CurrentAuctionBasket(ctx context.Context, req *QueryCurrentAuctionBasketRequest) (*QueryCurrentAuctionBasketResponse, error)
- func (*UnimplementedQueryServer) LastAuctionResult(ctx context.Context, req *QueryLastAuctionResultRequest) (*QueryLastAuctionResultResponse, error)
- type ValueValidatorFn
Constants ¶
const ( ModuleName = "auction" StoreKey = ModuleName TStoreKey = "transient_auction" )
const ( RouterKey = ModuleName TypeMsgBid = "bid" TypeMsgUpdateParams = "updateParams" )
const (
EventTypeNewBid = "new_bid"
)
Auction module event types
Variables ¶
var ( ErrInvalidLengthAuction = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAuction = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAuction = fmt.Errorf("proto: unexpected end of group") )
var ( ErrBidInvalid = errors.Register(ModuleName, 1, "invalid bid denom") ErrBidRound = errors.Register(ModuleName, 2, "invalid bid round") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // Keys for store prefixes BidsKey = []byte{0x01} AuctionRoundKey = []byte{0x03} KeyEndingTimeStamp = []byte{0x04} KeyLastAuctionResult = []byte{0x05} ParamsKey = []byte{0x10} )
var ( // DefaultAuctionPeriod represents the number of seconds in 1 week DefaultAuctionPeriod int64 = 60 * 60 * 24 * 7 // DefaultMinNextBidIncrementRate represents default min increment rate 0.25% DefaultMinNextBidIncrementRate = math.LegacyNewDecWithPrec(25, 4) )
Auction params default values
var ( KeyAuctionPeriod = []byte("AuctionPeriod") KeyMinNextBidIncrementRate = []byte("MinNextBidIncrementRate") )
Parameter keys
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // ModuleCdc references the global x/auction module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/auction and // defined at the application level. ModuleCdc = codec.NewLegacyAmino() )
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/auction interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error BurnCoins(ctx context.Context, moduleName string, amt sdk.Coins) error }
BankKeeper defines the expected bank keeper methods
type Bid ¶
type Bid struct { Bidder string `protobuf:"bytes,1,opt,name=bidder,proto3" json:"bidder" yaml:"bidder"` Amount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"` }
func (*Bid) Descriptor ¶
func (*Bid) ProtoMessage ¶
func (*Bid) ProtoMessage()
func (*Bid) XXX_DiscardUnknown ¶
func (m *Bid) XXX_DiscardUnknown()
func (*Bid) XXX_Unmarshal ¶
type EventAuctionResult ¶ added in v1.23.4
type EventAuctionResult struct { // winner describes the address of the winner Winner string `protobuf:"bytes,1,opt,name=winner,proto3" json:"winner,omitempty"` // amount describes the amount the winner get from the auction Amount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"` // round defines the round number of auction Round uint64 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` }
func (*EventAuctionResult) Descriptor ¶ added in v1.23.4
func (*EventAuctionResult) Descriptor() ([]byte, []int)
func (*EventAuctionResult) GetRound ¶ added in v1.23.4
func (m *EventAuctionResult) GetRound() uint64
func (*EventAuctionResult) GetWinner ¶ added in v1.23.4
func (m *EventAuctionResult) GetWinner() string
func (*EventAuctionResult) Marshal ¶ added in v1.23.4
func (m *EventAuctionResult) Marshal() (dAtA []byte, err error)
func (*EventAuctionResult) MarshalTo ¶ added in v1.23.4
func (m *EventAuctionResult) MarshalTo(dAtA []byte) (int, error)
func (*EventAuctionResult) MarshalToSizedBuffer ¶ added in v1.23.4
func (m *EventAuctionResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAuctionResult) ProtoMessage ¶ added in v1.23.4
func (*EventAuctionResult) ProtoMessage()
func (*EventAuctionResult) Reset ¶ added in v1.23.4
func (m *EventAuctionResult) Reset()
func (*EventAuctionResult) Size ¶ added in v1.23.4
func (m *EventAuctionResult) Size() (n int)
func (*EventAuctionResult) String ¶ added in v1.23.4
func (m *EventAuctionResult) String() string
func (*EventAuctionResult) Unmarshal ¶ added in v1.23.4
func (m *EventAuctionResult) Unmarshal(dAtA []byte) error
func (*EventAuctionResult) XXX_DiscardUnknown ¶ added in v1.23.4
func (m *EventAuctionResult) XXX_DiscardUnknown()
func (*EventAuctionResult) XXX_Marshal ¶ added in v1.23.4
func (m *EventAuctionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAuctionResult) XXX_Merge ¶ added in v1.23.4
func (m *EventAuctionResult) XXX_Merge(src proto.Message)
func (*EventAuctionResult) XXX_Size ¶ added in v1.23.4
func (m *EventAuctionResult) XXX_Size() int
func (*EventAuctionResult) XXX_Unmarshal ¶ added in v1.23.4
func (m *EventAuctionResult) XXX_Unmarshal(b []byte) error
type EventAuctionStart ¶ added in v1.28.0
type EventAuctionStart struct { // round defines the round number of auction Round uint64 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"` // ending_timestamp describes auction end time EndingTimestamp int64 `protobuf:"varint,2,opt,name=ending_timestamp,json=endingTimestamp,proto3" json:"ending_timestamp,omitempty"` // new_basket describes auction module balance at the time of new auction // start NewBasket github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */ }
func (*EventAuctionStart) Descriptor ¶ added in v1.28.0
func (*EventAuctionStart) Descriptor() ([]byte, []int)
func (*EventAuctionStart) GetEndingTimestamp ¶ added in v1.28.0
func (m *EventAuctionStart) GetEndingTimestamp() int64
func (*EventAuctionStart) GetNewBasket ¶ added in v1.28.0
func (m *EventAuctionStart) GetNewBasket() github_com_cosmos_cosmos_sdk_types.Coins
func (*EventAuctionStart) GetRound ¶ added in v1.28.0
func (m *EventAuctionStart) GetRound() uint64
func (*EventAuctionStart) Marshal ¶ added in v1.28.0
func (m *EventAuctionStart) Marshal() (dAtA []byte, err error)
func (*EventAuctionStart) MarshalTo ¶ added in v1.28.0
func (m *EventAuctionStart) MarshalTo(dAtA []byte) (int, error)
func (*EventAuctionStart) MarshalToSizedBuffer ¶ added in v1.28.0
func (m *EventAuctionStart) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAuctionStart) ProtoMessage ¶ added in v1.28.0
func (*EventAuctionStart) ProtoMessage()
func (*EventAuctionStart) Reset ¶ added in v1.28.0
func (m *EventAuctionStart) Reset()
func (*EventAuctionStart) Size ¶ added in v1.28.0
func (m *EventAuctionStart) Size() (n int)
func (*EventAuctionStart) String ¶ added in v1.28.0
func (m *EventAuctionStart) String() string
func (*EventAuctionStart) Unmarshal ¶ added in v1.28.0
func (m *EventAuctionStart) Unmarshal(dAtA []byte) error
func (*EventAuctionStart) XXX_DiscardUnknown ¶ added in v1.28.0
func (m *EventAuctionStart) XXX_DiscardUnknown()
func (*EventAuctionStart) XXX_Marshal ¶ added in v1.28.0
func (m *EventAuctionStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAuctionStart) XXX_Merge ¶ added in v1.28.0
func (m *EventAuctionStart) XXX_Merge(src proto.Message)
func (*EventAuctionStart) XXX_Size ¶ added in v1.28.0
func (m *EventAuctionStart) XXX_Size() int
func (*EventAuctionStart) XXX_Unmarshal ¶ added in v1.28.0
func (m *EventAuctionStart) XXX_Unmarshal(b []byte) error
type EventBid ¶ added in v1.23.4
type EventBid struct { // bidder describes the address of bidder Bidder string `protobuf:"bytes,1,opt,name=bidder,proto3" json:"bidder,omitempty"` // amount describes the amount the bidder put on the auction Amount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"` // round defines the round number of auction Round uint64 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` }
func (*EventBid) Descriptor ¶ added in v1.23.4
func (*EventBid) MarshalToSizedBuffer ¶ added in v1.23.4
func (*EventBid) ProtoMessage ¶ added in v1.23.4
func (*EventBid) ProtoMessage()
func (*EventBid) XXX_DiscardUnknown ¶ added in v1.23.4
func (m *EventBid) XXX_DiscardUnknown()
func (*EventBid) XXX_Marshal ¶ added in v1.23.4
func (*EventBid) XXX_Unmarshal ¶ added in v1.23.4
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of related to auction. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // current auction round AuctionRound uint64 `protobuf:"varint,2,opt,name=auction_round,json=auctionRound,proto3" json:"auction_round,omitempty"` // current highest bid HighestBid *Bid `protobuf:"bytes,3,opt,name=highest_bid,json=highestBid,proto3" json:"highest_bid,omitempty"` // auction ending timestamp AuctionEndingTimestamp int64 `` /* 130-byte string literal not displayed */ // last auction result LastAuctionResult *LastAuctionResult `protobuf:"bytes,5,opt,name=last_auction_result,json=lastAuctionResult,proto3" json:"last_auction_result,omitempty"` }
GenesisState defines the auction module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState() GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAuctionEndingTimestamp ¶ added in v1.23.4
func (m *GenesisState) GetAuctionEndingTimestamp() int64
func (*GenesisState) GetAuctionRound ¶ added in v1.23.4
func (m *GenesisState) GetAuctionRound() uint64
func (*GenesisState) GetHighestBid ¶ added in v1.23.4
func (m *GenesisState) GetHighestBid() *Bid
func (*GenesisState) GetLastAuctionResult ¶ added in v1.51.0
func (m *GenesisState) GetLastAuctionResult() *LastAuctionResult
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type LastAuctionResult ¶ added in v1.51.0
type LastAuctionResult struct { // winner describes the address of the winner Winner string `protobuf:"bytes,1,opt,name=winner,proto3" json:"winner,omitempty"` // amount describes the amount the winner get from the auction Amount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"` // round defines the round number of auction Round uint64 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` }
func (*LastAuctionResult) Descriptor ¶ added in v1.51.0
func (*LastAuctionResult) Descriptor() ([]byte, []int)
func (*LastAuctionResult) GetRound ¶ added in v1.51.0
func (m *LastAuctionResult) GetRound() uint64
func (*LastAuctionResult) GetWinner ¶ added in v1.51.0
func (m *LastAuctionResult) GetWinner() string
func (*LastAuctionResult) Marshal ¶ added in v1.51.0
func (m *LastAuctionResult) Marshal() (dAtA []byte, err error)
func (*LastAuctionResult) MarshalTo ¶ added in v1.51.0
func (m *LastAuctionResult) MarshalTo(dAtA []byte) (int, error)
func (*LastAuctionResult) MarshalToSizedBuffer ¶ added in v1.51.0
func (m *LastAuctionResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LastAuctionResult) ProtoMessage ¶ added in v1.51.0
func (*LastAuctionResult) ProtoMessage()
func (*LastAuctionResult) Reset ¶ added in v1.51.0
func (m *LastAuctionResult) Reset()
func (*LastAuctionResult) Size ¶ added in v1.51.0
func (m *LastAuctionResult) Size() (n int)
func (*LastAuctionResult) String ¶ added in v1.51.0
func (m *LastAuctionResult) String() string
func (*LastAuctionResult) Unmarshal ¶ added in v1.51.0
func (m *LastAuctionResult) Unmarshal(dAtA []byte) error
func (*LastAuctionResult) XXX_DiscardUnknown ¶ added in v1.51.0
func (m *LastAuctionResult) XXX_DiscardUnknown()
func (*LastAuctionResult) XXX_Marshal ¶ added in v1.51.0
func (m *LastAuctionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LastAuctionResult) XXX_Merge ¶ added in v1.51.0
func (m *LastAuctionResult) XXX_Merge(src proto.Message)
func (*LastAuctionResult) XXX_Size ¶ added in v1.51.0
func (m *LastAuctionResult) XXX_Size() int
func (*LastAuctionResult) XXX_Unmarshal ¶ added in v1.51.0
func (m *LastAuctionResult) XXX_Unmarshal(b []byte) error
type MsgBid ¶
type MsgBid struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // amount of the bid in INJ tokens BidAmount types.Coin `protobuf:"bytes,2,opt,name=bid_amount,json=bidAmount,proto3" json:"bid_amount"` // the current auction round being bid on Round uint64 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` }
Bid defines a SDK message for placing a bid for an auction
func (*MsgBid) Descriptor ¶
func (*MsgBid) GetSignBytes ¶
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgBid) GetSigners ¶
func (msg MsgBid) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgBid) MarshalToSizedBuffer ¶
func (*MsgBid) ProtoMessage ¶
func (*MsgBid) ProtoMessage()
func (MsgBid) Route ¶
Route implements the sdk.Msg interface. It should return the name of the module
func (MsgBid) ValidateBasic ¶
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgBid) XXX_DiscardUnknown ¶
func (m *MsgBid) XXX_DiscardUnknown()
func (*MsgBid) XXX_Marshal ¶
func (*MsgBid) XXX_Unmarshal ¶
type MsgBidResponse ¶
type MsgBidResponse struct { }
func (*MsgBidResponse) Descriptor ¶
func (*MsgBidResponse) Descriptor() ([]byte, []int)
func (*MsgBidResponse) Marshal ¶
func (m *MsgBidResponse) Marshal() (dAtA []byte, err error)
func (*MsgBidResponse) MarshalToSizedBuffer ¶
func (m *MsgBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBidResponse) ProtoMessage ¶
func (*MsgBidResponse) ProtoMessage()
func (*MsgBidResponse) Reset ¶
func (m *MsgBidResponse) Reset()
func (*MsgBidResponse) Size ¶
func (m *MsgBidResponse) Size() (n int)
func (*MsgBidResponse) String ¶
func (m *MsgBidResponse) String() string
func (*MsgBidResponse) Unmarshal ¶
func (m *MsgBidResponse) Unmarshal(dAtA []byte) error
func (*MsgBidResponse) XXX_DiscardUnknown ¶
func (m *MsgBidResponse) XXX_DiscardUnknown()
func (*MsgBidResponse) XXX_Marshal ¶
func (m *MsgBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBidResponse) XXX_Merge ¶
func (m *MsgBidResponse) XXX_Merge(src proto.Message)
func (*MsgBidResponse) XXX_Size ¶
func (m *MsgBidResponse) XXX_Size() int
func (*MsgBidResponse) XXX_Unmarshal ¶
func (m *MsgBidResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // Bid defines a method for placing a bid for an auction Bid(ctx context.Context, in *MsgBid, opts ...grpc.CallOption) (*MsgBidResponse, error) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgServer ¶
type MsgServer interface { // Bid defines a method for placing a bid for an auction Bid(context.Context, *MsgBid) (*MsgBidResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateParams ¶ added in v1.47.1
type MsgUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the ocr parameters to update. // // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
func (*MsgUpdateParams) Descriptor ¶ added in v1.47.1
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶ added in v1.47.1
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v1.47.1
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) GetSignBytes ¶ added in v1.47.1
func (msg *MsgUpdateParams) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgUpdateParams) GetSigners ¶ added in v1.47.1
func (msg MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgUpdateParams) Marshal ¶ added in v1.47.1
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v1.47.1
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v1.47.1
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v1.47.1
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v1.47.1
func (m *MsgUpdateParams) Reset()
func (MsgUpdateParams) Route ¶ added in v1.47.1
func (msg MsgUpdateParams) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgUpdateParams) Size ¶ added in v1.47.1
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v1.47.1
func (m *MsgUpdateParams) String() string
func (MsgUpdateParams) Type ¶ added in v1.47.1
func (msg MsgUpdateParams) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgUpdateParams) Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (MsgUpdateParams) ValidateBasic ¶ added in v1.47.1
func (msg MsgUpdateParams) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v1.47.1
type MsgUpdateParamsResponse struct { }
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v1.47.1
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v1.47.1
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type ParamSet ¶
type ParamSet interface {
ParamSetPairs() ParamSetPairs
}
ParamSet defines an interface for structs containing parameters for a module
type ParamSetPair ¶
type ParamSetPair struct { Key []byte Value interface{} ValidatorFn ValueValidatorFn }
ParamSetPair is used for associating paramsubspace key and field of param structs.
func NewParamSetPair ¶
func NewParamSetPair(key []byte, value interface{}, vfn ValueValidatorFn) ParamSetPair
NewParamSetPair creates a new ParamSetPair instance.
type Params ¶
type Params struct { // auction_period_duration defines the auction period duration AuctionPeriod int64 `protobuf:"varint,1,opt,name=auction_period,json=auctionPeriod,proto3" json:"auction_period,omitempty"` // min_next_bid_increment_rate defines the minimum increment rate for new bids MinNextBidIncrementRate cosmossdk_io_math.LegacyDec `` /* 165-byte string literal not displayed */ }
func (*Params) Descriptor ¶
func (*Params) GetAuctionPeriod ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAuctionParamsRequest ¶
type QueryAuctionParamsRequest struct { }
QueryAuctionParamsRequest is the request type for the Query/AuctionParams RPC method.
func (*QueryAuctionParamsRequest) Descriptor ¶
func (*QueryAuctionParamsRequest) Descriptor() ([]byte, []int)
func (*QueryAuctionParamsRequest) Marshal ¶
func (m *QueryAuctionParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAuctionParamsRequest) MarshalTo ¶
func (m *QueryAuctionParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAuctionParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryAuctionParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAuctionParamsRequest) ProtoMessage ¶
func (*QueryAuctionParamsRequest) ProtoMessage()
func (*QueryAuctionParamsRequest) Reset ¶
func (m *QueryAuctionParamsRequest) Reset()
func (*QueryAuctionParamsRequest) Size ¶
func (m *QueryAuctionParamsRequest) Size() (n int)
func (*QueryAuctionParamsRequest) String ¶
func (m *QueryAuctionParamsRequest) String() string
func (*QueryAuctionParamsRequest) Unmarshal ¶
func (m *QueryAuctionParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryAuctionParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryAuctionParamsRequest) XXX_DiscardUnknown()
func (*QueryAuctionParamsRequest) XXX_Marshal ¶
func (m *QueryAuctionParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAuctionParamsRequest) XXX_Merge ¶
func (m *QueryAuctionParamsRequest) XXX_Merge(src proto.Message)
func (*QueryAuctionParamsRequest) XXX_Size ¶
func (m *QueryAuctionParamsRequest) XXX_Size() int
func (*QueryAuctionParamsRequest) XXX_Unmarshal ¶
func (m *QueryAuctionParamsRequest) XXX_Unmarshal(b []byte) error
type QueryAuctionParamsResponse ¶
type QueryAuctionParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryAuctionParamsRequest is the response type for the Query/AuctionParams RPC method.
func (*QueryAuctionParamsResponse) Descriptor ¶
func (*QueryAuctionParamsResponse) Descriptor() ([]byte, []int)
func (*QueryAuctionParamsResponse) GetParams ¶
func (m *QueryAuctionParamsResponse) GetParams() Params
func (*QueryAuctionParamsResponse) Marshal ¶
func (m *QueryAuctionParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAuctionParamsResponse) MarshalTo ¶
func (m *QueryAuctionParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAuctionParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryAuctionParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAuctionParamsResponse) ProtoMessage ¶
func (*QueryAuctionParamsResponse) ProtoMessage()
func (*QueryAuctionParamsResponse) Reset ¶
func (m *QueryAuctionParamsResponse) Reset()
func (*QueryAuctionParamsResponse) Size ¶
func (m *QueryAuctionParamsResponse) Size() (n int)
func (*QueryAuctionParamsResponse) String ¶
func (m *QueryAuctionParamsResponse) String() string
func (*QueryAuctionParamsResponse) Unmarshal ¶
func (m *QueryAuctionParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryAuctionParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryAuctionParamsResponse) XXX_DiscardUnknown()
func (*QueryAuctionParamsResponse) XXX_Marshal ¶
func (m *QueryAuctionParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAuctionParamsResponse) XXX_Merge ¶
func (m *QueryAuctionParamsResponse) XXX_Merge(src proto.Message)
func (*QueryAuctionParamsResponse) XXX_Size ¶
func (m *QueryAuctionParamsResponse) XXX_Size() int
func (*QueryAuctionParamsResponse) XXX_Unmarshal ¶
func (m *QueryAuctionParamsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Retrieves auction params AuctionParams(ctx context.Context, in *QueryAuctionParamsRequest, opts ...grpc.CallOption) (*QueryAuctionParamsResponse, error) // Retrieves current auction basket with current highest bid and bidder CurrentAuctionBasket(ctx context.Context, in *QueryCurrentAuctionBasketRequest, opts ...grpc.CallOption) (*QueryCurrentAuctionBasketResponse, error) // Retrieves the entire auction module's state AuctionModuleState(ctx context.Context, in *QueryModuleStateRequest, opts ...grpc.CallOption) (*QueryModuleStateResponse, error) LastAuctionResult(ctx context.Context, in *QueryLastAuctionResultRequest, opts ...grpc.CallOption) (*QueryLastAuctionResultResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCurrentAuctionBasketRequest ¶
type QueryCurrentAuctionBasketRequest struct { }
QueryCurrentAuctionBasketRequest is the request type for the Query/CurrentAuctionBasket RPC method.
func (*QueryCurrentAuctionBasketRequest) Descriptor ¶
func (*QueryCurrentAuctionBasketRequest) Descriptor() ([]byte, []int)
func (*QueryCurrentAuctionBasketRequest) Marshal ¶
func (m *QueryCurrentAuctionBasketRequest) Marshal() (dAtA []byte, err error)
func (*QueryCurrentAuctionBasketRequest) MarshalTo ¶
func (m *QueryCurrentAuctionBasketRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCurrentAuctionBasketRequest) MarshalToSizedBuffer ¶
func (m *QueryCurrentAuctionBasketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCurrentAuctionBasketRequest) ProtoMessage ¶
func (*QueryCurrentAuctionBasketRequest) ProtoMessage()
func (*QueryCurrentAuctionBasketRequest) Reset ¶
func (m *QueryCurrentAuctionBasketRequest) Reset()
func (*QueryCurrentAuctionBasketRequest) Size ¶
func (m *QueryCurrentAuctionBasketRequest) Size() (n int)
func (*QueryCurrentAuctionBasketRequest) String ¶
func (m *QueryCurrentAuctionBasketRequest) String() string
func (*QueryCurrentAuctionBasketRequest) Unmarshal ¶
func (m *QueryCurrentAuctionBasketRequest) Unmarshal(dAtA []byte) error
func (*QueryCurrentAuctionBasketRequest) XXX_DiscardUnknown ¶
func (m *QueryCurrentAuctionBasketRequest) XXX_DiscardUnknown()
func (*QueryCurrentAuctionBasketRequest) XXX_Marshal ¶
func (m *QueryCurrentAuctionBasketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCurrentAuctionBasketRequest) XXX_Merge ¶
func (m *QueryCurrentAuctionBasketRequest) XXX_Merge(src proto.Message)
func (*QueryCurrentAuctionBasketRequest) XXX_Size ¶
func (m *QueryCurrentAuctionBasketRequest) XXX_Size() int
func (*QueryCurrentAuctionBasketRequest) XXX_Unmarshal ¶
func (m *QueryCurrentAuctionBasketRequest) XXX_Unmarshal(b []byte) error
type QueryCurrentAuctionBasketResponse ¶
type QueryCurrentAuctionBasketResponse struct { // amount describes the amount put on auction Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` // auctionRound describes current auction round AuctionRound uint64 `protobuf:"varint,2,opt,name=auctionRound,proto3" json:"auctionRound,omitempty"` // auctionClosingTime describes auction close time for the round AuctionClosingTime int64 `protobuf:"varint,3,opt,name=auctionClosingTime,proto3" json:"auctionClosingTime,omitempty"` // highestBidder describes highest bidder on current round HighestBidder string `protobuf:"bytes,4,opt,name=highestBidder,proto3" json:"highestBidder,omitempty"` // highestBidAmount describes highest bid amount on current round HighestBidAmount cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=highestBidAmount,proto3,customtype=cosmossdk.io/math.Int" json:"highestBidAmount"` }
QueryCurrentAuctionBasketResponse is the response type for the Query/CurrentAuctionBasket RPC method.
func (*QueryCurrentAuctionBasketResponse) Descriptor ¶
func (*QueryCurrentAuctionBasketResponse) Descriptor() ([]byte, []int)
func (*QueryCurrentAuctionBasketResponse) GetAmount ¶
func (m *QueryCurrentAuctionBasketResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryCurrentAuctionBasketResponse) GetAuctionClosingTime ¶
func (m *QueryCurrentAuctionBasketResponse) GetAuctionClosingTime() int64
func (*QueryCurrentAuctionBasketResponse) GetAuctionRound ¶ added in v1.23.4
func (m *QueryCurrentAuctionBasketResponse) GetAuctionRound() uint64
func (*QueryCurrentAuctionBasketResponse) GetHighestBidder ¶
func (m *QueryCurrentAuctionBasketResponse) GetHighestBidder() string
func (*QueryCurrentAuctionBasketResponse) Marshal ¶
func (m *QueryCurrentAuctionBasketResponse) Marshal() (dAtA []byte, err error)
func (*QueryCurrentAuctionBasketResponse) MarshalTo ¶
func (m *QueryCurrentAuctionBasketResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCurrentAuctionBasketResponse) MarshalToSizedBuffer ¶
func (m *QueryCurrentAuctionBasketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCurrentAuctionBasketResponse) ProtoMessage ¶
func (*QueryCurrentAuctionBasketResponse) ProtoMessage()
func (*QueryCurrentAuctionBasketResponse) Reset ¶
func (m *QueryCurrentAuctionBasketResponse) Reset()
func (*QueryCurrentAuctionBasketResponse) Size ¶
func (m *QueryCurrentAuctionBasketResponse) Size() (n int)
func (*QueryCurrentAuctionBasketResponse) String ¶
func (m *QueryCurrentAuctionBasketResponse) String() string
func (*QueryCurrentAuctionBasketResponse) Unmarshal ¶
func (m *QueryCurrentAuctionBasketResponse) Unmarshal(dAtA []byte) error
func (*QueryCurrentAuctionBasketResponse) XXX_DiscardUnknown ¶
func (m *QueryCurrentAuctionBasketResponse) XXX_DiscardUnknown()
func (*QueryCurrentAuctionBasketResponse) XXX_Marshal ¶
func (m *QueryCurrentAuctionBasketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCurrentAuctionBasketResponse) XXX_Merge ¶
func (m *QueryCurrentAuctionBasketResponse) XXX_Merge(src proto.Message)
func (*QueryCurrentAuctionBasketResponse) XXX_Size ¶
func (m *QueryCurrentAuctionBasketResponse) XXX_Size() int
func (*QueryCurrentAuctionBasketResponse) XXX_Unmarshal ¶
func (m *QueryCurrentAuctionBasketResponse) XXX_Unmarshal(b []byte) error
type QueryLastAuctionResultRequest ¶ added in v1.51.0
type QueryLastAuctionResultRequest struct { }
func (*QueryLastAuctionResultRequest) Descriptor ¶ added in v1.51.0
func (*QueryLastAuctionResultRequest) Descriptor() ([]byte, []int)
func (*QueryLastAuctionResultRequest) Marshal ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) Marshal() (dAtA []byte, err error)
func (*QueryLastAuctionResultRequest) MarshalTo ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLastAuctionResultRequest) MarshalToSizedBuffer ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLastAuctionResultRequest) ProtoMessage ¶ added in v1.51.0
func (*QueryLastAuctionResultRequest) ProtoMessage()
func (*QueryLastAuctionResultRequest) Reset ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) Reset()
func (*QueryLastAuctionResultRequest) Size ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) Size() (n int)
func (*QueryLastAuctionResultRequest) String ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) String() string
func (*QueryLastAuctionResultRequest) Unmarshal ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) Unmarshal(dAtA []byte) error
func (*QueryLastAuctionResultRequest) XXX_DiscardUnknown ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) XXX_DiscardUnknown()
func (*QueryLastAuctionResultRequest) XXX_Marshal ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLastAuctionResultRequest) XXX_Merge ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) XXX_Merge(src proto.Message)
func (*QueryLastAuctionResultRequest) XXX_Size ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) XXX_Size() int
func (*QueryLastAuctionResultRequest) XXX_Unmarshal ¶ added in v1.51.0
func (m *QueryLastAuctionResultRequest) XXX_Unmarshal(b []byte) error
type QueryLastAuctionResultResponse ¶ added in v1.51.0
type QueryLastAuctionResultResponse struct {
LastAuctionResult *LastAuctionResult `protobuf:"bytes,1,opt,name=last_auction_result,json=lastAuctionResult,proto3" json:"last_auction_result,omitempty"`
}
func (*QueryLastAuctionResultResponse) Descriptor ¶ added in v1.51.0
func (*QueryLastAuctionResultResponse) Descriptor() ([]byte, []int)
func (*QueryLastAuctionResultResponse) GetLastAuctionResult ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) GetLastAuctionResult() *LastAuctionResult
func (*QueryLastAuctionResultResponse) Marshal ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) Marshal() (dAtA []byte, err error)
func (*QueryLastAuctionResultResponse) MarshalTo ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLastAuctionResultResponse) MarshalToSizedBuffer ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLastAuctionResultResponse) ProtoMessage ¶ added in v1.51.0
func (*QueryLastAuctionResultResponse) ProtoMessage()
func (*QueryLastAuctionResultResponse) Reset ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) Reset()
func (*QueryLastAuctionResultResponse) Size ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) Size() (n int)
func (*QueryLastAuctionResultResponse) String ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) String() string
func (*QueryLastAuctionResultResponse) Unmarshal ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) Unmarshal(dAtA []byte) error
func (*QueryLastAuctionResultResponse) XXX_DiscardUnknown ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) XXX_DiscardUnknown()
func (*QueryLastAuctionResultResponse) XXX_Marshal ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLastAuctionResultResponse) XXX_Merge ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) XXX_Merge(src proto.Message)
func (*QueryLastAuctionResultResponse) XXX_Size ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) XXX_Size() int
func (*QueryLastAuctionResultResponse) XXX_Unmarshal ¶ added in v1.51.0
func (m *QueryLastAuctionResultResponse) XXX_Unmarshal(b []byte) error
type QueryModuleStateRequest ¶ added in v1.23.4
type QueryModuleStateRequest struct { }
QueryModuleStateRequest is the request type for the Query/AuctionModuleState RPC method.
func (*QueryModuleStateRequest) Descriptor ¶ added in v1.23.4
func (*QueryModuleStateRequest) Descriptor() ([]byte, []int)
func (*QueryModuleStateRequest) Marshal ¶ added in v1.23.4
func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryModuleStateRequest) MarshalTo ¶ added in v1.23.4
func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryModuleStateRequest) MarshalToSizedBuffer ¶ added in v1.23.4
func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryModuleStateRequest) ProtoMessage ¶ added in v1.23.4
func (*QueryModuleStateRequest) ProtoMessage()
func (*QueryModuleStateRequest) Reset ¶ added in v1.23.4
func (m *QueryModuleStateRequest) Reset()
func (*QueryModuleStateRequest) Size ¶ added in v1.23.4
func (m *QueryModuleStateRequest) Size() (n int)
func (*QueryModuleStateRequest) String ¶ added in v1.23.4
func (m *QueryModuleStateRequest) String() string
func (*QueryModuleStateRequest) Unmarshal ¶ added in v1.23.4
func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error
func (*QueryModuleStateRequest) XXX_DiscardUnknown ¶ added in v1.23.4
func (m *QueryModuleStateRequest) XXX_DiscardUnknown()
func (*QueryModuleStateRequest) XXX_Marshal ¶ added in v1.23.4
func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryModuleStateRequest) XXX_Merge ¶ added in v1.23.4
func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message)
func (*QueryModuleStateRequest) XXX_Size ¶ added in v1.23.4
func (m *QueryModuleStateRequest) XXX_Size() int
func (*QueryModuleStateRequest) XXX_Unmarshal ¶ added in v1.23.4
func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error
type QueryModuleStateResponse ¶ added in v1.23.4
type QueryModuleStateResponse struct {
State *GenesisState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
}
QueryModuleStateResponse is the response type for the Query/AuctionModuleState RPC method.
func (*QueryModuleStateResponse) Descriptor ¶ added in v1.23.4
func (*QueryModuleStateResponse) Descriptor() ([]byte, []int)
func (*QueryModuleStateResponse) GetState ¶ added in v1.23.4
func (m *QueryModuleStateResponse) GetState() *GenesisState
func (*QueryModuleStateResponse) Marshal ¶ added in v1.23.4
func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryModuleStateResponse) MarshalTo ¶ added in v1.23.4
func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryModuleStateResponse) MarshalToSizedBuffer ¶ added in v1.23.4
func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryModuleStateResponse) ProtoMessage ¶ added in v1.23.4
func (*QueryModuleStateResponse) ProtoMessage()
func (*QueryModuleStateResponse) Reset ¶ added in v1.23.4
func (m *QueryModuleStateResponse) Reset()
func (*QueryModuleStateResponse) Size ¶ added in v1.23.4
func (m *QueryModuleStateResponse) Size() (n int)
func (*QueryModuleStateResponse) String ¶ added in v1.23.4
func (m *QueryModuleStateResponse) String() string
func (*QueryModuleStateResponse) Unmarshal ¶ added in v1.23.4
func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error
func (*QueryModuleStateResponse) XXX_DiscardUnknown ¶ added in v1.23.4
func (m *QueryModuleStateResponse) XXX_DiscardUnknown()
func (*QueryModuleStateResponse) XXX_Marshal ¶ added in v1.23.4
func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryModuleStateResponse) XXX_Merge ¶ added in v1.23.4
func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message)
func (*QueryModuleStateResponse) XXX_Size ¶ added in v1.23.4
func (m *QueryModuleStateResponse) XXX_Size() int
func (*QueryModuleStateResponse) XXX_Unmarshal ¶ added in v1.23.4
func (m *QueryModuleStateResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Retrieves auction params AuctionParams(context.Context, *QueryAuctionParamsRequest) (*QueryAuctionParamsResponse, error) // Retrieves current auction basket with current highest bid and bidder CurrentAuctionBasket(context.Context, *QueryCurrentAuctionBasketRequest) (*QueryCurrentAuctionBasketResponse, error) // Retrieves the entire auction module's state AuctionModuleState(context.Context, *QueryModuleStateRequest) (*QueryModuleStateResponse, error) LastAuctionResult(context.Context, *QueryLastAuctionResultRequest) (*QueryLastAuctionResultResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) Bid ¶
func (*UnimplementedMsgServer) Bid(ctx context.Context, req *MsgBid) (*MsgBidResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v1.47.1
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AuctionModuleState ¶ added in v1.23.4
func (*UnimplementedQueryServer) AuctionModuleState(ctx context.Context, req *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
func (*UnimplementedQueryServer) AuctionParams ¶
func (*UnimplementedQueryServer) AuctionParams(ctx context.Context, req *QueryAuctionParamsRequest) (*QueryAuctionParamsResponse, error)
func (*UnimplementedQueryServer) CurrentAuctionBasket ¶
func (*UnimplementedQueryServer) CurrentAuctionBasket(ctx context.Context, req *QueryCurrentAuctionBasketRequest) (*QueryCurrentAuctionBasketResponse, error)
func (*UnimplementedQueryServer) LastAuctionResult ¶ added in v1.51.0
func (*UnimplementedQueryServer) LastAuctionResult(ctx context.Context, req *QueryLastAuctionResultRequest) (*QueryLastAuctionResultResponse, error)
type ValueValidatorFn ¶
type ValueValidatorFn func(value interface{}) error