status-go/protocol/protobuf/url_data.proto

44 lines
759 B
Protocol Buffer

syntax = "proto3";
option go_package = "./;protobuf";
package protobuf;
import "shard.proto";
message Community {
string display_name = 1;
string description = 2;
uint32 members_count = 3;
string color = 4;
repeated uint32 tag_indices = 5;
}
message Channel {
string display_name = 1;
string description = 2;
string emoji = 3;
string color = 4;
Community community = 5;
string uuid = 6;
}
message User {
string display_name = 1;
string description = 2;
string color = 3;
}
message Transaction {
uint32 txType = 1;
string address = 2;
string amount = 3;
string asset = 4;
uint32 chainId = 5;
string toAsset = 6;
}
message URLData {
// Community, Channel, User or Transaction
bytes content = 1;
Shard shard = 2;
}