@uniswap/client-trading 0.5.13 → 0.5.15

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.
@@ -1526,9 +1526,12 @@ export declare class ChainContractAddress extends Message<ChainContractAddress>
1526
1526
  */
1527
1527
  name: string;
1528
1528
  /**
1529
- * @generated from field: string version = 2;
1529
+ * Set only where it distinguishes deployments: release lines
1530
+ * (UniversalRouter, CaliburEntry) and same-named contracts (Quoter V3/V4).
1531
+ *
1532
+ * @generated from field: optional string version = 2;
1530
1533
  */
1531
- version: string;
1534
+ version?: string;
1532
1535
  /**
1533
1536
  * @generated from field: string address = 3;
1534
1537
  */
@@ -2959,6 +2962,10 @@ export declare class V4Settle extends Message<V4Settle> {
2959
2962
  * @generated from field: string amount = 2;
2960
2963
  */
2961
2964
  amount: string;
2965
+ /**
2966
+ * @generated from field: bool payer_is_user = 3;
2967
+ */
2968
+ payerIsUser: boolean;
2962
2969
  constructor(data?: PartialMessage<V4Settle>);
2963
2970
  static readonly runtime: typeof proto3;
2964
2971
  static readonly typeName = "trading.v1.V4Settle";
@@ -3158,6 +3165,10 @@ export declare class V2SwapExactInStep extends Message<V2SwapExactInStep> {
3158
3165
  * @generated from field: repeated string min_hop_price_x36 = 5;
3159
3166
  */
3160
3167
  minHopPriceX36: string[];
3168
+ /**
3169
+ * @generated from field: bool payer_is_user = 6;
3170
+ */
3171
+ payerIsUser: boolean;
3161
3172
  constructor(data?: PartialMessage<V2SwapExactInStep>);
3162
3173
  static readonly runtime: typeof proto3;
3163
3174
  static readonly typeName = "trading.v1.V2SwapExactInStep";
@@ -3191,6 +3202,10 @@ export declare class V2SwapExactOutStep extends Message<V2SwapExactOutStep> {
3191
3202
  * @generated from field: repeated string min_hop_price_x36 = 5;
3192
3203
  */
3193
3204
  minHopPriceX36: string[];
3205
+ /**
3206
+ * @generated from field: bool payer_is_user = 6;
3207
+ */
3208
+ payerIsUser: boolean;
3194
3209
  constructor(data?: PartialMessage<V2SwapExactOutStep>);
3195
3210
  static readonly runtime: typeof proto3;
3196
3211
  static readonly typeName = "trading.v1.V2SwapExactOutStep";
@@ -3224,6 +3239,10 @@ export declare class V3SwapExactInStep extends Message<V3SwapExactInStep> {
3224
3239
  * @generated from field: repeated string min_hop_price_x36 = 5;
3225
3240
  */
3226
3241
  minHopPriceX36: string[];
3242
+ /**
3243
+ * @generated from field: bool payer_is_user = 6;
3244
+ */
3245
+ payerIsUser: boolean;
3227
3246
  constructor(data?: PartialMessage<V3SwapExactInStep>);
3228
3247
  static readonly runtime: typeof proto3;
3229
3248
  static readonly typeName = "trading.v1.V3SwapExactInStep";
@@ -3257,6 +3276,10 @@ export declare class V3SwapExactOutStep extends Message<V3SwapExactOutStep> {
3257
3276
  * @generated from field: repeated string min_hop_price_x36 = 5;
3258
3277
  */
3259
3278
  minHopPriceX36: string[];
3279
+ /**
3280
+ * @generated from field: bool payer_is_user = 6;
3281
+ */
3282
+ payerIsUser: boolean;
3260
3283
  constructor(data?: PartialMessage<V3SwapExactOutStep>);
3261
3284
  static readonly runtime: typeof proto3;
3262
3285
  static readonly typeName = "trading.v1.V3SwapExactOutStep";
@@ -1900,10 +1900,6 @@ export class ChainContractAddress extends Message {
1900
1900
  * @generated from field: string name = 1;
1901
1901
  */
1902
1902
  this.name = "";
1903
- /**
1904
- * @generated from field: string version = 2;
1905
- */
1906
- this.version = "";
1907
1903
  /**
1908
1904
  * @generated from field: string address = 3;
1909
1905
  */
@@ -1927,7 +1923,7 @@ ChainContractAddress.runtime = proto3;
1927
1923
  ChainContractAddress.typeName = "trading.v1.ChainContractAddress";
1928
1924
  ChainContractAddress.fields = proto3.util.newFieldList(() => [
1929
1925
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1930
- { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1926
+ { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1931
1927
  { no: 3, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1932
1928
  ]);
1933
1929
  /**
@@ -3510,6 +3506,10 @@ export class V4Settle extends Message {
3510
3506
  * @generated from field: string amount = 2;
3511
3507
  */
3512
3508
  this.amount = "";
3509
+ /**
3510
+ * @generated from field: bool payer_is_user = 3;
3511
+ */
3512
+ this.payerIsUser = false;
3513
3513
  proto3.util.initPartial(data, this);
3514
3514
  }
3515
3515
  static fromBinary(bytes, options) {
@@ -3530,6 +3530,7 @@ V4Settle.typeName = "trading.v1.V4Settle";
3530
3530
  V4Settle.fields = proto3.util.newFieldList(() => [
3531
3531
  { no: 1, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3532
3532
  { no: 2, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3533
+ { no: 3, name: "payer_is_user", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3533
3534
  ]);
3534
3535
  /**
3535
3536
  * @generated from message trading.v1.V4SettleAll
@@ -3745,6 +3746,10 @@ export class V2SwapExactInStep extends Message {
3745
3746
  * @generated from field: repeated string min_hop_price_x36 = 5;
3746
3747
  */
3747
3748
  this.minHopPriceX36 = [];
3749
+ /**
3750
+ * @generated from field: bool payer_is_user = 6;
3751
+ */
3752
+ this.payerIsUser = false;
3748
3753
  proto3.util.initPartial(data, this);
3749
3754
  }
3750
3755
  static fromBinary(bytes, options) {
@@ -3768,6 +3773,7 @@ V2SwapExactInStep.fields = proto3.util.newFieldList(() => [
3768
3773
  { no: 3, name: "amount_out_min", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3769
3774
  { no: 4, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3770
3775
  { no: 5, name: "min_hop_price_x36", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3776
+ { no: 6, name: "payer_is_user", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3771
3777
  ]);
3772
3778
  /**
3773
3779
  * @generated from message trading.v1.V2SwapExactOutStep
@@ -3795,6 +3801,10 @@ export class V2SwapExactOutStep extends Message {
3795
3801
  * @generated from field: repeated string min_hop_price_x36 = 5;
3796
3802
  */
3797
3803
  this.minHopPriceX36 = [];
3804
+ /**
3805
+ * @generated from field: bool payer_is_user = 6;
3806
+ */
3807
+ this.payerIsUser = false;
3798
3808
  proto3.util.initPartial(data, this);
3799
3809
  }
3800
3810
  static fromBinary(bytes, options) {
@@ -3818,6 +3828,7 @@ V2SwapExactOutStep.fields = proto3.util.newFieldList(() => [
3818
3828
  { no: 3, name: "amount_in_max", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3819
3829
  { no: 4, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3820
3830
  { no: 5, name: "min_hop_price_x36", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3831
+ { no: 6, name: "payer_is_user", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3821
3832
  ]);
3822
3833
  /**
3823
3834
  * @generated from message trading.v1.V3SwapExactInStep
@@ -3845,6 +3856,10 @@ export class V3SwapExactInStep extends Message {
3845
3856
  * @generated from field: repeated string min_hop_price_x36 = 5;
3846
3857
  */
3847
3858
  this.minHopPriceX36 = [];
3859
+ /**
3860
+ * @generated from field: bool payer_is_user = 6;
3861
+ */
3862
+ this.payerIsUser = false;
3848
3863
  proto3.util.initPartial(data, this);
3849
3864
  }
3850
3865
  static fromBinary(bytes, options) {
@@ -3868,6 +3883,7 @@ V3SwapExactInStep.fields = proto3.util.newFieldList(() => [
3868
3883
  { no: 3, name: "amount_out_min", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3869
3884
  { no: 4, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3870
3885
  { no: 5, name: "min_hop_price_x36", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3886
+ { no: 6, name: "payer_is_user", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3871
3887
  ]);
3872
3888
  /**
3873
3889
  * @generated from message trading.v1.V3SwapExactOutStep
@@ -3895,6 +3911,10 @@ export class V3SwapExactOutStep extends Message {
3895
3911
  * @generated from field: repeated string min_hop_price_x36 = 5;
3896
3912
  */
3897
3913
  this.minHopPriceX36 = [];
3914
+ /**
3915
+ * @generated from field: bool payer_is_user = 6;
3916
+ */
3917
+ this.payerIsUser = false;
3898
3918
  proto3.util.initPartial(data, this);
3899
3919
  }
3900
3920
  static fromBinary(bytes, options) {
@@ -3918,6 +3938,7 @@ V3SwapExactOutStep.fields = proto3.util.newFieldList(() => [
3918
3938
  { no: 3, name: "amount_in_max", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3919
3939
  { no: 4, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3920
3940
  { no: 5, name: "min_hop_price_x36", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
3941
+ { no: 6, name: "payer_is_user", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3921
3942
  ]);
3922
3943
  /**
3923
3944
  * @generated from message trading.v1.V4SwapStepInner
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.5.13",
3
+ "version": "0.5.15",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },