Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- 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 (this *Auction) Equal(that interface{}) bool
- 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 Bid
- func (*Bid) Descriptor() ([]byte, []int)
- func (this *Bid) Equal(that interface{}) bool
- 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 GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAuctions() []Auction
- func (m *GenesisState) GetBids() []Bid
- func (m *GenesisState) GetLastAuctionId() uint64
- 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 MsgCancelAuction
- func (*MsgCancelAuction) Descriptor() ([]byte, []int)
- func (this *MsgCancelAuction) Equal(that interface{}) bool
- func (m *MsgCancelAuction) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelAuction) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelAuction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelAuction) ProtoMessage()
- func (m *MsgCancelAuction) Reset()
- func (m *MsgCancelAuction) Size() (n int)
- func (m *MsgCancelAuction) String() string
- func (m *MsgCancelAuction) Unmarshal(dAtA []byte) error
- func (m *MsgCancelAuction) XXX_DiscardUnknown()
- func (m *MsgCancelAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelAuction) XXX_Merge(src proto.Message)
- func (m *MsgCancelAuction) XXX_Size() int
- func (m *MsgCancelAuction) XXX_Unmarshal(b []byte) error
- type MsgCancelAuctionResponse
- func (*MsgCancelAuctionResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelAuctionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelAuctionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelAuctionResponse) ProtoMessage()
- func (m *MsgCancelAuctionResponse) Reset()
- func (m *MsgCancelAuctionResponse) Size() (n int)
- func (m *MsgCancelAuctionResponse) String() string
- func (m *MsgCancelAuctionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelAuctionResponse) XXX_DiscardUnknown()
- func (m *MsgCancelAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelAuctionResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelAuctionResponse) XXX_Size() int
- func (m *MsgCancelAuctionResponse) XXX_Unmarshal(b []byte) error
- type MsgCancelBid
- func (*MsgCancelBid) Descriptor() ([]byte, []int)
- func (this *MsgCancelBid) Equal(that interface{}) bool
- func (m *MsgCancelBid) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelBid) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelBid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelBid) ProtoMessage()
- func (m *MsgCancelBid) Reset()
- func (m *MsgCancelBid) Size() (n int)
- func (m *MsgCancelBid) String() string
- func (m *MsgCancelBid) Unmarshal(dAtA []byte) error
- func (m *MsgCancelBid) XXX_DiscardUnknown()
- func (m *MsgCancelBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelBid) XXX_Merge(src proto.Message)
- func (m *MsgCancelBid) XXX_Size() int
- func (m *MsgCancelBid) XXX_Unmarshal(b []byte) error
- type MsgCancelBidResponse
- func (*MsgCancelBidResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelBidResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelBidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelBidResponse) ProtoMessage()
- func (m *MsgCancelBidResponse) Reset()
- func (m *MsgCancelBidResponse) Size() (n int)
- func (m *MsgCancelBidResponse) String() string
- func (m *MsgCancelBidResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelBidResponse) XXX_DiscardUnknown()
- func (m *MsgCancelBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelBidResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelBidResponse) XXX_Size() int
- func (m *MsgCancelBidResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgEditAuction
- func (*MsgEditAuction) Descriptor() ([]byte, []int)
- func (this *MsgEditAuction) Equal(that interface{}) bool
- func (m *MsgEditAuction) Marshal() (dAtA []byte, err error)
- func (m *MsgEditAuction) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditAuction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditAuction) ProtoMessage()
- func (m *MsgEditAuction) Reset()
- func (m *MsgEditAuction) Size() (n int)
- func (m *MsgEditAuction) String() string
- func (m *MsgEditAuction) Unmarshal(dAtA []byte) error
- func (m *MsgEditAuction) XXX_DiscardUnknown()
- func (m *MsgEditAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditAuction) XXX_Merge(src proto.Message)
- func (m *MsgEditAuction) XXX_Size() int
- func (m *MsgEditAuction) XXX_Unmarshal(b []byte) error
- type MsgEditAuctionResponse
- func (*MsgEditAuctionResponse) Descriptor() ([]byte, []int)
- func (m *MsgEditAuctionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEditAuctionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditAuctionResponse) ProtoMessage()
- func (m *MsgEditAuctionResponse) Reset()
- func (m *MsgEditAuctionResponse) Size() (n int)
- func (m *MsgEditAuctionResponse) String() string
- func (m *MsgEditAuctionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEditAuctionResponse) XXX_DiscardUnknown()
- func (m *MsgEditAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditAuctionResponse) XXX_Merge(src proto.Message)
- func (m *MsgEditAuctionResponse) XXX_Size() int
- func (m *MsgEditAuctionResponse) XXX_Unmarshal(b []byte) error
- type MsgOpenAuction
- func (*MsgOpenAuction) Descriptor() ([]byte, []int)
- func (this *MsgOpenAuction) Equal(that interface{}) bool
- func (m *MsgOpenAuction) Marshal() (dAtA []byte, err error)
- func (m *MsgOpenAuction) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOpenAuction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOpenAuction) ProtoMessage()
- func (m *MsgOpenAuction) Reset()
- func (m *MsgOpenAuction) Size() (n int)
- func (m *MsgOpenAuction) String() string
- func (m *MsgOpenAuction) Unmarshal(dAtA []byte) error
- func (m *MsgOpenAuction) XXX_DiscardUnknown()
- func (m *MsgOpenAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOpenAuction) XXX_Merge(src proto.Message)
- func (m *MsgOpenAuction) XXX_Size() int
- func (m *MsgOpenAuction) XXX_Unmarshal(b []byte) error
- type MsgOpenAuctionResponse
- func (*MsgOpenAuctionResponse) Descriptor() ([]byte, []int)
- func (m *MsgOpenAuctionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgOpenAuctionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOpenAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOpenAuctionResponse) ProtoMessage()
- func (m *MsgOpenAuctionResponse) Reset()
- func (m *MsgOpenAuctionResponse) Size() (n int)
- func (m *MsgOpenAuctionResponse) String() string
- func (m *MsgOpenAuctionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgOpenAuctionResponse) XXX_DiscardUnknown()
- func (m *MsgOpenAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOpenAuctionResponse) XXX_Merge(src proto.Message)
- func (m *MsgOpenAuctionResponse) XXX_Size() int
- func (m *MsgOpenAuctionResponse) XXX_Unmarshal(b []byte) error
- type MsgOpenBid
- func (*MsgOpenBid) Descriptor() ([]byte, []int)
- func (this *MsgOpenBid) Equal(that interface{}) bool
- func (m *MsgOpenBid) Marshal() (dAtA []byte, err error)
- func (m *MsgOpenBid) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOpenBid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOpenBid) ProtoMessage()
- func (m *MsgOpenBid) Reset()
- func (m *MsgOpenBid) Size() (n int)
- func (m *MsgOpenBid) String() string
- func (m *MsgOpenBid) Unmarshal(dAtA []byte) error
- func (m *MsgOpenBid) XXX_DiscardUnknown()
- func (m *MsgOpenBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOpenBid) XXX_Merge(src proto.Message)
- func (m *MsgOpenBid) XXX_Size() int
- func (m *MsgOpenBid) XXX_Unmarshal(b []byte) error
- type MsgOpenBidResponse
- func (*MsgOpenBidResponse) Descriptor() ([]byte, []int)
- func (m *MsgOpenBidResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgOpenBidResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOpenBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOpenBidResponse) ProtoMessage()
- func (m *MsgOpenBidResponse) Reset()
- func (m *MsgOpenBidResponse) Size() (n int)
- func (m *MsgOpenBidResponse) String() string
- func (m *MsgOpenBidResponse) Unmarshal(dAtA []byte) error
- func (m *MsgOpenBidResponse) XXX_DiscardUnknown()
- func (m *MsgOpenBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOpenBidResponse) XXX_Merge(src proto.Message)
- func (m *MsgOpenBidResponse) XXX_Size() int
- func (m *MsgOpenBidResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgWithdraw
- func (*MsgWithdraw) Descriptor() ([]byte, []int)
- func (this *MsgWithdraw) Equal(that interface{}) bool
- func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdraw) ProtoMessage()
- func (m *MsgWithdraw) Reset()
- func (m *MsgWithdraw) Size() (n int)
- func (m *MsgWithdraw) String() string
- func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
- func (m *MsgWithdraw) XXX_DiscardUnknown()
- func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdraw) XXX_Merge(src proto.Message)
- func (m *MsgWithdraw) XXX_Size() int
- func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error
- type MsgWithdrawResponse
- func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawResponse) ProtoMessage()
- func (m *MsgWithdrawResponse) Reset()
- func (m *MsgWithdrawResponse) Size() (n int)
- func (m *MsgWithdrawResponse) String() string
- func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawResponse) XXX_Size() int
- func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error
- type QueryAllAuctionsRequest
- func (*QueryAllAuctionsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllAuctionsRequest) GetPagination() *query.PageRequest
- func (m *QueryAllAuctionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllAuctionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllAuctionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllAuctionsRequest) ProtoMessage()
- func (m *QueryAllAuctionsRequest) Reset()
- func (m *QueryAllAuctionsRequest) Size() (n int)
- func (m *QueryAllAuctionsRequest) String() string
- func (m *QueryAllAuctionsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllAuctionsRequest) XXX_DiscardUnknown()
- func (m *QueryAllAuctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllAuctionsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllAuctionsRequest) XXX_Size() int
- func (m *QueryAllAuctionsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllAuctionsResponse
- func (*QueryAllAuctionsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllAuctionsResponse) GetAuctions() []Auction
- func (m *QueryAllAuctionsResponse) GetPagination() *query.PageResponse
- func (m *QueryAllAuctionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllAuctionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllAuctionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllAuctionsResponse) ProtoMessage()
- func (m *QueryAllAuctionsResponse) Reset()
- func (m *QueryAllAuctionsResponse) Size() (n int)
- func (m *QueryAllAuctionsResponse) String() string
- func (m *QueryAllAuctionsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllAuctionsResponse) XXX_DiscardUnknown()
- func (m *QueryAllAuctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllAuctionsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllAuctionsResponse) XXX_Size() int
- func (m *QueryAllAuctionsResponse) XXX_Unmarshal(b []byte) error
- type QueryAuctionRequest
- func (*QueryAuctionRequest) Descriptor() ([]byte, []int)
- func (m *QueryAuctionRequest) GetId() uint64
- func (m *QueryAuctionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAuctionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAuctionRequest) ProtoMessage()
- func (m *QueryAuctionRequest) Reset()
- func (m *QueryAuctionRequest) Size() (n int)
- func (m *QueryAuctionRequest) String() string
- func (m *QueryAuctionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAuctionRequest) XXX_DiscardUnknown()
- func (m *QueryAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAuctionRequest) XXX_Merge(src proto.Message)
- func (m *QueryAuctionRequest) XXX_Size() int
- func (m *QueryAuctionRequest) XXX_Unmarshal(b []byte) error
- type QueryAuctionResponse
- func (*QueryAuctionResponse) Descriptor() ([]byte, []int)
- func (m *QueryAuctionResponse) GetAuction() *Auction
- func (m *QueryAuctionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAuctionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAuctionResponse) ProtoMessage()
- func (m *QueryAuctionResponse) Reset()
- func (m *QueryAuctionResponse) Size() (n int)
- func (m *QueryAuctionResponse) String() string
- func (m *QueryAuctionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAuctionResponse) XXX_DiscardUnknown()
- func (m *QueryAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAuctionResponse) XXX_Merge(src proto.Message)
- func (m *QueryAuctionResponse) XXX_Size() int
- func (m *QueryAuctionResponse) XXX_Unmarshal(b []byte) error
- type QueryAuctionsByOwnerRequest
- func (*QueryAuctionsByOwnerRequest) Descriptor() ([]byte, []int)
- func (m *QueryAuctionsByOwnerRequest) GetOwner() string
- func (m *QueryAuctionsByOwnerRequest) GetPagination() *query.PageRequest
- func (m *QueryAuctionsByOwnerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAuctionsByOwnerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAuctionsByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAuctionsByOwnerRequest) ProtoMessage()
- func (m *QueryAuctionsByOwnerRequest) Reset()
- func (m *QueryAuctionsByOwnerRequest) Size() (n int)
- func (m *QueryAuctionsByOwnerRequest) String() string
- func (m *QueryAuctionsByOwnerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAuctionsByOwnerRequest) XXX_DiscardUnknown()
- func (m *QueryAuctionsByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAuctionsByOwnerRequest) XXX_Merge(src proto.Message)
- func (m *QueryAuctionsByOwnerRequest) XXX_Size() int
- func (m *QueryAuctionsByOwnerRequest) XXX_Unmarshal(b []byte) error
- type QueryAuctionsByOwnerResponse
- func (*QueryAuctionsByOwnerResponse) Descriptor() ([]byte, []int)
- func (m *QueryAuctionsByOwnerResponse) GetAuctions() []Auction
- func (m *QueryAuctionsByOwnerResponse) GetPagination() *query.PageResponse
- func (m *QueryAuctionsByOwnerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAuctionsByOwnerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAuctionsByOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAuctionsByOwnerResponse) ProtoMessage()
- func (m *QueryAuctionsByOwnerResponse) Reset()
- func (m *QueryAuctionsByOwnerResponse) Size() (n int)
- func (m *QueryAuctionsByOwnerResponse) String() string
- func (m *QueryAuctionsByOwnerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAuctionsByOwnerResponse) XXX_DiscardUnknown()
- func (m *QueryAuctionsByOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAuctionsByOwnerResponse) XXX_Merge(src proto.Message)
- func (m *QueryAuctionsByOwnerResponse) XXX_Size() int
- func (m *QueryAuctionsByOwnerResponse) XXX_Unmarshal(b []byte) error
- type QueryBidsRequest
- func (*QueryBidsRequest) Descriptor() ([]byte, []int)
- func (m *QueryBidsRequest) GetAuctionId() uint64
- func (m *QueryBidsRequest) GetPagination() *query.PageRequest
- func (m *QueryBidsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBidsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBidsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBidsRequest) ProtoMessage()
- func (m *QueryBidsRequest) Reset()
- func (m *QueryBidsRequest) Size() (n int)
- func (m *QueryBidsRequest) String() string
- func (m *QueryBidsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBidsRequest) XXX_DiscardUnknown()
- func (m *QueryBidsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBidsRequest) XXX_Merge(src proto.Message)
- func (m *QueryBidsRequest) XXX_Size() int
- func (m *QueryBidsRequest) XXX_Unmarshal(b []byte) error
- type QueryBidsResponse
- func (*QueryBidsResponse) Descriptor() ([]byte, []int)
- func (m *QueryBidsResponse) GetBids() []Bid
- func (m *QueryBidsResponse) GetPagination() *query.PageResponse
- func (m *QueryBidsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBidsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBidsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBidsResponse) ProtoMessage()
- func (m *QueryBidsResponse) Reset()
- func (m *QueryBidsResponse) Size() (n int)
- func (m *QueryBidsResponse) String() string
- func (m *QueryBidsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBidsResponse) XXX_DiscardUnknown()
- func (m *QueryBidsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBidsResponse) XXX_Merge(src proto.Message)
- func (m *QueryBidsResponse) XXX_Size() int
- func (m *QueryBidsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelAuction(ctx context.Context, req *MsgCancelAuction) (*MsgCancelAuctionResponse, error)
- func (*UnimplementedMsgServer) CancelBid(ctx context.Context, req *MsgCancelBid) (*MsgCancelBidResponse, error)
- func (*UnimplementedMsgServer) EditAuction(ctx context.Context, req *MsgEditAuction) (*MsgEditAuctionResponse, error)
- func (*UnimplementedMsgServer) OpenAuction(ctx context.Context, req *MsgOpenAuction) (*MsgOpenAuctionResponse, error)
- func (*UnimplementedMsgServer) OpenBid(ctx context.Context, req *MsgOpenBid) (*MsgOpenBidResponse, error)
- func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllAuctions(ctx context.Context, req *QueryAllAuctionsRequest) (*QueryAllAuctionsResponse, error)
- func (*UnimplementedQueryServer) Auction(ctx context.Context, req *QueryAuctionRequest) (*QueryAuctionResponse, error)
- func (*UnimplementedQueryServer) AuctionsByOwner(ctx context.Context, req *QueryAuctionsByOwnerRequest) (*QueryAuctionsByOwnerResponse, error)
- func (*UnimplementedQueryServer) Bids(ctx context.Context, req *QueryBidsRequest) (*QueryBidsResponse, error)
Constants ¶
This section is empty.
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 ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
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 uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` AuctionType uint32 `protobuf:"varint,2,opt,name=auction_type,json=auctionType,proto3" json:"auction_type,omitempty"` NftId string `protobuf:"bytes,3,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"` StartTime uint64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" yaml:"start_time"` Duration uint64 `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty" yaml:"duration"` MinAmount types.Coin `protobuf:"bytes,6,opt,name=min_amount,json=minAmount,proto3" json:"min_amount" yaml:"min_amount"` Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` Limit uint32 `protobuf:"varint,8,opt,name=limit,proto3" json:"limit,omitempty"` }
Auction defines auction properties
func (*Auction) Descriptor ¶
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 Bid ¶
type Bid struct { AuctionId uint64 `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" yaml:"auction_id"` Bidder string `protobuf:"bytes,2,opt,name=bidder,proto3" json:"bidder,omitempty"` BidAmount types.Coin `protobuf:"bytes,3,opt,name=bid_amount,json=bidAmount,proto3" json:"bid_amount" yaml:"bid_amount"` }
Bid defines auction bidder and its amount
func (*Bid) Descriptor ¶
func (*Bid) ProtoMessage ¶
func (*Bid) ProtoMessage()
func (*Bid) XXX_DiscardUnknown ¶
func (m *Bid) XXX_DiscardUnknown()
func (*Bid) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { LastAuctionId uint64 `` /* 126-byte string literal not displayed */ Auctions []Auction `protobuf:"bytes,2,rep,name=auctions,proto3" json:"auctions"` Bids []Bid `protobuf:"bytes,3,rep,name=bids,proto3" json:"bids"` }
GenesisState defines the auction module's genesis state
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() uint64
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 MsgCancelAuction ¶
type MsgCancelAuction struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` }
MsgCancelAuction defines an SDK message for cancelling an Auction.
func (*MsgCancelAuction) Descriptor ¶
func (*MsgCancelAuction) Descriptor() ([]byte, []int)
func (*MsgCancelAuction) Equal ¶
func (this *MsgCancelAuction) Equal(that interface{}) bool
func (*MsgCancelAuction) Marshal ¶
func (m *MsgCancelAuction) Marshal() (dAtA []byte, err error)
func (*MsgCancelAuction) MarshalToSizedBuffer ¶
func (m *MsgCancelAuction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelAuction) ProtoMessage ¶
func (*MsgCancelAuction) ProtoMessage()
func (*MsgCancelAuction) Reset ¶
func (m *MsgCancelAuction) Reset()
func (*MsgCancelAuction) Size ¶
func (m *MsgCancelAuction) Size() (n int)
func (*MsgCancelAuction) String ¶
func (m *MsgCancelAuction) String() string
func (*MsgCancelAuction) Unmarshal ¶
func (m *MsgCancelAuction) Unmarshal(dAtA []byte) error
func (*MsgCancelAuction) XXX_DiscardUnknown ¶
func (m *MsgCancelAuction) XXX_DiscardUnknown()
func (*MsgCancelAuction) XXX_Marshal ¶
func (m *MsgCancelAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelAuction) XXX_Merge ¶
func (m *MsgCancelAuction) XXX_Merge(src proto.Message)
func (*MsgCancelAuction) XXX_Size ¶
func (m *MsgCancelAuction) XXX_Size() int
func (*MsgCancelAuction) XXX_Unmarshal ¶
func (m *MsgCancelAuction) XXX_Unmarshal(b []byte) error
type MsgCancelAuctionResponse ¶
type MsgCancelAuctionResponse struct { }
MsgCancelAuctionResponse defines the Msg/CancelAuction response type.
func (*MsgCancelAuctionResponse) Descriptor ¶
func (*MsgCancelAuctionResponse) Descriptor() ([]byte, []int)
func (*MsgCancelAuctionResponse) Marshal ¶
func (m *MsgCancelAuctionResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelAuctionResponse) MarshalTo ¶
func (m *MsgCancelAuctionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelAuctionResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelAuctionResponse) ProtoMessage ¶
func (*MsgCancelAuctionResponse) ProtoMessage()
func (*MsgCancelAuctionResponse) Reset ¶
func (m *MsgCancelAuctionResponse) Reset()
func (*MsgCancelAuctionResponse) Size ¶
func (m *MsgCancelAuctionResponse) Size() (n int)
func (*MsgCancelAuctionResponse) String ¶
func (m *MsgCancelAuctionResponse) String() string
func (*MsgCancelAuctionResponse) Unmarshal ¶
func (m *MsgCancelAuctionResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelAuctionResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelAuctionResponse) XXX_DiscardUnknown()
func (*MsgCancelAuctionResponse) XXX_Marshal ¶
func (m *MsgCancelAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelAuctionResponse) XXX_Merge ¶
func (m *MsgCancelAuctionResponse) XXX_Merge(src proto.Message)
func (*MsgCancelAuctionResponse) XXX_Size ¶
func (m *MsgCancelAuctionResponse) XXX_Size() int
func (*MsgCancelAuctionResponse) XXX_Unmarshal ¶
func (m *MsgCancelAuctionResponse) XXX_Unmarshal(b []byte) error
type MsgCancelBid ¶
type MsgCancelBid struct { AuctionId uint64 `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" yaml:"auction_id"` Bidder string `protobuf:"bytes,2,opt,name=bidder,proto3" json:"bidder,omitempty"` }
MsgCancelBid defines an SDK message for cancelling a bid.
func (*MsgCancelBid) Descriptor ¶
func (*MsgCancelBid) Descriptor() ([]byte, []int)
func (*MsgCancelBid) Equal ¶
func (this *MsgCancelBid) Equal(that interface{}) bool
func (*MsgCancelBid) Marshal ¶
func (m *MsgCancelBid) Marshal() (dAtA []byte, err error)
func (*MsgCancelBid) MarshalToSizedBuffer ¶
func (m *MsgCancelBid) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelBid) ProtoMessage ¶
func (*MsgCancelBid) ProtoMessage()
func (*MsgCancelBid) Reset ¶
func (m *MsgCancelBid) Reset()
func (*MsgCancelBid) Size ¶
func (m *MsgCancelBid) Size() (n int)
func (*MsgCancelBid) String ¶
func (m *MsgCancelBid) String() string
func (*MsgCancelBid) Unmarshal ¶
func (m *MsgCancelBid) Unmarshal(dAtA []byte) error
func (*MsgCancelBid) XXX_DiscardUnknown ¶
func (m *MsgCancelBid) XXX_DiscardUnknown()
func (*MsgCancelBid) XXX_Marshal ¶
func (m *MsgCancelBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelBid) XXX_Merge ¶
func (m *MsgCancelBid) XXX_Merge(src proto.Message)
func (*MsgCancelBid) XXX_Size ¶
func (m *MsgCancelBid) XXX_Size() int
func (*MsgCancelBid) XXX_Unmarshal ¶
func (m *MsgCancelBid) XXX_Unmarshal(b []byte) error
type MsgCancelBidResponse ¶
type MsgCancelBidResponse struct { }
MsgCancelBidResponse defines the Msg/CancelBid response type.
func (*MsgCancelBidResponse) Descriptor ¶
func (*MsgCancelBidResponse) Descriptor() ([]byte, []int)
func (*MsgCancelBidResponse) Marshal ¶
func (m *MsgCancelBidResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelBidResponse) MarshalTo ¶
func (m *MsgCancelBidResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelBidResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelBidResponse) ProtoMessage ¶
func (*MsgCancelBidResponse) ProtoMessage()
func (*MsgCancelBidResponse) Reset ¶
func (m *MsgCancelBidResponse) Reset()
func (*MsgCancelBidResponse) Size ¶
func (m *MsgCancelBidResponse) Size() (n int)
func (*MsgCancelBidResponse) String ¶
func (m *MsgCancelBidResponse) String() string
func (*MsgCancelBidResponse) Unmarshal ¶
func (m *MsgCancelBidResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelBidResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelBidResponse) XXX_DiscardUnknown()
func (*MsgCancelBidResponse) XXX_Marshal ¶
func (m *MsgCancelBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelBidResponse) XXX_Merge ¶
func (m *MsgCancelBidResponse) XXX_Merge(src proto.Message)
func (*MsgCancelBidResponse) XXX_Size ¶
func (m *MsgCancelBidResponse) XXX_Size() int
func (*MsgCancelBidResponse) XXX_Unmarshal ¶
func (m *MsgCancelBidResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // OpenAuction defines a method for opening an auction OpenAuction(ctx context.Context, in *MsgOpenAuction, opts ...grpc.CallOption) (*MsgOpenAuctionResponse, error) // EditAuction defines a method for editting an auction EditAuction(ctx context.Context, in *MsgEditAuction, opts ...grpc.CallOption) (*MsgEditAuctionResponse, error) // CancelAuction defines a method for cancelling an auction CancelAuction(ctx context.Context, in *MsgCancelAuction, opts ...grpc.CallOption) (*MsgCancelAuctionResponse, error) // OpenBid defines a method for opening a bid for an auction OpenBid(ctx context.Context, in *MsgOpenBid, opts ...grpc.CallOption) (*MsgOpenBidResponse, error) // CancelBid defines a method for cancelling a bid for an auction CancelBid(ctx context.Context, in *MsgCancelBid, opts ...grpc.CallOption) (*MsgCancelBidResponse, error) // Withdraw defines a method for withdrawing nft for an auction winner Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, 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 MsgEditAuction ¶
type MsgEditAuction struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Duration uint64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` }
MsgEditAuction defines an SDK message for editing an Auction.
func (*MsgEditAuction) Descriptor ¶
func (*MsgEditAuction) Descriptor() ([]byte, []int)
func (*MsgEditAuction) Equal ¶
func (this *MsgEditAuction) Equal(that interface{}) bool
func (*MsgEditAuction) Marshal ¶
func (m *MsgEditAuction) Marshal() (dAtA []byte, err error)
func (*MsgEditAuction) MarshalToSizedBuffer ¶
func (m *MsgEditAuction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditAuction) ProtoMessage ¶
func (*MsgEditAuction) ProtoMessage()
func (*MsgEditAuction) Reset ¶
func (m *MsgEditAuction) Reset()
func (*MsgEditAuction) Size ¶
func (m *MsgEditAuction) Size() (n int)
func (*MsgEditAuction) String ¶
func (m *MsgEditAuction) String() string
func (*MsgEditAuction) Unmarshal ¶
func (m *MsgEditAuction) Unmarshal(dAtA []byte) error
func (*MsgEditAuction) XXX_DiscardUnknown ¶
func (m *MsgEditAuction) XXX_DiscardUnknown()
func (*MsgEditAuction) XXX_Marshal ¶
func (m *MsgEditAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditAuction) XXX_Merge ¶
func (m *MsgEditAuction) XXX_Merge(src proto.Message)
func (*MsgEditAuction) XXX_Size ¶
func (m *MsgEditAuction) XXX_Size() int
func (*MsgEditAuction) XXX_Unmarshal ¶
func (m *MsgEditAuction) XXX_Unmarshal(b []byte) error
type MsgEditAuctionResponse ¶
type MsgEditAuctionResponse struct { }
MsgEditAuctionResponse defines the Msg/EditAuction response type.
func (*MsgEditAuctionResponse) Descriptor ¶
func (*MsgEditAuctionResponse) Descriptor() ([]byte, []int)
func (*MsgEditAuctionResponse) Marshal ¶
func (m *MsgEditAuctionResponse) Marshal() (dAtA []byte, err error)
func (*MsgEditAuctionResponse) MarshalTo ¶
func (m *MsgEditAuctionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEditAuctionResponse) MarshalToSizedBuffer ¶
func (m *MsgEditAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditAuctionResponse) ProtoMessage ¶
func (*MsgEditAuctionResponse) ProtoMessage()
func (*MsgEditAuctionResponse) Reset ¶
func (m *MsgEditAuctionResponse) Reset()
func (*MsgEditAuctionResponse) Size ¶
func (m *MsgEditAuctionResponse) Size() (n int)
func (*MsgEditAuctionResponse) String ¶
func (m *MsgEditAuctionResponse) String() string
func (*MsgEditAuctionResponse) Unmarshal ¶
func (m *MsgEditAuctionResponse) Unmarshal(dAtA []byte) error
func (*MsgEditAuctionResponse) XXX_DiscardUnknown ¶
func (m *MsgEditAuctionResponse) XXX_DiscardUnknown()
func (*MsgEditAuctionResponse) XXX_Marshal ¶
func (m *MsgEditAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditAuctionResponse) XXX_Merge ¶
func (m *MsgEditAuctionResponse) XXX_Merge(src proto.Message)
func (*MsgEditAuctionResponse) XXX_Size ¶
func (m *MsgEditAuctionResponse) XXX_Size() int
func (*MsgEditAuctionResponse) XXX_Unmarshal ¶
func (m *MsgEditAuctionResponse) XXX_Unmarshal(b []byte) error
type MsgOpenAuction ¶
type MsgOpenAuction struct { AuctionType uint32 `protobuf:"varint,1,opt,name=auction_type,json=auctionType,proto3" json:"auction_type,omitempty" yaml:"auction_type"` NftId string `protobuf:"bytes,2,opt,name=nft_id,json=nftId,proto3" json:"nft_id,omitempty"` Duration uint64 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` MinAmount types.Coin `protobuf:"bytes,4,opt,name=min_amount,json=minAmount,proto3" json:"min_amount" yaml:"min_amount"` Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` Limit uint32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` }
MsgOpenAuction defines an SDK message for creating a new Auction.
func (*MsgOpenAuction) Descriptor ¶
func (*MsgOpenAuction) Descriptor() ([]byte, []int)
func (*MsgOpenAuction) Equal ¶
func (this *MsgOpenAuction) Equal(that interface{}) bool
func (*MsgOpenAuction) Marshal ¶
func (m *MsgOpenAuction) Marshal() (dAtA []byte, err error)
func (*MsgOpenAuction) MarshalToSizedBuffer ¶
func (m *MsgOpenAuction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOpenAuction) ProtoMessage ¶
func (*MsgOpenAuction) ProtoMessage()
func (*MsgOpenAuction) Reset ¶
func (m *MsgOpenAuction) Reset()
func (*MsgOpenAuction) Size ¶
func (m *MsgOpenAuction) Size() (n int)
func (*MsgOpenAuction) String ¶
func (m *MsgOpenAuction) String() string
func (*MsgOpenAuction) Unmarshal ¶
func (m *MsgOpenAuction) Unmarshal(dAtA []byte) error
func (*MsgOpenAuction) XXX_DiscardUnknown ¶
func (m *MsgOpenAuction) XXX_DiscardUnknown()
func (*MsgOpenAuction) XXX_Marshal ¶
func (m *MsgOpenAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOpenAuction) XXX_Merge ¶
func (m *MsgOpenAuction) XXX_Merge(src proto.Message)
func (*MsgOpenAuction) XXX_Size ¶
func (m *MsgOpenAuction) XXX_Size() int
func (*MsgOpenAuction) XXX_Unmarshal ¶
func (m *MsgOpenAuction) XXX_Unmarshal(b []byte) error
type MsgOpenAuctionResponse ¶
type MsgOpenAuctionResponse struct { }
MsgOpenAuctionResponse defines the Msg/OpenAuction response type.
func (*MsgOpenAuctionResponse) Descriptor ¶
func (*MsgOpenAuctionResponse) Descriptor() ([]byte, []int)
func (*MsgOpenAuctionResponse) Marshal ¶
func (m *MsgOpenAuctionResponse) Marshal() (dAtA []byte, err error)
func (*MsgOpenAuctionResponse) MarshalTo ¶
func (m *MsgOpenAuctionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgOpenAuctionResponse) MarshalToSizedBuffer ¶
func (m *MsgOpenAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOpenAuctionResponse) ProtoMessage ¶
func (*MsgOpenAuctionResponse) ProtoMessage()
func (*MsgOpenAuctionResponse) Reset ¶
func (m *MsgOpenAuctionResponse) Reset()
func (*MsgOpenAuctionResponse) Size ¶
func (m *MsgOpenAuctionResponse) Size() (n int)
func (*MsgOpenAuctionResponse) String ¶
func (m *MsgOpenAuctionResponse) String() string
func (*MsgOpenAuctionResponse) Unmarshal ¶
func (m *MsgOpenAuctionResponse) Unmarshal(dAtA []byte) error
func (*MsgOpenAuctionResponse) XXX_DiscardUnknown ¶
func (m *MsgOpenAuctionResponse) XXX_DiscardUnknown()
func (*MsgOpenAuctionResponse) XXX_Marshal ¶
func (m *MsgOpenAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOpenAuctionResponse) XXX_Merge ¶
func (m *MsgOpenAuctionResponse) XXX_Merge(src proto.Message)
func (*MsgOpenAuctionResponse) XXX_Size ¶
func (m *MsgOpenAuctionResponse) XXX_Size() int
func (*MsgOpenAuctionResponse) XXX_Unmarshal ¶
func (m *MsgOpenAuctionResponse) XXX_Unmarshal(b []byte) error
type MsgOpenBid ¶
type MsgOpenBid struct { AuctionId uint64 `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" yaml:"auction_id"` Bidder string `protobuf:"bytes,2,opt,name=bidder,proto3" json:"bidder,omitempty"` BidAmount types.Coin `protobuf:"bytes,3,opt,name=bid_amount,json=bidAmount,proto3" json:"bid_amount" yaml:"bid_amount"` }
MsgOpenBid defines an SDK message for creating a new bid.
func (*MsgOpenBid) Descriptor ¶
func (*MsgOpenBid) Descriptor() ([]byte, []int)
func (*MsgOpenBid) Equal ¶
func (this *MsgOpenBid) Equal(that interface{}) bool
func (*MsgOpenBid) Marshal ¶
func (m *MsgOpenBid) Marshal() (dAtA []byte, err error)
func (*MsgOpenBid) MarshalToSizedBuffer ¶
func (m *MsgOpenBid) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOpenBid) ProtoMessage ¶
func (*MsgOpenBid) ProtoMessage()
func (*MsgOpenBid) Reset ¶
func (m *MsgOpenBid) Reset()
func (*MsgOpenBid) Size ¶
func (m *MsgOpenBid) Size() (n int)
func (*MsgOpenBid) String ¶
func (m *MsgOpenBid) String() string
func (*MsgOpenBid) Unmarshal ¶
func (m *MsgOpenBid) Unmarshal(dAtA []byte) error
func (*MsgOpenBid) XXX_DiscardUnknown ¶
func (m *MsgOpenBid) XXX_DiscardUnknown()
func (*MsgOpenBid) XXX_Marshal ¶
func (m *MsgOpenBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOpenBid) XXX_Merge ¶
func (m *MsgOpenBid) XXX_Merge(src proto.Message)
func (*MsgOpenBid) XXX_Size ¶
func (m *MsgOpenBid) XXX_Size() int
func (*MsgOpenBid) XXX_Unmarshal ¶
func (m *MsgOpenBid) XXX_Unmarshal(b []byte) error
type MsgOpenBidResponse ¶
type MsgOpenBidResponse struct { }
MsgOpenBidResponse defines the Msg/OpenBid response type.
func (*MsgOpenBidResponse) Descriptor ¶
func (*MsgOpenBidResponse) Descriptor() ([]byte, []int)
func (*MsgOpenBidResponse) Marshal ¶
func (m *MsgOpenBidResponse) Marshal() (dAtA []byte, err error)
func (*MsgOpenBidResponse) MarshalTo ¶
func (m *MsgOpenBidResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgOpenBidResponse) MarshalToSizedBuffer ¶
func (m *MsgOpenBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOpenBidResponse) ProtoMessage ¶
func (*MsgOpenBidResponse) ProtoMessage()
func (*MsgOpenBidResponse) Reset ¶
func (m *MsgOpenBidResponse) Reset()
func (*MsgOpenBidResponse) Size ¶
func (m *MsgOpenBidResponse) Size() (n int)
func (*MsgOpenBidResponse) String ¶
func (m *MsgOpenBidResponse) String() string
func (*MsgOpenBidResponse) Unmarshal ¶
func (m *MsgOpenBidResponse) Unmarshal(dAtA []byte) error
func (*MsgOpenBidResponse) XXX_DiscardUnknown ¶
func (m *MsgOpenBidResponse) XXX_DiscardUnknown()
func (*MsgOpenBidResponse) XXX_Marshal ¶
func (m *MsgOpenBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOpenBidResponse) XXX_Merge ¶
func (m *MsgOpenBidResponse) XXX_Merge(src proto.Message)
func (*MsgOpenBidResponse) XXX_Size ¶
func (m *MsgOpenBidResponse) XXX_Size() int
func (*MsgOpenBidResponse) XXX_Unmarshal ¶
func (m *MsgOpenBidResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // OpenAuction defines a method for opening an auction OpenAuction(context.Context, *MsgOpenAuction) (*MsgOpenAuctionResponse, error) // EditAuction defines a method for editting an auction EditAuction(context.Context, *MsgEditAuction) (*MsgEditAuctionResponse, error) // CancelAuction defines a method for cancelling an auction CancelAuction(context.Context, *MsgCancelAuction) (*MsgCancelAuctionResponse, error) // OpenBid defines a method for opening a bid for an auction OpenBid(context.Context, *MsgOpenBid) (*MsgOpenBidResponse, error) // CancelBid defines a method for cancelling a bid for an auction CancelBid(context.Context, *MsgCancelBid) (*MsgCancelBidResponse, error) // Withdraw defines a method for withdrawing nft for an auction winner Withdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error) }
MsgServer is the server API for Msg service.
type MsgWithdraw ¶
type MsgWithdraw struct { AuctionId uint64 `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" yaml:"auction_id"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` }
MsgWithdraw defines an SDK message for withdraw.
func (*MsgWithdraw) Descriptor ¶
func (*MsgWithdraw) Descriptor() ([]byte, []int)
func (*MsgWithdraw) Equal ¶
func (this *MsgWithdraw) Equal(that interface{}) bool
func (*MsgWithdraw) Marshal ¶
func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
func (*MsgWithdraw) MarshalToSizedBuffer ¶
func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdraw) ProtoMessage ¶
func (*MsgWithdraw) ProtoMessage()
func (*MsgWithdraw) Reset ¶
func (m *MsgWithdraw) Reset()
func (*MsgWithdraw) Size ¶
func (m *MsgWithdraw) Size() (n int)
func (*MsgWithdraw) String ¶
func (m *MsgWithdraw) String() string
func (*MsgWithdraw) Unmarshal ¶
func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
func (*MsgWithdraw) XXX_DiscardUnknown ¶
func (m *MsgWithdraw) XXX_DiscardUnknown()
func (*MsgWithdraw) XXX_Marshal ¶
func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdraw) XXX_Merge ¶
func (m *MsgWithdraw) XXX_Merge(src proto.Message)
func (*MsgWithdraw) XXX_Size ¶
func (m *MsgWithdraw) XXX_Size() int
func (*MsgWithdraw) XXX_Unmarshal ¶
func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error
type MsgWithdrawResponse ¶
type MsgWithdrawResponse struct { }
MsgWithdrawResponse defines the Msg/Withdraw response type.
func (*MsgWithdrawResponse) Descriptor ¶
func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawResponse) Marshal ¶
func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawResponse) MarshalTo ¶
func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawResponse) ProtoMessage ¶
func (*MsgWithdrawResponse) ProtoMessage()
func (*MsgWithdrawResponse) Reset ¶
func (m *MsgWithdrawResponse) Reset()
func (*MsgWithdrawResponse) Size ¶
func (m *MsgWithdrawResponse) Size() (n int)
func (*MsgWithdrawResponse) String ¶
func (m *MsgWithdrawResponse) String() string
func (*MsgWithdrawResponse) Unmarshal ¶
func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawResponse) XXX_DiscardUnknown()
func (*MsgWithdrawResponse) XXX_Marshal ¶
func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawResponse) XXX_Merge ¶
func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawResponse) XXX_Size ¶
func (m *MsgWithdrawResponse) XXX_Size() int
func (*MsgWithdrawResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error
type QueryAllAuctionsRequest ¶
type QueryAllAuctionsRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAllAuctionsRequest is the request type for the Query/AllAuctions RPC method
func (*QueryAllAuctionsRequest) Descriptor ¶
func (*QueryAllAuctionsRequest) Descriptor() ([]byte, []int)
func (*QueryAllAuctionsRequest) GetPagination ¶
func (m *QueryAllAuctionsRequest) GetPagination() *query.PageRequest
func (*QueryAllAuctionsRequest) Marshal ¶
func (m *QueryAllAuctionsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllAuctionsRequest) MarshalTo ¶
func (m *QueryAllAuctionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllAuctionsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllAuctionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllAuctionsRequest) ProtoMessage ¶
func (*QueryAllAuctionsRequest) ProtoMessage()
func (*QueryAllAuctionsRequest) Reset ¶
func (m *QueryAllAuctionsRequest) Reset()
func (*QueryAllAuctionsRequest) Size ¶
func (m *QueryAllAuctionsRequest) Size() (n int)
func (*QueryAllAuctionsRequest) String ¶
func (m *QueryAllAuctionsRequest) String() string
func (*QueryAllAuctionsRequest) Unmarshal ¶
func (m *QueryAllAuctionsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllAuctionsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllAuctionsRequest) XXX_DiscardUnknown()
func (*QueryAllAuctionsRequest) XXX_Marshal ¶
func (m *QueryAllAuctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllAuctionsRequest) XXX_Merge ¶
func (m *QueryAllAuctionsRequest) XXX_Merge(src proto.Message)
func (*QueryAllAuctionsRequest) XXX_Size ¶
func (m *QueryAllAuctionsRequest) XXX_Size() int
func (*QueryAllAuctionsRequest) XXX_Unmarshal ¶
func (m *QueryAllAuctionsRequest) XXX_Unmarshal(b []byte) error
type QueryAllAuctionsResponse ¶
type QueryAllAuctionsResponse struct { Auctions []Auction `protobuf:"bytes,1,rep,name=auctions,proto3" json:"auctions"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAllAuctionsResponse is the response type for the Query/AllAuctions RPC method
func (*QueryAllAuctionsResponse) Descriptor ¶
func (*QueryAllAuctionsResponse) Descriptor() ([]byte, []int)
func (*QueryAllAuctionsResponse) GetAuctions ¶
func (m *QueryAllAuctionsResponse) GetAuctions() []Auction
func (*QueryAllAuctionsResponse) GetPagination ¶
func (m *QueryAllAuctionsResponse) GetPagination() *query.PageResponse
func (*QueryAllAuctionsResponse) Marshal ¶
func (m *QueryAllAuctionsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllAuctionsResponse) MarshalTo ¶
func (m *QueryAllAuctionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllAuctionsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllAuctionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllAuctionsResponse) ProtoMessage ¶
func (*QueryAllAuctionsResponse) ProtoMessage()
func (*QueryAllAuctionsResponse) Reset ¶
func (m *QueryAllAuctionsResponse) Reset()
func (*QueryAllAuctionsResponse) Size ¶
func (m *QueryAllAuctionsResponse) Size() (n int)
func (*QueryAllAuctionsResponse) String ¶
func (m *QueryAllAuctionsResponse) String() string
func (*QueryAllAuctionsResponse) Unmarshal ¶
func (m *QueryAllAuctionsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllAuctionsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllAuctionsResponse) XXX_DiscardUnknown()
func (*QueryAllAuctionsResponse) XXX_Marshal ¶
func (m *QueryAllAuctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllAuctionsResponse) XXX_Merge ¶
func (m *QueryAllAuctionsResponse) XXX_Merge(src proto.Message)
func (*QueryAllAuctionsResponse) XXX_Size ¶
func (m *QueryAllAuctionsResponse) XXX_Size() int
func (*QueryAllAuctionsResponse) XXX_Unmarshal ¶
func (m *QueryAllAuctionsResponse) XXX_Unmarshal(b []byte) error
type QueryAuctionRequest ¶
type QueryAuctionRequest struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
QueryAuctionRequest is request type for the Query/Auction RPC method
func (*QueryAuctionRequest) Descriptor ¶
func (*QueryAuctionRequest) Descriptor() ([]byte, []int)
func (*QueryAuctionRequest) GetId ¶
func (m *QueryAuctionRequest) GetId() uint64
func (*QueryAuctionRequest) Marshal ¶
func (m *QueryAuctionRequest) Marshal() (dAtA []byte, err error)
func (*QueryAuctionRequest) MarshalTo ¶
func (m *QueryAuctionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAuctionRequest) MarshalToSizedBuffer ¶
func (m *QueryAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAuctionRequest) ProtoMessage ¶
func (*QueryAuctionRequest) ProtoMessage()
func (*QueryAuctionRequest) Reset ¶
func (m *QueryAuctionRequest) Reset()
func (*QueryAuctionRequest) Size ¶
func (m *QueryAuctionRequest) Size() (n int)
func (*QueryAuctionRequest) String ¶
func (m *QueryAuctionRequest) String() string
func (*QueryAuctionRequest) Unmarshal ¶
func (m *QueryAuctionRequest) Unmarshal(dAtA []byte) error
func (*QueryAuctionRequest) XXX_DiscardUnknown ¶
func (m *QueryAuctionRequest) XXX_DiscardUnknown()
func (*QueryAuctionRequest) XXX_Marshal ¶
func (m *QueryAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAuctionRequest) XXX_Merge ¶
func (m *QueryAuctionRequest) XXX_Merge(src proto.Message)
func (*QueryAuctionRequest) XXX_Size ¶
func (m *QueryAuctionRequest) XXX_Size() int
func (*QueryAuctionRequest) XXX_Unmarshal ¶
func (m *QueryAuctionRequest) XXX_Unmarshal(b []byte) error
type QueryAuctionResponse ¶
type QueryAuctionResponse struct {
Auction *Auction `protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty"`
}
QueryAuctionResponse is response type for the Query/Auction RPC method
func (*QueryAuctionResponse) Descriptor ¶
func (*QueryAuctionResponse) Descriptor() ([]byte, []int)
func (*QueryAuctionResponse) GetAuction ¶
func (m *QueryAuctionResponse) GetAuction() *Auction
func (*QueryAuctionResponse) Marshal ¶
func (m *QueryAuctionResponse) Marshal() (dAtA []byte, err error)
func (*QueryAuctionResponse) MarshalTo ¶
func (m *QueryAuctionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAuctionResponse) MarshalToSizedBuffer ¶
func (m *QueryAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAuctionResponse) ProtoMessage ¶
func (*QueryAuctionResponse) ProtoMessage()
func (*QueryAuctionResponse) Reset ¶
func (m *QueryAuctionResponse) Reset()
func (*QueryAuctionResponse) Size ¶
func (m *QueryAuctionResponse) Size() (n int)
func (*QueryAuctionResponse) String ¶
func (m *QueryAuctionResponse) String() string
func (*QueryAuctionResponse) Unmarshal ¶
func (m *QueryAuctionResponse) Unmarshal(dAtA []byte) error
func (*QueryAuctionResponse) XXX_DiscardUnknown ¶
func (m *QueryAuctionResponse) XXX_DiscardUnknown()
func (*QueryAuctionResponse) XXX_Marshal ¶
func (m *QueryAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAuctionResponse) XXX_Merge ¶
func (m *QueryAuctionResponse) XXX_Merge(src proto.Message)
func (*QueryAuctionResponse) XXX_Size ¶
func (m *QueryAuctionResponse) XXX_Size() int
func (*QueryAuctionResponse) XXX_Unmarshal ¶
func (m *QueryAuctionResponse) XXX_Unmarshal(b []byte) error
type QueryAuctionsByOwnerRequest ¶
type QueryAuctionsByOwnerRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAuctionsByOwnerRequest is the request type for the Query/AuctionsByOwner RPC method
func (*QueryAuctionsByOwnerRequest) Descriptor ¶
func (*QueryAuctionsByOwnerRequest) Descriptor() ([]byte, []int)
func (*QueryAuctionsByOwnerRequest) GetOwner ¶
func (m *QueryAuctionsByOwnerRequest) GetOwner() string
func (*QueryAuctionsByOwnerRequest) GetPagination ¶
func (m *QueryAuctionsByOwnerRequest) GetPagination() *query.PageRequest
func (*QueryAuctionsByOwnerRequest) Marshal ¶
func (m *QueryAuctionsByOwnerRequest) Marshal() (dAtA []byte, err error)
func (*QueryAuctionsByOwnerRequest) MarshalTo ¶
func (m *QueryAuctionsByOwnerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAuctionsByOwnerRequest) MarshalToSizedBuffer ¶
func (m *QueryAuctionsByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAuctionsByOwnerRequest) ProtoMessage ¶
func (*QueryAuctionsByOwnerRequest) ProtoMessage()
func (*QueryAuctionsByOwnerRequest) Reset ¶
func (m *QueryAuctionsByOwnerRequest) Reset()
func (*QueryAuctionsByOwnerRequest) Size ¶
func (m *QueryAuctionsByOwnerRequest) Size() (n int)
func (*QueryAuctionsByOwnerRequest) String ¶
func (m *QueryAuctionsByOwnerRequest) String() string
func (*QueryAuctionsByOwnerRequest) Unmarshal ¶
func (m *QueryAuctionsByOwnerRequest) Unmarshal(dAtA []byte) error
func (*QueryAuctionsByOwnerRequest) XXX_DiscardUnknown ¶
func (m *QueryAuctionsByOwnerRequest) XXX_DiscardUnknown()
func (*QueryAuctionsByOwnerRequest) XXX_Marshal ¶
func (m *QueryAuctionsByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAuctionsByOwnerRequest) XXX_Merge ¶
func (m *QueryAuctionsByOwnerRequest) XXX_Merge(src proto.Message)
func (*QueryAuctionsByOwnerRequest) XXX_Size ¶
func (m *QueryAuctionsByOwnerRequest) XXX_Size() int
func (*QueryAuctionsByOwnerRequest) XXX_Unmarshal ¶
func (m *QueryAuctionsByOwnerRequest) XXX_Unmarshal(b []byte) error
type QueryAuctionsByOwnerResponse ¶
type QueryAuctionsByOwnerResponse struct { Auctions []Auction `protobuf:"bytes,1,rep,name=auctions,proto3" json:"auctions"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAuctionsByOwnerResponse is the response type for the Query/AuctionsByOwner RPC method
func (*QueryAuctionsByOwnerResponse) Descriptor ¶
func (*QueryAuctionsByOwnerResponse) Descriptor() ([]byte, []int)
func (*QueryAuctionsByOwnerResponse) GetAuctions ¶
func (m *QueryAuctionsByOwnerResponse) GetAuctions() []Auction
func (*QueryAuctionsByOwnerResponse) GetPagination ¶
func (m *QueryAuctionsByOwnerResponse) GetPagination() *query.PageResponse
func (*QueryAuctionsByOwnerResponse) Marshal ¶
func (m *QueryAuctionsByOwnerResponse) Marshal() (dAtA []byte, err error)
func (*QueryAuctionsByOwnerResponse) MarshalTo ¶
func (m *QueryAuctionsByOwnerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAuctionsByOwnerResponse) MarshalToSizedBuffer ¶
func (m *QueryAuctionsByOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAuctionsByOwnerResponse) ProtoMessage ¶
func (*QueryAuctionsByOwnerResponse) ProtoMessage()
func (*QueryAuctionsByOwnerResponse) Reset ¶
func (m *QueryAuctionsByOwnerResponse) Reset()
func (*QueryAuctionsByOwnerResponse) Size ¶
func (m *QueryAuctionsByOwnerResponse) Size() (n int)
func (*QueryAuctionsByOwnerResponse) String ¶
func (m *QueryAuctionsByOwnerResponse) String() string
func (*QueryAuctionsByOwnerResponse) Unmarshal ¶
func (m *QueryAuctionsByOwnerResponse) Unmarshal(dAtA []byte) error
func (*QueryAuctionsByOwnerResponse) XXX_DiscardUnknown ¶
func (m *QueryAuctionsByOwnerResponse) XXX_DiscardUnknown()
func (*QueryAuctionsByOwnerResponse) XXX_Marshal ¶
func (m *QueryAuctionsByOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAuctionsByOwnerResponse) XXX_Merge ¶
func (m *QueryAuctionsByOwnerResponse) XXX_Merge(src proto.Message)
func (*QueryAuctionsByOwnerResponse) XXX_Size ¶
func (m *QueryAuctionsByOwnerResponse) XXX_Size() int
func (*QueryAuctionsByOwnerResponse) XXX_Unmarshal ¶
func (m *QueryAuctionsByOwnerResponse) XXX_Unmarshal(b []byte) error
type QueryBidsRequest ¶
type QueryBidsRequest struct { AuctionId uint64 `protobuf:"varint,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" yaml:"auction_id"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryBidsRequest is the request type for the Query/Bids RPC method
func (*QueryBidsRequest) Descriptor ¶
func (*QueryBidsRequest) Descriptor() ([]byte, []int)
func (*QueryBidsRequest) GetAuctionId ¶
func (m *QueryBidsRequest) GetAuctionId() uint64
func (*QueryBidsRequest) GetPagination ¶
func (m *QueryBidsRequest) GetPagination() *query.PageRequest
func (*QueryBidsRequest) Marshal ¶
func (m *QueryBidsRequest) Marshal() (dAtA []byte, err error)
func (*QueryBidsRequest) MarshalToSizedBuffer ¶
func (m *QueryBidsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBidsRequest) ProtoMessage ¶
func (*QueryBidsRequest) ProtoMessage()
func (*QueryBidsRequest) Reset ¶
func (m *QueryBidsRequest) Reset()
func (*QueryBidsRequest) Size ¶
func (m *QueryBidsRequest) Size() (n int)
func (*QueryBidsRequest) String ¶
func (m *QueryBidsRequest) String() string
func (*QueryBidsRequest) Unmarshal ¶
func (m *QueryBidsRequest) Unmarshal(dAtA []byte) error
func (*QueryBidsRequest) XXX_DiscardUnknown ¶
func (m *QueryBidsRequest) XXX_DiscardUnknown()
func (*QueryBidsRequest) XXX_Marshal ¶
func (m *QueryBidsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBidsRequest) XXX_Merge ¶
func (m *QueryBidsRequest) XXX_Merge(src proto.Message)
func (*QueryBidsRequest) XXX_Size ¶
func (m *QueryBidsRequest) XXX_Size() int
func (*QueryBidsRequest) XXX_Unmarshal ¶
func (m *QueryBidsRequest) XXX_Unmarshal(b []byte) error
type QueryBidsResponse ¶
type QueryBidsResponse struct { Bids []Bid `protobuf:"bytes,1,rep,name=bids,proto3" json:"bids"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryBidsResponse is the response type for the Query/Bids RPC method
func (*QueryBidsResponse) Descriptor ¶
func (*QueryBidsResponse) Descriptor() ([]byte, []int)
func (*QueryBidsResponse) GetBids ¶
func (m *QueryBidsResponse) GetBids() []Bid
func (*QueryBidsResponse) GetPagination ¶
func (m *QueryBidsResponse) GetPagination() *query.PageResponse
func (*QueryBidsResponse) Marshal ¶
func (m *QueryBidsResponse) Marshal() (dAtA []byte, err error)
func (*QueryBidsResponse) MarshalTo ¶
func (m *QueryBidsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBidsResponse) MarshalToSizedBuffer ¶
func (m *QueryBidsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBidsResponse) ProtoMessage ¶
func (*QueryBidsResponse) ProtoMessage()
func (*QueryBidsResponse) Reset ¶
func (m *QueryBidsResponse) Reset()
func (*QueryBidsResponse) Size ¶
func (m *QueryBidsResponse) Size() (n int)
func (*QueryBidsResponse) String ¶
func (m *QueryBidsResponse) String() string
func (*QueryBidsResponse) Unmarshal ¶
func (m *QueryBidsResponse) Unmarshal(dAtA []byte) error
func (*QueryBidsResponse) XXX_DiscardUnknown ¶
func (m *QueryBidsResponse) XXX_DiscardUnknown()
func (*QueryBidsResponse) XXX_Marshal ¶
func (m *QueryBidsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBidsResponse) XXX_Merge ¶
func (m *QueryBidsResponse) XXX_Merge(src proto.Message)
func (*QueryBidsResponse) XXX_Size ¶
func (m *QueryBidsResponse) XXX_Size() int
func (*QueryBidsResponse) XXX_Unmarshal ¶
func (m *QueryBidsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Auction queries the Auction for the given id Auction(ctx context.Context, in *QueryAuctionRequest, opts ...grpc.CallOption) (*QueryAuctionResponse, error) // AllAuctions queries the all Auctions AllAuctions(ctx context.Context, in *QueryAllAuctionsRequest, opts ...grpc.CallOption) (*QueryAllAuctionsResponse, error) // AuctionsByOwner queries the Auctions of the given owner AuctionsByOwner(ctx context.Context, in *QueryAuctionsByOwnerRequest, opts ...grpc.CallOption) (*QueryAuctionsByOwnerResponse, error) // Bids queries the bids of the given auction id Bids(ctx context.Context, in *QueryBidsRequest, opts ...grpc.CallOption) (*QueryBidsResponse, 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 QueryServer ¶
type QueryServer interface { // Auction queries the Auction for the given id Auction(context.Context, *QueryAuctionRequest) (*QueryAuctionResponse, error) // AllAuctions queries the all Auctions AllAuctions(context.Context, *QueryAllAuctionsRequest) (*QueryAllAuctionsResponse, error) // AuctionsByOwner queries the Auctions of the given owner AuctionsByOwner(context.Context, *QueryAuctionsByOwnerRequest) (*QueryAuctionsByOwnerResponse, error) // Bids queries the bids of the given auction id Bids(context.Context, *QueryBidsRequest) (*QueryBidsResponse, 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) CancelAuction ¶
func (*UnimplementedMsgServer) CancelAuction(ctx context.Context, req *MsgCancelAuction) (*MsgCancelAuctionResponse, error)
func (*UnimplementedMsgServer) CancelBid ¶
func (*UnimplementedMsgServer) CancelBid(ctx context.Context, req *MsgCancelBid) (*MsgCancelBidResponse, error)
func (*UnimplementedMsgServer) EditAuction ¶
func (*UnimplementedMsgServer) EditAuction(ctx context.Context, req *MsgEditAuction) (*MsgEditAuctionResponse, error)
func (*UnimplementedMsgServer) OpenAuction ¶
func (*UnimplementedMsgServer) OpenAuction(ctx context.Context, req *MsgOpenAuction) (*MsgOpenAuctionResponse, error)
func (*UnimplementedMsgServer) OpenBid ¶
func (*UnimplementedMsgServer) OpenBid(ctx context.Context, req *MsgOpenBid) (*MsgOpenBidResponse, error)
func (*UnimplementedMsgServer) Withdraw ¶
func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllAuctions ¶
func (*UnimplementedQueryServer) AllAuctions(ctx context.Context, req *QueryAllAuctionsRequest) (*QueryAllAuctionsResponse, error)
func (*UnimplementedQueryServer) Auction ¶
func (*UnimplementedQueryServer) Auction(ctx context.Context, req *QueryAuctionRequest) (*QueryAuctionResponse, error)
func (*UnimplementedQueryServer) AuctionsByOwner ¶
func (*UnimplementedQueryServer) AuctionsByOwner(ctx context.Context, req *QueryAuctionsByOwnerRequest) (*QueryAuctionsByOwnerResponse, error)
func (*UnimplementedQueryServer) Bids ¶
func (*UnimplementedQueryServer) Bids(ctx context.Context, req *QueryBidsRequest) (*QueryBidsResponse, error)