@uniswap/client-liquidity 1.4.39 → 1.4.42
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.
- package/dist/uniswap/liquidity/v1/auction_pb.d.ts +12 -0
- package/dist/uniswap/liquidity/v1/auction_pb.js +14 -0
- package/dist/uniswap/liquidity/v1/types_pb.d.ts +5 -0
- package/dist/uniswap/liquidity/v1/types_pb.js +5 -0
- package/dist/uniswap/liquidity/v2/types_pb.d.ts +13 -3
- package/dist/uniswap/liquidity/v2/types_pb.js +2 -7
- package/package.json +1 -1
|
@@ -434,6 +434,18 @@ export declare class HookValidationResult extends Message<HookValidationResult>
|
|
|
434
434
|
* @generated from field: string description = 5;
|
|
435
435
|
*/
|
|
436
436
|
description: string;
|
|
437
|
+
/**
|
|
438
|
+
* Getters this hook type needs, and which of them the hook did not answer.
|
|
439
|
+
* Both are listed rather than a single bool: an empty unreadable_getters on a
|
|
440
|
+
* server that never probed is indistinguishable from a clean probe otherwise.
|
|
441
|
+
*
|
|
442
|
+
* @generated from field: repeated string checked_getters = 6;
|
|
443
|
+
*/
|
|
444
|
+
checkedGetters: string[];
|
|
445
|
+
/**
|
|
446
|
+
* @generated from field: repeated string unreadable_getters = 7;
|
|
447
|
+
*/
|
|
448
|
+
unreadableGetters: string[];
|
|
437
449
|
constructor(data?: PartialMessage<HookValidationResult>);
|
|
438
450
|
static readonly runtime: typeof proto3;
|
|
439
451
|
static readonly typeName = "uniswap.liquidity.v1.HookValidationResult";
|
|
@@ -605,6 +605,18 @@ export class HookValidationResult extends Message {
|
|
|
605
605
|
* @generated from field: string description = 5;
|
|
606
606
|
*/
|
|
607
607
|
this.description = "";
|
|
608
|
+
/**
|
|
609
|
+
* Getters this hook type needs, and which of them the hook did not answer.
|
|
610
|
+
* Both are listed rather than a single bool: an empty unreadable_getters on a
|
|
611
|
+
* server that never probed is indistinguishable from a clean probe otherwise.
|
|
612
|
+
*
|
|
613
|
+
* @generated from field: repeated string checked_getters = 6;
|
|
614
|
+
*/
|
|
615
|
+
this.checkedGetters = [];
|
|
616
|
+
/**
|
|
617
|
+
* @generated from field: repeated string unreadable_getters = 7;
|
|
618
|
+
*/
|
|
619
|
+
this.unreadableGetters = [];
|
|
608
620
|
proto3.util.initPartial(data, this);
|
|
609
621
|
}
|
|
610
622
|
static fromBinary(bytes, options) {
|
|
@@ -628,6 +640,8 @@ HookValidationResult.fields = proto3.util.newFieldList(() => [
|
|
|
628
640
|
{ no: 3, name: "interface_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
629
641
|
{ no: 4, name: "hook_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
630
642
|
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
643
|
+
{ no: 6, name: "checked_getters", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
644
|
+
{ no: 7, name: "unreadable_getters", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
631
645
|
]);
|
|
632
646
|
/**
|
|
633
647
|
* @generated from message uniswap.liquidity.v1.CreateAuctionRequest
|
|
@@ -1959,6 +1959,11 @@ export declare class MaxBidPriceData extends Message<MaxBidPriceData> {
|
|
|
1959
1959
|
* The ceiling as a Q96 fixed-point price, in the auction's bid-currency units.
|
|
1960
1960
|
* Decimal string because the value does not fit a uint64.
|
|
1961
1961
|
*
|
|
1962
|
+
* "0" means the hook's ceiling is DISABLED ("skip the check") -- the hook supports an
|
|
1963
|
+
* optional ceiling and this auction turned it off. Clients must read zero as "no
|
|
1964
|
+
* ceiling" rather than as a ceiling of zero, which no bid could satisfy. The presence
|
|
1965
|
+
* of this message still means the hook was recognized.
|
|
1966
|
+
*
|
|
1962
1967
|
* @generated from field: string max_bid_price_q96 = 1;
|
|
1963
1968
|
*/
|
|
1964
1969
|
maxBidPriceQ96: string;
|
|
@@ -2220,6 +2220,11 @@ export class MaxBidPriceData extends Message {
|
|
|
2220
2220
|
* The ceiling as a Q96 fixed-point price, in the auction's bid-currency units.
|
|
2221
2221
|
* Decimal string because the value does not fit a uint64.
|
|
2222
2222
|
*
|
|
2223
|
+
* "0" means the hook's ceiling is DISABLED ("skip the check") -- the hook supports an
|
|
2224
|
+
* optional ceiling and this auction turned it off. Clients must read zero as "no
|
|
2225
|
+
* ceiling" rather than as a ceiling of zero, which no bid could satisfy. The presence
|
|
2226
|
+
* of this message still means the hook was recognized.
|
|
2227
|
+
*
|
|
2223
2228
|
* @generated from field: string max_bid_price_q96 = 1;
|
|
2224
2229
|
*/
|
|
2225
2230
|
this.maxBidPriceQ96 = "";
|
|
@@ -1266,11 +1266,13 @@ export declare class Position extends Message<Position> {
|
|
|
1266
1266
|
*/
|
|
1267
1267
|
updatedAt: bigint;
|
|
1268
1268
|
/**
|
|
1269
|
-
* Unix seconds of the first indexed event that created this position.
|
|
1269
|
+
* Unix seconds of the first indexed event that created this position. Unset
|
|
1270
|
+
* when the creation time is unknown — no indexed row, or an Optimism
|
|
1271
|
+
* pre-regenesis position whose real creation time predates our history.
|
|
1270
1272
|
*
|
|
1271
|
-
* @generated from field: int64 created_at = 13;
|
|
1273
|
+
* @generated from field: optional int64 created_at = 13;
|
|
1272
1274
|
*/
|
|
1273
|
-
createdAt
|
|
1275
|
+
createdAt?: bigint;
|
|
1274
1276
|
/**
|
|
1275
1277
|
* Derived from the raw balance: OPEN while liquidity / lp_shares > 0.
|
|
1276
1278
|
*
|
|
@@ -1430,6 +1432,14 @@ export declare class Position extends Message<Position> {
|
|
|
1430
1432
|
* @generated from field: optional uint32 protocol_fee = 40;
|
|
1431
1433
|
*/
|
|
1432
1434
|
protocolFee?: number;
|
|
1435
|
+
/**
|
|
1436
|
+
* V4 positions whose pool runs a dynamic fee hook (fee_tier is then the
|
|
1437
|
+
* 0x800000 sentinel, not a rate). Always false for V2/V3. Same field as
|
|
1438
|
+
* PoolSummary.is_dynamic_fee — read it instead of testing fee_tier.
|
|
1439
|
+
*
|
|
1440
|
+
* @generated from field: optional bool is_dynamic_fee = 41;
|
|
1441
|
+
*/
|
|
1442
|
+
isDynamicFee?: boolean;
|
|
1433
1443
|
constructor(data?: PartialMessage<Position>);
|
|
1434
1444
|
static readonly runtime: typeof proto3;
|
|
1435
1445
|
static readonly typeName = "uniswap.liquidity.v2.Position";
|
|
@@ -1494,12 +1494,6 @@ export class Position extends Message {
|
|
|
1494
1494
|
* @generated from field: int64 updated_at = 12;
|
|
1495
1495
|
*/
|
|
1496
1496
|
this.updatedAt = protoInt64.zero;
|
|
1497
|
-
/**
|
|
1498
|
-
* Unix seconds of the first indexed event that created this position.
|
|
1499
|
-
*
|
|
1500
|
-
* @generated from field: int64 created_at = 13;
|
|
1501
|
-
*/
|
|
1502
|
-
this.createdAt = protoInt64.zero;
|
|
1503
1497
|
/**
|
|
1504
1498
|
* Derived from the raw balance: OPEN while liquidity / lp_shares > 0.
|
|
1505
1499
|
*
|
|
@@ -1549,7 +1543,7 @@ Position.fields = proto3.util.newFieldList(() => [
|
|
|
1549
1543
|
{ no: 10, name: "lp_shares", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1550
1544
|
{ no: 11, name: "position_manager_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1551
1545
|
{ no: 12, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1552
|
-
{ no: 13, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64
|
|
1546
|
+
{ no: 13, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
1553
1547
|
{ no: 14, name: "status", kind: "enum", T: proto3.getEnumType(PositionStatus) },
|
|
1554
1548
|
{ no: 15, name: "token0_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1555
1549
|
{ no: 16, name: "token1_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
@@ -1577,6 +1571,7 @@ Position.fields = proto3.util.newFieldList(() => [
|
|
|
1577
1571
|
{ no: 38, name: "rewards", kind: "message", T: PositionReward, repeated: true },
|
|
1578
1572
|
{ no: 39, name: "total_apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1579
1573
|
{ no: 40, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1574
|
+
{ no: 41, name: "is_dynamic_fee", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1580
1575
|
]);
|
|
1581
1576
|
/**
|
|
1582
1577
|
* A wallet's positions collapsed by token pair, returned by GetWalletPositions
|