@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.
- package/dist/buf/validate/validate_pb.d.ts +4833 -0
- package/dist/buf/validate/validate_pb.js +356 -0
- package/dist/data/v1/api-DataApiService_connectquery.d.ts +88 -200
- package/dist/data/v1/api-DataApiService_connectquery.js +24 -224
- package/dist/data/v1/api_pb.d.ts +843 -845
- package/dist/data/v1/api_pb.js +393 -2676
- package/dist/data/v1/featureGating_pb.d.ts +31 -26
- package/dist/data/v1/featureGating_pb.js +13 -50
- package/dist/data/v1/plan_pb.d.ts +29 -0
- package/dist/data/v1/plan_pb.js +30 -69
- package/dist/data/v1/poolTypes_pb.d.ts +118 -127
- package/dist/data/v1/poolTypes_pb.js +47 -438
- package/dist/data/v1/types_pb.d.ts +1276 -1334
- package/dist/data/v1/types_pb.js +249 -2021
- package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +16 -38
- package/dist/data/v1/workerService-WorkerService_connectquery.js +6 -44
- package/dist/data/v1/workerService_pb.d.ts +99 -92
- package/dist/data/v1/workerService_pb.js +37 -248
- package/dist/data/v2/api-DataApiService_connectquery.d.ts +148 -335
- package/dist/data/v2/api-DataApiService_connectquery.js +39 -374
- package/dist/data/v2/api_pb.d.ts +1105 -1054
- package/dist/data/v2/api_pb.js +483 -3805
- package/dist/data/v2/categories_pb.d.ts +130 -142
- package/dist/data/v2/categories_pb.js +55 -457
- package/dist/data/v2/common_pb.d.ts +23 -25
- package/dist/data/v2/common_pb.js +12 -59
- package/dist/data/v2/earn_pb.d.ts +92 -92
- package/dist/data/v2/earn_pb.js +33 -229
- package/dist/data/v2/hooks_pb.d.ts +119 -135
- package/dist/data/v2/hooks_pb.js +49 -315
- package/dist/data/v2/search-SearchService_connectquery.d.ts +4 -11
- package/dist/data/v2/search-SearchService_connectquery.js +3 -14
- package/dist/data/v2/search_pb.d.ts +139 -120
- package/dist/data/v2/search_pb.js +34 -225
- package/dist/data/v2/tokenGroups_pb.d.ts +31 -36
- package/dist/data/v2/tokenGroups_pb.js +16 -126
- package/dist/data/v2/types_pb.d.ts +1823 -1887
- package/dist/data/v2/types_pb.js +282 -2190
- package/dist/data/v2/workerService-WorkerService_connectquery.d.ts +4 -11
- package/dist/data/v2/workerService-WorkerService_connectquery.js +3 -14
- package/dist/data/v2/workerService_pb.d.ts +35 -22
- package/dist/data/v2/workerService_pb.js +20 -47
- package/package.json +1 -1
- package/dist/data/v1/api_connect.d.ts +0 -208
- package/dist/data/v1/api_connect.js +0 -212
- package/dist/data/v1/workerService_connect.d.ts +0 -46
- package/dist/data/v1/workerService_connect.js +0 -50
- package/dist/data/v2/api_connect.d.ts +0 -343
- package/dist/data/v2/api_connect.js +0 -347
- package/dist/data/v2/search_connect.d.ts +0 -21
- package/dist/data/v2/search_connect.js +0 -25
- package/dist/data/v2/workerService_connect.d.ts +0 -23
- package/dist/data/v2/workerService_connect.js +0 -27
|
@@ -1,2024 +1,1966 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { EarnPlanAction, MarginPlanAction, MarginPlanVenue, PlanStatus, PlanStepStatus, SwapType } from "./plan_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Describes the file data/v1/types.proto.
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const file_data_v1_types: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message data.v1.Token
|
|
10
|
+
*/
|
|
11
|
+
export type Token = Message<"data.v1.Token"> & {
|
|
8
12
|
/**
|
|
9
|
-
* @generated from
|
|
13
|
+
* @generated from field: uint32 chain_id = 1;
|
|
10
14
|
*/
|
|
11
|
-
|
|
15
|
+
chainId: number;
|
|
12
16
|
/**
|
|
13
|
-
* @generated from
|
|
17
|
+
* @generated from field: string address = 2;
|
|
14
18
|
*/
|
|
15
|
-
|
|
19
|
+
address: string;
|
|
16
20
|
/**
|
|
17
|
-
* @generated from
|
|
21
|
+
* @generated from field: string symbol = 3;
|
|
18
22
|
*/
|
|
19
|
-
|
|
23
|
+
symbol: string;
|
|
20
24
|
/**
|
|
21
|
-
* @generated from
|
|
25
|
+
* @generated from field: uint32 decimals = 4;
|
|
22
26
|
*/
|
|
23
|
-
|
|
27
|
+
decimals: number;
|
|
24
28
|
/**
|
|
25
|
-
* @generated from
|
|
29
|
+
* @generated from field: string name = 5;
|
|
26
30
|
*/
|
|
27
|
-
|
|
31
|
+
name: string;
|
|
28
32
|
/**
|
|
29
|
-
* @generated from
|
|
33
|
+
* @generated from field: data.v1.TokenType type = 6;
|
|
30
34
|
*/
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @generated from enum data.v1.SpamCode
|
|
35
|
-
*/
|
|
36
|
-
export declare enum SpamCode {
|
|
35
|
+
type: TokenType;
|
|
37
36
|
/**
|
|
38
|
-
* @generated from
|
|
37
|
+
* @generated from field: data.v1.TokenMetadata metadata = 7;
|
|
39
38
|
*/
|
|
40
|
-
|
|
39
|
+
metadata?: TokenMetadata | undefined;
|
|
41
40
|
/**
|
|
42
|
-
* @generated from
|
|
41
|
+
* @generated from field: data.v1.TokenStats stats = 8;
|
|
43
42
|
*/
|
|
44
|
-
|
|
43
|
+
stats?: TokenStats | undefined;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message data.v1.Token.
|
|
47
|
+
* Use `create(TokenSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export declare const TokenSchema: GenMessage<Token>;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from message data.v1.TokenMetadata
|
|
52
|
+
*/
|
|
53
|
+
export type TokenMetadata = Message<"data.v1.TokenMetadata"> & {
|
|
45
54
|
/**
|
|
46
|
-
* @generated from
|
|
55
|
+
* @generated from field: string project_name = 1;
|
|
47
56
|
*/
|
|
48
|
-
|
|
57
|
+
projectName: string;
|
|
49
58
|
/**
|
|
50
|
-
* @generated from
|
|
59
|
+
* @generated from field: string logo_url = 2;
|
|
51
60
|
*/
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* @generated from enum data.v1.SafetyLevel
|
|
56
|
-
*/
|
|
57
|
-
export declare enum SafetyLevel {
|
|
61
|
+
logoUrl: string;
|
|
58
62
|
/**
|
|
59
|
-
* @generated from
|
|
63
|
+
* @generated from field: data.v1.ProtectionInfo protection_info = 3;
|
|
60
64
|
*/
|
|
61
|
-
|
|
65
|
+
protectionInfo?: ProtectionInfo | undefined;
|
|
62
66
|
/**
|
|
63
|
-
* @generated from
|
|
67
|
+
* @generated from field: data.v1.FeeData fee_data = 4;
|
|
64
68
|
*/
|
|
65
|
-
|
|
69
|
+
feeData?: FeeData | undefined;
|
|
66
70
|
/**
|
|
67
|
-
* @generated from
|
|
71
|
+
* @generated from field: data.v1.SafetyLevel safety_level = 5;
|
|
68
72
|
*/
|
|
69
|
-
|
|
73
|
+
safetyLevel: SafetyLevel;
|
|
70
74
|
/**
|
|
71
|
-
* @generated from
|
|
75
|
+
* @generated from field: data.v1.SpamCode spam_code = 6;
|
|
72
76
|
*/
|
|
73
|
-
|
|
77
|
+
spamCode: SpamCode;
|
|
74
78
|
/**
|
|
75
|
-
* @generated from
|
|
79
|
+
* @generated from field: bool is_bridged = 7;
|
|
76
80
|
*/
|
|
77
|
-
|
|
78
|
-
|
|
81
|
+
isBridged: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Set on GetPortfolio balances only, ordered by display precedence (the
|
|
84
|
+
* first id is the preferred tag). Empty on every other v1 token surface.
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: repeated string category_ids = 8;
|
|
87
|
+
*/
|
|
88
|
+
categoryIds: string[];
|
|
89
|
+
};
|
|
79
90
|
/**
|
|
80
|
-
*
|
|
91
|
+
* Describes the message data.v1.TokenMetadata.
|
|
92
|
+
* Use `create(TokenMetadataSchema)` to create a new message.
|
|
81
93
|
*/
|
|
82
|
-
export declare
|
|
94
|
+
export declare const TokenMetadataSchema: GenMessage<TokenMetadata>;
|
|
95
|
+
/**
|
|
96
|
+
* @generated from message data.v1.ProtectionInfo
|
|
97
|
+
*/
|
|
98
|
+
export type ProtectionInfo = Message<"data.v1.ProtectionInfo"> & {
|
|
83
99
|
/**
|
|
84
|
-
* @generated from
|
|
100
|
+
* @generated from field: data.v1.ProtectionResult result = 1;
|
|
85
101
|
*/
|
|
86
|
-
|
|
102
|
+
result: ProtectionResult;
|
|
87
103
|
/**
|
|
88
|
-
* @generated from
|
|
104
|
+
* @generated from field: repeated data.v1.AttackType attack_types = 2;
|
|
89
105
|
*/
|
|
90
|
-
|
|
106
|
+
attackTypes: AttackType[];
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message data.v1.ProtectionInfo.
|
|
110
|
+
* Use `create(ProtectionInfoSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export declare const ProtectionInfoSchema: GenMessage<ProtectionInfo>;
|
|
113
|
+
/**
|
|
114
|
+
* TODO(DAT-1081): dedupe these for the frontend potentially
|
|
115
|
+
*
|
|
116
|
+
* @generated from message data.v1.FeeData
|
|
117
|
+
*/
|
|
118
|
+
export type FeeData = Message<"data.v1.FeeData"> & {
|
|
91
119
|
/**
|
|
92
|
-
* @generated from
|
|
120
|
+
* @generated from field: data.v1.Blockaid blockaid = 1;
|
|
93
121
|
*/
|
|
94
|
-
|
|
95
|
-
|
|
122
|
+
blockaid?: Blockaid | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: data.v1.FeeDetector fee_detector = 2;
|
|
125
|
+
*/
|
|
126
|
+
feeDetector?: FeeDetector | undefined;
|
|
127
|
+
};
|
|
96
128
|
/**
|
|
97
|
-
*
|
|
129
|
+
* Describes the message data.v1.FeeData.
|
|
130
|
+
* Use `create(FeeDataSchema)` to create a new message.
|
|
98
131
|
*/
|
|
99
|
-
export declare
|
|
132
|
+
export declare const FeeDataSchema: GenMessage<FeeData>;
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message data.v1.Blockaid
|
|
135
|
+
*/
|
|
136
|
+
export type Blockaid = Message<"data.v1.Blockaid"> & {
|
|
100
137
|
/**
|
|
101
|
-
* @generated from
|
|
138
|
+
* @generated from field: double buy = 1;
|
|
102
139
|
*/
|
|
103
|
-
|
|
140
|
+
buy: number;
|
|
104
141
|
/**
|
|
105
|
-
* @generated from
|
|
142
|
+
* @generated from field: double sell = 2;
|
|
106
143
|
*/
|
|
107
|
-
|
|
144
|
+
sell: number;
|
|
108
145
|
/**
|
|
109
|
-
* @generated from
|
|
146
|
+
* @generated from field: double transfer = 3;
|
|
110
147
|
*/
|
|
111
|
-
|
|
112
|
-
}
|
|
148
|
+
transfer: number;
|
|
149
|
+
};
|
|
113
150
|
/**
|
|
114
|
-
*
|
|
151
|
+
* Describes the message data.v1.Blockaid.
|
|
152
|
+
* Use `create(BlockaidSchema)` to create a new message.
|
|
115
153
|
*/
|
|
116
|
-
export declare
|
|
154
|
+
export declare const BlockaidSchema: GenMessage<Blockaid>;
|
|
155
|
+
/**
|
|
156
|
+
* @generated from message data.v1.FeeDetector
|
|
157
|
+
*/
|
|
158
|
+
export type FeeDetector = Message<"data.v1.FeeDetector"> & {
|
|
117
159
|
/**
|
|
118
|
-
* @generated from
|
|
160
|
+
* @generated from field: string buy_fee_bps = 1;
|
|
119
161
|
*/
|
|
120
|
-
|
|
162
|
+
buyFeeBps: string;
|
|
121
163
|
/**
|
|
122
|
-
* @generated from
|
|
164
|
+
* @generated from field: string sell_fee_bps = 2;
|
|
123
165
|
*/
|
|
124
|
-
|
|
166
|
+
sellFeeBps: string;
|
|
125
167
|
/**
|
|
126
|
-
* @generated from
|
|
168
|
+
* @generated from field: bool fee_taken_on_transfer = 3;
|
|
127
169
|
*/
|
|
128
|
-
|
|
170
|
+
feeTakenOnTransfer: boolean;
|
|
129
171
|
/**
|
|
130
|
-
* @generated from
|
|
172
|
+
* @generated from field: bool external_transfer_failed = 4;
|
|
131
173
|
*/
|
|
132
|
-
|
|
174
|
+
externalTransferFailed: boolean;
|
|
133
175
|
/**
|
|
134
|
-
* @generated from
|
|
176
|
+
* @generated from field: bool sell_reverted = 5;
|
|
135
177
|
*/
|
|
136
|
-
|
|
178
|
+
sellReverted: boolean;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* Describes the message data.v1.FeeDetector.
|
|
182
|
+
* Use `create(FeeDetectorSchema)` to create a new message.
|
|
183
|
+
*/
|
|
184
|
+
export declare const FeeDetectorSchema: GenMessage<FeeDetector>;
|
|
185
|
+
/**
|
|
186
|
+
* @generated from message data.v1.PortfolioValueModifier
|
|
187
|
+
*/
|
|
188
|
+
export type PortfolioValueModifier = Message<"data.v1.PortfolioValueModifier"> & {
|
|
137
189
|
/**
|
|
138
|
-
* @generated from
|
|
190
|
+
* @generated from field: string address = 1;
|
|
139
191
|
*/
|
|
140
|
-
|
|
192
|
+
address: string;
|
|
141
193
|
/**
|
|
142
|
-
* @generated from
|
|
194
|
+
* @generated from field: repeated data.v1.Contract include_overrides = 2;
|
|
143
195
|
*/
|
|
144
|
-
|
|
196
|
+
includeOverrides: Contract[];
|
|
145
197
|
/**
|
|
146
|
-
* @generated from
|
|
198
|
+
* @generated from field: repeated data.v1.Contract exclude_overrides = 3;
|
|
147
199
|
*/
|
|
148
|
-
|
|
200
|
+
excludeOverrides: Contract[];
|
|
149
201
|
/**
|
|
150
|
-
* @generated from
|
|
202
|
+
* @generated from field: bool include_small_balances = 4;
|
|
151
203
|
*/
|
|
152
|
-
|
|
204
|
+
includeSmallBalances: boolean;
|
|
153
205
|
/**
|
|
154
|
-
* @generated from
|
|
206
|
+
* @generated from field: bool include_spam_tokens = 5;
|
|
155
207
|
*/
|
|
156
|
-
|
|
208
|
+
includeSpamTokens: boolean;
|
|
157
209
|
/**
|
|
158
|
-
* @generated from
|
|
210
|
+
* @generated from field: uint32 balance_limit = 6;
|
|
159
211
|
*/
|
|
160
|
-
|
|
212
|
+
balanceLimit: number;
|
|
161
213
|
/**
|
|
162
|
-
* @generated from
|
|
214
|
+
* @generated from field: repeated data.v1.PoolRef pool_include_overrides = 7;
|
|
163
215
|
*/
|
|
164
|
-
|
|
216
|
+
poolIncludeOverrides: PoolRef[];
|
|
165
217
|
/**
|
|
166
|
-
* @generated from
|
|
218
|
+
* @generated from field: repeated data.v1.PoolRef pool_exclude_overrides = 8;
|
|
167
219
|
*/
|
|
168
|
-
|
|
220
|
+
poolExcludeOverrides: PoolRef[];
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* Describes the message data.v1.PortfolioValueModifier.
|
|
224
|
+
* Use `create(PortfolioValueModifierSchema)` to create a new message.
|
|
225
|
+
*/
|
|
226
|
+
export declare const PortfolioValueModifierSchema: GenMessage<PortfolioValueModifier>;
|
|
227
|
+
/**
|
|
228
|
+
* @generated from message data.v1.PoolRef
|
|
229
|
+
*/
|
|
230
|
+
export type PoolRef = Message<"data.v1.PoolRef"> & {
|
|
169
231
|
/**
|
|
170
|
-
* @generated from
|
|
232
|
+
* @generated from field: uint32 chain_id = 1;
|
|
171
233
|
*/
|
|
172
|
-
|
|
234
|
+
chainId: number;
|
|
173
235
|
/**
|
|
174
|
-
* @generated from
|
|
236
|
+
* @generated from field: string pool_id = 2;
|
|
175
237
|
*/
|
|
176
|
-
|
|
238
|
+
poolId: string;
|
|
177
239
|
/**
|
|
178
|
-
* @generated from
|
|
240
|
+
* @generated from field: optional string position_id = 3;
|
|
179
241
|
*/
|
|
180
|
-
|
|
242
|
+
positionId?: string | undefined;
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* Describes the message data.v1.PoolRef.
|
|
246
|
+
* Use `create(PoolRefSchema)` to create a new message.
|
|
247
|
+
*/
|
|
248
|
+
export declare const PoolRefSchema: GenMessage<PoolRef>;
|
|
249
|
+
/**
|
|
250
|
+
* @generated from message data.v1.Portfolio
|
|
251
|
+
*/
|
|
252
|
+
export type Portfolio = Message<"data.v1.Portfolio"> & {
|
|
181
253
|
/**
|
|
182
|
-
* @generated from
|
|
254
|
+
* @generated from field: repeated data.v1.Balance balances = 1;
|
|
183
255
|
*/
|
|
184
|
-
|
|
256
|
+
balances: Balance[];
|
|
185
257
|
/**
|
|
186
|
-
* @generated from
|
|
258
|
+
* @generated from field: double total_value_usd = 2;
|
|
187
259
|
*/
|
|
188
|
-
|
|
260
|
+
totalValueUsd: number;
|
|
189
261
|
/**
|
|
190
|
-
* @generated from
|
|
262
|
+
* @generated from field: double total_value_absolute_change_1d = 3;
|
|
191
263
|
*/
|
|
192
|
-
|
|
264
|
+
totalValueAbsoluteChange1d: number;
|
|
193
265
|
/**
|
|
194
|
-
* @generated from
|
|
266
|
+
* @generated from field: double total_value_percent_change_1d = 4;
|
|
195
267
|
*/
|
|
196
|
-
|
|
268
|
+
totalValuePercentChange1d: number;
|
|
197
269
|
/**
|
|
198
|
-
*
|
|
270
|
+
* Populated instead of `balances` when multichain=true in GetPortfolioRequest
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: repeated data.v1.MultichainBalance multichain_balances = 5;
|
|
199
273
|
*/
|
|
200
|
-
|
|
274
|
+
multichainBalances: MultichainBalance[];
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* Describes the message data.v1.Portfolio.
|
|
278
|
+
* Use `create(PortfolioSchema)` to create a new message.
|
|
279
|
+
*/
|
|
280
|
+
export declare const PortfolioSchema: GenMessage<Portfolio>;
|
|
281
|
+
/**
|
|
282
|
+
* @generated from message data.v1.Balance
|
|
283
|
+
*/
|
|
284
|
+
export type Balance = Message<"data.v1.Balance"> & {
|
|
201
285
|
/**
|
|
202
|
-
* @generated from
|
|
286
|
+
* @generated from field: data.v1.Token token = 1;
|
|
203
287
|
*/
|
|
204
|
-
|
|
288
|
+
token?: Token | undefined;
|
|
205
289
|
/**
|
|
206
|
-
* @generated from
|
|
290
|
+
* @generated from field: data.v1.Amount amount = 2;
|
|
207
291
|
*/
|
|
208
|
-
|
|
292
|
+
amount?: Amount | undefined;
|
|
209
293
|
/**
|
|
210
|
-
* @generated from
|
|
294
|
+
* @generated from field: double price_usd = 3;
|
|
211
295
|
*/
|
|
212
|
-
|
|
296
|
+
priceUsd: number;
|
|
213
297
|
/**
|
|
214
|
-
* @generated from
|
|
298
|
+
* @generated from field: double price_percent_change_1d = 4;
|
|
215
299
|
*/
|
|
216
|
-
|
|
300
|
+
pricePercentChange1d: number;
|
|
217
301
|
/**
|
|
218
|
-
* @generated from
|
|
302
|
+
* @generated from field: double value_usd = 5;
|
|
219
303
|
*/
|
|
220
|
-
|
|
304
|
+
valueUsd: number;
|
|
221
305
|
/**
|
|
222
|
-
* @generated from
|
|
306
|
+
* @generated from field: bool is_hidden = 6;
|
|
223
307
|
*/
|
|
224
|
-
|
|
308
|
+
isHidden: boolean;
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* Describes the message data.v1.Balance.
|
|
312
|
+
* Use `create(BalanceSchema)` to create a new message.
|
|
313
|
+
*/
|
|
314
|
+
export declare const BalanceSchema: GenMessage<Balance>;
|
|
315
|
+
/**
|
|
316
|
+
* Chain-specific balance within a multichain token group
|
|
317
|
+
*
|
|
318
|
+
* @generated from message data.v1.ChainBalance
|
|
319
|
+
*/
|
|
320
|
+
export type ChainBalance = Message<"data.v1.ChainBalance"> & {
|
|
225
321
|
/**
|
|
226
|
-
* @generated from
|
|
322
|
+
* @generated from field: uint32 chain_id = 1;
|
|
227
323
|
*/
|
|
228
|
-
|
|
324
|
+
chainId: number;
|
|
229
325
|
/**
|
|
230
|
-
* @generated from
|
|
326
|
+
* @generated from field: string address = 2;
|
|
231
327
|
*/
|
|
232
|
-
|
|
328
|
+
address: string;
|
|
233
329
|
/**
|
|
234
|
-
* @generated from
|
|
330
|
+
* @generated from field: uint32 decimals = 3;
|
|
235
331
|
*/
|
|
236
|
-
|
|
332
|
+
decimals: number;
|
|
237
333
|
/**
|
|
238
|
-
* @generated from
|
|
334
|
+
* @generated from field: data.v1.Amount amount = 4;
|
|
239
335
|
*/
|
|
240
|
-
|
|
336
|
+
amount?: Amount | undefined;
|
|
241
337
|
/**
|
|
242
|
-
* @generated from
|
|
338
|
+
* @generated from field: double value_usd = 5;
|
|
243
339
|
*/
|
|
244
|
-
|
|
340
|
+
valueUsd: number;
|
|
245
341
|
/**
|
|
246
|
-
* @generated from
|
|
342
|
+
* @generated from field: bool is_hidden = 6;
|
|
247
343
|
*/
|
|
248
|
-
|
|
344
|
+
isHidden: boolean;
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* Describes the message data.v1.ChainBalance.
|
|
348
|
+
* Use `create(ChainBalanceSchema)` to create a new message.
|
|
349
|
+
*/
|
|
350
|
+
export declare const ChainBalanceSchema: GenMessage<ChainBalance>;
|
|
351
|
+
/**
|
|
352
|
+
* A token aggregated across multiple chains
|
|
353
|
+
*
|
|
354
|
+
* @generated from message data.v1.MultichainBalance
|
|
355
|
+
*/
|
|
356
|
+
export type MultichainBalance = Message<"data.v1.MultichainBalance"> & {
|
|
249
357
|
/**
|
|
250
|
-
* @generated from
|
|
358
|
+
* @generated from field: string name = 1;
|
|
251
359
|
*/
|
|
252
|
-
|
|
360
|
+
name: string;
|
|
253
361
|
/**
|
|
254
|
-
* @generated from
|
|
362
|
+
* @generated from field: string symbol = 2;
|
|
255
363
|
*/
|
|
256
|
-
|
|
364
|
+
symbol: string;
|
|
257
365
|
/**
|
|
258
|
-
* @generated from
|
|
366
|
+
* @generated from field: data.v1.TokenType type = 3;
|
|
259
367
|
*/
|
|
260
|
-
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* @generated from enum data.v1.TransactionTypeFilter
|
|
264
|
-
*/
|
|
265
|
-
export declare enum TransactionTypeFilter {
|
|
368
|
+
type: TokenType;
|
|
266
369
|
/**
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_UNSPECIFIED = 0;
|
|
370
|
+
* @generated from field: string project_name = 4;
|
|
270
371
|
*/
|
|
271
|
-
|
|
372
|
+
projectName: string;
|
|
272
373
|
/**
|
|
273
|
-
*
|
|
274
|
-
*
|
|
275
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_SWAP = 1;
|
|
374
|
+
* @generated from field: string logo_url = 5;
|
|
276
375
|
*/
|
|
277
|
-
|
|
376
|
+
logoUrl: string;
|
|
278
377
|
/**
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_SEND = 2;
|
|
378
|
+
* @generated from field: data.v1.ProtectionInfo protection_info = 6;
|
|
282
379
|
*/
|
|
283
|
-
|
|
380
|
+
protectionInfo?: ProtectionInfo | undefined;
|
|
284
381
|
/**
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_RECEIVE = 3;
|
|
382
|
+
* @generated from field: data.v1.FeeData fee_data = 7;
|
|
288
383
|
*/
|
|
289
|
-
|
|
384
|
+
feeData?: FeeData | undefined;
|
|
290
385
|
/**
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_WRAP = 4;
|
|
386
|
+
* @generated from field: data.v1.SafetyLevel safety_level = 8;
|
|
294
387
|
*/
|
|
295
|
-
|
|
388
|
+
safetyLevel: SafetyLevel;
|
|
296
389
|
/**
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_APPROVE = 5;
|
|
390
|
+
* @generated from field: data.v1.SpamCode spam_code = 9;
|
|
300
391
|
*/
|
|
301
|
-
|
|
392
|
+
spamCode: SpamCode;
|
|
302
393
|
/**
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_INCREASE_LIQUIDITY = 6;
|
|
394
|
+
* @generated from field: data.v1.Amount total_amount = 10;
|
|
306
395
|
*/
|
|
307
|
-
|
|
396
|
+
totalAmount?: Amount | undefined;
|
|
308
397
|
/**
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_DECREASE_LIQUIDITY = 7;
|
|
398
|
+
* @generated from field: double price_usd = 11;
|
|
312
399
|
*/
|
|
313
|
-
|
|
400
|
+
priceUsd: number;
|
|
314
401
|
/**
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_CLAIM = 8;
|
|
402
|
+
* @generated from field: double price_percent_change_1d = 12;
|
|
318
403
|
*/
|
|
319
|
-
|
|
404
|
+
pricePercentChange1d: number;
|
|
320
405
|
/**
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_MINT = 9;
|
|
406
|
+
* @generated from field: double total_value_usd = 13;
|
|
324
407
|
*/
|
|
325
|
-
|
|
408
|
+
totalValueUsd: number;
|
|
326
409
|
/**
|
|
327
|
-
*
|
|
328
|
-
*
|
|
329
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_CREATE_POOL = 10;
|
|
410
|
+
* @generated from field: bool is_hidden = 14;
|
|
330
411
|
*/
|
|
331
|
-
|
|
412
|
+
isHidden: boolean;
|
|
332
413
|
/**
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_LIMIT_ORDER = 11;
|
|
414
|
+
* @generated from field: repeated data.v1.ChainBalance chain_balances = 15;
|
|
336
415
|
*/
|
|
337
|
-
|
|
416
|
+
chainBalances: ChainBalance[];
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* Describes the message data.v1.MultichainBalance.
|
|
420
|
+
* Use `create(MultichainBalanceSchema)` to create a new message.
|
|
421
|
+
*/
|
|
422
|
+
export declare const MultichainBalanceSchema: GenMessage<MultichainBalance>;
|
|
423
|
+
/**
|
|
424
|
+
* @generated from message data.v1.Amount
|
|
425
|
+
*/
|
|
426
|
+
export type Amount = Message<"data.v1.Amount"> & {
|
|
338
427
|
/**
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_WITHDRAW = 12;
|
|
428
|
+
* @generated from field: string raw = 1;
|
|
342
429
|
*/
|
|
343
|
-
|
|
430
|
+
raw: string;
|
|
344
431
|
/**
|
|
345
|
-
*
|
|
346
|
-
*
|
|
347
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_DEPOSIT = 13;
|
|
432
|
+
* @generated from field: double amount = 2;
|
|
348
433
|
*/
|
|
349
|
-
|
|
434
|
+
amount: number;
|
|
435
|
+
};
|
|
436
|
+
/**
|
|
437
|
+
* Describes the message data.v1.Amount.
|
|
438
|
+
* Use `create(AmountSchema)` to create a new message.
|
|
439
|
+
*/
|
|
440
|
+
export declare const AmountSchema: GenMessage<Amount>;
|
|
441
|
+
/**
|
|
442
|
+
* @generated from message data.v1.Contract
|
|
443
|
+
*/
|
|
444
|
+
export type Contract = Message<"data.v1.Contract"> & {
|
|
350
445
|
/**
|
|
351
|
-
*
|
|
352
|
-
*
|
|
353
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_WITHDRAW = 14;
|
|
446
|
+
* @generated from field: uint32 chain_id = 1;
|
|
354
447
|
*/
|
|
355
|
-
|
|
448
|
+
chainId: number;
|
|
356
449
|
/**
|
|
357
|
-
*
|
|
358
|
-
*
|
|
359
|
-
* @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_TRANSFER = 15;
|
|
450
|
+
* @generated from field: string address = 2;
|
|
360
451
|
*/
|
|
361
|
-
|
|
362
|
-
}
|
|
452
|
+
address: string;
|
|
453
|
+
};
|
|
363
454
|
/**
|
|
364
|
-
*
|
|
455
|
+
* Describes the message data.v1.Contract.
|
|
456
|
+
* Use `create(ContractSchema)` to create a new message.
|
|
365
457
|
*/
|
|
366
|
-
export declare
|
|
458
|
+
export declare const ContractSchema: GenMessage<Contract>;
|
|
459
|
+
/**
|
|
460
|
+
* @generated from message data.v1.Nft
|
|
461
|
+
*/
|
|
462
|
+
export type Nft = Message<"data.v1.Nft"> & {
|
|
367
463
|
/**
|
|
368
|
-
* @generated from
|
|
464
|
+
* @generated from field: uint32 chain_id = 1;
|
|
369
465
|
*/
|
|
370
|
-
|
|
466
|
+
chainId: number;
|
|
371
467
|
/**
|
|
372
|
-
* @generated from
|
|
468
|
+
* @generated from field: string address = 2;
|
|
373
469
|
*/
|
|
374
|
-
|
|
470
|
+
address: string;
|
|
375
471
|
/**
|
|
376
|
-
* @generated from
|
|
472
|
+
* @generated from field: string token_id = 3;
|
|
377
473
|
*/
|
|
378
|
-
|
|
379
|
-
|
|
474
|
+
tokenId: string;
|
|
475
|
+
/**
|
|
476
|
+
* @generated from field: string name = 4;
|
|
477
|
+
*/
|
|
478
|
+
name: string;
|
|
479
|
+
/**
|
|
480
|
+
* @generated from field: string collection_name = 5;
|
|
481
|
+
*/
|
|
482
|
+
collectionName: string;
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: data.v1.TokenType type = 6;
|
|
485
|
+
*/
|
|
486
|
+
type: TokenType;
|
|
487
|
+
/**
|
|
488
|
+
* @generated from field: string image_url = 7;
|
|
489
|
+
*/
|
|
490
|
+
imageUrl: string;
|
|
491
|
+
/**
|
|
492
|
+
* @generated from field: bool is_spam = 8;
|
|
493
|
+
*/
|
|
494
|
+
isSpam: boolean;
|
|
495
|
+
};
|
|
380
496
|
/**
|
|
381
|
-
*
|
|
497
|
+
* Describes the message data.v1.Nft.
|
|
498
|
+
* Use `create(NftSchema)` to create a new message.
|
|
382
499
|
*/
|
|
383
|
-
export declare
|
|
500
|
+
export declare const NftSchema: GenMessage<Nft>;
|
|
501
|
+
/**
|
|
502
|
+
* @generated from message data.v1.Transaction
|
|
503
|
+
*/
|
|
504
|
+
export type Transaction = Message<"data.v1.Transaction"> & {
|
|
384
505
|
/**
|
|
385
|
-
* @generated from
|
|
506
|
+
* @generated from oneof data.v1.Transaction.transaction
|
|
386
507
|
*/
|
|
387
|
-
|
|
508
|
+
transaction: {
|
|
509
|
+
/**
|
|
510
|
+
* @generated from field: data.v1.OnChainTransaction on_chain = 1;
|
|
511
|
+
*/
|
|
512
|
+
value: OnChainTransaction;
|
|
513
|
+
case: "onChain";
|
|
514
|
+
} | {
|
|
515
|
+
/**
|
|
516
|
+
* @generated from field: data.v1.UniswapXTransaction uniswap_x = 2;
|
|
517
|
+
*/
|
|
518
|
+
value: UniswapXTransaction;
|
|
519
|
+
case: "uniswapX";
|
|
520
|
+
} | {
|
|
521
|
+
/**
|
|
522
|
+
* @generated from field: data.v1.FiatOnRampTransaction fiat_on_ramp = 3;
|
|
523
|
+
*/
|
|
524
|
+
value: FiatOnRampTransaction;
|
|
525
|
+
case: "fiatOnRamp";
|
|
526
|
+
} | {
|
|
527
|
+
/**
|
|
528
|
+
* @generated from field: data.v1.PlanTransaction plan = 4;
|
|
529
|
+
*/
|
|
530
|
+
value: PlanTransaction;
|
|
531
|
+
case: "plan";
|
|
532
|
+
} | {
|
|
533
|
+
case: undefined;
|
|
534
|
+
value?: undefined;
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* Describes the message data.v1.Transaction.
|
|
539
|
+
* Use `create(TransactionSchema)` to create a new message.
|
|
540
|
+
*/
|
|
541
|
+
export declare const TransactionSchema: GenMessage<Transaction>;
|
|
542
|
+
/**
|
|
543
|
+
* @generated from message data.v1.OnChainTransaction
|
|
544
|
+
*/
|
|
545
|
+
export type OnChainTransaction = Message<"data.v1.OnChainTransaction"> & {
|
|
388
546
|
/**
|
|
389
|
-
* @generated from
|
|
547
|
+
* @generated from field: uint32 chain_id = 1;
|
|
390
548
|
*/
|
|
391
|
-
|
|
549
|
+
chainId: number;
|
|
392
550
|
/**
|
|
393
|
-
* @generated from
|
|
551
|
+
* @generated from field: uint32 block_number = 2;
|
|
394
552
|
*/
|
|
395
|
-
|
|
553
|
+
blockNumber: number;
|
|
396
554
|
/**
|
|
397
|
-
* @generated from
|
|
555
|
+
* @generated from field: uint64 timestamp_millis = 3;
|
|
398
556
|
*/
|
|
399
|
-
|
|
400
|
-
|
|
557
|
+
timestampMillis: bigint;
|
|
558
|
+
/**
|
|
559
|
+
* @generated from field: string transaction_hash = 4;
|
|
560
|
+
*/
|
|
561
|
+
transactionHash: string;
|
|
562
|
+
/**
|
|
563
|
+
* @generated from field: string from = 5;
|
|
564
|
+
*/
|
|
565
|
+
from: string;
|
|
566
|
+
/**
|
|
567
|
+
* @generated from field: string to = 6;
|
|
568
|
+
*/
|
|
569
|
+
to: string;
|
|
570
|
+
/**
|
|
571
|
+
* @generated from field: repeated data.v1.Transfer transfers = 7;
|
|
572
|
+
*/
|
|
573
|
+
transfers: Transfer[];
|
|
574
|
+
/**
|
|
575
|
+
* @generated from field: repeated data.v1.Approval approvals = 8;
|
|
576
|
+
*/
|
|
577
|
+
approvals: Approval[];
|
|
578
|
+
/**
|
|
579
|
+
* @generated from field: data.v1.OnChainTransactionLabel label = 9;
|
|
580
|
+
*/
|
|
581
|
+
label: OnChainTransactionLabel;
|
|
582
|
+
/**
|
|
583
|
+
* @generated from field: data.v1.OnChainTransactionStatus status = 10;
|
|
584
|
+
*/
|
|
585
|
+
status: OnChainTransactionStatus;
|
|
586
|
+
/**
|
|
587
|
+
* @generated from field: optional data.v1.ProtocolMetadata protocol = 11;
|
|
588
|
+
*/
|
|
589
|
+
protocol?: ProtocolMetadata | undefined;
|
|
590
|
+
/**
|
|
591
|
+
* @generated from field: data.v1.TransactionFee fee = 12;
|
|
592
|
+
*/
|
|
593
|
+
fee?: TransactionFee | undefined;
|
|
594
|
+
/**
|
|
595
|
+
* @generated from field: optional data.v1.Paymaster paymaster = 13;
|
|
596
|
+
*/
|
|
597
|
+
paymaster?: Paymaster | undefined;
|
|
598
|
+
/**
|
|
599
|
+
* @generated from field: optional data.v1.SponsorshipMetadata sponsorship = 14;
|
|
600
|
+
*/
|
|
601
|
+
sponsorship?: SponsorshipMetadata | undefined;
|
|
602
|
+
};
|
|
401
603
|
/**
|
|
402
|
-
*
|
|
604
|
+
* Describes the message data.v1.OnChainTransaction.
|
|
605
|
+
* Use `create(OnChainTransactionSchema)` to create a new message.
|
|
403
606
|
*/
|
|
404
|
-
export declare
|
|
607
|
+
export declare const OnChainTransactionSchema: GenMessage<OnChainTransaction>;
|
|
608
|
+
/**
|
|
609
|
+
* @generated from message data.v1.Transfer
|
|
610
|
+
*/
|
|
611
|
+
export type Transfer = Message<"data.v1.Transfer"> & {
|
|
405
612
|
/**
|
|
406
|
-
* @generated from
|
|
613
|
+
* @generated from field: data.v1.Direction direction = 1;
|
|
407
614
|
*/
|
|
408
|
-
|
|
615
|
+
direction: Direction;
|
|
409
616
|
/**
|
|
410
|
-
* @generated from
|
|
617
|
+
* @generated from field: string from = 2;
|
|
411
618
|
*/
|
|
412
|
-
|
|
619
|
+
from: string;
|
|
413
620
|
/**
|
|
414
|
-
* @generated from
|
|
621
|
+
* @generated from field: string to = 3;
|
|
415
622
|
*/
|
|
416
|
-
|
|
623
|
+
to: string;
|
|
417
624
|
/**
|
|
418
|
-
* @generated from
|
|
625
|
+
* @generated from oneof data.v1.Transfer.asset
|
|
419
626
|
*/
|
|
420
|
-
|
|
627
|
+
asset: {
|
|
628
|
+
/**
|
|
629
|
+
* @generated from field: data.v1.Token token = 4;
|
|
630
|
+
*/
|
|
631
|
+
value: Token;
|
|
632
|
+
case: "token";
|
|
633
|
+
} | {
|
|
634
|
+
/**
|
|
635
|
+
* @generated from field: data.v1.Nft nft = 5;
|
|
636
|
+
*/
|
|
637
|
+
value: Nft;
|
|
638
|
+
case: "nft";
|
|
639
|
+
} | {
|
|
640
|
+
case: undefined;
|
|
641
|
+
value?: undefined;
|
|
642
|
+
};
|
|
421
643
|
/**
|
|
422
|
-
* @generated from
|
|
644
|
+
* @generated from field: data.v1.Amount amount = 6;
|
|
423
645
|
*/
|
|
424
|
-
|
|
646
|
+
amount?: Amount | undefined;
|
|
425
647
|
/**
|
|
426
|
-
*
|
|
648
|
+
* USD value of the transferred amount at transaction time, as priced by the
|
|
649
|
+
* activity provider. Unset when the asset had no known price; a priced asset
|
|
650
|
+
* can legitimately be 0.
|
|
651
|
+
*
|
|
652
|
+
* @generated from field: optional double transacted_value_usd = 7;
|
|
427
653
|
*/
|
|
428
|
-
|
|
429
|
-
}
|
|
654
|
+
transactedValueUsd?: number | undefined;
|
|
655
|
+
};
|
|
656
|
+
/**
|
|
657
|
+
* Describes the message data.v1.Transfer.
|
|
658
|
+
* Use `create(TransferSchema)` to create a new message.
|
|
659
|
+
*/
|
|
660
|
+
export declare const TransferSchema: GenMessage<Transfer>;
|
|
661
|
+
/**
|
|
662
|
+
* @generated from message data.v1.Approval
|
|
663
|
+
*/
|
|
664
|
+
export type Approval = Message<"data.v1.Approval"> & {
|
|
665
|
+
/**
|
|
666
|
+
* @generated from field: string approved_address = 1;
|
|
667
|
+
*/
|
|
668
|
+
approvedAddress: string;
|
|
669
|
+
/**
|
|
670
|
+
* @generated from oneof data.v1.Approval.asset
|
|
671
|
+
*/
|
|
672
|
+
asset: {
|
|
673
|
+
/**
|
|
674
|
+
* @generated from field: data.v1.Token token = 2;
|
|
675
|
+
*/
|
|
676
|
+
value: Token;
|
|
677
|
+
case: "token";
|
|
678
|
+
} | {
|
|
679
|
+
/**
|
|
680
|
+
* @generated from field: data.v1.Nft nft = 3;
|
|
681
|
+
*/
|
|
682
|
+
value: Nft;
|
|
683
|
+
case: "nft";
|
|
684
|
+
} | {
|
|
685
|
+
case: undefined;
|
|
686
|
+
value?: undefined;
|
|
687
|
+
};
|
|
688
|
+
/**
|
|
689
|
+
* @generated from field: data.v1.Amount amount = 4;
|
|
690
|
+
*/
|
|
691
|
+
amount?: Amount | undefined;
|
|
692
|
+
};
|
|
693
|
+
/**
|
|
694
|
+
* Describes the message data.v1.Approval.
|
|
695
|
+
* Use `create(ApprovalSchema)` to create a new message.
|
|
696
|
+
*/
|
|
697
|
+
export declare const ApprovalSchema: GenMessage<Approval>;
|
|
698
|
+
/**
|
|
699
|
+
* @generated from message data.v1.ProtocolMetadata
|
|
700
|
+
*/
|
|
701
|
+
export type ProtocolMetadata = Message<"data.v1.ProtocolMetadata"> & {
|
|
702
|
+
/**
|
|
703
|
+
* @generated from field: string name = 1;
|
|
704
|
+
*/
|
|
705
|
+
name: string;
|
|
706
|
+
/**
|
|
707
|
+
* @generated from field: string logo_url = 2;
|
|
708
|
+
*/
|
|
709
|
+
logoUrl: string;
|
|
710
|
+
};
|
|
711
|
+
/**
|
|
712
|
+
* Describes the message data.v1.ProtocolMetadata.
|
|
713
|
+
* Use `create(ProtocolMetadataSchema)` to create a new message.
|
|
714
|
+
*/
|
|
715
|
+
export declare const ProtocolMetadataSchema: GenMessage<ProtocolMetadata>;
|
|
430
716
|
/**
|
|
431
|
-
* @generated from
|
|
717
|
+
* @generated from message data.v1.UniswapXTransaction
|
|
432
718
|
*/
|
|
433
|
-
export
|
|
719
|
+
export type UniswapXTransaction = Message<"data.v1.UniswapXTransaction"> & {
|
|
434
720
|
/**
|
|
435
|
-
* @generated from
|
|
721
|
+
* @generated from field: uint32 chain_id = 1;
|
|
436
722
|
*/
|
|
437
|
-
|
|
723
|
+
chainId: number;
|
|
438
724
|
/**
|
|
439
|
-
* @generated from
|
|
725
|
+
* @generated from field: uint64 timestamp_millis = 2;
|
|
440
726
|
*/
|
|
441
|
-
|
|
727
|
+
timestampMillis: bigint;
|
|
442
728
|
/**
|
|
443
|
-
* @generated from
|
|
729
|
+
* @generated from field: string offerer = 3;
|
|
444
730
|
*/
|
|
445
|
-
|
|
446
|
-
}
|
|
447
|
-
/**
|
|
448
|
-
* @generated from enum data.v1.ProtectionResult
|
|
449
|
-
*/
|
|
450
|
-
export declare enum ProtectionResult {
|
|
731
|
+
offerer: string;
|
|
451
732
|
/**
|
|
452
|
-
* @generated from
|
|
733
|
+
* @generated from field: string order_hash = 4;
|
|
453
734
|
*/
|
|
454
|
-
|
|
735
|
+
orderHash: string;
|
|
455
736
|
/**
|
|
456
|
-
* @generated from
|
|
737
|
+
* @generated from field: data.v1.Token input_token = 5;
|
|
457
738
|
*/
|
|
458
|
-
|
|
739
|
+
inputToken?: Token | undefined;
|
|
459
740
|
/**
|
|
460
|
-
* @generated from
|
|
741
|
+
* @generated from field: data.v1.Amount input_token_amount = 6;
|
|
461
742
|
*/
|
|
462
|
-
|
|
743
|
+
inputTokenAmount?: Amount | undefined;
|
|
463
744
|
/**
|
|
464
|
-
* @generated from
|
|
745
|
+
* @generated from field: data.v1.Token output_token = 7;
|
|
465
746
|
*/
|
|
466
|
-
|
|
747
|
+
outputToken?: Token | undefined;
|
|
467
748
|
/**
|
|
468
|
-
* @generated from
|
|
749
|
+
* @generated from field: data.v1.Amount output_token_amount = 8;
|
|
469
750
|
*/
|
|
470
|
-
|
|
471
|
-
}
|
|
472
|
-
/**
|
|
473
|
-
* @generated from enum data.v1.AttackType
|
|
474
|
-
*/
|
|
475
|
-
export declare enum AttackType {
|
|
751
|
+
outputTokenAmount?: Amount | undefined;
|
|
476
752
|
/**
|
|
477
|
-
* @generated from
|
|
753
|
+
* @generated from field: uint64 expiry_millis = 9;
|
|
478
754
|
*/
|
|
479
|
-
|
|
755
|
+
expiryMillis: bigint;
|
|
480
756
|
/**
|
|
481
|
-
* @generated from
|
|
757
|
+
* @generated from field: string encoded_order = 10;
|
|
482
758
|
*/
|
|
483
|
-
|
|
759
|
+
encodedOrder: string;
|
|
484
760
|
/**
|
|
485
|
-
* @generated from
|
|
761
|
+
* @generated from field: data.v1.UniswapXOrderType order_type = 11;
|
|
486
762
|
*/
|
|
487
|
-
|
|
763
|
+
orderType: UniswapXOrderType;
|
|
488
764
|
/**
|
|
489
|
-
* @generated from
|
|
765
|
+
* @generated from field: data.v1.UniswapXTransactionStatus status = 12;
|
|
490
766
|
*/
|
|
491
|
-
|
|
767
|
+
status: UniswapXTransactionStatus;
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* Describes the message data.v1.UniswapXTransaction.
|
|
771
|
+
* Use `create(UniswapXTransactionSchema)` to create a new message.
|
|
772
|
+
*/
|
|
773
|
+
export declare const UniswapXTransactionSchema: GenMessage<UniswapXTransaction>;
|
|
774
|
+
/**
|
|
775
|
+
* @generated from message data.v1.FiatOnRampTransaction
|
|
776
|
+
*/
|
|
777
|
+
export type FiatOnRampTransaction = Message<"data.v1.FiatOnRampTransaction"> & {
|
|
492
778
|
/**
|
|
493
|
-
* @generated from
|
|
779
|
+
* @generated from field: uint32 chain_id = 1;
|
|
494
780
|
*/
|
|
495
|
-
|
|
781
|
+
chainId: number;
|
|
496
782
|
/**
|
|
497
|
-
* @generated from
|
|
783
|
+
* @generated from field: uint64 timestamp_millis = 2;
|
|
498
784
|
*/
|
|
499
|
-
|
|
785
|
+
timestampMillis: bigint;
|
|
500
786
|
/**
|
|
501
|
-
* @generated from
|
|
787
|
+
* @generated from field: string wallet_address = 3;
|
|
502
788
|
*/
|
|
503
|
-
|
|
789
|
+
walletAddress: string;
|
|
504
790
|
/**
|
|
505
|
-
* @generated from
|
|
791
|
+
* @generated from field: data.v1.Token token = 4;
|
|
506
792
|
*/
|
|
507
|
-
|
|
793
|
+
token?: Token | undefined;
|
|
508
794
|
/**
|
|
509
|
-
* @generated from
|
|
795
|
+
* @generated from field: data.v1.Amount token_amount = 5;
|
|
510
796
|
*/
|
|
511
|
-
|
|
797
|
+
tokenAmount?: Amount | undefined;
|
|
512
798
|
/**
|
|
513
|
-
* @generated from
|
|
799
|
+
* @generated from field: string fiat_currency = 6;
|
|
514
800
|
*/
|
|
515
|
-
|
|
801
|
+
fiatCurrency: string;
|
|
516
802
|
/**
|
|
517
|
-
* @generated from
|
|
803
|
+
* @generated from field: double fiat_amount = 7;
|
|
518
804
|
*/
|
|
519
|
-
|
|
805
|
+
fiatAmount: number;
|
|
520
806
|
/**
|
|
521
|
-
* @generated from
|
|
807
|
+
* @generated from field: data.v1.OnRampServiceProvider service_provider = 8;
|
|
522
808
|
*/
|
|
523
|
-
|
|
809
|
+
serviceProvider?: OnRampServiceProvider | undefined;
|
|
524
810
|
/**
|
|
525
|
-
* @generated from
|
|
811
|
+
* @generated from field: string transaction_reference_id = 9;
|
|
526
812
|
*/
|
|
527
|
-
|
|
813
|
+
transactionReferenceId: string;
|
|
528
814
|
/**
|
|
529
|
-
* @generated from
|
|
815
|
+
* @generated from field: string external_session_id = 10;
|
|
530
816
|
*/
|
|
531
|
-
|
|
532
|
-
}
|
|
533
|
-
/**
|
|
534
|
-
* @generated from message data.v1.Token
|
|
535
|
-
*/
|
|
536
|
-
export declare class Token extends Message<Token> {
|
|
817
|
+
externalSessionId: string;
|
|
537
818
|
/**
|
|
538
|
-
* @generated from field:
|
|
819
|
+
* @generated from field: double provider_fee = 11;
|
|
539
820
|
*/
|
|
540
|
-
|
|
821
|
+
providerFee: number;
|
|
541
822
|
/**
|
|
542
|
-
* @generated from field:
|
|
823
|
+
* @generated from field: double total_fee = 12;
|
|
543
824
|
*/
|
|
544
|
-
|
|
825
|
+
totalFee: number;
|
|
545
826
|
/**
|
|
546
|
-
* @generated from field:
|
|
827
|
+
* @generated from field: data.v1.FiatOnRampTransactionStatus status = 13;
|
|
547
828
|
*/
|
|
548
|
-
|
|
829
|
+
status: FiatOnRampTransactionStatus;
|
|
549
830
|
/**
|
|
550
|
-
* @generated from field:
|
|
831
|
+
* @generated from field: string transaction_hash = 14;
|
|
551
832
|
*/
|
|
552
|
-
|
|
833
|
+
transactionHash: string;
|
|
553
834
|
/**
|
|
554
|
-
* @generated from field:
|
|
835
|
+
* @generated from field: data.v1.TransactionFee transaction_fee = 15;
|
|
555
836
|
*/
|
|
556
|
-
|
|
837
|
+
transactionFee?: TransactionFee | undefined;
|
|
838
|
+
};
|
|
839
|
+
/**
|
|
840
|
+
* Describes the message data.v1.FiatOnRampTransaction.
|
|
841
|
+
* Use `create(FiatOnRampTransactionSchema)` to create a new message.
|
|
842
|
+
*/
|
|
843
|
+
export declare const FiatOnRampTransactionSchema: GenMessage<FiatOnRampTransaction>;
|
|
844
|
+
/**
|
|
845
|
+
* @generated from message data.v1.OnRampServiceProvider
|
|
846
|
+
*/
|
|
847
|
+
export type OnRampServiceProvider = Message<"data.v1.OnRampServiceProvider"> & {
|
|
557
848
|
/**
|
|
558
|
-
* @generated from field:
|
|
849
|
+
* @generated from field: string service_provider = 1;
|
|
559
850
|
*/
|
|
560
|
-
|
|
851
|
+
serviceProvider: string;
|
|
561
852
|
/**
|
|
562
|
-
* @generated from field:
|
|
853
|
+
* @generated from field: string name = 2;
|
|
563
854
|
*/
|
|
564
|
-
|
|
855
|
+
name: string;
|
|
565
856
|
/**
|
|
566
|
-
* @generated from field:
|
|
857
|
+
* @generated from field: string url = 3;
|
|
567
858
|
*/
|
|
568
|
-
|
|
569
|
-
constructor(data?: PartialMessage<Token>);
|
|
570
|
-
static readonly runtime: typeof proto3;
|
|
571
|
-
static readonly typeName = "data.v1.Token";
|
|
572
|
-
static readonly fields: FieldList;
|
|
573
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Token;
|
|
574
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Token;
|
|
575
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Token;
|
|
576
|
-
static equals(a: Token | PlainMessage<Token> | undefined, b: Token | PlainMessage<Token> | undefined): boolean;
|
|
577
|
-
}
|
|
578
|
-
/**
|
|
579
|
-
* @generated from message data.v1.TokenMetadata
|
|
580
|
-
*/
|
|
581
|
-
export declare class TokenMetadata extends Message<TokenMetadata> {
|
|
859
|
+
url: string;
|
|
582
860
|
/**
|
|
583
|
-
* @generated from field: string
|
|
861
|
+
* @generated from field: string logo_light_url = 4;
|
|
584
862
|
*/
|
|
585
|
-
|
|
863
|
+
logoLightUrl: string;
|
|
586
864
|
/**
|
|
587
|
-
* @generated from field: string
|
|
865
|
+
* @generated from field: string logo_dark_url = 5;
|
|
588
866
|
*/
|
|
589
|
-
|
|
867
|
+
logoDarkUrl: string;
|
|
590
868
|
/**
|
|
591
|
-
* @generated from field:
|
|
869
|
+
* @generated from field: string support_url = 6;
|
|
592
870
|
*/
|
|
593
|
-
|
|
871
|
+
supportUrl: string;
|
|
872
|
+
};
|
|
873
|
+
/**
|
|
874
|
+
* Describes the message data.v1.OnRampServiceProvider.
|
|
875
|
+
* Use `create(OnRampServiceProviderSchema)` to create a new message.
|
|
876
|
+
*/
|
|
877
|
+
export declare const OnRampServiceProviderSchema: GenMessage<OnRampServiceProvider>;
|
|
878
|
+
/**
|
|
879
|
+
* @generated from message data.v1.PlanTransaction
|
|
880
|
+
*/
|
|
881
|
+
export type PlanTransaction = Message<"data.v1.PlanTransaction"> & {
|
|
594
882
|
/**
|
|
595
|
-
* @generated from field:
|
|
883
|
+
* @generated from field: string plan_id = 1;
|
|
596
884
|
*/
|
|
597
|
-
|
|
885
|
+
planId: string;
|
|
598
886
|
/**
|
|
599
|
-
* @generated from field:
|
|
887
|
+
* @generated from field: uint64 timestamp_millis = 2;
|
|
600
888
|
*/
|
|
601
|
-
|
|
889
|
+
timestampMillis: bigint;
|
|
602
890
|
/**
|
|
603
|
-
* @generated from field: data.v1.
|
|
891
|
+
* @generated from field: data.v1.PlanStatus status = 3;
|
|
604
892
|
*/
|
|
605
|
-
|
|
893
|
+
status: PlanStatus;
|
|
606
894
|
/**
|
|
607
|
-
* @generated from field:
|
|
895
|
+
* @generated from field: repeated data.v1.PlanActivity activities = 4;
|
|
608
896
|
*/
|
|
609
|
-
|
|
897
|
+
activities: PlanActivity[];
|
|
610
898
|
/**
|
|
611
|
-
*
|
|
612
|
-
* first id is the preferred tag). Empty on every other v1 token surface.
|
|
613
|
-
*
|
|
614
|
-
* @generated from field: repeated string category_ids = 8;
|
|
899
|
+
* @generated from field: repeated data.v1.TokenAmount assets_in = 5;
|
|
615
900
|
*/
|
|
616
|
-
|
|
617
|
-
constructor(data?: PartialMessage<TokenMetadata>);
|
|
618
|
-
static readonly runtime: typeof proto3;
|
|
619
|
-
static readonly typeName = "data.v1.TokenMetadata";
|
|
620
|
-
static readonly fields: FieldList;
|
|
621
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenMetadata;
|
|
622
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenMetadata;
|
|
623
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenMetadata;
|
|
624
|
-
static equals(a: TokenMetadata | PlainMessage<TokenMetadata> | undefined, b: TokenMetadata | PlainMessage<TokenMetadata> | undefined): boolean;
|
|
625
|
-
}
|
|
626
|
-
/**
|
|
627
|
-
* @generated from message data.v1.ProtectionInfo
|
|
628
|
-
*/
|
|
629
|
-
export declare class ProtectionInfo extends Message<ProtectionInfo> {
|
|
901
|
+
assetsIn: TokenAmount[];
|
|
630
902
|
/**
|
|
631
|
-
* @generated from field: data.v1.
|
|
903
|
+
* @generated from field: repeated data.v1.TokenAmount assets_out = 6;
|
|
632
904
|
*/
|
|
633
|
-
|
|
905
|
+
assetsOut: TokenAmount[];
|
|
634
906
|
/**
|
|
635
|
-
* @generated from field:
|
|
907
|
+
* @generated from field: uint64 created_at_millis = 7;
|
|
636
908
|
*/
|
|
637
|
-
|
|
638
|
-
constructor(data?: PartialMessage<ProtectionInfo>);
|
|
639
|
-
static readonly runtime: typeof proto3;
|
|
640
|
-
static readonly typeName = "data.v1.ProtectionInfo";
|
|
641
|
-
static readonly fields: FieldList;
|
|
642
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProtectionInfo;
|
|
643
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProtectionInfo;
|
|
644
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProtectionInfo;
|
|
645
|
-
static equals(a: ProtectionInfo | PlainMessage<ProtectionInfo> | undefined, b: ProtectionInfo | PlainMessage<ProtectionInfo> | undefined): boolean;
|
|
646
|
-
}
|
|
647
|
-
/**
|
|
648
|
-
* TODO(DAT-1081): dedupe these for the frontend potentially
|
|
649
|
-
*
|
|
650
|
-
* @generated from message data.v1.FeeData
|
|
651
|
-
*/
|
|
652
|
-
export declare class FeeData extends Message<FeeData> {
|
|
909
|
+
createdAtMillis: bigint;
|
|
653
910
|
/**
|
|
654
|
-
* @generated from field:
|
|
911
|
+
* @generated from field: optional uint64 updated_at_millis = 8;
|
|
655
912
|
*/
|
|
656
|
-
|
|
913
|
+
updatedAtMillis?: bigint | undefined;
|
|
657
914
|
/**
|
|
658
|
-
* @generated from field:
|
|
915
|
+
* @generated from field: optional uint64 completed_at_millis = 9;
|
|
659
916
|
*/
|
|
660
|
-
|
|
661
|
-
constructor(data?: PartialMessage<FeeData>);
|
|
662
|
-
static readonly runtime: typeof proto3;
|
|
663
|
-
static readonly typeName = "data.v1.FeeData";
|
|
664
|
-
static readonly fields: FieldList;
|
|
665
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeeData;
|
|
666
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeeData;
|
|
667
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeeData;
|
|
668
|
-
static equals(a: FeeData | PlainMessage<FeeData> | undefined, b: FeeData | PlainMessage<FeeData> | undefined): boolean;
|
|
669
|
-
}
|
|
670
|
-
/**
|
|
671
|
-
* @generated from message data.v1.Blockaid
|
|
672
|
-
*/
|
|
673
|
-
export declare class Blockaid extends Message<Blockaid> {
|
|
917
|
+
completedAtMillis?: bigint | undefined;
|
|
674
918
|
/**
|
|
675
|
-
* @generated from field:
|
|
919
|
+
* @generated from field: optional uint64 duration_millis = 10;
|
|
676
920
|
*/
|
|
677
|
-
|
|
921
|
+
durationMillis?: bigint | undefined;
|
|
678
922
|
/**
|
|
679
|
-
* @generated from field:
|
|
923
|
+
* @generated from field: string swapper = 11;
|
|
680
924
|
*/
|
|
681
|
-
|
|
925
|
+
swapper: string;
|
|
682
926
|
/**
|
|
683
|
-
* @generated from field:
|
|
927
|
+
* @generated from field: string recipient = 12;
|
|
684
928
|
*/
|
|
685
|
-
|
|
686
|
-
constructor(data?: PartialMessage<Blockaid>);
|
|
687
|
-
static readonly runtime: typeof proto3;
|
|
688
|
-
static readonly typeName = "data.v1.Blockaid";
|
|
689
|
-
static readonly fields: FieldList;
|
|
690
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Blockaid;
|
|
691
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Blockaid;
|
|
692
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Blockaid;
|
|
693
|
-
static equals(a: Blockaid | PlainMessage<Blockaid> | undefined, b: Blockaid | PlainMessage<Blockaid> | undefined): boolean;
|
|
694
|
-
}
|
|
695
|
-
/**
|
|
696
|
-
* @generated from message data.v1.FeeDetector
|
|
697
|
-
*/
|
|
698
|
-
export declare class FeeDetector extends Message<FeeDetector> {
|
|
929
|
+
recipient: string;
|
|
699
930
|
/**
|
|
700
|
-
* @generated from field: string
|
|
931
|
+
* @generated from field: repeated string transaction_hashes = 13;
|
|
701
932
|
*/
|
|
702
|
-
|
|
933
|
+
transactionHashes: string[];
|
|
703
934
|
/**
|
|
704
|
-
* @generated from field: string
|
|
935
|
+
* @generated from field: optional string gas_fee = 14;
|
|
705
936
|
*/
|
|
706
|
-
|
|
937
|
+
gasFee?: string | undefined;
|
|
707
938
|
/**
|
|
708
|
-
* @generated from field:
|
|
939
|
+
* @generated from field: optional uint64 last_user_action_at_millis = 15;
|
|
709
940
|
*/
|
|
710
|
-
|
|
941
|
+
lastUserActionAtMillis?: bigint | undefined;
|
|
711
942
|
/**
|
|
712
|
-
*
|
|
943
|
+
* Set when the plan is an Earn vault deposit/withdraw flow. Lets clients
|
|
944
|
+
* label the plan with Earn intent instead of generic swap language.
|
|
945
|
+
*
|
|
946
|
+
* @generated from field: optional data.v1.EarnPlanMetadata earn_metadata = 16;
|
|
713
947
|
*/
|
|
714
|
-
|
|
948
|
+
earnMetadata?: EarnPlanMetadata | undefined;
|
|
715
949
|
/**
|
|
716
|
-
*
|
|
950
|
+
* Set when the plan is a margin position action. Lets clients label the
|
|
951
|
+
* plan with the margin action instead of generic swap language.
|
|
952
|
+
*
|
|
953
|
+
* @generated from field: optional data.v1.MarginPlanMetadata margin_metadata = 17;
|
|
717
954
|
*/
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
static readonly runtime: typeof proto3;
|
|
721
|
-
static readonly typeName = "data.v1.FeeDetector";
|
|
722
|
-
static readonly fields: FieldList;
|
|
723
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeeDetector;
|
|
724
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeeDetector;
|
|
725
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeeDetector;
|
|
726
|
-
static equals(a: FeeDetector | PlainMessage<FeeDetector> | undefined, b: FeeDetector | PlainMessage<FeeDetector> | undefined): boolean;
|
|
727
|
-
}
|
|
955
|
+
marginMetadata?: MarginPlanMetadata | undefined;
|
|
956
|
+
};
|
|
728
957
|
/**
|
|
729
|
-
*
|
|
958
|
+
* Describes the message data.v1.PlanTransaction.
|
|
959
|
+
* Use `create(PlanTransactionSchema)` to create a new message.
|
|
960
|
+
*/
|
|
961
|
+
export declare const PlanTransactionSchema: GenMessage<PlanTransaction>;
|
|
962
|
+
/**
|
|
963
|
+
* Plan-level margin action metadata for margin position flows.
|
|
964
|
+
*
|
|
965
|
+
* @generated from message data.v1.MarginPlanMetadata
|
|
730
966
|
*/
|
|
731
|
-
export
|
|
967
|
+
export type MarginPlanMetadata = Message<"data.v1.MarginPlanMetadata"> & {
|
|
732
968
|
/**
|
|
733
|
-
* @generated from field:
|
|
969
|
+
* @generated from field: data.v1.MarginPlanAction action = 1;
|
|
734
970
|
*/
|
|
735
|
-
|
|
971
|
+
action: MarginPlanAction;
|
|
736
972
|
/**
|
|
737
|
-
*
|
|
973
|
+
* `<collateral>-<debt>-<venue>`; a display key, not a parse target.
|
|
974
|
+
*
|
|
975
|
+
* @generated from field: string market_key = 2;
|
|
738
976
|
*/
|
|
739
|
-
|
|
977
|
+
marketKey: string;
|
|
740
978
|
/**
|
|
741
|
-
* @generated from field:
|
|
979
|
+
* @generated from field: data.v1.MarginPlanVenue venue = 3;
|
|
742
980
|
*/
|
|
743
|
-
|
|
981
|
+
venue: MarginPlanVenue;
|
|
744
982
|
/**
|
|
745
|
-
* @generated from field:
|
|
983
|
+
* @generated from field: string collateral_token = 4;
|
|
746
984
|
*/
|
|
747
|
-
|
|
985
|
+
collateralToken: string;
|
|
748
986
|
/**
|
|
749
|
-
* @generated from field:
|
|
987
|
+
* @generated from field: string debt_token = 5;
|
|
750
988
|
*/
|
|
751
|
-
|
|
989
|
+
debtToken: string;
|
|
990
|
+
};
|
|
991
|
+
/**
|
|
992
|
+
* Describes the message data.v1.MarginPlanMetadata.
|
|
993
|
+
* Use `create(MarginPlanMetadataSchema)` to create a new message.
|
|
994
|
+
*/
|
|
995
|
+
export declare const MarginPlanMetadataSchema: GenMessage<MarginPlanMetadata>;
|
|
996
|
+
/**
|
|
997
|
+
* Plan-level Earn intent metadata for chained Earn vault flows.
|
|
998
|
+
*
|
|
999
|
+
* @generated from message data.v1.EarnPlanMetadata
|
|
1000
|
+
*/
|
|
1001
|
+
export type EarnPlanMetadata = Message<"data.v1.EarnPlanMetadata"> & {
|
|
752
1002
|
/**
|
|
753
|
-
* @generated from field:
|
|
1003
|
+
* @generated from field: data.v1.EarnPlanAction action = 1;
|
|
754
1004
|
*/
|
|
755
|
-
|
|
1005
|
+
action: EarnPlanAction;
|
|
756
1006
|
/**
|
|
757
|
-
*
|
|
1007
|
+
* Vault share token address; unset when not derivable.
|
|
1008
|
+
*
|
|
1009
|
+
* @generated from field: optional string vault = 2;
|
|
758
1010
|
*/
|
|
759
|
-
|
|
1011
|
+
vault?: string | undefined;
|
|
760
1012
|
/**
|
|
761
|
-
* @generated from field:
|
|
1013
|
+
* @generated from field: optional uint32 chain_id = 3;
|
|
762
1014
|
*/
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
static readonly runtime: typeof proto3;
|
|
766
|
-
static readonly typeName = "data.v1.PortfolioValueModifier";
|
|
767
|
-
static readonly fields: FieldList;
|
|
768
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PortfolioValueModifier;
|
|
769
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PortfolioValueModifier;
|
|
770
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PortfolioValueModifier;
|
|
771
|
-
static equals(a: PortfolioValueModifier | PlainMessage<PortfolioValueModifier> | undefined, b: PortfolioValueModifier | PlainMessage<PortfolioValueModifier> | undefined): boolean;
|
|
772
|
-
}
|
|
1015
|
+
chainId?: number | undefined;
|
|
1016
|
+
};
|
|
773
1017
|
/**
|
|
774
|
-
*
|
|
1018
|
+
* Describes the message data.v1.EarnPlanMetadata.
|
|
1019
|
+
* Use `create(EarnPlanMetadataSchema)` to create a new message.
|
|
775
1020
|
*/
|
|
776
|
-
export declare
|
|
1021
|
+
export declare const EarnPlanMetadataSchema: GenMessage<EarnPlanMetadata>;
|
|
1022
|
+
/**
|
|
1023
|
+
* @generated from message data.v1.PlanActivity
|
|
1024
|
+
*/
|
|
1025
|
+
export type PlanActivity = Message<"data.v1.PlanActivity"> & {
|
|
777
1026
|
/**
|
|
778
|
-
* @generated from field: uint32
|
|
1027
|
+
* @generated from field: uint32 step_index = 1;
|
|
779
1028
|
*/
|
|
780
|
-
|
|
1029
|
+
stepIndex: number;
|
|
781
1030
|
/**
|
|
782
|
-
* @generated from field:
|
|
1031
|
+
* @generated from field: data.v1.SwapType swap_type = 2;
|
|
783
1032
|
*/
|
|
784
|
-
|
|
1033
|
+
swapType: SwapType;
|
|
785
1034
|
/**
|
|
786
|
-
* @generated from field: optional
|
|
1035
|
+
* @generated from field: optional data.v1.Token token_in = 3;
|
|
787
1036
|
*/
|
|
788
|
-
|
|
789
|
-
constructor(data?: PartialMessage<PoolRef>);
|
|
790
|
-
static readonly runtime: typeof proto3;
|
|
791
|
-
static readonly typeName = "data.v1.PoolRef";
|
|
792
|
-
static readonly fields: FieldList;
|
|
793
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolRef;
|
|
794
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolRef;
|
|
795
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolRef;
|
|
796
|
-
static equals(a: PoolRef | PlainMessage<PoolRef> | undefined, b: PoolRef | PlainMessage<PoolRef> | undefined): boolean;
|
|
797
|
-
}
|
|
798
|
-
/**
|
|
799
|
-
* @generated from message data.v1.Portfolio
|
|
800
|
-
*/
|
|
801
|
-
export declare class Portfolio extends Message<Portfolio> {
|
|
1037
|
+
tokenIn?: Token | undefined;
|
|
802
1038
|
/**
|
|
803
|
-
* @generated from field:
|
|
1039
|
+
* @generated from field: optional data.v1.Amount token_in_amount = 4;
|
|
804
1040
|
*/
|
|
805
|
-
|
|
1041
|
+
tokenInAmount?: Amount | undefined;
|
|
806
1042
|
/**
|
|
807
|
-
* @generated from field:
|
|
1043
|
+
* @generated from field: optional data.v1.Token token_out = 5;
|
|
808
1044
|
*/
|
|
809
|
-
|
|
1045
|
+
tokenOut?: Token | undefined;
|
|
810
1046
|
/**
|
|
811
|
-
* @generated from field:
|
|
1047
|
+
* @generated from field: optional data.v1.Amount token_out_amount = 6;
|
|
812
1048
|
*/
|
|
813
|
-
|
|
1049
|
+
tokenOutAmount?: Amount | undefined;
|
|
814
1050
|
/**
|
|
815
|
-
* @generated from field:
|
|
1051
|
+
* @generated from field: data.v1.PlanStepStatus status = 7;
|
|
816
1052
|
*/
|
|
817
|
-
|
|
1053
|
+
status: PlanStepStatus;
|
|
818
1054
|
/**
|
|
819
|
-
*
|
|
820
|
-
*
|
|
821
|
-
* @generated from field: repeated data.v1.MultichainBalance multichain_balances = 5;
|
|
1055
|
+
* @generated from field: optional string transaction_hash = 8;
|
|
822
1056
|
*/
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
}
|
|
1057
|
+
transactionHash?: string | undefined;
|
|
1058
|
+
/**
|
|
1059
|
+
* @generated from field: optional uint32 chain_id = 9;
|
|
1060
|
+
*/
|
|
1061
|
+
chainId?: number | undefined;
|
|
1062
|
+
/**
|
|
1063
|
+
* @generated from field: optional string gas_fee = 10;
|
|
1064
|
+
*/
|
|
1065
|
+
gasFee?: string | undefined;
|
|
1066
|
+
};
|
|
833
1067
|
/**
|
|
834
|
-
*
|
|
1068
|
+
* Describes the message data.v1.PlanActivity.
|
|
1069
|
+
* Use `create(PlanActivitySchema)` to create a new message.
|
|
1070
|
+
*/
|
|
1071
|
+
export declare const PlanActivitySchema: GenMessage<PlanActivity>;
|
|
1072
|
+
/**
|
|
1073
|
+
* @generated from message data.v1.TokenAmount
|
|
835
1074
|
*/
|
|
836
|
-
export
|
|
1075
|
+
export type TokenAmount = Message<"data.v1.TokenAmount"> & {
|
|
837
1076
|
/**
|
|
838
1077
|
* @generated from field: data.v1.Token token = 1;
|
|
839
1078
|
*/
|
|
840
|
-
token?: Token;
|
|
1079
|
+
token?: Token | undefined;
|
|
841
1080
|
/**
|
|
842
1081
|
* @generated from field: data.v1.Amount amount = 2;
|
|
843
1082
|
*/
|
|
844
|
-
amount?: Amount;
|
|
1083
|
+
amount?: Amount | undefined;
|
|
1084
|
+
};
|
|
1085
|
+
/**
|
|
1086
|
+
* Describes the message data.v1.TokenAmount.
|
|
1087
|
+
* Use `create(TokenAmountSchema)` to create a new message.
|
|
1088
|
+
*/
|
|
1089
|
+
export declare const TokenAmountSchema: GenMessage<TokenAmount>;
|
|
1090
|
+
/**
|
|
1091
|
+
* @generated from message data.v1.TransactionFee
|
|
1092
|
+
*/
|
|
1093
|
+
export type TransactionFee = Message<"data.v1.TransactionFee"> & {
|
|
845
1094
|
/**
|
|
846
|
-
* @generated from field:
|
|
1095
|
+
* @generated from field: data.v1.Amount amount = 1;
|
|
847
1096
|
*/
|
|
848
|
-
|
|
1097
|
+
amount?: Amount | undefined;
|
|
849
1098
|
/**
|
|
850
|
-
* @generated from field:
|
|
1099
|
+
* @generated from field: string address = 2;
|
|
851
1100
|
*/
|
|
852
|
-
|
|
1101
|
+
address: string;
|
|
853
1102
|
/**
|
|
854
|
-
* @generated from field:
|
|
1103
|
+
* @generated from field: string symbol = 3;
|
|
855
1104
|
*/
|
|
856
|
-
|
|
1105
|
+
symbol: string;
|
|
857
1106
|
/**
|
|
858
|
-
* @generated from field:
|
|
1107
|
+
* @generated from field: uint32 decimals = 4;
|
|
859
1108
|
*/
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
static readonly runtime: typeof proto3;
|
|
863
|
-
static readonly typeName = "data.v1.Balance";
|
|
864
|
-
static readonly fields: FieldList;
|
|
865
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Balance;
|
|
866
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Balance;
|
|
867
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Balance;
|
|
868
|
-
static equals(a: Balance | PlainMessage<Balance> | undefined, b: Balance | PlainMessage<Balance> | undefined): boolean;
|
|
869
|
-
}
|
|
1109
|
+
decimals: number;
|
|
1110
|
+
};
|
|
870
1111
|
/**
|
|
871
|
-
*
|
|
872
|
-
*
|
|
873
|
-
|
|
1112
|
+
* Describes the message data.v1.TransactionFee.
|
|
1113
|
+
* Use `create(TransactionFeeSchema)` to create a new message.
|
|
1114
|
+
*/
|
|
1115
|
+
export declare const TransactionFeeSchema: GenMessage<TransactionFee>;
|
|
1116
|
+
/**
|
|
1117
|
+
* @generated from message data.v1.TimestampedValue
|
|
874
1118
|
*/
|
|
875
|
-
export
|
|
1119
|
+
export type TimestampedValue = Message<"data.v1.TimestampedValue"> & {
|
|
876
1120
|
/**
|
|
877
|
-
* @generated from field:
|
|
1121
|
+
* @generated from field: uint64 timestamp = 1;
|
|
878
1122
|
*/
|
|
879
|
-
|
|
1123
|
+
timestamp: bigint;
|
|
880
1124
|
/**
|
|
881
|
-
* @generated from field:
|
|
1125
|
+
* @generated from field: double value = 2;
|
|
882
1126
|
*/
|
|
883
|
-
|
|
1127
|
+
value: number;
|
|
1128
|
+
};
|
|
1129
|
+
/**
|
|
1130
|
+
* Describes the message data.v1.TimestampedValue.
|
|
1131
|
+
* Use `create(TimestampedValueSchema)` to create a new message.
|
|
1132
|
+
*/
|
|
1133
|
+
export declare const TimestampedValueSchema: GenMessage<TimestampedValue>;
|
|
1134
|
+
/**
|
|
1135
|
+
* @generated from message data.v1.TokenStats
|
|
1136
|
+
*/
|
|
1137
|
+
export type TokenStats = Message<"data.v1.TokenStats"> & {
|
|
884
1138
|
/**
|
|
885
|
-
* @generated from field:
|
|
1139
|
+
* @generated from field: optional double fdv = 1;
|
|
886
1140
|
*/
|
|
887
|
-
|
|
1141
|
+
fdv?: number | undefined;
|
|
888
1142
|
/**
|
|
889
|
-
* @generated from field:
|
|
1143
|
+
* @generated from field: optional double volume_1h = 2;
|
|
890
1144
|
*/
|
|
891
|
-
|
|
1145
|
+
volume1h?: number | undefined;
|
|
892
1146
|
/**
|
|
893
|
-
* @generated from field: double
|
|
1147
|
+
* @generated from field: optional double volume_1d = 3;
|
|
894
1148
|
*/
|
|
895
|
-
|
|
1149
|
+
volume1d?: number | undefined;
|
|
896
1150
|
/**
|
|
897
|
-
* @generated from field:
|
|
1151
|
+
* @generated from field: optional double volume_7d = 4;
|
|
898
1152
|
*/
|
|
899
|
-
|
|
900
|
-
constructor(data?: PartialMessage<ChainBalance>);
|
|
901
|
-
static readonly runtime: typeof proto3;
|
|
902
|
-
static readonly typeName = "data.v1.ChainBalance";
|
|
903
|
-
static readonly fields: FieldList;
|
|
904
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChainBalance;
|
|
905
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChainBalance;
|
|
906
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChainBalance;
|
|
907
|
-
static equals(a: ChainBalance | PlainMessage<ChainBalance> | undefined, b: ChainBalance | PlainMessage<ChainBalance> | undefined): boolean;
|
|
908
|
-
}
|
|
909
|
-
/**
|
|
910
|
-
* A token aggregated across multiple chains
|
|
911
|
-
*
|
|
912
|
-
* @generated from message data.v1.MultichainBalance
|
|
913
|
-
*/
|
|
914
|
-
export declare class MultichainBalance extends Message<MultichainBalance> {
|
|
1153
|
+
volume7d?: number | undefined;
|
|
915
1154
|
/**
|
|
916
|
-
* @generated from field:
|
|
1155
|
+
* @generated from field: optional double volume_30d = 5;
|
|
917
1156
|
*/
|
|
918
|
-
|
|
1157
|
+
volume30d?: number | undefined;
|
|
919
1158
|
/**
|
|
920
|
-
* @generated from field:
|
|
1159
|
+
* @generated from field: optional double volume_1y = 6;
|
|
921
1160
|
*/
|
|
922
|
-
|
|
1161
|
+
volume1y?: number | undefined;
|
|
923
1162
|
/**
|
|
924
|
-
* @generated from field:
|
|
1163
|
+
* @generated from field: optional float price = 7;
|
|
925
1164
|
*/
|
|
926
|
-
|
|
1165
|
+
price?: number | undefined;
|
|
927
1166
|
/**
|
|
928
|
-
* @generated from field:
|
|
1167
|
+
* @generated from field: optional float price_change_1h = 8;
|
|
929
1168
|
*/
|
|
930
|
-
|
|
1169
|
+
priceChange1h?: number | undefined;
|
|
931
1170
|
/**
|
|
932
|
-
* @generated from field:
|
|
1171
|
+
* @generated from field: optional float price_change_1d = 9;
|
|
933
1172
|
*/
|
|
934
|
-
|
|
1173
|
+
priceChange1d?: number | undefined;
|
|
935
1174
|
/**
|
|
936
|
-
* @generated from field: data.v1.
|
|
1175
|
+
* @generated from field: repeated data.v1.TimestampedValue price_history_1d = 10;
|
|
937
1176
|
*/
|
|
938
|
-
|
|
1177
|
+
priceHistory1d: TimestampedValue[];
|
|
1178
|
+
};
|
|
1179
|
+
/**
|
|
1180
|
+
* Describes the message data.v1.TokenStats.
|
|
1181
|
+
* Use `create(TokenStatsSchema)` to create a new message.
|
|
1182
|
+
*/
|
|
1183
|
+
export declare const TokenStatsSchema: GenMessage<TokenStats>;
|
|
1184
|
+
/**
|
|
1185
|
+
* @generated from message data.v1.Paymaster
|
|
1186
|
+
*/
|
|
1187
|
+
export type Paymaster = Message<"data.v1.Paymaster"> & {
|
|
939
1188
|
/**
|
|
940
|
-
* @generated from field:
|
|
1189
|
+
* @generated from field: string address = 1;
|
|
941
1190
|
*/
|
|
942
|
-
|
|
1191
|
+
address: string;
|
|
943
1192
|
/**
|
|
944
|
-
* @generated from field:
|
|
1193
|
+
* @generated from field: optional string name = 2;
|
|
945
1194
|
*/
|
|
946
|
-
|
|
1195
|
+
name?: string | undefined;
|
|
1196
|
+
};
|
|
1197
|
+
/**
|
|
1198
|
+
* Describes the message data.v1.Paymaster.
|
|
1199
|
+
* Use `create(PaymasterSchema)` to create a new message.
|
|
1200
|
+
*/
|
|
1201
|
+
export declare const PaymasterSchema: GenMessage<Paymaster>;
|
|
1202
|
+
/**
|
|
1203
|
+
* Sponsor identity for a gas-sponsored transaction, resolved from the
|
|
1204
|
+
* internal Sponsorship service (platform-service). Complements Paymaster,
|
|
1205
|
+
* which only carries the on-chain paymaster contract address.
|
|
1206
|
+
*
|
|
1207
|
+
* @generated from message data.v1.SponsorshipMetadata
|
|
1208
|
+
*/
|
|
1209
|
+
export type SponsorshipMetadata = Message<"data.v1.SponsorshipMetadata"> & {
|
|
947
1210
|
/**
|
|
948
|
-
* @generated from field:
|
|
1211
|
+
* @generated from field: string name = 1;
|
|
949
1212
|
*/
|
|
950
|
-
|
|
1213
|
+
name: string;
|
|
951
1214
|
/**
|
|
952
|
-
* @generated from field:
|
|
1215
|
+
* @generated from field: optional string logo_url = 2;
|
|
953
1216
|
*/
|
|
954
|
-
|
|
1217
|
+
logoUrl?: string | undefined;
|
|
1218
|
+
};
|
|
1219
|
+
/**
|
|
1220
|
+
* Describes the message data.v1.SponsorshipMetadata.
|
|
1221
|
+
* Use `create(SponsorshipMetadataSchema)` to create a new message.
|
|
1222
|
+
*/
|
|
1223
|
+
export declare const SponsorshipMetadataSchema: GenMessage<SponsorshipMetadata>;
|
|
1224
|
+
/**
|
|
1225
|
+
* @generated from message data.v1.WalletProfitLoss
|
|
1226
|
+
*/
|
|
1227
|
+
export type WalletProfitLoss = Message<"data.v1.WalletProfitLoss"> & {
|
|
955
1228
|
/**
|
|
956
|
-
* @generated from field: double
|
|
1229
|
+
* @generated from field: double net_invested_usd = 1;
|
|
957
1230
|
*/
|
|
958
|
-
|
|
1231
|
+
netInvestedUsd: number;
|
|
959
1232
|
/**
|
|
960
|
-
* @generated from field: double
|
|
1233
|
+
* @generated from field: double unrealized_return_usd = 2;
|
|
961
1234
|
*/
|
|
962
|
-
|
|
1235
|
+
unrealizedReturnUsd: number;
|
|
963
1236
|
/**
|
|
964
|
-
* @generated from field: double
|
|
1237
|
+
* @generated from field: double unrealized_return_percent = 3;
|
|
965
1238
|
*/
|
|
966
|
-
|
|
1239
|
+
unrealizedReturnPercent: number;
|
|
967
1240
|
/**
|
|
968
|
-
* @generated from field:
|
|
1241
|
+
* @generated from field: double realized_return_usd = 4;
|
|
969
1242
|
*/
|
|
970
|
-
|
|
1243
|
+
realizedReturnUsd: number;
|
|
971
1244
|
/**
|
|
972
|
-
* @generated from field:
|
|
1245
|
+
* @generated from field: double total_return_usd = 5;
|
|
973
1246
|
*/
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MultichainBalance;
|
|
981
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MultichainBalance;
|
|
982
|
-
static equals(a: MultichainBalance | PlainMessage<MultichainBalance> | undefined, b: MultichainBalance | PlainMessage<MultichainBalance> | undefined): boolean;
|
|
983
|
-
}
|
|
1247
|
+
totalReturnUsd: number;
|
|
1248
|
+
/**
|
|
1249
|
+
* @generated from field: double total_fee_usd = 6;
|
|
1250
|
+
*/
|
|
1251
|
+
totalFeeUsd: number;
|
|
1252
|
+
};
|
|
984
1253
|
/**
|
|
985
|
-
*
|
|
1254
|
+
* Describes the message data.v1.WalletProfitLoss.
|
|
1255
|
+
* Use `create(WalletProfitLossSchema)` to create a new message.
|
|
1256
|
+
*/
|
|
1257
|
+
export declare const WalletProfitLossSchema: GenMessage<WalletProfitLoss>;
|
|
1258
|
+
/**
|
|
1259
|
+
* @generated from message data.v1.TokenProfitLoss
|
|
986
1260
|
*/
|
|
987
|
-
export
|
|
1261
|
+
export type TokenProfitLoss = Message<"data.v1.TokenProfitLoss"> & {
|
|
988
1262
|
/**
|
|
989
|
-
* @generated from field:
|
|
1263
|
+
* @generated from field: data.v1.Token token = 1;
|
|
990
1264
|
*/
|
|
991
|
-
|
|
1265
|
+
token?: Token | undefined;
|
|
992
1266
|
/**
|
|
993
|
-
* @generated from field: double
|
|
1267
|
+
* @generated from field: double average_cost_usd = 2;
|
|
994
1268
|
*/
|
|
995
|
-
|
|
996
|
-
constructor(data?: PartialMessage<Amount>);
|
|
997
|
-
static readonly runtime: typeof proto3;
|
|
998
|
-
static readonly typeName = "data.v1.Amount";
|
|
999
|
-
static readonly fields: FieldList;
|
|
1000
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Amount;
|
|
1001
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Amount;
|
|
1002
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Amount;
|
|
1003
|
-
static equals(a: Amount | PlainMessage<Amount> | undefined, b: Amount | PlainMessage<Amount> | undefined): boolean;
|
|
1004
|
-
}
|
|
1005
|
-
/**
|
|
1006
|
-
* @generated from message data.v1.Contract
|
|
1007
|
-
*/
|
|
1008
|
-
export declare class Contract extends Message<Contract> {
|
|
1269
|
+
averageCostUsd: number;
|
|
1009
1270
|
/**
|
|
1010
|
-
* @generated from field:
|
|
1271
|
+
* @generated from field: double unrealized_return_usd = 3;
|
|
1011
1272
|
*/
|
|
1012
|
-
|
|
1273
|
+
unrealizedReturnUsd: number;
|
|
1013
1274
|
/**
|
|
1014
|
-
* @generated from field:
|
|
1275
|
+
* @generated from field: double unrealized_return_percent = 4;
|
|
1015
1276
|
*/
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
static readonly runtime: typeof proto3;
|
|
1019
|
-
static readonly typeName = "data.v1.Contract";
|
|
1020
|
-
static readonly fields: FieldList;
|
|
1021
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Contract;
|
|
1022
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Contract;
|
|
1023
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Contract;
|
|
1024
|
-
static equals(a: Contract | PlainMessage<Contract> | undefined, b: Contract | PlainMessage<Contract> | undefined): boolean;
|
|
1025
|
-
}
|
|
1277
|
+
unrealizedReturnPercent: number;
|
|
1278
|
+
};
|
|
1026
1279
|
/**
|
|
1027
|
-
*
|
|
1280
|
+
* Describes the message data.v1.TokenProfitLoss.
|
|
1281
|
+
* Use `create(TokenProfitLossSchema)` to create a new message.
|
|
1028
1282
|
*/
|
|
1029
|
-
export declare
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1283
|
+
export declare const TokenProfitLossSchema: GenMessage<TokenProfitLoss>;
|
|
1284
|
+
/**
|
|
1285
|
+
* @generated from message data.v1.TokenDetailProfitLoss
|
|
1286
|
+
*/
|
|
1287
|
+
export type TokenDetailProfitLoss = Message<"data.v1.TokenDetailProfitLoss"> & {
|
|
1034
1288
|
/**
|
|
1035
|
-
* @generated from field:
|
|
1289
|
+
* @generated from field: double average_cost_usd = 1;
|
|
1036
1290
|
*/
|
|
1037
|
-
|
|
1291
|
+
averageCostUsd: number;
|
|
1038
1292
|
/**
|
|
1039
|
-
* @generated from field:
|
|
1293
|
+
* @generated from field: double one_day_return_usd = 2;
|
|
1040
1294
|
*/
|
|
1041
|
-
|
|
1295
|
+
oneDayReturnUsd: number;
|
|
1042
1296
|
/**
|
|
1043
|
-
* @generated from field:
|
|
1297
|
+
* @generated from field: double one_day_return_percent = 3;
|
|
1044
1298
|
*/
|
|
1045
|
-
|
|
1299
|
+
oneDayReturnPercent: number;
|
|
1046
1300
|
/**
|
|
1047
|
-
* @generated from field:
|
|
1301
|
+
* @generated from field: double unrealized_return_usd = 4;
|
|
1048
1302
|
*/
|
|
1049
|
-
|
|
1303
|
+
unrealizedReturnUsd: number;
|
|
1050
1304
|
/**
|
|
1051
|
-
* @generated from field:
|
|
1305
|
+
* @generated from field: double unrealized_return_percent = 5;
|
|
1052
1306
|
*/
|
|
1053
|
-
|
|
1307
|
+
unrealizedReturnPercent: number;
|
|
1054
1308
|
/**
|
|
1055
|
-
* @generated from field:
|
|
1309
|
+
* @generated from field: double realized_return_usd = 6;
|
|
1056
1310
|
*/
|
|
1057
|
-
|
|
1311
|
+
realizedReturnUsd: number;
|
|
1058
1312
|
/**
|
|
1059
|
-
* @generated from field:
|
|
1313
|
+
* @generated from field: double realized_return_percent = 7;
|
|
1060
1314
|
*/
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
static readonly runtime: typeof proto3;
|
|
1064
|
-
static readonly typeName = "data.v1.Nft";
|
|
1065
|
-
static readonly fields: FieldList;
|
|
1066
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Nft;
|
|
1067
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Nft;
|
|
1068
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Nft;
|
|
1069
|
-
static equals(a: Nft | PlainMessage<Nft> | undefined, b: Nft | PlainMessage<Nft> | undefined): boolean;
|
|
1070
|
-
}
|
|
1315
|
+
realizedReturnPercent: number;
|
|
1316
|
+
};
|
|
1071
1317
|
/**
|
|
1072
|
-
*
|
|
1318
|
+
* Describes the message data.v1.TokenDetailProfitLoss.
|
|
1319
|
+
* Use `create(TokenDetailProfitLossSchema)` to create a new message.
|
|
1073
1320
|
*/
|
|
1074
|
-
export declare
|
|
1075
|
-
/**
|
|
1076
|
-
* @generated from oneof data.v1.Transaction.transaction
|
|
1077
|
-
*/
|
|
1078
|
-
transaction: {
|
|
1079
|
-
/**
|
|
1080
|
-
* @generated from field: data.v1.OnChainTransaction on_chain = 1;
|
|
1081
|
-
*/
|
|
1082
|
-
value: OnChainTransaction;
|
|
1083
|
-
case: "onChain";
|
|
1084
|
-
} | {
|
|
1085
|
-
/**
|
|
1086
|
-
* @generated from field: data.v1.UniswapXTransaction uniswap_x = 2;
|
|
1087
|
-
*/
|
|
1088
|
-
value: UniswapXTransaction;
|
|
1089
|
-
case: "uniswapX";
|
|
1090
|
-
} | {
|
|
1091
|
-
/**
|
|
1092
|
-
* @generated from field: data.v1.FiatOnRampTransaction fiat_on_ramp = 3;
|
|
1093
|
-
*/
|
|
1094
|
-
value: FiatOnRampTransaction;
|
|
1095
|
-
case: "fiatOnRamp";
|
|
1096
|
-
} | {
|
|
1097
|
-
/**
|
|
1098
|
-
* @generated from field: data.v1.PlanTransaction plan = 4;
|
|
1099
|
-
*/
|
|
1100
|
-
value: PlanTransaction;
|
|
1101
|
-
case: "plan";
|
|
1102
|
-
} | {
|
|
1103
|
-
case: undefined;
|
|
1104
|
-
value?: undefined;
|
|
1105
|
-
};
|
|
1106
|
-
constructor(data?: PartialMessage<Transaction>);
|
|
1107
|
-
static readonly runtime: typeof proto3;
|
|
1108
|
-
static readonly typeName = "data.v1.Transaction";
|
|
1109
|
-
static readonly fields: FieldList;
|
|
1110
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Transaction;
|
|
1111
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Transaction;
|
|
1112
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Transaction;
|
|
1113
|
-
static equals(a: Transaction | PlainMessage<Transaction> | undefined, b: Transaction | PlainMessage<Transaction> | undefined): boolean;
|
|
1114
|
-
}
|
|
1321
|
+
export declare const TokenDetailProfitLossSchema: GenMessage<TokenDetailProfitLoss>;
|
|
1115
1322
|
/**
|
|
1116
|
-
*
|
|
1323
|
+
* Per-chain PnL within a multichain token group
|
|
1324
|
+
*
|
|
1325
|
+
* @generated from message data.v1.ChainTokenProfitLoss
|
|
1117
1326
|
*/
|
|
1118
|
-
export
|
|
1327
|
+
export type ChainTokenProfitLoss = Message<"data.v1.ChainTokenProfitLoss"> & {
|
|
1119
1328
|
/**
|
|
1120
1329
|
* @generated from field: uint32 chain_id = 1;
|
|
1121
1330
|
*/
|
|
1122
1331
|
chainId: number;
|
|
1123
1332
|
/**
|
|
1124
|
-
* @generated from field:
|
|
1125
|
-
*/
|
|
1126
|
-
blockNumber: number;
|
|
1127
|
-
/**
|
|
1128
|
-
* @generated from field: uint64 timestamp_millis = 3;
|
|
1129
|
-
*/
|
|
1130
|
-
timestampMillis: bigint;
|
|
1131
|
-
/**
|
|
1132
|
-
* @generated from field: string transaction_hash = 4;
|
|
1133
|
-
*/
|
|
1134
|
-
transactionHash: string;
|
|
1135
|
-
/**
|
|
1136
|
-
* @generated from field: string from = 5;
|
|
1137
|
-
*/
|
|
1138
|
-
from: string;
|
|
1139
|
-
/**
|
|
1140
|
-
* @generated from field: string to = 6;
|
|
1333
|
+
* @generated from field: string token_address = 2;
|
|
1141
1334
|
*/
|
|
1142
|
-
|
|
1335
|
+
tokenAddress: string;
|
|
1143
1336
|
/**
|
|
1144
|
-
* @generated from field:
|
|
1337
|
+
* @generated from field: double average_cost_usd = 3;
|
|
1145
1338
|
*/
|
|
1146
|
-
|
|
1339
|
+
averageCostUsd: number;
|
|
1147
1340
|
/**
|
|
1148
|
-
* @generated from field:
|
|
1341
|
+
* @generated from field: double unrealized_return_usd = 4;
|
|
1149
1342
|
*/
|
|
1150
|
-
|
|
1343
|
+
unrealizedReturnUsd: number;
|
|
1151
1344
|
/**
|
|
1152
|
-
* @generated from field:
|
|
1345
|
+
* @generated from field: double unrealized_return_percent = 5;
|
|
1153
1346
|
*/
|
|
1154
|
-
|
|
1347
|
+
unrealizedReturnPercent: number;
|
|
1348
|
+
};
|
|
1349
|
+
/**
|
|
1350
|
+
* Describes the message data.v1.ChainTokenProfitLoss.
|
|
1351
|
+
* Use `create(ChainTokenProfitLossSchema)` to create a new message.
|
|
1352
|
+
*/
|
|
1353
|
+
export declare const ChainTokenProfitLossSchema: GenMessage<ChainTokenProfitLoss>;
|
|
1354
|
+
/**
|
|
1355
|
+
* A token aggregated across multiple chains with per-chain breakdown
|
|
1356
|
+
*
|
|
1357
|
+
* @generated from message data.v1.MultichainTokenProfitLoss
|
|
1358
|
+
*/
|
|
1359
|
+
export type MultichainTokenProfitLoss = Message<"data.v1.MultichainTokenProfitLoss"> & {
|
|
1155
1360
|
/**
|
|
1156
|
-
* @generated from field:
|
|
1361
|
+
* @generated from field: string name = 1;
|
|
1157
1362
|
*/
|
|
1158
|
-
|
|
1363
|
+
name: string;
|
|
1159
1364
|
/**
|
|
1160
|
-
* @generated from field:
|
|
1365
|
+
* @generated from field: string symbol = 2;
|
|
1161
1366
|
*/
|
|
1162
|
-
|
|
1367
|
+
symbol: string;
|
|
1163
1368
|
/**
|
|
1164
|
-
* @generated from field:
|
|
1369
|
+
* @generated from field: string logo_url = 3;
|
|
1165
1370
|
*/
|
|
1166
|
-
|
|
1371
|
+
logoUrl: string;
|
|
1167
1372
|
/**
|
|
1168
|
-
* @generated from field:
|
|
1373
|
+
* @generated from field: data.v1.TokenProfitLoss aggregated = 4;
|
|
1169
1374
|
*/
|
|
1170
|
-
|
|
1375
|
+
aggregated?: TokenProfitLoss | undefined;
|
|
1171
1376
|
/**
|
|
1172
|
-
* @generated from field:
|
|
1377
|
+
* @generated from field: repeated data.v1.ChainTokenProfitLoss chain_breakdown = 5;
|
|
1173
1378
|
*/
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
static readonly runtime: typeof proto3;
|
|
1177
|
-
static readonly typeName = "data.v1.OnChainTransaction";
|
|
1178
|
-
static readonly fields: FieldList;
|
|
1179
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OnChainTransaction;
|
|
1180
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OnChainTransaction;
|
|
1181
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OnChainTransaction;
|
|
1182
|
-
static equals(a: OnChainTransaction | PlainMessage<OnChainTransaction> | undefined, b: OnChainTransaction | PlainMessage<OnChainTransaction> | undefined): boolean;
|
|
1183
|
-
}
|
|
1379
|
+
chainBreakdown: ChainTokenProfitLoss[];
|
|
1380
|
+
};
|
|
1184
1381
|
/**
|
|
1185
|
-
*
|
|
1382
|
+
* Describes the message data.v1.MultichainTokenProfitLoss.
|
|
1383
|
+
* Use `create(MultichainTokenProfitLossSchema)` to create a new message.
|
|
1384
|
+
*/
|
|
1385
|
+
export declare const MultichainTokenProfitLossSchema: GenMessage<MultichainTokenProfitLoss>;
|
|
1386
|
+
/**
|
|
1387
|
+
* @generated from enum data.v1.TokenType
|
|
1186
1388
|
*/
|
|
1187
|
-
export declare
|
|
1389
|
+
export declare enum TokenType {
|
|
1188
1390
|
/**
|
|
1189
|
-
* @generated from
|
|
1391
|
+
* @generated from enum value: TOKEN_TYPE_UNKNOWN = 0;
|
|
1190
1392
|
*/
|
|
1191
|
-
|
|
1393
|
+
UNKNOWN = 0,
|
|
1192
1394
|
/**
|
|
1193
|
-
* @generated from
|
|
1395
|
+
* @generated from enum value: TOKEN_TYPE_NATIVE = 1;
|
|
1194
1396
|
*/
|
|
1195
|
-
|
|
1397
|
+
NATIVE = 1,
|
|
1196
1398
|
/**
|
|
1197
|
-
* @generated from
|
|
1399
|
+
* @generated from enum value: TOKEN_TYPE_ERC20 = 2;
|
|
1198
1400
|
*/
|
|
1199
|
-
|
|
1401
|
+
ERC20 = 2,
|
|
1200
1402
|
/**
|
|
1201
|
-
* @generated from
|
|
1403
|
+
* @generated from enum value: TOKEN_TYPE_ERC721 = 3;
|
|
1202
1404
|
*/
|
|
1203
|
-
|
|
1204
|
-
/**
|
|
1205
|
-
* @generated from field: data.v1.Token token = 4;
|
|
1206
|
-
*/
|
|
1207
|
-
value: Token;
|
|
1208
|
-
case: "token";
|
|
1209
|
-
} | {
|
|
1210
|
-
/**
|
|
1211
|
-
* @generated from field: data.v1.Nft nft = 5;
|
|
1212
|
-
*/
|
|
1213
|
-
value: Nft;
|
|
1214
|
-
case: "nft";
|
|
1215
|
-
} | {
|
|
1216
|
-
case: undefined;
|
|
1217
|
-
value?: undefined;
|
|
1218
|
-
};
|
|
1405
|
+
ERC721 = 3,
|
|
1219
1406
|
/**
|
|
1220
|
-
* @generated from
|
|
1407
|
+
* @generated from enum value: TOKEN_TYPE_ERC1155 = 4;
|
|
1221
1408
|
*/
|
|
1222
|
-
|
|
1409
|
+
ERC1155 = 4,
|
|
1223
1410
|
/**
|
|
1224
|
-
*
|
|
1225
|
-
* activity provider. Unset when the asset had no known price; a priced asset
|
|
1226
|
-
* can legitimately be 0.
|
|
1227
|
-
*
|
|
1228
|
-
* @generated from field: optional double transacted_value_usd = 7;
|
|
1411
|
+
* @generated from enum value: TOKEN_TYPE_SPL = 5;
|
|
1229
1412
|
*/
|
|
1230
|
-
|
|
1231
|
-
constructor(data?: PartialMessage<Transfer>);
|
|
1232
|
-
static readonly runtime: typeof proto3;
|
|
1233
|
-
static readonly typeName = "data.v1.Transfer";
|
|
1234
|
-
static readonly fields: FieldList;
|
|
1235
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Transfer;
|
|
1236
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Transfer;
|
|
1237
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Transfer;
|
|
1238
|
-
static equals(a: Transfer | PlainMessage<Transfer> | undefined, b: Transfer | PlainMessage<Transfer> | undefined): boolean;
|
|
1413
|
+
SPL = 5
|
|
1239
1414
|
}
|
|
1240
1415
|
/**
|
|
1241
|
-
*
|
|
1416
|
+
* Describes the enum data.v1.TokenType.
|
|
1242
1417
|
*/
|
|
1243
|
-
export declare
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1418
|
+
export declare const TokenTypeSchema: GenEnum<TokenType>;
|
|
1419
|
+
/**
|
|
1420
|
+
* @generated from enum data.v1.SpamCode
|
|
1421
|
+
*/
|
|
1422
|
+
export declare enum SpamCode {
|
|
1248
1423
|
/**
|
|
1249
|
-
* @generated from
|
|
1424
|
+
* @generated from enum value: SPAM_CODE_UNKNOWN = 0;
|
|
1250
1425
|
*/
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* @generated from field: data.v1.Token token = 2;
|
|
1254
|
-
*/
|
|
1255
|
-
value: Token;
|
|
1256
|
-
case: "token";
|
|
1257
|
-
} | {
|
|
1258
|
-
/**
|
|
1259
|
-
* @generated from field: data.v1.Nft nft = 3;
|
|
1260
|
-
*/
|
|
1261
|
-
value: Nft;
|
|
1262
|
-
case: "nft";
|
|
1263
|
-
} | {
|
|
1264
|
-
case: undefined;
|
|
1265
|
-
value?: undefined;
|
|
1266
|
-
};
|
|
1426
|
+
UNKNOWN = 0,
|
|
1267
1427
|
/**
|
|
1268
|
-
* @generated from
|
|
1428
|
+
* @generated from enum value: SPAM_CODE_NOT_SPAM = 1;
|
|
1269
1429
|
*/
|
|
1270
|
-
|
|
1271
|
-
constructor(data?: PartialMessage<Approval>);
|
|
1272
|
-
static readonly runtime: typeof proto3;
|
|
1273
|
-
static readonly typeName = "data.v1.Approval";
|
|
1274
|
-
static readonly fields: FieldList;
|
|
1275
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Approval;
|
|
1276
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Approval;
|
|
1277
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Approval;
|
|
1278
|
-
static equals(a: Approval | PlainMessage<Approval> | undefined, b: Approval | PlainMessage<Approval> | undefined): boolean;
|
|
1279
|
-
}
|
|
1280
|
-
/**
|
|
1281
|
-
* @generated from message data.v1.ProtocolMetadata
|
|
1282
|
-
*/
|
|
1283
|
-
export declare class ProtocolMetadata extends Message<ProtocolMetadata> {
|
|
1430
|
+
NOT_SPAM = 1,
|
|
1284
1431
|
/**
|
|
1285
|
-
* @generated from
|
|
1432
|
+
* @generated from enum value: SPAM_CODE_SPAM = 2;
|
|
1286
1433
|
*/
|
|
1287
|
-
|
|
1434
|
+
SPAM = 2,
|
|
1288
1435
|
/**
|
|
1289
|
-
* @generated from
|
|
1436
|
+
* @generated from enum value: SPAM_CODE_SPAM_URL = 3;
|
|
1290
1437
|
*/
|
|
1291
|
-
|
|
1292
|
-
constructor(data?: PartialMessage<ProtocolMetadata>);
|
|
1293
|
-
static readonly runtime: typeof proto3;
|
|
1294
|
-
static readonly typeName = "data.v1.ProtocolMetadata";
|
|
1295
|
-
static readonly fields: FieldList;
|
|
1296
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProtocolMetadata;
|
|
1297
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProtocolMetadata;
|
|
1298
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProtocolMetadata;
|
|
1299
|
-
static equals(a: ProtocolMetadata | PlainMessage<ProtocolMetadata> | undefined, b: ProtocolMetadata | PlainMessage<ProtocolMetadata> | undefined): boolean;
|
|
1438
|
+
SPAM_URL = 3
|
|
1300
1439
|
}
|
|
1301
1440
|
/**
|
|
1302
|
-
*
|
|
1441
|
+
* Describes the enum data.v1.SpamCode.
|
|
1303
1442
|
*/
|
|
1304
|
-
export declare
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1443
|
+
export declare const SpamCodeSchema: GenEnum<SpamCode>;
|
|
1444
|
+
/**
|
|
1445
|
+
* @generated from enum data.v1.SafetyLevel
|
|
1446
|
+
*/
|
|
1447
|
+
export declare enum SafetyLevel {
|
|
1309
1448
|
/**
|
|
1310
|
-
* @generated from
|
|
1449
|
+
* @generated from enum value: SAFETY_LEVEL_UNKNOWN = 0;
|
|
1311
1450
|
*/
|
|
1312
|
-
|
|
1451
|
+
UNKNOWN = 0,
|
|
1313
1452
|
/**
|
|
1314
|
-
* @generated from
|
|
1453
|
+
* @generated from enum value: SAFETY_LEVEL_VERIFIED = 1;
|
|
1315
1454
|
*/
|
|
1316
|
-
|
|
1455
|
+
VERIFIED = 1,
|
|
1317
1456
|
/**
|
|
1318
|
-
* @generated from
|
|
1457
|
+
* @generated from enum value: SAFETY_LEVEL_MEDIUM_WARNING = 2;
|
|
1319
1458
|
*/
|
|
1320
|
-
|
|
1459
|
+
MEDIUM_WARNING = 2,
|
|
1321
1460
|
/**
|
|
1322
|
-
* @generated from
|
|
1461
|
+
* @generated from enum value: SAFETY_LEVEL_STRONG_WARNING = 3;
|
|
1323
1462
|
*/
|
|
1324
|
-
|
|
1463
|
+
STRONG_WARNING = 3,
|
|
1325
1464
|
/**
|
|
1326
|
-
* @generated from
|
|
1465
|
+
* @generated from enum value: SAFETY_LEVEL_BLOCKED = 4;
|
|
1327
1466
|
*/
|
|
1328
|
-
|
|
1467
|
+
BLOCKED = 4
|
|
1468
|
+
}
|
|
1469
|
+
/**
|
|
1470
|
+
* Describes the enum data.v1.SafetyLevel.
|
|
1471
|
+
*/
|
|
1472
|
+
export declare const SafetyLevelSchema: GenEnum<SafetyLevel>;
|
|
1473
|
+
/**
|
|
1474
|
+
* @generated from enum data.v1.TokenReportEventType
|
|
1475
|
+
*/
|
|
1476
|
+
export declare enum TokenReportEventType {
|
|
1329
1477
|
/**
|
|
1330
|
-
* @generated from
|
|
1478
|
+
* @generated from enum value: TOKEN_REPORT_EVENT_TYPE_UNSPECIFIED = 0;
|
|
1331
1479
|
*/
|
|
1332
|
-
|
|
1480
|
+
UNSPECIFIED = 0,
|
|
1333
1481
|
/**
|
|
1334
|
-
* @generated from
|
|
1482
|
+
* @generated from enum value: TOKEN_REPORT_EVENT_TYPE_FALSE_POSITIVE = 1;
|
|
1335
1483
|
*/
|
|
1336
|
-
|
|
1484
|
+
FALSE_POSITIVE = 1,
|
|
1337
1485
|
/**
|
|
1338
|
-
* @generated from
|
|
1486
|
+
* @generated from enum value: TOKEN_REPORT_EVENT_TYPE_FALSE_NEGATIVE = 2;
|
|
1339
1487
|
*/
|
|
1340
|
-
|
|
1488
|
+
FALSE_NEGATIVE = 2
|
|
1489
|
+
}
|
|
1490
|
+
/**
|
|
1491
|
+
* Describes the enum data.v1.TokenReportEventType.
|
|
1492
|
+
*/
|
|
1493
|
+
export declare const TokenReportEventTypeSchema: GenEnum<TokenReportEventType>;
|
|
1494
|
+
/**
|
|
1495
|
+
* @generated from enum data.v1.Direction
|
|
1496
|
+
*/
|
|
1497
|
+
export declare enum Direction {
|
|
1341
1498
|
/**
|
|
1342
|
-
* @generated from
|
|
1499
|
+
* @generated from enum value: DIRECTION_SELF = 0;
|
|
1343
1500
|
*/
|
|
1344
|
-
|
|
1501
|
+
SELF = 0,
|
|
1345
1502
|
/**
|
|
1346
|
-
* @generated from
|
|
1503
|
+
* @generated from enum value: DIRECTION_RECEIVE = 1;
|
|
1347
1504
|
*/
|
|
1348
|
-
|
|
1505
|
+
RECEIVE = 1,
|
|
1349
1506
|
/**
|
|
1350
|
-
* @generated from
|
|
1507
|
+
* @generated from enum value: DIRECTION_SEND = 2;
|
|
1351
1508
|
*/
|
|
1352
|
-
|
|
1353
|
-
constructor(data?: PartialMessage<UniswapXTransaction>);
|
|
1354
|
-
static readonly runtime: typeof proto3;
|
|
1355
|
-
static readonly typeName = "data.v1.UniswapXTransaction";
|
|
1356
|
-
static readonly fields: FieldList;
|
|
1357
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UniswapXTransaction;
|
|
1358
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UniswapXTransaction;
|
|
1359
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UniswapXTransaction;
|
|
1360
|
-
static equals(a: UniswapXTransaction | PlainMessage<UniswapXTransaction> | undefined, b: UniswapXTransaction | PlainMessage<UniswapXTransaction> | undefined): boolean;
|
|
1509
|
+
SEND = 2
|
|
1361
1510
|
}
|
|
1362
1511
|
/**
|
|
1363
|
-
*
|
|
1512
|
+
* Describes the enum data.v1.Direction.
|
|
1364
1513
|
*/
|
|
1365
|
-
export declare
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
/**
|
|
1371
|
-
* @generated from field: uint64 timestamp_millis = 2;
|
|
1372
|
-
*/
|
|
1373
|
-
timestampMillis: bigint;
|
|
1514
|
+
export declare const DirectionSchema: GenEnum<Direction>;
|
|
1515
|
+
/**
|
|
1516
|
+
* @generated from enum data.v1.OnChainTransactionLabel
|
|
1517
|
+
*/
|
|
1518
|
+
export declare enum OnChainTransactionLabel {
|
|
1374
1519
|
/**
|
|
1375
|
-
* @generated from
|
|
1520
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_UNKNOWN = 0;
|
|
1376
1521
|
*/
|
|
1377
|
-
|
|
1522
|
+
UNKNOWN = 0,
|
|
1378
1523
|
/**
|
|
1379
|
-
* @generated from
|
|
1524
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_APPROVE = 1;
|
|
1380
1525
|
*/
|
|
1381
|
-
|
|
1526
|
+
APPROVE = 1,
|
|
1382
1527
|
/**
|
|
1383
|
-
* @generated from
|
|
1528
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_BORROW = 2;
|
|
1384
1529
|
*/
|
|
1385
|
-
|
|
1530
|
+
BORROW = 2,
|
|
1386
1531
|
/**
|
|
1387
|
-
* @generated from
|
|
1532
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_BRIDGE = 3;
|
|
1388
1533
|
*/
|
|
1389
|
-
|
|
1534
|
+
BRIDGE = 3,
|
|
1390
1535
|
/**
|
|
1391
|
-
* @generated from
|
|
1536
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_CANCEL = 4;
|
|
1392
1537
|
*/
|
|
1393
|
-
|
|
1538
|
+
CANCEL = 4,
|
|
1394
1539
|
/**
|
|
1395
|
-
* @generated from
|
|
1540
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_CLAIM = 5;
|
|
1396
1541
|
*/
|
|
1397
|
-
|
|
1542
|
+
CLAIM = 5,
|
|
1398
1543
|
/**
|
|
1399
|
-
* @generated from
|
|
1544
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_DEPLOY = 6;
|
|
1400
1545
|
*/
|
|
1401
|
-
|
|
1546
|
+
DEPLOY = 6,
|
|
1402
1547
|
/**
|
|
1403
|
-
* @generated from
|
|
1548
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_EXECUTE = 7;
|
|
1404
1549
|
*/
|
|
1405
|
-
|
|
1550
|
+
EXECUTE = 7,
|
|
1406
1551
|
/**
|
|
1407
|
-
* @generated from
|
|
1552
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_LEND = 8;
|
|
1408
1553
|
*/
|
|
1409
|
-
|
|
1554
|
+
LEND = 8,
|
|
1410
1555
|
/**
|
|
1411
|
-
* @generated from
|
|
1556
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_MINT = 9;
|
|
1412
1557
|
*/
|
|
1413
|
-
|
|
1558
|
+
MINT = 9,
|
|
1414
1559
|
/**
|
|
1415
|
-
* @generated from
|
|
1560
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_FIAT_ON_RAMP = 10;
|
|
1416
1561
|
*/
|
|
1417
|
-
|
|
1562
|
+
FIAT_ON_RAMP = 10,
|
|
1418
1563
|
/**
|
|
1419
|
-
* @generated from
|
|
1564
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_RECEIVE = 11;
|
|
1420
1565
|
*/
|
|
1421
|
-
|
|
1566
|
+
RECEIVE = 11,
|
|
1422
1567
|
/**
|
|
1423
|
-
* @generated from
|
|
1568
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_REPAY = 12;
|
|
1424
1569
|
*/
|
|
1425
|
-
|
|
1426
|
-
constructor(data?: PartialMessage<FiatOnRampTransaction>);
|
|
1427
|
-
static readonly runtime: typeof proto3;
|
|
1428
|
-
static readonly typeName = "data.v1.FiatOnRampTransaction";
|
|
1429
|
-
static readonly fields: FieldList;
|
|
1430
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FiatOnRampTransaction;
|
|
1431
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FiatOnRampTransaction;
|
|
1432
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FiatOnRampTransaction;
|
|
1433
|
-
static equals(a: FiatOnRampTransaction | PlainMessage<FiatOnRampTransaction> | undefined, b: FiatOnRampTransaction | PlainMessage<FiatOnRampTransaction> | undefined): boolean;
|
|
1434
|
-
}
|
|
1435
|
-
/**
|
|
1436
|
-
* @generated from message data.v1.OnRampServiceProvider
|
|
1437
|
-
*/
|
|
1438
|
-
export declare class OnRampServiceProvider extends Message<OnRampServiceProvider> {
|
|
1570
|
+
REPAY = 12,
|
|
1439
1571
|
/**
|
|
1440
|
-
* @generated from
|
|
1572
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_SEND = 13;
|
|
1441
1573
|
*/
|
|
1442
|
-
|
|
1574
|
+
SEND = 13,
|
|
1443
1575
|
/**
|
|
1444
|
-
* @generated from
|
|
1576
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_STAKE = 14;
|
|
1445
1577
|
*/
|
|
1446
|
-
|
|
1578
|
+
STAKE = 14,
|
|
1447
1579
|
/**
|
|
1448
|
-
* @generated from
|
|
1580
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_SWAP = 15;
|
|
1449
1581
|
*/
|
|
1450
|
-
|
|
1582
|
+
SWAP = 15,
|
|
1451
1583
|
/**
|
|
1452
|
-
* @generated from
|
|
1584
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_UNISWAP_X = 16;
|
|
1453
1585
|
*/
|
|
1454
|
-
|
|
1586
|
+
UNISWAP_X = 16,
|
|
1455
1587
|
/**
|
|
1456
|
-
* @generated from
|
|
1588
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_TRANSFER = 17;
|
|
1457
1589
|
*/
|
|
1458
|
-
|
|
1590
|
+
TRANSFER = 17,
|
|
1459
1591
|
/**
|
|
1460
|
-
* @generated from
|
|
1592
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_UNSTAKE = 18;
|
|
1461
1593
|
*/
|
|
1462
|
-
|
|
1463
|
-
constructor(data?: PartialMessage<OnRampServiceProvider>);
|
|
1464
|
-
static readonly runtime: typeof proto3;
|
|
1465
|
-
static readonly typeName = "data.v1.OnRampServiceProvider";
|
|
1466
|
-
static readonly fields: FieldList;
|
|
1467
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OnRampServiceProvider;
|
|
1468
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OnRampServiceProvider;
|
|
1469
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OnRampServiceProvider;
|
|
1470
|
-
static equals(a: OnRampServiceProvider | PlainMessage<OnRampServiceProvider> | undefined, b: OnRampServiceProvider | PlainMessage<OnRampServiceProvider> | undefined): boolean;
|
|
1471
|
-
}
|
|
1472
|
-
/**
|
|
1473
|
-
* @generated from message data.v1.PlanTransaction
|
|
1474
|
-
*/
|
|
1475
|
-
export declare class PlanTransaction extends Message<PlanTransaction> {
|
|
1594
|
+
UNSTAKE = 18,
|
|
1476
1595
|
/**
|
|
1477
|
-
* @generated from
|
|
1596
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_WITHDRAW = 19;
|
|
1478
1597
|
*/
|
|
1479
|
-
|
|
1598
|
+
WITHDRAW = 19,
|
|
1480
1599
|
/**
|
|
1481
|
-
* @generated from
|
|
1600
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_WRAP = 20;
|
|
1482
1601
|
*/
|
|
1483
|
-
|
|
1602
|
+
WRAP = 20,
|
|
1484
1603
|
/**
|
|
1485
|
-
* @generated from
|
|
1604
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_UNWRAP = 21;
|
|
1486
1605
|
*/
|
|
1487
|
-
|
|
1606
|
+
UNWRAP = 21,
|
|
1488
1607
|
/**
|
|
1489
|
-
* @generated from
|
|
1608
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_DEPOSIT = 22;
|
|
1490
1609
|
*/
|
|
1491
|
-
|
|
1610
|
+
DEPOSIT = 22,
|
|
1492
1611
|
/**
|
|
1493
|
-
* @generated from
|
|
1612
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_CREATE_PAIR = 23;
|
|
1494
1613
|
*/
|
|
1495
|
-
|
|
1614
|
+
CREATE_PAIR = 23,
|
|
1496
1615
|
/**
|
|
1497
|
-
* @generated from
|
|
1616
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_CREATE_POOL = 24;
|
|
1498
1617
|
*/
|
|
1499
|
-
|
|
1618
|
+
CREATE_POOL = 24,
|
|
1500
1619
|
/**
|
|
1501
|
-
* @generated from
|
|
1620
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_INCREASE_LIQUIDITY = 25;
|
|
1502
1621
|
*/
|
|
1503
|
-
|
|
1622
|
+
INCREASE_LIQUIDITY = 25,
|
|
1504
1623
|
/**
|
|
1505
|
-
* @generated from
|
|
1624
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_DECREASE_LIQUIDITY = 26;
|
|
1506
1625
|
*/
|
|
1507
|
-
|
|
1626
|
+
DECREASE_LIQUIDITY = 26,
|
|
1508
1627
|
/**
|
|
1509
|
-
* @generated from
|
|
1628
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_SUBMIT_BID = 27;
|
|
1510
1629
|
*/
|
|
1511
|
-
|
|
1630
|
+
AUCTION_SUBMIT_BID = 27,
|
|
1512
1631
|
/**
|
|
1513
|
-
* @generated from
|
|
1632
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS = 28;
|
|
1514
1633
|
*/
|
|
1515
|
-
|
|
1634
|
+
AUCTION_CLAIM_TOKENS = 28,
|
|
1516
1635
|
/**
|
|
1517
|
-
* @generated from
|
|
1636
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_BID = 29;
|
|
1518
1637
|
*/
|
|
1519
|
-
|
|
1638
|
+
AUCTION_EXIT_BID = 29,
|
|
1520
1639
|
/**
|
|
1521
|
-
* @generated from
|
|
1640
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_EXIT_PARTIALLY_FILLED_BID = 30;
|
|
1522
1641
|
*/
|
|
1523
|
-
|
|
1642
|
+
AUCTION_EXIT_PARTIALLY_FILLED_BID = 30,
|
|
1524
1643
|
/**
|
|
1525
|
-
* @generated from
|
|
1644
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_AUCTION_CLAIM_TOKENS_BATCHED = 31;
|
|
1526
1645
|
*/
|
|
1527
|
-
|
|
1646
|
+
AUCTION_CLAIM_TOKENS_BATCHED = 31,
|
|
1528
1647
|
/**
|
|
1529
|
-
* @generated from
|
|
1648
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_DEPOSIT = 32;
|
|
1530
1649
|
*/
|
|
1531
|
-
|
|
1650
|
+
VAULT_DEPOSIT = 32,
|
|
1532
1651
|
/**
|
|
1533
|
-
* @generated from
|
|
1652
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_WITHDRAW = 33;
|
|
1534
1653
|
*/
|
|
1535
|
-
|
|
1654
|
+
VAULT_WITHDRAW = 33,
|
|
1536
1655
|
/**
|
|
1537
|
-
*
|
|
1538
|
-
* label the plan with Earn intent instead of generic swap language.
|
|
1539
|
-
*
|
|
1540
|
-
* @generated from field: optional data.v1.EarnPlanMetadata earn_metadata = 16;
|
|
1656
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_TRANSFER_IN = 34;
|
|
1541
1657
|
*/
|
|
1542
|
-
|
|
1658
|
+
VAULT_TRANSFER_IN = 34,
|
|
1543
1659
|
/**
|
|
1544
|
-
*
|
|
1545
|
-
* plan with the margin action instead of generic swap language.
|
|
1546
|
-
*
|
|
1547
|
-
* @generated from field: optional data.v1.MarginPlanMetadata margin_metadata = 17;
|
|
1660
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_VAULT_TRANSFER_OUT = 35;
|
|
1548
1661
|
*/
|
|
1549
|
-
|
|
1550
|
-
constructor(data?: PartialMessage<PlanTransaction>);
|
|
1551
|
-
static readonly runtime: typeof proto3;
|
|
1552
|
-
static readonly typeName = "data.v1.PlanTransaction";
|
|
1553
|
-
static readonly fields: FieldList;
|
|
1554
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlanTransaction;
|
|
1555
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlanTransaction;
|
|
1556
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlanTransaction;
|
|
1557
|
-
static equals(a: PlanTransaction | PlainMessage<PlanTransaction> | undefined, b: PlanTransaction | PlainMessage<PlanTransaction> | undefined): boolean;
|
|
1662
|
+
VAULT_TRANSFER_OUT = 35
|
|
1558
1663
|
}
|
|
1559
1664
|
/**
|
|
1560
|
-
*
|
|
1561
|
-
*
|
|
1562
|
-
* @generated from message data.v1.MarginPlanMetadata
|
|
1665
|
+
* Describes the enum data.v1.OnChainTransactionLabel.
|
|
1563
1666
|
*/
|
|
1564
|
-
export declare
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1667
|
+
export declare const OnChainTransactionLabelSchema: GenEnum<OnChainTransactionLabel>;
|
|
1668
|
+
/**
|
|
1669
|
+
* @generated from enum data.v1.TransactionTypeFilter
|
|
1670
|
+
*/
|
|
1671
|
+
export declare enum TransactionTypeFilter {
|
|
1569
1672
|
/**
|
|
1570
|
-
*
|
|
1673
|
+
* All types (no filter)
|
|
1571
1674
|
*
|
|
1572
|
-
* @generated from
|
|
1573
|
-
*/
|
|
1574
|
-
marketKey: string;
|
|
1575
|
-
/**
|
|
1576
|
-
* @generated from field: data.v1.MarginPlanVenue venue = 3;
|
|
1675
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_UNSPECIFIED = 0;
|
|
1577
1676
|
*/
|
|
1578
|
-
|
|
1677
|
+
UNSPECIFIED = 0,
|
|
1579
1678
|
/**
|
|
1580
|
-
*
|
|
1679
|
+
* Swaps (includes UniswapX, excludes wrap/unwrap)
|
|
1680
|
+
*
|
|
1681
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_SWAP = 1;
|
|
1581
1682
|
*/
|
|
1582
|
-
|
|
1683
|
+
SWAP = 1,
|
|
1583
1684
|
/**
|
|
1584
|
-
*
|
|
1685
|
+
* Sends
|
|
1686
|
+
*
|
|
1687
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_SEND = 2;
|
|
1585
1688
|
*/
|
|
1586
|
-
|
|
1587
|
-
constructor(data?: PartialMessage<MarginPlanMetadata>);
|
|
1588
|
-
static readonly runtime: typeof proto3;
|
|
1589
|
-
static readonly typeName = "data.v1.MarginPlanMetadata";
|
|
1590
|
-
static readonly fields: FieldList;
|
|
1591
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MarginPlanMetadata;
|
|
1592
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MarginPlanMetadata;
|
|
1593
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MarginPlanMetadata;
|
|
1594
|
-
static equals(a: MarginPlanMetadata | PlainMessage<MarginPlanMetadata> | undefined, b: MarginPlanMetadata | PlainMessage<MarginPlanMetadata> | undefined): boolean;
|
|
1595
|
-
}
|
|
1596
|
-
/**
|
|
1597
|
-
* Plan-level Earn intent metadata for chained Earn vault flows.
|
|
1598
|
-
*
|
|
1599
|
-
* @generated from message data.v1.EarnPlanMetadata
|
|
1600
|
-
*/
|
|
1601
|
-
export declare class EarnPlanMetadata extends Message<EarnPlanMetadata> {
|
|
1689
|
+
SEND = 2,
|
|
1602
1690
|
/**
|
|
1603
|
-
*
|
|
1691
|
+
* Receives
|
|
1692
|
+
*
|
|
1693
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_RECEIVE = 3;
|
|
1604
1694
|
*/
|
|
1605
|
-
|
|
1695
|
+
RECEIVE = 3,
|
|
1606
1696
|
/**
|
|
1607
|
-
*
|
|
1697
|
+
* Wraps (includes both wrap and unwrap)
|
|
1608
1698
|
*
|
|
1609
|
-
* @generated from
|
|
1699
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_WRAP = 4;
|
|
1610
1700
|
*/
|
|
1611
|
-
|
|
1701
|
+
WRAP = 4,
|
|
1612
1702
|
/**
|
|
1613
|
-
*
|
|
1703
|
+
* Approvals
|
|
1704
|
+
*
|
|
1705
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_APPROVE = 5;
|
|
1614
1706
|
*/
|
|
1615
|
-
|
|
1616
|
-
constructor(data?: PartialMessage<EarnPlanMetadata>);
|
|
1617
|
-
static readonly runtime: typeof proto3;
|
|
1618
|
-
static readonly typeName = "data.v1.EarnPlanMetadata";
|
|
1619
|
-
static readonly fields: FieldList;
|
|
1620
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EarnPlanMetadata;
|
|
1621
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EarnPlanMetadata;
|
|
1622
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EarnPlanMetadata;
|
|
1623
|
-
static equals(a: EarnPlanMetadata | PlainMessage<EarnPlanMetadata> | undefined, b: EarnPlanMetadata | PlainMessage<EarnPlanMetadata> | undefined): boolean;
|
|
1624
|
-
}
|
|
1625
|
-
/**
|
|
1626
|
-
* @generated from message data.v1.PlanActivity
|
|
1627
|
-
*/
|
|
1628
|
-
export declare class PlanActivity extends Message<PlanActivity> {
|
|
1707
|
+
APPROVE = 5,
|
|
1629
1708
|
/**
|
|
1630
|
-
*
|
|
1709
|
+
* Added liquidity (Uniswap deposits)
|
|
1710
|
+
*
|
|
1711
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_INCREASE_LIQUIDITY = 6;
|
|
1631
1712
|
*/
|
|
1632
|
-
|
|
1713
|
+
INCREASE_LIQUIDITY = 6,
|
|
1633
1714
|
/**
|
|
1634
|
-
*
|
|
1715
|
+
* Removed liquidity (Uniswap withdrawals)
|
|
1716
|
+
*
|
|
1717
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_DECREASE_LIQUIDITY = 7;
|
|
1635
1718
|
*/
|
|
1636
|
-
|
|
1719
|
+
DECREASE_LIQUIDITY = 7,
|
|
1637
1720
|
/**
|
|
1638
|
-
*
|
|
1721
|
+
* Claimed fees/rewards
|
|
1722
|
+
*
|
|
1723
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_CLAIM = 8;
|
|
1639
1724
|
*/
|
|
1640
|
-
|
|
1725
|
+
CLAIM = 8,
|
|
1641
1726
|
/**
|
|
1642
|
-
*
|
|
1727
|
+
* Mints
|
|
1728
|
+
*
|
|
1729
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_MINT = 9;
|
|
1643
1730
|
*/
|
|
1644
|
-
|
|
1731
|
+
MINT = 9,
|
|
1645
1732
|
/**
|
|
1646
|
-
*
|
|
1733
|
+
* Pool creations (includes CREATE_PAIR and CREATE_POOL)
|
|
1734
|
+
*
|
|
1735
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_CREATE_POOL = 10;
|
|
1647
1736
|
*/
|
|
1648
|
-
|
|
1737
|
+
CREATE_POOL = 10,
|
|
1649
1738
|
/**
|
|
1650
|
-
*
|
|
1739
|
+
* Limit orders (UniswapX only)
|
|
1740
|
+
*
|
|
1741
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_LIMIT_ORDER = 11;
|
|
1651
1742
|
*/
|
|
1652
|
-
|
|
1743
|
+
LIMIT_ORDER = 11,
|
|
1653
1744
|
/**
|
|
1654
|
-
*
|
|
1745
|
+
* Protocol withdrawals (e.g. lending/staking withdrawals)
|
|
1746
|
+
*
|
|
1747
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_WITHDRAW = 12;
|
|
1655
1748
|
*/
|
|
1656
|
-
|
|
1749
|
+
WITHDRAW = 12,
|
|
1657
1750
|
/**
|
|
1658
|
-
*
|
|
1751
|
+
* Earn vault deposits
|
|
1752
|
+
*
|
|
1753
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_DEPOSIT = 13;
|
|
1659
1754
|
*/
|
|
1660
|
-
|
|
1755
|
+
VAULT_DEPOSIT = 13,
|
|
1661
1756
|
/**
|
|
1662
|
-
*
|
|
1757
|
+
* Earn vault withdrawals
|
|
1758
|
+
*
|
|
1759
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_WITHDRAW = 14;
|
|
1663
1760
|
*/
|
|
1664
|
-
|
|
1761
|
+
VAULT_WITHDRAW = 14,
|
|
1665
1762
|
/**
|
|
1666
|
-
*
|
|
1763
|
+
* Earn vault share transfers (includes IN and OUT)
|
|
1764
|
+
*
|
|
1765
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_VAULT_TRANSFER = 15;
|
|
1667
1766
|
*/
|
|
1668
|
-
|
|
1669
|
-
constructor(data?: PartialMessage<PlanActivity>);
|
|
1670
|
-
static readonly runtime: typeof proto3;
|
|
1671
|
-
static readonly typeName = "data.v1.PlanActivity";
|
|
1672
|
-
static readonly fields: FieldList;
|
|
1673
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlanActivity;
|
|
1674
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlanActivity;
|
|
1675
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlanActivity;
|
|
1676
|
-
static equals(a: PlanActivity | PlainMessage<PlanActivity> | undefined, b: PlanActivity | PlainMessage<PlanActivity> | undefined): boolean;
|
|
1767
|
+
VAULT_TRANSFER = 15
|
|
1677
1768
|
}
|
|
1678
1769
|
/**
|
|
1679
|
-
*
|
|
1770
|
+
* Describes the enum data.v1.TransactionTypeFilter.
|
|
1680
1771
|
*/
|
|
1681
|
-
export declare
|
|
1682
|
-
/**
|
|
1683
|
-
* @generated from field: data.v1.Token token = 1;
|
|
1684
|
-
*/
|
|
1685
|
-
token?: Token;
|
|
1686
|
-
/**
|
|
1687
|
-
* @generated from field: data.v1.Amount amount = 2;
|
|
1688
|
-
*/
|
|
1689
|
-
amount?: Amount;
|
|
1690
|
-
constructor(data?: PartialMessage<TokenAmount>);
|
|
1691
|
-
static readonly runtime: typeof proto3;
|
|
1692
|
-
static readonly typeName = "data.v1.TokenAmount";
|
|
1693
|
-
static readonly fields: FieldList;
|
|
1694
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenAmount;
|
|
1695
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenAmount;
|
|
1696
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenAmount;
|
|
1697
|
-
static equals(a: TokenAmount | PlainMessage<TokenAmount> | undefined, b: TokenAmount | PlainMessage<TokenAmount> | undefined): boolean;
|
|
1698
|
-
}
|
|
1772
|
+
export declare const TransactionTypeFilterSchema: GenEnum<TransactionTypeFilter>;
|
|
1699
1773
|
/**
|
|
1700
|
-
* @generated from
|
|
1774
|
+
* @generated from enum data.v1.OnChainTransactionStatus
|
|
1701
1775
|
*/
|
|
1702
|
-
export declare
|
|
1703
|
-
/**
|
|
1704
|
-
* @generated from field: data.v1.Amount amount = 1;
|
|
1705
|
-
*/
|
|
1706
|
-
amount?: Amount;
|
|
1776
|
+
export declare enum OnChainTransactionStatus {
|
|
1707
1777
|
/**
|
|
1708
|
-
* @generated from
|
|
1778
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_STATUS_PENDING = 0;
|
|
1709
1779
|
*/
|
|
1710
|
-
|
|
1780
|
+
PENDING = 0,
|
|
1711
1781
|
/**
|
|
1712
|
-
* @generated from
|
|
1782
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_STATUS_CONFIRMED = 1;
|
|
1713
1783
|
*/
|
|
1714
|
-
|
|
1784
|
+
CONFIRMED = 1,
|
|
1715
1785
|
/**
|
|
1716
|
-
* @generated from
|
|
1786
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_STATUS_FAILED = 2;
|
|
1717
1787
|
*/
|
|
1718
|
-
|
|
1719
|
-
constructor(data?: PartialMessage<TransactionFee>);
|
|
1720
|
-
static readonly runtime: typeof proto3;
|
|
1721
|
-
static readonly typeName = "data.v1.TransactionFee";
|
|
1722
|
-
static readonly fields: FieldList;
|
|
1723
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransactionFee;
|
|
1724
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransactionFee;
|
|
1725
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransactionFee;
|
|
1726
|
-
static equals(a: TransactionFee | PlainMessage<TransactionFee> | undefined, b: TransactionFee | PlainMessage<TransactionFee> | undefined): boolean;
|
|
1788
|
+
FAILED = 2
|
|
1727
1789
|
}
|
|
1728
1790
|
/**
|
|
1729
|
-
*
|
|
1791
|
+
* Describes the enum data.v1.OnChainTransactionStatus.
|
|
1730
1792
|
*/
|
|
1731
|
-
export declare
|
|
1732
|
-
/**
|
|
1733
|
-
* @generated from field: uint64 timestamp = 1;
|
|
1734
|
-
*/
|
|
1735
|
-
timestamp: bigint;
|
|
1736
|
-
/**
|
|
1737
|
-
* @generated from field: double value = 2;
|
|
1738
|
-
*/
|
|
1739
|
-
value: number;
|
|
1740
|
-
constructor(data?: PartialMessage<TimestampedValue>);
|
|
1741
|
-
static readonly runtime: typeof proto3;
|
|
1742
|
-
static readonly typeName = "data.v1.TimestampedValue";
|
|
1743
|
-
static readonly fields: FieldList;
|
|
1744
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimestampedValue;
|
|
1745
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimestampedValue;
|
|
1746
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimestampedValue;
|
|
1747
|
-
static equals(a: TimestampedValue | PlainMessage<TimestampedValue> | undefined, b: TimestampedValue | PlainMessage<TimestampedValue> | undefined): boolean;
|
|
1748
|
-
}
|
|
1793
|
+
export declare const OnChainTransactionStatusSchema: GenEnum<OnChainTransactionStatus>;
|
|
1749
1794
|
/**
|
|
1750
|
-
* @generated from
|
|
1795
|
+
* @generated from enum data.v1.UniswapXOrderType
|
|
1751
1796
|
*/
|
|
1752
|
-
export declare
|
|
1797
|
+
export declare enum UniswapXOrderType {
|
|
1753
1798
|
/**
|
|
1754
|
-
* @generated from
|
|
1799
|
+
* @generated from enum value: UNISWAP_X_ORDER_TYPE_DUTCH = 0;
|
|
1755
1800
|
*/
|
|
1756
|
-
|
|
1801
|
+
DUTCH = 0,
|
|
1757
1802
|
/**
|
|
1758
|
-
* @generated from
|
|
1803
|
+
* @generated from enum value: UNISWAP_X_ORDER_TYPE_LIMIT = 1;
|
|
1759
1804
|
*/
|
|
1760
|
-
|
|
1805
|
+
LIMIT = 1,
|
|
1761
1806
|
/**
|
|
1762
|
-
* @generated from
|
|
1807
|
+
* @generated from enum value: UNISWAP_X_ORDER_TYPE_DUTCH_V2 = 2;
|
|
1763
1808
|
*/
|
|
1764
|
-
|
|
1809
|
+
DUTCH_V2 = 2,
|
|
1765
1810
|
/**
|
|
1766
|
-
* @generated from
|
|
1811
|
+
* @generated from enum value: UNISWAP_X_ORDER_TYPE_PRIORITY = 3;
|
|
1767
1812
|
*/
|
|
1768
|
-
|
|
1813
|
+
PRIORITY = 3
|
|
1814
|
+
}
|
|
1815
|
+
/**
|
|
1816
|
+
* Describes the enum data.v1.UniswapXOrderType.
|
|
1817
|
+
*/
|
|
1818
|
+
export declare const UniswapXOrderTypeSchema: GenEnum<UniswapXOrderType>;
|
|
1819
|
+
/**
|
|
1820
|
+
* @generated from enum data.v1.UniswapXTransactionStatus
|
|
1821
|
+
*/
|
|
1822
|
+
export declare enum UniswapXTransactionStatus {
|
|
1769
1823
|
/**
|
|
1770
|
-
* @generated from
|
|
1824
|
+
* @generated from enum value: UNISWAP_X_TRANSACTION_STATUS_OPEN = 0;
|
|
1771
1825
|
*/
|
|
1772
|
-
|
|
1826
|
+
OPEN = 0,
|
|
1773
1827
|
/**
|
|
1774
|
-
* @generated from
|
|
1828
|
+
* @generated from enum value: UNISWAP_X_TRANSACTION_STATUS_EXPIRED = 1;
|
|
1775
1829
|
*/
|
|
1776
|
-
|
|
1830
|
+
EXPIRED = 1,
|
|
1777
1831
|
/**
|
|
1778
|
-
* @generated from
|
|
1832
|
+
* @generated from enum value: UNISWAP_X_TRANSACTION_STATUS_ERROR = 2;
|
|
1779
1833
|
*/
|
|
1780
|
-
|
|
1834
|
+
ERROR = 2,
|
|
1781
1835
|
/**
|
|
1782
|
-
* @generated from
|
|
1836
|
+
* @generated from enum value: UNISWAP_X_TRANSACTION_STATUS_INSUFFICIENT_FUNDS = 3;
|
|
1783
1837
|
*/
|
|
1784
|
-
|
|
1838
|
+
INSUFFICIENT_FUNDS = 3,
|
|
1785
1839
|
/**
|
|
1786
|
-
* @generated from
|
|
1840
|
+
* @generated from enum value: UNISWAP_X_TRANSACTION_STATUS_FILLED = 4;
|
|
1787
1841
|
*/
|
|
1788
|
-
|
|
1842
|
+
FILLED = 4,
|
|
1789
1843
|
/**
|
|
1790
|
-
* @generated from
|
|
1844
|
+
* @generated from enum value: UNISWAP_X_TRANSACTION_STATUS_CANCELLED = 5;
|
|
1791
1845
|
*/
|
|
1792
|
-
|
|
1793
|
-
constructor(data?: PartialMessage<TokenStats>);
|
|
1794
|
-
static readonly runtime: typeof proto3;
|
|
1795
|
-
static readonly typeName = "data.v1.TokenStats";
|
|
1796
|
-
static readonly fields: FieldList;
|
|
1797
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenStats;
|
|
1798
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenStats;
|
|
1799
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenStats;
|
|
1800
|
-
static equals(a: TokenStats | PlainMessage<TokenStats> | undefined, b: TokenStats | PlainMessage<TokenStats> | undefined): boolean;
|
|
1846
|
+
CANCELLED = 5
|
|
1801
1847
|
}
|
|
1802
1848
|
/**
|
|
1803
|
-
*
|
|
1849
|
+
* Describes the enum data.v1.UniswapXTransactionStatus.
|
|
1804
1850
|
*/
|
|
1805
|
-
export declare
|
|
1806
|
-
/**
|
|
1807
|
-
* @generated from field: string address = 1;
|
|
1808
|
-
*/
|
|
1809
|
-
address: string;
|
|
1810
|
-
/**
|
|
1811
|
-
* @generated from field: optional string name = 2;
|
|
1812
|
-
*/
|
|
1813
|
-
name?: string;
|
|
1814
|
-
constructor(data?: PartialMessage<Paymaster>);
|
|
1815
|
-
static readonly runtime: typeof proto3;
|
|
1816
|
-
static readonly typeName = "data.v1.Paymaster";
|
|
1817
|
-
static readonly fields: FieldList;
|
|
1818
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Paymaster;
|
|
1819
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Paymaster;
|
|
1820
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Paymaster;
|
|
1821
|
-
static equals(a: Paymaster | PlainMessage<Paymaster> | undefined, b: Paymaster | PlainMessage<Paymaster> | undefined): boolean;
|
|
1822
|
-
}
|
|
1851
|
+
export declare const UniswapXTransactionStatusSchema: GenEnum<UniswapXTransactionStatus>;
|
|
1823
1852
|
/**
|
|
1824
|
-
*
|
|
1825
|
-
* internal Sponsorship service (platform-service). Complements Paymaster,
|
|
1826
|
-
* which only carries the on-chain paymaster contract address.
|
|
1827
|
-
*
|
|
1828
|
-
* @generated from message data.v1.SponsorshipMetadata
|
|
1853
|
+
* @generated from enum data.v1.FiatOnRampTransactionStatus
|
|
1829
1854
|
*/
|
|
1830
|
-
export declare
|
|
1855
|
+
export declare enum FiatOnRampTransactionStatus {
|
|
1831
1856
|
/**
|
|
1832
|
-
* @generated from
|
|
1857
|
+
* @generated from enum value: FIAT_ON_RAMP_TRANSACTION_STATUS_FAILED = 0;
|
|
1833
1858
|
*/
|
|
1834
|
-
|
|
1859
|
+
FAILED = 0,
|
|
1835
1860
|
/**
|
|
1836
|
-
* @generated from
|
|
1861
|
+
* @generated from enum value: FIAT_ON_RAMP_TRANSACTION_STATUS_SETTLED = 1;
|
|
1862
|
+
*/
|
|
1863
|
+
SETTLED = 1,
|
|
1864
|
+
/**
|
|
1865
|
+
* @generated from enum value: FIAT_ON_RAMP_TRANSACTION_STATUS_PENDING = 2;
|
|
1837
1866
|
*/
|
|
1838
|
-
|
|
1839
|
-
constructor(data?: PartialMessage<SponsorshipMetadata>);
|
|
1840
|
-
static readonly runtime: typeof proto3;
|
|
1841
|
-
static readonly typeName = "data.v1.SponsorshipMetadata";
|
|
1842
|
-
static readonly fields: FieldList;
|
|
1843
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SponsorshipMetadata;
|
|
1844
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SponsorshipMetadata;
|
|
1845
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SponsorshipMetadata;
|
|
1846
|
-
static equals(a: SponsorshipMetadata | PlainMessage<SponsorshipMetadata> | undefined, b: SponsorshipMetadata | PlainMessage<SponsorshipMetadata> | undefined): boolean;
|
|
1867
|
+
PENDING = 2
|
|
1847
1868
|
}
|
|
1848
1869
|
/**
|
|
1849
|
-
*
|
|
1870
|
+
* Describes the enum data.v1.FiatOnRampTransactionStatus.
|
|
1850
1871
|
*/
|
|
1851
|
-
export declare
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1872
|
+
export declare const FiatOnRampTransactionStatusSchema: GenEnum<FiatOnRampTransactionStatus>;
|
|
1873
|
+
/**
|
|
1874
|
+
* @generated from enum data.v1.ProtectionResult
|
|
1875
|
+
*/
|
|
1876
|
+
export declare enum ProtectionResult {
|
|
1856
1877
|
/**
|
|
1857
|
-
* @generated from
|
|
1878
|
+
* @generated from enum value: PROTECTION_RESULT_UNKNOWN = 0;
|
|
1858
1879
|
*/
|
|
1859
|
-
|
|
1880
|
+
UNKNOWN = 0,
|
|
1860
1881
|
/**
|
|
1861
|
-
* @generated from
|
|
1882
|
+
* @generated from enum value: PROTECTION_RESULT_BENIGN = 1;
|
|
1862
1883
|
*/
|
|
1863
|
-
|
|
1884
|
+
BENIGN = 1,
|
|
1864
1885
|
/**
|
|
1865
|
-
* @generated from
|
|
1886
|
+
* @generated from enum value: PROTECTION_RESULT_MALICIOUS = 2;
|
|
1866
1887
|
*/
|
|
1867
|
-
|
|
1888
|
+
MALICIOUS = 2,
|
|
1868
1889
|
/**
|
|
1869
|
-
* @generated from
|
|
1890
|
+
* @generated from enum value: PROTECTION_RESULT_SPAM = 3;
|
|
1870
1891
|
*/
|
|
1871
|
-
|
|
1892
|
+
SPAM = 3,
|
|
1872
1893
|
/**
|
|
1873
|
-
* @generated from
|
|
1894
|
+
* @generated from enum value: PROTECTION_RESULT_WARNING = 4;
|
|
1874
1895
|
*/
|
|
1875
|
-
|
|
1876
|
-
constructor(data?: PartialMessage<WalletProfitLoss>);
|
|
1877
|
-
static readonly runtime: typeof proto3;
|
|
1878
|
-
static readonly typeName = "data.v1.WalletProfitLoss";
|
|
1879
|
-
static readonly fields: FieldList;
|
|
1880
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WalletProfitLoss;
|
|
1881
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WalletProfitLoss;
|
|
1882
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WalletProfitLoss;
|
|
1883
|
-
static equals(a: WalletProfitLoss | PlainMessage<WalletProfitLoss> | undefined, b: WalletProfitLoss | PlainMessage<WalletProfitLoss> | undefined): boolean;
|
|
1896
|
+
WARNING = 4
|
|
1884
1897
|
}
|
|
1885
1898
|
/**
|
|
1886
|
-
*
|
|
1899
|
+
* Describes the enum data.v1.ProtectionResult.
|
|
1887
1900
|
*/
|
|
1888
|
-
export declare
|
|
1889
|
-
/**
|
|
1890
|
-
* @generated from field: data.v1.Token token = 1;
|
|
1891
|
-
*/
|
|
1892
|
-
token?: Token;
|
|
1893
|
-
/**
|
|
1894
|
-
* @generated from field: double average_cost_usd = 2;
|
|
1895
|
-
*/
|
|
1896
|
-
averageCostUsd: number;
|
|
1897
|
-
/**
|
|
1898
|
-
* @generated from field: double unrealized_return_usd = 3;
|
|
1899
|
-
*/
|
|
1900
|
-
unrealizedReturnUsd: number;
|
|
1901
|
-
/**
|
|
1902
|
-
* @generated from field: double unrealized_return_percent = 4;
|
|
1903
|
-
*/
|
|
1904
|
-
unrealizedReturnPercent: number;
|
|
1905
|
-
constructor(data?: PartialMessage<TokenProfitLoss>);
|
|
1906
|
-
static readonly runtime: typeof proto3;
|
|
1907
|
-
static readonly typeName = "data.v1.TokenProfitLoss";
|
|
1908
|
-
static readonly fields: FieldList;
|
|
1909
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenProfitLoss;
|
|
1910
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenProfitLoss;
|
|
1911
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenProfitLoss;
|
|
1912
|
-
static equals(a: TokenProfitLoss | PlainMessage<TokenProfitLoss> | undefined, b: TokenProfitLoss | PlainMessage<TokenProfitLoss> | undefined): boolean;
|
|
1913
|
-
}
|
|
1901
|
+
export declare const ProtectionResultSchema: GenEnum<ProtectionResult>;
|
|
1914
1902
|
/**
|
|
1915
|
-
* @generated from
|
|
1903
|
+
* @generated from enum data.v1.AttackType
|
|
1916
1904
|
*/
|
|
1917
|
-
export declare
|
|
1918
|
-
/**
|
|
1919
|
-
* @generated from field: double average_cost_usd = 1;
|
|
1920
|
-
*/
|
|
1921
|
-
averageCostUsd: number;
|
|
1922
|
-
/**
|
|
1923
|
-
* @generated from field: double one_day_return_usd = 2;
|
|
1924
|
-
*/
|
|
1925
|
-
oneDayReturnUsd: number;
|
|
1926
|
-
/**
|
|
1927
|
-
* @generated from field: double one_day_return_percent = 3;
|
|
1928
|
-
*/
|
|
1929
|
-
oneDayReturnPercent: number;
|
|
1905
|
+
export declare enum AttackType {
|
|
1930
1906
|
/**
|
|
1931
|
-
* @generated from
|
|
1907
|
+
* @generated from enum value: ATTACK_TYPE_UNKNOWN = 0;
|
|
1932
1908
|
*/
|
|
1933
|
-
|
|
1909
|
+
UNKNOWN = 0,
|
|
1934
1910
|
/**
|
|
1935
|
-
* @generated from
|
|
1911
|
+
* @generated from enum value: ATTACK_TYPE_AIRDROP_PATTERN = 1;
|
|
1936
1912
|
*/
|
|
1937
|
-
|
|
1913
|
+
AIRDROP_PATTERN = 1,
|
|
1938
1914
|
/**
|
|
1939
|
-
* @generated from
|
|
1915
|
+
* @generated from enum value: ATTACK_TYPE_DYNAMIC_ANALYSIS = 2;
|
|
1940
1916
|
*/
|
|
1941
|
-
|
|
1917
|
+
DYNAMIC_ANALYSIS = 2,
|
|
1942
1918
|
/**
|
|
1943
|
-
* @generated from
|
|
1919
|
+
* @generated from enum value: ATTACK_TYPE_HIGH_FEES = 3;
|
|
1944
1920
|
*/
|
|
1945
|
-
|
|
1946
|
-
constructor(data?: PartialMessage<TokenDetailProfitLoss>);
|
|
1947
|
-
static readonly runtime: typeof proto3;
|
|
1948
|
-
static readonly typeName = "data.v1.TokenDetailProfitLoss";
|
|
1949
|
-
static readonly fields: FieldList;
|
|
1950
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenDetailProfitLoss;
|
|
1951
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenDetailProfitLoss;
|
|
1952
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenDetailProfitLoss;
|
|
1953
|
-
static equals(a: TokenDetailProfitLoss | PlainMessage<TokenDetailProfitLoss> | undefined, b: TokenDetailProfitLoss | PlainMessage<TokenDetailProfitLoss> | undefined): boolean;
|
|
1954
|
-
}
|
|
1955
|
-
/**
|
|
1956
|
-
* Per-chain PnL within a multichain token group
|
|
1957
|
-
*
|
|
1958
|
-
* @generated from message data.v1.ChainTokenProfitLoss
|
|
1959
|
-
*/
|
|
1960
|
-
export declare class ChainTokenProfitLoss extends Message<ChainTokenProfitLoss> {
|
|
1921
|
+
HIGH_FEES = 3,
|
|
1961
1922
|
/**
|
|
1962
|
-
* @generated from
|
|
1923
|
+
* @generated from enum value: ATTACK_TYPE_IMPERSONATOR = 4;
|
|
1963
1924
|
*/
|
|
1964
|
-
|
|
1925
|
+
IMPERSONATOR = 4,
|
|
1965
1926
|
/**
|
|
1966
|
-
* @generated from
|
|
1927
|
+
* @generated from enum value: ATTACK_TYPE_INORGANIC_VOLUME = 5;
|
|
1967
1928
|
*/
|
|
1968
|
-
|
|
1929
|
+
INORGANIC_VOLUME = 5,
|
|
1969
1930
|
/**
|
|
1970
|
-
* @generated from
|
|
1931
|
+
* @generated from enum value: ATTACK_TYPE_KNOWN_MALICIOUS = 6;
|
|
1971
1932
|
*/
|
|
1972
|
-
|
|
1933
|
+
KNOWN_MALICIOUS = 6,
|
|
1973
1934
|
/**
|
|
1974
|
-
* @generated from
|
|
1935
|
+
* @generated from enum value: ATTACK_TYPE_METADATA = 7;
|
|
1975
1936
|
*/
|
|
1976
|
-
|
|
1937
|
+
METADATA = 7,
|
|
1977
1938
|
/**
|
|
1978
|
-
* @generated from
|
|
1939
|
+
* @generated from enum value: ATTACK_TYPE_RUGPULL = 8;
|
|
1979
1940
|
*/
|
|
1980
|
-
|
|
1981
|
-
constructor(data?: PartialMessage<ChainTokenProfitLoss>);
|
|
1982
|
-
static readonly runtime: typeof proto3;
|
|
1983
|
-
static readonly typeName = "data.v1.ChainTokenProfitLoss";
|
|
1984
|
-
static readonly fields: FieldList;
|
|
1985
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChainTokenProfitLoss;
|
|
1986
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChainTokenProfitLoss;
|
|
1987
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChainTokenProfitLoss;
|
|
1988
|
-
static equals(a: ChainTokenProfitLoss | PlainMessage<ChainTokenProfitLoss> | undefined, b: ChainTokenProfitLoss | PlainMessage<ChainTokenProfitLoss> | undefined): boolean;
|
|
1989
|
-
}
|
|
1990
|
-
/**
|
|
1991
|
-
* A token aggregated across multiple chains with per-chain breakdown
|
|
1992
|
-
*
|
|
1993
|
-
* @generated from message data.v1.MultichainTokenProfitLoss
|
|
1994
|
-
*/
|
|
1995
|
-
export declare class MultichainTokenProfitLoss extends Message<MultichainTokenProfitLoss> {
|
|
1941
|
+
RUGPULL = 8,
|
|
1996
1942
|
/**
|
|
1997
|
-
* @generated from
|
|
1943
|
+
* @generated from enum value: ATTACK_TYPE_HONEYPOT = 9;
|
|
1998
1944
|
*/
|
|
1999
|
-
|
|
1945
|
+
HONEYPOT = 9,
|
|
2000
1946
|
/**
|
|
2001
|
-
* @generated from
|
|
1947
|
+
* @generated from enum value: ATTACK_TYPE_SPAM_TEXT = 10;
|
|
2002
1948
|
*/
|
|
2003
|
-
|
|
1949
|
+
SPAM_TEXT = 10,
|
|
2004
1950
|
/**
|
|
2005
|
-
* @generated from
|
|
1951
|
+
* @generated from enum value: ATTACK_TYPE_STATIC_CODE_SIGNATURE = 11;
|
|
2006
1952
|
*/
|
|
2007
|
-
|
|
1953
|
+
STATIC_CODE_SIGNATURE = 11,
|
|
2008
1954
|
/**
|
|
2009
|
-
* @generated from
|
|
1955
|
+
* @generated from enum value: ATTACK_TYPE_UNSTABLE_TOKEN_PRICE = 12;
|
|
2010
1956
|
*/
|
|
2011
|
-
|
|
1957
|
+
UNSTABLE_TOKEN_PRICE = 12,
|
|
2012
1958
|
/**
|
|
2013
|
-
* @generated from
|
|
1959
|
+
* @generated from enum value: ATTACK_TYPE_EXIT_SCAM_RISK = 13;
|
|
2014
1960
|
*/
|
|
2015
|
-
|
|
2016
|
-
constructor(data?: PartialMessage<MultichainTokenProfitLoss>);
|
|
2017
|
-
static readonly runtime: typeof proto3;
|
|
2018
|
-
static readonly typeName = "data.v1.MultichainTokenProfitLoss";
|
|
2019
|
-
static readonly fields: FieldList;
|
|
2020
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MultichainTokenProfitLoss;
|
|
2021
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MultichainTokenProfitLoss;
|
|
2022
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MultichainTokenProfitLoss;
|
|
2023
|
-
static equals(a: MultichainTokenProfitLoss | PlainMessage<MultichainTokenProfitLoss> | undefined, b: MultichainTokenProfitLoss | PlainMessage<MultichainTokenProfitLoss> | undefined): boolean;
|
|
1961
|
+
EXIT_SCAM_RISK = 13
|
|
2024
1962
|
}
|
|
1963
|
+
/**
|
|
1964
|
+
* Describes the enum data.v1.AttackType.
|
|
1965
|
+
*/
|
|
1966
|
+
export declare const AttackTypeSchema: GenEnum<AttackType>;
|