@uniswap/client-data-api 0.0.291 → 0.0.293

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 { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
2
+ import { IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v1.WorkerService.RefreshProtocolStats
5
5
  */
@@ -13,19 +13,6 @@ export declare const refreshProtocolStats: {
13
13
  readonly typeName: "data.v1.WorkerService";
14
14
  };
15
15
  };
16
- /**
17
- * @generated from rpc data.v1.WorkerService.CheckSubgraphHealth
18
- */
19
- export declare const checkSubgraphHealth: {
20
- readonly localName: "checkSubgraphHealth";
21
- readonly name: "CheckSubgraphHealth";
22
- readonly kind: MethodKind.Unary;
23
- readonly I: typeof CheckSubgraphHealthRequest;
24
- readonly O: typeof CheckSubgraphHealthResponse;
25
- readonly service: {
26
- readonly typeName: "data.v1.WorkerService";
27
- };
28
- };
29
16
  /**
30
17
  * @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
31
18
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
6
+ import { IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v1.WorkerService.RefreshProtocolStats
9
9
  */
@@ -17,19 +17,6 @@ export const refreshProtocolStats = {
17
17
  typeName: "data.v1.WorkerService"
18
18
  }
19
19
  };
20
- /**
21
- * @generated from rpc data.v1.WorkerService.CheckSubgraphHealth
22
- */
23
- export const checkSubgraphHealth = {
24
- localName: "checkSubgraphHealth",
25
- name: "CheckSubgraphHealth",
26
- kind: MethodKind.Unary,
27
- I: CheckSubgraphHealthRequest,
28
- O: CheckSubgraphHealthResponse,
29
- service: {
30
- typeName: "data.v1.WorkerService"
31
- }
32
- };
33
20
  /**
34
21
  * @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
35
22
  */
