@uniswap/client-liquidity 1.4.39 → 1.4.41
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 +8 -0
- package/dist/uniswap/liquidity/v2/types_pb.js +1 -0
- 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 = "";
|
|
@@ -1430,6 +1430,14 @@ export declare class Position extends Message<Position> {
|
|
|
1430
1430
|
* @generated from field: optional uint32 protocol_fee = 40;
|
|
1431
1431
|
*/
|
|
1432
1432
|
protocolFee?: number;
|
|
1433
|
+
/**
|
|
1434
|
+
* V4 positions whose pool runs a dynamic fee hook (fee_tier is then the
|
|
1435
|
+
* 0x800000 sentinel, not a rate). Always false for V2/V3. Same field as
|
|
1436
|
+
* PoolSummary.is_dynamic_fee — read it instead of testing fee_tier.
|
|
1437
|
+
*
|
|
1438
|
+
* @generated from field: optional bool is_dynamic_fee = 41;
|
|
1439
|
+
*/
|
|
1440
|
+
isDynamicFee?: boolean;
|
|
1433
1441
|
constructor(data?: PartialMessage<Position>);
|
|
1434
1442
|
static readonly runtime: typeof proto3;
|
|
1435
1443
|
static readonly typeName = "uniswap.liquidity.v2.Position";
|
|
@@ -1577,6 +1577,7 @@ Position.fields = proto3.util.newFieldList(() => [
|
|
|
1577
1577
|
{ no: 38, name: "rewards", kind: "message", T: PositionReward, repeated: true },
|
|
1578
1578
|
{ no: 39, name: "total_apr", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1579
1579
|
{ no: 40, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1580
|
+
{ no: 41, name: "is_dynamic_fee", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1580
1581
|
]);
|
|
1581
1582
|
/**
|
|
1582
1583
|
* A wallet's positions collapsed by token pair, returned by GetWalletPositions
|