Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPoolServer(s grpc.ServiceRegistrar, srv PoolServer)
- type BetId
- type BetIdMultiError
- type BetIdValidationError
- type BetMetadata
- func (*BetMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BetMetadata) GetBetterProfile() *v11.UserProfile
- func (x *BetMetadata) GetIsIntentSubmitted() bool
- func (x *BetMetadata) GetRendezvousSignature() *v1.Signature
- func (x *BetMetadata) GetVerifiedMetadata() *SignedBetMetadata
- func (*BetMetadata) ProtoMessage()
- func (x *BetMetadata) ProtoReflect() protoreflect.Message
- func (x *BetMetadata) Reset()
- func (x *BetMetadata) String() string
- func (m *BetMetadata) Validate() error
- func (m *BetMetadata) ValidateAll() error
- type BetMetadataMultiError
- type BetMetadataValidationError
- func (e BetMetadataValidationError) Cause() error
- func (e BetMetadataValidationError) Error() string
- func (e BetMetadataValidationError) ErrorName() string
- func (e BetMetadataValidationError) Field() string
- func (e BetMetadataValidationError) Key() bool
- func (e BetMetadataValidationError) Reason() string
- type BetOutcome
- func (*BetOutcome) Descriptor() ([]byte, []int)deprecated
- func (x *BetOutcome) GetBooleanOutcome() bool
- func (m *BetOutcome) GetKind() isBetOutcome_Kind
- func (*BetOutcome) ProtoMessage()
- func (x *BetOutcome) ProtoReflect() protoreflect.Message
- func (x *BetOutcome) Reset()
- func (x *BetOutcome) String() string
- func (m *BetOutcome) Validate() error
- func (m *BetOutcome) ValidateAll() error
- type BetOutcomeMultiError
- type BetOutcomeValidationError
- type BetOutcome_BooleanOutcome
- type BetSummary
- func (*BetSummary) Descriptor() ([]byte, []int)deprecated
- func (x *BetSummary) GetBooleanSummary() *BetSummary_BooleanBetSummary
- func (m *BetSummary) GetKind() isBetSummary_Kind
- func (x *BetSummary) GetTotalAmountBet() *v1.FiatPaymentAmount
- func (*BetSummary) ProtoMessage()
- func (x *BetSummary) ProtoReflect() protoreflect.Message
- func (x *BetSummary) Reset()
- func (x *BetSummary) String() string
- func (m *BetSummary) Validate() error
- func (m *BetSummary) ValidateAll() error
- type BetSummaryMultiError
- type BetSummaryValidationError
- type BetSummary_BooleanBetSummary
- func (*BetSummary_BooleanBetSummary) Descriptor() ([]byte, []int)deprecated
- func (x *BetSummary_BooleanBetSummary) GetNumNo() uint32
- func (x *BetSummary_BooleanBetSummary) GetNumYes() uint32
- func (*BetSummary_BooleanBetSummary) ProtoMessage()
- func (x *BetSummary_BooleanBetSummary) ProtoReflect() protoreflect.Message
- func (x *BetSummary_BooleanBetSummary) Reset()
- func (x *BetSummary_BooleanBetSummary) String() string
- func (m *BetSummary_BooleanBetSummary) Validate() error
- func (m *BetSummary_BooleanBetSummary) ValidateAll() error
- type BetSummary_BooleanBetSummaryMultiError
- type BetSummary_BooleanBetSummaryValidationError
- func (e BetSummary_BooleanBetSummaryValidationError) Cause() error
- func (e BetSummary_BooleanBetSummaryValidationError) Error() string
- func (e BetSummary_BooleanBetSummaryValidationError) ErrorName() string
- func (e BetSummary_BooleanBetSummaryValidationError) Field() string
- func (e BetSummary_BooleanBetSummaryValidationError) Key() bool
- func (e BetSummary_BooleanBetSummaryValidationError) Reason() string
- type BetSummary_BooleanSummary
- type ClosePoolRequest
- func (*ClosePoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClosePoolRequest) GetAuth() *v1.Auth
- func (x *ClosePoolRequest) GetClosedAt() *timestamppb.Timestamp
- func (x *ClosePoolRequest) GetId() *PoolId
- func (x *ClosePoolRequest) GetNewRendezvousSignature() *v1.Signature
- func (*ClosePoolRequest) ProtoMessage()
- func (x *ClosePoolRequest) ProtoReflect() protoreflect.Message
- func (x *ClosePoolRequest) Reset()
- func (x *ClosePoolRequest) String() string
- func (m *ClosePoolRequest) Validate() error
- func (m *ClosePoolRequest) ValidateAll() error
- type ClosePoolRequestMultiError
- type ClosePoolRequestValidationError
- func (e ClosePoolRequestValidationError) Cause() error
- func (e ClosePoolRequestValidationError) Error() string
- func (e ClosePoolRequestValidationError) ErrorName() string
- func (e ClosePoolRequestValidationError) Field() string
- func (e ClosePoolRequestValidationError) Key() bool
- func (e ClosePoolRequestValidationError) Reason() string
- type ClosePoolResponse
- func (*ClosePoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClosePoolResponse) GetResult() ClosePoolResponse_Result
- func (*ClosePoolResponse) ProtoMessage()
- func (x *ClosePoolResponse) ProtoReflect() protoreflect.Message
- func (x *ClosePoolResponse) Reset()
- func (x *ClosePoolResponse) String() string
- func (m *ClosePoolResponse) Validate() error
- func (m *ClosePoolResponse) ValidateAll() error
- type ClosePoolResponseMultiError
- type ClosePoolResponseValidationError
- func (e ClosePoolResponseValidationError) Cause() error
- func (e ClosePoolResponseValidationError) Error() string
- func (e ClosePoolResponseValidationError) ErrorName() string
- func (e ClosePoolResponseValidationError) Field() string
- func (e ClosePoolResponseValidationError) Key() bool
- func (e ClosePoolResponseValidationError) Reason() string
- type ClosePoolResponse_Result
- func (ClosePoolResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x ClosePoolResponse_Result) Enum() *ClosePoolResponse_Result
- func (ClosePoolResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClosePoolResponse_Result) Number() protoreflect.EnumNumber
- func (x ClosePoolResponse_Result) String() string
- func (ClosePoolResponse_Result) Type() protoreflect.EnumType
- type CreatePoolRequest
- func (*CreatePoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePoolRequest) GetAuth() *v1.Auth
- func (x *CreatePoolRequest) GetPool() *SignedPoolMetadata
- func (x *CreatePoolRequest) GetRendezvousSignature() *v1.Signature
- func (*CreatePoolRequest) ProtoMessage()
- func (x *CreatePoolRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePoolRequest) Reset()
- func (x *CreatePoolRequest) String() string
- func (m *CreatePoolRequest) Validate() error
- func (m *CreatePoolRequest) ValidateAll() error
- type CreatePoolRequestMultiError
- type CreatePoolRequestValidationError
- func (e CreatePoolRequestValidationError) Cause() error
- func (e CreatePoolRequestValidationError) Error() string
- func (e CreatePoolRequestValidationError) ErrorName() string
- func (e CreatePoolRequestValidationError) Field() string
- func (e CreatePoolRequestValidationError) Key() bool
- func (e CreatePoolRequestValidationError) Reason() string
- type CreatePoolResponse
- func (*CreatePoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePoolResponse) GetResult() CreatePoolResponse_Result
- func (*CreatePoolResponse) ProtoMessage()
- func (x *CreatePoolResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePoolResponse) Reset()
- func (x *CreatePoolResponse) String() string
- func (m *CreatePoolResponse) Validate() error
- func (m *CreatePoolResponse) ValidateAll() error
- type CreatePoolResponseMultiError
- type CreatePoolResponseValidationError
- func (e CreatePoolResponseValidationError) Cause() error
- func (e CreatePoolResponseValidationError) Error() string
- func (e CreatePoolResponseValidationError) ErrorName() string
- func (e CreatePoolResponseValidationError) Field() string
- func (e CreatePoolResponseValidationError) Key() bool
- func (e CreatePoolResponseValidationError) Reason() string
- type CreatePoolResponse_Result
- func (CreatePoolResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x CreatePoolResponse_Result) Enum() *CreatePoolResponse_Result
- func (CreatePoolResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreatePoolResponse_Result) Number() protoreflect.EnumNumber
- func (x CreatePoolResponse_Result) String() string
- func (CreatePoolResponse_Result) Type() protoreflect.EnumType
- type GetPagedPoolsRequest
- func (*GetPagedPoolsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPagedPoolsRequest) GetAuth() *v1.Auth
- func (x *GetPagedPoolsRequest) GetQueryOptions() *v1.QueryOptions
- func (*GetPagedPoolsRequest) ProtoMessage()
- func (x *GetPagedPoolsRequest) ProtoReflect() protoreflect.Message
- func (x *GetPagedPoolsRequest) Reset()
- func (x *GetPagedPoolsRequest) String() string
- func (m *GetPagedPoolsRequest) Validate() error
- func (m *GetPagedPoolsRequest) ValidateAll() error
- type GetPagedPoolsRequestMultiError
- type GetPagedPoolsRequestValidationError
- func (e GetPagedPoolsRequestValidationError) Cause() error
- func (e GetPagedPoolsRequestValidationError) Error() string
- func (e GetPagedPoolsRequestValidationError) ErrorName() string
- func (e GetPagedPoolsRequestValidationError) Field() string
- func (e GetPagedPoolsRequestValidationError) Key() bool
- func (e GetPagedPoolsRequestValidationError) Reason() string
- type GetPagedPoolsResponse
- func (*GetPagedPoolsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPagedPoolsResponse) GetPools() []*PoolMetadata
- func (x *GetPagedPoolsResponse) GetResult() GetPagedPoolsResponse_Result
- func (*GetPagedPoolsResponse) ProtoMessage()
- func (x *GetPagedPoolsResponse) ProtoReflect() protoreflect.Message
- func (x *GetPagedPoolsResponse) Reset()
- func (x *GetPagedPoolsResponse) String() string
- func (m *GetPagedPoolsResponse) Validate() error
- func (m *GetPagedPoolsResponse) ValidateAll() error
- type GetPagedPoolsResponseMultiError
- type GetPagedPoolsResponseValidationError
- func (e GetPagedPoolsResponseValidationError) Cause() error
- func (e GetPagedPoolsResponseValidationError) Error() string
- func (e GetPagedPoolsResponseValidationError) ErrorName() string
- func (e GetPagedPoolsResponseValidationError) Field() string
- func (e GetPagedPoolsResponseValidationError) Key() bool
- func (e GetPagedPoolsResponseValidationError) Reason() string
- type GetPagedPoolsResponse_Result
- func (GetPagedPoolsResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetPagedPoolsResponse_Result) Enum() *GetPagedPoolsResponse_Result
- func (GetPagedPoolsResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetPagedPoolsResponse_Result) Number() protoreflect.EnumNumber
- func (x GetPagedPoolsResponse_Result) String() string
- func (GetPagedPoolsResponse_Result) Type() protoreflect.EnumType
- type GetPoolRequest
- func (*GetPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPoolRequest) GetAuth() *v1.Auth
- func (x *GetPoolRequest) GetExcludeBets() bool
- func (x *GetPoolRequest) GetId() *PoolId
- func (x *GetPoolRequest) GetIncludeUserProfiles() bool
- func (*GetPoolRequest) ProtoMessage()
- func (x *GetPoolRequest) ProtoReflect() protoreflect.Message
- func (x *GetPoolRequest) Reset()
- func (x *GetPoolRequest) String() string
- func (m *GetPoolRequest) Validate() error
- func (m *GetPoolRequest) ValidateAll() error
- type GetPoolRequestMultiError
- type GetPoolRequestValidationError
- func (e GetPoolRequestValidationError) Cause() error
- func (e GetPoolRequestValidationError) Error() string
- func (e GetPoolRequestValidationError) ErrorName() string
- func (e GetPoolRequestValidationError) Field() string
- func (e GetPoolRequestValidationError) Key() bool
- func (e GetPoolRequestValidationError) Reason() string
- type GetPoolResponse
- func (*GetPoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPoolResponse) GetPool() *PoolMetadata
- func (x *GetPoolResponse) GetResult() GetPoolResponse_Result
- func (*GetPoolResponse) ProtoMessage()
- func (x *GetPoolResponse) ProtoReflect() protoreflect.Message
- func (x *GetPoolResponse) Reset()
- func (x *GetPoolResponse) String() string
- func (m *GetPoolResponse) Validate() error
- func (m *GetPoolResponse) ValidateAll() error
- type GetPoolResponseMultiError
- type GetPoolResponseValidationError
- func (e GetPoolResponseValidationError) Cause() error
- func (e GetPoolResponseValidationError) Error() string
- func (e GetPoolResponseValidationError) ErrorName() string
- func (e GetPoolResponseValidationError) Field() string
- func (e GetPoolResponseValidationError) Key() bool
- func (e GetPoolResponseValidationError) Reason() string
- type GetPoolResponse_Result
- func (GetPoolResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetPoolResponse_Result) Enum() *GetPoolResponse_Result
- func (GetPoolResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetPoolResponse_Result) Number() protoreflect.EnumNumber
- func (x GetPoolResponse_Result) String() string
- func (GetPoolResponse_Result) Type() protoreflect.EnumType
- type MakeBetRequest
- func (*MakeBetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MakeBetRequest) GetAuth() *v1.Auth
- func (x *MakeBetRequest) GetBet() *SignedBetMetadata
- func (x *MakeBetRequest) GetPoolId() *PoolId
- func (x *MakeBetRequest) GetRendezvousSignature() *v1.Signature
- func (*MakeBetRequest) ProtoMessage()
- func (x *MakeBetRequest) ProtoReflect() protoreflect.Message
- func (x *MakeBetRequest) Reset()
- func (x *MakeBetRequest) String() string
- func (m *MakeBetRequest) Validate() error
- func (m *MakeBetRequest) ValidateAll() error
- type MakeBetRequestMultiError
- type MakeBetRequestValidationError
- func (e MakeBetRequestValidationError) Cause() error
- func (e MakeBetRequestValidationError) Error() string
- func (e MakeBetRequestValidationError) ErrorName() string
- func (e MakeBetRequestValidationError) Field() string
- func (e MakeBetRequestValidationError) Key() bool
- func (e MakeBetRequestValidationError) Reason() string
- type MakeBetResponse
- func (*MakeBetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MakeBetResponse) GetResult() MakeBetResponse_Result
- func (*MakeBetResponse) ProtoMessage()
- func (x *MakeBetResponse) ProtoReflect() protoreflect.Message
- func (x *MakeBetResponse) Reset()
- func (x *MakeBetResponse) String() string
- func (m *MakeBetResponse) Validate() error
- func (m *MakeBetResponse) ValidateAll() error
- type MakeBetResponseMultiError
- type MakeBetResponseValidationError
- func (e MakeBetResponseValidationError) Cause() error
- func (e MakeBetResponseValidationError) Error() string
- func (e MakeBetResponseValidationError) ErrorName() string
- func (e MakeBetResponseValidationError) Field() string
- func (e MakeBetResponseValidationError) Key() bool
- func (e MakeBetResponseValidationError) Reason() string
- type MakeBetResponse_Result
- func (MakeBetResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x MakeBetResponse_Result) Enum() *MakeBetResponse_Result
- func (MakeBetResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x MakeBetResponse_Result) Number() protoreflect.EnumNumber
- func (x MakeBetResponse_Result) String() string
- func (MakeBetResponse_Result) Type() protoreflect.EnumType
- type PoolClient
- type PoolId
- func (*PoolId) Descriptor() ([]byte, []int)deprecated
- func (x *PoolId) GetValue() []byte
- func (*PoolId) ProtoMessage()
- func (x *PoolId) ProtoReflect() protoreflect.Message
- func (x *PoolId) Reset()
- func (x *PoolId) String() string
- func (m *PoolId) Validate() error
- func (m *PoolId) ValidateAll() error
- type PoolIdMultiError
- type PoolIdValidationError
- type PoolMetadata
- func (*PoolMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PoolMetadata) GetBetSummary() *BetSummary
- func (x *PoolMetadata) GetBets() []*BetMetadata
- func (x *PoolMetadata) GetCreatorProfile() *v11.UserProfile
- func (x *PoolMetadata) GetDerivationIndex() uint64
- func (x *PoolMetadata) GetIsFundingDestinationInitialized() bool
- func (x *PoolMetadata) GetPagingToken() *v1.PagingToken
- func (x *PoolMetadata) GetRendezvousSignature() *v1.Signature
- func (x *PoolMetadata) GetUserSummary() *UserPoolSummary
- func (x *PoolMetadata) GetVerifiedMetadata() *SignedPoolMetadata
- func (*PoolMetadata) ProtoMessage()
- func (x *PoolMetadata) ProtoReflect() protoreflect.Message
- func (x *PoolMetadata) Reset()
- func (x *PoolMetadata) String() string
- func (m *PoolMetadata) Validate() error
- func (m *PoolMetadata) ValidateAll() error
- type PoolMetadataMultiError
- type PoolMetadataValidationError
- func (e PoolMetadataValidationError) Cause() error
- func (e PoolMetadataValidationError) Error() string
- func (e PoolMetadataValidationError) ErrorName() string
- func (e PoolMetadataValidationError) Field() string
- func (e PoolMetadataValidationError) Key() bool
- func (e PoolMetadataValidationError) Reason() string
- type PoolServer
- type Resolution
- func (*Resolution) Descriptor() ([]byte, []int)deprecated
- func (x *Resolution) GetBooleanResolution() bool
- func (m *Resolution) GetKind() isResolution_Kind
- func (x *Resolution) GetRefundResolution() *Resolution_Refund
- func (*Resolution) ProtoMessage()
- func (x *Resolution) ProtoReflect() protoreflect.Message
- func (x *Resolution) Reset()
- func (x *Resolution) String() string
- func (m *Resolution) Validate() error
- func (m *Resolution) ValidateAll() error
- type ResolutionMultiError
- type ResolutionValidationError
- type Resolution_BooleanResolution
- type Resolution_Refund
- func (*Resolution_Refund) Descriptor() ([]byte, []int)deprecated
- func (*Resolution_Refund) ProtoMessage()
- func (x *Resolution_Refund) ProtoReflect() protoreflect.Message
- func (x *Resolution_Refund) Reset()
- func (x *Resolution_Refund) String() string
- func (m *Resolution_Refund) Validate() error
- func (m *Resolution_Refund) ValidateAll() error
- type Resolution_RefundMultiError
- type Resolution_RefundResolution
- type Resolution_RefundValidationError
- func (e Resolution_RefundValidationError) Cause() error
- func (e Resolution_RefundValidationError) Error() string
- func (e Resolution_RefundValidationError) ErrorName() string
- func (e Resolution_RefundValidationError) Field() string
- func (e Resolution_RefundValidationError) Key() bool
- func (e Resolution_RefundValidationError) Reason() string
- type ResolvePoolRequest
- func (*ResolvePoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvePoolRequest) GetAuth() *v1.Auth
- func (x *ResolvePoolRequest) GetId() *PoolId
- func (x *ResolvePoolRequest) GetNewRendezvousSignature() *v1.Signature
- func (x *ResolvePoolRequest) GetResolution() *Resolution
- func (*ResolvePoolRequest) ProtoMessage()
- func (x *ResolvePoolRequest) ProtoReflect() protoreflect.Message
- func (x *ResolvePoolRequest) Reset()
- func (x *ResolvePoolRequest) String() string
- func (m *ResolvePoolRequest) Validate() error
- func (m *ResolvePoolRequest) ValidateAll() error
- type ResolvePoolRequestMultiError
- type ResolvePoolRequestValidationError
- func (e ResolvePoolRequestValidationError) Cause() error
- func (e ResolvePoolRequestValidationError) Error() string
- func (e ResolvePoolRequestValidationError) ErrorName() string
- func (e ResolvePoolRequestValidationError) Field() string
- func (e ResolvePoolRequestValidationError) Key() bool
- func (e ResolvePoolRequestValidationError) Reason() string
- type ResolvePoolResponse
- func (*ResolvePoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvePoolResponse) GetResult() ResolvePoolResponse_Result
- func (*ResolvePoolResponse) ProtoMessage()
- func (x *ResolvePoolResponse) ProtoReflect() protoreflect.Message
- func (x *ResolvePoolResponse) Reset()
- func (x *ResolvePoolResponse) String() string
- func (m *ResolvePoolResponse) Validate() error
- func (m *ResolvePoolResponse) ValidateAll() error
- type ResolvePoolResponseMultiError
- type ResolvePoolResponseValidationError
- func (e ResolvePoolResponseValidationError) Cause() error
- func (e ResolvePoolResponseValidationError) Error() string
- func (e ResolvePoolResponseValidationError) ErrorName() string
- func (e ResolvePoolResponseValidationError) Field() string
- func (e ResolvePoolResponseValidationError) Key() bool
- func (e ResolvePoolResponseValidationError) Reason() string
- type ResolvePoolResponse_Result
- func (ResolvePoolResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x ResolvePoolResponse_Result) Enum() *ResolvePoolResponse_Result
- func (ResolvePoolResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResolvePoolResponse_Result) Number() protoreflect.EnumNumber
- func (x ResolvePoolResponse_Result) String() string
- func (ResolvePoolResponse_Result) Type() protoreflect.EnumType
- type SignedBetMetadata
- func (*SignedBetMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SignedBetMetadata) GetBetId() *BetId
- func (x *SignedBetMetadata) GetPayoutDestination() *v1.PublicKey
- func (x *SignedBetMetadata) GetSelectedOutcome() *BetOutcome
- func (x *SignedBetMetadata) GetTs() *timestamppb.Timestamp
- func (x *SignedBetMetadata) GetUserId() *v1.UserId
- func (*SignedBetMetadata) ProtoMessage()
- func (x *SignedBetMetadata) ProtoReflect() protoreflect.Message
- func (x *SignedBetMetadata) Reset()
- func (x *SignedBetMetadata) String() string
- func (m *SignedBetMetadata) Validate() error
- func (m *SignedBetMetadata) ValidateAll() error
- type SignedBetMetadataMultiError
- type SignedBetMetadataValidationError
- func (e SignedBetMetadataValidationError) Cause() error
- func (e SignedBetMetadataValidationError) Error() string
- func (e SignedBetMetadataValidationError) ErrorName() string
- func (e SignedBetMetadataValidationError) Field() string
- func (e SignedBetMetadataValidationError) Key() bool
- func (e SignedBetMetadataValidationError) Reason() string
- type SignedPoolMetadata
- func (*SignedPoolMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SignedPoolMetadata) GetBuyIn() *v1.FiatPaymentAmount
- func (x *SignedPoolMetadata) GetClosedAt() *timestamppb.Timestamp
- func (x *SignedPoolMetadata) GetCreatedAt() *timestamppb.Timestamp
- func (x *SignedPoolMetadata) GetCreator() *v1.UserId
- func (x *SignedPoolMetadata) GetFundingDestination() *v1.PublicKey
- func (x *SignedPoolMetadata) GetId() *PoolId
- func (x *SignedPoolMetadata) GetIsOpen() bool
- func (x *SignedPoolMetadata) GetName() string
- func (x *SignedPoolMetadata) GetResolution() *Resolution
- func (*SignedPoolMetadata) ProtoMessage()
- func (x *SignedPoolMetadata) ProtoReflect() protoreflect.Message
- func (x *SignedPoolMetadata) Reset()
- func (x *SignedPoolMetadata) String() string
- func (m *SignedPoolMetadata) Validate() error
- func (m *SignedPoolMetadata) ValidateAll() error
- type SignedPoolMetadataMultiError
- type SignedPoolMetadataValidationError
- func (e SignedPoolMetadataValidationError) Cause() error
- func (e SignedPoolMetadataValidationError) Error() string
- func (e SignedPoolMetadataValidationError) ErrorName() string
- func (e SignedPoolMetadataValidationError) Field() string
- func (e SignedPoolMetadataValidationError) Key() bool
- func (e SignedPoolMetadataValidationError) Reason() string
- type UnimplementedPoolServer
- func (UnimplementedPoolServer) ClosePool(context.Context, *ClosePoolRequest) (*ClosePoolResponse, error)
- func (UnimplementedPoolServer) CreatePool(context.Context, *CreatePoolRequest) (*CreatePoolResponse, error)
- func (UnimplementedPoolServer) GetPagedPools(context.Context, *GetPagedPoolsRequest) (*GetPagedPoolsResponse, error)
- func (UnimplementedPoolServer) GetPool(context.Context, *GetPoolRequest) (*GetPoolResponse, error)
- func (UnimplementedPoolServer) MakeBet(context.Context, *MakeBetRequest) (*MakeBetResponse, error)
- func (UnimplementedPoolServer) ResolvePool(context.Context, *ResolvePoolRequest) (*ResolvePoolResponse, error)
- type UnsafePoolServer
- type UserOutcome
- func (UserOutcome) Descriptor() protoreflect.EnumDescriptor
- func (x UserOutcome) Enum() *UserOutcome
- func (UserOutcome) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserOutcome) Number() protoreflect.EnumNumber
- func (x UserOutcome) String() string
- func (UserOutcome) Type() protoreflect.EnumType
- type UserPoolSummary
- func (*UserPoolSummary) Descriptor() ([]byte, []int)deprecated
- func (x *UserPoolSummary) GetLose() *UserPoolSummary_LoseOutcome
- func (x *UserPoolSummary) GetNone() *UserPoolSummary_NoOutcome
- func (m *UserPoolSummary) GetOutcome() isUserPoolSummary_Outcome
- func (x *UserPoolSummary) GetRefund() *UserPoolSummary_RefundOutcome
- func (x *UserPoolSummary) GetWin() *UserPoolSummary_WinOutcome
- func (*UserPoolSummary) ProtoMessage()
- func (x *UserPoolSummary) ProtoReflect() protoreflect.Message
- func (x *UserPoolSummary) Reset()
- func (x *UserPoolSummary) String() string
- func (m *UserPoolSummary) Validate() error
- func (m *UserPoolSummary) ValidateAll() error
- type UserPoolSummaryMultiError
- type UserPoolSummaryValidationError
- func (e UserPoolSummaryValidationError) Cause() error
- func (e UserPoolSummaryValidationError) Error() string
- func (e UserPoolSummaryValidationError) ErrorName() string
- func (e UserPoolSummaryValidationError) Field() string
- func (e UserPoolSummaryValidationError) Key() bool
- func (e UserPoolSummaryValidationError) Reason() string
- type UserPoolSummary_Lose
- type UserPoolSummary_LoseOutcome
- func (*UserPoolSummary_LoseOutcome) Descriptor() ([]byte, []int)deprecated
- func (x *UserPoolSummary_LoseOutcome) GetAmountLost() *v1.FiatPaymentAmount
- func (*UserPoolSummary_LoseOutcome) ProtoMessage()
- func (x *UserPoolSummary_LoseOutcome) ProtoReflect() protoreflect.Message
- func (x *UserPoolSummary_LoseOutcome) Reset()
- func (x *UserPoolSummary_LoseOutcome) String() string
- func (m *UserPoolSummary_LoseOutcome) Validate() error
- func (m *UserPoolSummary_LoseOutcome) ValidateAll() error
- type UserPoolSummary_LoseOutcomeMultiError
- type UserPoolSummary_LoseOutcomeValidationError
- func (e UserPoolSummary_LoseOutcomeValidationError) Cause() error
- func (e UserPoolSummary_LoseOutcomeValidationError) Error() string
- func (e UserPoolSummary_LoseOutcomeValidationError) ErrorName() string
- func (e UserPoolSummary_LoseOutcomeValidationError) Field() string
- func (e UserPoolSummary_LoseOutcomeValidationError) Key() bool
- func (e UserPoolSummary_LoseOutcomeValidationError) Reason() string
- type UserPoolSummary_NoOutcome
- func (*UserPoolSummary_NoOutcome) Descriptor() ([]byte, []int)deprecated
- func (*UserPoolSummary_NoOutcome) ProtoMessage()
- func (x *UserPoolSummary_NoOutcome) ProtoReflect() protoreflect.Message
- func (x *UserPoolSummary_NoOutcome) Reset()
- func (x *UserPoolSummary_NoOutcome) String() string
- func (m *UserPoolSummary_NoOutcome) Validate() error
- func (m *UserPoolSummary_NoOutcome) ValidateAll() error
- type UserPoolSummary_NoOutcomeMultiError
- type UserPoolSummary_NoOutcomeValidationError
- func (e UserPoolSummary_NoOutcomeValidationError) Cause() error
- func (e UserPoolSummary_NoOutcomeValidationError) Error() string
- func (e UserPoolSummary_NoOutcomeValidationError) ErrorName() string
- func (e UserPoolSummary_NoOutcomeValidationError) Field() string
- func (e UserPoolSummary_NoOutcomeValidationError) Key() bool
- func (e UserPoolSummary_NoOutcomeValidationError) Reason() string
- type UserPoolSummary_None
- type UserPoolSummary_Refund
- type UserPoolSummary_RefundOutcome
- func (*UserPoolSummary_RefundOutcome) Descriptor() ([]byte, []int)deprecated
- func (x *UserPoolSummary_RefundOutcome) GetAmountRefunded() *v1.FiatPaymentAmount
- func (*UserPoolSummary_RefundOutcome) ProtoMessage()
- func (x *UserPoolSummary_RefundOutcome) ProtoReflect() protoreflect.Message
- func (x *UserPoolSummary_RefundOutcome) Reset()
- func (x *UserPoolSummary_RefundOutcome) String() string
- func (m *UserPoolSummary_RefundOutcome) Validate() error
- func (m *UserPoolSummary_RefundOutcome) ValidateAll() error
- type UserPoolSummary_RefundOutcomeMultiError
- type UserPoolSummary_RefundOutcomeValidationError
- func (e UserPoolSummary_RefundOutcomeValidationError) Cause() error
- func (e UserPoolSummary_RefundOutcomeValidationError) Error() string
- func (e UserPoolSummary_RefundOutcomeValidationError) ErrorName() string
- func (e UserPoolSummary_RefundOutcomeValidationError) Field() string
- func (e UserPoolSummary_RefundOutcomeValidationError) Key() bool
- func (e UserPoolSummary_RefundOutcomeValidationError) Reason() string
- type UserPoolSummary_Win
- type UserPoolSummary_WinOutcome
- func (*UserPoolSummary_WinOutcome) Descriptor() ([]byte, []int)deprecated
- func (x *UserPoolSummary_WinOutcome) GetAmountWon() *v1.FiatPaymentAmount
- func (x *UserPoolSummary_WinOutcome) GetTotalAmountReceived() *v1.FiatPaymentAmount
- func (*UserPoolSummary_WinOutcome) ProtoMessage()
- func (x *UserPoolSummary_WinOutcome) ProtoReflect() protoreflect.Message
- func (x *UserPoolSummary_WinOutcome) Reset()
- func (x *UserPoolSummary_WinOutcome) String() string
- func (m *UserPoolSummary_WinOutcome) Validate() error
- func (m *UserPoolSummary_WinOutcome) ValidateAll() error
- type UserPoolSummary_WinOutcomeMultiError
- type UserPoolSummary_WinOutcomeValidationError
- func (e UserPoolSummary_WinOutcomeValidationError) Cause() error
- func (e UserPoolSummary_WinOutcomeValidationError) Error() string
- func (e UserPoolSummary_WinOutcomeValidationError) ErrorName() string
- func (e UserPoolSummary_WinOutcomeValidationError) Field() string
- func (e UserPoolSummary_WinOutcomeValidationError) Key() bool
- func (e UserPoolSummary_WinOutcomeValidationError) Reason() string
Constants ¶
const ( Pool_CreatePool_FullMethodName = "/flipcash.pool.v1.Pool/CreatePool" Pool_GetPool_FullMethodName = "/flipcash.pool.v1.Pool/GetPool" Pool_GetPagedPools_FullMethodName = "/flipcash.pool.v1.Pool/GetPagedPools" Pool_ClosePool_FullMethodName = "/flipcash.pool.v1.Pool/ClosePool" Pool_ResolvePool_FullMethodName = "/flipcash.pool.v1.Pool/ResolvePool" Pool_MakeBet_FullMethodName = "/flipcash.pool.v1.Pool/MakeBet" )
Variables ¶
var ( UserOutcome_name = map[int32]string{ 0: "UNKNOWN_OUTCOE", 1: "NO_OUTCOME", 2: "WIN_OUTCOME", 3: "LOSE_OUTCOME", 4: "REFUND_OUTCOME", } UserOutcome_value = map[string]int32{ "UNKNOWN_OUTCOE": 0, "NO_OUTCOME": 1, "WIN_OUTCOME": 2, "LOSE_OUTCOME": 3, "REFUND_OUTCOME": 4, } )
Enum value maps for UserOutcome.
var ( CreatePoolResponse_Result_name = map[int32]string{ 0: "OK", 1: "RENDEZVOUS_EXISTS", 2: "FUNDING_DESTINATION_EXISTS", 3: "DENIED", } CreatePoolResponse_Result_value = map[string]int32{ "OK": 0, "RENDEZVOUS_EXISTS": 1, "FUNDING_DESTINATION_EXISTS": 2, "DENIED": 3, } )
Enum value maps for CreatePoolResponse_Result.
var ( GetPoolResponse_Result_name = map[int32]string{ 0: "OK", 1: "NOT_FOUND", } GetPoolResponse_Result_value = map[string]int32{ "OK": 0, "NOT_FOUND": 1, } )
Enum value maps for GetPoolResponse_Result.
var ( GetPagedPoolsResponse_Result_name = map[int32]string{ 0: "OK", 1: "NOT_FOUND", } GetPagedPoolsResponse_Result_value = map[string]int32{ "OK": 0, "NOT_FOUND": 1, } )
Enum value maps for GetPagedPoolsResponse_Result.
var ( ClosePoolResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "NOT_FOUND", } ClosePoolResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "NOT_FOUND": 2, } )
Enum value maps for ClosePoolResponse_Result.
var ( ResolvePoolResponse_Result_name = map[int32]string{ 0: "OK", 1: "DENIED", 2: "NOT_FOUND", 3: "DIFFERENT_OUTCOME_DECLARED", 4: "POOL_OPEN", } ResolvePoolResponse_Result_value = map[string]int32{ "OK": 0, "DENIED": 1, "NOT_FOUND": 2, "DIFFERENT_OUTCOME_DECLARED": 3, "POOL_OPEN": 4, } )
Enum value maps for ResolvePoolResponse_Result.
var ( MakeBetResponse_Result_name = map[int32]string{ 0: "OK", 1: "POOL_NOT_FOUND", 2: "POOL_CLOSED", 3: "MULTIPLE_BETS", 4: "MAX_BETS_RECEIVED", 5: "BET_OUTCOME_SOLIDIFIED", } MakeBetResponse_Result_value = map[string]int32{ "OK": 0, "POOL_NOT_FOUND": 1, "POOL_CLOSED": 2, "MULTIPLE_BETS": 3, "MAX_BETS_RECEIVED": 4, "BET_OUTCOME_SOLIDIFIED": 5, } )
Enum value maps for MakeBetResponse_Result.
var File_pool_v1_model_proto protoreflect.FileDescriptor
var File_pool_v1_pool_service_proto protoreflect.FileDescriptor
var Pool_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flipcash.pool.v1.Pool", HandlerType: (*PoolServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreatePool", Handler: _Pool_CreatePool_Handler, }, { MethodName: "GetPool", Handler: _Pool_GetPool_Handler, }, { MethodName: "GetPagedPools", Handler: _Pool_GetPagedPools_Handler, }, { MethodName: "ClosePool", Handler: _Pool_ClosePool_Handler, }, { MethodName: "ResolvePool", Handler: _Pool_ResolvePool_Handler, }, { MethodName: "MakeBet", Handler: _Pool_MakeBet_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pool/v1/pool_service.proto", }
Pool_ServiceDesc is the grpc.ServiceDesc for Pool service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPoolServer ¶
func RegisterPoolServer(s grpc.ServiceRegistrar, srv PoolServer)
Types ¶
type BetId ¶
type BetId struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
BetId uniquely identifies a bet via an intent ID
func (*BetId) Descriptor
deprecated
func (*BetId) ProtoMessage ¶
func (*BetId) ProtoMessage()
func (*BetId) ProtoReflect ¶
func (x *BetId) ProtoReflect() protoreflect.Message
func (*BetId) Validate ¶
Validate checks the field values on BetId with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BetId) ValidateAll ¶
ValidateAll checks the field values on BetId with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BetIdMultiError, or nil if none found.
type BetIdMultiError ¶
type BetIdMultiError []error
BetIdMultiError is an error wrapping multiple validation errors returned by BetId.ValidateAll() if the designated constraints aren't met.
func (BetIdMultiError) AllErrors ¶
func (m BetIdMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BetIdMultiError) Error ¶
func (m BetIdMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BetIdValidationError ¶
type BetIdValidationError struct {
// contains filtered or unexported fields
}
BetIdValidationError is the validation error returned by BetId.Validate if the designated constraints aren't met.
func (BetIdValidationError) Cause ¶
func (e BetIdValidationError) Cause() error
Cause function returns cause value.
func (BetIdValidationError) Error ¶
func (e BetIdValidationError) Error() string
Error satisfies the builtin error interface
func (BetIdValidationError) ErrorName ¶
func (e BetIdValidationError) ErrorName() string
ErrorName returns error name.
func (BetIdValidationError) Field ¶
func (e BetIdValidationError) Field() string
Field function returns field value.
func (BetIdValidationError) Key ¶
func (e BetIdValidationError) Key() bool
Key function returns key value.
func (BetIdValidationError) Reason ¶
func (e BetIdValidationError) Reason() string
Reason function returns reason value.
type BetMetadata ¶
type BetMetadata struct {
VerifiedMetadata *SignedBetMetadata `protobuf:"bytes,1,opt,name=verified_metadata,json=verifiedMetadata,proto3" json:"verified_metadata,omitempty"`
// Signature of the SignedBetMetadata message with the rendezvous public key of the pool
RendezvousSignature *v1.Signature `protobuf:"bytes,2,opt,name=rendezvous_signature,json=rendezvousSignature,proto3" json:"rendezvous_signature,omitempty"`
// Has the intent for bet payment been submitted?
IsIntentSubmitted bool `protobuf:"varint,3,opt,name=is_intent_submitted,json=isIntentSubmitted,proto3" json:"is_intent_submitted,omitempty"`
// The better's user profile
BetterProfile *v11.UserProfile `protobuf:"bytes,4,opt,name=better_profile,json=betterProfile,proto3" json:"better_profile,omitempty"`
// contains filtered or unexported fields
}
Bet metadata
func (*BetMetadata) Descriptor
deprecated
func (*BetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BetMetadata.ProtoReflect.Descriptor instead.
func (*BetMetadata) GetBetterProfile ¶ added in v1.5.2
func (x *BetMetadata) GetBetterProfile() *v11.UserProfile
func (*BetMetadata) GetIsIntentSubmitted ¶ added in v1.4.13
func (x *BetMetadata) GetIsIntentSubmitted() bool
func (*BetMetadata) GetRendezvousSignature ¶
func (x *BetMetadata) GetRendezvousSignature() *v1.Signature
func (*BetMetadata) GetVerifiedMetadata ¶ added in v1.4.2
func (x *BetMetadata) GetVerifiedMetadata() *SignedBetMetadata
func (*BetMetadata) ProtoMessage ¶
func (*BetMetadata) ProtoMessage()
func (*BetMetadata) ProtoReflect ¶
func (x *BetMetadata) ProtoReflect() protoreflect.Message
func (*BetMetadata) Reset ¶
func (x *BetMetadata) Reset()
func (*BetMetadata) String ¶
func (x *BetMetadata) String() string
func (*BetMetadata) Validate ¶
func (m *BetMetadata) Validate() error
Validate checks the field values on BetMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BetMetadata) ValidateAll ¶
func (m *BetMetadata) ValidateAll() error
ValidateAll checks the field values on BetMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BetMetadataMultiError, or nil if none found.
type BetMetadataMultiError ¶
type BetMetadataMultiError []error
BetMetadataMultiError is an error wrapping multiple validation errors returned by BetMetadata.ValidateAll() if the designated constraints aren't met.
func (BetMetadataMultiError) AllErrors ¶
func (m BetMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BetMetadataMultiError) Error ¶
func (m BetMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BetMetadataValidationError ¶
type BetMetadataValidationError struct {
// contains filtered or unexported fields
}
BetMetadataValidationError is the validation error returned by BetMetadata.Validate if the designated constraints aren't met.
func (BetMetadataValidationError) Cause ¶
func (e BetMetadataValidationError) Cause() error
Cause function returns cause value.
func (BetMetadataValidationError) Error ¶
func (e BetMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (BetMetadataValidationError) ErrorName ¶
func (e BetMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (BetMetadataValidationError) Field ¶
func (e BetMetadataValidationError) Field() string
Field function returns field value.
func (BetMetadataValidationError) Key ¶
func (e BetMetadataValidationError) Key() bool
Key function returns key value.
func (BetMetadataValidationError) Reason ¶
func (e BetMetadataValidationError) Reason() string
Reason function returns reason value.
type BetOutcome ¶ added in v1.4.2
type BetOutcome struct {
// Types that are assignable to Kind:
//
// *BetOutcome_BooleanOutcome
Kind isBetOutcome_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
BetOutcome is the user's outcome that they bet against
func (*BetOutcome) Descriptor
deprecated
added in
v1.4.2
func (*BetOutcome) Descriptor() ([]byte, []int)
Deprecated: Use BetOutcome.ProtoReflect.Descriptor instead.
func (*BetOutcome) GetBooleanOutcome ¶ added in v1.4.2
func (x *BetOutcome) GetBooleanOutcome() bool
func (*BetOutcome) GetKind ¶ added in v1.4.2
func (m *BetOutcome) GetKind() isBetOutcome_Kind
func (*BetOutcome) ProtoMessage ¶ added in v1.4.2
func (*BetOutcome) ProtoMessage()
func (*BetOutcome) ProtoReflect ¶ added in v1.4.2
func (x *BetOutcome) ProtoReflect() protoreflect.Message
func (*BetOutcome) Reset ¶ added in v1.4.2
func (x *BetOutcome) Reset()
func (*BetOutcome) String ¶ added in v1.4.2
func (x *BetOutcome) String() string
func (*BetOutcome) Validate ¶ added in v1.4.2
func (m *BetOutcome) Validate() error
Validate checks the field values on BetOutcome with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BetOutcome) ValidateAll ¶ added in v1.4.2
func (m *BetOutcome) ValidateAll() error
ValidateAll checks the field values on BetOutcome with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BetOutcomeMultiError, or nil if none found.
type BetOutcomeMultiError ¶ added in v1.4.2
type BetOutcomeMultiError []error
BetOutcomeMultiError is an error wrapping multiple validation errors returned by BetOutcome.ValidateAll() if the designated constraints aren't met.
func (BetOutcomeMultiError) AllErrors ¶ added in v1.4.2
func (m BetOutcomeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BetOutcomeMultiError) Error ¶ added in v1.4.2
func (m BetOutcomeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BetOutcomeValidationError ¶ added in v1.4.2
type BetOutcomeValidationError struct {
// contains filtered or unexported fields
}
BetOutcomeValidationError is the validation error returned by BetOutcome.Validate if the designated constraints aren't met.
func (BetOutcomeValidationError) Cause ¶ added in v1.4.2
func (e BetOutcomeValidationError) Cause() error
Cause function returns cause value.
func (BetOutcomeValidationError) Error ¶ added in v1.4.2
func (e BetOutcomeValidationError) Error() string
Error satisfies the builtin error interface
func (BetOutcomeValidationError) ErrorName ¶ added in v1.4.2
func (e BetOutcomeValidationError) ErrorName() string
ErrorName returns error name.
func (BetOutcomeValidationError) Field ¶ added in v1.4.2
func (e BetOutcomeValidationError) Field() string
Field function returns field value.
func (BetOutcomeValidationError) Key ¶ added in v1.4.2
func (e BetOutcomeValidationError) Key() bool
Key function returns key value.
func (BetOutcomeValidationError) Reason ¶ added in v1.4.2
func (e BetOutcomeValidationError) Reason() string
Reason function returns reason value.
type BetOutcome_BooleanOutcome ¶ added in v1.4.2
type BetOutcome_BooleanOutcome struct {
// The yes/no outcome the user has bet against
BooleanOutcome bool `protobuf:"varint,1,opt,name=boolean_outcome,json=booleanOutcome,proto3,oneof"`
}
type BetSummary ¶ added in v1.4.15
type BetSummary struct {
// Types that are assignable to Kind:
//
// *BetSummary_BooleanSummary
Kind isBetSummary_Kind `protobuf_oneof:"kind"`
// The total fiat paid for bets against the pool
TotalAmountBet *v1.FiatPaymentAmount `protobuf:"bytes,10,opt,name=total_amount_bet,json=totalAmountBet,proto3" json:"total_amount_bet,omitempty"`
// contains filtered or unexported fields
}
BetSummary contains a consolidated summary of bets made against a pool
func (*BetSummary) Descriptor
deprecated
added in
v1.4.15
func (*BetSummary) Descriptor() ([]byte, []int)
Deprecated: Use BetSummary.ProtoReflect.Descriptor instead.
func (*BetSummary) GetBooleanSummary ¶ added in v1.4.15
func (x *BetSummary) GetBooleanSummary() *BetSummary_BooleanBetSummary
func (*BetSummary) GetKind ¶ added in v1.4.15
func (m *BetSummary) GetKind() isBetSummary_Kind
func (*BetSummary) GetTotalAmountBet ¶ added in v1.4.16
func (x *BetSummary) GetTotalAmountBet() *v1.FiatPaymentAmount
func (*BetSummary) ProtoMessage ¶ added in v1.4.15
func (*BetSummary) ProtoMessage()
func (*BetSummary) ProtoReflect ¶ added in v1.4.15
func (x *BetSummary) ProtoReflect() protoreflect.Message
func (*BetSummary) Reset ¶ added in v1.4.15
func (x *BetSummary) Reset()
func (*BetSummary) String ¶ added in v1.4.15
func (x *BetSummary) String() string
func (*BetSummary) Validate ¶ added in v1.4.15
func (m *BetSummary) Validate() error
Validate checks the field values on BetSummary with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BetSummary) ValidateAll ¶ added in v1.4.15
func (m *BetSummary) ValidateAll() error
ValidateAll checks the field values on BetSummary with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BetSummaryMultiError, or nil if none found.
type BetSummaryMultiError ¶ added in v1.4.15
type BetSummaryMultiError []error
BetSummaryMultiError is an error wrapping multiple validation errors returned by BetSummary.ValidateAll() if the designated constraints aren't met.
func (BetSummaryMultiError) AllErrors ¶ added in v1.4.15
func (m BetSummaryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BetSummaryMultiError) Error ¶ added in v1.4.15
func (m BetSummaryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BetSummaryValidationError ¶ added in v1.4.15
type BetSummaryValidationError struct {
// contains filtered or unexported fields
}
BetSummaryValidationError is the validation error returned by BetSummary.Validate if the designated constraints aren't met.
func (BetSummaryValidationError) Cause ¶ added in v1.4.15
func (e BetSummaryValidationError) Cause() error
Cause function returns cause value.
func (BetSummaryValidationError) Error ¶ added in v1.4.15
func (e BetSummaryValidationError) Error() string
Error satisfies the builtin error interface
func (BetSummaryValidationError) ErrorName ¶ added in v1.4.15
func (e BetSummaryValidationError) ErrorName() string
ErrorName returns error name.
func (BetSummaryValidationError) Field ¶ added in v1.4.15
func (e BetSummaryValidationError) Field() string
Field function returns field value.
func (BetSummaryValidationError) Key ¶ added in v1.4.15
func (e BetSummaryValidationError) Key() bool
Key function returns key value.
func (BetSummaryValidationError) Reason ¶ added in v1.4.15
func (e BetSummaryValidationError) Reason() string
Reason function returns reason value.
type BetSummary_BooleanBetSummary ¶ added in v1.4.15
type BetSummary_BooleanBetSummary struct {
NumYes uint32 `protobuf:"varint,1,opt,name=num_yes,json=numYes,proto3" json:"num_yes,omitempty"`
NumNo uint32 `protobuf:"varint,2,opt,name=num_no,json=numNo,proto3" json:"num_no,omitempty"`
// contains filtered or unexported fields
}
func (*BetSummary_BooleanBetSummary) Descriptor
deprecated
added in
v1.4.15
func (*BetSummary_BooleanBetSummary) Descriptor() ([]byte, []int)
Deprecated: Use BetSummary_BooleanBetSummary.ProtoReflect.Descriptor instead.
func (*BetSummary_BooleanBetSummary) GetNumNo ¶ added in v1.4.15
func (x *BetSummary_BooleanBetSummary) GetNumNo() uint32
func (*BetSummary_BooleanBetSummary) GetNumYes ¶ added in v1.4.15
func (x *BetSummary_BooleanBetSummary) GetNumYes() uint32
func (*BetSummary_BooleanBetSummary) ProtoMessage ¶ added in v1.4.15
func (*BetSummary_BooleanBetSummary) ProtoMessage()
func (*BetSummary_BooleanBetSummary) ProtoReflect ¶ added in v1.4.15
func (x *BetSummary_BooleanBetSummary) ProtoReflect() protoreflect.Message
func (*BetSummary_BooleanBetSummary) Reset ¶ added in v1.4.15
func (x *BetSummary_BooleanBetSummary) Reset()
func (*BetSummary_BooleanBetSummary) String ¶ added in v1.4.15
func (x *BetSummary_BooleanBetSummary) String() string
func (*BetSummary_BooleanBetSummary) Validate ¶ added in v1.4.15
func (m *BetSummary_BooleanBetSummary) Validate() error
Validate checks the field values on BetSummary_BooleanBetSummary with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BetSummary_BooleanBetSummary) ValidateAll ¶ added in v1.4.15
func (m *BetSummary_BooleanBetSummary) ValidateAll() error
ValidateAll checks the field values on BetSummary_BooleanBetSummary with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BetSummary_BooleanBetSummaryMultiError, or nil if none found.
type BetSummary_BooleanBetSummaryMultiError ¶ added in v1.4.15
type BetSummary_BooleanBetSummaryMultiError []error
BetSummary_BooleanBetSummaryMultiError is an error wrapping multiple validation errors returned by BetSummary_BooleanBetSummary.ValidateAll() if the designated constraints aren't met.
func (BetSummary_BooleanBetSummaryMultiError) AllErrors ¶ added in v1.4.15
func (m BetSummary_BooleanBetSummaryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BetSummary_BooleanBetSummaryMultiError) Error ¶ added in v1.4.15
func (m BetSummary_BooleanBetSummaryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BetSummary_BooleanBetSummaryValidationError ¶ added in v1.4.15
type BetSummary_BooleanBetSummaryValidationError struct {
// contains filtered or unexported fields
}
BetSummary_BooleanBetSummaryValidationError is the validation error returned by BetSummary_BooleanBetSummary.Validate if the designated constraints aren't met.
func (BetSummary_BooleanBetSummaryValidationError) Cause ¶ added in v1.4.15
func (e BetSummary_BooleanBetSummaryValidationError) Cause() error
Cause function returns cause value.
func (BetSummary_BooleanBetSummaryValidationError) Error ¶ added in v1.4.15
func (e BetSummary_BooleanBetSummaryValidationError) Error() string
Error satisfies the builtin error interface
func (BetSummary_BooleanBetSummaryValidationError) ErrorName ¶ added in v1.4.15
func (e BetSummary_BooleanBetSummaryValidationError) ErrorName() string
ErrorName returns error name.
func (BetSummary_BooleanBetSummaryValidationError) Field ¶ added in v1.4.15
func (e BetSummary_BooleanBetSummaryValidationError) Field() string
Field function returns field value.
func (BetSummary_BooleanBetSummaryValidationError) Key ¶ added in v1.4.15
func (e BetSummary_BooleanBetSummaryValidationError) Key() bool
Key function returns key value.
func (BetSummary_BooleanBetSummaryValidationError) Reason ¶ added in v1.4.15
func (e BetSummary_BooleanBetSummaryValidationError) Reason() string
Reason function returns reason value.
type BetSummary_BooleanSummary ¶ added in v1.4.15
type BetSummary_BooleanSummary struct {
// The yes/no outcome users have bet in the pool
BooleanSummary *BetSummary_BooleanBetSummary `protobuf:"bytes,1,opt,name=boolean_summary,json=booleanSummary,proto3,oneof"`
}
type ClosePoolRequest ¶ added in v1.4.9
type ClosePoolRequest struct {
Id *PoolId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ClosedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=closed_at,json=closedAt,proto3" json:"closed_at,omitempty"`
NewRendezvousSignature *v1.Signature `` /* 129-byte string literal not displayed */
Auth *v1.Auth `protobuf:"bytes,4,opt,name=auth,proto3" json:"auth,omitempty"`
// contains filtered or unexported fields
}
func (*ClosePoolRequest) Descriptor
deprecated
added in
v1.4.9
func (*ClosePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClosePoolRequest.ProtoReflect.Descriptor instead.
func (*ClosePoolRequest) GetAuth ¶ added in v1.4.9
func (x *ClosePoolRequest) GetAuth() *v1.Auth
func (*ClosePoolRequest) GetClosedAt ¶ added in v1.4.11
func (x *ClosePoolRequest) GetClosedAt() *timestamppb.Timestamp
func (*ClosePoolRequest) GetId ¶ added in v1.4.9
func (x *ClosePoolRequest) GetId() *PoolId
func (*ClosePoolRequest) GetNewRendezvousSignature ¶ added in v1.4.9
func (x *ClosePoolRequest) GetNewRendezvousSignature() *v1.Signature
func (*ClosePoolRequest) ProtoMessage ¶ added in v1.4.9
func (*ClosePoolRequest) ProtoMessage()
func (*ClosePoolRequest) ProtoReflect ¶ added in v1.4.9
func (x *ClosePoolRequest) ProtoReflect() protoreflect.Message
func (*ClosePoolRequest) Reset ¶ added in v1.4.9
func (x *ClosePoolRequest) Reset()
func (*ClosePoolRequest) String ¶ added in v1.4.9
func (x *ClosePoolRequest) String() string
func (*ClosePoolRequest) Validate ¶ added in v1.4.9
func (m *ClosePoolRequest) Validate() error
Validate checks the field values on ClosePoolRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClosePoolRequest) ValidateAll ¶ added in v1.4.9
func (m *ClosePoolRequest) ValidateAll() error
ValidateAll checks the field values on ClosePoolRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClosePoolRequestMultiError, or nil if none found.
type ClosePoolRequestMultiError ¶ added in v1.4.9
type ClosePoolRequestMultiError []error
ClosePoolRequestMultiError is an error wrapping multiple validation errors returned by ClosePoolRequest.ValidateAll() if the designated constraints aren't met.
func (ClosePoolRequestMultiError) AllErrors ¶ added in v1.4.9
func (m ClosePoolRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClosePoolRequestMultiError) Error ¶ added in v1.4.9
func (m ClosePoolRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClosePoolRequestValidationError ¶ added in v1.4.9
type ClosePoolRequestValidationError struct {
// contains filtered or unexported fields
}
ClosePoolRequestValidationError is the validation error returned by ClosePoolRequest.Validate if the designated constraints aren't met.
func (ClosePoolRequestValidationError) Cause ¶ added in v1.4.9
func (e ClosePoolRequestValidationError) Cause() error
Cause function returns cause value.
func (ClosePoolRequestValidationError) Error ¶ added in v1.4.9
func (e ClosePoolRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ClosePoolRequestValidationError) ErrorName ¶ added in v1.4.9
func (e ClosePoolRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ClosePoolRequestValidationError) Field ¶ added in v1.4.9
func (e ClosePoolRequestValidationError) Field() string
Field function returns field value.
func (ClosePoolRequestValidationError) Key ¶ added in v1.4.9
func (e ClosePoolRequestValidationError) Key() bool
Key function returns key value.
func (ClosePoolRequestValidationError) Reason ¶ added in v1.4.9
func (e ClosePoolRequestValidationError) Reason() string
Reason function returns reason value.
type ClosePoolResponse ¶ added in v1.4.9
type ClosePoolResponse struct {
Result ClosePoolResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipcash.pool.v1.ClosePoolResponse_Result" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*ClosePoolResponse) Descriptor
deprecated
added in
v1.4.9
func (*ClosePoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClosePoolResponse.ProtoReflect.Descriptor instead.
func (*ClosePoolResponse) GetResult ¶ added in v1.4.9
func (x *ClosePoolResponse) GetResult() ClosePoolResponse_Result
func (*ClosePoolResponse) ProtoMessage ¶ added in v1.4.9
func (*ClosePoolResponse) ProtoMessage()
func (*ClosePoolResponse) ProtoReflect ¶ added in v1.4.9
func (x *ClosePoolResponse) ProtoReflect() protoreflect.Message
func (*ClosePoolResponse) Reset ¶ added in v1.4.9
func (x *ClosePoolResponse) Reset()
func (*ClosePoolResponse) String ¶ added in v1.4.9
func (x *ClosePoolResponse) String() string
func (*ClosePoolResponse) Validate ¶ added in v1.4.9
func (m *ClosePoolResponse) Validate() error
Validate checks the field values on ClosePoolResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClosePoolResponse) ValidateAll ¶ added in v1.4.9
func (m *ClosePoolResponse) ValidateAll() error
ValidateAll checks the field values on ClosePoolResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClosePoolResponseMultiError, or nil if none found.
type ClosePoolResponseMultiError ¶ added in v1.4.9
type ClosePoolResponseMultiError []error
ClosePoolResponseMultiError is an error wrapping multiple validation errors returned by ClosePoolResponse.ValidateAll() if the designated constraints aren't met.
func (ClosePoolResponseMultiError) AllErrors ¶ added in v1.4.9
func (m ClosePoolResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClosePoolResponseMultiError) Error ¶ added in v1.4.9
func (m ClosePoolResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClosePoolResponseValidationError ¶ added in v1.4.9
type ClosePoolResponseValidationError struct {
// contains filtered or unexported fields
}
ClosePoolResponseValidationError is the validation error returned by ClosePoolResponse.Validate if the designated constraints aren't met.
func (ClosePoolResponseValidationError) Cause ¶ added in v1.4.9
func (e ClosePoolResponseValidationError) Cause() error
Cause function returns cause value.
func (ClosePoolResponseValidationError) Error ¶ added in v1.4.9
func (e ClosePoolResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ClosePoolResponseValidationError) ErrorName ¶ added in v1.4.9
func (e ClosePoolResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ClosePoolResponseValidationError) Field ¶ added in v1.4.9
func (e ClosePoolResponseValidationError) Field() string
Field function returns field value.
func (ClosePoolResponseValidationError) Key ¶ added in v1.4.9
func (e ClosePoolResponseValidationError) Key() bool
Key function returns key value.
func (ClosePoolResponseValidationError) Reason ¶ added in v1.4.9
func (e ClosePoolResponseValidationError) Reason() string
Reason function returns reason value.
type ClosePoolResponse_Result ¶ added in v1.4.9
type ClosePoolResponse_Result int32
const ( ClosePoolResponse_OK ClosePoolResponse_Result = 0 ClosePoolResponse_DENIED ClosePoolResponse_Result = 1 ClosePoolResponse_NOT_FOUND ClosePoolResponse_Result = 2 )
func (ClosePoolResponse_Result) Descriptor ¶ added in v1.4.9
func (ClosePoolResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (ClosePoolResponse_Result) Enum ¶ added in v1.4.9
func (x ClosePoolResponse_Result) Enum() *ClosePoolResponse_Result
func (ClosePoolResponse_Result) EnumDescriptor
deprecated
added in
v1.4.9
func (ClosePoolResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClosePoolResponse_Result.Descriptor instead.
func (ClosePoolResponse_Result) Number ¶ added in v1.4.9
func (x ClosePoolResponse_Result) Number() protoreflect.EnumNumber
func (ClosePoolResponse_Result) String ¶ added in v1.4.9
func (x ClosePoolResponse_Result) String() string
func (ClosePoolResponse_Result) Type ¶ added in v1.4.9
func (ClosePoolResponse_Result) Type() protoreflect.EnumType
type CreatePoolRequest ¶
type CreatePoolRequest struct {
Pool *SignedPoolMetadata `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool,omitempty"`
RendezvousSignature *v1.Signature `protobuf:"bytes,2,opt,name=rendezvous_signature,json=rendezvousSignature,proto3" json:"rendezvous_signature,omitempty"`
Auth *v1.Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
// contains filtered or unexported fields
}
func (*CreatePoolRequest) Descriptor
deprecated
func (*CreatePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePoolRequest.ProtoReflect.Descriptor instead.
func (*CreatePoolRequest) GetAuth ¶
func (x *CreatePoolRequest) GetAuth() *v1.Auth
func (*CreatePoolRequest) GetPool ¶
func (x *CreatePoolRequest) GetPool() *SignedPoolMetadata
func (*CreatePoolRequest) GetRendezvousSignature ¶ added in v1.4.2
func (x *CreatePoolRequest) GetRendezvousSignature() *v1.Signature
func (*CreatePoolRequest) ProtoMessage ¶
func (*CreatePoolRequest) ProtoMessage()
func (*CreatePoolRequest) ProtoReflect ¶
func (x *CreatePoolRequest) ProtoReflect() protoreflect.Message
func (*CreatePoolRequest) Reset ¶
func (x *CreatePoolRequest) Reset()
func (*CreatePoolRequest) String ¶
func (x *CreatePoolRequest) String() string
func (*CreatePoolRequest) Validate ¶
func (m *CreatePoolRequest) Validate() error
Validate checks the field values on CreatePoolRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreatePoolRequest) ValidateAll ¶
func (m *CreatePoolRequest) ValidateAll() error
ValidateAll checks the field values on CreatePoolRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreatePoolRequestMultiError, or nil if none found.
type CreatePoolRequestMultiError ¶
type CreatePoolRequestMultiError []error
CreatePoolRequestMultiError is an error wrapping multiple validation errors returned by CreatePoolRequest.ValidateAll() if the designated constraints aren't met.
func (CreatePoolRequestMultiError) AllErrors ¶
func (m CreatePoolRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreatePoolRequestMultiError) Error ¶
func (m CreatePoolRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreatePoolRequestValidationError ¶
type CreatePoolRequestValidationError struct {
// contains filtered or unexported fields
}
CreatePoolRequestValidationError is the validation error returned by CreatePoolRequest.Validate if the designated constraints aren't met.
func (CreatePoolRequestValidationError) Cause ¶
func (e CreatePoolRequestValidationError) Cause() error
Cause function returns cause value.
func (CreatePoolRequestValidationError) Error ¶
func (e CreatePoolRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreatePoolRequestValidationError) ErrorName ¶
func (e CreatePoolRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreatePoolRequestValidationError) Field ¶
func (e CreatePoolRequestValidationError) Field() string
Field function returns field value.
func (CreatePoolRequestValidationError) Key ¶
func (e CreatePoolRequestValidationError) Key() bool
Key function returns key value.
func (CreatePoolRequestValidationError) Reason ¶
func (e CreatePoolRequestValidationError) Reason() string
Reason function returns reason value.
type CreatePoolResponse ¶
type CreatePoolResponse struct {
Result CreatePoolResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipcash.pool.v1.CreatePoolResponse_Result" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*CreatePoolResponse) Descriptor
deprecated
func (*CreatePoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePoolResponse.ProtoReflect.Descriptor instead.
func (*CreatePoolResponse) GetResult ¶ added in v1.4.1
func (x *CreatePoolResponse) GetResult() CreatePoolResponse_Result
func (*CreatePoolResponse) ProtoMessage ¶
func (*CreatePoolResponse) ProtoMessage()
func (*CreatePoolResponse) ProtoReflect ¶
func (x *CreatePoolResponse) ProtoReflect() protoreflect.Message
func (*CreatePoolResponse) Reset ¶
func (x *CreatePoolResponse) Reset()
func (*CreatePoolResponse) String ¶
func (x *CreatePoolResponse) String() string
func (*CreatePoolResponse) Validate ¶
func (m *CreatePoolResponse) Validate() error
Validate checks the field values on CreatePoolResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreatePoolResponse) ValidateAll ¶
func (m *CreatePoolResponse) ValidateAll() error
ValidateAll checks the field values on CreatePoolResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreatePoolResponseMultiError, or nil if none found.
type CreatePoolResponseMultiError ¶
type CreatePoolResponseMultiError []error
CreatePoolResponseMultiError is an error wrapping multiple validation errors returned by CreatePoolResponse.ValidateAll() if the designated constraints aren't met.
func (CreatePoolResponseMultiError) AllErrors ¶
func (m CreatePoolResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreatePoolResponseMultiError) Error ¶
func (m CreatePoolResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreatePoolResponseValidationError ¶
type CreatePoolResponseValidationError struct {
// contains filtered or unexported fields
}
CreatePoolResponseValidationError is the validation error returned by CreatePoolResponse.Validate if the designated constraints aren't met.
func (CreatePoolResponseValidationError) Cause ¶
func (e CreatePoolResponseValidationError) Cause() error
Cause function returns cause value.
func (CreatePoolResponseValidationError) Error ¶
func (e CreatePoolResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreatePoolResponseValidationError) ErrorName ¶
func (e CreatePoolResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreatePoolResponseValidationError) Field ¶
func (e CreatePoolResponseValidationError) Field() string
Field function returns field value.
func (CreatePoolResponseValidationError) Key ¶
func (e CreatePoolResponseValidationError) Key() bool
Key function returns key value.
func (CreatePoolResponseValidationError) Reason ¶
func (e CreatePoolResponseValidationError) Reason() string
Reason function returns reason value.
type CreatePoolResponse_Result ¶
type CreatePoolResponse_Result int32
const ( CreatePoolResponse_OK CreatePoolResponse_Result = 0 CreatePoolResponse_RENDEZVOUS_EXISTS CreatePoolResponse_Result = 1 CreatePoolResponse_FUNDING_DESTINATION_EXISTS CreatePoolResponse_Result = 2 CreatePoolResponse_DENIED CreatePoolResponse_Result = 3 )
func (CreatePoolResponse_Result) Descriptor ¶
func (CreatePoolResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (CreatePoolResponse_Result) Enum ¶
func (x CreatePoolResponse_Result) Enum() *CreatePoolResponse_Result
func (CreatePoolResponse_Result) EnumDescriptor
deprecated
func (CreatePoolResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreatePoolResponse_Result.Descriptor instead.
func (CreatePoolResponse_Result) Number ¶
func (x CreatePoolResponse_Result) Number() protoreflect.EnumNumber
func (CreatePoolResponse_Result) String ¶
func (x CreatePoolResponse_Result) String() string
func (CreatePoolResponse_Result) Type ¶
func (CreatePoolResponse_Result) Type() protoreflect.EnumType
type GetPagedPoolsRequest ¶ added in v1.4.8
type GetPagedPoolsRequest struct {
QueryOptions *v1.QueryOptions `protobuf:"bytes,1,opt,name=query_options,json=queryOptions,proto3" json:"query_options,omitempty"`
Auth *v1.Auth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
// contains filtered or unexported fields
}
func (*GetPagedPoolsRequest) Descriptor
deprecated
added in
v1.4.8
func (*GetPagedPoolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPagedPoolsRequest.ProtoReflect.Descriptor instead.
func (*GetPagedPoolsRequest) GetAuth ¶ added in v1.4.8
func (x *GetPagedPoolsRequest) GetAuth() *v1.Auth
func (*GetPagedPoolsRequest) GetQueryOptions ¶ added in v1.4.8
func (x *GetPagedPoolsRequest) GetQueryOptions() *v1.QueryOptions
func (*GetPagedPoolsRequest) ProtoMessage ¶ added in v1.4.8
func (*GetPagedPoolsRequest) ProtoMessage()
func (*GetPagedPoolsRequest) ProtoReflect ¶ added in v1.4.8
func (x *GetPagedPoolsRequest) ProtoReflect() protoreflect.Message
func (*GetPagedPoolsRequest) Reset ¶ added in v1.4.8
func (x *GetPagedPoolsRequest) Reset()
func (*GetPagedPoolsRequest) String ¶ added in v1.4.8
func (x *GetPagedPoolsRequest) String() string
func (*GetPagedPoolsRequest) Validate ¶ added in v1.4.8
func (m *GetPagedPoolsRequest) Validate() error
Validate checks the field values on GetPagedPoolsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPagedPoolsRequest) ValidateAll ¶ added in v1.4.8
func (m *GetPagedPoolsRequest) ValidateAll() error
ValidateAll checks the field values on GetPagedPoolsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPagedPoolsRequestMultiError, or nil if none found.
type GetPagedPoolsRequestMultiError ¶ added in v1.4.8
type GetPagedPoolsRequestMultiError []error
GetPagedPoolsRequestMultiError is an error wrapping multiple validation errors returned by GetPagedPoolsRequest.ValidateAll() if the designated constraints aren't met.
func (GetPagedPoolsRequestMultiError) AllErrors ¶ added in v1.4.8
func (m GetPagedPoolsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPagedPoolsRequestMultiError) Error ¶ added in v1.4.8
func (m GetPagedPoolsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPagedPoolsRequestValidationError ¶ added in v1.4.8
type GetPagedPoolsRequestValidationError struct {
// contains filtered or unexported fields
}
GetPagedPoolsRequestValidationError is the validation error returned by GetPagedPoolsRequest.Validate if the designated constraints aren't met.
func (GetPagedPoolsRequestValidationError) Cause ¶ added in v1.4.8
func (e GetPagedPoolsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPagedPoolsRequestValidationError) Error ¶ added in v1.4.8
func (e GetPagedPoolsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPagedPoolsRequestValidationError) ErrorName ¶ added in v1.4.8
func (e GetPagedPoolsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPagedPoolsRequestValidationError) Field ¶ added in v1.4.8
func (e GetPagedPoolsRequestValidationError) Field() string
Field function returns field value.
func (GetPagedPoolsRequestValidationError) Key ¶ added in v1.4.8
func (e GetPagedPoolsRequestValidationError) Key() bool
Key function returns key value.
func (GetPagedPoolsRequestValidationError) Reason ¶ added in v1.4.8
func (e GetPagedPoolsRequestValidationError) Reason() string
Reason function returns reason value.
type GetPagedPoolsResponse ¶ added in v1.4.8
type GetPagedPoolsResponse struct {
Result GetPagedPoolsResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipcash.pool.v1.GetPagedPoolsResponse_Result" json:"result,omitempty"`
Pools []*PoolMetadata `protobuf:"bytes,2,rep,name=pools,proto3" json:"pools,omitempty"`
// contains filtered or unexported fields
}
func (*GetPagedPoolsResponse) Descriptor
deprecated
added in
v1.4.8
func (*GetPagedPoolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPagedPoolsResponse.ProtoReflect.Descriptor instead.
func (*GetPagedPoolsResponse) GetPools ¶ added in v1.4.8
func (x *GetPagedPoolsResponse) GetPools() []*PoolMetadata
func (*GetPagedPoolsResponse) GetResult ¶ added in v1.4.8
func (x *GetPagedPoolsResponse) GetResult() GetPagedPoolsResponse_Result
func (*GetPagedPoolsResponse) ProtoMessage ¶ added in v1.4.8
func (*GetPagedPoolsResponse) ProtoMessage()
func (*GetPagedPoolsResponse) ProtoReflect ¶ added in v1.4.8
func (x *GetPagedPoolsResponse) ProtoReflect() protoreflect.Message
func (*GetPagedPoolsResponse) Reset ¶ added in v1.4.8
func (x *GetPagedPoolsResponse) Reset()
func (*GetPagedPoolsResponse) String ¶ added in v1.4.8
func (x *GetPagedPoolsResponse) String() string
func (*GetPagedPoolsResponse) Validate ¶ added in v1.4.8
func (m *GetPagedPoolsResponse) Validate() error
Validate checks the field values on GetPagedPoolsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPagedPoolsResponse) ValidateAll ¶ added in v1.4.8
func (m *GetPagedPoolsResponse) ValidateAll() error
ValidateAll checks the field values on GetPagedPoolsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPagedPoolsResponseMultiError, or nil if none found.
type GetPagedPoolsResponseMultiError ¶ added in v1.4.8
type GetPagedPoolsResponseMultiError []error
GetPagedPoolsResponseMultiError is an error wrapping multiple validation errors returned by GetPagedPoolsResponse.ValidateAll() if the designated constraints aren't met.
func (GetPagedPoolsResponseMultiError) AllErrors ¶ added in v1.4.8
func (m GetPagedPoolsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPagedPoolsResponseMultiError) Error ¶ added in v1.4.8
func (m GetPagedPoolsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPagedPoolsResponseValidationError ¶ added in v1.4.8
type GetPagedPoolsResponseValidationError struct {
// contains filtered or unexported fields
}
GetPagedPoolsResponseValidationError is the validation error returned by GetPagedPoolsResponse.Validate if the designated constraints aren't met.
func (GetPagedPoolsResponseValidationError) Cause ¶ added in v1.4.8
func (e GetPagedPoolsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetPagedPoolsResponseValidationError) Error ¶ added in v1.4.8
func (e GetPagedPoolsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetPagedPoolsResponseValidationError) ErrorName ¶ added in v1.4.8
func (e GetPagedPoolsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetPagedPoolsResponseValidationError) Field ¶ added in v1.4.8
func (e GetPagedPoolsResponseValidationError) Field() string
Field function returns field value.
func (GetPagedPoolsResponseValidationError) Key ¶ added in v1.4.8
func (e GetPagedPoolsResponseValidationError) Key() bool
Key function returns key value.
func (GetPagedPoolsResponseValidationError) Reason ¶ added in v1.4.8
func (e GetPagedPoolsResponseValidationError) Reason() string
Reason function returns reason value.
type GetPagedPoolsResponse_Result ¶ added in v1.4.8
type GetPagedPoolsResponse_Result int32
const ( GetPagedPoolsResponse_OK GetPagedPoolsResponse_Result = 0 GetPagedPoolsResponse_NOT_FOUND GetPagedPoolsResponse_Result = 1 )
func (GetPagedPoolsResponse_Result) Descriptor ¶ added in v1.4.8
func (GetPagedPoolsResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetPagedPoolsResponse_Result) Enum ¶ added in v1.4.8
func (x GetPagedPoolsResponse_Result) Enum() *GetPagedPoolsResponse_Result
func (GetPagedPoolsResponse_Result) EnumDescriptor
deprecated
added in
v1.4.8
func (GetPagedPoolsResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetPagedPoolsResponse_Result.Descriptor instead.
func (GetPagedPoolsResponse_Result) Number ¶ added in v1.4.8
func (x GetPagedPoolsResponse_Result) Number() protoreflect.EnumNumber
func (GetPagedPoolsResponse_Result) String ¶ added in v1.4.8
func (x GetPagedPoolsResponse_Result) String() string
func (GetPagedPoolsResponse_Result) Type ¶ added in v1.4.8
func (GetPagedPoolsResponse_Result) Type() protoreflect.EnumType
type GetPoolRequest ¶
type GetPoolRequest struct {
Id *PoolId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// If true, only a consolidated bet summary will be provided
ExcludeBets bool `protobuf:"varint,2,opt,name=exclude_bets,json=excludeBets,proto3" json:"exclude_bets,omitempty"`
// Optional auth to include user-specific pool metadata
Auth *v1.Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
// If true, user profiles will be provided alongside pools and bets
IncludeUserProfiles bool `protobuf:"varint,4,opt,name=include_user_profiles,json=includeUserProfiles,proto3" json:"include_user_profiles,omitempty"`
// contains filtered or unexported fields
}
func (*GetPoolRequest) Descriptor
deprecated
func (*GetPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPoolRequest.ProtoReflect.Descriptor instead.
func (*GetPoolRequest) GetAuth ¶ added in v1.4.16
func (x *GetPoolRequest) GetAuth() *v1.Auth
func (*GetPoolRequest) GetExcludeBets ¶ added in v1.4.15
func (x *GetPoolRequest) GetExcludeBets() bool
func (*GetPoolRequest) GetId ¶
func (x *GetPoolRequest) GetId() *PoolId
func (*GetPoolRequest) GetIncludeUserProfiles ¶ added in v1.5.1
func (x *GetPoolRequest) GetIncludeUserProfiles() bool
func (*GetPoolRequest) ProtoMessage ¶
func (*GetPoolRequest) ProtoMessage()
func (*GetPoolRequest) ProtoReflect ¶
func (x *GetPoolRequest) ProtoReflect() protoreflect.Message
func (*GetPoolRequest) Reset ¶
func (x *GetPoolRequest) Reset()
func (*GetPoolRequest) String ¶
func (x *GetPoolRequest) String() string
func (*GetPoolRequest) Validate ¶
func (m *GetPoolRequest) Validate() error
Validate checks the field values on GetPoolRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPoolRequest) ValidateAll ¶
func (m *GetPoolRequest) ValidateAll() error
ValidateAll checks the field values on GetPoolRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPoolRequestMultiError, or nil if none found.
type GetPoolRequestMultiError ¶
type GetPoolRequestMultiError []error
GetPoolRequestMultiError is an error wrapping multiple validation errors returned by GetPoolRequest.ValidateAll() if the designated constraints aren't met.
func (GetPoolRequestMultiError) AllErrors ¶
func (m GetPoolRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPoolRequestMultiError) Error ¶
func (m GetPoolRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPoolRequestValidationError ¶
type GetPoolRequestValidationError struct {
// contains filtered or unexported fields
}
GetPoolRequestValidationError is the validation error returned by GetPoolRequest.Validate if the designated constraints aren't met.
func (GetPoolRequestValidationError) Cause ¶
func (e GetPoolRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPoolRequestValidationError) Error ¶
func (e GetPoolRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPoolRequestValidationError) ErrorName ¶
func (e GetPoolRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPoolRequestValidationError) Field ¶
func (e GetPoolRequestValidationError) Field() string
Field function returns field value.
func (GetPoolRequestValidationError) Key ¶
func (e GetPoolRequestValidationError) Key() bool
Key function returns key value.
func (GetPoolRequestValidationError) Reason ¶
func (e GetPoolRequestValidationError) Reason() string
Reason function returns reason value.
type GetPoolResponse ¶
type GetPoolResponse struct {
Result GetPoolResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipcash.pool.v1.GetPoolResponse_Result" json:"result,omitempty"`
Pool *PoolMetadata `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"`
// contains filtered or unexported fields
}
func (*GetPoolResponse) Descriptor
deprecated
func (*GetPoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPoolResponse.ProtoReflect.Descriptor instead.
func (*GetPoolResponse) GetPool ¶
func (x *GetPoolResponse) GetPool() *PoolMetadata
func (*GetPoolResponse) GetResult ¶ added in v1.4.1
func (x *GetPoolResponse) GetResult() GetPoolResponse_Result
func (*GetPoolResponse) ProtoMessage ¶
func (*GetPoolResponse) ProtoMessage()
func (*GetPoolResponse) ProtoReflect ¶
func (x *GetPoolResponse) ProtoReflect() protoreflect.Message
func (*GetPoolResponse) Reset ¶
func (x *GetPoolResponse) Reset()
func (*GetPoolResponse) String ¶
func (x *GetPoolResponse) String() string
func (*GetPoolResponse) Validate ¶
func (m *GetPoolResponse) Validate() error
Validate checks the field values on GetPoolResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetPoolResponse) ValidateAll ¶
func (m *GetPoolResponse) ValidateAll() error
ValidateAll checks the field values on GetPoolResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPoolResponseMultiError, or nil if none found.
type GetPoolResponseMultiError ¶
type GetPoolResponseMultiError []error
GetPoolResponseMultiError is an error wrapping multiple validation errors returned by GetPoolResponse.ValidateAll() if the designated constraints aren't met.
func (GetPoolResponseMultiError) AllErrors ¶
func (m GetPoolResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPoolResponseMultiError) Error ¶
func (m GetPoolResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPoolResponseValidationError ¶
type GetPoolResponseValidationError struct {
// contains filtered or unexported fields
}
GetPoolResponseValidationError is the validation error returned by GetPoolResponse.Validate if the designated constraints aren't met.
func (GetPoolResponseValidationError) Cause ¶
func (e GetPoolResponseValidationError) Cause() error
Cause function returns cause value.
func (GetPoolResponseValidationError) Error ¶
func (e GetPoolResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetPoolResponseValidationError) ErrorName ¶
func (e GetPoolResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetPoolResponseValidationError) Field ¶
func (e GetPoolResponseValidationError) Field() string
Field function returns field value.
func (GetPoolResponseValidationError) Key ¶
func (e GetPoolResponseValidationError) Key() bool
Key function returns key value.
func (GetPoolResponseValidationError) Reason ¶
func (e GetPoolResponseValidationError) Reason() string
Reason function returns reason value.
type GetPoolResponse_Result ¶
type GetPoolResponse_Result int32
const ( GetPoolResponse_OK GetPoolResponse_Result = 0 GetPoolResponse_NOT_FOUND GetPoolResponse_Result = 1 )
func (GetPoolResponse_Result) Descriptor ¶
func (GetPoolResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetPoolResponse_Result) Enum ¶
func (x GetPoolResponse_Result) Enum() *GetPoolResponse_Result
func (GetPoolResponse_Result) EnumDescriptor
deprecated
func (GetPoolResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetPoolResponse_Result.Descriptor instead.
func (GetPoolResponse_Result) Number ¶
func (x GetPoolResponse_Result) Number() protoreflect.EnumNumber
func (GetPoolResponse_Result) String ¶
func (x GetPoolResponse_Result) String() string
func (GetPoolResponse_Result) Type ¶
func (GetPoolResponse_Result) Type() protoreflect.EnumType
type MakeBetRequest ¶
type MakeBetRequest struct {
PoolId *PoolId `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
Bet *SignedBetMetadata `protobuf:"bytes,2,opt,name=bet,proto3" json:"bet,omitempty"`
RendezvousSignature *v1.Signature `protobuf:"bytes,3,opt,name=rendezvous_signature,json=rendezvousSignature,proto3" json:"rendezvous_signature,omitempty"`
Auth *v1.Auth `protobuf:"bytes,4,opt,name=auth,proto3" json:"auth,omitempty"`
// contains filtered or unexported fields
}
func (*MakeBetRequest) Descriptor
deprecated
func (*MakeBetRequest) Descriptor() ([]byte, []int)
Deprecated: Use MakeBetRequest.ProtoReflect.Descriptor instead.
func (*MakeBetRequest) GetAuth ¶
func (x *MakeBetRequest) GetAuth() *v1.Auth
func (*MakeBetRequest) GetBet ¶
func (x *MakeBetRequest) GetBet() *SignedBetMetadata
func (*MakeBetRequest) GetPoolId ¶
func (x *MakeBetRequest) GetPoolId() *PoolId
func (*MakeBetRequest) GetRendezvousSignature ¶ added in v1.4.2
func (x *MakeBetRequest) GetRendezvousSignature() *v1.Signature
func (*MakeBetRequest) ProtoMessage ¶
func (*MakeBetRequest) ProtoMessage()
func (*MakeBetRequest) ProtoReflect ¶
func (x *MakeBetRequest) ProtoReflect() protoreflect.Message
func (*MakeBetRequest) Reset ¶
func (x *MakeBetRequest) Reset()
func (*MakeBetRequest) String ¶
func (x *MakeBetRequest) String() string
func (*MakeBetRequest) Validate ¶
func (m *MakeBetRequest) Validate() error
Validate checks the field values on MakeBetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MakeBetRequest) ValidateAll ¶
func (m *MakeBetRequest) ValidateAll() error
ValidateAll checks the field values on MakeBetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MakeBetRequestMultiError, or nil if none found.
type MakeBetRequestMultiError ¶
type MakeBetRequestMultiError []error
MakeBetRequestMultiError is an error wrapping multiple validation errors returned by MakeBetRequest.ValidateAll() if the designated constraints aren't met.
func (MakeBetRequestMultiError) AllErrors ¶
func (m MakeBetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MakeBetRequestMultiError) Error ¶
func (m MakeBetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MakeBetRequestValidationError ¶
type MakeBetRequestValidationError struct {
// contains filtered or unexported fields
}
MakeBetRequestValidationError is the validation error returned by MakeBetRequest.Validate if the designated constraints aren't met.
func (MakeBetRequestValidationError) Cause ¶
func (e MakeBetRequestValidationError) Cause() error
Cause function returns cause value.
func (MakeBetRequestValidationError) Error ¶
func (e MakeBetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (MakeBetRequestValidationError) ErrorName ¶
func (e MakeBetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (MakeBetRequestValidationError) Field ¶
func (e MakeBetRequestValidationError) Field() string
Field function returns field value.
func (MakeBetRequestValidationError) Key ¶
func (e MakeBetRequestValidationError) Key() bool
Key function returns key value.
func (MakeBetRequestValidationError) Reason ¶
func (e MakeBetRequestValidationError) Reason() string
Reason function returns reason value.
type MakeBetResponse ¶
type MakeBetResponse struct {
Result MakeBetResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipcash.pool.v1.MakeBetResponse_Result" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*MakeBetResponse) Descriptor
deprecated
func (*MakeBetResponse) Descriptor() ([]byte, []int)
Deprecated: Use MakeBetResponse.ProtoReflect.Descriptor instead.
func (*MakeBetResponse) GetResult ¶ added in v1.4.1
func (x *MakeBetResponse) GetResult() MakeBetResponse_Result
func (*MakeBetResponse) ProtoMessage ¶
func (*MakeBetResponse) ProtoMessage()
func (*MakeBetResponse) ProtoReflect ¶
func (x *MakeBetResponse) ProtoReflect() protoreflect.Message
func (*MakeBetResponse) Reset ¶
func (x *MakeBetResponse) Reset()
func (*MakeBetResponse) String ¶
func (x *MakeBetResponse) String() string
func (*MakeBetResponse) Validate ¶
func (m *MakeBetResponse) Validate() error
Validate checks the field values on MakeBetResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MakeBetResponse) ValidateAll ¶
func (m *MakeBetResponse) ValidateAll() error
ValidateAll checks the field values on MakeBetResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MakeBetResponseMultiError, or nil if none found.
type MakeBetResponseMultiError ¶
type MakeBetResponseMultiError []error
MakeBetResponseMultiError is an error wrapping multiple validation errors returned by MakeBetResponse.ValidateAll() if the designated constraints aren't met.
func (MakeBetResponseMultiError) AllErrors ¶
func (m MakeBetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MakeBetResponseMultiError) Error ¶
func (m MakeBetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MakeBetResponseValidationError ¶
type MakeBetResponseValidationError struct {
// contains filtered or unexported fields
}
MakeBetResponseValidationError is the validation error returned by MakeBetResponse.Validate if the designated constraints aren't met.
func (MakeBetResponseValidationError) Cause ¶
func (e MakeBetResponseValidationError) Cause() error
Cause function returns cause value.
func (MakeBetResponseValidationError) Error ¶
func (e MakeBetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (MakeBetResponseValidationError) ErrorName ¶
func (e MakeBetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (MakeBetResponseValidationError) Field ¶
func (e MakeBetResponseValidationError) Field() string
Field function returns field value.
func (MakeBetResponseValidationError) Key ¶
func (e MakeBetResponseValidationError) Key() bool
Key function returns key value.
func (MakeBetResponseValidationError) Reason ¶
func (e MakeBetResponseValidationError) Reason() string
Reason function returns reason value.
type MakeBetResponse_Result ¶
type MakeBetResponse_Result int32
const ( MakeBetResponse_OK MakeBetResponse_Result = 0 MakeBetResponse_POOL_NOT_FOUND MakeBetResponse_Result = 1 MakeBetResponse_POOL_CLOSED MakeBetResponse_Result = 2 MakeBetResponse_MULTIPLE_BETS MakeBetResponse_Result = 3 MakeBetResponse_MAX_BETS_RECEIVED MakeBetResponse_Result = 4 MakeBetResponse_BET_OUTCOME_SOLIDIFIED MakeBetResponse_Result = 5 )
func (MakeBetResponse_Result) Descriptor ¶
func (MakeBetResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (MakeBetResponse_Result) Enum ¶
func (x MakeBetResponse_Result) Enum() *MakeBetResponse_Result
func (MakeBetResponse_Result) EnumDescriptor
deprecated
func (MakeBetResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use MakeBetResponse_Result.Descriptor instead.
func (MakeBetResponse_Result) Number ¶
func (x MakeBetResponse_Result) Number() protoreflect.EnumNumber
func (MakeBetResponse_Result) String ¶
func (x MakeBetResponse_Result) String() string
func (MakeBetResponse_Result) Type ¶
func (MakeBetResponse_Result) Type() protoreflect.EnumType
type PoolClient ¶
type PoolClient interface {
// CreatePool creates a new pool
CreatePool(ctx context.Context, in *CreatePoolRequest, opts ...grpc.CallOption) (*CreatePoolResponse, error)
// GetPool gets pool metadata by its ID
GetPool(ctx context.Context, in *GetPoolRequest, opts ...grpc.CallOption) (*GetPoolResponse, error)
// GetPagedPools gets all pools for a user over a paging API
//
// Note: Only consolidated metadata is provided in the response
GetPagedPools(ctx context.Context, in *GetPagedPoolsRequest, opts ...grpc.CallOption) (*GetPagedPoolsResponse, error)
// ClosePool closes a pool from additional bets
ClosePool(ctx context.Context, in *ClosePoolRequest, opts ...grpc.CallOption) (*ClosePoolResponse, error)
// ResolvePool resolves a pool by declaring the pool's outcome. The pool creator
// resolves a pool by calling this RPC first, then SubmitIntent to distribute funds
// to the winning participants.
ResolvePool(ctx context.Context, in *ResolvePoolRequest, opts ...grpc.CallOption) (*ResolvePoolResponse, error)
// MakeBet creates a new bet against a pool. Pool participants make a bet by
// calling MakeBet to create an initially unpaid bet, then SubmitIntent for
// payment where:
// 1. Intent ID == Bet.id
// 2. Payment amount == PoolMetadata.buy_in
// 3. Payment destination == PoolMetadata.funding_destination
//
// Bets can be changed as long as payment has not been received. Clients must
// use the same Bet ID when updating their bet.
MakeBet(ctx context.Context, in *MakeBetRequest, opts ...grpc.CallOption) (*MakeBetResponse, error)
}
PoolClient is the client API for Pool 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 NewPoolClient ¶
func NewPoolClient(cc grpc.ClientConnInterface) PoolClient
type PoolId ¶
type PoolId struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
PoolId uniquely identifies a pool via a rendezvous public key
func (*PoolId) Descriptor
deprecated
func (*PoolId) ProtoMessage ¶
func (*PoolId) ProtoMessage()
func (*PoolId) ProtoReflect ¶
func (x *PoolId) ProtoReflect() protoreflect.Message
func (*PoolId) Validate ¶
Validate checks the field values on PoolId with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PoolId) ValidateAll ¶
ValidateAll checks the field values on PoolId with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PoolIdMultiError, or nil if none found.
type PoolIdMultiError ¶
type PoolIdMultiError []error
PoolIdMultiError is an error wrapping multiple validation errors returned by PoolId.ValidateAll() if the designated constraints aren't met.
func (PoolIdMultiError) AllErrors ¶
func (m PoolIdMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PoolIdMultiError) Error ¶
func (m PoolIdMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PoolIdValidationError ¶
type PoolIdValidationError struct {
// contains filtered or unexported fields
}
PoolIdValidationError is the validation error returned by PoolId.Validate if the designated constraints aren't met.
func (PoolIdValidationError) Cause ¶
func (e PoolIdValidationError) Cause() error
Cause function returns cause value.
func (PoolIdValidationError) Error ¶
func (e PoolIdValidationError) Error() string
Error satisfies the builtin error interface
func (PoolIdValidationError) ErrorName ¶
func (e PoolIdValidationError) ErrorName() string
ErrorName returns error name.
func (PoolIdValidationError) Field ¶
func (e PoolIdValidationError) Field() string
Field function returns field value.
func (PoolIdValidationError) Key ¶
func (e PoolIdValidationError) Key() bool
Key function returns key value.
func (PoolIdValidationError) Reason ¶
func (e PoolIdValidationError) Reason() string
Reason function returns reason value.
type PoolMetadata ¶
type PoolMetadata struct {
VerifiedMetadata *SignedPoolMetadata `protobuf:"bytes,1,opt,name=verified_metadata,json=verifiedMetadata,proto3" json:"verified_metadata,omitempty"`
// Signature of the SignedPoolMetadata message with the rendezvous public key of the pool
RendezvousSignature *v1.Signature `protobuf:"bytes,2,opt,name=rendezvous_signature,json=rendezvousSignature,proto3" json:"rendezvous_signature,omitempty"`
// The set of bets made against this pool
Bets []*BetMetadata `protobuf:"bytes,3,rep,name=bets,proto3" json:"bets,omitempty"`
// Consolidated summary of bets made against this pool
BetSummary *BetSummary `protobuf:"bytes,7,opt,name=bet_summary,json=betSummary,proto3" json:"bet_summary,omitempty"`
// User-specific summary data related to this pool. This is provided against
// authenticated RPCs
UserSummary *UserPoolSummary `protobuf:"bytes,8,opt,name=user_summary,json=userSummary,proto3" json:"user_summary,omitempty"`
// Paging token specific to each user that enables access to paging APIs
PagingToken *v1.PagingToken `protobuf:"bytes,4,opt,name=paging_token,json=pagingToken,proto3" json:"paging_token,omitempty"`
// Has the funding destination been initialized? Bet payments cannot be made
// until this has occurred.
IsFundingDestinationInitialized bool `` /* 159-byte string literal not displayed */
// Derivation index used to derive the pool account's authority. This is only
// valid against authenticated RPCs made by the pool creator
DerivationIndex uint64 `protobuf:"varint,6,opt,name=derivation_index,json=derivationIndex,proto3" json:"derivation_index,omitempty"`
// The creator's user profile
CreatorProfile *v11.UserProfile `protobuf:"bytes,9,opt,name=creator_profile,json=creatorProfile,proto3" json:"creator_profile,omitempty"`
// contains filtered or unexported fields
}
Pool metadata
func (*PoolMetadata) Descriptor
deprecated
func (*PoolMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PoolMetadata.ProtoReflect.Descriptor instead.
func (*PoolMetadata) GetBetSummary ¶ added in v1.4.15
func (x *PoolMetadata) GetBetSummary() *BetSummary
func (*PoolMetadata) GetBets ¶
func (x *PoolMetadata) GetBets() []*BetMetadata
func (*PoolMetadata) GetCreatorProfile ¶ added in v1.5.1
func (x *PoolMetadata) GetCreatorProfile() *v11.UserProfile
func (*PoolMetadata) GetDerivationIndex ¶ added in v1.4.14
func (x *PoolMetadata) GetDerivationIndex() uint64
func (*PoolMetadata) GetIsFundingDestinationInitialized ¶ added in v1.4.13
func (x *PoolMetadata) GetIsFundingDestinationInitialized() bool
func (*PoolMetadata) GetPagingToken ¶ added in v1.4.8
func (x *PoolMetadata) GetPagingToken() *v1.PagingToken
func (*PoolMetadata) GetRendezvousSignature ¶
func (x *PoolMetadata) GetRendezvousSignature() *v1.Signature
func (*PoolMetadata) GetUserSummary ¶ added in v1.4.16
func (x *PoolMetadata) GetUserSummary() *UserPoolSummary
func (*PoolMetadata) GetVerifiedMetadata ¶ added in v1.4.2
func (x *PoolMetadata) GetVerifiedMetadata() *SignedPoolMetadata
func (*PoolMetadata) ProtoMessage ¶
func (*PoolMetadata) ProtoMessage()
func (*PoolMetadata) ProtoReflect ¶
func (x *PoolMetadata) ProtoReflect() protoreflect.Message
func (*PoolMetadata) Reset ¶
func (x *PoolMetadata) Reset()
func (*PoolMetadata) String ¶
func (x *PoolMetadata) String() string
func (*PoolMetadata) Validate ¶
func (m *PoolMetadata) Validate() error
Validate checks the field values on PoolMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PoolMetadata) ValidateAll ¶
func (m *PoolMetadata) ValidateAll() error
ValidateAll checks the field values on PoolMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PoolMetadataMultiError, or nil if none found.
type PoolMetadataMultiError ¶
type PoolMetadataMultiError []error
PoolMetadataMultiError is an error wrapping multiple validation errors returned by PoolMetadata.ValidateAll() if the designated constraints aren't met.
func (PoolMetadataMultiError) AllErrors ¶
func (m PoolMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PoolMetadataMultiError) Error ¶
func (m PoolMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PoolMetadataValidationError ¶
type PoolMetadataValidationError struct {
// contains filtered or unexported fields
}
PoolMetadataValidationError is the validation error returned by PoolMetadata.Validate if the designated constraints aren't met.
func (PoolMetadataValidationError) Cause ¶
func (e PoolMetadataValidationError) Cause() error
Cause function returns cause value.
func (PoolMetadataValidationError) Error ¶
func (e PoolMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (PoolMetadataValidationError) ErrorName ¶
func (e PoolMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (PoolMetadataValidationError) Field ¶
func (e PoolMetadataValidationError) Field() string
Field function returns field value.
func (PoolMetadataValidationError) Key ¶
func (e PoolMetadataValidationError) Key() bool
Key function returns key value.
func (PoolMetadataValidationError) Reason ¶
func (e PoolMetadataValidationError) Reason() string
Reason function returns reason value.
type PoolServer ¶
type PoolServer interface {
// CreatePool creates a new pool
CreatePool(context.Context, *CreatePoolRequest) (*CreatePoolResponse, error)
// GetPool gets pool metadata by its ID
GetPool(context.Context, *GetPoolRequest) (*GetPoolResponse, error)
// GetPagedPools gets all pools for a user over a paging API
//
// Note: Only consolidated metadata is provided in the response
GetPagedPools(context.Context, *GetPagedPoolsRequest) (*GetPagedPoolsResponse, error)
// ClosePool closes a pool from additional bets
ClosePool(context.Context, *ClosePoolRequest) (*ClosePoolResponse, error)
// ResolvePool resolves a pool by declaring the pool's outcome. The pool creator
// resolves a pool by calling this RPC first, then SubmitIntent to distribute funds
// to the winning participants.
ResolvePool(context.Context, *ResolvePoolRequest) (*ResolvePoolResponse, error)
// MakeBet creates a new bet against a pool. Pool participants make a bet by
// calling MakeBet to create an initially unpaid bet, then SubmitIntent for
// payment where:
// 1. Intent ID == Bet.id
// 2. Payment amount == PoolMetadata.buy_in
// 3. Payment destination == PoolMetadata.funding_destination
//
// Bets can be changed as long as payment has not been received. Clients must
// use the same Bet ID when updating their bet.
MakeBet(context.Context, *MakeBetRequest) (*MakeBetResponse, error)
// contains filtered or unexported methods
}
PoolServer is the server API for Pool service. All implementations must embed UnimplementedPoolServer for forward compatibility.
type Resolution ¶ added in v1.4.2
type Resolution struct {
// Types that are assignable to Kind:
//
// *Resolution_BooleanResolution
// *Resolution_RefundResolution
Kind isResolution_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
Resolution is a resolution to a pool that declares the winning outcome chosen by the pool creator
func (*Resolution) Descriptor
deprecated
added in
v1.4.2
func (*Resolution) Descriptor() ([]byte, []int)
Deprecated: Use Resolution.ProtoReflect.Descriptor instead.
func (*Resolution) GetBooleanResolution ¶ added in v1.4.2
func (x *Resolution) GetBooleanResolution() bool
func (*Resolution) GetKind ¶ added in v1.4.2
func (m *Resolution) GetKind() isResolution_Kind
func (*Resolution) GetRefundResolution ¶ added in v1.4.12
func (x *Resolution) GetRefundResolution() *Resolution_Refund
func (*Resolution) ProtoMessage ¶ added in v1.4.2
func (*Resolution) ProtoMessage()
func (*Resolution) ProtoReflect ¶ added in v1.4.2
func (x *Resolution) ProtoReflect() protoreflect.Message
func (*Resolution) Reset ¶ added in v1.4.2
func (x *Resolution) Reset()
func (*Resolution) String ¶ added in v1.4.2
func (x *Resolution) String() string
func (*Resolution) Validate ¶ added in v1.4.2
func (m *Resolution) Validate() error
Validate checks the field values on Resolution with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Resolution) ValidateAll ¶ added in v1.4.2
func (m *Resolution) ValidateAll() error
ValidateAll checks the field values on Resolution with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResolutionMultiError, or nil if none found.
type ResolutionMultiError ¶ added in v1.4.2
type ResolutionMultiError []error
ResolutionMultiError is an error wrapping multiple validation errors returned by Resolution.ValidateAll() if the designated constraints aren't met.
func (ResolutionMultiError) AllErrors ¶ added in v1.4.2
func (m ResolutionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResolutionMultiError) Error ¶ added in v1.4.2
func (m ResolutionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResolutionValidationError ¶ added in v1.4.2
type ResolutionValidationError struct {
// contains filtered or unexported fields
}
ResolutionValidationError is the validation error returned by Resolution.Validate if the designated constraints aren't met.
func (ResolutionValidationError) Cause ¶ added in v1.4.2
func (e ResolutionValidationError) Cause() error
Cause function returns cause value.
func (ResolutionValidationError) Error ¶ added in v1.4.2
func (e ResolutionValidationError) Error() string
Error satisfies the builtin error interface
func (ResolutionValidationError) ErrorName ¶ added in v1.4.2
func (e ResolutionValidationError) ErrorName() string
ErrorName returns error name.
func (ResolutionValidationError) Field ¶ added in v1.4.2
func (e ResolutionValidationError) Field() string
Field function returns field value.
func (ResolutionValidationError) Key ¶ added in v1.4.2
func (e ResolutionValidationError) Key() bool
Key function returns key value.
func (ResolutionValidationError) Reason ¶ added in v1.4.2
func (e ResolutionValidationError) Reason() string
Reason function returns reason value.
type Resolution_BooleanResolution ¶ added in v1.4.2
type Resolution_BooleanResolution struct {
// The yes/no outcome the creator has chosen as the winning outcome
BooleanResolution bool `protobuf:"varint,1,opt,name=boolean_resolution,json=booleanResolution,proto3,oneof"`
}
type Resolution_Refund ¶ added in v1.4.12
type Resolution_Refund struct {
// contains filtered or unexported fields
}
func (*Resolution_Refund) Descriptor
deprecated
added in
v1.4.12
func (*Resolution_Refund) Descriptor() ([]byte, []int)
Deprecated: Use Resolution_Refund.ProtoReflect.Descriptor instead.
func (*Resolution_Refund) ProtoMessage ¶ added in v1.4.12
func (*Resolution_Refund) ProtoMessage()
func (*Resolution_Refund) ProtoReflect ¶ added in v1.4.12
func (x *Resolution_Refund) ProtoReflect() protoreflect.Message
func (*Resolution_Refund) Reset ¶ added in v1.4.12
func (x *Resolution_Refund) Reset()
func (*Resolution_Refund) String ¶ added in v1.4.12
func (x *Resolution_Refund) String() string
func (*Resolution_Refund) Validate ¶ added in v1.4.12
func (m *Resolution_Refund) Validate() error
Validate checks the field values on Resolution_Refund with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Resolution_Refund) ValidateAll ¶ added in v1.4.12
func (m *Resolution_Refund) ValidateAll() error
ValidateAll checks the field values on Resolution_Refund with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Resolution_RefundMultiError, or nil if none found.
type Resolution_RefundMultiError ¶ added in v1.4.12
type Resolution_RefundMultiError []error
Resolution_RefundMultiError is an error wrapping multiple validation errors returned by Resolution_Refund.ValidateAll() if the designated constraints aren't met.
func (Resolution_RefundMultiError) AllErrors ¶ added in v1.4.12
func (m Resolution_RefundMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Resolution_RefundMultiError) Error ¶ added in v1.4.12
func (m Resolution_RefundMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Resolution_RefundResolution ¶ added in v1.4.12
type Resolution_RefundResolution struct {
// A refund to all participants. No outcome was decided
RefundResolution *Resolution_Refund `protobuf:"bytes,2,opt,name=refund_resolution,json=refundResolution,proto3,oneof"`
}
type Resolution_RefundValidationError ¶ added in v1.4.12
type Resolution_RefundValidationError struct {
// contains filtered or unexported fields
}
Resolution_RefundValidationError is the validation error returned by Resolution_Refund.Validate if the designated constraints aren't met.
func (Resolution_RefundValidationError) Cause ¶ added in v1.4.12
func (e Resolution_RefundValidationError) Cause() error
Cause function returns cause value.
func (Resolution_RefundValidationError) Error ¶ added in v1.4.12
func (e Resolution_RefundValidationError) Error() string
Error satisfies the builtin error interface
func (Resolution_RefundValidationError) ErrorName ¶ added in v1.4.12
func (e Resolution_RefundValidationError) ErrorName() string
ErrorName returns error name.
func (Resolution_RefundValidationError) Field ¶ added in v1.4.12
func (e Resolution_RefundValidationError) Field() string
Field function returns field value.
func (Resolution_RefundValidationError) Key ¶ added in v1.4.12
func (e Resolution_RefundValidationError) Key() bool
Key function returns key value.
func (Resolution_RefundValidationError) Reason ¶ added in v1.4.12
func (e Resolution_RefundValidationError) Reason() string
Reason function returns reason value.
type ResolvePoolRequest ¶ added in v1.4.6
type ResolvePoolRequest struct {
Id *PoolId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Resolution *Resolution `protobuf:"bytes,2,opt,name=resolution,proto3" json:"resolution,omitempty"`
NewRendezvousSignature *v1.Signature `` /* 129-byte string literal not displayed */
Auth *v1.Auth `protobuf:"bytes,4,opt,name=auth,proto3" json:"auth,omitempty"`
// contains filtered or unexported fields
}
func (*ResolvePoolRequest) Descriptor
deprecated
added in
v1.4.6
func (*ResolvePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolvePoolRequest.ProtoReflect.Descriptor instead.
func (*ResolvePoolRequest) GetAuth ¶ added in v1.4.6
func (x *ResolvePoolRequest) GetAuth() *v1.Auth
func (*ResolvePoolRequest) GetId ¶ added in v1.4.6
func (x *ResolvePoolRequest) GetId() *PoolId
func (*ResolvePoolRequest) GetNewRendezvousSignature ¶ added in v1.4.6
func (x *ResolvePoolRequest) GetNewRendezvousSignature() *v1.Signature
func (*ResolvePoolRequest) GetResolution ¶ added in v1.4.6
func (x *ResolvePoolRequest) GetResolution() *Resolution
func (*ResolvePoolRequest) ProtoMessage ¶ added in v1.4.6
func (*ResolvePoolRequest) ProtoMessage()
func (*ResolvePoolRequest) ProtoReflect ¶ added in v1.4.6
func (x *ResolvePoolRequest) ProtoReflect() protoreflect.Message
func (*ResolvePoolRequest) Reset ¶ added in v1.4.6
func (x *ResolvePoolRequest) Reset()
func (*ResolvePoolRequest) String ¶ added in v1.4.6
func (x *ResolvePoolRequest) String() string
func (*ResolvePoolRequest) Validate ¶ added in v1.4.6
func (m *ResolvePoolRequest) Validate() error
Validate checks the field values on ResolvePoolRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResolvePoolRequest) ValidateAll ¶ added in v1.4.6
func (m *ResolvePoolRequest) ValidateAll() error
ValidateAll checks the field values on ResolvePoolRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResolvePoolRequestMultiError, or nil if none found.
type ResolvePoolRequestMultiError ¶ added in v1.4.6
type ResolvePoolRequestMultiError []error
ResolvePoolRequestMultiError is an error wrapping multiple validation errors returned by ResolvePoolRequest.ValidateAll() if the designated constraints aren't met.
func (ResolvePoolRequestMultiError) AllErrors ¶ added in v1.4.6
func (m ResolvePoolRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResolvePoolRequestMultiError) Error ¶ added in v1.4.6
func (m ResolvePoolRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResolvePoolRequestValidationError ¶ added in v1.4.6
type ResolvePoolRequestValidationError struct {
// contains filtered or unexported fields
}
ResolvePoolRequestValidationError is the validation error returned by ResolvePoolRequest.Validate if the designated constraints aren't met.
func (ResolvePoolRequestValidationError) Cause ¶ added in v1.4.6
func (e ResolvePoolRequestValidationError) Cause() error
Cause function returns cause value.
func (ResolvePoolRequestValidationError) Error ¶ added in v1.4.6
func (e ResolvePoolRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResolvePoolRequestValidationError) ErrorName ¶ added in v1.4.6
func (e ResolvePoolRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResolvePoolRequestValidationError) Field ¶ added in v1.4.6
func (e ResolvePoolRequestValidationError) Field() string
Field function returns field value.
func (ResolvePoolRequestValidationError) Key ¶ added in v1.4.6
func (e ResolvePoolRequestValidationError) Key() bool
Key function returns key value.
func (ResolvePoolRequestValidationError) Reason ¶ added in v1.4.6
func (e ResolvePoolRequestValidationError) Reason() string
Reason function returns reason value.
type ResolvePoolResponse ¶ added in v1.4.6
type ResolvePoolResponse struct {
Result ResolvePoolResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=flipcash.pool.v1.ResolvePoolResponse_Result" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*ResolvePoolResponse) Descriptor
deprecated
added in
v1.4.6
func (*ResolvePoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResolvePoolResponse.ProtoReflect.Descriptor instead.
func (*ResolvePoolResponse) GetResult ¶ added in v1.4.6
func (x *ResolvePoolResponse) GetResult() ResolvePoolResponse_Result
func (*ResolvePoolResponse) ProtoMessage ¶ added in v1.4.6
func (*ResolvePoolResponse) ProtoMessage()
func (*ResolvePoolResponse) ProtoReflect ¶ added in v1.4.6
func (x *ResolvePoolResponse) ProtoReflect() protoreflect.Message
func (*ResolvePoolResponse) Reset ¶ added in v1.4.6
func (x *ResolvePoolResponse) Reset()
func (*ResolvePoolResponse) String ¶ added in v1.4.6
func (x *ResolvePoolResponse) String() string
func (*ResolvePoolResponse) Validate ¶ added in v1.4.6
func (m *ResolvePoolResponse) Validate() error
Validate checks the field values on ResolvePoolResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResolvePoolResponse) ValidateAll ¶ added in v1.4.6
func (m *ResolvePoolResponse) ValidateAll() error
ValidateAll checks the field values on ResolvePoolResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResolvePoolResponseMultiError, or nil if none found.
type ResolvePoolResponseMultiError ¶ added in v1.4.6
type ResolvePoolResponseMultiError []error
ResolvePoolResponseMultiError is an error wrapping multiple validation errors returned by ResolvePoolResponse.ValidateAll() if the designated constraints aren't met.
func (ResolvePoolResponseMultiError) AllErrors ¶ added in v1.4.6
func (m ResolvePoolResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResolvePoolResponseMultiError) Error ¶ added in v1.4.6
func (m ResolvePoolResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResolvePoolResponseValidationError ¶ added in v1.4.6
type ResolvePoolResponseValidationError struct {
// contains filtered or unexported fields
}
ResolvePoolResponseValidationError is the validation error returned by ResolvePoolResponse.Validate if the designated constraints aren't met.
func (ResolvePoolResponseValidationError) Cause ¶ added in v1.4.6
func (e ResolvePoolResponseValidationError) Cause() error
Cause function returns cause value.
func (ResolvePoolResponseValidationError) Error ¶ added in v1.4.6
func (e ResolvePoolResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResolvePoolResponseValidationError) ErrorName ¶ added in v1.4.6
func (e ResolvePoolResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResolvePoolResponseValidationError) Field ¶ added in v1.4.6
func (e ResolvePoolResponseValidationError) Field() string
Field function returns field value.
func (ResolvePoolResponseValidationError) Key ¶ added in v1.4.6
func (e ResolvePoolResponseValidationError) Key() bool
Key function returns key value.
func (ResolvePoolResponseValidationError) Reason ¶ added in v1.4.6
func (e ResolvePoolResponseValidationError) Reason() string
Reason function returns reason value.
type ResolvePoolResponse_Result ¶ added in v1.4.6
type ResolvePoolResponse_Result int32
const ( ResolvePoolResponse_OK ResolvePoolResponse_Result = 0 ResolvePoolResponse_DENIED ResolvePoolResponse_Result = 1 ResolvePoolResponse_NOT_FOUND ResolvePoolResponse_Result = 2 ResolvePoolResponse_DIFFERENT_OUTCOME_DECLARED ResolvePoolResponse_Result = 3 ResolvePoolResponse_POOL_OPEN ResolvePoolResponse_Result = 4 )
func (ResolvePoolResponse_Result) Descriptor ¶ added in v1.4.6
func (ResolvePoolResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (ResolvePoolResponse_Result) Enum ¶ added in v1.4.6
func (x ResolvePoolResponse_Result) Enum() *ResolvePoolResponse_Result
func (ResolvePoolResponse_Result) EnumDescriptor
deprecated
added in
v1.4.6
func (ResolvePoolResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResolvePoolResponse_Result.Descriptor instead.
func (ResolvePoolResponse_Result) Number ¶ added in v1.4.6
func (x ResolvePoolResponse_Result) Number() protoreflect.EnumNumber
func (ResolvePoolResponse_Result) String ¶ added in v1.4.6
func (x ResolvePoolResponse_Result) String() string
func (ResolvePoolResponse_Result) Type ¶ added in v1.4.6
func (ResolvePoolResponse_Result) Type() protoreflect.EnumType
type SignedBetMetadata ¶ added in v1.4.2
type SignedBetMetadata struct {
BetId *BetId `protobuf:"bytes,1,opt,name=bet_id,json=betId,proto3" json:"bet_id,omitempty"`
// The user making the bet, which is unique for a given pool
UserId *v1.UserId `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// The outcome the user has bet against
SelectedOutcome *BetOutcome `protobuf:"bytes,3,opt,name=selected_outcome,json=selectedOutcome,proto3" json:"selected_outcome,omitempty"`
// The destination where payout will be made if the user selected the correct
// outcome.
PayoutDestination *v1.PublicKey `protobuf:"bytes,4,opt,name=payout_destination,json=payoutDestination,proto3" json:"payout_destination,omitempty"`
// Timestamp the bet was made
Ts *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=ts,proto3" json:"ts,omitempty"`
// contains filtered or unexported fields
}
Bet metadata signed by the rendezvous key
func (*SignedBetMetadata) Descriptor
deprecated
added in
v1.4.2
func (*SignedBetMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SignedBetMetadata.ProtoReflect.Descriptor instead.
func (*SignedBetMetadata) GetBetId ¶ added in v1.4.2
func (x *SignedBetMetadata) GetBetId() *BetId
func (*SignedBetMetadata) GetPayoutDestination ¶ added in v1.4.2
func (x *SignedBetMetadata) GetPayoutDestination() *v1.PublicKey
func (*SignedBetMetadata) GetSelectedOutcome ¶ added in v1.4.2
func (x *SignedBetMetadata) GetSelectedOutcome() *BetOutcome
func (*SignedBetMetadata) GetTs ¶ added in v1.4.2
func (x *SignedBetMetadata) GetTs() *timestamppb.Timestamp
func (*SignedBetMetadata) GetUserId ¶ added in v1.4.2
func (x *SignedBetMetadata) GetUserId() *v1.UserId
func (*SignedBetMetadata) ProtoMessage ¶ added in v1.4.2
func (*SignedBetMetadata) ProtoMessage()
func (*SignedBetMetadata) ProtoReflect ¶ added in v1.4.2
func (x *SignedBetMetadata) ProtoReflect() protoreflect.Message
func (*SignedBetMetadata) Reset ¶ added in v1.4.2
func (x *SignedBetMetadata) Reset()
func (*SignedBetMetadata) String ¶ added in v1.4.2
func (x *SignedBetMetadata) String() string
func (*SignedBetMetadata) Validate ¶ added in v1.4.2
func (m *SignedBetMetadata) Validate() error
Validate checks the field values on SignedBetMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SignedBetMetadata) ValidateAll ¶ added in v1.4.2
func (m *SignedBetMetadata) ValidateAll() error
ValidateAll checks the field values on SignedBetMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignedBetMetadataMultiError, or nil if none found.
type SignedBetMetadataMultiError ¶ added in v1.4.2
type SignedBetMetadataMultiError []error
SignedBetMetadataMultiError is an error wrapping multiple validation errors returned by SignedBetMetadata.ValidateAll() if the designated constraints aren't met.
func (SignedBetMetadataMultiError) AllErrors ¶ added in v1.4.2
func (m SignedBetMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SignedBetMetadataMultiError) Error ¶ added in v1.4.2
func (m SignedBetMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SignedBetMetadataValidationError ¶ added in v1.4.2
type SignedBetMetadataValidationError struct {
// contains filtered or unexported fields
}
SignedBetMetadataValidationError is the validation error returned by SignedBetMetadata.Validate if the designated constraints aren't met.
func (SignedBetMetadataValidationError) Cause ¶ added in v1.4.2
func (e SignedBetMetadataValidationError) Cause() error
Cause function returns cause value.
func (SignedBetMetadataValidationError) Error ¶ added in v1.4.2
func (e SignedBetMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SignedBetMetadataValidationError) ErrorName ¶ added in v1.4.2
func (e SignedBetMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SignedBetMetadataValidationError) Field ¶ added in v1.4.2
func (e SignedBetMetadataValidationError) Field() string
Field function returns field value.
func (SignedBetMetadataValidationError) Key ¶ added in v1.4.2
func (e SignedBetMetadataValidationError) Key() bool
Key function returns key value.
func (SignedBetMetadataValidationError) Reason ¶ added in v1.4.2
func (e SignedBetMetadataValidationError) Reason() string
Reason function returns reason value.
type SignedPoolMetadata ¶ added in v1.4.2
type SignedPoolMetadata struct {
Id *PoolId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The user ID that created this pool
Creator *v1.UserId `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
// The pool name, which should ask a yes/no question to bet against
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// The buy in amount for a bet
BuyIn *v1.FiatPaymentAmount `protobuf:"bytes,4,opt,name=buy_in,json=buyIn,proto3" json:"buy_in,omitempty"`
// Destination where bet payments will be made to fund the pool
FundingDestination *v1.PublicKey `protobuf:"bytes,5,opt,name=funding_destination,json=fundingDestination,proto3" json:"funding_destination,omitempty"`
// Is the pool currently open to take bets?
IsOpen bool `protobuf:"varint,6,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"`
// The pool resolution, if one is made
Resolution *Resolution `protobuf:"bytes,7,opt,name=resolution,proto3" json:"resolution,omitempty"`
// Timestamp pool was created at
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Timestamp the pool was closed at
ClosedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=closed_at,json=closedAt,proto3" json:"closed_at,omitempty"`
// contains filtered or unexported fields
}
Pool metadata signed by the rendezvous key
func (*SignedPoolMetadata) Descriptor
deprecated
added in
v1.4.2
func (*SignedPoolMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SignedPoolMetadata.ProtoReflect.Descriptor instead.
func (*SignedPoolMetadata) GetBuyIn ¶ added in v1.4.2
func (x *SignedPoolMetadata) GetBuyIn() *v1.FiatPaymentAmount
func (*SignedPoolMetadata) GetClosedAt ¶ added in v1.4.9
func (x *SignedPoolMetadata) GetClosedAt() *timestamppb.Timestamp
func (*SignedPoolMetadata) GetCreatedAt ¶ added in v1.4.2
func (x *SignedPoolMetadata) GetCreatedAt() *timestamppb.Timestamp
func (*SignedPoolMetadata) GetCreator ¶ added in v1.4.2
func (x *SignedPoolMetadata) GetCreator() *v1.UserId
func (*SignedPoolMetadata) GetFundingDestination ¶ added in v1.4.2
func (x *SignedPoolMetadata) GetFundingDestination() *v1.PublicKey
func (*SignedPoolMetadata) GetId ¶ added in v1.4.2
func (x *SignedPoolMetadata) GetId() *PoolId
func (*SignedPoolMetadata) GetIsOpen ¶ added in v1.4.2
func (x *SignedPoolMetadata) GetIsOpen() bool
func (*SignedPoolMetadata) GetName ¶ added in v1.4.2
func (x *SignedPoolMetadata) GetName() string
func (*SignedPoolMetadata) GetResolution ¶ added in v1.4.2
func (x *SignedPoolMetadata) GetResolution() *Resolution
func (*SignedPoolMetadata) ProtoMessage ¶ added in v1.4.2
func (*SignedPoolMetadata) ProtoMessage()
func (*SignedPoolMetadata) ProtoReflect ¶ added in v1.4.2
func (x *SignedPoolMetadata) ProtoReflect() protoreflect.Message
func (*SignedPoolMetadata) Reset ¶ added in v1.4.2
func (x *SignedPoolMetadata) Reset()
func (*SignedPoolMetadata) String ¶ added in v1.4.2
func (x *SignedPoolMetadata) String() string
func (*SignedPoolMetadata) Validate ¶ added in v1.4.2
func (m *SignedPoolMetadata) Validate() error
Validate checks the field values on SignedPoolMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SignedPoolMetadata) ValidateAll ¶ added in v1.4.2
func (m *SignedPoolMetadata) ValidateAll() error
ValidateAll checks the field values on SignedPoolMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignedPoolMetadataMultiError, or nil if none found.
type SignedPoolMetadataMultiError ¶ added in v1.4.2
type SignedPoolMetadataMultiError []error
SignedPoolMetadataMultiError is an error wrapping multiple validation errors returned by SignedPoolMetadata.ValidateAll() if the designated constraints aren't met.
func (SignedPoolMetadataMultiError) AllErrors ¶ added in v1.4.2
func (m SignedPoolMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SignedPoolMetadataMultiError) Error ¶ added in v1.4.2
func (m SignedPoolMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SignedPoolMetadataValidationError ¶ added in v1.4.2
type SignedPoolMetadataValidationError struct {
// contains filtered or unexported fields
}
SignedPoolMetadataValidationError is the validation error returned by SignedPoolMetadata.Validate if the designated constraints aren't met.
func (SignedPoolMetadataValidationError) Cause ¶ added in v1.4.2
func (e SignedPoolMetadataValidationError) Cause() error
Cause function returns cause value.
func (SignedPoolMetadataValidationError) Error ¶ added in v1.4.2
func (e SignedPoolMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SignedPoolMetadataValidationError) ErrorName ¶ added in v1.4.2
func (e SignedPoolMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SignedPoolMetadataValidationError) Field ¶ added in v1.4.2
func (e SignedPoolMetadataValidationError) Field() string
Field function returns field value.
func (SignedPoolMetadataValidationError) Key ¶ added in v1.4.2
func (e SignedPoolMetadataValidationError) Key() bool
Key function returns key value.
func (SignedPoolMetadataValidationError) Reason ¶ added in v1.4.2
func (e SignedPoolMetadataValidationError) Reason() string
Reason function returns reason value.
type UnimplementedPoolServer ¶
type UnimplementedPoolServer struct{}
UnimplementedPoolServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPoolServer) ClosePool ¶ added in v1.4.9
func (UnimplementedPoolServer) ClosePool(context.Context, *ClosePoolRequest) (*ClosePoolResponse, error)
func (UnimplementedPoolServer) CreatePool ¶
func (UnimplementedPoolServer) CreatePool(context.Context, *CreatePoolRequest) (*CreatePoolResponse, error)
func (UnimplementedPoolServer) GetPagedPools ¶ added in v1.4.8
func (UnimplementedPoolServer) GetPagedPools(context.Context, *GetPagedPoolsRequest) (*GetPagedPoolsResponse, error)
func (UnimplementedPoolServer) GetPool ¶
func (UnimplementedPoolServer) GetPool(context.Context, *GetPoolRequest) (*GetPoolResponse, error)
func (UnimplementedPoolServer) MakeBet ¶
func (UnimplementedPoolServer) MakeBet(context.Context, *MakeBetRequest) (*MakeBetResponse, error)
func (UnimplementedPoolServer) ResolvePool ¶ added in v1.4.6
func (UnimplementedPoolServer) ResolvePool(context.Context, *ResolvePoolRequest) (*ResolvePoolResponse, error)
type UnsafePoolServer ¶
type UnsafePoolServer interface {
// contains filtered or unexported methods
}
UnsafePoolServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PoolServer will result in compilation errors.
type UserOutcome ¶ added in v1.4.20
type UserOutcome int32
UserOutcome is an enum of states for user outcomes in a pool
const ( UserOutcome_UNKNOWN_OUTCOE UserOutcome = 0 // Pool isn't resolved, so no user outcome is available UserOutcome_NO_OUTCOME UserOutcome = 1 // User is a winner in the pool UserOutcome_WIN_OUTCOME UserOutcome = 2 // User is a loser in the pool UserOutcome_LOSE_OUTCOME UserOutcome = 3 // User was refunded UserOutcome_REFUND_OUTCOME UserOutcome = 4 )
func (UserOutcome) Descriptor ¶ added in v1.4.20
func (UserOutcome) Descriptor() protoreflect.EnumDescriptor
func (UserOutcome) Enum ¶ added in v1.4.20
func (x UserOutcome) Enum() *UserOutcome
func (UserOutcome) EnumDescriptor
deprecated
added in
v1.4.20
func (UserOutcome) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserOutcome.Descriptor instead.
func (UserOutcome) Number ¶ added in v1.4.20
func (x UserOutcome) Number() protoreflect.EnumNumber
func (UserOutcome) String ¶ added in v1.4.20
func (x UserOutcome) String() string
func (UserOutcome) Type ¶ added in v1.4.20
func (UserOutcome) Type() protoreflect.EnumType
type UserPoolSummary ¶ added in v1.4.16
type UserPoolSummary struct {
// The outcome for the user for a pool
//
// Types that are assignable to Outcome:
//
// *UserPoolSummary_None
// *UserPoolSummary_Win
// *UserPoolSummary_Lose
// *UserPoolSummary_Refund
Outcome isUserPoolSummary_Outcome `protobuf_oneof:"outcome"`
// contains filtered or unexported fields
}
func (*UserPoolSummary) Descriptor
deprecated
added in
v1.4.16
func (*UserPoolSummary) Descriptor() ([]byte, []int)
Deprecated: Use UserPoolSummary.ProtoReflect.Descriptor instead.
func (*UserPoolSummary) GetLose ¶ added in v1.4.16
func (x *UserPoolSummary) GetLose() *UserPoolSummary_LoseOutcome
func (*UserPoolSummary) GetNone ¶ added in v1.4.16
func (x *UserPoolSummary) GetNone() *UserPoolSummary_NoOutcome
func (*UserPoolSummary) GetOutcome ¶ added in v1.4.16
func (m *UserPoolSummary) GetOutcome() isUserPoolSummary_Outcome
func (*UserPoolSummary) GetRefund ¶ added in v1.4.16
func (x *UserPoolSummary) GetRefund() *UserPoolSummary_RefundOutcome
func (*UserPoolSummary) GetWin ¶ added in v1.4.16
func (x *UserPoolSummary) GetWin() *UserPoolSummary_WinOutcome
func (*UserPoolSummary) ProtoMessage ¶ added in v1.4.16
func (*UserPoolSummary) ProtoMessage()
func (*UserPoolSummary) ProtoReflect ¶ added in v1.4.16
func (x *UserPoolSummary) ProtoReflect() protoreflect.Message
func (*UserPoolSummary) Reset ¶ added in v1.4.16
func (x *UserPoolSummary) Reset()
func (*UserPoolSummary) String ¶ added in v1.4.16
func (x *UserPoolSummary) String() string
func (*UserPoolSummary) Validate ¶ added in v1.4.16
func (m *UserPoolSummary) Validate() error
Validate checks the field values on UserPoolSummary with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserPoolSummary) ValidateAll ¶ added in v1.4.16
func (m *UserPoolSummary) ValidateAll() error
ValidateAll checks the field values on UserPoolSummary with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserPoolSummaryMultiError, or nil if none found.
type UserPoolSummaryMultiError ¶ added in v1.4.16
type UserPoolSummaryMultiError []error
UserPoolSummaryMultiError is an error wrapping multiple validation errors returned by UserPoolSummary.ValidateAll() if the designated constraints aren't met.
func (UserPoolSummaryMultiError) AllErrors ¶ added in v1.4.16
func (m UserPoolSummaryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserPoolSummaryMultiError) Error ¶ added in v1.4.16
func (m UserPoolSummaryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserPoolSummaryValidationError ¶ added in v1.4.16
type UserPoolSummaryValidationError struct {
// contains filtered or unexported fields
}
UserPoolSummaryValidationError is the validation error returned by UserPoolSummary.Validate if the designated constraints aren't met.
func (UserPoolSummaryValidationError) Cause ¶ added in v1.4.16
func (e UserPoolSummaryValidationError) Cause() error
Cause function returns cause value.
func (UserPoolSummaryValidationError) Error ¶ added in v1.4.16
func (e UserPoolSummaryValidationError) Error() string
Error satisfies the builtin error interface
func (UserPoolSummaryValidationError) ErrorName ¶ added in v1.4.16
func (e UserPoolSummaryValidationError) ErrorName() string
ErrorName returns error name.
func (UserPoolSummaryValidationError) Field ¶ added in v1.4.16
func (e UserPoolSummaryValidationError) Field() string
Field function returns field value.
func (UserPoolSummaryValidationError) Key ¶ added in v1.4.16
func (e UserPoolSummaryValidationError) Key() bool
Key function returns key value.
func (UserPoolSummaryValidationError) Reason ¶ added in v1.4.16
func (e UserPoolSummaryValidationError) Reason() string
Reason function returns reason value.
type UserPoolSummary_Lose ¶ added in v1.4.16
type UserPoolSummary_Lose struct {
Lose *UserPoolSummary_LoseOutcome `protobuf:"bytes,3,opt,name=lose,proto3,oneof"`
}
type UserPoolSummary_LoseOutcome ¶ added in v1.4.16
type UserPoolSummary_LoseOutcome struct {
AmountLost *v1.FiatPaymentAmount `protobuf:"bytes,1,opt,name=amount_lost,json=amountLost,proto3" json:"amount_lost,omitempty"`
// contains filtered or unexported fields
}
User is a loser in the pool
func (*UserPoolSummary_LoseOutcome) Descriptor
deprecated
added in
v1.4.16
func (*UserPoolSummary_LoseOutcome) Descriptor() ([]byte, []int)
Deprecated: Use UserPoolSummary_LoseOutcome.ProtoReflect.Descriptor instead.
func (*UserPoolSummary_LoseOutcome) GetAmountLost ¶ added in v1.4.16
func (x *UserPoolSummary_LoseOutcome) GetAmountLost() *v1.FiatPaymentAmount
func (*UserPoolSummary_LoseOutcome) ProtoMessage ¶ added in v1.4.16
func (*UserPoolSummary_LoseOutcome) ProtoMessage()
func (*UserPoolSummary_LoseOutcome) ProtoReflect ¶ added in v1.4.16
func (x *UserPoolSummary_LoseOutcome) ProtoReflect() protoreflect.Message
func (*UserPoolSummary_LoseOutcome) Reset ¶ added in v1.4.16
func (x *UserPoolSummary_LoseOutcome) Reset()
func (*UserPoolSummary_LoseOutcome) String ¶ added in v1.4.16
func (x *UserPoolSummary_LoseOutcome) String() string
func (*UserPoolSummary_LoseOutcome) Validate ¶ added in v1.4.16
func (m *UserPoolSummary_LoseOutcome) Validate() error
Validate checks the field values on UserPoolSummary_LoseOutcome with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserPoolSummary_LoseOutcome) ValidateAll ¶ added in v1.4.16
func (m *UserPoolSummary_LoseOutcome) ValidateAll() error
ValidateAll checks the field values on UserPoolSummary_LoseOutcome with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserPoolSummary_LoseOutcomeMultiError, or nil if none found.
type UserPoolSummary_LoseOutcomeMultiError ¶ added in v1.4.16
type UserPoolSummary_LoseOutcomeMultiError []error
UserPoolSummary_LoseOutcomeMultiError is an error wrapping multiple validation errors returned by UserPoolSummary_LoseOutcome.ValidateAll() if the designated constraints aren't met.
func (UserPoolSummary_LoseOutcomeMultiError) AllErrors ¶ added in v1.4.16
func (m UserPoolSummary_LoseOutcomeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserPoolSummary_LoseOutcomeMultiError) Error ¶ added in v1.4.16
func (m UserPoolSummary_LoseOutcomeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserPoolSummary_LoseOutcomeValidationError ¶ added in v1.4.16
type UserPoolSummary_LoseOutcomeValidationError struct {
// contains filtered or unexported fields
}
UserPoolSummary_LoseOutcomeValidationError is the validation error returned by UserPoolSummary_LoseOutcome.Validate if the designated constraints aren't met.
func (UserPoolSummary_LoseOutcomeValidationError) Cause ¶ added in v1.4.16
func (e UserPoolSummary_LoseOutcomeValidationError) Cause() error
Cause function returns cause value.
func (UserPoolSummary_LoseOutcomeValidationError) Error ¶ added in v1.4.16
func (e UserPoolSummary_LoseOutcomeValidationError) Error() string
Error satisfies the builtin error interface
func (UserPoolSummary_LoseOutcomeValidationError) ErrorName ¶ added in v1.4.16
func (e UserPoolSummary_LoseOutcomeValidationError) ErrorName() string
ErrorName returns error name.
func (UserPoolSummary_LoseOutcomeValidationError) Field ¶ added in v1.4.16
func (e UserPoolSummary_LoseOutcomeValidationError) Field() string
Field function returns field value.
func (UserPoolSummary_LoseOutcomeValidationError) Key ¶ added in v1.4.16
func (e UserPoolSummary_LoseOutcomeValidationError) Key() bool
Key function returns key value.
func (UserPoolSummary_LoseOutcomeValidationError) Reason ¶ added in v1.4.16
func (e UserPoolSummary_LoseOutcomeValidationError) Reason() string
Reason function returns reason value.
type UserPoolSummary_NoOutcome ¶ added in v1.4.16
type UserPoolSummary_NoOutcome struct {
// contains filtered or unexported fields
}
Pool isn't resolved, so no user outcome is available
func (*UserPoolSummary_NoOutcome) Descriptor
deprecated
added in
v1.4.16
func (*UserPoolSummary_NoOutcome) Descriptor() ([]byte, []int)
Deprecated: Use UserPoolSummary_NoOutcome.ProtoReflect.Descriptor instead.
func (*UserPoolSummary_NoOutcome) ProtoMessage ¶ added in v1.4.16
func (*UserPoolSummary_NoOutcome) ProtoMessage()
func (*UserPoolSummary_NoOutcome) ProtoReflect ¶ added in v1.4.16
func (x *UserPoolSummary_NoOutcome) ProtoReflect() protoreflect.Message
func (*UserPoolSummary_NoOutcome) Reset ¶ added in v1.4.16
func (x *UserPoolSummary_NoOutcome) Reset()
func (*UserPoolSummary_NoOutcome) String ¶ added in v1.4.16
func (x *UserPoolSummary_NoOutcome) String() string
func (*UserPoolSummary_NoOutcome) Validate ¶ added in v1.4.16
func (m *UserPoolSummary_NoOutcome) Validate() error
Validate checks the field values on UserPoolSummary_NoOutcome with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserPoolSummary_NoOutcome) ValidateAll ¶ added in v1.4.16
func (m *UserPoolSummary_NoOutcome) ValidateAll() error
ValidateAll checks the field values on UserPoolSummary_NoOutcome with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserPoolSummary_NoOutcomeMultiError, or nil if none found.
type UserPoolSummary_NoOutcomeMultiError ¶ added in v1.4.16
type UserPoolSummary_NoOutcomeMultiError []error
UserPoolSummary_NoOutcomeMultiError is an error wrapping multiple validation errors returned by UserPoolSummary_NoOutcome.ValidateAll() if the designated constraints aren't met.
func (UserPoolSummary_NoOutcomeMultiError) AllErrors ¶ added in v1.4.16
func (m UserPoolSummary_NoOutcomeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserPoolSummary_NoOutcomeMultiError) Error ¶ added in v1.4.16
func (m UserPoolSummary_NoOutcomeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserPoolSummary_NoOutcomeValidationError ¶ added in v1.4.16
type UserPoolSummary_NoOutcomeValidationError struct {
// contains filtered or unexported fields
}
UserPoolSummary_NoOutcomeValidationError is the validation error returned by UserPoolSummary_NoOutcome.Validate if the designated constraints aren't met.
func (UserPoolSummary_NoOutcomeValidationError) Cause ¶ added in v1.4.16
func (e UserPoolSummary_NoOutcomeValidationError) Cause() error
Cause function returns cause value.
func (UserPoolSummary_NoOutcomeValidationError) Error ¶ added in v1.4.16
func (e UserPoolSummary_NoOutcomeValidationError) Error() string
Error satisfies the builtin error interface
func (UserPoolSummary_NoOutcomeValidationError) ErrorName ¶ added in v1.4.16
func (e UserPoolSummary_NoOutcomeValidationError) ErrorName() string
ErrorName returns error name.
func (UserPoolSummary_NoOutcomeValidationError) Field ¶ added in v1.4.16
func (e UserPoolSummary_NoOutcomeValidationError) Field() string
Field function returns field value.
func (UserPoolSummary_NoOutcomeValidationError) Key ¶ added in v1.4.16
func (e UserPoolSummary_NoOutcomeValidationError) Key() bool
Key function returns key value.
func (UserPoolSummary_NoOutcomeValidationError) Reason ¶ added in v1.4.16
func (e UserPoolSummary_NoOutcomeValidationError) Reason() string
Reason function returns reason value.
type UserPoolSummary_None ¶ added in v1.4.16
type UserPoolSummary_None struct {
None *UserPoolSummary_NoOutcome `protobuf:"bytes,1,opt,name=none,proto3,oneof"`
}
type UserPoolSummary_Refund ¶ added in v1.4.16
type UserPoolSummary_Refund struct {
Refund *UserPoolSummary_RefundOutcome `protobuf:"bytes,4,opt,name=refund,proto3,oneof"`
}
type UserPoolSummary_RefundOutcome ¶ added in v1.4.16
type UserPoolSummary_RefundOutcome struct {
AmountRefunded *v1.FiatPaymentAmount `protobuf:"bytes,1,opt,name=amount_refunded,json=amountRefunded,proto3" json:"amount_refunded,omitempty"`
// contains filtered or unexported fields
}
User was refunded
func (*UserPoolSummary_RefundOutcome) Descriptor
deprecated
added in
v1.4.16
func (*UserPoolSummary_RefundOutcome) Descriptor() ([]byte, []int)
Deprecated: Use UserPoolSummary_RefundOutcome.ProtoReflect.Descriptor instead.
func (*UserPoolSummary_RefundOutcome) GetAmountRefunded ¶ added in v1.4.16
func (x *UserPoolSummary_RefundOutcome) GetAmountRefunded() *v1.FiatPaymentAmount
func (*UserPoolSummary_RefundOutcome) ProtoMessage ¶ added in v1.4.16
func (*UserPoolSummary_RefundOutcome) ProtoMessage()
func (*UserPoolSummary_RefundOutcome) ProtoReflect ¶ added in v1.4.16
func (x *UserPoolSummary_RefundOutcome) ProtoReflect() protoreflect.Message
func (*UserPoolSummary_RefundOutcome) Reset ¶ added in v1.4.16
func (x *UserPoolSummary_RefundOutcome) Reset()
func (*UserPoolSummary_RefundOutcome) String ¶ added in v1.4.16
func (x *UserPoolSummary_RefundOutcome) String() string
func (*UserPoolSummary_RefundOutcome) Validate ¶ added in v1.4.16
func (m *UserPoolSummary_RefundOutcome) Validate() error
Validate checks the field values on UserPoolSummary_RefundOutcome with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserPoolSummary_RefundOutcome) ValidateAll ¶ added in v1.4.16
func (m *UserPoolSummary_RefundOutcome) ValidateAll() error
ValidateAll checks the field values on UserPoolSummary_RefundOutcome with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserPoolSummary_RefundOutcomeMultiError, or nil if none found.
type UserPoolSummary_RefundOutcomeMultiError ¶ added in v1.4.16
type UserPoolSummary_RefundOutcomeMultiError []error
UserPoolSummary_RefundOutcomeMultiError is an error wrapping multiple validation errors returned by UserPoolSummary_RefundOutcome.ValidateAll() if the designated constraints aren't met.
func (UserPoolSummary_RefundOutcomeMultiError) AllErrors ¶ added in v1.4.16
func (m UserPoolSummary_RefundOutcomeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserPoolSummary_RefundOutcomeMultiError) Error ¶ added in v1.4.16
func (m UserPoolSummary_RefundOutcomeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserPoolSummary_RefundOutcomeValidationError ¶ added in v1.4.16
type UserPoolSummary_RefundOutcomeValidationError struct {
// contains filtered or unexported fields
}
UserPoolSummary_RefundOutcomeValidationError is the validation error returned by UserPoolSummary_RefundOutcome.Validate if the designated constraints aren't met.
func (UserPoolSummary_RefundOutcomeValidationError) Cause ¶ added in v1.4.16
func (e UserPoolSummary_RefundOutcomeValidationError) Cause() error
Cause function returns cause value.
func (UserPoolSummary_RefundOutcomeValidationError) Error ¶ added in v1.4.16
func (e UserPoolSummary_RefundOutcomeValidationError) Error() string
Error satisfies the builtin error interface
func (UserPoolSummary_RefundOutcomeValidationError) ErrorName ¶ added in v1.4.16
func (e UserPoolSummary_RefundOutcomeValidationError) ErrorName() string
ErrorName returns error name.
func (UserPoolSummary_RefundOutcomeValidationError) Field ¶ added in v1.4.16
func (e UserPoolSummary_RefundOutcomeValidationError) Field() string
Field function returns field value.
func (UserPoolSummary_RefundOutcomeValidationError) Key ¶ added in v1.4.16
func (e UserPoolSummary_RefundOutcomeValidationError) Key() bool
Key function returns key value.
func (UserPoolSummary_RefundOutcomeValidationError) Reason ¶ added in v1.4.16
func (e UserPoolSummary_RefundOutcomeValidationError) Reason() string
Reason function returns reason value.
type UserPoolSummary_Win ¶ added in v1.4.16
type UserPoolSummary_Win struct {
Win *UserPoolSummary_WinOutcome `protobuf:"bytes,2,opt,name=win,proto3,oneof"`
}
type UserPoolSummary_WinOutcome ¶ added in v1.4.16
type UserPoolSummary_WinOutcome struct {
AmountWon *v1.FiatPaymentAmount `protobuf:"bytes,1,opt,name=amount_won,json=amountWon,proto3" json:"amount_won,omitempty"`
TotalAmountReceived *v1.FiatPaymentAmount `protobuf:"bytes,2,opt,name=total_amount_received,json=totalAmountReceived,proto3" json:"total_amount_received,omitempty"`
// contains filtered or unexported fields
}
User is a winner in the pool
func (*UserPoolSummary_WinOutcome) Descriptor
deprecated
added in
v1.4.16
func (*UserPoolSummary_WinOutcome) Descriptor() ([]byte, []int)
Deprecated: Use UserPoolSummary_WinOutcome.ProtoReflect.Descriptor instead.
func (*UserPoolSummary_WinOutcome) GetAmountWon ¶ added in v1.4.16
func (x *UserPoolSummary_WinOutcome) GetAmountWon() *v1.FiatPaymentAmount
func (*UserPoolSummary_WinOutcome) GetTotalAmountReceived ¶ added in v1.4.21
func (x *UserPoolSummary_WinOutcome) GetTotalAmountReceived() *v1.FiatPaymentAmount
func (*UserPoolSummary_WinOutcome) ProtoMessage ¶ added in v1.4.16
func (*UserPoolSummary_WinOutcome) ProtoMessage()
func (*UserPoolSummary_WinOutcome) ProtoReflect ¶ added in v1.4.16
func (x *UserPoolSummary_WinOutcome) ProtoReflect() protoreflect.Message
func (*UserPoolSummary_WinOutcome) Reset ¶ added in v1.4.16
func (x *UserPoolSummary_WinOutcome) Reset()
func (*UserPoolSummary_WinOutcome) String ¶ added in v1.4.16
func (x *UserPoolSummary_WinOutcome) String() string
func (*UserPoolSummary_WinOutcome) Validate ¶ added in v1.4.16
func (m *UserPoolSummary_WinOutcome) Validate() error
Validate checks the field values on UserPoolSummary_WinOutcome with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserPoolSummary_WinOutcome) ValidateAll ¶ added in v1.4.16
func (m *UserPoolSummary_WinOutcome) ValidateAll() error
ValidateAll checks the field values on UserPoolSummary_WinOutcome with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserPoolSummary_WinOutcomeMultiError, or nil if none found.
type UserPoolSummary_WinOutcomeMultiError ¶ added in v1.4.16
type UserPoolSummary_WinOutcomeMultiError []error
UserPoolSummary_WinOutcomeMultiError is an error wrapping multiple validation errors returned by UserPoolSummary_WinOutcome.ValidateAll() if the designated constraints aren't met.
func (UserPoolSummary_WinOutcomeMultiError) AllErrors ¶ added in v1.4.16
func (m UserPoolSummary_WinOutcomeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserPoolSummary_WinOutcomeMultiError) Error ¶ added in v1.4.16
func (m UserPoolSummary_WinOutcomeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserPoolSummary_WinOutcomeValidationError ¶ added in v1.4.16
type UserPoolSummary_WinOutcomeValidationError struct {
// contains filtered or unexported fields
}
UserPoolSummary_WinOutcomeValidationError is the validation error returned by UserPoolSummary_WinOutcome.Validate if the designated constraints aren't met.
func (UserPoolSummary_WinOutcomeValidationError) Cause ¶ added in v1.4.16
func (e UserPoolSummary_WinOutcomeValidationError) Cause() error
Cause function returns cause value.
func (UserPoolSummary_WinOutcomeValidationError) Error ¶ added in v1.4.16
func (e UserPoolSummary_WinOutcomeValidationError) Error() string
Error satisfies the builtin error interface
func (UserPoolSummary_WinOutcomeValidationError) ErrorName ¶ added in v1.4.16
func (e UserPoolSummary_WinOutcomeValidationError) ErrorName() string
ErrorName returns error name.
func (UserPoolSummary_WinOutcomeValidationError) Field ¶ added in v1.4.16
func (e UserPoolSummary_WinOutcomeValidationError) Field() string
Field function returns field value.
func (UserPoolSummary_WinOutcomeValidationError) Key ¶ added in v1.4.16
func (e UserPoolSummary_WinOutcomeValidationError) Key() bool
Key function returns key value.
func (UserPoolSummary_WinOutcomeValidationError) Reason ¶ added in v1.4.16
func (e UserPoolSummary_WinOutcomeValidationError) Reason() string
Reason function returns reason value.