@uniswap/client-data-api 0.0.133 → 0.0.135
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.
|
@@ -464,6 +464,22 @@ export declare class Pool extends Message<Pool> {
|
|
|
464
464
|
* @generated from field: optional double volume_30d = 17;
|
|
465
465
|
*/
|
|
466
466
|
volume30d?: number;
|
|
467
|
+
/**
|
|
468
|
+
* Protocol fee, same unit as `fee` (pips). v4: ADDITIVE on top of `fee`;
|
|
469
|
+
* v2/v3: SUBTRACTIVE share of `fee` (distinguish by protocol_version).
|
|
470
|
+
* Optional: unset when there's no on-chain value; a set 0 means off.
|
|
471
|
+
*
|
|
472
|
+
* @generated from field: optional uint32 protocol_fee = 18;
|
|
473
|
+
*/
|
|
474
|
+
protocolFee?: number;
|
|
475
|
+
/**
|
|
476
|
+
* Effective (all-in) fee, same unit as `fee` (pips). v4: fee + protocol_fee;
|
|
477
|
+
* v2/v3: equals `fee`. Optional: unset when protocol_fee is unavailable and
|
|
478
|
+
* for v4 dynamic-fee pools (LP fee is per-swap).
|
|
479
|
+
*
|
|
480
|
+
* @generated from field: optional uint32 effective_fee = 19;
|
|
481
|
+
*/
|
|
482
|
+
effectiveFee?: number;
|
|
467
483
|
constructor(data?: PartialMessage<Pool>);
|
|
468
484
|
static readonly runtime: typeof proto3;
|
|
469
485
|
static readonly typeName = "pools.v1.Pool";
|
|
@@ -587,6 +587,8 @@ Pool.fields = proto3.util.newFieldList(() => [
|
|
|
587
587
|
{ no: 15, name: "boosted_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
588
588
|
{ no: 16, name: "total_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
589
589
|
{ no: 17, name: "volume_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
590
|
+
{ no: 18, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
591
|
+
{ no: 19, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
590
592
|
]);
|
|
591
593
|
/**
|
|
592
594
|
* @generated from message pools.v1.Pair
|
|
@@ -504,6 +504,20 @@ export declare class Pool extends Message<Pool> {
|
|
|
504
504
|
* @generated from field: uint32 fee_tier = 10;
|
|
505
505
|
*/
|
|
506
506
|
feeTier: number;
|
|
507
|
+
/**
|
|
508
|
+
* Protocol fee (pips), same unit as `fee_tier`. v4: ADDITIVE on top of it;
|
|
509
|
+
* v2/v3: SUBTRACTIVE share of it. Optional: unset = unknown, set 0 = off.
|
|
510
|
+
*
|
|
511
|
+
* @generated from field: optional uint32 protocol_fee = 11;
|
|
512
|
+
*/
|
|
513
|
+
protocolFee?: number;
|
|
514
|
+
/**
|
|
515
|
+
* Effective (all-in) fee (pips). v4: fee_tier+protocol_fee; v2/v3: fee_tier.
|
|
516
|
+
* Optional: unset when protocol_fee is unavailable (incl. v4 dynamic-fee).
|
|
517
|
+
*
|
|
518
|
+
* @generated from field: optional uint32 effective_fee = 12;
|
|
519
|
+
*/
|
|
520
|
+
effectiveFee?: number;
|
|
507
521
|
constructor(data?: PartialMessage<Pool>);
|
|
508
522
|
static readonly runtime: typeof proto3;
|
|
509
523
|
static readonly typeName = "search.v1.Pool";
|
|
@@ -684,4 +684,6 @@ Pool.fields = proto3.util.newFieldList(() => [
|
|
|
684
684
|
{ no: 8, name: "hook_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
685
685
|
{ no: 9, name: "protocol_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
686
686
|
{ no: 10, name: "fee_tier", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
687
|
+
{ no: 11, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
688
|
+
{ no: 12, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
687
689
|
]);
|