Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParamKeyTable() types.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type Auction
- func (*Auction) Descriptor() ([]byte, []int)
- func (auction Auction) GetCommitsEndTime() string
- func (auction Auction) GetCreateTime() string
- func (auction Auction) GetRevealsEndTime() string
- 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 (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 AuctionID
- type AuctionRequest
- func (*AuctionRequest) Descriptor() ([]byte, []int)
- func (m *AuctionRequest) GetId() string
- func (m *AuctionRequest) Marshal() (dAtA []byte, err error)
- func (m *AuctionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuctionRequest) ProtoMessage()
- func (m *AuctionRequest) Reset()
- func (m *AuctionRequest) Size() (n int)
- func (m *AuctionRequest) String() string
- func (m *AuctionRequest) Unmarshal(dAtA []byte) error
- func (m *AuctionRequest) XXX_DiscardUnknown()
- func (m *AuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionRequest) XXX_Merge(src proto.Message)
- func (m *AuctionRequest) XXX_Size() int
- func (m *AuctionRequest) XXX_Unmarshal(b []byte) error
- type AuctionResponse
- func (*AuctionResponse) Descriptor() ([]byte, []int)
- func (m *AuctionResponse) GetAuction() *Auction
- func (m *AuctionResponse) Marshal() (dAtA []byte, err error)
- func (m *AuctionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuctionResponse) ProtoMessage()
- func (m *AuctionResponse) Reset()
- func (m *AuctionResponse) Size() (n int)
- func (m *AuctionResponse) String() string
- func (m *AuctionResponse) Unmarshal(dAtA []byte) error
- func (m *AuctionResponse) XXX_DiscardUnknown()
- func (m *AuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionResponse) XXX_Merge(src proto.Message)
- func (m *AuctionResponse) XXX_Size() int
- func (m *AuctionResponse) XXX_Unmarshal(b []byte) error
- type AuctionUsageKeeper
- type Auctions
- func (*Auctions) Descriptor() ([]byte, []int)
- func (m *Auctions) Marshal() (dAtA []byte, err error)
- func (m *Auctions) MarshalTo(dAtA []byte) (int, error)
- func (m *Auctions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Auctions) ProtoMessage()
- func (m *Auctions) Reset()
- func (m *Auctions) Size() (n int)
- func (m *Auctions) String() string
- func (m *Auctions) Unmarshal(dAtA []byte) error
- func (m *Auctions) XXX_DiscardUnknown()
- func (m *Auctions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Auctions) XXX_Merge(src proto.Message)
- func (m *Auctions) XXX_Size() int
- func (m *Auctions) XXX_Unmarshal(b []byte) error
- type AuctionsByBidderRequest
- func (*AuctionsByBidderRequest) Descriptor() ([]byte, []int)
- func (m *AuctionsByBidderRequest) GetBidderAddress() string
- func (m *AuctionsByBidderRequest) Marshal() (dAtA []byte, err error)
- func (m *AuctionsByBidderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AuctionsByBidderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuctionsByBidderRequest) ProtoMessage()
- func (m *AuctionsByBidderRequest) Reset()
- func (m *AuctionsByBidderRequest) Size() (n int)
- func (m *AuctionsByBidderRequest) String() string
- func (m *AuctionsByBidderRequest) Unmarshal(dAtA []byte) error
- func (m *AuctionsByBidderRequest) XXX_DiscardUnknown()
- func (m *AuctionsByBidderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionsByBidderRequest) XXX_Merge(src proto.Message)
- func (m *AuctionsByBidderRequest) XXX_Size() int
- func (m *AuctionsByBidderRequest) XXX_Unmarshal(b []byte) error
- type AuctionsByBidderResponse
- func (*AuctionsByBidderResponse) Descriptor() ([]byte, []int)
- func (m *AuctionsByBidderResponse) GetAuctions() *Auctions
- func (m *AuctionsByBidderResponse) Marshal() (dAtA []byte, err error)
- func (m *AuctionsByBidderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AuctionsByBidderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuctionsByBidderResponse) ProtoMessage()
- func (m *AuctionsByBidderResponse) Reset()
- func (m *AuctionsByBidderResponse) Size() (n int)
- func (m *AuctionsByBidderResponse) String() string
- func (m *AuctionsByBidderResponse) Unmarshal(dAtA []byte) error
- func (m *AuctionsByBidderResponse) XXX_DiscardUnknown()
- func (m *AuctionsByBidderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionsByBidderResponse) XXX_Merge(src proto.Message)
- func (m *AuctionsByBidderResponse) XXX_Size() int
- func (m *AuctionsByBidderResponse) XXX_Unmarshal(b []byte) error
- type AuctionsByOwnerRequest
- func (*AuctionsByOwnerRequest) Descriptor() ([]byte, []int)
- func (m *AuctionsByOwnerRequest) GetOwnerAddress() string
- func (m *AuctionsByOwnerRequest) Marshal() (dAtA []byte, err error)
- func (m *AuctionsByOwnerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AuctionsByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuctionsByOwnerRequest) ProtoMessage()
- func (m *AuctionsByOwnerRequest) Reset()
- func (m *AuctionsByOwnerRequest) Size() (n int)
- func (m *AuctionsByOwnerRequest) String() string
- func (m *AuctionsByOwnerRequest) Unmarshal(dAtA []byte) error
- func (m *AuctionsByOwnerRequest) XXX_DiscardUnknown()
- func (m *AuctionsByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionsByOwnerRequest) XXX_Merge(src proto.Message)
- func (m *AuctionsByOwnerRequest) XXX_Size() int
- func (m *AuctionsByOwnerRequest) XXX_Unmarshal(b []byte) error
- type AuctionsByOwnerResponse
- func (*AuctionsByOwnerResponse) Descriptor() ([]byte, []int)
- func (m *AuctionsByOwnerResponse) GetAuctions() *Auctions
- func (m *AuctionsByOwnerResponse) Marshal() (dAtA []byte, err error)
- func (m *AuctionsByOwnerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AuctionsByOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuctionsByOwnerResponse) ProtoMessage()
- func (m *AuctionsByOwnerResponse) Reset()
- func (m *AuctionsByOwnerResponse) Size() (n int)
- func (m *AuctionsByOwnerResponse) String() string
- func (m *AuctionsByOwnerResponse) Unmarshal(dAtA []byte) error
- func (m *AuctionsByOwnerResponse) XXX_DiscardUnknown()
- func (m *AuctionsByOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionsByOwnerResponse) XXX_Merge(src proto.Message)
- func (m *AuctionsByOwnerResponse) XXX_Size() int
- func (m *AuctionsByOwnerResponse) XXX_Unmarshal(b []byte) error
- type AuctionsRequest
- func (*AuctionsRequest) Descriptor() ([]byte, []int)
- func (m *AuctionsRequest) GetPagination() *query.PageRequest
- func (m *AuctionsRequest) Marshal() (dAtA []byte, err error)
- func (m *AuctionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AuctionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuctionsRequest) ProtoMessage()
- func (m *AuctionsRequest) Reset()
- func (m *AuctionsRequest) Size() (n int)
- func (m *AuctionsRequest) String() string
- func (m *AuctionsRequest) Unmarshal(dAtA []byte) error
- func (m *AuctionsRequest) XXX_DiscardUnknown()
- func (m *AuctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionsRequest) XXX_Merge(src proto.Message)
- func (m *AuctionsRequest) XXX_Size() int
- func (m *AuctionsRequest) XXX_Unmarshal(b []byte) error
- type AuctionsResponse
- func (*AuctionsResponse) Descriptor() ([]byte, []int)
- func (m *AuctionsResponse) GetAuctions() *Auctions
- func (m *AuctionsResponse) GetPagination() *query.PageRequest
- func (m *AuctionsResponse) Marshal() (dAtA []byte, err error)
- func (m *AuctionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AuctionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuctionsResponse) ProtoMessage()
- func (m *AuctionsResponse) Reset()
- func (m *AuctionsResponse) Size() (n int)
- func (m *AuctionsResponse) String() string
- func (m *AuctionsResponse) Unmarshal(dAtA []byte) error
- func (m *AuctionsResponse) XXX_DiscardUnknown()
- func (m *AuctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionsResponse) XXX_Merge(src proto.Message)
- func (m *AuctionsResponse) XXX_Size() int
- func (m *AuctionsResponse) XXX_Unmarshal(b []byte) error
- type BalanceRequest
- func (*BalanceRequest) Descriptor() ([]byte, []int)
- func (m *BalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *BalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BalanceRequest) ProtoMessage()
- func (m *BalanceRequest) Reset()
- func (m *BalanceRequest) Size() (n int)
- func (m *BalanceRequest) String() string
- func (m *BalanceRequest) Unmarshal(dAtA []byte) error
- func (m *BalanceRequest) XXX_DiscardUnknown()
- func (m *BalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BalanceRequest) XXX_Merge(src proto.Message)
- func (m *BalanceRequest) XXX_Size() int
- func (m *BalanceRequest) XXX_Unmarshal(b []byte) error
- type BalanceResponse
- func (*BalanceResponse) Descriptor() ([]byte, []int)
- func (m *BalanceResponse) GetBalance() []types.Coin
- func (m *BalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *BalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BalanceResponse) ProtoMessage()
- func (m *BalanceResponse) Reset()
- func (m *BalanceResponse) Size() (n int)
- func (m *BalanceResponse) String() string
- func (m *BalanceResponse) Unmarshal(dAtA []byte) error
- func (m *BalanceResponse) XXX_DiscardUnknown()
- func (m *BalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BalanceResponse) XXX_Merge(src proto.Message)
- func (m *BalanceResponse) XXX_Size() int
- func (m *BalanceResponse) XXX_Unmarshal(b []byte) error
- type Bid
- func (*Bid) Descriptor() ([]byte, []int)
- func (bid Bid) GetCommitTime() string
- func (bid Bid) GetRevealTime() string
- func (m *Bid) Marshal() (dAtA []byte, err error)
- func (m *Bid) MarshalTo(dAtA []byte) (int, error)
- func (m *Bid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Bid) ProtoMessage()
- func (m *Bid) Reset()
- func (m *Bid) Size() (n int)
- func (m *Bid) String() string
- func (m *Bid) Unmarshal(dAtA []byte) error
- func (m *Bid) XXX_DiscardUnknown()
- func (m *Bid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bid) XXX_Merge(src proto.Message)
- func (m *Bid) XXX_Size() int
- func (m *Bid) XXX_Unmarshal(b []byte) error
- type BidRequest
- func (*BidRequest) Descriptor() ([]byte, []int)
- func (m *BidRequest) GetAuctionId() string
- func (m *BidRequest) GetBidder() string
- func (m *BidRequest) Marshal() (dAtA []byte, err error)
- func (m *BidRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BidRequest) ProtoMessage()
- func (m *BidRequest) Reset()
- func (m *BidRequest) Size() (n int)
- func (m *BidRequest) String() string
- func (m *BidRequest) Unmarshal(dAtA []byte) error
- func (m *BidRequest) XXX_DiscardUnknown()
- func (m *BidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BidRequest) XXX_Merge(src proto.Message)
- func (m *BidRequest) XXX_Size() int
- func (m *BidRequest) XXX_Unmarshal(b []byte) error
- type BidResponse
- func (*BidResponse) Descriptor() ([]byte, []int)
- func (m *BidResponse) GetBid() *Bid
- func (m *BidResponse) Marshal() (dAtA []byte, err error)
- func (m *BidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BidResponse) ProtoMessage()
- func (m *BidResponse) Reset()
- func (m *BidResponse) Size() (n int)
- func (m *BidResponse) String() string
- func (m *BidResponse) Unmarshal(dAtA []byte) error
- func (m *BidResponse) XXX_DiscardUnknown()
- func (m *BidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BidResponse) XXX_Merge(src proto.Message)
- func (m *BidResponse) XXX_Size() int
- func (m *BidResponse) XXX_Unmarshal(b []byte) error
- type BidsRequest
- func (*BidsRequest) Descriptor() ([]byte, []int)
- func (m *BidsRequest) GetAuctionId() string
- func (m *BidsRequest) Marshal() (dAtA []byte, err error)
- func (m *BidsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BidsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BidsRequest) ProtoMessage()
- func (m *BidsRequest) Reset()
- func (m *BidsRequest) Size() (n int)
- func (m *BidsRequest) String() string
- func (m *BidsRequest) Unmarshal(dAtA []byte) error
- func (m *BidsRequest) XXX_DiscardUnknown()
- func (m *BidsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BidsRequest) XXX_Merge(src proto.Message)
- func (m *BidsRequest) XXX_Size() int
- func (m *BidsRequest) XXX_Unmarshal(b []byte) error
- type BidsResponse
- func (*BidsResponse) Descriptor() ([]byte, []int)
- func (m *BidsResponse) GetBids() []*Bid
- func (m *BidsResponse) Marshal() (dAtA []byte, err error)
- func (m *BidsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BidsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BidsResponse) ProtoMessage()
- func (m *BidsResponse) Reset()
- func (m *BidsResponse) Size() (n int)
- func (m *BidsResponse) String() string
- func (m *BidsResponse) Unmarshal(dAtA []byte) error
- func (m *BidsResponse) XXX_DiscardUnknown()
- func (m *BidsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BidsResponse) XXX_Merge(src proto.Message)
- func (m *BidsResponse) XXX_Size() int
- func (m *BidsResponse) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAuctions() []*Auction
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (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 MsgCommitBid
- func (*MsgCommitBid) Descriptor() ([]byte, []int)
- func (msg MsgCommitBid) GetSignBytes() []byte
- func (msg MsgCommitBid) GetSigners() []sdk.AccAddress
- func (m *MsgCommitBid) Marshal() (dAtA []byte, err error)
- func (m *MsgCommitBid) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommitBid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommitBid) ProtoMessage()
- func (m *MsgCommitBid) Reset()
- func (msg MsgCommitBid) Route() string
- func (m *MsgCommitBid) Size() (n int)
- func (m *MsgCommitBid) String() string
- func (msg MsgCommitBid) Type() string
- func (m *MsgCommitBid) Unmarshal(dAtA []byte) error
- func (msg MsgCommitBid) ValidateBasic() error
- func (m *MsgCommitBid) XXX_DiscardUnknown()
- func (m *MsgCommitBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommitBid) XXX_Merge(src proto.Message)
- func (m *MsgCommitBid) XXX_Size() int
- func (m *MsgCommitBid) XXX_Unmarshal(b []byte) error
- type MsgCommitBidResponse
- func (*MsgCommitBidResponse) Descriptor() ([]byte, []int)
- func (m *MsgCommitBidResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCommitBidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCommitBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCommitBidResponse) ProtoMessage()
- func (m *MsgCommitBidResponse) Reset()
- func (m *MsgCommitBidResponse) Size() (n int)
- func (m *MsgCommitBidResponse) String() string
- func (m *MsgCommitBidResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCommitBidResponse) XXX_DiscardUnknown()
- func (m *MsgCommitBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCommitBidResponse) XXX_Merge(src proto.Message)
- func (m *MsgCommitBidResponse) XXX_Size() int
- func (m *MsgCommitBidResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateAuction
- func (*MsgCreateAuction) Descriptor() ([]byte, []int)
- func (msg MsgCreateAuction) GetSignBytes() []byte
- func (msg MsgCreateAuction) GetSigners() []sdk.AccAddress
- func (m *MsgCreateAuction) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateAuction) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateAuction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateAuction) ProtoMessage()
- func (m *MsgCreateAuction) Reset()
- func (msg MsgCreateAuction) Route() string
- func (m *MsgCreateAuction) Size() (n int)
- func (m *MsgCreateAuction) String() string
- func (msg MsgCreateAuction) Type() string
- func (m *MsgCreateAuction) Unmarshal(dAtA []byte) error
- func (msg MsgCreateAuction) ValidateBasic() error
- func (m *MsgCreateAuction) XXX_DiscardUnknown()
- func (m *MsgCreateAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateAuction) XXX_Merge(src proto.Message)
- func (m *MsgCreateAuction) XXX_Size() int
- func (m *MsgCreateAuction) XXX_Unmarshal(b []byte) error
- type MsgCreateAuctionResponse
- func (*MsgCreateAuctionResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateAuctionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateAuctionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateAuctionResponse) ProtoMessage()
- func (m *MsgCreateAuctionResponse) Reset()
- func (m *MsgCreateAuctionResponse) Size() (n int)
- func (m *MsgCreateAuctionResponse) String() string
- func (m *MsgCreateAuctionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateAuctionResponse) XXX_DiscardUnknown()
- func (m *MsgCreateAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateAuctionResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateAuctionResponse) XXX_Size() int
- func (m *MsgCreateAuctionResponse) XXX_Unmarshal(b []byte) error
- type MsgRevealBid
- func (*MsgRevealBid) Descriptor() ([]byte, []int)
- func (msg MsgRevealBid) GetSignBytes() []byte
- func (msg MsgRevealBid) GetSigners() []sdk.AccAddress
- func (m *MsgRevealBid) Marshal() (dAtA []byte, err error)
- func (m *MsgRevealBid) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevealBid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevealBid) ProtoMessage()
- func (m *MsgRevealBid) Reset()
- func (msg MsgRevealBid) Route() string
- func (m *MsgRevealBid) Size() (n int)
- func (m *MsgRevealBid) String() string
- func (msg MsgRevealBid) Type() string
- func (m *MsgRevealBid) Unmarshal(dAtA []byte) error
- func (msg MsgRevealBid) ValidateBasic() error
- func (m *MsgRevealBid) XXX_DiscardUnknown()
- func (m *MsgRevealBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevealBid) XXX_Merge(src proto.Message)
- func (m *MsgRevealBid) XXX_Size() int
- func (m *MsgRevealBid) XXX_Unmarshal(b []byte) error
- type MsgRevealBidResponse
- func (*MsgRevealBidResponse) Descriptor() ([]byte, []int)
- func (m *MsgRevealBidResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRevealBidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevealBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevealBidResponse) ProtoMessage()
- func (m *MsgRevealBidResponse) Reset()
- func (m *MsgRevealBidResponse) Size() (n int)
- func (m *MsgRevealBidResponse) String() string
- func (m *MsgRevealBidResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRevealBidResponse) XXX_DiscardUnknown()
- func (m *MsgRevealBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevealBidResponse) XXX_Merge(src proto.Message)
- func (m *MsgRevealBidResponse) XXX_Size() int
- func (m *MsgRevealBidResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (p Params) Equal(p2 Params) bool
- func (m *Params) GetCommitFee() types.Coin
- func (m *Params) GetCommitsDuration() time.Duration
- func (m *Params) GetMinimumBid() types.Coin
- func (m *Params) GetRevealFee() types.Coin
- func (m *Params) GetRevealsDuration() time.Duration
- 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() types.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- 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 UnimplementedMsgServer
- func (*UnimplementedMsgServer) CommitBid(ctx context.Context, req *MsgCommitBid) (*MsgCommitBidResponse, error)
- func (*UnimplementedMsgServer) CreateAuction(ctx context.Context, req *MsgCreateAuction) (*MsgCreateAuctionResponse, error)
- func (*UnimplementedMsgServer) RevealBid(ctx context.Context, req *MsgRevealBid) (*MsgRevealBidResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Auctions(ctx context.Context, req *AuctionsRequest) (*AuctionsResponse, error)
- func (*UnimplementedQueryServer) AuctionsByBidder(ctx context.Context, req *AuctionsByBidderRequest) (*AuctionsByBidderResponse, error)
- func (*UnimplementedQueryServer) AuctionsByOwner(ctx context.Context, req *AuctionsByOwnerRequest) (*AuctionsByOwnerResponse, error)
- func (*UnimplementedQueryServer) Balance(ctx context.Context, req *BalanceRequest) (*BalanceResponse, error)
- func (*UnimplementedQueryServer) GetAuction(ctx context.Context, req *AuctionRequest) (*AuctionResponse, error)
- func (*UnimplementedQueryServer) GetBid(ctx context.Context, req *BidRequest) (*BidResponse, error)
- func (*UnimplementedQueryServer) GetBids(ctx context.Context, req *BidsRequest) (*BidsResponse, error)
- func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( EventTypeCreateAuction = "create-auction" EventTypeCommitBid = "commit-bid" EventTypeRevealBid = "reveal-bid" AttributeKeyCommitsDuration = "commits-duration" AttributeKeyRevealsDuration = "reveals-duration" AttributeKeyCommitFee = "commit-fee" AttributeKeyRevealFee = "reveal-fee" AttributeKeyMinimumBid = "minimum-bid" AttributeKeySigner = "signer" AttributeKeyAuctionID = "auction-id" AttributeKeyCommitHash = "commit-hash" AttributeKeyReveal = "reveal" AttributeValueCategory = ModuleName )
const ( // ModuleName is the name of the module ModuleName = "auction" // AuctionBurnModuleAccountName is the name of the auction burn module account. AuctionBurnModuleAccountName = "auction_burn" // StoreKey to be used when creating the KVStore StoreKey = ModuleName // QuerierRoute is the querier route for the staking module QuerierRoute = ModuleName // RouterKey is the msg router key for the staking module RouterKey = ModuleName )
const ( // Auction is in commit phase. AuctionStatusCommitPhase = "commit" // Auction is in reveal phase. AuctionStatusRevealPhase = "reveal" // Auction has ended (no reveals allowed). AuctionStatusExpired = "expired" // Auction has completed (winner selected). AuctionStatusCompleted = "completed" )
Auction status values.
const ( BidStatusCommitted = "commit" BidStatusRevealed = "reveal" )
Bid status values.
const (
DefaultParamspace = ModuleName
)
Default parameter namespace.
Variables ¶
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 ( DefaultCommitsDuration = 5 * time.Minute DefaultRevealsDuration = 5 * time.Minute DefaultCommitFee = sdk.Coin{Amount: sdk.NewInt(10), Denom: sdk.DefaultBondDenom} DefaultRevealFee = sdk.Coin{Amount: sdk.NewInt(10), Denom: sdk.DefaultBondDenom} DefaultMinimumBid = sdk.Coin{Amount: sdk.NewInt(1000), Denom: sdk.DefaultBondDenom} ParamStoreKeyCommitsDuration = []byte("CommitsDuration") ParamStoreKeyRevealsDuration = []byte("RevealsDuration") ParamStoreKeyCommitFee = []byte("CommitFee") ParamStoreKeyRevealFee = []byte("RevealFee") ParamStoreKeyMinimumBid = []byte("MinimumBid") )
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 ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
func ParamKeyTable ¶
ParamKeyTable - ParamTable for bond module.
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/auction interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func 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 Auction ¶
type Auction struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // Address of the creator of the auction OwnerAddress string `protobuf:"bytes,3,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` // Timestamp at which the auction was created CreateTime time.Time `` /* 127-byte string literal not displayed */ // Timestamp at which the commits phase concluded CommitsEndTime time.Time `` /* 151-byte string literal not displayed */ // Timestamp at which the reveals phase concluded RevealsEndTime time.Time `` /* 151-byte string literal not displayed */ // Commit and reveal fees must both be paid when committing a bid // Reveal fee is returned only if the bid is revealed CommitFee types.Coin `protobuf:"bytes,7,opt,name=commit_fee,json=commitFee,proto3" json:"commit_fee" json:"commit_fee" yaml:"commit_fee"` RevealFee types.Coin `protobuf:"bytes,8,opt,name=reveal_fee,json=revealFee,proto3" json:"reveal_fee" json:"reveal_fee" yaml:"reveal_fee"` // Minimum acceptable bid amount for a valid commit MinimumBid types.Coin `protobuf:"bytes,9,opt,name=minimum_bid,json=minimumBid,proto3" json:"minimum_bid" json:"minimum_bid" yaml:"minimum_bid"` // Address of the winner WinnerAddress string `protobuf:"bytes,10,opt,name=winner_address,json=winnerAddress,proto3" json:"winner_address,omitempty"` // Winning bid, i.e., the highest bid WinningBid types.Coin `protobuf:"bytes,11,opt,name=winning_bid,json=winningBid,proto3" json:"winning_bid" json:"winning_bid" yaml:"winning_bid"` // Amount the winner pays, i.e. the second highest auction WinningPrice types.Coin `` /* 130-byte string literal not displayed */ }
Auction represents a sealed-bid on-chain auction
func (*Auction) Descriptor ¶
func (Auction) GetCommitsEndTime ¶
func (Auction) GetCreateTime ¶
func (Auction) GetRevealsEndTime ¶
func (*Auction) MarshalToSizedBuffer ¶
func (*Auction) ProtoMessage ¶
func (*Auction) ProtoMessage()
func (*Auction) XXX_DiscardUnknown ¶
func (m *Auction) XXX_DiscardUnknown()
func (*Auction) XXX_Marshal ¶
func (*Auction) XXX_Unmarshal ¶
type AuctionRequest ¶
type AuctionRequest struct { // Auction ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` }
AuctionRequest is the format for querying a specific auction
func (*AuctionRequest) Descriptor ¶
func (*AuctionRequest) Descriptor() ([]byte, []int)
func (*AuctionRequest) GetId ¶
func (m *AuctionRequest) GetId() string
func (*AuctionRequest) Marshal ¶
func (m *AuctionRequest) Marshal() (dAtA []byte, err error)
func (*AuctionRequest) MarshalToSizedBuffer ¶
func (m *AuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuctionRequest) ProtoMessage ¶
func (*AuctionRequest) ProtoMessage()
func (*AuctionRequest) Reset ¶
func (m *AuctionRequest) Reset()
func (*AuctionRequest) Size ¶
func (m *AuctionRequest) Size() (n int)
func (*AuctionRequest) String ¶
func (m *AuctionRequest) String() string
func (*AuctionRequest) Unmarshal ¶
func (m *AuctionRequest) Unmarshal(dAtA []byte) error
func (*AuctionRequest) XXX_DiscardUnknown ¶
func (m *AuctionRequest) XXX_DiscardUnknown()
func (*AuctionRequest) XXX_Marshal ¶
func (m *AuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionRequest) XXX_Merge ¶
func (m *AuctionRequest) XXX_Merge(src proto.Message)
func (*AuctionRequest) XXX_Size ¶
func (m *AuctionRequest) XXX_Size() int
func (*AuctionRequest) XXX_Unmarshal ¶
func (m *AuctionRequest) XXX_Unmarshal(b []byte) error
type AuctionResponse ¶
type AuctionResponse struct { // Auction details Auction *Auction `protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty"` }
AuctionResponse returns the details of the queried auction
func (*AuctionResponse) Descriptor ¶
func (*AuctionResponse) Descriptor() ([]byte, []int)
func (*AuctionResponse) GetAuction ¶
func (m *AuctionResponse) GetAuction() *Auction
func (*AuctionResponse) Marshal ¶
func (m *AuctionResponse) Marshal() (dAtA []byte, err error)
func (*AuctionResponse) MarshalToSizedBuffer ¶
func (m *AuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuctionResponse) ProtoMessage ¶
func (*AuctionResponse) ProtoMessage()
func (*AuctionResponse) Reset ¶
func (m *AuctionResponse) Reset()
func (*AuctionResponse) Size ¶
func (m *AuctionResponse) Size() (n int)
func (*AuctionResponse) String ¶
func (m *AuctionResponse) String() string
func (*AuctionResponse) Unmarshal ¶
func (m *AuctionResponse) Unmarshal(dAtA []byte) error
func (*AuctionResponse) XXX_DiscardUnknown ¶
func (m *AuctionResponse) XXX_DiscardUnknown()
func (*AuctionResponse) XXX_Marshal ¶
func (m *AuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionResponse) XXX_Merge ¶
func (m *AuctionResponse) XXX_Merge(src proto.Message)
func (*AuctionResponse) XXX_Size ¶
func (m *AuctionResponse) XXX_Size() int
func (*AuctionResponse) XXX_Unmarshal ¶
func (m *AuctionResponse) XXX_Unmarshal(b []byte) error
type AuctionUsageKeeper ¶
type AuctionUsageKeeper interface { ModuleName() string UsesAuction(ctx sdk.Context, auctionID string) bool OnAuction(ctx sdk.Context, auctionID string) OnAuctionBid(ctx sdk.Context, auctionID string, bidderAddress string) OnAuctionWinnerSelected(ctx sdk.Context, auctionID string) }
AuctionUsageKeeper keep track of auction usage in other modules. Used to, for example, prevent deletion of a auction that's in use.
type Auctions ¶
type Auctions struct {
Auctions []Auction `protobuf:"bytes,1,rep,name=auctions,proto3" json:"auctions"`
}
func (*Auctions) Descriptor ¶
func (*Auctions) MarshalToSizedBuffer ¶
func (*Auctions) ProtoMessage ¶
func (*Auctions) ProtoMessage()
func (*Auctions) XXX_DiscardUnknown ¶
func (m *Auctions) XXX_DiscardUnknown()
func (*Auctions) XXX_Marshal ¶
func (*Auctions) XXX_Unmarshal ¶
type AuctionsByBidderRequest ¶
type AuctionsByBidderRequest struct { // Address of the bidder BidderAddress string `protobuf:"bytes,1,opt,name=bidder_address,json=bidderAddress,proto3" json:"bidder_address,omitempty"` }
AuctionsByBidderRequest is the format for querying all auctions containing a bidder address
func (*AuctionsByBidderRequest) Descriptor ¶
func (*AuctionsByBidderRequest) Descriptor() ([]byte, []int)
func (*AuctionsByBidderRequest) GetBidderAddress ¶
func (m *AuctionsByBidderRequest) GetBidderAddress() string
func (*AuctionsByBidderRequest) Marshal ¶
func (m *AuctionsByBidderRequest) Marshal() (dAtA []byte, err error)
func (*AuctionsByBidderRequest) MarshalTo ¶
func (m *AuctionsByBidderRequest) MarshalTo(dAtA []byte) (int, error)
func (*AuctionsByBidderRequest) MarshalToSizedBuffer ¶
func (m *AuctionsByBidderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuctionsByBidderRequest) ProtoMessage ¶
func (*AuctionsByBidderRequest) ProtoMessage()
func (*AuctionsByBidderRequest) Reset ¶
func (m *AuctionsByBidderRequest) Reset()
func (*AuctionsByBidderRequest) Size ¶
func (m *AuctionsByBidderRequest) Size() (n int)
func (*AuctionsByBidderRequest) String ¶
func (m *AuctionsByBidderRequest) String() string
func (*AuctionsByBidderRequest) Unmarshal ¶
func (m *AuctionsByBidderRequest) Unmarshal(dAtA []byte) error
func (*AuctionsByBidderRequest) XXX_DiscardUnknown ¶
func (m *AuctionsByBidderRequest) XXX_DiscardUnknown()
func (*AuctionsByBidderRequest) XXX_Marshal ¶
func (m *AuctionsByBidderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionsByBidderRequest) XXX_Merge ¶
func (m *AuctionsByBidderRequest) XXX_Merge(src proto.Message)
func (*AuctionsByBidderRequest) XXX_Size ¶
func (m *AuctionsByBidderRequest) XXX_Size() int
func (*AuctionsByBidderRequest) XXX_Unmarshal ¶
func (m *AuctionsByBidderRequest) XXX_Unmarshal(b []byte) error
type AuctionsByBidderResponse ¶
type AuctionsByBidderResponse struct { // List of auctions Auctions *Auctions `protobuf:"bytes,1,opt,name=auctions,proto3" json:"auctions,omitempty"` }
AuctionsByBidderResponse returns all auctions containing a bidder
func (*AuctionsByBidderResponse) Descriptor ¶
func (*AuctionsByBidderResponse) Descriptor() ([]byte, []int)
func (*AuctionsByBidderResponse) GetAuctions ¶
func (m *AuctionsByBidderResponse) GetAuctions() *Auctions
func (*AuctionsByBidderResponse) Marshal ¶
func (m *AuctionsByBidderResponse) Marshal() (dAtA []byte, err error)
func (*AuctionsByBidderResponse) MarshalTo ¶
func (m *AuctionsByBidderResponse) MarshalTo(dAtA []byte) (int, error)
func (*AuctionsByBidderResponse) MarshalToSizedBuffer ¶
func (m *AuctionsByBidderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuctionsByBidderResponse) ProtoMessage ¶
func (*AuctionsByBidderResponse) ProtoMessage()
func (*AuctionsByBidderResponse) Reset ¶
func (m *AuctionsByBidderResponse) Reset()
func (*AuctionsByBidderResponse) Size ¶
func (m *AuctionsByBidderResponse) Size() (n int)
func (*AuctionsByBidderResponse) String ¶
func (m *AuctionsByBidderResponse) String() string
func (*AuctionsByBidderResponse) Unmarshal ¶
func (m *AuctionsByBidderResponse) Unmarshal(dAtA []byte) error
func (*AuctionsByBidderResponse) XXX_DiscardUnknown ¶
func (m *AuctionsByBidderResponse) XXX_DiscardUnknown()
func (*AuctionsByBidderResponse) XXX_Marshal ¶
func (m *AuctionsByBidderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionsByBidderResponse) XXX_Merge ¶
func (m *AuctionsByBidderResponse) XXX_Merge(src proto.Message)
func (*AuctionsByBidderResponse) XXX_Size ¶
func (m *AuctionsByBidderResponse) XXX_Size() int
func (*AuctionsByBidderResponse) XXX_Unmarshal ¶
func (m *AuctionsByBidderResponse) XXX_Unmarshal(b []byte) error
type AuctionsByOwnerRequest ¶
type AuctionsByOwnerRequest struct { // Address of the owner OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` }
AuctionsByOwnerRequest is the format for querying all auctions created by an owner
func (*AuctionsByOwnerRequest) Descriptor ¶
func (*AuctionsByOwnerRequest) Descriptor() ([]byte, []int)
func (*AuctionsByOwnerRequest) GetOwnerAddress ¶
func (m *AuctionsByOwnerRequest) GetOwnerAddress() string
func (*AuctionsByOwnerRequest) Marshal ¶
func (m *AuctionsByOwnerRequest) Marshal() (dAtA []byte, err error)
func (*AuctionsByOwnerRequest) MarshalTo ¶
func (m *AuctionsByOwnerRequest) MarshalTo(dAtA []byte) (int, error)
func (*AuctionsByOwnerRequest) MarshalToSizedBuffer ¶
func (m *AuctionsByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuctionsByOwnerRequest) ProtoMessage ¶
func (*AuctionsByOwnerRequest) ProtoMessage()
func (*AuctionsByOwnerRequest) Reset ¶
func (m *AuctionsByOwnerRequest) Reset()
func (*AuctionsByOwnerRequest) Size ¶
func (m *AuctionsByOwnerRequest) Size() (n int)
func (*AuctionsByOwnerRequest) String ¶
func (m *AuctionsByOwnerRequest) String() string
func (*AuctionsByOwnerRequest) Unmarshal ¶
func (m *AuctionsByOwnerRequest) Unmarshal(dAtA []byte) error
func (*AuctionsByOwnerRequest) XXX_DiscardUnknown ¶
func (m *AuctionsByOwnerRequest) XXX_DiscardUnknown()
func (*AuctionsByOwnerRequest) XXX_Marshal ¶
func (m *AuctionsByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionsByOwnerRequest) XXX_Merge ¶
func (m *AuctionsByOwnerRequest) XXX_Merge(src proto.Message)
func (*AuctionsByOwnerRequest) XXX_Size ¶
func (m *AuctionsByOwnerRequest) XXX_Size() int
func (*AuctionsByOwnerRequest) XXX_Unmarshal ¶
func (m *AuctionsByOwnerRequest) XXX_Unmarshal(b []byte) error
type AuctionsByOwnerResponse ¶
type AuctionsByOwnerResponse struct { // List of auctions Auctions *Auctions `protobuf:"bytes,1,opt,name=auctions,proto3" json:"auctions,omitempty"` }
AuctionsByOwnerResponse returns all auctions created by an owner
func (*AuctionsByOwnerResponse) Descriptor ¶
func (*AuctionsByOwnerResponse) Descriptor() ([]byte, []int)
func (*AuctionsByOwnerResponse) GetAuctions ¶
func (m *AuctionsByOwnerResponse) GetAuctions() *Auctions
func (*AuctionsByOwnerResponse) Marshal ¶
func (m *AuctionsByOwnerResponse) Marshal() (dAtA []byte, err error)
func (*AuctionsByOwnerResponse) MarshalTo ¶
func (m *AuctionsByOwnerResponse) MarshalTo(dAtA []byte) (int, error)
func (*AuctionsByOwnerResponse) MarshalToSizedBuffer ¶
func (m *AuctionsByOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuctionsByOwnerResponse) ProtoMessage ¶
func (*AuctionsByOwnerResponse) ProtoMessage()
func (*AuctionsByOwnerResponse) Reset ¶
func (m *AuctionsByOwnerResponse) Reset()
func (*AuctionsByOwnerResponse) Size ¶
func (m *AuctionsByOwnerResponse) Size() (n int)
func (*AuctionsByOwnerResponse) String ¶
func (m *AuctionsByOwnerResponse) String() string
func (*AuctionsByOwnerResponse) Unmarshal ¶
func (m *AuctionsByOwnerResponse) Unmarshal(dAtA []byte) error
func (*AuctionsByOwnerResponse) XXX_DiscardUnknown ¶
func (m *AuctionsByOwnerResponse) XXX_DiscardUnknown()
func (*AuctionsByOwnerResponse) XXX_Marshal ¶
func (m *AuctionsByOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionsByOwnerResponse) XXX_Merge ¶
func (m *AuctionsByOwnerResponse) XXX_Merge(src proto.Message)
func (*AuctionsByOwnerResponse) XXX_Size ¶
func (m *AuctionsByOwnerResponse) XXX_Size() int
func (*AuctionsByOwnerResponse) XXX_Unmarshal ¶
func (m *AuctionsByOwnerResponse) XXX_Unmarshal(b []byte) error
type AuctionsRequest ¶
type AuctionsRequest struct { // pagination defines an optional pagination info for the next request Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
AuctionsRequest is the format for querying all the auctions
func (*AuctionsRequest) Descriptor ¶
func (*AuctionsRequest) Descriptor() ([]byte, []int)
func (*AuctionsRequest) GetPagination ¶
func (m *AuctionsRequest) GetPagination() *query.PageRequest
func (*AuctionsRequest) Marshal ¶
func (m *AuctionsRequest) Marshal() (dAtA []byte, err error)
func (*AuctionsRequest) MarshalToSizedBuffer ¶
func (m *AuctionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuctionsRequest) ProtoMessage ¶
func (*AuctionsRequest) ProtoMessage()
func (*AuctionsRequest) Reset ¶
func (m *AuctionsRequest) Reset()
func (*AuctionsRequest) Size ¶
func (m *AuctionsRequest) Size() (n int)
func (*AuctionsRequest) String ¶
func (m *AuctionsRequest) String() string
func (*AuctionsRequest) Unmarshal ¶
func (m *AuctionsRequest) Unmarshal(dAtA []byte) error
func (*AuctionsRequest) XXX_DiscardUnknown ¶
func (m *AuctionsRequest) XXX_DiscardUnknown()
func (*AuctionsRequest) XXX_Marshal ¶
func (m *AuctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionsRequest) XXX_Merge ¶
func (m *AuctionsRequest) XXX_Merge(src proto.Message)
func (*AuctionsRequest) XXX_Size ¶
func (m *AuctionsRequest) XXX_Size() int
func (*AuctionsRequest) XXX_Unmarshal ¶
func (m *AuctionsRequest) XXX_Unmarshal(b []byte) error
type AuctionsResponse ¶
type AuctionsResponse struct { // List of auctions Auctions *Auctions `protobuf:"bytes,1,opt,name=auctions,proto3" json:"auctions,omitempty"` // pagination defines an optional pagination info for the next request Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
AuctionsResponse returns the list of all auctions
func (*AuctionsResponse) Descriptor ¶
func (*AuctionsResponse) Descriptor() ([]byte, []int)
func (*AuctionsResponse) GetAuctions ¶
func (m *AuctionsResponse) GetAuctions() *Auctions
func (*AuctionsResponse) GetPagination ¶
func (m *AuctionsResponse) GetPagination() *query.PageRequest
func (*AuctionsResponse) Marshal ¶
func (m *AuctionsResponse) Marshal() (dAtA []byte, err error)
func (*AuctionsResponse) MarshalToSizedBuffer ¶
func (m *AuctionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuctionsResponse) ProtoMessage ¶
func (*AuctionsResponse) ProtoMessage()
func (*AuctionsResponse) Reset ¶
func (m *AuctionsResponse) Reset()
func (*AuctionsResponse) Size ¶
func (m *AuctionsResponse) Size() (n int)
func (*AuctionsResponse) String ¶
func (m *AuctionsResponse) String() string
func (*AuctionsResponse) Unmarshal ¶
func (m *AuctionsResponse) Unmarshal(dAtA []byte) error
func (*AuctionsResponse) XXX_DiscardUnknown ¶
func (m *AuctionsResponse) XXX_DiscardUnknown()
func (*AuctionsResponse) XXX_Marshal ¶
func (m *AuctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionsResponse) XXX_Merge ¶
func (m *AuctionsResponse) XXX_Merge(src proto.Message)
func (*AuctionsResponse) XXX_Size ¶
func (m *AuctionsResponse) XXX_Size() int
func (*AuctionsResponse) XXX_Unmarshal ¶
func (m *AuctionsResponse) XXX_Unmarshal(b []byte) error
type BalanceRequest ¶
type BalanceRequest struct { }
BalanceRequest is the format to fetch all balances
func (*BalanceRequest) Descriptor ¶
func (*BalanceRequest) Descriptor() ([]byte, []int)
func (*BalanceRequest) Marshal ¶
func (m *BalanceRequest) Marshal() (dAtA []byte, err error)
func (*BalanceRequest) MarshalToSizedBuffer ¶
func (m *BalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BalanceRequest) ProtoMessage ¶
func (*BalanceRequest) ProtoMessage()
func (*BalanceRequest) Reset ¶
func (m *BalanceRequest) Reset()
func (*BalanceRequest) Size ¶
func (m *BalanceRequest) Size() (n int)
func (*BalanceRequest) String ¶
func (m *BalanceRequest) String() string
func (*BalanceRequest) Unmarshal ¶
func (m *BalanceRequest) Unmarshal(dAtA []byte) error
func (*BalanceRequest) XXX_DiscardUnknown ¶
func (m *BalanceRequest) XXX_DiscardUnknown()
func (*BalanceRequest) XXX_Marshal ¶
func (m *BalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BalanceRequest) XXX_Merge ¶
func (m *BalanceRequest) XXX_Merge(src proto.Message)
func (*BalanceRequest) XXX_Size ¶
func (m *BalanceRequest) XXX_Size() int
func (*BalanceRequest) XXX_Unmarshal ¶
func (m *BalanceRequest) XXX_Unmarshal(b []byte) error
type BalanceResponse ¶
type BalanceResponse struct { // Set of all balances within the auction Balance []types.Coin `protobuf:"bytes,1,rep,name=balance,proto3" json:"balance"` }
func (*BalanceResponse) Descriptor ¶
func (*BalanceResponse) Descriptor() ([]byte, []int)
func (*BalanceResponse) GetBalance ¶
func (m *BalanceResponse) GetBalance() []types.Coin
func (*BalanceResponse) Marshal ¶
func (m *BalanceResponse) Marshal() (dAtA []byte, err error)
func (*BalanceResponse) MarshalToSizedBuffer ¶
func (m *BalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BalanceResponse) ProtoMessage ¶
func (*BalanceResponse) ProtoMessage()
func (*BalanceResponse) Reset ¶
func (m *BalanceResponse) Reset()
func (*BalanceResponse) Size ¶
func (m *BalanceResponse) Size() (n int)
func (*BalanceResponse) String ¶
func (m *BalanceResponse) String() string
func (*BalanceResponse) Unmarshal ¶
func (m *BalanceResponse) Unmarshal(dAtA []byte) error
func (*BalanceResponse) XXX_DiscardUnknown ¶
func (m *BalanceResponse) XXX_DiscardUnknown()
func (*BalanceResponse) XXX_Marshal ¶
func (m *BalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BalanceResponse) XXX_Merge ¶
func (m *BalanceResponse) XXX_Merge(src proto.Message)
func (*BalanceResponse) XXX_Size ¶
func (m *BalanceResponse) XXX_Size() int
func (*BalanceResponse) XXX_Unmarshal ¶
func (m *BalanceResponse) XXX_Unmarshal(b []byte) error
type Bid ¶
type Bid struct { AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` BidderAddress string `protobuf:"bytes,2,opt,name=bidder_address,json=bidderAddress,proto3" json:"bidder_address,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` CommitHash string `protobuf:"bytes,4,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"` CommitTime time.Time `` /* 127-byte string literal not displayed */ CommitFee types.Coin `protobuf:"bytes,6,opt,name=commit_fee,json=commitFee,proto3" json:"commit_fee" json:"commit_fee" yaml:"commit_fee"` RevealTime time.Time `` /* 127-byte string literal not displayed */ RevealFee types.Coin `protobuf:"bytes,8,opt,name=reveal_fee,json=revealFee,proto3" json:"reveal_fee" json:"reveal_fee" yaml:"reveal_fee"` BidAmount types.Coin `protobuf:"bytes,9,opt,name=bid_amount,json=bidAmount,proto3" json:"bid_amount" json:"bid_amount" yaml:"bid_amount"` }
Bid represents a sealed bid (commit) made during the auction
func (*Bid) Descriptor ¶
func (Bid) GetCommitTime ¶
func (Bid) GetRevealTime ¶
func (*Bid) ProtoMessage ¶
func (*Bid) ProtoMessage()
func (*Bid) XXX_DiscardUnknown ¶
func (m *Bid) XXX_DiscardUnknown()
func (*Bid) XXX_Unmarshal ¶
type BidRequest ¶
type BidRequest struct { // Auction ID AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` // Bidder address Bidder string `protobuf:"bytes,2,opt,name=bidder,proto3" json:"bidder,omitempty"` }
BidRequest is the format for querying a specific bid in an auction
func (*BidRequest) Descriptor ¶
func (*BidRequest) Descriptor() ([]byte, []int)
func (*BidRequest) GetAuctionId ¶
func (m *BidRequest) GetAuctionId() string
func (*BidRequest) GetBidder ¶
func (m *BidRequest) GetBidder() string
func (*BidRequest) Marshal ¶
func (m *BidRequest) Marshal() (dAtA []byte, err error)
func (*BidRequest) MarshalToSizedBuffer ¶
func (m *BidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BidRequest) ProtoMessage ¶
func (*BidRequest) ProtoMessage()
func (*BidRequest) Reset ¶
func (m *BidRequest) Reset()
func (*BidRequest) Size ¶
func (m *BidRequest) Size() (n int)
func (*BidRequest) String ¶
func (m *BidRequest) String() string
func (*BidRequest) Unmarshal ¶
func (m *BidRequest) Unmarshal(dAtA []byte) error
func (*BidRequest) XXX_DiscardUnknown ¶
func (m *BidRequest) XXX_DiscardUnknown()
func (*BidRequest) XXX_Marshal ¶
func (m *BidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BidRequest) XXX_Merge ¶
func (m *BidRequest) XXX_Merge(src proto.Message)
func (*BidRequest) XXX_Size ¶
func (m *BidRequest) XXX_Size() int
func (*BidRequest) XXX_Unmarshal ¶
func (m *BidRequest) XXX_Unmarshal(b []byte) error
type BidResponse ¶
type BidResponse struct { // Bid details Bid *Bid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty"` }
BidResponse returns the details of the queried bid
func (*BidResponse) Descriptor ¶
func (*BidResponse) Descriptor() ([]byte, []int)
func (*BidResponse) GetBid ¶
func (m *BidResponse) GetBid() *Bid
func (*BidResponse) Marshal ¶
func (m *BidResponse) Marshal() (dAtA []byte, err error)
func (*BidResponse) MarshalToSizedBuffer ¶
func (m *BidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BidResponse) ProtoMessage ¶
func (*BidResponse) ProtoMessage()
func (*BidResponse) Reset ¶
func (m *BidResponse) Reset()
func (*BidResponse) Size ¶
func (m *BidResponse) Size() (n int)
func (*BidResponse) String ¶
func (m *BidResponse) String() string
func (*BidResponse) Unmarshal ¶
func (m *BidResponse) Unmarshal(dAtA []byte) error
func (*BidResponse) XXX_DiscardUnknown ¶
func (m *BidResponse) XXX_DiscardUnknown()
func (*BidResponse) XXX_Marshal ¶
func (m *BidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BidResponse) XXX_Merge ¶
func (m *BidResponse) XXX_Merge(src proto.Message)
func (*BidResponse) XXX_Size ¶
func (m *BidResponse) XXX_Size() int
func (*BidResponse) XXX_Unmarshal ¶
func (m *BidResponse) XXX_Unmarshal(b []byte) error
type BidsRequest ¶
type BidsRequest struct { // Auction ID AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` }
BidsRequest is the format for querying all bids in an auction
func (*BidsRequest) Descriptor ¶
func (*BidsRequest) Descriptor() ([]byte, []int)
func (*BidsRequest) GetAuctionId ¶
func (m *BidsRequest) GetAuctionId() string
func (*BidsRequest) Marshal ¶
func (m *BidsRequest) Marshal() (dAtA []byte, err error)
func (*BidsRequest) MarshalToSizedBuffer ¶
func (m *BidsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BidsRequest) ProtoMessage ¶
func (*BidsRequest) ProtoMessage()
func (*BidsRequest) Reset ¶
func (m *BidsRequest) Reset()
func (*BidsRequest) Size ¶
func (m *BidsRequest) Size() (n int)
func (*BidsRequest) String ¶
func (m *BidsRequest) String() string
func (*BidsRequest) Unmarshal ¶
func (m *BidsRequest) Unmarshal(dAtA []byte) error
func (*BidsRequest) XXX_DiscardUnknown ¶
func (m *BidsRequest) XXX_DiscardUnknown()
func (*BidsRequest) XXX_Marshal ¶
func (m *BidsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BidsRequest) XXX_Merge ¶
func (m *BidsRequest) XXX_Merge(src proto.Message)
func (*BidsRequest) XXX_Size ¶
func (m *BidsRequest) XXX_Size() int
func (*BidsRequest) XXX_Unmarshal ¶
func (m *BidsRequest) XXX_Unmarshal(b []byte) error
type BidsResponse ¶
type BidsResponse struct { // List of bids in the auction Bids []*Bid `protobuf:"bytes,1,rep,name=bids,proto3" json:"bids,omitempty"` }
BidsResponse returns details of all bids in an auction
func (*BidsResponse) Descriptor ¶
func (*BidsResponse) Descriptor() ([]byte, []int)
func (*BidsResponse) GetBids ¶
func (m *BidsResponse) GetBids() []*Bid
func (*BidsResponse) Marshal ¶
func (m *BidsResponse) Marshal() (dAtA []byte, err error)
func (*BidsResponse) MarshalToSizedBuffer ¶
func (m *BidsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BidsResponse) ProtoMessage ¶
func (*BidsResponse) ProtoMessage()
func (*BidsResponse) Reset ¶
func (m *BidsResponse) Reset()
func (*BidsResponse) Size ¶
func (m *BidsResponse) Size() (n int)
func (*BidsResponse) String ¶
func (m *BidsResponse) String() string
func (*BidsResponse) Unmarshal ¶
func (m *BidsResponse) Unmarshal(dAtA []byte) error
func (*BidsResponse) XXX_DiscardUnknown ¶
func (m *BidsResponse) XXX_DiscardUnknown()
func (*BidsResponse) XXX_Marshal ¶
func (m *BidsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BidsResponse) XXX_Merge ¶
func (m *BidsResponse) XXX_Merge(src proto.Message)
func (*BidsResponse) XXX_Size ¶
func (m *BidsResponse) XXX_Size() int
func (*BidsResponse) XXX_Unmarshal ¶
func (m *BidsResponse) XXX_Unmarshal(b []byte) error
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" json:"bonds" yaml:"bonds"` }
GenesisState defines the genesis state of the auction module
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState sets default evm genesis state with empty accounts and default params and chain config values.
func NewGenesisState ¶ added in v0.7.0
func NewGenesisState(params Params, auctions []*Auction) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAuctions ¶
func (m *GenesisState) GetAuctions() []*Auction
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) 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 { // CreateAuction is the command for creating an auction CreateAuction(ctx context.Context, in *MsgCreateAuction, opts ...grpc.CallOption) (*MsgCreateAuctionResponse, error) // CommitBid is the command for committing a bid CommitBid(ctx context.Context, in *MsgCommitBid, opts ...grpc.CallOption) (*MsgCommitBidResponse, error) // RevealBid is the command for revealing a bid RevealBid(ctx context.Context, in *MsgRevealBid, opts ...grpc.CallOption) (*MsgRevealBidResponse, 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 MsgCommitBid ¶
type MsgCommitBid struct { // Auction ID AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" json:"auction_id" yaml:"auction_id"` // Commit Hash CommitHash string `` /* 129-byte string literal not displayed */ // Address of the signer Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty" json:"signer" yaml:"signer"` }
CommitBid defines the message to commit a bid
func NewMsgCommitBid ¶
func NewMsgCommitBid(auctionID string, commitHash string, signer sdk.AccAddress) MsgCommitBid
NewMsgCommitBid is the constructor function for MsgCommitBid.
func (*MsgCommitBid) Descriptor ¶
func (*MsgCommitBid) Descriptor() ([]byte, []int)
func (MsgCommitBid) GetSignBytes ¶
func (msg MsgCommitBid) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgCommitBid) GetSigners ¶
func (msg MsgCommitBid) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgCommitBid) Marshal ¶
func (m *MsgCommitBid) Marshal() (dAtA []byte, err error)
func (*MsgCommitBid) MarshalToSizedBuffer ¶
func (m *MsgCommitBid) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommitBid) ProtoMessage ¶
func (*MsgCommitBid) ProtoMessage()
func (*MsgCommitBid) Reset ¶
func (m *MsgCommitBid) Reset()
func (*MsgCommitBid) Size ¶
func (m *MsgCommitBid) Size() (n int)
func (*MsgCommitBid) String ¶
func (m *MsgCommitBid) String() string
func (*MsgCommitBid) Unmarshal ¶
func (m *MsgCommitBid) Unmarshal(dAtA []byte) error
func (MsgCommitBid) ValidateBasic ¶
func (msg MsgCommitBid) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgCommitBid) XXX_DiscardUnknown ¶
func (m *MsgCommitBid) XXX_DiscardUnknown()
func (*MsgCommitBid) XXX_Marshal ¶
func (m *MsgCommitBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommitBid) XXX_Merge ¶
func (m *MsgCommitBid) XXX_Merge(src proto.Message)
func (*MsgCommitBid) XXX_Size ¶
func (m *MsgCommitBid) XXX_Size() int
func (*MsgCommitBid) XXX_Unmarshal ¶
func (m *MsgCommitBid) XXX_Unmarshal(b []byte) error
type MsgCommitBidResponse ¶
type MsgCommitBidResponse struct { // Auction details Bid *Bid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty" json:"bid" yaml:"bid"` }
MsgCommitBidResponse returns the state of the auction after the bid creation
func (*MsgCommitBidResponse) Descriptor ¶
func (*MsgCommitBidResponse) Descriptor() ([]byte, []int)
func (*MsgCommitBidResponse) Marshal ¶
func (m *MsgCommitBidResponse) Marshal() (dAtA []byte, err error)
func (*MsgCommitBidResponse) MarshalTo ¶
func (m *MsgCommitBidResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCommitBidResponse) MarshalToSizedBuffer ¶
func (m *MsgCommitBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCommitBidResponse) ProtoMessage ¶
func (*MsgCommitBidResponse) ProtoMessage()
func (*MsgCommitBidResponse) Reset ¶
func (m *MsgCommitBidResponse) Reset()
func (*MsgCommitBidResponse) Size ¶
func (m *MsgCommitBidResponse) Size() (n int)
func (*MsgCommitBidResponse) String ¶
func (m *MsgCommitBidResponse) String() string
func (*MsgCommitBidResponse) Unmarshal ¶
func (m *MsgCommitBidResponse) Unmarshal(dAtA []byte) error
func (*MsgCommitBidResponse) XXX_DiscardUnknown ¶
func (m *MsgCommitBidResponse) XXX_DiscardUnknown()
func (*MsgCommitBidResponse) XXX_Marshal ¶
func (m *MsgCommitBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCommitBidResponse) XXX_Merge ¶
func (m *MsgCommitBidResponse) XXX_Merge(src proto.Message)
func (*MsgCommitBidResponse) XXX_Size ¶
func (m *MsgCommitBidResponse) XXX_Size() int
func (*MsgCommitBidResponse) XXX_Unmarshal ¶
func (m *MsgCommitBidResponse) XXX_Unmarshal(b []byte) error
type MsgCreateAuction ¶
type MsgCreateAuction struct { // Duration of the commits phase in seconds CommitsDuration time.Duration `` /* 156-byte string literal not displayed */ // Duration of the reveals phase in seconds RevealsDuration time.Duration `` /* 156-byte string literal not displayed */ // Commit fees CommitFee types.Coin `protobuf:"bytes,3,opt,name=commit_fee,json=commitFee,proto3" json:"commit_fee" json:"commit_fee" yaml:"commit_fee"` // Reveal fees RevealFee types.Coin `protobuf:"bytes,4,opt,name=reveal_fee,json=revealFee,proto3" json:"reveal_fee" json:"reveal_fee" yaml:"reveal_fee"` // Minimum acceptable bid amount MinimumBid types.Coin `protobuf:"bytes,5,opt,name=minimum_bid,json=minimumBid,proto3" json:"minimum_bid" json:"minimum_bid" yaml:"minimum_bid"` // Address of the signer Signer string `protobuf:"bytes,6,opt,name=signer,proto3" json:"signer,omitempty" json:"signer" yaml:"signer"` }
MsgCreateAuction defines a create auction message
func NewMsgCreateAuction ¶
func NewMsgCreateAuction(params Params, signer sdk.AccAddress) MsgCreateAuction
NewMsgCreateAuction is the constructor function for MsgCreateAuction.
func (*MsgCreateAuction) Descriptor ¶
func (*MsgCreateAuction) Descriptor() ([]byte, []int)
func (MsgCreateAuction) GetSignBytes ¶
func (msg MsgCreateAuction) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgCreateAuction) GetSigners ¶
func (msg MsgCreateAuction) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgCreateAuction) Marshal ¶
func (m *MsgCreateAuction) Marshal() (dAtA []byte, err error)
func (*MsgCreateAuction) MarshalToSizedBuffer ¶
func (m *MsgCreateAuction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateAuction) ProtoMessage ¶
func (*MsgCreateAuction) ProtoMessage()
func (*MsgCreateAuction) Reset ¶
func (m *MsgCreateAuction) Reset()
func (*MsgCreateAuction) Size ¶
func (m *MsgCreateAuction) Size() (n int)
func (*MsgCreateAuction) String ¶
func (m *MsgCreateAuction) String() string
func (*MsgCreateAuction) Unmarshal ¶
func (m *MsgCreateAuction) Unmarshal(dAtA []byte) error
func (MsgCreateAuction) ValidateBasic ¶
func (msg MsgCreateAuction) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgCreateAuction) XXX_DiscardUnknown ¶
func (m *MsgCreateAuction) XXX_DiscardUnknown()
func (*MsgCreateAuction) XXX_Marshal ¶
func (m *MsgCreateAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateAuction) XXX_Merge ¶
func (m *MsgCreateAuction) XXX_Merge(src proto.Message)
func (*MsgCreateAuction) XXX_Size ¶
func (m *MsgCreateAuction) XXX_Size() int
func (*MsgCreateAuction) XXX_Unmarshal ¶
func (m *MsgCreateAuction) XXX_Unmarshal(b []byte) error
type MsgCreateAuctionResponse ¶
type MsgCreateAuctionResponse struct { // Auction details Auction *Auction `protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty" json:"auction" yaml:"auction"` }
MsgCreateAuctionResponse returns the details of the created auction
func (*MsgCreateAuctionResponse) Descriptor ¶
func (*MsgCreateAuctionResponse) Descriptor() ([]byte, []int)
func (*MsgCreateAuctionResponse) Marshal ¶
func (m *MsgCreateAuctionResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateAuctionResponse) MarshalTo ¶
func (m *MsgCreateAuctionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateAuctionResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateAuctionResponse) ProtoMessage ¶
func (*MsgCreateAuctionResponse) ProtoMessage()
func (*MsgCreateAuctionResponse) Reset ¶
func (m *MsgCreateAuctionResponse) Reset()
func (*MsgCreateAuctionResponse) Size ¶
func (m *MsgCreateAuctionResponse) Size() (n int)
func (*MsgCreateAuctionResponse) String ¶
func (m *MsgCreateAuctionResponse) String() string
func (*MsgCreateAuctionResponse) Unmarshal ¶
func (m *MsgCreateAuctionResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateAuctionResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateAuctionResponse) XXX_DiscardUnknown()
func (*MsgCreateAuctionResponse) XXX_Marshal ¶
func (m *MsgCreateAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateAuctionResponse) XXX_Merge ¶
func (m *MsgCreateAuctionResponse) XXX_Merge(src proto.Message)
func (*MsgCreateAuctionResponse) XXX_Size ¶
func (m *MsgCreateAuctionResponse) XXX_Size() int
func (*MsgCreateAuctionResponse) XXX_Unmarshal ¶
func (m *MsgCreateAuctionResponse) XXX_Unmarshal(b []byte) error
type MsgRevealBid ¶
type MsgRevealBid struct { // Auction ID AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" json:"auction_id" yaml:"auction_id"` // Commit Hash Reveal string `protobuf:"bytes,2,opt,name=reveal,proto3" json:"reveal,omitempty" json:"reveal" yaml:"reveal"` // Address of the signer Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty" json:"signer" yaml:"signer"` }
RevealBid defines the message to reveal a bid
func NewMsgRevealBid ¶
func NewMsgRevealBid(auctionID string, reveal string, signer sdk.AccAddress) MsgRevealBid
NewMsgRevealBid is the constructor function for MsgRevealBid.
func (*MsgRevealBid) Descriptor ¶
func (*MsgRevealBid) Descriptor() ([]byte, []int)
func (MsgRevealBid) GetSignBytes ¶
func (msg MsgRevealBid) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgRevealBid) GetSigners ¶
func (msg MsgRevealBid) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgRevealBid) Marshal ¶
func (m *MsgRevealBid) Marshal() (dAtA []byte, err error)
func (*MsgRevealBid) MarshalToSizedBuffer ¶
func (m *MsgRevealBid) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevealBid) ProtoMessage ¶
func (*MsgRevealBid) ProtoMessage()
func (*MsgRevealBid) Reset ¶
func (m *MsgRevealBid) Reset()
func (*MsgRevealBid) Size ¶
func (m *MsgRevealBid) Size() (n int)
func (*MsgRevealBid) String ¶
func (m *MsgRevealBid) String() string
func (*MsgRevealBid) Unmarshal ¶
func (m *MsgRevealBid) Unmarshal(dAtA []byte) error
func (MsgRevealBid) ValidateBasic ¶
func (msg MsgRevealBid) ValidateBasic() error
ValidateBasic Implements Msg.
func (*MsgRevealBid) XXX_DiscardUnknown ¶
func (m *MsgRevealBid) XXX_DiscardUnknown()
func (*MsgRevealBid) XXX_Marshal ¶
func (m *MsgRevealBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevealBid) XXX_Merge ¶
func (m *MsgRevealBid) XXX_Merge(src proto.Message)
func (*MsgRevealBid) XXX_Size ¶
func (m *MsgRevealBid) XXX_Size() int
func (*MsgRevealBid) XXX_Unmarshal ¶
func (m *MsgRevealBid) XXX_Unmarshal(b []byte) error
type MsgRevealBidResponse ¶
type MsgRevealBidResponse struct { // Auction details Auction *Auction `protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty" json:"auction" yaml:"auction"` }
MsgRevealBidResponse returns the state of the auction after the bid reveal
func (*MsgRevealBidResponse) Descriptor ¶
func (*MsgRevealBidResponse) Descriptor() ([]byte, []int)
func (*MsgRevealBidResponse) Marshal ¶
func (m *MsgRevealBidResponse) Marshal() (dAtA []byte, err error)
func (*MsgRevealBidResponse) MarshalTo ¶
func (m *MsgRevealBidResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevealBidResponse) MarshalToSizedBuffer ¶
func (m *MsgRevealBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevealBidResponse) ProtoMessage ¶
func (*MsgRevealBidResponse) ProtoMessage()
func (*MsgRevealBidResponse) Reset ¶
func (m *MsgRevealBidResponse) Reset()
func (*MsgRevealBidResponse) Size ¶
func (m *MsgRevealBidResponse) Size() (n int)
func (*MsgRevealBidResponse) String ¶
func (m *MsgRevealBidResponse) String() string
func (*MsgRevealBidResponse) Unmarshal ¶
func (m *MsgRevealBidResponse) Unmarshal(dAtA []byte) error
func (*MsgRevealBidResponse) XXX_DiscardUnknown ¶
func (m *MsgRevealBidResponse) XXX_DiscardUnknown()
func (*MsgRevealBidResponse) XXX_Marshal ¶
func (m *MsgRevealBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevealBidResponse) XXX_Merge ¶
func (m *MsgRevealBidResponse) XXX_Merge(src proto.Message)
func (*MsgRevealBidResponse) XXX_Size ¶
func (m *MsgRevealBidResponse) XXX_Size() int
func (*MsgRevealBidResponse) XXX_Unmarshal ¶
func (m *MsgRevealBidResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // CreateAuction is the command for creating an auction CreateAuction(context.Context, *MsgCreateAuction) (*MsgCreateAuctionResponse, error) // CommitBid is the command for committing a bid CommitBid(context.Context, *MsgCommitBid) (*MsgCommitBidResponse, error) // RevealBid is the command for revealing a bid RevealBid(context.Context, *MsgRevealBid) (*MsgRevealBidResponse, error) }
MsgServer is the server API for Msg service.
type Params ¶
type Params struct { // Duration of the commits phase in seconds CommitsDuration time.Duration `` /* 156-byte string literal not displayed */ // Duration of the reveals phase in seconds RevealsDuration time.Duration `` /* 156-byte string literal not displayed */ // Commit fees CommitFee types.Coin `protobuf:"bytes,3,opt,name=commit_fee,json=commitFee,proto3" json:"commit_fee" json:"commit_fee" yaml:"commit_fee"` // Reveal fees RevealFee types.Coin `protobuf:"bytes,4,opt,name=reveal_fee,json=revealFee,proto3" json:"reveal_fee" json:"reveal_fee" yaml:"reveal_fee"` // Minimum acceptable bid amount MinimumBid types.Coin `protobuf:"bytes,5,opt,name=minimum_bid,json=minimumBid,proto3" json:"minimum_bid" json:"minimum_bid" yaml:"minimum_bid"` }
Params defines the auction module parameters
func (*Params) Descriptor ¶
func (*Params) GetCommitFee ¶
func (*Params) GetCommitsDuration ¶
func (*Params) GetMinimumBid ¶
func (*Params) GetRevealFee ¶
func (*Params) GetRevealsDuration ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() types.ParamSetPairs
ParamSetPairs - implements params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Auctions queries all auctions Auctions(ctx context.Context, in *AuctionsRequest, opts ...grpc.CallOption) (*AuctionsResponse, error) // GetAuction queries an auction GetAuction(ctx context.Context, in *AuctionRequest, opts ...grpc.CallOption) (*AuctionResponse, error) // GetBid queries an auction bid GetBid(ctx context.Context, in *BidRequest, opts ...grpc.CallOption) (*BidResponse, error) // GetBids queries all auction bids GetBids(ctx context.Context, in *BidsRequest, opts ...grpc.CallOption) (*BidsResponse, error) // AuctionsByBidder queries auctions by bidder AuctionsByBidder(ctx context.Context, in *AuctionsByBidderRequest, opts ...grpc.CallOption) (*AuctionsByBidderResponse, error) // AuctionsByOwner queries auctions by owner AuctionsByOwner(ctx context.Context, in *AuctionsByOwnerRequest, opts ...grpc.CallOption) (*AuctionsByOwnerResponse, error) // QueryParams implements the params query command QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Balance queries the auction module account balance Balance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, 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 QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the format to query the parameters of the auction module
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,omitempty"`
}
QueryParamsResponse returns parameters of the auction module
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 { // Auctions queries all auctions Auctions(context.Context, *AuctionsRequest) (*AuctionsResponse, error) // GetAuction queries an auction GetAuction(context.Context, *AuctionRequest) (*AuctionResponse, error) // GetBid queries an auction bid GetBid(context.Context, *BidRequest) (*BidResponse, error) // GetBids queries all auction bids GetBids(context.Context, *BidsRequest) (*BidsResponse, error) // AuctionsByBidder queries auctions by bidder AuctionsByBidder(context.Context, *AuctionsByBidderRequest) (*AuctionsByBidderResponse, error) // AuctionsByOwner queries auctions by owner AuctionsByOwner(context.Context, *AuctionsByOwnerRequest) (*AuctionsByOwnerResponse, error) // QueryParams implements the params query command QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Balance queries the auction module account balance Balance(context.Context, *BalanceRequest) (*BalanceResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CommitBid ¶
func (*UnimplementedMsgServer) CommitBid(ctx context.Context, req *MsgCommitBid) (*MsgCommitBidResponse, error)
func (*UnimplementedMsgServer) CreateAuction ¶
func (*UnimplementedMsgServer) CreateAuction(ctx context.Context, req *MsgCreateAuction) (*MsgCreateAuctionResponse, error)
func (*UnimplementedMsgServer) RevealBid ¶
func (*UnimplementedMsgServer) RevealBid(ctx context.Context, req *MsgRevealBid) (*MsgRevealBidResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Auctions ¶
func (*UnimplementedQueryServer) Auctions(ctx context.Context, req *AuctionsRequest) (*AuctionsResponse, error)
func (*UnimplementedQueryServer) AuctionsByBidder ¶
func (*UnimplementedQueryServer) AuctionsByBidder(ctx context.Context, req *AuctionsByBidderRequest) (*AuctionsByBidderResponse, error)
func (*UnimplementedQueryServer) AuctionsByOwner ¶
func (*UnimplementedQueryServer) AuctionsByOwner(ctx context.Context, req *AuctionsByOwnerRequest) (*AuctionsByOwnerResponse, error)
func (*UnimplementedQueryServer) Balance ¶
func (*UnimplementedQueryServer) Balance(ctx context.Context, req *BalanceRequest) (*BalanceResponse, error)
func (*UnimplementedQueryServer) GetAuction ¶
func (*UnimplementedQueryServer) GetAuction(ctx context.Context, req *AuctionRequest) (*AuctionResponse, error)
func (*UnimplementedQueryServer) GetBid ¶
func (*UnimplementedQueryServer) GetBid(ctx context.Context, req *BidRequest) (*BidResponse, error)
func (*UnimplementedQueryServer) GetBids ¶
func (*UnimplementedQueryServer) GetBids(ctx context.Context, req *BidsRequest) (*BidsResponse, error)
func (*UnimplementedQueryServer) QueryParams ¶
func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)