@uniswap/client-trading 0.10.0 → 0.11.0
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.
|
@@ -2252,6 +2252,18 @@ export declare class QuoteRequest extends Message<QuoteRequest> {
|
|
|
2252
2252
|
* @generated from field: optional bool include_route_candidates = 25;
|
|
2253
2253
|
*/
|
|
2254
2254
|
includeRouteCandidates?: boolean;
|
|
2255
|
+
/**
|
|
2256
|
+
* Input funding source: unset = the user's wallet, "UR" = the router's own balance. Counts as an explicit calldata request.
|
|
2257
|
+
*
|
|
2258
|
+
* @generated from field: optional string swap_source = 26;
|
|
2259
|
+
*/
|
|
2260
|
+
swapSource?: string;
|
|
2261
|
+
/**
|
|
2262
|
+
* Balance-swap only: caller asserts `amount` is guaranteed, so an on-chain input floor is emitted. Leave unset for estimates.
|
|
2263
|
+
*
|
|
2264
|
+
* @generated from field: optional bool enforce_exact_in = 27;
|
|
2265
|
+
*/
|
|
2266
|
+
enforceExactIn?: boolean;
|
|
2255
2267
|
constructor(data?: PartialMessage<QuoteRequest>);
|
|
2256
2268
|
static readonly runtime: typeof proto3;
|
|
2257
2269
|
static readonly typeName = "trading.v1.QuoteRequest";
|
|
@@ -4186,6 +4198,16 @@ export declare class SwapRequest extends Message<SwapRequest> {
|
|
|
4186
4198
|
* @generated from field: optional trading.v1.WalletExecutionContext wallet_execution_context = 15;
|
|
4187
4199
|
*/
|
|
4188
4200
|
walletExecutionContext?: WalletExecutionContext;
|
|
4201
|
+
/**
|
|
4202
|
+
* Balance-swap mode, mirroring the /quote fields of the same name.
|
|
4203
|
+
*
|
|
4204
|
+
* @generated from field: optional string swap_source = 16;
|
|
4205
|
+
*/
|
|
4206
|
+
swapSource?: string;
|
|
4207
|
+
/**
|
|
4208
|
+
* @generated from field: optional bool enforce_exact_in = 17;
|
|
4209
|
+
*/
|
|
4210
|
+
enforceExactIn?: boolean;
|
|
4189
4211
|
constructor(data?: PartialMessage<SwapRequest>);
|
|
4190
4212
|
static readonly runtime: typeof proto3;
|
|
4191
4213
|
static readonly typeName = "trading.v1.SwapRequest";
|
|
@@ -2829,6 +2829,8 @@ QuoteRequest.fields = proto3.util.newFieldList(() => [
|
|
|
2829
2829
|
{ no: 23, name: "urgency_overrides", kind: "message", T: UrgencyWithOverrides, opt: true },
|
|
2830
2830
|
{ no: 24, name: "earn_intent", kind: "message", T: EarnIntent, opt: true },
|
|
2831
2831
|
{ no: 25, name: "include_route_candidates", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2832
|
+
{ no: 26, name: "swap_source", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2833
|
+
{ no: 27, name: "enforce_exact_in", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2832
2834
|
]);
|
|
2833
2835
|
/**
|
|
2834
2836
|
* @generated from message trading.v1.EarnIntent
|
|
@@ -5000,6 +5002,8 @@ SwapRequest.fields = proto3.util.newFieldList(() => [
|
|
|
5000
5002
|
{ no: 13, name: "include_gas_info", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
5001
5003
|
{ no: 14, name: "urgency_overrides", kind: "message", T: UrgencyWithOverrides, opt: true },
|
|
5002
5004
|
{ no: 15, name: "wallet_execution_context", kind: "message", T: WalletExecutionContext, opt: true },
|
|
5005
|
+
{ no: 16, name: "swap_source", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
5006
|
+
{ no: 17, name: "enforce_exact_in", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
5003
5007
|
]);
|
|
5004
5008
|
/**
|
|
5005
5009
|
* @generated from message trading.v1.SwapResponse
|