@uniswap/client-data-api 0.0.200 → 0.0.204
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.
|
@@ -44,6 +44,32 @@ export declare enum LockMode {
|
|
|
44
44
|
*/
|
|
45
45
|
FEE_SPLITTER = 5
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Status filter for top auctions, matching the explore-page filters.
|
|
49
|
+
* Status is derived from the chain's latest block vs the auction's end_block.
|
|
50
|
+
*
|
|
51
|
+
* @generated from enum data.v1.AuctionStatusFilter
|
|
52
|
+
*/
|
|
53
|
+
export declare enum AuctionStatusFilter {
|
|
54
|
+
/**
|
|
55
|
+
* No status filtering.
|
|
56
|
+
*
|
|
57
|
+
* @generated from enum value: AUCTION_STATUS_FILTER_UNSPECIFIED = 0;
|
|
58
|
+
*/
|
|
59
|
+
UNSPECIFIED = 0,
|
|
60
|
+
/**
|
|
61
|
+
* end_block not yet reached (includes upcoming).
|
|
62
|
+
*
|
|
63
|
+
* @generated from enum value: AUCTION_STATUS_FILTER_ACTIVE = 1;
|
|
64
|
+
*/
|
|
65
|
+
ACTIVE = 1,
|
|
66
|
+
/**
|
|
67
|
+
* end_block reached.
|
|
68
|
+
*
|
|
69
|
+
* @generated from enum value: AUCTION_STATUS_FILTER_COMPLETED = 2;
|
|
70
|
+
*/
|
|
71
|
+
COMPLETED = 2
|
|
72
|
+
}
|
|
47
73
|
/**
|
|
48
74
|
* Request to fetch all bids by a wallet.
|
|
49
75
|
*
|
|
@@ -609,6 +635,14 @@ export declare class Auction extends Message<Auction> {
|
|
|
609
635
|
* @generated from field: optional bool x_verified = 49;
|
|
610
636
|
*/
|
|
611
637
|
xVerified?: boolean;
|
|
638
|
+
/**
|
|
639
|
+
* Computed: projected FDV in USD — clearing price (falling back to floor
|
|
640
|
+
* price) x token_total_supply x currency_price_usd. Unset when any input is
|
|
641
|
+
* unavailable.
|
|
642
|
+
*
|
|
643
|
+
* @generated from field: optional string fdv_usd = 50;
|
|
644
|
+
*/
|
|
645
|
+
fdvUsd?: string;
|
|
612
646
|
constructor(data?: PartialMessage<Auction>);
|
|
613
647
|
static readonly runtime: typeof proto3;
|
|
614
648
|
static readonly typeName = "data.v1.Auction";
|
|
@@ -1064,6 +1098,18 @@ export declare class ListTopAuctionsRequest extends Message<ListTopAuctionsReque
|
|
|
1064
1098
|
* @generated from field: bool quick_launch_only = 4;
|
|
1065
1099
|
*/
|
|
1066
1100
|
quickLaunchOnly: boolean;
|
|
1101
|
+
/**
|
|
1102
|
+
* Optional: cursor from a previous response's next_page_token
|
|
1103
|
+
*
|
|
1104
|
+
* @generated from field: string page_token = 5;
|
|
1105
|
+
*/
|
|
1106
|
+
pageToken: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* Optional: filter by auction status
|
|
1109
|
+
*
|
|
1110
|
+
* @generated from field: data.v1.AuctionStatusFilter status_filter = 6;
|
|
1111
|
+
*/
|
|
1112
|
+
statusFilter: AuctionStatusFilter;
|
|
1067
1113
|
constructor(data?: PartialMessage<ListTopAuctionsRequest>);
|
|
1068
1114
|
static readonly runtime: typeof proto3;
|
|
1069
1115
|
static readonly typeName = "data.v1.ListTopAuctionsRequest";
|
|
@@ -1210,6 +1256,12 @@ export declare class ListTopAuctionsResponse extends Message<ListTopAuctionsResp
|
|
|
1210
1256
|
* @generated from field: repeated data.v1.AuctionWithStats auctions = 1;
|
|
1211
1257
|
*/
|
|
1212
1258
|
auctions: AuctionWithStats[];
|
|
1259
|
+
/**
|
|
1260
|
+
* Empty if no more pages.
|
|
1261
|
+
*
|
|
1262
|
+
* @generated from field: string next_page_token = 2;
|
|
1263
|
+
*/
|
|
1264
|
+
nextPageToken: string;
|
|
1213
1265
|
constructor(data?: PartialMessage<ListTopAuctionsResponse>);
|
|
1214
1266
|
static readonly runtime: typeof proto3;
|
|
1215
1267
|
static readonly typeName = "data.v1.ListTopAuctionsResponse";
|
|
@@ -57,6 +57,39 @@ proto3.util.setEnumType(LockMode, "data.v1.LockMode", [
|
|
|
57
57
|
{ no: 4, name: "LOCK_MODE_BURN" },
|
|
58
58
|
{ no: 5, name: "LOCK_MODE_FEE_SPLITTER" },
|
|
59
59
|
]);
|
|
60
|
+
/**
|
|
61
|
+
* Status filter for top auctions, matching the explore-page filters.
|
|
62
|
+
* Status is derived from the chain's latest block vs the auction's end_block.
|
|
63
|
+
*
|
|
64
|
+
* @generated from enum data.v1.AuctionStatusFilter
|
|
65
|
+
*/
|
|
66
|
+
export var AuctionStatusFilter;
|
|
67
|
+
(function (AuctionStatusFilter) {
|
|
68
|
+
/**
|
|
69
|
+
* No status filtering.
|
|
70
|
+
*
|
|
71
|
+
* @generated from enum value: AUCTION_STATUS_FILTER_UNSPECIFIED = 0;
|
|
72
|
+
*/
|
|
73
|
+
AuctionStatusFilter[AuctionStatusFilter["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
74
|
+
/**
|
|
75
|
+
* end_block not yet reached (includes upcoming).
|
|
76
|
+
*
|
|
77
|
+
* @generated from enum value: AUCTION_STATUS_FILTER_ACTIVE = 1;
|
|
78
|
+
*/
|
|
79
|
+
AuctionStatusFilter[AuctionStatusFilter["ACTIVE"] = 1] = "ACTIVE";
|
|
80
|
+
/**
|
|
81
|
+
* end_block reached.
|
|
82
|
+
*
|
|
83
|
+
* @generated from enum value: AUCTION_STATUS_FILTER_COMPLETED = 2;
|
|
84
|
+
*/
|
|
85
|
+
AuctionStatusFilter[AuctionStatusFilter["COMPLETED"] = 2] = "COMPLETED";
|
|
86
|
+
})(AuctionStatusFilter || (AuctionStatusFilter = {}));
|
|
87
|
+
// Retrieve enum metadata with: proto3.getEnumType(AuctionStatusFilter)
|
|
88
|
+
proto3.util.setEnumType(AuctionStatusFilter, "data.v1.AuctionStatusFilter", [
|
|
89
|
+
{ no: 0, name: "AUCTION_STATUS_FILTER_UNSPECIFIED" },
|
|
90
|
+
{ no: 1, name: "AUCTION_STATUS_FILTER_ACTIVE" },
|
|
91
|
+
{ no: 2, name: "AUCTION_STATUS_FILTER_COMPLETED" },
|
|
92
|
+
]);
|
|
60
93
|
/**
|
|
61
94
|
* Request to fetch all bids by a wallet.
|
|
62
95
|
*
|
|
@@ -657,6 +690,7 @@ Auction.fields = proto3.util.newFieldList(() => [
|
|
|
657
690
|
{ no: 47, name: "estimated_end_time", kind: "message", T: Timestamp, opt: true },
|
|
658
691
|
{ no: 48, name: "x_profile_image_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
659
692
|
{ no: 49, name: "x_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
693
|
+
{ no: 50, name: "fdv_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
660
694
|
]);
|
|
661
695
|
/**
|
|
662
696
|
* Response containing auctions.
|
|
@@ -1270,6 +1304,18 @@ export class ListTopAuctionsRequest extends Message {
|
|
|
1270
1304
|
* @generated from field: bool quick_launch_only = 4;
|
|
1271
1305
|
*/
|
|
1272
1306
|
this.quickLaunchOnly = false;
|
|
1307
|
+
/**
|
|
1308
|
+
* Optional: cursor from a previous response's next_page_token
|
|
1309
|
+
*
|
|
1310
|
+
* @generated from field: string page_token = 5;
|
|
1311
|
+
*/
|
|
1312
|
+
this.pageToken = "";
|
|
1313
|
+
/**
|
|
1314
|
+
* Optional: filter by auction status
|
|
1315
|
+
*
|
|
1316
|
+
* @generated from field: data.v1.AuctionStatusFilter status_filter = 6;
|
|
1317
|
+
*/
|
|
1318
|
+
this.statusFilter = AuctionStatusFilter.UNSPECIFIED;
|
|
1273
1319
|
proto3.util.initPartial(data, this);
|
|
1274
1320
|
}
|
|
1275
1321
|
static fromBinary(bytes, options) {
|
|
@@ -1292,6 +1338,8 @@ ListTopAuctionsRequest.fields = proto3.util.newFieldList(() => [
|
|
|
1292
1338
|
{ no: 2, name: "chain_ids", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
|
|
1293
1339
|
{ no: 3, name: "live_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1294
1340
|
{ no: 4, name: "quick_launch_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1341
|
+
{ no: 5, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1342
|
+
{ no: 6, name: "status_filter", kind: "enum", T: proto3.getEnumType(AuctionStatusFilter) },
|
|
1295
1343
|
]);
|
|
1296
1344
|
/**
|
|
1297
1345
|
* One recently placed bid on the ListTopAuctions listing — the Home-card
|
|
@@ -1427,6 +1475,12 @@ export class ListTopAuctionsResponse extends Message {
|
|
|
1427
1475
|
* @generated from field: repeated data.v1.AuctionWithStats auctions = 1;
|
|
1428
1476
|
*/
|
|
1429
1477
|
this.auctions = [];
|
|
1478
|
+
/**
|
|
1479
|
+
* Empty if no more pages.
|
|
1480
|
+
*
|
|
1481
|
+
* @generated from field: string next_page_token = 2;
|
|
1482
|
+
*/
|
|
1483
|
+
this.nextPageToken = "";
|
|
1430
1484
|
proto3.util.initPartial(data, this);
|
|
1431
1485
|
}
|
|
1432
1486
|
static fromBinary(bytes, options) {
|
|
@@ -1446,6 +1500,7 @@ ListTopAuctionsResponse.runtime = proto3;
|
|
|
1446
1500
|
ListTopAuctionsResponse.typeName = "data.v1.ListTopAuctionsResponse";
|
|
1447
1501
|
ListTopAuctionsResponse.fields = proto3.util.newFieldList(() => [
|
|
1448
1502
|
{ no: 1, name: "auctions", kind: "message", T: AuctionWithStats, repeated: true },
|
|
1503
|
+
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1449
1504
|
]);
|
|
1450
1505
|
/**
|
|
1451
1506
|
* @generated from message data.v1.GetCheckpointsForBidRequest
|
|
@@ -1239,6 +1239,16 @@ export declare class PoolListFilter extends Message<PoolListFilter> {
|
|
|
1239
1239
|
* @generated from field: optional string hooks = 7;
|
|
1240
1240
|
*/
|
|
1241
1241
|
hooks?: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* Currently ignored (accepted for ListTokens request parity; may be
|
|
1244
|
+
* honored in the future): ListTokens' equivalent gates its curated Explore
|
|
1245
|
+
* feed (quality/discovery/wash-trading bundle, default on). The pools
|
|
1246
|
+
* quality bundle is being designed (CONS-2542); until it lands this flag
|
|
1247
|
+
* changes nothing.
|
|
1248
|
+
*
|
|
1249
|
+
* @generated from field: optional bool apply_top_level_filters = 8;
|
|
1250
|
+
*/
|
|
1251
|
+
applyTopLevelFilters?: boolean;
|
|
1242
1252
|
constructor(data?: PartialMessage<PoolListFilter>);
|
|
1243
1253
|
static readonly runtime: typeof proto3;
|
|
1244
1254
|
static readonly typeName = "data.v2.PoolListFilter";
|
|
@@ -1422,6 +1432,10 @@ export declare class Token extends Message<Token> {
|
|
|
1422
1432
|
* @generated from field: optional double fdv = 12;
|
|
1423
1433
|
*/
|
|
1424
1434
|
fdv?: number;
|
|
1435
|
+
/**
|
|
1436
|
+
* @generated from field: repeated string category_ids = 13;
|
|
1437
|
+
*/
|
|
1438
|
+
categoryIds: string[];
|
|
1425
1439
|
constructor(data?: PartialMessage<Token>);
|
|
1426
1440
|
static readonly runtime: typeof proto3;
|
|
1427
1441
|
static readonly typeName = "data.v2.Token";
|
package/dist/data/v2/types_pb.js
CHANGED
|
@@ -1368,6 +1368,7 @@ PoolListFilter.fields = proto3.util.newFieldList(() => [
|
|
|
1368
1368
|
{ no: 5, name: "fee_tiers", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
1369
1369
|
{ no: 6, name: "tick_spacing", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
1370
1370
|
{ no: 7, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1371
|
+
{ no: 8, name: "apply_top_level_filters", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1371
1372
|
]);
|
|
1372
1373
|
/**
|
|
1373
1374
|
* Returned by ListPools — wraps a Pool with its ranking stats.
|
|
@@ -1543,6 +1544,10 @@ export class Token extends Message {
|
|
|
1543
1544
|
* @generated from field: data.v1.TokenType type = 6;
|
|
1544
1545
|
*/
|
|
1545
1546
|
this.type = TokenType.UNKNOWN;
|
|
1547
|
+
/**
|
|
1548
|
+
* @generated from field: repeated string category_ids = 13;
|
|
1549
|
+
*/
|
|
1550
|
+
this.categoryIds = [];
|
|
1546
1551
|
proto3.util.initPartial(data, this);
|
|
1547
1552
|
}
|
|
1548
1553
|
static fromBinary(bytes, options) {
|
|
@@ -1573,6 +1578,7 @@ Token.fields = proto3.util.newFieldList(() => [
|
|
|
1573
1578
|
{ no: 10, name: "project", kind: "message", T: TokenProject },
|
|
1574
1579
|
{ no: 11, name: "multichain", kind: "message", T: TokenMultichain, opt: true },
|
|
1575
1580
|
{ no: 12, name: "fdv", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1581
|
+
{ no: 13, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1576
1582
|
]);
|
|
1577
1583
|
/**
|
|
1578
1584
|
* A token launchpad known to the Launches surface (see the data-api
|