Documentation ¶
Index ¶
- Variables
- func RegisterRewardsstoreServiceServer(s grpc.ServiceRegistrar, srv RewardsstoreServiceServer)
- type Ack
- type Amount
- func (*Amount) Descriptor() ([]byte, []int)deprecated
- func (x *Amount) GetCurrency() string
- func (x *Amount) GetExp() int32
- func (x *Amount) GetNumeric() []byte
- func (x *Amount) GetText() string
- func (*Amount) ProtoMessage()
- func (x *Amount) ProtoReflect() protoreflect.Message
- func (x *Amount) Reset()
- func (x *Amount) String() string
- type ClaimedReward
- func (*ClaimedReward) Descriptor() ([]byte, []int)deprecated
- func (x *ClaimedReward) GetAccount() string
- func (x *ClaimedReward) GetChainId() string
- func (x *ClaimedReward) GetMark() uint64
- func (x *ClaimedReward) GetNetwork() string
- func (x *ClaimedReward) GetReward() []*Amount
- func (x *ClaimedReward) GetSequence() uint64
- func (x *ClaimedReward) GetTime() *Timestamp
- func (x *ClaimedReward) GetType() string
- func (x *ClaimedReward) GetValidator() string
- func (x *ClaimedReward) GetVersion() string
- func (*ClaimedReward) ProtoMessage()
- func (x *ClaimedReward) ProtoReflect() protoreflect.Message
- func (x *ClaimedReward) Reset()
- func (x *ClaimedReward) String() string
- type EarnedReward
- func (*EarnedReward) Descriptor() ([]byte, []int)deprecated
- func (x *EarnedReward) GetAccount() string
- func (x *EarnedReward) GetChainId() string
- func (x *EarnedReward) GetGrouping() string
- func (x *EarnedReward) GetMark() uint64
- func (x *EarnedReward) GetNetwork() string
- func (x *EarnedReward) GetReward() []*Amount
- func (x *EarnedReward) GetSequence() uint64
- func (x *EarnedReward) GetTime() *Timestamp
- func (x *EarnedReward) GetType() string
- func (x *EarnedReward) GetValidator() string
- func (x *EarnedReward) GetVersion() string
- func (*EarnedReward) ProtoMessage()
- func (x *EarnedReward) ProtoReflect() protoreflect.Message
- func (x *EarnedReward) Reset()
- func (x *EarnedReward) String() string
- type RewardsstoreServiceClient
- type RewardsstoreServiceServer
- type RewardsstoreService_StoreClaimedRewardsClient
- type RewardsstoreService_StoreClaimedRewardsServer
- type RewardsstoreService_StoreEarnedRewardsClient
- type RewardsstoreService_StoreEarnedRewardsServer
- type RewardsstoreService_StoreUnclaimedRewardsClient
- type RewardsstoreService_StoreUnclaimedRewardsServer
- type Timestamp
- type UnclaimedReward
- func (*UnclaimedReward) Descriptor() ([]byte, []int)deprecated
- func (x *UnclaimedReward) GetAccount() string
- func (x *UnclaimedReward) GetChainId() string
- func (x *UnclaimedReward) GetGrouping() string
- func (x *UnclaimedReward) GetMark() uint64
- func (x *UnclaimedReward) GetNetwork() string
- func (x *UnclaimedReward) GetReward() []*Amount
- func (x *UnclaimedReward) GetSequence() uint64
- func (x *UnclaimedReward) GetTime() *Timestamp
- func (x *UnclaimedReward) GetType() string
- func (x *UnclaimedReward) GetValidator() string
- func (x *UnclaimedReward) GetVersion() string
- func (*UnclaimedReward) ProtoMessage()
- func (x *UnclaimedReward) ProtoReflect() protoreflect.Message
- func (x *UnclaimedReward) Reset()
- func (x *UnclaimedReward) String() string
- type UnimplementedRewardsstoreServiceServer
- func (UnimplementedRewardsstoreServiceServer) StoreClaimedRewards(RewardsstoreService_StoreClaimedRewardsServer) error
- func (UnimplementedRewardsstoreServiceServer) StoreEarnedRewards(RewardsstoreService_StoreEarnedRewardsServer) error
- func (UnimplementedRewardsstoreServiceServer) StoreUnclaimedRewards(RewardsstoreService_StoreUnclaimedRewardsServer) error
- type UnsafeRewardsstoreServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_proto_rewardsstore_rewardsstore_proto protoreflect.FileDescriptor
var RewardsstoreService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "rewardsstore.RewardsstoreService", HandlerType: (*RewardsstoreServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "StoreClaimedRewards", Handler: _RewardsstoreService_StoreClaimedRewards_Handler, ClientStreams: true, }, { StreamName: "StoreUnclaimedRewards", Handler: _RewardsstoreService_StoreUnclaimedRewards_Handler, ClientStreams: true, }, { StreamName: "StoreEarnedRewards", Handler: _RewardsstoreService_StoreEarnedRewards_Handler, ClientStreams: true, }, }, Metadata: "proto/rewardsstore/rewardsstore.proto", }
RewardsstoreService_ServiceDesc is the grpc.ServiceDesc for RewardsstoreService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRewardsstoreServiceServer ¶
func RegisterRewardsstoreServiceServer(s grpc.ServiceRegistrar, srv RewardsstoreServiceServer)
Types ¶
type Ack ¶
type Ack struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Ack) Descriptor
deprecated
func (*Ack) ProtoMessage ¶
func (*Ack) ProtoMessage()
func (*Ack) ProtoReflect ¶
func (x *Ack) ProtoReflect() protoreflect.Message
type Amount ¶
type Amount struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` Numeric []byte `protobuf:"bytes,3,opt,name=numeric,proto3" json:"numeric,omitempty"` Exp int32 `protobuf:"varint,4,opt,name=exp,proto3" json:"exp,omitempty"` // contains filtered or unexported fields }
func (*Amount) Descriptor
deprecated
func (*Amount) GetCurrency ¶
func (*Amount) GetNumeric ¶
func (*Amount) ProtoMessage ¶
func (*Amount) ProtoMessage()
func (*Amount) ProtoReflect ¶
func (x *Amount) ProtoReflect() protoreflect.Message
type ClaimedReward ¶
type ClaimedReward struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Sequence uint64 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"` Mark uint64 `protobuf:"varint,6,opt,name=mark,proto3" json:"mark,omitempty"` Time *Timestamp `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"` Account string `protobuf:"bytes,8,opt,name=account,proto3" json:"account,omitempty"` Validator string `protobuf:"bytes,9,opt,name=validator,proto3" json:"validator,omitempty"` Reward []*Amount `protobuf:"bytes,10,rep,name=reward,proto3" json:"reward,omitempty"` // contains filtered or unexported fields }
func (*ClaimedReward) Descriptor
deprecated
func (*ClaimedReward) Descriptor() ([]byte, []int)
Deprecated: Use ClaimedReward.ProtoReflect.Descriptor instead.
func (*ClaimedReward) GetAccount ¶
func (x *ClaimedReward) GetAccount() string
func (*ClaimedReward) GetChainId ¶
func (x *ClaimedReward) GetChainId() string
func (*ClaimedReward) GetMark ¶
func (x *ClaimedReward) GetMark() uint64
func (*ClaimedReward) GetNetwork ¶
func (x *ClaimedReward) GetNetwork() string
func (*ClaimedReward) GetReward ¶
func (x *ClaimedReward) GetReward() []*Amount
func (*ClaimedReward) GetSequence ¶
func (x *ClaimedReward) GetSequence() uint64
func (*ClaimedReward) GetTime ¶
func (x *ClaimedReward) GetTime() *Timestamp
func (*ClaimedReward) GetType ¶
func (x *ClaimedReward) GetType() string
func (*ClaimedReward) GetValidator ¶
func (x *ClaimedReward) GetValidator() string
func (*ClaimedReward) GetVersion ¶
func (x *ClaimedReward) GetVersion() string
func (*ClaimedReward) ProtoMessage ¶
func (*ClaimedReward) ProtoMessage()
func (*ClaimedReward) ProtoReflect ¶
func (x *ClaimedReward) ProtoReflect() protoreflect.Message
func (*ClaimedReward) Reset ¶
func (x *ClaimedReward) Reset()
func (*ClaimedReward) String ¶
func (x *ClaimedReward) String() string
type EarnedReward ¶
type EarnedReward struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Sequence uint64 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"` Mark uint64 `protobuf:"varint,6,opt,name=mark,proto3" json:"mark,omitempty"` Grouping string `protobuf:"bytes,7,opt,name=grouping,proto3" json:"grouping,omitempty"` Time *Timestamp `protobuf:"bytes,8,opt,name=time,proto3" json:"time,omitempty"` Account string `protobuf:"bytes,9,opt,name=account,proto3" json:"account,omitempty"` Validator string `protobuf:"bytes,10,opt,name=validator,proto3" json:"validator,omitempty"` Reward []*Amount `protobuf:"bytes,11,rep,name=reward,proto3" json:"reward,omitempty"` // contains filtered or unexported fields }
func (*EarnedReward) Descriptor
deprecated
func (*EarnedReward) Descriptor() ([]byte, []int)
Deprecated: Use EarnedReward.ProtoReflect.Descriptor instead.
func (*EarnedReward) GetAccount ¶
func (x *EarnedReward) GetAccount() string
func (*EarnedReward) GetChainId ¶
func (x *EarnedReward) GetChainId() string
func (*EarnedReward) GetGrouping ¶
func (x *EarnedReward) GetGrouping() string
func (*EarnedReward) GetMark ¶
func (x *EarnedReward) GetMark() uint64
func (*EarnedReward) GetNetwork ¶
func (x *EarnedReward) GetNetwork() string
func (*EarnedReward) GetReward ¶
func (x *EarnedReward) GetReward() []*Amount
func (*EarnedReward) GetSequence ¶
func (x *EarnedReward) GetSequence() uint64
func (*EarnedReward) GetTime ¶
func (x *EarnedReward) GetTime() *Timestamp
func (*EarnedReward) GetType ¶
func (x *EarnedReward) GetType() string
func (*EarnedReward) GetValidator ¶
func (x *EarnedReward) GetValidator() string
func (*EarnedReward) GetVersion ¶
func (x *EarnedReward) GetVersion() string
func (*EarnedReward) ProtoMessage ¶
func (*EarnedReward) ProtoMessage()
func (*EarnedReward) ProtoReflect ¶
func (x *EarnedReward) ProtoReflect() protoreflect.Message
func (*EarnedReward) Reset ¶
func (x *EarnedReward) Reset()
func (*EarnedReward) String ¶
func (x *EarnedReward) String() string
type RewardsstoreServiceClient ¶
type RewardsstoreServiceClient interface { StoreClaimedRewards(ctx context.Context, opts ...grpc.CallOption) (RewardsstoreService_StoreClaimedRewardsClient, error) StoreUnclaimedRewards(ctx context.Context, opts ...grpc.CallOption) (RewardsstoreService_StoreUnclaimedRewardsClient, error) StoreEarnedRewards(ctx context.Context, opts ...grpc.CallOption) (RewardsstoreService_StoreEarnedRewardsClient, error) }
RewardsstoreServiceClient is the client API for RewardsstoreService 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 NewRewardsstoreServiceClient ¶
func NewRewardsstoreServiceClient(cc grpc.ClientConnInterface) RewardsstoreServiceClient
type RewardsstoreServiceServer ¶
type RewardsstoreServiceServer interface { StoreClaimedRewards(RewardsstoreService_StoreClaimedRewardsServer) error StoreUnclaimedRewards(RewardsstoreService_StoreUnclaimedRewardsServer) error StoreEarnedRewards(RewardsstoreService_StoreEarnedRewardsServer) error // contains filtered or unexported methods }
RewardsstoreServiceServer is the server API for RewardsstoreService service. All implementations must embed UnimplementedRewardsstoreServiceServer for forward compatibility
type RewardsstoreService_StoreClaimedRewardsClient ¶
type RewardsstoreService_StoreClaimedRewardsClient interface { Send(*ClaimedReward) error CloseAndRecv() (*Ack, error) grpc.ClientStream }
type RewardsstoreService_StoreClaimedRewardsServer ¶
type RewardsstoreService_StoreClaimedRewardsServer interface { SendAndClose(*Ack) error Recv() (*ClaimedReward, error) grpc.ServerStream }
type RewardsstoreService_StoreEarnedRewardsClient ¶
type RewardsstoreService_StoreEarnedRewardsClient interface { Send(*EarnedReward) error CloseAndRecv() (*Ack, error) grpc.ClientStream }
type RewardsstoreService_StoreEarnedRewardsServer ¶
type RewardsstoreService_StoreEarnedRewardsServer interface { SendAndClose(*Ack) error Recv() (*EarnedReward, error) grpc.ServerStream }
type RewardsstoreService_StoreUnclaimedRewardsClient ¶
type RewardsstoreService_StoreUnclaimedRewardsClient interface { Send(*UnclaimedReward) error CloseAndRecv() (*Ack, error) grpc.ClientStream }
type RewardsstoreService_StoreUnclaimedRewardsServer ¶
type RewardsstoreService_StoreUnclaimedRewardsServer interface { SendAndClose(*Ack) error Recv() (*UnclaimedReward, error) grpc.ServerStream }
type Timestamp ¶
type Timestamp struct { Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` // contains filtered or unexported fields }
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetSeconds ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
type UnclaimedReward ¶
type UnclaimedReward struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Sequence uint64 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"` Mark uint64 `protobuf:"varint,6,opt,name=mark,proto3" json:"mark,omitempty"` Grouping string `protobuf:"bytes,7,opt,name=grouping,proto3" json:"grouping,omitempty"` Time *Timestamp `protobuf:"bytes,8,opt,name=time,proto3" json:"time,omitempty"` Account string `protobuf:"bytes,9,opt,name=account,proto3" json:"account,omitempty"` Validator string `protobuf:"bytes,10,opt,name=validator,proto3" json:"validator,omitempty"` Reward []*Amount `protobuf:"bytes,11,rep,name=reward,proto3" json:"reward,omitempty"` // contains filtered or unexported fields }
func (*UnclaimedReward) Descriptor
deprecated
func (*UnclaimedReward) Descriptor() ([]byte, []int)
Deprecated: Use UnclaimedReward.ProtoReflect.Descriptor instead.
func (*UnclaimedReward) GetAccount ¶
func (x *UnclaimedReward) GetAccount() string
func (*UnclaimedReward) GetChainId ¶
func (x *UnclaimedReward) GetChainId() string
func (*UnclaimedReward) GetGrouping ¶
func (x *UnclaimedReward) GetGrouping() string
func (*UnclaimedReward) GetMark ¶
func (x *UnclaimedReward) GetMark() uint64
func (*UnclaimedReward) GetNetwork ¶
func (x *UnclaimedReward) GetNetwork() string
func (*UnclaimedReward) GetReward ¶
func (x *UnclaimedReward) GetReward() []*Amount
func (*UnclaimedReward) GetSequence ¶
func (x *UnclaimedReward) GetSequence() uint64
func (*UnclaimedReward) GetTime ¶
func (x *UnclaimedReward) GetTime() *Timestamp
func (*UnclaimedReward) GetType ¶
func (x *UnclaimedReward) GetType() string
func (*UnclaimedReward) GetValidator ¶
func (x *UnclaimedReward) GetValidator() string
func (*UnclaimedReward) GetVersion ¶
func (x *UnclaimedReward) GetVersion() string
func (*UnclaimedReward) ProtoMessage ¶
func (*UnclaimedReward) ProtoMessage()
func (*UnclaimedReward) ProtoReflect ¶
func (x *UnclaimedReward) ProtoReflect() protoreflect.Message
func (*UnclaimedReward) Reset ¶
func (x *UnclaimedReward) Reset()
func (*UnclaimedReward) String ¶
func (x *UnclaimedReward) String() string
type UnimplementedRewardsstoreServiceServer ¶
type UnimplementedRewardsstoreServiceServer struct { }
UnimplementedRewardsstoreServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRewardsstoreServiceServer) StoreClaimedRewards ¶
func (UnimplementedRewardsstoreServiceServer) StoreClaimedRewards(RewardsstoreService_StoreClaimedRewardsServer) error
func (UnimplementedRewardsstoreServiceServer) StoreEarnedRewards ¶
func (UnimplementedRewardsstoreServiceServer) StoreEarnedRewards(RewardsstoreService_StoreEarnedRewardsServer) error
func (UnimplementedRewardsstoreServiceServer) StoreUnclaimedRewards ¶
func (UnimplementedRewardsstoreServiceServer) StoreUnclaimedRewards(RewardsstoreService_StoreUnclaimedRewardsServer) error
type UnsafeRewardsstoreServiceServer ¶
type UnsafeRewardsstoreServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRewardsstoreServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RewardsstoreServiceServer will result in compilation errors.