@uniswap/client-data-api 0.0.245 → 0.0.247
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 +29 -0
- package/dist/data/v1/auction_pb.js +30 -0
- 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 +114 -0
- package/dist/data/v2/api_pb.js +149 -0
- package/dist/launches/v1/api-LaunchService_connectquery.d.ts +14 -1
- package/dist/launches/v1/api-LaunchService_connectquery.js +14 -1
- package/dist/launches/v1/api_connect.d.ts +10 -1
- package/dist/launches/v1/api_connect.js +10 -1
- package/dist/launches/v1/api_pb.d.ts +100 -0
- package/dist/launches/v1/api_pb.js +134 -0
- package/package.json +1 -1
|
@@ -301,10 +301,30 @@ export declare class GetBidsResponse extends Message<GetBidsResponse> {
|
|
|
301
301
|
/**
|
|
302
302
|
* Request to fetch auctions.
|
|
303
303
|
*
|
|
304
|
+
* `address` is resolved as either the AUCTION CONTRACT address or the launched
|
|
305
|
+
* TOKEN address (there is no auction-by-token RPC — see
|
|
306
|
+
* AuctionsBL.resolveAuctionByAddress), on each requested chain.
|
|
307
|
+
*
|
|
308
|
+
* CHAIN SELECTION — exactly one of the three branches applies, in this order:
|
|
309
|
+
*
|
|
310
|
+
* 1. chain_ids non-empty -> those chains. chain_ids WINS and chain_id is
|
|
311
|
+
* IGNORED, even when both are set.
|
|
312
|
+
* 2. chain_ids empty, chain_id != 0 -> that single chain. This is the
|
|
313
|
+
* original one-chain request, unchanged for deployed clients.
|
|
314
|
+
* 3. chain_ids empty, chain_id == 0 -> every supported (EVM) chain.
|
|
315
|
+
* Previously an INVALID_ARGUMENT; a client that wants one chain must
|
|
316
|
+
* still name it.
|
|
317
|
+
*
|
|
318
|
+
* The response is already `repeated` and every Auction carries its own
|
|
319
|
+
* chain_id, so a multi-chain answer needs no response change: match rows back
|
|
320
|
+
* by Auction.chain_id.
|
|
321
|
+
*
|
|
304
322
|
* @generated from message data.v1.GetAuctionRequest
|
|
305
323
|
*/
|
|
306
324
|
export declare class GetAuctionRequest extends Message<GetAuctionRequest> {
|
|
307
325
|
/**
|
|
326
|
+
* Single-chain form. Ignored when chain_ids is non-empty (branch 1).
|
|
327
|
+
*
|
|
308
328
|
* @generated from field: int32 chain_id = 1;
|
|
309
329
|
*/
|
|
310
330
|
chainId: number;
|
|
@@ -312,6 +332,15 @@ export declare class GetAuctionRequest extends Message<GetAuctionRequest> {
|
|
|
312
332
|
* @generated from field: string address = 2;
|
|
313
333
|
*/
|
|
314
334
|
address: string;
|
|
335
|
+
/**
|
|
336
|
+
* Multi-chain form: resolve `address` across several chains in ONE request,
|
|
337
|
+
* for a client that serves more than one chain and does not yet know which
|
|
338
|
+
* chain the auction is on. Deduped and sorted server-side, capped at 20
|
|
339
|
+
* chains (extras are dropped, not rejected). Empty = branches 2/3 above.
|
|
340
|
+
*
|
|
341
|
+
* @generated from field: repeated int32 chain_ids = 3;
|
|
342
|
+
*/
|
|
343
|
+
chainIds: number[];
|
|
315
344
|
constructor(data?: PartialMessage<GetAuctionRequest>);
|
|
316
345
|
static readonly runtime: typeof proto3;
|
|
317
346
|
static readonly typeName = "data.v1.GetAuctionRequest";
|
|
@@ -420,12 +420,32 @@ GetBidsResponse.fields = proto3.util.newFieldList(() => [
|
|
|
420
420
|
/**
|
|
421
421
|
* Request to fetch auctions.
|
|
422
422
|
*
|
|
423
|
+
* `address` is resolved as either the AUCTION CONTRACT address or the launched
|
|
424
|
+
* TOKEN address (there is no auction-by-token RPC — see
|
|
425
|
+
* AuctionsBL.resolveAuctionByAddress), on each requested chain.
|
|
426
|
+
*
|
|
427
|
+
* CHAIN SELECTION — exactly one of the three branches applies, in this order:
|
|
428
|
+
*
|
|
429
|
+
* 1. chain_ids non-empty -> those chains. chain_ids WINS and chain_id is
|
|
430
|
+
* IGNORED, even when both are set.
|
|
431
|
+
* 2. chain_ids empty, chain_id != 0 -> that single chain. This is the
|
|
432
|
+
* original one-chain request, unchanged for deployed clients.
|
|
433
|
+
* 3. chain_ids empty, chain_id == 0 -> every supported (EVM) chain.
|
|
434
|
+
* Previously an INVALID_ARGUMENT; a client that wants one chain must
|
|
435
|
+
* still name it.
|
|
436
|
+
*
|
|
437
|
+
* The response is already `repeated` and every Auction carries its own
|
|
438
|
+
* chain_id, so a multi-chain answer needs no response change: match rows back
|
|
439
|
+
* by Auction.chain_id.
|
|
440
|
+
*
|
|
423
441
|
* @generated from message data.v1.GetAuctionRequest
|
|
424
442
|
*/
|
|
425
443
|
export class GetAuctionRequest extends Message {
|
|
426
444
|
constructor(data) {
|
|
427
445
|
super();
|
|
428
446
|
/**
|
|
447
|
+
* Single-chain form. Ignored when chain_ids is non-empty (branch 1).
|
|
448
|
+
*
|
|
429
449
|
* @generated from field: int32 chain_id = 1;
|
|
430
450
|
*/
|
|
431
451
|
this.chainId = 0;
|
|
@@ -433,6 +453,15 @@ export class GetAuctionRequest extends Message {
|
|
|
433
453
|
* @generated from field: string address = 2;
|
|
434
454
|
*/
|
|
435
455
|
this.address = "";
|
|
456
|
+
/**
|
|
457
|
+
* Multi-chain form: resolve `address` across several chains in ONE request,
|
|
458
|
+
* for a client that serves more than one chain and does not yet know which
|
|
459
|
+
* chain the auction is on. Deduped and sorted server-side, capped at 20
|
|
460
|
+
* chains (extras are dropped, not rejected). Empty = branches 2/3 above.
|
|
461
|
+
*
|
|
462
|
+
* @generated from field: repeated int32 chain_ids = 3;
|
|
463
|
+
*/
|
|
464
|
+
this.chainIds = [];
|
|
436
465
|
proto3.util.initPartial(data, this);
|
|
437
466
|
}
|
|
438
467
|
static fromBinary(bytes, options) {
|
|
@@ -453,6 +482,7 @@ GetAuctionRequest.typeName = "data.v1.GetAuctionRequest";
|
|
|
453
482
|
GetAuctionRequest.fields = proto3.util.newFieldList(() => [
|
|
454
483
|
{ no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
455
484
|
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
485
|
+
{ no: 3, name: "chain_ids", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
|
|
456
486
|
]);
|
|
457
487
|
/**
|
|
458
488
|
* Liquidity-lock metadata for auctions whose graduated LP position is held by a
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
2
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v2.DataApiService.GetToken
|
|
5
5
|
*/
|
|
@@ -364,6 +364,19 @@ export declare const getLiquidityForTokens: {
|
|
|
364
364
|
readonly typeName: "data.v2.DataApiService";
|
|
365
365
|
};
|
|
366
366
|
};
|
|
367
|
+
/**
|
|
368
|
+
* @generated from rpc data.v2.DataApiService.GetProtocolStats
|
|
369
|
+
*/
|
|
370
|
+
export declare const getProtocolStats: {
|
|
371
|
+
readonly localName: "getProtocolStats";
|
|
372
|
+
readonly name: "GetProtocolStats";
|
|
373
|
+
readonly kind: MethodKind.Unary;
|
|
374
|
+
readonly I: typeof GetProtocolStatsRequest;
|
|
375
|
+
readonly O: typeof GetProtocolStatsResponse;
|
|
376
|
+
readonly service: {
|
|
377
|
+
readonly typeName: "data.v2.DataApiService";
|
|
378
|
+
};
|
|
379
|
+
};
|
|
367
380
|
/**
|
|
368
381
|
* @generated from rpc data.v2.DataApiService.ListCategories
|
|
369
382
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
6
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v2.DataApiService.GetToken
|
|
9
9
|
*/
|
|
@@ -368,6 +368,19 @@ export const getLiquidityForTokens = {
|
|
|
368
368
|
typeName: "data.v2.DataApiService"
|
|
369
369
|
}
|
|
370
370
|
};
|
|
371
|
+
/**
|
|
372
|
+
* @generated from rpc data.v2.DataApiService.GetProtocolStats
|
|
373
|
+
*/
|
|
374
|
+
export const getProtocolStats = {
|
|
375
|
+
localName: "getProtocolStats",
|
|
376
|
+
name: "GetProtocolStats",
|
|
377
|
+
kind: MethodKind.Unary,
|
|
378
|
+
I: GetProtocolStatsRequest,
|
|
379
|
+
O: GetProtocolStatsResponse,
|
|
380
|
+
service: {
|
|
381
|
+
typeName: "data.v2.DataApiService"
|
|
382
|
+
}
|
|
383
|
+
};
|
|
371
384
|
/**
|
|
372
385
|
* @generated from rpc data.v2.DataApiService.ListCategories
|
|
373
386
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
1
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, 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
|
|
@@ -258,6 +258,15 @@ export declare const DataApiService: {
|
|
|
258
258
|
readonly O: typeof GetLiquidityForTokensResponse;
|
|
259
259
|
readonly kind: MethodKind.Unary;
|
|
260
260
|
};
|
|
261
|
+
/**
|
|
262
|
+
* @generated from rpc data.v2.DataApiService.GetProtocolStats
|
|
263
|
+
*/
|
|
264
|
+
readonly getProtocolStats: {
|
|
265
|
+
readonly name: "GetProtocolStats";
|
|
266
|
+
readonly I: typeof GetProtocolStatsRequest;
|
|
267
|
+
readonly O: typeof GetProtocolStatsResponse;
|
|
268
|
+
readonly kind: MethodKind.Unary;
|
|
269
|
+
};
|
|
261
270
|
/**
|
|
262
271
|
* @generated from rpc data.v2.DataApiService.ListCategories
|
|
263
272
|
*/
|
|
@@ -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 { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, ListTokensRequest, ListTokensResponse, ListTransactionsRequest, ListTransactionsResponse } from "./api_pb.js";
|
|
5
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, ConvertFiatRequest, ConvertFiatResponse, GetCategoryRequest, GetCategoryResponse, GetEarnPositionRequest, GetEarnPositionResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetTokenGroupRequest, GetTokenGroupResponse, GetTokenHistoryOHLCRequest, GetTokenHistoryOHLCResponse, GetTokenHistoryPriceRequest, GetTokenHistoryPriceResponse, GetTokenHistoryTVLRequest, GetTokenHistoryTVLResponse, GetTokenHistoryVolumeRequest, GetTokenHistoryVolumeResponse, GetTokenMarketsMultiChainRequest, GetTokenMarketsMultiChainResponse, GetTokenMarketsRequest, GetTokenMarketsResponse, GetTokenMultiChainRequest, GetTokenMultiChainResponse, GetTokenRequest, GetTokenResponse, GetTokensMultiChainRequest, GetTokensMultiChainResponse, GetTokensRequest, GetTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, GetWalletNftsRequest, GetWalletNftsResponse, ListCategoriesRequest, ListCategoriesResponse, ListEarnPositionsRequest, ListEarnPositionsResponse, ListEarnVaultsRequest, ListEarnVaultsResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse, ListPoolsRequest, ListPoolsResponse, ListTokenGroupsRequest, ListTokenGroupsResponse, 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
|
|
@@ -262,6 +262,15 @@ export const DataApiService = {
|
|
|
262
262
|
O: GetLiquidityForTokensResponse,
|
|
263
263
|
kind: MethodKind.Unary,
|
|
264
264
|
},
|
|
265
|
+
/**
|
|
266
|
+
* @generated from rpc data.v2.DataApiService.GetProtocolStats
|
|
267
|
+
*/
|
|
268
|
+
getProtocolStats: {
|
|
269
|
+
name: "GetProtocolStats",
|
|
270
|
+
I: GetProtocolStatsRequest,
|
|
271
|
+
O: GetProtocolStatsResponse,
|
|
272
|
+
kind: MethodKind.Unary,
|
|
273
|
+
},
|
|
265
274
|
/**
|
|
266
275
|
* @generated from rpc data.v2.DataApiService.ListCategories
|
|
267
276
|
*/
|
package/dist/data/v2/api_pb.d.ts
CHANGED
|
@@ -2919,3 +2919,117 @@ export declare class ListTransactionsResponse extends Message<ListTransactionsRe
|
|
|
2919
2919
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTransactionsResponse;
|
|
2920
2920
|
static equals(a: ListTransactionsResponse | PlainMessage<ListTransactionsResponse> | undefined, b: ListTransactionsResponse | PlainMessage<ListTransactionsResponse> | undefined): boolean;
|
|
2921
2921
|
}
|
|
2922
|
+
/**
|
|
2923
|
+
* Protocol-level TVL and trailing-1D volume (the Explore page topline),
|
|
2924
|
+
* summed over the explore-eligible EVM pool set from the 15-minute
|
|
2925
|
+
* protocol-stats snapshots. Both filters are required and explicit: there
|
|
2926
|
+
* is no "all chains" default, so a client's idea of the chain set never
|
|
2927
|
+
* silently diverges from the server's as chains are added.
|
|
2928
|
+
*
|
|
2929
|
+
* @generated from message data.v2.GetProtocolStatsRequest
|
|
2930
|
+
*/
|
|
2931
|
+
export declare class GetProtocolStatsRequest extends Message<GetProtocolStatsRequest> {
|
|
2932
|
+
/**
|
|
2933
|
+
* required, non-empty
|
|
2934
|
+
*
|
|
2935
|
+
* @generated from field: repeated uint32 chain_ids = 1;
|
|
2936
|
+
*/
|
|
2937
|
+
chainIds: number[];
|
|
2938
|
+
/**
|
|
2939
|
+
* required, non-empty; UNSPECIFIED rejected
|
|
2940
|
+
*
|
|
2941
|
+
* @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 2;
|
|
2942
|
+
*/
|
|
2943
|
+
protocolVersions: ProtocolVersion[];
|
|
2944
|
+
constructor(data?: PartialMessage<GetProtocolStatsRequest>);
|
|
2945
|
+
static readonly runtime: typeof proto3;
|
|
2946
|
+
static readonly typeName = "data.v2.GetProtocolStatsRequest";
|
|
2947
|
+
static readonly fields: FieldList;
|
|
2948
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProtocolStatsRequest;
|
|
2949
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProtocolStatsRequest;
|
|
2950
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProtocolStatsRequest;
|
|
2951
|
+
static equals(a: GetProtocolStatsRequest | PlainMessage<GetProtocolStatsRequest> | undefined, b: GetProtocolStatsRequest | PlainMessage<GetProtocolStatsRequest> | undefined): boolean;
|
|
2952
|
+
}
|
|
2953
|
+
/**
|
|
2954
|
+
* USD-denominated, matching PoolRankStats / TokenRankStats on the same page.
|
|
2955
|
+
*
|
|
2956
|
+
* @generated from message data.v2.ProtocolStats
|
|
2957
|
+
*/
|
|
2958
|
+
export declare class ProtocolStats extends Message<ProtocolStats> {
|
|
2959
|
+
/**
|
|
2960
|
+
* @generated from field: double tvl = 1;
|
|
2961
|
+
*/
|
|
2962
|
+
tvl: number;
|
|
2963
|
+
/**
|
|
2964
|
+
* @generated from field: double volume_1d = 2;
|
|
2965
|
+
*/
|
|
2966
|
+
volume1d: number;
|
|
2967
|
+
/**
|
|
2968
|
+
* @generated from field: optional double tvl_change_1d = 3;
|
|
2969
|
+
*/
|
|
2970
|
+
tvlChange1d?: number;
|
|
2971
|
+
/**
|
|
2972
|
+
* @generated from field: optional double volume_change_1d = 4;
|
|
2973
|
+
*/
|
|
2974
|
+
volumeChange1d?: number;
|
|
2975
|
+
constructor(data?: PartialMessage<ProtocolStats>);
|
|
2976
|
+
static readonly runtime: typeof proto3;
|
|
2977
|
+
static readonly typeName = "data.v2.ProtocolStats";
|
|
2978
|
+
static readonly fields: FieldList;
|
|
2979
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProtocolStats;
|
|
2980
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProtocolStats;
|
|
2981
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProtocolStats;
|
|
2982
|
+
static equals(a: ProtocolStats | PlainMessage<ProtocolStats> | undefined, b: ProtocolStats | PlainMessage<ProtocolStats> | undefined): boolean;
|
|
2983
|
+
}
|
|
2984
|
+
/**
|
|
2985
|
+
* @generated from message data.v2.ProtocolVersionStats
|
|
2986
|
+
*/
|
|
2987
|
+
export declare class ProtocolVersionStats extends Message<ProtocolVersionStats> {
|
|
2988
|
+
/**
|
|
2989
|
+
* @generated from field: pools.v1.ProtocolVersion protocol_version = 1;
|
|
2990
|
+
*/
|
|
2991
|
+
protocolVersion: ProtocolVersion;
|
|
2992
|
+
/**
|
|
2993
|
+
* @generated from field: data.v2.ProtocolStats stats = 2;
|
|
2994
|
+
*/
|
|
2995
|
+
stats?: ProtocolStats;
|
|
2996
|
+
constructor(data?: PartialMessage<ProtocolVersionStats>);
|
|
2997
|
+
static readonly runtime: typeof proto3;
|
|
2998
|
+
static readonly typeName = "data.v2.ProtocolVersionStats";
|
|
2999
|
+
static readonly fields: FieldList;
|
|
3000
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProtocolVersionStats;
|
|
3001
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProtocolVersionStats;
|
|
3002
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProtocolVersionStats;
|
|
3003
|
+
static equals(a: ProtocolVersionStats | PlainMessage<ProtocolVersionStats> | undefined, b: ProtocolVersionStats | PlainMessage<ProtocolVersionStats> | undefined): boolean;
|
|
3004
|
+
}
|
|
3005
|
+
/**
|
|
3006
|
+
* @generated from message data.v2.GetProtocolStatsResponse
|
|
3007
|
+
*/
|
|
3008
|
+
export declare class GetProtocolStatsResponse extends Message<GetProtocolStatsResponse> {
|
|
3009
|
+
/**
|
|
3010
|
+
* over the requested chains + versions
|
|
3011
|
+
*
|
|
3012
|
+
* @generated from field: data.v2.ProtocolStats stats = 1;
|
|
3013
|
+
*/
|
|
3014
|
+
stats?: ProtocolStats;
|
|
3015
|
+
/**
|
|
3016
|
+
* one entry per requested version, in request order; zero-valued when no data
|
|
3017
|
+
*
|
|
3018
|
+
* @generated from field: repeated data.v2.ProtocolVersionStats protocol_version_stats = 2;
|
|
3019
|
+
*/
|
|
3020
|
+
protocolVersionStats: ProtocolVersionStats[];
|
|
3021
|
+
/**
|
|
3022
|
+
* timestamp of the snapshot the numbers come from
|
|
3023
|
+
*
|
|
3024
|
+
* @generated from field: google.protobuf.Timestamp as_of = 3;
|
|
3025
|
+
*/
|
|
3026
|
+
asOf?: Timestamp;
|
|
3027
|
+
constructor(data?: PartialMessage<GetProtocolStatsResponse>);
|
|
3028
|
+
static readonly runtime: typeof proto3;
|
|
3029
|
+
static readonly typeName = "data.v2.GetProtocolStatsResponse";
|
|
3030
|
+
static readonly fields: FieldList;
|
|
3031
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProtocolStatsResponse;
|
|
3032
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProtocolStatsResponse;
|
|
3033
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProtocolStatsResponse;
|
|
3034
|
+
static equals(a: GetProtocolStatsResponse | PlainMessage<GetProtocolStatsResponse> | undefined, b: GetProtocolStatsResponse | PlainMessage<GetProtocolStatsResponse> | undefined): boolean;
|
|
3035
|
+
}
|
package/dist/data/v2/api_pb.js
CHANGED
|
@@ -3359,3 +3359,152 @@ ListTransactionsResponse.fields = proto3.util.newFieldList(() => [
|
|
|
3359
3359
|
{ no: 1, name: "transactions", kind: "message", T: UniswapTransaction, repeated: true },
|
|
3360
3360
|
{ no: 2, name: "page", kind: "message", T: PageResponse },
|
|
3361
3361
|
]);
|
|
3362
|
+
/**
|
|
3363
|
+
* Protocol-level TVL and trailing-1D volume (the Explore page topline),
|
|
3364
|
+
* summed over the explore-eligible EVM pool set from the 15-minute
|
|
3365
|
+
* protocol-stats snapshots. Both filters are required and explicit: there
|
|
3366
|
+
* is no "all chains" default, so a client's idea of the chain set never
|
|
3367
|
+
* silently diverges from the server's as chains are added.
|
|
3368
|
+
*
|
|
3369
|
+
* @generated from message data.v2.GetProtocolStatsRequest
|
|
3370
|
+
*/
|
|
3371
|
+
export class GetProtocolStatsRequest extends Message {
|
|
3372
|
+
constructor(data) {
|
|
3373
|
+
super();
|
|
3374
|
+
/**
|
|
3375
|
+
* required, non-empty
|
|
3376
|
+
*
|
|
3377
|
+
* @generated from field: repeated uint32 chain_ids = 1;
|
|
3378
|
+
*/
|
|
3379
|
+
this.chainIds = [];
|
|
3380
|
+
/**
|
|
3381
|
+
* required, non-empty; UNSPECIFIED rejected
|
|
3382
|
+
*
|
|
3383
|
+
* @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 2;
|
|
3384
|
+
*/
|
|
3385
|
+
this.protocolVersions = [];
|
|
3386
|
+
proto3.util.initPartial(data, this);
|
|
3387
|
+
}
|
|
3388
|
+
static fromBinary(bytes, options) {
|
|
3389
|
+
return new GetProtocolStatsRequest().fromBinary(bytes, options);
|
|
3390
|
+
}
|
|
3391
|
+
static fromJson(jsonValue, options) {
|
|
3392
|
+
return new GetProtocolStatsRequest().fromJson(jsonValue, options);
|
|
3393
|
+
}
|
|
3394
|
+
static fromJsonString(jsonString, options) {
|
|
3395
|
+
return new GetProtocolStatsRequest().fromJsonString(jsonString, options);
|
|
3396
|
+
}
|
|
3397
|
+
static equals(a, b) {
|
|
3398
|
+
return proto3.util.equals(GetProtocolStatsRequest, a, b);
|
|
3399
|
+
}
|
|
3400
|
+
}
|
|
3401
|
+
GetProtocolStatsRequest.runtime = proto3;
|
|
3402
|
+
GetProtocolStatsRequest.typeName = "data.v2.GetProtocolStatsRequest";
|
|
3403
|
+
GetProtocolStatsRequest.fields = proto3.util.newFieldList(() => [
|
|
3404
|
+
{ no: 1, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
3405
|
+
{ no: 2, name: "protocol_versions", kind: "enum", T: proto3.getEnumType(ProtocolVersion), repeated: true },
|
|
3406
|
+
]);
|
|
3407
|
+
/**
|
|
3408
|
+
* USD-denominated, matching PoolRankStats / TokenRankStats on the same page.
|
|
3409
|
+
*
|
|
3410
|
+
* @generated from message data.v2.ProtocolStats
|
|
3411
|
+
*/
|
|
3412
|
+
export class ProtocolStats extends Message {
|
|
3413
|
+
constructor(data) {
|
|
3414
|
+
super();
|
|
3415
|
+
/**
|
|
3416
|
+
* @generated from field: double tvl = 1;
|
|
3417
|
+
*/
|
|
3418
|
+
this.tvl = 0;
|
|
3419
|
+
/**
|
|
3420
|
+
* @generated from field: double volume_1d = 2;
|
|
3421
|
+
*/
|
|
3422
|
+
this.volume1d = 0;
|
|
3423
|
+
proto3.util.initPartial(data, this);
|
|
3424
|
+
}
|
|
3425
|
+
static fromBinary(bytes, options) {
|
|
3426
|
+
return new ProtocolStats().fromBinary(bytes, options);
|
|
3427
|
+
}
|
|
3428
|
+
static fromJson(jsonValue, options) {
|
|
3429
|
+
return new ProtocolStats().fromJson(jsonValue, options);
|
|
3430
|
+
}
|
|
3431
|
+
static fromJsonString(jsonString, options) {
|
|
3432
|
+
return new ProtocolStats().fromJsonString(jsonString, options);
|
|
3433
|
+
}
|
|
3434
|
+
static equals(a, b) {
|
|
3435
|
+
return proto3.util.equals(ProtocolStats, a, b);
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
ProtocolStats.runtime = proto3;
|
|
3439
|
+
ProtocolStats.typeName = "data.v2.ProtocolStats";
|
|
3440
|
+
ProtocolStats.fields = proto3.util.newFieldList(() => [
|
|
3441
|
+
{ no: 1, name: "tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
3442
|
+
{ no: 2, name: "volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
3443
|
+
{ no: 3, name: "tvl_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
3444
|
+
{ no: 4, name: "volume_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
3445
|
+
]);
|
|
3446
|
+
/**
|
|
3447
|
+
* @generated from message data.v2.ProtocolVersionStats
|
|
3448
|
+
*/
|
|
3449
|
+
export class ProtocolVersionStats extends Message {
|
|
3450
|
+
constructor(data) {
|
|
3451
|
+
super();
|
|
3452
|
+
/**
|
|
3453
|
+
* @generated from field: pools.v1.ProtocolVersion protocol_version = 1;
|
|
3454
|
+
*/
|
|
3455
|
+
this.protocolVersion = ProtocolVersion.UNSPECIFIED;
|
|
3456
|
+
proto3.util.initPartial(data, this);
|
|
3457
|
+
}
|
|
3458
|
+
static fromBinary(bytes, options) {
|
|
3459
|
+
return new ProtocolVersionStats().fromBinary(bytes, options);
|
|
3460
|
+
}
|
|
3461
|
+
static fromJson(jsonValue, options) {
|
|
3462
|
+
return new ProtocolVersionStats().fromJson(jsonValue, options);
|
|
3463
|
+
}
|
|
3464
|
+
static fromJsonString(jsonString, options) {
|
|
3465
|
+
return new ProtocolVersionStats().fromJsonString(jsonString, options);
|
|
3466
|
+
}
|
|
3467
|
+
static equals(a, b) {
|
|
3468
|
+
return proto3.util.equals(ProtocolVersionStats, a, b);
|
|
3469
|
+
}
|
|
3470
|
+
}
|
|
3471
|
+
ProtocolVersionStats.runtime = proto3;
|
|
3472
|
+
ProtocolVersionStats.typeName = "data.v2.ProtocolVersionStats";
|
|
3473
|
+
ProtocolVersionStats.fields = proto3.util.newFieldList(() => [
|
|
3474
|
+
{ no: 1, name: "protocol_version", kind: "enum", T: proto3.getEnumType(ProtocolVersion) },
|
|
3475
|
+
{ no: 2, name: "stats", kind: "message", T: ProtocolStats },
|
|
3476
|
+
]);
|
|
3477
|
+
/**
|
|
3478
|
+
* @generated from message data.v2.GetProtocolStatsResponse
|
|
3479
|
+
*/
|
|
3480
|
+
export class GetProtocolStatsResponse extends Message {
|
|
3481
|
+
constructor(data) {
|
|
3482
|
+
super();
|
|
3483
|
+
/**
|
|
3484
|
+
* one entry per requested version, in request order; zero-valued when no data
|
|
3485
|
+
*
|
|
3486
|
+
* @generated from field: repeated data.v2.ProtocolVersionStats protocol_version_stats = 2;
|
|
3487
|
+
*/
|
|
3488
|
+
this.protocolVersionStats = [];
|
|
3489
|
+
proto3.util.initPartial(data, this);
|
|
3490
|
+
}
|
|
3491
|
+
static fromBinary(bytes, options) {
|
|
3492
|
+
return new GetProtocolStatsResponse().fromBinary(bytes, options);
|
|
3493
|
+
}
|
|
3494
|
+
static fromJson(jsonValue, options) {
|
|
3495
|
+
return new GetProtocolStatsResponse().fromJson(jsonValue, options);
|
|
3496
|
+
}
|
|
3497
|
+
static fromJsonString(jsonString, options) {
|
|
3498
|
+
return new GetProtocolStatsResponse().fromJsonString(jsonString, options);
|
|
3499
|
+
}
|
|
3500
|
+
static equals(a, b) {
|
|
3501
|
+
return proto3.util.equals(GetProtocolStatsResponse, a, b);
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3504
|
+
GetProtocolStatsResponse.runtime = proto3;
|
|
3505
|
+
GetProtocolStatsResponse.typeName = "data.v2.GetProtocolStatsResponse";
|
|
3506
|
+
GetProtocolStatsResponse.fields = proto3.util.newFieldList(() => [
|
|
3507
|
+
{ no: 1, name: "stats", kind: "message", T: ProtocolStats },
|
|
3508
|
+
{ no: 2, name: "protocol_version_stats", kind: "message", T: ProtocolVersionStats, repeated: true },
|
|
3509
|
+
{ no: 3, name: "as_of", kind: "message", T: Timestamp },
|
|
3510
|
+
]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
|
|
2
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesForTokensRequest, GetLaunchCreatorFeesForTokensResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc launches.v1.LaunchService.ListLaunchpads
|
|
5
5
|
*/
|
|
@@ -78,6 +78,19 @@ export declare const getLaunchCreatorFees: {
|
|
|
78
78
|
readonly typeName: "launches.v1.LaunchService";
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* @generated from rpc launches.v1.LaunchService.GetLaunchCreatorFeesForTokens
|
|
83
|
+
*/
|
|
84
|
+
export declare const getLaunchCreatorFeesForTokens: {
|
|
85
|
+
readonly localName: "getLaunchCreatorFeesForTokens";
|
|
86
|
+
readonly name: "GetLaunchCreatorFeesForTokens";
|
|
87
|
+
readonly kind: MethodKind.Unary;
|
|
88
|
+
readonly I: typeof GetLaunchCreatorFeesForTokensRequest;
|
|
89
|
+
readonly O: typeof GetLaunchCreatorFeesForTokensResponse;
|
|
90
|
+
readonly service: {
|
|
91
|
+
readonly typeName: "launches.v1.LaunchService";
|
|
92
|
+
};
|
|
93
|
+
};
|
|
81
94
|
/**
|
|
82
95
|
* @generated from rpc launches.v1.LaunchService.CheckLaunchNameTicker
|
|
83
96
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
|
|
6
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesForTokensRequest, GetLaunchCreatorFeesForTokensResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc launches.v1.LaunchService.ListLaunchpads
|
|
9
9
|
*/
|
|
@@ -82,6 +82,19 @@ export const getLaunchCreatorFees = {
|
|
|
82
82
|
typeName: "launches.v1.LaunchService"
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* @generated from rpc launches.v1.LaunchService.GetLaunchCreatorFeesForTokens
|
|
87
|
+
*/
|
|
88
|
+
export const getLaunchCreatorFeesForTokens = {
|
|
89
|
+
localName: "getLaunchCreatorFeesForTokens",
|
|
90
|
+
name: "GetLaunchCreatorFeesForTokens",
|
|
91
|
+
kind: MethodKind.Unary,
|
|
92
|
+
I: GetLaunchCreatorFeesForTokensRequest,
|
|
93
|
+
O: GetLaunchCreatorFeesForTokensResponse,
|
|
94
|
+
service: {
|
|
95
|
+
typeName: "launches.v1.LaunchService"
|
|
96
|
+
}
|
|
97
|
+
};
|
|
85
98
|
/**
|
|
86
99
|
* @generated from rpc launches.v1.LaunchService.CheckLaunchNameTicker
|
|
87
100
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
|
|
1
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesForTokensRequest, GetLaunchCreatorFeesForTokensResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* launches.v1.LaunchService re-declares the launch-scoped read RPCs served
|
|
@@ -67,6 +67,15 @@ export declare const LaunchService: {
|
|
|
67
67
|
readonly O: typeof GetLaunchCreatorFeesResponse;
|
|
68
68
|
readonly kind: MethodKind.Unary;
|
|
69
69
|
};
|
|
70
|
+
/**
|
|
71
|
+
* @generated from rpc launches.v1.LaunchService.GetLaunchCreatorFeesForTokens
|
|
72
|
+
*/
|
|
73
|
+
readonly getLaunchCreatorFeesForTokens: {
|
|
74
|
+
readonly name: "GetLaunchCreatorFeesForTokens";
|
|
75
|
+
readonly I: typeof GetLaunchCreatorFeesForTokensRequest;
|
|
76
|
+
readonly O: typeof GetLaunchCreatorFeesForTokensResponse;
|
|
77
|
+
readonly kind: MethodKind.Unary;
|
|
78
|
+
};
|
|
70
79
|
/**
|
|
71
80
|
* @generated from rpc launches.v1.LaunchService.CheckLaunchNameTicker
|
|
72
81
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file launches/v1/api.proto (package launches.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
|
|
5
|
+
import { CheckLaunchNameTickerRequest, CheckLaunchNameTickerResponse, GetLaunchActivityStatsRequest, GetLaunchActivityStatsResponse, GetLaunchClaimsRequest, GetLaunchClaimsResponse, GetLaunchCreatorFeesForTokensRequest, GetLaunchCreatorFeesForTokensResponse, GetLaunchCreatorFeesRequest, GetLaunchCreatorFeesResponse, GetLaunchHoldersRequest, GetLaunchHoldersResponse, GetLiquidityForTokensRequest, GetLiquidityForTokensResponse, GetTokenTopTradersRequest, GetTokenTopTradersResponse, GetTokenTradesRequest, GetTokenTradesResponse, ListLaunchesRequest, ListLaunchesResponse, ListLaunchpadsRequest, ListLaunchpadsResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* launches.v1.LaunchService re-declares the launch-scoped read RPCs served
|
|
@@ -71,6 +71,15 @@ export const LaunchService = {
|
|
|
71
71
|
O: GetLaunchCreatorFeesResponse,
|
|
72
72
|
kind: MethodKind.Unary,
|
|
73
73
|
},
|
|
74
|
+
/**
|
|
75
|
+
* @generated from rpc launches.v1.LaunchService.GetLaunchCreatorFeesForTokens
|
|
76
|
+
*/
|
|
77
|
+
getLaunchCreatorFeesForTokens: {
|
|
78
|
+
name: "GetLaunchCreatorFeesForTokens",
|
|
79
|
+
I: GetLaunchCreatorFeesForTokensRequest,
|
|
80
|
+
O: GetLaunchCreatorFeesForTokensResponse,
|
|
81
|
+
kind: MethodKind.Unary,
|
|
82
|
+
},
|
|
74
83
|
/**
|
|
75
84
|
* @generated from rpc launches.v1.LaunchService.CheckLaunchNameTicker
|
|
76
85
|
*/
|
|
@@ -895,6 +895,106 @@ export declare class GetLaunchCreatorFeesResponse extends Message<GetLaunchCreat
|
|
|
895
895
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesResponse;
|
|
896
896
|
static equals(a: GetLaunchCreatorFeesResponse | PlainMessage<GetLaunchCreatorFeesResponse> | undefined, b: GetLaunchCreatorFeesResponse | PlainMessage<GetLaunchCreatorFeesResponse> | undefined): boolean;
|
|
897
897
|
}
|
|
898
|
+
/**
|
|
899
|
+
* Batched GetLaunchCreatorFees: the SAME per-token metrics for a whole set of
|
|
900
|
+
* tokens in one request. A creator portfolio polling 30 launches otherwise
|
|
901
|
+
* makes 30 requests every tick; this is the batched replacement, modelled on
|
|
902
|
+
* GetLiquidityForTokens below.
|
|
903
|
+
*
|
|
904
|
+
* Not a widening of GetLaunchCreatorFees: that response is a SINGLETON message
|
|
905
|
+
* with no repeated field and no (chain_id, token_address) identity on it, so a
|
|
906
|
+
* batch cannot be expressed in it without making every existing field
|
|
907
|
+
* mode-dependent. The single-token RPC keeps working unchanged and stays the
|
|
908
|
+
* right call for one token.
|
|
909
|
+
*
|
|
910
|
+
* @generated from message launches.v1.GetLaunchCreatorFeesForTokensRequest
|
|
911
|
+
*/
|
|
912
|
+
export declare class GetLaunchCreatorFeesForTokensRequest extends Message<GetLaunchCreatorFeesForTokensRequest> {
|
|
913
|
+
/**
|
|
914
|
+
* max 100
|
|
915
|
+
*
|
|
916
|
+
* @generated from field: repeated launches.v1.TokenIdentifier tokens = 1;
|
|
917
|
+
*/
|
|
918
|
+
tokens: TokenIdentifier[];
|
|
919
|
+
constructor(data?: PartialMessage<GetLaunchCreatorFeesForTokensRequest>);
|
|
920
|
+
static readonly runtime: typeof proto3;
|
|
921
|
+
static readonly typeName = "launches.v1.GetLaunchCreatorFeesForTokensRequest";
|
|
922
|
+
static readonly fields: FieldList;
|
|
923
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLaunchCreatorFeesForTokensRequest;
|
|
924
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesForTokensRequest;
|
|
925
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesForTokensRequest;
|
|
926
|
+
static equals(a: GetLaunchCreatorFeesForTokensRequest | PlainMessage<GetLaunchCreatorFeesForTokensRequest> | undefined, b: GetLaunchCreatorFeesForTokensRequest | PlainMessage<GetLaunchCreatorFeesForTokensRequest> | undefined): boolean;
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* One entry per requested token, in request order. Read the THREE-WAY
|
|
930
|
+
* distinction below before rendering anything — it is the whole point of the
|
|
931
|
+
* batch form, and collapsing two of the cases produces a wrong zero:
|
|
932
|
+
*
|
|
933
|
+
* * entry present, `fees` SET -> the token's fee position (identical to
|
|
934
|
+
* what the single-token GetLaunchCreatorFees returns for it).
|
|
935
|
+
* * entry present, `fees` UNSET -> NO POSITION. Exactly the case the
|
|
936
|
+
* single-token RPC answers with not_found: the token has neither indexed
|
|
937
|
+
* Instant Launch fee events nor a resolvable launch. A durable, cacheable
|
|
938
|
+
* answer — render "no fees", do not retry.
|
|
939
|
+
* * entry ABSENT from `entries` -> NOT EVALUATED. The server could not
|
|
940
|
+
* determine this token's fees (a transient upstream failure on that token
|
|
941
|
+
* alone). NOT a statement that there is no position: keep the previous
|
|
942
|
+
* value or retry, never render zero.
|
|
943
|
+
*
|
|
944
|
+
* A single failing or position-less token therefore never fails the batch —
|
|
945
|
+
* the other tokens are still served.
|
|
946
|
+
*
|
|
947
|
+
* @generated from message launches.v1.GetLaunchCreatorFeesForTokensResponse
|
|
948
|
+
*/
|
|
949
|
+
export declare class GetLaunchCreatorFeesForTokensResponse extends Message<GetLaunchCreatorFeesForTokensResponse> {
|
|
950
|
+
/**
|
|
951
|
+
* @generated from field: repeated launches.v1.LaunchCreatorFeesEntry entries = 1;
|
|
952
|
+
*/
|
|
953
|
+
entries: LaunchCreatorFeesEntry[];
|
|
954
|
+
constructor(data?: PartialMessage<GetLaunchCreatorFeesForTokensResponse>);
|
|
955
|
+
static readonly runtime: typeof proto3;
|
|
956
|
+
static readonly typeName = "launches.v1.GetLaunchCreatorFeesForTokensResponse";
|
|
957
|
+
static readonly fields: FieldList;
|
|
958
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLaunchCreatorFeesForTokensResponse;
|
|
959
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesForTokensResponse;
|
|
960
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchCreatorFeesForTokensResponse;
|
|
961
|
+
static equals(a: GetLaunchCreatorFeesForTokensResponse | PlainMessage<GetLaunchCreatorFeesForTokensResponse> | undefined, b: GetLaunchCreatorFeesForTokensResponse | PlainMessage<GetLaunchCreatorFeesForTokensResponse> | undefined): boolean;
|
|
962
|
+
}
|
|
963
|
+
/**
|
|
964
|
+
* A requested token paired with its fees. chain_id AND token_address are both
|
|
965
|
+
* always set so a caller matches rows back by identity rather than by index —
|
|
966
|
+
* order is request order today, but absent entries make positional matching
|
|
967
|
+
* wrong, so do not rely on it.
|
|
968
|
+
*
|
|
969
|
+
* @generated from message launches.v1.LaunchCreatorFeesEntry
|
|
970
|
+
*/
|
|
971
|
+
export declare class LaunchCreatorFeesEntry extends Message<LaunchCreatorFeesEntry> {
|
|
972
|
+
/**
|
|
973
|
+
* @generated from field: uint32 chain_id = 1;
|
|
974
|
+
*/
|
|
975
|
+
chainId: number;
|
|
976
|
+
/**
|
|
977
|
+
* EIP-55 checksummed token address, echoing the requested token.
|
|
978
|
+
*
|
|
979
|
+
* @generated from field: string token_address = 2;
|
|
980
|
+
*/
|
|
981
|
+
tokenAddress: string;
|
|
982
|
+
/**
|
|
983
|
+
* The single-token response embedded verbatim, so the batch and single-token
|
|
984
|
+
* forms can never drift in meaning. UNSET = no position (see above).
|
|
985
|
+
*
|
|
986
|
+
* @generated from field: optional launches.v1.GetLaunchCreatorFeesResponse fees = 3;
|
|
987
|
+
*/
|
|
988
|
+
fees?: GetLaunchCreatorFeesResponse;
|
|
989
|
+
constructor(data?: PartialMessage<LaunchCreatorFeesEntry>);
|
|
990
|
+
static readonly runtime: typeof proto3;
|
|
991
|
+
static readonly typeName = "launches.v1.LaunchCreatorFeesEntry";
|
|
992
|
+
static readonly fields: FieldList;
|
|
993
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchCreatorFeesEntry;
|
|
994
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchCreatorFeesEntry;
|
|
995
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchCreatorFeesEntry;
|
|
996
|
+
static equals(a: LaunchCreatorFeesEntry | PlainMessage<LaunchCreatorFeesEntry> | undefined, b: LaunchCreatorFeesEntry | PlainMessage<LaunchCreatorFeesEntry> | undefined): boolean;
|
|
997
|
+
}
|
|
898
998
|
/**
|
|
899
999
|
* Anti-vamp create-flow check (LP-1311): has a token with this name + ticker
|
|
900
1000
|
* combination launched on the chain within the trailing 8 hours? Matching is
|
|
@@ -856,6 +856,140 @@ GetLaunchCreatorFeesResponse.fields = proto3.util.newFieldList(() => [
|
|
|
856
856
|
{ no: 8, name: "beneficiary_vault", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
857
857
|
{ no: 9, name: "claimable_includes_uncollected", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
858
858
|
]);
|
|
859
|
+
/**
|
|
860
|
+
* Batched GetLaunchCreatorFees: the SAME per-token metrics for a whole set of
|
|
861
|
+
* tokens in one request. A creator portfolio polling 30 launches otherwise
|
|
862
|
+
* makes 30 requests every tick; this is the batched replacement, modelled on
|
|
863
|
+
* GetLiquidityForTokens below.
|
|
864
|
+
*
|
|
865
|
+
* Not a widening of GetLaunchCreatorFees: that response is a SINGLETON message
|
|
866
|
+
* with no repeated field and no (chain_id, token_address) identity on it, so a
|
|
867
|
+
* batch cannot be expressed in it without making every existing field
|
|
868
|
+
* mode-dependent. The single-token RPC keeps working unchanged and stays the
|
|
869
|
+
* right call for one token.
|
|
870
|
+
*
|
|
871
|
+
* @generated from message launches.v1.GetLaunchCreatorFeesForTokensRequest
|
|
872
|
+
*/
|
|
873
|
+
export class GetLaunchCreatorFeesForTokensRequest extends Message {
|
|
874
|
+
constructor(data) {
|
|
875
|
+
super();
|
|
876
|
+
/**
|
|
877
|
+
* max 100
|
|
878
|
+
*
|
|
879
|
+
* @generated from field: repeated launches.v1.TokenIdentifier tokens = 1;
|
|
880
|
+
*/
|
|
881
|
+
this.tokens = [];
|
|
882
|
+
proto3.util.initPartial(data, this);
|
|
883
|
+
}
|
|
884
|
+
static fromBinary(bytes, options) {
|
|
885
|
+
return new GetLaunchCreatorFeesForTokensRequest().fromBinary(bytes, options);
|
|
886
|
+
}
|
|
887
|
+
static fromJson(jsonValue, options) {
|
|
888
|
+
return new GetLaunchCreatorFeesForTokensRequest().fromJson(jsonValue, options);
|
|
889
|
+
}
|
|
890
|
+
static fromJsonString(jsonString, options) {
|
|
891
|
+
return new GetLaunchCreatorFeesForTokensRequest().fromJsonString(jsonString, options);
|
|
892
|
+
}
|
|
893
|
+
static equals(a, b) {
|
|
894
|
+
return proto3.util.equals(GetLaunchCreatorFeesForTokensRequest, a, b);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
GetLaunchCreatorFeesForTokensRequest.runtime = proto3;
|
|
898
|
+
GetLaunchCreatorFeesForTokensRequest.typeName = "launches.v1.GetLaunchCreatorFeesForTokensRequest";
|
|
899
|
+
GetLaunchCreatorFeesForTokensRequest.fields = proto3.util.newFieldList(() => [
|
|
900
|
+
{ no: 1, name: "tokens", kind: "message", T: TokenIdentifier, repeated: true },
|
|
901
|
+
]);
|
|
902
|
+
/**
|
|
903
|
+
* One entry per requested token, in request order. Read the THREE-WAY
|
|
904
|
+
* distinction below before rendering anything — it is the whole point of the
|
|
905
|
+
* batch form, and collapsing two of the cases produces a wrong zero:
|
|
906
|
+
*
|
|
907
|
+
* * entry present, `fees` SET -> the token's fee position (identical to
|
|
908
|
+
* what the single-token GetLaunchCreatorFees returns for it).
|
|
909
|
+
* * entry present, `fees` UNSET -> NO POSITION. Exactly the case the
|
|
910
|
+
* single-token RPC answers with not_found: the token has neither indexed
|
|
911
|
+
* Instant Launch fee events nor a resolvable launch. A durable, cacheable
|
|
912
|
+
* answer — render "no fees", do not retry.
|
|
913
|
+
* * entry ABSENT from `entries` -> NOT EVALUATED. The server could not
|
|
914
|
+
* determine this token's fees (a transient upstream failure on that token
|
|
915
|
+
* alone). NOT a statement that there is no position: keep the previous
|
|
916
|
+
* value or retry, never render zero.
|
|
917
|
+
*
|
|
918
|
+
* A single failing or position-less token therefore never fails the batch —
|
|
919
|
+
* the other tokens are still served.
|
|
920
|
+
*
|
|
921
|
+
* @generated from message launches.v1.GetLaunchCreatorFeesForTokensResponse
|
|
922
|
+
*/
|
|
923
|
+
export class GetLaunchCreatorFeesForTokensResponse extends Message {
|
|
924
|
+
constructor(data) {
|
|
925
|
+
super();
|
|
926
|
+
/**
|
|
927
|
+
* @generated from field: repeated launches.v1.LaunchCreatorFeesEntry entries = 1;
|
|
928
|
+
*/
|
|
929
|
+
this.entries = [];
|
|
930
|
+
proto3.util.initPartial(data, this);
|
|
931
|
+
}
|
|
932
|
+
static fromBinary(bytes, options) {
|
|
933
|
+
return new GetLaunchCreatorFeesForTokensResponse().fromBinary(bytes, options);
|
|
934
|
+
}
|
|
935
|
+
static fromJson(jsonValue, options) {
|
|
936
|
+
return new GetLaunchCreatorFeesForTokensResponse().fromJson(jsonValue, options);
|
|
937
|
+
}
|
|
938
|
+
static fromJsonString(jsonString, options) {
|
|
939
|
+
return new GetLaunchCreatorFeesForTokensResponse().fromJsonString(jsonString, options);
|
|
940
|
+
}
|
|
941
|
+
static equals(a, b) {
|
|
942
|
+
return proto3.util.equals(GetLaunchCreatorFeesForTokensResponse, a, b);
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
GetLaunchCreatorFeesForTokensResponse.runtime = proto3;
|
|
946
|
+
GetLaunchCreatorFeesForTokensResponse.typeName = "launches.v1.GetLaunchCreatorFeesForTokensResponse";
|
|
947
|
+
GetLaunchCreatorFeesForTokensResponse.fields = proto3.util.newFieldList(() => [
|
|
948
|
+
{ no: 1, name: "entries", kind: "message", T: LaunchCreatorFeesEntry, repeated: true },
|
|
949
|
+
]);
|
|
950
|
+
/**
|
|
951
|
+
* A requested token paired with its fees. chain_id AND token_address are both
|
|
952
|
+
* always set so a caller matches rows back by identity rather than by index —
|
|
953
|
+
* order is request order today, but absent entries make positional matching
|
|
954
|
+
* wrong, so do not rely on it.
|
|
955
|
+
*
|
|
956
|
+
* @generated from message launches.v1.LaunchCreatorFeesEntry
|
|
957
|
+
*/
|
|
958
|
+
export class LaunchCreatorFeesEntry extends Message {
|
|
959
|
+
constructor(data) {
|
|
960
|
+
super();
|
|
961
|
+
/**
|
|
962
|
+
* @generated from field: uint32 chain_id = 1;
|
|
963
|
+
*/
|
|
964
|
+
this.chainId = 0;
|
|
965
|
+
/**
|
|
966
|
+
* EIP-55 checksummed token address, echoing the requested token.
|
|
967
|
+
*
|
|
968
|
+
* @generated from field: string token_address = 2;
|
|
969
|
+
*/
|
|
970
|
+
this.tokenAddress = "";
|
|
971
|
+
proto3.util.initPartial(data, this);
|
|
972
|
+
}
|
|
973
|
+
static fromBinary(bytes, options) {
|
|
974
|
+
return new LaunchCreatorFeesEntry().fromBinary(bytes, options);
|
|
975
|
+
}
|
|
976
|
+
static fromJson(jsonValue, options) {
|
|
977
|
+
return new LaunchCreatorFeesEntry().fromJson(jsonValue, options);
|
|
978
|
+
}
|
|
979
|
+
static fromJsonString(jsonString, options) {
|
|
980
|
+
return new LaunchCreatorFeesEntry().fromJsonString(jsonString, options);
|
|
981
|
+
}
|
|
982
|
+
static equals(a, b) {
|
|
983
|
+
return proto3.util.equals(LaunchCreatorFeesEntry, a, b);
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
LaunchCreatorFeesEntry.runtime = proto3;
|
|
987
|
+
LaunchCreatorFeesEntry.typeName = "launches.v1.LaunchCreatorFeesEntry";
|
|
988
|
+
LaunchCreatorFeesEntry.fields = proto3.util.newFieldList(() => [
|
|
989
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
990
|
+
{ no: 2, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
991
|
+
{ no: 3, name: "fees", kind: "message", T: GetLaunchCreatorFeesResponse, opt: true },
|
|
992
|
+
]);
|
|
859
993
|
/**
|
|
860
994
|
* Anti-vamp create-flow check (LP-1311): has a token with this name + ticker
|
|
861
995
|
* combination launched on the chain within the trailing 8 hours? Matching is
|