@uniswap/client-data-api 0.0.149 → 0.0.151
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 +109 -1
- package/dist/data/v2/api_pb.js +99 -1
- package/dist/data/v2/types_pb.d.ts +90 -24
- package/dist/data/v2/types_pb.js +77 -12
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, 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 { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, 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
|
*/
|
|
@@ -273,3 +273,16 @@ export declare const listLaunches: {
|
|
|
273
273
|
readonly typeName: "data.v2.DataApiService";
|
|
274
274
|
};
|
|
275
275
|
};
|
|
276
|
+
/**
|
|
277
|
+
* @generated from rpc data.v2.DataApiService.GetLaunchHolders
|
|
278
|
+
*/
|
|
279
|
+
export declare const getLaunchHolders: {
|
|
280
|
+
readonly localName: "getLaunchHolders";
|
|
281
|
+
readonly name: "GetLaunchHolders";
|
|
282
|
+
readonly kind: MethodKind.Unary;
|
|
283
|
+
readonly I: typeof GetLaunchHoldersRequest;
|
|
284
|
+
readonly O: typeof GetLaunchHoldersResponse;
|
|
285
|
+
readonly service: {
|
|
286
|
+
readonly typeName: "data.v2.DataApiService";
|
|
287
|
+
};
|
|
288
|
+
};
|
|
@@ -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, 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 { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, 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
|
*/
|
|
@@ -277,3 +277,16 @@ export const listLaunches = {
|
|
|
277
277
|
typeName: "data.v2.DataApiService"
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
|
+
/**
|
|
281
|
+
* @generated from rpc data.v2.DataApiService.GetLaunchHolders
|
|
282
|
+
*/
|
|
283
|
+
export const getLaunchHolders = {
|
|
284
|
+
localName: "getLaunchHolders",
|
|
285
|
+
name: "GetLaunchHolders",
|
|
286
|
+
kind: MethodKind.Unary,
|
|
287
|
+
I: GetLaunchHoldersRequest,
|
|
288
|
+
O: GetLaunchHoldersResponse,
|
|
289
|
+
service: {
|
|
290
|
+
typeName: "data.v2.DataApiService"
|
|
291
|
+
}
|
|
292
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, 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 { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, 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
|
|
@@ -195,5 +195,14 @@ export declare const DataApiService: {
|
|
|
195
195
|
readonly O: typeof ListLaunchesResponse;
|
|
196
196
|
readonly kind: MethodKind.Unary;
|
|
197
197
|
};
|
|
198
|
+
/**
|
|
199
|
+
* @generated from rpc data.v2.DataApiService.GetLaunchHolders
|
|
200
|
+
*/
|
|
201
|
+
readonly getLaunchHolders: {
|
|
202
|
+
readonly name: "GetLaunchHolders";
|
|
203
|
+
readonly I: typeof GetLaunchHoldersRequest;
|
|
204
|
+
readonly O: typeof GetLaunchHoldersResponse;
|
|
205
|
+
readonly kind: MethodKind.Unary;
|
|
206
|
+
};
|
|
198
207
|
};
|
|
199
208
|
};
|
|
@@ -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, 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 { ConvertFiatRequest, ConvertFiatResponse, GetEarnPositionRequest, GetEarnPositionResponse, 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
|
|
@@ -199,5 +199,14 @@ export const DataApiService = {
|
|
|
199
199
|
O: ListLaunchesResponse,
|
|
200
200
|
kind: MethodKind.Unary,
|
|
201
201
|
},
|
|
202
|
+
/**
|
|
203
|
+
* @generated from rpc data.v2.DataApiService.GetLaunchHolders
|
|
204
|
+
*/
|
|
205
|
+
getLaunchHolders: {
|
|
206
|
+
name: "GetLaunchHolders",
|
|
207
|
+
I: GetLaunchHoldersRequest,
|
|
208
|
+
O: GetLaunchHoldersResponse,
|
|
209
|
+
kind: MethodKind.Unary,
|
|
210
|
+
},
|
|
202
211
|
}
|
|
203
212
|
};
|
package/dist/data/v2/api_pb.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
3
|
-
import { FiatAmount, FiatCurrency, HistoryDuration, Launch, LaunchesOrderBy, LaunchListFilter, Launchpad, MultichainToken, MultichainTokenMarket, Nft, PoolListFilter, PoolsSort, RankedMultichainToken, RankedPool, Token, TokenListFilter, TokenMarket, TokensSort, TokenTrade, TransactionEventType, UniswapTransaction } from "./types_pb.js";
|
|
3
|
+
import { FiatAmount, FiatCurrency, HistoryDuration, Launch, LaunchesOrderBy, LaunchHolder, LaunchListFilter, Launchpad, MultichainToken, MultichainTokenMarket, Nft, PoolListFilter, PoolsSort, RankedMultichainToken, RankedPool, Token, TokenListFilter, TokenMarket, TokensSort, TokenTrade, TransactionEventType, UniswapTransaction } from "./types_pb.js";
|
|
4
4
|
import { PageRequest, PageResponse } from "./common_pb.js";
|
|
5
5
|
import { EarnPosition, EarnVault } from "./earn_pb.js";
|
|
6
|
+
import { TimestampedValue } from "../v1/types_pb.js";
|
|
6
7
|
import { ProtocolVersion } from "../v1/poolTypes_pb.js";
|
|
7
8
|
/**
|
|
8
9
|
* @generated from message data.v2.GetTokenMarketsRequest
|
|
@@ -1111,6 +1112,113 @@ export declare class ListLaunchesResponse extends Message<ListLaunchesResponse>
|
|
|
1111
1112
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListLaunchesResponse;
|
|
1112
1113
|
static equals(a: ListLaunchesResponse | PlainMessage<ListLaunchesResponse> | undefined, b: ListLaunchesResponse | PlainMessage<ListLaunchesResponse> | undefined): boolean;
|
|
1113
1114
|
}
|
|
1115
|
+
/**
|
|
1116
|
+
* Holder data for ONE launch token (the TDP Holders module), computed at
|
|
1117
|
+
* query time over the raw launch-transfers feed (ClickHouse,
|
|
1118
|
+
* reorg-excluded) behind a short SWR cache. Only tokens created via the
|
|
1119
|
+
* Uniswap token factory (CCA + bonding-curve launches) have transfer rows.
|
|
1120
|
+
*
|
|
1121
|
+
* @generated from message data.v2.GetLaunchHoldersRequest
|
|
1122
|
+
*/
|
|
1123
|
+
export declare class GetLaunchHoldersRequest extends Message<GetLaunchHoldersRequest> {
|
|
1124
|
+
/**
|
|
1125
|
+
* @generated from field: uint32 chain_id = 1;
|
|
1126
|
+
*/
|
|
1127
|
+
chainId: number;
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from field: string token_address = 2;
|
|
1130
|
+
*/
|
|
1131
|
+
tokenAddress: string;
|
|
1132
|
+
constructor(data?: PartialMessage<GetLaunchHoldersRequest>);
|
|
1133
|
+
static readonly runtime: typeof proto3;
|
|
1134
|
+
static readonly typeName = "data.v2.GetLaunchHoldersRequest";
|
|
1135
|
+
static readonly fields: FieldList;
|
|
1136
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLaunchHoldersRequest;
|
|
1137
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLaunchHoldersRequest;
|
|
1138
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchHoldersRequest;
|
|
1139
|
+
static equals(a: GetLaunchHoldersRequest | PlainMessage<GetLaunchHoldersRequest> | undefined, b: GetLaunchHoldersRequest | PlainMessage<GetLaunchHoldersRequest> | undefined): boolean;
|
|
1140
|
+
}
|
|
1141
|
+
/**
|
|
1142
|
+
* Absence contract mirrors the Launch holder fields: when the token has no
|
|
1143
|
+
* ingested transfers (non-factory token, ingestion lag, or every row
|
|
1144
|
+
* reorged out) holders is empty and every optional field is unset, never a
|
|
1145
|
+
* fake 0, so clients can tell no-data from a real zero. Upstream failures
|
|
1146
|
+
* fail the RPC instead of serving empty.
|
|
1147
|
+
*
|
|
1148
|
+
* @generated from message data.v2.GetLaunchHoldersResponse
|
|
1149
|
+
*/
|
|
1150
|
+
export declare class GetLaunchHoldersResponse extends Message<GetLaunchHoldersResponse> {
|
|
1151
|
+
/**
|
|
1152
|
+
* Top-100 holders by balance, descending. Raw Etherscan-style rows over
|
|
1153
|
+
* net transfer balances, INCLUDING burned tokens: the 0x…dEaD burn sink
|
|
1154
|
+
* appears while it holds a balance, and cumulative burns to the zero
|
|
1155
|
+
* address appear as a synthetic zero-address row — so held + burned rows
|
|
1156
|
+
* sum to minted_supply. Burn rows are flagged (is_burn_address); clients
|
|
1157
|
+
* that want them out filter the flag.
|
|
1158
|
+
*
|
|
1159
|
+
* @generated from field: repeated data.v2.LaunchHolder holders = 1;
|
|
1160
|
+
*/
|
|
1161
|
+
holders: LaunchHolder[];
|
|
1162
|
+
/**
|
|
1163
|
+
* Exact holder count, same semantics as Launch.holder_count (addresses
|
|
1164
|
+
* with a positive net balance; burn sinks like 0x…dEaD included while
|
|
1165
|
+
* they hold a balance, the zero address never). The synthetic zero-address
|
|
1166
|
+
* burn row is never counted.
|
|
1167
|
+
*
|
|
1168
|
+
* @generated from field: optional int32 holder_count = 2;
|
|
1169
|
+
*/
|
|
1170
|
+
holderCount?: number;
|
|
1171
|
+
/**
|
|
1172
|
+
* holder_count minus the count as of 24h ago (signed).
|
|
1173
|
+
*
|
|
1174
|
+
* @generated from field: optional int32 holder_count_change_24h = 3;
|
|
1175
|
+
*/
|
|
1176
|
+
holderCountChange24h?: number;
|
|
1177
|
+
/**
|
|
1178
|
+
* Trailing 7-day holder-count trend for the stat sparkline: one point per
|
|
1179
|
+
* UTC-now-anchored 24h mark, oldest first, last point = holder_count now.
|
|
1180
|
+
*
|
|
1181
|
+
* @generated from field: repeated data.v1.TimestampedValue holder_count_trend = 4;
|
|
1182
|
+
*/
|
|
1183
|
+
holderCountTrend: TimestampedValue[];
|
|
1184
|
+
/**
|
|
1185
|
+
* Share of minted_supply held by the top 10 NON-burn holder rows, percent
|
|
1186
|
+
* in [0, 100]. Burned tokens can never concentrate, so they are excluded
|
|
1187
|
+
* here (unlike the rows above); the locked LP position is NOT excluded —
|
|
1188
|
+
* clients that label it can recompute from the raw rows.
|
|
1189
|
+
*
|
|
1190
|
+
* @generated from field: optional double top10_supply_pct = 5;
|
|
1191
|
+
*/
|
|
1192
|
+
top10SupplyPct?: number;
|
|
1193
|
+
/**
|
|
1194
|
+
* Cumulative value ever minted, raw base units as a decimal string — the
|
|
1195
|
+
* denominator of every supply_pct in this response. Burn-inclusive by
|
|
1196
|
+
* construction: holder balances + burned rows sum to it. On-chain
|
|
1197
|
+
* totalSupply-style circulating figures are client-derivable as
|
|
1198
|
+
* minted_supply - burned_to_zero.
|
|
1199
|
+
*
|
|
1200
|
+
* @generated from field: optional string minted_supply = 6;
|
|
1201
|
+
*/
|
|
1202
|
+
mintedSupply?: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* Same definitions as Launch.burned_to_zero / burned_to_dead.
|
|
1205
|
+
*
|
|
1206
|
+
* @generated from field: optional string burned_to_zero = 7;
|
|
1207
|
+
*/
|
|
1208
|
+
burnedToZero?: string;
|
|
1209
|
+
/**
|
|
1210
|
+
* @generated from field: optional string burned_to_dead = 8;
|
|
1211
|
+
*/
|
|
1212
|
+
burnedToDead?: string;
|
|
1213
|
+
constructor(data?: PartialMessage<GetLaunchHoldersResponse>);
|
|
1214
|
+
static readonly runtime: typeof proto3;
|
|
1215
|
+
static readonly typeName = "data.v2.GetLaunchHoldersResponse";
|
|
1216
|
+
static readonly fields: FieldList;
|
|
1217
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLaunchHoldersResponse;
|
|
1218
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLaunchHoldersResponse;
|
|
1219
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLaunchHoldersResponse;
|
|
1220
|
+
static equals(a: GetLaunchHoldersResponse | PlainMessage<GetLaunchHoldersResponse> | undefined, b: GetLaunchHoldersResponse | PlainMessage<GetLaunchHoldersResponse> | undefined): boolean;
|
|
1221
|
+
}
|
|
1114
1222
|
/**
|
|
1115
1223
|
* @generated from message data.v2.ListTokensRequest
|
|
1116
1224
|
*/
|
package/dist/data/v2/api_pb.js
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
6
|
-
import { FiatAmount, FiatCurrency, HistoryDuration, Launch, LaunchesOrderBy, LaunchListFilter, Launchpad, MultichainToken, MultichainTokenMarket, Nft, PoolListFilter, PoolsSort, RankedMultichainToken, RankedPool, Token, TokenListFilter, TokenMarket, TokensSort, TokenTrade, TransactionEventType, UniswapTransaction } from "./types_pb.js";
|
|
6
|
+
import { FiatAmount, FiatCurrency, HistoryDuration, Launch, LaunchesOrderBy, LaunchHolder, LaunchListFilter, Launchpad, MultichainToken, MultichainTokenMarket, Nft, PoolListFilter, PoolsSort, RankedMultichainToken, RankedPool, Token, TokenListFilter, TokenMarket, TokensSort, TokenTrade, TransactionEventType, UniswapTransaction } from "./types_pb.js";
|
|
7
7
|
import { PageRequest, PageResponse } from "./common_pb.js";
|
|
8
8
|
import { EarnPosition, EarnVault } from "./earn_pb.js";
|
|
9
|
+
import { TimestampedValue } from "../v1/types_pb.js";
|
|
9
10
|
import { ProtocolVersion } from "../v1/poolTypes_pb.js";
|
|
10
11
|
/**
|
|
11
12
|
* @generated from message data.v2.GetTokenMarketsRequest
|
|
@@ -1455,6 +1456,103 @@ ListLaunchesResponse.fields = proto3.util.newFieldList(() => [
|
|
|
1455
1456
|
{ no: 1, name: "launches", kind: "message", T: Launch, repeated: true },
|
|
1456
1457
|
{ no: 2, name: "page", kind: "message", T: PageResponse },
|
|
1457
1458
|
]);
|
|
1459
|
+
/**
|
|
1460
|
+
* Holder data for ONE launch token (the TDP Holders module), computed at
|
|
1461
|
+
* query time over the raw launch-transfers feed (ClickHouse,
|
|
1462
|
+
* reorg-excluded) behind a short SWR cache. Only tokens created via the
|
|
1463
|
+
* Uniswap token factory (CCA + bonding-curve launches) have transfer rows.
|
|
1464
|
+
*
|
|
1465
|
+
* @generated from message data.v2.GetLaunchHoldersRequest
|
|
1466
|
+
*/
|
|
1467
|
+
export class GetLaunchHoldersRequest extends Message {
|
|
1468
|
+
constructor(data) {
|
|
1469
|
+
super();
|
|
1470
|
+
/**
|
|
1471
|
+
* @generated from field: uint32 chain_id = 1;
|
|
1472
|
+
*/
|
|
1473
|
+
this.chainId = 0;
|
|
1474
|
+
/**
|
|
1475
|
+
* @generated from field: string token_address = 2;
|
|
1476
|
+
*/
|
|
1477
|
+
this.tokenAddress = "";
|
|
1478
|
+
proto3.util.initPartial(data, this);
|
|
1479
|
+
}
|
|
1480
|
+
static fromBinary(bytes, options) {
|
|
1481
|
+
return new GetLaunchHoldersRequest().fromBinary(bytes, options);
|
|
1482
|
+
}
|
|
1483
|
+
static fromJson(jsonValue, options) {
|
|
1484
|
+
return new GetLaunchHoldersRequest().fromJson(jsonValue, options);
|
|
1485
|
+
}
|
|
1486
|
+
static fromJsonString(jsonString, options) {
|
|
1487
|
+
return new GetLaunchHoldersRequest().fromJsonString(jsonString, options);
|
|
1488
|
+
}
|
|
1489
|
+
static equals(a, b) {
|
|
1490
|
+
return proto3.util.equals(GetLaunchHoldersRequest, a, b);
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
GetLaunchHoldersRequest.runtime = proto3;
|
|
1494
|
+
GetLaunchHoldersRequest.typeName = "data.v2.GetLaunchHoldersRequest";
|
|
1495
|
+
GetLaunchHoldersRequest.fields = proto3.util.newFieldList(() => [
|
|
1496
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1497
|
+
{ no: 2, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1498
|
+
]);
|
|
1499
|
+
/**
|
|
1500
|
+
* Absence contract mirrors the Launch holder fields: when the token has no
|
|
1501
|
+
* ingested transfers (non-factory token, ingestion lag, or every row
|
|
1502
|
+
* reorged out) holders is empty and every optional field is unset, never a
|
|
1503
|
+
* fake 0, so clients can tell no-data from a real zero. Upstream failures
|
|
1504
|
+
* fail the RPC instead of serving empty.
|
|
1505
|
+
*
|
|
1506
|
+
* @generated from message data.v2.GetLaunchHoldersResponse
|
|
1507
|
+
*/
|
|
1508
|
+
export class GetLaunchHoldersResponse extends Message {
|
|
1509
|
+
constructor(data) {
|
|
1510
|
+
super();
|
|
1511
|
+
/**
|
|
1512
|
+
* Top-100 holders by balance, descending. Raw Etherscan-style rows over
|
|
1513
|
+
* net transfer balances, INCLUDING burned tokens: the 0x…dEaD burn sink
|
|
1514
|
+
* appears while it holds a balance, and cumulative burns to the zero
|
|
1515
|
+
* address appear as a synthetic zero-address row — so held + burned rows
|
|
1516
|
+
* sum to minted_supply. Burn rows are flagged (is_burn_address); clients
|
|
1517
|
+
* that want them out filter the flag.
|
|
1518
|
+
*
|
|
1519
|
+
* @generated from field: repeated data.v2.LaunchHolder holders = 1;
|
|
1520
|
+
*/
|
|
1521
|
+
this.holders = [];
|
|
1522
|
+
/**
|
|
1523
|
+
* Trailing 7-day holder-count trend for the stat sparkline: one point per
|
|
1524
|
+
* UTC-now-anchored 24h mark, oldest first, last point = holder_count now.
|
|
1525
|
+
*
|
|
1526
|
+
* @generated from field: repeated data.v1.TimestampedValue holder_count_trend = 4;
|
|
1527
|
+
*/
|
|
1528
|
+
this.holderCountTrend = [];
|
|
1529
|
+
proto3.util.initPartial(data, this);
|
|
1530
|
+
}
|
|
1531
|
+
static fromBinary(bytes, options) {
|
|
1532
|
+
return new GetLaunchHoldersResponse().fromBinary(bytes, options);
|
|
1533
|
+
}
|
|
1534
|
+
static fromJson(jsonValue, options) {
|
|
1535
|
+
return new GetLaunchHoldersResponse().fromJson(jsonValue, options);
|
|
1536
|
+
}
|
|
1537
|
+
static fromJsonString(jsonString, options) {
|
|
1538
|
+
return new GetLaunchHoldersResponse().fromJsonString(jsonString, options);
|
|
1539
|
+
}
|
|
1540
|
+
static equals(a, b) {
|
|
1541
|
+
return proto3.util.equals(GetLaunchHoldersResponse, a, b);
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
GetLaunchHoldersResponse.runtime = proto3;
|
|
1545
|
+
GetLaunchHoldersResponse.typeName = "data.v2.GetLaunchHoldersResponse";
|
|
1546
|
+
GetLaunchHoldersResponse.fields = proto3.util.newFieldList(() => [
|
|
1547
|
+
{ no: 1, name: "holders", kind: "message", T: LaunchHolder, repeated: true },
|
|
1548
|
+
{ no: 2, name: "holder_count", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
1549
|
+
{ no: 3, name: "holder_count_change_24h", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
1550
|
+
{ no: 4, name: "holder_count_trend", kind: "message", T: TimestampedValue, repeated: true },
|
|
1551
|
+
{ no: 5, name: "top10_supply_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1552
|
+
{ no: 6, name: "minted_supply", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1553
|
+
{ no: 7, name: "burned_to_zero", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1554
|
+
{ no: 8, name: "burned_to_dead", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1555
|
+
]);
|
|
1458
1556
|
/**
|
|
1459
1557
|
* @generated from message data.v2.ListTokensRequest
|
|
1460
1558
|
*/
|
|
@@ -410,6 +410,13 @@ export declare class TokenRankStats extends Message<TokenRankStats> {
|
|
|
410
410
|
* @generated from field: optional double price_change_1d = 10;
|
|
411
411
|
*/
|
|
412
412
|
priceChange1d?: number;
|
|
413
|
+
/**
|
|
414
|
+
* USD spot price of the highest-TVL chain member (current_token_prices).
|
|
415
|
+
* Populated only on PRICE-ordered requests; it is exactly the ranked value.
|
|
416
|
+
*
|
|
417
|
+
* @generated from field: optional double price = 11;
|
|
418
|
+
*/
|
|
419
|
+
price?: number;
|
|
413
420
|
constructor(data?: PartialMessage<TokenRankStats>);
|
|
414
421
|
static readonly runtime: typeof proto3;
|
|
415
422
|
static readonly typeName = "data.v2.TokenRankStats";
|
|
@@ -1130,8 +1137,11 @@ export declare class RankedPool extends Message<RankedPool> {
|
|
|
1130
1137
|
static equals(a: RankedPool | PlainMessage<RankedPool> | undefined, b: RankedPool | PlainMessage<RankedPool> | undefined): boolean;
|
|
1131
1138
|
}
|
|
1132
1139
|
/**
|
|
1133
|
-
* One token side of a pool event. amount is
|
|
1134
|
-
*
|
|
1140
|
+
* One token side of a pool event. amount is signed, pool-perspective:
|
|
1141
|
+
* positive = the token entered the pool (sold / deposited), negative = it
|
|
1142
|
+
* left the pool (bought / withdrawn) — same convention as the GraphQL
|
|
1143
|
+
* transactions resolvers. amount_usd = |amount| * price; 0 when price or
|
|
1144
|
+
* decimals are unavailable.
|
|
1135
1145
|
*
|
|
1136
1146
|
* @generated from message data.v2.TransactionTokenSide
|
|
1137
1147
|
*/
|
|
@@ -1141,7 +1151,7 @@ export declare class TransactionTokenSide extends Message<TransactionTokenSide>
|
|
|
1141
1151
|
*/
|
|
1142
1152
|
token?: Token;
|
|
1143
1153
|
/**
|
|
1144
|
-
* decimal-adjusted
|
|
1154
|
+
* decimal-adjusted signed amount, full precision; absent when decimals unavailable
|
|
1145
1155
|
*
|
|
1146
1156
|
* @generated from field: optional string amount = 2;
|
|
1147
1157
|
*/
|
|
@@ -1436,8 +1446,8 @@ export declare class Launch extends Message<Launch> {
|
|
|
1436
1446
|
*/
|
|
1437
1447
|
token?: LaunchToken;
|
|
1438
1448
|
/**
|
|
1439
|
-
* v4 pool id for hook-attributed launches; CCA pool key hash
|
|
1440
|
-
* auction has migrated to a pool, empty before then.
|
|
1449
|
+
* v4 pool id for hook-attributed and direct launches; CCA pool key hash
|
|
1450
|
+
* once the auction has migrated to a pool, empty before then.
|
|
1441
1451
|
*
|
|
1442
1452
|
* @generated from field: string pool_id = 3;
|
|
1443
1453
|
*/
|
|
@@ -1457,10 +1467,13 @@ export declare class Launch extends Message<Launch> {
|
|
|
1457
1467
|
*/
|
|
1458
1468
|
stats?: LaunchStats;
|
|
1459
1469
|
/**
|
|
1460
|
-
* CCA +
|
|
1461
|
-
* auction migrated into its pool
|
|
1462
|
-
*
|
|
1463
|
-
*
|
|
1470
|
+
* CCA + direct-launch launches: true once the launch graduated. CCA:
|
|
1471
|
+
* auction migrated into its pool (on-chain fact). Direct launches
|
|
1472
|
+
* (launchpad "uniswap-bonding-curve") have NO on-chain graduation — the
|
|
1473
|
+
* pool is a vanilla v4 pool from block one — so this is currently always
|
|
1474
|
+
* false for them; a serving-side FDV-threshold graduation rule may set it
|
|
1475
|
+
* later. Unset for other hook-attributed launches, which are pools
|
|
1476
|
+
* already.
|
|
1464
1477
|
*
|
|
1465
1478
|
* @generated from field: optional bool graduated = 7;
|
|
1466
1479
|
*/
|
|
@@ -1491,8 +1504,8 @@ export declare class Launch extends Message<Launch> {
|
|
|
1491
1504
|
*/
|
|
1492
1505
|
bidderCount?: number;
|
|
1493
1506
|
/**
|
|
1494
|
-
*
|
|
1495
|
-
* Uniswap bonding-curve
|
|
1507
|
+
* Direct-launch overlay (see BondingCurveInfo), set only for launches of
|
|
1508
|
+
* the Uniswap direct-launch launchpad ("uniswap-bonding-curve").
|
|
1496
1509
|
*
|
|
1497
1510
|
* @generated from field: optional data.v2.BondingCurveInfo bonding_curve = 11;
|
|
1498
1511
|
*/
|
|
@@ -1583,19 +1596,66 @@ export declare class Launch extends Message<Launch> {
|
|
|
1583
1596
|
static equals(a: Launch | PlainMessage<Launch> | undefined, b: Launch | PlainMessage<Launch> | undefined): boolean;
|
|
1584
1597
|
}
|
|
1585
1598
|
/**
|
|
1586
|
-
*
|
|
1587
|
-
*
|
|
1588
|
-
*
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1599
|
+
* One row of a launch token's holder list (GetLaunchHolders).
|
|
1600
|
+
*
|
|
1601
|
+
* @generated from message data.v2.LaunchHolder
|
|
1602
|
+
*/
|
|
1603
|
+
export declare class LaunchHolder extends Message<LaunchHolder> {
|
|
1604
|
+
/**
|
|
1605
|
+
* EIP-55 checksummed, so clients can equality-match against
|
|
1606
|
+
* Launch.creator_address and well-known addresses (LP, burn sinks).
|
|
1607
|
+
*
|
|
1608
|
+
* @generated from field: string address = 1;
|
|
1609
|
+
*/
|
|
1610
|
+
address: string;
|
|
1611
|
+
/**
|
|
1612
|
+
* Net balance, raw base units as a decimal string. For the synthetic
|
|
1613
|
+
* zero-address burn row this is the cumulative amount burned to 0x0.
|
|
1614
|
+
*
|
|
1615
|
+
* @generated from field: string balance = 2;
|
|
1616
|
+
*/
|
|
1617
|
+
balance: string;
|
|
1618
|
+
/**
|
|
1619
|
+
* balance as a percent of minted_supply, in [0, 100].
|
|
1620
|
+
*
|
|
1621
|
+
* @generated from field: double supply_pct = 3;
|
|
1622
|
+
*/
|
|
1623
|
+
supplyPct: number;
|
|
1624
|
+
/**
|
|
1625
|
+
* True for burn-sink rows (the zero address and 0x…dEaD). Burn rows are
|
|
1626
|
+
* served in the list (burned tokens stay visible) but excluded from
|
|
1627
|
+
* top10_supply_pct; the synthetic zero-address row is also excluded from
|
|
1628
|
+
* holder_count (0x…dEaD counts, matching Launch.holder_count).
|
|
1629
|
+
*
|
|
1630
|
+
* @generated from field: bool is_burn_address = 4;
|
|
1631
|
+
*/
|
|
1632
|
+
isBurnAddress: boolean;
|
|
1633
|
+
constructor(data?: PartialMessage<LaunchHolder>);
|
|
1634
|
+
static readonly runtime: typeof proto3;
|
|
1635
|
+
static readonly typeName = "data.v2.LaunchHolder";
|
|
1636
|
+
static readonly fields: FieldList;
|
|
1637
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LaunchHolder;
|
|
1638
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LaunchHolder;
|
|
1639
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LaunchHolder;
|
|
1640
|
+
static equals(a: LaunchHolder | PlainMessage<LaunchHolder> | undefined, b: LaunchHolder | PlainMessage<LaunchHolder> | undefined): boolean;
|
|
1641
|
+
}
|
|
1642
|
+
/**
|
|
1643
|
+
* Overlay for launches of the Uniswap direct-launch launchpad (launchpad_id
|
|
1644
|
+
* "uniswap-bonding-curve", kept for client compatibility). The current
|
|
1645
|
+
* launcher generation (DirectLaunchStrategy, LP-1289) is hookless with NO
|
|
1646
|
+
* on-chain graduation lifecycle: launch pools are vanilla v4 pools from
|
|
1647
|
+
* block one, and "graduation" is a serving/frontend concept (an FDV
|
|
1648
|
+
* threshold), not a contract event. Fields 1-5 and 7-9 belong to the
|
|
1649
|
+
* never-launched bonding-curve hook generation and are no longer set for
|
|
1650
|
+
* new launches; they are kept so the message shape stays wire-compatible.
|
|
1594
1651
|
*
|
|
1595
1652
|
* @generated from message data.v2.BondingCurveInfo
|
|
1596
1653
|
*/
|
|
1597
1654
|
export declare class BondingCurveInfo extends Message<BondingCurveInfo> {
|
|
1598
1655
|
/**
|
|
1656
|
+
* Legacy bonding-curve-hook fields (1-5, 7-9): never set for direct-launch
|
|
1657
|
+
* (hookless) launches — there is no curve and no on-chain graduation.
|
|
1658
|
+
*
|
|
1599
1659
|
* @generated from field: optional string graduation_sqrt_price_x96 = 1;
|
|
1600
1660
|
*/
|
|
1601
1661
|
graduationSqrtPriceX96?: string;
|
|
@@ -1620,18 +1680,24 @@ export declare class BondingCurveInfo extends Message<BondingCurveInfo> {
|
|
|
1620
1680
|
*/
|
|
1621
1681
|
graduatedTxHash?: string;
|
|
1622
1682
|
/**
|
|
1623
|
-
* Server-computed % progress toward graduation; unset in the POC (needs
|
|
1624
|
-
* live pool sqrt price, which the list pipeline does not carry yet).
|
|
1625
|
-
*
|
|
1626
1683
|
* @generated from field: optional double curve_progress_pct = 8;
|
|
1627
1684
|
*/
|
|
1628
1685
|
curveProgressPct?: number;
|
|
1629
1686
|
/**
|
|
1630
|
-
* Graduation time, unix seconds. Set once the Graduated event lands.
|
|
1631
|
-
*
|
|
1632
1687
|
* @generated from field: optional int64 graduated_at = 9;
|
|
1633
1688
|
*/
|
|
1634
1689
|
graduatedAt?: bigint;
|
|
1690
|
+
/**
|
|
1691
|
+
* The launch's fee beneficiary (FeeSplitter FeeBeneficiarySet), EIP-55
|
|
1692
|
+
* checksummed: the address receiving the creator share of the launch
|
|
1693
|
+
* pool's trading fees. Freely chosen at launch time by whoever built the
|
|
1694
|
+
* launch transaction — a payee, NOT proven authorship (see
|
|
1695
|
+
* Launch.creator_address for the launch tx sender). Unset while ingestion
|
|
1696
|
+
* of the beneficiary event lags the launch.
|
|
1697
|
+
*
|
|
1698
|
+
* @generated from field: optional string fee_beneficiary = 10;
|
|
1699
|
+
*/
|
|
1700
|
+
feeBeneficiary?: string;
|
|
1635
1701
|
constructor(data?: PartialMessage<BondingCurveInfo>);
|
|
1636
1702
|
static readonly runtime: typeof proto3;
|
|
1637
1703
|
static readonly typeName = "data.v2.BondingCurveInfo";
|
package/dist/data/v2/types_pb.js
CHANGED
|
@@ -510,6 +510,7 @@ TokenRankStats.fields = proto3.util.newFieldList(() => [
|
|
|
510
510
|
{ no: 8, name: "fdv", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
511
511
|
{ no: 9, name: "price_change_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
512
512
|
{ no: 10, name: "price_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
513
|
+
{ no: 11, name: "price", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
513
514
|
]);
|
|
514
515
|
/**
|
|
515
516
|
* Sort field and direction for ListTokens.
|
|
@@ -1317,8 +1318,11 @@ RankedPool.fields = proto3.util.newFieldList(() => [
|
|
|
1317
1318
|
{ no: 2, name: "stats", kind: "message", T: PoolRankStats },
|
|
1318
1319
|
]);
|
|
1319
1320
|
/**
|
|
1320
|
-
* One token side of a pool event. amount is
|
|
1321
|
-
*
|
|
1321
|
+
* One token side of a pool event. amount is signed, pool-perspective:
|
|
1322
|
+
* positive = the token entered the pool (sold / deposited), negative = it
|
|
1323
|
+
* left the pool (bought / withdrawn) — same convention as the GraphQL
|
|
1324
|
+
* transactions resolvers. amount_usd = |amount| * price; 0 when price or
|
|
1325
|
+
* decimals are unavailable.
|
|
1322
1326
|
*
|
|
1323
1327
|
* @generated from message data.v2.TransactionTokenSide
|
|
1324
1328
|
*/
|
|
@@ -1666,8 +1670,8 @@ export class Launch extends Message {
|
|
|
1666
1670
|
*/
|
|
1667
1671
|
this.launchpadId = "";
|
|
1668
1672
|
/**
|
|
1669
|
-
* v4 pool id for hook-attributed launches; CCA pool key hash
|
|
1670
|
-
* auction has migrated to a pool, empty before then.
|
|
1673
|
+
* v4 pool id for hook-attributed and direct launches; CCA pool key hash
|
|
1674
|
+
* once the auction has migrated to a pool, empty before then.
|
|
1671
1675
|
*
|
|
1672
1676
|
* @generated from field: string pool_id = 3;
|
|
1673
1677
|
*/
|
|
@@ -1718,14 +1722,74 @@ Launch.fields = proto3.util.newFieldList(() => [
|
|
|
1718
1722
|
{ no: 20, name: "burned_to_dead", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1719
1723
|
]);
|
|
1720
1724
|
/**
|
|
1721
|
-
*
|
|
1722
|
-
*
|
|
1723
|
-
*
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1725
|
+
* One row of a launch token's holder list (GetLaunchHolders).
|
|
1726
|
+
*
|
|
1727
|
+
* @generated from message data.v2.LaunchHolder
|
|
1728
|
+
*/
|
|
1729
|
+
export class LaunchHolder extends Message {
|
|
1730
|
+
constructor(data) {
|
|
1731
|
+
super();
|
|
1732
|
+
/**
|
|
1733
|
+
* EIP-55 checksummed, so clients can equality-match against
|
|
1734
|
+
* Launch.creator_address and well-known addresses (LP, burn sinks).
|
|
1735
|
+
*
|
|
1736
|
+
* @generated from field: string address = 1;
|
|
1737
|
+
*/
|
|
1738
|
+
this.address = "";
|
|
1739
|
+
/**
|
|
1740
|
+
* Net balance, raw base units as a decimal string. For the synthetic
|
|
1741
|
+
* zero-address burn row this is the cumulative amount burned to 0x0.
|
|
1742
|
+
*
|
|
1743
|
+
* @generated from field: string balance = 2;
|
|
1744
|
+
*/
|
|
1745
|
+
this.balance = "";
|
|
1746
|
+
/**
|
|
1747
|
+
* balance as a percent of minted_supply, in [0, 100].
|
|
1748
|
+
*
|
|
1749
|
+
* @generated from field: double supply_pct = 3;
|
|
1750
|
+
*/
|
|
1751
|
+
this.supplyPct = 0;
|
|
1752
|
+
/**
|
|
1753
|
+
* True for burn-sink rows (the zero address and 0x…dEaD). Burn rows are
|
|
1754
|
+
* served in the list (burned tokens stay visible) but excluded from
|
|
1755
|
+
* top10_supply_pct; the synthetic zero-address row is also excluded from
|
|
1756
|
+
* holder_count (0x…dEaD counts, matching Launch.holder_count).
|
|
1757
|
+
*
|
|
1758
|
+
* @generated from field: bool is_burn_address = 4;
|
|
1759
|
+
*/
|
|
1760
|
+
this.isBurnAddress = false;
|
|
1761
|
+
proto3.util.initPartial(data, this);
|
|
1762
|
+
}
|
|
1763
|
+
static fromBinary(bytes, options) {
|
|
1764
|
+
return new LaunchHolder().fromBinary(bytes, options);
|
|
1765
|
+
}
|
|
1766
|
+
static fromJson(jsonValue, options) {
|
|
1767
|
+
return new LaunchHolder().fromJson(jsonValue, options);
|
|
1768
|
+
}
|
|
1769
|
+
static fromJsonString(jsonString, options) {
|
|
1770
|
+
return new LaunchHolder().fromJsonString(jsonString, options);
|
|
1771
|
+
}
|
|
1772
|
+
static equals(a, b) {
|
|
1773
|
+
return proto3.util.equals(LaunchHolder, a, b);
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
LaunchHolder.runtime = proto3;
|
|
1777
|
+
LaunchHolder.typeName = "data.v2.LaunchHolder";
|
|
1778
|
+
LaunchHolder.fields = proto3.util.newFieldList(() => [
|
|
1779
|
+
{ no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1780
|
+
{ no: 2, name: "balance", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1781
|
+
{ no: 3, name: "supply_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1782
|
+
{ no: 4, name: "is_burn_address", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1783
|
+
]);
|
|
1784
|
+
/**
|
|
1785
|
+
* Overlay for launches of the Uniswap direct-launch launchpad (launchpad_id
|
|
1786
|
+
* "uniswap-bonding-curve", kept for client compatibility). The current
|
|
1787
|
+
* launcher generation (DirectLaunchStrategy, LP-1289) is hookless with NO
|
|
1788
|
+
* on-chain graduation lifecycle: launch pools are vanilla v4 pools from
|
|
1789
|
+
* block one, and "graduation" is a serving/frontend concept (an FDV
|
|
1790
|
+
* threshold), not a contract event. Fields 1-5 and 7-9 belong to the
|
|
1791
|
+
* never-launched bonding-curve hook generation and are no longer set for
|
|
1792
|
+
* new launches; they are kept so the message shape stays wire-compatible.
|
|
1729
1793
|
*
|
|
1730
1794
|
* @generated from message data.v2.BondingCurveInfo
|
|
1731
1795
|
*/
|
|
@@ -1758,6 +1822,7 @@ BondingCurveInfo.fields = proto3.util.newFieldList(() => [
|
|
|
1758
1822
|
{ no: 7, name: "graduated_tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1759
1823
|
{ no: 8, name: "curve_progress_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1760
1824
|
{ no: 9, name: "graduated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
1825
|
+
{ no: 10, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1761
1826
|
]);
|
|
1762
1827
|
/**
|
|
1763
1828
|
* One swap involving the requested token, returned by GetTokenTrades.
|