@uniswap/client-unirpc-v2 0.0.4 → 0.0.6

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,15 @@ 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,
189
+ /**
190
+ * @generated from enum value: CHAIN_ROBINHOOD = 4663;
191
+ */
192
+ ROBINHOOD = 4663
185
193
  }
186
194
  /**
187
195
  * @generated from message uniswap.unirpc.v2.GasStrategy
@@ -233,17 +241,19 @@ export declare class GasStrategy extends Message<GasStrategy> {
233
241
  static equals(a: GasStrategy | PlainMessage<GasStrategy> | undefined, b: GasStrategy | PlainMessage<GasStrategy> | undefined): boolean;
234
242
  }
235
243
  /**
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.
244
+ * GasOverrides are caller-supplied per-field substitutions for the
245
+ * server's computed quote. Values are decimal-string wei (not Gwei) for
246
+ * full precision. When supplied, each field is returned verbatim the
247
+ * server does NOT silently lower or raise. A non-overridden field falls
248
+ * back to the market quote (priority) or to baseFee + priority (maxFee).
249
+ * The server enforces the EVM invariant maxFee >= priority and returns
250
+ * InvalidGasOverrides (400 BadRequest) on violation.
239
251
  *
240
252
  * @generated from message uniswap.unirpc.v2.GasOverrides
241
253
  */
242
254
  export declare class GasOverrides extends Message<GasOverrides> {
243
255
  /**
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.
256
+ * Priority fee (tip), in wei. Returned verbatim when set.
247
257
  *
248
258
  * wei
249
259
  *
@@ -251,11 +261,9 @@ export declare class GasOverrides extends Message<GasOverrides> {
251
261
  */
252
262
  maxPriorityFeePerGas?: string;
253
263
  /**
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).
264
+ * Total per-gas fee (= baseFee + priorityFee), in wei. Returned
265
+ * verbatim when set. If set together with max_priority_fee_per_gas, the
266
+ * pair must satisfy maxFee >= priority or the request is rejected.
259
267
  *
260
268
  * wei
261
269
  *
@@ -274,7 +282,8 @@ export declare class GasOverrides extends Message<GasOverrides> {
274
282
  /**
275
283
  * Urgency is the high-level interface for selecting a fee tier. Each tier
276
284
  * 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.
285
+ * and may carry optional caller-supplied per-field overrides that the
286
+ * server returns verbatim.
278
287
  *
279
288
  * When `urgencies` is non-empty on EstimateGasFeeRequest, the server uses
280
289
  * the refactored fee calculation path; otherwise the legacy `gas_strategies`
@@ -194,6 +194,14 @@ 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";
201
+ /**
202
+ * @generated from enum value: CHAIN_ROBINHOOD = 4663;
203
+ */
204
+ Chain[Chain["ROBINHOOD"] = 4663] = "ROBINHOOD";
197
205
  })(Chain || (Chain = {}));
198
206
  // Retrieve enum metadata with: proto3.getEnumType(Chain)
199
207
  proto3.util.setEnumType(Chain, "uniswap.unirpc.v2.Chain", [
@@ -234,6 +242,8 @@ proto3.util.setEnumType(Chain, "uniswap.unirpc.v2.Chain", [
234
242
  { no: 4326, name: "CHAIN_MEGAETH" },
235
243
  { no: 4217, name: "CHAIN_TEMPO" },
236
244
  { no: 59144, name: "CHAIN_LINEA" },
245
+ { no: 5042, name: "CHAIN_ARC" },
246
+ { no: 4663, name: "CHAIN_ROBINHOOD" },
237
247
  ]);
238
248
  /**
239
249
  * @generated from message uniswap.unirpc.v2.GasStrategy
@@ -270,9 +280,13 @@ GasStrategy.fields = proto3.util.newFieldList(() => [
270
280
  { no: 9, name: "max_priority_fee_gwei", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
271
281
  ]);
272
282
  /**
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.
283
+ * GasOverrides are caller-supplied per-field substitutions for the
284
+ * server's computed quote. Values are decimal-string wei (not Gwei) for
285
+ * full precision. When supplied, each field is returned verbatim the
286
+ * server does NOT silently lower or raise. A non-overridden field falls
287
+ * back to the market quote (priority) or to baseFee + priority (maxFee).
288
+ * The server enforces the EVM invariant maxFee >= priority and returns
289
+ * InvalidGasOverrides (400 BadRequest) on violation.
276
290
  *
277
291
  * @generated from message uniswap.unirpc.v2.GasOverrides
278
292
  */
@@ -303,7 +317,8 @@ GasOverrides.fields = proto3.util.newFieldList(() => [
303
317
  /**
304
318
  * Urgency is the high-level interface for selecting a fee tier. Each tier
305
319
  * 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.
320
+ * and may carry optional caller-supplied per-field overrides that the
321
+ * server returns verbatim.
307
322
  *
308
323
  * When `urgencies` is non-empty on EstimateGasFeeRequest, the server uses
309
324
  * 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.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },