@uniswap/client-liquidity 1.4.36 → 1.4.37

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.
@@ -217,7 +217,11 @@ export declare enum ValidationType {
217
217
  /**
218
218
  * @generated from enum value: ERC_1155_GATEWAY = 2;
219
219
  */
220
- ERC_1155_GATEWAY = 2
220
+ ERC_1155_GATEWAY = 2,
221
+ /**
222
+ * @generated from enum value: MAX_BID_PRICE = 3;
223
+ */
224
+ MAX_BID_PRICE = 3
221
225
  }
222
226
  /**
223
227
  * CORE TYPE OBJECTS
@@ -1942,6 +1946,31 @@ export declare class Erc1155GateData extends Message<Erc1155GateData> {
1942
1946
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Erc1155GateData;
1943
1947
  static equals(a: Erc1155GateData | PlainMessage<Erc1155GateData> | undefined, b: Erc1155GateData | PlainMessage<Erc1155GateData> | undefined): boolean;
1944
1948
  }
1949
+ /**
1950
+ * An auction-wide ceiling on the price a bid may be submitted at, enforced by a
1951
+ * validation hook exposing `maxBidPrice()`. Because the auction requires bids to be
1952
+ * strictly above the clearing price, no new bid can be placed once the clearing price
1953
+ * reaches this ceiling -- existing bids stay active and partially fill.
1954
+ *
1955
+ * @generated from message uniswap.liquidity.v1.MaxBidPriceData
1956
+ */
1957
+ export declare class MaxBidPriceData extends Message<MaxBidPriceData> {
1958
+ /**
1959
+ * The ceiling as a Q96 fixed-point price, in the auction's bid-currency units.
1960
+ * Decimal string because the value does not fit a uint64.
1961
+ *
1962
+ * @generated from field: string max_bid_price_q96 = 1;
1963
+ */
1964
+ maxBidPriceQ96: string;
1965
+ constructor(data?: PartialMessage<MaxBidPriceData>);
1966
+ static readonly runtime: typeof proto3;
1967
+ static readonly typeName = "uniswap.liquidity.v1.MaxBidPriceData";
1968
+ static readonly fields: FieldList;
1969
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MaxBidPriceData;
1970
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MaxBidPriceData;
1971
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MaxBidPriceData;
1972
+ static equals(a: MaxBidPriceData | PlainMessage<MaxBidPriceData> | undefined, b: MaxBidPriceData | PlainMessage<MaxBidPriceData> | undefined): boolean;
1973
+ }
1945
1974
  /**
1946
1975
  * @generated from message uniswap.liquidity.v1.AuctionValidation
1947
1976
  */
@@ -1965,11 +1994,21 @@ export declare class AuctionValidation extends Message<AuctionValidation> {
1965
1994
  */
1966
1995
  value: Erc1155GateData;
1967
1996
  case: "erc1155GateData";
1997
+ } | {
1998
+ /**
1999
+ * @generated from field: uniswap.liquidity.v1.MaxBidPriceData max_bid_price_data = 5;
2000
+ */
2001
+ value: MaxBidPriceData;
2002
+ case: "maxBidPriceData";
1968
2003
  } | {
1969
2004
  case: undefined;
1970
2005
  value?: undefined;
1971
2006
  };
1972
2007
  /**
2008
+ * Whether this validation permits the wallet to bid. Always true for MAX_BID_PRICE:
2009
+ * the ceiling is a property of the auction, not of the wallet, so it must not gate
2010
+ * wallet verification. Clients derive the "cap reached" state from the value itself.
2011
+ *
1973
2012
  * @generated from field: bool validation_passed = 4;
1974
2013
  */
1975
2014
  validationPassed: boolean;
@@ -288,12 +288,17 @@ export var ValidationType;
288
288
  * @generated from enum value: ERC_1155_GATEWAY = 2;
289
289
  */
290
290
  ValidationType[ValidationType["ERC_1155_GATEWAY"] = 2] = "ERC_1155_GATEWAY";
291
+ /**
292
+ * @generated from enum value: MAX_BID_PRICE = 3;
293
+ */
294
+ ValidationType[ValidationType["MAX_BID_PRICE"] = 3] = "MAX_BID_PRICE";
291
295
  })(ValidationType || (ValidationType = {}));
292
296
  // Retrieve enum metadata with: proto3.getEnumType(ValidationType)
293
297
  proto3.util.setEnumType(ValidationType, "uniswap.liquidity.v1.ValidationType", [
294
298
  { no: 0, name: "VALIDATION_TYPE_UNSPECIFIED" },
295
299
  { no: 1, name: "KYC_VERIFICATION" },
296
300
  { no: 2, name: "ERC_1155_GATEWAY" },
301
+ { no: 3, name: "MAX_BID_PRICE" },
297
302
  ]);
298
303
  /**
299
304
  * CORE TYPE OBJECTS
@@ -2200,6 +2205,44 @@ Erc1155GateData.typeName = "uniswap.liquidity.v1.Erc1155GateData";
2200
2205
  Erc1155GateData.fields = proto3.util.newFieldList(() => [
2201
2206
  { no: 1, name: "expiration_block", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2202
2207
  ]);
2208
+ /**
2209
+ * An auction-wide ceiling on the price a bid may be submitted at, enforced by a
2210
+ * validation hook exposing `maxBidPrice()`. Because the auction requires bids to be
2211
+ * strictly above the clearing price, no new bid can be placed once the clearing price
2212
+ * reaches this ceiling -- existing bids stay active and partially fill.
2213
+ *
2214
+ * @generated from message uniswap.liquidity.v1.MaxBidPriceData
2215
+ */
2216
+ export class MaxBidPriceData extends Message {
2217
+ constructor(data) {
2218
+ super();
2219
+ /**
2220
+ * The ceiling as a Q96 fixed-point price, in the auction's bid-currency units.
2221
+ * Decimal string because the value does not fit a uint64.
2222
+ *
2223
+ * @generated from field: string max_bid_price_q96 = 1;
2224
+ */
2225
+ this.maxBidPriceQ96 = "";
2226
+ proto3.util.initPartial(data, this);
2227
+ }
2228
+ static fromBinary(bytes, options) {
2229
+ return new MaxBidPriceData().fromBinary(bytes, options);
2230
+ }
2231
+ static fromJson(jsonValue, options) {
2232
+ return new MaxBidPriceData().fromJson(jsonValue, options);
2233
+ }
2234
+ static fromJsonString(jsonString, options) {
2235
+ return new MaxBidPriceData().fromJsonString(jsonString, options);
2236
+ }
2237
+ static equals(a, b) {
2238
+ return proto3.util.equals(MaxBidPriceData, a, b);
2239
+ }
2240
+ }
2241
+ MaxBidPriceData.runtime = proto3;
2242
+ MaxBidPriceData.typeName = "uniswap.liquidity.v1.MaxBidPriceData";
2243
+ MaxBidPriceData.fields = proto3.util.newFieldList(() => [
2244
+ { no: 1, name: "max_bid_price_q96", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2245
+ ]);
2203
2246
  /**
2204
2247
  * @generated from message uniswap.liquidity.v1.AuctionValidation
2205
2248
  */
@@ -2215,6 +2258,10 @@ export class AuctionValidation extends Message {
2215
2258
  */
2216
2259
  this.data = { case: undefined };
2217
2260
  /**
2261
+ * Whether this validation permits the wallet to bid. Always true for MAX_BID_PRICE:
2262
+ * the ceiling is a property of the auction, not of the wallet, so it must not gate
2263
+ * wallet verification. Clients derive the "cap reached" state from the value itself.
2264
+ *
2218
2265
  * @generated from field: bool validation_passed = 4;
2219
2266
  */
2220
2267
  this.validationPassed = false;
@@ -2239,5 +2286,6 @@ AuctionValidation.fields = proto3.util.newFieldList(() => [
2239
2286
  { no: 1, name: "validation_type", kind: "enum", T: proto3.getEnumType(ValidationType) },
2240
2287
  { no: 2, name: "kyc_verification_data", kind: "message", T: PredicateKycVerificationData, oneof: "data" },
2241
2288
  { no: 3, name: "erc_1155_gate_data", kind: "message", T: Erc1155GateData, oneof: "data" },
2289
+ { no: 5, name: "max_bid_price_data", kind: "message", T: MaxBidPriceData, oneof: "data" },
2242
2290
  { no: 4, name: "validation_passed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2243
2291
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-liquidity",
3
- "version": "1.4.36",
3
+ "version": "1.4.37",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },