Documentation ¶
Index ¶
- Variables
- func RegisterSeedsAPIServer(s grpc.ServiceRegistrar, srv SeedsAPIServer)
- type AcceptExchangeRequest
- func (*AcceptExchangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcceptExchangeRequest) GetId() string
- func (x *AcceptExchangeRequest) GetUserId() string
- func (*AcceptExchangeRequest) ProtoMessage()
- func (x *AcceptExchangeRequest) ProtoReflect() protoreflect.Message
- func (x *AcceptExchangeRequest) Reset()
- func (x *AcceptExchangeRequest) String() string
- type CancelExchangeRequest
- func (*CancelExchangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelExchangeRequest) GetId() string
- func (x *CancelExchangeRequest) GetUserId() string
- func (*CancelExchangeRequest) ProtoMessage()
- func (x *CancelExchangeRequest) ProtoReflect() protoreflect.Message
- func (x *CancelExchangeRequest) Reset()
- func (x *CancelExchangeRequest) String() string
- type CircleSeedHolders
- func (*CircleSeedHolders) Descriptor() ([]byte, []int)deprecated
- func (x *CircleSeedHolders) GetPageInfo() *PageInfo
- func (x *CircleSeedHolders) GetSeeds() []*UserSeeds
- func (*CircleSeedHolders) ProtoMessage()
- func (x *CircleSeedHolders) ProtoReflect() protoreflect.Message
- func (x *CircleSeedHolders) Reset()
- func (x *CircleSeedHolders) String() string
- type CircleSeeds
- func (*CircleSeeds) Descriptor() ([]byte, []int)deprecated
- func (x *CircleSeeds) GetAmountAvailable() int64
- func (x *CircleSeeds) GetAmountLocked() int64
- func (x *CircleSeeds) GetAmountTotal() int64
- func (x *CircleSeeds) GetCircleId() string
- func (*CircleSeeds) ProtoMessage()
- func (x *CircleSeeds) ProtoReflect() protoreflect.Message
- func (x *CircleSeeds) Reset()
- func (x *CircleSeeds) String() string
- type CreateExchangeRequest
- func (*CreateExchangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateExchangeRequest) GetFromUserId() string
- func (x *CreateExchangeRequest) GetMelons() *Melons
- func (x *CreateExchangeRequest) GetSeeds() *Seeds
- func (x *CreateExchangeRequest) GetToUserId() string
- func (x *CreateExchangeRequest) GetType() Type
- func (*CreateExchangeRequest) ProtoMessage()
- func (x *CreateExchangeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateExchangeRequest) Reset()
- func (x *CreateExchangeRequest) String() string
- type CreateExchangeResponse
- func (*CreateExchangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateExchangeResponse) GetProposal() *ExchangeProposal
- func (*CreateExchangeResponse) ProtoMessage()
- func (x *CreateExchangeResponse) ProtoReflect() protoreflect.Message
- func (x *CreateExchangeResponse) Reset()
- func (x *CreateExchangeResponse) String() string
- type Empty
- type ExchangeProposal
- func (*ExchangeProposal) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeProposal) GetFromUserId() string
- func (x *ExchangeProposal) GetId() string
- func (x *ExchangeProposal) GetMelons() *Melons
- func (x *ExchangeProposal) GetSeeds() *Seeds
- func (x *ExchangeProposal) GetState() ExchangeProposal_State
- func (x *ExchangeProposal) GetToUserId() string
- func (x *ExchangeProposal) GetType() Type
- func (*ExchangeProposal) ProtoMessage()
- func (x *ExchangeProposal) ProtoReflect() protoreflect.Message
- func (x *ExchangeProposal) Reset()
- func (x *ExchangeProposal) String() string
- type ExchangeProposal_State
- func (ExchangeProposal_State) Descriptor() protoreflect.EnumDescriptor
- func (x ExchangeProposal_State) Enum() *ExchangeProposal_State
- func (ExchangeProposal_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExchangeProposal_State) Number() protoreflect.EnumNumber
- func (x ExchangeProposal_State) String() string
- func (ExchangeProposal_State) Type() protoreflect.EnumType
- type GetCircleSeedsRequest
- func (*GetCircleSeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCircleSeedsRequest) GetCircleId() string
- func (x *GetCircleSeedsRequest) GetCursor() *PageCursor
- func (x *GetCircleSeedsRequest) GetGetHolders() bool
- func (*GetCircleSeedsRequest) ProtoMessage()
- func (x *GetCircleSeedsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCircleSeedsRequest) Reset()
- func (x *GetCircleSeedsRequest) String() string
- type GetCircleSeedsResponse
- func (*GetCircleSeedsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCircleSeedsResponse) GetHolders() *CircleSeedHolders
- func (x *GetCircleSeedsResponse) GetTotalAmount() int64
- func (*GetCircleSeedsResponse) ProtoMessage()
- func (x *GetCircleSeedsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCircleSeedsResponse) Reset()
- func (x *GetCircleSeedsResponse) String() string
- type GetExchangesRequest
- func (*GetExchangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExchangesRequest) GetId() string
- func (*GetExchangesRequest) ProtoMessage()
- func (x *GetExchangesRequest) ProtoReflect() protoreflect.Message
- func (x *GetExchangesRequest) Reset()
- func (x *GetExchangesRequest) String() string
- type GetExchangesResponse
- func (*GetExchangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetExchangesResponse) GetProposal() *ExchangeProposal
- func (*GetExchangesResponse) ProtoMessage()
- func (x *GetExchangesResponse) ProtoReflect() protoreflect.Message
- func (x *GetExchangesResponse) Reset()
- func (x *GetExchangesResponse) String() string
- type GetUserMelonsRequest
- func (*GetUserMelonsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserMelonsRequest) GetUserId() string
- func (*GetUserMelonsRequest) ProtoMessage()
- func (x *GetUserMelonsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserMelonsRequest) Reset()
- func (x *GetUserMelonsRequest) String() string
- type GetUserMelonsResponse
- func (*GetUserMelonsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserMelonsResponse) GetMelons() *UserMelons
- func (*GetUserMelonsResponse) ProtoMessage()
- func (x *GetUserMelonsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserMelonsResponse) Reset()
- func (x *GetUserMelonsResponse) String() string
- type GetUserSeedsRequest
- func (*GetUserSeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSeedsRequest) GetCircleId() string
- func (x *GetUserSeedsRequest) GetCursor() *PageCursor
- func (x *GetUserSeedsRequest) GetUserId() string
- func (*GetUserSeedsRequest) ProtoMessage()
- func (x *GetUserSeedsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserSeedsRequest) Reset()
- func (x *GetUserSeedsRequest) String() string
- type GetUserSeedsResponse
- func (*GetUserSeedsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserSeedsResponse) GetPageInfo() *PageInfo
- func (x *GetUserSeedsResponse) GetSeeds() []*UserSeeds
- func (*GetUserSeedsResponse) ProtoMessage()
- func (x *GetUserSeedsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserSeedsResponse) Reset()
- func (x *GetUserSeedsResponse) String() string
- type InitCircleSeedsRequest
- func (*InitCircleSeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitCircleSeedsRequest) GetCircleId() string
- func (x *InitCircleSeedsRequest) GetUserId() string
- func (*InitCircleSeedsRequest) ProtoMessage()
- func (x *InitCircleSeedsRequest) ProtoReflect() protoreflect.Message
- func (x *InitCircleSeedsRequest) Reset()
- func (x *InitCircleSeedsRequest) String() string
- type InitCircleSeedsResponse
- func (*InitCircleSeedsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitCircleSeedsResponse) GetSeeds() *CircleSeeds
- func (*InitCircleSeedsResponse) ProtoMessage()
- func (x *InitCircleSeedsResponse) ProtoReflect() protoreflect.Message
- func (x *InitCircleSeedsResponse) Reset()
- func (x *InitCircleSeedsResponse) String() string
- type InitUserMelonsRequest
- func (*InitUserMelonsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitUserMelonsRequest) GetUserId() string
- func (*InitUserMelonsRequest) ProtoMessage()
- func (x *InitUserMelonsRequest) ProtoReflect() protoreflect.Message
- func (x *InitUserMelonsRequest) Reset()
- func (x *InitUserMelonsRequest) String() string
- type InitUserMelonsResponse
- func (*InitUserMelonsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitUserMelonsResponse) GetMelons() *UserMelons
- func (*InitUserMelonsResponse) ProtoMessage()
- func (x *InitUserMelonsResponse) ProtoReflect() protoreflect.Message
- func (x *InitUserMelonsResponse) Reset()
- func (x *InitUserMelonsResponse) String() string
- type LockSeedsRequest
- func (*LockSeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LockSeedsRequest) GetAmountToLock() int64
- func (x *LockSeedsRequest) GetCircleID() string
- func (x *LockSeedsRequest) GetUnlock() bool
- func (x *LockSeedsRequest) GetUserID() string
- func (*LockSeedsRequest) ProtoMessage()
- func (x *LockSeedsRequest) ProtoReflect() protoreflect.Message
- func (x *LockSeedsRequest) Reset()
- func (x *LockSeedsRequest) String() string
- type LockSeedsResponse
- type Melons
- type MintCircleSeedsRequest
- func (*MintCircleSeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MintCircleSeedsRequest) GetAmount() int64
- func (x *MintCircleSeedsRequest) GetCircleId() string
- func (x *MintCircleSeedsRequest) GetUserId() string
- func (*MintCircleSeedsRequest) ProtoMessage()
- func (x *MintCircleSeedsRequest) ProtoReflect() protoreflect.Message
- func (x *MintCircleSeedsRequest) Reset()
- func (x *MintCircleSeedsRequest) String() string
- type MintCircleSeedsResponse
- func (*MintCircleSeedsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MintCircleSeedsResponse) GetCircleSeeds() *CircleSeeds
- func (x *MintCircleSeedsResponse) GetUserSeeds() *UserSeeds
- func (*MintCircleSeedsResponse) ProtoMessage()
- func (x *MintCircleSeedsResponse) ProtoReflect() protoreflect.Message
- func (x *MintCircleSeedsResponse) Reset()
- func (x *MintCircleSeedsResponse) String() string
- type MintUserMelonsRequest
- func (*MintUserMelonsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MintUserMelonsRequest) GetAmount() int64
- func (x *MintUserMelonsRequest) GetUserId() string
- func (*MintUserMelonsRequest) ProtoMessage()
- func (x *MintUserMelonsRequest) ProtoReflect() protoreflect.Message
- func (x *MintUserMelonsRequest) Reset()
- func (x *MintUserMelonsRequest) String() string
- type MintUserMelonsResponse
- func (*MintUserMelonsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MintUserMelonsResponse) GetMelons() *UserMelons
- func (*MintUserMelonsResponse) ProtoMessage()
- func (x *MintUserMelonsResponse) ProtoReflect() protoreflect.Message
- func (x *MintUserMelonsResponse) Reset()
- func (x *MintUserMelonsResponse) String() string
- type PageCursor
- func (*PageCursor) Descriptor() ([]byte, []int)deprecated
- func (x *PageCursor) GetCursorId() string
- func (x *PageCursor) GetDir() PageDir
- func (x *PageCursor) GetLimit() uint32
- func (*PageCursor) ProtoMessage()
- func (x *PageCursor) ProtoReflect() protoreflect.Message
- func (x *PageCursor) Reset()
- func (x *PageCursor) String() string
- type PageDir
- type PageInfo
- func (*PageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo) GetFirstId() string
- func (x *PageInfo) GetHasNext() bool
- func (x *PageInfo) GetHasPrev() bool
- func (x *PageInfo) GetLastId() string
- func (x *PageInfo) GetLength() uint32
- func (*PageInfo) ProtoMessage()
- func (x *PageInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo) Reset()
- func (x *PageInfo) String() string
- type RejectExchangeRequest
- func (*RejectExchangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RejectExchangeRequest) GetId() string
- func (x *RejectExchangeRequest) GetUserId() string
- func (*RejectExchangeRequest) ProtoMessage()
- func (x *RejectExchangeRequest) ProtoReflect() protoreflect.Message
- func (x *RejectExchangeRequest) Reset()
- func (x *RejectExchangeRequest) String() string
- type ResetCircleSeedsRequest
- func (*ResetCircleSeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetCircleSeedsRequest) GetCircleId() string
- func (*ResetCircleSeedsRequest) ProtoMessage()
- func (x *ResetCircleSeedsRequest) ProtoReflect() protoreflect.Message
- func (x *ResetCircleSeedsRequest) Reset()
- func (x *ResetCircleSeedsRequest) String() string
- type Seeds
- type SeedsAPIClient
- type SeedsAPIServer
- type SumUserSeedsRequest
- func (*SumUserSeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SumUserSeedsRequest) GetUserId() string
- func (*SumUserSeedsRequest) ProtoMessage()
- func (x *SumUserSeedsRequest) ProtoReflect() protoreflect.Message
- func (x *SumUserSeedsRequest) Reset()
- func (x *SumUserSeedsRequest) String() string
- type SumUserSeedsResponse
- func (*SumUserSeedsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SumUserSeedsResponse) GetAmount() int64
- func (*SumUserSeedsResponse) ProtoMessage()
- func (x *SumUserSeedsResponse) ProtoReflect() protoreflect.Message
- func (x *SumUserSeedsResponse) Reset()
- func (x *SumUserSeedsResponse) String() string
- type TransferRequest
- func (*TransferRequest) Descriptor() ([]byte, []int)deprecated
- func (m *TransferRequest) GetCurrency() isTransferRequest_Currency
- func (x *TransferRequest) GetFromUserId() string
- func (x *TransferRequest) GetMelons() *Melons
- func (x *TransferRequest) GetSeeds() *Seeds
- func (x *TransferRequest) GetToUserId() string
- func (*TransferRequest) ProtoMessage()
- func (x *TransferRequest) ProtoReflect() protoreflect.Message
- func (x *TransferRequest) Reset()
- func (x *TransferRequest) String() string
- type TransferRequest_Melons
- type TransferRequest_Seeds
- type TransferSeedsRequest
- func (*TransferSeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransferSeedsRequest) GetAmount() int64
- func (x *TransferSeedsRequest) GetCircleId() string
- func (x *TransferSeedsRequest) GetToUserId() string
- func (*TransferSeedsRequest) ProtoMessage()
- func (x *TransferSeedsRequest) ProtoReflect() protoreflect.Message
- func (x *TransferSeedsRequest) Reset()
- func (x *TransferSeedsRequest) String() string
- type Type
- type UnimplementedSeedsAPIServer
- func (UnimplementedSeedsAPIServer) AcceptExchange(context.Context, *AcceptExchangeRequest) (*Empty, error)
- func (UnimplementedSeedsAPIServer) CancelExchange(context.Context, *CancelExchangeRequest) (*Empty, error)
- func (UnimplementedSeedsAPIServer) CreateExchange(context.Context, *CreateExchangeRequest) (*CreateExchangeResponse, error)
- func (UnimplementedSeedsAPIServer) GetCircleSeeds(context.Context, *GetCircleSeedsRequest) (*GetCircleSeedsResponse, error)
- func (UnimplementedSeedsAPIServer) GetExchanges(context.Context, *GetExchangesRequest) (*GetExchangesResponse, error)
- func (UnimplementedSeedsAPIServer) GetUserMelons(context.Context, *GetUserMelonsRequest) (*GetUserMelonsResponse, error)
- func (UnimplementedSeedsAPIServer) GetUserSeeds(context.Context, *GetUserSeedsRequest) (*GetUserSeedsResponse, error)
- func (UnimplementedSeedsAPIServer) InitCircleSeeds(context.Context, *InitCircleSeedsRequest) (*InitCircleSeedsResponse, error)
- func (UnimplementedSeedsAPIServer) InitUserMelons(context.Context, *InitUserMelonsRequest) (*InitUserMelonsResponse, error)
- func (UnimplementedSeedsAPIServer) LockSeeds(context.Context, *LockSeedsRequest) (*LockSeedsResponse, error)
- func (UnimplementedSeedsAPIServer) MintCircleSeeds(context.Context, *MintCircleSeedsRequest) (*MintCircleSeedsResponse, error)
- func (UnimplementedSeedsAPIServer) MintUserMelons(context.Context, *MintUserMelonsRequest) (*MintUserMelonsResponse, error)
- func (UnimplementedSeedsAPIServer) RejectExchange(context.Context, *RejectExchangeRequest) (*Empty, error)
- func (UnimplementedSeedsAPIServer) ResetCircleSeeds(context.Context, *ResetCircleSeedsRequest) (*Empty, error)
- func (UnimplementedSeedsAPIServer) SumUserSeeds(context.Context, *SumUserSeedsRequest) (*SumUserSeedsResponse, error)
- func (UnimplementedSeedsAPIServer) TransferMelons(context.Context, *TransferRequest) (*Empty, error)
- func (UnimplementedSeedsAPIServer) TransferSeeds(context.Context, *TransferSeedsRequest) (*Empty, error)
- type UnsafeSeedsAPIServer
- type UserMelons
- func (*UserMelons) Descriptor() ([]byte, []int)deprecated
- func (x *UserMelons) GetAmountAvailable() int64
- func (x *UserMelons) GetAmountLocked() int64
- func (x *UserMelons) GetAmountTotal() int64
- func (x *UserMelons) GetUserId() string
- func (*UserMelons) ProtoMessage()
- func (x *UserMelons) ProtoReflect() protoreflect.Message
- func (x *UserMelons) Reset()
- func (x *UserMelons) String() string
- type UserSeeds
- func (*UserSeeds) Descriptor() ([]byte, []int)deprecated
- func (x *UserSeeds) GetAmountAvailable() int64
- func (x *UserSeeds) GetAmountLocked() int64
- func (x *UserSeeds) GetAmountTotal() int64
- func (x *UserSeeds) GetCircleId() string
- func (x *UserSeeds) GetUserId() string
- func (*UserSeeds) ProtoMessage()
- func (x *UserSeeds) ProtoReflect() protoreflect.Message
- func (x *UserSeeds) Reset()
- func (x *UserSeeds) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Type_name = map[int32]string{ 0: "Buy", 1: "Sell", } Type_value = map[string]int32{ "Buy": 0, "Sell": 1, } )
Enum value maps for Type.
var ( PageDir_name = map[int32]string{ 0: "Forward", 1: "Backward", } PageDir_value = map[string]int32{ "Forward": 0, "Backward": 1, } )
Enum value maps for PageDir.
var ( ExchangeProposal_State_name = map[int32]string{ 0: "Created", 1: "Accepted", 2: "Processing", 3: "Finalised", 4: "Rejected", 5: "Canceled", 6: "Failed", } ExchangeProposal_State_value = map[string]int32{ "Created": 0, "Accepted": 1, "Processing": 2, "Finalised": 3, "Rejected": 4, "Canceled": 5, "Failed": 6, } )
Enum value maps for ExchangeProposal_State.
var File_seeds_api_seeds_v1_seeds_proto protoreflect.FileDescriptor
var SeedsAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "seeds_api.v1.SeedsAPI", HandlerType: (*SeedsAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "InitCircleSeeds", Handler: _SeedsAPI_InitCircleSeeds_Handler, }, { MethodName: "ResetCircleSeeds", Handler: _SeedsAPI_ResetCircleSeeds_Handler, }, { MethodName: "MintCircleSeeds", Handler: _SeedsAPI_MintCircleSeeds_Handler, }, { MethodName: "GetCircleSeeds", Handler: _SeedsAPI_GetCircleSeeds_Handler, }, { MethodName: "InitUserMelons", Handler: _SeedsAPI_InitUserMelons_Handler, }, { MethodName: "MintUserMelons", Handler: _SeedsAPI_MintUserMelons_Handler, }, { MethodName: "GetUserMelons", Handler: _SeedsAPI_GetUserMelons_Handler, }, { MethodName: "GetUserSeeds", Handler: _SeedsAPI_GetUserSeeds_Handler, }, { MethodName: "CreateExchange", Handler: _SeedsAPI_CreateExchange_Handler, }, { MethodName: "AcceptExchange", Handler: _SeedsAPI_AcceptExchange_Handler, }, { MethodName: "RejectExchange", Handler: _SeedsAPI_RejectExchange_Handler, }, { MethodName: "CancelExchange", Handler: _SeedsAPI_CancelExchange_Handler, }, { MethodName: "GetExchanges", Handler: _SeedsAPI_GetExchanges_Handler, }, { MethodName: "TransferMelons", Handler: _SeedsAPI_TransferMelons_Handler, }, { MethodName: "TransferSeeds", Handler: _SeedsAPI_TransferSeeds_Handler, }, { MethodName: "SumUserSeeds", Handler: _SeedsAPI_SumUserSeeds_Handler, }, { MethodName: "LockSeeds", Handler: _SeedsAPI_LockSeeds_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "seeds-api/seeds/v1/seeds.proto", }
SeedsAPI_ServiceDesc is the grpc.ServiceDesc for SeedsAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSeedsAPIServer ¶ added in v0.2.22
func RegisterSeedsAPIServer(s grpc.ServiceRegistrar, srv SeedsAPIServer)
Types ¶
type AcceptExchangeRequest ¶
type AcceptExchangeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*AcceptExchangeRequest) Descriptor
deprecated
func (*AcceptExchangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcceptExchangeRequest.ProtoReflect.Descriptor instead.
func (*AcceptExchangeRequest) GetId ¶
func (x *AcceptExchangeRequest) GetId() string
func (*AcceptExchangeRequest) GetUserId ¶
func (x *AcceptExchangeRequest) GetUserId() string
func (*AcceptExchangeRequest) ProtoMessage ¶
func (*AcceptExchangeRequest) ProtoMessage()
func (*AcceptExchangeRequest) ProtoReflect ¶
func (x *AcceptExchangeRequest) ProtoReflect() protoreflect.Message
func (*AcceptExchangeRequest) Reset ¶
func (x *AcceptExchangeRequest) Reset()
func (*AcceptExchangeRequest) String ¶
func (x *AcceptExchangeRequest) String() string
type CancelExchangeRequest ¶
type CancelExchangeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*CancelExchangeRequest) Descriptor
deprecated
func (*CancelExchangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelExchangeRequest.ProtoReflect.Descriptor instead.
func (*CancelExchangeRequest) GetId ¶
func (x *CancelExchangeRequest) GetId() string
func (*CancelExchangeRequest) GetUserId ¶
func (x *CancelExchangeRequest) GetUserId() string
func (*CancelExchangeRequest) ProtoMessage ¶
func (*CancelExchangeRequest) ProtoMessage()
func (*CancelExchangeRequest) ProtoReflect ¶
func (x *CancelExchangeRequest) ProtoReflect() protoreflect.Message
func (*CancelExchangeRequest) Reset ¶
func (x *CancelExchangeRequest) Reset()
func (*CancelExchangeRequest) String ¶
func (x *CancelExchangeRequest) String() string
type CircleSeedHolders ¶
type CircleSeedHolders struct { Seeds []*UserSeeds `protobuf:"bytes,1,rep,name=seeds,proto3" json:"seeds,omitempty"` PageInfo *PageInfo `protobuf:"bytes,2,opt,name=pageInfo,proto3" json:"pageInfo,omitempty"` // contains filtered or unexported fields }
func (*CircleSeedHolders) Descriptor
deprecated
func (*CircleSeedHolders) Descriptor() ([]byte, []int)
Deprecated: Use CircleSeedHolders.ProtoReflect.Descriptor instead.
func (*CircleSeedHolders) GetPageInfo ¶
func (x *CircleSeedHolders) GetPageInfo() *PageInfo
func (*CircleSeedHolders) GetSeeds ¶
func (x *CircleSeedHolders) GetSeeds() []*UserSeeds
func (*CircleSeedHolders) ProtoMessage ¶
func (*CircleSeedHolders) ProtoMessage()
func (*CircleSeedHolders) ProtoReflect ¶
func (x *CircleSeedHolders) ProtoReflect() protoreflect.Message
func (*CircleSeedHolders) Reset ¶
func (x *CircleSeedHolders) Reset()
func (*CircleSeedHolders) String ¶
func (x *CircleSeedHolders) String() string
type CircleSeeds ¶
type CircleSeeds struct { CircleId string `protobuf:"bytes,1,opt,name=circleId,proto3" json:"circleId,omitempty"` AmountAvailable int64 `protobuf:"varint,2,opt,name=amountAvailable,proto3" json:"amountAvailable,omitempty"` AmountLocked int64 `protobuf:"varint,3,opt,name=amountLocked,proto3" json:"amountLocked,omitempty"` AmountTotal int64 `protobuf:"varint,4,opt,name=amountTotal,proto3" json:"amountTotal,omitempty"` // contains filtered or unexported fields }
TODO
func (*CircleSeeds) Descriptor
deprecated
func (*CircleSeeds) Descriptor() ([]byte, []int)
Deprecated: Use CircleSeeds.ProtoReflect.Descriptor instead.
func (*CircleSeeds) GetAmountAvailable ¶
func (x *CircleSeeds) GetAmountAvailable() int64
func (*CircleSeeds) GetAmountLocked ¶
func (x *CircleSeeds) GetAmountLocked() int64
func (*CircleSeeds) GetAmountTotal ¶
func (x *CircleSeeds) GetAmountTotal() int64
func (*CircleSeeds) GetCircleId ¶
func (x *CircleSeeds) GetCircleId() string
func (*CircleSeeds) ProtoMessage ¶
func (*CircleSeeds) ProtoMessage()
func (*CircleSeeds) ProtoReflect ¶
func (x *CircleSeeds) ProtoReflect() protoreflect.Message
func (*CircleSeeds) Reset ¶
func (x *CircleSeeds) Reset()
func (*CircleSeeds) String ¶
func (x *CircleSeeds) String() string
type CreateExchangeRequest ¶
type CreateExchangeRequest struct { FromUserId string `protobuf:"bytes,1,opt,name=fromUserId,proto3" json:"fromUserId,omitempty"` // TODO possibly optional or is set once proposal has been accepted ToUserId string `protobuf:"bytes,2,opt,name=toUserId,proto3" json:"toUserId,omitempty"` Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=seeds_api.v1.Type" json:"type,omitempty"` Seeds *Seeds `protobuf:"bytes,4,opt,name=seeds,proto3" json:"seeds,omitempty"` Melons *Melons `protobuf:"bytes,5,opt,name=melons,proto3" json:"melons,omitempty"` // contains filtered or unexported fields }
func (*CreateExchangeRequest) Descriptor
deprecated
func (*CreateExchangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateExchangeRequest.ProtoReflect.Descriptor instead.
func (*CreateExchangeRequest) GetFromUserId ¶
func (x *CreateExchangeRequest) GetFromUserId() string
func (*CreateExchangeRequest) GetMelons ¶
func (x *CreateExchangeRequest) GetMelons() *Melons
func (*CreateExchangeRequest) GetSeeds ¶
func (x *CreateExchangeRequest) GetSeeds() *Seeds
func (*CreateExchangeRequest) GetToUserId ¶
func (x *CreateExchangeRequest) GetToUserId() string
func (*CreateExchangeRequest) GetType ¶
func (x *CreateExchangeRequest) GetType() Type
func (*CreateExchangeRequest) ProtoMessage ¶
func (*CreateExchangeRequest) ProtoMessage()
func (*CreateExchangeRequest) ProtoReflect ¶
func (x *CreateExchangeRequest) ProtoReflect() protoreflect.Message
func (*CreateExchangeRequest) Reset ¶
func (x *CreateExchangeRequest) Reset()
func (*CreateExchangeRequest) String ¶
func (x *CreateExchangeRequest) String() string
type CreateExchangeResponse ¶
type CreateExchangeResponse struct { Proposal *ExchangeProposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // contains filtered or unexported fields }
func (*CreateExchangeResponse) Descriptor
deprecated
func (*CreateExchangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateExchangeResponse.ProtoReflect.Descriptor instead.
func (*CreateExchangeResponse) GetProposal ¶
func (x *CreateExchangeResponse) GetProposal() *ExchangeProposal
func (*CreateExchangeResponse) ProtoMessage ¶
func (*CreateExchangeResponse) ProtoMessage()
func (*CreateExchangeResponse) ProtoReflect ¶
func (x *CreateExchangeResponse) ProtoReflect() protoreflect.Message
func (*CreateExchangeResponse) Reset ¶
func (x *CreateExchangeResponse) Reset()
func (*CreateExchangeResponse) String ¶
func (x *CreateExchangeResponse) String() string
type Empty ¶ added in v0.2.22
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
added in
v0.2.22
func (*Empty) ProtoMessage ¶ added in v0.2.22
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶ added in v0.2.22
func (x *Empty) ProtoReflect() protoreflect.Message
type ExchangeProposal ¶
type ExchangeProposal struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FromUserId string `protobuf:"bytes,2,opt,name=fromUserId,proto3" json:"fromUserId,omitempty"` ToUserId string `protobuf:"bytes,3,opt,name=toUserId,proto3" json:"toUserId,omitempty"` Type Type `protobuf:"varint,4,opt,name=type,proto3,enum=seeds_api.v1.Type" json:"type,omitempty"` Seeds *Seeds `protobuf:"bytes,5,opt,name=seeds,proto3" json:"seeds,omitempty"` Melons *Melons `protobuf:"bytes,6,opt,name=melons,proto3" json:"melons,omitempty"` State ExchangeProposal_State `protobuf:"varint,7,opt,name=state,proto3,enum=seeds_api.v1.ExchangeProposal_State" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ExchangeProposal) Descriptor
deprecated
func (*ExchangeProposal) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeProposal.ProtoReflect.Descriptor instead.
func (*ExchangeProposal) GetFromUserId ¶
func (x *ExchangeProposal) GetFromUserId() string
func (*ExchangeProposal) GetId ¶
func (x *ExchangeProposal) GetId() string
func (*ExchangeProposal) GetMelons ¶
func (x *ExchangeProposal) GetMelons() *Melons
func (*ExchangeProposal) GetSeeds ¶
func (x *ExchangeProposal) GetSeeds() *Seeds
func (*ExchangeProposal) GetState ¶
func (x *ExchangeProposal) GetState() ExchangeProposal_State
func (*ExchangeProposal) GetToUserId ¶
func (x *ExchangeProposal) GetToUserId() string
func (*ExchangeProposal) GetType ¶
func (x *ExchangeProposal) GetType() Type
func (*ExchangeProposal) ProtoMessage ¶
func (*ExchangeProposal) ProtoMessage()
func (*ExchangeProposal) ProtoReflect ¶
func (x *ExchangeProposal) ProtoReflect() protoreflect.Message
func (*ExchangeProposal) Reset ¶
func (x *ExchangeProposal) Reset()
func (*ExchangeProposal) String ¶
func (x *ExchangeProposal) String() string
type ExchangeProposal_State ¶
type ExchangeProposal_State int32
const ( ExchangeProposal_Created ExchangeProposal_State = 0 ExchangeProposal_Accepted ExchangeProposal_State = 1 ExchangeProposal_Processing ExchangeProposal_State = 2 ExchangeProposal_Finalised ExchangeProposal_State = 3 ExchangeProposal_Rejected ExchangeProposal_State = 4 ExchangeProposal_Canceled ExchangeProposal_State = 5 ExchangeProposal_Failed ExchangeProposal_State = 6 )
func (ExchangeProposal_State) Descriptor ¶
func (ExchangeProposal_State) Descriptor() protoreflect.EnumDescriptor
func (ExchangeProposal_State) Enum ¶
func (x ExchangeProposal_State) Enum() *ExchangeProposal_State
func (ExchangeProposal_State) EnumDescriptor
deprecated
func (ExchangeProposal_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExchangeProposal_State.Descriptor instead.
func (ExchangeProposal_State) Number ¶
func (x ExchangeProposal_State) Number() protoreflect.EnumNumber
func (ExchangeProposal_State) String ¶
func (x ExchangeProposal_State) String() string
func (ExchangeProposal_State) Type ¶
func (ExchangeProposal_State) Type() protoreflect.EnumType
type GetCircleSeedsRequest ¶
type GetCircleSeedsRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circleId,proto3" json:"circleId,omitempty"` GetHolders *bool `protobuf:"varint,2,opt,name=getHolders,proto3,oneof" json:"getHolders,omitempty"` Cursor *PageCursor `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*GetCircleSeedsRequest) Descriptor
deprecated
func (*GetCircleSeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCircleSeedsRequest.ProtoReflect.Descriptor instead.
func (*GetCircleSeedsRequest) GetCircleId ¶
func (x *GetCircleSeedsRequest) GetCircleId() string
func (*GetCircleSeedsRequest) GetCursor ¶
func (x *GetCircleSeedsRequest) GetCursor() *PageCursor
func (*GetCircleSeedsRequest) GetGetHolders ¶
func (x *GetCircleSeedsRequest) GetGetHolders() bool
func (*GetCircleSeedsRequest) ProtoMessage ¶
func (*GetCircleSeedsRequest) ProtoMessage()
func (*GetCircleSeedsRequest) ProtoReflect ¶
func (x *GetCircleSeedsRequest) ProtoReflect() protoreflect.Message
func (*GetCircleSeedsRequest) Reset ¶
func (x *GetCircleSeedsRequest) Reset()
func (*GetCircleSeedsRequest) String ¶
func (x *GetCircleSeedsRequest) String() string
type GetCircleSeedsResponse ¶
type GetCircleSeedsResponse struct { TotalAmount int64 `protobuf:"varint,1,opt,name=totalAmount,proto3" json:"totalAmount,omitempty"` Holders *CircleSeedHolders `protobuf:"bytes,2,opt,name=holders,proto3,oneof" json:"holders,omitempty"` // contains filtered or unexported fields }
func (*GetCircleSeedsResponse) Descriptor
deprecated
func (*GetCircleSeedsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCircleSeedsResponse.ProtoReflect.Descriptor instead.
func (*GetCircleSeedsResponse) GetHolders ¶
func (x *GetCircleSeedsResponse) GetHolders() *CircleSeedHolders
func (*GetCircleSeedsResponse) GetTotalAmount ¶
func (x *GetCircleSeedsResponse) GetTotalAmount() int64
func (*GetCircleSeedsResponse) ProtoMessage ¶
func (*GetCircleSeedsResponse) ProtoMessage()
func (*GetCircleSeedsResponse) ProtoReflect ¶
func (x *GetCircleSeedsResponse) ProtoReflect() protoreflect.Message
func (*GetCircleSeedsResponse) Reset ¶
func (x *GetCircleSeedsResponse) Reset()
func (*GetCircleSeedsResponse) String ¶
func (x *GetCircleSeedsResponse) String() string
type GetExchangesRequest ¶
type GetExchangesRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetExchangesRequest) Descriptor
deprecated
func (*GetExchangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExchangesRequest.ProtoReflect.Descriptor instead.
func (*GetExchangesRequest) GetId ¶
func (x *GetExchangesRequest) GetId() string
func (*GetExchangesRequest) ProtoMessage ¶
func (*GetExchangesRequest) ProtoMessage()
func (*GetExchangesRequest) ProtoReflect ¶
func (x *GetExchangesRequest) ProtoReflect() protoreflect.Message
func (*GetExchangesRequest) Reset ¶
func (x *GetExchangesRequest) Reset()
func (*GetExchangesRequest) String ¶
func (x *GetExchangesRequest) String() string
type GetExchangesResponse ¶
type GetExchangesResponse struct { Proposal *ExchangeProposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // contains filtered or unexported fields }
func (*GetExchangesResponse) Descriptor
deprecated
func (*GetExchangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetExchangesResponse.ProtoReflect.Descriptor instead.
func (*GetExchangesResponse) GetProposal ¶
func (x *GetExchangesResponse) GetProposal() *ExchangeProposal
func (*GetExchangesResponse) ProtoMessage ¶
func (*GetExchangesResponse) ProtoMessage()
func (*GetExchangesResponse) ProtoReflect ¶
func (x *GetExchangesResponse) ProtoReflect() protoreflect.Message
func (*GetExchangesResponse) Reset ¶
func (x *GetExchangesResponse) Reset()
func (*GetExchangesResponse) String ¶
func (x *GetExchangesResponse) String() string
type GetUserMelonsRequest ¶
type GetUserMelonsRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*GetUserMelonsRequest) Descriptor
deprecated
func (*GetUserMelonsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserMelonsRequest.ProtoReflect.Descriptor instead.
func (*GetUserMelonsRequest) GetUserId ¶
func (x *GetUserMelonsRequest) GetUserId() string
func (*GetUserMelonsRequest) ProtoMessage ¶
func (*GetUserMelonsRequest) ProtoMessage()
func (*GetUserMelonsRequest) ProtoReflect ¶
func (x *GetUserMelonsRequest) ProtoReflect() protoreflect.Message
func (*GetUserMelonsRequest) Reset ¶
func (x *GetUserMelonsRequest) Reset()
func (*GetUserMelonsRequest) String ¶
func (x *GetUserMelonsRequest) String() string
type GetUserMelonsResponse ¶
type GetUserMelonsResponse struct { Melons *UserMelons `protobuf:"bytes,1,opt,name=melons,proto3" json:"melons,omitempty"` // contains filtered or unexported fields }
func (*GetUserMelonsResponse) Descriptor
deprecated
func (*GetUserMelonsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserMelonsResponse.ProtoReflect.Descriptor instead.
func (*GetUserMelonsResponse) GetMelons ¶
func (x *GetUserMelonsResponse) GetMelons() *UserMelons
func (*GetUserMelonsResponse) ProtoMessage ¶
func (*GetUserMelonsResponse) ProtoMessage()
func (*GetUserMelonsResponse) ProtoReflect ¶
func (x *GetUserMelonsResponse) ProtoReflect() protoreflect.Message
func (*GetUserMelonsResponse) Reset ¶
func (x *GetUserMelonsResponse) Reset()
func (*GetUserMelonsResponse) String ¶
func (x *GetUserMelonsResponse) String() string
type GetUserSeedsRequest ¶
type GetUserSeedsRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` CircleId *string `protobuf:"bytes,2,opt,name=circleId,proto3,oneof" json:"circleId,omitempty"` Cursor *PageCursor `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*GetUserSeedsRequest) Descriptor
deprecated
func (*GetUserSeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSeedsRequest.ProtoReflect.Descriptor instead.
func (*GetUserSeedsRequest) GetCircleId ¶
func (x *GetUserSeedsRequest) GetCircleId() string
func (*GetUserSeedsRequest) GetCursor ¶
func (x *GetUserSeedsRequest) GetCursor() *PageCursor
func (*GetUserSeedsRequest) GetUserId ¶
func (x *GetUserSeedsRequest) GetUserId() string
func (*GetUserSeedsRequest) ProtoMessage ¶
func (*GetUserSeedsRequest) ProtoMessage()
func (*GetUserSeedsRequest) ProtoReflect ¶
func (x *GetUserSeedsRequest) ProtoReflect() protoreflect.Message
func (*GetUserSeedsRequest) Reset ¶
func (x *GetUserSeedsRequest) Reset()
func (*GetUserSeedsRequest) String ¶
func (x *GetUserSeedsRequest) String() string
type GetUserSeedsResponse ¶
type GetUserSeedsResponse struct { Seeds []*UserSeeds `protobuf:"bytes,1,rep,name=seeds,proto3" json:"seeds,omitempty"` PageInfo *PageInfo `protobuf:"bytes,2,opt,name=pageInfo,proto3" json:"pageInfo,omitempty"` // contains filtered or unexported fields }
func (*GetUserSeedsResponse) Descriptor
deprecated
func (*GetUserSeedsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserSeedsResponse.ProtoReflect.Descriptor instead.
func (*GetUserSeedsResponse) GetPageInfo ¶
func (x *GetUserSeedsResponse) GetPageInfo() *PageInfo
func (*GetUserSeedsResponse) GetSeeds ¶
func (x *GetUserSeedsResponse) GetSeeds() []*UserSeeds
func (*GetUserSeedsResponse) ProtoMessage ¶
func (*GetUserSeedsResponse) ProtoMessage()
func (*GetUserSeedsResponse) ProtoReflect ¶
func (x *GetUserSeedsResponse) ProtoReflect() protoreflect.Message
func (*GetUserSeedsResponse) Reset ¶
func (x *GetUserSeedsResponse) Reset()
func (*GetUserSeedsResponse) String ¶
func (x *GetUserSeedsResponse) String() string
type InitCircleSeedsRequest ¶
type InitCircleSeedsRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circleId,proto3" json:"circleId,omitempty"` UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*InitCircleSeedsRequest) Descriptor
deprecated
func (*InitCircleSeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitCircleSeedsRequest.ProtoReflect.Descriptor instead.
func (*InitCircleSeedsRequest) GetCircleId ¶
func (x *InitCircleSeedsRequest) GetCircleId() string
func (*InitCircleSeedsRequest) GetUserId ¶
func (x *InitCircleSeedsRequest) GetUserId() string
func (*InitCircleSeedsRequest) ProtoMessage ¶
func (*InitCircleSeedsRequest) ProtoMessage()
func (*InitCircleSeedsRequest) ProtoReflect ¶
func (x *InitCircleSeedsRequest) ProtoReflect() protoreflect.Message
func (*InitCircleSeedsRequest) Reset ¶
func (x *InitCircleSeedsRequest) Reset()
func (*InitCircleSeedsRequest) String ¶
func (x *InitCircleSeedsRequest) String() string
type InitCircleSeedsResponse ¶
type InitCircleSeedsResponse struct { Seeds *CircleSeeds `protobuf:"bytes,1,opt,name=seeds,proto3" json:"seeds,omitempty"` // contains filtered or unexported fields }
func (*InitCircleSeedsResponse) Descriptor
deprecated
func (*InitCircleSeedsResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitCircleSeedsResponse.ProtoReflect.Descriptor instead.
func (*InitCircleSeedsResponse) GetSeeds ¶
func (x *InitCircleSeedsResponse) GetSeeds() *CircleSeeds
func (*InitCircleSeedsResponse) ProtoMessage ¶
func (*InitCircleSeedsResponse) ProtoMessage()
func (*InitCircleSeedsResponse) ProtoReflect ¶
func (x *InitCircleSeedsResponse) ProtoReflect() protoreflect.Message
func (*InitCircleSeedsResponse) Reset ¶
func (x *InitCircleSeedsResponse) Reset()
func (*InitCircleSeedsResponse) String ¶
func (x *InitCircleSeedsResponse) String() string
type InitUserMelonsRequest ¶
type InitUserMelonsRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*InitUserMelonsRequest) Descriptor
deprecated
func (*InitUserMelonsRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitUserMelonsRequest.ProtoReflect.Descriptor instead.
func (*InitUserMelonsRequest) GetUserId ¶
func (x *InitUserMelonsRequest) GetUserId() string
func (*InitUserMelonsRequest) ProtoMessage ¶
func (*InitUserMelonsRequest) ProtoMessage()
func (*InitUserMelonsRequest) ProtoReflect ¶
func (x *InitUserMelonsRequest) ProtoReflect() protoreflect.Message
func (*InitUserMelonsRequest) Reset ¶
func (x *InitUserMelonsRequest) Reset()
func (*InitUserMelonsRequest) String ¶
func (x *InitUserMelonsRequest) String() string
type InitUserMelonsResponse ¶
type InitUserMelonsResponse struct { Melons *UserMelons `protobuf:"bytes,1,opt,name=melons,proto3" json:"melons,omitempty"` // contains filtered or unexported fields }
func (*InitUserMelonsResponse) Descriptor
deprecated
func (*InitUserMelonsResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitUserMelonsResponse.ProtoReflect.Descriptor instead.
func (*InitUserMelonsResponse) GetMelons ¶
func (x *InitUserMelonsResponse) GetMelons() *UserMelons
func (*InitUserMelonsResponse) ProtoMessage ¶
func (*InitUserMelonsResponse) ProtoMessage()
func (*InitUserMelonsResponse) ProtoReflect ¶
func (x *InitUserMelonsResponse) ProtoReflect() protoreflect.Message
func (*InitUserMelonsResponse) Reset ¶
func (x *InitUserMelonsResponse) Reset()
func (*InitUserMelonsResponse) String ¶
func (x *InitUserMelonsResponse) String() string
type LockSeedsRequest ¶ added in v0.2.22
type LockSeedsRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` CircleID string `protobuf:"bytes,2,opt,name=circleID,proto3" json:"circleID,omitempty"` AmountToLock int64 `protobuf:"varint,3,opt,name=amountToLock,proto3" json:"amountToLock,omitempty"` Unlock bool `protobuf:"varint,4,opt,name=unlock,proto3" json:"unlock,omitempty"` // contains filtered or unexported fields }
func (*LockSeedsRequest) Descriptor
deprecated
added in
v0.2.22
func (*LockSeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use LockSeedsRequest.ProtoReflect.Descriptor instead.
func (*LockSeedsRequest) GetAmountToLock ¶ added in v0.2.22
func (x *LockSeedsRequest) GetAmountToLock() int64
func (*LockSeedsRequest) GetCircleID ¶ added in v0.2.22
func (x *LockSeedsRequest) GetCircleID() string
func (*LockSeedsRequest) GetUnlock ¶ added in v0.2.22
func (x *LockSeedsRequest) GetUnlock() bool
func (*LockSeedsRequest) GetUserID ¶ added in v0.2.22
func (x *LockSeedsRequest) GetUserID() string
func (*LockSeedsRequest) ProtoMessage ¶ added in v0.2.22
func (*LockSeedsRequest) ProtoMessage()
func (*LockSeedsRequest) ProtoReflect ¶ added in v0.2.22
func (x *LockSeedsRequest) ProtoReflect() protoreflect.Message
func (*LockSeedsRequest) Reset ¶ added in v0.2.22
func (x *LockSeedsRequest) Reset()
func (*LockSeedsRequest) String ¶ added in v0.2.22
func (x *LockSeedsRequest) String() string
type LockSeedsResponse ¶ added in v0.2.22
type LockSeedsResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*LockSeedsResponse) Descriptor
deprecated
added in
v0.2.22
func (*LockSeedsResponse) Descriptor() ([]byte, []int)
Deprecated: Use LockSeedsResponse.ProtoReflect.Descriptor instead.
func (*LockSeedsResponse) GetSuccess ¶ added in v0.2.22
func (x *LockSeedsResponse) GetSuccess() bool
func (*LockSeedsResponse) ProtoMessage ¶ added in v0.2.22
func (*LockSeedsResponse) ProtoMessage()
func (*LockSeedsResponse) ProtoReflect ¶ added in v0.2.22
func (x *LockSeedsResponse) ProtoReflect() protoreflect.Message
func (*LockSeedsResponse) Reset ¶ added in v0.2.22
func (x *LockSeedsResponse) Reset()
func (*LockSeedsResponse) String ¶ added in v0.2.22
func (x *LockSeedsResponse) String() string
type Melons ¶
type Melons struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*Melons) Descriptor
deprecated
func (*Melons) ProtoMessage ¶
func (*Melons) ProtoMessage()
func (*Melons) ProtoReflect ¶
func (x *Melons) ProtoReflect() protoreflect.Message
type MintCircleSeedsRequest ¶
type MintCircleSeedsRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circleId,proto3" json:"circleId,omitempty"` UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*MintCircleSeedsRequest) Descriptor
deprecated
func (*MintCircleSeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MintCircleSeedsRequest.ProtoReflect.Descriptor instead.
func (*MintCircleSeedsRequest) GetAmount ¶
func (x *MintCircleSeedsRequest) GetAmount() int64
func (*MintCircleSeedsRequest) GetCircleId ¶
func (x *MintCircleSeedsRequest) GetCircleId() string
func (*MintCircleSeedsRequest) GetUserId ¶
func (x *MintCircleSeedsRequest) GetUserId() string
func (*MintCircleSeedsRequest) ProtoMessage ¶
func (*MintCircleSeedsRequest) ProtoMessage()
func (*MintCircleSeedsRequest) ProtoReflect ¶
func (x *MintCircleSeedsRequest) ProtoReflect() protoreflect.Message
func (*MintCircleSeedsRequest) Reset ¶
func (x *MintCircleSeedsRequest) Reset()
func (*MintCircleSeedsRequest) String ¶
func (x *MintCircleSeedsRequest) String() string
type MintCircleSeedsResponse ¶
type MintCircleSeedsResponse struct { CircleSeeds *CircleSeeds `protobuf:"bytes,1,opt,name=circleSeeds,proto3" json:"circleSeeds,omitempty"` UserSeeds *UserSeeds `protobuf:"bytes,2,opt,name=userSeeds,proto3" json:"userSeeds,omitempty"` // contains filtered or unexported fields }
func (*MintCircleSeedsResponse) Descriptor
deprecated
func (*MintCircleSeedsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MintCircleSeedsResponse.ProtoReflect.Descriptor instead.
func (*MintCircleSeedsResponse) GetCircleSeeds ¶
func (x *MintCircleSeedsResponse) GetCircleSeeds() *CircleSeeds
func (*MintCircleSeedsResponse) GetUserSeeds ¶
func (x *MintCircleSeedsResponse) GetUserSeeds() *UserSeeds
func (*MintCircleSeedsResponse) ProtoMessage ¶
func (*MintCircleSeedsResponse) ProtoMessage()
func (*MintCircleSeedsResponse) ProtoReflect ¶
func (x *MintCircleSeedsResponse) ProtoReflect() protoreflect.Message
func (*MintCircleSeedsResponse) Reset ¶
func (x *MintCircleSeedsResponse) Reset()
func (*MintCircleSeedsResponse) String ¶
func (x *MintCircleSeedsResponse) String() string
type MintUserMelonsRequest ¶
type MintUserMelonsRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*MintUserMelonsRequest) Descriptor
deprecated
func (*MintUserMelonsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MintUserMelonsRequest.ProtoReflect.Descriptor instead.
func (*MintUserMelonsRequest) GetAmount ¶
func (x *MintUserMelonsRequest) GetAmount() int64
func (*MintUserMelonsRequest) GetUserId ¶
func (x *MintUserMelonsRequest) GetUserId() string
func (*MintUserMelonsRequest) ProtoMessage ¶
func (*MintUserMelonsRequest) ProtoMessage()
func (*MintUserMelonsRequest) ProtoReflect ¶
func (x *MintUserMelonsRequest) ProtoReflect() protoreflect.Message
func (*MintUserMelonsRequest) Reset ¶
func (x *MintUserMelonsRequest) Reset()
func (*MintUserMelonsRequest) String ¶
func (x *MintUserMelonsRequest) String() string
type MintUserMelonsResponse ¶
type MintUserMelonsResponse struct { Melons *UserMelons `protobuf:"bytes,1,opt,name=melons,proto3" json:"melons,omitempty"` // contains filtered or unexported fields }
func (*MintUserMelonsResponse) Descriptor
deprecated
func (*MintUserMelonsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MintUserMelonsResponse.ProtoReflect.Descriptor instead.
func (*MintUserMelonsResponse) GetMelons ¶
func (x *MintUserMelonsResponse) GetMelons() *UserMelons
func (*MintUserMelonsResponse) ProtoMessage ¶
func (*MintUserMelonsResponse) ProtoMessage()
func (*MintUserMelonsResponse) ProtoReflect ¶
func (x *MintUserMelonsResponse) ProtoReflect() protoreflect.Message
func (*MintUserMelonsResponse) Reset ¶
func (x *MintUserMelonsResponse) Reset()
func (*MintUserMelonsResponse) String ¶
func (x *MintUserMelonsResponse) String() string
type PageCursor ¶
type PageCursor struct { CursorId string `protobuf:"bytes,1,opt,name=cursorId,proto3" json:"cursorId,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Dir PageDir `protobuf:"varint,3,opt,name=dir,proto3,enum=seeds_api.v1.PageDir" json:"dir,omitempty"` // contains filtered or unexported fields }
func (*PageCursor) Descriptor
deprecated
func (*PageCursor) Descriptor() ([]byte, []int)
Deprecated: Use PageCursor.ProtoReflect.Descriptor instead.
func (*PageCursor) GetCursorId ¶
func (x *PageCursor) GetCursorId() string
func (*PageCursor) GetDir ¶
func (x *PageCursor) GetDir() PageDir
func (*PageCursor) GetLimit ¶
func (x *PageCursor) GetLimit() uint32
func (*PageCursor) ProtoMessage ¶
func (*PageCursor) ProtoMessage()
func (*PageCursor) ProtoReflect ¶
func (x *PageCursor) ProtoReflect() protoreflect.Message
func (*PageCursor) Reset ¶
func (x *PageCursor) Reset()
func (*PageCursor) String ¶
func (x *PageCursor) String() string
type PageDir ¶
type PageDir int32
func (PageDir) Descriptor ¶
func (PageDir) Descriptor() protoreflect.EnumDescriptor
func (PageDir) EnumDescriptor
deprecated
func (PageDir) Number ¶
func (x PageDir) Number() protoreflect.EnumNumber
func (PageDir) Type ¶
func (PageDir) Type() protoreflect.EnumType
type PageInfo ¶
type PageInfo struct { FirstId *string `protobuf:"bytes,1,opt,name=firstId,proto3,oneof" json:"firstId,omitempty"` LastId *string `protobuf:"bytes,2,opt,name=lastId,proto3,oneof" json:"lastId,omitempty"` HasPrev bool `protobuf:"varint,3,opt,name=hasPrev,proto3" json:"hasPrev,omitempty"` HasNext bool `protobuf:"varint,4,opt,name=hasNext,proto3" json:"hasNext,omitempty"` Length uint32 `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"` // contains filtered or unexported fields }
func (*PageInfo) Descriptor
deprecated
func (*PageInfo) GetFirstId ¶
func (*PageInfo) GetHasNext ¶
func (*PageInfo) GetHasPrev ¶
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
type RejectExchangeRequest ¶
type RejectExchangeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*RejectExchangeRequest) Descriptor
deprecated
func (*RejectExchangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RejectExchangeRequest.ProtoReflect.Descriptor instead.
func (*RejectExchangeRequest) GetId ¶
func (x *RejectExchangeRequest) GetId() string
func (*RejectExchangeRequest) GetUserId ¶
func (x *RejectExchangeRequest) GetUserId() string
func (*RejectExchangeRequest) ProtoMessage ¶
func (*RejectExchangeRequest) ProtoMessage()
func (*RejectExchangeRequest) ProtoReflect ¶
func (x *RejectExchangeRequest) ProtoReflect() protoreflect.Message
func (*RejectExchangeRequest) Reset ¶
func (x *RejectExchangeRequest) Reset()
func (*RejectExchangeRequest) String ¶
func (x *RejectExchangeRequest) String() string
type ResetCircleSeedsRequest ¶
type ResetCircleSeedsRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circleId,proto3" json:"circleId,omitempty"` // contains filtered or unexported fields }
func (*ResetCircleSeedsRequest) Descriptor
deprecated
func (*ResetCircleSeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetCircleSeedsRequest.ProtoReflect.Descriptor instead.
func (*ResetCircleSeedsRequest) GetCircleId ¶
func (x *ResetCircleSeedsRequest) GetCircleId() string
func (*ResetCircleSeedsRequest) ProtoMessage ¶
func (*ResetCircleSeedsRequest) ProtoMessage()
func (*ResetCircleSeedsRequest) ProtoReflect ¶
func (x *ResetCircleSeedsRequest) ProtoReflect() protoreflect.Message
func (*ResetCircleSeedsRequest) Reset ¶
func (x *ResetCircleSeedsRequest) Reset()
func (*ResetCircleSeedsRequest) String ¶
func (x *ResetCircleSeedsRequest) String() string
type Seeds ¶
type Seeds struct { CircleId string `protobuf:"bytes,1,opt,name=circleId,proto3" json:"circleId,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*Seeds) Descriptor
deprecated
func (*Seeds) GetCircleId ¶
func (*Seeds) ProtoMessage ¶
func (*Seeds) ProtoMessage()
func (*Seeds) ProtoReflect ¶
func (x *Seeds) ProtoReflect() protoreflect.Message
type SeedsAPIClient ¶ added in v0.2.22
type SeedsAPIClient interface { InitCircleSeeds(ctx context.Context, in *InitCircleSeedsRequest, opts ...grpc.CallOption) (*InitCircleSeedsResponse, error) ResetCircleSeeds(ctx context.Context, in *ResetCircleSeedsRequest, opts ...grpc.CallOption) (*Empty, error) MintCircleSeeds(ctx context.Context, in *MintCircleSeedsRequest, opts ...grpc.CallOption) (*MintCircleSeedsResponse, error) GetCircleSeeds(ctx context.Context, in *GetCircleSeedsRequest, opts ...grpc.CallOption) (*GetCircleSeedsResponse, error) InitUserMelons(ctx context.Context, in *InitUserMelonsRequest, opts ...grpc.CallOption) (*InitUserMelonsResponse, error) MintUserMelons(ctx context.Context, in *MintUserMelonsRequest, opts ...grpc.CallOption) (*MintUserMelonsResponse, error) GetUserMelons(ctx context.Context, in *GetUserMelonsRequest, opts ...grpc.CallOption) (*GetUserMelonsResponse, error) GetUserSeeds(ctx context.Context, in *GetUserSeedsRequest, opts ...grpc.CallOption) (*GetUserSeedsResponse, error) CreateExchange(ctx context.Context, in *CreateExchangeRequest, opts ...grpc.CallOption) (*CreateExchangeResponse, error) AcceptExchange(ctx context.Context, in *AcceptExchangeRequest, opts ...grpc.CallOption) (*Empty, error) RejectExchange(ctx context.Context, in *RejectExchangeRequest, opts ...grpc.CallOption) (*Empty, error) CancelExchange(ctx context.Context, in *CancelExchangeRequest, opts ...grpc.CallOption) (*Empty, error) GetExchanges(ctx context.Context, in *GetExchangesRequest, opts ...grpc.CallOption) (*GetExchangesResponse, error) TransferMelons(ctx context.Context, in *TransferRequest, opts ...grpc.CallOption) (*Empty, error) TransferSeeds(ctx context.Context, in *TransferSeedsRequest, opts ...grpc.CallOption) (*Empty, error) SumUserSeeds(ctx context.Context, in *SumUserSeedsRequest, opts ...grpc.CallOption) (*SumUserSeedsResponse, error) LockSeeds(ctx context.Context, in *LockSeedsRequest, opts ...grpc.CallOption) (*LockSeedsResponse, error) }
SeedsAPIClient is the client API for SeedsAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSeedsAPIClient ¶ added in v0.2.22
func NewSeedsAPIClient(cc grpc.ClientConnInterface) SeedsAPIClient
type SeedsAPIServer ¶ added in v0.2.22
type SeedsAPIServer interface { InitCircleSeeds(context.Context, *InitCircleSeedsRequest) (*InitCircleSeedsResponse, error) ResetCircleSeeds(context.Context, *ResetCircleSeedsRequest) (*Empty, error) MintCircleSeeds(context.Context, *MintCircleSeedsRequest) (*MintCircleSeedsResponse, error) GetCircleSeeds(context.Context, *GetCircleSeedsRequest) (*GetCircleSeedsResponse, error) InitUserMelons(context.Context, *InitUserMelonsRequest) (*InitUserMelonsResponse, error) MintUserMelons(context.Context, *MintUserMelonsRequest) (*MintUserMelonsResponse, error) GetUserMelons(context.Context, *GetUserMelonsRequest) (*GetUserMelonsResponse, error) GetUserSeeds(context.Context, *GetUserSeedsRequest) (*GetUserSeedsResponse, error) CreateExchange(context.Context, *CreateExchangeRequest) (*CreateExchangeResponse, error) AcceptExchange(context.Context, *AcceptExchangeRequest) (*Empty, error) RejectExchange(context.Context, *RejectExchangeRequest) (*Empty, error) CancelExchange(context.Context, *CancelExchangeRequest) (*Empty, error) GetExchanges(context.Context, *GetExchangesRequest) (*GetExchangesResponse, error) TransferMelons(context.Context, *TransferRequest) (*Empty, error) TransferSeeds(context.Context, *TransferSeedsRequest) (*Empty, error) SumUserSeeds(context.Context, *SumUserSeedsRequest) (*SumUserSeedsResponse, error) LockSeeds(context.Context, *LockSeedsRequest) (*LockSeedsResponse, error) // contains filtered or unexported methods }
SeedsAPIServer is the server API for SeedsAPI service. All implementations must embed UnimplementedSeedsAPIServer for forward compatibility
type SumUserSeedsRequest ¶ added in v0.2.22
type SumUserSeedsRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*SumUserSeedsRequest) Descriptor
deprecated
added in
v0.2.22
func (*SumUserSeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SumUserSeedsRequest.ProtoReflect.Descriptor instead.
func (*SumUserSeedsRequest) GetUserId ¶ added in v0.2.22
func (x *SumUserSeedsRequest) GetUserId() string
func (*SumUserSeedsRequest) ProtoMessage ¶ added in v0.2.22
func (*SumUserSeedsRequest) ProtoMessage()
func (*SumUserSeedsRequest) ProtoReflect ¶ added in v0.2.22
func (x *SumUserSeedsRequest) ProtoReflect() protoreflect.Message
func (*SumUserSeedsRequest) Reset ¶ added in v0.2.22
func (x *SumUserSeedsRequest) Reset()
func (*SumUserSeedsRequest) String ¶ added in v0.2.22
func (x *SumUserSeedsRequest) String() string
type SumUserSeedsResponse ¶ added in v0.2.22
type SumUserSeedsResponse struct { Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*SumUserSeedsResponse) Descriptor
deprecated
added in
v0.2.22
func (*SumUserSeedsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SumUserSeedsResponse.ProtoReflect.Descriptor instead.
func (*SumUserSeedsResponse) GetAmount ¶ added in v0.2.22
func (x *SumUserSeedsResponse) GetAmount() int64
func (*SumUserSeedsResponse) ProtoMessage ¶ added in v0.2.22
func (*SumUserSeedsResponse) ProtoMessage()
func (*SumUserSeedsResponse) ProtoReflect ¶ added in v0.2.22
func (x *SumUserSeedsResponse) ProtoReflect() protoreflect.Message
func (*SumUserSeedsResponse) Reset ¶ added in v0.2.22
func (x *SumUserSeedsResponse) Reset()
func (*SumUserSeedsResponse) String ¶ added in v0.2.22
func (x *SumUserSeedsResponse) String() string
type TransferRequest ¶ added in v0.2.22
type TransferRequest struct { FromUserId string `protobuf:"bytes,1,opt,name=fromUserId,proto3" json:"fromUserId,omitempty"` ToUserId string `protobuf:"bytes,2,opt,name=toUserId,proto3" json:"toUserId,omitempty"` // Types that are assignable to Currency: // // *TransferRequest_Seeds // *TransferRequest_Melons Currency isTransferRequest_Currency `protobuf_oneof:"currency"` // contains filtered or unexported fields }
func (*TransferRequest) Descriptor
deprecated
added in
v0.2.22
func (*TransferRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferRequest.ProtoReflect.Descriptor instead.
func (*TransferRequest) GetCurrency ¶ added in v0.2.22
func (m *TransferRequest) GetCurrency() isTransferRequest_Currency
func (*TransferRequest) GetFromUserId ¶ added in v0.2.22
func (x *TransferRequest) GetFromUserId() string
func (*TransferRequest) GetMelons ¶ added in v0.2.22
func (x *TransferRequest) GetMelons() *Melons
func (*TransferRequest) GetSeeds ¶ added in v0.2.22
func (x *TransferRequest) GetSeeds() *Seeds
func (*TransferRequest) GetToUserId ¶ added in v0.2.22
func (x *TransferRequest) GetToUserId() string
func (*TransferRequest) ProtoMessage ¶ added in v0.2.22
func (*TransferRequest) ProtoMessage()
func (*TransferRequest) ProtoReflect ¶ added in v0.2.22
func (x *TransferRequest) ProtoReflect() protoreflect.Message
func (*TransferRequest) Reset ¶ added in v0.2.22
func (x *TransferRequest) Reset()
func (*TransferRequest) String ¶ added in v0.2.22
func (x *TransferRequest) String() string
type TransferRequest_Melons ¶ added in v0.2.22
type TransferRequest_Melons struct {
Melons *Melons `protobuf:"bytes,4,opt,name=melons,proto3,oneof"`
}
type TransferRequest_Seeds ¶ added in v0.2.22
type TransferRequest_Seeds struct {
Seeds *Seeds `protobuf:"bytes,3,opt,name=seeds,proto3,oneof"`
}
type TransferSeedsRequest ¶
type TransferSeedsRequest struct { ToUserId string `protobuf:"bytes,1,opt,name=toUserId,proto3" json:"toUserId,omitempty"` CircleId string `protobuf:"bytes,2,opt,name=circleId,proto3" json:"circleId,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*TransferSeedsRequest) Descriptor
deprecated
func (*TransferSeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferSeedsRequest.ProtoReflect.Descriptor instead.
func (*TransferSeedsRequest) GetAmount ¶
func (x *TransferSeedsRequest) GetAmount() int64
func (*TransferSeedsRequest) GetCircleId ¶
func (x *TransferSeedsRequest) GetCircleId() string
func (*TransferSeedsRequest) GetToUserId ¶
func (x *TransferSeedsRequest) GetToUserId() string
func (*TransferSeedsRequest) ProtoMessage ¶
func (*TransferSeedsRequest) ProtoMessage()
func (*TransferSeedsRequest) ProtoReflect ¶
func (x *TransferSeedsRequest) ProtoReflect() protoreflect.Message
func (*TransferSeedsRequest) Reset ¶
func (x *TransferSeedsRequest) Reset()
func (*TransferSeedsRequest) String ¶
func (x *TransferSeedsRequest) String() string
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type UnimplementedSeedsAPIServer ¶ added in v0.2.22
type UnimplementedSeedsAPIServer struct { }
UnimplementedSeedsAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedSeedsAPIServer) AcceptExchange ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) AcceptExchange(context.Context, *AcceptExchangeRequest) (*Empty, error)
func (UnimplementedSeedsAPIServer) CancelExchange ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) CancelExchange(context.Context, *CancelExchangeRequest) (*Empty, error)
func (UnimplementedSeedsAPIServer) CreateExchange ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) CreateExchange(context.Context, *CreateExchangeRequest) (*CreateExchangeResponse, error)
func (UnimplementedSeedsAPIServer) GetCircleSeeds ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) GetCircleSeeds(context.Context, *GetCircleSeedsRequest) (*GetCircleSeedsResponse, error)
func (UnimplementedSeedsAPIServer) GetExchanges ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) GetExchanges(context.Context, *GetExchangesRequest) (*GetExchangesResponse, error)
func (UnimplementedSeedsAPIServer) GetUserMelons ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) GetUserMelons(context.Context, *GetUserMelonsRequest) (*GetUserMelonsResponse, error)
func (UnimplementedSeedsAPIServer) GetUserSeeds ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) GetUserSeeds(context.Context, *GetUserSeedsRequest) (*GetUserSeedsResponse, error)
func (UnimplementedSeedsAPIServer) InitCircleSeeds ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) InitCircleSeeds(context.Context, *InitCircleSeedsRequest) (*InitCircleSeedsResponse, error)
func (UnimplementedSeedsAPIServer) InitUserMelons ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) InitUserMelons(context.Context, *InitUserMelonsRequest) (*InitUserMelonsResponse, error)
func (UnimplementedSeedsAPIServer) LockSeeds ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) LockSeeds(context.Context, *LockSeedsRequest) (*LockSeedsResponse, error)
func (UnimplementedSeedsAPIServer) MintCircleSeeds ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) MintCircleSeeds(context.Context, *MintCircleSeedsRequest) (*MintCircleSeedsResponse, error)
func (UnimplementedSeedsAPIServer) MintUserMelons ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) MintUserMelons(context.Context, *MintUserMelonsRequest) (*MintUserMelonsResponse, error)
func (UnimplementedSeedsAPIServer) RejectExchange ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) RejectExchange(context.Context, *RejectExchangeRequest) (*Empty, error)
func (UnimplementedSeedsAPIServer) ResetCircleSeeds ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) ResetCircleSeeds(context.Context, *ResetCircleSeedsRequest) (*Empty, error)
func (UnimplementedSeedsAPIServer) SumUserSeeds ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) SumUserSeeds(context.Context, *SumUserSeedsRequest) (*SumUserSeedsResponse, error)
func (UnimplementedSeedsAPIServer) TransferMelons ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) TransferMelons(context.Context, *TransferRequest) (*Empty, error)
func (UnimplementedSeedsAPIServer) TransferSeeds ¶ added in v0.2.22
func (UnimplementedSeedsAPIServer) TransferSeeds(context.Context, *TransferSeedsRequest) (*Empty, error)
type UnsafeSeedsAPIServer ¶ added in v0.2.22
type UnsafeSeedsAPIServer interface {
// contains filtered or unexported methods
}
UnsafeSeedsAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SeedsAPIServer will result in compilation errors.
type UserMelons ¶
type UserMelons struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` AmountAvailable int64 `protobuf:"varint,2,opt,name=amountAvailable,proto3" json:"amountAvailable,omitempty"` AmountLocked int64 `protobuf:"varint,3,opt,name=amountLocked,proto3" json:"amountLocked,omitempty"` AmountTotal int64 `protobuf:"varint,4,opt,name=amountTotal,proto3" json:"amountTotal,omitempty"` // contains filtered or unexported fields }
func (*UserMelons) Descriptor
deprecated
func (*UserMelons) Descriptor() ([]byte, []int)
Deprecated: Use UserMelons.ProtoReflect.Descriptor instead.
func (*UserMelons) GetAmountAvailable ¶
func (x *UserMelons) GetAmountAvailable() int64
func (*UserMelons) GetAmountLocked ¶
func (x *UserMelons) GetAmountLocked() int64
func (*UserMelons) GetAmountTotal ¶
func (x *UserMelons) GetAmountTotal() int64
func (*UserMelons) GetUserId ¶
func (x *UserMelons) GetUserId() string
func (*UserMelons) ProtoMessage ¶
func (*UserMelons) ProtoMessage()
func (*UserMelons) ProtoReflect ¶
func (x *UserMelons) ProtoReflect() protoreflect.Message
func (*UserMelons) Reset ¶
func (x *UserMelons) Reset()
func (*UserMelons) String ¶
func (x *UserMelons) String() string
type UserSeeds ¶
type UserSeeds struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` CircleId string `protobuf:"bytes,2,opt,name=circleId,proto3" json:"circleId,omitempty"` AmountAvailable int64 `protobuf:"varint,3,opt,name=amountAvailable,proto3" json:"amountAvailable,omitempty"` AmountLocked int64 `protobuf:"varint,4,opt,name=amountLocked,proto3" json:"amountLocked,omitempty"` AmountTotal int64 `protobuf:"varint,5,opt,name=amountTotal,proto3" json:"amountTotal,omitempty"` // contains filtered or unexported fields }
func (*UserSeeds) Descriptor
deprecated
func (*UserSeeds) GetAmountAvailable ¶
func (*UserSeeds) GetAmountLocked ¶
func (*UserSeeds) GetAmountTotal ¶
func (*UserSeeds) GetCircleId ¶
func (*UserSeeds) ProtoMessage ¶
func (*UserSeeds) ProtoMessage()
func (*UserSeeds) ProtoReflect ¶
func (x *UserSeeds) ProtoReflect() protoreflect.Message