@uniswap/client-data-api 0.0.178 → 0.0.179
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.
|
@@ -1019,8 +1019,8 @@ export declare class PoolRankStats extends Message<PoolRankStats> {
|
|
|
1019
1019
|
static equals(a: PoolRankStats | PlainMessage<PoolRankStats> | undefined, b: PoolRankStats | PlainMessage<PoolRankStats> | undefined): boolean;
|
|
1020
1020
|
}
|
|
1021
1021
|
/**
|
|
1022
|
-
* A pool
|
|
1023
|
-
* RankedPool.
|
|
1022
|
+
* A pool's protocol identity, token pair, and current on-chain state. No
|
|
1023
|
+
* pipeline-computed stats (TVL/volume/APR) — those live on RankedPool.
|
|
1024
1024
|
*
|
|
1025
1025
|
* @generated from message data.v2.Pool
|
|
1026
1026
|
*/
|
|
@@ -1069,6 +1069,24 @@ export declare class Pool extends Message<Pool> {
|
|
|
1069
1069
|
* @generated from field: optional string hook_address = 9;
|
|
1070
1070
|
*/
|
|
1071
1071
|
hookAddress?: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* V3/V4 only; absent when no state row is indexed yet
|
|
1074
|
+
*
|
|
1075
|
+
* @generated from field: optional int32 current_tick = 10;
|
|
1076
|
+
*/
|
|
1077
|
+
currentTick?: number;
|
|
1078
|
+
/**
|
|
1079
|
+
* uint160 as decimal string; V3/V4 only
|
|
1080
|
+
*
|
|
1081
|
+
* @generated from field: optional string sqrt_price_x96 = 11;
|
|
1082
|
+
*/
|
|
1083
|
+
sqrtPriceX96?: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* uint128 as decimal string; V3/V4 only
|
|
1086
|
+
*
|
|
1087
|
+
* @generated from field: optional string liquidity = 12;
|
|
1088
|
+
*/
|
|
1089
|
+
liquidity?: string;
|
|
1072
1090
|
constructor(data?: PartialMessage<Pool>);
|
|
1073
1091
|
static readonly runtime: typeof proto3;
|
|
1074
1092
|
static readonly typeName = "data.v2.Pool";
|
package/dist/data/v2/types_pb.js
CHANGED
|
@@ -1155,8 +1155,8 @@ PoolRankStats.fields = proto3.util.newFieldList(() => [
|
|
|
1155
1155
|
{ no: 7, name: "volume_1d_tvl_ratio", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1156
1156
|
]);
|
|
1157
1157
|
/**
|
|
1158
|
-
* A pool
|
|
1159
|
-
* RankedPool.
|
|
1158
|
+
* A pool's protocol identity, token pair, and current on-chain state. No
|
|
1159
|
+
* pipeline-computed stats (TVL/volume/APR) — those live on RankedPool.
|
|
1160
1160
|
*
|
|
1161
1161
|
* @generated from message data.v2.Pool
|
|
1162
1162
|
*/
|
|
@@ -1210,6 +1210,9 @@ Pool.fields = proto3.util.newFieldList(() => [
|
|
|
1210
1210
|
{ no: 7, name: "fee_tier", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1211
1211
|
{ no: 8, name: "is_dynamic_fee", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1212
1212
|
{ no: 9, name: "hook_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1213
|
+
{ no: 10, name: "current_tick", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
1214
|
+
{ no: 11, name: "sqrt_price_x96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1215
|
+
{ no: 12, name: "liquidity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1213
1216
|
]);
|
|
1214
1217
|
/**
|
|
1215
1218
|
* @generated from message data.v2.PoolTokenFilter
|