@uniswap/client-data-api 0.0.54 → 0.0.58

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.
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
2
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
5
5
  */
@@ -260,3 +260,42 @@ export declare const getTokenPrices: {
260
260
  readonly typeName: "data.v1.DataApiService";
261
261
  };
262
262
  };
263
+ /**
264
+ * @generated from rpc data.v1.DataApiService.GetWalletProfitLoss
265
+ */
266
+ export declare const getWalletProfitLoss: {
267
+ readonly localName: "getWalletProfitLoss";
268
+ readonly name: "GetWalletProfitLoss";
269
+ readonly kind: MethodKind.Unary;
270
+ readonly I: typeof GetWalletProfitLossRequest;
271
+ readonly O: typeof GetWalletProfitLossResponse;
272
+ readonly service: {
273
+ readonly typeName: "data.v1.DataApiService";
274
+ };
275
+ };
276
+ /**
277
+ * @generated from rpc data.v1.DataApiService.GetWalletTokensProfitLoss
278
+ */
279
+ export declare const getWalletTokensProfitLoss: {
280
+ readonly localName: "getWalletTokensProfitLoss";
281
+ readonly name: "GetWalletTokensProfitLoss";
282
+ readonly kind: MethodKind.Unary;
283
+ readonly I: typeof GetWalletTokensProfitLossRequest;
284
+ readonly O: typeof GetWalletTokensProfitLossResponse;
285
+ readonly service: {
286
+ readonly typeName: "data.v1.DataApiService";
287
+ };
288
+ };
289
+ /**
290
+ * @generated from rpc data.v1.DataApiService.GetWalletTokenProfitLoss
291
+ */
292
+ export declare const getWalletTokenProfitLoss: {
293
+ readonly localName: "getWalletTokenProfitLoss";
294
+ readonly name: "GetWalletTokenProfitLoss";
295
+ readonly kind: MethodKind.Unary;
296
+ readonly I: typeof GetWalletTokenProfitLossRequest;
297
+ readonly O: typeof GetWalletTokenProfitLossResponse;
298
+ readonly service: {
299
+ readonly typeName: "data.v1.DataApiService";
300
+ };
301
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
6
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
9
9
  */
@@ -264,3 +264,42 @@ export const getTokenPrices = {
264
264
  typeName: "data.v1.DataApiService"
265
265
  }
266
266
  };
267
+ /**
268
+ * @generated from rpc data.v1.DataApiService.GetWalletProfitLoss
269
+ */
270
+ export const getWalletProfitLoss = {
271
+ localName: "getWalletProfitLoss",
272
+ name: "GetWalletProfitLoss",
273
+ kind: MethodKind.Unary,
274
+ I: GetWalletProfitLossRequest,
275
+ O: GetWalletProfitLossResponse,
276
+ service: {
277
+ typeName: "data.v1.DataApiService"
278
+ }
279
+ };
280
+ /**
281
+ * @generated from rpc data.v1.DataApiService.GetWalletTokensProfitLoss
282
+ */
283
+ export const getWalletTokensProfitLoss = {
284
+ localName: "getWalletTokensProfitLoss",
285
+ name: "GetWalletTokensProfitLoss",
286
+ kind: MethodKind.Unary,
287
+ I: GetWalletTokensProfitLossRequest,
288
+ O: GetWalletTokensProfitLossResponse,
289
+ service: {
290
+ typeName: "data.v1.DataApiService"
291
+ }
292
+ };
293
+ /**
294
+ * @generated from rpc data.v1.DataApiService.GetWalletTokenProfitLoss
295
+ */
296
+ export const getWalletTokenProfitLoss = {
297
+ localName: "getWalletTokenProfitLoss",
298
+ name: "GetWalletTokenProfitLoss",
299
+ kind: MethodKind.Unary,
300
+ I: GetWalletTokenProfitLossRequest,
301
+ O: GetWalletTokenProfitLossResponse,
302
+ service: {
303
+ typeName: "data.v1.DataApiService"
304
+ }
305
+ };
@@ -1,4 +1,4 @@
1
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
1
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.DataApiService
@@ -186,5 +186,32 @@ export declare const DataApiService: {
186
186
  readonly O: typeof GetTokenPricesResponse;
187
187
  readonly kind: MethodKind.Unary;
188
188
  };
189
+ /**
190
+ * @generated from rpc data.v1.DataApiService.GetWalletProfitLoss
191
+ */
192
+ readonly getWalletProfitLoss: {
193
+ readonly name: "GetWalletProfitLoss";
194
+ readonly I: typeof GetWalletProfitLossRequest;
195
+ readonly O: typeof GetWalletProfitLossResponse;
196
+ readonly kind: MethodKind.Unary;
197
+ };
198
+ /**
199
+ * @generated from rpc data.v1.DataApiService.GetWalletTokensProfitLoss
200
+ */
201
+ readonly getWalletTokensProfitLoss: {
202
+ readonly name: "GetWalletTokensProfitLoss";
203
+ readonly I: typeof GetWalletTokensProfitLossRequest;
204
+ readonly O: typeof GetWalletTokensProfitLossResponse;
205
+ readonly kind: MethodKind.Unary;
206
+ };
207
+ /**
208
+ * @generated from rpc data.v1.DataApiService.GetWalletTokenProfitLoss
209
+ */
210
+ readonly getWalletTokenProfitLoss: {
211
+ readonly name: "GetWalletTokenProfitLoss";
212
+ readonly I: typeof GetWalletTokenProfitLossRequest;
213
+ readonly O: typeof GetWalletTokenProfitLossResponse;
214
+ readonly kind: MethodKind.Unary;
215
+ };
189
216
  };
