@uniswap/client-data-api 0.0.151 → 0.0.152

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.
@@ -234,6 +234,23 @@ export declare class PoolPosition extends Message<PoolPosition> {
234
234
  * @generated from field: optional uint32 effective_fee = 26;
235
235
  */
236
236
  effectiveFee?: number;
237
+ /**
238
+ * Fee APR averaged over the trailing 1/7/30 calendar days (excludes reward
239
+ * boosts). Set whenever the pool's day-data history was fetched (positions
240
+ * always fetch it); unset otherwise. Days without trades count as zero
241
+ * volume; pools younger than a window average over their age instead.
242
+ *
243
+ * @generated from field: optional double apr_1d = 27;
244
+ */
245
+ apr1d?: number;
246
+ /**
247
+ * @generated from field: optional double apr_7d = 28;
248
+ */
249
+ apr7d?: number;
250
+ /**
251
+ * @generated from field: optional double apr_30d = 29;
252
+ */
253
+ apr30d?: number;
237
254
  constructor(data?: PartialMessage<PoolPosition>);
238
255
  static readonly runtime: typeof proto3;
239
256
  static readonly typeName = "pools.v1.PoolPosition";
@@ -496,6 +513,24 @@ export declare class Pool extends Message<Pool> {
496
513
  * @generated from field: optional uint32 effective_fee = 19;
497
514
  */
498
515
  effectiveFee?: number;
516
+ /**
517
+ * Fee APR averaged over the trailing 1/7/30 calendar days (excludes reward
518
+ * boosts). Set only when the request enables include_volume_30d — day-data
519
+ * history is fetched only then; unset otherwise. Days without trades count
520
+ * as zero volume; pools younger than a window average over their age
521
+ * instead.
522
+ *
523
+ * @generated from field: optional double apr_1d = 20;
524
+ */
525
+ apr1d?: number;
526
+ /**
527
+ * @generated from field: optional double apr_7d = 21;
528
+ */
529
+ apr7d?: number;
530
+ /**
531
+ * @generated from field: optional double apr_30d = 22;
532
+ */
533
+ apr30d?: number;
499
534
  constructor(data?: PartialMessage<Pool>);
500
535
  static readonly runtime: typeof proto3;
501
536
  static readonly typeName = "pools.v1.Pool";
@@ -295,6 +295,9 @@ PoolPosition.fields = proto3.util.newFieldList(() => [
295
295
  { no: 24, name: "reward_balances", kind: "message", T: RewardBalance, repeated: true },
296
296
  { no: 25, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
297
297
  { no: 26, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
298
+ { no: 27, name: "apr_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
299
+ { no: 28, name: "apr_7d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
300
+ { no: 29, name: "apr_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
298
301
  ]);
299
302
  /**
300
303
  * @generated from message pools.v1.PairPosition
@@ -591,6 +594,9 @@ Pool.fields = proto3.util.newFieldList(() => [
591
594
  { no: 17, name: "volume_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
592
595
  { no: 18, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
593
596
  { no: 19, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
597
+ { no: 20, name: "apr_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
598
+ { no: 21, name: "apr_7d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
599
+ { no: 22, name: "apr_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
594
600
  ]);
595
601
  /**
596
602
  * @generated from message pools.v1.Pair
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.151",
3
+ "version": "0.0.152",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },