@uniswap/client-data-api 0.0.221 → 0.0.223

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,150 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ import { RankedMultichainToken, RankedPool } from "./types_pb.js";
4
+ /**
5
+ * @generated from enum data.v2.SearchType
6
+ */
7
+ export declare enum SearchType {
8
+ /**
9
+ * @generated from enum value: SEARCH_TYPE_UNSPECIFIED = 0;
10
+ */
11
+ UNSPECIFIED = 0,
12
+ /**
13
+ * @generated from enum value: SEARCH_TYPE_TOKEN = 1;
14
+ */
15
+ TOKEN = 1,
16
+ /**
17
+ * @generated from enum value: SEARCH_TYPE_POOL = 2;
18
+ */
19
+ POOL = 2,
20
+ /**
21
+ * @generated from enum value: SEARCH_TYPE_AUCTION = 3;
22
+ */
23
+ AUCTION = 3,
24
+ /**
25
+ * @generated from enum value: SEARCH_TYPE_CATEGORY = 4;
26
+ */
27
+ CATEGORY = 4
28
+ }
29
+ /**
30
+ * @generated from message data.v2.SearchRequest
31
+ */
32
+ export declare class SearchRequest extends Message<SearchRequest> {
33
+ /**
34
+ * free text, or a token/pool/auction address
35
+ *
36
+ * @generated from field: string search_query = 1;
37
+ */
38
+ searchQuery: string;
39
+ /**
40
+ * required
41
+ *
42
+ * @generated from field: repeated uint32 chain_ids = 2;
43
+ */
44
+ chainIds: number[];
45
+ /**
46
+ * Required; only the listed result types are returned (empty returns nothing).
47
+ *
48
+ * @generated from field: repeated data.v2.SearchType types = 3;
49
+ */
50
+ types: SearchType[];
51
+ /**
52
+ * per-type result cap; server default and max apply
53
+ *
54
+ * @generated from field: optional uint32 max_results = 4;
55
+ */
56
+ maxResults?: number;
57
+ constructor(data?: PartialMessage<SearchRequest>);
58
+ static readonly runtime: typeof proto3;
59
+ static readonly typeName = "data.v2.SearchRequest";
60
+ static readonly fields: FieldList;
61
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchRequest;
62
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchRequest;
63
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchRequest;
64
+ static equals(a: SearchRequest | PlainMessage<SearchRequest> | undefined, b: SearchRequest | PlainMessage<SearchRequest> | undefined): boolean;
65
+ }
66
+ /**
67
+ * @generated from message data.v2.SearchResponse
68
+ */
69
+ export declare class SearchResponse extends Message<SearchResponse> {
70
+ /**
71
+ * Ranker-ordered, same row shape as ListTokens; hidden results (malicious,
72
+ * blocklisted, URL in name) are dropped server-side and never returned.
73
+ *
74
+ * @generated from field: repeated data.v2.RankedMultichainToken tokens = 1;
75
+ */
76
+ tokens: RankedMultichainToken[];
77
+ /**
78
+ * Lower-quality matches, rendered behind the "see more" expando.
79
+ *
80
+ * @generated from field: repeated data.v2.RankedMultichainToken suppressed_tokens = 2;
81
+ */
82
+ suppressedTokens: RankedMultichainToken[];
83
+ /**
84
+ * ordered by 24h volume
85
+ *
86
+ * @generated from field: repeated data.v2.RankedPool pools = 3;
87
+ */
88
+ pools: RankedPool[];
89
+ /**
90
+ * ordered by total bid volume
91
+ *
92
+ * @generated from field: repeated data.v2.SearchAuction auctions = 4;
93
+ */
94
+ auctions: SearchAuction[];
95
+ /**
96
+ * Matching category ids; hydrate display data from ListCategories.
97
+ *
98
+ * @generated from field: repeated string category_ids = 5;
99
+ */
100
+ categoryIds: string[];
101
+ constructor(data?: PartialMessage<SearchResponse>);
102
+ static readonly runtime: typeof proto3;
103
+ static readonly typeName = "data.v2.SearchResponse";
104
+ static readonly fields: FieldList;
105
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchResponse;
106
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchResponse;
107
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchResponse;
108
+ static equals(a: SearchResponse | PlainMessage<SearchResponse> | undefined, b: SearchResponse | PlainMessage<SearchResponse> | undefined): boolean;
109
+ }
110
+ /**
111
+ * @generated from message data.v2.SearchAuction
112
+ */
113
+ export declare class SearchAuction extends Message<SearchAuction> {
114
+ /**
115
+ * @generated from field: string auction_id = 1;
116
+ */
117
+ auctionId: string;
118
+ /**
119
+ * @generated from field: uint32 chain_id = 2;
120
+ */
121
+ chainId: number;
122
+ /**
123
+ * @generated from field: string auction_address = 3;
124
+ */
125
+ auctionAddress: string;
126
+ /**
127
+ * @generated from field: string token_address = 4;
128
+ */
129
+ tokenAddress: string;
130
+ /**
131
+ * @generated from field: string token_name = 5;
132
+ */
133
+ tokenName: string;
134
+ /**
135
+ * @generated from field: string token_symbol = 6;
136
+ */
137
+ tokenSymbol: string;
138
+ /**
139
+ * @generated from field: string total_bid_volume_usd = 7;
140
+ */
141
+ totalBidVolumeUsd: string;
142
+ constructor(data?: PartialMessage<SearchAuction>);
143
+ static readonly runtime: typeof proto3;
144
+ static readonly typeName = "data.v2.SearchAuction";
145
+ static readonly fields: FieldList;
146
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchAuction;
147
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchAuction;
148
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchAuction;
149
+ static equals(a: SearchAuction | PlainMessage<SearchAuction> | undefined, b: SearchAuction | PlainMessage<SearchAuction> | undefined): boolean;
150
+ }
@@ -0,0 +1,208 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
2
+ // @generated from file data/v2/search.proto (package data.v2, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { Message, proto3 } from "@bufbuild/protobuf";
6
+ import { RankedMultichainToken, RankedPool } from "./types_pb.js";
7
+ /**
8
+ * @generated from enum data.v2.SearchType
9
+ */
10
+ export var SearchType;
11
+ (function (SearchType) {
12
+ /**
13
+ * @generated from enum value: SEARCH_TYPE_UNSPECIFIED = 0;
14
+ */
15
+ SearchType[SearchType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
16
+ /**
17
+ * @generated from enum value: SEARCH_TYPE_TOKEN = 1;
18
+ */
19
+ SearchType[SearchType["TOKEN"] = 1] = "TOKEN";
20
+ /**
21
+ * @generated from enum value: SEARCH_TYPE_POOL = 2;
22
+ */
23
+ SearchType[SearchType["POOL"] = 2] = "POOL";
24
+ /**
25
+ * @generated from enum value: SEARCH_TYPE_AUCTION = 3;
26
+ */
27
+ SearchType[SearchType["AUCTION"] = 3] = "AUCTION";
28
+ /**
29
+ * @generated from enum value: SEARCH_TYPE_CATEGORY = 4;
30
+ */
31
+ SearchType[SearchType["CATEGORY"] = 4] = "CATEGORY";
32
+ })(SearchType || (SearchType = {}));
33
+ // Retrieve enum metadata with: proto3.getEnumType(SearchType)
34
+ proto3.util.setEnumType(SearchType, "data.v2.SearchType", [
35
+ { no: 0, name: "SEARCH_TYPE_UNSPECIFIED" },
36
+ { no: 1, name: "SEARCH_TYPE_TOKEN" },
37
+ { no: 2, name: "SEARCH_TYPE_POOL" },
38
+ { no: 3, name: "SEARCH_TYPE_AUCTION" },
39
+ { no: 4, name: "SEARCH_TYPE_CATEGORY" },
40
+ ]);
41
+ /**
42
+ * @generated from message data.v2.SearchRequest
43
+ */
44
+ export class SearchRequest extends Message {
45
+ constructor(data) {
46
+ super();
47
+ /**
48
+ * free text, or a token/pool/auction address
49
+ *
50
+ * @generated from field: string search_query = 1;
51
+ */
52
+ this.searchQuery = "";
53
+ /**
54
+ * required
55
+ *
56
+ * @generated from field: repeated uint32 chain_ids = 2;
57
+ */
58
+ this.chainIds = [];
59
+ /**
60
+ * Required; only the listed result types are returned (empty returns nothing).
61
+ *
62
+ * @generated from field: repeated data.v2.SearchType types = 3;
63
+ */
64
+ this.types = [];
65
+ proto3.util.initPartial(data, this);
66
+ }
67
+ static fromBinary(bytes, options) {
68
+ return new SearchRequest().fromBinary(bytes, options);
69
+ }
70
+ static fromJson(jsonValue, options) {
71
+ return new SearchRequest().fromJson(jsonValue, options);
72
+ }
73
+ static fromJsonString(jsonString, options) {
74
+ return new SearchRequest().fromJsonString(jsonString, options);
75
+ }
76
+ static equals(a, b) {
77
+ return proto3.util.equals(SearchRequest, a, b);
78
+ }
79
+ }
80
+ SearchRequest.runtime = proto3;
81
+ SearchRequest.typeName = "data.v2.SearchRequest";
82
+ SearchRequest.fields = proto3.util.newFieldList(() => [
83
+ { no: 1, name: "search_query", kind: "scalar", T: 9 /* ScalarType.STRING */ },
84
+ { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
85
+ { no: 3, name: "types", kind: "enum", T: proto3.getEnumType(SearchType), repeated: true },
86
+ { no: 4, name: "max_results", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
87
+ ]);
88
+ /**
89
+ * @generated from message data.v2.SearchResponse
90
+ */
91
+ export class SearchResponse extends Message {
92
+ constructor(data) {
93
+ super();
94
+ /**
95
+ * Ranker-ordered, same row shape as ListTokens; hidden results (malicious,
96
+ * blocklisted, URL in name) are dropped server-side and never returned.
97
+ *
98
+ * @generated from field: repeated data.v2.RankedMultichainToken tokens = 1;
99
+ */
100
+ this.tokens = [];
101
+ /**
102
+ * Lower-quality matches, rendered behind the "see more" expando.
103
+ *
104
+ * @generated from field: repeated data.v2.RankedMultichainToken suppressed_tokens = 2;
105
+ */
106
+ this.suppressedTokens = [];
107
+ /**
108
+ * ordered by 24h volume
109
+ *
110
+ * @generated from field: repeated data.v2.RankedPool pools = 3;
111
+ */
112
+ this.pools = [];
113
+ /**
114
+ * ordered by total bid volume
115
+ *
116
+ * @generated from field: repeated data.v2.SearchAuction auctions = 4;
117
+ */
118
+ this.auctions = [];
119
+ /**
120
+ * Matching category ids; hydrate display data from ListCategories.
121
+ *
122
+ * @generated from field: repeated string category_ids = 5;
123
+ */
124
+ this.categoryIds = [];
125
+ proto3.util.initPartial(data, this);
126
+ }
127
+ static fromBinary(bytes, options) {
128
+ return new SearchResponse().fromBinary(bytes, options);
129
+ }
130
+ static fromJson(jsonValue, options) {
131
+ return new SearchResponse().fromJson(jsonValue, options);
132
+ }
133
+ static fromJsonString(jsonString, options) {
134
+ return new SearchResponse().fromJsonString(jsonString, options);
135
+ }
136
+ static equals(a, b) {
137
+ return proto3.util.equals(SearchResponse, a, b);
138
+ }
139
+ }
140
+ SearchResponse.runtime = proto3;
141
+ SearchResponse.typeName = "data.v2.SearchResponse";
142
+ SearchResponse.fields = proto3.util.newFieldList(() => [
143
+ { no: 1, name: "tokens", kind: "message", T: RankedMultichainToken, repeated: true },
144
+ { no: 2, name: "suppressed_tokens", kind: "message", T: RankedMultichainToken, repeated: true },
145
+ { no: 3, name: "pools", kind: "message", T: RankedPool, repeated: true },
146
+ { no: 4, name: "auctions", kind: "message", T: SearchAuction, repeated: true },
147
+ { no: 5, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
148
+ ]);
149
+ /**
150
+ * @generated from message data.v2.SearchAuction
151
+ */
152
+ export class SearchAuction extends Message {
153
+ constructor(data) {
154
+ super();
155
+ /**
156
+ * @generated from field: string auction_id = 1;
157
+ */
158
+ this.auctionId = "";
159
+ /**
160
+ * @generated from field: uint32 chain_id = 2;
161
+ */
162
+ this.chainId = 0;
163
+ /**
164
+ * @generated from field: string auction_address = 3;
165
+ */
166
+ this.auctionAddress = "";
167
+ /**
168
+ * @generated from field: string token_address = 4;
169
+ */
170
+ this.tokenAddress = "";
171
+ /**
172
+ * @generated from field: string token_name = 5;
173
+ */
174
+ this.tokenName = "";
175
+ /**
176
+ * @generated from field: string token_symbol = 6;
177
+ */
178
+ this.tokenSymbol = "";
179
+ /**
180
+ * @generated from field: string total_bid_volume_usd = 7;
181
+ */
182
+ this.totalBidVolumeUsd = "";
183
+ proto3.util.initPartial(data, this);
184
+ }
185
+ static fromBinary(bytes, options) {
186
+ return new SearchAuction().fromBinary(bytes, options);
187
+ }
188
+ static fromJson(jsonValue, options) {
189
+ return new SearchAuction().fromJson(jsonValue, options);
190
+ }
191
+ static fromJsonString(jsonString, options) {
192
+ return new SearchAuction().fromJsonString(jsonString, options);
193
+ }
194
+ static equals(a, b) {
195
+ return proto3.util.equals(SearchAuction, a, b);
196
+ }
197
+ }
198
+ SearchAuction.runtime = proto3;
199
+ SearchAuction.typeName = "data.v2.SearchAuction";
200
+ SearchAuction.fields = proto3.util.newFieldList(() => [
201
+ { no: 1, name: "auction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
202
+ { no: 2, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
203
+ { no: 3, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
204
+ { no: 4, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
205
+ { no: 5, name: "token_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
206
+ { no: 6, name: "token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
207
+ { no: 7, name: "total_bid_volume_usd", kind: "scalar", T: 9 /* ScalarType.STRING */ },
208
+ ]);
@@ -0,0 +1,92 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ import { RankedMultichainToken, TokenRankStats } from "./types_pb.js";
4
+ /**
5
+ * @generated from message data.v2.TokenGroup
6
+ */
7
+ export declare class TokenGroup extends Message<TokenGroup> {
8
+ /**
9
+ * frozen slug, never renamed: 'tsla'
10
+ *
11
+ * @generated from field: string id = 1;
12
+ */
13
+ id: string;
14
+ /**
15
+ * @generated from field: string display_name = 2;
16
+ */
17
+ displayName: string;
18
+ /**
19
+ * @generated from field: string ticker = 3;
20
+ */
21
+ ticker: string;
22
+ /**
23
+ * 'stocks' | 'etfs' | 'commodities'
24
+ *
25
+ * @generated from field: string category_id = 4;
26
+ */
27
+ categoryId: string;
28
+ /**
29
+ * @generated from field: string logo_url = 5;
30
+ */
31
+ logoUrl: string;
32
+ constructor(data?: PartialMessage<TokenGroup>);
33
+ static readonly runtime: typeof proto3;
34
+ static readonly typeName = "data.v2.TokenGroup";
35
+ static readonly fields: FieldList;
36
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenGroup;
37
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenGroup;
38
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenGroup;
39
+ static equals(a: TokenGroup | PlainMessage<TokenGroup> | undefined, b: TokenGroup | PlainMessage<TokenGroup> | undefined): boolean;
40
+ }
41
+ /**
42
+ * @generated from message data.v2.RankedTokenGroup
43
+ */
44
+ export declare class RankedTokenGroup extends Message<RankedTokenGroup> {
45
+ /**
46
+ * @generated from field: data.v2.TokenGroup group = 1;
47
+ */
48
+ group?: TokenGroup;
49
+ /**
50
+ * @generated from field: data.v2.TokenRankStats stats = 2;
51
+ */
52
+ stats?: TokenRankStats;
53
+ /**
54
+ * Sorted volume_1d DESC.
55
+ *
56
+ * @generated from field: repeated data.v2.RankedMultichainToken members = 3;
57
+ */
58
+ members: RankedMultichainToken[];
59
+ /**
60
+ * Max % deviation of any member's price from stats.price. Always set; 0 when single-member.
61
+ *
62
+ * @generated from field: double price_deviation_pct = 4;
63
+ */
64
+ priceDeviationPct: number;
65
+ constructor(data?: PartialMessage<RankedTokenGroup>);
66
+ static readonly runtime: typeof proto3;
67
+ static readonly typeName = "data.v2.RankedTokenGroup";
68
+ static readonly fields: FieldList;
69
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RankedTokenGroup;
70
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RankedTokenGroup;
71
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RankedTokenGroup;
72
+ static equals(a: RankedTokenGroup | PlainMessage<RankedTokenGroup> | undefined, b: RankedTokenGroup | PlainMessage<RankedTokenGroup> | undefined): boolean;
73
+ }
74
+ /**
75
+ * @generated from message data.v2.TokenGroupListFilter
76
+ */
77
+ export declare class TokenGroupListFilter extends Message<TokenGroupListFilter> {
78
+ /**
79
+ * OR; asset-class categories only
80
+ *
81
+ * @generated from field: repeated string category_ids = 1;
82
+ */
83
+ categoryIds: string[];
84
+ constructor(data?: PartialMessage<TokenGroupListFilter>);
85
+ static readonly runtime: typeof proto3;
86
+ static readonly typeName = "data.v2.TokenGroupListFilter";
87
+ static readonly fields: FieldList;
88
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenGroupListFilter;
89
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenGroupListFilter;
90
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenGroupListFilter;
91
+ static equals(a: TokenGroupListFilter | PlainMessage<TokenGroupListFilter> | undefined, b: TokenGroupListFilter | PlainMessage<TokenGroupListFilter> | undefined): boolean;
92
+ }
@@ -0,0 +1,133 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
2
+ // @generated from file data/v2/tokenGroups.proto (package data.v2, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { Message, proto3 } from "@bufbuild/protobuf";
6
+ import { RankedMultichainToken, TokenRankStats } from "./types_pb.js";
7
+ /**
8
+ * @generated from message data.v2.TokenGroup
9
+ */
10
+ export class TokenGroup extends Message {
11
+ constructor(data) {
12
+ super();
13
+ /**
14
+ * frozen slug, never renamed: 'tsla'
15
+ *
16
+ * @generated from field: string id = 1;
17
+ */
18
+ this.id = "";
19
+ /**
20
+ * @generated from field: string display_name = 2;
21
+ */
22
+ this.displayName = "";
23
+ /**
24
+ * @generated from field: string ticker = 3;
25
+ */
26
+ this.ticker = "";
27
+ /**
28
+ * 'stocks' | 'etfs' | 'commodities'
29
+ *
30
+ * @generated from field: string category_id = 4;
31
+ */
32
+ this.categoryId = "";
33
+ /**
34
+ * @generated from field: string logo_url = 5;
35
+ */
36
+ this.logoUrl = "";
37
+ proto3.util.initPartial(data, this);
38
+ }
39
+ static fromBinary(bytes, options) {
40
+ return new TokenGroup().fromBinary(bytes, options);
41
+ }
42
+ static fromJson(jsonValue, options) {
43
+ return new TokenGroup().fromJson(jsonValue, options);
44
+ }
45
+ static fromJsonString(jsonString, options) {
46
+ return new TokenGroup().fromJsonString(jsonString, options);
47
+ }
48
+ static equals(a, b) {
49
+ return proto3.util.equals(TokenGroup, a, b);
50
+ }
51
+ }
52
+ TokenGroup.runtime = proto3;
53
+ TokenGroup.typeName = "data.v2.TokenGroup";
54
+ TokenGroup.fields = proto3.util.newFieldList(() => [
55
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
56
+ { no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
57
+ { no: 3, name: "ticker", kind: "scalar", T: 9 /* ScalarType.STRING */ },
58
+ { no: 4, name: "category_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
59
+ { no: 5, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
60
+ ]);
61
+ /**
62
+ * @generated from message data.v2.RankedTokenGroup
63
+ */
64
+ export class RankedTokenGroup extends Message {
65
+ constructor(data) {
66
+ super();
67
+ /**
68
+ * Sorted volume_1d DESC.
69
+ *
70
+ * @generated from field: repeated data.v2.RankedMultichainToken members = 3;
71
+ */
72
+ this.members = [];
73
+ /**
74
+ * Max % deviation of any member's price from stats.price. Always set; 0 when single-member.
75
+ *
76
+ * @generated from field: double price_deviation_pct = 4;
77
+ */
78
+ this.priceDeviationPct = 0;
79
+ proto3.util.initPartial(data, this);
80
+ }
81
+ static fromBinary(bytes, options) {
82
+ return new RankedTokenGroup().fromBinary(bytes, options);
83
+ }
84
+ static fromJson(jsonValue, options) {
85
+ return new RankedTokenGroup().fromJson(jsonValue, options);
86
+ }
87
+ static fromJsonString(jsonString, options) {
88
+ return new RankedTokenGroup().fromJsonString(jsonString, options);
89
+ }
90
+ static equals(a, b) {
91
+ return proto3.util.equals(RankedTokenGroup, a, b);
92
+ }
93
+ }
94
+ RankedTokenGroup.runtime = proto3;
95
+ RankedTokenGroup.typeName = "data.v2.RankedTokenGroup";
96
+ RankedTokenGroup.fields = proto3.util.newFieldList(() => [
97
+ { no: 1, name: "group", kind: "message", T: TokenGroup },
98
+ { no: 2, name: "stats", kind: "message", T: TokenRankStats },
99
+ { no: 3, name: "members", kind: "message", T: RankedMultichainToken, repeated: true },
100
+ { no: 4, name: "price_deviation_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
101
+ ]);
102
+ /**
103
+ * @generated from message data.v2.TokenGroupListFilter
104
+ */
105
+ export class TokenGroupListFilter extends Message {
106
+ constructor(data) {
107
+ super();
108
+ /**
109
+ * OR; asset-class categories only
110
+ *
111
+ * @generated from field: repeated string category_ids = 1;
112
+ */
113
+ this.categoryIds = [];
114
+ proto3.util.initPartial(data, this);
115
+ }
116
+ static fromBinary(bytes, options) {
117
+ return new TokenGroupListFilter().fromBinary(bytes, options);
118
+ }
119
+ static fromJson(jsonValue, options) {
120
+ return new TokenGroupListFilter().fromJson(jsonValue, options);
121
+ }
122
+ static fromJsonString(jsonString, options) {
123
+ return new TokenGroupListFilter().fromJsonString(jsonString, options);
124
+ }
125
+ static equals(a, b) {
126
+ return proto3.util.equals(TokenGroupListFilter, a, b);
127
+ }
128
+ }
129
+ TokenGroupListFilter.runtime = proto3;
130
+ TokenGroupListFilter.typeName = "data.v2.TokenGroupListFilter";
131
+ TokenGroupListFilter.fields = proto3.util.newFieldList(() => [
132
+ { no: 1, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
133
+ ]);
@@ -904,6 +904,33 @@ export declare class TokenMultichain extends Message<TokenMultichain> {
904
904
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenMultichain;
905
905
  static equals(a: TokenMultichain | PlainMessage<TokenMultichain> | undefined, b: TokenMultichain | PlainMessage<TokenMultichain> | undefined): boolean;
906
906
  }
907
+ /**
908
+ * Issuer of a tokenized real-world asset; absent = not an RWA or issuer unknown.
909
+ *
910
+ * @generated from message data.v2.TokenIssuerInfo
911
+ */
912
+ export declare class TokenIssuerInfo extends Message<TokenIssuerInfo> {
913
+ /**
914
+ * @generated from field: string id = 1;
915
+ */
916
+ id: string;
917
+ /**
918
+ * @generated from field: string display_name = 2;
919
+ */
920
+ displayName: string;
921
+ /**
922
+ * @generated from field: string logo_url = 3;
923
+ */
924
+ logoUrl: string;
925
+ constructor(data?: PartialMessage<TokenIssuerInfo>);
926
+ static readonly runtime: typeof proto3;
927
+ static readonly typeName = "data.v2.TokenIssuerInfo";
928
+ static readonly fields: FieldList;
929
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenIssuerInfo;
930
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenIssuerInfo;
931
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenIssuerInfo;
932
+ static equals(a: TokenIssuerInfo | PlainMessage<TokenIssuerInfo> | undefined, b: TokenIssuerInfo | PlainMessage<TokenIssuerInfo> | undefined): boolean;
933
+ }
907
934
  /**
908
935
  * @generated from message data.v2.MultichainToken
909
936
  */
@@ -961,6 +988,10 @@ export declare class MultichainToken extends Message<MultichainToken> {
961
988
  * @generated from field: repeated string category_ids = 12;
962
989
  */
963
990
  categoryIds: string[];
991
+ /**
992
+ * @generated from field: optional data.v2.TokenIssuerInfo issuer = 13;
993
+ */
994
+ issuer?: TokenIssuerInfo;
964
995
  constructor(data?: PartialMessage<MultichainToken>);
965
996
  static readonly runtime: typeof proto3;
966
997
  static readonly typeName = "data.v2.MultichainToken";
@@ -1463,6 +1494,10 @@ export declare class Token extends Message<Token> {
1463
1494
  * @generated from field: repeated string category_ids = 13;
1464
1495
  */
1465
1496
  categoryIds: string[];
1497
+ /**
1498
+ * @generated from field: optional data.v2.TokenIssuerInfo issuer = 14;
1499
+ */
1500
+ issuer?: TokenIssuerInfo;
1466
1501
  constructor(data?: PartialMessage<Token>);
1467
1502
  static readonly runtime: typeof proto3;
1468
1503
  static readonly typeName = "data.v2.Token";