@uniswap/client-data-api 0.0.59 → 0.0.60
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-AuctionService_connectquery.d.ts +14 -1
- package/dist/data/v1/auction-AuctionService_connectquery.js +14 -1
- package/dist/data/v1/auction_connect.d.ts +10 -1
- package/dist/data/v1/auction_connect.js +10 -1
- package/dist/data/v1/auction_pb.d.ts +71 -0
- package/dist/data/v1/auction_pb.js +115 -0
- package/dist/data/v1/searchTypes_pb.d.ts +46 -1
- package/dist/data/v1/searchTypes_pb.js +65 -0
- package/dist/data/v1/search_pb.d.ts +5 -1
- package/dist/data/v1/search_pb.js +6 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
2
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, GetTickDetailsRequest, GetTickDetailsResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
5
5
|
*/
|
|
@@ -117,3 +117,16 @@ export declare const getCheckpointsForBid: {
|
|
|
117
117
|
readonly typeName: "data.v1.AuctionService";
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
|
+
/**
|
|
121
|
+
* @generated from rpc data.v1.AuctionService.GetTickDetails
|
|
122
|
+
*/
|
|
123
|
+
export declare const getTickDetails: {
|
|
124
|
+
readonly localName: "getTickDetails";
|
|
125
|
+
readonly name: "GetTickDetails";
|
|
126
|
+
readonly kind: MethodKind.Unary;
|
|
127
|
+
readonly I: typeof GetTickDetailsRequest;
|
|
128
|
+
readonly O: typeof GetTickDetailsResponse;
|
|
129
|
+
readonly service: {
|
|
130
|
+
readonly typeName: "data.v1.AuctionService";
|
|
131
|
+
};
|
|
132
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
6
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, GetTickDetailsRequest, GetTickDetailsResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
9
9
|
*/
|
|
@@ -121,3 +121,16 @@ export const getCheckpointsForBid = {
|
|
|
121
121
|
typeName: "data.v1.AuctionService"
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
|
+
/**
|
|
125
|
+
* @generated from rpc data.v1.AuctionService.GetTickDetails
|
|
126
|
+
*/
|
|
127
|
+
export const getTickDetails = {
|
|
128
|
+
localName: "getTickDetails",
|
|
129
|
+
name: "GetTickDetails",
|
|
130
|
+
kind: MethodKind.Unary,
|
|
131
|
+
I: GetTickDetailsRequest,
|
|
132
|
+
O: GetTickDetailsResponse,
|
|
133
|
+
service: {
|
|
134
|
+
typeName: "data.v1.AuctionService"
|
|
135
|
+
}
|
|
136
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
1
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, GetTickDetailsRequest, GetTickDetailsResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.AuctionService
|
|
@@ -87,5 +87,14 @@ export declare const AuctionService: {
|
|
|
87
87
|
readonly O: typeof GetCheckpointsForBidResponse;
|
|
88
88
|
readonly kind: MethodKind.Unary;
|
|
89
89
|
};
|
|
90
|
+
/**
|
|
91
|
+
* @generated from rpc data.v1.AuctionService.GetTickDetails
|
|
92
|
+
*/
|
|
93
|
+
readonly getTickDetails: {
|
|
94
|
+
readonly name: "GetTickDetails";
|
|
95
|
+
readonly I: typeof GetTickDetailsRequest;
|
|
96
|
+
readonly O: typeof GetTickDetailsResponse;
|
|
97
|
+
readonly kind: MethodKind.Unary;
|
|
98
|
+
};
|
|
90
99
|
};
|
|
91
100
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/auction.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
5
|
+
import { GetAuctionActivityRequest, GetAuctionActivityResponse, GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetCheckpointsForBidRequest, GetCheckpointsForBidResponse, GetCheckpointsRequest, GetCheckpointsResponse, GetClearingPriceHistoryRequest, GetClearingPriceHistoryResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse, GetTickDetailsRequest, GetTickDetailsResponse, ListTopAuctionsRequest, ListTopAuctionsResponse } from "./auction_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.AuctionService
|
|
@@ -91,5 +91,14 @@ export const AuctionService = {
|
|
|
91
91
|
O: GetCheckpointsForBidResponse,
|
|
92
92
|
kind: MethodKind.Unary,
|
|
93
93
|
},
|
|
94
|
+
/**
|
|
95
|
+
* @generated from rpc data.v1.AuctionService.GetTickDetails
|
|
96
|
+
*/
|
|
97
|
+
getTickDetails: {
|
|
98
|
+
name: "GetTickDetails",
|
|
99
|
+
I: GetTickDetailsRequest,
|
|
100
|
+
O: GetTickDetailsResponse,
|
|
101
|
+
kind: MethodKind.Unary,
|
|
102
|
+
},
|
|
94
103
|
}
|
|
95
104
|
};
|
|
@@ -919,3 +919,74 @@ export declare class GetCheckpointsForBidResponse extends Message<GetCheckpoints
|
|
|
919
919
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCheckpointsForBidResponse;
|
|
920
920
|
static equals(a: GetCheckpointsForBidResponse | PlainMessage<GetCheckpointsForBidResponse> | undefined, b: GetCheckpointsForBidResponse | PlainMessage<GetCheckpointsForBidResponse> | undefined): boolean;
|
|
921
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* @generated from message data.v1.GetTickDetailsRequest
|
|
924
|
+
*/
|
|
925
|
+
export declare class GetTickDetailsRequest extends Message<GetTickDetailsRequest> {
|
|
926
|
+
/**
|
|
927
|
+
* @generated from field: int32 chain_id = 1;
|
|
928
|
+
*/
|
|
929
|
+
chainId: number;
|
|
930
|
+
/**
|
|
931
|
+
* @generated from field: string address = 2;
|
|
932
|
+
*/
|
|
933
|
+
address: string;
|
|
934
|
+
constructor(data?: PartialMessage<GetTickDetailsRequest>);
|
|
935
|
+
static readonly runtime: typeof proto3;
|
|
936
|
+
static readonly typeName = "data.v1.GetTickDetailsRequest";
|
|
937
|
+
static readonly fields: FieldList;
|
|
938
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTickDetailsRequest;
|
|
939
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTickDetailsRequest;
|
|
940
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTickDetailsRequest;
|
|
941
|
+
static equals(a: GetTickDetailsRequest | PlainMessage<GetTickDetailsRequest> | undefined, b: GetTickDetailsRequest | PlainMessage<GetTickDetailsRequest> | undefined): boolean;
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* @generated from message data.v1.TickDetail
|
|
945
|
+
*/
|
|
946
|
+
export declare class TickDetail extends Message<TickDetail> {
|
|
947
|
+
/**
|
|
948
|
+
* @generated from field: string price_q96 = 1;
|
|
949
|
+
*/
|
|
950
|
+
priceQ96: string;
|
|
951
|
+
/**
|
|
952
|
+
* @generated from field: string currency_demand_q96 = 2;
|
|
953
|
+
*/
|
|
954
|
+
currencyDemandQ96: string;
|
|
955
|
+
/**
|
|
956
|
+
* @generated from field: string required_currency_demand_q96 = 3;
|
|
957
|
+
*/
|
|
958
|
+
requiredCurrencyDemandQ96: string;
|
|
959
|
+
/**
|
|
960
|
+
* @generated from field: string currency_required_q96 = 4;
|
|
961
|
+
*/
|
|
962
|
+
currencyRequiredQ96: string;
|
|
963
|
+
/**
|
|
964
|
+
* @generated from field: bool is_initialized = 5;
|
|
965
|
+
*/
|
|
966
|
+
isInitialized: boolean;
|
|
967
|
+
constructor(data?: PartialMessage<TickDetail>);
|
|
968
|
+
static readonly runtime: typeof proto3;
|
|
969
|
+
static readonly typeName = "data.v1.TickDetail";
|
|
970
|
+
static readonly fields: FieldList;
|
|
971
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TickDetail;
|
|
972
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TickDetail;
|
|
973
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TickDetail;
|
|
974
|
+
static equals(a: TickDetail | PlainMessage<TickDetail> | undefined, b: TickDetail | PlainMessage<TickDetail> | undefined): boolean;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* @generated from message data.v1.GetTickDetailsResponse
|
|
978
|
+
*/
|
|
979
|
+
export declare class GetTickDetailsResponse extends Message<GetTickDetailsResponse> {
|
|
980
|
+
/**
|
|
981
|
+
* @generated from field: repeated data.v1.TickDetail ticks = 1;
|
|
982
|
+
*/
|
|
983
|
+
ticks: TickDetail[];
|
|
984
|
+
constructor(data?: PartialMessage<GetTickDetailsResponse>);
|
|
985
|
+
static readonly runtime: typeof proto3;
|
|
986
|
+
static readonly typeName = "data.v1.GetTickDetailsResponse";
|
|
987
|
+
static readonly fields: FieldList;
|
|
988
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTickDetailsResponse;
|
|
989
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTickDetailsResponse;
|
|
990
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTickDetailsResponse;
|
|
991
|
+
static equals(a: GetTickDetailsResponse | PlainMessage<GetTickDetailsResponse> | undefined, b: GetTickDetailsResponse | PlainMessage<GetTickDetailsResponse> | undefined): boolean;
|
|
992
|
+
}
|
|
@@ -1218,3 +1218,118 @@ GetCheckpointsForBidResponse.fields = proto3.util.newFieldList(() => [
|
|
|
1218
1218
|
{ no: 1, name: "checkpoint_A", kind: "message", T: Checkpoint },
|
|
1219
1219
|
{ no: 2, name: "checkpoint_B", kind: "message", T: Checkpoint, opt: true },
|
|
1220
1220
|
]);
|
|
1221
|
+
/**
|
|
1222
|
+
* @generated from message data.v1.GetTickDetailsRequest
|
|
1223
|
+
*/
|
|
1224
|
+
export class GetTickDetailsRequest extends Message {
|
|
1225
|
+
constructor(data) {
|
|
1226
|
+
super();
|
|
1227
|
+
/**
|
|
1228
|
+
* @generated from field: int32 chain_id = 1;
|
|
1229
|
+
*/
|
|
1230
|
+
this.chainId = 0;
|
|
1231
|
+
/**
|
|
1232
|
+
* @generated from field: string address = 2;
|
|
1233
|
+
*/
|
|
1234
|
+
this.address = "";
|
|
1235
|
+
proto3.util.initPartial(data, this);
|
|
1236
|
+
}
|
|
1237
|
+
static fromBinary(bytes, options) {
|
|
1238
|
+
return new GetTickDetailsRequest().fromBinary(bytes, options);
|
|
1239
|
+
}
|
|
1240
|
+
static fromJson(jsonValue, options) {
|
|
1241
|
+
return new GetTickDetailsRequest().fromJson(jsonValue, options);
|
|
1242
|
+
}
|
|
1243
|
+
static fromJsonString(jsonString, options) {
|
|
1244
|
+
return new GetTickDetailsRequest().fromJsonString(jsonString, options);
|
|
1245
|
+
}
|
|
1246
|
+
static equals(a, b) {
|
|
1247
|
+
return proto3.util.equals(GetTickDetailsRequest, a, b);
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
GetTickDetailsRequest.runtime = proto3;
|
|
1251
|
+
GetTickDetailsRequest.typeName = "data.v1.GetTickDetailsRequest";
|
|
1252
|
+
GetTickDetailsRequest.fields = proto3.util.newFieldList(() => [
|
|
1253
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1254
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1255
|
+
]);
|
|
1256
|
+
/**
|
|
1257
|
+
* @generated from message data.v1.TickDetail
|
|
1258
|
+
*/
|
|
1259
|
+
export class TickDetail extends Message {
|
|
1260
|
+
constructor(data) {
|
|
1261
|
+
super();
|
|
1262
|
+
/**
|
|
1263
|
+
* @generated from field: string price_q96 = 1;
|
|
1264
|
+
*/
|
|
1265
|
+
this.priceQ96 = "";
|
|
1266
|
+
/**
|
|
1267
|
+
* @generated from field: string currency_demand_q96 = 2;
|
|
1268
|
+
*/
|
|
1269
|
+
this.currencyDemandQ96 = "";
|
|
1270
|
+
/**
|
|
1271
|
+
* @generated from field: string required_currency_demand_q96 = 3;
|
|
1272
|
+
*/
|
|
1273
|
+
this.requiredCurrencyDemandQ96 = "";
|
|
1274
|
+
/**
|
|
1275
|
+
* @generated from field: string currency_required_q96 = 4;
|
|
1276
|
+
*/
|
|
1277
|
+
this.currencyRequiredQ96 = "";
|
|
1278
|
+
/**
|
|
1279
|
+
* @generated from field: bool is_initialized = 5;
|
|
1280
|
+
*/
|
|
1281
|
+
this.isInitialized = false;
|
|
1282
|
+
proto3.util.initPartial(data, this);
|
|
1283
|
+
}
|
|
1284
|
+
static fromBinary(bytes, options) {
|
|
1285
|
+
return new TickDetail().fromBinary(bytes, options);
|
|
1286
|
+
}
|
|
1287
|
+
static fromJson(jsonValue, options) {
|
|
1288
|
+
return new TickDetail().fromJson(jsonValue, options);
|
|
1289
|
+
}
|
|
1290
|
+
static fromJsonString(jsonString, options) {
|
|
1291
|
+
return new TickDetail().fromJsonString(jsonString, options);
|
|
1292
|
+
}
|
|
1293
|
+
static equals(a, b) {
|
|
1294
|
+
return proto3.util.equals(TickDetail, a, b);
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
TickDetail.runtime = proto3;
|
|
1298
|
+
TickDetail.typeName = "data.v1.TickDetail";
|
|
1299
|
+
TickDetail.fields = proto3.util.newFieldList(() => [
|
|
1300
|
+
{ no: 1, name: "price_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1301
|
+
{ no: 2, name: "currency_demand_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1302
|
+
{ no: 3, name: "required_currency_demand_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1303
|
+
{ no: 4, name: "currency_required_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1304
|
+
{ no: 5, name: "is_initialized", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1305
|
+
]);
|
|
1306
|
+
/**
|
|
1307
|
+
* @generated from message data.v1.GetTickDetailsResponse
|
|
1308
|
+
*/
|
|
1309
|
+
export class GetTickDetailsResponse extends Message {
|
|
1310
|
+
constructor(data) {
|
|
1311
|
+
super();
|
|
1312
|
+
/**
|
|
1313
|
+
* @generated from field: repeated data.v1.TickDetail ticks = 1;
|
|
1314
|
+
*/
|
|
1315
|
+
this.ticks = [];
|
|
1316
|
+
proto3.util.initPartial(data, this);
|
|
1317
|
+
}
|
|
1318
|
+
static fromBinary(bytes, options) {
|
|
1319
|
+
return new GetTickDetailsResponse().fromBinary(bytes, options);
|
|
1320
|
+
}
|
|
1321
|
+
static fromJson(jsonValue, options) {
|
|
1322
|
+
return new GetTickDetailsResponse().fromJson(jsonValue, options);
|
|
1323
|
+
}
|
|
1324
|
+
static fromJsonString(jsonString, options) {
|
|
1325
|
+
return new GetTickDetailsResponse().fromJsonString(jsonString, options);
|
|
1326
|
+
}
|
|
1327
|
+
static equals(a, b) {
|
|
1328
|
+
return proto3.util.equals(GetTickDetailsResponse, a, b);
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
GetTickDetailsResponse.runtime = proto3;
|
|
1332
|
+
GetTickDetailsResponse.typeName = "data.v1.GetTickDetailsResponse";
|
|
1333
|
+
GetTickDetailsResponse.fields = proto3.util.newFieldList(() => [
|
|
1334
|
+
{ no: 1, name: "ticks", kind: "message", T: TickDetail, repeated: true },
|
|
1335
|
+
]);
|
|
@@ -15,7 +15,11 @@ export declare enum SearchType {
|
|
|
15
15
|
/**
|
|
16
16
|
* @generated from enum value: POOL = 2;
|
|
17
17
|
*/
|
|
18
|
-
POOL = 2
|
|
18
|
+
POOL = 2,
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: AUCTION = 3;
|
|
21
|
+
*/
|
|
22
|
+
AUCTION = 3
|
|
19
23
|
}
|
|
20
24
|
/**
|
|
21
25
|
* @generated from enum search.v1.SpamCode
|
|
@@ -185,6 +189,47 @@ export declare class FeeData extends Message<FeeData> {
|
|
|
185
189
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeeData;
|
|
186
190
|
static equals(a: FeeData | PlainMessage<FeeData> | undefined, b: FeeData | PlainMessage<FeeData> | undefined): boolean;
|
|
187
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* @generated from message search.v1.SearchAuction
|
|
194
|
+
*/
|
|
195
|
+
export declare class SearchAuction extends Message<SearchAuction> {
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: string auction_id = 1;
|
|
198
|
+
*/
|
|
199
|
+
auctionId: string;
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: uint32 chain_id = 2;
|
|
202
|
+
*/
|
|
203
|
+
chainId: number;
|
|
204
|
+
/**
|
|
205
|
+
* @generated from field: string auction_address = 3;
|
|
206
|
+
*/
|
|
207
|
+
auctionAddress: string;
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: string token_address = 4;
|
|
210
|
+
*/
|
|
211
|
+
tokenAddress: string;
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: string token_name = 5;
|
|
214
|
+
*/
|
|
215
|
+
tokenName: string;
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: string token_symbol = 6;
|
|
218
|
+
*/
|
|
219
|
+
tokenSymbol: string;
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: string total_bid_volume_usd = 7;
|
|
222
|
+
*/
|
|
223
|
+
totalBidVolumeUsd: string;
|
|
224
|
+
constructor(data?: PartialMessage<SearchAuction>);
|
|
225
|
+
static readonly runtime: typeof proto3;
|
|
226
|
+
static readonly typeName = "search.v1.SearchAuction";
|
|
227
|
+
static readonly fields: FieldList;
|
|
228
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchAuction;
|
|
229
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchAuction;
|
|
230
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchAuction;
|
|
231
|
+
static equals(a: SearchAuction | PlainMessage<SearchAuction> | undefined, b: SearchAuction | PlainMessage<SearchAuction> | undefined): boolean;
|
|
232
|
+
}
|
|
188
233
|
/**
|
|
189
234
|
* @generated from message search.v1.BlockaidFees
|
|
190
235
|
*/
|
|
@@ -20,12 +20,17 @@ export var SearchType;
|
|
|
20
20
|
* @generated from enum value: POOL = 2;
|
|
21
21
|
*/
|
|
22
22
|
SearchType[SearchType["POOL"] = 2] = "POOL";
|
|
23
|
+
/**
|
|
24
|
+
* @generated from enum value: AUCTION = 3;
|
|
25
|
+
*/
|
|
26
|
+
SearchType[SearchType["AUCTION"] = 3] = "AUCTION";
|
|
23
27
|
})(SearchType || (SearchType = {}));
|
|
24
28
|
// Retrieve enum metadata with: proto3.getEnumType(SearchType)
|
|
25
29
|
proto3.util.setEnumType(SearchType, "search.v1.SearchType", [
|
|
26
30
|
{ no: 0, name: "SEARCH_TYPE_UNSPECIFIED" },
|
|
27
31
|
{ no: 1, name: "TOKEN" },
|
|
28
32
|
{ no: 2, name: "POOL" },
|
|
33
|
+
{ no: 3, name: "AUCTION" },
|
|
29
34
|
]);
|
|
30
35
|
/**
|
|
31
36
|
* @generated from enum search.v1.SpamCode
|
|
@@ -252,6 +257,66 @@ FeeData.fields = proto3.util.newFieldList(() => [
|
|
|
252
257
|
{ no: 4, name: "external_transfer_failed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
253
258
|
{ no: 5, name: "sell_reverted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
254
259
|
]);
|
|
260
|
+
/**
|
|
261
|
+
* @generated from message search.v1.SearchAuction
|
|
262
|
+
*/
|
|
263
|
+
export class SearchAuction extends Message {
|
|
264
|
+
constructor(data) {
|
|
265
|
+
super();
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: string auction_id = 1;
|
|
268
|
+
*/
|
|
269
|
+
this.auctionId = "";
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: uint32 chain_id = 2;
|
|
272
|
+
*/
|
|
273
|
+
this.chainId = 0;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: string auction_address = 3;
|
|
276
|
+
*/
|
|
277
|
+
this.auctionAddress = "";
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: string token_address = 4;
|
|
280
|
+
*/
|
|
281
|
+
this.tokenAddress = "";
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: string token_name = 5;
|
|
284
|
+
*/
|
|
285
|
+
this.tokenName = "";
|
|
286
|
+
/**
|
|
287
|
+
* @generated from field: string token_symbol = 6;
|
|
288
|
+
*/
|
|
289
|
+
this.tokenSymbol = "";
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: string total_bid_volume_usd = 7;
|
|
292
|
+
*/
|
|
293
|
+
this.totalBidVolumeUsd = "";
|
|
294
|
+
proto3.util.initPartial(data, this);
|
|
295
|
+
}
|
|
296
|
+
static fromBinary(bytes, options) {
|
|
297
|
+
return new SearchAuction().fromBinary(bytes, options);
|
|
298
|
+
}
|
|
299
|
+
static fromJson(jsonValue, options) {
|
|
300
|
+
return new SearchAuction().fromJson(jsonValue, options);
|
|
301
|
+
}
|
|
302
|
+
static fromJsonString(jsonString, options) {
|
|
303
|
+
return new SearchAuction().fromJsonString(jsonString, options);
|
|
304
|
+
}
|
|
305
|
+
static equals(a, b) {
|
|
306
|
+
return proto3.util.equals(SearchAuction, a, b);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
SearchAuction.runtime = proto3;
|
|
310
|
+
SearchAuction.typeName = "search.v1.SearchAuction";
|
|
311
|
+
SearchAuction.fields = proto3.util.newFieldList(() => [
|
|
312
|
+
{ no: 1, name: "auction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
313
|
+
{ no: 2, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
314
|
+
{ no: 3, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
315
|
+
{ no: 4, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
316
|
+
{ no: 5, name: "token_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
317
|
+
{ no: 6, name: "token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
318
|
+
{ no: 7, name: "total_bid_volume_usd", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
319
|
+
]);
|
|
255
320
|
/**
|
|
256
321
|
* @generated from message search.v1.BlockaidFees
|
|
257
322
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
-
import { Pool, SearchType, Token } from "./searchTypes_pb.js";
|
|
3
|
+
import { Pool, SearchAuction, SearchType, Token } from "./searchTypes_pb.js";
|
|
4
4
|
/**
|
|
5
5
|
* @generated from message data.v1.SearchTokensRequest
|
|
6
6
|
*/
|
|
@@ -46,6 +46,10 @@ export declare class SearchTokensResponse extends Message<SearchTokensResponse>
|
|
|
46
46
|
* @generated from field: repeated search.v1.Pool pools = 2;
|
|
47
47
|
*/
|
|
48
48
|
pools: Pool[];
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: repeated search.v1.SearchAuction auctions = 3;
|
|
51
|
+
*/
|
|
52
|
+
auctions: SearchAuction[];
|
|
49
53
|
constructor(data?: PartialMessage<SearchTokensResponse>);
|
|
50
54
|
static readonly runtime: typeof proto3;
|
|
51
55
|
static readonly typeName = "data.v1.SearchTokensResponse";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
-
import { Pool, SearchType, Token } from "./searchTypes_pb.js";
|
|
6
|
+
import { Pool, SearchAuction, SearchType, Token } from "./searchTypes_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from message data.v1.SearchTokensRequest
|
|
9
9
|
*/
|
|
@@ -68,6 +68,10 @@ export class SearchTokensResponse extends Message {
|
|
|
68
68
|
* @generated from field: repeated search.v1.Pool pools = 2;
|
|
69
69
|
*/
|
|
70
70
|
this.pools = [];
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: repeated search.v1.SearchAuction auctions = 3;
|
|
73
|
+
*/
|
|
74
|
+
this.auctions = [];
|
|
71
75
|
proto3.util.initPartial(data, this);
|
|
72
76
|
}
|
|
73
77
|
static fromBinary(bytes, options) {
|
|
@@ -88,4 +92,5 @@ SearchTokensResponse.typeName = "data.v1.SearchTokensResponse";
|
|
|
88
92
|
SearchTokensResponse.fields = proto3.util.newFieldList(() => [
|
|
89
93
|
{ no: 1, name: "tokens", kind: "message", T: Token, repeated: true },
|
|
90
94
|
{ no: 2, name: "pools", kind: "message", T: Pool, repeated: true },
|
|
95
|
+
{ no: 3, name: "auctions", kind: "message", T: SearchAuction, repeated: true },
|
|
91
96
|
]);
|