@@ -1,4 +1,4 @@
1
- import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
1
+ import { IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.WorkerService
@@ -15,15 +15,6 @@ export declare const WorkerService: {
15
15
  readonly O: typeof RefreshProtocolStatsResponse;
16
16
  readonly kind: MethodKind.Unary;
17
17
  };
18
- /**
19
- * @generated from rpc data.v1.WorkerService.CheckSubgraphHealth
20
- */
21
- readonly checkSubgraphHealth: {
22
- readonly name: "CheckSubgraphHealth";
23
- readonly I: typeof CheckSubgraphHealthRequest;
24
- readonly O: typeof CheckSubgraphHealthResponse;
25
- readonly kind: MethodKind.Unary;
26
- };
27
18
  /**
28
19
  * @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
29
20
  */
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v1/workerService.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
5
+ import { IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.WorkerService
@@ -19,15 +19,6 @@ export const WorkerService = {
19
19
  O: RefreshProtocolStatsResponse,
20
20
  kind: MethodKind.Unary,
21
21
  },
22
- /**
23
- * @generated from rpc data.v1.WorkerService.CheckSubgraphHealth
24
- */
25
- checkSubgraphHealth: {
26
- name: "CheckSubgraphHealth",
27
- I: CheckSubgraphHealthRequest,
28
- O: CheckSubgraphHealthResponse,
29
- kind: MethodKind.Unary,
30
- },
31
22
  /**
32
23
  * @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
33
24
  */
@@ -26,32 +26,6 @@ export declare class RefreshProtocolStatsResponse extends Message<RefreshProtoco
26
26
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshProtocolStatsResponse;
27
27
  static equals(a: RefreshProtocolStatsResponse | PlainMessage<RefreshProtocolStatsResponse> | undefined, b: RefreshProtocolStatsResponse | PlainMessage<RefreshProtocolStatsResponse> | undefined): boolean;
28
28
  }
29
- /**
30
- * @generated from message data.v1.CheckSubgraphHealthRequest
31
- */
32
- export declare class CheckSubgraphHealthRequest extends Message<CheckSubgraphHealthRequest> {
33
- constructor(data?: PartialMessage<CheckSubgraphHealthRequest>);
34
- static readonly runtime: typeof proto3;
35
- static readonly typeName = "data.v1.CheckSubgraphHealthRequest";
36
- static readonly fields: FieldList;
37
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckSubgraphHealthRequest;
38
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckSubgraphHealthRequest;
39
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckSubgraphHealthRequest;
40
- static equals(a: CheckSubgraphHealthRequest | PlainMessage<CheckSubgraphHealthRequest> | undefined, b: CheckSubgraphHealthRequest | PlainMessage<CheckSubgraphHealthRequest> | undefined): boolean;
41
- }
42
- /**
43
- * @generated from message data.v1.CheckSubgraphHealthResponse
44
- */
45
- export declare class CheckSubgraphHealthResponse extends Message<CheckSubgraphHealthResponse> {
46
- constructor(data?: PartialMessage<CheckSubgraphHealthResponse>);
47
- static readonly runtime: typeof proto3;
48
- static readonly typeName = "data.v1.CheckSubgraphHealthResponse";
49
- static readonly fields: FieldList;
50
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckSubgraphHealthResponse;
51
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckSubgraphHealthResponse;
52
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckSubgraphHealthResponse;
53
- static equals(a: CheckSubgraphHealthResponse | PlainMessage<CheckSubgraphHealthResponse> | undefined, b: CheckSubgraphHealthResponse | PlainMessage<CheckSubgraphHealthResponse> | undefined): boolean;
54
- }
55
29
  /**
56
30
  * @generated from message data.v1.BlockaidMetadataItem
57
31
  */
@@ -51,54 +51,6 @@ export class RefreshProtocolStatsResponse extends Message {
51
51
  RefreshProtocolStatsResponse.runtime = proto3;
52
52
  RefreshProtocolStatsResponse.typeName = "data.v1.RefreshProtocolStatsResponse";
53
53
  RefreshProtocolStatsResponse.fields = proto3.util.newFieldList(() => []);
54
- /**
55
- * @generated from message data.v1.CheckSubgraphHealthRequest
56
- */
57
- export class CheckSubgraphHealthRequest extends Message {
58
- constructor(data) {
59
- super();
60
- proto3.util.initPartial(data, this);
61
- }
62
- static fromBinary(bytes, options) {
63
- return new CheckSubgraphHealthRequest().fromBinary(bytes, options);
64
- }
65
- static fromJson(jsonValue, options) {
66
- return new CheckSubgraphHealthRequest().fromJson(jsonValue, options);
67
- }
68
- static fromJsonString(jsonString, options) {
69
- return new CheckSubgraphHealthRequest().fromJsonString(jsonString, options);
70
- }
71
- static equals(a, b) {
72
- return proto3.util.equals(CheckSubgraphHealthRequest, a, b);
73
- }
74
- }
75
- CheckSubgraphHealthRequest.runtime = proto3;
76
- CheckSubgraphHealthRequest.typeName = "data.v1.CheckSubgraphHealthRequest";
77
- CheckSubgraphHealthRequest.fields = proto3.util.newFieldList(() => []);
78
- /**
79
- * @generated from message data.v1.CheckSubgraphHealthResponse
80
- */
81
- export class CheckSubgraphHealthResponse extends Message {
82
- constructor(data) {
83
- super();
84
- proto3.util.initPartial(data, this);
85
- }
86
- static fromBinary(bytes, options) {
87
- return new CheckSubgraphHealthResponse().fromBinary(bytes, options);
88
- }
89
- static fromJson(jsonValue, options) {
90
- return new CheckSubgraphHealthResponse().fromJson(jsonValue, options);
91
- }
92
- static fromJsonString(jsonString, options) {
93
- return new CheckSubgraphHealthResponse().fromJsonString(jsonString, options);
94
- }
95
- static equals(a, b) {
96
- return proto3.util.equals(CheckSubgraphHealthResponse, a, b);
97
- }
98
- }
99
- CheckSubgraphHealthResponse.runtime = proto3;
100
- CheckSubgraphHealthResponse.typeName = "data.v1.CheckSubgraphHealthResponse";
101
- CheckSubgraphHealthResponse.fields = proto3.util.newFieldList(() => []);
102
54
  /**
103
55
  * @generated from message data.v1.BlockaidMetadataItem
104
56
  */
@@ -1398,6 +1398,29 @@ export declare class PoolRankStats extends Message<PoolRankStats> {
1398
1398
  * @generated from field: repeated data.v2.PoolTokenBoost token_boosts = 8;
1399
1399
  */
1400
1400
  tokenBoosts: PoolTokenBoost[];
1401
+ /**
1402
+ * Fee APR over the trailing 7 days, in percent like `apr` (which stays the
1403
+ * 24h window, and is the one the APR sort and filter read): LP fees in the
1404
+ * window over the pool's time-weighted TVL, annualized. Unset until the
1405
+ * stats cron publishes the window for this pool.
1406
+ *
1407
+ * @generated from field: optional double apr_7d = 9;
1408
+ */
1409
+ apr7d?: number;
1410
+ /**
1411
+ * Fee APR over the trailing 30 days, in percent; same definition and unset
1412
+ * rule as apr_7d.
1413
+ *
1414
+ * @generated from field: optional double apr_30d = 10;
1415
+ */
1416
+ apr30d?: number;
1417
+ /**
1418
+ * LP fees earned over the trailing 24h, in USD, after the protocol fee.
1419
+ * Unset until the stats cron publishes them for this pool.
1420
+ *
1421
+ * @generated from field: optional double fees_1d = 11;
1422
+ */
1423
+ fees1d?: number;
1401
1424
  constructor(data?: PartialMessage<PoolRankStats>);
1402
1425
  static readonly runtime: typeof proto3;
1403
1426
  static readonly typeName = "data.v2.PoolRankStats";
@@ -1570,6 +1570,9 @@ PoolRankStats.fields = proto3.util.newFieldList(() => [
1570
1570
  { no: 6, name: "total_apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1571
1571
  { no: 7, name: "volume_1d_tvl_ratio", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1572
1572
  { no: 8, name: "token_boosts", kind: "message", T: PoolTokenBoost, repeated: true },
1573
+ { no: 9, name: "apr_7d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1574
+ { no: 10, name: "apr_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1575
+ { no: 11, name: "fees_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1573
1576
  ]);
1574
1577
  /**
1575
1578
  * A pool's protocol identity, token pair, and current on-chain state (state
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.291",
3
+ "version": "0.0.293",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },