@uniswap/client-data-api 0.0.158 → 0.0.160
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/v2/api-DataApiService_connectquery.d.ts +14 -1
- package/dist/data/v2/api-DataApiService_connectquery.js +14 -1
- package/dist/data/v2/api_connect.d.ts +10 -1
- package/dist/data/v2/api_connect.js +10 -1
- package/dist/data/v2/api_pb.d.ts +124 -0
- package/dist/data/v2/api_pb.js +150 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
2
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v2.DataApiService.GetToken
|
|
5
5
|
*/
|
|
@@ -312,3 +312,16 @@ export declare const getLaunchClaims: {
|
|
|
312
312
|
readonly typeName: "data.v2.DataApiService";
|
|
313
313
|
};
|
|
314
314
|
};
|
|
315
|
+
/**
|
|
316
|
+
* @generated from rpc data.v2.DataApiService.CheckLaunchNameTicker
|
|
317
|
+
*/
|
|
318
|
+
export declare const checkLaunchNameTicker: {
|
|
319
|
+
readonly localName: "checkLaunchNameTicker";
|
|
320
|
+
readonly name: "CheckLaunchNameTicker";
|
|
321
|
+
readonly kind: MethodKind.Unary;
|
|
322
|
+
readonly I: typeof CheckLaunchNameTickerRequest;
|
|
323
|
+
readonly O: typeof CheckLaunchNameTickerResponse;
|
|
324
|
+
readonly service: {
|
|
325
|
+
readonly typeName: "data.v2.DataApiService";
|
|
326
|
+
};
|
|
327
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
6
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v2.DataApiService.GetToken
|
|
9
9
|
*/
|
|
@@ -316,3 +316,16 @@ export const getLaunchClaims = {
|
|
|
316
316
|
typeName: "data.v2.DataApiService"
|
|
317
317
|
}
|
|
318
318
|
};
|
|
319
|
+
/**
|
|
320
|
+
* @generated from rpc data.v2.DataApiService.CheckLaunchNameTicker
|
|
321
|
+
*/
|
|
322
|
+
export const checkLaunchNameTicker = {
|
|
323
|
+
localName: "checkLaunchNameTicker",
|
|
324
|
+
name: "CheckLaunchNameTicker",
|
|
325
|
+
kind: MethodKind.Unary,
|
|
326
|
+
I: CheckLaunchNameTickerRequest,
|
|
327
|
+
O: CheckLaunchNameTickerResponse,
|
|
328
|
+
service: {
|
|
329
|
+
typeName: "data.v2.DataApiService"
|
|
330
|
+
}
|
|
331
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
1
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v2.DataApiService
|
|
@@ -222,5 +222,14 @@ export declare const DataApiService: {
|
|
|
222
222
|
readonly O: typeof GetLaunchClaimsResponse;
|
|
223
223
|
readonly kind: MethodKind.Unary;
|
|
224
224
|
};
|
|
225
|
+
/**
|
|
226
|
+
* @generated from rpc data.v2.DataApiService.CheckLaunchNameTicker
|
|
227
|
+
*/
|
|
228
|
+
readonly checkLaunchNameTicker: {
|
|
229
|
+
readonly name: "CheckLaunchNameTicker";
|
|
230
|
+
readonly I: typeof CheckLaunchNameTickerRequest;
|
|
231
|
+
readonly O: typeof CheckLaunchNameTickerResponse;
|
|
232
|
+
readonly kind: MethodKind.Unary;
|
|
233
|
+
};
|
|
225
234
|
};
|
|
226
235
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v2/api.proto (package data.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
5
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v2.DataApiService
|
|
@@ -226,5 +226,14 @@ export const DataApiService = {
|
|
|
226
226
|
O: GetLaunchClaimsResponse,
|
|
227
227
|
kind: MethodKind.Unary,
|
|
228
228
|
},
|
|
229
|
+
/**
|
|
230
|
+
* @generated from rpc data.v2.DataApiService.CheckLaunchNameTicker
|
|
231
|
+
*/
|
|
232
|
+
checkLaunchNameTicker: {
|
|
233
|
+
name: "CheckLaunchNameTicker",
|
|
234
|
+
I: CheckLaunchNameTickerRequest,
|
|
235
|
+
O: CheckLaunchNameTickerResponse,
|
|
236
|
+
kind: MethodKind.Unary,
|
|
237
|
+
},
|
|
229
238
|
}
|
|
230
239
|
};
|
package/dist/data/v2/api_pb.d.ts
CHANGED
|
@@ -1131,6 +1131,18 @@ export declare class ListLaunchesRequest extends Message<ListLaunchesRequest> {
|
|
|
1131
1131
|
* @generated from field: optional bool ascending = 7;
|
|
1132
1132
|
*/
|
|
1133
1133
|
ascending?: boolean;
|
|
1134
|
+
/**
|
|
1135
|
+
* Launchpad search: keep only launches whose token name OR
|
|
1136
|
+
* symbol starts with this string, compared case-insensitively (prefix
|
|
1137
|
+
* match only — no fuzzy/substring matching). LIKE metacharacters in the
|
|
1138
|
+
* query are treated literally. Ranking is orthogonal: sort_by/ascending
|
|
1139
|
+
* order the filtered results exactly as they do the unfiltered list.
|
|
1140
|
+
* Whitespace-only queries are treated as absent; input is trimmed,
|
|
1141
|
+
* whitespace-collapsed, and capped at 100 characters server-side.
|
|
1142
|
+
*
|
|
1143
|
+
* @generated from field: optional string query = 8;
|
|
1144
|
+
*/
|
|
1145
|
+
query?: string;
|
|
1134
1146
|
constructor(data?: PartialMessage<ListLaunchesRequest>);
|
|
1135
1147
|
static readonly runtime: typeof proto3;
|
|
1136
1148
|
static readonly typeName = "data.v2.ListLaunchesRequest";
|
|
@@ -1491,6 +1503,118 @@ export declare class GetLaunchClaimsResponse extends Message<GetLaunchClaimsResp
|
|
|
1491
1503
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchClaimsResponse;
|
|
1492
1504
|
static equals(a: GetLaunchClaimsResponse | PlainMessage<GetLaunchClaimsResponse> | undefined, b: GetLaunchClaimsResponse | PlainMessage<GetLaunchClaimsResponse> | undefined): boolean;
|
|
1493
1505
|
}
|
|
1506
|
+
/**
|
|
1507
|
+
* Anti-vamp create-flow check (LP-1311): has a token with this name + ticker
|
|
1508
|
+
* combination launched on the chain within the trailing 8 hours? Matching is
|
|
1509
|
+
* case-insensitive on both fields and covers every Uniswap token-factory
|
|
1510
|
+
* launch (Crowd Launch and Instant Launch, created through our flow or
|
|
1511
|
+
* directly against the contracts). The FE renders a soft warning ("this
|
|
1512
|
+
* name + ticker launched X hours ago — here's that token") linking the
|
|
1513
|
+
* original's token page; nothing is blocked server-side. Backed by the same
|
|
1514
|
+
* table and predicate the indexer uses to vamp-flag copycat launches out of
|
|
1515
|
+
* ListLaunches, so the warning and the listing filter cannot drift. EVM-only.
|
|
1516
|
+
*
|
|
1517
|
+
* @generated from message data.v2.CheckLaunchNameTickerRequest
|
|
1518
|
+
*/
|
|
1519
|
+
export declare class CheckLaunchNameTickerRequest extends Message<CheckLaunchNameTickerRequest> {
|
|
1520
|
+
/**
|
|
1521
|
+
* @generated from field: uint32 chain_id = 1;
|
|
1522
|
+
*/
|
|
1523
|
+
chainId: number;
|
|
1524
|
+
/**
|
|
1525
|
+
* Token name as entered in the create form (compared case-insensitively).
|
|
1526
|
+
*
|
|
1527
|
+
* @generated from field: string name = 2;
|
|
1528
|
+
*/
|
|
1529
|
+
name: string;
|
|
1530
|
+
/**
|
|
1531
|
+
* Token ticker/symbol as entered in the create form (compared
|
|
1532
|
+
* case-insensitively).
|
|
1533
|
+
*
|
|
1534
|
+
* @generated from field: string symbol = 3;
|
|
1535
|
+
*/
|
|
1536
|
+
symbol: string;
|
|
1537
|
+
constructor(data?: PartialMessage<CheckLaunchNameTickerRequest>);
|
|
1538
|
+
static readonly runtime: typeof proto3;
|
|
1539
|
+
static readonly typeName = "data.v2.CheckLaunchNameTickerRequest";
|
|
1540
|
+
static readonly fields: FieldList;
|
|
1541
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckLaunchNameTickerRequest;
|
|
1542
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckLaunchNameTickerRequest;
|
|
1543
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckLaunchNameTickerRequest;
|
|
1544
|
+
static equals(a: CheckLaunchNameTickerRequest | PlainMessage<CheckLaunchNameTickerRequest> | undefined, b: CheckLaunchNameTickerRequest | PlainMessage<CheckLaunchNameTickerRequest> | undefined): boolean;
|
|
1545
|
+
}
|
|
1546
|
+
/**
|
|
1547
|
+
* @generated from message data.v2.CheckLaunchNameTickerResponse
|
|
1548
|
+
*/
|
|
1549
|
+
export declare class CheckLaunchNameTickerResponse extends Message<CheckLaunchNameTickerResponse> {
|
|
1550
|
+
/**
|
|
1551
|
+
* True when a matching token launched within the trailing 8h window —
|
|
1552
|
+
* launching this name + ticker now would be vamp-flagged at ingest.
|
|
1553
|
+
*
|
|
1554
|
+
* @generated from field: bool recently_launched = 1;
|
|
1555
|
+
*/
|
|
1556
|
+
recentlyLaunched: boolean;
|
|
1557
|
+
/**
|
|
1558
|
+
* The launch the warning should link to. Set iff recently_launched. When
|
|
1559
|
+
* several launches match in the window (chained copycats), this is the
|
|
1560
|
+
* earliest match that is not itself vamp-flagged, falling back to the
|
|
1561
|
+
* earliest match.
|
|
1562
|
+
*
|
|
1563
|
+
* @generated from field: data.v2.RecentlyLaunchedToken original_token = 2;
|
|
1564
|
+
*/
|
|
1565
|
+
originalToken?: RecentlyLaunchedToken;
|
|
1566
|
+
constructor(data?: PartialMessage<CheckLaunchNameTickerResponse>);
|
|
1567
|
+
static readonly runtime: typeof proto3;
|
|
1568
|
+
static readonly typeName = "data.v2.CheckLaunchNameTickerResponse";
|
|
1569
|
+
static readonly fields: FieldList;
|
|
1570
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckLaunchNameTickerResponse;
|
|
1571
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckLaunchNameTickerResponse;
|
|
1572
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckLaunchNameTickerResponse;
|
|
1573
|
+
static equals(a: CheckLaunchNameTickerResponse | PlainMessage<CheckLaunchNameTickerResponse> | undefined, b: CheckLaunchNameTickerResponse | PlainMessage<CheckLaunchNameTickerResponse> | undefined): boolean;
|
|
1574
|
+
}
|
|
1575
|
+
/**
|
|
1576
|
+
* The already-launched token a CheckLaunchNameTicker warning points at.
|
|
1577
|
+
*
|
|
1578
|
+
* @generated from message data.v2.RecentlyLaunchedToken
|
|
1579
|
+
*/
|
|
1580
|
+
export declare class RecentlyLaunchedToken extends Message<RecentlyLaunchedToken> {
|
|
1581
|
+
/**
|
|
1582
|
+
* @generated from field: uint32 chain_id = 1;
|
|
1583
|
+
*/
|
|
1584
|
+
chainId: number;
|
|
1585
|
+
/**
|
|
1586
|
+
* EIP-55 checksummed token address; with chain_id, enough to build the
|
|
1587
|
+
* token-page link.
|
|
1588
|
+
*
|
|
1589
|
+
* @generated from field: string token_address = 2;
|
|
1590
|
+
*/
|
|
1591
|
+
tokenAddress: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* Stored name/symbol casing (the launched token's on-chain metadata).
|
|
1594
|
+
*
|
|
1595
|
+
* @generated from field: string name = 3;
|
|
1596
|
+
*/
|
|
1597
|
+
name: string;
|
|
1598
|
+
/**
|
|
1599
|
+
* @generated from field: string symbol = 4;
|
|
1600
|
+
*/
|
|
1601
|
+
symbol: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* Unix seconds of the token's launch — the "launched X hours ago" the
|
|
1604
|
+
* warning renders.
|
|
1605
|
+
*
|
|
1606
|
+
* @generated from field: int64 launched_at = 5;
|
|
1607
|
+
*/
|
|
1608
|
+
launchedAt: bigint;
|
|
1609
|
+
constructor(data?: PartialMessage<RecentlyLaunchedToken>);
|
|
1610
|
+
static readonly runtime: typeof proto3;
|
|
1611
|
+
static readonly typeName = "data.v2.RecentlyLaunchedToken";
|
|
1612
|
+
static readonly fields: FieldList;
|
|
1613
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecentlyLaunchedToken;
|
|
1614
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecentlyLaunchedToken;
|
|
1615
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecentlyLaunchedToken;
|
|
1616
|
+
static equals(a: RecentlyLaunchedToken | PlainMessage<RecentlyLaunchedToken> | undefined, b: RecentlyLaunchedToken | PlainMessage<RecentlyLaunchedToken> | undefined): boolean;
|
|
1617
|
+
}
|
|
1494
1618
|
/**
|
|
1495
1619
|
* @generated from message data.v2.ListTokensRequest
|
|
1496
1620
|
*/
|
package/dist/data/v2/api_pb.js
CHANGED
|
@@ -1469,6 +1469,7 @@ ListLaunchesRequest.fields = proto3.util.newFieldList(() => [
|
|
|
1469
1469
|
{ no: 5, name: "launchpad_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1470
1470
|
{ no: 6, name: "filter", kind: "message", T: LaunchListFilter, opt: true },
|
|
1471
1471
|
{ no: 7, name: "ascending", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1472
|
+
{ no: 8, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1472
1473
|
]);
|
|
1473
1474
|
/**
|
|
1474
1475
|
* @generated from message data.v2.ListLaunchesResponse
|
|
@@ -1913,6 +1914,155 @@ GetLaunchClaimsResponse.fields = proto3.util.newFieldList(() => [
|
|
|
1913
1914
|
{ no: 2, name: "total_claimed", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1914
1915
|
{ no: 3, name: "unique_claimers", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1915
1916
|
]);
|
|
1917
|
+
/**
|
|
1918
|
+
* Anti-vamp create-flow check (LP-1311): has a token with this name + ticker
|
|
1919
|
+
* combination launched on the chain within the trailing 8 hours? Matching is
|
|
1920
|
+
* case-insensitive on both fields and covers every Uniswap token-factory
|
|
1921
|
+
* launch (Crowd Launch and Instant Launch, created through our flow or
|
|
1922
|
+
* directly against the contracts). The FE renders a soft warning ("this
|
|
1923
|
+
* name + ticker launched X hours ago — here's that token") linking the
|
|
1924
|
+
* original's token page; nothing is blocked server-side. Backed by the same
|
|
1925
|
+
* table and predicate the indexer uses to vamp-flag copycat launches out of
|
|
1926
|
+
* ListLaunches, so the warning and the listing filter cannot drift. EVM-only.
|
|
1927
|
+
*
|
|
1928
|
+
* @generated from message data.v2.CheckLaunchNameTickerRequest
|
|
1929
|
+
*/
|
|
1930
|
+
export class CheckLaunchNameTickerRequest extends Message {
|
|
1931
|
+
constructor(data) {
|
|
1932
|
+
super();
|
|
1933
|
+
/**
|
|
1934
|
+
* @generated from field: uint32 chain_id = 1;
|
|
1935
|
+
*/
|
|
1936
|
+
this.chainId = 0;
|
|
1937
|
+
/**
|
|
1938
|
+
* Token name as entered in the create form (compared case-insensitively).
|
|
1939
|
+
*
|
|
1940
|
+
* @generated from field: string name = 2;
|
|
1941
|
+
*/
|
|
1942
|
+
this.name = "";
|
|
1943
|
+
/**
|
|
1944
|
+
* Token ticker/symbol as entered in the create form (compared
|
|
1945
|
+
* case-insensitively).
|
|
1946
|
+
*
|
|
1947
|
+
* @generated from field: string symbol = 3;
|
|
1948
|
+
*/
|
|
1949
|
+
this.symbol = "";
|
|
1950
|
+
proto3.util.initPartial(data, this);
|
|
1951
|
+
}
|
|
1952
|
+
static fromBinary(bytes, options) {
|
|
1953
|
+
return new CheckLaunchNameTickerRequest().fromBinary(bytes, options);
|
|
1954
|
+
}
|
|
1955
|
+
static fromJson(jsonValue, options) {
|
|
1956
|
+
return new CheckLaunchNameTickerRequest().fromJson(jsonValue, options);
|
|
1957
|
+
}
|
|
1958
|
+
static fromJsonString(jsonString, options) {
|
|
1959
|
+
return new CheckLaunchNameTickerRequest().fromJsonString(jsonString, options);
|
|
1960
|
+
}
|
|
1961
|
+
static equals(a, b) {
|
|
1962
|
+
return proto3.util.equals(CheckLaunchNameTickerRequest, a, b);
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
CheckLaunchNameTickerRequest.runtime = proto3;
|
|
1966
|
+
CheckLaunchNameTickerRequest.typeName = "data.v2.CheckLaunchNameTickerRequest";
|
|
1967
|
+
CheckLaunchNameTickerRequest.fields = proto3.util.newFieldList(() => [
|
|
1968
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1969
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1970
|
+
{ no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1971
|
+
]);
|
|
1972
|
+
/**
|
|
1973
|
+
* @generated from message data.v2.CheckLaunchNameTickerResponse
|
|
1974
|
+
*/
|
|
1975
|
+
export class CheckLaunchNameTickerResponse extends Message {
|
|
1976
|
+
constructor(data) {
|
|
1977
|
+
super();
|
|
1978
|
+
/**
|
|
1979
|
+
* True when a matching token launched within the trailing 8h window —
|
|
1980
|
+
* launching this name + ticker now would be vamp-flagged at ingest.
|
|
1981
|
+
*
|
|
1982
|
+
* @generated from field: bool recently_launched = 1;
|
|
1983
|
+
*/
|
|
1984
|
+
this.recentlyLaunched = false;
|
|
1985
|
+
proto3.util.initPartial(data, this);
|
|
1986
|
+
}
|
|
1987
|
+
static fromBinary(bytes, options) {
|
|
1988
|
+
return new CheckLaunchNameTickerResponse().fromBinary(bytes, options);
|
|
1989
|
+
}
|
|
1990
|
+
static fromJson(jsonValue, options) {
|
|
1991
|
+
return new CheckLaunchNameTickerResponse().fromJson(jsonValue, options);
|
|
1992
|
+
}
|
|
1993
|
+
static fromJsonString(jsonString, options) {
|
|
1994
|
+
return new CheckLaunchNameTickerResponse().fromJsonString(jsonString, options);
|
|
1995
|
+
}
|
|
1996
|
+
static equals(a, b) {
|
|
1997
|
+
return proto3.util.equals(CheckLaunchNameTickerResponse, a, b);
|
|
1998
|
+
}
|
|
1999
|
+
}
|
|
2000
|
+
CheckLaunchNameTickerResponse.runtime = proto3;
|
|
2001
|
+
CheckLaunchNameTickerResponse.typeName = "data.v2.CheckLaunchNameTickerResponse";
|
|
2002
|
+
CheckLaunchNameTickerResponse.fields = proto3.util.newFieldList(() => [
|
|
2003
|
+
{ no: 1, name: "recently_launched", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2004
|
+
{ no: 2, name: "original_token", kind: "message", T: RecentlyLaunchedToken },
|
|
2005
|
+
]);
|
|
2006
|
+
/**
|
|
2007
|
+
* The already-launched token a CheckLaunchNameTicker warning points at.
|
|
2008
|
+
*
|
|
2009
|
+
* @generated from message data.v2.RecentlyLaunchedToken
|
|
2010
|
+
*/
|
|
2011
|
+
export class RecentlyLaunchedToken extends Message {
|
|
2012
|
+
constructor(data) {
|
|
2013
|
+
super();
|
|
2014
|
+
/**
|
|
2015
|
+
* @generated from field: uint32 chain_id = 1;
|
|
2016
|
+
*/
|
|
2017
|
+
this.chainId = 0;
|
|
2018
|
+
/**
|
|
2019
|
+
* EIP-55 checksummed token address; with chain_id, enough to build the
|
|
2020
|
+
* token-page link.
|
|
2021
|
+
*
|
|
2022
|
+
* @generated from field: string token_address = 2;
|
|
2023
|
+
*/
|
|
2024
|
+
this.tokenAddress = "";
|
|
2025
|
+
/**
|
|
2026
|
+
* Stored name/symbol casing (the launched token's on-chain metadata).
|
|
2027
|
+
*
|
|
2028
|
+
* @generated from field: string name = 3;
|
|
2029
|
+
*/
|
|
2030
|
+
this.name = "";
|
|
2031
|
+
/**
|
|
2032
|
+
* @generated from field: string symbol = 4;
|
|
2033
|
+
*/
|
|
2034
|
+
this.symbol = "";
|
|
2035
|
+
/**
|
|
2036
|
+
* Unix seconds of the token's launch — the "launched X hours ago" the
|
|
2037
|
+
* warning renders.
|
|
2038
|
+
*
|
|
2039
|
+
* @generated from field: int64 launched_at = 5;
|
|
2040
|
+
*/
|
|
2041
|
+
this.launchedAt = protoInt64.zero;
|
|
2042
|
+
proto3.util.initPartial(data, this);
|
|
2043
|
+
}
|
|
2044
|
+
static fromBinary(bytes, options) {
|
|
2045
|
+
return new RecentlyLaunchedToken().fromBinary(bytes, options);
|
|
2046
|
+
}
|
|
2047
|
+
static fromJson(jsonValue, options) {
|
|
2048
|
+
return new RecentlyLaunchedToken().fromJson(jsonValue, options);
|
|
2049
|
+
}
|
|
2050
|
+
static fromJsonString(jsonString, options) {
|
|
2051
|
+
return new RecentlyLaunchedToken().fromJsonString(jsonString, options);
|
|
2052
|
+
}
|
|
2053
|
+
static equals(a, b) {
|
|
2054
|
+
return proto3.util.equals(RecentlyLaunchedToken, a, b);
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
RecentlyLaunchedToken.runtime = proto3;
|
|
2058
|
+
RecentlyLaunchedToken.typeName = "data.v2.RecentlyLaunchedToken";
|
|
2059
|
+
RecentlyLaunchedToken.fields = proto3.util.newFieldList(() => [
|
|
2060
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2061
|
+
{ no: 2, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2062
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2063
|
+
{ no: 4, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2064
|
+
{ no: 5, name: "launched_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
2065
|
+
]);
|
|
1916
2066
|
/**
|
|
1917
2067
|
* @generated from message data.v2.ListTokensRequest
|
|
1918
2068
|
*/
|