2023-11-09 18:59:01 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
option go_package = "./;protobuf";
|
|
|
|
package protobuf;
|
|
|
|
|
|
|
|
message ProfileShowcaseCommunity {
|
|
|
|
string community_id = 1;
|
|
|
|
uint32 order = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ProfileShowcaseAccount {
|
|
|
|
string address = 1;
|
|
|
|
string name = 2;
|
|
|
|
string color_id = 3;
|
|
|
|
string emoji = 4;
|
|
|
|
uint32 order = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ProfileShowcaseCollectible {
|
2024-01-25 16:48:27 +00:00
|
|
|
string uid = 1 [deprecated = true];
|
2023-11-09 18:59:01 +00:00
|
|
|
uint32 order = 2;
|
2024-01-25 16:48:27 +00:00
|
|
|
string contract_address = 3;
|
|
|
|
string community_id = 4;
|
|
|
|
uint64 chain_id = 5;
|
|
|
|
string token_id = 6;
|
|
|
|
string account_address = 7;
|
2023-11-09 18:59:01 +00:00
|
|
|
}
|
|
|
|
|
2024-01-25 16:48:27 +00:00
|
|
|
message ProfileShowcaseVerifiedToken {
|
2023-11-09 18:59:01 +00:00
|
|
|
string symbol = 1;
|
|
|
|
uint32 order = 2;
|
|
|
|
}
|
|
|
|
|
2024-01-25 16:48:27 +00:00
|
|
|
message ProfileShowcaseUnverifiedToken {
|
|
|
|
string contract_address = 1;
|
|
|
|
uint32 order = 2;
|
|
|
|
uint64 chain_id = 3;
|
|
|
|
string community_id = 4;
|
|
|
|
}
|
|
|
|
|
2023-11-09 18:59:01 +00:00
|
|
|
message ProfileShowcaseEntries {
|
|
|
|
repeated ProfileShowcaseCommunity communities = 1;
|
|
|
|
repeated ProfileShowcaseAccount accounts = 2;
|
|
|
|
repeated ProfileShowcaseCollectible collectibles = 3;
|
2024-01-25 16:48:27 +00:00
|
|
|
repeated ProfileShowcaseVerifiedToken verifiedTokens = 4;
|
|
|
|
repeated ProfileShowcaseUnverifiedToken unverifiedTokens = 5;
|
2023-11-09 18:59:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message ProfileShowcaseEntriesEncrypted {
|
|
|
|
bytes encrypted_entries = 1;
|
|
|
|
repeated bytes encryption_keys = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ProfileShowcase {
|
|
|
|
ProfileShowcaseEntries for_everyone = 1;
|
|
|
|
ProfileShowcaseEntriesEncrypted for_contacts = 2;
|
|
|
|
ProfileShowcaseEntriesEncrypted for_id_verified_contacts = 3;
|
|
|
|
}
|