@uniswap/client-liquidity 1.4.32 → 1.4.34
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.
|
@@ -1264,6 +1264,10 @@ export declare class GetWalletPositionsBalanceResponse extends Message<GetWallet
|
|
|
1264
1264
|
* @generated from field: double total_rewards_usd = 3;
|
|
1265
1265
|
*/
|
|
1266
1266
|
totalRewardsUsd: number;
|
|
1267
|
+
/**
|
|
1268
|
+
* @generated from field: uint32 open_positions_count = 4;
|
|
1269
|
+
*/
|
|
1270
|
+
openPositionsCount: number;
|
|
1267
1271
|
constructor(data?: PartialMessage<GetWalletPositionsBalanceResponse>);
|
|
1268
1272
|
static readonly runtime: typeof proto3;
|
|
1269
1273
|
static readonly typeName = "uniswap.liquidity.v2.GetWalletPositionsBalanceResponse";
|
|
@@ -1326,6 +1326,10 @@ export class GetWalletPositionsBalanceResponse extends Message {
|
|
|
1326
1326
|
* @generated from field: double total_rewards_usd = 3;
|
|
1327
1327
|
*/
|
|
1328
1328
|
this.totalRewardsUsd = 0;
|
|
1329
|
+
/**
|
|
1330
|
+
* @generated from field: uint32 open_positions_count = 4;
|
|
1331
|
+
*/
|
|
1332
|
+
this.openPositionsCount = 0;
|
|
1329
1333
|
proto3.util.initPartial(data, this);
|
|
1330
1334
|
}
|
|
1331
1335
|
static fromBinary(bytes, options) {
|
|
@@ -1347,4 +1351,5 @@ GetWalletPositionsBalanceResponse.fields = proto3.util.newFieldList(() => [
|
|
|
1347
1351
|
{ no: 1, name: "total_liquidity_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1348
1352
|
{ no: 2, name: "total_fees_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1349
1353
|
{ no: 3, name: "total_rewards_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1354
|
+
{ no: 4, name: "open_positions_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1350
1355
|
]);
|
|
@@ -819,6 +819,14 @@ export declare class PoolSummary extends Message<PoolSummary> {
|
|
|
819
819
|
* @generated from field: optional double total_apr = 29;
|
|
820
820
|
*/
|
|
821
821
|
totalApr?: number;
|
|
822
|
+
/**
|
|
823
|
+
* Protocol fee in pips (fee_tier's unit). Read against protocol_version: V2/V3
|
|
824
|
+
* carve it OUT of fee_tier (LPs earn fee_tier - protocol_fee); V4 charges it ON
|
|
825
|
+
* TOP (swappers pay fee_tier + protocol_fee). 0 = not turned on.
|
|
826
|
+
*
|
|
827
|
+
* @generated from field: optional uint32 protocol_fee = 30;
|
|
828
|
+
*/
|
|
829
|
+
protocolFee?: number;
|
|
822
830
|
constructor(data?: PartialMessage<PoolSummary>);
|
|
823
831
|
static readonly runtime: typeof proto3;
|
|
824
832
|
static readonly typeName = "uniswap.liquidity.v2.PoolSummary";
|
|
@@ -1012,6 +1012,7 @@ PoolSummary.fields = proto3.util.newFieldList(() => [
|
|
|
1012
1012
|
{ no: 27, name: "volume_usd_1d_change", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1013
1013
|
{ no: 28, name: "token_rewards", kind: "message", T: PoolTokenRewards, repeated: true },
|
|
1014
1014
|
{ no: 29, name: "total_apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1015
|
+
{ no: 30, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1015
1016
|
]);
|
|
1016
1017
|
/**
|
|
1017
1018
|
* A reward token's on-chain identity, so a client can interpret and format a
|