190
217
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v1/api.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
5
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTopTokensRequest, ListTopTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.DataApiService
@@ -190,5 +190,32 @@ export const DataApiService = {
190
190
  O: GetTokenPricesResponse,
191
191
  kind: MethodKind.Unary,
192
192
  },
193
+ /**
194
+ * @generated from rpc data.v1.DataApiService.GetWalletProfitLoss
195
+ */
196
+ getWalletProfitLoss: {
197
+ name: "GetWalletProfitLoss",
198
+ I: GetWalletProfitLossRequest,
199
+ O: GetWalletProfitLossResponse,
200
+ kind: MethodKind.Unary,
201
+ },
202
+ /**
203
+ * @generated from rpc data.v1.DataApiService.GetWalletTokensProfitLoss
204
+ */
205
+ getWalletTokensProfitLoss: {
206
+ name: "GetWalletTokensProfitLoss",
207
+ I: GetWalletTokensProfitLossRequest,
208
+ O: GetWalletTokensProfitLossResponse,
209
+ kind: MethodKind.Unary,
210
+ },
211
+ /**
212
+ * @generated from rpc data.v1.DataApiService.GetWalletTokenProfitLoss
213
+ */
214
+ getWalletTokenProfitLoss: {
215
+ name: "GetWalletTokenProfitLoss",
216
+ I: GetWalletTokenProfitLossRequest,
217
+ O: GetWalletTokenProfitLossResponse,
218
+ kind: MethodKind.Unary,
219
+ },
193
220
  }
194
221
  };
@@ -1,6 +1,6 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
- import { MultichainToken, Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction, TransactionTypeFilter } from "./types_pb.js";
3
+ import { MultichainToken, Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenDetailProfitLoss, TokenProfitLoss, TokenReportEventType, Transaction, TransactionTypeFilter, WalletProfitLoss } from "./types_pb.js";
4
4
  import { Pair, Pool, Position, PositionStatus, ProtocolVersion } from "./poolTypes_pb.js";
