@uniswap/client-liquidity 0.0.1 → 0.0.3
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/uniswap/liquidity/v1/api-LiquidityService_connectquery.d.ts +21 -7
- package/dist/uniswap/liquidity/v1/api-LiquidityService_connectquery.js +21 -7
- package/dist/uniswap/liquidity/v1/api_connect.d.ts +16 -6
- package/dist/uniswap/liquidity/v1/api_connect.js +16 -6
- package/dist/uniswap/liquidity/v1/api_pb.d.ts +143 -112
- package/dist/uniswap/liquidity/v1/api_pb.js +106 -114
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.d.ts +16 -0
- package/dist/uniswap/liquidity/v1/auction-AuctionService_connectquery.js +20 -0
- package/dist/uniswap/liquidity/v1/auction_connect.d.ts +20 -0
- package/dist/uniswap/liquidity/v1/auction_connect.js +24 -0
- package/dist/uniswap/liquidity/v1/auction_pb.d.ts +125 -0
- package/dist/uniswap/liquidity/v1/auction_pb.js +165 -0
- package/dist/uniswap/liquidity/v1/types_pb.d.ts +290 -0
- package/dist/uniswap/liquidity/v1/types_pb.js +396 -0
- package/package.json +1 -1
|
@@ -3,195 +3,187 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
+
import { ChainId, TransactionRequest, V3Position, V4Position } from "./types_pb.js";
|
|
6
7
|
/**
|
|
7
|
-
*
|
|
8
|
+
* REQUESTS & RESPONSES
|
|
9
|
+
*
|
|
10
|
+
* @generated from message uniswap.liquidity.v1.MigrateV2ToV3LPPositionRequest
|
|
8
11
|
*/
|
|
9
|
-
export class
|
|
12
|
+
export class MigrateV2ToV3LPPositionRequest extends Message {
|
|
10
13
|
constructor(data) {
|
|
11
14
|
super();
|
|
12
15
|
/**
|
|
13
|
-
* @generated from field: string
|
|
16
|
+
* @generated from field: string wallet_address = 1;
|
|
14
17
|
*/
|
|
15
|
-
this.
|
|
16
|
-
proto3.util.initPartial(data, this);
|
|
17
|
-
}
|
|
18
|
-
static fromBinary(bytes, options) {
|
|
19
|
-
return new MyMethodRequest().fromBinary(bytes, options);
|
|
20
|
-
}
|
|
21
|
-
static fromJson(jsonValue, options) {
|
|
22
|
-
return new MyMethodRequest().fromJson(jsonValue, options);
|
|
23
|
-
}
|
|
24
|
-
static fromJsonString(jsonString, options) {
|
|
25
|
-
return new MyMethodRequest().fromJsonString(jsonString, options);
|
|
26
|
-
}
|
|
27
|
-
static equals(a, b) {
|
|
28
|
-
return proto3.util.equals(MyMethodRequest, a, b);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
MyMethodRequest.runtime = proto3;
|
|
32
|
-
MyMethodRequest.typeName = "uniswap.liquidity.v1.MyMethodRequest";
|
|
33
|
-
MyMethodRequest.fields = proto3.util.newFieldList(() => [
|
|
34
|
-
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
35
|
-
]);
|
|
36
|
-
/**
|
|
37
|
-
* @generated from message uniswap.liquidity.v1.MyMethodResponse
|
|
38
|
-
*/
|
|
39
|
-
export class MyMethodResponse extends Message {
|
|
40
|
-
constructor(data) {
|
|
41
|
-
super();
|
|
42
|
-
/**
|
|
43
|
-
* @generated from field: string value = 1;
|
|
44
|
-
*/
|
|
45
|
-
this.value = "";
|
|
18
|
+
this.walletAddress = "";
|
|
46
19
|
/**
|
|
47
|
-
* @generated from
|
|
20
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 2;
|
|
48
21
|
*/
|
|
49
|
-
this.
|
|
22
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
50
23
|
proto3.util.initPartial(data, this);
|
|
51
24
|
}
|
|
52
25
|
static fromBinary(bytes, options) {
|
|
53
|
-
return new
|
|
26
|
+
return new MigrateV2ToV3LPPositionRequest().fromBinary(bytes, options);
|
|
54
27
|
}
|
|
55
28
|
static fromJson(jsonValue, options) {
|
|
56
|
-
return new
|
|
29
|
+
return new MigrateV2ToV3LPPositionRequest().fromJson(jsonValue, options);
|
|
57
30
|
}
|
|
58
31
|
static fromJsonString(jsonString, options) {
|
|
59
|
-
return new
|
|
32
|
+
return new MigrateV2ToV3LPPositionRequest().fromJsonString(jsonString, options);
|
|
60
33
|
}
|
|
61
34
|
static equals(a, b) {
|
|
62
|
-
return proto3.util.equals(
|
|
35
|
+
return proto3.util.equals(MigrateV2ToV3LPPositionRequest, a, b);
|
|
63
36
|
}
|
|
64
37
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
{ no: 1, name: "
|
|
69
|
-
{ no: 2, name: "
|
|
70
|
-
{ no: 3, name: "
|
|
38
|
+
MigrateV2ToV3LPPositionRequest.runtime = proto3;
|
|
39
|
+
MigrateV2ToV3LPPositionRequest.typeName = "uniswap.liquidity.v1.MigrateV2ToV3LPPositionRequest";
|
|
40
|
+
MigrateV2ToV3LPPositionRequest.fields = proto3.util.newFieldList(() => [
|
|
41
|
+
{ no: 1, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
|
+
{ no: 2, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
43
|
+
{ no: 3, name: "v3_params", kind: "message", T: V3Position },
|
|
44
|
+
{ no: 4, name: "slippage_bps", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
45
|
+
{ no: 5, name: "deadline", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
46
|
+
{ no: 6, name: "refund_as_eth", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
47
|
+
{ no: 7, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
71
48
|
]);
|
|
72
49
|
/**
|
|
73
|
-
* @generated from message uniswap.liquidity.v1.
|
|
50
|
+
* @generated from message uniswap.liquidity.v1.MigrateV2ToV3LPPositionResponse
|
|
74
51
|
*/
|
|
75
|
-
export class
|
|
52
|
+
export class MigrateV2ToV3LPPositionResponse extends Message {
|
|
76
53
|
constructor(data) {
|
|
77
54
|
super();
|
|
78
55
|
/**
|
|
79
|
-
* @generated from field:
|
|
56
|
+
* @generated from field: string request_id = 1;
|
|
80
57
|
*/
|
|
81
|
-
this.
|
|
58
|
+
this.requestId = "";
|
|
82
59
|
proto3.util.initPartial(data, this);
|
|
83
60
|
}
|
|
84
61
|
static fromBinary(bytes, options) {
|
|
85
|
-
return new
|
|
62
|
+
return new MigrateV2ToV3LPPositionResponse().fromBinary(bytes, options);
|
|
86
63
|
}
|
|
87
64
|
static fromJson(jsonValue, options) {
|
|
88
|
-
return new
|
|
65
|
+
return new MigrateV2ToV3LPPositionResponse().fromJson(jsonValue, options);
|
|
89
66
|
}
|
|
90
67
|
static fromJsonString(jsonString, options) {
|
|
91
|
-
return new
|
|
68
|
+
return new MigrateV2ToV3LPPositionResponse().fromJsonString(jsonString, options);
|
|
92
69
|
}
|
|
93
70
|
static equals(a, b) {
|
|
94
|
-
return proto3.util.equals(
|
|
71
|
+
return proto3.util.equals(MigrateV2ToV3LPPositionResponse, a, b);
|
|
95
72
|
}
|
|
96
73
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
{ no: 1, name: "
|
|
74
|
+
MigrateV2ToV3LPPositionResponse.runtime = proto3;
|
|
75
|
+
MigrateV2ToV3LPPositionResponse.typeName = "uniswap.liquidity.v1.MigrateV2ToV3LPPositionResponse";
|
|
76
|
+
MigrateV2ToV3LPPositionResponse.fields = proto3.util.newFieldList(() => [
|
|
77
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
78
|
+
{ no: 2, name: "migrate", kind: "message", T: TransactionRequest },
|
|
79
|
+
{ no: 3, name: "gasFee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
101
80
|
]);
|
|
102
81
|
/**
|
|
103
|
-
* @generated from message uniswap.liquidity.v1.
|
|
82
|
+
* @generated from message uniswap.liquidity.v1.MigrateV3ToV4LPPositionRequest
|
|
104
83
|
*/
|
|
105
|
-
export class
|
|
84
|
+
export class MigrateV3ToV4LPPositionRequest extends Message {
|
|
106
85
|
constructor(data) {
|
|
107
86
|
super();
|
|
108
87
|
/**
|
|
109
|
-
* @generated from field: int32
|
|
88
|
+
* @generated from field: int32 tokenId = 1;
|
|
110
89
|
*/
|
|
111
|
-
this.
|
|
90
|
+
this.tokenId = 0;
|
|
112
91
|
/**
|
|
113
|
-
* @generated from
|
|
92
|
+
* @generated from field: string wallet_address = 2;
|
|
114
93
|
*/
|
|
115
|
-
this.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
*/
|
|
141
|
-
export class DetailedResponse extends Message {
|
|
142
|
-
constructor(data) {
|
|
143
|
-
super();
|
|
94
|
+
this.walletAddress = "";
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
|
|
97
|
+
*/
|
|
98
|
+
this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: string input_position_liquidity = 5;
|
|
101
|
+
*/
|
|
102
|
+
this.inputPositionLiquidity = "";
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: string amount0 = 7;
|
|
105
|
+
*/
|
|
106
|
+
this.amount0 = "";
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: string amount1 = 8;
|
|
109
|
+
*/
|
|
110
|
+
this.amount1 = "";
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: string expectedTokenOwed0RawAmount = 11;
|
|
113
|
+
*/
|
|
114
|
+
this.expectedTokenOwed0RawAmount = "";
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: string expectedTokenOwed1RawAmount = 12;
|
|
117
|
+
*/
|
|
118
|
+
this.expectedTokenOwed1RawAmount = "";
|
|
144
119
|
/**
|
|
145
|
-
* @generated from field:
|
|
120
|
+
* @generated from field: bool simulate_transaction = 13;
|
|
146
121
|
*/
|
|
147
|
-
this.
|
|
122
|
+
this.simulateTransaction = false;
|
|
148
123
|
proto3.util.initPartial(data, this);
|
|
149
124
|
}
|
|
150
125
|
static fromBinary(bytes, options) {
|
|
151
|
-
return new
|
|
126
|
+
return new MigrateV3ToV4LPPositionRequest().fromBinary(bytes, options);
|
|
152
127
|
}
|
|
153
128
|
static fromJson(jsonValue, options) {
|
|
154
|
-
return new
|
|
129
|
+
return new MigrateV3ToV4LPPositionRequest().fromJson(jsonValue, options);
|
|
155
130
|
}
|
|
156
131
|
static fromJsonString(jsonString, options) {
|
|
157
|
-
return new
|
|
132
|
+
return new MigrateV3ToV4LPPositionRequest().fromJsonString(jsonString, options);
|
|
158
133
|
}
|
|
159
134
|
static equals(a, b) {
|
|
160
|
-
return proto3.util.equals(
|
|
135
|
+
return proto3.util.equals(MigrateV3ToV4LPPositionRequest, a, b);
|
|
161
136
|
}
|
|
162
137
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
{ no: 1, name: "
|
|
138
|
+
MigrateV3ToV4LPPositionRequest.runtime = proto3;
|
|
139
|
+
MigrateV3ToV4LPPositionRequest.typeName = "uniswap.liquidity.v1.MigrateV3ToV4LPPositionRequest";
|
|
140
|
+
MigrateV3ToV4LPPositionRequest.fields = proto3.util.newFieldList(() => [
|
|
141
|
+
{ no: 1, name: "tokenId", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
142
|
+
{ no: 2, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
143
|
+
{ no: 3, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
|
|
144
|
+
{ no: 4, name: "input_position", kind: "message", T: V3Position },
|
|
145
|
+
{ no: 5, name: "input_position_liquidity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
146
|
+
{ no: 6, name: "signature", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
147
|
+
{ no: 7, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
148
|
+
{ no: 8, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
149
|
+
{ no: 9, name: "output_position", kind: "message", T: V4Position },
|
|
150
|
+
{ no: 10, name: "initial_price", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
151
|
+
{ no: 11, name: "expectedTokenOwed0RawAmount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
152
|
+
{ no: 12, name: "expectedTokenOwed1RawAmount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
153
|
+
{ no: 13, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
154
|
+
{ no: 14, name: "slippage_tolerance", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
155
|
+
{ no: 15, name: "deadline", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
156
|
+
{ no: 16, name: "signature_deadline", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
167
157
|
]);
|
|
168
158
|
/**
|
|
169
|
-
* @generated from message uniswap.liquidity.v1.
|
|
159
|
+
* @generated from message uniswap.liquidity.v1.MigrateV3ToV4LPPositionResponse
|
|
170
160
|
*/
|
|
171
|
-
export class
|
|
161
|
+
export class MigrateV3ToV4LPPositionResponse extends Message {
|
|
172
162
|
constructor(data) {
|
|
173
163
|
super();
|
|
174
164
|
/**
|
|
175
|
-
* @generated from field: string
|
|
165
|
+
* @generated from field: string request_id = 1;
|
|
176
166
|
*/
|
|
177
|
-
this.
|
|
167
|
+
this.requestId = "";
|
|
178
168
|
proto3.util.initPartial(data, this);
|
|
179
169
|
}
|
|
180
170
|
static fromBinary(bytes, options) {
|
|
181
|
-
return new
|
|
171
|
+
return new MigrateV3ToV4LPPositionResponse().fromBinary(bytes, options);
|
|
182
172
|
}
|
|
183
173
|
static fromJson(jsonValue, options) {
|
|
184
|
-
return new
|
|
174
|
+
return new MigrateV3ToV4LPPositionResponse().fromJson(jsonValue, options);
|
|
185
175
|
}
|
|
186
176
|
static fromJsonString(jsonString, options) {
|
|
187
|
-
return new
|
|
177
|
+
return new MigrateV3ToV4LPPositionResponse().fromJsonString(jsonString, options);
|
|
188
178
|
}
|
|
189
179
|
static equals(a, b) {
|
|
190
|
-
return proto3.util.equals(
|
|
180
|
+
return proto3.util.equals(MigrateV3ToV4LPPositionResponse, a, b);
|
|
191
181
|
}
|
|
192
182
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
{ no: 1, name: "
|
|
183
|
+
MigrateV3ToV4LPPositionResponse.runtime = proto3;
|
|
184
|
+
MigrateV3ToV4LPPositionResponse.typeName = "uniswap.liquidity.v1.MigrateV3ToV4LPPositionResponse";
|
|
185
|
+
MigrateV3ToV4LPPositionResponse.fields = proto3.util.newFieldList(() => [
|
|
186
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
187
|
+
{ no: 2, name: "migrate", kind: "message", T: TransactionRequest },
|
|
188
|
+
{ no: 3, name: "gasFee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
197
189
|
]);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
2
|
+
import { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
5
|
+
*/
|
|
6
|
+
export declare const submitBid: {
|
|
7
|
+
readonly localName: "submitBid";
|
|
8
|
+
readonly name: "SubmitBid";
|
|
9
|
+
readonly kind: MethodKind.Unary;
|
|
10
|
+
readonly I: typeof SubmitBidRequest;
|
|
11
|
+
readonly O: typeof SubmitBidResponse;
|
|
12
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
13
|
+
readonly service: {
|
|
14
|
+
readonly typeName: "uniswap.liquidity.v1.AuctionService";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file uniswap/liquidity/v1/auction.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
import { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
9
|
+
*/
|
|
10
|
+
export const submitBid = {
|
|
11
|
+
localName: "submitBid",
|
|
12
|
+
name: "SubmitBid",
|
|
13
|
+
kind: MethodKind.Unary,
|
|
14
|
+
I: SubmitBidRequest,
|
|
15
|
+
O: SubmitBidResponse,
|
|
16
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
17
|
+
service: {
|
|
18
|
+
typeName: "uniswap.liquidity.v1.AuctionService"
|
|
19
|
+
}
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
2
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from service uniswap.liquidity.v1.AuctionService
|
|
5
|
+
*/
|
|
6
|
+
export declare const AuctionService: {
|
|
7
|
+
readonly typeName: "uniswap.liquidity.v1.AuctionService";
|
|
8
|
+
readonly methods: {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
11
|
+
*/
|
|
12
|
+
readonly submitBid: {
|
|
13
|
+
readonly name: "SubmitBid";
|
|
14
|
+
readonly I: typeof SubmitBidRequest;
|
|
15
|
+
readonly O: typeof SubmitBidResponse;
|
|
16
|
+
readonly kind: MethodKind.Unary;
|
|
17
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file uniswap/liquidity/v1/auction.proto (package uniswap.liquidity.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { SubmitBidRequest, SubmitBidResponse } from "./auction_pb.js";
|
|
6
|
+
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from service uniswap.liquidity.v1.AuctionService
|
|
9
|
+
*/
|
|
10
|
+
export const AuctionService = {
|
|
11
|
+
typeName: "uniswap.liquidity.v1.AuctionService",
|
|
12
|
+
methods: {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from rpc uniswap.liquidity.v1.AuctionService.SubmitBid
|
|
15
|
+
*/
|
|
16
|
+
submitBid: {
|
|
17
|
+
name: "SubmitBid",
|
|
18
|
+
I: SubmitBidRequest,
|
|
19
|
+
O: SubmitBidResponse,
|
|
20
|
+
kind: MethodKind.Unary,
|
|
21
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
22
|
+
},
|
|
23
|
+
}
|
|
24
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { ChainId, TransactionRequest } from "./types_pb.js";
|
|
4
|
+
/**
|
|
5
|
+
* REQUESTS & RESPONSES
|
|
6
|
+
*
|
|
7
|
+
* @generated from message uniswap.liquidity.v1.SubmitBidRequest
|
|
8
|
+
*/
|
|
9
|
+
export declare class SubmitBidRequest extends Message<SubmitBidRequest> {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from field: string maxPrice = 1;
|
|
12
|
+
*/
|
|
13
|
+
maxPrice: string;
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: optional bool exactIn = 2;
|
|
16
|
+
*/
|
|
17
|
+
exactIn?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string amount = 3;
|
|
20
|
+
*/
|
|
21
|
+
amount: string;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: string walletAddress = 4;
|
|
24
|
+
*/
|
|
25
|
+
walletAddress: string;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: string auctionContractAddress = 5;
|
|
28
|
+
*/
|
|
29
|
+
auctionContractAddress: string;
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: optional string hookData = 6;
|
|
32
|
+
*/
|
|
33
|
+
hookData?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 7;
|
|
36
|
+
*/
|
|
37
|
+
chainId: ChainId;
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: optional bool simulate_transaction = 8;
|
|
40
|
+
*/
|
|
41
|
+
simulateTransaction?: boolean;
|
|
42
|
+
constructor(data?: PartialMessage<SubmitBidRequest>);
|
|
43
|
+
static readonly runtime: typeof proto3;
|
|
44
|
+
static readonly typeName = "uniswap.liquidity.v1.SubmitBidRequest";
|
|
45
|
+
static readonly fields: FieldList;
|
|
46
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitBidRequest;
|
|
47
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitBidRequest;
|
|
48
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitBidRequest;
|
|
49
|
+
static equals(a: SubmitBidRequest | PlainMessage<SubmitBidRequest> | undefined, b: SubmitBidRequest | PlainMessage<SubmitBidRequest> | undefined): boolean;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @generated from message uniswap.liquidity.v1.SubmitBidResponse
|
|
53
|
+
*/
|
|
54
|
+
export declare class SubmitBidResponse extends Message<SubmitBidResponse> {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: string request_id = 1;
|
|
57
|
+
*/
|
|
58
|
+
requestId: string;
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: uniswap.liquidity.v1.TransactionRequest bid = 2;
|
|
61
|
+
*/
|
|
62
|
+
bid?: TransactionRequest;
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: optional string gasFee = 3;
|
|
65
|
+
*/
|
|
66
|
+
gasFee?: string;
|
|
67
|
+
constructor(data?: PartialMessage<SubmitBidResponse>);
|
|
68
|
+
static readonly runtime: typeof proto3;
|
|
69
|
+
static readonly typeName = "uniswap.liquidity.v1.SubmitBidResponse";
|
|
70
|
+
static readonly fields: FieldList;
|
|
71
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitBidResponse;
|
|
72
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitBidResponse;
|
|
73
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitBidResponse;
|
|
74
|
+
static equals(a: SubmitBidResponse | PlainMessage<SubmitBidResponse> | undefined, b: SubmitBidResponse | PlainMessage<SubmitBidResponse> | undefined): boolean;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message uniswap.liquidity.v1.ExitBidPositionRequest
|
|
78
|
+
*/
|
|
79
|
+
export declare class ExitBidPositionRequest extends Message<ExitBidPositionRequest> {
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: string bidId = 1;
|
|
82
|
+
*/
|
|
83
|
+
bidId: string;
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: string auctionContractAddress = 2;
|
|
86
|
+
*/
|
|
87
|
+
auctionContractAddress: string;
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: uniswap.liquidity.v1.ChainId chain_id = 3;
|
|
90
|
+
*/
|
|
91
|
+
chainId: ChainId;
|
|
92
|
+
constructor(data?: PartialMessage<ExitBidPositionRequest>);
|
|
93
|
+
static readonly runtime: typeof proto3;
|
|
94
|
+
static readonly typeName = "uniswap.liquidity.v1.ExitBidPositionRequest";
|
|
95
|
+
static readonly fields: FieldList;
|
|
96
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExitBidPositionRequest;
|
|
97
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExitBidPositionRequest;
|
|
98
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExitBidPositionRequest;
|
|
99
|
+
static equals(a: ExitBidPositionRequest | PlainMessage<ExitBidPositionRequest> | undefined, b: ExitBidPositionRequest | PlainMessage<ExitBidPositionRequest> | undefined): boolean;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* @generated from message uniswap.liquidity.v1.ExitBidPositionResponse
|
|
103
|
+
*/
|
|
104
|
+
export declare class ExitBidPositionResponse extends Message<ExitBidPositionResponse> {
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: string request_id = 1;
|
|
107
|
+
*/
|
|
108
|
+
requestId: string;
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: uniswap.liquidity.v1.TransactionRequest exitBid = 2;
|
|
111
|
+
*/
|
|
112
|
+
exitBid?: TransactionRequest;
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: optional string gasFee = 3;
|
|
115
|
+
*/
|
|
116
|
+
gasFee?: string;
|
|
117
|
+
constructor(data?: PartialMessage<ExitBidPositionResponse>);
|
|
118
|
+
static readonly runtime: typeof proto3;
|
|
119
|
+
static readonly typeName = "uniswap.liquidity.v1.ExitBidPositionResponse";
|
|
120
|
+
static readonly fields: FieldList;
|
|
121
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExitBidPositionResponse;
|
|
122
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExitBidPositionResponse;
|
|
123
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExitBidPositionResponse;
|
|
124
|
+
static equals(a: ExitBidPositionResponse | PlainMessage<ExitBidPositionResponse> | undefined, b: ExitBidPositionResponse | PlainMessage<ExitBidPositionResponse> | undefined): boolean;
|
|
125
|
+
}
|