status-go/protocol/protobuf/communities.pb.go

1805 lines
71 KiB
Go
Raw Normal View History

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: communities.proto
package protobuf
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
2021-01-11 10:32:51 +00:00
type CommunityMember_Roles int32
const (
CommunityMember_ROLE_NONE CommunityMember_Roles = 0
CommunityMember_ROLE_OWNER CommunityMember_Roles = 1
CommunityMember_ROLE_ADMIN CommunityMember_Roles = 4
CommunityMember_ROLE_TOKEN_MASTER CommunityMember_Roles = 5
2021-01-11 10:32:51 +00:00
)
var CommunityMember_Roles_name = map[int32]string{
0: "ROLE_NONE",
1: "ROLE_OWNER",
4: "ROLE_ADMIN",
5: "ROLE_TOKEN_MASTER",
2021-01-11 10:32:51 +00:00
}
var CommunityMember_Roles_value = map[string]int32{
"ROLE_NONE": 0,
"ROLE_OWNER": 1,
"ROLE_ADMIN": 4,
"ROLE_TOKEN_MASTER": 5,
}
func (x CommunityMember_Roles) String() string {
return proto.EnumName(CommunityMember_Roles_name, int32(x))
}
2021-01-11 10:32:51 +00:00
func (CommunityMember_Roles) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{1, 0}
2021-01-11 10:32:51 +00:00
}
type CommunityPermissions_Access int32
const (
CommunityPermissions_UNKNOWN_ACCESS CommunityPermissions_Access = 0
CommunityPermissions_NO_MEMBERSHIP CommunityPermissions_Access = 1
CommunityPermissions_INVITATION_ONLY CommunityPermissions_Access = 2
CommunityPermissions_ON_REQUEST CommunityPermissions_Access = 3
)
var CommunityPermissions_Access_name = map[int32]string{
0: "UNKNOWN_ACCESS",
1: "NO_MEMBERSHIP",
2: "INVITATION_ONLY",
3: "ON_REQUEST",
}
var CommunityPermissions_Access_value = map[string]int32{
"UNKNOWN_ACCESS": 0,
"NO_MEMBERSHIP": 1,
"INVITATION_ONLY": 2,
"ON_REQUEST": 3,
}
func (x CommunityPermissions_Access) String() string {
return proto.EnumName(CommunityPermissions_Access_name, int32(x))
}
func (CommunityPermissions_Access) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{3, 0}
}
type CommunityTokenPermission_Type int32
const (
CommunityTokenPermission_UNKNOWN_TOKEN_PERMISSION CommunityTokenPermission_Type = 0
CommunityTokenPermission_BECOME_ADMIN CommunityTokenPermission_Type = 1
CommunityTokenPermission_BECOME_MEMBER CommunityTokenPermission_Type = 2
CommunityTokenPermission_CAN_VIEW_CHANNEL CommunityTokenPermission_Type = 3
CommunityTokenPermission_CAN_VIEW_AND_POST_CHANNEL CommunityTokenPermission_Type = 4
CommunityTokenPermission_BECOME_TOKEN_MASTER CommunityTokenPermission_Type = 5
CommunityTokenPermission_BECOME_TOKEN_OWNER CommunityTokenPermission_Type = 6
)
var CommunityTokenPermission_Type_name = map[int32]string{
0: "UNKNOWN_TOKEN_PERMISSION",
1: "BECOME_ADMIN",
2: "BECOME_MEMBER",
3: "CAN_VIEW_CHANNEL",
4: "CAN_VIEW_AND_POST_CHANNEL",
5: "BECOME_TOKEN_MASTER",
6: "BECOME_TOKEN_OWNER",
}
var CommunityTokenPermission_Type_value = map[string]int32{
"UNKNOWN_TOKEN_PERMISSION": 0,
"BECOME_ADMIN": 1,
"BECOME_MEMBER": 2,
"CAN_VIEW_CHANNEL": 3,
"CAN_VIEW_AND_POST_CHANNEL": 4,
"BECOME_TOKEN_MASTER": 5,
"BECOME_TOKEN_OWNER": 6,
}
func (x CommunityTokenPermission_Type) String() string {
return proto.EnumName(CommunityTokenPermission_Type_name, int32(x))
}
func (CommunityTokenPermission_Type) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{5, 0}
}
type Grant struct {
CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
MemberId []byte `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
Clock uint64 `protobuf:"varint,4,opt,name=clock,proto3" json:"clock,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Grant) Reset() { *m = Grant{} }
func (m *Grant) String() string { return proto.CompactTextString(m) }
func (*Grant) ProtoMessage() {}
func (*Grant) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{0}
}
func (m *Grant) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Grant.Unmarshal(m, b)
}
func (m *Grant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Grant.Marshal(b, m, deterministic)
}
func (m *Grant) XXX_Merge(src proto.Message) {
xxx_messageInfo_Grant.Merge(m, src)
}
func (m *Grant) XXX_Size() int {
return xxx_messageInfo_Grant.Size(m)
}
func (m *Grant) XXX_DiscardUnknown() {
xxx_messageInfo_Grant.DiscardUnknown(m)
}
var xxx_messageInfo_Grant proto.InternalMessageInfo
func (m *Grant) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
func (m *Grant) GetMemberId() []byte {
if m != nil {
return m.MemberId
}
return nil
}
func (m *Grant) GetChatId() string {
if m != nil {
return m.ChatId
}
return ""
}
func (m *Grant) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
type CommunityMember struct {
Roles []CommunityMember_Roles `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=protobuf.CommunityMember_Roles" json:"roles,omitempty"`
RevealedAccounts []*RevealedAccount `protobuf:"bytes,2,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` // Deprecated: Do not use.
LastUpdateClock uint64 `protobuf:"varint,3,opt,name=last_update_clock,json=lastUpdateClock,proto3" json:"last_update_clock,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityMember) Reset() { *m = CommunityMember{} }
func (m *CommunityMember) String() string { return proto.CompactTextString(m) }
func (*CommunityMember) ProtoMessage() {}
func (*CommunityMember) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{1}
}
func (m *CommunityMember) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityMember.Unmarshal(m, b)
}
func (m *CommunityMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityMember.Marshal(b, m, deterministic)
}
func (m *CommunityMember) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityMember.Merge(m, src)
}
func (m *CommunityMember) XXX_Size() int {
return xxx_messageInfo_CommunityMember.Size(m)
}
func (m *CommunityMember) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityMember.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityMember proto.InternalMessageInfo
func (m *CommunityMember) GetRoles() []CommunityMember_Roles {
if m != nil {
return m.Roles
2021-01-11 10:32:51 +00:00
}
return nil
}
// Deprecated: Do not use.
func (m *CommunityMember) GetRevealedAccounts() []*RevealedAccount {
if m != nil {
return m.RevealedAccounts
}
return nil
}
func (m *CommunityMember) GetLastUpdateClock() uint64 {
if m != nil {
return m.LastUpdateClock
}
return 0
}
type CommunityTokenMetadata struct {
ContractAddresses map[uint64]string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
TokenType CommunityTokenType `protobuf:"varint,4,opt,name=tokenType,proto3,enum=protobuf.CommunityTokenType" json:"tokenType,omitempty"`
Symbol string `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"`
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
Decimals uint32 `protobuf:"varint,7,opt,name=decimals,proto3" json:"decimals,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityTokenMetadata) Reset() { *m = CommunityTokenMetadata{} }
func (m *CommunityTokenMetadata) String() string { return proto.CompactTextString(m) }
func (*CommunityTokenMetadata) ProtoMessage() {}
func (*CommunityTokenMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{2}
}
func (m *CommunityTokenMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityTokenMetadata.Unmarshal(m, b)
}
func (m *CommunityTokenMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityTokenMetadata.Marshal(b, m, deterministic)
}
func (m *CommunityTokenMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityTokenMetadata.Merge(m, src)
}
func (m *CommunityTokenMetadata) XXX_Size() int {
return xxx_messageInfo_CommunityTokenMetadata.Size(m)
}
func (m *CommunityTokenMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityTokenMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityTokenMetadata proto.InternalMessageInfo
func (m *CommunityTokenMetadata) GetContractAddresses() map[uint64]string {
if m != nil {
return m.ContractAddresses
}
return nil
}
func (m *CommunityTokenMetadata) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *CommunityTokenMetadata) GetImage() string {
if m != nil {
return m.Image
}
return ""
}
func (m *CommunityTokenMetadata) GetTokenType() CommunityTokenType {
if m != nil {
return m.TokenType
}
return CommunityTokenType_UNKNOWN_TOKEN_TYPE
}
func (m *CommunityTokenMetadata) GetSymbol() string {
if m != nil {
return m.Symbol
}
return ""
}
func (m *CommunityTokenMetadata) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CommunityTokenMetadata) GetDecimals() uint32 {
if m != nil {
return m.Decimals
}
return 0
}
type CommunityPermissions struct {
EnsOnly bool `protobuf:"varint,1,opt,name=ens_only,json=ensOnly,proto3" json:"ens_only,omitempty"`
// https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/megolm.md is a candidate for the algorithm to be used in case we want to have private communityal chats, lighter than pairwise encryption using the DR, less secure, but more efficient for large number of participants
Private bool `protobuf:"varint,2,opt,name=private,proto3" json:"private,omitempty"`
Access CommunityPermissions_Access `protobuf:"varint,3,opt,name=access,proto3,enum=protobuf.CommunityPermissions_Access" json:"access,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityPermissions) Reset() { *m = CommunityPermissions{} }
func (m *CommunityPermissions) String() string { return proto.CompactTextString(m) }
func (*CommunityPermissions) ProtoMessage() {}
func (*CommunityPermissions) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{3}
}
func (m *CommunityPermissions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityPermissions.Unmarshal(m, b)
}
func (m *CommunityPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityPermissions.Marshal(b, m, deterministic)
}
func (m *CommunityPermissions) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityPermissions.Merge(m, src)
}
func (m *CommunityPermissions) XXX_Size() int {
return xxx_messageInfo_CommunityPermissions.Size(m)
}
func (m *CommunityPermissions) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityPermissions.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityPermissions proto.InternalMessageInfo
func (m *CommunityPermissions) GetEnsOnly() bool {
if m != nil {
return m.EnsOnly
}
return false
}
func (m *CommunityPermissions) GetPrivate() bool {
if m != nil {
return m.Private
}
return false
}
func (m *CommunityPermissions) GetAccess() CommunityPermissions_Access {
if m != nil {
return m.Access
}
return CommunityPermissions_UNKNOWN_ACCESS
}
type TokenCriteria struct {
ContractAddresses map[uint64]string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Type CommunityTokenType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityTokenType" json:"type,omitempty"`
Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
TokenIds []uint64 `protobuf:"varint,6,rep,packed,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"`
EnsPattern string `protobuf:"bytes,7,opt,name=ens_pattern,json=ensPattern,proto3" json:"ens_pattern,omitempty"`
Decimals uint64 `protobuf:"varint,8,opt,name=decimals,proto3" json:"decimals,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TokenCriteria) Reset() { *m = TokenCriteria{} }
func (m *TokenCriteria) String() string { return proto.CompactTextString(m) }
func (*TokenCriteria) ProtoMessage() {}
func (*TokenCriteria) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{4}
}
func (m *TokenCriteria) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TokenCriteria.Unmarshal(m, b)
}
func (m *TokenCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TokenCriteria.Marshal(b, m, deterministic)
}
func (m *TokenCriteria) XXX_Merge(src proto.Message) {
xxx_messageInfo_TokenCriteria.Merge(m, src)
}
func (m *TokenCriteria) XXX_Size() int {
return xxx_messageInfo_TokenCriteria.Size(m)
}
func (m *TokenCriteria) XXX_DiscardUnknown() {
xxx_messageInfo_TokenCriteria.DiscardUnknown(m)
}
var xxx_messageInfo_TokenCriteria proto.InternalMessageInfo
func (m *TokenCriteria) GetContractAddresses() map[uint64]string {
if m != nil {
return m.ContractAddresses
}
return nil
}
func (m *TokenCriteria) GetType() CommunityTokenType {
if m != nil {
return m.Type
}
return CommunityTokenType_UNKNOWN_TOKEN_TYPE
}
func (m *TokenCriteria) GetSymbol() string {
if m != nil {
return m.Symbol
}
return ""
}
func (m *TokenCriteria) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *TokenCriteria) GetAmount() string {
if m != nil {
return m.Amount
}
return ""
}
func (m *TokenCriteria) GetTokenIds() []uint64 {
if m != nil {
return m.TokenIds
}
return nil
}
func (m *TokenCriteria) GetEnsPattern() string {
if m != nil {
return m.EnsPattern
}
return ""
}
func (m *TokenCriteria) GetDecimals() uint64 {
if m != nil {
return m.Decimals
}
return 0
}
type CommunityTokenPermission struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Type CommunityTokenPermission_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityTokenPermission_Type" json:"type,omitempty"`
TokenCriteria []*TokenCriteria `protobuf:"bytes,3,rep,name=token_criteria,json=tokenCriteria,proto3" json:"token_criteria,omitempty"`
ChatIds []string `protobuf:"bytes,4,rep,name=chat_ids,json=chatIds,proto3" json:"chat_ids,omitempty"`
IsPrivate bool `protobuf:"varint,5,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityTokenPermission) Reset() { *m = CommunityTokenPermission{} }
func (m *CommunityTokenPermission) String() string { return proto.CompactTextString(m) }
func (*CommunityTokenPermission) ProtoMessage() {}
func (*CommunityTokenPermission) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{5}
}
func (m *CommunityTokenPermission) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityTokenPermission.Unmarshal(m, b)
}
func (m *CommunityTokenPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityTokenPermission.Marshal(b, m, deterministic)
}
func (m *CommunityTokenPermission) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityTokenPermission.Merge(m, src)
}
func (m *CommunityTokenPermission) XXX_Size() int {
return xxx_messageInfo_CommunityTokenPermission.Size(m)
}
func (m *CommunityTokenPermission) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityTokenPermission.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityTokenPermission proto.InternalMessageInfo
func (m *CommunityTokenPermission) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *CommunityTokenPermission) GetType() CommunityTokenPermission_Type {
if m != nil {
return m.Type
}
return CommunityTokenPermission_UNKNOWN_TOKEN_PERMISSION
}
func (m *CommunityTokenPermission) GetTokenCriteria() []*TokenCriteria {
if m != nil {
return m.TokenCriteria
}
return nil
}
func (m *CommunityTokenPermission) GetChatIds() []string {
if m != nil {
return m.ChatIds
}
return nil
}
func (m *CommunityTokenPermission) GetIsPrivate() bool {
if m != nil {
return m.IsPrivate
}
return false
}
type CommunityDescription struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
Members map[string]*CommunityMember `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Permissions *CommunityPermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"`
Identity *ChatIdentity `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"`
Chats map[string]*CommunityChat `protobuf:"bytes,6,rep,name=chats,proto3" json:"chats,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
BanList []string `protobuf:"bytes,7,rep,name=ban_list,json=banList,proto3" json:"ban_list,omitempty"`
Categories map[string]*CommunityCategory `protobuf:"bytes,8,rep,name=categories,proto3" json:"categories,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
ArchiveMagnetlinkClock uint64 `protobuf:"varint,9,opt,name=archive_magnetlink_clock,json=archiveMagnetlinkClock,proto3" json:"archive_magnetlink_clock,omitempty"`
AdminSettings *CommunityAdminSettings `protobuf:"bytes,10,opt,name=admin_settings,json=adminSettings,proto3" json:"admin_settings,omitempty"`
IntroMessage string `protobuf:"bytes,11,opt,name=intro_message,json=introMessage,proto3" json:"intro_message,omitempty"`
OutroMessage string `protobuf:"bytes,12,opt,name=outro_message,json=outroMessage,proto3" json:"outro_message,omitempty"`
Encrypted bool `protobuf:"varint,13,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
Tags []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"`
TokenPermissions map[string]*CommunityTokenPermission `protobuf:"bytes,15,rep,name=token_permissions,json=tokenPermissions,proto3" json:"token_permissions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
CommunityTokensMetadata []*CommunityTokenMetadata `protobuf:"bytes,16,rep,name=community_tokens_metadata,json=communityTokensMetadata,proto3" json:"community_tokens_metadata,omitempty"`
ActiveMembersCount uint64 `protobuf:"varint,17,opt,name=active_members_count,json=activeMembersCount,proto3" json:"active_members_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityDescription) Reset() { *m = CommunityDescription{} }
func (m *CommunityDescription) String() string { return proto.CompactTextString(m) }
func (*CommunityDescription) ProtoMessage() {}
func (*CommunityDescription) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{6}
}
func (m *CommunityDescription) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityDescription.Unmarshal(m, b)
}
func (m *CommunityDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityDescription.Marshal(b, m, deterministic)
}
func (m *CommunityDescription) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityDescription.Merge(m, src)
}
func (m *CommunityDescription) XXX_Size() int {
return xxx_messageInfo_CommunityDescription.Size(m)
}
func (m *CommunityDescription) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityDescription.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityDescription proto.InternalMessageInfo
func (m *CommunityDescription) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *CommunityDescription) GetMembers() map[string]*CommunityMember {
if m != nil {
return m.Members
}
return nil
}
func (m *CommunityDescription) GetPermissions() *CommunityPermissions {
if m != nil {
return m.Permissions
}
return nil
}
func (m *CommunityDescription) GetIdentity() *ChatIdentity {
if m != nil {
return m.Identity
}
return nil
}
func (m *CommunityDescription) GetChats() map[string]*CommunityChat {
if m != nil {
return m.Chats
}
return nil
}
func (m *CommunityDescription) GetBanList() []string {
if m != nil {
return m.BanList
}
return nil
}
func (m *CommunityDescription) GetCategories() map[string]*CommunityCategory {
if m != nil {
return m.Categories
}
return nil
}
func (m *CommunityDescription) GetArchiveMagnetlinkClock() uint64 {
if m != nil {
return m.ArchiveMagnetlinkClock
}
return 0
}
func (m *CommunityDescription) GetAdminSettings() *CommunityAdminSettings {
if m != nil {
return m.AdminSettings
}
return nil
}
func (m *CommunityDescription) GetIntroMessage() string {
if m != nil {
return m.IntroMessage
}
return ""
}
func (m *CommunityDescription) GetOutroMessage() string {
if m != nil {
return m.OutroMessage
}
return ""
}
func (m *CommunityDescription) GetEncrypted() bool {
if m != nil {
return m.Encrypted
2022-05-27 09:14:40 +00:00
}
return false
}
func (m *CommunityDescription) GetTags() []string {
if m != nil {
return m.Tags
}
return nil
}
func (m *CommunityDescription) GetTokenPermissions() map[string]*CommunityTokenPermission {
if m != nil {
return m.TokenPermissions
}
return nil
}
func (m *CommunityDescription) GetCommunityTokensMetadata() []*CommunityTokenMetadata {
if m != nil {
return m.CommunityTokensMetadata
}
return nil
}
func (m *CommunityDescription) GetActiveMembersCount() uint64 {
if m != nil {
return m.ActiveMembersCount
}
return 0
}
type CommunityAdminSettings struct {
PinMessageAllMembersEnabled bool `protobuf:"varint,1,opt,name=pin_message_all_members_enabled,json=pinMessageAllMembersEnabled,proto3" json:"pin_message_all_members_enabled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityAdminSettings) Reset() { *m = CommunityAdminSettings{} }
func (m *CommunityAdminSettings) String() string { return proto.CompactTextString(m) }
func (*CommunityAdminSettings) ProtoMessage() {}
func (*CommunityAdminSettings) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{7}
}
func (m *CommunityAdminSettings) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityAdminSettings.Unmarshal(m, b)
}
func (m *CommunityAdminSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityAdminSettings.Marshal(b, m, deterministic)
}
func (m *CommunityAdminSettings) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityAdminSettings.Merge(m, src)
}
func (m *CommunityAdminSettings) XXX_Size() int {
return xxx_messageInfo_CommunityAdminSettings.Size(m)
}
func (m *CommunityAdminSettings) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityAdminSettings.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityAdminSettings proto.InternalMessageInfo
func (m *CommunityAdminSettings) GetPinMessageAllMembersEnabled() bool {
if m != nil {
return m.PinMessageAllMembersEnabled
}
return false
}
type CommunityChat struct {
Members map[string]*CommunityMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Permissions *CommunityPermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"`
Identity *ChatIdentity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
CategoryId string `protobuf:"bytes,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
Position int32 `protobuf:"varint,5,opt,name=position,proto3" json:"position,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityChat) Reset() { *m = CommunityChat{} }
func (m *CommunityChat) String() string { return proto.CompactTextString(m) }
func (*CommunityChat) ProtoMessage() {}
func (*CommunityChat) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{8}
}
func (m *CommunityChat) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityChat.Unmarshal(m, b)
}
func (m *CommunityChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityChat.Marshal(b, m, deterministic)
}
func (m *CommunityChat) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityChat.Merge(m, src)
}
func (m *CommunityChat) XXX_Size() int {
return xxx_messageInfo_CommunityChat.Size(m)
}
func (m *CommunityChat) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityChat.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityChat proto.InternalMessageInfo
func (m *CommunityChat) GetMembers() map[string]*CommunityMember {
if m != nil {
return m.Members
}
return nil
}
func (m *CommunityChat) GetPermissions() *CommunityPermissions {
if m != nil {
return m.Permissions
}
return nil
}
func (m *CommunityChat) GetIdentity() *ChatIdentity {
if m != nil {
return m.Identity
}
return nil
}
func (m *CommunityChat) GetCategoryId() string {
if m != nil {
return m.CategoryId
}
return ""
}
func (m *CommunityChat) GetPosition() int32 {
if m != nil {
return m.Position
}
return 0
}
type CommunityCategory struct {
CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Position int32 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityCategory) Reset() { *m = CommunityCategory{} }
func (m *CommunityCategory) String() string { return proto.CompactTextString(m) }
func (*CommunityCategory) ProtoMessage() {}
func (*CommunityCategory) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{9}
}
func (m *CommunityCategory) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityCategory.Unmarshal(m, b)
}
func (m *CommunityCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityCategory.Marshal(b, m, deterministic)
}
func (m *CommunityCategory) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityCategory.Merge(m, src)
}
func (m *CommunityCategory) XXX_Size() int {
return xxx_messageInfo_CommunityCategory.Size(m)
}
func (m *CommunityCategory) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityCategory.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityCategory proto.InternalMessageInfo
func (m *CommunityCategory) GetCategoryId() string {
if m != nil {
return m.CategoryId
}
return ""
}
func (m *CommunityCategory) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CommunityCategory) GetPosition() int32 {
if m != nil {
return m.Position
}
return 0
}
type RevealedAccount struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
ChainIds []uint64 `protobuf:"varint,3,rep,packed,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"`
IsAirdropAddress bool `protobuf:"varint,4,opt,name=isAirdropAddress,proto3" json:"isAirdropAddress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RevealedAccount) Reset() { *m = RevealedAccount{} }
func (m *RevealedAccount) String() string { return proto.CompactTextString(m) }
func (*RevealedAccount) ProtoMessage() {}
func (*RevealedAccount) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{10}
}
func (m *RevealedAccount) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RevealedAccount.Unmarshal(m, b)
}
func (m *RevealedAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RevealedAccount.Marshal(b, m, deterministic)
}
func (m *RevealedAccount) XXX_Merge(src proto.Message) {
xxx_messageInfo_RevealedAccount.Merge(m, src)
}
func (m *RevealedAccount) XXX_Size() int {
return xxx_messageInfo_RevealedAccount.Size(m)
}
func (m *RevealedAccount) XXX_DiscardUnknown() {
xxx_messageInfo_RevealedAccount.DiscardUnknown(m)
}
var xxx_messageInfo_RevealedAccount proto.InternalMessageInfo
func (m *RevealedAccount) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *RevealedAccount) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
func (m *RevealedAccount) GetChainIds() []uint64 {
if m != nil {
return m.ChainIds
}
return nil
}
func (m *RevealedAccount) GetIsAirdropAddress() bool {
if m != nil {
return m.IsAirdropAddress
}
return false
}
2021-01-11 10:32:51 +00:00
type CommunityRequestToJoin struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
RevealedAccounts []*RevealedAccount `protobuf:"bytes,6,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityRequestToJoin) Reset() { *m = CommunityRequestToJoin{} }
func (m *CommunityRequestToJoin) String() string { return proto.CompactTextString(m) }
func (*CommunityRequestToJoin) ProtoMessage() {}
func (*CommunityRequestToJoin) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{11}
}
func (m *CommunityRequestToJoin) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityRequestToJoin.Unmarshal(m, b)
}
func (m *CommunityRequestToJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityRequestToJoin.Marshal(b, m, deterministic)
}
func (m *CommunityRequestToJoin) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityRequestToJoin.Merge(m, src)
}
func (m *CommunityRequestToJoin) XXX_Size() int {
return xxx_messageInfo_CommunityRequestToJoin.Size(m)
}
func (m *CommunityRequestToJoin) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityRequestToJoin.DiscardUnknown(m)
}
2021-01-11 10:32:51 +00:00
var xxx_messageInfo_CommunityRequestToJoin proto.InternalMessageInfo
func (m *CommunityRequestToJoin) GetClock() uint64 {
if m != nil {
return m.Clock
2021-01-11 10:32:51 +00:00
}
return 0
}
func (m *CommunityRequestToJoin) GetEnsName() string {
if m != nil {
return m.EnsName
}
return ""
}
func (m *CommunityRequestToJoin) GetChatId() string {
if m != nil {
return m.ChatId
}
return ""
}
func (m *CommunityRequestToJoin) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
func (m *CommunityRequestToJoin) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
func (m *CommunityRequestToJoin) GetRevealedAccounts() []*RevealedAccount {
if m != nil {
return m.RevealedAccounts
feat: add verified wallet accounts to community requests This commit extends the `CommunityRequestToJoin` with `RevealedAddresses` which represent wallet addresses and signatures provided by the sender, to proof a community owner ownership of those wallet addresses. **Note: This only works with keystore files maanged by status-go** At high level, the follwing happens: 1. User instructs Status to send a request to join to a community. By adding a password hash to the instruction, Status will try to unlock the users keystore and verify each wallet account. 2. For every verified wallet account, a signature is created for the following payload, using each wallet's private key ``` keccak256(chatkey + communityID + requestToJoinID) ``` A map of walletAddress->signature is then attached to the community request to join, which will be sent to the community owner 3. The owner node receives the request, and if the community requires users to hold tokens to become a member, it will check and verify whether the given wallet addresses are indeed owned by the sender. If any signature provided by the request cannot be recovered, the request is immediately declined by the owner. 4. The verified addresses are then added to the owner node's database such that, once the request should be accepted, the addresses can be used to check on chain whether they own the necessary funds to fulfill the community's permissions The checking of required funds is **not** part of this commit. It will be added in a follow-up commit.
2023-03-17 09:19:40 +00:00
}
return nil
}
type CommunityEditSharedAddresses struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
RevealedAccounts []*RevealedAccount `protobuf:"bytes,3,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityEditSharedAddresses) Reset() { *m = CommunityEditSharedAddresses{} }
func (m *CommunityEditSharedAddresses) String() string { return proto.CompactTextString(m) }
func (*CommunityEditSharedAddresses) ProtoMessage() {}
func (*CommunityEditSharedAddresses) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{12}
}
func (m *CommunityEditSharedAddresses) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityEditSharedAddresses.Unmarshal(m, b)
}
func (m *CommunityEditSharedAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityEditSharedAddresses.Marshal(b, m, deterministic)
}
func (m *CommunityEditSharedAddresses) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityEditSharedAddresses.Merge(m, src)
}
func (m *CommunityEditSharedAddresses) XXX_Size() int {
return xxx_messageInfo_CommunityEditSharedAddresses.Size(m)
}
func (m *CommunityEditSharedAddresses) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityEditSharedAddresses.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityEditSharedAddresses proto.InternalMessageInfo
func (m *CommunityEditSharedAddresses) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *CommunityEditSharedAddresses) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
func (m *CommunityEditSharedAddresses) GetRevealedAccounts() []*RevealedAccount {
if m != nil {
return m.RevealedAccounts
}
return nil
}
type CommunityCancelRequestToJoin struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityCancelRequestToJoin) Reset() { *m = CommunityCancelRequestToJoin{} }
func (m *CommunityCancelRequestToJoin) String() string { return proto.CompactTextString(m) }
func (*CommunityCancelRequestToJoin) ProtoMessage() {}
func (*CommunityCancelRequestToJoin) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{13}
}
func (m *CommunityCancelRequestToJoin) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityCancelRequestToJoin.Unmarshal(m, b)
}
func (m *CommunityCancelRequestToJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityCancelRequestToJoin.Marshal(b, m, deterministic)
}
func (m *CommunityCancelRequestToJoin) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityCancelRequestToJoin.Merge(m, src)
}
func (m *CommunityCancelRequestToJoin) XXX_Size() int {
return xxx_messageInfo_CommunityCancelRequestToJoin.Size(m)
}
func (m *CommunityCancelRequestToJoin) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityCancelRequestToJoin.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityCancelRequestToJoin proto.InternalMessageInfo
func (m *CommunityCancelRequestToJoin) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *CommunityCancelRequestToJoin) GetEnsName() string {
if m != nil {
return m.EnsName
}
return ""
}
func (m *CommunityCancelRequestToJoin) GetChatId() string {
if m != nil {
return m.ChatId
}
return ""
}
func (m *CommunityCancelRequestToJoin) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
func (m *CommunityCancelRequestToJoin) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
2021-01-11 10:32:51 +00:00
type CommunityRequestToJoinResponse struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
Community *CommunityDescription `protobuf:"bytes,2,opt,name=community,proto3" json:"community,omitempty"`
Accepted bool `protobuf:"varint,3,opt,name=accepted,proto3" json:"accepted,omitempty"`
Grant []byte `protobuf:"bytes,4,opt,name=grant,proto3" json:"grant,omitempty"`
CommunityId []byte `protobuf:"bytes,5,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
MagnetUri string `protobuf:"bytes,6,opt,name=magnet_uri,json=magnetUri,proto3" json:"magnet_uri,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityRequestToJoinResponse) Reset() { *m = CommunityRequestToJoinResponse{} }
func (m *CommunityRequestToJoinResponse) String() string { return proto.CompactTextString(m) }
func (*CommunityRequestToJoinResponse) ProtoMessage() {}
func (*CommunityRequestToJoinResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{14}
}
func (m *CommunityRequestToJoinResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityRequestToJoinResponse.Unmarshal(m, b)
}
func (m *CommunityRequestToJoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityRequestToJoinResponse.Marshal(b, m, deterministic)
}
func (m *CommunityRequestToJoinResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityRequestToJoinResponse.Merge(m, src)
}
func (m *CommunityRequestToJoinResponse) XXX_Size() int {
return xxx_messageInfo_CommunityRequestToJoinResponse.Size(m)
}
func (m *CommunityRequestToJoinResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityRequestToJoinResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityRequestToJoinResponse proto.InternalMessageInfo
2021-01-11 10:32:51 +00:00
func (m *CommunityRequestToJoinResponse) GetClock() uint64 {
if m != nil {
return m.Clock
2021-01-11 10:32:51 +00:00
}
return 0
}
func (m *CommunityRequestToJoinResponse) GetCommunity() *CommunityDescription {
if m != nil {
return m.Community
}
return nil
}
func (m *CommunityRequestToJoinResponse) GetAccepted() bool {
if m != nil {
return m.Accepted
}
return false
}
func (m *CommunityRequestToJoinResponse) GetGrant() []byte {
if m != nil {
return m.Grant
}
return nil
}
func (m *CommunityRequestToJoinResponse) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
func (m *CommunityRequestToJoinResponse) GetMagnetUri() string {
if m != nil {
return m.MagnetUri
}
return ""
}
type CommunityRequestToLeave struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityRequestToLeave) Reset() { *m = CommunityRequestToLeave{} }
func (m *CommunityRequestToLeave) String() string { return proto.CompactTextString(m) }
func (*CommunityRequestToLeave) ProtoMessage() {}
func (*CommunityRequestToLeave) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{15}
}
func (m *CommunityRequestToLeave) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityRequestToLeave.Unmarshal(m, b)
}
func (m *CommunityRequestToLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityRequestToLeave.Marshal(b, m, deterministic)
}
func (m *CommunityRequestToLeave) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityRequestToLeave.Merge(m, src)
}
func (m *CommunityRequestToLeave) XXX_Size() int {
return xxx_messageInfo_CommunityRequestToLeave.Size(m)
}
func (m *CommunityRequestToLeave) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityRequestToLeave.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityRequestToLeave proto.InternalMessageInfo
func (m *CommunityRequestToLeave) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *CommunityRequestToLeave) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
type CommunityMessageArchiveMagnetlink struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
MagnetUri string `protobuf:"bytes,2,opt,name=magnet_uri,json=magnetUri,proto3" json:"magnet_uri,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityMessageArchiveMagnetlink) Reset() { *m = CommunityMessageArchiveMagnetlink{} }
func (m *CommunityMessageArchiveMagnetlink) String() string { return proto.CompactTextString(m) }
func (*CommunityMessageArchiveMagnetlink) ProtoMessage() {}
func (*CommunityMessageArchiveMagnetlink) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{16}
}
func (m *CommunityMessageArchiveMagnetlink) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityMessageArchiveMagnetlink.Unmarshal(m, b)
}
func (m *CommunityMessageArchiveMagnetlink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityMessageArchiveMagnetlink.Marshal(b, m, deterministic)
}
func (m *CommunityMessageArchiveMagnetlink) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityMessageArchiveMagnetlink.Merge(m, src)
}
func (m *CommunityMessageArchiveMagnetlink) XXX_Size() int {
return xxx_messageInfo_CommunityMessageArchiveMagnetlink.Size(m)
}
func (m *CommunityMessageArchiveMagnetlink) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityMessageArchiveMagnetlink.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityMessageArchiveMagnetlink proto.InternalMessageInfo
func (m *CommunityMessageArchiveMagnetlink) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *CommunityMessageArchiveMagnetlink) GetMagnetUri() string {
if m != nil {
return m.MagnetUri
}
return ""
}
type WakuMessage struct {
Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"`
Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Topic []byte `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"`
Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
Padding []byte `protobuf:"bytes,5,opt,name=padding,proto3" json:"padding,omitempty"`
Hash []byte `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"`
ThirdPartyId string `protobuf:"bytes,7,opt,name=thirdPartyId,proto3" json:"thirdPartyId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WakuMessage) Reset() { *m = WakuMessage{} }
func (m *WakuMessage) String() string { return proto.CompactTextString(m) }
func (*WakuMessage) ProtoMessage() {}
func (*WakuMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{17}
}
func (m *WakuMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WakuMessage.Unmarshal(m, b)
}
func (m *WakuMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WakuMessage.Marshal(b, m, deterministic)
}
func (m *WakuMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_WakuMessage.Merge(m, src)
}
func (m *WakuMessage) XXX_Size() int {
return xxx_messageInfo_WakuMessage.Size(m)
}
func (m *WakuMessage) XXX_DiscardUnknown() {
xxx_messageInfo_WakuMessage.DiscardUnknown(m)
}
var xxx_messageInfo_WakuMessage proto.InternalMessageInfo
func (m *WakuMessage) GetSig() []byte {
if m != nil {
return m.Sig
}
return nil
}
func (m *WakuMessage) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *WakuMessage) GetTopic() []byte {
if m != nil {
return m.Topic
}
return nil
}
func (m *WakuMessage) GetPayload() []byte {
if m != nil {
return m.Payload
}
return nil
}
func (m *WakuMessage) GetPadding() []byte {
if m != nil {
return m.Padding
}
return nil
}
func (m *WakuMessage) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
func (m *WakuMessage) GetThirdPartyId() string {
if m != nil {
return m.ThirdPartyId
}
return ""
}
type WakuMessageArchiveMetadata struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
From uint64 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
To uint64 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"`
ContentTopic [][]byte `protobuf:"bytes,4,rep,name=contentTopic,proto3" json:"contentTopic,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WakuMessageArchiveMetadata) Reset() { *m = WakuMessageArchiveMetadata{} }
func (m *WakuMessageArchiveMetadata) String() string { return proto.CompactTextString(m) }
func (*WakuMessageArchiveMetadata) ProtoMessage() {}
func (*WakuMessageArchiveMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{18}
}
func (m *WakuMessageArchiveMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WakuMessageArchiveMetadata.Unmarshal(m, b)
}
func (m *WakuMessageArchiveMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WakuMessageArchiveMetadata.Marshal(b, m, deterministic)
}
func (m *WakuMessageArchiveMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_WakuMessageArchiveMetadata.Merge(m, src)
}
func (m *WakuMessageArchiveMetadata) XXX_Size() int {
return xxx_messageInfo_WakuMessageArchiveMetadata.Size(m)
}
func (m *WakuMessageArchiveMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_WakuMessageArchiveMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_WakuMessageArchiveMetadata proto.InternalMessageInfo
func (m *WakuMessageArchiveMetadata) GetVersion() uint32 {
if m != nil {
return m.Version
}
return 0
}
func (m *WakuMessageArchiveMetadata) GetFrom() uint64 {
if m != nil {
return m.From
}
return 0
}
func (m *WakuMessageArchiveMetadata) GetTo() uint64 {
if m != nil {
return m.To
}
return 0
}
func (m *WakuMessageArchiveMetadata) GetContentTopic() [][]byte {
if m != nil {
return m.ContentTopic
}
return nil
}
type WakuMessageArchive struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Metadata *WakuMessageArchiveMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
Messages []*WakuMessage `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WakuMessageArchive) Reset() { *m = WakuMessageArchive{} }
func (m *WakuMessageArchive) String() string { return proto.CompactTextString(m) }
func (*WakuMessageArchive) ProtoMessage() {}
func (*WakuMessageArchive) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{19}
}
func (m *WakuMessageArchive) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WakuMessageArchive.Unmarshal(m, b)
}
func (m *WakuMessageArchive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WakuMessageArchive.Marshal(b, m, deterministic)
}
func (m *WakuMessageArchive) XXX_Merge(src proto.Message) {
xxx_messageInfo_WakuMessageArchive.Merge(m, src)
}
func (m *WakuMessageArchive) XXX_Size() int {
return xxx_messageInfo_WakuMessageArchive.Size(m)
}
func (m *WakuMessageArchive) XXX_DiscardUnknown() {
xxx_messageInfo_WakuMessageArchive.DiscardUnknown(m)
}
var xxx_messageInfo_WakuMessageArchive proto.InternalMessageInfo
func (m *WakuMessageArchive) GetVersion() uint32 {
if m != nil {
return m.Version
}
return 0
}
func (m *WakuMessageArchive) GetMetadata() *WakuMessageArchiveMetadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *WakuMessageArchive) GetMessages() []*WakuMessage {
if m != nil {
return m.Messages
}
return nil
}
type WakuMessageArchiveIndexMetadata struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Metadata *WakuMessageArchiveMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
Padding uint64 `protobuf:"varint,5,opt,name=padding,proto3" json:"padding,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WakuMessageArchiveIndexMetadata) Reset() { *m = WakuMessageArchiveIndexMetadata{} }
func (m *WakuMessageArchiveIndexMetadata) String() string { return proto.CompactTextString(m) }
func (*WakuMessageArchiveIndexMetadata) ProtoMessage() {}
func (*WakuMessageArchiveIndexMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{20}
}
func (m *WakuMessageArchiveIndexMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WakuMessageArchiveIndexMetadata.Unmarshal(m, b)
}
func (m *WakuMessageArchiveIndexMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WakuMessageArchiveIndexMetadata.Marshal(b, m, deterministic)
}
func (m *WakuMessageArchiveIndexMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_WakuMessageArchiveIndexMetadata.Merge(m, src)
}
func (m *WakuMessageArchiveIndexMetadata) XXX_Size() int {
return xxx_messageInfo_WakuMessageArchiveIndexMetadata.Size(m)
}
func (m *WakuMessageArchiveIndexMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_WakuMessageArchiveIndexMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_WakuMessageArchiveIndexMetadata proto.InternalMessageInfo
func (m *WakuMessageArchiveIndexMetadata) GetVersion() uint32 {
if m != nil {
return m.Version
}
return 0
}
func (m *WakuMessageArchiveIndexMetadata) GetMetadata() *WakuMessageArchiveMetadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *WakuMessageArchiveIndexMetadata) GetOffset() uint64 {
if m != nil {
return m.Offset
}
return 0
}
func (m *WakuMessageArchiveIndexMetadata) GetSize() uint64 {
if m != nil {
return m.Size
}
return 0
}
func (m *WakuMessageArchiveIndexMetadata) GetPadding() uint64 {
if m != nil {
return m.Padding
}
return 0
}
type WakuMessageArchiveIndex struct {
Archives map[string]*WakuMessageArchiveIndexMetadata `protobuf:"bytes,1,rep,name=archives,proto3" json:"archives,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WakuMessageArchiveIndex) Reset() { *m = WakuMessageArchiveIndex{} }
func (m *WakuMessageArchiveIndex) String() string { return proto.CompactTextString(m) }
func (*WakuMessageArchiveIndex) ProtoMessage() {}
func (*WakuMessageArchiveIndex) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{21}
}
func (m *WakuMessageArchiveIndex) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WakuMessageArchiveIndex.Unmarshal(m, b)
}
func (m *WakuMessageArchiveIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WakuMessageArchiveIndex.Marshal(b, m, deterministic)
}
func (m *WakuMessageArchiveIndex) XXX_Merge(src proto.Message) {
xxx_messageInfo_WakuMessageArchiveIndex.Merge(m, src)
}
func (m *WakuMessageArchiveIndex) XXX_Size() int {
return xxx_messageInfo_WakuMessageArchiveIndex.Size(m)
}
func (m *WakuMessageArchiveIndex) XXX_DiscardUnknown() {
xxx_messageInfo_WakuMessageArchiveIndex.DiscardUnknown(m)
}
var xxx_messageInfo_WakuMessageArchiveIndex proto.InternalMessageInfo
func (m *WakuMessageArchiveIndex) GetArchives() map[string]*WakuMessageArchiveIndexMetadata {
if m != nil {
return m.Archives
}
return nil
}
func init() {
proto.RegisterEnum("protobuf.CommunityMember_Roles", CommunityMember_Roles_name, CommunityMember_Roles_value)
proto.RegisterEnum("protobuf.CommunityPermissions_Access", CommunityPermissions_Access_name, CommunityPermissions_Access_value)
proto.RegisterEnum("protobuf.CommunityTokenPermission_Type", CommunityTokenPermission_Type_name, CommunityTokenPermission_Type_value)
proto.RegisterType((*Grant)(nil), "protobuf.Grant")
proto.RegisterType((*CommunityMember)(nil), "protobuf.CommunityMember")
proto.RegisterType((*CommunityTokenMetadata)(nil), "protobuf.CommunityTokenMetadata")
proto.RegisterMapType((map[uint64]string)(nil), "protobuf.CommunityTokenMetadata.ContractAddressesEntry")
proto.RegisterType((*CommunityPermissions)(nil), "protobuf.CommunityPermissions")
proto.RegisterType((*TokenCriteria)(nil), "protobuf.TokenCriteria")
proto.RegisterMapType((map[uint64]string)(nil), "protobuf.TokenCriteria.ContractAddressesEntry")
proto.RegisterType((*CommunityTokenPermission)(nil), "protobuf.CommunityTokenPermission")
proto.RegisterType((*CommunityDescription)(nil), "protobuf.CommunityDescription")
proto.RegisterMapType((map[string]*CommunityCategory)(nil), "protobuf.CommunityDescription.CategoriesEntry")
proto.RegisterMapType((map[string]*CommunityChat)(nil), "protobuf.CommunityDescription.ChatsEntry")
proto.RegisterMapType((map[string]*CommunityMember)(nil), "protobuf.CommunityDescription.MembersEntry")
proto.RegisterMapType((map[string]*CommunityTokenPermission)(nil), "protobuf.CommunityDescription.TokenPermissionsEntry")
proto.RegisterType((*CommunityAdminSettings)(nil), "protobuf.CommunityAdminSettings")
proto.RegisterType((*CommunityChat)(nil), "protobuf.CommunityChat")
proto.RegisterMapType((map[string]*CommunityMember)(nil), "protobuf.CommunityChat.MembersEntry")
proto.RegisterType((*CommunityCategory)(nil), "protobuf.CommunityCategory")
proto.RegisterType((*RevealedAccount)(nil), "protobuf.RevealedAccount")
proto.RegisterType((*CommunityRequestToJoin)(nil), "protobuf.CommunityRequestToJoin")
proto.RegisterType((*CommunityEditSharedAddresses)(nil), "protobuf.CommunityEditSharedAddresses")
proto.RegisterType((*CommunityCancelRequestToJoin)(nil), "protobuf.CommunityCancelRequestToJoin")
proto.RegisterType((*CommunityRequestToJoinResponse)(nil), "protobuf.CommunityRequestToJoinResponse")
proto.RegisterType((*CommunityRequestToLeave)(nil), "protobuf.CommunityRequestToLeave")
proto.RegisterType((*CommunityMessageArchiveMagnetlink)(nil), "protobuf.CommunityMessageArchiveMagnetlink")
proto.RegisterType((*WakuMessage)(nil), "protobuf.WakuMessage")
proto.RegisterType((*WakuMessageArchiveMetadata)(nil), "protobuf.WakuMessageArchiveMetadata")
proto.RegisterType((*WakuMessageArchive)(nil), "protobuf.WakuMessageArchive")
proto.RegisterType((*WakuMessageArchiveIndexMetadata)(nil), "protobuf.WakuMessageArchiveIndexMetadata")
proto.RegisterType((*WakuMessageArchiveIndex)(nil), "protobuf.WakuMessageArchiveIndex")
proto.RegisterMapType((map[string]*WakuMessageArchiveIndexMetadata)(nil), "protobuf.WakuMessageArchiveIndex.ArchivesEntry")
}
func init() {
proto.RegisterFile("communities.proto", fileDescriptor_f937943d74c1cd8b)
}
var fileDescriptor_f937943d74c1cd8b = []byte{
// 2063 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x41, 0x73, 0x1b, 0x49,
0xf5, 0xcf, 0x68, 0x64, 0x5b, 0x7a, 0xb2, 0x6c, 0xb9, 0x93, 0xd8, 0x13, 0x27, 0xd9, 0x28, 0xf3,
0xff, 0x53, 0x78, 0x43, 0xa1, 0xec, 0x1a, 0x28, 0x52, 0xbb, 0xb0, 0xbb, 0x8a, 0x3c, 0x64, 0xb5,
0x89, 0x46, 0xde, 0x96, 0xbc, 0x81, 0x2d, 0x60, 0xaa, 0x3d, 0xd3, 0xb6, 0xbb, 0x22, 0xcd, 0x88,
0xe9, 0x96, 0x0b, 0x71, 0xe0, 0x00, 0x7c, 0x02, 0xf8, 0x00, 0x1c, 0xb8, 0xc3, 0x47, 0xe0, 0x40,
0x15, 0x47, 0xee, 0xdc, 0x38, 0x72, 0xe4, 0xc4, 0x99,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