@uniswap/client-data-api 0.0.19 → 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/auction_pb.d.ts +32 -3
- package/dist/data/v1/auction_pb.js +45 -4
- 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/package.json +1 -1
- package/dist/data/v1/substreamEvents_pb.d.ts +0 -2760
- package/dist/data/v1/substreamEvents_pb.js +0 -1371
|
@@ -136,6 +136,33 @@ export declare class GetBidsRequest extends Message<GetBidsRequest> {
|
|
|
136
136
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBidsRequest;
|
|
137
137
|
static equals(a: GetBidsRequest | PlainMessage<GetBidsRequest> | undefined, b: GetBidsRequest | PlainMessage<GetBidsRequest> | undefined): boolean;
|
|
138
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* A single bid concentration point.
|
|
141
|
+
*
|
|
142
|
+
* @generated from message data.v1.BidConcentrationPoint
|
|
143
|
+
*/
|
|
144
|
+
export declare class BidConcentrationPoint extends Message<BidConcentrationPoint> {
|
|
145
|
+
/**
|
|
146
|
+
* cumulative volume (numeric as string)
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: string volume = 1;
|
|
149
|
+
*/
|
|
150
|
+
volume: string;
|
|
151
|
+
/**
|
|
152
|
+
* ISO 8601 timestamp string
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: string updated_at = 2;
|
|
155
|
+
*/
|
|
156
|
+
updatedAt: string;
|
|
157
|
+
constructor(data?: PartialMessage<BidConcentrationPoint>);
|
|
158
|
+
static readonly runtime: typeof proto3;
|
|
159
|
+
static readonly typeName = "data.v1.BidConcentrationPoint";
|
|
160
|
+
static readonly fields: FieldList;
|
|
161
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BidConcentrationPoint;
|
|
162
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BidConcentrationPoint;
|
|
163
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BidConcentrationPoint;
|
|
164
|
+
static equals(a: BidConcentrationPoint | PlainMessage<BidConcentrationPoint> | undefined, b: BidConcentrationPoint | PlainMessage<BidConcentrationPoint> | undefined): boolean;
|
|
165
|
+
}
|
|
139
166
|
/**
|
|
140
167
|
* Response containing bids for an auction.
|
|
141
168
|
*
|
|
@@ -143,11 +170,13 @@ export declare class GetBidsRequest extends Message<GetBidsRequest> {
|
|
|
143
170
|
*/
|
|
144
171
|
export declare class GetBidsResponse extends Message<GetBidsResponse> {
|
|
145
172
|
/**
|
|
146
|
-
*
|
|
173
|
+
* Map of max_price to bid concentration data
|
|
147
174
|
*
|
|
148
|
-
* @generated from field: string
|
|
175
|
+
* @generated from field: map<string, data.v1.BidConcentrationPoint> concentration = 1;
|
|
149
176
|
*/
|
|
150
|
-
|
|
177
|
+
concentration: {
|
|
178
|
+
[key: string]: BidConcentrationPoint;
|
|
179
|
+
};
|
|
151
180
|
constructor(data?: PartialMessage<GetBidsResponse>);
|
|
152
181
|
static readonly runtime: typeof proto3;
|
|
153
182
|
static readonly typeName = "data.v1.GetBidsResponse";
|
|
@@ -202,6 +202,47 @@ GetBidsRequest.typeName = "data.v1.GetBidsRequest";
|
|
|
202
202
|
GetBidsRequest.fields = proto3.util.newFieldList(() => [
|
|
203
203
|
{ no: 1, name: "auction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
204
204
|
]);
|
|
205
|
+
/**
|
|
206
|
+
* A single bid concentration point.
|
|
207
|
+
*
|
|
208
|
+
* @generated from message data.v1.BidConcentrationPoint
|
|
209
|
+
*/
|
|
210
|
+
export class BidConcentrationPoint extends Message {
|
|
211
|
+
constructor(data) {
|
|
212
|
+
super();
|
|
213
|
+
/**
|
|
214
|
+
* cumulative volume (numeric as string)
|
|
215
|
+
*
|
|
216
|
+
* @generated from field: string volume = 1;
|
|
217
|
+
*/
|
|
218
|
+
this.volume = "";
|
|
219
|
+
/**
|
|
220
|
+
* ISO 8601 timestamp string
|
|
221
|
+
*
|
|
222
|
+
* @generated from field: string updated_at = 2;
|
|
223
|
+
*/
|
|
224
|
+
this.updatedAt = "";
|
|
225
|
+
proto3.util.initPartial(data, this);
|
|
226
|
+
}
|
|
227
|
+
static fromBinary(bytes, options) {
|
|
228
|
+
return new BidConcentrationPoint().fromBinary(bytes, options);
|
|
229
|
+
}
|
|
230
|
+
static fromJson(jsonValue, options) {
|
|
231
|
+
return new BidConcentrationPoint().fromJson(jsonValue, options);
|
|
232
|
+
}
|
|
233
|
+
static fromJsonString(jsonString, options) {
|
|
234
|
+
return new BidConcentrationPoint().fromJsonString(jsonString, options);
|
|
235
|
+
}
|
|
236
|
+
static equals(a, b) {
|
|
237
|
+
return proto3.util.equals(BidConcentrationPoint, a, b);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
BidConcentrationPoint.runtime = proto3;
|
|
241
|
+
BidConcentrationPoint.typeName = "data.v1.BidConcentrationPoint";
|
|
242
|
+
BidConcentrationPoint.fields = proto3.util.newFieldList(() => [
|
|
243
|
+
{ no: 1, name: "volume", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
244
|
+
{ no: 2, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
245
|
+
]);
|
|
205
246
|
/**
|
|
206
247
|
* Response containing bids for an auction.
|
|
207
248
|
*
|
|
@@ -211,11 +252,11 @@ export class GetBidsResponse extends Message {
|
|
|
211
252
|
constructor(data) {
|
|
212
253
|
super();
|
|
213
254
|
/**
|
|
214
|
-
*
|
|
255
|
+
* Map of max_price to bid concentration data
|
|
215
256
|
*
|
|
216
|
-
* @generated from field: string
|
|
257
|
+
* @generated from field: map<string, data.v1.BidConcentrationPoint> concentration = 1;
|
|
217
258
|
*/
|
|
218
|
-
this.
|
|
259
|
+
this.concentration = {};
|
|
219
260
|
proto3.util.initPartial(data, this);
|
|
220
261
|
}
|
|
221
262
|
static fromBinary(bytes, options) {
|
|
@@ -234,5 +275,5 @@ export class GetBidsResponse extends Message {
|
|
|
234
275
|
GetBidsResponse.runtime = proto3;
|
|
235
276
|
GetBidsResponse.typeName = "data.v1.GetBidsResponse";
|
|
236
277
|
GetBidsResponse.fields = proto3.util.newFieldList(() => [
|
|
237
|
-
{ no: 1, name: "
|
|
278
|
+
{ no: 1, name: "concentration", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: BidConcentrationPoint } },
|
|
238
279
|
]);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from message data.v1.ReorgedBlock
|
|
5
|
+
*/
|
|
6
|
+
export declare class ReorgedBlock extends Message<ReorgedBlock> {
|
|
7
|
+
/**
|
|
8
|
+
* @generated from field: uint64 chain_id = 1;
|
|
9
|
+
*/
|
|
10
|
+
chainId: bigint;
|
|
11
|
+
/**
|
|
12
|
+
* @generated from field: uint64 block_num = 2;
|
|
13
|
+
*/
|
|
14
|
+
blockNum: bigint;
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: string block_hash = 3;
|
|
17
|
+
*/
|
|
18
|
+
blockHash: string;
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: uint64 created_at = 4;
|
|
21
|
+
*/
|
|
22
|
+
createdAt: bigint;
|
|
23
|
+
constructor(data?: PartialMessage<ReorgedBlock>);
|
|
24
|
+
static readonly runtime: typeof proto3;
|
|
25
|
+
static readonly typeName = "data.v1.ReorgedBlock";
|
|
26
|
+
static readonly fields: FieldList;
|
|
27
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReorgedBlock;
|
|
28
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReorgedBlock;
|
|
29
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReorgedBlock;
|
|
30
|
+
static equals(a: ReorgedBlock | PlainMessage<ReorgedBlock> | undefined, b: ReorgedBlock | PlainMessage<ReorgedBlock> | undefined): boolean;
|
|
31
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file data/v1/reorged_block.proto (package data.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* @generated from message data.v1.ReorgedBlock
|
|
8
|
+
*/
|
|
9
|
+
export class ReorgedBlock extends Message {
|
|
10
|
+
constructor(data) {
|
|
11
|
+
super();
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: uint64 chain_id = 1;
|
|
14
|
+
*/
|
|
15
|
+
this.chainId = protoInt64.zero;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: uint64 block_num = 2;
|
|
18
|
+
*/
|
|
19
|
+
this.blockNum = protoInt64.zero;
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: string block_hash = 3;
|
|
22
|
+
*/
|
|
23
|
+
this.blockHash = "";
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: uint64 created_at = 4;
|
|
26
|
+
*/
|
|
27
|
+
this.createdAt = protoInt64.zero;
|
|
28
|
+
proto3.util.initPartial(data, this);
|
|
29
|
+
}
|
|
30
|
+
static fromBinary(bytes, options) {
|
|
31
|
+
return new ReorgedBlock().fromBinary(bytes, options);
|
|
32
|
+
}
|
|
33
|
+
static fromJson(jsonValue, options) {
|
|
34
|
+
return new ReorgedBlock().fromJson(jsonValue, options);
|
|
35
|
+
}
|
|
36
|
+
static fromJsonString(jsonString, options) {
|
|
37
|
+
return new ReorgedBlock().fromJsonString(jsonString, options);
|
|
38
|
+
}
|
|
39
|
+
static equals(a, b) {
|
|
40
|
+
return proto3.util.equals(ReorgedBlock, a, b);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
ReorgedBlock.runtime = proto3;
|
|
44
|
+
ReorgedBlock.typeName = "data.v1.ReorgedBlock";
|
|
45
|
+
ReorgedBlock.fields = proto3.util.newFieldList(() => [
|
|
46
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
47
|
+
{ no: 2, name: "block_num", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
48
|
+
{ no: 3, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
49
|
+
{ no: 4, name: "created_at", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
50
|
+
]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
+
import { SearchTokensRequest, SearchTokensResponse } from "./search_pb.js";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from rpc data.v1.SearchService.SearchTokens
|
|
5
|
+
*/
|
|
6
|
+
export declare const searchTokens: {
|
|
7
|
+
readonly localName: "searchTokens";
|
|
8
|
+
readonly name: "SearchTokens";
|
|
9
|
+
readonly kind: MethodKind.Unary;
|
|
10
|
+
readonly I: typeof SearchTokensRequest;
|
|
11
|
+
readonly O: typeof SearchTokensResponse;
|
|
12
|
+
readonly service: {
|
|
13
|
+
readonly typeName: "data.v1.SearchService";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file data/v1/search.proto (package data.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
import { SearchTokensRequest, SearchTokensResponse } from "./search_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from rpc data.v1.SearchService.SearchTokens
|
|
9
|
+
*/
|
|
10
|
+
export const searchTokens = {
|
|
11
|
+
localName: "searchTokens",
|
|
12
|
+
name: "SearchTokens",
|
|
13
|
+
kind: MethodKind.Unary,
|
|
14
|
+
I: SearchTokensRequest,
|
|
15
|
+
O: SearchTokensResponse,
|
|
16
|
+
service: {
|
|
17
|
+
typeName: "data.v1.SearchService"
|
|
18
|
+
}
|
|
19
|
+
};
|
|
@@ -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
|
+
}
|