@uniswap/client-trading 0.5.14 → 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.
- package/dist/trading/v1/api_pb.d.ts +20 -0
- package/dist/trading/v1/api_pb.js +25 -0
- package/package.json +1 -1
|
@@ -2962,6 +2962,10 @@ export declare class V4Settle extends Message<V4Settle> {
|
|
|
2962
2962
|
* @generated from field: string amount = 2;
|
|
2963
2963
|
*/
|
|
2964
2964
|
amount: string;
|
|
2965
|
+
/**
|
|
2966
|
+
* @generated from field: bool payer_is_user = 3;
|
|
2967
|
+
*/
|
|
2968
|
+
payerIsUser: boolean;
|
|
2965
2969
|
constructor(data?: PartialMessage<V4Settle>);
|
|
2966
2970
|
static readonly runtime: typeof proto3;
|
|
2967
2971
|
static readonly typeName = "trading.v1.V4Settle";
|
|
@@ -3161,6 +3165,10 @@ export declare class V2SwapExactInStep extends Message<V2SwapExactInStep> {
|
|
|
3161
3165
|
* @generated from field: repeated string min_hop_price_x36 = 5;
|
|
3162
3166
|
*/
|
|
3163
3167
|
minHopPriceX36: string[];
|
|
3168
|
+
/**
|
|
3169
|
+
* @generated from field: bool payer_is_user = 6;
|
|
3170
|
+
*/
|
|
3171
|
+
payerIsUser: boolean;
|
|
3164
3172
|
constructor(data?: PartialMessage<V2SwapExactInStep>);
|
|
3165
3173
|
static readonly runtime: typeof proto3;
|
|
3166
3174
|
static readonly typeName = "trading.v1.V2SwapExactInStep";
|
|
@@ -3194,6 +3202,10 @@ export declare class V2SwapExactOutStep extends Message<V2SwapExactOutStep> {
|
|
|
3194
3202
|
* @generated from field: repeated string min_hop_price_x36 = 5;
|
|
3195
3203
|
*/
|
|
3196
3204
|
minHopPriceX36: string[];
|
|
3205
|
+
/**
|
|
3206
|
+
* @generated from field: bool payer_is_user = 6;
|
|
3207
|
+
*/
|
|
3208
|
+
payerIsUser: boolean;
|
|
3197
3209
|
constructor(data?: PartialMessage<V2SwapExactOutStep>);
|
|
3198
3210
|
static readonly runtime: typeof proto3;
|
|
3199
3211
|
static readonly typeName = "trading.v1.V2SwapExactOutStep";
|
|
@@ -3227,6 +3239,10 @@ export declare class V3SwapExactInStep extends Message<V3SwapExactInStep> {
|
|
|
3227
3239
|
* @generated from field: repeated string min_hop_price_x36 = 5;
|
|
3228
3240
|
*/
|
|
3229
3241
|
minHopPriceX36: string[];
|
|
3242
|
+
/**
|
|
3243
|
+
* @generated from field: bool payer_is_user = 6;
|
|
3244
|
+
*/
|
|
3245
|
+
payerIsUser: boolean;
|
|
3230
3246
|
constructor(data?: PartialMessage<V3SwapExactInStep>);
|
|
3231
3247
|
static readonly runtime: typeof proto3;
|
|
3232
3248
|
static readonly typeName = "trading.v1.V3SwapExactInStep";
|
|
@@ -3260,6 +3276,10 @@ export declare class V3SwapExactOutStep extends Message<V3SwapExactOutStep> {
|
|
|
3260
3276
|
* @generated from field: repeated string min_hop_price_x36 = 5;
|
|
3261
3277
|
*/
|
|
3262
3278
|
minHopPriceX36: string[];
|
|
3279
|
+
/**
|
|
3280
|
+
* @generated from field: bool payer_is_user = 6;
|
|
3281
|
+
*/
|
|
3282
|
+
payerIsUser: boolean;
|
|
3263
3283
|
constructor(data?: PartialMessage<V3SwapExactOutStep>);
|
|
3264
3284
|
static readonly runtime: typeof proto3;
|
|
3265
3285
|
static readonly typeName = "trading.v1.V3SwapExactOutStep";
|
|
@@ -3506,6 +3506,10 @@ export class V4Settle extends Message {
|
|
|
3506
3506
|
* @generated from field: string amount = 2;
|
|
3507
3507
|
*/
|
|
3508
3508
|
this.amount = "";
|
|
3509
|
+
/**
|
|
3510
|
+
* @generated from field: bool payer_is_user = 3;
|
|
3511
|
+
*/
|
|
3512
|
+
this.payerIsUser = false;
|
|
3509
3513
|
proto3.util.initPartial(data, this);
|
|
3510
3514
|
}
|
|
3511
3515
|
static fromBinary(bytes, options) {
|
|
@@ -3526,6 +3530,7 @@ V4Settle.typeName = "trading.v1.V4Settle";
|
|
|
3526
3530
|
V4Settle.fields = proto3.util.newFieldList(() => [
|
|
3527
3531
|
{ no: 1, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3528
3532
|
{ no: 2, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3533
|
+
{ no: 3, name: "payer_is_user", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
3529
3534
|
]);
|
|
3530
3535
|
/**
|
|
3531
3536
|
* @generated from message trading.v1.V4SettleAll
|
|
@@ -3741,6 +3746,10 @@ export class V2SwapExactInStep extends Message {
|
|
|
3741
3746
|
* @generated from field: repeated string min_hop_price_x36 = 5;
|
|
3742
3747
|
*/
|
|
3743
3748
|
this.minHopPriceX36 = [];
|
|
3749
|
+
/**
|
|
3750
|
+
* @generated from field: bool payer_is_user = 6;
|
|
3751
|
+
*/
|
|
3752
|
+
this.payerIsUser = false;
|
|
3744
3753
|
proto3.util.initPartial(data, this);
|
|
3745
3754
|
}
|
|
3746
3755
|
static fromBinary(bytes, options) {
|
|
@@ -3764,6 +3773,7 @@ V2SwapExactInStep.fields = proto3.util.newFieldList(() => [
|
|
|
3764
3773
|
{ no: 3, name: "amount_out_min", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3765
3774
|
{ no: 4, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
3766
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 */ },
|
|
3767
3777
|
]);
|
|
3768
3778
|
/**
|
|
3769
3779
|
* @generated from message trading.v1.V2SwapExactOutStep
|
|
@@ -3791,6 +3801,10 @@ export class V2SwapExactOutStep extends Message {
|
|
|
3791
3801
|
* @generated from field: repeated string min_hop_price_x36 = 5;
|
|
3792
3802
|
*/
|
|
3793
3803
|
this.minHopPriceX36 = [];
|
|
3804
|
+
/**
|
|
3805
|
+
* @generated from field: bool payer_is_user = 6;
|
|
3806
|
+
*/
|
|
3807
|
+
this.payerIsUser = false;
|
|
3794
3808
|
proto3.util.initPartial(data, this);
|
|
3795
3809
|
}
|
|
3796
3810
|
static fromBinary(bytes, options) {
|
|
@@ -3814,6 +3828,7 @@ V2SwapExactOutStep.fields = proto3.util.newFieldList(() => [
|
|
|
3814
3828
|
{ no: 3, name: "amount_in_max", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3815
3829
|
{ no: 4, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
3816
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 */ },
|
|
3817
3832
|
]);
|
|
3818
3833
|
/**
|
|
3819
3834
|
* @generated from message trading.v1.V3SwapExactInStep
|
|
@@ -3841,6 +3856,10 @@ export class V3SwapExactInStep extends Message {
|
|
|
3841
3856
|
* @generated from field: repeated string min_hop_price_x36 = 5;
|
|
3842
3857
|
*/
|
|
3843
3858
|
this.minHopPriceX36 = [];
|
|
3859
|
+
/**
|
|
3860
|
+
* @generated from field: bool payer_is_user = 6;
|
|
3861
|
+
*/
|
|
3862
|
+
this.payerIsUser = false;
|
|
3844
3863
|
proto3.util.initPartial(data, this);
|
|
3845
3864
|
}
|
|
3846
3865
|
static fromBinary(bytes, options) {
|
|
@@ -3864,6 +3883,7 @@ V3SwapExactInStep.fields = proto3.util.newFieldList(() => [
|
|
|
3864
3883
|
{ no: 3, name: "amount_out_min", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3865
3884
|
{ no: 4, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3866
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 */ },
|
|
3867
3887
|
]);
|
|
3868
3888
|
/**
|
|
3869
3889
|
* @generated from message trading.v1.V3SwapExactOutStep
|
|
@@ -3891,6 +3911,10 @@ export class V3SwapExactOutStep extends Message {
|
|
|
3891
3911
|
* @generated from field: repeated string min_hop_price_x36 = 5;
|
|
3892
3912
|
*/
|
|
3893
3913
|
this.minHopPriceX36 = [];
|
|
3914
|
+
/**
|
|
3915
|
+
* @generated from field: bool payer_is_user = 6;
|
|
3916
|
+
*/
|
|
3917
|
+
this.payerIsUser = false;
|
|
3894
3918
|
proto3.util.initPartial(data, this);
|
|
3895
3919
|
}
|
|
3896
3920
|
static fromBinary(bytes, options) {
|
|
@@ -3914,6 +3938,7 @@ V3SwapExactOutStep.fields = proto3.util.newFieldList(() => [
|
|
|
3914
3938
|
{ no: 3, name: "amount_in_max", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3915
3939
|
{ no: 4, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3916
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 */ },
|
|
3917
3942
|
]);
|
|
3918
3943
|
/**
|
|
3919
3944
|
* @generated from message trading.v1.V4SwapStepInner
|