@uniswap/client-data-api 0.0.296 → 0.0.298

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 +1105 -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 -1887
  38. package/dist/data/v2/types_pb.js +282 -2190
  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,9 +1,202 @@
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/types.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
- import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
- import { EarnPlanAction, MarginPlanAction, MarginPlanVenue, PlanStatus, PlanStepStatus, SwapType } from "./plan_pb.js";
4
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_data_v1_plan } from "./plan_pb";
6
+ /**
7
+ * Describes the file data/v1/types.proto.
8
+ */
9
+ export const file_data_v1_types = /*@__PURE__*/ fileDesc("ChNkYXRhL3YxL3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NRRAFEh8KG0FUVEFDS19UWVBFX0tOT1dOX01BTElDSU9VUxAGEhgKFEFUVEFDS19UWVBFX01FVEFEQVRBEAcSFwoTQVRUQUNLX1RZUEVfUlVHUFVMTBAIEhgKFEFUVEFDS19UWVBFX0hPTkVZUE9UEAkSGQoVQVRUQUNLX1RZUEVfU1BBTV9URVhUEAoSJQohQVRUQUNLX1RZUEVfU1RBVElDX0NPREVfU0lHTkFUVVJFEAsSJAogQVRUQUNLX1RZUEVfVU5TVEFCTEVfVE9LRU5fUFJJQ0UQDBIeChpBVFRBQ0tfVFlQRV9FWElUX1NDQU1fUklTSxANYgZwcm90bzM", [file_data_v1_plan]);
10
+ /**
11
+ * Describes the message data.v1.Token.
12
+ * Use `create(TokenSchema)` to create a new message.
13
+ */
14
+ export const TokenSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 0);
15
+ /**
16
+ * Describes the message data.v1.TokenMetadata.
17
+ * Use `create(TokenMetadataSchema)` to create a new message.
18
+ */
19
+ export const TokenMetadataSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 1);
20
+ /**
21
+ * Describes the message data.v1.ProtectionInfo.
22
+ * Use `create(ProtectionInfoSchema)` to create a new message.
23
+ */
24
+ export const ProtectionInfoSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 2);
25
+ /**
26
+ * Describes the message data.v1.FeeData.
27
+ * Use `create(FeeDataSchema)` to create a new message.
28
+ */
29
+ export const FeeDataSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 3);
30
+ /**
31
+ * Describes the message data.v1.Blockaid.
32
+ * Use `create(BlockaidSchema)` to create a new message.
33
+ */
34
+ export const BlockaidSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 4);
35
+ /**
36
+ * Describes the message data.v1.FeeDetector.
37
+ * Use `create(FeeDetectorSchema)` to create a new message.
38
+ */
39
+ export const FeeDetectorSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 5);
40
+ /**
41
+ * Describes the message data.v1.PortfolioValueModifier.
42
+ * Use `create(PortfolioValueModifierSchema)` to create a new message.
43
+ */
44
+ export const PortfolioValueModifierSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 6);
45
+ /**
46
+ * Describes the message data.v1.PoolRef.
47
+ * Use `create(PoolRefSchema)` to create a new message.
48
+ */
49
+ export const PoolRefSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 7);
50
+ /**
51
+ * Describes the message data.v1.Portfolio.
52
+ * Use `create(PortfolioSchema)` to create a new message.
53
+ */
54
+ export const PortfolioSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 8);
55
+ /**
56
+ * Describes the message data.v1.Balance.
57
+ * Use `create(BalanceSchema)` to create a new message.
58
+ */
59
+ export const BalanceSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 9);
60
+ /**
61
+ * Describes the message data.v1.ChainBalance.
62
+ * Use `create(ChainBalanceSchema)` to create a new message.
63
+ */
64
+ export const ChainBalanceSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 10);
65
+ /**
66
+ * Describes the message data.v1.MultichainBalance.
67
+ * Use `create(MultichainBalanceSchema)` to create a new message.
68
+ */
69
+ export const MultichainBalanceSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 11);
70
+ /**
71
+ * Describes the message data.v1.Amount.
72
+ * Use `create(AmountSchema)` to create a new message.
73
+ */
74
+ export const AmountSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 12);
75
+ /**
76
+ * Describes the message data.v1.Contract.
77
+ * Use `create(ContractSchema)` to create a new message.
78
+ */
79
+ export const ContractSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 13);
80
+ /**
81
+ * Describes the message data.v1.Nft.
82
+ * Use `create(NftSchema)` to create a new message.
83
+ */
84
+ export const NftSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 14);
85
+ /**
86
+ * Describes the message data.v1.Transaction.
87
+ * Use `create(TransactionSchema)` to create a new message.
88
+ */
89
+ export const TransactionSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 15);
90
+ /**
91
+ * Describes the message data.v1.OnChainTransaction.
92
+ * Use `create(OnChainTransactionSchema)` to create a new message.
93
+ */
94
+ export const OnChainTransactionSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 16);
95
+ /**
96
+ * Describes the message data.v1.Transfer.
97
+ * Use `create(TransferSchema)` to create a new message.
98
+ */
99
+ export const TransferSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 17);
100
+ /**
101
+ * Describes the message data.v1.Approval.
102
+ * Use `create(ApprovalSchema)` to create a new message.
103
+ */
104
+ export const ApprovalSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 18);
105
+ /**
106
+ * Describes the message data.v1.ProtocolMetadata.
107
+ * Use `create(ProtocolMetadataSchema)` to create a new message.
108
+ */
109
+ export const ProtocolMetadataSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 19);
110
+ /**
111
+ * Describes the message data.v1.UniswapXTransaction.
112
+ * Use `create(UniswapXTransactionSchema)` to create a new message.
113
+ */
114
+ export const UniswapXTransactionSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 20);
115
+ /**
116
+ * Describes the message data.v1.FiatOnRampTransaction.
117
+ * Use `create(FiatOnRampTransactionSchema)` to create a new message.
118
+ */
119
+ export const FiatOnRampTransactionSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 21);
120
+ /**
121
+ * Describes the message data.v1.OnRampServiceProvider.
122
+ * Use `create(OnRampServiceProviderSchema)` to create a new message.
123
+ */
124
+ export const OnRampServiceProviderSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 22);
125
+ /**
126
+ * Describes the message data.v1.PlanTransaction.
127
+ * Use `create(PlanTransactionSchema)` to create a new message.
128
+ */
129
+ export const PlanTransactionSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 23);
130
+ /**
131
+ * Describes the message data.v1.MarginPlanMetadata.
132
+ * Use `create(MarginPlanMetadataSchema)` to create a new message.
133
+ */
134
+ export const MarginPlanMetadataSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 24);
135
+ /**
136
+ * Describes the message data.v1.EarnPlanMetadata.
137
+ * Use `create(EarnPlanMetadataSchema)` to create a new message.
138
+ */
139
+ export const EarnPlanMetadataSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 25);
140
+ /**
141
+ * Describes the message data.v1.PlanActivity.
142
+ * Use `create(PlanActivitySchema)` to create a new message.
143
+ */
144
+ export const PlanActivitySchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 26);
145
+ /**
146
+ * Describes the message data.v1.TokenAmount.
147
+ * Use `create(TokenAmountSchema)` to create a new message.
148
+ */
149
+ export const TokenAmountSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 27);
150
+ /**
151
+ * Describes the message data.v1.TransactionFee.
152
+ * Use `create(TransactionFeeSchema)` to create a new message.
153
+ */
154
+ export const TransactionFeeSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 28);
155
+ /**
156
+ * Describes the message data.v1.TimestampedValue.
157
+ * Use `create(TimestampedValueSchema)` to create a new message.
158
+ */
159
+ export const TimestampedValueSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 29);
160
+ /**
161
+ * Describes the message data.v1.TokenStats.
162
+ * Use `create(TokenStatsSchema)` to create a new message.
163
+ */
164
+ export const TokenStatsSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 30);
165
+ /**
166
+ * Describes the message data.v1.Paymaster.
167
+ * Use `create(PaymasterSchema)` to create a new message.
168
+ */
169
+ export const PaymasterSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 31);
170
+ /**
171
+ * Describes the message data.v1.SponsorshipMetadata.
172
+ * Use `create(SponsorshipMetadataSchema)` to create a new message.
173
+ */
174
+ export const SponsorshipMetadataSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 32);
175
+ /**
176
+ * Describes the message data.v1.WalletProfitLoss.
177
+ * Use `create(WalletProfitLossSchema)` to create a new message.
178
+ */
179
+ export const WalletProfitLossSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 33);
180
+ /**
181
+ * Describes the message data.v1.TokenProfitLoss.
182
+ * Use `create(TokenProfitLossSchema)` to create a new message.
183
+ */
184
+ export const TokenProfitLossSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 34);
185
+ /**
186
+ * Describes the message data.v1.TokenDetailProfitLoss.
187
+ * Use `create(TokenDetailProfitLossSchema)` to create a new message.
188
+ */
189
+ export const TokenDetailProfitLossSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 35);
190
+ /**
191
+ * Describes the message data.v1.ChainTokenProfitLoss.
192
+ * Use `create(ChainTokenProfitLossSchema)` to create a new message.
193
+ */
194
+ export const ChainTokenProfitLossSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 36);
195
+ /**
196
+ * Describes the message data.v1.MultichainTokenProfitLoss.
197
+ * Use `create(MultichainTokenProfitLossSchema)` to create a new message.
198
+ */
199
+ export const MultichainTokenProfitLossSchema = /*@__PURE__*/ messageDesc(file_data_v1_types, 37);
7
200
  /**
8
201
  * @generated from enum data.v1.TokenType
9
202
  */
@@ -34,15 +227,10 @@ export var TokenType;
34
227
  */
35
228
  TokenType[TokenType["SPL"] = 5] = "SPL";
36
229
  })(TokenType || (TokenType = {}));
37
- // Retrieve enum metadata with: proto3.getEnumType(TokenType)
38
- proto3.util.setEnumType(TokenType, "data.v1.TokenType", [
39
- { no: 0, name: "TOKEN_TYPE_UNKNOWN" },
40
- { no: 1, name: "TOKEN_TYPE_NATIVE" },
41
- { no: 2, name: "TOKEN_TYPE_ERC20" },
42
- { no: 3, name: "TOKEN_TYPE_ERC721" },
43
- { no: 4, name: "TOKEN_TYPE_ERC1155" },
44
- { no: 5, name: "TOKEN_TYPE_SPL" },
45
- ]);
230
+ /**
231
+ * Describes the enum data.v1.TokenType.
232
+ */
233
+ export const TokenTypeSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 0);
46
234
  /**
47
235
  * @generated from enum data.v1.SpamCode
48
236
  */
@@ -65,13 +253,10 @@ export var SpamCode;
65
253
  */
66
254
  SpamCode[SpamCode["SPAM_URL"] = 3] = "SPAM_URL";
67
255
  })(SpamCode || (SpamCode = {}));
68
- // Retrieve enum metadata with: proto3.getEnumType(SpamCode)
69
- proto3.util.setEnumType(SpamCode, "data.v1.SpamCode", [
70
- { no: 0, name: "SPAM_CODE_UNKNOWN" },
71
- { no: 1, name: "SPAM_CODE_NOT_SPAM" },
72
- { no: 2, name: "SPAM_CODE_SPAM" },
73
- { no: 3, name: "SPAM_CODE_SPAM_URL" },
74
- ]);
256
+ /**
257
+ * Describes the enum data.v1.SpamCode.
258
+ */
259
+ export const SpamCodeSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 1);
75
260
  /**
76
261
  * @generated from enum data.v1.SafetyLevel
77
262
  */
@@ -98,14 +283,10 @@ export var SafetyLevel;
98
283
  */
99
284
  SafetyLevel[SafetyLevel["BLOCKED"] = 4] = "BLOCKED";
100
285
  })(SafetyLevel || (SafetyLevel = {}));
101
- // Retrieve enum metadata with: proto3.getEnumType(SafetyLevel)
102
- proto3.util.setEnumType(SafetyLevel, "data.v1.SafetyLevel", [
103
- { no: 0, name: "SAFETY_LEVEL_UNKNOWN" },
104
- { no: 1, name: "SAFETY_LEVEL_VERIFIED" },
105
- { no: 2, name: "SAFETY_LEVEL_MEDIUM_WARNING" },
106
- { no: 3, name: "SAFETY_LEVEL_STRONG_WARNING" },
107
- { no: 4, name: "SAFETY_LEVEL_BLOCKED" },
108
- ]);
286
+ /**
287
+ * Describes the enum data.v1.SafetyLevel.
288
+ */
289
+ export const SafetyLevelSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 2);
109
290
  /**
110
291
  * @generated from enum data.v1.TokenReportEventType
111
292
  */
@@ -124,12 +305,10 @@ export var TokenReportEventType;
124
305
  */
125
306
  TokenReportEventType[TokenReportEventType["FALSE_NEGATIVE"] = 2] = "FALSE_NEGATIVE";
126
307
  })(TokenReportEventType || (TokenReportEventType = {}));
127
- // Retrieve enum metadata with: proto3.getEnumType(TokenReportEventType)
128
- proto3.util.setEnumType(TokenReportEventType, "data.v1.TokenReportEventType", [
129
- { no: 0, name: "TOKEN_REPORT_EVENT_TYPE_UNSPECIFIED" },
130
- { no: 1, name: "TOKEN_REPORT_EVENT_TYPE_FALSE_POSITIVE" },
131
- { no: 2, name: "TOKEN_REPORT_EVENT_TYPE_FALSE_NEGATIVE" },
132
- ]);
308
+ /**
309
+ * Describes the enum data.v1.TokenReportEventType.
310
+ */
311
+ export const TokenReportEventTypeSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 3);
133
312
  /**
134
313
  * @generated from enum data.v1.Direction
135
314
  */
@@ -148,12 +327,10 @@ export var Direction;
148
327
  */
149
328
  Direction[Direction["SEND"] = 2] = "SEND";
150
329
  })(Direction || (Direction = {}));
151
- // Retrieve enum metadata with: proto3.getEnumType(Direction)
152
- proto3.util.setEnumType(Direction, "data.v1.Direction", [
153
- { no: 0, name: "DIRECTION_SELF" },
154
- { no: 1, name: "DIRECTION_RECEIVE" },
155
- { no: 2, name: "DIRECTION_SEND" },
156
- ]);
330
+ /**
331
+ * Describes the enum data.v1.Direction.
332
+ */
333
+ export const DirectionSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 4);
157
334
  /**
158
335
  * @generated from enum data.v1.OnChainTransactionLabel
159
336
  */
@@ -304,45 +481,10 @@ export var OnChainTransactionLabel;
304
481
  */
305
482
  OnChainTransactionLabel[OnChainTransactionLabel["VAULT_TRANSFER_OUT"] = 35] = "VAULT_TRANSFER_OUT";
306
483
  })(OnChainTransactionLabel || (OnChainTransactionLabel = {}));
307
- // Retrieve enum metadata with: proto3.getEnumType(OnChainTransactionLabel)
308
- proto3.util.setEnumType(OnChainTransactionLabel, "data.v1.OnChainTransactionLabel", [
309
- { no: 0, name: "ON_CHAIN_TRANSACTION_LABEL_UNKNOWN" },
310
- { no: 1, name: "ON_CHAIN_TRANSACTION_LABEL_APPROVE" },
311
- { no: 2, name: "ON_CHAIN_TRANSACTION_LABEL_BORROW" },
312
- { no: 3, name: "ON_CHAIN_TRANSACTION_LABEL_BRIDGE" },
313
- { no: 4, name: "ON_CHAIN_TRANSACTION_LABEL_CANCEL" },
314
- { no: 5, name: "ON_CHAIN_TRANSACTION_LABEL_CLAIM" },
315
- { no: 6, name: "ON_CHAIN_TRANSACTION_LABEL_DEPLOY" },
316
- { no: 7, name: "ON_CHAIN_TRANSACTION_LABEL_EXECUTE" },
317
- { no: 8, name: "ON_CHAIN_TRANSACTION_LABEL_LEND" },
318
- { no: 9, name: "ON_CHAIN_TRANSACTION_LABEL_MINT" },
319
- { no: 10, name: "ON_CHAIN_TRANSACTION_LABEL_FIAT_ON_RAMP" },
320
- { no: 11, name: "ON_CHAIN_TRANSACTION_LABEL_RECEIVE" },
321
- { no: 12, name: "ON_CHAIN_TRANSACTION_LABEL_REPAY" },
322
- { no: 13, name: "ON_CHAIN_TRANSACTION_LABEL_SEND" },
323
- { no: 14, name: "ON_CHAIN_TRANSACTION_LABEL_STAKE" },
324
- { no: 15, name: "ON_CHAIN_TRANSACTION_LABEL_SWAP" },
325
- { no: 16, name: "ON_CHAIN_TRANSACTION_LABEL_UNISWAP_X" },
326
- { no: 17, name: "ON_CHAIN_TRANSACTION_LABEL_TRANSFER" },
327
- { no: 18, name: "ON_CHAIN_TRANSACTION_LABEL_UNSTAKE" },
328
- { no: 19, name: "ON_CHAIN_TRANSACTION_LABEL_WITHDRAW" },
329
- { no: 20, name: "ON_CHAIN_TRANSACTION_LABEL_WRAP" },
330
- { no: 21, name: "ON_CHAIN_TRANSACTION_LABEL_UNWRAP" },
331
- { no: 22, name: "ON_CHAIN_TRANSACTION_LABEL_DEPOSIT" },
332
- { no: 23, name: "ON_CHAIN_TRANSACTION_LABEL_CREATE_PAIR" },
333
- { no: 24, name: "ON_CHAIN_TRANSACTION_LABEL_CREATE_POOL" },
334
- { no: 25, name: "ON_CHAIN_TRANSACTION_LABEL_INCREASE_LIQUIDITY" },
335
- { no: 26, name: "ON_CHAIN_TRANSACTION_LABEL_DECREASE_LIQUIDITY" },
336
- { no: 27, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_SUBMIT_BID" },
337
- { no: 28, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS" },
338
- { no: 29, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_BID" },
339
- { no: 30, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_PARTIALLY_FILLED_BID" },
340
- { no: 31, name: "ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS_BATCHED" },
341
- { no: 32, name: "ON_CHAIN_TRANSACTION_LABEL_VAULT_DEPOSIT" },
342
- { no: 33, name: "ON_CHAIN_TRANSACTION_LABEL_VAULT_WITHDRAW" },
343
- { no: 34, name: "ON_CHAIN_TRANSACTION_LABEL_VAULT_TRANSFER_IN" },
344
- { no: 35, name: "ON_CHAIN_TRANSACTION_LABEL_VAULT_TRANSFER_OUT" },
345
- ]);
484
+ /**
485
+ * Describes the enum data.v1.OnChainTransactionLabel.
486
+ */
487
+ export const OnChainTransactionLabelSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 5);
346
488
  /**
347
489
  * @generated from enum data.v1.TransactionTypeFilter
348
490
  */
@@ -445,25 +587,10 @@ export var TransactionTypeFilter;
445
587
  */
446
588
  TransactionTypeFilter[TransactionTypeFilter["VAULT_TRANSFER"] = 15] = "VAULT_TRANSFER";
447
589
  })(TransactionTypeFilter || (TransactionTypeFilter = {}));
448
- // Retrieve enum metadata with: proto3.getEnumType(TransactionTypeFilter)
449
- proto3.util.setEnumType(TransactionTypeFilter, "data.v1.TransactionTypeFilter", [
450
- { no: 0, name: "TRANSACTION_TYPE_FILTER_UNSPECIFIED" },
451
- { no: 1, name: "TRANSACTION_TYPE_FILTER_SWAP" },
452
- { no: 2, name: "TRANSACTION_TYPE_FILTER_SEND" },
453
- { no: 3, name: "TRANSACTION_TYPE_FILTER_RECEIVE" },
454
- { no: 4, name: "TRANSACTION_TYPE_FILTER_WRAP" },
455
- { no: 5, name: "TRANSACTION_TYPE_FILTER_APPROVE" },
456
- { no: 6, name: "TRANSACTION_TYPE_FILTER_INCREASE_LIQUIDITY" },
457
- { no: 7, name: "TRANSACTION_TYPE_FILTER_DECREASE_LIQUIDITY" },
458
- { no: 8, name: "TRANSACTION_TYPE_FILTER_CLAIM" },
459
- { no: 9, name: "TRANSACTION_TYPE_FILTER_MINT" },
460
- { no: 10, name: "TRANSACTION_TYPE_FILTER_CREATE_POOL" },
461
- { no: 11, name: "TRANSACTION_TYPE_FILTER_LIMIT_ORDER" },
462
- { no: 12, name: "TRANSACTION_TYPE_FILTER_WITHDRAW" },
463
- { no: 13, name: "TRANSACTION_TYPE_FILTER_VAULT_DEPOSIT" },
464
- { no: 14, name: "TRANSACTION_TYPE_FILTER_VAULT_WITHDRAW" },
465
- { no: 15, name: "TRANSACTION_TYPE_FILTER_VAULT_TRANSFER" },
466
- ]);
590
+ /**
591
+ * Describes the enum data.v1.TransactionTypeFilter.
592
+ */
593
+ export const TransactionTypeFilterSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 6);
467
594
  /**
468
595
  * @generated from enum data.v1.OnChainTransactionStatus
469
596
  */
@@ -482,12 +609,10 @@ export var OnChainTransactionStatus;
482
609
  */
483
610
  OnChainTransactionStatus[OnChainTransactionStatus["FAILED"] = 2] = "FAILED";
484
611
  })(OnChainTransactionStatus || (OnChainTransactionStatus = {}));
485
- // Retrieve enum metadata with: proto3.getEnumType(OnChainTransactionStatus)
486
- proto3.util.setEnumType(OnChainTransactionStatus, "data.v1.OnChainTransactionStatus", [
487
- { no: 0, name: "ON_CHAIN_TRANSACTION_STATUS_PENDING" },
488
- { no: 1, name: "ON_CHAIN_TRANSACTION_STATUS_CONFIRMED" },
489
- { no: 2, name: "ON_CHAIN_TRANSACTION_STATUS_FAILED" },
490
- ]);
612
+ /**
613
+ * Describes the enum data.v1.OnChainTransactionStatus.
614
+ */
615
+ export const OnChainTransactionStatusSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 7);
491
616
  /**
492
617
  * @generated from enum data.v1.UniswapXOrderType
493
618
  */
@@ -510,13 +635,10 @@ export var UniswapXOrderType;
510
635
  */
511
636
  UniswapXOrderType[UniswapXOrderType["PRIORITY"] = 3] = "PRIORITY";
512
637
  })(UniswapXOrderType || (UniswapXOrderType = {}));
513
- // Retrieve enum metadata with: proto3.getEnumType(UniswapXOrderType)
514
- proto3.util.setEnumType(UniswapXOrderType, "data.v1.UniswapXOrderType", [
515
- { no: 0, name: "UNISWAP_X_ORDER_TYPE_DUTCH" },
516
- { no: 1, name: "UNISWAP_X_ORDER_TYPE_LIMIT" },
517
- { no: 2, name: "UNISWAP_X_ORDER_TYPE_DUTCH_V2" },
518
- { no: 3, name: "UNISWAP_X_ORDER_TYPE_PRIORITY" },
519
- ]);
638
+ /**
639
+ * Describes the enum data.v1.UniswapXOrderType.
640
+ */
641
+ export const UniswapXOrderTypeSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 8);
520
642
  /**
521
643
  * @generated from enum data.v1.UniswapXTransactionStatus
522
644
  */
@@ -547,15 +669,10 @@ export var UniswapXTransactionStatus;
547
669
  */
548
670
  UniswapXTransactionStatus[UniswapXTransactionStatus["CANCELLED"] = 5] = "CANCELLED";
549
671
  })(UniswapXTransactionStatus || (UniswapXTransactionStatus = {}));
550
- // Retrieve enum metadata with: proto3.getEnumType(UniswapXTransactionStatus)
551
- proto3.util.setEnumType(UniswapXTransactionStatus, "data.v1.UniswapXTransactionStatus", [
552
- { no: 0, name: "UNISWAP_X_TRANSACTION_STATUS_OPEN" },
553
- { no: 1, name: "UNISWAP_X_TRANSACTION_STATUS_EXPIRED" },
554
- { no: 2, name: "UNISWAP_X_TRANSACTION_STATUS_ERROR" },
555
- { no: 3, name: "UNISWAP_X_TRANSACTION_STATUS_INSUFFICIENT_FUNDS" },
556
- { no: 4, name: "UNISWAP_X_TRANSACTION_STATUS_FILLED" },
557
- { no: 5, name: "UNISWAP_X_TRANSACTION_STATUS_CANCELLED" },
558
- ]);
672
+ /**
673
+ * Describes the enum data.v1.UniswapXTransactionStatus.
674
+ */
675
+ export const UniswapXTransactionStatusSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 9);
559
676
  /**
560
677
  * @generated from enum data.v1.FiatOnRampTransactionStatus
561
678
  */
@@ -574,12 +691,10 @@ export var FiatOnRampTransactionStatus;
574
691
  */
575
692
  FiatOnRampTransactionStatus[FiatOnRampTransactionStatus["PENDING"] = 2] = "PENDING";
576
693
  })(FiatOnRampTransactionStatus || (FiatOnRampTransactionStatus = {}));
577
- // Retrieve enum metadata with: proto3.getEnumType(FiatOnRampTransactionStatus)
578
- proto3.util.setEnumType(FiatOnRampTransactionStatus, "data.v1.FiatOnRampTransactionStatus", [
579
- { no: 0, name: "FIAT_ON_RAMP_TRANSACTION_STATUS_FAILED" },
580
- { no: 1, name: "FIAT_ON_RAMP_TRANSACTION_STATUS_SETTLED" },
581
- { no: 2, name: "FIAT_ON_RAMP_TRANSACTION_STATUS_PENDING" },
582
- ]);
694
+ /**
695
+ * Describes the enum data.v1.FiatOnRampTransactionStatus.
696
+ */
697
+ export const FiatOnRampTransactionStatusSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 10);
583
698
  /**
584
699
  * @generated from enum data.v1.ProtectionResult
585
700
  */
@@ -606,14 +721,10 @@ export var ProtectionResult;
606
721
  */
607
722
  ProtectionResult[ProtectionResult["WARNING"] = 4] = "WARNING";
608
723
  })(ProtectionResult || (ProtectionResult = {}));
609
- // Retrieve enum metadata with: proto3.getEnumType(ProtectionResult)
610
- proto3.util.setEnumType(ProtectionResult, "data.v1.ProtectionResult", [
611
- { no: 0, name: "PROTECTION_RESULT_UNKNOWN" },
612
- { no: 1, name: "PROTECTION_RESULT_BENIGN" },
613
- { no: 2, name: "PROTECTION_RESULT_MALICIOUS" },
614
- { no: 3, name: "PROTECTION_RESULT_SPAM" },
615
- { no: 4, name: "PROTECTION_RESULT_WARNING" },
616
- ]);
724
+ /**
725
+ * Describes the enum data.v1.ProtectionResult.
726
+ */
727
+ export const ProtectionResultSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 11);
617
728
  /**
618
729
  * @generated from enum data.v1.AttackType
619
730
  */
@@ -676,1890 +787,7 @@ export var AttackType;
676
787
  */
677
788
  AttackType[AttackType["EXIT_SCAM_RISK"] = 13] = "EXIT_SCAM_RISK";
678
789
  })(AttackType || (AttackType = {}));
679
- // Retrieve enum metadata with: proto3.getEnumType(AttackType)
680
- proto3.util.setEnumType(AttackType, "data.v1.AttackType", [
681
- { no: 0, name: "ATTACK_TYPE_UNKNOWN" },
682
- { no: 1, name: "ATTACK_TYPE_AIRDROP_PATTERN" },
683
- { no: 2, name: "ATTACK_TYPE_DYNAMIC_ANALYSIS" },
684
- { no: 3, name: "ATTACK_TYPE_HIGH_FEES" },
685
- { no: 4, name: "ATTACK_TYPE_IMPERSONATOR" },
686
- { no: 5, name: "ATTACK_TYPE_INORGANIC_VOLUME" },
687
- { no: 6, name: "ATTACK_TYPE_KNOWN_MALICIOUS" },
688
- { no: 7, name: "ATTACK_TYPE_METADATA" },
689
- { no: 8, name: "ATTACK_TYPE_RUGPULL" },
690
- { no: 9, name: "ATTACK_TYPE_HONEYPOT" },
691
- { no: 10, name: "ATTACK_TYPE_SPAM_TEXT" },
692
- { no: 11, name: "ATTACK_TYPE_STATIC_CODE_SIGNATURE" },
693
- { no: 12, name: "ATTACK_TYPE_UNSTABLE_TOKEN_PRICE" },
694
- { no: 13, name: "ATTACK_TYPE_EXIT_SCAM_RISK" },
695
- ]);
696
- /**
697
- * @generated from message data.v1.Token
698
- */
699
- export class Token extends Message {
700
- constructor(data) {
701
- super();
702
- /**
703
- * @generated from field: uint32 chain_id = 1;
704
- */
705
- this.chainId = 0;
706
- /**
707
- * @generated from field: string address = 2;
708
- */
709
- this.address = "";
710
- /**
711
- * @generated from field: string symbol = 3;
712
- */
713
- this.symbol = "";
714
- /**
715
- * @generated from field: uint32 decimals = 4;
716
- */
717
- this.decimals = 0;
718
- /**
719
- * @generated from field: string name = 5;
720
- */
721
- this.name = "";
722
- /**
723
- * @generated from field: data.v1.TokenType type = 6;
724
- */
725
- this.type = TokenType.UNKNOWN;
726
- proto3.util.initPartial(data, this);
727
- }
728
- static fromBinary(bytes, options) {
729
- return new Token().fromBinary(bytes, options);
730
- }
731
- static fromJson(jsonValue, options) {
732
- return new Token().fromJson(jsonValue, options);
733
- }
734
- static fromJsonString(jsonString, options) {
735
- return new Token().fromJsonString(jsonString, options);
736
- }
737
- static equals(a, b) {
738
- return proto3.util.equals(Token, a, b);
739
- }
740
- }
741
- Token.runtime = proto3;
742
- Token.typeName = "data.v1.Token";
743
- Token.fields = proto3.util.newFieldList(() => [
744
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
745
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
746
- { no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
747
- { no: 4, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
748
- { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
749
- { no: 6, name: "type", kind: "enum", T: proto3.getEnumType(TokenType) },
750
- { no: 7, name: "metadata", kind: "message", T: TokenMetadata },
751
- { no: 8, name: "stats", kind: "message", T: TokenStats },
752
- ]);
753
- /**
754
- * @generated from message data.v1.TokenMetadata
755
- */
756
- export class TokenMetadata extends Message {
757
- constructor(data) {
758
- super();
759
- /**
760
- * @generated from field: string project_name = 1;
761
- */
762
- this.projectName = "";
763
- /**
764
- * @generated from field: string logo_url = 2;
765
- */
766
- this.logoUrl = "";
767
- /**
768
- * @generated from field: data.v1.SafetyLevel safety_level = 5;
769
- */
770
- this.safetyLevel = SafetyLevel.UNKNOWN;
771
- /**
772
- * @generated from field: data.v1.SpamCode spam_code = 6;
773
- */
774
- this.spamCode = SpamCode.UNKNOWN;
775
- /**
776
- * @generated from field: bool is_bridged = 7;
777
- */
778
- this.isBridged = false;
779
- /**
780
- * Set on GetPortfolio balances only, ordered by display precedence (the
781
- * first id is the preferred tag). Empty on every other v1 token surface.
782
- *
783
- * @generated from field: repeated string category_ids = 8;
784
- */
785
- this.categoryIds = [];
786
- proto3.util.initPartial(data, this);
787
- }
788
- static fromBinary(bytes, options) {
789
- return new TokenMetadata().fromBinary(bytes, options);
790
- }
791
- static fromJson(jsonValue, options) {
792
- return new TokenMetadata().fromJson(jsonValue, options);
793
- }
794
- static fromJsonString(jsonString, options) {
795
- return new TokenMetadata().fromJsonString(jsonString, options);
796
- }
797
- static equals(a, b) {
798
- return proto3.util.equals(TokenMetadata, a, b);
799
- }
800
- }
801
- TokenMetadata.runtime = proto3;
802
- TokenMetadata.typeName = "data.v1.TokenMetadata";
803
- TokenMetadata.fields = proto3.util.newFieldList(() => [
804
- { no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
805
- { no: 2, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
806
- { no: 3, name: "protection_info", kind: "message", T: ProtectionInfo },
807
- { no: 4, name: "fee_data", kind: "message", T: FeeData },
808
- { no: 5, name: "safety_level", kind: "enum", T: proto3.getEnumType(SafetyLevel) },
809
- { no: 6, name: "spam_code", kind: "enum", T: proto3.getEnumType(SpamCode) },
810
- { no: 7, name: "is_bridged", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
811
- { no: 8, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
812
- ]);
813
- /**
814
- * @generated from message data.v1.ProtectionInfo
815
- */
816
- export class ProtectionInfo extends Message {
817
- constructor(data) {
818
- super();
819
- /**
820
- * @generated from field: data.v1.ProtectionResult result = 1;
821
- */
822
- this.result = ProtectionResult.UNKNOWN;
823
- /**
824
- * @generated from field: repeated data.v1.AttackType attack_types = 2;
825
- */
826
- this.attackTypes = [];
827
- proto3.util.initPartial(data, this);
828
- }
829
- static fromBinary(bytes, options) {
830
- return new ProtectionInfo().fromBinary(bytes, options);
831
- }
832
- static fromJson(jsonValue, options) {
833
- return new ProtectionInfo().fromJson(jsonValue, options);
834
- }
835
- static fromJsonString(jsonString, options) {
836
- return new ProtectionInfo().fromJsonString(jsonString, options);
837
- }
838
- static equals(a, b) {
839
- return proto3.util.equals(ProtectionInfo, a, b);
840
- }
841
- }
842
- ProtectionInfo.runtime = proto3;
843
- ProtectionInfo.typeName = "data.v1.ProtectionInfo";
844
- ProtectionInfo.fields = proto3.util.newFieldList(() => [
845
- { no: 1, name: "result", kind: "enum", T: proto3.getEnumType(ProtectionResult) },
846
- { no: 2, name: "attack_types", kind: "enum", T: proto3.getEnumType(AttackType), repeated: true },
847
- ]);
848
- /**
849
- * TODO(DAT-1081): dedupe these for the frontend potentially
850
- *
851
- * @generated from message data.v1.FeeData
852
- */
853
- export class FeeData extends Message {
854
- constructor(data) {
855
- super();
856
- proto3.util.initPartial(data, this);
857
- }
858
- static fromBinary(bytes, options) {
859
- return new FeeData().fromBinary(bytes, options);
860
- }
861
- static fromJson(jsonValue, options) {
862
- return new FeeData().fromJson(jsonValue, options);
863
- }
864
- static fromJsonString(jsonString, options) {
865
- return new FeeData().fromJsonString(jsonString, options);
866
- }
867
- static equals(a, b) {
868
- return proto3.util.equals(FeeData, a, b);
869
- }
870
- }
871
- FeeData.runtime = proto3;
872
- FeeData.typeName = "data.v1.FeeData";
873
- FeeData.fields = proto3.util.newFieldList(() => [
874
- { no: 1, name: "blockaid", kind: "message", T: Blockaid },
875
- { no: 2, name: "fee_detector", kind: "message", T: FeeDetector },
876
- ]);
877
- /**
878
- * @generated from message data.v1.Blockaid
879
- */
880
- export class Blockaid extends Message {
881
- constructor(data) {
882
- super();
883
- /**
884
- * @generated from field: double buy = 1;
885
- */
886
- this.buy = 0;
887
- /**
888
- * @generated from field: double sell = 2;
889
- */
890
- this.sell = 0;
891
- /**
892
- * @generated from field: double transfer = 3;
893
- */
894
- this.transfer = 0;
895
- proto3.util.initPartial(data, this);
896
- }
897
- static fromBinary(bytes, options) {
898
- return new Blockaid().fromBinary(bytes, options);
899
- }
900
- static fromJson(jsonValue, options) {
901
- return new Blockaid().fromJson(jsonValue, options);
902
- }
903
- static fromJsonString(jsonString, options) {
904
- return new Blockaid().fromJsonString(jsonString, options);
905
- }
906
- static equals(a, b) {
907
- return proto3.util.equals(Blockaid, a, b);
908
- }
909
- }
910
- Blockaid.runtime = proto3;
911
- Blockaid.typeName = "data.v1.Blockaid";
912
- Blockaid.fields = proto3.util.newFieldList(() => [
913
- { no: 1, name: "buy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
914
- { no: 2, name: "sell", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
915
- { no: 3, name: "transfer", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
916
- ]);
917
- /**
918
- * @generated from message data.v1.FeeDetector
919
- */
920
- export class FeeDetector extends Message {
921
- constructor(data) {
922
- super();
923
- /**
924
- * @generated from field: string buy_fee_bps = 1;
925
- */
926
- this.buyFeeBps = "";
927
- /**
928
- * @generated from field: string sell_fee_bps = 2;
929
- */
930
- this.sellFeeBps = "";
931
- /**
932
- * @generated from field: bool fee_taken_on_transfer = 3;
933
- */
934
- this.feeTakenOnTransfer = false;
935
- /**
936
- * @generated from field: bool external_transfer_failed = 4;
937
- */
938
- this.externalTransferFailed = false;
939
- /**
940
- * @generated from field: bool sell_reverted = 5;
941
- */
942
- this.sellReverted = false;
943
- proto3.util.initPartial(data, this);
944
- }
945
- static fromBinary(bytes, options) {
946
- return new FeeDetector().fromBinary(bytes, options);
947
- }
948
- static fromJson(jsonValue, options) {
949
- return new FeeDetector().fromJson(jsonValue, options);
950
- }
951
- static fromJsonString(jsonString, options) {
952
- return new FeeDetector().fromJsonString(jsonString, options);
953
- }
954
- static equals(a, b) {
955
- return proto3.util.equals(FeeDetector, a, b);
956
- }
957
- }
958
- FeeDetector.runtime = proto3;
959
- FeeDetector.typeName = "data.v1.FeeDetector";
960
- FeeDetector.fields = proto3.util.newFieldList(() => [
961
- { no: 1, name: "buy_fee_bps", kind: "scalar", T: 9 /* ScalarType.STRING */ },
962
- { no: 2, name: "sell_fee_bps", kind: "scalar", T: 9 /* ScalarType.STRING */ },
963
- { no: 3, name: "fee_taken_on_transfer", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
964
- { no: 4, name: "external_transfer_failed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
965
- { no: 5, name: "sell_reverted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
966
- ]);
967
- /**
968
- * @generated from message data.v1.PortfolioValueModifier
969
- */
970
- export class PortfolioValueModifier extends Message {
971
- constructor(data) {
972
- super();
973
- /**
974
- * @generated from field: string address = 1;
975
- */
976
- this.address = "";
977
- /**
978
- * @generated from field: repeated data.v1.Contract include_overrides = 2;
979
- */
980
- this.includeOverrides = [];
981
- /**
982
- * @generated from field: repeated data.v1.Contract exclude_overrides = 3;
983
- */
984
- this.excludeOverrides = [];
985
- /**
986
- * @generated from field: bool include_small_balances = 4;
987
- */
988
- this.includeSmallBalances = false;
989
- /**
990
- * @generated from field: bool include_spam_tokens = 5;
991
- */
992
- this.includeSpamTokens = false;
993
- /**
994
- * @generated from field: uint32 balance_limit = 6;
995
- */
996
- this.balanceLimit = 0;
997
- /**
998
- * @generated from field: repeated data.v1.PoolRef pool_include_overrides = 7;
999
- */
1000
- this.poolIncludeOverrides = [];
1001
- /**
1002
- * @generated from field: repeated data.v1.PoolRef pool_exclude_overrides = 8;
1003
- */
1004
- this.poolExcludeOverrides = [];
1005
- proto3.util.initPartial(data, this);
1006
- }
1007
- static fromBinary(bytes, options) {
1008
- return new PortfolioValueModifier().fromBinary(bytes, options);
1009
- }
1010
- static fromJson(jsonValue, options) {
1011
- return new PortfolioValueModifier().fromJson(jsonValue, options);
1012
- }
1013
- static fromJsonString(jsonString, options) {
1014
- return new PortfolioValueModifier().fromJsonString(jsonString, options);
1015
- }
1016
- static equals(a, b) {
1017
- return proto3.util.equals(PortfolioValueModifier, a, b);
1018
- }
1019
- }
1020
- PortfolioValueModifier.runtime = proto3;
1021
- PortfolioValueModifier.typeName = "data.v1.PortfolioValueModifier";
1022
- PortfolioValueModifier.fields = proto3.util.newFieldList(() => [
1023
- { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1024
- { no: 2, name: "include_overrides", kind: "message", T: Contract, repeated: true },
1025
- { no: 3, name: "exclude_overrides", kind: "message", T: Contract, repeated: true },
1026
- { no: 4, name: "include_small_balances", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1027
- { no: 5, name: "include_spam_tokens", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1028
- { no: 6, name: "balance_limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1029
- { no: 7, name: "pool_include_overrides", kind: "message", T: PoolRef, repeated: true },
1030
- { no: 8, name: "pool_exclude_overrides", kind: "message", T: PoolRef, repeated: true },
1031
- ]);
1032
- /**
1033
- * @generated from message data.v1.PoolRef
1034
- */
1035
- export class PoolRef extends Message {
1036
- constructor(data) {
1037
- super();
1038
- /**
1039
- * @generated from field: uint32 chain_id = 1;
1040
- */
1041
- this.chainId = 0;
1042
- /**
1043
- * @generated from field: string pool_id = 2;
1044
- */
1045
- this.poolId = "";
1046
- proto3.util.initPartial(data, this);
1047
- }
1048
- static fromBinary(bytes, options) {
1049
- return new PoolRef().fromBinary(bytes, options);
1050
- }
1051
- static fromJson(jsonValue, options) {
1052
- return new PoolRef().fromJson(jsonValue, options);
1053
- }
1054
- static fromJsonString(jsonString, options) {
1055
- return new PoolRef().fromJsonString(jsonString, options);
1056
- }
1057
- static equals(a, b) {
1058
- return proto3.util.equals(PoolRef, a, b);
1059
- }
1060
- }
1061
- PoolRef.runtime = proto3;
1062
- PoolRef.typeName = "data.v1.PoolRef";
1063
- PoolRef.fields = proto3.util.newFieldList(() => [
1064
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1065
- { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1066
- { no: 3, name: "position_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1067
- ]);
1068
- /**
1069
- * @generated from message data.v1.Portfolio
1070
- */
1071
- export class Portfolio extends Message {
1072
- constructor(data) {
1073
- super();
1074
- /**
1075
- * @generated from field: repeated data.v1.Balance balances = 1;
1076
- */
1077
- this.balances = [];
1078
- /**
1079
- * @generated from field: double total_value_usd = 2;
1080
- */
1081
- this.totalValueUsd = 0;
1082
- /**
1083
- * @generated from field: double total_value_absolute_change_1d = 3;
1084
- */
1085
- this.totalValueAbsoluteChange1d = 0;
1086
- /**
1087
- * @generated from field: double total_value_percent_change_1d = 4;
1088
- */
1089
- this.totalValuePercentChange1d = 0;
1090
- /**
1091
- * Populated instead of `balances` when multichain=true in GetPortfolioRequest
1092
- *
1093
- * @generated from field: repeated data.v1.MultichainBalance multichain_balances = 5;
1094
- */
1095
- this.multichainBalances = [];
1096
- proto3.util.initPartial(data, this);
1097
- }
1098
- static fromBinary(bytes, options) {
1099
- return new Portfolio().fromBinary(bytes, options);
1100
- }
1101
- static fromJson(jsonValue, options) {
1102
- return new Portfolio().fromJson(jsonValue, options);
1103
- }
1104
- static fromJsonString(jsonString, options) {
1105
- return new Portfolio().fromJsonString(jsonString, options);
1106
- }
1107
- static equals(a, b) {
1108
- return proto3.util.equals(Portfolio, a, b);
1109
- }
1110
- }
1111
- Portfolio.runtime = proto3;
1112
- Portfolio.typeName = "data.v1.Portfolio";
1113
- Portfolio.fields = proto3.util.newFieldList(() => [
1114
- { no: 1, name: "balances", kind: "message", T: Balance, repeated: true },
1115
- { no: 2, name: "total_value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1116
- { no: 3, name: "total_value_absolute_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1117
- { no: 4, name: "total_value_percent_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1118
- { no: 5, name: "multichain_balances", kind: "message", T: MultichainBalance, repeated: true },
1119
- ]);
1120
- /**
1121
- * @generated from message data.v1.Balance
1122
- */
1123
- export class Balance extends Message {
1124
- constructor(data) {
1125
- super();
1126
- /**
1127
- * @generated from field: double price_usd = 3;
1128
- */
1129
- this.priceUsd = 0;
1130
- /**
1131
- * @generated from field: double price_percent_change_1d = 4;
1132
- */
1133
- this.pricePercentChange1d = 0;
1134
- /**
1135
- * @generated from field: double value_usd = 5;
1136
- */
1137
- this.valueUsd = 0;
1138
- /**
1139
- * @generated from field: bool is_hidden = 6;
1140
- */
1141
- this.isHidden = false;
1142
- proto3.util.initPartial(data, this);
1143
- }
1144
- static fromBinary(bytes, options) {
1145
- return new Balance().fromBinary(bytes, options);
1146
- }
1147
- static fromJson(jsonValue, options) {
1148
- return new Balance().fromJson(jsonValue, options);
1149
- }
1150
- static fromJsonString(jsonString, options) {
1151
- return new Balance().fromJsonString(jsonString, options);
1152
- }
1153
- static equals(a, b) {
1154
- return proto3.util.equals(Balance, a, b);
1155
- }
1156
- }
1157
- Balance.runtime = proto3;
1158
- Balance.typeName = "data.v1.Balance";
1159
- Balance.fields = proto3.util.newFieldList(() => [
1160
- { no: 1, name: "token", kind: "message", T: Token },
1161
- { no: 2, name: "amount", kind: "message", T: Amount },
1162
- { no: 3, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1163
- { no: 4, name: "price_percent_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1164
- { no: 5, name: "value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1165
- { no: 6, name: "is_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1166
- ]);
1167
- /**
1168
- * Chain-specific balance within a multichain token group
1169
- *
1170
- * @generated from message data.v1.ChainBalance
1171
- */
1172
- export class ChainBalance extends Message {
1173
- constructor(data) {
1174
- super();
1175
- /**
1176
- * @generated from field: uint32 chain_id = 1;
1177
- */
1178
- this.chainId = 0;
1179
- /**
1180
- * @generated from field: string address = 2;
1181
- */
1182
- this.address = "";
1183
- /**
1184
- * @generated from field: uint32 decimals = 3;
1185
- */
1186
- this.decimals = 0;
1187
- /**
1188
- * @generated from field: double value_usd = 5;
1189
- */
1190
- this.valueUsd = 0;
1191
- /**
1192
- * @generated from field: bool is_hidden = 6;
1193
- */
1194
- this.isHidden = false;
1195
- proto3.util.initPartial(data, this);
1196
- }
1197
- static fromBinary(bytes, options) {
1198
- return new ChainBalance().fromBinary(bytes, options);
1199
- }
1200
- static fromJson(jsonValue, options) {
1201
- return new ChainBalance().fromJson(jsonValue, options);
1202
- }
1203
- static fromJsonString(jsonString, options) {
1204
- return new ChainBalance().fromJsonString(jsonString, options);
1205
- }
1206
- static equals(a, b) {
1207
- return proto3.util.equals(ChainBalance, a, b);
1208
- }
1209
- }
1210
- ChainBalance.runtime = proto3;
1211
- ChainBalance.typeName = "data.v1.ChainBalance";
1212
- ChainBalance.fields = proto3.util.newFieldList(() => [
1213
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1214
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1215
- { no: 3, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1216
- { no: 4, name: "amount", kind: "message", T: Amount },
1217
- { no: 5, name: "value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1218
- { no: 6, name: "is_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1219
- ]);
1220
- /**
1221
- * A token aggregated across multiple chains
1222
- *
1223
- * @generated from message data.v1.MultichainBalance
1224
- */
1225
- export class MultichainBalance extends Message {
1226
- constructor(data) {
1227
- super();
1228
- /**
1229
- * @generated from field: string name = 1;
1230
- */
1231
- this.name = "";
1232
- /**
1233
- * @generated from field: string symbol = 2;
1234
- */
1235
- this.symbol = "";
1236
- /**
1237
- * @generated from field: data.v1.TokenType type = 3;
1238
- */
1239
- this.type = TokenType.UNKNOWN;
1240
- /**
1241
- * @generated from field: string project_name = 4;
1242
- */
1243
- this.projectName = "";
1244
- /**
1245
- * @generated from field: string logo_url = 5;
1246
- */
1247
- this.logoUrl = "";
1248
- /**
1249
- * @generated from field: data.v1.SafetyLevel safety_level = 8;
1250
- */
1251
- this.safetyLevel = SafetyLevel.UNKNOWN;
1252
- /**
1253
- * @generated from field: data.v1.SpamCode spam_code = 9;
1254
- */
1255
- this.spamCode = SpamCode.UNKNOWN;
1256
- /**
1257
- * @generated from field: double price_usd = 11;
1258
- */
1259
- this.priceUsd = 0;
1260
- /**
1261
- * @generated from field: double price_percent_change_1d = 12;
1262
- */
1263
- this.pricePercentChange1d = 0;
1264
- /**
1265
- * @generated from field: double total_value_usd = 13;
1266
- */
1267
- this.totalValueUsd = 0;
1268
- /**
1269
- * @generated from field: bool is_hidden = 14;
1270
- */
1271
- this.isHidden = false;
1272
- /**
1273
- * @generated from field: repeated data.v1.ChainBalance chain_balances = 15;
1274
- */
1275
- this.chainBalances = [];
1276
- proto3.util.initPartial(data, this);
1277
- }
1278
- static fromBinary(bytes, options) {
1279
- return new MultichainBalance().fromBinary(bytes, options);
1280
- }
1281
- static fromJson(jsonValue, options) {
1282
- return new MultichainBalance().fromJson(jsonValue, options);
1283
- }
1284
- static fromJsonString(jsonString, options) {
1285
- return new MultichainBalance().fromJsonString(jsonString, options);
1286
- }
1287
- static equals(a, b) {
1288
- return proto3.util.equals(MultichainBalance, a, b);
1289
- }
1290
- }
1291
- MultichainBalance.runtime = proto3;
1292
- MultichainBalance.typeName = "data.v1.MultichainBalance";
1293
- MultichainBalance.fields = proto3.util.newFieldList(() => [
1294
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1295
- { no: 2, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1296
- { no: 3, name: "type", kind: "enum", T: proto3.getEnumType(TokenType) },
1297
- { no: 4, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1298
- { no: 5, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1299
- { no: 6, name: "protection_info", kind: "message", T: ProtectionInfo },
1300
- { no: 7, name: "fee_data", kind: "message", T: FeeData },
1301
- { no: 8, name: "safety_level", kind: "enum", T: proto3.getEnumType(SafetyLevel) },
1302
- { no: 9, name: "spam_code", kind: "enum", T: proto3.getEnumType(SpamCode) },
1303
- { no: 10, name: "total_amount", kind: "message", T: Amount },
1304
- { no: 11, name: "price_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1305
- { no: 12, name: "price_percent_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1306
- { no: 13, name: "total_value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1307
- { no: 14, name: "is_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1308
- { no: 15, name: "chain_balances", kind: "message", T: ChainBalance, repeated: true },
1309
- ]);
1310
- /**
1311
- * @generated from message data.v1.Amount
1312
- */
1313
- export class Amount extends Message {
1314
- constructor(data) {
1315
- super();
1316
- /**
1317
- * @generated from field: string raw = 1;
1318
- */
1319
- this.raw = "";
1320
- /**
1321
- * @generated from field: double amount = 2;
1322
- */
1323
- this.amount = 0;
1324
- proto3.util.initPartial(data, this);
1325
- }
1326
- static fromBinary(bytes, options) {
1327
- return new Amount().fromBinary(bytes, options);
1328
- }
1329
- static fromJson(jsonValue, options) {
1330
- return new Amount().fromJson(jsonValue, options);
1331
- }
1332
- static fromJsonString(jsonString, options) {
1333
- return new Amount().fromJsonString(jsonString, options);
1334
- }
1335
- static equals(a, b) {
1336
- return proto3.util.equals(Amount, a, b);
1337
- }
1338
- }
1339
- Amount.runtime = proto3;
1340
- Amount.typeName = "data.v1.Amount";
1341
- Amount.fields = proto3.util.newFieldList(() => [
1342
- { no: 1, name: "raw", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1343
- { no: 2, name: "amount", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1344
- ]);
1345
- /**
1346
- * @generated from message data.v1.Contract
1347
- */
1348
- export class Contract extends Message {
1349
- constructor(data) {
1350
- super();
1351
- /**
1352
- * @generated from field: uint32 chain_id = 1;
1353
- */
1354
- this.chainId = 0;
1355
- /**
1356
- * @generated from field: string address = 2;
1357
- */
1358
- this.address = "";
1359
- proto3.util.initPartial(data, this);
1360
- }
1361
- static fromBinary(bytes, options) {
1362
- return new Contract().fromBinary(bytes, options);
1363
- }
1364
- static fromJson(jsonValue, options) {
1365
- return new Contract().fromJson(jsonValue, options);
1366
- }
1367
- static fromJsonString(jsonString, options) {
1368
- return new Contract().fromJsonString(jsonString, options);
1369
- }
1370
- static equals(a, b) {
1371
- return proto3.util.equals(Contract, a, b);
1372
- }
1373
- }
1374
- Contract.runtime = proto3;
1375
- Contract.typeName = "data.v1.Contract";
1376
- Contract.fields = proto3.util.newFieldList(() => [
1377
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1378
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1379
- ]);
1380
- /**
1381
- * @generated from message data.v1.Nft
1382
- */
1383
- export class Nft extends Message {
1384
- constructor(data) {
1385
- super();
1386
- /**
1387
- * @generated from field: uint32 chain_id = 1;
1388
- */
1389
- this.chainId = 0;
1390
- /**
1391
- * @generated from field: string address = 2;
1392
- */
1393
- this.address = "";
1394
- /**
1395
- * @generated from field: string token_id = 3;
1396
- */
1397
- this.tokenId = "";
1398
- /**
1399
- * @generated from field: string name = 4;
1400
- */
1401
- this.name = "";
1402
- /**
1403
- * @generated from field: string collection_name = 5;
1404
- */
1405
- this.collectionName = "";
1406
- /**
1407
- * @generated from field: data.v1.TokenType type = 6;
1408
- */
1409
- this.type = TokenType.UNKNOWN;
1410
- /**
1411
- * @generated from field: string image_url = 7;
1412
- */
1413
- this.imageUrl = "";
1414
- /**
1415
- * @generated from field: bool is_spam = 8;
1416
- */
1417
- this.isSpam = false;
1418
- proto3.util.initPartial(data, this);
1419
- }
1420
- static fromBinary(bytes, options) {
1421
- return new Nft().fromBinary(bytes, options);
1422
- }
1423
- static fromJson(jsonValue, options) {
1424
- return new Nft().fromJson(jsonValue, options);
1425
- }
1426
- static fromJsonString(jsonString, options) {
1427
- return new Nft().fromJsonString(jsonString, options);
1428
- }
1429
- static equals(a, b) {
1430
- return proto3.util.equals(Nft, a, b);
1431
- }
1432
- }
1433
- Nft.runtime = proto3;
1434
- Nft.typeName = "data.v1.Nft";
1435
- Nft.fields = proto3.util.newFieldList(() => [
1436
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1437
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1438
- { no: 3, name: "token_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1439
- { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1440
- { no: 5, name: "collection_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1441
- { no: 6, name: "type", kind: "enum", T: proto3.getEnumType(TokenType) },
1442
- { no: 7, name: "image_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1443
- { no: 8, name: "is_spam", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1444
- ]);
1445
- /**
1446
- * @generated from message data.v1.Transaction
1447
- */
1448
- export class Transaction extends Message {
1449
- constructor(data) {
1450
- super();
1451
- /**
1452
- * @generated from oneof data.v1.Transaction.transaction
1453
- */
1454
- this.transaction = { case: undefined };
1455
- proto3.util.initPartial(data, this);
1456
- }
1457
- static fromBinary(bytes, options) {
1458
- return new Transaction().fromBinary(bytes, options);
1459
- }
1460
- static fromJson(jsonValue, options) {
1461
- return new Transaction().fromJson(jsonValue, options);
1462
- }
1463
- static fromJsonString(jsonString, options) {
1464
- return new Transaction().fromJsonString(jsonString, options);
1465
- }
1466
- static equals(a, b) {
1467
- return proto3.util.equals(Transaction, a, b);
1468
- }
1469
- }
1470
- Transaction.runtime = proto3;
1471
- Transaction.typeName = "data.v1.Transaction";
1472
- Transaction.fields = proto3.util.newFieldList(() => [
1473
- { no: 1, name: "on_chain", kind: "message", T: OnChainTransaction, oneof: "transaction" },
1474
- { no: 2, name: "uniswap_x", kind: "message", T: UniswapXTransaction, oneof: "transaction" },
1475
- { no: 3, name: "fiat_on_ramp", kind: "message", T: FiatOnRampTransaction, oneof: "transaction" },
1476
- { no: 4, name: "plan", kind: "message", T: PlanTransaction, oneof: "transaction" },
1477
- ]);
1478
- /**
1479
- * @generated from message data.v1.OnChainTransaction
1480
- */
1481
- export class OnChainTransaction extends Message {
1482
- constructor(data) {
1483
- super();
1484
- /**
1485
- * @generated from field: uint32 chain_id = 1;
1486
- */
1487
- this.chainId = 0;
1488
- /**
1489
- * @generated from field: uint32 block_number = 2;
1490
- */
1491
- this.blockNumber = 0;
1492
- /**
1493
- * @generated from field: uint64 timestamp_millis = 3;
1494
- */
1495
- this.timestampMillis = protoInt64.zero;
1496
- /**
1497
- * @generated from field: string transaction_hash = 4;
1498
- */
1499
- this.transactionHash = "";
1500
- /**
1501
- * @generated from field: string from = 5;
1502
- */
1503
- this.from = "";
1504
- /**
1505
- * @generated from field: string to = 6;
1506
- */
1507
- this.to = "";
1508
- /**
1509
- * @generated from field: repeated data.v1.Transfer transfers = 7;
1510
- */
1511
- this.transfers = [];
1512
- /**
1513
- * @generated from field: repeated data.v1.Approval approvals = 8;
1514
- */
1515
- this.approvals = [];
1516
- /**
1517
- * @generated from field: data.v1.OnChainTransactionLabel label = 9;
1518
- */
1519
- this.label = OnChainTransactionLabel.UNKNOWN;
1520
- /**
1521
- * @generated from field: data.v1.OnChainTransactionStatus status = 10;
1522
- */
1523
- this.status = OnChainTransactionStatus.PENDING;
1524
- proto3.util.initPartial(data, this);
1525
- }
1526
- static fromBinary(bytes, options) {
1527
- return new OnChainTransaction().fromBinary(bytes, options);
1528
- }
1529
- static fromJson(jsonValue, options) {
1530
- return new OnChainTransaction().fromJson(jsonValue, options);
1531
- }
1532
- static fromJsonString(jsonString, options) {
1533
- return new OnChainTransaction().fromJsonString(jsonString, options);
1534
- }
1535
- static equals(a, b) {
1536
- return proto3.util.equals(OnChainTransaction, a, b);
1537
- }
1538
- }
1539
- OnChainTransaction.runtime = proto3;
1540
- OnChainTransaction.typeName = "data.v1.OnChainTransaction";
1541
- OnChainTransaction.fields = proto3.util.newFieldList(() => [
1542
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1543
- { no: 2, name: "block_number", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1544
- { no: 3, name: "timestamp_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1545
- { no: 4, name: "transaction_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1546
- { no: 5, name: "from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1547
- { no: 6, name: "to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1548
- { no: 7, name: "transfers", kind: "message", T: Transfer, repeated: true },
1549
- { no: 8, name: "approvals", kind: "message", T: Approval, repeated: true },
1550
- { no: 9, name: "label", kind: "enum", T: proto3.getEnumType(OnChainTransactionLabel) },
1551
- { no: 10, name: "status", kind: "enum", T: proto3.getEnumType(OnChainTransactionStatus) },
1552
- { no: 11, name: "protocol", kind: "message", T: ProtocolMetadata, opt: true },
1553
- { no: 12, name: "fee", kind: "message", T: TransactionFee },
1554
- { no: 13, name: "paymaster", kind: "message", T: Paymaster, opt: true },
1555
- { no: 14, name: "sponsorship", kind: "message", T: SponsorshipMetadata, opt: true },
1556
- ]);
1557
- /**
1558
- * @generated from message data.v1.Transfer
1559
- */
1560
- export class Transfer extends Message {
1561
- constructor(data) {
1562
- super();
1563
- /**
1564
- * @generated from field: data.v1.Direction direction = 1;
1565
- */
1566
- this.direction = Direction.SELF;
1567
- /**
1568
- * @generated from field: string from = 2;
1569
- */
1570
- this.from = "";
1571
- /**
1572
- * @generated from field: string to = 3;
1573
- */
1574
- this.to = "";
1575
- /**
1576
- * @generated from oneof data.v1.Transfer.asset
1577
- */
1578
- this.asset = { case: undefined };
1579
- proto3.util.initPartial(data, this);
1580
- }
1581
- static fromBinary(bytes, options) {
1582
- return new Transfer().fromBinary(bytes, options);
1583
- }
1584
- static fromJson(jsonValue, options) {
1585
- return new Transfer().fromJson(jsonValue, options);
1586
- }
1587
- static fromJsonString(jsonString, options) {
1588
- return new Transfer().fromJsonString(jsonString, options);
1589
- }
1590
- static equals(a, b) {
1591
- return proto3.util.equals(Transfer, a, b);
1592
- }
1593
- }
1594
- Transfer.runtime = proto3;
1595
- Transfer.typeName = "data.v1.Transfer";
1596
- Transfer.fields = proto3.util.newFieldList(() => [
1597
- { no: 1, name: "direction", kind: "enum", T: proto3.getEnumType(Direction) },
1598
- { no: 2, name: "from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1599
- { no: 3, name: "to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1600
- { no: 4, name: "token", kind: "message", T: Token, oneof: "asset" },
1601
- { no: 5, name: "nft", kind: "message", T: Nft, oneof: "asset" },
1602
- { no: 6, name: "amount", kind: "message", T: Amount },
1603
- { no: 7, name: "transacted_value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1604
- ]);
1605
- /**
1606
- * @generated from message data.v1.Approval
1607
- */
1608
- export class Approval extends Message {
1609
- constructor(data) {
1610
- super();
1611
- /**
1612
- * @generated from field: string approved_address = 1;
1613
- */
1614
- this.approvedAddress = "";
1615
- /**
1616
- * @generated from oneof data.v1.Approval.asset
1617
- */
1618
- this.asset = { case: undefined };
1619
- proto3.util.initPartial(data, this);
1620
- }
1621
- static fromBinary(bytes, options) {
1622
- return new Approval().fromBinary(bytes, options);
1623
- }
1624
- static fromJson(jsonValue, options) {
1625
- return new Approval().fromJson(jsonValue, options);
1626
- }
1627
- static fromJsonString(jsonString, options) {
1628
- return new Approval().fromJsonString(jsonString, options);
1629
- }
1630
- static equals(a, b) {
1631
- return proto3.util.equals(Approval, a, b);
1632
- }
1633
- }
1634
- Approval.runtime = proto3;
1635
- Approval.typeName = "data.v1.Approval";
1636
- Approval.fields = proto3.util.newFieldList(() => [
1637
- { no: 1, name: "approved_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1638
- { no: 2, name: "token", kind: "message", T: Token, oneof: "asset" },
1639
- { no: 3, name: "nft", kind: "message", T: Nft, oneof: "asset" },
1640
- { no: 4, name: "amount", kind: "message", T: Amount },
1641
- ]);
1642
- /**
1643
- * @generated from message data.v1.ProtocolMetadata
1644
- */
1645
- export class ProtocolMetadata extends Message {
1646
- constructor(data) {
1647
- super();
1648
- /**
1649
- * @generated from field: string name = 1;
1650
- */
1651
- this.name = "";
1652
- /**
1653
- * @generated from field: string logo_url = 2;
1654
- */
1655
- this.logoUrl = "";
1656
- proto3.util.initPartial(data, this);
1657
- }
1658
- static fromBinary(bytes, options) {
1659
- return new ProtocolMetadata().fromBinary(bytes, options);
1660
- }
1661
- static fromJson(jsonValue, options) {
1662
- return new ProtocolMetadata().fromJson(jsonValue, options);
1663
- }
1664
- static fromJsonString(jsonString, options) {
1665
- return new ProtocolMetadata().fromJsonString(jsonString, options);
1666
- }
1667
- static equals(a, b) {
1668
- return proto3.util.equals(ProtocolMetadata, a, b);
1669
- }
1670
- }
1671
- ProtocolMetadata.runtime = proto3;
1672
- ProtocolMetadata.typeName = "data.v1.ProtocolMetadata";
1673
- ProtocolMetadata.fields = proto3.util.newFieldList(() => [
1674
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1675
- { no: 2, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1676
- ]);
1677
- /**
1678
- * @generated from message data.v1.UniswapXTransaction
1679
- */
1680
- export class UniswapXTransaction extends Message {
1681
- constructor(data) {
1682
- super();
1683
- /**
1684
- * @generated from field: uint32 chain_id = 1;
1685
- */
1686
- this.chainId = 0;
1687
- /**
1688
- * @generated from field: uint64 timestamp_millis = 2;
1689
- */
1690
- this.timestampMillis = protoInt64.zero;
1691
- /**
1692
- * @generated from field: string offerer = 3;
1693
- */
1694
- this.offerer = "";
1695
- /**
1696
- * @generated from field: string order_hash = 4;
1697
- */
1698
- this.orderHash = "";
1699
- /**
1700
- * @generated from field: uint64 expiry_millis = 9;
1701
- */
1702
- this.expiryMillis = protoInt64.zero;
1703
- /**
1704
- * @generated from field: string encoded_order = 10;
1705
- */
1706
- this.encodedOrder = "";
1707
- /**
1708
- * @generated from field: data.v1.UniswapXOrderType order_type = 11;
1709
- */
1710
- this.orderType = UniswapXOrderType.DUTCH;
1711
- /**
1712
- * @generated from field: data.v1.UniswapXTransactionStatus status = 12;
1713
- */
1714
- this.status = UniswapXTransactionStatus.OPEN;
1715
- proto3.util.initPartial(data, this);
1716
- }
1717
- static fromBinary(bytes, options) {
1718
- return new UniswapXTransaction().fromBinary(bytes, options);
1719
- }
1720
- static fromJson(jsonValue, options) {
1721
- return new UniswapXTransaction().fromJson(jsonValue, options);
1722
- }
1723
- static fromJsonString(jsonString, options) {
1724
- return new UniswapXTransaction().fromJsonString(jsonString, options);
1725
- }
1726
- static equals(a, b) {
1727
- return proto3.util.equals(UniswapXTransaction, a, b);
1728
- }
1729
- }
1730
- UniswapXTransaction.runtime = proto3;
1731
- UniswapXTransaction.typeName = "data.v1.UniswapXTransaction";
1732
- UniswapXTransaction.fields = proto3.util.newFieldList(() => [
1733
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1734
- { no: 2, name: "timestamp_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1735
- { no: 3, name: "offerer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1736
- { no: 4, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1737
- { no: 5, name: "input_token", kind: "message", T: Token },
1738
- { no: 6, name: "input_token_amount", kind: "message", T: Amount },
1739
- { no: 7, name: "output_token", kind: "message", T: Token },
1740
- { no: 8, name: "output_token_amount", kind: "message", T: Amount },
1741
- { no: 9, name: "expiry_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1742
- { no: 10, name: "encoded_order", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1743
- { no: 11, name: "order_type", kind: "enum", T: proto3.getEnumType(UniswapXOrderType) },
1744
- { no: 12, name: "status", kind: "enum", T: proto3.getEnumType(UniswapXTransactionStatus) },
1745
- ]);
1746
- /**
1747
- * @generated from message data.v1.FiatOnRampTransaction
1748
- */
1749
- export class FiatOnRampTransaction extends Message {
1750
- constructor(data) {
1751
- super();
1752
- /**
1753
- * @generated from field: uint32 chain_id = 1;
1754
- */
1755
- this.chainId = 0;
1756
- /**
1757
- * @generated from field: uint64 timestamp_millis = 2;
1758
- */
1759
- this.timestampMillis = protoInt64.zero;
1760
- /**
1761
- * @generated from field: string wallet_address = 3;
1762
- */
1763
- this.walletAddress = "";
1764
- /**
1765
- * @generated from field: string fiat_currency = 6;
1766
- */
1767
- this.fiatCurrency = "";
1768
- /**
1769
- * @generated from field: double fiat_amount = 7;
1770
- */
1771
- this.fiatAmount = 0;
1772
- /**
1773
- * @generated from field: string transaction_reference_id = 9;
1774
- */
1775
- this.transactionReferenceId = "";
1776
- /**
1777
- * @generated from field: string external_session_id = 10;
1778
- */
1779
- this.externalSessionId = "";
1780
- /**
1781
- * @generated from field: double provider_fee = 11;
1782
- */
1783
- this.providerFee = 0;
1784
- /**
1785
- * @generated from field: double total_fee = 12;
1786
- */
1787
- this.totalFee = 0;
1788
- /**
1789
- * @generated from field: data.v1.FiatOnRampTransactionStatus status = 13;
1790
- */
1791
- this.status = FiatOnRampTransactionStatus.FAILED;
1792
- /**
1793
- * @generated from field: string transaction_hash = 14;
1794
- */
1795
- this.transactionHash = "";
1796
- proto3.util.initPartial(data, this);
1797
- }
1798
- static fromBinary(bytes, options) {
1799
- return new FiatOnRampTransaction().fromBinary(bytes, options);
1800
- }
1801
- static fromJson(jsonValue, options) {
1802
- return new FiatOnRampTransaction().fromJson(jsonValue, options);
1803
- }
1804
- static fromJsonString(jsonString, options) {
1805
- return new FiatOnRampTransaction().fromJsonString(jsonString, options);
1806
- }
1807
- static equals(a, b) {
1808
- return proto3.util.equals(FiatOnRampTransaction, a, b);
1809
- }
1810
- }
1811
- FiatOnRampTransaction.runtime = proto3;
1812
- FiatOnRampTransaction.typeName = "data.v1.FiatOnRampTransaction";
1813
- FiatOnRampTransaction.fields = proto3.util.newFieldList(() => [
1814
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1815
- { no: 2, name: "timestamp_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1816
- { no: 3, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1817
- { no: 4, name: "token", kind: "message", T: Token },
1818
- { no: 5, name: "token_amount", kind: "message", T: Amount },
1819
- { no: 6, name: "fiat_currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1820
- { no: 7, name: "fiat_amount", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1821
- { no: 8, name: "service_provider", kind: "message", T: OnRampServiceProvider },
1822
- { no: 9, name: "transaction_reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1823
- { no: 10, name: "external_session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1824
- { no: 11, name: "provider_fee", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1825
- { no: 12, name: "total_fee", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1826
- { no: 13, name: "status", kind: "enum", T: proto3.getEnumType(FiatOnRampTransactionStatus) },
1827
- { no: 14, name: "transaction_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1828
- { no: 15, name: "transaction_fee", kind: "message", T: TransactionFee },
1829
- ]);
1830
- /**
1831
- * @generated from message data.v1.OnRampServiceProvider
1832
- */
1833
- export class OnRampServiceProvider extends Message {
1834
- constructor(data) {
1835
- super();
1836
- /**
1837
- * @generated from field: string service_provider = 1;
1838
- */
1839
- this.serviceProvider = "";
1840
- /**
1841
- * @generated from field: string name = 2;
1842
- */
1843
- this.name = "";
1844
- /**
1845
- * @generated from field: string url = 3;
1846
- */
1847
- this.url = "";
1848
- /**
1849
- * @generated from field: string logo_light_url = 4;
1850
- */
1851
- this.logoLightUrl = "";
1852
- /**
1853
- * @generated from field: string logo_dark_url = 5;
1854
- */
1855
- this.logoDarkUrl = "";
1856
- /**
1857
- * @generated from field: string support_url = 6;
1858
- */
1859
- this.supportUrl = "";
1860
- proto3.util.initPartial(data, this);
1861
- }
1862
- static fromBinary(bytes, options) {
1863
- return new OnRampServiceProvider().fromBinary(bytes, options);
1864
- }
1865
- static fromJson(jsonValue, options) {
1866
- return new OnRampServiceProvider().fromJson(jsonValue, options);
1867
- }
1868
- static fromJsonString(jsonString, options) {
1869
- return new OnRampServiceProvider().fromJsonString(jsonString, options);
1870
- }
1871
- static equals(a, b) {
1872
- return proto3.util.equals(OnRampServiceProvider, a, b);
1873
- }
1874
- }
1875
- OnRampServiceProvider.runtime = proto3;
1876
- OnRampServiceProvider.typeName = "data.v1.OnRampServiceProvider";
1877
- OnRampServiceProvider.fields = proto3.util.newFieldList(() => [
1878
- { no: 1, name: "service_provider", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1879
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1880
- { no: 3, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1881
- { no: 4, name: "logo_light_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1882
- { no: 5, name: "logo_dark_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1883
- { no: 6, name: "support_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1884
- ]);
1885
- /**
1886
- * @generated from message data.v1.PlanTransaction
1887
- */
1888
- export class PlanTransaction extends Message {
1889
- constructor(data) {
1890
- super();
1891
- /**
1892
- * @generated from field: string plan_id = 1;
1893
- */
1894
- this.planId = "";
1895
- /**
1896
- * @generated from field: uint64 timestamp_millis = 2;
1897
- */
1898
- this.timestampMillis = protoInt64.zero;
1899
- /**
1900
- * @generated from field: data.v1.PlanStatus status = 3;
1901
- */
1902
- this.status = PlanStatus.UNKNOWN;
1903
- /**
1904
- * @generated from field: repeated data.v1.PlanActivity activities = 4;
1905
- */
1906
- this.activities = [];
1907
- /**
1908
- * @generated from field: repeated data.v1.TokenAmount assets_in = 5;
1909
- */
1910
- this.assetsIn = [];
1911
- /**
1912
- * @generated from field: repeated data.v1.TokenAmount assets_out = 6;
1913
- */
1914
- this.assetsOut = [];
1915
- /**
1916
- * @generated from field: uint64 created_at_millis = 7;
1917
- */
1918
- this.createdAtMillis = protoInt64.zero;
1919
- /**
1920
- * @generated from field: string swapper = 11;
1921
- */
1922
- this.swapper = "";
1923
- /**
1924
- * @generated from field: string recipient = 12;
1925
- */
1926
- this.recipient = "";
1927
- /**
1928
- * @generated from field: repeated string transaction_hashes = 13;
1929
- */
1930
- this.transactionHashes = [];
1931
- proto3.util.initPartial(data, this);
1932
- }
1933
- static fromBinary(bytes, options) {
1934
- return new PlanTransaction().fromBinary(bytes, options);
1935
- }
1936
- static fromJson(jsonValue, options) {
1937
- return new PlanTransaction().fromJson(jsonValue, options);
1938
- }
1939
- static fromJsonString(jsonString, options) {
1940
- return new PlanTransaction().fromJsonString(jsonString, options);
1941
- }
1942
- static equals(a, b) {
1943
- return proto3.util.equals(PlanTransaction, a, b);
1944
- }
1945
- }
1946
- PlanTransaction.runtime = proto3;
1947
- PlanTransaction.typeName = "data.v1.PlanTransaction";
1948
- PlanTransaction.fields = proto3.util.newFieldList(() => [
1949
- { no: 1, name: "plan_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1950
- { no: 2, name: "timestamp_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1951
- { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(PlanStatus) },
1952
- { no: 4, name: "activities", kind: "message", T: PlanActivity, repeated: true },
1953
- { no: 5, name: "assets_in", kind: "message", T: TokenAmount, repeated: true },
1954
- { no: 6, name: "assets_out", kind: "message", T: TokenAmount, repeated: true },
1955
- { no: 7, name: "created_at_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1956
- { no: 8, name: "updated_at_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
1957
- { no: 9, name: "completed_at_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
1958
- { no: 10, name: "duration_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
1959
- { no: 11, name: "swapper", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1960
- { no: 12, name: "recipient", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1961
- { no: 13, name: "transaction_hashes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1962
- { no: 14, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1963
- { no: 15, name: "last_user_action_at_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
1964
- { no: 16, name: "earn_metadata", kind: "message", T: EarnPlanMetadata, opt: true },
1965
- { no: 17, name: "margin_metadata", kind: "message", T: MarginPlanMetadata, opt: true },
1966
- ]);
1967
- /**
1968
- * Plan-level margin action metadata for margin position flows.
1969
- *
1970
- * @generated from message data.v1.MarginPlanMetadata
1971
- */
1972
- export class MarginPlanMetadata extends Message {
1973
- constructor(data) {
1974
- super();
1975
- /**
1976
- * @generated from field: data.v1.MarginPlanAction action = 1;
1977
- */
1978
- this.action = MarginPlanAction.UNKNOWN;
1979
- /**
1980
- * `<collateral>-<debt>-<venue>`; a display key, not a parse target.
1981
- *
1982
- * @generated from field: string market_key = 2;
1983
- */
1984
- this.marketKey = "";
1985
- /**
1986
- * @generated from field: data.v1.MarginPlanVenue venue = 3;
1987
- */
1988
- this.venue = MarginPlanVenue.UNKNOWN;
1989
- /**
1990
- * @generated from field: string collateral_token = 4;
1991
- */
1992
- this.collateralToken = "";
1993
- /**
1994
- * @generated from field: string debt_token = 5;
1995
- */
1996
- this.debtToken = "";
1997
- proto3.util.initPartial(data, this);
1998
- }
1999
- static fromBinary(bytes, options) {
2000
- return new MarginPlanMetadata().fromBinary(bytes, options);
2001
- }
2002
- static fromJson(jsonValue, options) {
2003
- return new MarginPlanMetadata().fromJson(jsonValue, options);
2004
- }
2005
- static fromJsonString(jsonString, options) {
2006
- return new MarginPlanMetadata().fromJsonString(jsonString, options);
2007
- }
2008
- static equals(a, b) {
2009
- return proto3.util.equals(MarginPlanMetadata, a, b);
2010
- }
2011
- }
2012
- MarginPlanMetadata.runtime = proto3;
2013
- MarginPlanMetadata.typeName = "data.v1.MarginPlanMetadata";
2014
- MarginPlanMetadata.fields = proto3.util.newFieldList(() => [
2015
- { no: 1, name: "action", kind: "enum", T: proto3.getEnumType(MarginPlanAction) },
2016
- { no: 2, name: "market_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2017
- { no: 3, name: "venue", kind: "enum", T: proto3.getEnumType(MarginPlanVenue) },
2018
- { no: 4, name: "collateral_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2019
- { no: 5, name: "debt_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2020
- ]);
2021
- /**
2022
- * Plan-level Earn intent metadata for chained Earn vault flows.
2023
- *
2024
- * @generated from message data.v1.EarnPlanMetadata
2025
- */
2026
- export class EarnPlanMetadata extends Message {
2027
- constructor(data) {
2028
- super();
2029
- /**
2030
- * @generated from field: data.v1.EarnPlanAction action = 1;
2031
- */
2032
- this.action = EarnPlanAction.UNKNOWN;
2033
- proto3.util.initPartial(data, this);
2034
- }
2035
- static fromBinary(bytes, options) {
2036
- return new EarnPlanMetadata().fromBinary(bytes, options);
2037
- }
2038
- static fromJson(jsonValue, options) {
2039
- return new EarnPlanMetadata().fromJson(jsonValue, options);
2040
- }
2041
- static fromJsonString(jsonString, options) {
2042
- return new EarnPlanMetadata().fromJsonString(jsonString, options);
2043
- }
2044
- static equals(a, b) {
2045
- return proto3.util.equals(EarnPlanMetadata, a, b);
2046
- }
2047
- }
2048
- EarnPlanMetadata.runtime = proto3;
2049
- EarnPlanMetadata.typeName = "data.v1.EarnPlanMetadata";
2050
- EarnPlanMetadata.fields = proto3.util.newFieldList(() => [
2051
- { no: 1, name: "action", kind: "enum", T: proto3.getEnumType(EarnPlanAction) },
2052
- { no: 2, name: "vault", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2053
- { no: 3, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
2054
- ]);
2055
- /**
2056
- * @generated from message data.v1.PlanActivity
2057
- */
2058
- export class PlanActivity extends Message {
2059
- constructor(data) {
2060
- super();
2061
- /**
2062
- * @generated from field: uint32 step_index = 1;
2063
- */
2064
- this.stepIndex = 0;
2065
- /**
2066
- * @generated from field: data.v1.SwapType swap_type = 2;
2067
- */
2068
- this.swapType = SwapType.UNKNOWN;
2069
- /**
2070
- * @generated from field: data.v1.PlanStepStatus status = 7;
2071
- */
2072
- this.status = PlanStepStatus.UNKNOWN;
2073
- proto3.util.initPartial(data, this);
2074
- }
2075
- static fromBinary(bytes, options) {
2076
- return new PlanActivity().fromBinary(bytes, options);
2077
- }
2078
- static fromJson(jsonValue, options) {
2079
- return new PlanActivity().fromJson(jsonValue, options);
2080
- }
2081
- static fromJsonString(jsonString, options) {
2082
- return new PlanActivity().fromJsonString(jsonString, options);
2083
- }
2084
- static equals(a, b) {
2085
- return proto3.util.equals(PlanActivity, a, b);
2086
- }
2087
- }
2088
- PlanActivity.runtime = proto3;
2089
- PlanActivity.typeName = "data.v1.PlanActivity";
2090
- PlanActivity.fields = proto3.util.newFieldList(() => [
2091
- { no: 1, name: "step_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2092
- { no: 2, name: "swap_type", kind: "enum", T: proto3.getEnumType(SwapType) },
2093
- { no: 3, name: "token_in", kind: "message", T: Token, opt: true },
2094
- { no: 4, name: "token_in_amount", kind: "message", T: Amount, opt: true },
2095
- { no: 5, name: "token_out", kind: "message", T: Token, opt: true },
2096
- { no: 6, name: "token_out_amount", kind: "message", T: Amount, opt: true },
2097
- { no: 7, name: "status", kind: "enum", T: proto3.getEnumType(PlanStepStatus) },
2098
- { no: 8, name: "transaction_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2099
- { no: 9, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
2100
- { no: 10, name: "gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2101
- ]);
2102
- /**
2103
- * @generated from message data.v1.TokenAmount
2104
- */
2105
- export class TokenAmount extends Message {
2106
- constructor(data) {
2107
- super();
2108
- proto3.util.initPartial(data, this);
2109
- }
2110
- static fromBinary(bytes, options) {
2111
- return new TokenAmount().fromBinary(bytes, options);
2112
- }
2113
- static fromJson(jsonValue, options) {
2114
- return new TokenAmount().fromJson(jsonValue, options);
2115
- }
2116
- static fromJsonString(jsonString, options) {
2117
- return new TokenAmount().fromJsonString(jsonString, options);
2118
- }
2119
- static equals(a, b) {
2120
- return proto3.util.equals(TokenAmount, a, b);
2121
- }
2122
- }
2123
- TokenAmount.runtime = proto3;
2124
- TokenAmount.typeName = "data.v1.TokenAmount";
2125
- TokenAmount.fields = proto3.util.newFieldList(() => [
2126
- { no: 1, name: "token", kind: "message", T: Token },
2127
- { no: 2, name: "amount", kind: "message", T: Amount },
2128
- ]);
2129
- /**
2130
- * @generated from message data.v1.TransactionFee
2131
- */
2132
- export class TransactionFee extends Message {
2133
- constructor(data) {
2134
- super();
2135
- /**
2136
- * @generated from field: string address = 2;
2137
- */
2138
- this.address = "";
2139
- /**
2140
- * @generated from field: string symbol = 3;
2141
- */
2142
- this.symbol = "";
2143
- /**
2144
- * @generated from field: uint32 decimals = 4;
2145
- */
2146
- this.decimals = 0;
2147
- proto3.util.initPartial(data, this);
2148
- }
2149
- static fromBinary(bytes, options) {
2150
- return new TransactionFee().fromBinary(bytes, options);
2151
- }
2152
- static fromJson(jsonValue, options) {
2153
- return new TransactionFee().fromJson(jsonValue, options);
2154
- }
2155
- static fromJsonString(jsonString, options) {
2156
- return new TransactionFee().fromJsonString(jsonString, options);
2157
- }
2158
- static equals(a, b) {
2159
- return proto3.util.equals(TransactionFee, a, b);
2160
- }
2161
- }
2162
- TransactionFee.runtime = proto3;
2163
- TransactionFee.typeName = "data.v1.TransactionFee";
2164
- TransactionFee.fields = proto3.util.newFieldList(() => [
2165
- { no: 1, name: "amount", kind: "message", T: Amount },
2166
- { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2167
- { no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2168
- { no: 4, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2169
- ]);
2170
- /**
2171
- * @generated from message data.v1.TimestampedValue
2172
- */
2173
- export class TimestampedValue extends Message {
2174
- constructor(data) {
2175
- super();
2176
- /**
2177
- * @generated from field: uint64 timestamp = 1;
2178
- */
2179
- this.timestamp = protoInt64.zero;
2180
- /**
2181
- * @generated from field: double value = 2;
2182
- */
2183
- this.value = 0;
2184
- proto3.util.initPartial(data, this);
2185
- }
2186
- static fromBinary(bytes, options) {
2187
- return new TimestampedValue().fromBinary(bytes, options);
2188
- }
2189
- static fromJson(jsonValue, options) {
2190
- return new TimestampedValue().fromJson(jsonValue, options);
2191
- }
2192
- static fromJsonString(jsonString, options) {
2193
- return new TimestampedValue().fromJsonString(jsonString, options);
2194
- }
2195
- static equals(a, b) {
2196
- return proto3.util.equals(TimestampedValue, a, b);
2197
- }
2198
- }
2199
- TimestampedValue.runtime = proto3;
2200
- TimestampedValue.typeName = "data.v1.TimestampedValue";
2201
- TimestampedValue.fields = proto3.util.newFieldList(() => [
2202
- { no: 1, name: "timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
2203
- { no: 2, name: "value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2204
- ]);
2205
- /**
2206
- * @generated from message data.v1.TokenStats
2207
- */
2208
- export class TokenStats extends Message {
2209
- constructor(data) {
2210
- super();
2211
- /**
2212
- * @generated from field: repeated data.v1.TimestampedValue price_history_1d = 10;
2213
- */
2214
- this.priceHistory1d = [];
2215
- proto3.util.initPartial(data, this);
2216
- }
2217
- static fromBinary(bytes, options) {
2218
- return new TokenStats().fromBinary(bytes, options);
2219
- }
2220
- static fromJson(jsonValue, options) {
2221
- return new TokenStats().fromJson(jsonValue, options);
2222
- }
2223
- static fromJsonString(jsonString, options) {
2224
- return new TokenStats().fromJsonString(jsonString, options);
2225
- }
2226
- static equals(a, b) {
2227
- return proto3.util.equals(TokenStats, a, b);
2228
- }
2229
- }
2230
- TokenStats.runtime = proto3;
2231
- TokenStats.typeName = "data.v1.TokenStats";
2232
- TokenStats.fields = proto3.util.newFieldList(() => [
2233
- { no: 1, name: "fdv", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2234
- { no: 2, name: "volume_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2235
- { no: 3, name: "volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2236
- { no: 4, name: "volume_7d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2237
- { no: 5, name: "volume_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2238
- { no: 6, name: "volume_1y", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2239
- { no: 7, name: "price", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
2240
- { no: 8, name: "price_change_1h", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
2241
- { no: 9, name: "price_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
2242
- { no: 10, name: "price_history_1d", kind: "message", T: TimestampedValue, repeated: true },
2243
- ]);
2244
- /**
2245
- * @generated from message data.v1.Paymaster
2246
- */
2247
- export class Paymaster extends Message {
2248
- constructor(data) {
2249
- super();
2250
- /**
2251
- * @generated from field: string address = 1;
2252
- */
2253
- this.address = "";
2254
- proto3.util.initPartial(data, this);
2255
- }
2256
- static fromBinary(bytes, options) {
2257
- return new Paymaster().fromBinary(bytes, options);
2258
- }
2259
- static fromJson(jsonValue, options) {
2260
- return new Paymaster().fromJson(jsonValue, options);
2261
- }
2262
- static fromJsonString(jsonString, options) {
2263
- return new Paymaster().fromJsonString(jsonString, options);
2264
- }
2265
- static equals(a, b) {
2266
- return proto3.util.equals(Paymaster, a, b);
2267
- }
2268
- }
2269
- Paymaster.runtime = proto3;
2270
- Paymaster.typeName = "data.v1.Paymaster";
2271
- Paymaster.fields = proto3.util.newFieldList(() => [
2272
- { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2273
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2274
- ]);
2275
- /**
2276
- * Sponsor identity for a gas-sponsored transaction, resolved from the
2277
- * internal Sponsorship service (platform-service). Complements Paymaster,
2278
- * which only carries the on-chain paymaster contract address.
2279
- *
2280
- * @generated from message data.v1.SponsorshipMetadata
2281
- */
2282
- export class SponsorshipMetadata extends Message {
2283
- constructor(data) {
2284
- super();
2285
- /**
2286
- * @generated from field: string name = 1;
2287
- */
2288
- this.name = "";
2289
- proto3.util.initPartial(data, this);
2290
- }
2291
- static fromBinary(bytes, options) {
2292
- return new SponsorshipMetadata().fromBinary(bytes, options);
2293
- }
2294
- static fromJson(jsonValue, options) {
2295
- return new SponsorshipMetadata().fromJson(jsonValue, options);
2296
- }
2297
- static fromJsonString(jsonString, options) {
2298
- return new SponsorshipMetadata().fromJsonString(jsonString, options);
2299
- }
2300
- static equals(a, b) {
2301
- return proto3.util.equals(SponsorshipMetadata, a, b);
2302
- }
2303
- }
2304
- SponsorshipMetadata.runtime = proto3;
2305
- SponsorshipMetadata.typeName = "data.v1.SponsorshipMetadata";
2306
- SponsorshipMetadata.fields = proto3.util.newFieldList(() => [
2307
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2308
- { no: 2, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2309
- ]);
2310
- /**
2311
- * @generated from message data.v1.WalletProfitLoss
2312
- */
2313
- export class WalletProfitLoss extends Message {
2314
- constructor(data) {
2315
- super();
2316
- /**
2317
- * @generated from field: double net_invested_usd = 1;
2318
- */
2319
- this.netInvestedUsd = 0;
2320
- /**
2321
- * @generated from field: double unrealized_return_usd = 2;
2322
- */
2323
- this.unrealizedReturnUsd = 0;
2324
- /**
2325
- * @generated from field: double unrealized_return_percent = 3;
2326
- */
2327
- this.unrealizedReturnPercent = 0;
2328
- /**
2329
- * @generated from field: double realized_return_usd = 4;
2330
- */
2331
- this.realizedReturnUsd = 0;
2332
- /**
2333
- * @generated from field: double total_return_usd = 5;
2334
- */
2335
- this.totalReturnUsd = 0;
2336
- /**
2337
- * @generated from field: double total_fee_usd = 6;
2338
- */
2339
- this.totalFeeUsd = 0;
2340
- proto3.util.initPartial(data, this);
2341
- }
2342
- static fromBinary(bytes, options) {
2343
- return new WalletProfitLoss().fromBinary(bytes, options);
2344
- }
2345
- static fromJson(jsonValue, options) {
2346
- return new WalletProfitLoss().fromJson(jsonValue, options);
2347
- }
2348
- static fromJsonString(jsonString, options) {
2349
- return new WalletProfitLoss().fromJsonString(jsonString, options);
2350
- }
2351
- static equals(a, b) {
2352
- return proto3.util.equals(WalletProfitLoss, a, b);
2353
- }
2354
- }
2355
- WalletProfitLoss.runtime = proto3;
2356
- WalletProfitLoss.typeName = "data.v1.WalletProfitLoss";
2357
- WalletProfitLoss.fields = proto3.util.newFieldList(() => [
2358
- { no: 1, name: "net_invested_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2359
- { no: 2, name: "unrealized_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2360
- { no: 3, name: "unrealized_return_percent", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2361
- { no: 4, name: "realized_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2362
- { no: 5, name: "total_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2363
- { no: 6, name: "total_fee_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2364
- ]);
2365
- /**
2366
- * @generated from message data.v1.TokenProfitLoss
2367
- */
2368
- export class TokenProfitLoss extends Message {
2369
- constructor(data) {
2370
- super();
2371
- /**
2372
- * @generated from field: double average_cost_usd = 2;
2373
- */
2374
- this.averageCostUsd = 0;
2375
- /**
2376
- * @generated from field: double unrealized_return_usd = 3;
2377
- */
2378
- this.unrealizedReturnUsd = 0;
2379
- /**
2380
- * @generated from field: double unrealized_return_percent = 4;
2381
- */
2382
- this.unrealizedReturnPercent = 0;
2383
- proto3.util.initPartial(data, this);
2384
- }
2385
- static fromBinary(bytes, options) {
2386
- return new TokenProfitLoss().fromBinary(bytes, options);
2387
- }
2388
- static fromJson(jsonValue, options) {
2389
- return new TokenProfitLoss().fromJson(jsonValue, options);
2390
- }
2391
- static fromJsonString(jsonString, options) {
2392
- return new TokenProfitLoss().fromJsonString(jsonString, options);
2393
- }
2394
- static equals(a, b) {
2395
- return proto3.util.equals(TokenProfitLoss, a, b);
2396
- }
2397
- }
2398
- TokenProfitLoss.runtime = proto3;
2399
- TokenProfitLoss.typeName = "data.v1.TokenProfitLoss";
2400
- TokenProfitLoss.fields = proto3.util.newFieldList(() => [
2401
- { no: 1, name: "token", kind: "message", T: Token },
2402
- { no: 2, name: "average_cost_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2403
- { no: 3, name: "unrealized_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2404
- { no: 4, name: "unrealized_return_percent", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2405
- ]);
2406
- /**
2407
- * @generated from message data.v1.TokenDetailProfitLoss
2408
- */
2409
- export class TokenDetailProfitLoss extends Message {
2410
- constructor(data) {
2411
- super();
2412
- /**
2413
- * @generated from field: double average_cost_usd = 1;
2414
- */
2415
- this.averageCostUsd = 0;
2416
- /**
2417
- * @generated from field: double one_day_return_usd = 2;
2418
- */
2419
- this.oneDayReturnUsd = 0;
2420
- /**
2421
- * @generated from field: double one_day_return_percent = 3;
2422
- */
2423
- this.oneDayReturnPercent = 0;
2424
- /**
2425
- * @generated from field: double unrealized_return_usd = 4;
2426
- */
2427
- this.unrealizedReturnUsd = 0;
2428
- /**
2429
- * @generated from field: double unrealized_return_percent = 5;
2430
- */
2431
- this.unrealizedReturnPercent = 0;
2432
- /**
2433
- * @generated from field: double realized_return_usd = 6;
2434
- */
2435
- this.realizedReturnUsd = 0;
2436
- /**
2437
- * @generated from field: double realized_return_percent = 7;
2438
- */
2439
- this.realizedReturnPercent = 0;
2440
- proto3.util.initPartial(data, this);
2441
- }
2442
- static fromBinary(bytes, options) {
2443
- return new TokenDetailProfitLoss().fromBinary(bytes, options);
2444
- }
2445
- static fromJson(jsonValue, options) {
2446
- return new TokenDetailProfitLoss().fromJson(jsonValue, options);
2447
- }
2448
- static fromJsonString(jsonString, options) {
2449
- return new TokenDetailProfitLoss().fromJsonString(jsonString, options);
2450
- }
2451
- static equals(a, b) {
2452
- return proto3.util.equals(TokenDetailProfitLoss, a, b);
2453
- }
2454
- }
2455
- TokenDetailProfitLoss.runtime = proto3;
2456
- TokenDetailProfitLoss.typeName = "data.v1.TokenDetailProfitLoss";
2457
- TokenDetailProfitLoss.fields = proto3.util.newFieldList(() => [
2458
- { no: 1, name: "average_cost_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2459
- { no: 2, name: "one_day_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2460
- { no: 3, name: "one_day_return_percent", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2461
- { no: 4, name: "unrealized_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2462
- { no: 5, name: "unrealized_return_percent", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2463
- { no: 6, name: "realized_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2464
- { no: 7, name: "realized_return_percent", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2465
- ]);
2466
- /**
2467
- * Per-chain PnL within a multichain token group
2468
- *
2469
- * @generated from message data.v1.ChainTokenProfitLoss
2470
- */
2471
- export class ChainTokenProfitLoss extends Message {
2472
- constructor(data) {
2473
- super();
2474
- /**
2475
- * @generated from field: uint32 chain_id = 1;
2476
- */
2477
- this.chainId = 0;
2478
- /**
2479
- * @generated from field: string token_address = 2;
2480
- */
2481
- this.tokenAddress = "";
2482
- /**
2483
- * @generated from field: double average_cost_usd = 3;
2484
- */
2485
- this.averageCostUsd = 0;
2486
- /**
2487
- * @generated from field: double unrealized_return_usd = 4;
2488
- */
2489
- this.unrealizedReturnUsd = 0;
2490
- /**
2491
- * @generated from field: double unrealized_return_percent = 5;
2492
- */
2493
- this.unrealizedReturnPercent = 0;
2494
- proto3.util.initPartial(data, this);
2495
- }
2496
- static fromBinary(bytes, options) {
2497
- return new ChainTokenProfitLoss().fromBinary(bytes, options);
2498
- }
2499
- static fromJson(jsonValue, options) {
2500
- return new ChainTokenProfitLoss().fromJson(jsonValue, options);
2501
- }
2502
- static fromJsonString(jsonString, options) {
2503
- return new ChainTokenProfitLoss().fromJsonString(jsonString, options);
2504
- }
2505
- static equals(a, b) {
2506
- return proto3.util.equals(ChainTokenProfitLoss, a, b);
2507
- }
2508
- }
2509
- ChainTokenProfitLoss.runtime = proto3;
2510
- ChainTokenProfitLoss.typeName = "data.v1.ChainTokenProfitLoss";
2511
- ChainTokenProfitLoss.fields = proto3.util.newFieldList(() => [
2512
- { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2513
- { no: 2, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2514
- { no: 3, name: "average_cost_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2515
- { no: 4, name: "unrealized_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2516
- { no: 5, name: "unrealized_return_percent", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2517
- ]);
2518
- /**
2519
- * A token aggregated across multiple chains with per-chain breakdown
2520
- *
2521
- * @generated from message data.v1.MultichainTokenProfitLoss
2522
- */
2523
- export class MultichainTokenProfitLoss extends Message {
2524
- constructor(data) {
2525
- super();
2526
- /**
2527
- * @generated from field: string name = 1;
2528
- */
2529
- this.name = "";
2530
- /**
2531
- * @generated from field: string symbol = 2;
2532
- */
2533
- this.symbol = "";
2534
- /**
2535
- * @generated from field: string logo_url = 3;
2536
- */
2537
- this.logoUrl = "";
2538
- /**
2539
- * @generated from field: repeated data.v1.ChainTokenProfitLoss chain_breakdown = 5;
2540
- */
2541
- this.chainBreakdown = [];
2542
- proto3.util.initPartial(data, this);
2543
- }
2544
- static fromBinary(bytes, options) {
2545
- return new MultichainTokenProfitLoss().fromBinary(bytes, options);
2546
- }
2547
- static fromJson(jsonValue, options) {
2548
- return new MultichainTokenProfitLoss().fromJson(jsonValue, options);
2549
- }
2550
- static fromJsonString(jsonString, options) {
2551
- return new MultichainTokenProfitLoss().fromJsonString(jsonString, options);
2552
- }
2553
- static equals(a, b) {
2554
- return proto3.util.equals(MultichainTokenProfitLoss, a, b);
2555
- }
2556
- }
2557
- MultichainTokenProfitLoss.runtime = proto3;
2558
- MultichainTokenProfitLoss.typeName = "data.v1.MultichainTokenProfitLoss";
2559
- MultichainTokenProfitLoss.fields = proto3.util.newFieldList(() => [
2560
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2561
- { no: 2, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2562
- { no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2563
- { no: 4, name: "aggregated", kind: "message", T: TokenProfitLoss },
2564
- { no: 5, name: "chain_breakdown", kind: "message", T: ChainTokenProfitLoss, repeated: true },
2565
- ]);
790
+ /**
791
+ * Describes the enum data.v1.AttackType.
792
+ */
793
+ export const AttackTypeSchema = /*@__PURE__*/ enumDesc(file_data_v1_types, 12);