Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetActiveAuctionKey(id uint32) []byte
- func GetActiveAuctionsPrefix() []byte
- func GetBidKey(auctionID uint32, bidID uint64) []byte
- func GetBidsByAuctionIDPrefix(auctionID uint32) []byte
- func GetBidsByAuctionPrefix() []byte
- func GetEndedAuctionKey(id uint32) []byte
- func GetEndedAuctionsPrefix() []byte
- func GetLastAuctionIDKey() []byte
- func GetLastBidIDKey() []byte
- func GetTokenPriceKey(denom string) []byte
- func GetTokenPricesPrefix() []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry codectypes.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)
- type AccountKeeper
- type Auction
- func (*Auction) Descriptor() ([]byte, []int)
- func (m *Auction) GetEndBlock() uint64
- func (m *Auction) GetFundingModuleAccount() string
- func (m *Auction) GetId() uint32
- func (m *Auction) GetPriceDecreaseBlockInterval() uint64
- func (m *Auction) GetProceedsModuleAccount() string
- func (m *Auction) GetRemainingTokensForSale() types.Coin
- func (m *Auction) GetStartBlock() uint64
- func (m *Auction) GetStartingTokensForSale() types.Coin
- func (m *Auction) Marshal() (dAtA []byte, err error)
- func (m *Auction) MarshalTo(dAtA []byte) (int, error)
- func (m *Auction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Auction) ProtoMessage()
- func (m *Auction) Reset()
- func (m *Auction) Size() (n int)
- func (m *Auction) String() string
- func (m *Auction) Unmarshal(dAtA []byte) error
- func (a *Auction) ValidateBasic() error
- func (m *Auction) XXX_DiscardUnknown()
- func (m *Auction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Auction) XXX_Merge(src proto.Message)
- func (m *Auction) XXX_Size() int
- func (m *Auction) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type Bid
- func (*Bid) Descriptor() ([]byte, []int)
- func (m *Bid) GetAuctionId() uint32
- func (m *Bid) GetBidder() string
- func (m *Bid) GetBlockHeight() uint64
- func (m *Bid) GetId() uint64
- func (m *Bid) GetMaxBidInUsomm() types.Coin
- func (m *Bid) GetSaleTokenMinimumAmount() types.Coin
- func (m *Bid) GetTotalFulfilledSaleTokens() types.Coin
- func (m *Bid) GetTotalUsommPaid() types.Coin
- 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 (b *Bid) ValidateBasic() 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 GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAuctions() []*Auction
- func (m *GenesisState) GetBids() []*Bid
- func (m *GenesisState) GetLastAuctionId() uint32
- func (m *GenesisState) GetLastBidId() uint64
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetTokenPrices() []*TokenPrice
- 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 MsgClient
- type MsgServer
- type MsgSubmitBidRequest
- func (*MsgSubmitBidRequest) Descriptor() ([]byte, []int)
- func (m *MsgSubmitBidRequest) GetAuctionId() uint32
- func (m *MsgSubmitBidRequest) GetMaxBidInUsomm() types.Coin
- func (m *MsgSubmitBidRequest) GetSaleTokenMinimumAmount() types.Coin
- func (m *MsgSubmitBidRequest) GetSignBytes() []byte
- func (m *MsgSubmitBidRequest) GetSigner() string
- func (m *MsgSubmitBidRequest) GetSigners() []sdk.AccAddress
- func (m *MsgSubmitBidRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitBidRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitBidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *MsgSubmitBidRequest) MustGetSigner() sdk.AccAddress
- func (*MsgSubmitBidRequest) ProtoMessage()
- func (m *MsgSubmitBidRequest) Reset()
- func (m *MsgSubmitBidRequest) Route() string
- func (m *MsgSubmitBidRequest) Size() (n int)
- func (m *MsgSubmitBidRequest) String() string
- func (m *MsgSubmitBidRequest) Type() string
- func (m *MsgSubmitBidRequest) Unmarshal(dAtA []byte) error
- func (m *MsgSubmitBidRequest) ValidateBasic() error
- func (m *MsgSubmitBidRequest) XXX_DiscardUnknown()
- func (m *MsgSubmitBidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitBidRequest) XXX_Merge(src proto.Message)
- func (m *MsgSubmitBidRequest) XXX_Size() int
- func (m *MsgSubmitBidRequest) XXX_Unmarshal(b []byte) error
- type MsgSubmitBidResponse
- func (*MsgSubmitBidResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubmitBidResponse) GetBid() *Bid
- func (m *MsgSubmitBidResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitBidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitBidResponse) ProtoMessage()
- func (m *MsgSubmitBidResponse) Reset()
- func (m *MsgSubmitBidResponse) Size() (n int)
- func (m *MsgSubmitBidResponse) String() string
- func (m *MsgSubmitBidResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubmitBidResponse) XXX_DiscardUnknown()
- func (m *MsgSubmitBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitBidResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubmitBidResponse) XXX_Size() int
- func (m *MsgSubmitBidResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAuctionMaxBlockAge() uint64
- func (m *Params) GetMinimumAuctionHeight() uint64
- func (m *Params) GetMinimumBidInUsomm() uint64
- func (m *Params) GetPriceMaxBlockAge() uint64
- 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) ValidateBasic() 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 ProposedTokenPrice
- func (*ProposedTokenPrice) Descriptor() ([]byte, []int)
- func (m *ProposedTokenPrice) GetDenom() string
- func (m *ProposedTokenPrice) GetExponent() uint64
- func (m *ProposedTokenPrice) Marshal() (dAtA []byte, err error)
- func (m *ProposedTokenPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposedTokenPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposedTokenPrice) ProtoMessage()
- func (m *ProposedTokenPrice) Reset()
- func (m *ProposedTokenPrice) Size() (n int)
- func (m *ProposedTokenPrice) String() string
- func (m *ProposedTokenPrice) Unmarshal(dAtA []byte) error
- func (t *ProposedTokenPrice) ValidateBasic() error
- func (m *ProposedTokenPrice) XXX_DiscardUnknown()
- func (m *ProposedTokenPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposedTokenPrice) XXX_Merge(src proto.Message)
- func (m *ProposedTokenPrice) XXX_Size() int
- func (m *ProposedTokenPrice) XXX_Unmarshal(b []byte) error
- type QueryActiveAuctionRequest
- func (*QueryActiveAuctionRequest) Descriptor() ([]byte, []int)
- func (m *QueryActiveAuctionRequest) GetAuctionId() uint32
- func (m *QueryActiveAuctionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryActiveAuctionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActiveAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActiveAuctionRequest) ProtoMessage()
- func (m *QueryActiveAuctionRequest) Reset()
- func (m *QueryActiveAuctionRequest) Size() (n int)
- func (m *QueryActiveAuctionRequest) String() string
- func (m *QueryActiveAuctionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryActiveAuctionRequest) XXX_DiscardUnknown()
- func (m *QueryActiveAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActiveAuctionRequest) XXX_Merge(src proto.Message)
- func (m *QueryActiveAuctionRequest) XXX_Size() int
- func (m *QueryActiveAuctionRequest) XXX_Unmarshal(b []byte) error
- type QueryActiveAuctionResponse
- func (*QueryActiveAuctionResponse) Descriptor() ([]byte, []int)
- func (m *QueryActiveAuctionResponse) GetAuction() *Auction
- func (m *QueryActiveAuctionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryActiveAuctionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActiveAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActiveAuctionResponse) ProtoMessage()
- func (m *QueryActiveAuctionResponse) Reset()
- func (m *QueryActiveAuctionResponse) Size() (n int)
- func (m *QueryActiveAuctionResponse) String() string
- func (m *QueryActiveAuctionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryActiveAuctionResponse) XXX_DiscardUnknown()
- func (m *QueryActiveAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActiveAuctionResponse) XXX_Merge(src proto.Message)
- func (m *QueryActiveAuctionResponse) XXX_Size() int
- func (m *QueryActiveAuctionResponse) XXX_Unmarshal(b []byte) error
- type QueryActiveAuctionsRequest
- func (*QueryActiveAuctionsRequest) Descriptor() ([]byte, []int)
- func (m *QueryActiveAuctionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryActiveAuctionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActiveAuctionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActiveAuctionsRequest) ProtoMessage()
- func (m *QueryActiveAuctionsRequest) Reset()
- func (m *QueryActiveAuctionsRequest) Size() (n int)
- func (m *QueryActiveAuctionsRequest) String() string
- func (m *QueryActiveAuctionsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryActiveAuctionsRequest) XXX_DiscardUnknown()
- func (m *QueryActiveAuctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActiveAuctionsRequest) XXX_Merge(src proto.Message)
- func (m *QueryActiveAuctionsRequest) XXX_Size() int
- func (m *QueryActiveAuctionsRequest) XXX_Unmarshal(b []byte) error
- type QueryActiveAuctionsResponse
- func (*QueryActiveAuctionsResponse) Descriptor() ([]byte, []int)
- func (m *QueryActiveAuctionsResponse) GetAuctions() []*Auction
- func (m *QueryActiveAuctionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryActiveAuctionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActiveAuctionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActiveAuctionsResponse) ProtoMessage()
- func (m *QueryActiveAuctionsResponse) Reset()
- func (m *QueryActiveAuctionsResponse) Size() (n int)
- func (m *QueryActiveAuctionsResponse) String() string
- func (m *QueryActiveAuctionsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryActiveAuctionsResponse) XXX_DiscardUnknown()
- func (m *QueryActiveAuctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActiveAuctionsResponse) XXX_Merge(src proto.Message)
- func (m *QueryActiveAuctionsResponse) XXX_Size() int
- func (m *QueryActiveAuctionsResponse) XXX_Unmarshal(b []byte) error
- type QueryBidRequest
- func (*QueryBidRequest) Descriptor() ([]byte, []int)
- func (m *QueryBidRequest) GetAuctionId() uint32
- func (m *QueryBidRequest) GetBidId() uint64
- func (m *QueryBidRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBidRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBidRequest) ProtoMessage()
- func (m *QueryBidRequest) Reset()
- func (m *QueryBidRequest) Size() (n int)
- func (m *QueryBidRequest) String() string
- func (m *QueryBidRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBidRequest) XXX_DiscardUnknown()
- func (m *QueryBidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBidRequest) XXX_Merge(src proto.Message)
- func (m *QueryBidRequest) XXX_Size() int
- func (m *QueryBidRequest) XXX_Unmarshal(b []byte) error
- type QueryBidResponse
- func (*QueryBidResponse) Descriptor() ([]byte, []int)
- func (m *QueryBidResponse) GetBid() *Bid
- func (m *QueryBidResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBidResponse) ProtoMessage()
- func (m *QueryBidResponse) Reset()
- func (m *QueryBidResponse) Size() (n int)
- func (m *QueryBidResponse) String() string
- func (m *QueryBidResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBidResponse) XXX_DiscardUnknown()
- func (m *QueryBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBidResponse) XXX_Merge(src proto.Message)
- func (m *QueryBidResponse) XXX_Size() int
- func (m *QueryBidResponse) XXX_Unmarshal(b []byte) error
- type QueryBidsByAuctionRequest
- func (*QueryBidsByAuctionRequest) Descriptor() ([]byte, []int)
- func (m *QueryBidsByAuctionRequest) GetAuctionId() uint32
- func (m *QueryBidsByAuctionRequest) GetPagination() query.PageRequest
- func (m *QueryBidsByAuctionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBidsByAuctionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBidsByAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBidsByAuctionRequest) ProtoMessage()
- func (m *QueryBidsByAuctionRequest) Reset()
- func (m *QueryBidsByAuctionRequest) Size() (n int)
- func (m *QueryBidsByAuctionRequest) String() string
- func (m *QueryBidsByAuctionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBidsByAuctionRequest) XXX_DiscardUnknown()
- func (m *QueryBidsByAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBidsByAuctionRequest) XXX_Merge(src proto.Message)
- func (m *QueryBidsByAuctionRequest) XXX_Size() int
- func (m *QueryBidsByAuctionRequest) XXX_Unmarshal(b []byte) error
- type QueryBidsByAuctionResponse
- func (*QueryBidsByAuctionResponse) Descriptor() ([]byte, []int)
- func (m *QueryBidsByAuctionResponse) GetBids() []*Bid
- func (m *QueryBidsByAuctionResponse) GetPagination() query.PageResponse
- func (m *QueryBidsByAuctionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBidsByAuctionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBidsByAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBidsByAuctionResponse) ProtoMessage()
- func (m *QueryBidsByAuctionResponse) Reset()
- func (m *QueryBidsByAuctionResponse) Size() (n int)
- func (m *QueryBidsByAuctionResponse) String() string
- func (m *QueryBidsByAuctionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBidsByAuctionResponse) XXX_DiscardUnknown()
- func (m *QueryBidsByAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBidsByAuctionResponse) XXX_Merge(src proto.Message)
- func (m *QueryBidsByAuctionResponse) XXX_Size() int
- func (m *QueryBidsByAuctionResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryEndedAuctionRequest
- func (*QueryEndedAuctionRequest) Descriptor() ([]byte, []int)
- func (m *QueryEndedAuctionRequest) GetAuctionId() uint32
- func (m *QueryEndedAuctionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEndedAuctionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEndedAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEndedAuctionRequest) ProtoMessage()
- func (m *QueryEndedAuctionRequest) Reset()
- func (m *QueryEndedAuctionRequest) Size() (n int)
- func (m *QueryEndedAuctionRequest) String() string
- func (m *QueryEndedAuctionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEndedAuctionRequest) XXX_DiscardUnknown()
- func (m *QueryEndedAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEndedAuctionRequest) XXX_Merge(src proto.Message)
- func (m *QueryEndedAuctionRequest) XXX_Size() int
- func (m *QueryEndedAuctionRequest) XXX_Unmarshal(b []byte) error
- type QueryEndedAuctionResponse
- func (*QueryEndedAuctionResponse) Descriptor() ([]byte, []int)
- func (m *QueryEndedAuctionResponse) GetAuction() *Auction
- func (m *QueryEndedAuctionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEndedAuctionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEndedAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEndedAuctionResponse) ProtoMessage()
- func (m *QueryEndedAuctionResponse) Reset()
- func (m *QueryEndedAuctionResponse) Size() (n int)
- func (m *QueryEndedAuctionResponse) String() string
- func (m *QueryEndedAuctionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEndedAuctionResponse) XXX_DiscardUnknown()
- func (m *QueryEndedAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEndedAuctionResponse) XXX_Merge(src proto.Message)
- func (m *QueryEndedAuctionResponse) XXX_Size() int
- func (m *QueryEndedAuctionResponse) XXX_Unmarshal(b []byte) error
- type QueryEndedAuctionsRequest
- func (*QueryEndedAuctionsRequest) Descriptor() ([]byte, []int)
- func (m *QueryEndedAuctionsRequest) GetPagination() query.PageRequest
- func (m *QueryEndedAuctionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEndedAuctionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEndedAuctionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEndedAuctionsRequest) ProtoMessage()
- func (m *QueryEndedAuctionsRequest) Reset()
- func (m *QueryEndedAuctionsRequest) Size() (n int)
- func (m *QueryEndedAuctionsRequest) String() string
- func (m *QueryEndedAuctionsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEndedAuctionsRequest) XXX_DiscardUnknown()
- func (m *QueryEndedAuctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEndedAuctionsRequest) XXX_Merge(src proto.Message)
- func (m *QueryEndedAuctionsRequest) XXX_Size() int
- func (m *QueryEndedAuctionsRequest) XXX_Unmarshal(b []byte) error
- type QueryEndedAuctionsResponse
- func (*QueryEndedAuctionsResponse) Descriptor() ([]byte, []int)
- func (m *QueryEndedAuctionsResponse) GetAuctions() []*Auction
- func (m *QueryEndedAuctionsResponse) GetPagination() query.PageResponse
- func (m *QueryEndedAuctionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEndedAuctionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEndedAuctionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEndedAuctionsResponse) ProtoMessage()
- func (m *QueryEndedAuctionsResponse) Reset()
- func (m *QueryEndedAuctionsResponse) Size() (n int)
- func (m *QueryEndedAuctionsResponse) String() string
- func (m *QueryEndedAuctionsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEndedAuctionsResponse) XXX_DiscardUnknown()
- func (m *QueryEndedAuctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEndedAuctionsResponse) XXX_Merge(src proto.Message)
- func (m *QueryEndedAuctionsResponse) XXX_Size() int
- func (m *QueryEndedAuctionsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- 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 (*QueryParamsRequest) ProtoMessage()
- 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
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- 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 (*QueryParamsResponse) ProtoMessage()
- 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
- type QueryTokenPriceRequest
- func (*QueryTokenPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryTokenPriceRequest) GetDenom() string
- func (m *QueryTokenPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenPriceRequest) ProtoMessage()
- func (m *QueryTokenPriceRequest) Reset()
- func (m *QueryTokenPriceRequest) Size() (n int)
- func (m *QueryTokenPriceRequest) String() string
- func (m *QueryTokenPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTokenPriceRequest) XXX_DiscardUnknown()
- func (m *QueryTokenPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryTokenPriceRequest) XXX_Size() int
- func (m *QueryTokenPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryTokenPriceResponse
- func (*QueryTokenPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryTokenPriceResponse) GetTokenPrice() *TokenPrice
- func (m *QueryTokenPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenPriceResponse) ProtoMessage()
- func (m *QueryTokenPriceResponse) Reset()
- func (m *QueryTokenPriceResponse) Size() (n int)
- func (m *QueryTokenPriceResponse) String() string
- func (m *QueryTokenPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTokenPriceResponse) XXX_DiscardUnknown()
- func (m *QueryTokenPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryTokenPriceResponse) XXX_Size() int
- func (m *QueryTokenPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryTokenPricesRequest
- func (*QueryTokenPricesRequest) Descriptor() ([]byte, []int)
- func (m *QueryTokenPricesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenPricesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenPricesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenPricesRequest) ProtoMessage()
- func (m *QueryTokenPricesRequest) Reset()
- func (m *QueryTokenPricesRequest) Size() (n int)
- func (m *QueryTokenPricesRequest) String() string
- func (m *QueryTokenPricesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTokenPricesRequest) XXX_DiscardUnknown()
- func (m *QueryTokenPricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenPricesRequest) XXX_Merge(src proto.Message)
- func (m *QueryTokenPricesRequest) XXX_Size() int
- func (m *QueryTokenPricesRequest) XXX_Unmarshal(b []byte) error
- type QueryTokenPricesResponse
- func (*QueryTokenPricesResponse) Descriptor() ([]byte, []int)
- func (m *QueryTokenPricesResponse) GetTokenPrices() []*TokenPrice
- func (m *QueryTokenPricesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenPricesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenPricesResponse) ProtoMessage()
- func (m *QueryTokenPricesResponse) Reset()
- func (m *QueryTokenPricesResponse) Size() (n int)
- func (m *QueryTokenPricesResponse) String() string
- func (m *QueryTokenPricesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTokenPricesResponse) XXX_DiscardUnknown()
- func (m *QueryTokenPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenPricesResponse) XXX_Merge(src proto.Message)
- func (m *QueryTokenPricesResponse) XXX_Size() int
- func (m *QueryTokenPricesResponse) XXX_Unmarshal(b []byte) error
- type SetTokenPricesProposal
- func (*SetTokenPricesProposal) Descriptor() ([]byte, []int)
- func (m *SetTokenPricesProposal) GetDescription() string
- func (m *SetTokenPricesProposal) GetTitle() string
- func (m *SetTokenPricesProposal) GetTokenPrices() []*ProposedTokenPrice
- func (m *SetTokenPricesProposal) Marshal() (dAtA []byte, err error)
- func (m *SetTokenPricesProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *SetTokenPricesProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *SetTokenPricesProposal) ProposalRoute() string
- func (m *SetTokenPricesProposal) ProposalType() string
- func (*SetTokenPricesProposal) ProtoMessage()
- func (m *SetTokenPricesProposal) Reset()
- func (m *SetTokenPricesProposal) Size() (n int)
- func (m *SetTokenPricesProposal) String() string
- func (m *SetTokenPricesProposal) Unmarshal(dAtA []byte) error
- func (m *SetTokenPricesProposal) ValidateBasic() error
- func (m *SetTokenPricesProposal) XXX_DiscardUnknown()
- func (m *SetTokenPricesProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetTokenPricesProposal) XXX_Merge(src proto.Message)
- func (m *SetTokenPricesProposal) XXX_Size() int
- func (m *SetTokenPricesProposal) XXX_Unmarshal(b []byte) error
- type SetTokenPricesProposalWithDeposit
- func (*SetTokenPricesProposalWithDeposit) Descriptor() ([]byte, []int)
- func (m *SetTokenPricesProposalWithDeposit) GetDeposit() string
- func (m *SetTokenPricesProposalWithDeposit) GetDescription() string
- func (m *SetTokenPricesProposalWithDeposit) GetTitle() string
- func (m *SetTokenPricesProposalWithDeposit) GetTokenPrices() []*ProposedTokenPrice
- func (m *SetTokenPricesProposalWithDeposit) Marshal() (dAtA []byte, err error)
- func (m *SetTokenPricesProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *SetTokenPricesProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetTokenPricesProposalWithDeposit) ProtoMessage()
- func (m *SetTokenPricesProposalWithDeposit) Reset()
- func (m *SetTokenPricesProposalWithDeposit) Size() (n int)
- func (m *SetTokenPricesProposalWithDeposit) String() string
- func (m *SetTokenPricesProposalWithDeposit) Unmarshal(dAtA []byte) error
- func (m *SetTokenPricesProposalWithDeposit) XXX_DiscardUnknown()
- func (m *SetTokenPricesProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetTokenPricesProposalWithDeposit) XXX_Merge(src proto.Message)
- func (m *SetTokenPricesProposalWithDeposit) XXX_Size() int
- func (m *SetTokenPricesProposalWithDeposit) XXX_Unmarshal(b []byte) error
- type TokenPrice
- func (*TokenPrice) Descriptor() ([]byte, []int)
- func (m *TokenPrice) GetDenom() string
- func (m *TokenPrice) GetExponent() uint64
- func (m *TokenPrice) GetLastUpdatedBlock() uint64
- func (m *TokenPrice) Marshal() (dAtA []byte, err error)
- func (m *TokenPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenPrice) ProtoMessage()
- func (m *TokenPrice) Reset()
- func (m *TokenPrice) Size() (n int)
- func (m *TokenPrice) String() string
- func (m *TokenPrice) Unmarshal(dAtA []byte) error
- func (t *TokenPrice) ValidateBasic() error
- func (m *TokenPrice) XXX_DiscardUnknown()
- func (m *TokenPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenPrice) XXX_Merge(src proto.Message)
- func (m *TokenPrice) XXX_Size() int
- func (m *TokenPrice) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) QueryActiveAuction(ctx context.Context, req *QueryActiveAuctionRequest) (*QueryActiveAuctionResponse, error)
- func (*UnimplementedQueryServer) QueryActiveAuctions(ctx context.Context, req *QueryActiveAuctionsRequest) (*QueryActiveAuctionsResponse, error)
- func (*UnimplementedQueryServer) QueryBid(ctx context.Context, req *QueryBidRequest) (*QueryBidResponse, error)
- func (*UnimplementedQueryServer) QueryBidsByAuction(ctx context.Context, req *QueryBidsByAuctionRequest) (*QueryBidsByAuctionResponse, error)
- func (*UnimplementedQueryServer) QueryEndedAuction(ctx context.Context, req *QueryEndedAuctionRequest) (*QueryEndedAuctionResponse, error)
- func (*UnimplementedQueryServer) QueryEndedAuctions(ctx context.Context, req *QueryEndedAuctionsRequest) (*QueryEndedAuctionsResponse, error)
- func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) QueryTokenPrice(ctx context.Context, req *QueryTokenPriceRequest) (*QueryTokenPriceResponse, error)
- func (*UnimplementedQueryServer) QueryTokenPrices(ctx context.Context, req *QueryTokenPricesRequest) (*QueryTokenPricesResponse, error)
Constants ¶
const ( EventTypeBid = "bid" AttributeKeyBidID = "bid_id" AttributeKeyAuctionID = "auction_id" AttributeKeyBidder = "max_bid" AttributeKeyMinimumAmount = "minimum_amount" AttributeKeyFulfilledPrice = "fulfilled_price_of_sale_token_in_usomm" AttributeKeyTotalPayment = "total_payment_in_usomm" AttributeKeyFulfilledAmount = "total_sale_token_fulfilled_amount" EventTypeNewAuction = "new_auction" AttributeKeyStartBlock = "start_block" AttributeKeyInitialDecreaseRate = "initial_decrease_rate" AttributeKeyBlockDecreaseInterval = "block_decrease_interval" AttributeKeyStartingAmount = "starting_amount_of_sale_token" AttributeKeyStartingDenom = "starting_denom" AttributeKeyStartingUsommPrice = "starting_price_in_usomm" EventTypeAuctionFinished = "auction_finished" AttributeKeyEndBlock = "end_block" AttributeKeyCurrentDecreaseRate = "current_decrease_rate" AttributeKeyAmountRemaining = "amount_remaining" EventTypeAuctionUpdated = "auction_updated" AttributeKeyLastPrice = "last_price" AttributeKeyNewPrice = "new_price" AttributeValueCategory = ModuleName )
Auction module event types
const ( // ModuleName is the module name constant used in many places ModuleName = "auction" // StoreKey is the store key string for auction StoreKey = ModuleName // RouterKey is the message route for auction RouterKey = ModuleName // QuerierRoute is the querier route for auction QuerierRoute = ModuleName )
const ( // <prefix><auction_id> ActiveAuctionsPrefix // <prefix><auction_id> EndedAuctionsPrefix // <prefix><auction_id><bid_id> BidsByAuctionPrefix // <prefix><denom> TokenPricesPrefix // <prefix> LastAuctionIDKey // <prefix> LastBidIDKey )
Keys for auction store, with <prefix><key> -> <value>
const DefaultParamspace = ModuleName
const (
ProposalTypeSetTokenPrices = "SetTokenPrices"
)
const (
TypeMsgSubmitBidRequest = "submit_bid"
)
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 ( ErrCouldNotFindSaleTokenPrice = errorsmod.Register(ModuleName, 2, "could not find sale token price, need to resubmit token prices and try again") ErrCouldNotFindSommTokenPrice = errorsmod.Register(ModuleName, 3, "could not find usomm token price, need to resubmit token prices and try again") ErrLastSaleTokenPriceTooOld = errorsmod.Register(ModuleName, 4, "last sale token price update too long ago, need to resubmit token prices and try again") ErrLastSommTokenPriceTooOld = errorsmod.Register(ModuleName, 5, "last usomm token price update too long ago, need to resubmit token prices and try again") ErrAuctionStartingAmountMustBePositve = errorsmod.Register(ModuleName, 6, "minimum auction sale token starting amount must be a positive amount of coins") ErrCannotAuctionUsomm = errorsmod.Register(ModuleName, 7, "auctioning usomm for usomm is pointless") ErrInvalidInitialDecreaseRate = errorsmod.Register(ModuleName, 8, "initial price decrease rate must be a float less than one and greater than zero") ErrInvalidBlockDecreaseInterval = errorsmod.Register(ModuleName, 9, "price decrease block interval cannot be 0") ErrCannotStartTwoAuctionsForSameDenomSimultaneously = errorsmod.Register(ModuleName, 12, "auction for this denom is currently ongoing, cannot create another auction for the same denom until completed") ErrConvertingStringToDec = errorsmod.Register(ModuleName, 13, "could not convert string to dec") ErrAuctionNotFound = errorsmod.Register(ModuleName, 14, "auction not found") ErrBidAuctionDenomMismatch = errorsmod.Register(ModuleName, 15, "auction denom different from bid requested denom") ErrAuctionEnded = errorsmod.Register(ModuleName, 16, "auction ended") ErrInsufficientBid = errorsmod.Register(ModuleName, 17, "max bid amount is too small to purchase minimum sale tokens requested") ErrMinimumPurchaseAmountLargerThanTokensRemaining = errorsmod.Register(ModuleName, 18, "minimum purchase amount is larger then the number of tokens remaining for sale") ErrAuctionIDMustBeNonZero = errorsmod.Register(ModuleName, 19, "auction IDs must be non-zero") ErrInvalidStartBlock = errorsmod.Register(ModuleName, 20, "start block cannot be 0") ErrInvalidCurrentDecreaseRate = errorsmod.Register(ModuleName, 21, "current price decrease rate must be a float less than one and greater than zero") ErrPriceMustBePositive = errorsmod.Register(ModuleName, 22, "price must be positive") ErrDenomCannotBeEmpty = errorsmod.Register(ModuleName, 23, "denom cannot be empty") ErrInvalidLastUpdatedBlock = errorsmod.Register(ModuleName, 24, "last updated block cannot be 0") ErrBidIDMustBeNonZero = errorsmod.Register(ModuleName, 25, "bid ID must be non-zero") ErrBidAmountMustBePositive = errorsmod.Register(ModuleName, 26, "bid amount must be positive") ErrBidMustBeInUsomm = errorsmod.Register(ModuleName, 27, "bid must be in usomm") ErrInvalidTokenBeingBidOn = errorsmod.Register(ModuleName, 28, "bid token denom is invalid") ErrMinimumAmountMustBePositive = errorsmod.Register(ModuleName, 29, "minimum amount to purchase with bid must be positive") ErrAddressExpected = errorsmod.Register(ModuleName, 30, "address cannot be empty") ErrBidUnitPriceInUsommMustBePositive = errorsmod.Register(ModuleName, 31, "unit price of sale tokens in usomm must be positive") ErrInvalidTokenPriceDenom = errorsmod.Register(ModuleName, 32, "invalid token price denom") ErrTokenPriceProposalAttemptsToUpdateTokenPriceMoreThanOnce = errorsmod.Register(ModuleName, 33, "token price proposals should not attempt to update the same denom's price more than once per proposal") ErrTokenPriceMaxBlockAgeMustBePositive = errorsmod.Register(ModuleName, 34, "price max block age must be positive") ErrInvalidPriceMaxBlockAgeParameterType = errorsmod.Register(ModuleName, 35, "price max block age type must be uint64") ErrTokenPriceProposalMustHaveAtLeastOnePrice = errorsmod.Register(ModuleName, 36, "list of proposed token prices must be non-zero") ErrBidFulfilledSaleTokenAmountMustBeNonNegative = errorsmod.Register(ModuleName, 37, "total sale token fulfilled amount must be non-negative") ErrBidPaymentCannotBeNegative = errorsmod.Register(ModuleName, 38, "total amount paid in usomm cannot be negative") ErrBidAmountIsTooSmall = errorsmod.Register(ModuleName, 39, "bid is below minimum amount") ErrMinimumBidParam = errorsmod.Register(ModuleName, 40, "invalid minimum bid param") ErrInvalidAuctionMaxBlockAgeParam = errorsmod.Register(ModuleName, 41, "invalid auction max block age param") ErrInvalidAuctionPriceDecreaseAccelerationRateParam = errorsmod.Register(ModuleName, 42, "invalid auction price decrease acceleration rate param") ErrTokenPriceExponentTooHigh = errorsmod.Register(ModuleName, 43, "token price exponent too high, maximum precision of 18") ErrInvalidMinimumSaleTokensUSDValue = errorsmod.Register(ModuleName, 44, "invalid minimum sale tokens USD value") ErrAuctionBelowMinimumUSDValue = errorsmod.Register(ModuleName, 45, "auction USD value below minimum") ErrInvalidMinimumAuctionHeightParam = errorsmod.Register(ModuleName, 46, "invalid minimum auction height param") ErrAuctionBelowMinimumHeight = errorsmod.Register(ModuleName, 47, "auction block height below minimum") ErrInvalidAuctionBurnRateParam = errorsmod.Register(ModuleName, 48, "invalid auction burn rate param") )
x/auction module sentinel errors
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 ( KeyPriceMaxBlockAge = []byte("PriceMaxBlockAge") KeyMinimumBidInUsomm = []byte("MinimumBidInUsomm") KeyMinimumSaleTokensUSDValue = []byte("MinimumSaleTokensUSDValue") KeyAuctionMaxBlockAge = []byte("AuctionMaxBlockAge") KeyAuctionPriceDecreaseAccelerationRate = []byte("AuctionPriceDecreaseAccelerationRate") KeyMinimumAuctionHeight = []byte("MinimumAuctionHeight") KeyAuctionBurnRate = []byte("AuctionBurnRate") )
Parameter keys
var ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group") )
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/bank 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/staking and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
var Msg_serviceDesc = _Msg_serviceDesc
var Query_serviceDesc = _Query_serviceDesc
Functions ¶
func GetActiveAuctionKey ¶
GetActiveAuctionKey returns the key for an active auction
func GetActiveAuctionsPrefix ¶
func GetActiveAuctionsPrefix() []byte
GetActiveAuctionsPrefix returns the key prefix for active auctions
func GetBidsByAuctionIDPrefix ¶
GetBidsByAuctionIDPrefix returns the bids for an auction id
func GetBidsByAuctionPrefix ¶
func GetBidsByAuctionPrefix() []byte
GetBidsByAuctionPrefix returns the key prefix for bids
func GetEndedAuctionKey ¶
GetEndedAuctionKey returns the key for an ended auction
func GetEndedAuctionsPrefix ¶
func GetEndedAuctionsPrefix() []byte
GetEndedAuctionsPrefix returns the key prefix for ended auctions
func GetLastAuctionIDKey ¶
func GetLastAuctionIDKey() []byte
GetLastAuctionIDKey returns the key prefix for the last stored auction id
func GetLastBidIDKey ¶
func GetLastBidIDKey() []byte
GetLastBidIDKey returns the key prefix for the last stored bid id
func GetTokenPriceKey ¶
GetTokenPriceKey returns the key for a token price
func GetTokenPricesPrefix ¶
func GetTokenPricesPrefix() []byte
GetTokenPricesPrefix returns the key prefix for token prices
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the oracle proto files
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the vesting interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface {
GetModuleAccount(ctx sdk.Context, name string) authtypes.ModuleAccountI
}
Updates here should also be reflected in the testutil's expected keeper mocks, and can be generated via: mockgen -source={ABS_REPO_PATH}/peggyJV/sommelier/x/auction/types/expected_keepers.go -destination={ABS_REPO_PATH}/peggyJV/sommelier/x/auction/testutil/expected_keepers_mocks.go
type Auction ¶
type Auction struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` StartingTokensForSale types.Coin `protobuf:"bytes,2,opt,name=starting_tokens_for_sale,json=startingTokensForSale,proto3" json:"starting_tokens_for_sale"` StartBlock uint64 `protobuf:"varint,3,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"` EndBlock uint64 `protobuf:"varint,4,opt,name=end_block,json=endBlock,proto3" json:"end_block,omitempty"` InitialPriceDecreaseRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 177-byte string literal not displayed */ CurrentPriceDecreaseRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 177-byte string literal not displayed */ PriceDecreaseBlockInterval uint64 `` /* 144-byte string literal not displayed */ InitialUnitPriceInUsomm github_com_cosmos_cosmos_sdk_types.Dec `` /* 176-byte string literal not displayed */ CurrentUnitPriceInUsomm github_com_cosmos_cosmos_sdk_types.Dec `` /* 176-byte string literal not displayed */ RemainingTokensForSale types.Coin `protobuf:"bytes,10,opt,name=remaining_tokens_for_sale,json=remainingTokensForSale,proto3" json:"remaining_tokens_for_sale"` FundingModuleAccount string `protobuf:"bytes,11,opt,name=funding_module_account,json=fundingModuleAccount,proto3" json:"funding_module_account,omitempty"` ProceedsModuleAccount string `` /* 127-byte string literal not displayed */ }
func (*Auction) Descriptor ¶
func (*Auction) GetEndBlock ¶
func (*Auction) GetFundingModuleAccount ¶
func (*Auction) GetPriceDecreaseBlockInterval ¶
func (*Auction) GetProceedsModuleAccount ¶
func (*Auction) GetRemainingTokensForSale ¶
func (*Auction) GetStartBlock ¶
func (*Auction) GetStartingTokensForSale ¶
func (*Auction) MarshalToSizedBuffer ¶
func (*Auction) ProtoMessage ¶
func (*Auction) ProtoMessage()
func (*Auction) ValidateBasic ¶
func (*Auction) XXX_DiscardUnknown ¶
func (m *Auction) XXX_DiscardUnknown()
func (*Auction) XXX_Marshal ¶
func (*Auction) XXX_Unmarshal ¶
type BankKeeper ¶
type BankKeeper interface { GetSupply(ctx sdk.Context, denom string) sdk.Coin SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin GetDenomMetaData(ctx sdk.Context, denom string) (banktypes.Metadata, bool) BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error }
type Bid ¶
type Bid struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` AuctionId uint32 `protobuf:"varint,2,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` Bidder string `protobuf:"bytes,3,opt,name=bidder,proto3" json:"bidder,omitempty"` MaxBidInUsomm types.Coin `protobuf:"bytes,4,opt,name=max_bid_in_usomm,json=maxBidInUsomm,proto3" json:"max_bid_in_usomm"` SaleTokenMinimumAmount types.Coin `protobuf:"bytes,5,opt,name=sale_token_minimum_amount,json=saleTokenMinimumAmount,proto3" json:"sale_token_minimum_amount"` TotalFulfilledSaleTokens types.Coin `` /* 127-byte string literal not displayed */ SaleTokenUnitPriceInUsomm github_com_cosmos_cosmos_sdk_types.Dec `` /* 184-byte string literal not displayed */ TotalUsommPaid types.Coin `protobuf:"bytes,8,opt,name=total_usomm_paid,json=totalUsommPaid,proto3" json:"total_usomm_paid"` BlockHeight uint64 `protobuf:"varint,9,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` }
func (*Bid) Descriptor ¶
func (*Bid) GetAuctionId ¶
func (*Bid) GetBlockHeight ¶
func (*Bid) GetMaxBidInUsomm ¶
func (*Bid) GetSaleTokenMinimumAmount ¶
func (*Bid) GetTotalFulfilledSaleTokens ¶
func (*Bid) GetTotalUsommPaid ¶
func (*Bid) ProtoMessage ¶
func (*Bid) ProtoMessage()
func (*Bid) ValidateBasic ¶
func (*Bid) XXX_DiscardUnknown ¶
func (m *Bid) XXX_DiscardUnknown()
func (*Bid) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` Auctions []*Auction `protobuf:"bytes,2,rep,name=auctions,proto3" json:"auctions,omitempty"` Bids []*Bid `protobuf:"bytes,3,rep,name=bids,proto3" json:"bids,omitempty"` TokenPrices []*TokenPrice `protobuf:"bytes,4,rep,name=token_prices,json=tokenPrices,proto3" json:"token_prices,omitempty"` LastAuctionId uint32 `protobuf:"varint,5,opt,name=last_auction_id,json=lastAuctionId,proto3" json:"last_auction_id,omitempty"` LastBidId uint64 `protobuf:"varint,6,opt,name=last_bid_id,json=lastBidId,proto3" json:"last_bid_id,omitempty"` }
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
DefaultGenesisState get raw genesis raw message for testing
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAuctions ¶
func (m *GenesisState) GetAuctions() []*Auction
func (*GenesisState) GetBids ¶
func (m *GenesisState) GetBids() []*Bid
func (*GenesisState) GetLastAuctionId ¶
func (m *GenesisState) GetLastAuctionId() uint32
func (*GenesisState) GetLastBidId ¶
func (m *GenesisState) GetLastBidId() uint64
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetTokenPrices ¶
func (m *GenesisState) GetTokenPrices() []*TokenPrice
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
Validate performs a basic stateless validation of the genesis fields.
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 MsgClient ¶
type MsgClient interface {
SubmitBid(ctx context.Context, in *MsgSubmitBidRequest, opts ...grpc.CallOption) (*MsgSubmitBidResponse, 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 {
SubmitBid(context.Context, *MsgSubmitBidRequest) (*MsgSubmitBidResponse, error)
}
MsgServer is the server API for Msg service.
type MsgSubmitBidRequest ¶
type MsgSubmitBidRequest struct { AuctionId uint32 `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` MaxBidInUsomm types.Coin `protobuf:"bytes,3,opt,name=max_bid_in_usomm,json=maxBidInUsomm,proto3" json:"max_bid_in_usomm"` SaleTokenMinimumAmount types.Coin `protobuf:"bytes,4,opt,name=sale_token_minimum_amount,json=saleTokenMinimumAmount,proto3" json:"sale_token_minimum_amount"` }
func NewMsgSubmitBidRequest ¶
func NewMsgSubmitBidRequest(auctionID uint32, maxBidInUsomm sdk.Coin, saleTokenMinimumAmount sdk.Coin, signer sdk.AccAddress) (*MsgSubmitBidRequest, error)
NewMsgSubmitBidRequest return a new MsgSubmitBidRequest
func (*MsgSubmitBidRequest) Descriptor ¶
func (*MsgSubmitBidRequest) Descriptor() ([]byte, []int)
func (*MsgSubmitBidRequest) GetAuctionId ¶
func (m *MsgSubmitBidRequest) GetAuctionId() uint32
func (*MsgSubmitBidRequest) GetMaxBidInUsomm ¶
func (m *MsgSubmitBidRequest) GetMaxBidInUsomm() types.Coin
func (*MsgSubmitBidRequest) GetSaleTokenMinimumAmount ¶
func (m *MsgSubmitBidRequest) GetSaleTokenMinimumAmount() types.Coin
func (*MsgSubmitBidRequest) GetSignBytes ¶
func (m *MsgSubmitBidRequest) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgSubmitBidRequest) GetSigner ¶
func (m *MsgSubmitBidRequest) GetSigner() string
func (*MsgSubmitBidRequest) GetSigners ¶
func (m *MsgSubmitBidRequest) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgSubmitBidRequest) Marshal ¶
func (m *MsgSubmitBidRequest) Marshal() (dAtA []byte, err error)
func (*MsgSubmitBidRequest) MarshalTo ¶
func (m *MsgSubmitBidRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitBidRequest) MarshalToSizedBuffer ¶
func (m *MsgSubmitBidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitBidRequest) MustGetSigner ¶
func (m *MsgSubmitBidRequest) MustGetSigner() sdk.AccAddress
MustGetSigner returns the signer address (which is also the bidder)
func (*MsgSubmitBidRequest) ProtoMessage ¶
func (*MsgSubmitBidRequest) ProtoMessage()
func (*MsgSubmitBidRequest) Reset ¶
func (m *MsgSubmitBidRequest) Reset()
func (*MsgSubmitBidRequest) Route ¶
func (m *MsgSubmitBidRequest) Route() string
Route implements sdk.Msg
func (*MsgSubmitBidRequest) Size ¶
func (m *MsgSubmitBidRequest) Size() (n int)
func (*MsgSubmitBidRequest) String ¶
func (m *MsgSubmitBidRequest) String() string
func (*MsgSubmitBidRequest) Type ¶
func (m *MsgSubmitBidRequest) Type() string
Type implements sdk.Msg
func (*MsgSubmitBidRequest) Unmarshal ¶
func (m *MsgSubmitBidRequest) Unmarshal(dAtA []byte) error
func (*MsgSubmitBidRequest) ValidateBasic ¶
func (m *MsgSubmitBidRequest) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgSubmitBidRequest) XXX_DiscardUnknown ¶
func (m *MsgSubmitBidRequest) XXX_DiscardUnknown()
func (*MsgSubmitBidRequest) XXX_Marshal ¶
func (m *MsgSubmitBidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitBidRequest) XXX_Merge ¶
func (m *MsgSubmitBidRequest) XXX_Merge(src proto.Message)
func (*MsgSubmitBidRequest) XXX_Size ¶
func (m *MsgSubmitBidRequest) XXX_Size() int
func (*MsgSubmitBidRequest) XXX_Unmarshal ¶
func (m *MsgSubmitBidRequest) XXX_Unmarshal(b []byte) error
type MsgSubmitBidResponse ¶
type MsgSubmitBidResponse struct {
Bid *Bid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty"`
}
func (*MsgSubmitBidResponse) Descriptor ¶
func (*MsgSubmitBidResponse) Descriptor() ([]byte, []int)
func (*MsgSubmitBidResponse) GetBid ¶
func (m *MsgSubmitBidResponse) GetBid() *Bid
func (*MsgSubmitBidResponse) Marshal ¶
func (m *MsgSubmitBidResponse) Marshal() (dAtA []byte, err error)
func (*MsgSubmitBidResponse) MarshalTo ¶
func (m *MsgSubmitBidResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitBidResponse) MarshalToSizedBuffer ¶
func (m *MsgSubmitBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitBidResponse) ProtoMessage ¶
func (*MsgSubmitBidResponse) ProtoMessage()
func (*MsgSubmitBidResponse) Reset ¶
func (m *MsgSubmitBidResponse) Reset()
func (*MsgSubmitBidResponse) Size ¶
func (m *MsgSubmitBidResponse) Size() (n int)
func (*MsgSubmitBidResponse) String ¶
func (m *MsgSubmitBidResponse) String() string
func (*MsgSubmitBidResponse) Unmarshal ¶
func (m *MsgSubmitBidResponse) Unmarshal(dAtA []byte) error
func (*MsgSubmitBidResponse) XXX_DiscardUnknown ¶
func (m *MsgSubmitBidResponse) XXX_DiscardUnknown()
func (*MsgSubmitBidResponse) XXX_Marshal ¶
func (m *MsgSubmitBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitBidResponse) XXX_Merge ¶
func (m *MsgSubmitBidResponse) XXX_Merge(src proto.Message)
func (*MsgSubmitBidResponse) XXX_Size ¶
func (m *MsgSubmitBidResponse) XXX_Size() int
func (*MsgSubmitBidResponse) XXX_Unmarshal ¶
func (m *MsgSubmitBidResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { PriceMaxBlockAge uint64 `protobuf:"varint,1,opt,name=price_max_block_age,json=priceMaxBlockAge,proto3" json:"price_max_block_age,omitempty"` MinimumBidInUsomm uint64 `protobuf:"varint,2,opt,name=minimum_bid_in_usomm,json=minimumBidInUsomm,proto3" json:"minimum_bid_in_usomm,omitempty"` MinimumSaleTokensUsdValue github_com_cosmos_cosmos_sdk_types.Dec `` /* 182-byte string literal not displayed */ AuctionMaxBlockAge uint64 `protobuf:"varint,4,opt,name=auction_max_block_age,json=auctionMaxBlockAge,proto3" json:"auction_max_block_age,omitempty"` AuctionPriceDecreaseAccelerationRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 215-byte string literal not displayed */ MinimumAuctionHeight uint64 `protobuf:"varint,6,opt,name=minimum_auction_height,json=minimumAuctionHeight,proto3" json:"minimum_auction_height,omitempty"` AuctionBurnRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 148-byte string literal not displayed */ }
func (*Params) Descriptor ¶
func (*Params) GetAuctionMaxBlockAge ¶
func (*Params) GetMinimumAuctionHeight ¶
func (*Params) GetMinimumBidInUsomm ¶
func (*Params) GetPriceMaxBlockAge ¶
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) ValidateBasic ¶
ValidateBasic performs basic validation on auction parameters.
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type ProposedTokenPrice ¶
type ProposedTokenPrice struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Exponent uint64 `protobuf:"varint,2,opt,name=exponent,proto3" json:"exponent,omitempty"` UsdPrice github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=usd_price,json=usdPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"usd_price"` }
func (*ProposedTokenPrice) Descriptor ¶
func (*ProposedTokenPrice) Descriptor() ([]byte, []int)
func (*ProposedTokenPrice) GetDenom ¶
func (m *ProposedTokenPrice) GetDenom() string
func (*ProposedTokenPrice) GetExponent ¶
func (m *ProposedTokenPrice) GetExponent() uint64
func (*ProposedTokenPrice) Marshal ¶
func (m *ProposedTokenPrice) Marshal() (dAtA []byte, err error)
func (*ProposedTokenPrice) MarshalTo ¶
func (m *ProposedTokenPrice) MarshalTo(dAtA []byte) (int, error)
func (*ProposedTokenPrice) MarshalToSizedBuffer ¶
func (m *ProposedTokenPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposedTokenPrice) ProtoMessage ¶
func (*ProposedTokenPrice) ProtoMessage()
func (*ProposedTokenPrice) Reset ¶
func (m *ProposedTokenPrice) Reset()
func (*ProposedTokenPrice) Size ¶
func (m *ProposedTokenPrice) Size() (n int)
func (*ProposedTokenPrice) String ¶
func (m *ProposedTokenPrice) String() string
func (*ProposedTokenPrice) Unmarshal ¶
func (m *ProposedTokenPrice) Unmarshal(dAtA []byte) error
func (*ProposedTokenPrice) ValidateBasic ¶
func (t *ProposedTokenPrice) ValidateBasic() error
func (*ProposedTokenPrice) XXX_DiscardUnknown ¶
func (m *ProposedTokenPrice) XXX_DiscardUnknown()
func (*ProposedTokenPrice) XXX_Marshal ¶
func (m *ProposedTokenPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposedTokenPrice) XXX_Merge ¶
func (m *ProposedTokenPrice) XXX_Merge(src proto.Message)
func (*ProposedTokenPrice) XXX_Size ¶
func (m *ProposedTokenPrice) XXX_Size() int
func (*ProposedTokenPrice) XXX_Unmarshal ¶
func (m *ProposedTokenPrice) XXX_Unmarshal(b []byte) error
type QueryActiveAuctionRequest ¶
type QueryActiveAuctionRequest struct {
AuctionId uint32 `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
}
func (*QueryActiveAuctionRequest) Descriptor ¶
func (*QueryActiveAuctionRequest) Descriptor() ([]byte, []int)
func (*QueryActiveAuctionRequest) GetAuctionId ¶
func (m *QueryActiveAuctionRequest) GetAuctionId() uint32
func (*QueryActiveAuctionRequest) Marshal ¶
func (m *QueryActiveAuctionRequest) Marshal() (dAtA []byte, err error)
func (*QueryActiveAuctionRequest) MarshalTo ¶
func (m *QueryActiveAuctionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryActiveAuctionRequest) MarshalToSizedBuffer ¶
func (m *QueryActiveAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActiveAuctionRequest) ProtoMessage ¶
func (*QueryActiveAuctionRequest) ProtoMessage()
func (*QueryActiveAuctionRequest) Reset ¶
func (m *QueryActiveAuctionRequest) Reset()
func (*QueryActiveAuctionRequest) Size ¶
func (m *QueryActiveAuctionRequest) Size() (n int)
func (*QueryActiveAuctionRequest) String ¶
func (m *QueryActiveAuctionRequest) String() string
func (*QueryActiveAuctionRequest) Unmarshal ¶
func (m *QueryActiveAuctionRequest) Unmarshal(dAtA []byte) error
func (*QueryActiveAuctionRequest) XXX_DiscardUnknown ¶
func (m *QueryActiveAuctionRequest) XXX_DiscardUnknown()
func (*QueryActiveAuctionRequest) XXX_Marshal ¶
func (m *QueryActiveAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActiveAuctionRequest) XXX_Merge ¶
func (m *QueryActiveAuctionRequest) XXX_Merge(src proto.Message)
func (*QueryActiveAuctionRequest) XXX_Size ¶
func (m *QueryActiveAuctionRequest) XXX_Size() int
func (*QueryActiveAuctionRequest) XXX_Unmarshal ¶
func (m *QueryActiveAuctionRequest) XXX_Unmarshal(b []byte) error
type QueryActiveAuctionResponse ¶
type QueryActiveAuctionResponse struct {
Auction *Auction `protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty"`
}
func (*QueryActiveAuctionResponse) Descriptor ¶
func (*QueryActiveAuctionResponse) Descriptor() ([]byte, []int)
func (*QueryActiveAuctionResponse) GetAuction ¶
func (m *QueryActiveAuctionResponse) GetAuction() *Auction
func (*QueryActiveAuctionResponse) Marshal ¶
func (m *QueryActiveAuctionResponse) Marshal() (dAtA []byte, err error)
func (*QueryActiveAuctionResponse) MarshalTo ¶
func (m *QueryActiveAuctionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryActiveAuctionResponse) MarshalToSizedBuffer ¶
func (m *QueryActiveAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActiveAuctionResponse) ProtoMessage ¶
func (*QueryActiveAuctionResponse) ProtoMessage()
func (*QueryActiveAuctionResponse) Reset ¶
func (m *QueryActiveAuctionResponse) Reset()
func (*QueryActiveAuctionResponse) Size ¶
func (m *QueryActiveAuctionResponse) Size() (n int)
func (*QueryActiveAuctionResponse) String ¶
func (m *QueryActiveAuctionResponse) String() string
func (*QueryActiveAuctionResponse) Unmarshal ¶
func (m *QueryActiveAuctionResponse) Unmarshal(dAtA []byte) error
func (*QueryActiveAuctionResponse) XXX_DiscardUnknown ¶
func (m *QueryActiveAuctionResponse) XXX_DiscardUnknown()
func (*QueryActiveAuctionResponse) XXX_Marshal ¶
func (m *QueryActiveAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActiveAuctionResponse) XXX_Merge ¶
func (m *QueryActiveAuctionResponse) XXX_Merge(src proto.Message)
func (*QueryActiveAuctionResponse) XXX_Size ¶
func (m *QueryActiveAuctionResponse) XXX_Size() int
func (*QueryActiveAuctionResponse) XXX_Unmarshal ¶
func (m *QueryActiveAuctionResponse) XXX_Unmarshal(b []byte) error
type QueryActiveAuctionsRequest ¶
type QueryActiveAuctionsRequest struct { }
func (*QueryActiveAuctionsRequest) Descriptor ¶
func (*QueryActiveAuctionsRequest) Descriptor() ([]byte, []int)
func (*QueryActiveAuctionsRequest) Marshal ¶
func (m *QueryActiveAuctionsRequest) Marshal() (dAtA []byte, err error)
func (*QueryActiveAuctionsRequest) MarshalTo ¶
func (m *QueryActiveAuctionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryActiveAuctionsRequest) MarshalToSizedBuffer ¶
func (m *QueryActiveAuctionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActiveAuctionsRequest) ProtoMessage ¶
func (*QueryActiveAuctionsRequest) ProtoMessage()
func (*QueryActiveAuctionsRequest) Reset ¶
func (m *QueryActiveAuctionsRequest) Reset()
func (*QueryActiveAuctionsRequest) Size ¶
func (m *QueryActiveAuctionsRequest) Size() (n int)
func (*QueryActiveAuctionsRequest) String ¶
func (m *QueryActiveAuctionsRequest) String() string
func (*QueryActiveAuctionsRequest) Unmarshal ¶
func (m *QueryActiveAuctionsRequest) Unmarshal(dAtA []byte) error
func (*QueryActiveAuctionsRequest) XXX_DiscardUnknown ¶
func (m *QueryActiveAuctionsRequest) XXX_DiscardUnknown()
func (*QueryActiveAuctionsRequest) XXX_Marshal ¶
func (m *QueryActiveAuctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActiveAuctionsRequest) XXX_Merge ¶
func (m *QueryActiveAuctionsRequest) XXX_Merge(src proto.Message)
func (*QueryActiveAuctionsRequest) XXX_Size ¶
func (m *QueryActiveAuctionsRequest) XXX_Size() int
func (*QueryActiveAuctionsRequest) XXX_Unmarshal ¶
func (m *QueryActiveAuctionsRequest) XXX_Unmarshal(b []byte) error
type QueryActiveAuctionsResponse ¶
type QueryActiveAuctionsResponse struct {
Auctions []*Auction `protobuf:"bytes,1,rep,name=auctions,proto3" json:"auctions,omitempty"`
}
func (*QueryActiveAuctionsResponse) Descriptor ¶
func (*QueryActiveAuctionsResponse) Descriptor() ([]byte, []int)
func (*QueryActiveAuctionsResponse) GetAuctions ¶
func (m *QueryActiveAuctionsResponse) GetAuctions() []*Auction
func (*QueryActiveAuctionsResponse) Marshal ¶
func (m *QueryActiveAuctionsResponse) Marshal() (dAtA []byte, err error)
func (*QueryActiveAuctionsResponse) MarshalTo ¶
func (m *QueryActiveAuctionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryActiveAuctionsResponse) MarshalToSizedBuffer ¶
func (m *QueryActiveAuctionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActiveAuctionsResponse) ProtoMessage ¶
func (*QueryActiveAuctionsResponse) ProtoMessage()
func (*QueryActiveAuctionsResponse) Reset ¶
func (m *QueryActiveAuctionsResponse) Reset()
func (*QueryActiveAuctionsResponse) Size ¶
func (m *QueryActiveAuctionsResponse) Size() (n int)
func (*QueryActiveAuctionsResponse) String ¶
func (m *QueryActiveAuctionsResponse) String() string
func (*QueryActiveAuctionsResponse) Unmarshal ¶
func (m *QueryActiveAuctionsResponse) Unmarshal(dAtA []byte) error
func (*QueryActiveAuctionsResponse) XXX_DiscardUnknown ¶
func (m *QueryActiveAuctionsResponse) XXX_DiscardUnknown()
func (*QueryActiveAuctionsResponse) XXX_Marshal ¶
func (m *QueryActiveAuctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActiveAuctionsResponse) XXX_Merge ¶
func (m *QueryActiveAuctionsResponse) XXX_Merge(src proto.Message)
func (*QueryActiveAuctionsResponse) XXX_Size ¶
func (m *QueryActiveAuctionsResponse) XXX_Size() int
func (*QueryActiveAuctionsResponse) XXX_Unmarshal ¶
func (m *QueryActiveAuctionsResponse) XXX_Unmarshal(b []byte) error
type QueryBidRequest ¶
type QueryBidRequest struct { BidId uint64 `protobuf:"varint,1,opt,name=bid_id,json=bidId,proto3" json:"bid_id,omitempty"` AuctionId uint32 `protobuf:"varint,2,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` }
func (*QueryBidRequest) Descriptor ¶
func (*QueryBidRequest) Descriptor() ([]byte, []int)
func (*QueryBidRequest) GetAuctionId ¶
func (m *QueryBidRequest) GetAuctionId() uint32
func (*QueryBidRequest) GetBidId ¶
func (m *QueryBidRequest) GetBidId() uint64
func (*QueryBidRequest) Marshal ¶
func (m *QueryBidRequest) Marshal() (dAtA []byte, err error)
func (*QueryBidRequest) MarshalToSizedBuffer ¶
func (m *QueryBidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBidRequest) ProtoMessage ¶
func (*QueryBidRequest) ProtoMessage()
func (*QueryBidRequest) Reset ¶
func (m *QueryBidRequest) Reset()
func (*QueryBidRequest) Size ¶
func (m *QueryBidRequest) Size() (n int)
func (*QueryBidRequest) String ¶
func (m *QueryBidRequest) String() string
func (*QueryBidRequest) Unmarshal ¶
func (m *QueryBidRequest) Unmarshal(dAtA []byte) error
func (*QueryBidRequest) XXX_DiscardUnknown ¶
func (m *QueryBidRequest) XXX_DiscardUnknown()
func (*QueryBidRequest) XXX_Marshal ¶
func (m *QueryBidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBidRequest) XXX_Merge ¶
func (m *QueryBidRequest) XXX_Merge(src proto.Message)
func (*QueryBidRequest) XXX_Size ¶
func (m *QueryBidRequest) XXX_Size() int
func (*QueryBidRequest) XXX_Unmarshal ¶
func (m *QueryBidRequest) XXX_Unmarshal(b []byte) error
type QueryBidResponse ¶
type QueryBidResponse struct {
Bid *Bid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty"`
}
func (*QueryBidResponse) Descriptor ¶
func (*QueryBidResponse) Descriptor() ([]byte, []int)
func (*QueryBidResponse) GetBid ¶
func (m *QueryBidResponse) GetBid() *Bid
func (*QueryBidResponse) Marshal ¶
func (m *QueryBidResponse) Marshal() (dAtA []byte, err error)
func (*QueryBidResponse) MarshalToSizedBuffer ¶
func (m *QueryBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBidResponse) ProtoMessage ¶
func (*QueryBidResponse) ProtoMessage()
func (*QueryBidResponse) Reset ¶
func (m *QueryBidResponse) Reset()
func (*QueryBidResponse) Size ¶
func (m *QueryBidResponse) Size() (n int)
func (*QueryBidResponse) String ¶
func (m *QueryBidResponse) String() string
func (*QueryBidResponse) Unmarshal ¶
func (m *QueryBidResponse) Unmarshal(dAtA []byte) error
func (*QueryBidResponse) XXX_DiscardUnknown ¶
func (m *QueryBidResponse) XXX_DiscardUnknown()
func (*QueryBidResponse) XXX_Marshal ¶
func (m *QueryBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBidResponse) XXX_Merge ¶
func (m *QueryBidResponse) XXX_Merge(src proto.Message)
func (*QueryBidResponse) XXX_Size ¶
func (m *QueryBidResponse) XXX_Size() int
func (*QueryBidResponse) XXX_Unmarshal ¶
func (m *QueryBidResponse) XXX_Unmarshal(b []byte) error
type QueryBidsByAuctionRequest ¶
type QueryBidsByAuctionRequest struct { AuctionId uint32 `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` Pagination query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` }
func (*QueryBidsByAuctionRequest) Descriptor ¶
func (*QueryBidsByAuctionRequest) Descriptor() ([]byte, []int)
func (*QueryBidsByAuctionRequest) GetAuctionId ¶
func (m *QueryBidsByAuctionRequest) GetAuctionId() uint32
func (*QueryBidsByAuctionRequest) GetPagination ¶
func (m *QueryBidsByAuctionRequest) GetPagination() query.PageRequest
func (*QueryBidsByAuctionRequest) Marshal ¶
func (m *QueryBidsByAuctionRequest) Marshal() (dAtA []byte, err error)
func (*QueryBidsByAuctionRequest) MarshalTo ¶
func (m *QueryBidsByAuctionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBidsByAuctionRequest) MarshalToSizedBuffer ¶
func (m *QueryBidsByAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBidsByAuctionRequest) ProtoMessage ¶
func (*QueryBidsByAuctionRequest) ProtoMessage()
func (*QueryBidsByAuctionRequest) Reset ¶
func (m *QueryBidsByAuctionRequest) Reset()
func (*QueryBidsByAuctionRequest) Size ¶
func (m *QueryBidsByAuctionRequest) Size() (n int)
func (*QueryBidsByAuctionRequest) String ¶
func (m *QueryBidsByAuctionRequest) String() string
func (*QueryBidsByAuctionRequest) Unmarshal ¶
func (m *QueryBidsByAuctionRequest) Unmarshal(dAtA []byte) error
func (*QueryBidsByAuctionRequest) XXX_DiscardUnknown ¶
func (m *QueryBidsByAuctionRequest) XXX_DiscardUnknown()
func (*QueryBidsByAuctionRequest) XXX_Marshal ¶
func (m *QueryBidsByAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBidsByAuctionRequest) XXX_Merge ¶
func (m *QueryBidsByAuctionRequest) XXX_Merge(src proto.Message)
func (*QueryBidsByAuctionRequest) XXX_Size ¶
func (m *QueryBidsByAuctionRequest) XXX_Size() int
func (*QueryBidsByAuctionRequest) XXX_Unmarshal ¶
func (m *QueryBidsByAuctionRequest) XXX_Unmarshal(b []byte) error
type QueryBidsByAuctionResponse ¶
type QueryBidsByAuctionResponse struct { Bids []*Bid `protobuf:"bytes,1,rep,name=bids,proto3" json:"bids,omitempty"` Pagination query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` }
func (*QueryBidsByAuctionResponse) Descriptor ¶
func (*QueryBidsByAuctionResponse) Descriptor() ([]byte, []int)
func (*QueryBidsByAuctionResponse) GetBids ¶
func (m *QueryBidsByAuctionResponse) GetBids() []*Bid
func (*QueryBidsByAuctionResponse) GetPagination ¶
func (m *QueryBidsByAuctionResponse) GetPagination() query.PageResponse
func (*QueryBidsByAuctionResponse) Marshal ¶
func (m *QueryBidsByAuctionResponse) Marshal() (dAtA []byte, err error)
func (*QueryBidsByAuctionResponse) MarshalTo ¶
func (m *QueryBidsByAuctionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBidsByAuctionResponse) MarshalToSizedBuffer ¶
func (m *QueryBidsByAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBidsByAuctionResponse) ProtoMessage ¶
func (*QueryBidsByAuctionResponse) ProtoMessage()
func (*QueryBidsByAuctionResponse) Reset ¶
func (m *QueryBidsByAuctionResponse) Reset()
func (*QueryBidsByAuctionResponse) Size ¶
func (m *QueryBidsByAuctionResponse) Size() (n int)
func (*QueryBidsByAuctionResponse) String ¶
func (m *QueryBidsByAuctionResponse) String() string
func (*QueryBidsByAuctionResponse) Unmarshal ¶
func (m *QueryBidsByAuctionResponse) Unmarshal(dAtA []byte) error
func (*QueryBidsByAuctionResponse) XXX_DiscardUnknown ¶
func (m *QueryBidsByAuctionResponse) XXX_DiscardUnknown()
func (*QueryBidsByAuctionResponse) XXX_Marshal ¶
func (m *QueryBidsByAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBidsByAuctionResponse) XXX_Merge ¶
func (m *QueryBidsByAuctionResponse) XXX_Merge(src proto.Message)
func (*QueryBidsByAuctionResponse) XXX_Size ¶
func (m *QueryBidsByAuctionResponse) XXX_Size() int
func (*QueryBidsByAuctionResponse) XXX_Unmarshal ¶
func (m *QueryBidsByAuctionResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) QueryActiveAuction(ctx context.Context, in *QueryActiveAuctionRequest, opts ...grpc.CallOption) (*QueryActiveAuctionResponse, error) QueryEndedAuction(ctx context.Context, in *QueryEndedAuctionRequest, opts ...grpc.CallOption) (*QueryEndedAuctionResponse, error) QueryActiveAuctions(ctx context.Context, in *QueryActiveAuctionsRequest, opts ...grpc.CallOption) (*QueryActiveAuctionsResponse, error) QueryEndedAuctions(ctx context.Context, in *QueryEndedAuctionsRequest, opts ...grpc.CallOption) (*QueryEndedAuctionsResponse, error) QueryBid(ctx context.Context, in *QueryBidRequest, opts ...grpc.CallOption) (*QueryBidResponse, error) QueryBidsByAuction(ctx context.Context, in *QueryBidsByAuctionRequest, opts ...grpc.CallOption) (*QueryBidsByAuctionResponse, error) QueryTokenPrice(ctx context.Context, in *QueryTokenPriceRequest, opts ...grpc.CallOption) (*QueryTokenPriceResponse, error) QueryTokenPrices(ctx context.Context, in *QueryTokenPricesRequest, opts ...grpc.CallOption) (*QueryTokenPricesResponse, 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 QueryEndedAuctionRequest ¶
type QueryEndedAuctionRequest struct {
AuctionId uint32 `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"`
}
func (*QueryEndedAuctionRequest) Descriptor ¶
func (*QueryEndedAuctionRequest) Descriptor() ([]byte, []int)
func (*QueryEndedAuctionRequest) GetAuctionId ¶
func (m *QueryEndedAuctionRequest) GetAuctionId() uint32
func (*QueryEndedAuctionRequest) Marshal ¶
func (m *QueryEndedAuctionRequest) Marshal() (dAtA []byte, err error)
func (*QueryEndedAuctionRequest) MarshalTo ¶
func (m *QueryEndedAuctionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEndedAuctionRequest) MarshalToSizedBuffer ¶
func (m *QueryEndedAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEndedAuctionRequest) ProtoMessage ¶
func (*QueryEndedAuctionRequest) ProtoMessage()
func (*QueryEndedAuctionRequest) Reset ¶
func (m *QueryEndedAuctionRequest) Reset()
func (*QueryEndedAuctionRequest) Size ¶
func (m *QueryEndedAuctionRequest) Size() (n int)
func (*QueryEndedAuctionRequest) String ¶
func (m *QueryEndedAuctionRequest) String() string
func (*QueryEndedAuctionRequest) Unmarshal ¶
func (m *QueryEndedAuctionRequest) Unmarshal(dAtA []byte) error
func (*QueryEndedAuctionRequest) XXX_DiscardUnknown ¶
func (m *QueryEndedAuctionRequest) XXX_DiscardUnknown()
func (*QueryEndedAuctionRequest) XXX_Marshal ¶
func (m *QueryEndedAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEndedAuctionRequest) XXX_Merge ¶
func (m *QueryEndedAuctionRequest) XXX_Merge(src proto.Message)
func (*QueryEndedAuctionRequest) XXX_Size ¶
func (m *QueryEndedAuctionRequest) XXX_Size() int
func (*QueryEndedAuctionRequest) XXX_Unmarshal ¶
func (m *QueryEndedAuctionRequest) XXX_Unmarshal(b []byte) error
type QueryEndedAuctionResponse ¶
type QueryEndedAuctionResponse struct {
Auction *Auction `protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty"`
}
func (*QueryEndedAuctionResponse) Descriptor ¶
func (*QueryEndedAuctionResponse) Descriptor() ([]byte, []int)
func (*QueryEndedAuctionResponse) GetAuction ¶
func (m *QueryEndedAuctionResponse) GetAuction() *Auction
func (*QueryEndedAuctionResponse) Marshal ¶
func (m *QueryEndedAuctionResponse) Marshal() (dAtA []byte, err error)
func (*QueryEndedAuctionResponse) MarshalTo ¶
func (m *QueryEndedAuctionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEndedAuctionResponse) MarshalToSizedBuffer ¶
func (m *QueryEndedAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEndedAuctionResponse) ProtoMessage ¶
func (*QueryEndedAuctionResponse) ProtoMessage()
func (*QueryEndedAuctionResponse) Reset ¶
func (m *QueryEndedAuctionResponse) Reset()
func (*QueryEndedAuctionResponse) Size ¶
func (m *QueryEndedAuctionResponse) Size() (n int)
func (*QueryEndedAuctionResponse) String ¶
func (m *QueryEndedAuctionResponse) String() string
func (*QueryEndedAuctionResponse) Unmarshal ¶
func (m *QueryEndedAuctionResponse) Unmarshal(dAtA []byte) error
func (*QueryEndedAuctionResponse) XXX_DiscardUnknown ¶
func (m *QueryEndedAuctionResponse) XXX_DiscardUnknown()
func (*QueryEndedAuctionResponse) XXX_Marshal ¶
func (m *QueryEndedAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEndedAuctionResponse) XXX_Merge ¶
func (m *QueryEndedAuctionResponse) XXX_Merge(src proto.Message)
func (*QueryEndedAuctionResponse) XXX_Size ¶
func (m *QueryEndedAuctionResponse) XXX_Size() int
func (*QueryEndedAuctionResponse) XXX_Unmarshal ¶
func (m *QueryEndedAuctionResponse) XXX_Unmarshal(b []byte) error
type QueryEndedAuctionsRequest ¶
type QueryEndedAuctionsRequest struct {
Pagination query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
}
func (*QueryEndedAuctionsRequest) Descriptor ¶
func (*QueryEndedAuctionsRequest) Descriptor() ([]byte, []int)
func (*QueryEndedAuctionsRequest) GetPagination ¶
func (m *QueryEndedAuctionsRequest) GetPagination() query.PageRequest
func (*QueryEndedAuctionsRequest) Marshal ¶
func (m *QueryEndedAuctionsRequest) Marshal() (dAtA []byte, err error)
func (*QueryEndedAuctionsRequest) MarshalTo ¶
func (m *QueryEndedAuctionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEndedAuctionsRequest) MarshalToSizedBuffer ¶
func (m *QueryEndedAuctionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEndedAuctionsRequest) ProtoMessage ¶
func (*QueryEndedAuctionsRequest) ProtoMessage()
func (*QueryEndedAuctionsRequest) Reset ¶
func (m *QueryEndedAuctionsRequest) Reset()
func (*QueryEndedAuctionsRequest) Size ¶
func (m *QueryEndedAuctionsRequest) Size() (n int)
func (*QueryEndedAuctionsRequest) String ¶
func (m *QueryEndedAuctionsRequest) String() string
func (*QueryEndedAuctionsRequest) Unmarshal ¶
func (m *QueryEndedAuctionsRequest) Unmarshal(dAtA []byte) error
func (*QueryEndedAuctionsRequest) XXX_DiscardUnknown ¶
func (m *QueryEndedAuctionsRequest) XXX_DiscardUnknown()
func (*QueryEndedAuctionsRequest) XXX_Marshal ¶
func (m *QueryEndedAuctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEndedAuctionsRequest) XXX_Merge ¶
func (m *QueryEndedAuctionsRequest) XXX_Merge(src proto.Message)
func (*QueryEndedAuctionsRequest) XXX_Size ¶
func (m *QueryEndedAuctionsRequest) XXX_Size() int
func (*QueryEndedAuctionsRequest) XXX_Unmarshal ¶
func (m *QueryEndedAuctionsRequest) XXX_Unmarshal(b []byte) error
type QueryEndedAuctionsResponse ¶
type QueryEndedAuctionsResponse struct { Auctions []*Auction `protobuf:"bytes,1,rep,name=auctions,proto3" json:"auctions,omitempty"` Pagination query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` }
func (*QueryEndedAuctionsResponse) Descriptor ¶
func (*QueryEndedAuctionsResponse) Descriptor() ([]byte, []int)
func (*QueryEndedAuctionsResponse) GetAuctions ¶
func (m *QueryEndedAuctionsResponse) GetAuctions() []*Auction
func (*QueryEndedAuctionsResponse) GetPagination ¶
func (m *QueryEndedAuctionsResponse) GetPagination() query.PageResponse
func (*QueryEndedAuctionsResponse) Marshal ¶
func (m *QueryEndedAuctionsResponse) Marshal() (dAtA []byte, err error)
func (*QueryEndedAuctionsResponse) MarshalTo ¶
func (m *QueryEndedAuctionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEndedAuctionsResponse) MarshalToSizedBuffer ¶
func (m *QueryEndedAuctionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEndedAuctionsResponse) ProtoMessage ¶
func (*QueryEndedAuctionsResponse) ProtoMessage()
func (*QueryEndedAuctionsResponse) Reset ¶
func (m *QueryEndedAuctionsResponse) Reset()
func (*QueryEndedAuctionsResponse) Size ¶
func (m *QueryEndedAuctionsResponse) Size() (n int)
func (*QueryEndedAuctionsResponse) String ¶
func (m *QueryEndedAuctionsResponse) String() string
func (*QueryEndedAuctionsResponse) Unmarshal ¶
func (m *QueryEndedAuctionsResponse) Unmarshal(dAtA []byte) error
func (*QueryEndedAuctionsResponse) XXX_DiscardUnknown ¶
func (m *QueryEndedAuctionsResponse) XXX_DiscardUnknown()
func (*QueryEndedAuctionsResponse) XXX_Marshal ¶
func (m *QueryEndedAuctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEndedAuctionsResponse) XXX_Merge ¶
func (m *QueryEndedAuctionsResponse) XXX_Merge(src proto.Message)
func (*QueryEndedAuctionsResponse) XXX_Size ¶
func (m *QueryEndedAuctionsResponse) XXX_Size() int
func (*QueryEndedAuctionsResponse) XXX_Unmarshal ¶
func (m *QueryEndedAuctionsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) QueryActiveAuction(context.Context, *QueryActiveAuctionRequest) (*QueryActiveAuctionResponse, error) QueryEndedAuction(context.Context, *QueryEndedAuctionRequest) (*QueryEndedAuctionResponse, error) QueryActiveAuctions(context.Context, *QueryActiveAuctionsRequest) (*QueryActiveAuctionsResponse, error) QueryEndedAuctions(context.Context, *QueryEndedAuctionsRequest) (*QueryEndedAuctionsResponse, error) QueryBid(context.Context, *QueryBidRequest) (*QueryBidResponse, error) QueryBidsByAuction(context.Context, *QueryBidsByAuctionRequest) (*QueryBidsByAuctionResponse, error) QueryTokenPrice(context.Context, *QueryTokenPriceRequest) (*QueryTokenPriceResponse, error) QueryTokenPrices(context.Context, *QueryTokenPricesRequest) (*QueryTokenPricesResponse, error) }
QueryServer is the server API for Query service.
type QueryTokenPriceRequest ¶
type QueryTokenPriceRequest struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
func (*QueryTokenPriceRequest) Descriptor ¶
func (*QueryTokenPriceRequest) Descriptor() ([]byte, []int)
func (*QueryTokenPriceRequest) GetDenom ¶
func (m *QueryTokenPriceRequest) GetDenom() string
func (*QueryTokenPriceRequest) Marshal ¶
func (m *QueryTokenPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryTokenPriceRequest) MarshalTo ¶
func (m *QueryTokenPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryTokenPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenPriceRequest) ProtoMessage ¶
func (*QueryTokenPriceRequest) ProtoMessage()
func (*QueryTokenPriceRequest) Reset ¶
func (m *QueryTokenPriceRequest) Reset()
func (*QueryTokenPriceRequest) Size ¶
func (m *QueryTokenPriceRequest) Size() (n int)
func (*QueryTokenPriceRequest) String ¶
func (m *QueryTokenPriceRequest) String() string
func (*QueryTokenPriceRequest) Unmarshal ¶
func (m *QueryTokenPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryTokenPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryTokenPriceRequest) XXX_DiscardUnknown()
func (*QueryTokenPriceRequest) XXX_Marshal ¶
func (m *QueryTokenPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenPriceRequest) XXX_Merge ¶
func (m *QueryTokenPriceRequest) XXX_Merge(src proto.Message)
func (*QueryTokenPriceRequest) XXX_Size ¶
func (m *QueryTokenPriceRequest) XXX_Size() int
func (*QueryTokenPriceRequest) XXX_Unmarshal ¶
func (m *QueryTokenPriceRequest) XXX_Unmarshal(b []byte) error
type QueryTokenPriceResponse ¶
type QueryTokenPriceResponse struct {
TokenPrice *TokenPrice `protobuf:"bytes,1,opt,name=token_price,json=tokenPrice,proto3" json:"token_price,omitempty"`
}
func (*QueryTokenPriceResponse) Descriptor ¶
func (*QueryTokenPriceResponse) Descriptor() ([]byte, []int)
func (*QueryTokenPriceResponse) GetTokenPrice ¶
func (m *QueryTokenPriceResponse) GetTokenPrice() *TokenPrice
func (*QueryTokenPriceResponse) Marshal ¶
func (m *QueryTokenPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryTokenPriceResponse) MarshalTo ¶
func (m *QueryTokenPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryTokenPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenPriceResponse) ProtoMessage ¶
func (*QueryTokenPriceResponse) ProtoMessage()
func (*QueryTokenPriceResponse) Reset ¶
func (m *QueryTokenPriceResponse) Reset()
func (*QueryTokenPriceResponse) Size ¶
func (m *QueryTokenPriceResponse) Size() (n int)
func (*QueryTokenPriceResponse) String ¶
func (m *QueryTokenPriceResponse) String() string
func (*QueryTokenPriceResponse) Unmarshal ¶
func (m *QueryTokenPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryTokenPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryTokenPriceResponse) XXX_DiscardUnknown()
func (*QueryTokenPriceResponse) XXX_Marshal ¶
func (m *QueryTokenPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenPriceResponse) XXX_Merge ¶
func (m *QueryTokenPriceResponse) XXX_Merge(src proto.Message)
func (*QueryTokenPriceResponse) XXX_Size ¶
func (m *QueryTokenPriceResponse) XXX_Size() int
func (*QueryTokenPriceResponse) XXX_Unmarshal ¶
func (m *QueryTokenPriceResponse) XXX_Unmarshal(b []byte) error
type QueryTokenPricesRequest ¶
type QueryTokenPricesRequest struct { }
func (*QueryTokenPricesRequest) Descriptor ¶
func (*QueryTokenPricesRequest) Descriptor() ([]byte, []int)
func (*QueryTokenPricesRequest) Marshal ¶
func (m *QueryTokenPricesRequest) Marshal() (dAtA []byte, err error)
func (*QueryTokenPricesRequest) MarshalTo ¶
func (m *QueryTokenPricesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenPricesRequest) MarshalToSizedBuffer ¶
func (m *QueryTokenPricesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenPricesRequest) ProtoMessage ¶
func (*QueryTokenPricesRequest) ProtoMessage()
func (*QueryTokenPricesRequest) Reset ¶
func (m *QueryTokenPricesRequest) Reset()
func (*QueryTokenPricesRequest) Size ¶
func (m *QueryTokenPricesRequest) Size() (n int)
func (*QueryTokenPricesRequest) String ¶
func (m *QueryTokenPricesRequest) String() string
func (*QueryTokenPricesRequest) Unmarshal ¶
func (m *QueryTokenPricesRequest) Unmarshal(dAtA []byte) error
func (*QueryTokenPricesRequest) XXX_DiscardUnknown ¶
func (m *QueryTokenPricesRequest) XXX_DiscardUnknown()
func (*QueryTokenPricesRequest) XXX_Marshal ¶
func (m *QueryTokenPricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenPricesRequest) XXX_Merge ¶
func (m *QueryTokenPricesRequest) XXX_Merge(src proto.Message)
func (*QueryTokenPricesRequest) XXX_Size ¶
func (m *QueryTokenPricesRequest) XXX_Size() int
func (*QueryTokenPricesRequest) XXX_Unmarshal ¶
func (m *QueryTokenPricesRequest) XXX_Unmarshal(b []byte) error
type QueryTokenPricesResponse ¶
type QueryTokenPricesResponse struct {
TokenPrices []*TokenPrice `protobuf:"bytes,1,rep,name=token_prices,json=tokenPrices,proto3" json:"token_prices,omitempty"`
}
func (*QueryTokenPricesResponse) Descriptor ¶
func (*QueryTokenPricesResponse) Descriptor() ([]byte, []int)
func (*QueryTokenPricesResponse) GetTokenPrices ¶
func (m *QueryTokenPricesResponse) GetTokenPrices() []*TokenPrice
func (*QueryTokenPricesResponse) Marshal ¶
func (m *QueryTokenPricesResponse) Marshal() (dAtA []byte, err error)
func (*QueryTokenPricesResponse) MarshalTo ¶
func (m *QueryTokenPricesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenPricesResponse) MarshalToSizedBuffer ¶
func (m *QueryTokenPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenPricesResponse) ProtoMessage ¶
func (*QueryTokenPricesResponse) ProtoMessage()
func (*QueryTokenPricesResponse) Reset ¶
func (m *QueryTokenPricesResponse) Reset()
func (*QueryTokenPricesResponse) Size ¶
func (m *QueryTokenPricesResponse) Size() (n int)
func (*QueryTokenPricesResponse) String ¶
func (m *QueryTokenPricesResponse) String() string
func (*QueryTokenPricesResponse) Unmarshal ¶
func (m *QueryTokenPricesResponse) Unmarshal(dAtA []byte) error
func (*QueryTokenPricesResponse) XXX_DiscardUnknown ¶
func (m *QueryTokenPricesResponse) XXX_DiscardUnknown()
func (*QueryTokenPricesResponse) XXX_Marshal ¶
func (m *QueryTokenPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenPricesResponse) XXX_Merge ¶
func (m *QueryTokenPricesResponse) XXX_Merge(src proto.Message)
func (*QueryTokenPricesResponse) XXX_Size ¶
func (m *QueryTokenPricesResponse) XXX_Size() int
func (*QueryTokenPricesResponse) XXX_Unmarshal ¶
func (m *QueryTokenPricesResponse) XXX_Unmarshal(b []byte) error
type SetTokenPricesProposal ¶
type SetTokenPricesProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` TokenPrices []*ProposedTokenPrice `protobuf:"bytes,3,rep,name=token_prices,json=tokenPrices,proto3" json:"token_prices,omitempty"` }
func NewSetTokenPricesProposal ¶
func NewSetTokenPricesProposal(title string, description string, proposedTokenPrices []*ProposedTokenPrice) *SetTokenPricesProposal
func (*SetTokenPricesProposal) Descriptor ¶
func (*SetTokenPricesProposal) Descriptor() ([]byte, []int)
func (*SetTokenPricesProposal) GetDescription ¶
func (m *SetTokenPricesProposal) GetDescription() string
func (*SetTokenPricesProposal) GetTitle ¶
func (m *SetTokenPricesProposal) GetTitle() string
func (*SetTokenPricesProposal) GetTokenPrices ¶
func (m *SetTokenPricesProposal) GetTokenPrices() []*ProposedTokenPrice
func (*SetTokenPricesProposal) Marshal ¶
func (m *SetTokenPricesProposal) Marshal() (dAtA []byte, err error)
func (*SetTokenPricesProposal) MarshalTo ¶
func (m *SetTokenPricesProposal) MarshalTo(dAtA []byte) (int, error)
func (*SetTokenPricesProposal) MarshalToSizedBuffer ¶
func (m *SetTokenPricesProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetTokenPricesProposal) ProposalRoute ¶
func (m *SetTokenPricesProposal) ProposalRoute() string
func (*SetTokenPricesProposal) ProposalType ¶
func (m *SetTokenPricesProposal) ProposalType() string
func (*SetTokenPricesProposal) ProtoMessage ¶
func (*SetTokenPricesProposal) ProtoMessage()
func (*SetTokenPricesProposal) Reset ¶
func (m *SetTokenPricesProposal) Reset()
func (*SetTokenPricesProposal) Size ¶
func (m *SetTokenPricesProposal) Size() (n int)
func (*SetTokenPricesProposal) String ¶
func (m *SetTokenPricesProposal) String() string
func (*SetTokenPricesProposal) Unmarshal ¶
func (m *SetTokenPricesProposal) Unmarshal(dAtA []byte) error
func (*SetTokenPricesProposal) ValidateBasic ¶
func (m *SetTokenPricesProposal) ValidateBasic() error
func (*SetTokenPricesProposal) XXX_DiscardUnknown ¶
func (m *SetTokenPricesProposal) XXX_DiscardUnknown()
func (*SetTokenPricesProposal) XXX_Marshal ¶
func (m *SetTokenPricesProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetTokenPricesProposal) XXX_Merge ¶
func (m *SetTokenPricesProposal) XXX_Merge(src proto.Message)
func (*SetTokenPricesProposal) XXX_Size ¶
func (m *SetTokenPricesProposal) XXX_Size() int
func (*SetTokenPricesProposal) XXX_Unmarshal ¶
func (m *SetTokenPricesProposal) XXX_Unmarshal(b []byte) error
type SetTokenPricesProposalWithDeposit ¶
type SetTokenPricesProposalWithDeposit struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` TokenPrices []*ProposedTokenPrice `protobuf:"bytes,3,rep,name=token_prices,json=tokenPrices,proto3" json:"token_prices,omitempty"` Deposit string `protobuf:"bytes,4,opt,name=deposit,proto3" json:"deposit,omitempty"` }
func (*SetTokenPricesProposalWithDeposit) Descriptor ¶
func (*SetTokenPricesProposalWithDeposit) Descriptor() ([]byte, []int)
func (*SetTokenPricesProposalWithDeposit) GetDeposit ¶
func (m *SetTokenPricesProposalWithDeposit) GetDeposit() string
func (*SetTokenPricesProposalWithDeposit) GetDescription ¶
func (m *SetTokenPricesProposalWithDeposit) GetDescription() string
func (*SetTokenPricesProposalWithDeposit) GetTitle ¶
func (m *SetTokenPricesProposalWithDeposit) GetTitle() string
func (*SetTokenPricesProposalWithDeposit) GetTokenPrices ¶
func (m *SetTokenPricesProposalWithDeposit) GetTokenPrices() []*ProposedTokenPrice
func (*SetTokenPricesProposalWithDeposit) Marshal ¶
func (m *SetTokenPricesProposalWithDeposit) Marshal() (dAtA []byte, err error)
func (*SetTokenPricesProposalWithDeposit) MarshalTo ¶
func (m *SetTokenPricesProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
func (*SetTokenPricesProposalWithDeposit) MarshalToSizedBuffer ¶
func (m *SetTokenPricesProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetTokenPricesProposalWithDeposit) ProtoMessage ¶
func (*SetTokenPricesProposalWithDeposit) ProtoMessage()
func (*SetTokenPricesProposalWithDeposit) Reset ¶
func (m *SetTokenPricesProposalWithDeposit) Reset()
func (*SetTokenPricesProposalWithDeposit) Size ¶
func (m *SetTokenPricesProposalWithDeposit) Size() (n int)
func (*SetTokenPricesProposalWithDeposit) String ¶
func (m *SetTokenPricesProposalWithDeposit) String() string
func (*SetTokenPricesProposalWithDeposit) Unmarshal ¶
func (m *SetTokenPricesProposalWithDeposit) Unmarshal(dAtA []byte) error
func (*SetTokenPricesProposalWithDeposit) XXX_DiscardUnknown ¶
func (m *SetTokenPricesProposalWithDeposit) XXX_DiscardUnknown()
func (*SetTokenPricesProposalWithDeposit) XXX_Marshal ¶
func (m *SetTokenPricesProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetTokenPricesProposalWithDeposit) XXX_Merge ¶
func (m *SetTokenPricesProposalWithDeposit) XXX_Merge(src proto.Message)
func (*SetTokenPricesProposalWithDeposit) XXX_Size ¶
func (m *SetTokenPricesProposalWithDeposit) XXX_Size() int
func (*SetTokenPricesProposalWithDeposit) XXX_Unmarshal ¶
func (m *SetTokenPricesProposalWithDeposit) XXX_Unmarshal(b []byte) error
type TokenPrice ¶
type TokenPrice struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Exponent uint64 `protobuf:"varint,2,opt,name=exponent,proto3" json:"exponent,omitempty"` UsdPrice github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=usd_price,json=usdPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"usd_price"` LastUpdatedBlock uint64 `protobuf:"varint,4,opt,name=last_updated_block,json=lastUpdatedBlock,proto3" json:"last_updated_block,omitempty"` }
USD price is the value for one non-fractional token (smallest unit of the token * 10^exponent)
func (*TokenPrice) Descriptor ¶
func (*TokenPrice) Descriptor() ([]byte, []int)
func (*TokenPrice) GetDenom ¶
func (m *TokenPrice) GetDenom() string
func (*TokenPrice) GetExponent ¶
func (m *TokenPrice) GetExponent() uint64
func (*TokenPrice) GetLastUpdatedBlock ¶
func (m *TokenPrice) GetLastUpdatedBlock() uint64
func (*TokenPrice) Marshal ¶
func (m *TokenPrice) Marshal() (dAtA []byte, err error)
func (*TokenPrice) MarshalToSizedBuffer ¶
func (m *TokenPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenPrice) ProtoMessage ¶
func (*TokenPrice) ProtoMessage()
func (*TokenPrice) Reset ¶
func (m *TokenPrice) Reset()
func (*TokenPrice) Size ¶
func (m *TokenPrice) Size() (n int)
func (*TokenPrice) String ¶
func (m *TokenPrice) String() string
func (*TokenPrice) Unmarshal ¶
func (m *TokenPrice) Unmarshal(dAtA []byte) error
func (*TokenPrice) ValidateBasic ¶
func (t *TokenPrice) ValidateBasic() error
func (*TokenPrice) XXX_DiscardUnknown ¶
func (m *TokenPrice) XXX_DiscardUnknown()
func (*TokenPrice) XXX_Marshal ¶
func (m *TokenPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenPrice) XXX_Merge ¶
func (m *TokenPrice) XXX_Merge(src proto.Message)
func (*TokenPrice) XXX_Size ¶
func (m *TokenPrice) XXX_Size() int
func (*TokenPrice) XXX_Unmarshal ¶
func (m *TokenPrice) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) SubmitBid ¶
func (*UnimplementedMsgServer) SubmitBid(ctx context.Context, req *MsgSubmitBidRequest) (*MsgSubmitBidResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) QueryActiveAuction ¶
func (*UnimplementedQueryServer) QueryActiveAuction(ctx context.Context, req *QueryActiveAuctionRequest) (*QueryActiveAuctionResponse, error)
func (*UnimplementedQueryServer) QueryActiveAuctions ¶
func (*UnimplementedQueryServer) QueryActiveAuctions(ctx context.Context, req *QueryActiveAuctionsRequest) (*QueryActiveAuctionsResponse, error)
func (*UnimplementedQueryServer) QueryBid ¶
func (*UnimplementedQueryServer) QueryBid(ctx context.Context, req *QueryBidRequest) (*QueryBidResponse, error)
func (*UnimplementedQueryServer) QueryBidsByAuction ¶
func (*UnimplementedQueryServer) QueryBidsByAuction(ctx context.Context, req *QueryBidsByAuctionRequest) (*QueryBidsByAuctionResponse, error)
func (*UnimplementedQueryServer) QueryEndedAuction ¶
func (*UnimplementedQueryServer) QueryEndedAuction(ctx context.Context, req *QueryEndedAuctionRequest) (*QueryEndedAuctionResponse, error)
func (*UnimplementedQueryServer) QueryEndedAuctions ¶
func (*UnimplementedQueryServer) QueryEndedAuctions(ctx context.Context, req *QueryEndedAuctionsRequest) (*QueryEndedAuctionsResponse, error)
func (*UnimplementedQueryServer) QueryParams ¶
func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) QueryTokenPrice ¶
func (*UnimplementedQueryServer) QueryTokenPrice(ctx context.Context, req *QueryTokenPriceRequest) (*QueryTokenPriceResponse, error)
func (*UnimplementedQueryServer) QueryTokenPrices ¶
func (*UnimplementedQueryServer) QueryTokenPrices(ctx context.Context, req *QueryTokenPricesRequest) (*QueryTokenPricesResponse, error)