@uniswap/client-trading 0.5.15 → 0.5.16
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.
|
@@ -2700,6 +2700,10 @@ export declare class ClassicQuote extends Message<ClassicQuote> {
|
|
|
2700
2700
|
* @generated from field: repeated trading.v1.RouteCandidate route_candidates = 27;
|
|
2701
2701
|
*/
|
|
2702
2702
|
routeCandidates: RouteCandidate[];
|
|
2703
|
+
/**
|
|
2704
|
+
* @generated from field: optional double price_difference = 28;
|
|
2705
|
+
*/
|
|
2706
|
+
priceDifference?: number;
|
|
2703
2707
|
constructor(data?: PartialMessage<ClassicQuote>);
|
|
2704
2708
|
static readonly runtime: typeof proto3;
|
|
2705
2709
|
static readonly typeName = "trading.v1.ClassicQuote";
|
|
@@ -3723,6 +3727,10 @@ export declare class WrapUnwrapQuote extends Message<WrapUnwrapQuote> {
|
|
|
3723
3727
|
* @generated from field: optional string max_priority_fee_per_gas = 13;
|
|
3724
3728
|
*/
|
|
3725
3729
|
maxPriorityFeePerGas?: string;
|
|
3730
|
+
/**
|
|
3731
|
+
* @generated from field: optional double price_difference = 15;
|
|
3732
|
+
*/
|
|
3733
|
+
priceDifference?: number;
|
|
3726
3734
|
constructor(data?: PartialMessage<WrapUnwrapQuote>);
|
|
3727
3735
|
static readonly runtime: typeof proto3;
|
|
3728
3736
|
static readonly typeName = "trading.v1.WrapUnwrapQuote";
|
|
@@ -5169,6 +5177,10 @@ export declare class BridgeQuote extends Message<BridgeQuote> {
|
|
|
5169
5177
|
* @generated from field: repeated trading.v1.GasEstimate gas_estimates = 19;
|
|
5170
5178
|
*/
|
|
5171
5179
|
gasEstimates: GasEstimate[];
|
|
5180
|
+
/**
|
|
5181
|
+
* @generated from field: optional double price_difference = 21;
|
|
5182
|
+
*/
|
|
5183
|
+
priceDifference?: number;
|
|
5172
5184
|
constructor(data?: PartialMessage<BridgeQuote>);
|
|
5173
5185
|
static readonly runtime: typeof proto3;
|
|
5174
5186
|
static readonly typeName = "trading.v1.BridgeQuote";
|
|
@@ -5413,6 +5425,10 @@ export declare class DutchLimitV2Quote extends Message<DutchLimitV2Quote> {
|
|
|
5413
5425
|
* @generated from field: trading.v1.QuoteOutput output = 13;
|
|
5414
5426
|
*/
|
|
5415
5427
|
output?: QuoteOutput;
|
|
5428
|
+
/**
|
|
5429
|
+
* @generated from field: optional double price_difference = 14;
|
|
5430
|
+
*/
|
|
5431
|
+
priceDifference?: number;
|
|
5416
5432
|
constructor(data?: PartialMessage<DutchLimitV2Quote>);
|
|
5417
5433
|
static readonly runtime: typeof proto3;
|
|
5418
5434
|
static readonly typeName = "trading.v1.DutchLimitV2Quote";
|
|
@@ -5543,6 +5559,10 @@ export declare class DutchLimitV3Quote extends Message<DutchLimitV3Quote> {
|
|
|
5543
5559
|
* @generated from field: trading.v1.QuoteOutput output = 15;
|
|
5544
5560
|
*/
|
|
5545
5561
|
output?: QuoteOutput;
|
|
5562
|
+
/**
|
|
5563
|
+
* @generated from field: optional double price_difference = 16;
|
|
5564
|
+
*/
|
|
5565
|
+
priceDifference?: number;
|
|
5546
5566
|
constructor(data?: PartialMessage<DutchLimitV3Quote>);
|
|
5547
5567
|
static readonly runtime: typeof proto3;
|
|
5548
5568
|
static readonly typeName = "trading.v1.DutchLimitV3Quote";
|
|
@@ -5846,6 +5866,10 @@ export declare class PriorityQuote extends Message<PriorityQuote> {
|
|
|
5846
5866
|
* @generated from field: trading.v1.QuoteOutput output = 15;
|
|
5847
5867
|
*/
|
|
5848
5868
|
output?: QuoteOutput;
|
|
5869
|
+
/**
|
|
5870
|
+
* @generated from field: optional double price_difference = 16;
|
|
5871
|
+
*/
|
|
5872
|
+
priceDifference?: number;
|
|
5849
5873
|
constructor(data?: PartialMessage<PriorityQuote>);
|
|
5850
5874
|
static readonly runtime: typeof proto3;
|
|
5851
5875
|
static readonly typeName = "trading.v1.PriorityQuote";
|
|
@@ -5883,6 +5907,10 @@ export declare class TruncatedPlanStep extends Message<TruncatedPlanStep> {
|
|
|
5883
5907
|
* @generated from field: optional double slippage = 6;
|
|
5884
5908
|
*/
|
|
5885
5909
|
slippage?: number;
|
|
5910
|
+
/**
|
|
5911
|
+
* @generated from field: optional double price_difference = 7;
|
|
5912
|
+
*/
|
|
5913
|
+
priceDifference?: number;
|
|
5886
5914
|
constructor(data?: PartialMessage<TruncatedPlanStep>);
|
|
5887
5915
|
static readonly runtime: typeof proto3;
|
|
5888
5916
|
static readonly typeName = "trading.v1.TruncatedPlanStep";
|
|
@@ -5980,6 +6008,10 @@ export declare class ChainedQuote extends Message<ChainedQuote> {
|
|
|
5980
6008
|
* @generated from field: optional trading.v1.EarnPreview earn_preview = 21;
|
|
5981
6009
|
*/
|
|
5982
6010
|
earnPreview?: EarnPreview;
|
|
6011
|
+
/**
|
|
6012
|
+
* @generated from field: optional double price_difference = 22;
|
|
6013
|
+
*/
|
|
6014
|
+
priceDifference?: number;
|
|
5983
6015
|
constructor(data?: PartialMessage<ChainedQuote>);
|
|
5984
6016
|
static readonly runtime: typeof proto3;
|
|
5985
6017
|
static readonly typeName = "trading.v1.ChainedQuote";
|
|
@@ -3153,6 +3153,7 @@ ClassicQuote.fields = proto3.util.newFieldList(() => [
|
|
|
3153
3153
|
{ no: 24, name: "portion_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
3154
3154
|
{ no: 26, name: "swap_steps", kind: "message", T: SwapStep, repeated: true },
|
|
3155
3155
|
{ no: 27, name: "route_candidates", kind: "message", T: RouteCandidate, repeated: true },
|
|
3156
|
+
{ no: 28, name: "price_difference", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
3156
3157
|
]);
|
|
3157
3158
|
/**
|
|
3158
3159
|
* A quoted route candidate with its whole-route (not per-hop) amounts.
|
|
@@ -4464,6 +4465,7 @@ WrapUnwrapQuote.fields = proto3.util.newFieldList(() => [
|
|
|
4464
4465
|
{ no: 11, name: "gas_price", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
4465
4466
|
{ no: 12, name: "max_fee_per_gas", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
4466
4467
|
{ no: 13, name: "max_priority_fee_per_gas", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
4468
|
+
{ no: 15, name: "price_difference", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
4467
4469
|
]);
|
|
4468
4470
|
/**
|
|
4469
4471
|
* @generated from message trading.v1.SwapRequest
|
|
@@ -6091,6 +6093,7 @@ BridgeQuote.fields = proto3.util.newFieldList(() => [
|
|
|
6091
6093
|
{ no: 17, name: "fill_deadline", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
6092
6094
|
{ no: 18, name: "gas_fee_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
6093
6095
|
{ no: 19, name: "gas_estimates", kind: "message", T: GasEstimate, repeated: true },
|
|
6096
|
+
{ no: 21, name: "price_difference", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
6094
6097
|
]);
|
|
6095
6098
|
/**
|
|
6096
6099
|
* @generated from message trading.v1.DutchLimitOrderInfo
|
|
@@ -6355,6 +6358,7 @@ DutchLimitV2Quote.fields = proto3.util.newFieldList(() => [
|
|
|
6355
6358
|
{ no: 11, name: "portion_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
6356
6359
|
{ no: 12, name: "input", kind: "message", T: QuoteInput },
|
|
6357
6360
|
{ no: 13, name: "output", kind: "message", T: QuoteOutput },
|
|
6361
|
+
{ no: 14, name: "price_difference", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
6358
6362
|
]);
|
|
6359
6363
|
/**
|
|
6360
6364
|
* @generated from message trading.v1.DutchLimitV3OrderInfo
|
|
@@ -6491,6 +6495,7 @@ DutchLimitV3Quote.fields = proto3.util.newFieldList(() => [
|
|
|
6491
6495
|
{ no: 13, name: "portion_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
6492
6496
|
{ no: 14, name: "input", kind: "message", T: QuoteInput },
|
|
6493
6497
|
{ no: 15, name: "output", kind: "message", T: QuoteOutput },
|
|
6498
|
+
{ no: 16, name: "price_difference", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
6494
6499
|
]);
|
|
6495
6500
|
/**
|
|
6496
6501
|
* @generated from message trading.v1.CheckApprovalRequest
|
|
@@ -6835,6 +6840,7 @@ PriorityQuote.fields = proto3.util.newFieldList(() => [
|
|
|
6835
6840
|
{ no: 13, name: "portion_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
6836
6841
|
{ no: 14, name: "input", kind: "message", T: QuoteInput },
|
|
6837
6842
|
{ no: 15, name: "output", kind: "message", T: QuoteOutput },
|
|
6843
|
+
{ no: 16, name: "price_difference", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
6838
6844
|
]);
|
|
6839
6845
|
/**
|
|
6840
6846
|
* @generated from message trading.v1.TruncatedPlanStep
|
|
@@ -6870,6 +6876,7 @@ TruncatedPlanStep.fields = proto3.util.newFieldList(() => [
|
|
|
6870
6876
|
{ no: 4, name: "token_out", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
6871
6877
|
{ no: 5, name: "token_out_chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
6872
6878
|
{ no: 6, name: "slippage", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
6879
|
+
{ no: 7, name: "price_difference", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
6873
6880
|
]);
|
|
6874
6881
|
/**
|
|
6875
6882
|
* @generated from message trading.v1.ChainedQuote
|
|
@@ -6948,6 +6955,7 @@ ChainedQuote.fields = proto3.util.newFieldList(() => [
|
|
|
6948
6955
|
{ no: 19, name: "compound_slippage", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
6949
6956
|
{ no: 20, name: "earn_intent", kind: "message", T: EarnQuoteIntent, opt: true },
|
|
6950
6957
|
{ no: 21, name: "earn_preview", kind: "message", T: EarnPreview, opt: true },
|
|
6958
|
+
{ no: 22, name: "price_difference", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
6951
6959
|
]);
|
|
6952
6960
|
/**
|
|
6953
6961
|
* @generated from message trading.v1.PermitTransferFromData
|