@uniswap/client-unirpc-v2 0.0.4 → 0.0.5

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.
@@ -181,7 +181,11 @@ export declare enum Chain {
181
181
  /**
182
182
  * @generated from enum value: CHAIN_LINEA = 59144;
183
183
  */
184
- LINEA = 59144
184
+ LINEA = 59144,
185
+ /**
186
+ * @generated from enum value: CHAIN_ARC = 5042;
187
+ */
188
+ ARC = 5042
185
189
  }
186
190
  /**
187
191
  * @generated from message uniswap.unirpc.v2.GasStrategy
@@ -233,17 +237,19 @@ export declare class GasStrategy extends Message<GasStrategy> {
233
237
  static equals(a: GasStrategy | PlainMessage<GasStrategy> | undefined, b: GasStrategy | PlainMessage<GasStrategy> | undefined): boolean;
234
238
  }
235
239
  /**
236
- * GasOverrides are caller-supplied caps applied on top of the server's
237
- * computed quote. Values are decimal-string wei (not Gwei) for full
238
- * precision. Each cap can only LOWER the quote, never raise it.
240
+ * GasOverrides are caller-supplied per-field substitutions for the
241
+ * server's computed quote. Values are decimal-string wei (not Gwei) for
242
+ * full precision. When supplied, each field is returned verbatim the
243
+ * server does NOT silently lower or raise. A non-overridden field falls
244
+ * back to the market quote (priority) or to baseFee + priority (maxFee).
245
+ * The server enforces the EVM invariant maxFee >= priority and returns
246
+ * InvalidGasOverrides (400 BadRequest) on violation.
239
247
  *
240
248
  * @generated from message uniswap.unirpc.v2.GasOverrides
241
249
  */
242
250
  export declare class GasOverrides extends Message<GasOverrides> {
243
251
  /**
244
- * Maximum priority fee (tip) the caller is willing to pay, in wei. If
245
- * the server's computed priority fee exceeds this, it is capped to this
246
- * value before being returned.
252
+ * Priority fee (tip), in wei. Returned verbatim when set.
247
253
  *
248
254
  * wei
249
255
  *
@@ -251,11 +257,9 @@ export declare class GasOverrides extends Message<GasOverrides> {
251
257
  */
252
258
  maxPriorityFeePerGas?: string;
253
259
  /**
254
- * Maximum total per-gas fee (= baseFee + priorityFee) the caller is
255
- * willing to pay, in wei. The server reduces priorityFee so that
256
- * baseFee + priorityFee does not exceed this cap (priorityFee is
257
- * floored at zero; if baseFee already exceeds this cap, the resulting
258
- * tx will not be includable on-chain, which is the caller's choice).
260
+ * Total per-gas fee (= baseFee + priorityFee), in wei. Returned
261
+ * verbatim when set. If set together with max_priority_fee_per_gas, the
262
+ * pair must satisfy maxFee >= priority or the request is rejected.
259
263
  *
260
264
  * wei
261
265
  *
@@ -274,7 +278,8 @@ export declare class GasOverrides extends Message<GasOverrides> {
274
278
  /**
275
279
  * Urgency is the high-level interface for selecting a fee tier. Each tier
276
280
  * tells the server "use your tuned defaults for this chain at this tier"
277
- * and may carry optional caller-supplied caps that the server honors.
281
+ * and may carry optional caller-supplied per-field overrides that the
282
+ * server returns verbatim.
278
283
  *
279
284
  * When `urgencies` is non-empty on EstimateGasFeeRequest, the server uses
280
285
  * the refactored fee calculation path; otherwise the legacy `gas_strategies`
@@ -194,6 +194,10 @@ export var Chain;
194
194
  * @generated from enum value: CHAIN_LINEA = 59144;
195
195
  */
196
196
  Chain[Chain["LINEA"] = 59144] = "LINEA";
197
+ /**
198
+ * @generated from enum value: CHAIN_ARC = 5042;
199
+ */
200
+ Chain[Chain["ARC"] = 5042] = "ARC";
197
201
  })(Chain || (Chain = {}));
198
202
  // Retrieve enum metadata with: proto3.getEnumType(Chain)
199
203
  proto3.util.setEnumType(Chain, "uniswap.unirpc.v2.Chain", [
@@ -234,6 +238,7 @@ proto3.util.setEnumType(Chain, "uniswap.unirpc.v2.Chain", [
234
238
  { no: 4326, name: "CHAIN_MEGAETH" },
235
239
  { no: 4217, name: "CHAIN_TEMPO" },
236
240
  { no: 59144, name: "CHAIN_LINEA" },
241
+ { no: 5042, name: "CHAIN_ARC" },
237
242
  ]);
238
243
  /**
239
244
  * @generated from message uniswap.unirpc.v2.GasStrategy
@@ -270,9 +275,13 @@ GasStrategy.fields = proto3.util.newFieldList(() => [
270
275
  { no: 9, name: "max_priority_fee_gwei", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
271
276
  ]);
272
277
  /**
273
- * GasOverrides are caller-supplied caps applied on top of the server's
274
- * computed quote. Values are decimal-string wei (not Gwei) for full
275
- * precision. Each cap can only LOWER the quote, never raise it.
278
+ * GasOverrides are caller-supplied per-field substitutions for the
279
+ * server's computed quote. Values are decimal-string wei (not Gwei) for
280
+ * full precision. When supplied, each field is returned verbatim the
281
+ * server does NOT silently lower or raise. A non-overridden field falls
282
+ * back to the market quote (priority) or to baseFee + priority (maxFee).
283
+ * The server enforces the EVM invariant maxFee >= priority and returns
284
+ * InvalidGasOverrides (400 BadRequest) on violation.
276
285
  *
277
286
  * @generated from message uniswap.unirpc.v2.GasOverrides
278
287
  */
@@ -303,7 +312,8 @@ GasOverrides.fields = proto3.util.newFieldList(() => [
303
312
  /**
304
313
  * Urgency is the high-level interface for selecting a fee tier. Each tier
305
314
  * tells the server "use your tuned defaults for this chain at this tier"
306
- * and may carry optional caller-supplied caps that the server honors.
315
+ * and may carry optional caller-supplied per-field overrides that the
316
+ * server returns verbatim.
307
317
  *
308
318
  * When `urgencies` is non-empty on EstimateGasFeeRequest, the server uses
309
319
  * the refactored fee calculation path; otherwise the legacy `gas_strategies`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-unirpc-v2",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },