@uniswap/client-data-api 0.0.295 → 0.0.297

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.
Files changed (53) hide show
  1. package/dist/buf/validate/validate_pb.d.ts +4833 -0
  2. package/dist/buf/validate/validate_pb.js +356 -0
  3. package/dist/data/v1/api-DataApiService_connectquery.d.ts +88 -200
  4. package/dist/data/v1/api-DataApiService_connectquery.js +24 -224
  5. package/dist/data/v1/api_pb.d.ts +843 -845
  6. package/dist/data/v1/api_pb.js +393 -2676
  7. package/dist/data/v1/featureGating_pb.d.ts +31 -26
  8. package/dist/data/v1/featureGating_pb.js +13 -50
  9. package/dist/data/v1/plan_pb.d.ts +29 -0
  10. package/dist/data/v1/plan_pb.js +30 -69
  11. package/dist/data/v1/poolTypes_pb.d.ts +118 -127
  12. package/dist/data/v1/poolTypes_pb.js +47 -438
  13. package/dist/data/v1/types_pb.d.ts +1276 -1334
  14. package/dist/data/v1/types_pb.js +249 -2021
  15. package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +16 -38
  16. package/dist/data/v1/workerService-WorkerService_connectquery.js +6 -44
  17. package/dist/data/v1/workerService_pb.d.ts +99 -92
  18. package/dist/data/v1/workerService_pb.js +37 -248
  19. package/dist/data/v2/api-DataApiService_connectquery.d.ts +148 -335
  20. package/dist/data/v2/api-DataApiService_connectquery.js +39 -374
  21. package/dist/data/v2/api_pb.d.ts +1087 -1054
  22. package/dist/data/v2/api_pb.js +483 -3805
  23. package/dist/data/v2/categories_pb.d.ts +130 -142
  24. package/dist/data/v2/categories_pb.js +55 -457
  25. package/dist/data/v2/common_pb.d.ts +23 -25
  26. package/dist/data/v2/common_pb.js +12 -59
  27. package/dist/data/v2/earn_pb.d.ts +92 -92
  28. package/dist/data/v2/earn_pb.js +33 -229
  29. package/dist/data/v2/hooks_pb.d.ts +119 -135
  30. package/dist/data/v2/hooks_pb.js +49 -315
  31. package/dist/data/v2/search-SearchService_connectquery.d.ts +4 -11
  32. package/dist/data/v2/search-SearchService_connectquery.js +3 -14
  33. package/dist/data/v2/search_pb.d.ts +139 -120
  34. package/dist/data/v2/search_pb.js +34 -225
  35. package/dist/data/v2/tokenGroups_pb.d.ts +31 -36
  36. package/dist/data/v2/tokenGroups_pb.js +16 -126
  37. package/dist/data/v2/types_pb.d.ts +1823 -1846
  38. package/dist/data/v2/types_pb.js +282 -2141
  39. package/dist/data/v2/workerService-WorkerService_connectquery.d.ts +4 -11
  40. package/dist/data/v2/workerService-WorkerService_connectquery.js +3 -14
  41. package/dist/data/v2/workerService_pb.d.ts +35 -22
  42. package/dist/data/v2/workerService_pb.js +20 -47
  43. package/package.json +1 -1
  44. package/dist/data/v1/api_connect.d.ts +0 -208
  45. package/dist/data/v1/api_connect.js +0 -212
  46. package/dist/data/v1/workerService_connect.d.ts +0 -46
  47. package/dist/data/v1/workerService_connect.js +0 -50
  48. package/dist/data/v2/api_connect.d.ts +0 -343
  49. package/dist/data/v2/api_connect.js +0 -347
  50. package/dist/data/v2/search_connect.d.ts +0 -21
  51. package/dist/data/v2/search_connect.js +0 -25
  52. package/dist/data/v2/workerService_connect.d.ts +0 -23
  53. package/dist/data/v2/workerService_connect.js +0 -27
@@ -1,10 +1,380 @@
1
- // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.16.0 with parameter "target=ts"
2
2
  // @generated from file data/v1/api.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
- import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
- import { ChainTokenProfitLoss, Contract, MultichainTokenProfitLoss, PoolRef, Portfolio, PortfolioValueModifier, Token, TokenDetailProfitLoss, TokenProfitLoss, TokenReportEventType, Transaction, TransactionTypeFilter, WalletProfitLoss } from "./types_pb.js";
7
- import { RewardBalance, Token as Token$1 } from "./poolTypes_pb.js";
4
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_data_v1_types } from "./types_pb";
6
+ import { file_data_v1_poolTypes } from "./poolTypes_pb";
7
+ /**
8
+ * Describes the file data/v1/api.proto.
9
+ */
10
+ export const file_data_v1_api = /*@__PURE__*/ fileDesc("ChFkYXRhL3YxL2FwaS5wcm90bxIHZGF0YS52MSJHCg9QbGF0Zm9ybUFkZHJlc3MSIwoIcGxhdGZvcm0YASABKA4yES5kYXRhLnYxLlBsYXRmb3JtEg8KB2FkZHJlc3MYAiABKAkiRQoNV2FsbGV0QWNjb3VudBI0ChJwbGF0Zm9ybV9hZGRyZXNzZXMYASADKAsyGC5kYXRhLnYxLlBsYXRmb3JtQWRkcmVzcyI0Cg9HZXRUb2tlblJlcXVlc3QSEAoIY2hhaW5faWQYASABKA0SDwoHYWRkcmVzcxgCIAEoCSIxChBHZXRUb2tlblJlc3BvbnNlEh0KBXRva2VuGAEgASgLMg4uZGF0YS52MS5Ub2tlbiL9AQoTR2V0UG9ydGZvbGlvUmVxdWVzdBIuCg53YWxsZXRfYWNjb3VudBgBIAEoCzIWLmRhdGEudjEuV2FsbGV0QWNjb3VudBIRCgljaGFpbl9pZHMYAiADKA0SNgoIbW9kaWZpZXIYAyABKAsyHy5kYXRhLnYxLlBvcnRmb2xpb1ZhbHVlTW9kaWZpZXJIAIgBARIXCgptdWx0aWNoYWluGAQgASgISAGIAQESHwoSdXNlX3N1YnN0cmVhbV9kYXRhGAUgASgISAKIAQFCCwoJX21vZGlmaWVyQg0KC19tdWx0aWNoYWluQhUKE191c2Vfc3Vic3RyZWFtX2RhdGEiPQoUR2V0UG9ydGZvbGlvUmVzcG9uc2USJQoJcG9ydGZvbGlvGAEgASgLMhIuZGF0YS52MS5Qb3J0Zm9saW8ijwEKFUxpc3RQb3J0Zm9saW9zUmVxdWVzdBIvCg93YWxsZXRfYWNjb3VudHMYASADKAsyFi5kYXRhLnYxLldhbGxldEFjY291bnQSEQoJY2hhaW5faWRzGAIgAygNEjIKCW1vZGlmaWVycxgDIAMoC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
11
+ /**
12
+ * Describes the message data.v1.PlatformAddress.
13
+ * Use `create(PlatformAddressSchema)` to create a new message.
14
+ */
15
+ export const PlatformAddressSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 0);
16
+ /**
17
+ * Describes the message data.v1.WalletAccount.
18
+ * Use `create(WalletAccountSchema)` to create a new message.
19
+ */
20
+ export const WalletAccountSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 1);
21
+ /**
22
+ * Describes the message data.v1.GetTokenRequest.
23
+ * Use `create(GetTokenRequestSchema)` to create a new message.
24
+ */
25
+ export const GetTokenRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 2);
26
+ /**
27
+ * Describes the message data.v1.GetTokenResponse.
28
+ * Use `create(GetTokenResponseSchema)` to create a new message.
29
+ */
30
+ export const GetTokenResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 3);
31
+ /**
32
+ * Describes the message data.v1.GetPortfolioRequest.
33
+ * Use `create(GetPortfolioRequestSchema)` to create a new message.
34
+ */
35
+ export const GetPortfolioRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 4);
36
+ /**
37
+ * Describes the message data.v1.GetPortfolioResponse.
38
+ * Use `create(GetPortfolioResponseSchema)` to create a new message.
39
+ */
40
+ export const GetPortfolioResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 5);
41
+ /**
42
+ * Describes the message data.v1.ListPortfoliosRequest.
43
+ * Use `create(ListPortfoliosRequestSchema)` to create a new message.
44
+ */
45
+ export const ListPortfoliosRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 6);
46
+ /**
47
+ * Describes the message data.v1.ListPortfoliosResponse.
48
+ * Use `create(ListPortfoliosResponseSchema)` to create a new message.
49
+ */
50
+ export const ListPortfoliosResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 7);
51
+ /**
52
+ * Describes the message data.v1.SubmitReportRequest.
53
+ * Use `create(SubmitReportRequestSchema)` to create a new message.
54
+ */
55
+ export const SubmitReportRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 8);
56
+ /**
57
+ * Describes the message data.v1.SubmitReportResponse.
58
+ * Use `create(SubmitReportResponseSchema)` to create a new message.
59
+ */
60
+ export const SubmitReportResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 9);
61
+ /**
62
+ * Describes the message data.v1.SubmitDataReportRequest.
63
+ * Use `create(SubmitDataReportRequestSchema)` to create a new message.
64
+ */
65
+ export const SubmitDataReportRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 10);
66
+ /**
67
+ * Describes the message data.v1.SubmitDataReportResponse.
68
+ * Use `create(SubmitDataReportResponseSchema)` to create a new message.
69
+ */
70
+ export const SubmitDataReportResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 11);
71
+ /**
72
+ * Describes the message data.v1.GetTransactionRequest.
73
+ * Use `create(GetTransactionRequestSchema)` to create a new message.
74
+ */
75
+ export const GetTransactionRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 12);
76
+ /**
77
+ * Describes the message data.v1.GetTransactionResponse.
78
+ * Use `create(GetTransactionResponseSchema)` to create a new message.
79
+ */
80
+ export const GetTransactionResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 13);
81
+ /**
82
+ * Describes the message data.v1.ListTransactionsRequest.
83
+ * Use `create(ListTransactionsRequestSchema)` to create a new message.
84
+ */
85
+ export const ListTransactionsRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 14);
86
+ /**
87
+ * Describes the message data.v1.FiatOnRampParams.
88
+ * Use `create(FiatOnRampParamsSchema)` to create a new message.
89
+ */
90
+ export const FiatOnRampParamsSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 15);
91
+ /**
92
+ * Describes the message data.v1.FiatOnRampAuth.
93
+ * Use `create(FiatOnRampAuthSchema)` to create a new message.
94
+ */
95
+ export const FiatOnRampAuthSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 16);
96
+ /**
97
+ * Describes the message data.v1.FiatOnRampTransactionIds.
98
+ * Use `create(FiatOnRampTransactionIdsSchema)` to create a new message.
99
+ */
100
+ export const FiatOnRampTransactionIdsSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 17);
101
+ /**
102
+ * Describes the message data.v1.ListTransactionsResponse.
103
+ * Use `create(ListTransactionsResponseSchema)` to create a new message.
104
+ */
105
+ export const ListTransactionsResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 18);
106
+ /**
107
+ * Describes the message data.v1.CreateTokenFactoryPresignedUrlRequest.
108
+ * Use `create(CreateTokenFactoryPresignedUrlRequestSchema)` to create a new message.
109
+ */
110
+ export const CreateTokenFactoryPresignedUrlRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 19);
111
+ /**
112
+ * Describes the message data.v1.CreateTokenFactoryPresignedUrlResponse.
113
+ * Use `create(CreateTokenFactoryPresignedUrlResponseSchema)` to create a new message.
114
+ */
115
+ export const CreateTokenFactoryPresignedUrlResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 20);
116
+ /**
117
+ * Describes the message data.v1.VerifyTokenFactoryImageRequest.
118
+ * Use `create(VerifyTokenFactoryImageRequestSchema)` to create a new message.
119
+ */
120
+ export const VerifyTokenFactoryImageRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 21);
121
+ /**
122
+ * Describes the message data.v1.VerifyTokenFactoryImageResponse.
123
+ * Use `create(VerifyTokenFactoryImageResponseSchema)` to create a new message.
124
+ */
125
+ export const VerifyTokenFactoryImageResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 22);
126
+ /**
127
+ * @generated from enum data.v1.VerifyTokenFactoryImageResponse.Status
128
+ */
129
+ export var VerifyTokenFactoryImageResponse_Status;
130
+ (function (VerifyTokenFactoryImageResponse_Status) {
131
+ /**
132
+ * @generated from enum value: STATUS_UNSPECIFIED = 0;
133
+ */
134
+ VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["UNSPECIFIED"] = 0] = "UNSPECIFIED";
135
+ /**
136
+ * @generated from enum value: STATUS_APPROVED = 1;
137
+ */
138
+ VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["APPROVED"] = 1] = "APPROVED";
139
+ /**
140
+ * @generated from enum value: STATUS_BLOCKED = 2;
141
+ */
142
+ VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["BLOCKED"] = 2] = "BLOCKED";
143
+ })(VerifyTokenFactoryImageResponse_Status || (VerifyTokenFactoryImageResponse_Status = {}));
144
+ /**
145
+ * Describes the enum data.v1.VerifyTokenFactoryImageResponse.Status.
146
+ */
147
+ export const VerifyTokenFactoryImageResponse_StatusSchema = /*@__PURE__*/ enumDesc(file_data_v1_api, 22, 0);
148
+ /**
149
+ * Describes the message data.v1.GetRewardsRequest.
150
+ * Use `create(GetRewardsRequestSchema)` to create a new message.
151
+ */
152
+ export const GetRewardsRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 23);
153
+ /**
154
+ * Describes the message data.v1.GetPositionRewardsRequest.
155
+ * Use `create(GetPositionRewardsRequestSchema)` to create a new message.
156
+ */
157
+ export const GetPositionRewardsRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 24);
158
+ /**
159
+ * Describes the message data.v1.PositionRef.
160
+ * Use `create(PositionRefSchema)` to create a new message.
161
+ */
162
+ export const PositionRefSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 25);
163
+ /**
164
+ * Describes the message data.v1.PositionReward.
165
+ * Use `create(PositionRewardSchema)` to create a new message.
166
+ */
167
+ export const PositionRewardSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 26);
168
+ /**
169
+ * Describes the message data.v1.PositionRewards.
170
+ * Use `create(PositionRewardsSchema)` to create a new message.
171
+ */
172
+ export const PositionRewardsSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 27);
173
+ /**
174
+ * Describes the message data.v1.GetPositionRewardsResponse.
175
+ * Use `create(GetPositionRewardsResponseSchema)` to create a new message.
176
+ */
177
+ export const GetPositionRewardsResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 28);
178
+ /**
179
+ * Describes the message data.v1.GetPoolRewardsRequest.
180
+ * Use `create(GetPoolRewardsRequestSchema)` to create a new message.
181
+ */
182
+ export const GetPoolRewardsRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 29);
183
+ /**
184
+ * Describes the message data.v1.PoolRewardsRef.
185
+ * Use `create(PoolRewardsRefSchema)` to create a new message.
186
+ */
187
+ export const PoolRewardsRefSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 30);
188
+ /**
189
+ * Describes the message data.v1.PoolCampaign.
190
+ * Use `create(PoolCampaignSchema)` to create a new message.
191
+ */
192
+ export const PoolCampaignSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 31);
193
+ /**
194
+ * Describes the message data.v1.PoolTokenRewards.
195
+ * Use `create(PoolTokenRewardsSchema)` to create a new message.
196
+ */
197
+ export const PoolTokenRewardsSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 32);
198
+ /**
199
+ * Describes the message data.v1.PoolRewards.
200
+ * Use `create(PoolRewardsSchema)` to create a new message.
201
+ */
202
+ export const PoolRewardsSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 33);
203
+ /**
204
+ * Describes the message data.v1.GetPoolRewardsResponse.
205
+ * Use `create(GetPoolRewardsResponseSchema)` to create a new message.
206
+ */
207
+ export const GetPoolRewardsResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 34);
208
+ /**
209
+ * Describes the message data.v1.GetRewardsResponse.
210
+ * Use `create(GetRewardsResponseSchema)` to create a new message.
211
+ */
212
+ export const GetRewardsResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 35);
213
+ /**
214
+ * Describes the message data.v1.GetPortfolioChartRequest.
215
+ * Use `create(GetPortfolioChartRequestSchema)` to create a new message.
216
+ */
217
+ export const GetPortfolioChartRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 36);
218
+ /**
219
+ * Describes the message data.v1.ChartPoint.
220
+ * Use `create(ChartPointSchema)` to create a new message.
221
+ */
222
+ export const ChartPointSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 37);
223
+ /**
224
+ * Describes the message data.v1.GetPortfolioChartResponse.
225
+ * Use `create(GetPortfolioChartResponseSchema)` to create a new message.
226
+ */
227
+ export const GetPortfolioChartResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 38);
228
+ /**
229
+ * Describes the message data.v1.TokenPriceInput.
230
+ * Use `create(TokenPriceInputSchema)` to create a new message.
231
+ */
232
+ export const TokenPriceInputSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 39);
233
+ /**
234
+ * Describes the message data.v1.TokenPrice.
235
+ * Use `create(TokenPriceSchema)` to create a new message.
236
+ */
237
+ export const TokenPriceSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 40);
238
+ /**
239
+ * Describes the message data.v1.GetTokenPricesRequest.
240
+ * Use `create(GetTokenPricesRequestSchema)` to create a new message.
241
+ */
242
+ export const GetTokenPricesRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 41);
243
+ /**
244
+ * Describes the message data.v1.GetTokenPricesResponse.
245
+ * Use `create(GetTokenPricesResponseSchema)` to create a new message.
246
+ */
247
+ export const GetTokenPricesResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 42);
248
+ /**
249
+ * Describes the message data.v1.GetWalletProfitLossRequest.
250
+ * Use `create(GetWalletProfitLossRequestSchema)` to create a new message.
251
+ */
252
+ export const GetWalletProfitLossRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 43);
253
+ /**
254
+ * Describes the message data.v1.GetWalletProfitLossResponse.
255
+ * Use `create(GetWalletProfitLossResponseSchema)` to create a new message.
256
+ */
257
+ export const GetWalletProfitLossResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 44);
258
+ /**
259
+ * Describes the message data.v1.GetWalletTokensProfitLossRequest.
260
+ * Use `create(GetWalletTokensProfitLossRequestSchema)` to create a new message.
261
+ */
262
+ export const GetWalletTokensProfitLossRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 45);
263
+ /**
264
+ * Describes the message data.v1.GetWalletTokensProfitLossResponse.
265
+ * Use `create(GetWalletTokensProfitLossResponseSchema)` to create a new message.
266
+ */
267
+ export const GetWalletTokensProfitLossResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 46);
268
+ /**
269
+ * Describes the message data.v1.GetWalletTokenProfitLossRequest.
270
+ * Use `create(GetWalletTokenProfitLossRequestSchema)` to create a new message.
271
+ */
272
+ export const GetWalletTokenProfitLossRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 47);
273
+ /**
274
+ * Describes the message data.v1.GetWalletTokenProfitLossResponse.
275
+ * Use `create(GetWalletTokenProfitLossResponseSchema)` to create a new message.
276
+ */
277
+ export const GetWalletTokenProfitLossResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 48);
278
+ /**
279
+ * Describes the message data.v1.GetWalletBalancesRequest.
280
+ * Use `create(GetWalletBalancesRequestSchema)` to create a new message.
281
+ */
282
+ export const GetWalletBalancesRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 49);
283
+ /**
284
+ * Describes the message data.v1.GetWalletBalancesResponse.
285
+ * Use `create(GetWalletBalancesResponseSchema)` to create a new message.
286
+ */
287
+ export const GetWalletBalancesResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 50);
288
+ /**
289
+ * Describes the message data.v1.GetWalletsBalancesRequest.
290
+ * Use `create(GetWalletsBalancesRequestSchema)` to create a new message.
291
+ */
292
+ export const GetWalletsBalancesRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 51);
293
+ /**
294
+ * Describes the message data.v1.GetWalletsBalancesResponse.
295
+ * Use `create(GetWalletsBalancesResponseSchema)` to create a new message.
296
+ */
297
+ export const GetWalletsBalancesResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 52);
298
+ /**
299
+ * Describes the message data.v1.WalletBalance.
300
+ * Use `create(WalletBalanceSchema)` to create a new message.
301
+ */
302
+ export const WalletBalanceSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 53);
303
+ /**
304
+ * Describes the message data.v1.BalanceComponent.
305
+ * Use `create(BalanceComponentSchema)` to create a new message.
306
+ */
307
+ export const BalanceComponentSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 54);
308
+ /**
309
+ * Describes the message data.v1.ListRwasRequest.
310
+ * Use `create(ListRwasRequestSchema)` to create a new message.
311
+ */
312
+ export const ListRwasRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 55);
313
+ /**
314
+ * Describes the message data.v1.ListRwasResponse.
315
+ * Use `create(ListRwasResponseSchema)` to create a new message.
316
+ */
317
+ export const ListRwasResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 56);
318
+ /**
319
+ * Describes the message data.v1.Rwa.
320
+ * Use `create(RwaSchema)` to create a new message.
321
+ */
322
+ export const RwaSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 57);
323
+ /**
324
+ * Describes the message data.v1.IssuerToken.
325
+ * Use `create(IssuerTokenSchema)` to create a new message.
326
+ */
327
+ export const IssuerTokenSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 58);
328
+ /**
329
+ * Describes the message data.v1.IssuerData.
330
+ * Use `create(IssuerDataSchema)` to create a new message.
331
+ */
332
+ export const IssuerDataSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 59);
333
+ /**
334
+ * Describes the message data.v1.ListRwaTokensRequest.
335
+ * Use `create(ListRwaTokensRequestSchema)` to create a new message.
336
+ */
337
+ export const ListRwaTokensRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 60);
338
+ /**
339
+ * Describes the message data.v1.ListRwaTokensResponse.
340
+ * Use `create(ListRwaTokensResponseSchema)` to create a new message.
341
+ */
342
+ export const ListRwaTokensResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 61);
343
+ /**
344
+ * Describes the message data.v1.ListRankedRwasRequest.
345
+ * Use `create(ListRankedRwasRequestSchema)` to create a new message.
346
+ */
347
+ export const ListRankedRwasRequestSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 62);
348
+ /**
349
+ * Describes the message data.v1.ListRankedRwasResponse.
350
+ * Use `create(ListRankedRwasResponseSchema)` to create a new message.
351
+ */
352
+ export const ListRankedRwasResponseSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 63);
353
+ /**
354
+ * Describes the message data.v1.RankedRwa.
355
+ * Use `create(RankedRwaSchema)` to create a new message.
356
+ */
357
+ export const RankedRwaSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 64);
358
+ /**
359
+ * Describes the message data.v1.IssuerMultichainToken.
360
+ * Use `create(IssuerMultichainTokenSchema)` to create a new message.
361
+ */
362
+ export const IssuerMultichainTokenSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 65);
363
+ /**
364
+ * Describes the message data.v1.RwaChainToken.
365
+ * Use `create(RwaChainTokenSchema)` to create a new message.
366
+ */
367
+ export const RwaChainTokenSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 66);
368
+ /**
369
+ * Describes the message data.v1.RwaSparkline.
370
+ * Use `create(RwaSparklineSchema)` to create a new message.
371
+ */
372
+ export const RwaSparklineSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 67);
373
+ /**
374
+ * Describes the message data.v1.RwaSparklinePoint.
375
+ * Use `create(RwaSparklinePointSchema)` to create a new message.
376
+ */
377
+ export const RwaSparklinePointSchema = /*@__PURE__*/ messageDesc(file_data_v1_api, 68);
8
378
  /**
9
379
  * @generated from enum data.v1.Platform
10
380
  */
@@ -19,11 +389,10 @@ export var Platform;
19
389
  */
20
390
  Platform[Platform["SVM"] = 1] = "SVM";
21
391
  })(Platform || (Platform = {}));
22
- // Retrieve enum metadata with: proto3.getEnumType(Platform)
23
- proto3.util.setEnumType(Platform, "data.v1.Platform", [
24
- { no: 0, name: "EVM" },
25
- { no: 1, name: "SVM" },
26
- ]);
392
+ /**
393
+ * Describes the enum data.v1.Platform.
394
+ */
395
+ export const PlatformSchema = /*@__PURE__*/ enumDesc(file_data_v1_api, 0);
27
396
  /**
28
397
  * @generated from enum data.v1.ChartPeriod
29
398
  */
@@ -58,16 +427,10 @@ export var ChartPeriod;
58
427
  */
59
428
  ChartPeriod[ChartPeriod["MAX"] = 6] = "MAX";
60
429
  })(ChartPeriod || (ChartPeriod = {}));
61
- // Retrieve enum metadata with: proto3.getEnumType(ChartPeriod)
62
- proto3.util.setEnumType(ChartPeriod, "data.v1.ChartPeriod", [
63
- { no: 0, name: "CHART_PERIOD_UNSPECIFIED" },
64
- { no: 1, name: "CHART_PERIOD_HOUR" },
65
- { no: 2, name: "CHART_PERIOD_DAY" },
66
- { no: 3, name: "CHART_PERIOD_WEEK" },
67
- { no: 4, name: "CHART_PERIOD_MONTH" },
68
- { no: 5, name: "CHART_PERIOD_YEAR" },
69
- { no: 6, name: "CHART_PERIOD_MAX" },
70
- ]);
430
+ /**
431
+ * Describes the enum data.v1.ChartPeriod.
432
+ */
433
+ export const ChartPeriodSchema = /*@__PURE__*/ enumDesc(file_data_v1_api, 1);
71
434
  /**
72
435
  * @generated from enum data.v1.WalletBalanceCategory
73
436
  */
@@ -86,12 +449,10 @@ export var WalletBalanceCategory;
86
449
  */
87
450
  WalletBalanceCategory[WalletBalanceCategory["EARN_VAULTS"] = 2] = "EARN_VAULTS";
88
451
  })(WalletBalanceCategory || (WalletBalanceCategory = {}));
89
- // Retrieve enum metadata with: proto3.getEnumType(WalletBalanceCategory)
90
- proto3.util.setEnumType(WalletBalanceCategory, "data.v1.WalletBalanceCategory", [
91
- { no: 0, name: "WALLET_BALANCE_CATEGORY_UNSPECIFIED" },
92
- { no: 1, name: "WALLET_BALANCE_CATEGORY_POOLS" },
93
- { no: 2, name: "WALLET_BALANCE_CATEGORY_EARN_VAULTS" },
94
- ]);
452
+ /**
453
+ * Describes the enum data.v1.WalletBalanceCategory.
454
+ */
455
+ export const WalletBalanceCategorySchema = /*@__PURE__*/ enumDesc(file_data_v1_api, 2);
95
456
  /**
96
457
  * @generated from enum data.v1.RwaCategory
97
458
  */
@@ -114,2655 +475,11 @@ export var RwaCategory;
114
475
  */
115
476
  RwaCategory[RwaCategory["ETFS"] = 3] = "ETFS";
116
477
  })(RwaCategory || (RwaCategory = {}));
