@uniswap/client-data-api 0.0.134 → 0.0.136
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.
|
@@ -218,6 +218,22 @@ export declare class PoolPosition extends Message<PoolPosition> {
|
|
|
218
218
|
* @generated from field: repeated pools.v1.RewardBalance reward_balances = 24;
|
|
219
219
|
*/
|
|
220
220
|
rewardBalances: RewardBalance[];
|
|
221
|
+
/**
|
|
222
|
+
* Protocol fee in the same unit as `fee_tier` (hundredths-of-a-bip / pips).
|
|
223
|
+
* Protocol fee (pips), same unit as `fee_tier`. v4: ADDITIVE on top of it;
|
|
224
|
+
* v3: SUBTRACTIVE share of it (positions are v3/v4 only). Optional: unset =
|
|
225
|
+
* unknown, set 0 = off.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: optional uint32 protocol_fee = 25;
|
|
228
|
+
*/
|
|
229
|
+
protocolFee?: number;
|
|
230
|
+
/**
|
|
231
|
+
* Effective (all-in) fee (pips). v4: fee_tier+protocol_fee; v3: fee_tier.
|
|
232
|
+
* Optional: unset when protocol_fee is unavailable (incl. v4 dynamic-fee).
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: optional uint32 effective_fee = 26;
|
|
235
|
+
*/
|
|
236
|
+
effectiveFee?: number;
|
|
221
237
|
constructor(data?: PartialMessage<PoolPosition>);
|
|
222
238
|
static readonly runtime: typeof proto3;
|
|
223
239
|
static readonly typeName = "pools.v1.PoolPosition";
|
|
@@ -293,6 +293,8 @@ PoolPosition.fields = proto3.util.newFieldList(() => [
|
|
|
293
293
|
{ no: 22, name: "total_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
294
294
|
{ no: 23, name: "unclaimed_rewards_amount_uni", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
295
295
|
{ no: 24, name: "reward_balances", kind: "message", T: RewardBalance, repeated: true },
|
|
296
|
+
{ no: 25, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
297
|
+
{ no: 26, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
296
298
|
]);
|
|
297
299
|
/**
|
|
298
300
|
* @generated from message pools.v1.PairPosition
|
|
@@ -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
|
]);
|