Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
- func RegisterHubServiceServer(s grpc.ServiceRegistrar, srv HubServiceServer)
- type AckMessageBody
- func (*AckMessageBody) Descriptor() ([]byte, []int)deprecated
- func (x *AckMessageBody) GetAckOriginPeerId() []byte
- func (x *AckMessageBody) GetAckTimestamp() uint64
- func (x *AckMessageBody) GetPingOriginPeerId() []byte
- func (x *AckMessageBody) GetPingTimestamp() uint64
- func (*AckMessageBody) ProtoMessage()
- func (x *AckMessageBody) ProtoReflect() protoreflect.Message
- func (x *AckMessageBody) Reset()
- func (x *AckMessageBody) String() string
- type AdminServiceClient
- type AdminServiceServer
- type CastAddBody
- func (*CastAddBody) Descriptor() ([]byte, []int)deprecated
- func (x *CastAddBody) GetEmbeds() []*Embed
- func (x *CastAddBody) GetEmbedsDeprecated() []string
- func (x *CastAddBody) GetMentions() []uint64
- func (x *CastAddBody) GetMentionsPositions() []uint32
- func (m *CastAddBody) GetParent() isCastAddBody_Parent
- func (x *CastAddBody) GetParentCastId() *CastId
- func (x *CastAddBody) GetParentUrl() string
- func (x *CastAddBody) GetText() string
- func (x *CastAddBody) GetType() CastType
- func (*CastAddBody) ProtoMessage()
- func (x *CastAddBody) ProtoReflect() protoreflect.Message
- func (x *CastAddBody) Reset()
- func (x *CastAddBody) String() string
- type CastAddBody_ParentCastId
- type CastAddBody_ParentUrl
- type CastId
- type CastRemoveBody
- type CastType
- type CastsByParentRequest
- func (*CastsByParentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CastsByParentRequest) GetPageSize() uint32
- func (x *CastsByParentRequest) GetPageToken() []byte
- func (m *CastsByParentRequest) GetParent() isCastsByParentRequest_Parent
- func (x *CastsByParentRequest) GetParentCastId() *CastId
- func (x *CastsByParentRequest) GetParentUrl() string
- func (x *CastsByParentRequest) GetReverse() bool
- func (*CastsByParentRequest) ProtoMessage()
- func (x *CastsByParentRequest) ProtoReflect() protoreflect.Message
- func (x *CastsByParentRequest) Reset()
- func (x *CastsByParentRequest) String() string
- type CastsByParentRequest_ParentCastId
- type CastsByParentRequest_ParentUrl
- type ContactInfoContent
- func (*ContactInfoContent) Descriptor() ([]byte, []int)deprecated
- func (x *ContactInfoContent) GetAppVersion() string
- func (x *ContactInfoContent) GetBody() *ContactInfoContentBody
- func (x *ContactInfoContent) GetCount() uint32
- func (x *ContactInfoContent) GetDataBytes() []byte
- func (x *ContactInfoContent) GetExcludedHashes() []string
- func (x *ContactInfoContent) GetGossipAddress() *GossipAddressInfo
- func (x *ContactInfoContent) GetHubVersion() string
- func (x *ContactInfoContent) GetNetwork() FarcasterNetwork
- func (x *ContactInfoContent) GetRpcAddress() *GossipAddressInfo
- func (x *ContactInfoContent) GetSignature() []byte
- func (x *ContactInfoContent) GetSigner() []byte
- func (x *ContactInfoContent) GetTimestamp() uint64
- func (*ContactInfoContent) ProtoMessage()
- func (x *ContactInfoContent) ProtoReflect() protoreflect.Message
- func (x *ContactInfoContent) Reset()
- func (x *ContactInfoContent) String() string
- type ContactInfoContentBody
- func (*ContactInfoContentBody) Descriptor() ([]byte, []int)deprecated
- func (x *ContactInfoContentBody) GetAppVersion() string
- func (x *ContactInfoContentBody) GetCount() uint32
- func (x *ContactInfoContentBody) GetExcludedHashes() []string
- func (x *ContactInfoContentBody) GetGossipAddress() *GossipAddressInfo
- func (x *ContactInfoContentBody) GetHubVersion() string
- func (x *ContactInfoContentBody) GetNetwork() FarcasterNetwork
- func (x *ContactInfoContentBody) GetRpcAddress() *GossipAddressInfo
- func (x *ContactInfoContentBody) GetTimestamp() uint64
- func (*ContactInfoContentBody) ProtoMessage()
- func (x *ContactInfoContentBody) ProtoReflect() protoreflect.Message
- func (x *ContactInfoContentBody) Reset()
- func (x *ContactInfoContentBody) String() string
- type ContactInfoResponse
- func (*ContactInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContactInfoResponse) GetContacts() []*ContactInfoContentBody
- func (*ContactInfoResponse) ProtoMessage()
- func (x *ContactInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ContactInfoResponse) Reset()
- func (x *ContactInfoResponse) String() string
- type DbStats
- func (*DbStats) Descriptor() ([]byte, []int)deprecated
- func (x *DbStats) GetApproxSize() uint64
- func (x *DbStats) GetNumFidEvents() uint64
- func (x *DbStats) GetNumFnameEvents() uint64
- func (x *DbStats) GetNumMessages() uint64
- func (*DbStats) ProtoMessage()
- func (x *DbStats) ProtoReflect() protoreflect.Message
- func (x *DbStats) Reset()
- func (x *DbStats) String() string
- type DbTrieNode
- func (*DbTrieNode) Descriptor() ([]byte, []int)deprecated
- func (x *DbTrieNode) GetChildChars() []uint32
- func (x *DbTrieNode) GetHash() []byte
- func (x *DbTrieNode) GetItems() uint32
- func (x *DbTrieNode) GetKey() []byte
- func (*DbTrieNode) ProtoMessage()
- func (x *DbTrieNode) ProtoReflect() protoreflect.Message
- func (x *DbTrieNode) Reset()
- func (x *DbTrieNode) String() string
- type Embed
- type Embed_CastId
- type Embed_Url
- type Empty
- type EventRequest
- type FarcasterNetwork
- func (FarcasterNetwork) Descriptor() protoreflect.EnumDescriptor
- func (x FarcasterNetwork) Enum() *FarcasterNetwork
- func (FarcasterNetwork) EnumDescriptor() ([]byte, []int)deprecated
- func (x FarcasterNetwork) Number() protoreflect.EnumNumber
- func (x FarcasterNetwork) String() string
- func (FarcasterNetwork) Type() protoreflect.EnumType
- type FidRequest
- func (*FidRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FidRequest) GetFid() uint64
- func (x *FidRequest) GetPageSize() uint32
- func (x *FidRequest) GetPageToken() []byte
- func (x *FidRequest) GetReverse() bool
- func (*FidRequest) ProtoMessage()
- func (x *FidRequest) ProtoReflect() protoreflect.Message
- func (x *FidRequest) Reset()
- func (x *FidRequest) String() string
- type FidsRequest
- func (*FidsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FidsRequest) GetPageSize() uint32
- func (x *FidsRequest) GetPageToken() []byte
- func (x *FidsRequest) GetReverse() bool
- func (*FidsRequest) ProtoMessage()
- func (x *FidsRequest) ProtoReflect() protoreflect.Message
- func (x *FidsRequest) Reset()
- func (x *FidsRequest) String() string
- type FidsResponse
- func (*FidsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FidsResponse) GetFids() []uint64
- func (x *FidsResponse) GetNextPageToken() []byte
- func (*FidsResponse) ProtoMessage()
- func (x *FidsResponse) ProtoReflect() protoreflect.Message
- func (x *FidsResponse) Reset()
- func (x *FidsResponse) String() string
- type FrameActionBody
- func (*FrameActionBody) Descriptor() ([]byte, []int)deprecated
- func (x *FrameActionBody) GetAddress() []byte
- func (x *FrameActionBody) GetButtonIndex() uint32
- func (x *FrameActionBody) GetCastId() *CastId
- func (x *FrameActionBody) GetInputText() []byte
- func (x *FrameActionBody) GetState() []byte
- func (x *FrameActionBody) GetTransactionId() []byte
- func (x *FrameActionBody) GetUrl() []byte
- func (*FrameActionBody) ProtoMessage()
- func (x *FrameActionBody) ProtoReflect() protoreflect.Message
- func (x *FrameActionBody) Reset()
- func (x *FrameActionBody) String() string
- type GossipAddressInfo
- func (*GossipAddressInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GossipAddressInfo) GetAddress() string
- func (x *GossipAddressInfo) GetDnsName() string
- func (x *GossipAddressInfo) GetFamily() uint32
- func (x *GossipAddressInfo) GetPort() uint32
- func (*GossipAddressInfo) ProtoMessage()
- func (x *GossipAddressInfo) ProtoReflect() protoreflect.Message
- func (x *GossipAddressInfo) Reset()
- func (x *GossipAddressInfo) String() string
- type GossipMessage
- func (*GossipMessage) Descriptor() ([]byte, []int)deprecated
- func (x *GossipMessage) GetContactInfoContent() *ContactInfoContent
- func (m *GossipMessage) GetContent() isGossipMessage_Content
- func (x *GossipMessage) GetMessage() *Message
- func (x *GossipMessage) GetMessageBundle() *MessageBundle
- func (x *GossipMessage) GetNetworkLatencyMessage() *NetworkLatencyMessage
- func (x *GossipMessage) GetPeerId() []byte
- func (x *GossipMessage) GetTimestamp() uint32
- func (x *GossipMessage) GetTopics() []string
- func (x *GossipMessage) GetVersion() GossipVersion
- func (*GossipMessage) ProtoMessage()
- func (x *GossipMessage) ProtoReflect() protoreflect.Message
- func (x *GossipMessage) Reset()
- func (x *GossipMessage) String() string
- type GossipMessage_ContactInfoContent
- type GossipMessage_Message
- type GossipMessage_MessageBundle
- type GossipMessage_NetworkLatencyMessage
- type GossipVersion
- func (GossipVersion) Descriptor() protoreflect.EnumDescriptor
- func (x GossipVersion) Enum() *GossipVersion
- func (GossipVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x GossipVersion) Number() protoreflect.EnumNumber
- func (x GossipVersion) String() string
- func (GossipVersion) Type() protoreflect.EnumType
- type HashScheme
- type HubEvent
- func (*HubEvent) Descriptor() ([]byte, []int)deprecated
- func (m *HubEvent) GetBody() isHubEvent_Body
- func (x *HubEvent) GetId() uint64
- func (x *HubEvent) GetMergeMessageBody() *MergeMessageBody
- func (x *HubEvent) GetMergeOnChainEventBody() *MergeOnChainEventBody
- func (x *HubEvent) GetMergeUsernameProofBody() *MergeUserNameProofBody
- func (x *HubEvent) GetPruneMessageBody() *PruneMessageBody
- func (x *HubEvent) GetRevokeMessageBody() *RevokeMessageBody
- func (x *HubEvent) GetType() HubEventType
- func (*HubEvent) ProtoMessage()
- func (x *HubEvent) ProtoReflect() protoreflect.Message
- func (x *HubEvent) Reset()
- func (x *HubEvent) String() string
- type HubEventType
- func (HubEventType) Descriptor() protoreflect.EnumDescriptor
- func (x HubEventType) Enum() *HubEventType
- func (HubEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HubEventType) Number() protoreflect.EnumNumber
- func (x HubEventType) String() string
- func (HubEventType) Type() protoreflect.EnumType
- type HubEvent_MergeMessageBody
- type HubEvent_MergeOnChainEventBody
- type HubEvent_MergeUsernameProofBody
- type HubEvent_PruneMessageBody
- type HubEvent_RevokeMessageBody
- type HubInfoRequest
- type HubInfoResponse
- func (*HubInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HubInfoResponse) GetDbStats() *DbStats
- func (x *HubInfoResponse) GetHubOperatorFid() uint64
- func (x *HubInfoResponse) GetIsSyncing() bool
- func (x *HubInfoResponse) GetNickname() string
- func (x *HubInfoResponse) GetPeerId() string
- func (x *HubInfoResponse) GetRootHash() string
- func (x *HubInfoResponse) GetVersion() string
- func (*HubInfoResponse) ProtoMessage()
- func (x *HubInfoResponse) ProtoReflect() protoreflect.Message
- func (x *HubInfoResponse) Reset()
- func (x *HubInfoResponse) String() string
- type HubServiceClient
- type HubServiceServer
- type HubService_SubscribeClient
- type HubService_SubscribeServer
- type HubState
- func (*HubState) Descriptor() ([]byte, []int)deprecated
- func (x *HubState) GetLastFnameProof() uint64
- func (x *HubState) GetLastL2Block() uint64
- func (x *HubState) GetValidateOrRevokeState() *ValidateOrRevokeJobState
- func (*HubState) ProtoMessage()
- func (x *HubState) ProtoReflect() protoreflect.Message
- func (x *HubState) Reset()
- func (x *HubState) String() string
- type IdRegisterEventBody
- func (*IdRegisterEventBody) Descriptor() ([]byte, []int)deprecated
- func (x *IdRegisterEventBody) GetEventType() IdRegisterEventType
- func (x *IdRegisterEventBody) GetFrom() []byte
- func (x *IdRegisterEventBody) GetRecoveryAddress() []byte
- func (x *IdRegisterEventBody) GetTo() []byte
- func (*IdRegisterEventBody) ProtoMessage()
- func (x *IdRegisterEventBody) ProtoReflect() protoreflect.Message
- func (x *IdRegisterEventBody) Reset()
- func (x *IdRegisterEventBody) String() string
- type IdRegisterEventType
- func (IdRegisterEventType) Descriptor() protoreflect.EnumDescriptor
- func (x IdRegisterEventType) Enum() *IdRegisterEventType
- func (IdRegisterEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IdRegisterEventType) Number() protoreflect.EnumNumber
- func (x IdRegisterEventType) String() string
- func (IdRegisterEventType) Type() protoreflect.EnumType
- type IdRegistryEventByAddressRequest
- func (*IdRegistryEventByAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IdRegistryEventByAddressRequest) GetAddress() []byte
- func (*IdRegistryEventByAddressRequest) ProtoMessage()
- func (x *IdRegistryEventByAddressRequest) ProtoReflect() protoreflect.Message
- func (x *IdRegistryEventByAddressRequest) Reset()
- func (x *IdRegistryEventByAddressRequest) String() string
- type LinkBody
- func (*LinkBody) Descriptor() ([]byte, []int)deprecated
- func (x *LinkBody) GetDisplayTimestamp() uint32
- func (m *LinkBody) GetTarget() isLinkBody_Target
- func (x *LinkBody) GetTargetFid() uint64
- func (x *LinkBody) GetType() string
- func (*LinkBody) ProtoMessage()
- func (x *LinkBody) ProtoReflect() protoreflect.Message
- func (x *LinkBody) Reset()
- func (x *LinkBody) String() string
- type LinkBody_TargetFid
- type LinkCompactStateBody
- func (*LinkCompactStateBody) Descriptor() ([]byte, []int)deprecated
- func (x *LinkCompactStateBody) GetTargetFids() []uint64
- func (x *LinkCompactStateBody) GetType() string
- func (*LinkCompactStateBody) ProtoMessage()
- func (x *LinkCompactStateBody) ProtoReflect() protoreflect.Message
- func (x *LinkCompactStateBody) Reset()
- func (x *LinkCompactStateBody) String() string
- type LinkRequest
- func (*LinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkRequest) GetFid() uint64
- func (x *LinkRequest) GetLinkType() string
- func (m *LinkRequest) GetTarget() isLinkRequest_Target
- func (x *LinkRequest) GetTargetFid() uint64
- func (*LinkRequest) ProtoMessage()
- func (x *LinkRequest) ProtoReflect() protoreflect.Message
- func (x *LinkRequest) Reset()
- func (x *LinkRequest) String() string
- type LinkRequest_TargetFid
- type LinksByFidRequest
- func (*LinksByFidRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinksByFidRequest) GetFid() uint64
- func (x *LinksByFidRequest) GetLinkType() string
- func (x *LinksByFidRequest) GetPageSize() uint32
- func (x *LinksByFidRequest) GetPageToken() []byte
- func (x *LinksByFidRequest) GetReverse() bool
- func (*LinksByFidRequest) ProtoMessage()
- func (x *LinksByFidRequest) ProtoReflect() protoreflect.Message
- func (x *LinksByFidRequest) Reset()
- func (x *LinksByFidRequest) String() string
- type LinksByTargetRequest
- func (*LinksByTargetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinksByTargetRequest) GetLinkType() string
- func (x *LinksByTargetRequest) GetPageSize() uint32
- func (x *LinksByTargetRequest) GetPageToken() []byte
- func (x *LinksByTargetRequest) GetReverse() bool
- func (m *LinksByTargetRequest) GetTarget() isLinksByTargetRequest_Target
- func (x *LinksByTargetRequest) GetTargetFid() uint64
- func (*LinksByTargetRequest) ProtoMessage()
- func (x *LinksByTargetRequest) ProtoReflect() protoreflect.Message
- func (x *LinksByTargetRequest) Reset()
- func (x *LinksByTargetRequest) String() string
- type LinksByTargetRequest_TargetFid
- type MergeMessageBody
- func (*MergeMessageBody) Descriptor() ([]byte, []int)deprecated
- func (x *MergeMessageBody) GetDeletedMessages() []*Message
- func (x *MergeMessageBody) GetMessage() *Message
- func (*MergeMessageBody) ProtoMessage()
- func (x *MergeMessageBody) ProtoReflect() protoreflect.Message
- func (x *MergeMessageBody) Reset()
- func (x *MergeMessageBody) String() string
- type MergeOnChainEventBody
- func (*MergeOnChainEventBody) Descriptor() ([]byte, []int)deprecated
- func (x *MergeOnChainEventBody) GetOnChainEvent() *OnChainEvent
- func (*MergeOnChainEventBody) ProtoMessage()
- func (x *MergeOnChainEventBody) ProtoReflect() protoreflect.Message
- func (x *MergeOnChainEventBody) Reset()
- func (x *MergeOnChainEventBody) String() string
- type MergeUserNameProofBody
- func (*MergeUserNameProofBody) Descriptor() ([]byte, []int)deprecated
- func (x *MergeUserNameProofBody) GetDeletedUsernameProof() *UserNameProof
- func (x *MergeUserNameProofBody) GetDeletedUsernameProofMessage() *Message
- func (x *MergeUserNameProofBody) GetUsernameProof() *UserNameProof
- func (x *MergeUserNameProofBody) GetUsernameProofMessage() *Message
- func (*MergeUserNameProofBody) ProtoMessage()
- func (x *MergeUserNameProofBody) ProtoReflect() protoreflect.Message
- func (x *MergeUserNameProofBody) Reset()
- func (x *MergeUserNameProofBody) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetData() *MessageData
- func (x *Message) GetDataBytes() []byte
- func (x *Message) GetHash() []byte
- func (x *Message) GetHashScheme() HashScheme
- func (x *Message) GetSignature() []byte
- func (x *Message) GetSignatureScheme() SignatureScheme
- func (x *Message) GetSigner() []byte
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MessageBundle
- func (*MessageBundle) Descriptor() ([]byte, []int)deprecated
- func (x *MessageBundle) GetHash() []byte
- func (x *MessageBundle) GetMessages() []*Message
- func (*MessageBundle) ProtoMessage()
- func (x *MessageBundle) ProtoReflect() protoreflect.Message
- func (x *MessageBundle) Reset()
- func (x *MessageBundle) String() string
- type MessageData
- func (*MessageData) Descriptor() ([]byte, []int)deprecated
- func (m *MessageData) GetBody() isMessageData_Body
- func (x *MessageData) GetCastAddBody() *CastAddBody
- func (x *MessageData) GetCastRemoveBody() *CastRemoveBody
- func (x *MessageData) GetFid() uint64
- func (x *MessageData) GetFrameActionBody() *FrameActionBody
- func (x *MessageData) GetLinkBody() *LinkBody
- func (x *MessageData) GetLinkCompactStateBody() *LinkCompactStateBody
- func (x *MessageData) GetNetwork() FarcasterNetwork
- func (x *MessageData) GetReactionBody() *ReactionBody
- func (x *MessageData) GetTimestamp() uint32
- func (x *MessageData) GetType() MessageType
- func (x *MessageData) GetUserDataBody() *UserDataBody
- func (x *MessageData) GetUsernameProofBody() *UserNameProof
- func (x *MessageData) GetVerificationAddAddressBody() *VerificationAddAddressBody
- func (x *MessageData) GetVerificationRemoveBody() *VerificationRemoveBody
- func (*MessageData) ProtoMessage()
- func (x *MessageData) ProtoReflect() protoreflect.Message
- func (x *MessageData) Reset()
- func (x *MessageData) String() string
- type MessageData_CastAddBody
- type MessageData_CastRemoveBody
- type MessageData_FrameActionBody
- type MessageData_LinkBody
- type MessageData_LinkCompactStateBody
- type MessageData_ReactionBody
- type MessageData_UserDataBody
- type MessageData_UsernameProofBody
- type MessageData_VerificationAddAddressBody
- type MessageData_VerificationRemoveBody
- type MessageType
- func (MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x MessageType) Enum() *MessageType
- func (MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageType) Number() protoreflect.EnumNumber
- func (x MessageType) String() string
- func (MessageType) Type() protoreflect.EnumType
- type MessagesResponse
- func (*MessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessagesResponse) GetMessages() []*Message
- func (x *MessagesResponse) GetNextPageToken() []byte
- func (*MessagesResponse) ProtoMessage()
- func (x *MessagesResponse) ProtoReflect() protoreflect.Message
- func (x *MessagesResponse) Reset()
- func (x *MessagesResponse) String() string
- type NameRegistryEventRequest
- func (*NameRegistryEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NameRegistryEventRequest) GetName() []byte
- func (*NameRegistryEventRequest) ProtoMessage()
- func (x *NameRegistryEventRequest) ProtoReflect() protoreflect.Message
- func (x *NameRegistryEventRequest) Reset()
- func (x *NameRegistryEventRequest) String() string
- type NetworkLatencyMessage
- func (*NetworkLatencyMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkLatencyMessage) GetAckMessage() *AckMessageBody
- func (m *NetworkLatencyMessage) GetBody() isNetworkLatencyMessage_Body
- func (x *NetworkLatencyMessage) GetPingMessage() *PingMessageBody
- func (*NetworkLatencyMessage) ProtoMessage()
- func (x *NetworkLatencyMessage) ProtoReflect() protoreflect.Message
- func (x *NetworkLatencyMessage) Reset()
- func (x *NetworkLatencyMessage) String() string
- type NetworkLatencyMessage_AckMessage
- type NetworkLatencyMessage_PingMessage
- type OnChainEvent
- func (*OnChainEvent) Descriptor() ([]byte, []int)deprecated
- func (x *OnChainEvent) GetBlockHash() []byte
- func (x *OnChainEvent) GetBlockNumber() uint32
- func (x *OnChainEvent) GetBlockTimestamp() uint64
- func (m *OnChainEvent) GetBody() isOnChainEvent_Body
- func (x *OnChainEvent) GetChainId() uint32
- func (x *OnChainEvent) GetFid() uint64
- func (x *OnChainEvent) GetIdRegisterEventBody() *IdRegisterEventBody
- func (x *OnChainEvent) GetLogIndex() uint32
- func (x *OnChainEvent) GetSignerEventBody() *SignerEventBody
- func (x *OnChainEvent) GetSignerMigratedEventBody() *SignerMigratedEventBody
- func (x *OnChainEvent) GetStorageRentEventBody() *StorageRentEventBody
- func (x *OnChainEvent) GetTransactionHash() []byte
- func (x *OnChainEvent) GetTxIndex() uint32
- func (x *OnChainEvent) GetType() OnChainEventType
- func (x *OnChainEvent) GetVersion() uint32
- func (*OnChainEvent) ProtoMessage()
- func (x *OnChainEvent) ProtoReflect() protoreflect.Message
- func (x *OnChainEvent) Reset()
- func (x *OnChainEvent) String() string
- type OnChainEventRequest
- func (*OnChainEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OnChainEventRequest) GetEventType() OnChainEventType
- func (x *OnChainEventRequest) GetFid() uint64
- func (x *OnChainEventRequest) GetPageSize() uint32
- func (x *OnChainEventRequest) GetPageToken() []byte
- func (x *OnChainEventRequest) GetReverse() bool
- func (*OnChainEventRequest) ProtoMessage()
- func (x *OnChainEventRequest) ProtoReflect() protoreflect.Message
- func (x *OnChainEventRequest) Reset()
- func (x *OnChainEventRequest) String() string
- type OnChainEventResponse
- func (*OnChainEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OnChainEventResponse) GetEvents() []*OnChainEvent
- func (x *OnChainEventResponse) GetNextPageToken() []byte
- func (*OnChainEventResponse) ProtoMessage()
- func (x *OnChainEventResponse) ProtoReflect() protoreflect.Message
- func (x *OnChainEventResponse) Reset()
- func (x *OnChainEventResponse) String() string
- type OnChainEventType
- func (OnChainEventType) Descriptor() protoreflect.EnumDescriptor
- func (x OnChainEventType) Enum() *OnChainEventType
- func (OnChainEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OnChainEventType) Number() protoreflect.EnumNumber
- func (x OnChainEventType) String() string
- func (OnChainEventType) Type() protoreflect.EnumType
- type OnChainEvent_IdRegisterEventBody
- type OnChainEvent_SignerEventBody
- type OnChainEvent_SignerMigratedEventBody
- type OnChainEvent_StorageRentEventBody
- type PingMessageBody
- func (*PingMessageBody) Descriptor() ([]byte, []int)deprecated
- func (x *PingMessageBody) GetPingOriginPeerId() []byte
- func (x *PingMessageBody) GetPingTimestamp() uint64
- func (*PingMessageBody) ProtoMessage()
- func (x *PingMessageBody) ProtoReflect() protoreflect.Message
- func (x *PingMessageBody) Reset()
- func (x *PingMessageBody) String() string
- type Protocol
- type PruneMessageBody
- type ReactionBody
- func (*ReactionBody) Descriptor() ([]byte, []int)deprecated
- func (m *ReactionBody) GetTarget() isReactionBody_Target
- func (x *ReactionBody) GetTargetCastId() *CastId
- func (x *ReactionBody) GetTargetUrl() string
- func (x *ReactionBody) GetType() ReactionType
- func (*ReactionBody) ProtoMessage()
- func (x *ReactionBody) ProtoReflect() protoreflect.Message
- func (x *ReactionBody) Reset()
- func (x *ReactionBody) String() string
- type ReactionBody_TargetCastId
- type ReactionBody_TargetUrl
- type ReactionRequest
- func (*ReactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReactionRequest) GetFid() uint64
- func (x *ReactionRequest) GetReactionType() ReactionType
- func (m *ReactionRequest) GetTarget() isReactionRequest_Target
- func (x *ReactionRequest) GetTargetCastId() *CastId
- func (x *ReactionRequest) GetTargetUrl() string
- func (*ReactionRequest) ProtoMessage()
- func (x *ReactionRequest) ProtoReflect() protoreflect.Message
- func (x *ReactionRequest) Reset()
- func (x *ReactionRequest) String() string
- type ReactionRequest_TargetCastId
- type ReactionRequest_TargetUrl
- type ReactionType
- func (ReactionType) Descriptor() protoreflect.EnumDescriptor
- func (x ReactionType) Enum() *ReactionType
- func (ReactionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReactionType) Number() protoreflect.EnumNumber
- func (x ReactionType) String() string
- func (ReactionType) Type() protoreflect.EnumType
- type ReactionsByFidRequest
- func (*ReactionsByFidRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReactionsByFidRequest) GetFid() uint64
- func (x *ReactionsByFidRequest) GetPageSize() uint32
- func (x *ReactionsByFidRequest) GetPageToken() []byte
- func (x *ReactionsByFidRequest) GetReactionType() ReactionType
- func (x *ReactionsByFidRequest) GetReverse() bool
- func (*ReactionsByFidRequest) ProtoMessage()
- func (x *ReactionsByFidRequest) ProtoReflect() protoreflect.Message
- func (x *ReactionsByFidRequest) Reset()
- func (x *ReactionsByFidRequest) String() string
- type ReactionsByTargetRequest
- func (*ReactionsByTargetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReactionsByTargetRequest) GetPageSize() uint32
- func (x *ReactionsByTargetRequest) GetPageToken() []byte
- func (x *ReactionsByTargetRequest) GetReactionType() ReactionType
- func (x *ReactionsByTargetRequest) GetReverse() bool
- func (m *ReactionsByTargetRequest) GetTarget() isReactionsByTargetRequest_Target
- func (x *ReactionsByTargetRequest) GetTargetCastId() *CastId
- func (x *ReactionsByTargetRequest) GetTargetUrl() string
- func (*ReactionsByTargetRequest) ProtoMessage()
- func (x *ReactionsByTargetRequest) ProtoReflect() protoreflect.Message
- func (x *ReactionsByTargetRequest) Reset()
- func (x *ReactionsByTargetRequest) String() string
- type ReactionsByTargetRequest_TargetCastId
- type ReactionsByTargetRequest_TargetUrl
- type RentRegistryEventsRequest
- func (*RentRegistryEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RentRegistryEventsRequest) GetFid() uint64
- func (*RentRegistryEventsRequest) ProtoMessage()
- func (x *RentRegistryEventsRequest) ProtoReflect() protoreflect.Message
- func (x *RentRegistryEventsRequest) Reset()
- func (x *RentRegistryEventsRequest) String() string
- type RevokeMessageBody
- type RevokeMessagesBySignerJobPayload
- func (*RevokeMessagesBySignerJobPayload) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeMessagesBySignerJobPayload) GetFid() uint32
- func (x *RevokeMessagesBySignerJobPayload) GetSigner() []byte
- func (*RevokeMessagesBySignerJobPayload) ProtoMessage()
- func (x *RevokeMessagesBySignerJobPayload) ProtoReflect() protoreflect.Message
- func (x *RevokeMessagesBySignerJobPayload) Reset()
- func (x *RevokeMessagesBySignerJobPayload) String() string
- type SignatureScheme
- func (SignatureScheme) Descriptor() protoreflect.EnumDescriptor
- func (x SignatureScheme) Enum() *SignatureScheme
- func (SignatureScheme) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignatureScheme) Number() protoreflect.EnumNumber
- func (x SignatureScheme) String() string
- func (SignatureScheme) Type() protoreflect.EnumType
- type SignerEventBody
- func (*SignerEventBody) Descriptor() ([]byte, []int)deprecated
- func (x *SignerEventBody) GetEventType() SignerEventType
- func (x *SignerEventBody) GetKey() []byte
- func (x *SignerEventBody) GetKeyType() uint32
- func (x *SignerEventBody) GetMetadata() []byte
- func (x *SignerEventBody) GetMetadataType() uint32
- func (*SignerEventBody) ProtoMessage()
- func (x *SignerEventBody) ProtoReflect() protoreflect.Message
- func (x *SignerEventBody) Reset()
- func (x *SignerEventBody) String() string
- type SignerEventType
- func (SignerEventType) Descriptor() protoreflect.EnumDescriptor
- func (x SignerEventType) Enum() *SignerEventType
- func (SignerEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignerEventType) Number() protoreflect.EnumNumber
- func (x SignerEventType) String() string
- func (SignerEventType) Type() protoreflect.EnumType
- type SignerMigratedEventBody
- func (*SignerMigratedEventBody) Descriptor() ([]byte, []int)deprecated
- func (x *SignerMigratedEventBody) GetMigratedAt() uint32
- func (*SignerMigratedEventBody) ProtoMessage()
- func (x *SignerMigratedEventBody) ProtoReflect() protoreflect.Message
- func (x *SignerMigratedEventBody) Reset()
- func (x *SignerMigratedEventBody) String() string
- type SignerRequest
- func (*SignerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignerRequest) GetFid() uint64
- func (x *SignerRequest) GetSigner() []byte
- func (*SignerRequest) ProtoMessage()
- func (x *SignerRequest) ProtoReflect() protoreflect.Message
- func (x *SignerRequest) Reset()
- func (x *SignerRequest) String() string
- type StorageLimit
- func (*StorageLimit) Descriptor() ([]byte, []int)deprecated
- func (x *StorageLimit) GetEarliestHash() []byte
- func (x *StorageLimit) GetEarliestTimestamp() uint64
- func (x *StorageLimit) GetLimit() uint64
- func (x *StorageLimit) GetName() string
- func (x *StorageLimit) GetStoreType() StoreType
- func (x *StorageLimit) GetUsed() uint64
- func (*StorageLimit) ProtoMessage()
- func (x *StorageLimit) ProtoReflect() protoreflect.Message
- func (x *StorageLimit) Reset()
- func (x *StorageLimit) String() string
- type StorageLimitsResponse
- func (*StorageLimitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StorageLimitsResponse) GetLimits() []*StorageLimit
- func (x *StorageLimitsResponse) GetUnits() uint32
- func (*StorageLimitsResponse) ProtoMessage()
- func (x *StorageLimitsResponse) ProtoReflect() protoreflect.Message
- func (x *StorageLimitsResponse) Reset()
- func (x *StorageLimitsResponse) String() string
- type StorageRentEventBody
- func (*StorageRentEventBody) Descriptor() ([]byte, []int)deprecated
- func (x *StorageRentEventBody) GetExpiry() uint32
- func (x *StorageRentEventBody) GetPayer() []byte
- func (x *StorageRentEventBody) GetUnits() uint32
- func (*StorageRentEventBody) ProtoMessage()
- func (x *StorageRentEventBody) ProtoReflect() protoreflect.Message
- func (x *StorageRentEventBody) Reset()
- func (x *StorageRentEventBody) String() string
- type StoreType
- type SubscribeRequest
- func (*SubscribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeRequest) GetEventTypes() []HubEventType
- func (x *SubscribeRequest) GetFromId() uint64
- func (x *SubscribeRequest) GetShardIndex() uint64
- func (x *SubscribeRequest) GetTotalShards() uint64
- func (*SubscribeRequest) ProtoMessage()
- func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeRequest) Reset()
- func (x *SubscribeRequest) String() string
- type SyncIds
- type SyncStatus
- func (*SyncStatus) Descriptor() ([]byte, []int)deprecated
- func (x *SyncStatus) GetDivergencePrefix() string
- func (x *SyncStatus) GetDivergenceSecondsAgo() int32
- func (x *SyncStatus) GetInSync() string
- func (x *SyncStatus) GetLastBadSync() int64
- func (x *SyncStatus) GetOurMessages() uint64
- func (x *SyncStatus) GetPeerId() string
- func (x *SyncStatus) GetScore() int64
- func (x *SyncStatus) GetShouldSync() bool
- func (x *SyncStatus) GetTheirMessages() uint64
- func (*SyncStatus) ProtoMessage()
- func (x *SyncStatus) ProtoReflect() protoreflect.Message
- func (x *SyncStatus) Reset()
- func (x *SyncStatus) String() string
- type SyncStatusRequest
- type SyncStatusResponse
- func (*SyncStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SyncStatusResponse) GetEngineStarted() bool
- func (x *SyncStatusResponse) GetIsSyncing() bool
- func (x *SyncStatusResponse) GetSyncStatus() []*SyncStatus
- func (*SyncStatusResponse) ProtoMessage()
- func (x *SyncStatusResponse) ProtoReflect() protoreflect.Message
- func (x *SyncStatusResponse) Reset()
- func (x *SyncStatusResponse) String() string
- type TrieNodeMetadataResponse
- func (*TrieNodeMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TrieNodeMetadataResponse) GetChildren() []*TrieNodeMetadataResponse
- func (x *TrieNodeMetadataResponse) GetHash() string
- func (x *TrieNodeMetadataResponse) GetNumMessages() uint64
- func (x *TrieNodeMetadataResponse) GetPrefix() []byte
- func (*TrieNodeMetadataResponse) ProtoMessage()
- func (x *TrieNodeMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *TrieNodeMetadataResponse) Reset()
- func (x *TrieNodeMetadataResponse) String() string
- type TrieNodePrefix
- type TrieNodeSnapshotResponse
- func (*TrieNodeSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TrieNodeSnapshotResponse) GetExcludedHashes() []string
- func (x *TrieNodeSnapshotResponse) GetNumMessages() uint64
- func (x *TrieNodeSnapshotResponse) GetPrefix() []byte
- func (x *TrieNodeSnapshotResponse) GetRootHash() string
- func (*TrieNodeSnapshotResponse) ProtoMessage()
- func (x *TrieNodeSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *TrieNodeSnapshotResponse) Reset()
- func (x *TrieNodeSnapshotResponse) String() string
- type UnimplementedAdminServiceServer
- func (UnimplementedAdminServiceServer) DeleteAllMessagesFromDb(context.Context, *Empty) (*Empty, error)
- func (UnimplementedAdminServiceServer) RebuildSyncTrie(context.Context, *Empty) (*Empty, error)
- func (UnimplementedAdminServiceServer) SubmitOnChainEvent(context.Context, *OnChainEvent) (*OnChainEvent, error)
- type UnimplementedHubServiceServer
- func (UnimplementedHubServiceServer) ForceSync(context.Context, *SyncStatusRequest) (*SyncStatusResponse, error)
- func (UnimplementedHubServiceServer) GetAllCastMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetAllLinkMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetAllMessagesBySyncIds(context.Context, *SyncIds) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetAllReactionMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetAllSyncIdsByPrefix(context.Context, *TrieNodePrefix) (*SyncIds, error)
- func (UnimplementedHubServiceServer) GetAllUserDataMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetAllVerificationMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetCast(context.Context, *CastId) (*Message, error)
- func (UnimplementedHubServiceServer) GetCastsByFid(context.Context, *FidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetCastsByMention(context.Context, *FidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetCastsByParent(context.Context, *CastsByParentRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetCurrentPeers(context.Context, *Empty) (*ContactInfoResponse, error)
- func (UnimplementedHubServiceServer) GetCurrentStorageLimitsByFid(context.Context, *FidRequest) (*StorageLimitsResponse, error)
- func (UnimplementedHubServiceServer) GetEvent(context.Context, *EventRequest) (*HubEvent, error)
- func (UnimplementedHubServiceServer) GetFids(context.Context, *FidsRequest) (*FidsResponse, error)
- func (UnimplementedHubServiceServer) GetIdRegistryOnChainEvent(context.Context, *FidRequest) (*OnChainEvent, error)
- func (UnimplementedHubServiceServer) GetIdRegistryOnChainEventByAddress(context.Context, *IdRegistryEventByAddressRequest) (*OnChainEvent, error)
- func (UnimplementedHubServiceServer) GetInfo(context.Context, *HubInfoRequest) (*HubInfoResponse, error)
- func (UnimplementedHubServiceServer) GetLink(context.Context, *LinkRequest) (*Message, error)
- func (UnimplementedHubServiceServer) GetLinkCompactStateMessageByFid(context.Context, *FidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetLinksByFid(context.Context, *LinksByFidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetLinksByTarget(context.Context, *LinksByTargetRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetOnChainEvents(context.Context, *OnChainEventRequest) (*OnChainEventResponse, error)
- func (UnimplementedHubServiceServer) GetOnChainSigner(context.Context, *SignerRequest) (*OnChainEvent, error)
- func (UnimplementedHubServiceServer) GetOnChainSignersByFid(context.Context, *FidRequest) (*OnChainEventResponse, error)
- func (UnimplementedHubServiceServer) GetReaction(context.Context, *ReactionRequest) (*Message, error)
- func (UnimplementedHubServiceServer) GetReactionsByCast(context.Context, *ReactionsByTargetRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetReactionsByFid(context.Context, *ReactionsByFidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetReactionsByTarget(context.Context, *ReactionsByTargetRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetSyncMetadataByPrefix(context.Context, *TrieNodePrefix) (*TrieNodeMetadataResponse, error)
- func (UnimplementedHubServiceServer) GetSyncSnapshotByPrefix(context.Context, *TrieNodePrefix) (*TrieNodeSnapshotResponse, error)
- func (UnimplementedHubServiceServer) GetSyncStatus(context.Context, *SyncStatusRequest) (*SyncStatusResponse, error)
- func (UnimplementedHubServiceServer) GetUserData(context.Context, *UserDataRequest) (*Message, error)
- func (UnimplementedHubServiceServer) GetUserDataByFid(context.Context, *FidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) GetUserNameProofsByFid(context.Context, *FidRequest) (*UsernameProofsResponse, error)
- func (UnimplementedHubServiceServer) GetUsernameProof(context.Context, *UsernameProofRequest) (*UserNameProof, error)
- func (UnimplementedHubServiceServer) GetVerification(context.Context, *VerificationRequest) (*Message, error)
- func (UnimplementedHubServiceServer) GetVerificationsByFid(context.Context, *FidRequest) (*MessagesResponse, error)
- func (UnimplementedHubServiceServer) StopSync(context.Context, *Empty) (*SyncStatusResponse, error)
- func (UnimplementedHubServiceServer) SubmitMessage(context.Context, *Message) (*Message, error)
- func (UnimplementedHubServiceServer) Subscribe(*SubscribeRequest, grpc.ServerStreamingServer[HubEvent]) error
- func (UnimplementedHubServiceServer) ValidateMessage(context.Context, *Message) (*ValidationResponse, error)
- type UnsafeAdminServiceServer
- type UnsafeHubServiceServer
- type UpdateNameRegistryEventExpiryJobPayload
- func (*UpdateNameRegistryEventExpiryJobPayload) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNameRegistryEventExpiryJobPayload) GetFname() []byte
- func (*UpdateNameRegistryEventExpiryJobPayload) ProtoMessage()
- func (x *UpdateNameRegistryEventExpiryJobPayload) ProtoReflect() protoreflect.Message
- func (x *UpdateNameRegistryEventExpiryJobPayload) Reset()
- func (x *UpdateNameRegistryEventExpiryJobPayload) String() string
- type UserDataBody
- func (*UserDataBody) Descriptor() ([]byte, []int)deprecated
- func (x *UserDataBody) GetType() UserDataType
- func (x *UserDataBody) GetValue() string
- func (*UserDataBody) ProtoMessage()
- func (x *UserDataBody) ProtoReflect() protoreflect.Message
- func (x *UserDataBody) Reset()
- func (x *UserDataBody) String() string
- type UserDataRequest
- func (*UserDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserDataRequest) GetFid() uint64
- func (x *UserDataRequest) GetUserDataType() UserDataType
- func (*UserDataRequest) ProtoMessage()
- func (x *UserDataRequest) ProtoReflect() protoreflect.Message
- func (x *UserDataRequest) Reset()
- func (x *UserDataRequest) String() string
- type UserDataType
- func (UserDataType) Descriptor() protoreflect.EnumDescriptor
- func (x UserDataType) Enum() *UserDataType
- func (UserDataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserDataType) Number() protoreflect.EnumNumber
- func (x UserDataType) String() string
- func (UserDataType) Type() protoreflect.EnumType
- type UserNameProof
- func (*UserNameProof) Descriptor() ([]byte, []int)deprecated
- func (x *UserNameProof) GetFid() uint64
- func (x *UserNameProof) GetName() []byte
- func (x *UserNameProof) GetOwner() []byte
- func (x *UserNameProof) GetSignature() []byte
- func (x *UserNameProof) GetTimestamp() uint64
- func (x *UserNameProof) GetType() UserNameType
- func (*UserNameProof) ProtoMessage()
- func (x *UserNameProof) ProtoReflect() protoreflect.Message
- func (x *UserNameProof) Reset()
- func (x *UserNameProof) String() string
- type UserNameType
- func (UserNameType) Descriptor() protoreflect.EnumDescriptor
- func (x UserNameType) Enum() *UserNameType
- func (UserNameType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserNameType) Number() protoreflect.EnumNumber
- func (x UserNameType) String() string
- func (UserNameType) Type() protoreflect.EnumType
- type UsernameProofRequest
- func (*UsernameProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UsernameProofRequest) GetName() []byte
- func (*UsernameProofRequest) ProtoMessage()
- func (x *UsernameProofRequest) ProtoReflect() protoreflect.Message
- func (x *UsernameProofRequest) Reset()
- func (x *UsernameProofRequest) String() string
- type UsernameProofsResponse
- func (*UsernameProofsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UsernameProofsResponse) GetProofs() []*UserNameProof
- func (*UsernameProofsResponse) ProtoMessage()
- func (x *UsernameProofsResponse) ProtoReflect() protoreflect.Message
- func (x *UsernameProofsResponse) Reset()
- func (x *UsernameProofsResponse) String() string
- type ValidateOrRevokeJobState
- func (*ValidateOrRevokeJobState) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateOrRevokeJobState) GetLastFid() uint32
- func (x *ValidateOrRevokeJobState) GetLastJobTimestamp() uint32
- func (*ValidateOrRevokeJobState) ProtoMessage()
- func (x *ValidateOrRevokeJobState) ProtoReflect() protoreflect.Message
- func (x *ValidateOrRevokeJobState) Reset()
- func (x *ValidateOrRevokeJobState) String() string
- type ValidationResponse
- func (*ValidationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationResponse) GetMessage() *Message
- func (x *ValidationResponse) GetValid() bool
- func (*ValidationResponse) ProtoMessage()
- func (x *ValidationResponse) ProtoReflect() protoreflect.Message
- func (x *ValidationResponse) Reset()
- func (x *ValidationResponse) String() string
- type VerificationAddAddressBody
- func (*VerificationAddAddressBody) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationAddAddressBody) GetAddress() []byte
- func (x *VerificationAddAddressBody) GetBlockHash() []byte
- func (x *VerificationAddAddressBody) GetChainId() uint32
- func (x *VerificationAddAddressBody) GetClaimSignature() []byte
- func (x *VerificationAddAddressBody) GetProtocol() Protocol
- func (x *VerificationAddAddressBody) GetVerificationType() uint32
- func (*VerificationAddAddressBody) ProtoMessage()
- func (x *VerificationAddAddressBody) ProtoReflect() protoreflect.Message
- func (x *VerificationAddAddressBody) Reset()
- func (x *VerificationAddAddressBody) String() string
- type VerificationRemoveBody
- func (*VerificationRemoveBody) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationRemoveBody) GetAddress() []byte
- func (x *VerificationRemoveBody) GetProtocol() Protocol
- func (*VerificationRemoveBody) ProtoMessage()
- func (x *VerificationRemoveBody) ProtoReflect() protoreflect.Message
- func (x *VerificationRemoveBody) Reset()
- func (x *VerificationRemoveBody) String() string
- type VerificationRequest
- func (*VerificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationRequest) GetAddress() []byte
- func (x *VerificationRequest) GetFid() uint64
- func (*VerificationRequest) ProtoMessage()
- func (x *VerificationRequest) ProtoReflect() protoreflect.Message
- func (x *VerificationRequest) Reset()
- func (x *VerificationRequest) String() string
Constants ¶
const ( HubService_SubmitMessage_FullMethodName = "/HubService/SubmitMessage" HubService_ValidateMessage_FullMethodName = "/HubService/ValidateMessage" HubService_Subscribe_FullMethodName = "/HubService/Subscribe" HubService_GetEvent_FullMethodName = "/HubService/GetEvent" HubService_GetCast_FullMethodName = "/HubService/GetCast" HubService_GetCastsByFid_FullMethodName = "/HubService/GetCastsByFid" HubService_GetCastsByParent_FullMethodName = "/HubService/GetCastsByParent" HubService_GetCastsByMention_FullMethodName = "/HubService/GetCastsByMention" HubService_GetReaction_FullMethodName = "/HubService/GetReaction" HubService_GetReactionsByFid_FullMethodName = "/HubService/GetReactionsByFid" HubService_GetReactionsByCast_FullMethodName = "/HubService/GetReactionsByCast" HubService_GetReactionsByTarget_FullMethodName = "/HubService/GetReactionsByTarget" HubService_GetUserData_FullMethodName = "/HubService/GetUserData" HubService_GetUserDataByFid_FullMethodName = "/HubService/GetUserDataByFid" HubService_GetUsernameProof_FullMethodName = "/HubService/GetUsernameProof" HubService_GetUserNameProofsByFid_FullMethodName = "/HubService/GetUserNameProofsByFid" HubService_GetVerification_FullMethodName = "/HubService/GetVerification" HubService_GetVerificationsByFid_FullMethodName = "/HubService/GetVerificationsByFid" HubService_GetOnChainSigner_FullMethodName = "/HubService/GetOnChainSigner" HubService_GetOnChainSignersByFid_FullMethodName = "/HubService/GetOnChainSignersByFid" HubService_GetOnChainEvents_FullMethodName = "/HubService/GetOnChainEvents" HubService_GetIdRegistryOnChainEvent_FullMethodName = "/HubService/GetIdRegistryOnChainEvent" HubService_GetIdRegistryOnChainEventByAddress_FullMethodName = "/HubService/GetIdRegistryOnChainEventByAddress" HubService_GetCurrentStorageLimitsByFid_FullMethodName = "/HubService/GetCurrentStorageLimitsByFid" HubService_GetFids_FullMethodName = "/HubService/GetFids" HubService_GetLink_FullMethodName = "/HubService/GetLink" HubService_GetLinksByFid_FullMethodName = "/HubService/GetLinksByFid" HubService_GetLinksByTarget_FullMethodName = "/HubService/GetLinksByTarget" HubService_GetAllCastMessagesByFid_FullMethodName = "/HubService/GetAllCastMessagesByFid" HubService_GetAllReactionMessagesByFid_FullMethodName = "/HubService/GetAllReactionMessagesByFid" HubService_GetAllVerificationMessagesByFid_FullMethodName = "/HubService/GetAllVerificationMessagesByFid" HubService_GetAllUserDataMessagesByFid_FullMethodName = "/HubService/GetAllUserDataMessagesByFid" HubService_GetAllLinkMessagesByFid_FullMethodName = "/HubService/GetAllLinkMessagesByFid" HubService_GetLinkCompactStateMessageByFid_FullMethodName = "/HubService/GetLinkCompactStateMessageByFid" HubService_GetInfo_FullMethodName = "/HubService/GetInfo" HubService_GetCurrentPeers_FullMethodName = "/HubService/GetCurrentPeers" HubService_StopSync_FullMethodName = "/HubService/StopSync" HubService_ForceSync_FullMethodName = "/HubService/ForceSync" HubService_GetSyncStatus_FullMethodName = "/HubService/GetSyncStatus" HubService_GetAllSyncIdsByPrefix_FullMethodName = "/HubService/GetAllSyncIdsByPrefix" HubService_GetAllMessagesBySyncIds_FullMethodName = "/HubService/GetAllMessagesBySyncIds" HubService_GetSyncMetadataByPrefix_FullMethodName = "/HubService/GetSyncMetadataByPrefix" HubService_GetSyncSnapshotByPrefix_FullMethodName = "/HubService/GetSyncSnapshotByPrefix" )
const ( AdminService_RebuildSyncTrie_FullMethodName = "/AdminService/RebuildSyncTrie" AdminService_DeleteAllMessagesFromDb_FullMethodName = "/AdminService/DeleteAllMessagesFromDb" AdminService_SubmitOnChainEvent_FullMethodName = "/AdminService/SubmitOnChainEvent" )
Variables ¶
var ( GossipVersion_name = map[int32]string{ 0: "GOSSIP_VERSION_V1", 1: "GOSSIP_VERSION_V1_1", } GossipVersion_value = map[string]int32{ "GOSSIP_VERSION_V1": 0, "GOSSIP_VERSION_V1_1": 1, } )
Enum value maps for GossipVersion.
var ( HubEventType_name = map[int32]string{ 0: "HUB_EVENT_TYPE_NONE", 1: "HUB_EVENT_TYPE_MERGE_MESSAGE", 2: "HUB_EVENT_TYPE_PRUNE_MESSAGE", 3: "HUB_EVENT_TYPE_REVOKE_MESSAGE", 6: "HUB_EVENT_TYPE_MERGE_USERNAME_PROOF", 9: "HUB_EVENT_TYPE_MERGE_ON_CHAIN_EVENT", } HubEventType_value = map[string]int32{ "HUB_EVENT_TYPE_NONE": 0, "HUB_EVENT_TYPE_MERGE_MESSAGE": 1, "HUB_EVENT_TYPE_PRUNE_MESSAGE": 2, "HUB_EVENT_TYPE_REVOKE_MESSAGE": 3, "HUB_EVENT_TYPE_MERGE_USERNAME_PROOF": 6, "HUB_EVENT_TYPE_MERGE_ON_CHAIN_EVENT": 9, } )
Enum value maps for HubEventType.
var ( HashScheme_name = map[int32]string{ 0: "HASH_SCHEME_NONE", 1: "HASH_SCHEME_BLAKE3", } HashScheme_value = map[string]int32{ "HASH_SCHEME_NONE": 0, "HASH_SCHEME_BLAKE3": 1, } )
Enum value maps for HashScheme.
var ( SignatureScheme_name = map[int32]string{ 0: "SIGNATURE_SCHEME_NONE", 1: "SIGNATURE_SCHEME_ED25519", 2: "SIGNATURE_SCHEME_EIP712", } SignatureScheme_value = map[string]int32{ "SIGNATURE_SCHEME_NONE": 0, "SIGNATURE_SCHEME_ED25519": 1, "SIGNATURE_SCHEME_EIP712": 2, } )
Enum value maps for SignatureScheme.
var ( MessageType_name = map[int32]string{ 0: "MESSAGE_TYPE_NONE", 1: "MESSAGE_TYPE_CAST_ADD", 2: "MESSAGE_TYPE_CAST_REMOVE", 3: "MESSAGE_TYPE_REACTION_ADD", 4: "MESSAGE_TYPE_REACTION_REMOVE", 5: "MESSAGE_TYPE_LINK_ADD", 6: "MESSAGE_TYPE_LINK_REMOVE", 7: "MESSAGE_TYPE_VERIFICATION_ADD_ETH_ADDRESS", 8: "MESSAGE_TYPE_VERIFICATION_REMOVE", 11: "MESSAGE_TYPE_USER_DATA_ADD", 12: "MESSAGE_TYPE_USERNAME_PROOF", 13: "MESSAGE_TYPE_FRAME_ACTION", 14: "MESSAGE_TYPE_LINK_COMPACT_STATE", } MessageType_value = map[string]int32{ "MESSAGE_TYPE_NONE": 0, "MESSAGE_TYPE_CAST_ADD": 1, "MESSAGE_TYPE_CAST_REMOVE": 2, "MESSAGE_TYPE_REACTION_ADD": 3, "MESSAGE_TYPE_REACTION_REMOVE": 4, "MESSAGE_TYPE_LINK_ADD": 5, "MESSAGE_TYPE_LINK_REMOVE": 6, "MESSAGE_TYPE_VERIFICATION_ADD_ETH_ADDRESS": 7, "MESSAGE_TYPE_VERIFICATION_REMOVE": 8, "MESSAGE_TYPE_USER_DATA_ADD": 11, "MESSAGE_TYPE_USERNAME_PROOF": 12, "MESSAGE_TYPE_FRAME_ACTION": 13, "MESSAGE_TYPE_LINK_COMPACT_STATE": 14, } )
Enum value maps for MessageType.
var ( FarcasterNetwork_name = map[int32]string{ 0: "FARCASTER_NETWORK_NONE", 1: "FARCASTER_NETWORK_MAINNET", 2: "FARCASTER_NETWORK_TESTNET", 3: "FARCASTER_NETWORK_DEVNET", } FarcasterNetwork_value = map[string]int32{ "FARCASTER_NETWORK_NONE": 0, "FARCASTER_NETWORK_MAINNET": 1, "FARCASTER_NETWORK_TESTNET": 2, "FARCASTER_NETWORK_DEVNET": 3, } )
Enum value maps for FarcasterNetwork.
var ( UserDataType_name = map[int32]string{ 0: "USER_DATA_TYPE_NONE", 1: "USER_DATA_TYPE_PFP", 2: "USER_DATA_TYPE_DISPLAY", 3: "USER_DATA_TYPE_BIO", 5: "USER_DATA_TYPE_URL", 6: "USER_DATA_TYPE_USERNAME", } UserDataType_value = map[string]int32{ "USER_DATA_TYPE_NONE": 0, "USER_DATA_TYPE_PFP": 1, "USER_DATA_TYPE_DISPLAY": 2, "USER_DATA_TYPE_BIO": 3, "USER_DATA_TYPE_URL": 5, "USER_DATA_TYPE_USERNAME": 6, } )
Enum value maps for UserDataType.
var ( CastType_name = map[int32]string{ 0: "CAST", 1: "LONG_CAST", } CastType_value = map[string]int32{ "CAST": 0, "LONG_CAST": 1, } )
Enum value maps for CastType.
var ( ReactionType_name = map[int32]string{ 0: "REACTION_TYPE_NONE", 1: "REACTION_TYPE_LIKE", 2: "REACTION_TYPE_RECAST", } ReactionType_value = map[string]int32{ "REACTION_TYPE_NONE": 0, "REACTION_TYPE_LIKE": 1, "REACTION_TYPE_RECAST": 2, } )
Enum value maps for ReactionType.
var ( Protocol_name = map[int32]string{ 0: "PROTOCOL_ETHEREUM", 1: "PROTOCOL_SOLANA", } Protocol_value = map[string]int32{ "PROTOCOL_ETHEREUM": 0, "PROTOCOL_SOLANA": 1, } )
Enum value maps for Protocol.
var ( OnChainEventType_name = map[int32]string{ 0: "EVENT_TYPE_NONE", 1: "EVENT_TYPE_SIGNER", 2: "EVENT_TYPE_SIGNER_MIGRATED", 3: "EVENT_TYPE_ID_REGISTER", 4: "EVENT_TYPE_STORAGE_RENT", } OnChainEventType_value = map[string]int32{ "EVENT_TYPE_NONE": 0, "EVENT_TYPE_SIGNER": 1, "EVENT_TYPE_SIGNER_MIGRATED": 2, "EVENT_TYPE_ID_REGISTER": 3, "EVENT_TYPE_STORAGE_RENT": 4, } )
Enum value maps for OnChainEventType.
var ( SignerEventType_name = map[int32]string{ 0: "SIGNER_EVENT_TYPE_NONE", 1: "SIGNER_EVENT_TYPE_ADD", 2: "SIGNER_EVENT_TYPE_REMOVE", 3: "SIGNER_EVENT_TYPE_ADMIN_RESET", } SignerEventType_value = map[string]int32{ "SIGNER_EVENT_TYPE_NONE": 0, "SIGNER_EVENT_TYPE_ADD": 1, "SIGNER_EVENT_TYPE_REMOVE": 2, "SIGNER_EVENT_TYPE_ADMIN_RESET": 3, } )
Enum value maps for SignerEventType.
var ( IdRegisterEventType_name = map[int32]string{ 0: "ID_REGISTER_EVENT_TYPE_NONE", 1: "ID_REGISTER_EVENT_TYPE_REGISTER", 2: "ID_REGISTER_EVENT_TYPE_TRANSFER", 3: "ID_REGISTER_EVENT_TYPE_CHANGE_RECOVERY", } IdRegisterEventType_value = map[string]int32{ "ID_REGISTER_EVENT_TYPE_NONE": 0, "ID_REGISTER_EVENT_TYPE_REGISTER": 1, "ID_REGISTER_EVENT_TYPE_TRANSFER": 2, "ID_REGISTER_EVENT_TYPE_CHANGE_RECOVERY": 3, } )
Enum value maps for IdRegisterEventType.
var ( StoreType_name = map[int32]string{ 0: "STORE_TYPE_NONE", 1: "STORE_TYPE_CASTS", 2: "STORE_TYPE_LINKS", 3: "STORE_TYPE_REACTIONS", 4: "STORE_TYPE_USER_DATA", 5: "STORE_TYPE_VERIFICATIONS", 6: "STORE_TYPE_USERNAME_PROOFS", } StoreType_value = map[string]int32{ "STORE_TYPE_NONE": 0, "STORE_TYPE_CASTS": 1, "STORE_TYPE_LINKS": 2, "STORE_TYPE_REACTIONS": 3, "STORE_TYPE_USER_DATA": 4, "STORE_TYPE_VERIFICATIONS": 5, "STORE_TYPE_USERNAME_PROOFS": 6, } )
Enum value maps for StoreType.
var ( UserNameType_name = map[int32]string{ 0: "USERNAME_TYPE_NONE", 1: "USERNAME_TYPE_FNAME", 2: "USERNAME_TYPE_ENS_L1", } UserNameType_value = map[string]int32{ "USERNAME_TYPE_NONE": 0, "USERNAME_TYPE_FNAME": 1, "USERNAME_TYPE_ENS_L1": 2, } )
Enum value maps for UserNameType.
var AdminService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "AdminService", HandlerType: (*AdminServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RebuildSyncTrie", Handler: _AdminService_RebuildSyncTrie_Handler, }, { MethodName: "DeleteAllMessagesFromDb", Handler: _AdminService_DeleteAllMessagesFromDb_Handler, }, { MethodName: "SubmitOnChainEvent", Handler: _AdminService_SubmitOnChainEvent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rpc.proto", }
AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_gossip_proto protoreflect.FileDescriptor
var File_hub_event_proto protoreflect.FileDescriptor
var File_hub_state_proto protoreflect.FileDescriptor
var File_job_proto protoreflect.FileDescriptor
var File_message_proto protoreflect.FileDescriptor
var File_onchain_event_proto protoreflect.FileDescriptor
var File_request_response_proto protoreflect.FileDescriptor
var File_rpc_proto protoreflect.FileDescriptor
var File_sync_trie_proto protoreflect.FileDescriptor
var File_username_proof_proto protoreflect.FileDescriptor
var HubService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "HubService", HandlerType: (*HubServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SubmitMessage", Handler: _HubService_SubmitMessage_Handler, }, { MethodName: "ValidateMessage", Handler: _HubService_ValidateMessage_Handler, }, { MethodName: "GetEvent", Handler: _HubService_GetEvent_Handler, }, { MethodName: "GetCast", Handler: _HubService_GetCast_Handler, }, { MethodName: "GetCastsByFid", Handler: _HubService_GetCastsByFid_Handler, }, { MethodName: "GetCastsByParent", Handler: _HubService_GetCastsByParent_Handler, }, { MethodName: "GetCastsByMention", Handler: _HubService_GetCastsByMention_Handler, }, { MethodName: "GetReaction", Handler: _HubService_GetReaction_Handler, }, { MethodName: "GetReactionsByFid", Handler: _HubService_GetReactionsByFid_Handler, }, { MethodName: "GetReactionsByCast", Handler: _HubService_GetReactionsByCast_Handler, }, { MethodName: "GetReactionsByTarget", Handler: _HubService_GetReactionsByTarget_Handler, }, { MethodName: "GetUserData", Handler: _HubService_GetUserData_Handler, }, { MethodName: "GetUserDataByFid", Handler: _HubService_GetUserDataByFid_Handler, }, { MethodName: "GetUsernameProof", Handler: _HubService_GetUsernameProof_Handler, }, { MethodName: "GetUserNameProofsByFid", Handler: _HubService_GetUserNameProofsByFid_Handler, }, { MethodName: "GetVerification", Handler: _HubService_GetVerification_Handler, }, { MethodName: "GetVerificationsByFid", Handler: _HubService_GetVerificationsByFid_Handler, }, { MethodName: "GetOnChainSigner", Handler: _HubService_GetOnChainSigner_Handler, }, { MethodName: "GetOnChainSignersByFid", Handler: _HubService_GetOnChainSignersByFid_Handler, }, { MethodName: "GetOnChainEvents", Handler: _HubService_GetOnChainEvents_Handler, }, { MethodName: "GetIdRegistryOnChainEvent", Handler: _HubService_GetIdRegistryOnChainEvent_Handler, }, { MethodName: "GetIdRegistryOnChainEventByAddress", Handler: _HubService_GetIdRegistryOnChainEventByAddress_Handler, }, { MethodName: "GetCurrentStorageLimitsByFid", Handler: _HubService_GetCurrentStorageLimitsByFid_Handler, }, { MethodName: "GetFids", Handler: _HubService_GetFids_Handler, }, { MethodName: "GetLink", Handler: _HubService_GetLink_Handler, }, { MethodName: "GetLinksByFid", Handler: _HubService_GetLinksByFid_Handler, }, { MethodName: "GetLinksByTarget", Handler: _HubService_GetLinksByTarget_Handler, }, { MethodName: "GetAllCastMessagesByFid", Handler: _HubService_GetAllCastMessagesByFid_Handler, }, { MethodName: "GetAllReactionMessagesByFid", Handler: _HubService_GetAllReactionMessagesByFid_Handler, }, { MethodName: "GetAllVerificationMessagesByFid", Handler: _HubService_GetAllVerificationMessagesByFid_Handler, }, { MethodName: "GetAllUserDataMessagesByFid", Handler: _HubService_GetAllUserDataMessagesByFid_Handler, }, { MethodName: "GetAllLinkMessagesByFid", Handler: _HubService_GetAllLinkMessagesByFid_Handler, }, { MethodName: "GetLinkCompactStateMessageByFid", Handler: _HubService_GetLinkCompactStateMessageByFid_Handler, }, { MethodName: "GetInfo", Handler: _HubService_GetInfo_Handler, }, { MethodName: "GetCurrentPeers", Handler: _HubService_GetCurrentPeers_Handler, }, { MethodName: "StopSync", Handler: _HubService_StopSync_Handler, }, { MethodName: "ForceSync", Handler: _HubService_ForceSync_Handler, }, { MethodName: "GetSyncStatus", Handler: _HubService_GetSyncStatus_Handler, }, { MethodName: "GetAllSyncIdsByPrefix", Handler: _HubService_GetAllSyncIdsByPrefix_Handler, }, { MethodName: "GetAllMessagesBySyncIds", Handler: _HubService_GetAllMessagesBySyncIds_Handler, }, { MethodName: "GetSyncMetadataByPrefix", Handler: _HubService_GetSyncMetadataByPrefix_Handler, }, { MethodName: "GetSyncSnapshotByPrefix", Handler: _HubService_GetSyncSnapshotByPrefix_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Subscribe", Handler: _HubService_Subscribe_Handler, ServerStreams: true, }, }, Metadata: "rpc.proto", }
HubService_ServiceDesc is the grpc.ServiceDesc for HubService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAdminServiceServer ¶
func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
func RegisterHubServiceServer ¶
func RegisterHubServiceServer(s grpc.ServiceRegistrar, srv HubServiceServer)
Types ¶
type AckMessageBody ¶
type AckMessageBody struct { PingOriginPeerId []byte `protobuf:"bytes,1,opt,name=ping_origin_peer_id,json=pingOriginPeerId,proto3" json:"ping_origin_peer_id,omitempty"` AckOriginPeerId []byte `protobuf:"bytes,2,opt,name=ack_origin_peer_id,json=ackOriginPeerId,proto3" json:"ack_origin_peer_id,omitempty"` PingTimestamp uint64 `protobuf:"varint,3,opt,name=ping_timestamp,json=pingTimestamp,proto3" json:"ping_timestamp,omitempty"` AckTimestamp uint64 `protobuf:"varint,4,opt,name=ack_timestamp,json=ackTimestamp,proto3" json:"ack_timestamp,omitempty"` // contains filtered or unexported fields }
func (*AckMessageBody) Descriptor
deprecated
func (*AckMessageBody) Descriptor() ([]byte, []int)
Deprecated: Use AckMessageBody.ProtoReflect.Descriptor instead.
func (*AckMessageBody) GetAckOriginPeerId ¶
func (x *AckMessageBody) GetAckOriginPeerId() []byte
func (*AckMessageBody) GetAckTimestamp ¶
func (x *AckMessageBody) GetAckTimestamp() uint64
func (*AckMessageBody) GetPingOriginPeerId ¶
func (x *AckMessageBody) GetPingOriginPeerId() []byte
func (*AckMessageBody) GetPingTimestamp ¶
func (x *AckMessageBody) GetPingTimestamp() uint64
func (*AckMessageBody) ProtoMessage ¶
func (*AckMessageBody) ProtoMessage()
func (*AckMessageBody) ProtoReflect ¶
func (x *AckMessageBody) ProtoReflect() protoreflect.Message
func (*AckMessageBody) Reset ¶
func (x *AckMessageBody) Reset()
func (*AckMessageBody) String ¶
func (x *AckMessageBody) String() string
type AdminServiceClient ¶
type AdminServiceClient interface { RebuildSyncTrie(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) DeleteAllMessagesFromDb(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) SubmitOnChainEvent(ctx context.Context, in *OnChainEvent, opts ...grpc.CallOption) (*OnChainEvent, error) }
AdminServiceClient is the client API for AdminService 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 NewAdminServiceClient ¶
func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient
type AdminServiceServer ¶
type AdminServiceServer interface { RebuildSyncTrie(context.Context, *Empty) (*Empty, error) DeleteAllMessagesFromDb(context.Context, *Empty) (*Empty, error) SubmitOnChainEvent(context.Context, *OnChainEvent) (*OnChainEvent, error) // contains filtered or unexported methods }
AdminServiceServer is the server API for AdminService service. All implementations must embed UnimplementedAdminServiceServer for forward compatibility.
type CastAddBody ¶
type CastAddBody struct { EmbedsDeprecated []string `protobuf:"bytes,1,rep,name=embeds_deprecated,json=embedsDeprecated,proto3" json:"embeds_deprecated,omitempty"` // URLs to be embedded in the cast Mentions []uint64 `protobuf:"varint,2,rep,packed,name=mentions,proto3" json:"mentions,omitempty"` // Fids mentioned in the cast // Types that are assignable to Parent: // // *CastAddBody_ParentCastId // *CastAddBody_ParentUrl Parent isCastAddBody_Parent `protobuf_oneof:"parent"` Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` // Text of the cast MentionsPositions []uint32 `protobuf:"varint,5,rep,packed,name=mentions_positions,json=mentionsPositions,proto3" json:"mentions_positions,omitempty"` // Positions of the mentions in the text Embeds []*Embed `protobuf:"bytes,6,rep,name=embeds,proto3" json:"embeds,omitempty"` // URLs or cast ids to be embedded in the cast Type CastType `protobuf:"varint,8,opt,name=type,proto3,enum=CastType" json:"type,omitempty"` // Type of cast // contains filtered or unexported fields }
* Adds a new Cast
func (*CastAddBody) Descriptor
deprecated
func (*CastAddBody) Descriptor() ([]byte, []int)
Deprecated: Use CastAddBody.ProtoReflect.Descriptor instead.
func (*CastAddBody) GetEmbeds ¶
func (x *CastAddBody) GetEmbeds() []*Embed
func (*CastAddBody) GetEmbedsDeprecated ¶
func (x *CastAddBody) GetEmbedsDeprecated() []string
func (*CastAddBody) GetMentions ¶
func (x *CastAddBody) GetMentions() []uint64
func (*CastAddBody) GetMentionsPositions ¶
func (x *CastAddBody) GetMentionsPositions() []uint32
func (*CastAddBody) GetParent ¶
func (m *CastAddBody) GetParent() isCastAddBody_Parent
func (*CastAddBody) GetParentCastId ¶
func (x *CastAddBody) GetParentCastId() *CastId
func (*CastAddBody) GetParentUrl ¶
func (x *CastAddBody) GetParentUrl() string
func (*CastAddBody) GetText ¶
func (x *CastAddBody) GetText() string
func (*CastAddBody) GetType ¶
func (x *CastAddBody) GetType() CastType
func (*CastAddBody) ProtoMessage ¶
func (*CastAddBody) ProtoMessage()
func (*CastAddBody) ProtoReflect ¶
func (x *CastAddBody) ProtoReflect() protoreflect.Message
func (*CastAddBody) Reset ¶
func (x *CastAddBody) Reset()
func (*CastAddBody) String ¶
func (x *CastAddBody) String() string
type CastAddBody_ParentCastId ¶
type CastAddBody_ParentCastId struct {
ParentCastId *CastId `protobuf:"bytes,3,opt,name=parent_cast_id,json=parentCastId,proto3,oneof"` // Parent cast of the cast
}
type CastAddBody_ParentUrl ¶
type CastAddBody_ParentUrl struct {
ParentUrl string `protobuf:"bytes,7,opt,name=parent_url,json=parentUrl,proto3,oneof"` // Parent URL
}
type CastId ¶
type CastId struct { Fid uint64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` // Fid of the user who created the cast Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // Hash of the cast // contains filtered or unexported fields }
* Identifier used to look up a Cast
func (*CastId) Descriptor
deprecated
func (*CastId) ProtoMessage ¶
func (*CastId) ProtoMessage()
func (*CastId) ProtoReflect ¶
func (x *CastId) ProtoReflect() protoreflect.Message
type CastRemoveBody ¶
type CastRemoveBody struct { TargetHash []byte `protobuf:"bytes,1,opt,name=target_hash,json=targetHash,proto3" json:"target_hash,omitempty"` // Hash of the cast to remove // contains filtered or unexported fields }
* Removes an existing Cast
func (*CastRemoveBody) Descriptor
deprecated
func (*CastRemoveBody) Descriptor() ([]byte, []int)
Deprecated: Use CastRemoveBody.ProtoReflect.Descriptor instead.
func (*CastRemoveBody) GetTargetHash ¶
func (x *CastRemoveBody) GetTargetHash() []byte
func (*CastRemoveBody) ProtoMessage ¶
func (*CastRemoveBody) ProtoMessage()
func (*CastRemoveBody) ProtoReflect ¶
func (x *CastRemoveBody) ProtoReflect() protoreflect.Message
func (*CastRemoveBody) Reset ¶
func (x *CastRemoveBody) Reset()
func (*CastRemoveBody) String ¶
func (x *CastRemoveBody) String() string
type CastType ¶
type CastType int32
* Type of cast
func (CastType) Descriptor ¶
func (CastType) Descriptor() protoreflect.EnumDescriptor
func (CastType) EnumDescriptor
deprecated
func (CastType) Number ¶
func (x CastType) Number() protoreflect.EnumNumber
func (CastType) Type ¶
func (CastType) Type() protoreflect.EnumType
type CastsByParentRequest ¶
type CastsByParentRequest struct { // Types that are assignable to Parent: // // *CastsByParentRequest_ParentCastId // *CastsByParentRequest_ParentUrl Parent isCastsByParentRequest_Parent `protobuf_oneof:"parent"` PageSize *uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` PageToken []byte `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` Reverse *bool `protobuf:"varint,4,opt,name=reverse,proto3,oneof" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*CastsByParentRequest) Descriptor
deprecated
func (*CastsByParentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CastsByParentRequest.ProtoReflect.Descriptor instead.
func (*CastsByParentRequest) GetPageSize ¶
func (x *CastsByParentRequest) GetPageSize() uint32
func (*CastsByParentRequest) GetPageToken ¶
func (x *CastsByParentRequest) GetPageToken() []byte
func (*CastsByParentRequest) GetParent ¶
func (m *CastsByParentRequest) GetParent() isCastsByParentRequest_Parent
func (*CastsByParentRequest) GetParentCastId ¶
func (x *CastsByParentRequest) GetParentCastId() *CastId
func (*CastsByParentRequest) GetParentUrl ¶
func (x *CastsByParentRequest) GetParentUrl() string
func (*CastsByParentRequest) GetReverse ¶
func (x *CastsByParentRequest) GetReverse() bool
func (*CastsByParentRequest) ProtoMessage ¶
func (*CastsByParentRequest) ProtoMessage()
func (*CastsByParentRequest) ProtoReflect ¶
func (x *CastsByParentRequest) ProtoReflect() protoreflect.Message
func (*CastsByParentRequest) Reset ¶
func (x *CastsByParentRequest) Reset()
func (*CastsByParentRequest) String ¶
func (x *CastsByParentRequest) String() string
type CastsByParentRequest_ParentCastId ¶
type CastsByParentRequest_ParentCastId struct {
ParentCastId *CastId `protobuf:"bytes,1,opt,name=parent_cast_id,json=parentCastId,proto3,oneof"`
}
type CastsByParentRequest_ParentUrl ¶
type CastsByParentRequest_ParentUrl struct {
ParentUrl string `protobuf:"bytes,5,opt,name=parent_url,json=parentUrl,proto3,oneof"`
}
type ContactInfoContent ¶
type ContactInfoContent struct { GossipAddress *GossipAddressInfo `protobuf:"bytes,1,opt,name=gossip_address,json=gossipAddress,proto3" json:"gossip_address,omitempty"` RpcAddress *GossipAddressInfo `protobuf:"bytes,2,opt,name=rpc_address,json=rpcAddress,proto3" json:"rpc_address,omitempty"` ExcludedHashes []string `protobuf:"bytes,3,rep,name=excluded_hashes,json=excludedHashes,proto3" json:"excluded_hashes,omitempty"` Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` HubVersion string `protobuf:"bytes,5,opt,name=hub_version,json=hubVersion,proto3" json:"hub_version,omitempty"` Network FarcasterNetwork `protobuf:"varint,6,opt,name=network,proto3,enum=FarcasterNetwork" json:"network,omitempty"` AppVersion string `protobuf:"bytes,7,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` Timestamp uint64 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Body *ContactInfoContentBody `protobuf:"bytes,9,opt,name=body,proto3" json:"body,omitempty"` Signature []byte `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature,omitempty"` // Signature of the message digest Signer []byte `protobuf:"bytes,11,opt,name=signer,proto3" json:"signer,omitempty"` // Public key of the peer that originated the contact info DataBytes []byte `protobuf:"bytes,12,opt,name=data_bytes,json=dataBytes,proto3,oneof" json:"data_bytes,omitempty"` // Optional alternative serialization used for signing // contains filtered or unexported fields }
func (*ContactInfoContent) Descriptor
deprecated
func (*ContactInfoContent) Descriptor() ([]byte, []int)
Deprecated: Use ContactInfoContent.ProtoReflect.Descriptor instead.
func (*ContactInfoContent) GetAppVersion ¶
func (x *ContactInfoContent) GetAppVersion() string
func (*ContactInfoContent) GetBody ¶
func (x *ContactInfoContent) GetBody() *ContactInfoContentBody
func (*ContactInfoContent) GetCount ¶
func (x *ContactInfoContent) GetCount() uint32
func (*ContactInfoContent) GetDataBytes ¶
func (x *ContactInfoContent) GetDataBytes() []byte
func (*ContactInfoContent) GetExcludedHashes ¶
func (x *ContactInfoContent) GetExcludedHashes() []string
func (*ContactInfoContent) GetGossipAddress ¶
func (x *ContactInfoContent) GetGossipAddress() *GossipAddressInfo
func (*ContactInfoContent) GetHubVersion ¶
func (x *ContactInfoContent) GetHubVersion() string
func (*ContactInfoContent) GetNetwork ¶
func (x *ContactInfoContent) GetNetwork() FarcasterNetwork
func (*ContactInfoContent) GetRpcAddress ¶
func (x *ContactInfoContent) GetRpcAddress() *GossipAddressInfo
func (*ContactInfoContent) GetSignature ¶
func (x *ContactInfoContent) GetSignature() []byte
func (*ContactInfoContent) GetSigner ¶
func (x *ContactInfoContent) GetSigner() []byte
func (*ContactInfoContent) GetTimestamp ¶
func (x *ContactInfoContent) GetTimestamp() uint64
func (*ContactInfoContent) ProtoMessage ¶
func (*ContactInfoContent) ProtoMessage()
func (*ContactInfoContent) ProtoReflect ¶
func (x *ContactInfoContent) ProtoReflect() protoreflect.Message
func (*ContactInfoContent) Reset ¶
func (x *ContactInfoContent) Reset()
func (*ContactInfoContent) String ¶
func (x *ContactInfoContent) String() string
type ContactInfoContentBody ¶
type ContactInfoContentBody struct { GossipAddress *GossipAddressInfo `protobuf:"bytes,1,opt,name=gossip_address,json=gossipAddress,proto3" json:"gossip_address,omitempty"` RpcAddress *GossipAddressInfo `protobuf:"bytes,2,opt,name=rpc_address,json=rpcAddress,proto3" json:"rpc_address,omitempty"` ExcludedHashes []string `protobuf:"bytes,3,rep,name=excluded_hashes,json=excludedHashes,proto3" json:"excluded_hashes,omitempty"` Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` HubVersion string `protobuf:"bytes,5,opt,name=hub_version,json=hubVersion,proto3" json:"hub_version,omitempty"` Network FarcasterNetwork `protobuf:"varint,6,opt,name=network,proto3,enum=FarcasterNetwork" json:"network,omitempty"` AppVersion string `protobuf:"bytes,7,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` Timestamp uint64 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*ContactInfoContentBody) Descriptor
deprecated
func (*ContactInfoContentBody) Descriptor() ([]byte, []int)
Deprecated: Use ContactInfoContentBody.ProtoReflect.Descriptor instead.
func (*ContactInfoContentBody) GetAppVersion ¶
func (x *ContactInfoContentBody) GetAppVersion() string
func (*ContactInfoContentBody) GetCount ¶
func (x *ContactInfoContentBody) GetCount() uint32
func (*ContactInfoContentBody) GetExcludedHashes ¶
func (x *ContactInfoContentBody) GetExcludedHashes() []string
func (*ContactInfoContentBody) GetGossipAddress ¶
func (x *ContactInfoContentBody) GetGossipAddress() *GossipAddressInfo
func (*ContactInfoContentBody) GetHubVersion ¶
func (x *ContactInfoContentBody) GetHubVersion() string
func (*ContactInfoContentBody) GetNetwork ¶
func (x *ContactInfoContentBody) GetNetwork() FarcasterNetwork
func (*ContactInfoContentBody) GetRpcAddress ¶
func (x *ContactInfoContentBody) GetRpcAddress() *GossipAddressInfo
func (*ContactInfoContentBody) GetTimestamp ¶
func (x *ContactInfoContentBody) GetTimestamp() uint64
func (*ContactInfoContentBody) ProtoMessage ¶
func (*ContactInfoContentBody) ProtoMessage()
func (*ContactInfoContentBody) ProtoReflect ¶
func (x *ContactInfoContentBody) ProtoReflect() protoreflect.Message
func (*ContactInfoContentBody) Reset ¶
func (x *ContactInfoContentBody) Reset()
func (*ContactInfoContentBody) String ¶
func (x *ContactInfoContentBody) String() string
type ContactInfoResponse ¶
type ContactInfoResponse struct { Contacts []*ContactInfoContentBody `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"` // contains filtered or unexported fields }
func (*ContactInfoResponse) Descriptor
deprecated
func (*ContactInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContactInfoResponse.ProtoReflect.Descriptor instead.
func (*ContactInfoResponse) GetContacts ¶
func (x *ContactInfoResponse) GetContacts() []*ContactInfoContentBody
func (*ContactInfoResponse) ProtoMessage ¶
func (*ContactInfoResponse) ProtoMessage()
func (*ContactInfoResponse) ProtoReflect ¶
func (x *ContactInfoResponse) ProtoReflect() protoreflect.Message
func (*ContactInfoResponse) Reset ¶
func (x *ContactInfoResponse) Reset()
func (*ContactInfoResponse) String ¶
func (x *ContactInfoResponse) String() string
type DbStats ¶
type DbStats struct { NumMessages uint64 `protobuf:"varint,1,opt,name=num_messages,json=numMessages,proto3" json:"num_messages,omitempty"` NumFidEvents uint64 `protobuf:"varint,2,opt,name=num_fid_events,json=numFidEvents,proto3" json:"num_fid_events,omitempty"` NumFnameEvents uint64 `protobuf:"varint,3,opt,name=num_fname_events,json=numFnameEvents,proto3" json:"num_fname_events,omitempty"` ApproxSize uint64 `protobuf:"varint,4,opt,name=approx_size,json=approxSize,proto3" json:"approx_size,omitempty"` // contains filtered or unexported fields }
func (*DbStats) Descriptor
deprecated
func (*DbStats) GetApproxSize ¶
func (*DbStats) GetNumFidEvents ¶
func (*DbStats) GetNumFnameEvents ¶
func (*DbStats) GetNumMessages ¶
func (*DbStats) ProtoMessage ¶
func (*DbStats) ProtoMessage()
func (*DbStats) ProtoReflect ¶
func (x *DbStats) ProtoReflect() protoreflect.Message
type DbTrieNode ¶
type DbTrieNode struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` ChildChars []uint32 `protobuf:"varint,2,rep,packed,name=childChars,proto3" json:"childChars,omitempty"` Items uint32 `protobuf:"varint,3,opt,name=items,proto3" json:"items,omitempty"` Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*DbTrieNode) Descriptor
deprecated
func (*DbTrieNode) Descriptor() ([]byte, []int)
Deprecated: Use DbTrieNode.ProtoReflect.Descriptor instead.
func (*DbTrieNode) GetChildChars ¶
func (x *DbTrieNode) GetChildChars() []uint32
func (*DbTrieNode) GetHash ¶
func (x *DbTrieNode) GetHash() []byte
func (*DbTrieNode) GetItems ¶
func (x *DbTrieNode) GetItems() uint32
func (*DbTrieNode) GetKey ¶
func (x *DbTrieNode) GetKey() []byte
func (*DbTrieNode) ProtoMessage ¶
func (*DbTrieNode) ProtoMessage()
func (*DbTrieNode) ProtoReflect ¶
func (x *DbTrieNode) ProtoReflect() protoreflect.Message
func (*DbTrieNode) Reset ¶
func (x *DbTrieNode) Reset()
func (*DbTrieNode) String ¶
func (x *DbTrieNode) String() string
type Embed ¶
type Embed struct { // Types that are assignable to Embed: // // *Embed_Url // *Embed_CastId Embed isEmbed_Embed `protobuf_oneof:"embed"` // contains filtered or unexported fields }
func (*Embed) Descriptor
deprecated
func (*Embed) ProtoMessage ¶
func (*Embed) ProtoMessage()
func (*Embed) ProtoReflect ¶
func (x *Embed) ProtoReflect() protoreflect.Message
type Embed_CastId ¶
type Embed_CastId struct {
CastId *CastId `protobuf:"bytes,2,opt,name=cast_id,json=castId,proto3,oneof"`
}
type Embed_Url ¶
type Embed_Url struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3,oneof"`
}
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type EventRequest ¶
type EventRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*EventRequest) Descriptor
deprecated
func (*EventRequest) Descriptor() ([]byte, []int)
Deprecated: Use EventRequest.ProtoReflect.Descriptor instead.
func (*EventRequest) GetId ¶
func (x *EventRequest) GetId() uint64
func (*EventRequest) ProtoMessage ¶
func (*EventRequest) ProtoMessage()
func (*EventRequest) ProtoReflect ¶
func (x *EventRequest) ProtoReflect() protoreflect.Message
func (*EventRequest) Reset ¶
func (x *EventRequest) Reset()
func (*EventRequest) String ¶
func (x *EventRequest) String() string
type FarcasterNetwork ¶
type FarcasterNetwork int32
* Farcaster network the message is intended for
const ( FarcasterNetwork_FARCASTER_NETWORK_NONE FarcasterNetwork = 0 FarcasterNetwork_FARCASTER_NETWORK_MAINNET FarcasterNetwork = 1 // Public primary network FarcasterNetwork_FARCASTER_NETWORK_TESTNET FarcasterNetwork = 2 // Public test network FarcasterNetwork_FARCASTER_NETWORK_DEVNET FarcasterNetwork = 3 // Private test network )
func (FarcasterNetwork) Descriptor ¶
func (FarcasterNetwork) Descriptor() protoreflect.EnumDescriptor
func (FarcasterNetwork) Enum ¶
func (x FarcasterNetwork) Enum() *FarcasterNetwork
func (FarcasterNetwork) EnumDescriptor
deprecated
func (FarcasterNetwork) EnumDescriptor() ([]byte, []int)
Deprecated: Use FarcasterNetwork.Descriptor instead.
func (FarcasterNetwork) Number ¶
func (x FarcasterNetwork) Number() protoreflect.EnumNumber
func (FarcasterNetwork) String ¶
func (x FarcasterNetwork) String() string
func (FarcasterNetwork) Type ¶
func (FarcasterNetwork) Type() protoreflect.EnumType
type FidRequest ¶
type FidRequest struct { Fid uint64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` PageSize *uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` PageToken []byte `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` Reverse *bool `protobuf:"varint,4,opt,name=reverse,proto3,oneof" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*FidRequest) Descriptor
deprecated
func (*FidRequest) Descriptor() ([]byte, []int)
Deprecated: Use FidRequest.ProtoReflect.Descriptor instead.
func (*FidRequest) GetFid ¶
func (x *FidRequest) GetFid() uint64
func (*FidRequest) GetPageSize ¶
func (x *FidRequest) GetPageSize() uint32
func (*FidRequest) GetPageToken ¶
func (x *FidRequest) GetPageToken() []byte
func (*FidRequest) GetReverse ¶
func (x *FidRequest) GetReverse() bool
func (*FidRequest) ProtoMessage ¶
func (*FidRequest) ProtoMessage()
func (*FidRequest) ProtoReflect ¶
func (x *FidRequest) ProtoReflect() protoreflect.Message
func (*FidRequest) Reset ¶
func (x *FidRequest) Reset()
func (*FidRequest) String ¶
func (x *FidRequest) String() string
type FidsRequest ¶
type FidsRequest struct { PageSize *uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` PageToken []byte `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` Reverse *bool `protobuf:"varint,3,opt,name=reverse,proto3,oneof" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*FidsRequest) Descriptor
deprecated
func (*FidsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FidsRequest.ProtoReflect.Descriptor instead.
func (*FidsRequest) GetPageSize ¶
func (x *FidsRequest) GetPageSize() uint32
func (*FidsRequest) GetPageToken ¶
func (x *FidsRequest) GetPageToken() []byte
func (*FidsRequest) GetReverse ¶
func (x *FidsRequest) GetReverse() bool
func (*FidsRequest) ProtoMessage ¶
func (*FidsRequest) ProtoMessage()
func (*FidsRequest) ProtoReflect ¶
func (x *FidsRequest) ProtoReflect() protoreflect.Message
func (*FidsRequest) Reset ¶
func (x *FidsRequest) Reset()
func (*FidsRequest) String ¶
func (x *FidsRequest) String() string
type FidsResponse ¶
type FidsResponse struct { Fids []uint64 `protobuf:"varint,1,rep,packed,name=fids,proto3" json:"fids,omitempty"` NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3,oneof" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*FidsResponse) Descriptor
deprecated
func (*FidsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FidsResponse.ProtoReflect.Descriptor instead.
func (*FidsResponse) GetFids ¶
func (x *FidsResponse) GetFids() []uint64
func (*FidsResponse) GetNextPageToken ¶
func (x *FidsResponse) GetNextPageToken() []byte
func (*FidsResponse) ProtoMessage ¶
func (*FidsResponse) ProtoMessage()
func (*FidsResponse) ProtoReflect ¶
func (x *FidsResponse) ProtoReflect() protoreflect.Message
func (*FidsResponse) Reset ¶
func (x *FidsResponse) Reset()
func (*FidsResponse) String ¶
func (x *FidsResponse) String() string
type FrameActionBody ¶
type FrameActionBody struct { Url []byte `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // URL of the Frame triggering the action ButtonIndex uint32 `protobuf:"varint,2,opt,name=button_index,json=buttonIndex,proto3" json:"button_index,omitempty"` // The index of the button pressed (1-4) CastId *CastId `protobuf:"bytes,3,opt,name=cast_id,json=castId,proto3" json:"cast_id,omitempty"` // The cast which contained the frame url InputText []byte `protobuf:"bytes,4,opt,name=input_text,json=inputText,proto3" json:"input_text,omitempty"` // Text input from the user, if present State []byte `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` // Serialized frame state value TransactionId []byte `protobuf:"bytes,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // Chain-specific transaction ID for tx actions Address []byte `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` // Chain-specific address for tx actions // contains filtered or unexported fields }
* A Farcaster Frame action
func (*FrameActionBody) Descriptor
deprecated
func (*FrameActionBody) Descriptor() ([]byte, []int)
Deprecated: Use FrameActionBody.ProtoReflect.Descriptor instead.
func (*FrameActionBody) GetAddress ¶
func (x *FrameActionBody) GetAddress() []byte
func (*FrameActionBody) GetButtonIndex ¶
func (x *FrameActionBody) GetButtonIndex() uint32
func (*FrameActionBody) GetCastId ¶
func (x *FrameActionBody) GetCastId() *CastId
func (*FrameActionBody) GetInputText ¶
func (x *FrameActionBody) GetInputText() []byte
func (*FrameActionBody) GetState ¶
func (x *FrameActionBody) GetState() []byte
func (*FrameActionBody) GetTransactionId ¶
func (x *FrameActionBody) GetTransactionId() []byte
func (*FrameActionBody) GetUrl ¶
func (x *FrameActionBody) GetUrl() []byte
func (*FrameActionBody) ProtoMessage ¶
func (*FrameActionBody) ProtoMessage()
func (*FrameActionBody) ProtoReflect ¶
func (x *FrameActionBody) ProtoReflect() protoreflect.Message
func (*FrameActionBody) Reset ¶
func (x *FrameActionBody) Reset()
func (*FrameActionBody) String ¶
func (x *FrameActionBody) String() string
type GossipAddressInfo ¶
type GossipAddressInfo struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Family uint32 `protobuf:"varint,2,opt,name=family,proto3" json:"family,omitempty"` Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` DnsName string `protobuf:"bytes,4,opt,name=dns_name,json=dnsName,proto3" json:"dns_name,omitempty"` // contains filtered or unexported fields }
func (*GossipAddressInfo) Descriptor
deprecated
func (*GossipAddressInfo) Descriptor() ([]byte, []int)
Deprecated: Use GossipAddressInfo.ProtoReflect.Descriptor instead.
func (*GossipAddressInfo) GetAddress ¶
func (x *GossipAddressInfo) GetAddress() string
func (*GossipAddressInfo) GetDnsName ¶
func (x *GossipAddressInfo) GetDnsName() string
func (*GossipAddressInfo) GetFamily ¶
func (x *GossipAddressInfo) GetFamily() uint32
func (*GossipAddressInfo) GetPort ¶
func (x *GossipAddressInfo) GetPort() uint32
func (*GossipAddressInfo) ProtoMessage ¶
func (*GossipAddressInfo) ProtoMessage()
func (*GossipAddressInfo) ProtoReflect ¶
func (x *GossipAddressInfo) ProtoReflect() protoreflect.Message
func (*GossipAddressInfo) Reset ¶
func (x *GossipAddressInfo) Reset()
func (*GossipAddressInfo) String ¶
func (x *GossipAddressInfo) String() string
type GossipMessage ¶
type GossipMessage struct { // Types that are assignable to Content: // // *GossipMessage_Message // *GossipMessage_ContactInfoContent // *GossipMessage_NetworkLatencyMessage // *GossipMessage_MessageBundle Content isGossipMessage_Content `protobuf_oneof:"content"` Topics []string `protobuf:"bytes,4,rep,name=topics,proto3" json:"topics,omitempty"` PeerId []byte `protobuf:"bytes,5,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` Version GossipVersion `protobuf:"varint,6,opt,name=version,proto3,enum=GossipVersion" json:"version,omitempty"` Timestamp uint32 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Farcaster epoch timestamp in seconds when this message was first created // contains filtered or unexported fields }
func (*GossipMessage) Descriptor
deprecated
func (*GossipMessage) Descriptor() ([]byte, []int)
Deprecated: Use GossipMessage.ProtoReflect.Descriptor instead.
func (*GossipMessage) GetContactInfoContent ¶
func (x *GossipMessage) GetContactInfoContent() *ContactInfoContent
func (*GossipMessage) GetContent ¶
func (m *GossipMessage) GetContent() isGossipMessage_Content
func (*GossipMessage) GetMessage ¶
func (x *GossipMessage) GetMessage() *Message
func (*GossipMessage) GetMessageBundle ¶
func (x *GossipMessage) GetMessageBundle() *MessageBundle
func (*GossipMessage) GetNetworkLatencyMessage ¶
func (x *GossipMessage) GetNetworkLatencyMessage() *NetworkLatencyMessage
func (*GossipMessage) GetPeerId ¶
func (x *GossipMessage) GetPeerId() []byte
func (*GossipMessage) GetTimestamp ¶
func (x *GossipMessage) GetTimestamp() uint32
func (*GossipMessage) GetTopics ¶
func (x *GossipMessage) GetTopics() []string
func (*GossipMessage) GetVersion ¶
func (x *GossipMessage) GetVersion() GossipVersion
func (*GossipMessage) ProtoMessage ¶
func (*GossipMessage) ProtoMessage()
func (*GossipMessage) ProtoReflect ¶
func (x *GossipMessage) ProtoReflect() protoreflect.Message
func (*GossipMessage) Reset ¶
func (x *GossipMessage) Reset()
func (*GossipMessage) String ¶
func (x *GossipMessage) String() string
type GossipMessage_ContactInfoContent ¶
type GossipMessage_ContactInfoContent struct { // Deprecated // IdRegistryEvent id_registry_event = 2; ContactInfoContent *ContactInfoContent `protobuf:"bytes,3,opt,name=contact_info_content,json=contactInfoContent,proto3,oneof"` }
type GossipMessage_Message ¶
type GossipMessage_Message struct {
Message *Message `protobuf:"bytes,1,opt,name=message,proto3,oneof"`
}
type GossipMessage_MessageBundle ¶
type GossipMessage_MessageBundle struct {
MessageBundle *MessageBundle `protobuf:"bytes,9,opt,name=message_bundle,json=messageBundle,proto3,oneof"`
}
type GossipMessage_NetworkLatencyMessage ¶
type GossipMessage_NetworkLatencyMessage struct {
NetworkLatencyMessage *NetworkLatencyMessage `protobuf:"bytes,7,opt,name=network_latency_message,json=networkLatencyMessage,proto3,oneof"`
}
type GossipVersion ¶
type GossipVersion int32
const ( GossipVersion_GOSSIP_VERSION_V1 GossipVersion = 0 GossipVersion_GOSSIP_VERSION_V1_1 GossipVersion = 1 )
func (GossipVersion) Descriptor ¶
func (GossipVersion) Descriptor() protoreflect.EnumDescriptor
func (GossipVersion) Enum ¶
func (x GossipVersion) Enum() *GossipVersion
func (GossipVersion) EnumDescriptor
deprecated
func (GossipVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use GossipVersion.Descriptor instead.
func (GossipVersion) Number ¶
func (x GossipVersion) Number() protoreflect.EnumNumber
func (GossipVersion) String ¶
func (x GossipVersion) String() string
func (GossipVersion) Type ¶
func (GossipVersion) Type() protoreflect.EnumType
type HashScheme ¶
type HashScheme int32
* Type of hashing scheme used to produce a digest of MessageData
const ( HashScheme_HASH_SCHEME_NONE HashScheme = 0 HashScheme_HASH_SCHEME_BLAKE3 HashScheme = 1 // Default scheme for hashing MessageData )
func (HashScheme) Descriptor ¶
func (HashScheme) Descriptor() protoreflect.EnumDescriptor
func (HashScheme) Enum ¶
func (x HashScheme) Enum() *HashScheme
func (HashScheme) EnumDescriptor
deprecated
func (HashScheme) EnumDescriptor() ([]byte, []int)
Deprecated: Use HashScheme.Descriptor instead.
func (HashScheme) Number ¶
func (x HashScheme) Number() protoreflect.EnumNumber
func (HashScheme) String ¶
func (x HashScheme) String() string
func (HashScheme) Type ¶
func (HashScheme) Type() protoreflect.EnumType
type HubEvent ¶
type HubEvent struct { Type HubEventType `protobuf:"varint,1,opt,name=type,proto3,enum=HubEventType" json:"type,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // Types that are assignable to Body: // // *HubEvent_MergeMessageBody // *HubEvent_PruneMessageBody // *HubEvent_RevokeMessageBody // *HubEvent_MergeUsernameProofBody // *HubEvent_MergeOnChainEventBody Body isHubEvent_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
func (*HubEvent) Descriptor
deprecated
func (*HubEvent) GetMergeMessageBody ¶
func (x *HubEvent) GetMergeMessageBody() *MergeMessageBody
func (*HubEvent) GetMergeOnChainEventBody ¶
func (x *HubEvent) GetMergeOnChainEventBody() *MergeOnChainEventBody
func (*HubEvent) GetMergeUsernameProofBody ¶
func (x *HubEvent) GetMergeUsernameProofBody() *MergeUserNameProofBody
func (*HubEvent) GetPruneMessageBody ¶
func (x *HubEvent) GetPruneMessageBody() *PruneMessageBody
func (*HubEvent) GetRevokeMessageBody ¶
func (x *HubEvent) GetRevokeMessageBody() *RevokeMessageBody
func (*HubEvent) GetType ¶
func (x *HubEvent) GetType() HubEventType
func (*HubEvent) ProtoMessage ¶
func (*HubEvent) ProtoMessage()
func (*HubEvent) ProtoReflect ¶
func (x *HubEvent) ProtoReflect() protoreflect.Message
type HubEventType ¶
type HubEventType int32
const ( HubEventType_HUB_EVENT_TYPE_NONE HubEventType = 0 HubEventType_HUB_EVENT_TYPE_MERGE_MESSAGE HubEventType = 1 HubEventType_HUB_EVENT_TYPE_PRUNE_MESSAGE HubEventType = 2 HubEventType_HUB_EVENT_TYPE_REVOKE_MESSAGE HubEventType = 3 // Deprecated // // HUB_EVENT_TYPE_MERGE_ID_REGISTRY_EVENT = 4; // HUB_EVENT_TYPE_MERGE_NAME_REGISTRY_EVENT = 5; HubEventType_HUB_EVENT_TYPE_MERGE_USERNAME_PROOF HubEventType = 6 // Deprecated // // HUB_EVENT_TYPE_MERGE_RENT_REGISTRY_EVENT = 7; // HUB_EVENT_TYPE_MERGE_STORAGE_ADMIN_REGISTRY_EVENT = 8; HubEventType_HUB_EVENT_TYPE_MERGE_ON_CHAIN_EVENT HubEventType = 9 )
func (HubEventType) Descriptor ¶
func (HubEventType) Descriptor() protoreflect.EnumDescriptor
func (HubEventType) Enum ¶
func (x HubEventType) Enum() *HubEventType
func (HubEventType) EnumDescriptor
deprecated
func (HubEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HubEventType.Descriptor instead.
func (HubEventType) Number ¶
func (x HubEventType) Number() protoreflect.EnumNumber
func (HubEventType) String ¶
func (x HubEventType) String() string
func (HubEventType) Type ¶
func (HubEventType) Type() protoreflect.EnumType
type HubEvent_MergeMessageBody ¶
type HubEvent_MergeMessageBody struct {
MergeMessageBody *MergeMessageBody `protobuf:"bytes,3,opt,name=merge_message_body,json=mergeMessageBody,proto3,oneof"`
}
type HubEvent_MergeOnChainEventBody ¶
type HubEvent_MergeOnChainEventBody struct { // Deprecated // MergeRentRegistryEventBody merge_rent_registry_event_body = 9; // MergeStorageAdminRegistryEventBody merge_storage_admin_registry_event_body = 10; MergeOnChainEventBody *MergeOnChainEventBody `protobuf:"bytes,11,opt,name=merge_on_chain_event_body,json=mergeOnChainEventBody,proto3,oneof"` }
type HubEvent_MergeUsernameProofBody ¶
type HubEvent_MergeUsernameProofBody struct { // Deprecated // MergeIdRegistryEventBody merge_id_registry_event_body = 6; // MergeNameRegistryEventBody merge_name_registry_event_body = 7; MergeUsernameProofBody *MergeUserNameProofBody `protobuf:"bytes,8,opt,name=merge_username_proof_body,json=mergeUsernameProofBody,proto3,oneof"` }
type HubEvent_PruneMessageBody ¶
type HubEvent_PruneMessageBody struct {
PruneMessageBody *PruneMessageBody `protobuf:"bytes,4,opt,name=prune_message_body,json=pruneMessageBody,proto3,oneof"`
}
type HubEvent_RevokeMessageBody ¶
type HubEvent_RevokeMessageBody struct {
RevokeMessageBody *RevokeMessageBody `protobuf:"bytes,5,opt,name=revoke_message_body,json=revokeMessageBody,proto3,oneof"`
}
type HubInfoRequest ¶
type HubInfoRequest struct { DbStats bool `protobuf:"varint,1,opt,name=db_stats,json=dbStats,proto3" json:"db_stats,omitempty"` // contains filtered or unexported fields }
func (*HubInfoRequest) Descriptor
deprecated
func (*HubInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use HubInfoRequest.ProtoReflect.Descriptor instead.
func (*HubInfoRequest) GetDbStats ¶
func (x *HubInfoRequest) GetDbStats() bool
func (*HubInfoRequest) ProtoMessage ¶
func (*HubInfoRequest) ProtoMessage()
func (*HubInfoRequest) ProtoReflect ¶
func (x *HubInfoRequest) ProtoReflect() protoreflect.Message
func (*HubInfoRequest) Reset ¶
func (x *HubInfoRequest) Reset()
func (*HubInfoRequest) String ¶
func (x *HubInfoRequest) String() string
type HubInfoResponse ¶
type HubInfoResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` IsSyncing bool `protobuf:"varint,2,opt,name=is_syncing,json=isSyncing,proto3" json:"is_syncing,omitempty"` Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` RootHash string `protobuf:"bytes,4,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` DbStats *DbStats `protobuf:"bytes,5,opt,name=db_stats,json=dbStats,proto3" json:"db_stats,omitempty"` PeerId string `protobuf:"bytes,6,opt,name=peerId,proto3" json:"peerId,omitempty"` HubOperatorFid uint64 `protobuf:"varint,7,opt,name=hub_operator_fid,json=hubOperatorFid,proto3" json:"hub_operator_fid,omitempty"` // contains filtered or unexported fields }
Response Types for the Sync RPC Methods
func (*HubInfoResponse) Descriptor
deprecated
func (*HubInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use HubInfoResponse.ProtoReflect.Descriptor instead.
func (*HubInfoResponse) GetDbStats ¶
func (x *HubInfoResponse) GetDbStats() *DbStats
func (*HubInfoResponse) GetHubOperatorFid ¶
func (x *HubInfoResponse) GetHubOperatorFid() uint64
func (*HubInfoResponse) GetIsSyncing ¶
func (x *HubInfoResponse) GetIsSyncing() bool
func (*HubInfoResponse) GetNickname ¶
func (x *HubInfoResponse) GetNickname() string
func (*HubInfoResponse) GetPeerId ¶
func (x *HubInfoResponse) GetPeerId() string
func (*HubInfoResponse) GetRootHash ¶
func (x *HubInfoResponse) GetRootHash() string
func (*HubInfoResponse) GetVersion ¶
func (x *HubInfoResponse) GetVersion() string
func (*HubInfoResponse) ProtoMessage ¶
func (*HubInfoResponse) ProtoMessage()
func (*HubInfoResponse) ProtoReflect ¶
func (x *HubInfoResponse) ProtoReflect() protoreflect.Message
func (*HubInfoResponse) Reset ¶
func (x *HubInfoResponse) Reset()
func (*HubInfoResponse) String ¶
func (x *HubInfoResponse) String() string
type HubServiceClient ¶
type HubServiceClient interface { // Submit Methods SubmitMessage(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Message, error) // Validation Methods ValidateMessage(ctx context.Context, in *Message, opts ...grpc.CallOption) (*ValidationResponse, error) // Event Methods // @http-api: none Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[HubEvent], error) // @http-api: events GetEvent(ctx context.Context, in *EventRequest, opts ...grpc.CallOption) (*HubEvent, error) // Casts // @http-api: castById GetCast(ctx context.Context, in *CastId, opts ...grpc.CallOption) (*Message, error) GetCastsByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) GetCastsByParent(ctx context.Context, in *CastsByParentRequest, opts ...grpc.CallOption) (*MessagesResponse, error) GetCastsByMention(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // Reactions // @http-api: reactionById GetReaction(ctx context.Context, in *ReactionRequest, opts ...grpc.CallOption) (*Message, error) GetReactionsByFid(ctx context.Context, in *ReactionsByFidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) GetReactionsByCast(ctx context.Context, in *ReactionsByTargetRequest, opts ...grpc.CallOption) (*MessagesResponse, error) GetReactionsByTarget(ctx context.Context, in *ReactionsByTargetRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // User Data // @http-api: none GetUserData(ctx context.Context, in *UserDataRequest, opts ...grpc.CallOption) (*Message, error) GetUserDataByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // Username Proof // @http-api: userNameProofByName GetUsernameProof(ctx context.Context, in *UsernameProofRequest, opts ...grpc.CallOption) (*UserNameProof, error) GetUserNameProofsByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*UsernameProofsResponse, error) // Verifications // @http-api: none GetVerification(ctx context.Context, in *VerificationRequest, opts ...grpc.CallOption) (*Message, error) GetVerificationsByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // OnChain Events // @http-api: none GetOnChainSigner(ctx context.Context, in *SignerRequest, opts ...grpc.CallOption) (*OnChainEvent, error) GetOnChainSignersByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*OnChainEventResponse, error) // @http-api: none GetOnChainEvents(ctx context.Context, in *OnChainEventRequest, opts ...grpc.CallOption) (*OnChainEventResponse, error) // @http-api: none GetIdRegistryOnChainEvent(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*OnChainEvent, error) // @http-api: onChainIdRegistryEventByAddress GetIdRegistryOnChainEventByAddress(ctx context.Context, in *IdRegistryEventByAddressRequest, opts ...grpc.CallOption) (*OnChainEvent, error) // @http-api: storageLimitsByFid GetCurrentStorageLimitsByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*StorageLimitsResponse, error) GetFids(ctx context.Context, in *FidsRequest, opts ...grpc.CallOption) (*FidsResponse, error) // Links // @http-api: linkById GetLink(ctx context.Context, in *LinkRequest, opts ...grpc.CallOption) (*Message, error) GetLinksByFid(ctx context.Context, in *LinksByFidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // @http-api: linksByTargetFid GetLinksByTarget(ctx context.Context, in *LinksByTargetRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // Bulk Methods // The Bulk methods don't have corresponding HTTP API endpoints because the // regular endpoints can be used to get all the messages // @http-api: none GetAllCastMessagesByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // @http-api: none GetAllReactionMessagesByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // @http-api: none GetAllVerificationMessagesByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // @http-api: none GetAllUserDataMessagesByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // @http-api: none GetAllLinkMessagesByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // @http-api: none GetLinkCompactStateMessageByFid(ctx context.Context, in *FidRequest, opts ...grpc.CallOption) (*MessagesResponse, error) // Sync Methods GetInfo(ctx context.Context, in *HubInfoRequest, opts ...grpc.CallOption) (*HubInfoResponse, error) GetCurrentPeers(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ContactInfoResponse, error) // @http-api: none StopSync(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*SyncStatusResponse, error) // This is experimental, do not rely on this endpoint existing in the future // @http-api: none ForceSync(ctx context.Context, in *SyncStatusRequest, opts ...grpc.CallOption) (*SyncStatusResponse, error) // @http-api: none GetSyncStatus(ctx context.Context, in *SyncStatusRequest, opts ...grpc.CallOption) (*SyncStatusResponse, error) // @http-api: none GetAllSyncIdsByPrefix(ctx context.Context, in *TrieNodePrefix, opts ...grpc.CallOption) (*SyncIds, error) // @http-api: none GetAllMessagesBySyncIds(ctx context.Context, in *SyncIds, opts ...grpc.CallOption) (*MessagesResponse, error) // @http-api: none GetSyncMetadataByPrefix(ctx context.Context, in *TrieNodePrefix, opts ...grpc.CallOption) (*TrieNodeMetadataResponse, error) // @http-api: none GetSyncSnapshotByPrefix(ctx context.Context, in *TrieNodePrefix, opts ...grpc.CallOption) (*TrieNodeSnapshotResponse, error) }
HubServiceClient is the client API for HubService 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 NewHubServiceClient ¶
func NewHubServiceClient(cc grpc.ClientConnInterface) HubServiceClient
type HubServiceServer ¶
type HubServiceServer interface { // Submit Methods SubmitMessage(context.Context, *Message) (*Message, error) // Validation Methods ValidateMessage(context.Context, *Message) (*ValidationResponse, error) // Event Methods // @http-api: none Subscribe(*SubscribeRequest, grpc.ServerStreamingServer[HubEvent]) error // @http-api: events GetEvent(context.Context, *EventRequest) (*HubEvent, error) // Casts // @http-api: castById GetCast(context.Context, *CastId) (*Message, error) GetCastsByFid(context.Context, *FidRequest) (*MessagesResponse, error) GetCastsByParent(context.Context, *CastsByParentRequest) (*MessagesResponse, error) GetCastsByMention(context.Context, *FidRequest) (*MessagesResponse, error) // Reactions // @http-api: reactionById GetReaction(context.Context, *ReactionRequest) (*Message, error) GetReactionsByFid(context.Context, *ReactionsByFidRequest) (*MessagesResponse, error) GetReactionsByCast(context.Context, *ReactionsByTargetRequest) (*MessagesResponse, error) GetReactionsByTarget(context.Context, *ReactionsByTargetRequest) (*MessagesResponse, error) // User Data // @http-api: none GetUserData(context.Context, *UserDataRequest) (*Message, error) GetUserDataByFid(context.Context, *FidRequest) (*MessagesResponse, error) // Username Proof // @http-api: userNameProofByName GetUsernameProof(context.Context, *UsernameProofRequest) (*UserNameProof, error) GetUserNameProofsByFid(context.Context, *FidRequest) (*UsernameProofsResponse, error) // Verifications // @http-api: none GetVerification(context.Context, *VerificationRequest) (*Message, error) GetVerificationsByFid(context.Context, *FidRequest) (*MessagesResponse, error) // OnChain Events // @http-api: none GetOnChainSigner(context.Context, *SignerRequest) (*OnChainEvent, error) GetOnChainSignersByFid(context.Context, *FidRequest) (*OnChainEventResponse, error) // @http-api: none GetOnChainEvents(context.Context, *OnChainEventRequest) (*OnChainEventResponse, error) // @http-api: none GetIdRegistryOnChainEvent(context.Context, *FidRequest) (*OnChainEvent, error) // @http-api: onChainIdRegistryEventByAddress GetIdRegistryOnChainEventByAddress(context.Context, *IdRegistryEventByAddressRequest) (*OnChainEvent, error) // @http-api: storageLimitsByFid GetCurrentStorageLimitsByFid(context.Context, *FidRequest) (*StorageLimitsResponse, error) GetFids(context.Context, *FidsRequest) (*FidsResponse, error) // Links // @http-api: linkById GetLink(context.Context, *LinkRequest) (*Message, error) GetLinksByFid(context.Context, *LinksByFidRequest) (*MessagesResponse, error) // @http-api: linksByTargetFid GetLinksByTarget(context.Context, *LinksByTargetRequest) (*MessagesResponse, error) // Bulk Methods // The Bulk methods don't have corresponding HTTP API endpoints because the // regular endpoints can be used to get all the messages // @http-api: none GetAllCastMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error) // @http-api: none GetAllReactionMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error) // @http-api: none GetAllVerificationMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error) // @http-api: none GetAllUserDataMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error) // @http-api: none GetAllLinkMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error) // @http-api: none GetLinkCompactStateMessageByFid(context.Context, *FidRequest) (*MessagesResponse, error) // Sync Methods GetInfo(context.Context, *HubInfoRequest) (*HubInfoResponse, error) GetCurrentPeers(context.Context, *Empty) (*ContactInfoResponse, error) // @http-api: none StopSync(context.Context, *Empty) (*SyncStatusResponse, error) // This is experimental, do not rely on this endpoint existing in the future // @http-api: none ForceSync(context.Context, *SyncStatusRequest) (*SyncStatusResponse, error) // @http-api: none GetSyncStatus(context.Context, *SyncStatusRequest) (*SyncStatusResponse, error) // @http-api: none GetAllSyncIdsByPrefix(context.Context, *TrieNodePrefix) (*SyncIds, error) // @http-api: none GetAllMessagesBySyncIds(context.Context, *SyncIds) (*MessagesResponse, error) // @http-api: none GetSyncMetadataByPrefix(context.Context, *TrieNodePrefix) (*TrieNodeMetadataResponse, error) // @http-api: none GetSyncSnapshotByPrefix(context.Context, *TrieNodePrefix) (*TrieNodeSnapshotResponse, error) // contains filtered or unexported methods }
HubServiceServer is the server API for HubService service. All implementations must embed UnimplementedHubServiceServer for forward compatibility.
type HubService_SubscribeClient ¶
type HubService_SubscribeClient = grpc.ServerStreamingClient[HubEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type HubService_SubscribeServer ¶
type HubService_SubscribeServer = grpc.ServerStreamingServer[HubEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type HubState ¶
type HubState struct { // uint32 last_eth_block = 1; // Deprecated LastFnameProof uint64 `protobuf:"varint,2,opt,name=last_fname_proof,json=lastFnameProof,proto3" json:"last_fname_proof,omitempty"` LastL2Block uint64 `protobuf:"varint,3,opt,name=last_l2_block,json=lastL2Block,proto3" json:"last_l2_block,omitempty"` // bool syncEvents = 4; // Deprecated ValidateOrRevokeState *ValidateOrRevokeJobState `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*HubState) Descriptor
deprecated
func (*HubState) GetLastFnameProof ¶
func (*HubState) GetLastL2Block ¶
func (*HubState) GetValidateOrRevokeState ¶
func (x *HubState) GetValidateOrRevokeState() *ValidateOrRevokeJobState
func (*HubState) ProtoMessage ¶
func (*HubState) ProtoMessage()
func (*HubState) ProtoReflect ¶
func (x *HubState) ProtoReflect() protoreflect.Message
type IdRegisterEventBody ¶
type IdRegisterEventBody struct { To []byte `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` EventType IdRegisterEventType `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=IdRegisterEventType" json:"event_type,omitempty"` From []byte `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` RecoveryAddress []byte `protobuf:"bytes,4,opt,name=recovery_address,json=recoveryAddress,proto3" json:"recovery_address,omitempty"` // contains filtered or unexported fields }
func (*IdRegisterEventBody) Descriptor
deprecated
func (*IdRegisterEventBody) Descriptor() ([]byte, []int)
Deprecated: Use IdRegisterEventBody.ProtoReflect.Descriptor instead.
func (*IdRegisterEventBody) GetEventType ¶
func (x *IdRegisterEventBody) GetEventType() IdRegisterEventType
func (*IdRegisterEventBody) GetFrom ¶
func (x *IdRegisterEventBody) GetFrom() []byte
func (*IdRegisterEventBody) GetRecoveryAddress ¶
func (x *IdRegisterEventBody) GetRecoveryAddress() []byte
func (*IdRegisterEventBody) GetTo ¶
func (x *IdRegisterEventBody) GetTo() []byte
func (*IdRegisterEventBody) ProtoMessage ¶
func (*IdRegisterEventBody) ProtoMessage()
func (*IdRegisterEventBody) ProtoReflect ¶
func (x *IdRegisterEventBody) ProtoReflect() protoreflect.Message
func (*IdRegisterEventBody) Reset ¶
func (x *IdRegisterEventBody) Reset()
func (*IdRegisterEventBody) String ¶
func (x *IdRegisterEventBody) String() string
type IdRegisterEventType ¶
type IdRegisterEventType int32
const ( IdRegisterEventType_ID_REGISTER_EVENT_TYPE_NONE IdRegisterEventType = 0 IdRegisterEventType_ID_REGISTER_EVENT_TYPE_REGISTER IdRegisterEventType = 1 IdRegisterEventType_ID_REGISTER_EVENT_TYPE_TRANSFER IdRegisterEventType = 2 IdRegisterEventType_ID_REGISTER_EVENT_TYPE_CHANGE_RECOVERY IdRegisterEventType = 3 )
func (IdRegisterEventType) Descriptor ¶
func (IdRegisterEventType) Descriptor() protoreflect.EnumDescriptor
func (IdRegisterEventType) Enum ¶
func (x IdRegisterEventType) Enum() *IdRegisterEventType
func (IdRegisterEventType) EnumDescriptor
deprecated
func (IdRegisterEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IdRegisterEventType.Descriptor instead.
func (IdRegisterEventType) Number ¶
func (x IdRegisterEventType) Number() protoreflect.EnumNumber
func (IdRegisterEventType) String ¶
func (x IdRegisterEventType) String() string
func (IdRegisterEventType) Type ¶
func (IdRegisterEventType) Type() protoreflect.EnumType
type IdRegistryEventByAddressRequest ¶
type IdRegistryEventByAddressRequest struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*IdRegistryEventByAddressRequest) Descriptor
deprecated
func (*IdRegistryEventByAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use IdRegistryEventByAddressRequest.ProtoReflect.Descriptor instead.
func (*IdRegistryEventByAddressRequest) GetAddress ¶
func (x *IdRegistryEventByAddressRequest) GetAddress() []byte
func (*IdRegistryEventByAddressRequest) ProtoMessage ¶
func (*IdRegistryEventByAddressRequest) ProtoMessage()
func (*IdRegistryEventByAddressRequest) ProtoReflect ¶
func (x *IdRegistryEventByAddressRequest) ProtoReflect() protoreflect.Message
func (*IdRegistryEventByAddressRequest) Reset ¶
func (x *IdRegistryEventByAddressRequest) Reset()
func (*IdRegistryEventByAddressRequest) String ¶
func (x *IdRegistryEventByAddressRequest) String() string
type LinkBody ¶
type LinkBody struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type of link, <= 8 characters DisplayTimestamp *uint32 `protobuf:"varint,2,opt,name=displayTimestamp,proto3,oneof" json:"displayTimestamp,omitempty"` // User-defined timestamp that preserves original timestamp when message.data.timestamp needs to be updated for compaction // Types that are assignable to Target: // // *LinkBody_TargetFid Target isLinkBody_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
* Adds or removes a Link
func (*LinkBody) Descriptor
deprecated
func (*LinkBody) GetDisplayTimestamp ¶
func (*LinkBody) GetTargetFid ¶
func (*LinkBody) ProtoMessage ¶
func (*LinkBody) ProtoMessage()
func (*LinkBody) ProtoReflect ¶
func (x *LinkBody) ProtoReflect() protoreflect.Message
type LinkBody_TargetFid ¶
type LinkBody_TargetFid struct {
TargetFid uint64 `protobuf:"varint,3,opt,name=target_fid,json=targetFid,proto3,oneof"` // The fid the link relates to
}
type LinkCompactStateBody ¶
type LinkCompactStateBody struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type of link, <= 8 characters TargetFids []uint64 `protobuf:"varint,2,rep,packed,name=target_fids,json=targetFids,proto3" json:"target_fids,omitempty"` // contains filtered or unexported fields }
* A Compaction message for the Link Store
func (*LinkCompactStateBody) Descriptor
deprecated
func (*LinkCompactStateBody) Descriptor() ([]byte, []int)
Deprecated: Use LinkCompactStateBody.ProtoReflect.Descriptor instead.
func (*LinkCompactStateBody) GetTargetFids ¶
func (x *LinkCompactStateBody) GetTargetFids() []uint64
func (*LinkCompactStateBody) GetType ¶
func (x *LinkCompactStateBody) GetType() string
func (*LinkCompactStateBody) ProtoMessage ¶
func (*LinkCompactStateBody) ProtoMessage()
func (*LinkCompactStateBody) ProtoReflect ¶
func (x *LinkCompactStateBody) ProtoReflect() protoreflect.Message
func (*LinkCompactStateBody) Reset ¶
func (x *LinkCompactStateBody) Reset()
func (*LinkCompactStateBody) String ¶
func (x *LinkCompactStateBody) String() string
type LinkRequest ¶
type LinkRequest struct { Fid uint64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` LinkType string `protobuf:"bytes,2,opt,name=link_type,json=linkType,proto3" json:"link_type,omitempty"` // Types that are assignable to Target: // // *LinkRequest_TargetFid Target isLinkRequest_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
func (*LinkRequest) Descriptor
deprecated
func (*LinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkRequest.ProtoReflect.Descriptor instead.
func (*LinkRequest) GetFid ¶
func (x *LinkRequest) GetFid() uint64
func (*LinkRequest) GetLinkType ¶
func (x *LinkRequest) GetLinkType() string
func (*LinkRequest) GetTarget ¶
func (m *LinkRequest) GetTarget() isLinkRequest_Target
func (*LinkRequest) GetTargetFid ¶
func (x *LinkRequest) GetTargetFid() uint64
func (*LinkRequest) ProtoMessage ¶
func (*LinkRequest) ProtoMessage()
func (*LinkRequest) ProtoReflect ¶
func (x *LinkRequest) ProtoReflect() protoreflect.Message
func (*LinkRequest) Reset ¶
func (x *LinkRequest) Reset()
func (*LinkRequest) String ¶
func (x *LinkRequest) String() string
type LinkRequest_TargetFid ¶
type LinkRequest_TargetFid struct {
TargetFid uint64 `protobuf:"varint,3,opt,name=target_fid,json=targetFid,proto3,oneof"`
}
type LinksByFidRequest ¶
type LinksByFidRequest struct { Fid uint64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` LinkType *string `protobuf:"bytes,2,opt,name=link_type,json=linkType,proto3,oneof" json:"link_type,omitempty"` PageSize *uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` PageToken []byte `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` Reverse *bool `protobuf:"varint,5,opt,name=reverse,proto3,oneof" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*LinksByFidRequest) Descriptor
deprecated
func (*LinksByFidRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinksByFidRequest.ProtoReflect.Descriptor instead.
func (*LinksByFidRequest) GetFid ¶
func (x *LinksByFidRequest) GetFid() uint64
func (*LinksByFidRequest) GetLinkType ¶
func (x *LinksByFidRequest) GetLinkType() string
func (*LinksByFidRequest) GetPageSize ¶
func (x *LinksByFidRequest) GetPageSize() uint32
func (*LinksByFidRequest) GetPageToken ¶
func (x *LinksByFidRequest) GetPageToken() []byte
func (*LinksByFidRequest) GetReverse ¶
func (x *LinksByFidRequest) GetReverse() bool
func (*LinksByFidRequest) ProtoMessage ¶
func (*LinksByFidRequest) ProtoMessage()
func (*LinksByFidRequest) ProtoReflect ¶
func (x *LinksByFidRequest) ProtoReflect() protoreflect.Message
func (*LinksByFidRequest) Reset ¶
func (x *LinksByFidRequest) Reset()
func (*LinksByFidRequest) String ¶
func (x *LinksByFidRequest) String() string
type LinksByTargetRequest ¶
type LinksByTargetRequest struct { // Types that are assignable to Target: // // *LinksByTargetRequest_TargetFid Target isLinksByTargetRequest_Target `protobuf_oneof:"target"` LinkType *string `protobuf:"bytes,2,opt,name=link_type,json=linkType,proto3,oneof" json:"link_type,omitempty"` PageSize *uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` PageToken []byte `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` Reverse *bool `protobuf:"varint,5,opt,name=reverse,proto3,oneof" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*LinksByTargetRequest) Descriptor
deprecated
func (*LinksByTargetRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinksByTargetRequest.ProtoReflect.Descriptor instead.
func (*LinksByTargetRequest) GetLinkType ¶
func (x *LinksByTargetRequest) GetLinkType() string
func (*LinksByTargetRequest) GetPageSize ¶
func (x *LinksByTargetRequest) GetPageSize() uint32
func (*LinksByTargetRequest) GetPageToken ¶
func (x *LinksByTargetRequest) GetPageToken() []byte
func (*LinksByTargetRequest) GetReverse ¶
func (x *LinksByTargetRequest) GetReverse() bool
func (*LinksByTargetRequest) GetTarget ¶
func (m *LinksByTargetRequest) GetTarget() isLinksByTargetRequest_Target
func (*LinksByTargetRequest) GetTargetFid ¶
func (x *LinksByTargetRequest) GetTargetFid() uint64
func (*LinksByTargetRequest) ProtoMessage ¶
func (*LinksByTargetRequest) ProtoMessage()
func (*LinksByTargetRequest) ProtoReflect ¶
func (x *LinksByTargetRequest) ProtoReflect() protoreflect.Message
func (*LinksByTargetRequest) Reset ¶
func (x *LinksByTargetRequest) Reset()
func (*LinksByTargetRequest) String ¶
func (x *LinksByTargetRequest) String() string
type LinksByTargetRequest_TargetFid ¶
type LinksByTargetRequest_TargetFid struct {
TargetFid uint64 `protobuf:"varint,1,opt,name=target_fid,json=targetFid,proto3,oneof"`
}
type MergeMessageBody ¶
type MergeMessageBody struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` DeletedMessages []*Message `protobuf:"bytes,2,rep,name=deleted_messages,json=deletedMessages,proto3" json:"deleted_messages,omitempty"` // contains filtered or unexported fields }
func (*MergeMessageBody) Descriptor
deprecated
func (*MergeMessageBody) Descriptor() ([]byte, []int)
Deprecated: Use MergeMessageBody.ProtoReflect.Descriptor instead.
func (*MergeMessageBody) GetDeletedMessages ¶
func (x *MergeMessageBody) GetDeletedMessages() []*Message
func (*MergeMessageBody) GetMessage ¶
func (x *MergeMessageBody) GetMessage() *Message
func (*MergeMessageBody) ProtoMessage ¶
func (*MergeMessageBody) ProtoMessage()
func (*MergeMessageBody) ProtoReflect ¶
func (x *MergeMessageBody) ProtoReflect() protoreflect.Message
func (*MergeMessageBody) Reset ¶
func (x *MergeMessageBody) Reset()
func (*MergeMessageBody) String ¶
func (x *MergeMessageBody) String() string
type MergeOnChainEventBody ¶
type MergeOnChainEventBody struct { OnChainEvent *OnChainEvent `protobuf:"bytes,1,opt,name=on_chain_event,json=onChainEvent,proto3" json:"on_chain_event,omitempty"` // contains filtered or unexported fields }
func (*MergeOnChainEventBody) Descriptor
deprecated
func (*MergeOnChainEventBody) Descriptor() ([]byte, []int)
Deprecated: Use MergeOnChainEventBody.ProtoReflect.Descriptor instead.
func (*MergeOnChainEventBody) GetOnChainEvent ¶
func (x *MergeOnChainEventBody) GetOnChainEvent() *OnChainEvent
func (*MergeOnChainEventBody) ProtoMessage ¶
func (*MergeOnChainEventBody) ProtoMessage()
func (*MergeOnChainEventBody) ProtoReflect ¶
func (x *MergeOnChainEventBody) ProtoReflect() protoreflect.Message
func (*MergeOnChainEventBody) Reset ¶
func (x *MergeOnChainEventBody) Reset()
func (*MergeOnChainEventBody) String ¶
func (x *MergeOnChainEventBody) String() string
type MergeUserNameProofBody ¶
type MergeUserNameProofBody struct { UsernameProof *UserNameProof `protobuf:"bytes,1,opt,name=username_proof,json=usernameProof,proto3" json:"username_proof,omitempty"` DeletedUsernameProof *UserNameProof `protobuf:"bytes,2,opt,name=deleted_username_proof,json=deletedUsernameProof,proto3" json:"deleted_username_proof,omitempty"` UsernameProofMessage *Message `protobuf:"bytes,3,opt,name=username_proof_message,json=usernameProofMessage,proto3" json:"username_proof_message,omitempty"` DeletedUsernameProofMessage *Message `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MergeUserNameProofBody) Descriptor
deprecated
func (*MergeUserNameProofBody) Descriptor() ([]byte, []int)
Deprecated: Use MergeUserNameProofBody.ProtoReflect.Descriptor instead.
func (*MergeUserNameProofBody) GetDeletedUsernameProof ¶
func (x *MergeUserNameProofBody) GetDeletedUsernameProof() *UserNameProof
func (*MergeUserNameProofBody) GetDeletedUsernameProofMessage ¶
func (x *MergeUserNameProofBody) GetDeletedUsernameProofMessage() *Message
func (*MergeUserNameProofBody) GetUsernameProof ¶
func (x *MergeUserNameProofBody) GetUsernameProof() *UserNameProof
func (*MergeUserNameProofBody) GetUsernameProofMessage ¶
func (x *MergeUserNameProofBody) GetUsernameProofMessage() *Message
func (*MergeUserNameProofBody) ProtoMessage ¶
func (*MergeUserNameProofBody) ProtoMessage()
func (*MergeUserNameProofBody) ProtoReflect ¶
func (x *MergeUserNameProofBody) ProtoReflect() protoreflect.Message
func (*MergeUserNameProofBody) Reset ¶
func (x *MergeUserNameProofBody) Reset()
func (*MergeUserNameProofBody) String ¶
func (x *MergeUserNameProofBody) String() string
type Message ¶
type Message struct { Data *MessageData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Contents of the message Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // Hash digest of data HashScheme HashScheme `protobuf:"varint,3,opt,name=hash_scheme,json=hashScheme,proto3,enum=HashScheme" json:"hash_scheme,omitempty"` // Hash scheme that produced the hash digest Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // Signature of the hash digest SignatureScheme SignatureScheme `` // Signature scheme that produced the signature /* 128-byte string literal not displayed */ Signer []byte `protobuf:"bytes,6,opt,name=signer,proto3" json:"signer,omitempty"` // Public key or address of the key pair that produced the signature DataBytes []byte `protobuf:"bytes,7,opt,name=data_bytes,json=dataBytes,proto3,oneof" json:"data_bytes,omitempty"` // MessageData serialized to bytes if using protobuf serialization other than ts-proto // contains filtered or unexported fields }
* A Message is a delta operation on the Farcaster network. The message protobuf is an envelope that wraps a MessageData object and contains a hash and signature which can verify its authenticity.
func (*Message) Descriptor
deprecated
func (*Message) GetData ¶
func (x *Message) GetData() *MessageData
func (*Message) GetDataBytes ¶
func (*Message) GetHashScheme ¶
func (x *Message) GetHashScheme() HashScheme
func (*Message) GetSignature ¶
func (*Message) GetSignatureScheme ¶
func (x *Message) GetSignatureScheme() SignatureScheme
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessageBundle ¶
type MessageBundle struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Messages []*Message `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*MessageBundle) Descriptor
deprecated
func (*MessageBundle) Descriptor() ([]byte, []int)
Deprecated: Use MessageBundle.ProtoReflect.Descriptor instead.
func (*MessageBundle) GetHash ¶
func (x *MessageBundle) GetHash() []byte
func (*MessageBundle) GetMessages ¶
func (x *MessageBundle) GetMessages() []*Message
func (*MessageBundle) ProtoMessage ¶
func (*MessageBundle) ProtoMessage()
func (*MessageBundle) ProtoReflect ¶
func (x *MessageBundle) ProtoReflect() protoreflect.Message
func (*MessageBundle) Reset ¶
func (x *MessageBundle) Reset()
func (*MessageBundle) String ¶
func (x *MessageBundle) String() string
type MessageData ¶
type MessageData struct { Type MessageType `protobuf:"varint,1,opt,name=type,proto3,enum=MessageType" json:"type,omitempty"` // Type of message contained in the body Fid uint64 `protobuf:"varint,2,opt,name=fid,proto3" json:"fid,omitempty"` // Farcaster ID of the user producing the message Timestamp uint32 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Farcaster epoch timestamp in seconds Network FarcasterNetwork `protobuf:"varint,4,opt,name=network,proto3,enum=FarcasterNetwork" json:"network,omitempty"` // Farcaster network the message is intended for // Types that are assignable to Body: // // *MessageData_CastAddBody // *MessageData_CastRemoveBody // *MessageData_ReactionBody // *MessageData_VerificationAddAddressBody // *MessageData_VerificationRemoveBody // *MessageData_UserDataBody // *MessageData_LinkBody // *MessageData_UsernameProofBody // *MessageData_FrameActionBody // *MessageData_LinkCompactStateBody Body isMessageData_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
* A MessageData object contains properties common to all messages and wraps a body object which contains properties specific to the MessageType.
func (*MessageData) Descriptor
deprecated
func (*MessageData) Descriptor() ([]byte, []int)
Deprecated: Use MessageData.ProtoReflect.Descriptor instead.
func (*MessageData) GetBody ¶
func (m *MessageData) GetBody() isMessageData_Body
func (*MessageData) GetCastAddBody ¶
func (x *MessageData) GetCastAddBody() *CastAddBody
func (*MessageData) GetCastRemoveBody ¶
func (x *MessageData) GetCastRemoveBody() *CastRemoveBody
func (*MessageData) GetFid ¶
func (x *MessageData) GetFid() uint64
func (*MessageData) GetFrameActionBody ¶
func (x *MessageData) GetFrameActionBody() *FrameActionBody
func (*MessageData) GetLinkBody ¶
func (x *MessageData) GetLinkBody() *LinkBody
func (*MessageData) GetLinkCompactStateBody ¶
func (x *MessageData) GetLinkCompactStateBody() *LinkCompactStateBody
func (*MessageData) GetNetwork ¶
func (x *MessageData) GetNetwork() FarcasterNetwork
func (*MessageData) GetReactionBody ¶
func (x *MessageData) GetReactionBody() *ReactionBody
func (*MessageData) GetTimestamp ¶
func (x *MessageData) GetTimestamp() uint32
func (*MessageData) GetType ¶
func (x *MessageData) GetType() MessageType
func (*MessageData) GetUserDataBody ¶
func (x *MessageData) GetUserDataBody() *UserDataBody
func (*MessageData) GetUsernameProofBody ¶
func (x *MessageData) GetUsernameProofBody() *UserNameProof
func (*MessageData) GetVerificationAddAddressBody ¶
func (x *MessageData) GetVerificationAddAddressBody() *VerificationAddAddressBody
func (*MessageData) GetVerificationRemoveBody ¶
func (x *MessageData) GetVerificationRemoveBody() *VerificationRemoveBody
func (*MessageData) ProtoMessage ¶
func (*MessageData) ProtoMessage()
func (*MessageData) ProtoReflect ¶
func (x *MessageData) ProtoReflect() protoreflect.Message
func (*MessageData) Reset ¶
func (x *MessageData) Reset()
func (*MessageData) String ¶
func (x *MessageData) String() string
type MessageData_CastAddBody ¶
type MessageData_CastAddBody struct {
CastAddBody *CastAddBody `protobuf:"bytes,5,opt,name=cast_add_body,json=castAddBody,proto3,oneof"`
}
type MessageData_CastRemoveBody ¶
type MessageData_CastRemoveBody struct {
CastRemoveBody *CastRemoveBody `protobuf:"bytes,6,opt,name=cast_remove_body,json=castRemoveBody,proto3,oneof"`
}
type MessageData_FrameActionBody ¶
type MessageData_FrameActionBody struct {
FrameActionBody *FrameActionBody `protobuf:"bytes,16,opt,name=frame_action_body,json=frameActionBody,proto3,oneof"`
}
type MessageData_LinkBody ¶
type MessageData_LinkBody struct { // SignerRemoveBody signer_remove_body = 13; // Deprecated LinkBody *LinkBody `protobuf:"bytes,14,opt,name=link_body,json=linkBody,proto3,oneof"` }
type MessageData_LinkCompactStateBody ¶
type MessageData_LinkCompactStateBody struct { // Compaction messages LinkCompactStateBody *LinkCompactStateBody `protobuf:"bytes,17,opt,name=link_compact_state_body,json=linkCompactStateBody,proto3,oneof"` }
type MessageData_ReactionBody ¶
type MessageData_ReactionBody struct {
ReactionBody *ReactionBody `protobuf:"bytes,7,opt,name=reaction_body,json=reactionBody,proto3,oneof"`
}
type MessageData_UserDataBody ¶
type MessageData_UserDataBody struct { // SignerAddBody signer_add_body = 11; // Deprecated UserDataBody *UserDataBody `protobuf:"bytes,12,opt,name=user_data_body,json=userDataBody,proto3,oneof"` }
type MessageData_UsernameProofBody ¶
type MessageData_UsernameProofBody struct {
UsernameProofBody *UserNameProof `protobuf:"bytes,15,opt,name=username_proof_body,json=usernameProofBody,proto3,oneof"`
}
type MessageData_VerificationAddAddressBody ¶
type MessageData_VerificationAddAddressBody struct {
VerificationAddAddressBody *VerificationAddAddressBody `protobuf:"bytes,9,opt,name=verification_add_address_body,json=verificationAddAddressBody,proto3,oneof"`
}
type MessageData_VerificationRemoveBody ¶
type MessageData_VerificationRemoveBody struct {
VerificationRemoveBody *VerificationRemoveBody `protobuf:"bytes,10,opt,name=verification_remove_body,json=verificationRemoveBody,proto3,oneof"`
}
type MessageType ¶
type MessageType int32
* Type of the MessageBody
const ( MessageType_MESSAGE_TYPE_NONE MessageType = 0 MessageType_MESSAGE_TYPE_CAST_ADD MessageType = 1 // Add a new Cast MessageType_MESSAGE_TYPE_CAST_REMOVE MessageType = 2 // Remove an existing Cast MessageType_MESSAGE_TYPE_REACTION_ADD MessageType = 3 // Add a Reaction to a Cast MessageType_MESSAGE_TYPE_REACTION_REMOVE MessageType = 4 // Remove a Reaction from a Cast MessageType_MESSAGE_TYPE_LINK_ADD MessageType = 5 // Add a new Link MessageType_MESSAGE_TYPE_LINK_REMOVE MessageType = 6 // Remove an existing Link MessageType_MESSAGE_TYPE_VERIFICATION_ADD_ETH_ADDRESS MessageType = 7 // Add a Verification of an Ethereum Address MessageType_MESSAGE_TYPE_VERIFICATION_REMOVE MessageType = 8 // Remove a Verification // Deprecated // MESSAGE_TYPE_SIGNER_ADD = 9; // Add a new Ed25519 key pair that signs messages for a user // MESSAGE_TYPE_SIGNER_REMOVE = 10; // Remove an Ed25519 key pair that signs messages for a user MessageType_MESSAGE_TYPE_USER_DATA_ADD MessageType = 11 // Add metadata about a user MessageType_MESSAGE_TYPE_USERNAME_PROOF MessageType = 12 // Add or replace a username proof MessageType_MESSAGE_TYPE_FRAME_ACTION MessageType = 13 // A Farcaster Frame action MessageType_MESSAGE_TYPE_LINK_COMPACT_STATE MessageType = 14 // Link Compaction State Message )
func (MessageType) Descriptor ¶
func (MessageType) Descriptor() protoreflect.EnumDescriptor
func (MessageType) Enum ¶
func (x MessageType) Enum() *MessageType
func (MessageType) EnumDescriptor
deprecated
func (MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageType.Descriptor instead.
func (MessageType) Number ¶
func (x MessageType) Number() protoreflect.EnumNumber
func (MessageType) String ¶
func (x MessageType) String() string
func (MessageType) Type ¶
func (MessageType) Type() protoreflect.EnumType
type MessagesResponse ¶
type MessagesResponse struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3,oneof" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*MessagesResponse) Descriptor
deprecated
func (*MessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessagesResponse.ProtoReflect.Descriptor instead.
func (*MessagesResponse) GetMessages ¶
func (x *MessagesResponse) GetMessages() []*Message
func (*MessagesResponse) GetNextPageToken ¶
func (x *MessagesResponse) GetNextPageToken() []byte
func (*MessagesResponse) ProtoMessage ¶
func (*MessagesResponse) ProtoMessage()
func (*MessagesResponse) ProtoReflect ¶
func (x *MessagesResponse) ProtoReflect() protoreflect.Message
func (*MessagesResponse) Reset ¶
func (x *MessagesResponse) Reset()
func (*MessagesResponse) String ¶
func (x *MessagesResponse) String() string
type NameRegistryEventRequest ¶
type NameRegistryEventRequest struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*NameRegistryEventRequest) Descriptor
deprecated
func (*NameRegistryEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use NameRegistryEventRequest.ProtoReflect.Descriptor instead.
func (*NameRegistryEventRequest) GetName ¶
func (x *NameRegistryEventRequest) GetName() []byte
func (*NameRegistryEventRequest) ProtoMessage ¶
func (*NameRegistryEventRequest) ProtoMessage()
func (*NameRegistryEventRequest) ProtoReflect ¶
func (x *NameRegistryEventRequest) ProtoReflect() protoreflect.Message
func (*NameRegistryEventRequest) Reset ¶
func (x *NameRegistryEventRequest) Reset()
func (*NameRegistryEventRequest) String ¶
func (x *NameRegistryEventRequest) String() string
type NetworkLatencyMessage ¶
type NetworkLatencyMessage struct { // Types that are assignable to Body: // // *NetworkLatencyMessage_PingMessage // *NetworkLatencyMessage_AckMessage Body isNetworkLatencyMessage_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
func (*NetworkLatencyMessage) Descriptor
deprecated
func (*NetworkLatencyMessage) Descriptor() ([]byte, []int)
Deprecated: Use NetworkLatencyMessage.ProtoReflect.Descriptor instead.
func (*NetworkLatencyMessage) GetAckMessage ¶
func (x *NetworkLatencyMessage) GetAckMessage() *AckMessageBody
func (*NetworkLatencyMessage) GetBody ¶
func (m *NetworkLatencyMessage) GetBody() isNetworkLatencyMessage_Body
func (*NetworkLatencyMessage) GetPingMessage ¶
func (x *NetworkLatencyMessage) GetPingMessage() *PingMessageBody
func (*NetworkLatencyMessage) ProtoMessage ¶
func (*NetworkLatencyMessage) ProtoMessage()
func (*NetworkLatencyMessage) ProtoReflect ¶
func (x *NetworkLatencyMessage) ProtoReflect() protoreflect.Message
func (*NetworkLatencyMessage) Reset ¶
func (x *NetworkLatencyMessage) Reset()
func (*NetworkLatencyMessage) String ¶
func (x *NetworkLatencyMessage) String() string
type NetworkLatencyMessage_AckMessage ¶
type NetworkLatencyMessage_AckMessage struct {
AckMessage *AckMessageBody `protobuf:"bytes,3,opt,name=ack_message,json=ackMessage,proto3,oneof"`
}
type NetworkLatencyMessage_PingMessage ¶
type NetworkLatencyMessage_PingMessage struct {
PingMessage *PingMessageBody `protobuf:"bytes,2,opt,name=ping_message,json=pingMessage,proto3,oneof"`
}
type OnChainEvent ¶
type OnChainEvent struct { Type OnChainEventType `protobuf:"varint,1,opt,name=type,proto3,enum=OnChainEventType" json:"type,omitempty"` ChainId uint32 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` BlockNumber uint32 `protobuf:"varint,3,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` BlockHash []byte `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` BlockTimestamp uint64 `protobuf:"varint,5,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"` TransactionHash []byte `protobuf:"bytes,6,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` LogIndex uint32 `protobuf:"varint,7,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` Fid uint64 `protobuf:"varint,8,opt,name=fid,proto3" json:"fid,omitempty"` // Types that are assignable to Body: // // *OnChainEvent_SignerEventBody // *OnChainEvent_SignerMigratedEventBody // *OnChainEvent_IdRegisterEventBody // *OnChainEvent_StorageRentEventBody Body isOnChainEvent_Body `protobuf_oneof:"body"` TxIndex uint32 `protobuf:"varint,13,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` Version uint32 `protobuf:"varint,14,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*OnChainEvent) Descriptor
deprecated
func (*OnChainEvent) Descriptor() ([]byte, []int)
Deprecated: Use OnChainEvent.ProtoReflect.Descriptor instead.
func (*OnChainEvent) GetBlockHash ¶
func (x *OnChainEvent) GetBlockHash() []byte
func (*OnChainEvent) GetBlockNumber ¶
func (x *OnChainEvent) GetBlockNumber() uint32
func (*OnChainEvent) GetBlockTimestamp ¶
func (x *OnChainEvent) GetBlockTimestamp() uint64
func (*OnChainEvent) GetBody ¶
func (m *OnChainEvent) GetBody() isOnChainEvent_Body
func (*OnChainEvent) GetChainId ¶
func (x *OnChainEvent) GetChainId() uint32
func (*OnChainEvent) GetFid ¶
func (x *OnChainEvent) GetFid() uint64
func (*OnChainEvent) GetIdRegisterEventBody ¶
func (x *OnChainEvent) GetIdRegisterEventBody() *IdRegisterEventBody
func (*OnChainEvent) GetLogIndex ¶
func (x *OnChainEvent) GetLogIndex() uint32
func (*OnChainEvent) GetSignerEventBody ¶
func (x *OnChainEvent) GetSignerEventBody() *SignerEventBody
func (*OnChainEvent) GetSignerMigratedEventBody ¶
func (x *OnChainEvent) GetSignerMigratedEventBody() *SignerMigratedEventBody
func (*OnChainEvent) GetStorageRentEventBody ¶
func (x *OnChainEvent) GetStorageRentEventBody() *StorageRentEventBody
func (*OnChainEvent) GetTransactionHash ¶
func (x *OnChainEvent) GetTransactionHash() []byte
func (*OnChainEvent) GetTxIndex ¶
func (x *OnChainEvent) GetTxIndex() uint32
func (*OnChainEvent) GetType ¶
func (x *OnChainEvent) GetType() OnChainEventType
func (*OnChainEvent) GetVersion ¶
func (x *OnChainEvent) GetVersion() uint32
func (*OnChainEvent) ProtoMessage ¶
func (*OnChainEvent) ProtoMessage()
func (*OnChainEvent) ProtoReflect ¶
func (x *OnChainEvent) ProtoReflect() protoreflect.Message
func (*OnChainEvent) Reset ¶
func (x *OnChainEvent) Reset()
func (*OnChainEvent) String ¶
func (x *OnChainEvent) String() string
type OnChainEventRequest ¶
type OnChainEventRequest struct { Fid uint64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` EventType OnChainEventType `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=OnChainEventType" json:"event_type,omitempty"` PageSize *uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` PageToken []byte `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` Reverse *bool `protobuf:"varint,5,opt,name=reverse,proto3,oneof" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*OnChainEventRequest) Descriptor
deprecated
func (*OnChainEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use OnChainEventRequest.ProtoReflect.Descriptor instead.
func (*OnChainEventRequest) GetEventType ¶
func (x *OnChainEventRequest) GetEventType() OnChainEventType
func (*OnChainEventRequest) GetFid ¶
func (x *OnChainEventRequest) GetFid() uint64
func (*OnChainEventRequest) GetPageSize ¶
func (x *OnChainEventRequest) GetPageSize() uint32
func (*OnChainEventRequest) GetPageToken ¶
func (x *OnChainEventRequest) GetPageToken() []byte
func (*OnChainEventRequest) GetReverse ¶
func (x *OnChainEventRequest) GetReverse() bool
func (*OnChainEventRequest) ProtoMessage ¶
func (*OnChainEventRequest) ProtoMessage()
func (*OnChainEventRequest) ProtoReflect ¶
func (x *OnChainEventRequest) ProtoReflect() protoreflect.Message
func (*OnChainEventRequest) Reset ¶
func (x *OnChainEventRequest) Reset()
func (*OnChainEventRequest) String ¶
func (x *OnChainEventRequest) String() string
type OnChainEventResponse ¶
type OnChainEventResponse struct { Events []*OnChainEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3,oneof" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*OnChainEventResponse) Descriptor
deprecated
func (*OnChainEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use OnChainEventResponse.ProtoReflect.Descriptor instead.
func (*OnChainEventResponse) GetEvents ¶
func (x *OnChainEventResponse) GetEvents() []*OnChainEvent
func (*OnChainEventResponse) GetNextPageToken ¶
func (x *OnChainEventResponse) GetNextPageToken() []byte
func (*OnChainEventResponse) ProtoMessage ¶
func (*OnChainEventResponse) ProtoMessage()
func (*OnChainEventResponse) ProtoReflect ¶
func (x *OnChainEventResponse) ProtoReflect() protoreflect.Message
func (*OnChainEventResponse) Reset ¶
func (x *OnChainEventResponse) Reset()
func (*OnChainEventResponse) String ¶
func (x *OnChainEventResponse) String() string
type OnChainEventType ¶
type OnChainEventType int32
const ( OnChainEventType_EVENT_TYPE_NONE OnChainEventType = 0 OnChainEventType_EVENT_TYPE_SIGNER OnChainEventType = 1 OnChainEventType_EVENT_TYPE_SIGNER_MIGRATED OnChainEventType = 2 OnChainEventType_EVENT_TYPE_ID_REGISTER OnChainEventType = 3 OnChainEventType_EVENT_TYPE_STORAGE_RENT OnChainEventType = 4 )
func (OnChainEventType) Descriptor ¶
func (OnChainEventType) Descriptor() protoreflect.EnumDescriptor
func (OnChainEventType) Enum ¶
func (x OnChainEventType) Enum() *OnChainEventType
func (OnChainEventType) EnumDescriptor
deprecated
func (OnChainEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OnChainEventType.Descriptor instead.
func (OnChainEventType) Number ¶
func (x OnChainEventType) Number() protoreflect.EnumNumber
func (OnChainEventType) String ¶
func (x OnChainEventType) String() string
func (OnChainEventType) Type ¶
func (OnChainEventType) Type() protoreflect.EnumType
type OnChainEvent_IdRegisterEventBody ¶
type OnChainEvent_IdRegisterEventBody struct {
IdRegisterEventBody *IdRegisterEventBody `protobuf:"bytes,11,opt,name=id_register_event_body,json=idRegisterEventBody,proto3,oneof"`
}
type OnChainEvent_SignerEventBody ¶
type OnChainEvent_SignerEventBody struct {
SignerEventBody *SignerEventBody `protobuf:"bytes,9,opt,name=signer_event_body,json=signerEventBody,proto3,oneof"`
}
type OnChainEvent_SignerMigratedEventBody ¶
type OnChainEvent_SignerMigratedEventBody struct {
SignerMigratedEventBody *SignerMigratedEventBody `protobuf:"bytes,10,opt,name=signer_migrated_event_body,json=signerMigratedEventBody,proto3,oneof"`
}
type OnChainEvent_StorageRentEventBody ¶
type OnChainEvent_StorageRentEventBody struct {
StorageRentEventBody *StorageRentEventBody `protobuf:"bytes,12,opt,name=storage_rent_event_body,json=storageRentEventBody,proto3,oneof"`
}
type PingMessageBody ¶
type PingMessageBody struct { PingOriginPeerId []byte `protobuf:"bytes,1,opt,name=ping_origin_peer_id,json=pingOriginPeerId,proto3" json:"ping_origin_peer_id,omitempty"` PingTimestamp uint64 `protobuf:"varint,2,opt,name=ping_timestamp,json=pingTimestamp,proto3" json:"ping_timestamp,omitempty"` // contains filtered or unexported fields }
func (*PingMessageBody) Descriptor
deprecated
func (*PingMessageBody) Descriptor() ([]byte, []int)
Deprecated: Use PingMessageBody.ProtoReflect.Descriptor instead.
func (*PingMessageBody) GetPingOriginPeerId ¶
func (x *PingMessageBody) GetPingOriginPeerId() []byte
func (*PingMessageBody) GetPingTimestamp ¶
func (x *PingMessageBody) GetPingTimestamp() uint64
func (*PingMessageBody) ProtoMessage ¶
func (*PingMessageBody) ProtoMessage()
func (*PingMessageBody) ProtoReflect ¶
func (x *PingMessageBody) ProtoReflect() protoreflect.Message
func (*PingMessageBody) Reset ¶
func (x *PingMessageBody) Reset()
func (*PingMessageBody) String ¶
func (x *PingMessageBody) String() string
type Protocol ¶
type Protocol int32
* Type of Protocol to disambiguate verification addresses
func (Protocol) Descriptor ¶
func (Protocol) Descriptor() protoreflect.EnumDescriptor
func (Protocol) EnumDescriptor
deprecated
func (Protocol) Number ¶
func (x Protocol) Number() protoreflect.EnumNumber
func (Protocol) Type ¶
func (Protocol) Type() protoreflect.EnumType
type PruneMessageBody ¶
type PruneMessageBody struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PruneMessageBody) Descriptor
deprecated
func (*PruneMessageBody) Descriptor() ([]byte, []int)
Deprecated: Use PruneMessageBody.ProtoReflect.Descriptor instead.
func (*PruneMessageBody) GetMessage ¶
func (x *PruneMessageBody) GetMessage() *Message
func (*PruneMessageBody) ProtoMessage ¶
func (*PruneMessageBody) ProtoMessage()
func (*PruneMessageBody) ProtoReflect ¶
func (x *PruneMessageBody) ProtoReflect() protoreflect.Message
func (*PruneMessageBody) Reset ¶
func (x *PruneMessageBody) Reset()
func (*PruneMessageBody) String ¶
func (x *PruneMessageBody) String() string
type ReactionBody ¶
type ReactionBody struct { Type ReactionType `protobuf:"varint,1,opt,name=type,proto3,enum=ReactionType" json:"type,omitempty"` // Type of reaction // Types that are assignable to Target: // // *ReactionBody_TargetCastId // *ReactionBody_TargetUrl Target isReactionBody_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
* Adds or removes a Reaction from a Cast
func (*ReactionBody) Descriptor
deprecated
func (*ReactionBody) Descriptor() ([]byte, []int)
Deprecated: Use ReactionBody.ProtoReflect.Descriptor instead.
func (*ReactionBody) GetTarget ¶
func (m *ReactionBody) GetTarget() isReactionBody_Target
func (*ReactionBody) GetTargetCastId ¶
func (x *ReactionBody) GetTargetCastId() *CastId
func (*ReactionBody) GetTargetUrl ¶
func (x *ReactionBody) GetTargetUrl() string
func (*ReactionBody) GetType ¶
func (x *ReactionBody) GetType() ReactionType
func (*ReactionBody) ProtoMessage ¶
func (*ReactionBody) ProtoMessage()
func (*ReactionBody) ProtoReflect ¶
func (x *ReactionBody) ProtoReflect() protoreflect.Message
func (*ReactionBody) Reset ¶
func (x *ReactionBody) Reset()
func (*ReactionBody) String ¶
func (x *ReactionBody) String() string
type ReactionBody_TargetCastId ¶
type ReactionBody_TargetCastId struct {
TargetCastId *CastId `protobuf:"bytes,2,opt,name=target_cast_id,json=targetCastId,proto3,oneof"` // CastId of the Cast to react to
}
type ReactionBody_TargetUrl ¶
type ReactionBody_TargetUrl struct {
TargetUrl string `protobuf:"bytes,3,opt,name=target_url,json=targetUrl,proto3,oneof"` // URL to react to
}
type ReactionRequest ¶
type ReactionRequest struct { Fid uint64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` ReactionType ReactionType `protobuf:"varint,2,opt,name=reaction_type,json=reactionType,proto3,enum=ReactionType" json:"reaction_type,omitempty"` // Types that are assignable to Target: // // *ReactionRequest_TargetCastId // *ReactionRequest_TargetUrl Target isReactionRequest_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
func (*ReactionRequest) Descriptor
deprecated
func (*ReactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReactionRequest.ProtoReflect.Descriptor instead.
func (*ReactionRequest) GetFid ¶
func (x *ReactionRequest) GetFid() uint64
func (*ReactionRequest) GetReactionType ¶
func (x *ReactionRequest) GetReactionType() ReactionType
func (*ReactionRequest) GetTarget ¶
func (m *ReactionRequest) GetTarget() isReactionRequest_Target
func (*ReactionRequest) GetTargetCastId ¶
func (x *ReactionRequest) GetTargetCastId() *CastId
func (*ReactionRequest) GetTargetUrl ¶
func (x *ReactionRequest) GetTargetUrl() string
func (*ReactionRequest) ProtoMessage ¶
func (*ReactionRequest) ProtoMessage()
func (*ReactionRequest) ProtoReflect ¶
func (x *ReactionRequest) ProtoReflect() protoreflect.Message
func (*ReactionRequest) Reset ¶
func (x *ReactionRequest) Reset()
func (*ReactionRequest) String ¶
func (x *ReactionRequest) String() string
type ReactionRequest_TargetCastId ¶
type ReactionRequest_TargetCastId struct {
TargetCastId *CastId `protobuf:"bytes,3,opt,name=target_cast_id,json=targetCastId,proto3,oneof"`
}
type ReactionRequest_TargetUrl ¶
type ReactionRequest_TargetUrl struct {
TargetUrl string `protobuf:"bytes,4,opt,name=target_url,json=targetUrl,proto3,oneof"`
}
type ReactionType ¶
type ReactionType int32
* Type of Reaction
const ( ReactionType_REACTION_TYPE_NONE ReactionType = 0 ReactionType_REACTION_TYPE_LIKE ReactionType = 1 // Like the target cast ReactionType_REACTION_TYPE_RECAST ReactionType = 2 // Share target cast to the user's audience )
func (ReactionType) Descriptor ¶
func (ReactionType) Descriptor() protoreflect.EnumDescriptor
func (ReactionType) Enum ¶
func (x ReactionType) Enum() *ReactionType
func (ReactionType) EnumDescriptor
deprecated
func (ReactionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReactionType.Descriptor instead.
func (ReactionType) Number ¶
func (x ReactionType) Number() protoreflect.EnumNumber
func (ReactionType) String ¶
func (x ReactionType) String() string
func (ReactionType) Type ¶
func (ReactionType) Type() protoreflect.EnumType
type ReactionsByFidRequest ¶
type ReactionsByFidRequest struct { Fid uint64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` ReactionType *ReactionType `protobuf:"varint,2,opt,name=reaction_type,json=reactionType,proto3,enum=ReactionType,oneof" json:"reaction_type,omitempty"` PageSize *uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` PageToken []byte `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` Reverse *bool `protobuf:"varint,5,opt,name=reverse,proto3,oneof" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ReactionsByFidRequest) Descriptor
deprecated
func (*ReactionsByFidRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReactionsByFidRequest.ProtoReflect.Descriptor instead.
func (*ReactionsByFidRequest) GetFid ¶
func (x *ReactionsByFidRequest) GetFid() uint64
func (*ReactionsByFidRequest) GetPageSize ¶
func (x *ReactionsByFidRequest) GetPageSize() uint32
func (*ReactionsByFidRequest) GetPageToken ¶
func (x *ReactionsByFidRequest) GetPageToken() []byte
func (*ReactionsByFidRequest) GetReactionType ¶
func (x *ReactionsByFidRequest) GetReactionType() ReactionType
func (*ReactionsByFidRequest) GetReverse ¶
func (x *ReactionsByFidRequest) GetReverse() bool
func (*ReactionsByFidRequest) ProtoMessage ¶
func (*ReactionsByFidRequest) ProtoMessage()
func (*ReactionsByFidRequest) ProtoReflect ¶
func (x *ReactionsByFidRequest) ProtoReflect() protoreflect.Message
func (*ReactionsByFidRequest) Reset ¶
func (x *ReactionsByFidRequest) Reset()
func (*ReactionsByFidRequest) String ¶
func (x *ReactionsByFidRequest) String() string
type ReactionsByTargetRequest ¶
type ReactionsByTargetRequest struct { // Types that are assignable to Target: // // *ReactionsByTargetRequest_TargetCastId // *ReactionsByTargetRequest_TargetUrl Target isReactionsByTargetRequest_Target `protobuf_oneof:"target"` ReactionType *ReactionType `protobuf:"varint,2,opt,name=reaction_type,json=reactionType,proto3,enum=ReactionType,oneof" json:"reaction_type,omitempty"` PageSize *uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"` PageToken []byte `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` Reverse *bool `protobuf:"varint,5,opt,name=reverse,proto3,oneof" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ReactionsByTargetRequest) Descriptor
deprecated
func (*ReactionsByTargetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReactionsByTargetRequest.ProtoReflect.Descriptor instead.
func (*ReactionsByTargetRequest) GetPageSize ¶
func (x *ReactionsByTargetRequest) GetPageSize() uint32
func (*ReactionsByTargetRequest) GetPageToken ¶
func (x *ReactionsByTargetRequest) GetPageToken() []byte
func (*ReactionsByTargetRequest) GetReactionType ¶
func (x *ReactionsByTargetRequest) GetReactionType() ReactionType
func (*ReactionsByTargetRequest) GetReverse ¶
func (x *ReactionsByTargetRequest) GetReverse() bool
func (*ReactionsByTargetRequest) GetTarget ¶
func (m *ReactionsByTargetRequest) GetTarget() isReactionsByTargetRequest_Target
func (*ReactionsByTargetRequest) GetTargetCastId ¶
func (x *ReactionsByTargetRequest) GetTargetCastId() *CastId
func (*ReactionsByTargetRequest) GetTargetUrl ¶
func (x *ReactionsByTargetRequest) GetTargetUrl() string
func (*ReactionsByTargetRequest) ProtoMessage ¶
func (*ReactionsByTargetRequest) ProtoMessage()
func (*ReactionsByTargetRequest) ProtoReflect ¶
func (x *ReactionsByTargetRequest) ProtoReflect() protoreflect.Message
func (*ReactionsByTargetRequest) Reset ¶
func (x *ReactionsByTargetRequest) Reset()
func (*ReactionsByTargetRequest) String ¶
func (x *ReactionsByTargetRequest) String() string
type ReactionsByTargetRequest_TargetCastId ¶
type ReactionsByTargetRequest_TargetCastId struct {
TargetCastId *CastId `protobuf:"bytes,1,opt,name=target_cast_id,json=targetCastId,proto3,oneof"`
}
type ReactionsByTargetRequest_TargetUrl ¶
type ReactionsByTargetRequest_TargetUrl struct {
TargetUrl string `protobuf:"bytes,6,opt,name=target_url,json=targetUrl,proto3,oneof"`
}
type RentRegistryEventsRequest ¶
type RentRegistryEventsRequest struct { Fid uint64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` // contains filtered or unexported fields }
func (*RentRegistryEventsRequest) Descriptor
deprecated
func (*RentRegistryEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RentRegistryEventsRequest.ProtoReflect.Descriptor instead.
func (*RentRegistryEventsRequest) GetFid ¶
func (x *RentRegistryEventsRequest) GetFid() uint64
func (*RentRegistryEventsRequest) ProtoMessage ¶
func (*RentRegistryEventsRequest) ProtoMessage()
func (*RentRegistryEventsRequest) ProtoReflect ¶
func (x *RentRegistryEventsRequest) ProtoReflect() protoreflect.Message
func (*RentRegistryEventsRequest) Reset ¶
func (x *RentRegistryEventsRequest) Reset()
func (*RentRegistryEventsRequest) String ¶
func (x *RentRegistryEventsRequest) String() string
type RevokeMessageBody ¶
type RevokeMessageBody struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*RevokeMessageBody) Descriptor
deprecated
func (*RevokeMessageBody) Descriptor() ([]byte, []int)
Deprecated: Use RevokeMessageBody.ProtoReflect.Descriptor instead.
func (*RevokeMessageBody) GetMessage ¶
func (x *RevokeMessageBody) GetMessage() *Message
func (*RevokeMessageBody) ProtoMessage ¶
func (*RevokeMessageBody) ProtoMessage()
func (*RevokeMessageBody) ProtoReflect ¶
func (x *RevokeMessageBody) ProtoReflect() protoreflect.Message
func (*RevokeMessageBody) Reset ¶
func (x *RevokeMessageBody) Reset()
func (*RevokeMessageBody) String ¶
func (x *RevokeMessageBody) String() string
type RevokeMessagesBySignerJobPayload ¶
type RevokeMessagesBySignerJobPayload struct { Fid uint32 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` Signer []byte `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` // contains filtered or unexported fields }
func (*RevokeMessagesBySignerJobPayload) Descriptor
deprecated
func (*RevokeMessagesBySignerJobPayload) Descriptor() ([]byte, []int)
Deprecated: Use RevokeMessagesBySignerJobPayload.ProtoReflect.Descriptor instead.
func (*RevokeMessagesBySignerJobPayload) GetFid ¶
func (x *RevokeMessagesBySignerJobPayload) GetFid() uint32
func (*RevokeMessagesBySignerJobPayload) GetSigner ¶
func (x *RevokeMessagesBySignerJobPayload) GetSigner() []byte
func (*RevokeMessagesBySignerJobPayload) ProtoMessage ¶
func (*RevokeMessagesBySignerJobPayload) ProtoMessage()
func (*RevokeMessagesBySignerJobPayload) ProtoReflect ¶
func (x *RevokeMessagesBySignerJobPayload) ProtoReflect() protoreflect.Message
func (*RevokeMessagesBySignerJobPayload) Reset ¶
func (x *RevokeMessagesBySignerJobPayload) Reset()
func (*RevokeMessagesBySignerJobPayload) String ¶
func (x *RevokeMessagesBySignerJobPayload) String() string
type SignatureScheme ¶
type SignatureScheme int32
* Type of signature scheme used to sign the Message hash
const ( SignatureScheme_SIGNATURE_SCHEME_NONE SignatureScheme = 0 SignatureScheme_SIGNATURE_SCHEME_ED25519 SignatureScheme = 1 // Ed25519 signature (default) SignatureScheme_SIGNATURE_SCHEME_EIP712 SignatureScheme = 2 // ECDSA signature using EIP-712 scheme )
func (SignatureScheme) Descriptor ¶
func (SignatureScheme) Descriptor() protoreflect.EnumDescriptor
func (SignatureScheme) Enum ¶
func (x SignatureScheme) Enum() *SignatureScheme
func (SignatureScheme) EnumDescriptor
deprecated
func (SignatureScheme) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignatureScheme.Descriptor instead.
func (SignatureScheme) Number ¶
func (x SignatureScheme) Number() protoreflect.EnumNumber
func (SignatureScheme) String ¶
func (x SignatureScheme) String() string
func (SignatureScheme) Type ¶
func (SignatureScheme) Type() protoreflect.EnumType
type SignerEventBody ¶
type SignerEventBody struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` KeyType uint32 `protobuf:"varint,2,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"` EventType SignerEventType `protobuf:"varint,3,opt,name=event_type,json=eventType,proto3,enum=SignerEventType" json:"event_type,omitempty"` Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` MetadataType uint32 `protobuf:"varint,5,opt,name=metadata_type,json=metadataType,proto3" json:"metadata_type,omitempty"` // contains filtered or unexported fields }
func (*SignerEventBody) Descriptor
deprecated
func (*SignerEventBody) Descriptor() ([]byte, []int)
Deprecated: Use SignerEventBody.ProtoReflect.Descriptor instead.
func (*SignerEventBody) GetEventType ¶
func (x *SignerEventBody) GetEventType() SignerEventType
func (*SignerEventBody) GetKey ¶
func (x *SignerEventBody) GetKey() []byte
func (*SignerEventBody) GetKeyType ¶
func (x *SignerEventBody) GetKeyType() uint32
func (*SignerEventBody) GetMetadata ¶
func (x *SignerEventBody) GetMetadata() []byte
func (*SignerEventBody) GetMetadataType ¶
func (x *SignerEventBody) GetMetadataType() uint32
func (*SignerEventBody) ProtoMessage ¶
func (*SignerEventBody) ProtoMessage()
func (*SignerEventBody) ProtoReflect ¶
func (x *SignerEventBody) ProtoReflect() protoreflect.Message
func (*SignerEventBody) Reset ¶
func (x *SignerEventBody) Reset()
func (*SignerEventBody) String ¶
func (x *SignerEventBody) String() string
type SignerEventType ¶
type SignerEventType int32
const ( SignerEventType_SIGNER_EVENT_TYPE_NONE SignerEventType = 0 SignerEventType_SIGNER_EVENT_TYPE_ADD SignerEventType = 1 SignerEventType_SIGNER_EVENT_TYPE_REMOVE SignerEventType = 2 SignerEventType_SIGNER_EVENT_TYPE_ADMIN_RESET SignerEventType = 3 )
func (SignerEventType) Descriptor ¶
func (SignerEventType) Descriptor() protoreflect.EnumDescriptor
func (SignerEventType) Enum ¶
func (x SignerEventType) Enum() *SignerEventType
func (SignerEventType) EnumDescriptor
deprecated
func (SignerEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignerEventType.Descriptor instead.
func (SignerEventType) Number ¶
func (x SignerEventType) Number() protoreflect.EnumNumber
func (SignerEventType) String ¶
func (x SignerEventType) String() string
func (SignerEventType) Type ¶
func (SignerEventType) Type() protoreflect.EnumType
type SignerMigratedEventBody ¶
type SignerMigratedEventBody struct { MigratedAt uint32 `protobuf:"varint,1,opt,name=migratedAt,proto3" json:"migratedAt,omitempty"` // contains filtered or unexported fields }
func (*SignerMigratedEventBody) Descriptor
deprecated
func (*SignerMigratedEventBody) Descriptor() ([]byte, []int)
Deprecated: Use SignerMigratedEventBody.ProtoReflect.Descriptor instead.
func (*SignerMigratedEventBody) GetMigratedAt ¶
func (x *SignerMigratedEventBody) GetMigratedAt() uint32
func (*SignerMigratedEventBody) ProtoMessage ¶
func (*SignerMigratedEventBody) ProtoMessage()
func (*SignerMigratedEventBody) ProtoReflect ¶
func (x *SignerMigratedEventBody) ProtoReflect() protoreflect.Message
func (*SignerMigratedEventBody) Reset ¶
func (x *SignerMigratedEventBody) Reset()
func (*SignerMigratedEventBody) String ¶
func (x *SignerMigratedEventBody) String() string
type SignerRequest ¶
type SignerRequest struct { Fid uint64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` Signer []byte `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` // contains filtered or unexported fields }
func (*SignerRequest) Descriptor
deprecated
func (*SignerRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignerRequest.ProtoReflect.Descriptor instead.
func (*SignerRequest) GetFid ¶
func (x *SignerRequest) GetFid() uint64
func (*SignerRequest) GetSigner ¶
func (x *SignerRequest) GetSigner() []byte
func (*SignerRequest) ProtoMessage ¶
func (*SignerRequest) ProtoMessage()
func (*SignerRequest) ProtoReflect ¶
func (x *SignerRequest) ProtoReflect() protoreflect.Message
func (*SignerRequest) Reset ¶
func (x *SignerRequest) Reset()
func (*SignerRequest) String ¶
func (x *SignerRequest) String() string
type StorageLimit ¶
type StorageLimit struct { StoreType StoreType `protobuf:"varint,1,opt,name=store_type,json=storeType,proto3,enum=StoreType" json:"store_type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Used uint64 `protobuf:"varint,4,opt,name=used,proto3" json:"used,omitempty"` EarliestTimestamp uint64 `protobuf:"varint,5,opt,name=earliestTimestamp,proto3" json:"earliestTimestamp,omitempty"` EarliestHash []byte `protobuf:"bytes,6,opt,name=earliestHash,proto3" json:"earliestHash,omitempty"` // contains filtered or unexported fields }
func (*StorageLimit) Descriptor
deprecated
func (*StorageLimit) Descriptor() ([]byte, []int)
Deprecated: Use StorageLimit.ProtoReflect.Descriptor instead.
func (*StorageLimit) GetEarliestHash ¶
func (x *StorageLimit) GetEarliestHash() []byte
func (*StorageLimit) GetEarliestTimestamp ¶
func (x *StorageLimit) GetEarliestTimestamp() uint64
func (*StorageLimit) GetLimit ¶
func (x *StorageLimit) GetLimit() uint64
func (*StorageLimit) GetName ¶
func (x *StorageLimit) GetName() string
func (*StorageLimit) GetStoreType ¶
func (x *StorageLimit) GetStoreType() StoreType
func (*StorageLimit) GetUsed ¶
func (x *StorageLimit) GetUsed() uint64
func (*StorageLimit) ProtoMessage ¶
func (*StorageLimit) ProtoMessage()
func (*StorageLimit) ProtoReflect ¶
func (x *StorageLimit) ProtoReflect() protoreflect.Message
func (*StorageLimit) Reset ¶
func (x *StorageLimit) Reset()
func (*StorageLimit) String ¶
func (x *StorageLimit) String() string
type StorageLimitsResponse ¶
type StorageLimitsResponse struct { Limits []*StorageLimit `protobuf:"bytes,1,rep,name=limits,proto3" json:"limits,omitempty"` Units uint32 `protobuf:"varint,2,opt,name=units,proto3" json:"units,omitempty"` // contains filtered or unexported fields }
func (*StorageLimitsResponse) Descriptor
deprecated
func (*StorageLimitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StorageLimitsResponse.ProtoReflect.Descriptor instead.
func (*StorageLimitsResponse) GetLimits ¶
func (x *StorageLimitsResponse) GetLimits() []*StorageLimit
func (*StorageLimitsResponse) GetUnits ¶
func (x *StorageLimitsResponse) GetUnits() uint32
func (*StorageLimitsResponse) ProtoMessage ¶
func (*StorageLimitsResponse) ProtoMessage()
func (*StorageLimitsResponse) ProtoReflect ¶
func (x *StorageLimitsResponse) ProtoReflect() protoreflect.Message
func (*StorageLimitsResponse) Reset ¶
func (x *StorageLimitsResponse) Reset()
func (*StorageLimitsResponse) String ¶
func (x *StorageLimitsResponse) String() string
type StorageRentEventBody ¶
type StorageRentEventBody struct { Payer []byte `protobuf:"bytes,1,opt,name=payer,proto3" json:"payer,omitempty"` Units uint32 `protobuf:"varint,2,opt,name=units,proto3" json:"units,omitempty"` Expiry uint32 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
func (*StorageRentEventBody) Descriptor
deprecated
func (*StorageRentEventBody) Descriptor() ([]byte, []int)
Deprecated: Use StorageRentEventBody.ProtoReflect.Descriptor instead.
func (*StorageRentEventBody) GetExpiry ¶
func (x *StorageRentEventBody) GetExpiry() uint32
func (*StorageRentEventBody) GetPayer ¶
func (x *StorageRentEventBody) GetPayer() []byte
func (*StorageRentEventBody) GetUnits ¶
func (x *StorageRentEventBody) GetUnits() uint32
func (*StorageRentEventBody) ProtoMessage ¶
func (*StorageRentEventBody) ProtoMessage()
func (*StorageRentEventBody) ProtoReflect ¶
func (x *StorageRentEventBody) ProtoReflect() protoreflect.Message
func (*StorageRentEventBody) Reset ¶
func (x *StorageRentEventBody) Reset()
func (*StorageRentEventBody) String ¶
func (x *StorageRentEventBody) String() string
type StoreType ¶
type StoreType int32
const ( StoreType_STORE_TYPE_NONE StoreType = 0 StoreType_STORE_TYPE_CASTS StoreType = 1 StoreType_STORE_TYPE_LINKS StoreType = 2 StoreType_STORE_TYPE_REACTIONS StoreType = 3 StoreType_STORE_TYPE_USER_DATA StoreType = 4 StoreType_STORE_TYPE_VERIFICATIONS StoreType = 5 StoreType_STORE_TYPE_USERNAME_PROOFS StoreType = 6 )
func (StoreType) Descriptor ¶
func (StoreType) Descriptor() protoreflect.EnumDescriptor
func (StoreType) EnumDescriptor
deprecated
func (StoreType) Number ¶
func (x StoreType) Number() protoreflect.EnumNumber
func (StoreType) Type ¶
func (StoreType) Type() protoreflect.EnumType
type SubscribeRequest ¶
type SubscribeRequest struct { EventTypes []HubEventType `protobuf:"varint,1,rep,packed,name=event_types,json=eventTypes,proto3,enum=HubEventType" json:"event_types,omitempty"` FromId *uint64 `protobuf:"varint,2,opt,name=from_id,json=fromId,proto3,oneof" json:"from_id,omitempty"` TotalShards *uint64 `protobuf:"varint,3,opt,name=total_shards,json=totalShards,proto3,oneof" json:"total_shards,omitempty"` ShardIndex *uint64 `protobuf:"varint,4,opt,name=shard_index,json=shardIndex,proto3,oneof" json:"shard_index,omitempty"` // contains filtered or unexported fields }
func (*SubscribeRequest) Descriptor
deprecated
func (*SubscribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
func (*SubscribeRequest) GetEventTypes ¶
func (x *SubscribeRequest) GetEventTypes() []HubEventType
func (*SubscribeRequest) GetFromId ¶
func (x *SubscribeRequest) GetFromId() uint64
func (*SubscribeRequest) GetShardIndex ¶
func (x *SubscribeRequest) GetShardIndex() uint64
func (*SubscribeRequest) GetTotalShards ¶
func (x *SubscribeRequest) GetTotalShards() uint64
func (*SubscribeRequest) ProtoMessage ¶
func (*SubscribeRequest) ProtoMessage()
func (*SubscribeRequest) ProtoReflect ¶
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message
func (*SubscribeRequest) Reset ¶
func (x *SubscribeRequest) Reset()
func (*SubscribeRequest) String ¶
func (x *SubscribeRequest) String() string
type SyncIds ¶
type SyncIds struct { SyncIds [][]byte `protobuf:"bytes,1,rep,name=sync_ids,json=syncIds,proto3" json:"sync_ids,omitempty"` // contains filtered or unexported fields }
func (*SyncIds) Descriptor
deprecated
func (*SyncIds) GetSyncIds ¶
func (*SyncIds) ProtoMessage ¶
func (*SyncIds) ProtoMessage()
func (*SyncIds) ProtoReflect ¶
func (x *SyncIds) ProtoReflect() protoreflect.Message
type SyncStatus ¶
type SyncStatus struct { PeerId string `protobuf:"bytes,1,opt,name=peerId,proto3" json:"peerId,omitempty"` InSync string `protobuf:"bytes,2,opt,name=inSync,proto3" json:"inSync,omitempty"` ShouldSync bool `protobuf:"varint,3,opt,name=shouldSync,proto3" json:"shouldSync,omitempty"` DivergencePrefix string `protobuf:"bytes,4,opt,name=divergencePrefix,proto3" json:"divergencePrefix,omitempty"` DivergenceSecondsAgo int32 `protobuf:"varint,5,opt,name=divergenceSecondsAgo,proto3" json:"divergenceSecondsAgo,omitempty"` TheirMessages uint64 `protobuf:"varint,6,opt,name=theirMessages,proto3" json:"theirMessages,omitempty"` OurMessages uint64 `protobuf:"varint,7,opt,name=ourMessages,proto3" json:"ourMessages,omitempty"` LastBadSync int64 `protobuf:"varint,8,opt,name=lastBadSync,proto3" json:"lastBadSync,omitempty"` Score int64 `protobuf:"varint,9,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
func (*SyncStatus) Descriptor
deprecated
func (*SyncStatus) Descriptor() ([]byte, []int)
Deprecated: Use SyncStatus.ProtoReflect.Descriptor instead.
func (*SyncStatus) GetDivergencePrefix ¶
func (x *SyncStatus) GetDivergencePrefix() string
func (*SyncStatus) GetDivergenceSecondsAgo ¶
func (x *SyncStatus) GetDivergenceSecondsAgo() int32
func (*SyncStatus) GetInSync ¶
func (x *SyncStatus) GetInSync() string
func (*SyncStatus) GetLastBadSync ¶
func (x *SyncStatus) GetLastBadSync() int64
func (*SyncStatus) GetOurMessages ¶
func (x *SyncStatus) GetOurMessages() uint64
func (*SyncStatus) GetPeerId ¶
func (x *SyncStatus) GetPeerId() string
func (*SyncStatus) GetScore ¶
func (x *SyncStatus) GetScore() int64
func (*SyncStatus) GetShouldSync ¶
func (x *SyncStatus) GetShouldSync() bool
func (*SyncStatus) GetTheirMessages ¶
func (x *SyncStatus) GetTheirMessages() uint64
func (*SyncStatus) ProtoMessage ¶
func (*SyncStatus) ProtoMessage()
func (*SyncStatus) ProtoReflect ¶
func (x *SyncStatus) ProtoReflect() protoreflect.Message
func (*SyncStatus) Reset ¶
func (x *SyncStatus) Reset()
func (*SyncStatus) String ¶
func (x *SyncStatus) String() string
type SyncStatusRequest ¶
type SyncStatusRequest struct { PeerId *string `protobuf:"bytes,1,opt,name=peerId,proto3,oneof" json:"peerId,omitempty"` // contains filtered or unexported fields }
func (*SyncStatusRequest) Descriptor
deprecated
func (*SyncStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncStatusRequest.ProtoReflect.Descriptor instead.
func (*SyncStatusRequest) GetPeerId ¶
func (x *SyncStatusRequest) GetPeerId() string
func (*SyncStatusRequest) ProtoMessage ¶
func (*SyncStatusRequest) ProtoMessage()
func (*SyncStatusRequest) ProtoReflect ¶
func (x *SyncStatusRequest) ProtoReflect() protoreflect.Message
func (*SyncStatusRequest) Reset ¶
func (x *SyncStatusRequest) Reset()
func (*SyncStatusRequest) String ¶
func (x *SyncStatusRequest) String() string
type SyncStatusResponse ¶
type SyncStatusResponse struct { IsSyncing bool `protobuf:"varint,1,opt,name=is_syncing,json=isSyncing,proto3" json:"is_syncing,omitempty"` SyncStatus []*SyncStatus `protobuf:"bytes,2,rep,name=sync_status,json=syncStatus,proto3" json:"sync_status,omitempty"` EngineStarted bool `protobuf:"varint,3,opt,name=engine_started,json=engineStarted,proto3" json:"engine_started,omitempty"` // contains filtered or unexported fields }
func (*SyncStatusResponse) Descriptor
deprecated
func (*SyncStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncStatusResponse.ProtoReflect.Descriptor instead.
func (*SyncStatusResponse) GetEngineStarted ¶
func (x *SyncStatusResponse) GetEngineStarted() bool
func (*SyncStatusResponse) GetIsSyncing ¶
func (x *SyncStatusResponse) GetIsSyncing() bool
func (*SyncStatusResponse) GetSyncStatus ¶
func (x *SyncStatusResponse) GetSyncStatus() []*SyncStatus
func (*SyncStatusResponse) ProtoMessage ¶
func (*SyncStatusResponse) ProtoMessage()
func (*SyncStatusResponse) ProtoReflect ¶
func (x *SyncStatusResponse) ProtoReflect() protoreflect.Message
func (*SyncStatusResponse) Reset ¶
func (x *SyncStatusResponse) Reset()
func (*SyncStatusResponse) String ¶
func (x *SyncStatusResponse) String() string
type TrieNodeMetadataResponse ¶
type TrieNodeMetadataResponse struct { Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` NumMessages uint64 `protobuf:"varint,2,opt,name=num_messages,json=numMessages,proto3" json:"num_messages,omitempty"` Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` Children []*TrieNodeMetadataResponse `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*TrieNodeMetadataResponse) Descriptor
deprecated
func (*TrieNodeMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use TrieNodeMetadataResponse.ProtoReflect.Descriptor instead.
func (*TrieNodeMetadataResponse) GetChildren ¶
func (x *TrieNodeMetadataResponse) GetChildren() []*TrieNodeMetadataResponse
func (*TrieNodeMetadataResponse) GetHash ¶
func (x *TrieNodeMetadataResponse) GetHash() string
func (*TrieNodeMetadataResponse) GetNumMessages ¶
func (x *TrieNodeMetadataResponse) GetNumMessages() uint64
func (*TrieNodeMetadataResponse) GetPrefix ¶
func (x *TrieNodeMetadataResponse) GetPrefix() []byte
func (*TrieNodeMetadataResponse) ProtoMessage ¶
func (*TrieNodeMetadataResponse) ProtoMessage()
func (*TrieNodeMetadataResponse) ProtoReflect ¶
func (x *TrieNodeMetadataResponse) ProtoReflect() protoreflect.Message
func (*TrieNodeMetadataResponse) Reset ¶
func (x *TrieNodeMetadataResponse) Reset()
func (*TrieNodeMetadataResponse) String ¶
func (x *TrieNodeMetadataResponse) String() string
type TrieNodePrefix ¶
type TrieNodePrefix struct { Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*TrieNodePrefix) Descriptor
deprecated
func (*TrieNodePrefix) Descriptor() ([]byte, []int)
Deprecated: Use TrieNodePrefix.ProtoReflect.Descriptor instead.
func (*TrieNodePrefix) GetPrefix ¶
func (x *TrieNodePrefix) GetPrefix() []byte
func (*TrieNodePrefix) ProtoMessage ¶
func (*TrieNodePrefix) ProtoMessage()
func (*TrieNodePrefix) ProtoReflect ¶
func (x *TrieNodePrefix) ProtoReflect() protoreflect.Message
func (*TrieNodePrefix) Reset ¶
func (x *TrieNodePrefix) Reset()
func (*TrieNodePrefix) String ¶
func (x *TrieNodePrefix) String() string
type TrieNodeSnapshotResponse ¶
type TrieNodeSnapshotResponse struct { Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` ExcludedHashes []string `protobuf:"bytes,2,rep,name=excluded_hashes,json=excludedHashes,proto3" json:"excluded_hashes,omitempty"` NumMessages uint64 `protobuf:"varint,3,opt,name=num_messages,json=numMessages,proto3" json:"num_messages,omitempty"` RootHash string `protobuf:"bytes,4,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` // contains filtered or unexported fields }
func (*TrieNodeSnapshotResponse) Descriptor
deprecated
func (*TrieNodeSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use TrieNodeSnapshotResponse.ProtoReflect.Descriptor instead.
func (*TrieNodeSnapshotResponse) GetExcludedHashes ¶
func (x *TrieNodeSnapshotResponse) GetExcludedHashes() []string
func (*TrieNodeSnapshotResponse) GetNumMessages ¶
func (x *TrieNodeSnapshotResponse) GetNumMessages() uint64
func (*TrieNodeSnapshotResponse) GetPrefix ¶
func (x *TrieNodeSnapshotResponse) GetPrefix() []byte
func (*TrieNodeSnapshotResponse) GetRootHash ¶
func (x *TrieNodeSnapshotResponse) GetRootHash() string
func (*TrieNodeSnapshotResponse) ProtoMessage ¶
func (*TrieNodeSnapshotResponse) ProtoMessage()
func (*TrieNodeSnapshotResponse) ProtoReflect ¶
func (x *TrieNodeSnapshotResponse) ProtoReflect() protoreflect.Message
func (*TrieNodeSnapshotResponse) Reset ¶
func (x *TrieNodeSnapshotResponse) Reset()
func (*TrieNodeSnapshotResponse) String ¶
func (x *TrieNodeSnapshotResponse) String() string
type UnimplementedAdminServiceServer ¶
type UnimplementedAdminServiceServer struct{}
UnimplementedAdminServiceServer 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 (UnimplementedAdminServiceServer) DeleteAllMessagesFromDb ¶
func (UnimplementedAdminServiceServer) RebuildSyncTrie ¶
func (UnimplementedAdminServiceServer) SubmitOnChainEvent ¶
func (UnimplementedAdminServiceServer) SubmitOnChainEvent(context.Context, *OnChainEvent) (*OnChainEvent, error)
type UnimplementedHubServiceServer ¶
type UnimplementedHubServiceServer struct{}
UnimplementedHubServiceServer 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 (UnimplementedHubServiceServer) ForceSync ¶
func (UnimplementedHubServiceServer) ForceSync(context.Context, *SyncStatusRequest) (*SyncStatusResponse, error)
func (UnimplementedHubServiceServer) GetAllCastMessagesByFid ¶
func (UnimplementedHubServiceServer) GetAllCastMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetAllLinkMessagesByFid ¶
func (UnimplementedHubServiceServer) GetAllLinkMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetAllMessagesBySyncIds ¶
func (UnimplementedHubServiceServer) GetAllMessagesBySyncIds(context.Context, *SyncIds) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetAllReactionMessagesByFid ¶
func (UnimplementedHubServiceServer) GetAllReactionMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetAllSyncIdsByPrefix ¶
func (UnimplementedHubServiceServer) GetAllSyncIdsByPrefix(context.Context, *TrieNodePrefix) (*SyncIds, error)
func (UnimplementedHubServiceServer) GetAllUserDataMessagesByFid ¶
func (UnimplementedHubServiceServer) GetAllUserDataMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetAllVerificationMessagesByFid ¶
func (UnimplementedHubServiceServer) GetAllVerificationMessagesByFid(context.Context, *FidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetCastsByFid ¶
func (UnimplementedHubServiceServer) GetCastsByFid(context.Context, *FidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetCastsByMention ¶
func (UnimplementedHubServiceServer) GetCastsByMention(context.Context, *FidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetCastsByParent ¶
func (UnimplementedHubServiceServer) GetCastsByParent(context.Context, *CastsByParentRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetCurrentPeers ¶
func (UnimplementedHubServiceServer) GetCurrentPeers(context.Context, *Empty) (*ContactInfoResponse, error)
func (UnimplementedHubServiceServer) GetCurrentStorageLimitsByFid ¶
func (UnimplementedHubServiceServer) GetCurrentStorageLimitsByFid(context.Context, *FidRequest) (*StorageLimitsResponse, error)
func (UnimplementedHubServiceServer) GetEvent ¶
func (UnimplementedHubServiceServer) GetEvent(context.Context, *EventRequest) (*HubEvent, error)
func (UnimplementedHubServiceServer) GetFids ¶
func (UnimplementedHubServiceServer) GetFids(context.Context, *FidsRequest) (*FidsResponse, error)
func (UnimplementedHubServiceServer) GetIdRegistryOnChainEvent ¶
func (UnimplementedHubServiceServer) GetIdRegistryOnChainEvent(context.Context, *FidRequest) (*OnChainEvent, error)
func (UnimplementedHubServiceServer) GetIdRegistryOnChainEventByAddress ¶
func (UnimplementedHubServiceServer) GetIdRegistryOnChainEventByAddress(context.Context, *IdRegistryEventByAddressRequest) (*OnChainEvent, error)
func (UnimplementedHubServiceServer) GetInfo ¶
func (UnimplementedHubServiceServer) GetInfo(context.Context, *HubInfoRequest) (*HubInfoResponse, error)
func (UnimplementedHubServiceServer) GetLink ¶
func (UnimplementedHubServiceServer) GetLink(context.Context, *LinkRequest) (*Message, error)
func (UnimplementedHubServiceServer) GetLinkCompactStateMessageByFid ¶
func (UnimplementedHubServiceServer) GetLinkCompactStateMessageByFid(context.Context, *FidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetLinksByFid ¶
func (UnimplementedHubServiceServer) GetLinksByFid(context.Context, *LinksByFidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetLinksByTarget ¶
func (UnimplementedHubServiceServer) GetLinksByTarget(context.Context, *LinksByTargetRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetOnChainEvents ¶
func (UnimplementedHubServiceServer) GetOnChainEvents(context.Context, *OnChainEventRequest) (*OnChainEventResponse, error)
func (UnimplementedHubServiceServer) GetOnChainSigner ¶
func (UnimplementedHubServiceServer) GetOnChainSigner(context.Context, *SignerRequest) (*OnChainEvent, error)
func (UnimplementedHubServiceServer) GetOnChainSignersByFid ¶
func (UnimplementedHubServiceServer) GetOnChainSignersByFid(context.Context, *FidRequest) (*OnChainEventResponse, error)
func (UnimplementedHubServiceServer) GetReaction ¶
func (UnimplementedHubServiceServer) GetReaction(context.Context, *ReactionRequest) (*Message, error)
func (UnimplementedHubServiceServer) GetReactionsByCast ¶
func (UnimplementedHubServiceServer) GetReactionsByCast(context.Context, *ReactionsByTargetRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetReactionsByFid ¶
func (UnimplementedHubServiceServer) GetReactionsByFid(context.Context, *ReactionsByFidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetReactionsByTarget ¶
func (UnimplementedHubServiceServer) GetReactionsByTarget(context.Context, *ReactionsByTargetRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetSyncMetadataByPrefix ¶
func (UnimplementedHubServiceServer) GetSyncMetadataByPrefix(context.Context, *TrieNodePrefix) (*TrieNodeMetadataResponse, error)
func (UnimplementedHubServiceServer) GetSyncSnapshotByPrefix ¶
func (UnimplementedHubServiceServer) GetSyncSnapshotByPrefix(context.Context, *TrieNodePrefix) (*TrieNodeSnapshotResponse, error)
func (UnimplementedHubServiceServer) GetSyncStatus ¶
func (UnimplementedHubServiceServer) GetSyncStatus(context.Context, *SyncStatusRequest) (*SyncStatusResponse, error)
func (UnimplementedHubServiceServer) GetUserData ¶
func (UnimplementedHubServiceServer) GetUserData(context.Context, *UserDataRequest) (*Message, error)
func (UnimplementedHubServiceServer) GetUserDataByFid ¶
func (UnimplementedHubServiceServer) GetUserDataByFid(context.Context, *FidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) GetUserNameProofsByFid ¶
func (UnimplementedHubServiceServer) GetUserNameProofsByFid(context.Context, *FidRequest) (*UsernameProofsResponse, error)
func (UnimplementedHubServiceServer) GetUsernameProof ¶
func (UnimplementedHubServiceServer) GetUsernameProof(context.Context, *UsernameProofRequest) (*UserNameProof, error)
func (UnimplementedHubServiceServer) GetVerification ¶
func (UnimplementedHubServiceServer) GetVerification(context.Context, *VerificationRequest) (*Message, error)
func (UnimplementedHubServiceServer) GetVerificationsByFid ¶
func (UnimplementedHubServiceServer) GetVerificationsByFid(context.Context, *FidRequest) (*MessagesResponse, error)
func (UnimplementedHubServiceServer) StopSync ¶
func (UnimplementedHubServiceServer) StopSync(context.Context, *Empty) (*SyncStatusResponse, error)
func (UnimplementedHubServiceServer) SubmitMessage ¶
func (UnimplementedHubServiceServer) Subscribe ¶
func (UnimplementedHubServiceServer) Subscribe(*SubscribeRequest, grpc.ServerStreamingServer[HubEvent]) error
func (UnimplementedHubServiceServer) ValidateMessage ¶
func (UnimplementedHubServiceServer) ValidateMessage(context.Context, *Message) (*ValidationResponse, error)
type UnsafeAdminServiceServer ¶
type UnsafeAdminServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServiceServer will result in compilation errors.
type UnsafeHubServiceServer ¶
type UnsafeHubServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHubServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HubServiceServer will result in compilation errors.
type UpdateNameRegistryEventExpiryJobPayload ¶
type UpdateNameRegistryEventExpiryJobPayload struct { Fname []byte `protobuf:"bytes,1,opt,name=fname,proto3" json:"fname,omitempty"` // contains filtered or unexported fields }
func (*UpdateNameRegistryEventExpiryJobPayload) Descriptor
deprecated
func (*UpdateNameRegistryEventExpiryJobPayload) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNameRegistryEventExpiryJobPayload.ProtoReflect.Descriptor instead.
func (*UpdateNameRegistryEventExpiryJobPayload) GetFname ¶
func (x *UpdateNameRegistryEventExpiryJobPayload) GetFname() []byte
func (*UpdateNameRegistryEventExpiryJobPayload) ProtoMessage ¶
func (*UpdateNameRegistryEventExpiryJobPayload) ProtoMessage()
func (*UpdateNameRegistryEventExpiryJobPayload) ProtoReflect ¶
func (x *UpdateNameRegistryEventExpiryJobPayload) ProtoReflect() protoreflect.Message
func (*UpdateNameRegistryEventExpiryJobPayload) Reset ¶
func (x *UpdateNameRegistryEventExpiryJobPayload) Reset()
func (*UpdateNameRegistryEventExpiryJobPayload) String ¶
func (x *UpdateNameRegistryEventExpiryJobPayload) String() string
type UserDataBody ¶
type UserDataBody struct { Type UserDataType `protobuf:"varint,1,opt,name=type,proto3,enum=UserDataType" json:"type,omitempty"` // Type of metadata Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Value of the metadata // contains filtered or unexported fields }
* Adds metadata about a user
func (*UserDataBody) Descriptor
deprecated
func (*UserDataBody) Descriptor() ([]byte, []int)
Deprecated: Use UserDataBody.ProtoReflect.Descriptor instead.
func (*UserDataBody) GetType ¶
func (x *UserDataBody) GetType() UserDataType
func (*UserDataBody) GetValue ¶
func (x *UserDataBody) GetValue() string
func (*UserDataBody) ProtoMessage ¶
func (*UserDataBody) ProtoMessage()
func (*UserDataBody) ProtoReflect ¶
func (x *UserDataBody) ProtoReflect() protoreflect.Message
func (*UserDataBody) Reset ¶
func (x *UserDataBody) Reset()
func (*UserDataBody) String ¶
func (x *UserDataBody) String() string
type UserDataRequest ¶
type UserDataRequest struct { Fid uint64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` UserDataType UserDataType `protobuf:"varint,2,opt,name=user_data_type,json=userDataType,proto3,enum=UserDataType" json:"user_data_type,omitempty"` // contains filtered or unexported fields }
func (*UserDataRequest) Descriptor
deprecated
func (*UserDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserDataRequest.ProtoReflect.Descriptor instead.
func (*UserDataRequest) GetFid ¶
func (x *UserDataRequest) GetFid() uint64
func (*UserDataRequest) GetUserDataType ¶
func (x *UserDataRequest) GetUserDataType() UserDataType
func (*UserDataRequest) ProtoMessage ¶
func (*UserDataRequest) ProtoMessage()
func (*UserDataRequest) ProtoReflect ¶
func (x *UserDataRequest) ProtoReflect() protoreflect.Message
func (*UserDataRequest) Reset ¶
func (x *UserDataRequest) Reset()
func (*UserDataRequest) String ¶
func (x *UserDataRequest) String() string
type UserDataType ¶
type UserDataType int32
* Type of UserData
const ( UserDataType_USER_DATA_TYPE_NONE UserDataType = 0 UserDataType_USER_DATA_TYPE_PFP UserDataType = 1 // Profile Picture for the user UserDataType_USER_DATA_TYPE_DISPLAY UserDataType = 2 // Display Name for the user UserDataType_USER_DATA_TYPE_BIO UserDataType = 3 // Bio for the user UserDataType_USER_DATA_TYPE_URL UserDataType = 5 // URL of the user UserDataType_USER_DATA_TYPE_USERNAME UserDataType = 6 // Preferred Name for the user )
func (UserDataType) Descriptor ¶
func (UserDataType) Descriptor() protoreflect.EnumDescriptor
func (UserDataType) Enum ¶
func (x UserDataType) Enum() *UserDataType
func (UserDataType) EnumDescriptor
deprecated
func (UserDataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserDataType.Descriptor instead.
func (UserDataType) Number ¶
func (x UserDataType) Number() protoreflect.EnumNumber
func (UserDataType) String ¶
func (x UserDataType) String() string
func (UserDataType) Type ¶
func (UserDataType) Type() protoreflect.EnumType
type UserNameProof ¶
type UserNameProof struct { Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Owner []byte `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` Fid uint64 `protobuf:"varint,5,opt,name=fid,proto3" json:"fid,omitempty"` Type UserNameType `protobuf:"varint,6,opt,name=type,proto3,enum=UserNameType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*UserNameProof) Descriptor
deprecated
func (*UserNameProof) Descriptor() ([]byte, []int)
Deprecated: Use UserNameProof.ProtoReflect.Descriptor instead.
func (*UserNameProof) GetFid ¶
func (x *UserNameProof) GetFid() uint64
func (*UserNameProof) GetName ¶
func (x *UserNameProof) GetName() []byte
func (*UserNameProof) GetOwner ¶
func (x *UserNameProof) GetOwner() []byte
func (*UserNameProof) GetSignature ¶
func (x *UserNameProof) GetSignature() []byte
func (*UserNameProof) GetTimestamp ¶
func (x *UserNameProof) GetTimestamp() uint64
func (*UserNameProof) GetType ¶
func (x *UserNameProof) GetType() UserNameType
func (*UserNameProof) ProtoMessage ¶
func (*UserNameProof) ProtoMessage()
func (*UserNameProof) ProtoReflect ¶
func (x *UserNameProof) ProtoReflect() protoreflect.Message
func (*UserNameProof) Reset ¶
func (x *UserNameProof) Reset()
func (*UserNameProof) String ¶
func (x *UserNameProof) String() string
type UserNameType ¶
type UserNameType int32
const ( UserNameType_USERNAME_TYPE_NONE UserNameType = 0 UserNameType_USERNAME_TYPE_FNAME UserNameType = 1 UserNameType_USERNAME_TYPE_ENS_L1 UserNameType = 2 )
func (UserNameType) Descriptor ¶
func (UserNameType) Descriptor() protoreflect.EnumDescriptor
func (UserNameType) Enum ¶
func (x UserNameType) Enum() *UserNameType
func (UserNameType) EnumDescriptor
deprecated
func (UserNameType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserNameType.Descriptor instead.
func (UserNameType) Number ¶
func (x UserNameType) Number() protoreflect.EnumNumber
func (UserNameType) String ¶
func (x UserNameType) String() string
func (UserNameType) Type ¶
func (UserNameType) Type() protoreflect.EnumType
type UsernameProofRequest ¶
type UsernameProofRequest struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UsernameProofRequest) Descriptor
deprecated
func (*UsernameProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use UsernameProofRequest.ProtoReflect.Descriptor instead.
func (*UsernameProofRequest) GetName ¶
func (x *UsernameProofRequest) GetName() []byte
func (*UsernameProofRequest) ProtoMessage ¶
func (*UsernameProofRequest) ProtoMessage()
func (*UsernameProofRequest) ProtoReflect ¶
func (x *UsernameProofRequest) ProtoReflect() protoreflect.Message
func (*UsernameProofRequest) Reset ¶
func (x *UsernameProofRequest) Reset()
func (*UsernameProofRequest) String ¶
func (x *UsernameProofRequest) String() string
type UsernameProofsResponse ¶
type UsernameProofsResponse struct { Proofs []*UserNameProof `protobuf:"bytes,1,rep,name=proofs,proto3" json:"proofs,omitempty"` // contains filtered or unexported fields }
func (*UsernameProofsResponse) Descriptor
deprecated
func (*UsernameProofsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UsernameProofsResponse.ProtoReflect.Descriptor instead.
func (*UsernameProofsResponse) GetProofs ¶
func (x *UsernameProofsResponse) GetProofs() []*UserNameProof
func (*UsernameProofsResponse) ProtoMessage ¶
func (*UsernameProofsResponse) ProtoMessage()
func (*UsernameProofsResponse) ProtoReflect ¶
func (x *UsernameProofsResponse) ProtoReflect() protoreflect.Message
func (*UsernameProofsResponse) Reset ¶
func (x *UsernameProofsResponse) Reset()
func (*UsernameProofsResponse) String ¶
func (x *UsernameProofsResponse) String() string
type ValidateOrRevokeJobState ¶
type ValidateOrRevokeJobState struct { LastJobTimestamp uint32 `protobuf:"varint,1,opt,name=last_job_timestamp,json=lastJobTimestamp,proto3" json:"last_job_timestamp,omitempty"` // The (Farcaster time epoch) timestamp where the last job started LastFid uint32 `protobuf:"varint,2,opt,name=last_fid,json=lastFid,proto3" json:"last_fid,omitempty"` // The last FID to complete successfully. If this is 0, then the last job finished successfully // contains filtered or unexported fields }
func (*ValidateOrRevokeJobState) Descriptor
deprecated
func (*ValidateOrRevokeJobState) Descriptor() ([]byte, []int)
Deprecated: Use ValidateOrRevokeJobState.ProtoReflect.Descriptor instead.
func (*ValidateOrRevokeJobState) GetLastFid ¶
func (x *ValidateOrRevokeJobState) GetLastFid() uint32
func (*ValidateOrRevokeJobState) GetLastJobTimestamp ¶
func (x *ValidateOrRevokeJobState) GetLastJobTimestamp() uint32
func (*ValidateOrRevokeJobState) ProtoMessage ¶
func (*ValidateOrRevokeJobState) ProtoMessage()
func (*ValidateOrRevokeJobState) ProtoReflect ¶
func (x *ValidateOrRevokeJobState) ProtoReflect() protoreflect.Message
func (*ValidateOrRevokeJobState) Reset ¶
func (x *ValidateOrRevokeJobState) Reset()
func (*ValidateOrRevokeJobState) String ¶
func (x *ValidateOrRevokeJobState) String() string
type ValidationResponse ¶
type ValidationResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ValidationResponse) Descriptor
deprecated
func (*ValidationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidationResponse.ProtoReflect.Descriptor instead.
func (*ValidationResponse) GetMessage ¶
func (x *ValidationResponse) GetMessage() *Message
func (*ValidationResponse) GetValid ¶
func (x *ValidationResponse) GetValid() bool
func (*ValidationResponse) ProtoMessage ¶
func (*ValidationResponse) ProtoMessage()
func (*ValidationResponse) ProtoReflect ¶
func (x *ValidationResponse) ProtoReflect() protoreflect.Message
func (*ValidationResponse) Reset ¶
func (x *ValidationResponse) Reset()
func (*ValidationResponse) String ¶
func (x *ValidationResponse) String() string
type VerificationAddAddressBody ¶
type VerificationAddAddressBody struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Address being verified for a given Protocol ClaimSignature []byte `protobuf:"bytes,2,opt,name=claim_signature,json=claimSignature,proto3" json:"claim_signature,omitempty"` // Signature produced by the user's address for a given Protocol BlockHash []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Hash of the latest Ethereum block when the signature was produced VerificationType uint32 `protobuf:"varint,4,opt,name=verification_type,json=verificationType,proto3" json:"verification_type,omitempty"` // Type of verification. 0 = EOA, 1 = contract ChainId uint32 `protobuf:"varint,5,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // 0 for EOA verifications, 1 or 10 for contract verifications Protocol Protocol `protobuf:"varint,7,opt,name=protocol,proto3,enum=Protocol" json:"protocol,omitempty"` // Protocol of the Verification // contains filtered or unexported fields }
* Adds a Verification of ownership of an Address based on Protocol
func (*VerificationAddAddressBody) Descriptor
deprecated
func (*VerificationAddAddressBody) Descriptor() ([]byte, []int)
Deprecated: Use VerificationAddAddressBody.ProtoReflect.Descriptor instead.
func (*VerificationAddAddressBody) GetAddress ¶
func (x *VerificationAddAddressBody) GetAddress() []byte
func (*VerificationAddAddressBody) GetBlockHash ¶
func (x *VerificationAddAddressBody) GetBlockHash() []byte
func (*VerificationAddAddressBody) GetChainId ¶
func (x *VerificationAddAddressBody) GetChainId() uint32
func (*VerificationAddAddressBody) GetClaimSignature ¶
func (x *VerificationAddAddressBody) GetClaimSignature() []byte
func (*VerificationAddAddressBody) GetProtocol ¶
func (x *VerificationAddAddressBody) GetProtocol() Protocol
func (*VerificationAddAddressBody) GetVerificationType ¶
func (x *VerificationAddAddressBody) GetVerificationType() uint32
func (*VerificationAddAddressBody) ProtoMessage ¶
func (*VerificationAddAddressBody) ProtoMessage()
func (*VerificationAddAddressBody) ProtoReflect ¶
func (x *VerificationAddAddressBody) ProtoReflect() protoreflect.Message
func (*VerificationAddAddressBody) Reset ¶
func (x *VerificationAddAddressBody) Reset()
func (*VerificationAddAddressBody) String ¶
func (x *VerificationAddAddressBody) String() string
type VerificationRemoveBody ¶
type VerificationRemoveBody struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Address of the Verification to remove Protocol Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=Protocol" json:"protocol,omitempty"` // Protocol of the Verification to remove // contains filtered or unexported fields }
* Removes a Verification of a given protocol
func (*VerificationRemoveBody) Descriptor
deprecated
func (*VerificationRemoveBody) Descriptor() ([]byte, []int)
Deprecated: Use VerificationRemoveBody.ProtoReflect.Descriptor instead.
func (*VerificationRemoveBody) GetAddress ¶
func (x *VerificationRemoveBody) GetAddress() []byte
func (*VerificationRemoveBody) GetProtocol ¶
func (x *VerificationRemoveBody) GetProtocol() Protocol
func (*VerificationRemoveBody) ProtoMessage ¶
func (*VerificationRemoveBody) ProtoMessage()
func (*VerificationRemoveBody) ProtoReflect ¶
func (x *VerificationRemoveBody) ProtoReflect() protoreflect.Message
func (*VerificationRemoveBody) Reset ¶
func (x *VerificationRemoveBody) Reset()
func (*VerificationRemoveBody) String ¶
func (x *VerificationRemoveBody) String() string
type VerificationRequest ¶
type VerificationRequest struct { Fid uint64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid,omitempty"` Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*VerificationRequest) Descriptor
deprecated
func (*VerificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerificationRequest.ProtoReflect.Descriptor instead.
func (*VerificationRequest) GetAddress ¶
func (x *VerificationRequest) GetAddress() []byte
func (*VerificationRequest) GetFid ¶
func (x *VerificationRequest) GetFid() uint64
func (*VerificationRequest) ProtoMessage ¶
func (*VerificationRequest) ProtoMessage()
func (*VerificationRequest) ProtoReflect ¶
func (x *VerificationRequest) ProtoReflect() protoreflect.Message
func (*VerificationRequest) Reset ¶
func (x *VerificationRequest) Reset()
func (*VerificationRequest) String ¶
func (x *VerificationRequest) String() string