117
- // Retrieve enum metadata with: proto3.getEnumType(RwaCategory)
118
- proto3.util.setEnumType(RwaCategory, "data.v1.RwaCategory", [
119
- { no: 0, name: "RWA_CATEGORY_UNSPECIFIED" },
120
- { no: 1, name: "RWA_CATEGORY_STOCKS" },
121
- { no: 2, name: "RWA_CATEGORY_COMMODITIES" },
122
- { no: 3, name: "RWA_CATEGORY_ETFS" },
123
- ]);
124
- /**
125
- * @generated from message data.v1.PlatformAddress
126
- */
127
- export class PlatformAddress extends Message {
128
- constructor(data) {
129
- super();
130
- /**
131
- * @generated from field: data.v1.Platform platform = 1;
132
- */
133
- this.platform = Platform.EVM;
134
- /**
135
- * @generated from field: string address = 2;
136
- */
137
- this.address = "";
138
- proto3.util.initPartial(data, this);
139
- }
140
- static fromBinary(bytes, options) {
141
- return new PlatformAddress().fromBinary(bytes, options);
142
- }
143
- static fromJson(jsonValue, options) {
144
- return new PlatformAddress().fromJson(jsonValue, options);
145
- }
146
- static fromJsonString(jsonString, options) {
147
- return new PlatformAddress().fromJsonString(jsonString, options);
148
- }
149
- static equals(a, b) {
150
- return proto3.util.equals(PlatformAddress, a, b);
151
- }
152
- }
153
- PlatformAddress.runtime = proto3;
154
- PlatformAddress.typeName = "data.v1.PlatformAddress";
155
- PlatformAddress.fields = proto3.util.newFieldList(() => [
156
- { no: 1, name: "platform", kind: "enum", T: proto3.getEnumType(Platform) },
157
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
158
- ]);
159
- /**
160
- * @generated from message data.v1.WalletAccount
161
- */
162
- export class WalletAccount extends Message {
163
- constructor(data) {
164
- super();
165
- /**
166
- * @generated from field: repeated data.v1.PlatformAddress platform_addresses = 1;
167
- */
168
- this.platformAddresses = [];
169
- proto3.util.initPartial(data, this);
170
- }
171
- static fromBinary(bytes, options) {
172
- return new WalletAccount().fromBinary(bytes, options);
173
- }
174
- static fromJson(jsonValue, options) {
175
- return new WalletAccount().fromJson(jsonValue, options);
176
- }
177
- static fromJsonString(jsonString, options) {
178
- return new WalletAccount().fromJsonString(jsonString, options);
179
- }
180
- static equals(a, b) {
181
- return proto3.util.equals(WalletAccount, a, b);
182
- }
183
- }
184
- WalletAccount.runtime = proto3;
185
- WalletAccount.typeName = "data.v1.WalletAccount";
186
- WalletAccount.fields = proto3.util.newFieldList(() => [
187
- { no: 1, name: "platform_addresses", kind: "message", T: PlatformAddress, repeated: true },
188
- ]);
189
- /**
190
- * @generated from message data.v1.GetTokenRequest
191
- */
192
- export class GetTokenRequest extends Message {
193
- constructor(data) {
194
- super();
195
- /**
196
- * @generated from field: uint32 chain_id = 1;
197
- */
198
- this.chainId = 0;
199
- /**
200
- * @generated from field: string address = 2;
201
- */
202
- this.address = "";
203
- proto3.util.initPartial(data, this);
204
- }
205
- static fromBinary(bytes, options) {
206
- return new GetTokenRequest().fromBinary(bytes, options);
207
- }
208
- static fromJson(jsonValue, options) {
209
- return new GetTokenRequest().fromJson(jsonValue, options);
210
- }
211
- static fromJsonString(jsonString, options) {
212
- return new GetTokenRequest().fromJsonString(jsonString, options);
213
- }
214
- static equals(a, b) {
215
- return proto3.util.equals(GetTokenRequest, a, b);
216
- }
217
- }
218
- GetTokenRequest.runtime = proto3;
219
- GetTokenRequest.typeName = "data.v1.GetTokenRequest";
220
- GetTokenRequest.fields = proto3.util.newFieldList(() => [
221
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
222
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
223
- ]);
224
- /**
225
- * @generated from message data.v1.GetTokenResponse
226
- */
227
- export class GetTokenResponse extends Message {
228
- constructor(data) {
229
- super();
230
- proto3.util.initPartial(data, this);
231
- }
232
- static fromBinary(bytes, options) {
233
- return new GetTokenResponse().fromBinary(bytes, options);
234
- }
235
- static fromJson(jsonValue, options) {
236
- return new GetTokenResponse().fromJson(jsonValue, options);
237
- }
238
- static fromJsonString(jsonString, options) {
239
- return new GetTokenResponse().fromJsonString(jsonString, options);
240
- }
241
- static equals(a, b) {
242
- return proto3.util.equals(GetTokenResponse, a, b);
243
- }
244
- }
245
- GetTokenResponse.runtime = proto3;
246
- GetTokenResponse.typeName = "data.v1.GetTokenResponse";
247
- GetTokenResponse.fields = proto3.util.newFieldList(() => [
248
- { no: 1, name: "token", kind: "message", T: Token },
249
- ]);
250
- /**
251
- * @generated from message data.v1.GetPortfolioRequest
252
- */
253
- export class GetPortfolioRequest extends Message {
254
- constructor(data) {
255
- super();
256
- /**
257
- * @generated from field: repeated uint32 chain_ids = 2;
258
- */
259
- this.chainIds = [];
260
- proto3.util.initPartial(data, this);
261
- }
262
- static fromBinary(bytes, options) {
263
- return new GetPortfolioRequest().fromBinary(bytes, options);
264
- }
265
- static fromJson(jsonValue, options) {
266
- return new GetPortfolioRequest().fromJson(jsonValue, options);
267
- }
268
- static fromJsonString(jsonString, options) {
269
- return new GetPortfolioRequest().fromJsonString(jsonString, options);
270
- }
271
- static equals(a, b) {
272
- return proto3.util.equals(GetPortfolioRequest, a, b);
273
- }
274
- }
275
- GetPortfolioRequest.runtime = proto3;
276
- GetPortfolioRequest.typeName = "data.v1.GetPortfolioRequest";
277
- GetPortfolioRequest.fields = proto3.util.newFieldList(() => [
278
- { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
279
- { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
280
- { no: 3, name: "modifier", kind: "message", T: PortfolioValueModifier, opt: true },
281
- { no: 4, name: "multichain", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
282
- { no: 5, name: "use_substream_data", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
283
- ]);
284
- /**
285
- * @generated from message data.v1.GetPortfolioResponse
286
- */
287
- export class GetPortfolioResponse extends Message {
288
- constructor(data) {
289
- super();
290
- proto3.util.initPartial(data, this);
291
- }
292
- static fromBinary(bytes, options) {
293
- return new GetPortfolioResponse().fromBinary(bytes, options);
294
- }
295
- static fromJson(jsonValue, options) {
296
- return new GetPortfolioResponse().fromJson(jsonValue, options);
297
- }
298
- static fromJsonString(jsonString, options) {
299
- return new GetPortfolioResponse().fromJsonString(jsonString, options);
300
- }
301
- static equals(a, b) {
302
- return proto3.util.equals(GetPortfolioResponse, a, b);
303
- }
304
- }
305
- GetPortfolioResponse.runtime = proto3;
306
- GetPortfolioResponse.typeName = "data.v1.GetPortfolioResponse";
307
- GetPortfolioResponse.fields = proto3.util.newFieldList(() => [
308
- { no: 1, name: "portfolio", kind: "message", T: Portfolio },
309
- ]);
310
- /**
311
- * @generated from message data.v1.ListPortfoliosRequest
312
- */
313
- export class ListPortfoliosRequest extends Message {
314
- constructor(data) {
315
- super();
316
- /**
317
- * @generated from field: repeated data.v1.WalletAccount wallet_accounts = 1;
318
- */
319
- this.walletAccounts = [];
320
- /**
321
- * @generated from field: repeated uint32 chain_ids = 2;
322
- */
323
- this.chainIds = [];
324
- /**
325
- * @generated from field: repeated data.v1.PortfolioValueModifier modifiers = 3;
326
- */
327
- this.modifiers = [];
328
- proto3.util.initPartial(data, this);
329
- }
330
- static fromBinary(bytes, options) {
331
- return new ListPortfoliosRequest().fromBinary(bytes, options);
332
- }
333
- static fromJson(jsonValue, options) {
334
- return new ListPortfoliosRequest().fromJson(jsonValue, options);
335
- }
336
- static fromJsonString(jsonString, options) {
337
- return new ListPortfoliosRequest().fromJsonString(jsonString, options);
338
- }
339
- static equals(a, b) {
340
- return proto3.util.equals(ListPortfoliosRequest, a, b);
341
- }
342
- }
343
- ListPortfoliosRequest.runtime = proto3;
344
- ListPortfoliosRequest.typeName = "data.v1.ListPortfoliosRequest";
345
- ListPortfoliosRequest.fields = proto3.util.newFieldList(() => [
346
- { no: 1, name: "wallet_accounts", kind: "message", T: WalletAccount, repeated: true },
347
- { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
348
- { no: 3, name: "modifiers", kind: "message", T: PortfolioValueModifier, repeated: true },
349
- ]);
350
- /**
351
- * @generated from message data.v1.ListPortfoliosResponse
352
- */
353
- export class ListPortfoliosResponse extends Message {
354
- constructor(data) {
355
- super();
356
- /**
357
- * @generated from field: repeated data.v1.Portfolio portfolios = 1;
358
- */
359
- this.portfolios = [];
360
- proto3.util.initPartial(data, this);
361
- }
362
- static fromBinary(bytes, options) {
363
- return new ListPortfoliosResponse().fromBinary(bytes, options);
364
- }
365
- static fromJson(jsonValue, options) {
366
- return new ListPortfoliosResponse().fromJson(jsonValue, options);
367
- }
368
- static fromJsonString(jsonString, options) {
369
- return new ListPortfoliosResponse().fromJsonString(jsonString, options);
370
- }
371
- static equals(a, b) {
372
- return proto3.util.equals(ListPortfoliosResponse, a, b);
373
- }
374
- }
375
- ListPortfoliosResponse.runtime = proto3;
376
- ListPortfoliosResponse.typeName = "data.v1.ListPortfoliosResponse";
377
- ListPortfoliosResponse.fields = proto3.util.newFieldList(() => [
378
- { no: 1, name: "portfolios", kind: "message", T: Portfolio, repeated: true },
379
- ]);
380
- /**
381
- * @generated from message data.v1.SubmitReportRequest
382
- */
383
- export class SubmitReportRequest extends Message {
384
- constructor(data) {
385
- super();
386
- /**
387
- * @generated from field: uint32 chain_id = 1;
388
- */
389
- this.chainId = 0;
390
- /**
391
- * @generated from field: string address = 2;
392
- */
393
- this.address = "";
394
- /**
395
- * @generated from field: data.v1.TokenReportEventType event = 3;
396
- */
397
- this.event = TokenReportEventType.UNSPECIFIED;
398
- /**
399
- * @generated from field: string details = 4;
400
- */
401
- this.details = "";
402
- proto3.util.initPartial(data, this);
403
- }
404
- static fromBinary(bytes, options) {
405
- return new SubmitReportRequest().fromBinary(bytes, options);
406
- }
407
- static fromJson(jsonValue, options) {
408
- return new SubmitReportRequest().fromJson(jsonValue, options);
409
- }
410
- static fromJsonString(jsonString, options) {
411
- return new SubmitReportRequest().fromJsonString(jsonString, options);
412
- }
413
- static equals(a, b) {
414
- return proto3.util.equals(SubmitReportRequest, a, b);
415
- }
416
- }
417
- SubmitReportRequest.runtime = proto3;
418
- SubmitReportRequest.typeName = "data.v1.SubmitReportRequest";
419
- SubmitReportRequest.fields = proto3.util.newFieldList(() => [
420
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
421
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
422
- { no: 3, name: "event", kind: "enum", T: proto3.getEnumType(TokenReportEventType) },
423
- { no: 4, name: "details", kind: "scalar", T: 9 /* ScalarType.STRING */ },
424
- { no: 5, name: "multichain", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
425
- ]);
426
- /**
427
- * @generated from message data.v1.SubmitReportResponse
428
- */
429
- export class SubmitReportResponse extends Message {
430
- constructor(data) {
431
- super();
432
- /**
433
- * @generated from field: bool success = 1;
434
- */
435
- this.success = false;
436
- proto3.util.initPartial(data, this);
437
- }
438
- static fromBinary(bytes, options) {
439
- return new SubmitReportResponse().fromBinary(bytes, options);
440
- }
441
- static fromJson(jsonValue, options) {
442
- return new SubmitReportResponse().fromJson(jsonValue, options);
443
- }
444
- static fromJsonString(jsonString, options) {
445
- return new SubmitReportResponse().fromJsonString(jsonString, options);
446
- }
447
- static equals(a, b) {
448
- return proto3.util.equals(SubmitReportResponse, a, b);
449
- }
450
- }
451
- SubmitReportResponse.runtime = proto3;
452
- SubmitReportResponse.typeName = "data.v1.SubmitReportResponse";
453
- SubmitReportResponse.fields = proto3.util.newFieldList(() => [
454
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
455
- ]);
456
- /**
457
- * @generated from message data.v1.SubmitDataReportRequest
458
- */
459
- export class SubmitDataReportRequest extends Message {
460
- constructor(data) {
461
- super();
462
- /**
463
- * @generated from field: string report_type = 1;
464
- */
465
- this.reportType = "";
466
- /**
467
- * @generated from field: string tag = 2;
468
- */
469
- this.tag = "";
470
- /**
471
- * @generated from field: string wallet_address = 4;
472
- */
473
- this.walletAddress = "";
474
- proto3.util.initPartial(data, this);
475
- }
476
- static fromBinary(bytes, options) {
477
- return new SubmitDataReportRequest().fromBinary(bytes, options);
478
- }
479
- static fromJson(jsonValue, options) {
480
- return new SubmitDataReportRequest().fromJson(jsonValue, options);
481
- }
482
- static fromJsonString(jsonString, options) {
483
- return new SubmitDataReportRequest().fromJsonString(jsonString, options);
484
- }
485
- static equals(a, b) {
486
- return proto3.util.equals(SubmitDataReportRequest, a, b);
487
- }
488
- }
489
- SubmitDataReportRequest.runtime = proto3;
490
- SubmitDataReportRequest.typeName = "data.v1.SubmitDataReportRequest";
491
- SubmitDataReportRequest.fields = proto3.util.newFieldList(() => [
492
- { no: 1, name: "report_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
493
- { no: 2, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
494
- { no: 3, name: "details", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
495
- { no: 4, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
496
- { no: 5, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
497
- { no: 6, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
498
- { no: 7, name: "multichain", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
499
- ]);
500
- /**
501
- * @generated from message data.v1.SubmitDataReportResponse
502
- */
503
- export class SubmitDataReportResponse extends Message {
504
- constructor(data) {
505
- super();
506
- /**
507
- * @generated from field: bool success = 1;
508
- */
509
- this.success = false;
510
- proto3.util.initPartial(data, this);
511
- }
512
- static fromBinary(bytes, options) {
513
- return new SubmitDataReportResponse().fromBinary(bytes, options);
514
- }
515
- static fromJson(jsonValue, options) {
516
- return new SubmitDataReportResponse().fromJson(jsonValue, options);
517
- }
518
- static fromJsonString(jsonString, options) {
519
- return new SubmitDataReportResponse().fromJsonString(jsonString, options);
520
- }
521
- static equals(a, b) {
522
- return proto3.util.equals(SubmitDataReportResponse, a, b);
523
- }
524
- }
525
- SubmitDataReportResponse.runtime = proto3;
526
- SubmitDataReportResponse.typeName = "data.v1.SubmitDataReportResponse";
527
- SubmitDataReportResponse.fields = proto3.util.newFieldList(() => [
528
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
529
- ]);
530
- /**
531
- * @generated from message data.v1.GetTransactionRequest
532
- */
533
- export class GetTransactionRequest extends Message {
534
- constructor(data) {
535
- super();
536
- /**
537
- * @generated from field: uint32 chain_id = 1;
538
- */
539
- this.chainId = 0;
540
- /**
541
- * @generated from field: string hash = 2;
542
- */
543
- this.hash = "";
544
- proto3.util.initPartial(data, this);
545
- }
546
- static fromBinary(bytes, options) {
547
- return new GetTransactionRequest().fromBinary(bytes, options);
548
- }
549
- static fromJson(jsonValue, options) {
550
- return new GetTransactionRequest().fromJson(jsonValue, options);
551
- }
552
- static fromJsonString(jsonString, options) {
553
- return new GetTransactionRequest().fromJsonString(jsonString, options);
554
- }
555
- static equals(a, b) {
556
- return proto3.util.equals(GetTransactionRequest, a, b);
557
- }
558
- }
559
- GetTransactionRequest.runtime = proto3;
560
- GetTransactionRequest.typeName = "data.v1.GetTransactionRequest";
561
- GetTransactionRequest.fields = proto3.util.newFieldList(() => [
562
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
563
- { no: 2, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
564
- { no: 3, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
565
- ]);
566
- /**
567
- * @generated from message data.v1.GetTransactionResponse
568
- */
569
- export class GetTransactionResponse extends Message {
570
- constructor(data) {
571
- super();
572
- proto3.util.initPartial(data, this);
573
- }
574
- static fromBinary(bytes, options) {
575
- return new GetTransactionResponse().fromBinary(bytes, options);
576
- }
577
- static fromJson(jsonValue, options) {
578
- return new GetTransactionResponse().fromJson(jsonValue, options);
579
- }
580
- static fromJsonString(jsonString, options) {
581
- return new GetTransactionResponse().fromJsonString(jsonString, options);
582
- }
583
- static equals(a, b) {
584
- return proto3.util.equals(GetTransactionResponse, a, b);
585
- }
586
- }
587
- GetTransactionResponse.runtime = proto3;
588
- GetTransactionResponse.typeName = "data.v1.GetTransactionResponse";
589
- GetTransactionResponse.fields = proto3.util.newFieldList(() => [
590
- { no: 1, name: "transaction", kind: "message", T: Transaction },
591
- ]);
592
- /**
593
- * @generated from message data.v1.ListTransactionsRequest
594
- */
595
- export class ListTransactionsRequest extends Message {
596
- constructor(data) {
597
- super();
598
- /**
599
- * @generated from field: repeated uint32 chain_ids = 1;
600
- */
601
- this.chainIds = [];
602
- /**
603
- * @generated from field: repeated data.v1.TransactionTypeFilter filter_transaction_types = 7;
604
- */
605
- this.filterTransactionTypes = [];
606
- proto3.util.initPartial(data, this);
607
- }
608
- static fromBinary(bytes, options) {
609
- return new ListTransactionsRequest().fromBinary(bytes, options);
610
- }
611
- static fromJson(jsonValue, options) {
612
- return new ListTransactionsRequest().fromJson(jsonValue, options);
613
- }
614
- static fromJsonString(jsonString, options) {
615
- return new ListTransactionsRequest().fromJsonString(jsonString, options);
616
- }
617
- static equals(a, b) {
618
- return proto3.util.equals(ListTransactionsRequest, a, b);
619
- }
620
- }
621
- ListTransactionsRequest.runtime = proto3;
622
- ListTransactionsRequest.typeName = "data.v1.ListTransactionsRequest";
623
- ListTransactionsRequest.fields = proto3.util.newFieldList(() => [
624
- { no: 1, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
625
- { no: 2, name: "wallet_account", kind: "message", T: WalletAccount },
626
- { no: 3, name: "fiat_on_ramp_params", kind: "message", T: FiatOnRampParams, opt: true },
627
- { no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
628
- { no: 5, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
629
- { no: 6, name: "include_plans", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
630
- { no: 7, name: "filter_transaction_types", kind: "enum", T: proto3.getEnumType(TransactionTypeFilter), repeated: true },
631
- { no: 8, name: "search_text", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
632
- { no: 9, name: "use_substream_data", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
633
- ]);
634
- /**
635
- * @generated from message data.v1.FiatOnRampParams
636
- */
637
- export class FiatOnRampParams extends Message {
638
- constructor(data) {
639
- super();
640
- /**
641
- * @generated from oneof data.v1.FiatOnRampParams.params
642
- */
643
- this.params = { case: undefined };
644
- proto3.util.initPartial(data, this);
645
- }
646
- static fromBinary(bytes, options) {
647
- return new FiatOnRampParams().fromBinary(bytes, options);
648
- }
649
- static fromJson(jsonValue, options) {
650
- return new FiatOnRampParams().fromJson(jsonValue, options);
651
- }
652
- static fromJsonString(jsonString, options) {
653
- return new FiatOnRampParams().fromJsonString(jsonString, options);
654
- }
655
- static equals(a, b) {
656
- return proto3.util.equals(FiatOnRampParams, a, b);
657
- }
658
- }
659
- FiatOnRampParams.runtime = proto3;
660
- FiatOnRampParams.typeName = "data.v1.FiatOnRampParams";
661
- FiatOnRampParams.fields = proto3.util.newFieldList(() => [
662
- { no: 1, name: "transaction_ids", kind: "message", T: FiatOnRampTransactionIds, oneof: "params" },
663
- { no: 2, name: "auth", kind: "message", T: FiatOnRampAuth, oneof: "params" },
664
- ]);
665
- /**
666
- * @generated from message data.v1.FiatOnRampAuth
667
- */
668
- export class FiatOnRampAuth extends Message {
669
- constructor(data) {
670
- super();
671
- /**
672
- * @generated from field: string query_params = 1;
673
- */
674
- this.queryParams = "";
675
- /**
676
- * @generated from field: string signature = 2;
677
- */
678
- this.signature = "";
679
- proto3.util.initPartial(data, this);
680
- }
681
- static fromBinary(bytes, options) {
682
- return new FiatOnRampAuth().fromBinary(bytes, options);
683
- }
684
- static fromJson(jsonValue, options) {
685
- return new FiatOnRampAuth().fromJson(jsonValue, options);
686
- }
687
- static fromJsonString(jsonString, options) {
688
- return new FiatOnRampAuth().fromJsonString(jsonString, options);
689
- }
690
- static equals(a, b) {
691
- return proto3.util.equals(FiatOnRampAuth, a, b);
692
- }
693
- }
694
- FiatOnRampAuth.runtime = proto3;
695
- FiatOnRampAuth.typeName = "data.v1.FiatOnRampAuth";
696
- FiatOnRampAuth.fields = proto3.util.newFieldList(() => [
697
- { no: 1, name: "query_params", kind: "scalar", T: 9 /* ScalarType.STRING */ },
698
- { no: 2, name: "signature", kind: "scalar", T: 9 /* ScalarType.STRING */ },
699
- ]);
700
- /**
701
- * @generated from message data.v1.FiatOnRampTransactionIds
702
- */
703
- export class FiatOnRampTransactionIds extends Message {
704
- constructor(data) {
705
- super();
706
- /**
707
- * @generated from field: repeated string transaction_ids = 1;
708
- */
709
- this.transactionIds = [];
710
- proto3.util.initPartial(data, this);
711
- }
712
- static fromBinary(bytes, options) {
713
- return new FiatOnRampTransactionIds().fromBinary(bytes, options);
714
- }
715
- static fromJson(jsonValue, options) {
716
- return new FiatOnRampTransactionIds().fromJson(jsonValue, options);
717
- }
718
- static fromJsonString(jsonString, options) {
719
- return new FiatOnRampTransactionIds().fromJsonString(jsonString, options);
720
- }
721
- static equals(a, b) {
722
- return proto3.util.equals(FiatOnRampTransactionIds, a, b);
723
- }
724
- }
725
- FiatOnRampTransactionIds.runtime = proto3;
726
- FiatOnRampTransactionIds.typeName = "data.v1.FiatOnRampTransactionIds";
727
- FiatOnRampTransactionIds.fields = proto3.util.newFieldList(() => [
728
- { no: 1, name: "transaction_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
729
- ]);
730
- /**
731
- * @generated from message data.v1.ListTransactionsResponse
732
- */
733
- export class ListTransactionsResponse extends Message {
734
- constructor(data) {
735
- super();
736
- /**
737
- * @generated from field: repeated data.v1.Transaction transactions = 1;
738
- */
739
- this.transactions = [];
740
- /**
741
- * @generated from field: string next_page_token = 2;
742
- */
743
- this.nextPageToken = "";
744
- proto3.util.initPartial(data, this);
745
- }
746
- static fromBinary(bytes, options) {
747
- return new ListTransactionsResponse().fromBinary(bytes, options);
748
- }
749
- static fromJson(jsonValue, options) {
750
- return new ListTransactionsResponse().fromJson(jsonValue, options);
751
- }
752
- static fromJsonString(jsonString, options) {
753
- return new ListTransactionsResponse().fromJsonString(jsonString, options);
754
- }
755
- static equals(a, b) {
756
- return proto3.util.equals(ListTransactionsResponse, a, b);
757
- }
758
- }
759
- ListTransactionsResponse.runtime = proto3;
760
- ListTransactionsResponse.typeName = "data.v1.ListTransactionsResponse";
761
- ListTransactionsResponse.fields = proto3.util.newFieldList(() => [
762
- { no: 1, name: "transactions", kind: "message", T: Transaction, repeated: true },
763
- { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
764
- ]);
765
- /**
766
- * @generated from message data.v1.CreateTokenFactoryPresignedUrlRequest
767
- */
768
- export class CreateTokenFactoryPresignedUrlRequest extends Message {
769
- constructor(data) {
770
- super();
771
- /**
772
- * @generated from field: string file_name = 1;
773
- */
774
- this.fileName = "";
775
- proto3.util.initPartial(data, this);
776
- }
777
- static fromBinary(bytes, options) {
778
- return new CreateTokenFactoryPresignedUrlRequest().fromBinary(bytes, options);
779
- }
780
- static fromJson(jsonValue, options) {
781
- return new CreateTokenFactoryPresignedUrlRequest().fromJson(jsonValue, options);
782
- }
783
- static fromJsonString(jsonString, options) {
784
- return new CreateTokenFactoryPresignedUrlRequest().fromJsonString(jsonString, options);
785
- }
786
- static equals(a, b) {
787
- return proto3.util.equals(CreateTokenFactoryPresignedUrlRequest, a, b);
788
- }
789
- }
790
- CreateTokenFactoryPresignedUrlRequest.runtime = proto3;
791
- CreateTokenFactoryPresignedUrlRequest.typeName = "data.v1.CreateTokenFactoryPresignedUrlRequest";
792
- CreateTokenFactoryPresignedUrlRequest.fields = proto3.util.newFieldList(() => [
793
- { no: 1, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
794
- ]);
795
- /**
796
- * @generated from message data.v1.CreateTokenFactoryPresignedUrlResponse
797
- */
798
- export class CreateTokenFactoryPresignedUrlResponse extends Message {
799
- constructor(data) {
800
- super();
801
- /**
802
- * @generated from field: string url = 1;
803
- */
804
- this.url = "";
805
- proto3.util.initPartial(data, this);
806
- }
807
- static fromBinary(bytes, options) {
808
- return new CreateTokenFactoryPresignedUrlResponse().fromBinary(bytes, options);
809
- }
810
- static fromJson(jsonValue, options) {
811
- return new CreateTokenFactoryPresignedUrlResponse().fromJson(jsonValue, options);
812
- }
813
- static fromJsonString(jsonString, options) {
814
- return new CreateTokenFactoryPresignedUrlResponse().fromJsonString(jsonString, options);
815
- }
816
- static equals(a, b) {
817
- return proto3.util.equals(CreateTokenFactoryPresignedUrlResponse, a, b);
818
- }
819
- }
820
- CreateTokenFactoryPresignedUrlResponse.runtime = proto3;
821
- CreateTokenFactoryPresignedUrlResponse.typeName = "data.v1.CreateTokenFactoryPresignedUrlResponse";
822
- CreateTokenFactoryPresignedUrlResponse.fields = proto3.util.newFieldList(() => [
823
- { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
824
- ]);
825
- /**
826
- * @generated from message data.v1.VerifyTokenFactoryImageRequest
827
- */
828
- export class VerifyTokenFactoryImageRequest extends Message {
829
- constructor(data) {
830
- super();
831
- /**
832
- * @generated from field: string cid = 1;
833
- */
834
- this.cid = "";
835
- proto3.util.initPartial(data, this);
836
- }
837
- static fromBinary(bytes, options) {
838
- return new VerifyTokenFactoryImageRequest().fromBinary(bytes, options);
839
- }
840
- static fromJson(jsonValue, options) {
841
- return new VerifyTokenFactoryImageRequest().fromJson(jsonValue, options);
842
- }
843
- static fromJsonString(jsonString, options) {
844
- return new VerifyTokenFactoryImageRequest().fromJsonString(jsonString, options);
845
- }
846
- static equals(a, b) {
847
- return proto3.util.equals(VerifyTokenFactoryImageRequest, a, b);
848
- }
849
- }
850
- VerifyTokenFactoryImageRequest.runtime = proto3;
851
- VerifyTokenFactoryImageRequest.typeName = "data.v1.VerifyTokenFactoryImageRequest";
852
- VerifyTokenFactoryImageRequest.fields = proto3.util.newFieldList(() => [
853
- { no: 1, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
854
- ]);
855
- /**
856
- * @generated from message data.v1.VerifyTokenFactoryImageResponse
857
- */
858
- export class VerifyTokenFactoryImageResponse extends Message {
859
- constructor(data) {
860
- super();
861
- /**
862
- * @generated from field: data.v1.VerifyTokenFactoryImageResponse.Status status = 1;
863
- */
864
- this.status = VerifyTokenFactoryImageResponse_Status.UNSPECIFIED;
865
- /**
866
- * empty when APPROVED; enum-style slug otherwise
867
- *
868
- * @generated from field: string blocked_reason = 2;
869
- */
870
- this.blockedReason = "";
871
- proto3.util.initPartial(data, this);
872
- }
873
- static fromBinary(bytes, options) {
874
- return new VerifyTokenFactoryImageResponse().fromBinary(bytes, options);
875
- }
876
- static fromJson(jsonValue, options) {
877
- return new VerifyTokenFactoryImageResponse().fromJson(jsonValue, options);
878
- }
879
- static fromJsonString(jsonString, options) {
880
- return new VerifyTokenFactoryImageResponse().fromJsonString(jsonString, options);
881
- }
882
- static equals(a, b) {
883
- return proto3.util.equals(VerifyTokenFactoryImageResponse, a, b);
884
- }
885
- }
886
- VerifyTokenFactoryImageResponse.runtime = proto3;
887
- VerifyTokenFactoryImageResponse.typeName = "data.v1.VerifyTokenFactoryImageResponse";
888
- VerifyTokenFactoryImageResponse.fields = proto3.util.newFieldList(() => [
889
- { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(VerifyTokenFactoryImageResponse_Status) },
890
- { no: 2, name: "blocked_reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
891
- ]);
892
478
  /**
893
- * @generated from enum data.v1.VerifyTokenFactoryImageResponse.Status
479
+ * Describes the enum data.v1.RwaCategory.
894
480
  */
895
- export var VerifyTokenFactoryImageResponse_Status;
896
- (function (VerifyTokenFactoryImageResponse_Status) {
897
- /**
898
- * @generated from enum value: STATUS_UNSPECIFIED = 0;
899
- */
900
- VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["UNSPECIFIED"] = 0] = "UNSPECIFIED";
901
- /**
902
- * @generated from enum value: STATUS_APPROVED = 1;
903
- */
904
- VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["APPROVED"] = 1] = "APPROVED";
905
- /**
906
- * @generated from enum value: STATUS_BLOCKED = 2;
907
- */
908
- VerifyTokenFactoryImageResponse_Status[VerifyTokenFactoryImageResponse_Status["BLOCKED"] = 2] = "BLOCKED";
909
- })(VerifyTokenFactoryImageResponse_Status || (VerifyTokenFactoryImageResponse_Status = {}));
910
- // Retrieve enum metadata with: proto3.getEnumType(VerifyTokenFactoryImageResponse_Status)
911
- proto3.util.setEnumType(VerifyTokenFactoryImageResponse_Status, "data.v1.VerifyTokenFactoryImageResponse.Status", [
912
- { no: 0, name: "STATUS_UNSPECIFIED" },
913
- { no: 1, name: "STATUS_APPROVED" },
914
- { no: 2, name: "STATUS_BLOCKED" },
915
- ]);
916
- /**
917
- * @generated from message data.v1.GetRewardsRequest
918
- */
919
- export class GetRewardsRequest extends Message {
920
- constructor(data) {
921
- super();
922
- /**
923
- * @generated from field: string wallet_address = 1;
924
- */
925
- this.walletAddress = "";
926
- /**
927
- * Chains to read. Empty reads every chain the rewards provider (Merkl)
928
- * supports; ids it doesn't support are dropped rather than failing the call.
929
- *
930
- * @generated from field: repeated uint32 chain_ids = 2;
931
- */
932
- this.chainIds = [];
933
- proto3.util.initPartial(data, this);
934
- }
935
- static fromBinary(bytes, options) {
936
- return new GetRewardsRequest().fromBinary(bytes, options);
937
- }
938
- static fromJson(jsonValue, options) {
939
- return new GetRewardsRequest().fromJson(jsonValue, options);
940
- }
941
- static fromJsonString(jsonString, options) {
942
- return new GetRewardsRequest().fromJsonString(jsonString, options);
943
- }
944
- static equals(a, b) {
945
- return proto3.util.equals(GetRewardsRequest, a, b);
946
- }
947
- }
948
- GetRewardsRequest.runtime = proto3;
949
- GetRewardsRequest.typeName = "data.v1.GetRewardsRequest";
950
- GetRewardsRequest.fields = proto3.util.newFieldList(() => [
951
- { no: 1, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
952
- { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
953
- { no: 3, name: "reload", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
954
- ]);
955
- /**
956
- * GetPositionRewards — LP-incentive rewards for specific positions: per reward
957
- * token, the pool's boosted APR and the position's unclaimed balance. Exists so
958
- * another service (liquidity) can surface rewards on its own positions endpoints
959
- * without duplicating campaign discovery, the reward-token/creator allowlists, or
960
- * their config: data-api stays the single owner of what counts as a surfaced
961
- * campaign.
962
- *
963
- * Scoped to the same allowlisted campaigns GetRewards uses.
964
- *
965
- * @generated from message data.v1.GetPositionRewardsRequest
966
- */
967
- export class GetPositionRewardsRequest extends Message {
968
- constructor(data) {
969
- super();
970
- /**
971
- * @generated from field: string wallet_address = 1;
972
- */
973
- this.walletAddress = "";
974
- /**
975
- * The positions to report on. Required: data-api cannot enumerate a wallet's
976
- * positions, and the upstream per-position feed lists only those that have
977
- * already accrued — so a V3 pool, or a live campaign with no accrual yet, is
978
- * invisible unless the caller names it.
979
- *
980
- * @generated from field: repeated data.v1.PositionRef positions = 2;
981
- */
982
- this.positions = [];
983
- proto3.util.initPartial(data, this);
984
- }
985
- static fromBinary(bytes, options) {
986
- return new GetPositionRewardsRequest().fromBinary(bytes, options);
987
- }
988
- static fromJson(jsonValue, options) {
989
- return new GetPositionRewardsRequest().fromJson(jsonValue, options);
990
- }
991
- static fromJsonString(jsonString, options) {
992
- return new GetPositionRewardsRequest().fromJsonString(jsonString, options);
993
- }
994
- static equals(a, b) {
995
- return proto3.util.equals(GetPositionRewardsRequest, a, b);
996
- }
997
- }
998
- GetPositionRewardsRequest.runtime = proto3;
999
- GetPositionRewardsRequest.typeName = "data.v1.GetPositionRewardsRequest";
1000
- GetPositionRewardsRequest.fields = proto3.util.newFieldList(() => [
1001
- { no: 1, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1002
- { no: 2, name: "positions", kind: "message", T: PositionRef, repeated: true },
1003
- ]);
1004
- /**
1005
- * Identifies one position to report rewards for.
1006
- *
1007
- * @generated from message data.v1.PositionRef
1008
- */
1009
- export class PositionRef extends Message {
1010
- constructor(data) {
1011
- super();
1012
- /**
1013
- * @generated from field: uint32 chain_id = 1;
1014
- */
1015
- this.chainId = 0;
1016
- /**
1017
- * V4 pool id / V3 pool address.
1018
- *
1019
- * @generated from field: string pool_id = 2;
1020
- */
1021
- this.poolId = "";
1022
- /**
1023
- * V3/V4 position NFT token id.
1024
- *
1025
- * @generated from field: string position_id = 3;
1026
- */
1027
- this.positionId = "";
1028
- proto3.util.initPartial(data, this);
1029
- }
1030
- static fromBinary(bytes, options) {
1031
- return new PositionRef().fromBinary(bytes, options);
1032
- }
1033
- static fromJson(jsonValue, options) {
1034
- return new PositionRef().fromJson(jsonValue, options);
1035
- }
1036
- static fromJsonString(jsonString, options) {
1037
- return new PositionRef().fromJsonString(jsonString, options);
1038
- }
1039
- static equals(a, b) {
1040
- return proto3.util.equals(PositionRef, a, b);
1041
- }
1042
- }
1043
- PositionRef.runtime = proto3;
1044
- PositionRef.typeName = "data.v1.PositionRef";
1045
- PositionRef.fields = proto3.util.newFieldList(() => [
1046
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1047
- { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1048
- { no: 3, name: "position_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1049
- ]);
1050
- /**
1051
- * What a position earns in one reward token.
1052
- *
1053
- * @generated from message data.v1.PositionReward
1054
- */
1055
- export class PositionReward extends Message {
1056
- constructor(data) {
1057
- super();
1058
- /**
1059
- * The POOL's boosted APR from campaigns paying this token — the sum of that
1060
- * token's LIVE campaign APRs, in percent, on top of the pool's fee APR. Shared
1061
- * by every position in the pool, not specific to this one. 0 means no live
1062
- * campaign, which is normal for an ended campaign that still has a claimable
1063
- * balance.
1064
- *
1065
- * @generated from field: double boosted_pool_apr = 2;
1066
- */
1067
- this.boostedPoolApr = 0;
1068
- proto3.util.initPartial(data, this);
1069
- }
1070
- static fromBinary(bytes, options) {
1071
- return new PositionReward().fromBinary(bytes, options);
1072
- }
1073
- static fromJson(jsonValue, options) {
1074
- return new PositionReward().fromJson(jsonValue, options);
1075
- }
1076
- static fromJsonString(jsonString, options) {
1077
- return new PositionReward().fromJsonString(jsonString, options);
1078
- }
1079
- static equals(a, b) {
1080
- return proto3.util.equals(PositionReward, a, b);
1081
- }
1082
- }
1083
- PositionReward.runtime = proto3;
1084
- PositionReward.typeName = "data.v1.PositionReward";
1085
- PositionReward.fields = proto3.util.newFieldList(() => [
1086
- { no: 1, name: "token", kind: "message", T: Token$1 },
1087
- { no: 2, name: "boosted_pool_apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1088
- { no: 3, name: "unclaimed_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1089
- { no: 4, name: "unclaimed_amount_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1090
- ]);
1091
- /**
1092
- * @generated from message data.v1.PositionRewards
1093
- */
1094
- export class PositionRewards extends Message {
1095
- constructor(data) {
1096
- super();
1097
- /**
1098
- * @generated from field: uint32 chain_id = 1;
1099
- */
1100
- this.chainId = 0;
1101
- /**
1102
- * @generated from field: string pool_id = 2;
1103
- */
1104
- this.poolId = "";
1105
- /**
1106
- * @generated from field: string position_id = 3;
1107
- */
1108
- this.positionId = "";
1109
- /**
1110
- * One entry per reward token with a live campaign or an unclaimed balance.
1111
- *
1112
- * @generated from field: repeated data.v1.PositionReward rewards = 4;
1113
- */
1114
- this.rewards = [];
1115
- proto3.util.initPartial(data, this);
1116
- }
1117
- static fromBinary(bytes, options) {
1118
- return new PositionRewards().fromBinary(bytes, options);
1119
- }
1120
- static fromJson(jsonValue, options) {
1121
- return new PositionRewards().fromJson(jsonValue, options);
1122
- }
1123
- static fromJsonString(jsonString, options) {
1124
- return new PositionRewards().fromJsonString(jsonString, options);
1125
- }
1126
- static equals(a, b) {
1127
- return proto3.util.equals(PositionRewards, a, b);
1128
- }
1129
- }
1130
- PositionRewards.runtime = proto3;
1131
- PositionRewards.typeName = "data.v1.PositionRewards";
1132
- PositionRewards.fields = proto3.util.newFieldList(() => [
1133
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1134
- { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1135
- { no: 3, name: "position_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1136
- { no: 4, name: "rewards", kind: "message", T: PositionReward, repeated: true },
1137
- ]);
1138
- /**
1139
- * @generated from message data.v1.GetPositionRewardsResponse
1140
- */
1141
- export class GetPositionRewardsResponse extends Message {
1142
- constructor(data) {
1143
- super();
1144
- /**
1145
- * Only positions with at least one reward; requested positions with nothing
1146
- * are omitted.
1147
- *
1148
- * @generated from field: repeated data.v1.PositionRewards positions = 1;
1149
- */
1150
- this.positions = [];
1151
- proto3.util.initPartial(data, this);
1152
- }
1153
- static fromBinary(bytes, options) {
1154
- return new GetPositionRewardsResponse().fromBinary(bytes, options);
1155
- }
1156
- static fromJson(jsonValue, options) {
1157
- return new GetPositionRewardsResponse().fromJson(jsonValue, options);
1158
- }
1159
- static fromJsonString(jsonString, options) {
1160
- return new GetPositionRewardsResponse().fromJsonString(jsonString, options);
1161
- }
1162
- static equals(a, b) {
1163
- return proto3.util.equals(GetPositionRewardsResponse, a, b);
1164
- }
1165
- }
1166
- GetPositionRewardsResponse.runtime = proto3;
1167
- GetPositionRewardsResponse.typeName = "data.v1.GetPositionRewardsResponse";
1168
- GetPositionRewardsResponse.fields = proto3.util.newFieldList(() => [
1169
- { no: 1, name: "positions", kind: "message", T: PositionRewards, repeated: true },
1170
- ]);
1171
- /**
1172
- * GetPoolRewards — a pool's live LP-incentive rewards, grouped by reward token.
1173
- * Wallet-independent (unlike GetPositionRewards), so it is cacheable and shared by
1174
- * every caller. Exists so another service (liquidity) can surface pool rewards
1175
- * without duplicating campaign discovery, the reward-token/creator allowlists, or
1176
- * their config: data-api stays the single owner of what counts as a surfaced
1177
- * campaign.
1178
- *
1179
- * @generated from message data.v1.GetPoolRewardsRequest
1180
- */
1181
- export class GetPoolRewardsRequest extends Message {
1182
- constructor(data) {
1183
- super();
1184
- /**
1185
- * @generated from field: repeated data.v1.PoolRewardsRef pools = 1;
1186
- */
1187
- this.pools = [];
1188
- proto3.util.initPartial(data, this);
1189
- }
1190
- static fromBinary(bytes, options) {
1191
- return new GetPoolRewardsRequest().fromBinary(bytes, options);
1192
- }
1193
- static fromJson(jsonValue, options) {
1194
- return new GetPoolRewardsRequest().fromJson(jsonValue, options);
1195
- }
1196
- static fromJsonString(jsonString, options) {
1197
- return new GetPoolRewardsRequest().fromJsonString(jsonString, options);
1198
- }
1199
- static equals(a, b) {
1200
- return proto3.util.equals(GetPoolRewardsRequest, a, b);
1201
- }
1202
- }
1203
- GetPoolRewardsRequest.runtime = proto3;
1204
- GetPoolRewardsRequest.typeName = "data.v1.GetPoolRewardsRequest";
1205
- GetPoolRewardsRequest.fields = proto3.util.newFieldList(() => [
1206
- { no: 1, name: "pools", kind: "message", T: PoolRewardsRef, repeated: true },
1207
- ]);
1208
- /**
1209
- * @generated from message data.v1.PoolRewardsRef
1210
- */
1211
- export class PoolRewardsRef extends Message {
1212
- constructor(data) {
1213
- super();
1214
- /**
1215
- * @generated from field: uint32 chain_id = 1;
1216
- */
1217
- this.chainId = 0;
1218
- /**
1219
- * V4 pool id / V3 pool address. V2 pools run no campaigns.
1220
- *
1221
- * @generated from field: string pool_id = 2;
1222
- */
1223
- this.poolId = "";
1224
- proto3.util.initPartial(data, this);
1225
- }
1226
- static fromBinary(bytes, options) {
1227
- return new PoolRewardsRef().fromBinary(bytes, options);
1228
- }
1229
- static fromJson(jsonValue, options) {
1230
- return new PoolRewardsRef().fromJson(jsonValue, options);
1231
- }
1232
- static fromJsonString(jsonString, options) {
1233
- return new PoolRewardsRef().fromJsonString(jsonString, options);
1234
- }
1235
- static equals(a, b) {
1236
- return proto3.util.equals(PoolRewardsRef, a, b);
1237
- }
1238
- }
1239
- PoolRewardsRef.runtime = proto3;
1240
- PoolRewardsRef.typeName = "data.v1.PoolRewardsRef";
1241
- PoolRewardsRef.fields = proto3.util.newFieldList(() => [
1242
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1243
- { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1244
- ]);
1245
- /**
1246
- * One live campaign behind a token's boost. It carries no reward token — these are
1247
- * always grouped under one (see PoolTokenRewards).
1248
- *
1249
- * @generated from message data.v1.PoolCampaign
1250
- */
1251
- export class PoolCampaign extends Message {
1252
- constructor(data) {
1253
- super();
1254
- /**
1255
- * Merkl campaign id.
1256
- *
1257
- * @generated from field: string id = 1;
1258
- */
1259
- this.id = "";
1260
- /**
1261
- * This campaign's APR alone, in percent. Do NOT add these up and compare with
1262
- * PoolTokenRewards.boosted_apr, which is already their sum.
1263
- *
1264
- * @generated from field: double apr = 2;
1265
- */
1266
- this.apr = 0;
1267
- /**
1268
- * Campaign window, unix seconds.
1269
- *
1270
- * @generated from field: int64 start_timestamp = 3;
1271
- */
1272
- this.startTimestamp = protoInt64.zero;
1273
- /**
1274
- * @generated from field: int64 end_timestamp = 4;
1275
- */
1276
- this.endTimestamp = protoInt64.zero;
1277
- /**
1278
- * Total allocation, uint256 decimal string in the reward token's smallest unit.
1279
- *
1280
- * @generated from field: string total_reward_allocation = 5;
1281
- */
1282
- this.totalRewardAllocation = "";
1283
- /**
1284
- * Share of total_reward_allocation emitted so far, same units — for a
1285
- * distributed-vs-total progress figure.
1286
- *
1287
- * ESTIMATE, not an upstream fact: the upstream campaigns payload reports no
1288
- * distributed or claimed amount, so this is total_reward_allocation scaled by
1289
- * the fraction of the campaign window elapsed. It assumes uniform emission, so
1290
- * a campaign that pauses, fails, or distributes on a curve (Dutch auction)
1291
- * still reads as exactly on schedule. Don't reconcile it against on-chain
1292
- * claims. Computed per request, so it stays current even while the underlying
1293
- * campaign data is stale.
1294
- *
1295
- * @generated from field: string distributed_rewards = 8;
1296
- */
1297
- this.distributedRewards = "";
1298
- proto3.util.initPartial(data, this);
1299
- }
1300
- static fromBinary(bytes, options) {
1301
- return new PoolCampaign().fromBinary(bytes, options);
1302
- }
1303
- static fromJson(jsonValue, options) {
1304
- return new PoolCampaign().fromJson(jsonValue, options);
1305
- }
1306
- static fromJsonString(jsonString, options) {
1307
- return new PoolCampaign().fromJsonString(jsonString, options);
1308
- }
1309
- static equals(a, b) {
1310
- return proto3.util.equals(PoolCampaign, a, b);
1311
- }
1312
- }
1313
- PoolCampaign.runtime = proto3;
1314
- PoolCampaign.typeName = "data.v1.PoolCampaign";
1315
- PoolCampaign.fields = proto3.util.newFieldList(() => [
1316
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1317
- { no: 2, name: "apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1318
- { no: 3, name: "start_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1319
- { no: 4, name: "end_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1320
- { no: 5, name: "total_reward_allocation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1321
- { no: 8, name: "distributed_rewards", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1322
- ]);
1323
- /**
1324
- * A pool's rewards in one reward token.
1325
- *
1326
- * @generated from message data.v1.PoolTokenRewards
1327
- */
1328
- export class PoolTokenRewards extends Message {
1329
- constructor(data) {
1330
- super();
1331
- /**
1332
- * Sum of this token's live campaign APRs on the pool, in percent, on top of the
1333
- * pool's fee APR.
1334
- *
1335
- * @generated from field: double boosted_apr = 2;
1336
- */
1337
- this.boostedApr = 0;
1338
- /**
1339
- * @generated from field: repeated data.v1.PoolCampaign campaigns = 3;
1340
- */
1341
- this.campaigns = [];
1342
- proto3.util.initPartial(data, this);
1343
- }
1344
- static fromBinary(bytes, options) {
1345
- return new PoolTokenRewards().fromBinary(bytes, options);
1346
- }
1347
- static fromJson(jsonValue, options) {
1348
- return new PoolTokenRewards().fromJson(jsonValue, options);
1349
- }
1350
- static fromJsonString(jsonString, options) {
1351
- return new PoolTokenRewards().fromJsonString(jsonString, options);
1352
- }
1353
- static equals(a, b) {
1354
- return proto3.util.equals(PoolTokenRewards, a, b);
1355
- }
1356
- }
1357
- PoolTokenRewards.runtime = proto3;
1358
- PoolTokenRewards.typeName = "data.v1.PoolTokenRewards";
1359
- PoolTokenRewards.fields = proto3.util.newFieldList(() => [
1360
- { no: 1, name: "token", kind: "message", T: Token$1 },
1361
- { no: 2, name: "boosted_apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1362
- { no: 3, name: "campaigns", kind: "message", T: PoolCampaign, repeated: true },
1363
- ]);
1364
- /**
1365
- * @generated from message data.v1.PoolRewards
1366
- */
1367
- export class PoolRewards extends Message {
1368
- constructor(data) {
1369
- super();
1370
- /**
1371
- * @generated from field: uint32 chain_id = 1;
1372
- */
1373
- this.chainId = 0;
1374
- /**
1375
- * @generated from field: string pool_id = 2;
1376
- */
1377
- this.poolId = "";
1378
- /**
1379
- * @generated from field: repeated data.v1.PoolTokenRewards token_rewards = 3;
1380
- */
1381
- this.tokenRewards = [];
1382
- proto3.util.initPartial(data, this);
1383
- }
1384
- static fromBinary(bytes, options) {
1385
- return new PoolRewards().fromBinary(bytes, options);
1386
- }
1387
- static fromJson(jsonValue, options) {
1388
- return new PoolRewards().fromJson(jsonValue, options);
1389
- }
1390
- static fromJsonString(jsonString, options) {
1391
- return new PoolRewards().fromJsonString(jsonString, options);
1392
- }
1393
- static equals(a, b) {
1394
- return proto3.util.equals(PoolRewards, a, b);
1395
- }
1396
- }
1397
- PoolRewards.runtime = proto3;
1398
- PoolRewards.typeName = "data.v1.PoolRewards";
1399
- PoolRewards.fields = proto3.util.newFieldList(() => [
1400
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1401
- { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1402
- { no: 3, name: "token_rewards", kind: "message", T: PoolTokenRewards, repeated: true },
1403
- ]);
1404
- /**
1405
- * @generated from message data.v1.GetPoolRewardsResponse
1406
- */
1407
- export class GetPoolRewardsResponse extends Message {
1408
- constructor(data) {
1409
- super();
1410
- /**
1411
- * Only pools with at least one live campaign; the rest are omitted.
1412
- *
1413
- * @generated from field: repeated data.v1.PoolRewards pools = 1;
1414
- */
1415
- this.pools = [];
1416
- proto3.util.initPartial(data, this);
1417
- }
1418
- static fromBinary(bytes, options) {
1419
- return new GetPoolRewardsResponse().fromBinary(bytes, options);
1420
- }
1421
- static fromJson(jsonValue, options) {
1422
- return new GetPoolRewardsResponse().fromJson(jsonValue, options);
1423
- }
1424
- static fromJsonString(jsonString, options) {
1425
- return new GetPoolRewardsResponse().fromJsonString(jsonString, options);
1426
- }
1427
- static equals(a, b) {
1428
- return proto3.util.equals(GetPoolRewardsResponse, a, b);
1429
- }
1430
- }
1431
- GetPoolRewardsResponse.runtime = proto3;
1432
- GetPoolRewardsResponse.typeName = "data.v1.GetPoolRewardsResponse";
1433
- GetPoolRewardsResponse.fields = proto3.util.newFieldList(() => [
1434
- { no: 1, name: "pools", kind: "message", T: PoolRewards, repeated: true },
1435
- ]);
1436
- /**
1437
- * @generated from message data.v1.GetRewardsResponse
1438
- */
1439
- export class GetRewardsResponse extends Message {
1440
- constructor(data) {
1441
- super();
1442
- /**
1443
- * Per-reward-token unclaimed balances (multi-denomination).
1444
- *
1445
- * @generated from field: repeated pools.v1.RewardBalance reward_balances = 2;
1446
- */
1447
- this.rewardBalances = [];
1448
- proto3.util.initPartial(data, this);
1449
- }
1450
- static fromBinary(bytes, options) {
1451
- return new GetRewardsResponse().fromBinary(bytes, options);
1452
- }
1453
- static fromJson(jsonValue, options) {
1454
- return new GetRewardsResponse().fromJson(jsonValue, options);
1455
- }
1456
- static fromJsonString(jsonString, options) {
1457
- return new GetRewardsResponse().fromJsonString(jsonString, options);
1458
- }
1459
- static equals(a, b) {
1460
- return proto3.util.equals(GetRewardsResponse, a, b);
1461
- }
1462
- }
1463
- GetRewardsResponse.runtime = proto3;
1464
- GetRewardsResponse.typeName = "data.v1.GetRewardsResponse";
1465
- GetRewardsResponse.fields = proto3.util.newFieldList(() => [
1466
- { no: 2, name: "reward_balances", kind: "message", T: RewardBalance, repeated: true },
1467
- { no: 3, name: "total_unclaimed_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1468
- ]);
1469
- /**
1470
- * @generated from message data.v1.GetPortfolioChartRequest
1471
- */
1472
- export class GetPortfolioChartRequest extends Message {
1473
- constructor(data) {
1474
- super();
1475
- /**
1476
- * @generated from field: repeated uint32 chain_ids = 2;
1477
- */
1478
- this.chainIds = [];
1479
- /**
1480
- * @generated from field: data.v1.ChartPeriod chart_period = 3;
1481
- */
1482
- this.chartPeriod = ChartPeriod.UNSPECIFIED;
1483
- /**
1484
- * @generated from field: repeated data.v1.Contract include_overrides = 4;
1485
- */
1486
- this.includeOverrides = [];
1487
- /**
1488
- * @generated from field: repeated data.v1.Contract exclude_overrides = 5;
1489
- */
1490
- this.excludeOverrides = [];
1491
- /**
1492
- * @generated from field: repeated data.v1.WalletBalanceCategory include_categories = 7;
1493
- */
1494
- this.includeCategories = [];
1495
- /**
1496
- * @generated from field: repeated data.v1.PoolRef pool_exclude_overrides = 8;
1497
- */
1498
- this.poolExcludeOverrides = [];
1499
- /**
1500
- * @generated from field: repeated data.v1.PoolRef pool_include_overrides = 9;
1501
- */
1502
- this.poolIncludeOverrides = [];
1503
- proto3.util.initPartial(data, this);
1504
- }
1505
- static fromBinary(bytes, options) {
1506
- return new GetPortfolioChartRequest().fromBinary(bytes, options);
1507
- }
1508
- static fromJson(jsonValue, options) {
1509
- return new GetPortfolioChartRequest().fromJson(jsonValue, options);
1510
- }
1511
- static fromJsonString(jsonString, options) {
1512
- return new GetPortfolioChartRequest().fromJsonString(jsonString, options);
1513
- }
1514
- static equals(a, b) {
1515
- return proto3.util.equals(GetPortfolioChartRequest, a, b);
1516
- }
1517
- }
1518
- GetPortfolioChartRequest.runtime = proto3;
1519
- GetPortfolioChartRequest.typeName = "data.v1.GetPortfolioChartRequest";
1520
- GetPortfolioChartRequest.fields = proto3.util.newFieldList(() => [
1521
- { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
1522
- { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
1523
- { no: 3, name: "chart_period", kind: "enum", T: proto3.getEnumType(ChartPeriod) },
1524
- { no: 4, name: "include_overrides", kind: "message", T: Contract, repeated: true },
1525
- { no: 5, name: "exclude_overrides", kind: "message", T: Contract, repeated: true },
1526
- { no: 6, name: "include_spam_tokens", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1527
- { no: 7, name: "include_categories", kind: "enum", T: proto3.getEnumType(WalletBalanceCategory), repeated: true },
1528
- { no: 8, name: "pool_exclude_overrides", kind: "message", T: PoolRef, repeated: true },
1529
- { no: 9, name: "pool_include_overrides", kind: "message", T: PoolRef, repeated: true },
1530
- ]);
1531
- /**
1532
- * @generated from message data.v1.ChartPoint
1533
- */
1534
- export class ChartPoint extends Message {
1535
- constructor(data) {
1536
- super();
1537
- /**
1538
- * @generated from field: int64 timestamp = 1;
1539
- */
1540
- this.timestamp = protoInt64.zero;
1541
- /**
1542
- * @generated from field: double value = 2;
1543
- */
1544
- this.value = 0;
1545
- proto3.util.initPartial(data, this);
1546
- }
1547
- static fromBinary(bytes, options) {
1548
- return new ChartPoint().fromBinary(bytes, options);
1549
- }
1550
- static fromJson(jsonValue, options) {
1551
- return new ChartPoint().fromJson(jsonValue, options);
1552
- }
1553
- static fromJsonString(jsonString, options) {
1554
- return new ChartPoint().fromJsonString(jsonString, options);
1555
- }
1556
- static equals(a, b) {
1557
- return proto3.util.equals(ChartPoint, a, b);
1558
- }
1559
- }
1560
- ChartPoint.runtime = proto3;
1561
- ChartPoint.typeName = "data.v1.ChartPoint";
1562
- ChartPoint.fields = proto3.util.newFieldList(() => [
1563
- { no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1564
- { no: 2, name: "value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1565
- ]);
1566
- /**
1567
- * @generated from message data.v1.GetPortfolioChartResponse
1568
- */
1569
- export class GetPortfolioChartResponse extends Message {
1570
- constructor(data) {
1571
- super();
1572
- /**
1573
- * @generated from field: repeated data.v1.ChartPoint points = 1;
1574
- */
1575
- this.points = [];
1576
- /**
1577
- * @generated from field: int64 begin_at = 2;
1578
- */
1579
- this.beginAt = protoInt64.zero;
1580
- /**
1581
- * @generated from field: int64 end_at = 3;
1582
- */
1583
- this.endAt = protoInt64.zero;
1584
- /**
1585
- * @generated from field: repeated data.v1.ChartPoint tokens = 4;
1586
- */
1587
- this.tokens = [];
1588
- /**
1589
- * @generated from field: repeated data.v1.ChartPoint pools = 5;
1590
- */
1591
- this.pools = [];
1592
- /**
1593
- * @generated from field: repeated data.v1.ChartPoint earn = 6;
1594
- */
1595
- this.earn = [];
1596
- proto3.util.initPartial(data, this);
1597
- }
1598
- static fromBinary(bytes, options) {
1599
- return new GetPortfolioChartResponse().fromBinary(bytes, options);
1600
- }
1601
- static fromJson(jsonValue, options) {
1602
- return new GetPortfolioChartResponse().fromJson(jsonValue, options);
1603
- }
1604
- static fromJsonString(jsonString, options) {
1605
- return new GetPortfolioChartResponse().fromJsonString(jsonString, options);
1606
- }
1607
- static equals(a, b) {
1608
- return proto3.util.equals(GetPortfolioChartResponse, a, b);
1609
- }
1610
- }
1611
- GetPortfolioChartResponse.runtime = proto3;
1612
- GetPortfolioChartResponse.typeName = "data.v1.GetPortfolioChartResponse";
1613
- GetPortfolioChartResponse.fields = proto3.util.newFieldList(() => [
1614
- { no: 1, name: "points", kind: "message", T: ChartPoint, repeated: true },
1615
- { no: 2, name: "begin_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1616
- { no: 3, name: "end_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1617
- { no: 4, name: "tokens", kind: "message", T: ChartPoint, repeated: true },
1618
- { no: 5, name: "pools", kind: "message", T: ChartPoint, repeated: true },
1619
- { no: 6, name: "earn", kind: "message", T: ChartPoint, repeated: true },
1620
- ]);
1621
- /**
1622
- * @generated from message data.v1.TokenPriceInput
1623
- */
1624
- export class TokenPriceInput extends Message {
1625
- constructor(data) {
1626
- super();
1627
- /**
1628
- * @generated from field: uint32 chain_id = 1;
1629
- */
1630
- this.chainId = 0;
1631
- /**
1632
- * @generated from field: string address = 2;
1633
- */
1634
- this.address = "";
1635
- proto3.util.initPartial(data, this);
1636
- }
1637
- static fromBinary(bytes, options) {
1638
- return new TokenPriceInput().fromBinary(bytes, options);
1639
- }
1640
- static fromJson(jsonValue, options) {
1641
- return new TokenPriceInput().fromJson(jsonValue, options);
1642
- }
1643
- static fromJsonString(jsonString, options) {
1644
- return new TokenPriceInput().fromJsonString(jsonString, options);
1645
- }
1646
- static equals(a, b) {
1647
- return proto3.util.equals(TokenPriceInput, a, b);
1648
- }
1649
- }
1650
- TokenPriceInput.runtime = proto3;
1651
- TokenPriceInput.typeName = "data.v1.TokenPriceInput";
1652
- TokenPriceInput.fields = proto3.util.newFieldList(() => [
1653
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1654
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1655
- ]);
1656
- /**
1657
- * @generated from message data.v1.TokenPrice
1658
- */
1659
- export class TokenPrice extends Message {
1660
- constructor(data) {
1661
- super();
1662
- /**
1663
- * @generated from field: uint32 chain_id = 1;
1664
- */
1665
- this.chainId = 0;
1666
- /**
1667
- * @generated from field: string address = 2;
1668
- */
1669
- this.address = "";
1670
- proto3.util.initPartial(data, this);
1671
- }
1672
- static fromBinary(bytes, options) {
1673
- return new TokenPrice().fromBinary(bytes, options);
1674
- }
1675
- static fromJson(jsonValue, options) {
1676
- return new TokenPrice().fromJson(jsonValue, options);
1677
- }
1678
- static fromJsonString(jsonString, options) {
1679
- return new TokenPrice().fromJsonString(jsonString, options);
1680
- }
1681
- static equals(a, b) {
1682
- return proto3.util.equals(TokenPrice, a, b);
1683
- }
1684
- }
1685
- TokenPrice.runtime = proto3;
1686
- TokenPrice.typeName = "data.v1.TokenPrice";
1687
- TokenPrice.fields = proto3.util.newFieldList(() => [
1688
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1689
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1690
- { no: 3, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1691
- { no: 4, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1692
- ]);
1693
- /**
1694
- * @generated from message data.v1.GetTokenPricesRequest
1695
- */
1696
- export class GetTokenPricesRequest extends Message {
1697
- constructor(data) {
1698
- super();
1699
- /**
1700
- * @generated from field: repeated data.v1.TokenPriceInput tokens = 1;
1701
- */
1702
- this.tokens = [];
1703
- /**
1704
- * @generated from field: bool prefer_quote_prices = 2;
1705
- */
1706
- this.preferQuotePrices = false;
1707
- proto3.util.initPartial(data, this);
1708
- }
1709
- static fromBinary(bytes, options) {
1710
- return new GetTokenPricesRequest().fromBinary(bytes, options);
1711
- }
1712
- static fromJson(jsonValue, options) {
1713
- return new GetTokenPricesRequest().fromJson(jsonValue, options);
1714
- }
1715
- static fromJsonString(jsonString, options) {
1716
- return new GetTokenPricesRequest().fromJsonString(jsonString, options);
1717
- }
1718
- static equals(a, b) {
1719
- return proto3.util.equals(GetTokenPricesRequest, a, b);
1720
- }
1721
- }
1722
- GetTokenPricesRequest.runtime = proto3;
1723
- GetTokenPricesRequest.typeName = "data.v1.GetTokenPricesRequest";
1724
- GetTokenPricesRequest.fields = proto3.util.newFieldList(() => [
1725
- { no: 1, name: "tokens", kind: "message", T: TokenPriceInput, repeated: true },
1726
- { no: 2, name: "prefer_quote_prices", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1727
- ]);
1728
- /**
1729
- * @generated from message data.v1.GetTokenPricesResponse
1730
- */
1731
- export class GetTokenPricesResponse extends Message {
1732
- constructor(data) {
1733
- super();
1734
- /**
1735
- * @generated from field: repeated data.v1.TokenPrice token_prices = 1;
1736
- */
1737
- this.tokenPrices = [];
1738
- proto3.util.initPartial(data, this);
1739
- }
1740
- static fromBinary(bytes, options) {
1741
- return new GetTokenPricesResponse().fromBinary(bytes, options);
1742
- }
1743
- static fromJson(jsonValue, options) {
1744
- return new GetTokenPricesResponse().fromJson(jsonValue, options);
1745
- }
1746
- static fromJsonString(jsonString, options) {
1747
- return new GetTokenPricesResponse().fromJsonString(jsonString, options);
1748
- }
1749
- static equals(a, b) {
1750
- return proto3.util.equals(GetTokenPricesResponse, a, b);
1751
- }
1752
- }
1753
- GetTokenPricesResponse.runtime = proto3;
1754
- GetTokenPricesResponse.typeName = "data.v1.GetTokenPricesResponse";
1755
- GetTokenPricesResponse.fields = proto3.util.newFieldList(() => [
1756
- { no: 1, name: "token_prices", kind: "message", T: TokenPrice, repeated: true },
1757
- ]);
1758
- /**
1759
- * @generated from message data.v1.GetWalletProfitLossRequest
1760
- */
1761
- export class GetWalletProfitLossRequest extends Message {
1762
- constructor(data) {
1763
- super();
1764
- /**
1765
- * @generated from field: repeated uint32 chain_ids = 2;
1766
- */
1767
- this.chainIds = [];
1768
- proto3.util.initPartial(data, this);
1769
- }
1770
- static fromBinary(bytes, options) {
1771
- return new GetWalletProfitLossRequest().fromBinary(bytes, options);
1772
- }
1773
- static fromJson(jsonValue, options) {
1774
- return new GetWalletProfitLossRequest().fromJson(jsonValue, options);
1775
- }
1776
- static fromJsonString(jsonString, options) {
1777
- return new GetWalletProfitLossRequest().fromJsonString(jsonString, options);
1778
- }
1779
- static equals(a, b) {
1780
- return proto3.util.equals(GetWalletProfitLossRequest, a, b);
1781
- }
1782
- }
1783
- GetWalletProfitLossRequest.runtime = proto3;
1784
- GetWalletProfitLossRequest.typeName = "data.v1.GetWalletProfitLossRequest";
1785
- GetWalletProfitLossRequest.fields = proto3.util.newFieldList(() => [
1786
- { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
1787
- { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
1788
- { no: 3, name: "since", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1789
- { no: 4, name: "till", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1790
- { no: 5, name: "modifier", kind: "message", T: PortfolioValueModifier, opt: true },
1791
- ]);
1792
- /**
1793
- * @generated from message data.v1.GetWalletProfitLossResponse
1794
- */
1795
- export class GetWalletProfitLossResponse extends Message {
1796
- constructor(data) {
1797
- super();
1798
- proto3.util.initPartial(data, this);
1799
- }
1800
- static fromBinary(bytes, options) {
1801
- return new GetWalletProfitLossResponse().fromBinary(bytes, options);
1802
- }
1803
- static fromJson(jsonValue, options) {
1804
- return new GetWalletProfitLossResponse().fromJson(jsonValue, options);
1805
- }
1806
- static fromJsonString(jsonString, options) {
1807
- return new GetWalletProfitLossResponse().fromJsonString(jsonString, options);
1808
- }
1809
- static equals(a, b) {
1810
- return proto3.util.equals(GetWalletProfitLossResponse, a, b);
1811
- }
1812
- }
1813
- GetWalletProfitLossResponse.runtime = proto3;
1814
- GetWalletProfitLossResponse.typeName = "data.v1.GetWalletProfitLossResponse";
1815
- GetWalletProfitLossResponse.fields = proto3.util.newFieldList(() => [
1816
- { no: 1, name: "profit_loss", kind: "message", T: WalletProfitLoss },
1817
- ]);
1818
- /**
1819
- * @generated from message data.v1.GetWalletTokensProfitLossRequest
1820
- */
1821
- export class GetWalletTokensProfitLossRequest extends Message {
1822
- constructor(data) {
1823
- super();
1824
- /**
1825
- * @generated from field: repeated uint32 chain_ids = 2;
1826
- */
1827
- this.chainIds = [];
1828
- /**
1829
- * @generated from field: bool multichain = 8;
1830
- */
1831
- this.multichain = false;
1832
- proto3.util.initPartial(data, this);
1833
- }
1834
- static fromBinary(bytes, options) {
1835
- return new GetWalletTokensProfitLossRequest().fromBinary(bytes, options);
1836
- }
1837
- static fromJson(jsonValue, options) {
1838
- return new GetWalletTokensProfitLossRequest().fromJson(jsonValue, options);
1839
- }
1840
- static fromJsonString(jsonString, options) {
1841
- return new GetWalletTokensProfitLossRequest().fromJsonString(jsonString, options);
1842
- }
1843
- static equals(a, b) {
1844
- return proto3.util.equals(GetWalletTokensProfitLossRequest, a, b);
1845
- }
1846
- }
1847
- GetWalletTokensProfitLossRequest.runtime = proto3;
1848
- GetWalletTokensProfitLossRequest.typeName = "data.v1.GetWalletTokensProfitLossRequest";
1849
- GetWalletTokensProfitLossRequest.fields = proto3.util.newFieldList(() => [
1850
- { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
1851
- { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
1852
- { no: 3, name: "since", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1853
- { no: 4, name: "till", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1854
- { no: 5, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1855
- { no: 6, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1856
- { no: 7, name: "modifier", kind: "message", T: PortfolioValueModifier, opt: true },
1857
- { no: 8, name: "multichain", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1858
- ]);
1859
- /**
1860
- * @generated from message data.v1.GetWalletTokensProfitLossResponse
1861
- */
1862
- export class GetWalletTokensProfitLossResponse extends Message {
1863
- constructor(data) {
1864
- super();
1865
- /**
1866
- * @generated from field: repeated data.v1.TokenProfitLoss token_profit_losses = 1;
1867
- */
1868
- this.tokenProfitLosses = [];
1869
- /**
1870
- * @generated from field: repeated data.v1.MultichainTokenProfitLoss multichain_token_profit_loss = 3;
1871
- */
1872
- this.multichainTokenProfitLoss = [];
1873
- proto3.util.initPartial(data, this);
1874
- }
1875
- static fromBinary(bytes, options) {
1876
- return new GetWalletTokensProfitLossResponse().fromBinary(bytes, options);
1877
- }
1878
- static fromJson(jsonValue, options) {
1879
- return new GetWalletTokensProfitLossResponse().fromJson(jsonValue, options);
1880
- }
1881
- static fromJsonString(jsonString, options) {
1882
- return new GetWalletTokensProfitLossResponse().fromJsonString(jsonString, options);
1883
- }
1884
- static equals(a, b) {
1885
- return proto3.util.equals(GetWalletTokensProfitLossResponse, a, b);
1886
- }
1887
- }
1888
- GetWalletTokensProfitLossResponse.runtime = proto3;
1889
- GetWalletTokensProfitLossResponse.typeName = "data.v1.GetWalletTokensProfitLossResponse";
1890
- GetWalletTokensProfitLossResponse.fields = proto3.util.newFieldList(() => [
1891
- { no: 1, name: "token_profit_losses", kind: "message", T: TokenProfitLoss, repeated: true },
1892
- { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1893
- { no: 3, name: "multichain_token_profit_loss", kind: "message", T: MultichainTokenProfitLoss, repeated: true },
1894
- ]);
1895
- /**
1896
- * @generated from message data.v1.GetWalletTokenProfitLossRequest
1897
- */
1898
- export class GetWalletTokenProfitLossRequest extends Message {
1899
- constructor(data) {
1900
- super();
1901
- /**
1902
- * @generated from field: uint32 chain_id = 2;
1903
- */
1904
- this.chainId = 0;
1905
- /**
1906
- * @generated from field: string token_address = 3;
1907
- */
1908
- this.tokenAddress = "";
1909
- /**
1910
- * @generated from field: bool multichain = 7;
1911
- */
1912
- this.multichain = false;
1913
- proto3.util.initPartial(data, this);
1914
- }
1915
- static fromBinary(bytes, options) {
1916
- return new GetWalletTokenProfitLossRequest().fromBinary(bytes, options);
1917
- }
1918
- static fromJson(jsonValue, options) {
1919
- return new GetWalletTokenProfitLossRequest().fromJson(jsonValue, options);
1920
- }
1921
- static fromJsonString(jsonString, options) {
1922
- return new GetWalletTokenProfitLossRequest().fromJsonString(jsonString, options);
1923
- }
1924
- static equals(a, b) {
1925
- return proto3.util.equals(GetWalletTokenProfitLossRequest, a, b);
1926
- }
1927
- }
1928
- GetWalletTokenProfitLossRequest.runtime = proto3;
1929
- GetWalletTokenProfitLossRequest.typeName = "data.v1.GetWalletTokenProfitLossRequest";
1930
- GetWalletTokenProfitLossRequest.fields = proto3.util.newFieldList(() => [
1931
- { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
1932
- { no: 2, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1933
- { no: 3, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1934
- { no: 4, name: "since", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1935
- { no: 5, name: "till", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1936
- { no: 6, name: "modifier", kind: "message", T: PortfolioValueModifier, opt: true },
1937
- { no: 7, name: "multichain", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1938
- ]);
1939
- /**
1940
- * @generated from message data.v1.GetWalletTokenProfitLossResponse
1941
- */
1942
- export class GetWalletTokenProfitLossResponse extends Message {
1943
- constructor(data) {
1944
- super();
1945
- /**
1946
- * @generated from field: repeated data.v1.ChainTokenProfitLoss chain_breakdown = 2;
1947
- */
1948
- this.chainBreakdown = [];
1949
- proto3.util.initPartial(data, this);
1950
- }
1951
- static fromBinary(bytes, options) {
1952
- return new GetWalletTokenProfitLossResponse().fromBinary(bytes, options);
1953
- }
1954
- static fromJson(jsonValue, options) {
1955
- return new GetWalletTokenProfitLossResponse().fromJson(jsonValue, options);
1956
- }
1957
- static fromJsonString(jsonString, options) {
1958
- return new GetWalletTokenProfitLossResponse().fromJsonString(jsonString, options);
1959
- }
1960
- static equals(a, b) {
1961
- return proto3.util.equals(GetWalletTokenProfitLossResponse, a, b);
1962
- }
1963
- }
1964
- GetWalletTokenProfitLossResponse.runtime = proto3;
1965
- GetWalletTokenProfitLossResponse.typeName = "data.v1.GetWalletTokenProfitLossResponse";
1966
- GetWalletTokenProfitLossResponse.fields = proto3.util.newFieldList(() => [
1967
- { no: 1, name: "profit_loss", kind: "message", T: TokenDetailProfitLoss },
1968
- { no: 2, name: "chain_breakdown", kind: "message", T: ChainTokenProfitLoss, repeated: true },
1969
- ]);
1970
- /**
1971
- * @generated from message data.v1.GetWalletBalancesRequest
1972
- */
1973
- export class GetWalletBalancesRequest extends Message {
1974
- constructor(data) {
1975
- super();
1976
- /**
1977
- * @generated from field: repeated uint32 chain_ids = 2;
1978
- */
1979
- this.chainIds = [];
1980
- /**
1981
- * @generated from field: repeated data.v1.WalletBalanceCategory include_categories = 4;
1982
- */
1983
- this.includeCategories = [];
1984
- proto3.util.initPartial(data, this);
1985
- }
1986
- static fromBinary(bytes, options) {
1987
- return new GetWalletBalancesRequest().fromBinary(bytes, options);
1988
- }
1989
- static fromJson(jsonValue, options) {
1990
- return new GetWalletBalancesRequest().fromJson(jsonValue, options);
1991
- }
1992
- static fromJsonString(jsonString, options) {
1993
- return new GetWalletBalancesRequest().fromJsonString(jsonString, options);
1994
- }
1995
- static equals(a, b) {
1996
- return proto3.util.equals(GetWalletBalancesRequest, a, b);
1997
- }
1998
- }
1999
- GetWalletBalancesRequest.runtime = proto3;
2000
- GetWalletBalancesRequest.typeName = "data.v1.GetWalletBalancesRequest";
2001
- GetWalletBalancesRequest.fields = proto3.util.newFieldList(() => [
2002
- { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
2003
- { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
2004
- { no: 3, name: "modifier", kind: "message", T: PortfolioValueModifier, opt: true },
2005
- { no: 4, name: "include_categories", kind: "enum", T: proto3.getEnumType(WalletBalanceCategory), repeated: true },
2006
- ]);
2007
- /**
2008
- * @generated from message data.v1.GetWalletBalancesResponse
2009
- */
2010
- export class GetWalletBalancesResponse extends Message {
2011
- constructor(data) {
2012
- super();
2013
- proto3.util.initPartial(data, this);
2014
- }
2015
- static fromBinary(bytes, options) {
2016
- return new GetWalletBalancesResponse().fromBinary(bytes, options);
2017
- }
2018
- static fromJson(jsonValue, options) {
2019
- return new GetWalletBalancesResponse().fromJson(jsonValue, options);
2020
- }
2021
- static fromJsonString(jsonString, options) {
2022
- return new GetWalletBalancesResponse().fromJsonString(jsonString, options);
2023
- }
2024
- static equals(a, b) {
2025
- return proto3.util.equals(GetWalletBalancesResponse, a, b);
2026
- }
2027
- }
2028
- GetWalletBalancesResponse.runtime = proto3;
2029
- GetWalletBalancesResponse.typeName = "data.v1.GetWalletBalancesResponse";
2030
- GetWalletBalancesResponse.fields = proto3.util.newFieldList(() => [
2031
- { no: 1, name: "balance", kind: "message", T: WalletBalance },
2032
- ]);
2033
- /**
2034
- * @generated from message data.v1.GetWalletsBalancesRequest
2035
- */
2036
- export class GetWalletsBalancesRequest extends Message {
2037
- constructor(data) {
2038
- super();
2039
- /**
2040
- * @generated from field: repeated data.v1.WalletAccount wallet_accounts = 1;
2041
- */
2042
- this.walletAccounts = [];
2043
- /**
2044
- * @generated from field: repeated uint32 chain_ids = 2;
2045
- */
2046
- this.chainIds = [];
2047
- /**
2048
- * @generated from field: repeated data.v1.PortfolioValueModifier modifiers = 3;
2049
- */
2050
- this.modifiers = [];
2051
- /**
2052
- * @generated from field: repeated data.v1.WalletBalanceCategory include_categories = 4;
2053
- */
2054
- this.includeCategories = [];
2055
- proto3.util.initPartial(data, this);
2056
- }
2057
- static fromBinary(bytes, options) {
2058
- return new GetWalletsBalancesRequest().fromBinary(bytes, options);
2059
- }
2060
- static fromJson(jsonValue, options) {
2061
- return new GetWalletsBalancesRequest().fromJson(jsonValue, options);
2062
- }
2063
- static fromJsonString(jsonString, options) {
2064
- return new GetWalletsBalancesRequest().fromJsonString(jsonString, options);
2065
- }
2066
- static equals(a, b) {
2067
- return proto3.util.equals(GetWalletsBalancesRequest, a, b);
2068
- }
2069
- }
2070
- GetWalletsBalancesRequest.runtime = proto3;
2071
- GetWalletsBalancesRequest.typeName = "data.v1.GetWalletsBalancesRequest";
2072
- GetWalletsBalancesRequest.fields = proto3.util.newFieldList(() => [
2073
- { no: 1, name: "wallet_accounts", kind: "message", T: WalletAccount, repeated: true },
2074
- { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
2075
- { no: 3, name: "modifiers", kind: "message", T: PortfolioValueModifier, repeated: true },
2076
- { no: 4, name: "include_categories", kind: "enum", T: proto3.getEnumType(WalletBalanceCategory), repeated: true },
2077
- ]);
2078
- /**
2079
- * @generated from message data.v1.GetWalletsBalancesResponse
2080
- */
2081
- export class GetWalletsBalancesResponse extends Message {
2082
- constructor(data) {
2083
- super();
2084
- /**
2085
- * @generated from field: repeated data.v1.WalletBalance balances = 1;
2086
- */
2087
- this.balances = [];
2088
- proto3.util.initPartial(data, this);
2089
- }
2090
- static fromBinary(bytes, options) {
2091
- return new GetWalletsBalancesResponse().fromBinary(bytes, options);
2092
- }
2093
- static fromJson(jsonValue, options) {
2094
- return new GetWalletsBalancesResponse().fromJson(jsonValue, options);
2095
- }
2096
- static fromJsonString(jsonString, options) {
2097
- return new GetWalletsBalancesResponse().fromJsonString(jsonString, options);
2098
- }
2099
- static equals(a, b) {
2100
- return proto3.util.equals(GetWalletsBalancesResponse, a, b);
2101
- }
2102
- }
2103
- GetWalletsBalancesResponse.runtime = proto3;
2104
- GetWalletsBalancesResponse.typeName = "data.v1.GetWalletsBalancesResponse";
2105
- GetWalletsBalancesResponse.fields = proto3.util.newFieldList(() => [
2106
- { no: 1, name: "balances", kind: "message", T: WalletBalance, repeated: true },
2107
- ]);
2108
- /**
2109
- * @generated from message data.v1.WalletBalance
2110
- */
2111
- export class WalletBalance extends Message {
2112
- constructor(data) {
2113
- super();
2114
- /**
2115
- * @generated from field: repeated uint32 failed_chain_ids = 6;
2116
- */
2117
- this.failedChainIds = [];
2118
- proto3.util.initPartial(data, this);
2119
- }
2120
- static fromBinary(bytes, options) {
2121
- return new WalletBalance().fromBinary(bytes, options);
2122
- }
2123
- static fromJson(jsonValue, options) {
2124
- return new WalletBalance().fromJson(jsonValue, options);
2125
- }
2126
- static fromJsonString(jsonString, options) {
2127
- return new WalletBalance().fromJsonString(jsonString, options);
2128
- }
2129
- static equals(a, b) {
2130
- return proto3.util.equals(WalletBalance, a, b);
2131
- }
2132
- }
2133
- WalletBalance.runtime = proto3;
2134
- WalletBalance.typeName = "data.v1.WalletBalance";
2135
- WalletBalance.fields = proto3.util.newFieldList(() => [
2136
- { no: 1, name: "total", kind: "message", T: BalanceComponent },
2137
- { no: 2, name: "tokens", kind: "message", T: BalanceComponent },
2138
- { no: 3, name: "pools", kind: "message", T: BalanceComponent },
2139
- { no: 4, name: "wallet_account", kind: "message", T: WalletAccount },
2140
- { no: 5, name: "earn", kind: "message", T: BalanceComponent },
2141
- { no: 6, name: "failed_chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
2142
- ]);
2143
- /**
2144
- * @generated from message data.v1.BalanceComponent
2145
- */
2146
- export class BalanceComponent extends Message {
2147
- constructor(data) {
2148
- super();
2149
- proto3.util.initPartial(data, this);
2150
- }
2151
- static fromBinary(bytes, options) {
2152
- return new BalanceComponent().fromBinary(bytes, options);
2153
- }
2154
- static fromJson(jsonValue, options) {
2155
- return new BalanceComponent().fromJson(jsonValue, options);
2156
- }
2157
- static fromJsonString(jsonString, options) {
2158
- return new BalanceComponent().fromJsonString(jsonString, options);
2159
- }
2160
- static equals(a, b) {
2161
- return proto3.util.equals(BalanceComponent, a, b);
2162
- }
2163
- }
2164
- BalanceComponent.runtime = proto3;
2165
- BalanceComponent.typeName = "data.v1.BalanceComponent";
2166
- BalanceComponent.fields = proto3.util.newFieldList(() => [
2167
- { no: 1, name: "value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2168
- { no: 2, name: "absolute_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2169
- { no: 3, name: "percent_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2170
- { no: 4, name: "count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
2171
- ]);
2172
- /**
2173
- * @generated from message data.v1.ListRwasRequest
2174
- */
2175
- export class ListRwasRequest extends Message {
2176
- constructor(data) {
2177
- super();
2178
- /**
2179
- * Required, non-empty.
2180
- *
2181
- * @generated from field: repeated uint32 chain_ids = 1;
2182
- */
2183
- this.chainIds = [];
2184
- /**
2185
- * When true, standalone commodity entries (no issuer structure) are
2186
- * included. Default false: only stocks + ETFs.
2187
- *
2188
- * @generated from field: bool include_commodities = 2;
2189
- */
2190
- this.includeCommodities = false;
2191
- proto3.util.initPartial(data, this);
2192
- }
2193
- static fromBinary(bytes, options) {
2194
- return new ListRwasRequest().fromBinary(bytes, options);
2195
- }
2196
- static fromJson(jsonValue, options) {
2197
- return new ListRwasRequest().fromJson(jsonValue, options);
2198
- }
2199
- static fromJsonString(jsonString, options) {
2200
- return new ListRwasRequest().fromJsonString(jsonString, options);
2201
- }
2202
- static equals(a, b) {
2203
- return proto3.util.equals(ListRwasRequest, a, b);
2204
- }
2205
- }
2206
- ListRwasRequest.runtime = proto3;
2207
- ListRwasRequest.typeName = "data.v1.ListRwasRequest";
2208
- ListRwasRequest.fields = proto3.util.newFieldList(() => [
2209
- { no: 1, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
2210
- { no: 2, name: "include_commodities", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2211
- ]);
2212
- /**
2213
- * @generated from message data.v1.ListRwasResponse
2214
- */
2215
- export class ListRwasResponse extends Message {
2216
- constructor(data) {
2217
- super();
2218
- /**
2219
- * @generated from field: repeated data.v1.Rwa rwas = 1;
2220
- */
2221
- this.rwas = [];
2222
- proto3.util.initPartial(data, this);
2223
- }
2224
- static fromBinary(bytes, options) {
2225
- return new ListRwasResponse().fromBinary(bytes, options);
2226
- }
2227
- static fromJson(jsonValue, options) {
2228
- return new ListRwasResponse().fromJson(jsonValue, options);
2229
- }
2230
- static fromJsonString(jsonString, options) {
2231
- return new ListRwasResponse().fromJsonString(jsonString, options);
2232
- }
2233
- static equals(a, b) {
2234
- return proto3.util.equals(ListRwasResponse, a, b);
2235
- }
2236
- }
2237
- ListRwasResponse.runtime = proto3;
2238
- ListRwasResponse.typeName = "data.v1.ListRwasResponse";
2239
- ListRwasResponse.fields = proto3.util.newFieldList(() => [
2240
- { no: 1, name: "rwas", kind: "message", T: Rwa, repeated: true },
2241
- ]);
2242
- /**
2243
- * @generated from message data.v1.Rwa
2244
- */
2245
- export class Rwa extends Message {
2246
- constructor(data) {
2247
- super();
2248
- /**
2249
- * @generated from field: string symbol = 1;
2250
- */
2251
- this.symbol = "";
2252
- /**
2253
- * @generated from field: string logo_url = 2;
2254
- */
2255
- this.logoUrl = "";
2256
- /**
2257
- * @generated from field: repeated data.v1.IssuerToken issuer_tokens = 3;
2258
- */
2259
- this.issuerTokens = [];
2260
- /**
2261
- * @generated from field: string name = 4;
2262
- */
2263
- this.name = "";
2264
- /**
2265
- * @generated from field: map<string, data.v1.IssuerData> issuer_data = 5;
2266
- */
2267
- this.issuerData = {};
2268
- /**
2269
- * @generated from field: repeated data.v1.RwaCategory categories = 6;
2270
- */
2271
- this.categories = [];
2272
- proto3.util.initPartial(data, this);
2273
- }
2274
- static fromBinary(bytes, options) {
2275
- return new Rwa().fromBinary(bytes, options);
2276
- }
2277
- static fromJson(jsonValue, options) {
2278
- return new Rwa().fromJson(jsonValue, options);
2279
- }
2280
- static fromJsonString(jsonString, options) {
2281
- return new Rwa().fromJsonString(jsonString, options);
2282
- }
2283
- static equals(a, b) {
2284
- return proto3.util.equals(Rwa, a, b);
2285
- }
2286
- }
2287
- Rwa.runtime = proto3;
2288
- Rwa.typeName = "data.v1.Rwa";
2289
- Rwa.fields = proto3.util.newFieldList(() => [
2290
- { no: 1, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2291
- { no: 2, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2292
- { no: 3, name: "issuer_tokens", kind: "message", T: IssuerToken, repeated: true },
2293
- { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2294
- { no: 5, name: "issuer_data", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: IssuerData } },
2295
- { no: 6, name: "categories", kind: "enum", T: proto3.getEnumType(RwaCategory), repeated: true },
2296
- ]);
2297
- /**
2298
- * @generated from message data.v1.IssuerToken
2299
- */
2300
- export class IssuerToken extends Message {
2301
- constructor(data) {
2302
- super();
2303
- /**
2304
- * @generated from field: uint32 chain_id = 1;
2305
- */
2306
- this.chainId = 0;
2307
- /**
2308
- * @generated from field: string address = 2;
2309
- */
2310
- this.address = "";
2311
- /**
2312
- * @generated from field: string issuer = 3;
2313
- */
2314
- this.issuer = "";
2315
- proto3.util.initPartial(data, this);
2316
- }
2317
- static fromBinary(bytes, options) {
2318
- return new IssuerToken().fromBinary(bytes, options);
2319
- }
2320
- static fromJson(jsonValue, options) {
2321
- return new IssuerToken().fromJson(jsonValue, options);
2322
- }
2323
- static fromJsonString(jsonString, options) {
2324
- return new IssuerToken().fromJsonString(jsonString, options);
2325
- }
2326
- static equals(a, b) {
2327
- return proto3.util.equals(IssuerToken, a, b);
2328
- }
2329
- }
2330
- IssuerToken.runtime = proto3;
2331
- IssuerToken.typeName = "data.v1.IssuerToken";
2332
- IssuerToken.fields = proto3.util.newFieldList(() => [
2333
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2334
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2335
- { no: 3, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2336
- ]);
2337
- /**
2338
- * @generated from message data.v1.IssuerData
2339
- */
2340
- export class IssuerData extends Message {
2341
- constructor(data) {
2342
- super();
2343
- /**
2344
- * @generated from field: string name = 1;
2345
- */
2346
- this.name = "";
2347
- /**
2348
- * @generated from field: string symbol = 2;
2349
- */
2350
- this.symbol = "";
2351
- /**
2352
- * @generated from field: string logo_url = 3;
2353
- */
2354
- this.logoUrl = "";
2355
- proto3.util.initPartial(data, this);
2356
- }
2357
- static fromBinary(bytes, options) {
2358
- return new IssuerData().fromBinary(bytes, options);
2359
- }
2360
- static fromJson(jsonValue, options) {
2361
- return new IssuerData().fromJson(jsonValue, options);
2362
- }
2363
- static fromJsonString(jsonString, options) {
2364
- return new IssuerData().fromJsonString(jsonString, options);
2365
- }
2366
- static equals(a, b) {
2367
- return proto3.util.equals(IssuerData, a, b);
2368
- }
2369
- }
2370
- IssuerData.runtime = proto3;
2371
- IssuerData.typeName = "data.v1.IssuerData";
2372
- IssuerData.fields = proto3.util.newFieldList(() => [
2373
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2374
- { no: 2, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2375
- { no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2376
- ]);
2377
- /**
2378
- * @generated from message data.v1.ListRwaTokensRequest
2379
- */
2380
- export class ListRwaTokensRequest extends Message {
2381
- constructor(data) {
2382
- super();
2383
- /**
2384
- * @generated from field: data.v1.RwaCategory category = 1;
2385
- */
2386
- this.category = RwaCategory.UNSPECIFIED;
2387
- /**
2388
- * Required, non-empty.
2389
- *
2390
- * @generated from field: repeated uint32 chain_ids = 2;
2391
- */
2392
- this.chainIds = [];
2393
- /**
2394
- * Opt-in; sparkline_1d is empty when false/unset.
2395
- *
2396
- * @generated from field: bool include_sparkline_1d = 3;
2397
- */
2398
- this.includeSparkline1d = false;
2399
- /**
2400
- * Deprecated and ignored: market data and per-chain volume always come from
2401
- * the substream-fed serving tables.
2402
- *
2403
- * @generated from field: bool use_substream_data = 4 [deprecated = true];
2404
- * @deprecated
2405
- */
2406
- this.useSubstreamData = false;
2407
- proto3.util.initPartial(data, this);
2408
- }
2409
- static fromBinary(bytes, options) {
2410
- return new ListRwaTokensRequest().fromBinary(bytes, options);
2411
- }
2412
- static fromJson(jsonValue, options) {
2413
- return new ListRwaTokensRequest().fromJson(jsonValue, options);
2414
- }
2415
- static fromJsonString(jsonString, options) {
2416
- return new ListRwaTokensRequest().fromJsonString(jsonString, options);
2417
- }
2418
- static equals(a, b) {
2419
- return proto3.util.equals(ListRwaTokensRequest, a, b);
2420
- }
2421
- }
2422
- ListRwaTokensRequest.runtime = proto3;
2423
- ListRwaTokensRequest.typeName = "data.v1.ListRwaTokensRequest";
2424
- ListRwaTokensRequest.fields = proto3.util.newFieldList(() => [
2425
- { no: 1, name: "category", kind: "enum", T: proto3.getEnumType(RwaCategory) },
2426
- { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
2427
- { no: 3, name: "include_sparkline_1d", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2428
- { no: 4, name: "use_substream_data", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2429
- ]);
2430
- /**
2431
- * @generated from message data.v1.ListRwaTokensResponse
2432
- */
2433
- export class ListRwaTokensResponse extends Message {
2434
- constructor(data) {
2435
- super();
2436
- /**
2437
- * @generated from field: repeated data.v1.IssuerMultichainToken tokens = 1;
2438
- */
2439
- this.tokens = [];
2440
- proto3.util.initPartial(data, this);
2441
- }
2442
- static fromBinary(bytes, options) {
2443
- return new ListRwaTokensResponse().fromBinary(bytes, options);
2444
- }
2445
- static fromJson(jsonValue, options) {
2446
- return new ListRwaTokensResponse().fromJson(jsonValue, options);
2447
- }
2448
- static fromJsonString(jsonString, options) {
2449
- return new ListRwaTokensResponse().fromJsonString(jsonString, options);
2450
- }
2451
- static equals(a, b) {
2452
- return proto3.util.equals(ListRwaTokensResponse, a, b);
2453
- }
2454
- }
2455
- ListRwaTokensResponse.runtime = proto3;
2456
- ListRwaTokensResponse.typeName = "data.v1.ListRwaTokensResponse";
2457
- ListRwaTokensResponse.fields = proto3.util.newFieldList(() => [
2458
- { no: 1, name: "tokens", kind: "message", T: IssuerMultichainToken, repeated: true },
2459
- ]);
2460
- /**
2461
- * @generated from message data.v1.ListRankedRwasRequest
2462
- */
2463
- export class ListRankedRwasRequest extends Message {
2464
- constructor(data) {
2465
- super();
2466
- /**
2467
- * @generated from field: data.v1.RwaCategory category = 1;
2468
- */
2469
- this.category = RwaCategory.UNSPECIFIED;
2470
- /**
2471
- * Required, non-empty.
2472
- *
2473
- * @generated from field: repeated uint32 chain_ids = 2;
2474
- */
2475
- this.chainIds = [];
2476
- /**
2477
- * Opt-in; sparkline_1d is empty at all levels when false/unset.
2478
- *
2479
- * @generated from field: bool include_sparkline_1d = 3;
2480
- */
2481
- this.includeSparkline1d = false;
2482
- /**
2483
- * Deprecated and ignored: per-chain volume always comes from the
2484
- * substream-fed serving tables.
2485
- *
2486
- * @generated from field: bool use_substream_data = 4 [deprecated = true];
2487
- * @deprecated
2488
- */
2489
- this.useSubstreamData = false;
2490
- proto3.util.initPartial(data, this);
2491
- }
2492
- static fromBinary(bytes, options) {
2493
- return new ListRankedRwasRequest().fromBinary(bytes, options);
2494
- }
2495
- static fromJson(jsonValue, options) {
2496
- return new ListRankedRwasRequest().fromJson(jsonValue, options);
2497
- }
2498
- static fromJsonString(jsonString, options) {
2499
- return new ListRankedRwasRequest().fromJsonString(jsonString, options);
2500
- }
2501
- static equals(a, b) {
2502
- return proto3.util.equals(ListRankedRwasRequest, a, b);
2503
- }
2504
- }
2505
- ListRankedRwasRequest.runtime = proto3;
2506
- ListRankedRwasRequest.typeName = "data.v1.ListRankedRwasRequest";
2507
- ListRankedRwasRequest.fields = proto3.util.newFieldList(() => [
2508
- { no: 1, name: "category", kind: "enum", T: proto3.getEnumType(RwaCategory) },
2509
- { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
2510
- { no: 3, name: "include_sparkline_1d", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2511
- { no: 4, name: "use_substream_data", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2512
- ]);
2513
- /**
2514
- * @generated from message data.v1.ListRankedRwasResponse
2515
- */
2516
- export class ListRankedRwasResponse extends Message {
2517
- constructor(data) {
2518
- super();
2519
- /**
2520
- * @generated from field: repeated data.v1.RankedRwa rwas = 1;
2521
- */
2522
- this.rwas = [];
2523
- proto3.util.initPartial(data, this);
2524
- }
2525
- static fromBinary(bytes, options) {
2526
- return new ListRankedRwasResponse().fromBinary(bytes, options);
2527
- }
2528
- static fromJson(jsonValue, options) {
2529
- return new ListRankedRwasResponse().fromJson(jsonValue, options);
2530
- }
2531
- static fromJsonString(jsonString, options) {
2532
- return new ListRankedRwasResponse().fromJsonString(jsonString, options);
2533
- }
2534
- static equals(a, b) {
2535
- return proto3.util.equals(ListRankedRwasResponse, a, b);
2536
- }
2537
- }
2538
- ListRankedRwasResponse.runtime = proto3;
2539
- ListRankedRwasResponse.typeName = "data.v1.ListRankedRwasResponse";
2540
- ListRankedRwasResponse.fields = proto3.util.newFieldList(() => [
2541
- { no: 1, name: "rwas", kind: "message", T: RankedRwa, repeated: true },
2542
- ]);
2543
- /**
2544
- * @generated from message data.v1.RankedRwa
2545
- */
2546
- export class RankedRwa extends Message {
2547
- constructor(data) {
2548
- super();
2549
- /**
2550
- * @generated from field: string symbol = 1;
2551
- */
2552
- this.symbol = "";
2553
- /**
2554
- * @generated from field: string name = 2;
2555
- */
2556
- this.name = "";
2557
- /**
2558
- * @generated from field: string logo_url = 3;
2559
- */
2560
- this.logoUrl = "";
2561
- /**
2562
- * @generated from field: double price_usd = 4;
2563
- */
2564
- this.priceUsd = 0;
2565
- /**
2566
- * @generated from field: double volume_24h_usd = 5;
2567
- */
2568
- this.volume24hUsd = 0;
2569
- /**
2570
- * @generated from field: repeated data.v1.IssuerMultichainToken issuer_tokens = 11;
2571
- */
2572
- this.issuerTokens = [];
2573
- proto3.util.initPartial(data, this);
2574
- }
2575
- static fromBinary(bytes, options) {
2576
- return new RankedRwa().fromBinary(bytes, options);
2577
- }
2578
- static fromJson(jsonValue, options) {
2579
- return new RankedRwa().fromJson(jsonValue, options);
2580
- }
2581
- static fromJsonString(jsonString, options) {
2582
- return new RankedRwa().fromJsonString(jsonString, options);
2583
- }
2584
- static equals(a, b) {
2585
- return proto3.util.equals(RankedRwa, a, b);
2586
- }
2587
- }
2588
- RankedRwa.runtime = proto3;
2589
- RankedRwa.typeName = "data.v1.RankedRwa";
2590
- RankedRwa.fields = proto3.util.newFieldList(() => [
2591
- { no: 1, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2592
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2593
- { no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2594
- { no: 4, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2595
- { no: 5, name: "volume_24h_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2596
- { no: 6, name: "market_cap_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2597
- { no: 7, name: "fdv_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2598
- { no: 8, name: "price_change_1h_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2599
- { no: 9, name: "price_change_24h_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2600
- { no: 10, name: "sparkline_1d", kind: "message", T: RwaSparkline, opt: true },
2601
- { no: 11, name: "issuer_tokens", kind: "message", T: IssuerMultichainToken, repeated: true },
2602
- { no: 12, name: "price_deviation_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2603
- ]);
2604
- /**
2605
- * @generated from message data.v1.IssuerMultichainToken
2606
- */
2607
- export class IssuerMultichainToken extends Message {
2608
- constructor(data) {
2609
- super();
2610
- /**
2611
- * @generated from field: string symbol = 1;
2612
- */
2613
- this.symbol = "";
2614
- /**
2615
- * @generated from field: string name = 2;
2616
- */
2617
- this.name = "";
2618
- /**
2619
- * @generated from field: string logo_url = 3;
2620
- */
2621
- this.logoUrl = "";
2622
- /**
2623
- * @generated from field: string issuer = 4;
2624
- */
2625
- this.issuer = "";
2626
- /**
2627
- * @generated from field: double price_usd = 5;
2628
- */
2629
- this.priceUsd = 0;
2630
- /**
2631
- * @generated from field: double volume_24h_usd = 6;
2632
- */
2633
- this.volume24hUsd = 0;
2634
- /**
2635
- * @generated from field: repeated data.v1.RwaChainToken chain_tokens = 12;
2636
- */
2637
- this.chainTokens = [];
2638
- proto3.util.initPartial(data, this);
2639
- }
2640
- static fromBinary(bytes, options) {
2641
- return new IssuerMultichainToken().fromBinary(bytes, options);
2642
- }
2643
- static fromJson(jsonValue, options) {
2644
- return new IssuerMultichainToken().fromJson(jsonValue, options);
2645
- }
2646
- static fromJsonString(jsonString, options) {
2647
- return new IssuerMultichainToken().fromJsonString(jsonString, options);
2648
- }
2649
- static equals(a, b) {
2650
- return proto3.util.equals(IssuerMultichainToken, a, b);
2651
- }
2652
- }
2653
- IssuerMultichainToken.runtime = proto3;
2654
- IssuerMultichainToken.typeName = "data.v1.IssuerMultichainToken";
2655
- IssuerMultichainToken.fields = proto3.util.newFieldList(() => [
2656
- { no: 1, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2657
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2658
- { no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2659
- { no: 4, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2660
- { no: 5, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2661
- { no: 6, name: "volume_24h_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2662
- { no: 7, name: "market_cap_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2663
- { no: 8, name: "fdv_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2664
- { no: 9, name: "price_change_1h_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2665
- { no: 10, name: "price_change_24h_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2666
- { no: 11, name: "sparkline_1d", kind: "message", T: RwaSparkline, opt: true },
2667
- { no: 12, name: "chain_tokens", kind: "message", T: RwaChainToken, repeated: true },
2668
- ]);
2669
- /**
2670
- * @generated from message data.v1.RwaChainToken
2671
- */
2672
- export class RwaChainToken extends Message {
2673
- constructor(data) {
2674
- super();
2675
- /**
2676
- * @generated from field: uint32 chain_id = 1;
2677
- */
2678
- this.chainId = 0;
2679
- /**
2680
- * @generated from field: string address = 2;
2681
- */
2682
- this.address = "";
2683
- proto3.util.initPartial(data, this);
2684
- }
2685
- static fromBinary(bytes, options) {
2686
- return new RwaChainToken().fromBinary(bytes, options);
2687
- }
2688
- static fromJson(jsonValue, options) {
2689
- return new RwaChainToken().fromJson(jsonValue, options);
2690
- }
2691
- static fromJsonString(jsonString, options) {
2692
- return new RwaChainToken().fromJsonString(jsonString, options);
2693
- }
2694
- static equals(a, b) {
2695
- return proto3.util.equals(RwaChainToken, a, b);
2696
- }
2697
- }
2698
- RwaChainToken.runtime = proto3;
2699
- RwaChainToken.typeName = "data.v1.RwaChainToken";
2700
- RwaChainToken.fields = proto3.util.newFieldList(() => [
2701
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2702
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2703
- ]);
2704
- /**
2705
- * @generated from message data.v1.RwaSparkline
2706
- */
2707
- export class RwaSparkline extends Message {
2708
- constructor(data) {
2709
- super();
2710
- /**
2711
- * @generated from field: repeated data.v1.RwaSparklinePoint points = 1;
2712
- */
2713
- this.points = [];
2714
- proto3.util.initPartial(data, this);
2715
- }
2716
- static fromBinary(bytes, options) {
2717
- return new RwaSparkline().fromBinary(bytes, options);
2718
- }
2719
- static fromJson(jsonValue, options) {
2720
- return new RwaSparkline().fromJson(jsonValue, options);
2721
- }
2722
- static fromJsonString(jsonString, options) {
2723
- return new RwaSparkline().fromJsonString(jsonString, options);
2724
- }
2725
- static equals(a, b) {
2726
- return proto3.util.equals(RwaSparkline, a, b);
2727
- }
2728
- }
2729
- RwaSparkline.runtime = proto3;
2730
- RwaSparkline.typeName = "data.v1.RwaSparkline";
2731
- RwaSparkline.fields = proto3.util.newFieldList(() => [
2732
- { no: 1, name: "points", kind: "message", T: RwaSparklinePoint, repeated: true },
2733
- ]);
2734
- /**
2735
- * @generated from message data.v1.RwaSparklinePoint
2736
- */
2737
- export class RwaSparklinePoint extends Message {
2738
- constructor(data) {
2739
- super();
2740
- /**
2741
- * @generated from field: int64 timestamp_s = 1;
2742
- */
2743
- this.timestampS = protoInt64.zero;
2744
- /**
2745
- * @generated from field: double value = 2;
2746
- */
2747
- this.value = 0;
2748
- proto3.util.initPartial(data, this);
2749
- }
2750
- static fromBinary(bytes, options) {
2751
- return new RwaSparklinePoint().fromBinary(bytes, options);
2752
- }
2753
- static fromJson(jsonValue, options) {
2754
- return new RwaSparklinePoint().fromJson(jsonValue, options);
2755
- }
2756
- static fromJsonString(jsonString, options) {
2757
- return new RwaSparklinePoint().fromJsonString(jsonString, options);
2758
- }
2759
- static equals(a, b) {
2760
- return proto3.util.equals(RwaSparklinePoint, a, b);
2761
- }
2762
- }
2763
- RwaSparklinePoint.runtime = proto3;
2764
- RwaSparklinePoint.typeName = "data.v1.RwaSparklinePoint";
2765
- RwaSparklinePoint.fields = proto3.util.newFieldList(() => [
2766
- { no: 1, name: "timestamp_s", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
2767
- { no: 2, name: "value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2768
- ]);
481
+ export const RwaCategorySchema = /*@__PURE__*/ enumDesc(file_data_v1_api, 3);
482
+ /**
483
+ * @generated from service data.v1.DataApiService
484
+ */
485
+ export const DataApiService = /*@__PURE__*/ serviceDesc(file_data_v1_api, 0);