5
5
  /**
6
6
  * @generated from enum data.v1.Platform
@@ -1390,3 +1390,157 @@ export declare class GetTokenPricesResponse extends Message<GetTokenPricesRespon
1390
1390
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTokenPricesResponse;
1391
1391
  static equals(a: GetTokenPricesResponse | PlainMessage<GetTokenPricesResponse> | undefined, b: GetTokenPricesResponse | PlainMessage<GetTokenPricesResponse> | undefined): boolean;
1392
1392
  }
1393
+ /**
1394
+ * @generated from message data.v1.GetWalletProfitLossRequest
1395
+ */
1396
+ export declare class GetWalletProfitLossRequest extends Message<GetWalletProfitLossRequest> {
1397
+ /**
1398
+ * @generated from field: data.v1.WalletAccount wallet_account = 1;
1399
+ */
1400
+ walletAccount?: WalletAccount;
1401
+ /**
1402
+ * @generated from field: repeated uint32 chain_ids = 2;
1403
+ */
1404
+ chainIds: number[];
1405
+ /**
1406
+ * @generated from field: optional int64 since = 3;
1407
+ */
1408
+ since?: bigint;
1409
+ /**
1410
+ * @generated from field: optional int64 till = 4;
1411
+ */
1412
+ till?: bigint;
1413
+ constructor(data?: PartialMessage<GetWalletProfitLossRequest>);
1414
+ static readonly runtime: typeof proto3;
1415
+ static readonly typeName = "data.v1.GetWalletProfitLossRequest";
1416
+ static readonly fields: FieldList;
1417
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWalletProfitLossRequest;
1418
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWalletProfitLossRequest;
1419
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWalletProfitLossRequest;
1420
+ static equals(a: GetWalletProfitLossRequest | PlainMessage<GetWalletProfitLossRequest> | undefined, b: GetWalletProfitLossRequest | PlainMessage<GetWalletProfitLossRequest> | undefined): boolean;
1421
+ }
1422
+ /**
1423
+ * @generated from message data.v1.GetWalletProfitLossResponse
1424
+ */
1425
+ export declare class GetWalletProfitLossResponse extends Message<GetWalletProfitLossResponse> {
1426
+ /**
1427
+ * @generated from field: data.v1.WalletProfitLoss profit_loss = 1;
1428
+ */
1429
+ profitLoss?: WalletProfitLoss;
1430
+ constructor(data?: PartialMessage<GetWalletProfitLossResponse>);
1431
+ static readonly runtime: typeof proto3;
1432
+ static readonly typeName = "data.v1.GetWalletProfitLossResponse";
1433
+ static readonly fields: FieldList;
1434
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWalletProfitLossResponse;
1435
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWalletProfitLossResponse;
1436
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWalletProfitLossResponse;
1437
+ static equals(a: GetWalletProfitLossResponse | PlainMessage<GetWalletProfitLossResponse> | undefined, b: GetWalletProfitLossResponse | PlainMessage<GetWalletProfitLossResponse> | undefined): boolean;
1438
+ }
1439
+ /**
1440
+ * @generated from message data.v1.GetWalletTokensProfitLossRequest
1441
+ */
1442
+ export declare class GetWalletTokensProfitLossRequest extends Message<GetWalletTokensProfitLossRequest> {
1443
+ /**
1444
+ * @generated from field: data.v1.WalletAccount wallet_account = 1;
1445
+ */
1446
+ walletAccount?: WalletAccount;
1447
+ /**
1448
+ * @generated from field: repeated uint32 chain_ids = 2;
1449
+ */
1450
+ chainIds: number[];
1451
+ /**
1452
+ * @generated from field: optional int64 since = 3;
1453
+ */
1454
+ since?: bigint;
1455
+ /**
1456
+ * @generated from field: optional int64 till = 4;
1457
+ */
1458
+ till?: bigint;
1459
+ /**
1460
+ * @generated from field: optional uint32 page_size = 5;
1461
+ */
1462
+ pageSize?: number;
1463
+ /**
1464
+ * @generated from field: optional string page_token = 6;
1465
+ */
1466
+ pageToken?: string;
1467
+ constructor(data?: PartialMessage<GetWalletTokensProfitLossRequest>);
1468
+ static readonly runtime: typeof proto3;
1469
+ static readonly typeName = "data.v1.GetWalletTokensProfitLossRequest";
1470
+ static readonly fields: FieldList;
1471
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWalletTokensProfitLossRequest;
1472
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWalletTokensProfitLossRequest;
1473
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWalletTokensProfitLossRequest;
1474
+ static equals(a: GetWalletTokensProfitLossRequest | PlainMessage<GetWalletTokensProfitLossRequest> | undefined, b: GetWalletTokensProfitLossRequest | PlainMessage<GetWalletTokensProfitLossRequest> | undefined): boolean;
1475
+ }
1476
+ /**
1477
+ * @generated from message data.v1.GetWalletTokensProfitLossResponse
1478
+ */
1479
+ export declare class GetWalletTokensProfitLossResponse extends Message<GetWalletTokensProfitLossResponse> {
1480
+ /**
1481
+ * @generated from field: repeated data.v1.TokenProfitLoss token_profit_losses = 1;
1482
+ */
1483
+ tokenProfitLosses: TokenProfitLoss[];
1484
+ /**
1485
+ * @generated from field: optional string next_page_token = 2;
1486
+ */
1487
+ nextPageToken?: string;
1488
+ constructor(data?: PartialMessage<GetWalletTokensProfitLossResponse>);
1489
+ static readonly runtime: typeof proto3;
1490
+ static readonly typeName = "data.v1.GetWalletTokensProfitLossResponse";
1491
+ static readonly fields: FieldList;
1492
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWalletTokensProfitLossResponse;
1493
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWalletTokensProfitLossResponse;
1494
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWalletTokensProfitLossResponse;
1495
+ static equals(a: GetWalletTokensProfitLossResponse | PlainMessage<GetWalletTokensProfitLossResponse> | undefined, b: GetWalletTokensProfitLossResponse | PlainMessage<GetWalletTokensProfitLossResponse> | undefined): boolean;
1496
+ }
1497
+ /**
1498
+ * @generated from message data.v1.GetWalletTokenProfitLossRequest
1499
+ */
1500
+ export declare class GetWalletTokenProfitLossRequest extends Message<GetWalletTokenProfitLossRequest> {
1501
+ /**
1502
+ * @generated from field: data.v1.WalletAccount wallet_account = 1;
1503
+ */
1504
+ walletAccount?: WalletAccount;
1505
+ /**
1506
+ * @generated from field: uint32 chain_id = 2;
1507
+ */
1508
+ chainId: number;
1509
+ /**
1510
+ * @generated from field: string token_address = 3;
1511
+ */
1512
+ tokenAddress: string;
1513
+ /**
1514
+ * @generated from field: optional int64 since = 4;
1515
+ */
1516
+ since?: bigint;
1517
+ /**
1518
+ * @generated from field: optional int64 till = 5;
1519
+ */
1520
+ till?: bigint;
1521
+ constructor(data?: PartialMessage<GetWalletTokenProfitLossRequest>);
1522
+ static readonly runtime: typeof proto3;
1523
+ static readonly typeName = "data.v1.GetWalletTokenProfitLossRequest";
1524
+ static readonly fields: FieldList;
1525
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWalletTokenProfitLossRequest;
1526
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWalletTokenProfitLossRequest;
1527
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWalletTokenProfitLossRequest;
1528
+ static equals(a: GetWalletTokenProfitLossRequest | PlainMessage<GetWalletTokenProfitLossRequest> | undefined, b: GetWalletTokenProfitLossRequest | PlainMessage<GetWalletTokenProfitLossRequest> | undefined): boolean;
1529
+ }
1530
+ /**
1531
+ * @generated from message data.v1.GetWalletTokenProfitLossResponse
1532
+ */
1533
+ export declare class GetWalletTokenProfitLossResponse extends Message<GetWalletTokenProfitLossResponse> {
1534
+ /**
1535
+ * @generated from field: data.v1.TokenDetailProfitLoss profit_loss = 1;
1536
+ */
1537
+ profitLoss?: TokenDetailProfitLoss;
1538
+ constructor(data?: PartialMessage<GetWalletTokenProfitLossResponse>);
1539
+ static readonly runtime: typeof proto3;
1540
+ static readonly typeName = "data.v1.GetWalletTokenProfitLossResponse";
1541
+ static readonly fields: FieldList;
1542
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWalletTokenProfitLossResponse;
1543
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWalletTokenProfitLossResponse;
1544
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWalletTokenProfitLossResponse;
1545
+ static equals(a: GetWalletTokenProfitLossResponse | PlainMessage<GetWalletTokenProfitLossResponse> | undefined, b: GetWalletTokenProfitLossResponse | PlainMessage<GetWalletTokenProfitLossResponse> | undefined): boolean;
1546
+ }
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
- import { MultichainToken, Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction, TransactionTypeFilter } from "./types_pb.js";
6
+ import { MultichainToken, Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenDetailProfitLoss, TokenProfitLoss, TokenReportEventType, Transaction, TransactionTypeFilter, WalletProfitLoss } from "./types_pb.js";
7
7
  import { Pair, Pool, Position, PositionStatus, ProtocolVersion } from "./poolTypes_pb.js";
