@uniswap/client-data-api 0.0.18 → 0.0.20
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/data/v1/api-DataApiService_connectquery.d.ts +14 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +14 -1
- package/dist/data/v1/api_connect.d.ts +10 -1
- package/dist/data/v1/api_connect.js +10 -1
- package/dist/data/v1/api_pb.d.ts +97 -0
- package/dist/data/v1/api_pb.js +119 -0
- package/dist/data/v1/auction-AuctionService_connectquery.d.ts +28 -0
- package/dist/data/v1/auction-AuctionService_connectquery.js +32 -0
- package/dist/data/v1/auction_connect.d.ts +28 -0
- package/dist/data/v1/auction_connect.js +32 -0
- package/dist/data/v1/auction_pb.d.ts +188 -0
- package/dist/data/v1/auction_pb.js +279 -0
- package/dist/data/v1/reorged_block_pb.d.ts +31 -0
- package/dist/data/v1/reorged_block_pb.js +50 -0
- package/dist/data/v1/search-SearchService_connectquery.d.ts +15 -0
- package/dist/data/v1/search-SearchService_connectquery.js +19 -0
- package/dist/data/v1/searchTypes_pb.d.ts +349 -0
- package/dist/data/v1/searchTypes_pb.js +471 -0
- package/dist/data/v1/search_connect.d.ts +19 -0
- package/dist/data/v1/search_connect.js +23 -0
- package/dist/data/v1/search_pb.d.ts +57 -0
- package/dist/data/v1/search_pb.js +91 -0
- package/dist/data/v1/types_pb.d.ts +94 -14
- package/dist/data/v1/types_pb.js +86 -32
- package/package.json +1 -1
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from enum search.v1.SearchType
|
|
5
|
+
*/
|
|
6
|
+
export declare enum SearchType {
|
|
7
|
+
/**
|
|
8
|
+
* @generated from enum value: SEARCH_TYPE_UNSPECIFIED = 0;
|
|
9
|
+
*/
|
|
10
|
+
SEARCH_TYPE_UNSPECIFIED = 0,
|
|
11
|
+
/**
|
|
12
|
+
* @generated from enum value: TOKEN = 1;
|
|
13
|
+
*/
|
|
14
|
+
TOKEN = 1,
|
|
15
|
+
/**
|
|
16
|
+
* @generated from enum value: POOL = 2;
|
|
17
|
+
*/
|
|
18
|
+
POOL = 2
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @generated from enum search.v1.SpamCode
|
|
22
|
+
*/
|
|
23
|
+
export declare enum SpamCode {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: NOT_SPAM = 0;
|
|
26
|
+
*/
|
|
27
|
+
NOT_SPAM = 0,
|
|
28
|
+
/**
|
|
29
|
+
* @generated from enum value: SPAM = 1;
|
|
30
|
+
*/
|
|
31
|
+
SPAM = 1,
|
|
32
|
+
/**
|
|
33
|
+
* @generated from enum value: SPAM_URL = 2;
|
|
34
|
+
*/
|
|
35
|
+
SPAM_URL = 2
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @generated from enum search.v1.AttackType
|
|
39
|
+
*/
|
|
40
|
+
export declare enum AttackType {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from enum value: ATTACK_TYPE_UNSPECIFIED = 0;
|
|
43
|
+
*/
|
|
44
|
+
ATTACK_TYPE_UNSPECIFIED = 0,
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: METADATA = 1;
|
|
47
|
+
*/
|
|
48
|
+
METADATA = 1,
|
|
49
|
+
/**
|
|
50
|
+
* @generated from enum value: INORGANIC_VOLUME = 2;
|
|
51
|
+
*/
|
|
52
|
+
INORGANIC_VOLUME = 2,
|
|
53
|
+
/**
|
|
54
|
+
* @generated from enum value: AIRDROP_PATTERN = 3;
|
|
55
|
+
*/
|
|
56
|
+
AIRDROP_PATTERN = 3,
|
|
57
|
+
/**
|
|
58
|
+
* @generated from enum value: DYNAMIC_ANALYSIS = 4;
|
|
59
|
+
*/
|
|
60
|
+
DYNAMIC_ANALYSIS = 4,
|
|
61
|
+
/**
|
|
62
|
+
* @generated from enum value: STATIC_CODE_SIGNATURE = 5;
|
|
63
|
+
*/
|
|
64
|
+
STATIC_CODE_SIGNATURE = 5,
|
|
65
|
+
/**
|
|
66
|
+
* @generated from enum value: KNOWN_MALICIOUS = 6;
|
|
67
|
+
*/
|
|
68
|
+
KNOWN_MALICIOUS = 6,
|
|
69
|
+
/**
|
|
70
|
+
* @generated from enum value: IMPERSONATOR = 7;
|
|
71
|
+
*/
|
|
72
|
+
IMPERSONATOR = 7,
|
|
73
|
+
/**
|
|
74
|
+
* @generated from enum value: UNSTABLE_TOKEN_PRICE = 8;
|
|
75
|
+
*/
|
|
76
|
+
UNSTABLE_TOKEN_PRICE = 8,
|
|
77
|
+
/**
|
|
78
|
+
* @generated from enum value: RUGPULL = 9;
|
|
79
|
+
*/
|
|
80
|
+
RUGPULL = 9,
|
|
81
|
+
/**
|
|
82
|
+
* @generated from enum value: HIGH_FEES = 10;
|
|
83
|
+
*/
|
|
84
|
+
HIGH_FEES = 10
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @generated from message search.v1.Token
|
|
88
|
+
*/
|
|
89
|
+
export declare class Token extends Message<Token> {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: string token_id = 1;
|
|
92
|
+
*/
|
|
93
|
+
tokenId: string;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: uint32 chain_id = 2;
|
|
96
|
+
*/
|
|
97
|
+
chainId: number;
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: string address = 3;
|
|
100
|
+
*/
|
|
101
|
+
address: string;
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: uint32 decimals = 4;
|
|
104
|
+
*/
|
|
105
|
+
decimals: number;
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: string symbol = 5;
|
|
108
|
+
*/
|
|
109
|
+
symbol: string;
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: string name = 6;
|
|
112
|
+
*/
|
|
113
|
+
name: string;
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: string standard = 7;
|
|
116
|
+
*/
|
|
117
|
+
standard: string;
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: string project_name = 8;
|
|
120
|
+
*/
|
|
121
|
+
projectName: string;
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: string logo_url = 9;
|
|
124
|
+
*/
|
|
125
|
+
logoUrl: string;
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: string is_spam = 10;
|
|
128
|
+
*/
|
|
129
|
+
isSpam: string;
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string safety_level = 11;
|
|
132
|
+
*/
|
|
133
|
+
safetyLevel: string;
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: search.v1.SpamCode spam_code = 12;
|
|
136
|
+
*/
|
|
137
|
+
spamCode: SpamCode;
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: search.v1.FeeData fee_data = 13;
|
|
140
|
+
*/
|
|
141
|
+
feeData?: FeeData;
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: search.v1.TokenProtectionInfo protection_info = 14;
|
|
144
|
+
*/
|
|
145
|
+
protectionInfo?: TokenProtectionInfo;
|
|
146
|
+
constructor(data?: PartialMessage<Token>);
|
|
147
|
+
static readonly runtime: typeof proto3;
|
|
148
|
+
static readonly typeName = "search.v1.Token";
|
|
149
|
+
static readonly fields: FieldList;
|
|
150
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Token;
|
|
151
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Token;
|
|
152
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Token;
|
|
153
|
+
static equals(a: Token | PlainMessage<Token> | undefined, b: Token | PlainMessage<Token> | undefined): boolean;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* @generated from message search.v1.FeeData
|
|
157
|
+
*/
|
|
158
|
+
export declare class FeeData extends Message<FeeData> {
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: string sell_fee_bps = 1;
|
|
161
|
+
*/
|
|
162
|
+
sellFeeBps: string;
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: string buy_fee_bps = 2;
|
|
165
|
+
*/
|
|
166
|
+
buyFeeBps: string;
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: bool fee_taken_on_transfer = 3;
|
|
169
|
+
*/
|
|
170
|
+
feeTakenOnTransfer: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* @generated from field: bool external_transfer_failed = 4;
|
|
173
|
+
*/
|
|
174
|
+
externalTransferFailed: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: bool sell_reverted = 5;
|
|
177
|
+
*/
|
|
178
|
+
sellReverted: boolean;
|
|
179
|
+
constructor(data?: PartialMessage<FeeData>);
|
|
180
|
+
static readonly runtime: typeof proto3;
|
|
181
|
+
static readonly typeName = "search.v1.FeeData";
|
|
182
|
+
static readonly fields: FieldList;
|
|
183
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeeData;
|
|
184
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeeData;
|
|
185
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeeData;
|
|
186
|
+
static equals(a: FeeData | PlainMessage<FeeData> | undefined, b: FeeData | PlainMessage<FeeData> | undefined): boolean;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* @generated from message search.v1.BlockaidFees
|
|
190
|
+
*/
|
|
191
|
+
export declare class BlockaidFees extends Message<BlockaidFees> {
|
|
192
|
+
/**
|
|
193
|
+
* @generated from field: double transfer = 1;
|
|
194
|
+
*/
|
|
195
|
+
transfer: number;
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: double buy = 2;
|
|
198
|
+
*/
|
|
199
|
+
buy: number;
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: double sell = 3;
|
|
202
|
+
*/
|
|
203
|
+
sell: number;
|
|
204
|
+
constructor(data?: PartialMessage<BlockaidFees>);
|
|
205
|
+
static readonly runtime: typeof proto3;
|
|
206
|
+
static readonly typeName = "search.v1.BlockaidFees";
|
|
207
|
+
static readonly fields: FieldList;
|
|
208
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlockaidFees;
|
|
209
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlockaidFees;
|
|
210
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlockaidFees;
|
|
211
|
+
static equals(a: BlockaidFees | PlainMessage<BlockaidFees> | undefined, b: BlockaidFees | PlainMessage<BlockaidFees> | undefined): boolean;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* @generated from message search.v1.TokenProtectionInfo
|
|
215
|
+
*/
|
|
216
|
+
export declare class TokenProtectionInfo extends Message<TokenProtectionInfo> {
|
|
217
|
+
/**
|
|
218
|
+
* @generated from field: string result = 1;
|
|
219
|
+
*/
|
|
220
|
+
result: string;
|
|
221
|
+
/**
|
|
222
|
+
* @generated from field: string token_id = 2;
|
|
223
|
+
*/
|
|
224
|
+
tokenId: string;
|
|
225
|
+
/**
|
|
226
|
+
* @generated from field: uint32 chain_id = 3;
|
|
227
|
+
*/
|
|
228
|
+
chainId: number;
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: repeated string attack_types = 4;
|
|
231
|
+
*/
|
|
232
|
+
attackTypes: string[];
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: string address = 5;
|
|
235
|
+
*/
|
|
236
|
+
address: string;
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: search.v1.BlockaidFees blockaid_fees = 6;
|
|
239
|
+
*/
|
|
240
|
+
blockaidFees?: BlockaidFees;
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: uint32 updated_at = 7;
|
|
243
|
+
*/
|
|
244
|
+
updatedAt: number;
|
|
245
|
+
/**
|
|
246
|
+
* @generated from field: search.v1.FeeData fee_data = 8;
|
|
247
|
+
*/
|
|
248
|
+
feeData?: FeeData;
|
|
249
|
+
constructor(data?: PartialMessage<TokenProtectionInfo>);
|
|
250
|
+
static readonly runtime: typeof proto3;
|
|
251
|
+
static readonly typeName = "search.v1.TokenProtectionInfo";
|
|
252
|
+
static readonly fields: FieldList;
|
|
253
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenProtectionInfo;
|
|
254
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenProtectionInfo;
|
|
255
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenProtectionInfo;
|
|
256
|
+
static equals(a: TokenProtectionInfo | PlainMessage<TokenProtectionInfo> | undefined, b: TokenProtectionInfo | PlainMessage<TokenProtectionInfo> | undefined): boolean;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* @generated from message search.v1.PoolTokenData
|
|
260
|
+
*/
|
|
261
|
+
export declare class PoolTokenData extends Message<PoolTokenData> {
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: uint32 chain_id = 1;
|
|
264
|
+
*/
|
|
265
|
+
chainId: number;
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: string address = 2;
|
|
268
|
+
*/
|
|
269
|
+
address: string;
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: string symbol = 3;
|
|
272
|
+
*/
|
|
273
|
+
symbol: string;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: string name = 4;
|
|
276
|
+
*/
|
|
277
|
+
name: string;
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: uint32 decimals = 5;
|
|
280
|
+
*/
|
|
281
|
+
decimals: number;
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: string logo_url = 6;
|
|
284
|
+
*/
|
|
285
|
+
logoUrl: string;
|
|
286
|
+
constructor(data?: PartialMessage<PoolTokenData>);
|
|
287
|
+
static readonly runtime: typeof proto3;
|
|
288
|
+
static readonly typeName = "search.v1.PoolTokenData";
|
|
289
|
+
static readonly fields: FieldList;
|
|
290
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolTokenData;
|
|
291
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolTokenData;
|
|
292
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolTokenData;
|
|
293
|
+
static equals(a: PoolTokenData | PlainMessage<PoolTokenData> | undefined, b: PoolTokenData | PlainMessage<PoolTokenData> | undefined): boolean;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* @generated from message search.v1.Pool
|
|
297
|
+
*/
|
|
298
|
+
export declare class Pool extends Message<Pool> {
|
|
299
|
+
/**
|
|
300
|
+
* @generated from field: double volume_usd_24hr = 1;
|
|
301
|
+
*/
|
|
302
|
+
volumeUsd24hr: number;
|
|
303
|
+
/**
|
|
304
|
+
* @generated from field: double volume_usd_12hr = 2;
|
|
305
|
+
*/
|
|
306
|
+
volumeUsd12hr: number;
|
|
307
|
+
/**
|
|
308
|
+
* @generated from field: double volume_usd_6hr = 3;
|
|
309
|
+
*/
|
|
310
|
+
volumeUsd6hr: number;
|
|
311
|
+
/**
|
|
312
|
+
* @generated from field: search.v1.PoolTokenData token0 = 4;
|
|
313
|
+
*/
|
|
314
|
+
token0?: PoolTokenData;
|
|
315
|
+
/**
|
|
316
|
+
* @generated from field: search.v1.PoolTokenData token1 = 5;
|
|
317
|
+
*/
|
|
318
|
+
token1?: PoolTokenData;
|
|
319
|
+
/**
|
|
320
|
+
* @generated from field: string id = 6;
|
|
321
|
+
*/
|
|
322
|
+
id: string;
|
|
323
|
+
/**
|
|
324
|
+
* @generated from field: uint32 chain_id = 7;
|
|
325
|
+
*/
|
|
326
|
+
chainId: number;
|
|
327
|
+
/**
|
|
328
|
+
* @generated from field: optional string hook_address = 8;
|
|
329
|
+
*/
|
|
330
|
+
hookAddress?: string;
|
|
331
|
+
/**
|
|
332
|
+
* V4, V3, or V2
|
|
333
|
+
*
|
|
334
|
+
* @generated from field: string protocol_version = 9;
|
|
335
|
+
*/
|
|
336
|
+
protocolVersion: string;
|
|
337
|
+
/**
|
|
338
|
+
* @generated from field: uint32 fee_tier = 10;
|
|
339
|
+
*/
|
|
340
|
+
feeTier: number;
|
|
341
|
+
constructor(data?: PartialMessage<Pool>);
|
|
342
|
+
static readonly runtime: typeof proto3;
|
|
343
|
+
static readonly typeName = "search.v1.Pool";
|
|
344
|
+
static readonly fields: FieldList;
|
|
345
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pool;
|
|
346
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pool;
|
|
347
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pool;
|
|
348
|
+
static equals(a: Pool | PlainMessage<Pool> | undefined, b: Pool | PlainMessage<Pool> | undefined): boolean;
|
|
349
|
+
}
|