@uniswap/client-liquidity 1.4.25 → 1.4.26
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.
|
@@ -1267,6 +1267,59 @@ export declare class Position extends Message<Position> {
|
|
|
1267
1267
|
* @generated from field: optional string token1_price_usd = 25;
|
|
1268
1268
|
*/
|
|
1269
1269
|
token1PriceUsd?: string;
|
|
1270
|
+
/**
|
|
1271
|
+
* @generated from field: optional string amount0 = 26;
|
|
1272
|
+
*/
|
|
1273
|
+
amount0?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* @generated from field: optional string amount1 = 27;
|
|
1276
|
+
*/
|
|
1277
|
+
amount1?: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* @generated from field: optional double value_usd = 28;
|
|
1280
|
+
*/
|
|
1281
|
+
valueUsd?: number;
|
|
1282
|
+
/**
|
|
1283
|
+
* @generated from field: optional string token0_uncollected_fees = 29;
|
|
1284
|
+
*/
|
|
1285
|
+
token0UncollectedFees?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* @generated from field: optional string token1_uncollected_fees = 30;
|
|
1288
|
+
*/
|
|
1289
|
+
token1UncollectedFees?: string;
|
|
1290
|
+
/**
|
|
1291
|
+
* @generated from field: optional double uncollected_fees_usd = 31;
|
|
1292
|
+
*/
|
|
1293
|
+
uncollectedFeesUsd?: number;
|
|
1294
|
+
/**
|
|
1295
|
+
* @generated from field: optional double apr_1d = 32;
|
|
1296
|
+
*/
|
|
1297
|
+
apr1d?: number;
|
|
1298
|
+
/**
|
|
1299
|
+
* @generated from field: optional double apr_7d = 33;
|
|
1300
|
+
*/
|
|
1301
|
+
apr7d?: number;
|
|
1302
|
+
/**
|
|
1303
|
+
* @generated from field: optional double apr_30d = 34;
|
|
1304
|
+
*/
|
|
1305
|
+
apr30d?: number;
|
|
1306
|
+
/**
|
|
1307
|
+
* V2 only: raw pair reserves and LP token total supply (uint256 as decimal
|
|
1308
|
+
* strings), so clients can derive the wallet's underlying token amounts (and
|
|
1309
|
+
* USD value) from lp_shares. Unset for V3/V4, which derive amounts from
|
|
1310
|
+
* liquidity + tick range + current_tick/sqrt_price_x96 instead.
|
|
1311
|
+
*
|
|
1312
|
+
* @generated from field: optional string reserve0 = 35;
|
|
1313
|
+
*/
|
|
1314
|
+
reserve0?: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* @generated from field: optional string reserve1 = 36;
|
|
1317
|
+
*/
|
|
1318
|
+
reserve1?: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* @generated from field: optional string total_supply = 37;
|
|
1321
|
+
*/
|
|
1322
|
+
totalSupply?: string;
|
|
1270
1323
|
constructor(data?: PartialMessage<Position>);
|
|
1271
1324
|
static readonly runtime: typeof proto3;
|
|
1272
1325
|
static readonly typeName = "uniswap.liquidity.v2.Position";
|
|
@@ -1509,6 +1509,18 @@ Position.fields = proto3.util.newFieldList(() => [
|
|
|
1509
1509
|
{ no: 23, name: "pool_liquidity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1510
1510
|
{ no: 24, name: "token0_price_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1511
1511
|
{ no: 25, name: "token1_price_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1512
|
+
{ no: 26, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1513
|
+
{ no: 27, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1514
|
+
{ no: 28, name: "value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1515
|
+
{ no: 29, name: "token0_uncollected_fees", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1516
|
+
{ no: 30, name: "token1_uncollected_fees", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1517
|
+
{ no: 31, name: "uncollected_fees_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1518
|
+
{ no: 32, name: "apr_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1519
|
+
{ no: 33, name: "apr_7d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1520
|
+
{ no: 34, name: "apr_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1521
|
+
{ no: 35, name: "reserve0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1522
|
+
{ no: 36, name: "reserve1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1523
|
+
{ no: 37, name: "total_supply", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1512
1524
|
]);
|
|
1513
1525
|
/**
|
|
1514
1526
|
* Keyset cursor for GetWalletPositions. position_key is the last returned
|