8
8
  /**
9
9
  * @generated from enum data.v1.Platform
@@ -1937,3 +1937,192 @@ GetTokenPricesResponse.typeName = "data.v1.GetTokenPricesResponse";
1937
1937
  GetTokenPricesResponse.fields = proto3.util.newFieldList(() => [
1938
1938
  { no: 1, name: "token_prices", kind: "message", T: TokenPrice, repeated: true },
1939
1939
  ]);
1940
+ /**
1941
+ * @generated from message data.v1.GetWalletProfitLossRequest
1942
+ */
1943
+ export class GetWalletProfitLossRequest extends Message {
1944
+ constructor(data) {
1945
+ super();
1946
+ /**
1947
+ * @generated from field: repeated uint32 chain_ids = 2;
1948
+ */
1949
+ this.chainIds = [];
1950
+ proto3.util.initPartial(data, this);
1951
+ }
1952
+ static fromBinary(bytes, options) {
1953
+ return new GetWalletProfitLossRequest().fromBinary(bytes, options);
1954
+ }
1955
+ static fromJson(jsonValue, options) {
1956
+ return new GetWalletProfitLossRequest().fromJson(jsonValue, options);
1957
+ }
1958
+ static fromJsonString(jsonString, options) {
1959
+ return new GetWalletProfitLossRequest().fromJsonString(jsonString, options);
1960
+ }
1961
+ static equals(a, b) {
1962
+ return proto3.util.equals(GetWalletProfitLossRequest, a, b);
1963
+ }
1964
+ }
1965
+ GetWalletProfitLossRequest.runtime = proto3;
1966
+ GetWalletProfitLossRequest.typeName = "data.v1.GetWalletProfitLossRequest";
1967
+ GetWalletProfitLossRequest.fields = proto3.util.newFieldList(() => [
1968
+ { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
1969
+ { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
1970
+ { no: 3, name: "since", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1971
+ { no: 4, name: "till", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
1972
+ ]);
1973
+ /**
1974
+ * @generated from message data.v1.GetWalletProfitLossResponse
1975
+ */
1976
+ export class GetWalletProfitLossResponse extends Message {
1977
+ constructor(data) {
1978
+ super();
1979
+ proto3.util.initPartial(data, this);
1980
+ }
1981
+ static fromBinary(bytes, options) {
1982
+ return new GetWalletProfitLossResponse().fromBinary(bytes, options);
1983
+ }
1984
+ static fromJson(jsonValue, options) {
1985
+ return new GetWalletProfitLossResponse().fromJson(jsonValue, options);
1986
+ }
1987
+ static fromJsonString(jsonString, options) {
1988
+ return new GetWalletProfitLossResponse().fromJsonString(jsonString, options);
1989
+ }
1990
+ static equals(a, b) {
1991
+ return proto3.util.equals(GetWalletProfitLossResponse, a, b);
1992
+ }
1993
+ }
1994
+ GetWalletProfitLossResponse.runtime = proto3;
1995
+ GetWalletProfitLossResponse.typeName = "data.v1.GetWalletProfitLossResponse";
1996
+ GetWalletProfitLossResponse.fields = proto3.util.newFieldList(() => [
1997
+ { no: 1, name: "profit_loss", kind: "message", T: WalletProfitLoss },
1998
+ ]);
1999
+ /**
2000
+ * @generated from message data.v1.GetWalletTokensProfitLossRequest
2001
+ */
2002
+ export class GetWalletTokensProfitLossRequest extends Message {
2003
+ constructor(data) {
2004
+ super();
2005
+ /**
2006
+ * @generated from field: repeated uint32 chain_ids = 2;
2007
+ */
2008
+ this.chainIds = [];
2009
+ proto3.util.initPartial(data, this);
2010
+ }
2011
+ static fromBinary(bytes, options) {
2012
+ return new GetWalletTokensProfitLossRequest().fromBinary(bytes, options);
2013
+ }
2014
+ static fromJson(jsonValue, options) {
2015
+ return new GetWalletTokensProfitLossRequest().fromJson(jsonValue, options);
2016
+ }
2017
+ static fromJsonString(jsonString, options) {
2018
+ return new GetWalletTokensProfitLossRequest().fromJsonString(jsonString, options);
2019
+ }
2020
+ static equals(a, b) {
2021
+ return proto3.util.equals(GetWalletTokensProfitLossRequest, a, b);
2022
+ }
2023
+ }
2024
+ GetWalletTokensProfitLossRequest.runtime = proto3;
2025
+ GetWalletTokensProfitLossRequest.typeName = "data.v1.GetWalletTokensProfitLossRequest";
2026
+ GetWalletTokensProfitLossRequest.fields = proto3.util.newFieldList(() => [
2027
+ { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
2028
+ { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
2029
+ { no: 3, name: "since", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
2030
+ { no: 4, name: "till", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
2031
+ { no: 5, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
2032
+ { no: 6, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2033
+ ]);
2034
+ /**
2035
+ * @generated from message data.v1.GetWalletTokensProfitLossResponse
2036
+ */
2037
+ export class GetWalletTokensProfitLossResponse extends Message {
2038
+ constructor(data) {
2039
+ super();
2040
+ /**
2041
+ * @generated from field: repeated data.v1.TokenProfitLoss token_profit_losses = 1;
2042
+ */
2043
+ this.tokenProfitLosses = [];
2044
+ proto3.util.initPartial(data, this);
2045
+ }
2046
+ static fromBinary(bytes, options) {
2047
+ return new GetWalletTokensProfitLossResponse().fromBinary(bytes, options);
2048
+ }
2049
+ static fromJson(jsonValue, options) {
2050
+ return new GetWalletTokensProfitLossResponse().fromJson(jsonValue, options);
2051
+ }
2052
+ static fromJsonString(jsonString, options) {
2053
+ return new GetWalletTokensProfitLossResponse().fromJsonString(jsonString, options);
2054
+ }
2055
+ static equals(a, b) {
2056
+ return proto3.util.equals(GetWalletTokensProfitLossResponse, a, b);
2057
+ }
2058
+ }
2059
+ GetWalletTokensProfitLossResponse.runtime = proto3;
2060
+ GetWalletTokensProfitLossResponse.typeName = "data.v1.GetWalletTokensProfitLossResponse";
2061
+ GetWalletTokensProfitLossResponse.fields = proto3.util.newFieldList(() => [
2062
+ { no: 1, name: "token_profit_losses", kind: "message", T: TokenProfitLoss, repeated: true },
2063
+ { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2064
+ ]);
2065
+ /**
2066
+ * @generated from message data.v1.GetWalletTokenProfitLossRequest
2067
+ */
2068
+ export class GetWalletTokenProfitLossRequest extends Message {
2069
+ constructor(data) {
2070
+ super();
2071
+ /**
2072
+ * @generated from field: uint32 chain_id = 2;
2073
+ */
2074
+ this.chainId = 0;
2075
+ /**
2076
+ * @generated from field: string token_address = 3;
2077
+ */
2078
+ this.tokenAddress = "";
2079
+ proto3.util.initPartial(data, this);
2080
+ }
2081
+ static fromBinary(bytes, options) {
2082
+ return new GetWalletTokenProfitLossRequest().fromBinary(bytes, options);
2083
+ }
2084
+ static fromJson(jsonValue, options) {
2085
+ return new GetWalletTokenProfitLossRequest().fromJson(jsonValue, options);
2086
+ }
2087
+ static fromJsonString(jsonString, options) {
2088
+ return new GetWalletTokenProfitLossRequest().fromJsonString(jsonString, options);
2089
+ }
2090
+ static equals(a, b) {
2091
+ return proto3.util.equals(GetWalletTokenProfitLossRequest, a, b);
2092
+ }
2093
+ }
2094
+ GetWalletTokenProfitLossRequest.runtime = proto3;
2095
+ GetWalletTokenProfitLossRequest.typeName = "data.v1.GetWalletTokenProfitLossRequest";
2096
+ GetWalletTokenProfitLossRequest.fields = proto3.util.newFieldList(() => [
2097
+ { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
2098
+ { no: 2, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
2099
+ { no: 3, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2100
+ { no: 4, name: "since", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
2101
+ { no: 5, name: "till", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
2102
+ ]);
2103
+ /**
2104
+ * @generated from message data.v1.GetWalletTokenProfitLossResponse
2105
+ */
2106
+ export class GetWalletTokenProfitLossResponse extends Message {
2107
+ constructor(data) {
2108
+ super();
2109
+ proto3.util.initPartial(data, this);
2110
+ }
2111
+ static fromBinary(bytes, options) {
2112
+ return new GetWalletTokenProfitLossResponse().fromBinary(bytes, options);
2113
+ }
2114
+ static fromJson(jsonValue, options) {
2115
+ return new GetWalletTokenProfitLossResponse().fromJson(jsonValue, options);
2116
+ }
2117
+ static fromJsonString(jsonString, options) {
2118
+ return new GetWalletTokenProfitLossResponse().fromJsonString(jsonString, options);
2119
+ }
2120
+ static equals(a, b) {
2121
+ return proto3.util.equals(GetWalletTokenProfitLossResponse, a, b);
2122
+ }
2123
+ }
2124
+ GetWalletTokenProfitLossResponse.runtime = proto3;
2125
+ GetWalletTokenProfitLossResponse.typeName = "data.v1.GetWalletTokenProfitLossResponse";
2126
+ GetWalletTokenProfitLossResponse.fields = proto3.util.newFieldList(() => [
2127
+ { no: 1, name: "profit_loss", kind: "message", T: TokenDetailProfitLoss },
2128
+ ]);
@@ -372,6 +372,32 @@ export declare class Auction extends Message<Auction> {
372
372
  * @generated from field: optional int32 currency_token_decimals = 34;
373
373
  */
374
374
  currencyTokenDecimals?: number;
375
+ /**
376
+ * Whether the auction's token name or symbol contains inappropriate language
377
+ *
378
+ * @generated from field: optional bool is_flagged = 35;
379
+ */
380
+ isFlagged?: boolean;
381
+ /**
382
+ * LBP strategy fields (nullable - only set for auctions created via LBP strategy)
383
+ *
384
+ * @generated from field: optional string lbp_strategy_address = 36;
385
+ */
386
+ lbpStrategyAddress?: string;
387
+ /**
388
+ * @generated from field: optional string pool_key_hash = 37;
389
+ */
390
+ poolKeyHash?: string;
391
+ /**
392
+ * @generated from field: optional string initial_sqrt_price_x96 = 38;
393
+ */
394
+ initialSqrtPriceX96?: string;
395
+ /**
396
+ * LBP migration fields (nullable - only set after post-auction V4 pool migration)
397
+ *
398
+ * @generated from field: optional string lbp_migration_tx_hash = 39;
399
+ */
400
+ lbpMigrationTxHash?: string;
375
401
  constructor(data?: PartialMessage<Auction>);
376
402
  static readonly runtime: typeof proto3;
377
403
  static readonly typeName = "data.v1.Auction";
@@ -481,6 +481,11 @@ Auction.fields = proto3.util.newFieldList(() => [
481
481
  { no: 32, name: "currency_token_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
482
482
  { no: 33, name: "currency_token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
483
483
  { no: 34, name: "currency_token_decimals", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
484
+ { no: 35, name: "is_flagged", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
485
+ { no: 36, name: "lbp_strategy_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
486
+ { no: 37, name: "pool_key_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
487
+ { no: 38, name: "initial_sqrt_price_x96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
488
+ { no: 39, name: "lbp_migration_tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
484
489
  ]);
485
490
  /**
486
491
  * Response containing auctions.
@@ -1858,3 +1858,110 @@ export declare class Paymaster extends Message<Paymaster> {
1858
1858
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Paymaster;
1859
1859
  static equals(a: Paymaster | PlainMessage<Paymaster> | undefined, b: Paymaster | PlainMessage<Paymaster> | undefined): boolean;
1860
1860
  }
1861
+ /**
1862
+ * @generated from message data.v1.WalletProfitLoss
1863
+ */
1864
+ export declare class WalletProfitLoss extends Message<WalletProfitLoss> {
1865
+ /**
1866
+ * @generated from field: double net_invested_usd = 1;
1867
+ */
1868
+ netInvestedUsd: number;
1869
+ /**
1870
+ * @generated from field: double unrealized_return_usd = 2;
1871
+ */
1872
+ unrealizedReturnUsd: number;
1873
+ /**
1874
+ * @generated from field: double unrealized_return_percent = 3;
1875
+ */
1876
+ unrealizedReturnPercent: number;
1877
+ /**
1878
+ * @generated from field: double realized_return_usd = 4;
1879
+ */
1880
+ realizedReturnUsd: number;
1881
+ /**
1882
+ * @generated from field: double total_return_usd = 5;
1883
+ */
1884
+ totalReturnUsd: number;
1885
+ /**
1886
+ * @generated from field: double total_fee_usd = 6;
1887
+ */
1888
+ totalFeeUsd: number;
1889
+ constructor(data?: PartialMessage<WalletProfitLoss>);
1890
+ static readonly runtime: typeof proto3;
1891
+ static readonly typeName = "data.v1.WalletProfitLoss";
1892
+ static readonly fields: FieldList;
1893
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WalletProfitLoss;
1894
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WalletProfitLoss;
1895
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WalletProfitLoss;
1896
+ static equals(a: WalletProfitLoss | PlainMessage<WalletProfitLoss> | undefined, b: WalletProfitLoss | PlainMessage<WalletProfitLoss> | undefined): boolean;
1897
+ }
1898
+ /**
1899
+ * @generated from message data.v1.TokenProfitLoss
1900
+ */
1901
+ export declare class TokenProfitLoss extends Message<TokenProfitLoss> {
1902
+ /**
1903
+ * @generated from field: data.v1.Token token = 1;
1904
+ */
1905
+ token?: Token;
1906
+ /**
1907
+ * @generated from field: double average_cost_usd = 2;
1908
+ */
1909
+ averageCostUsd: number;
1910
+ /**
1911
+ * @generated from field: double unrealized_return_usd = 3;
1912
+ */
1913
+ unrealizedReturnUsd: number;
1914
+ /**
1915
+ * @generated from field: double unrealized_return_percent = 4;
1916
+ */
1917
+ unrealizedReturnPercent: number;
1918
+ constructor(data?: PartialMessage<TokenProfitLoss>);
1919
+ static readonly runtime: typeof proto3;
1920
+ static readonly typeName = "data.v1.TokenProfitLoss";
1921
+ static readonly fields: FieldList;
1922
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenProfitLoss;
1923
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenProfitLoss;
1924
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenProfitLoss;
1925
+ static equals(a: TokenProfitLoss | PlainMessage<TokenProfitLoss> | undefined, b: TokenProfitLoss | PlainMessage<TokenProfitLoss> | undefined): boolean;
1926
+ }
1927
+ /**
1928
+ * @generated from message data.v1.TokenDetailProfitLoss
1929
+ */
1930
+ export declare class TokenDetailProfitLoss extends Message<TokenDetailProfitLoss> {
1931
+ /**
1932
+ * @generated from field: double average_cost_usd = 1;
1933
+ */
1934
+ averageCostUsd: number;
1935
+ /**
1936
+ * @generated from field: double one_day_return_usd = 2;
1937
+ */
1938
+ oneDayReturnUsd: number;
1939
+ /**
1940
+ * @generated from field: double one_day_return_percent = 3;
1941
+ */
1942
+ oneDayReturnPercent: number;
1943
+ /**
1944
+ * @generated from field: double unrealized_return_usd = 4;
1945
+ */
1946
+ unrealizedReturnUsd: number;
1947
+ /**
1948
+ * @generated from field: double unrealized_return_percent = 5;
1949
+ */
1950
+ unrealizedReturnPercent: number;
1951
+ /**
1952
+ * @generated from field: double realized_return_usd = 6;
1953
+ */
1954
+ realizedReturnUsd: number;
1955
+ /**
1956
+ * @generated from field: double realized_return_percent = 7;
1957
+ */
1958
+ realizedReturnPercent: number;
1959
+ constructor(data?: PartialMessage<TokenDetailProfitLoss>);
1960
+ static readonly runtime: typeof proto3;
1961
+ static readonly typeName = "data.v1.TokenDetailProfitLoss";
1962
+ static readonly fields: FieldList;
1963
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenDetailProfitLoss;
1964
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenDetailProfitLoss;
1965
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenDetailProfitLoss;
1966
+ static equals(a: TokenDetailProfitLoss | PlainMessage<TokenDetailProfitLoss> | undefined, b: TokenDetailProfitLoss | PlainMessage<TokenDetailProfitLoss> | undefined): boolean;
1967
+ }
@@ -2307,3 +2307,159 @@ Paymaster.fields = proto3.util.newFieldList(() => [
2307
2307
  { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2308
2308
  { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2309
2309
  ]);
2310
+ /**
2311
+ * @generated from message data.v1.WalletProfitLoss
2312
+ */
2313
+ export class WalletProfitLoss extends Message {
2314
+ constructor(data) {
2315
+ super();
2316
+ /**
2317
+ * @generated from field: double net_invested_usd = 1;
2318
+ */
2319
+ this.netInvestedUsd = 0;
2320
+ /**
2321
+ * @generated from field: double unrealized_return_usd = 2;
2322
+ */
2323
+ this.unrealizedReturnUsd = 0;
2324
+ /**
2325
+ * @generated from field: double unrealized_return_percent = 3;
2326
+ */
2327
+ this.unrealizedReturnPercent = 0;
2328
+ /**
2329
+ * @generated from field: double realized_return_usd = 4;
2330
+ */
2331
+ this.realizedReturnUsd = 0;
2332
+ /**
2333
+ * @generated from field: double total_return_usd = 5;
2334
+ */
2335
+ this.totalReturnUsd = 0;
2336
+ /**
2337
+ * @generated from field: double total_fee_usd = 6;
2338
+ */
2339
+ this.totalFeeUsd = 0;
2340
+ proto3.util.initPartial(data, this);
2341
+ }
2342
+ static fromBinary(bytes, options) {
2343
+ return new WalletProfitLoss().fromBinary(bytes, options);
2344
+ }
2345
+ static fromJson(jsonValue, options) {
2346
+ return new WalletProfitLoss().fromJson(jsonValue, options);
2347
+ }
2348
+ static fromJsonString(jsonString, options) {
2349
+ return new WalletProfitLoss().fromJsonString(jsonString, options);
2350
+ }
2351
+ static equals(a, b) {
2352
+ return proto3.util.equals(WalletProfitLoss, a, b);
2353
+ }
2354
+ }
2355
+ WalletProfitLoss.runtime = proto3;
2356
+ WalletProfitLoss.typeName = "data.v1.WalletProfitLoss";
2357
+ WalletProfitLoss.fields = proto3.util.newFieldList(() => [
2358
+ { no: 1, name: "net_invested_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2359
+ { no: 2, name: "unrealized_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2360
+ { no: 3, name: "unrealized_return_percent", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2361
+ { no: 4, name: "realized_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2362
+ { no: 5, name: "total_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2363
+ { no: 6, name: "total_fee_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2364
+ ]);
2365
+ /**
2366
+ * @generated from message data.v1.TokenProfitLoss
2367
+ */
2368
+ export class TokenProfitLoss extends Message {
2369
+ constructor(data) {
2370
+ super();
2371
+ /**
2372
+ * @generated from field: double average_cost_usd = 2;
2373
+ */
2374
+ this.averageCostUsd = 0;
2375
+ /**
2376
+ * @generated from field: double unrealized_return_usd = 3;
2377
+ */
2378
+ this.unrealizedReturnUsd = 0;
2379
+ /**
2380
+ * @generated from field: double unrealized_return_percent = 4;
2381
+ */
2382
+ this.unrealizedReturnPercent = 0;
2383
+ proto3.util.initPartial(data, this);
2384
+ }
2385
+ static fromBinary(bytes, options) {
2386
+ return new TokenProfitLoss().fromBinary(bytes, options);
2387
+ }
2388
+ static fromJson(jsonValue, options) {
2389
+ return new TokenProfitLoss().fromJson(jsonValue, options);
2390
+ }
2391
+ static fromJsonString(jsonString, options) {
2392
+ return new TokenProfitLoss().fromJsonString(jsonString, options);
2393
+ }
2394
+ static equals(a, b) {
2395
+ return proto3.util.equals(TokenProfitLoss, a, b);
2396
+ }
2397
+ }
2398
+ TokenProfitLoss.runtime = proto3;
2399
+ TokenProfitLoss.typeName = "data.v1.TokenProfitLoss";
2400
+ TokenProfitLoss.fields = proto3.util.newFieldList(() => [
2401
+ { no: 1, name: "token", kind: "message", T: Token },
2402
+ { no: 2, name: "average_cost_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2403
+ { no: 3, name: "unrealized_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2404
+ { no: 4, name: "unrealized_return_percent", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2405
+ ]);
2406
+ /**
2407
+ * @generated from message data.v1.TokenDetailProfitLoss
2408
+ */
2409
+ export class TokenDetailProfitLoss extends Message {
2410
+ constructor(data) {
2411
+ super();
2412
+ /**
2413
+ * @generated from field: double average_cost_usd = 1;
2414
+ */
2415
+ this.averageCostUsd = 0;
2416
+ /**
2417
+ * @generated from field: double one_day_return_usd = 2;
2418
+ */
2419
+ this.oneDayReturnUsd = 0;
2420
+ /**
2421
+ * @generated from field: double one_day_return_percent = 3;
2422
+ */
2423
+ this.oneDayReturnPercent = 0;
2424
+ /**
2425
+ * @generated from field: double unrealized_return_usd = 4;
2426
+ */
2427
+ this.unrealizedReturnUsd = 0;
2428
+ /**
2429
+ * @generated from field: double unrealized_return_percent = 5;
2430
+ */
2431
+ this.unrealizedReturnPercent = 0;
2432
+ /**
2433
+ * @generated from field: double realized_return_usd = 6;
2434
+ */
2435
+ this.realizedReturnUsd = 0;
2436
+ /**
2437
+ * @generated from field: double realized_return_percent = 7;
2438
+ */
2439
+ this.realizedReturnPercent = 0;
2440
+ proto3.util.initPartial(data, this);
2441
+ }
2442
+ static fromBinary(bytes, options) {
2443
+ return new TokenDetailProfitLoss().fromBinary(bytes, options);
2444
+ }
2445
+ static fromJson(jsonValue, options) {
2446
+ return new TokenDetailProfitLoss().fromJson(jsonValue, options);
2447
+ }
2448
+ static fromJsonString(jsonString, options) {
2449
+ return new TokenDetailProfitLoss().fromJsonString(jsonString, options);
2450
+ }
2451
+ static equals(a, b) {
2452
+ return proto3.util.equals(TokenDetailProfitLoss, a, b);
2453
+ }
2454
+ }
2455
+ TokenDetailProfitLoss.runtime = proto3;
2456
+ TokenDetailProfitLoss.typeName = "data.v1.TokenDetailProfitLoss";
2457
+ TokenDetailProfitLoss.fields = proto3.util.newFieldList(() => [
2458
+ { no: 1, name: "average_cost_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2459
+ { no: 2, name: "one_day_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2460
+ { no: 3, name: "one_day_return_percent", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2461
+ { no: 4, name: "unrealized_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2462
+ { no: 5, name: "unrealized_return_percent", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2463
+ { no: 6, name: "realized_return_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2464
+ { no: 7, name: "realized_return_percent", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2465
+ ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.54",
3
+ "version": "0.0.58",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },