@uniswap/client-trading 0.1.3 → 0.1.4
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-tradingService_connectquery.d.ts +1 -113
- package/dist/trading/v1/api-tradingService_connectquery.js +1 -113
- package/dist/trading/v1/api_connect.d.ts +1 -81
- package/dist/trading/v1/api_connect.js +1 -81
- package/dist/trading/v1/api_pb.d.ts +226 -2050
- package/dist/trading/v1/api_pb.js +162 -1985
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import {
|
|
2
|
+
import { CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, OrderRequest, OrderResponse, PlanResponse, QuoteRequest, QuoteResponse, SendRequest, SendResponse, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc trading.v1.tradingService.Quote
|
|
5
5
|
*/
|
|
@@ -112,90 +112,6 @@ export declare const order: {
|
|
|
112
112
|
readonly typeName: "trading.v1.tradingService";
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
|
-
/**
|
|
116
|
-
* @generated from rpc trading.v1.tradingService.CreateLPPosition
|
|
117
|
-
*/
|
|
118
|
-
export declare const createLPPosition: {
|
|
119
|
-
readonly localName: "createLPPosition";
|
|
120
|
-
readonly name: "CreateLPPosition";
|
|
121
|
-
readonly kind: MethodKind.Unary;
|
|
122
|
-
readonly I: typeof CreateLPPositionRequest;
|
|
123
|
-
readonly O: typeof CreateLPPositionResponse;
|
|
124
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
125
|
-
readonly service: {
|
|
126
|
-
readonly typeName: "trading.v1.tradingService";
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
/**
|
|
130
|
-
* @generated from rpc trading.v1.tradingService.IncreaseLPPosition
|
|
131
|
-
*/
|
|
132
|
-
export declare const increaseLPPosition: {
|
|
133
|
-
readonly localName: "increaseLPPosition";
|
|
134
|
-
readonly name: "IncreaseLPPosition";
|
|
135
|
-
readonly kind: MethodKind.Unary;
|
|
136
|
-
readonly I: typeof IncreaseLPPositionRequest;
|
|
137
|
-
readonly O: typeof IncreaseLPPositionResponse;
|
|
138
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
139
|
-
readonly service: {
|
|
140
|
-
readonly typeName: "trading.v1.tradingService";
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
/**
|
|
144
|
-
* @generated from rpc trading.v1.tradingService.DecreaseLPPosition
|
|
145
|
-
*/
|
|
146
|
-
export declare const decreaseLPPosition: {
|
|
147
|
-
readonly localName: "decreaseLPPosition";
|
|
148
|
-
readonly name: "DecreaseLPPosition";
|
|
149
|
-
readonly kind: MethodKind.Unary;
|
|
150
|
-
readonly I: typeof DecreaseLPPositionRequest;
|
|
151
|
-
readonly O: typeof DecreaseLPPositionResponse;
|
|
152
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
153
|
-
readonly service: {
|
|
154
|
-
readonly typeName: "trading.v1.tradingService";
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
/**
|
|
158
|
-
* @generated from rpc trading.v1.tradingService.ClaimLPFees
|
|
159
|
-
*/
|
|
160
|
-
export declare const claimLPFees: {
|
|
161
|
-
readonly localName: "claimLPFees";
|
|
162
|
-
readonly name: "ClaimLPFees";
|
|
163
|
-
readonly kind: MethodKind.Unary;
|
|
164
|
-
readonly I: typeof ClaimLPFeesRequest;
|
|
165
|
-
readonly O: typeof ClaimLPFeesResponse;
|
|
166
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
167
|
-
readonly service: {
|
|
168
|
-
readonly typeName: "trading.v1.tradingService";
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
/**
|
|
172
|
-
* @generated from rpc trading.v1.tradingService.MigrateLpPosition
|
|
173
|
-
*/
|
|
174
|
-
export declare const migrateLpPosition: {
|
|
175
|
-
readonly localName: "migrateLpPosition";
|
|
176
|
-
readonly name: "MigrateLpPosition";
|
|
177
|
-
readonly kind: MethodKind.Unary;
|
|
178
|
-
readonly I: typeof MigrateLpPositionRequest;
|
|
179
|
-
readonly O: typeof MigrateLpPositionResponse;
|
|
180
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
181
|
-
readonly service: {
|
|
182
|
-
readonly typeName: "trading.v1.tradingService";
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
/**
|
|
186
|
-
* @generated from rpc trading.v1.tradingService.CheckLPApproval
|
|
187
|
-
*/
|
|
188
|
-
export declare const checkLPApproval: {
|
|
189
|
-
readonly localName: "checkLPApproval";
|
|
190
|
-
readonly name: "CheckLPApproval";
|
|
191
|
-
readonly kind: MethodKind.Unary;
|
|
192
|
-
readonly I: typeof CheckApprovalLPRequest;
|
|
193
|
-
readonly O: typeof CheckApprovalLPResponse;
|
|
194
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
195
|
-
readonly service: {
|
|
196
|
-
readonly typeName: "trading.v1.tradingService";
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
115
|
/**
|
|
200
116
|
* @generated from rpc trading.v1.tradingService.Send
|
|
201
117
|
*/
|
|
@@ -224,20 +140,6 @@ export declare const checkWalletDelegation: {
|
|
|
224
140
|
readonly typeName: "trading.v1.tradingService";
|
|
225
141
|
};
|
|
226
142
|
};
|
|
227
|
-
/**
|
|
228
|
-
* @generated from rpc trading.v1.tradingService.PoolInfo
|
|
229
|
-
*/
|
|
230
|
-
export declare const poolInfo: {
|
|
231
|
-
readonly localName: "poolInfo";
|
|
232
|
-
readonly name: "PoolInfo";
|
|
233
|
-
readonly kind: MethodKind.Unary;
|
|
234
|
-
readonly I: typeof PoolInfoRequest;
|
|
235
|
-
readonly O: typeof PoolInfoResponse;
|
|
236
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
237
|
-
readonly service: {
|
|
238
|
-
readonly typeName: "trading.v1.tradingService";
|
|
239
|
-
};
|
|
240
|
-
};
|
|
241
143
|
/**
|
|
242
144
|
* @generated from rpc trading.v1.tradingService.Swap5792
|
|
243
145
|
*/
|
|
@@ -252,20 +154,6 @@ export declare const swap5792: {
|
|
|
252
154
|
readonly typeName: "trading.v1.tradingService";
|
|
253
155
|
};
|
|
254
156
|
};
|
|
255
|
-
/**
|
|
256
|
-
* @generated from rpc trading.v1.tradingService.GetLPPriceDiscrepancy
|
|
257
|
-
*/
|
|
258
|
-
export declare const getLPPriceDiscrepancy: {
|
|
259
|
-
readonly localName: "getLPPriceDiscrepancy";
|
|
260
|
-
readonly name: "GetLPPriceDiscrepancy";
|
|
261
|
-
readonly kind: MethodKind.Unary;
|
|
262
|
-
readonly I: typeof GetLPPriceDiscrepancyRequest;
|
|
263
|
-
readonly O: typeof GetLPPriceDiscrepancyResponse;
|
|
264
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
265
|
-
readonly service: {
|
|
266
|
-
readonly typeName: "trading.v1.tradingService";
|
|
267
|
-
};
|
|
268
|
-
};
|
|
269
157
|
/**
|
|
270
158
|
* @generated from rpc trading.v1.tradingService.Encode7702
|
|
271
159
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import {
|
|
6
|
+
import { CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, OrderRequest, OrderResponse, PlanResponse, QuoteRequest, QuoteResponse, SendRequest, SendResponse, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc trading.v1.tradingService.Quote
|
|
9
9
|
*/
|
|
@@ -116,90 +116,6 @@ export const order = {
|
|
|
116
116
|
typeName: "trading.v1.tradingService"
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
|
-
/**
|
|
120
|
-
* @generated from rpc trading.v1.tradingService.CreateLPPosition
|
|
121
|
-
*/
|
|
122
|
-
export const createLPPosition = {
|
|
123
|
-
localName: "createLPPosition",
|
|
124
|
-
name: "CreateLPPosition",
|
|
125
|
-
kind: MethodKind.Unary,
|
|
126
|
-
I: CreateLPPositionRequest,
|
|
127
|
-
O: CreateLPPositionResponse,
|
|
128
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
129
|
-
service: {
|
|
130
|
-
typeName: "trading.v1.tradingService"
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
/**
|
|
134
|
-
* @generated from rpc trading.v1.tradingService.IncreaseLPPosition
|
|
135
|
-
*/
|
|
136
|
-
export const increaseLPPosition = {
|
|
137
|
-
localName: "increaseLPPosition",
|
|
138
|
-
name: "IncreaseLPPosition",
|
|
139
|
-
kind: MethodKind.Unary,
|
|
140
|
-
I: IncreaseLPPositionRequest,
|
|
141
|
-
O: IncreaseLPPositionResponse,
|
|
142
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
143
|
-
service: {
|
|
144
|
-
typeName: "trading.v1.tradingService"
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
/**
|
|
148
|
-
* @generated from rpc trading.v1.tradingService.DecreaseLPPosition
|
|
149
|
-
*/
|
|
150
|
-
export const decreaseLPPosition = {
|
|
151
|
-
localName: "decreaseLPPosition",
|
|
152
|
-
name: "DecreaseLPPosition",
|
|
153
|
-
kind: MethodKind.Unary,
|
|
154
|
-
I: DecreaseLPPositionRequest,
|
|
155
|
-
O: DecreaseLPPositionResponse,
|
|
156
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
157
|
-
service: {
|
|
158
|
-
typeName: "trading.v1.tradingService"
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
/**
|
|
162
|
-
* @generated from rpc trading.v1.tradingService.ClaimLPFees
|
|
163
|
-
*/
|
|
164
|
-
export const claimLPFees = {
|
|
165
|
-
localName: "claimLPFees",
|
|
166
|
-
name: "ClaimLPFees",
|
|
167
|
-
kind: MethodKind.Unary,
|
|
168
|
-
I: ClaimLPFeesRequest,
|
|
169
|
-
O: ClaimLPFeesResponse,
|
|
170
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
171
|
-
service: {
|
|
172
|
-
typeName: "trading.v1.tradingService"
|
|
173
|
-
}
|
|
174
|
-
};
|
|
175
|
-
/**
|
|
176
|
-
* @generated from rpc trading.v1.tradingService.MigrateLpPosition
|
|
177
|
-
*/
|
|
178
|
-
export const migrateLpPosition = {
|
|
179
|
-
localName: "migrateLpPosition",
|
|
180
|
-
name: "MigrateLpPosition",
|
|
181
|
-
kind: MethodKind.Unary,
|
|
182
|
-
I: MigrateLpPositionRequest,
|
|
183
|
-
O: MigrateLpPositionResponse,
|
|
184
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
185
|
-
service: {
|
|
186
|
-
typeName: "trading.v1.tradingService"
|
|
187
|
-
}
|
|
188
|
-
};
|
|
189
|
-
/**
|
|
190
|
-
* @generated from rpc trading.v1.tradingService.CheckLPApproval
|
|
191
|
-
*/
|
|
192
|
-
export const checkLPApproval = {
|
|
193
|
-
localName: "checkLPApproval",
|
|
194
|
-
name: "CheckLPApproval",
|
|
195
|
-
kind: MethodKind.Unary,
|
|
196
|
-
I: CheckApprovalLPRequest,
|
|
197
|
-
O: CheckApprovalLPResponse,
|
|
198
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
199
|
-
service: {
|
|
200
|
-
typeName: "trading.v1.tradingService"
|
|
201
|
-
}
|
|
202
|
-
};
|
|
203
119
|
/**
|
|
204
120
|
* @generated from rpc trading.v1.tradingService.Send
|
|
205
121
|
*/
|
|
@@ -228,20 +144,6 @@ export const checkWalletDelegation = {
|
|
|
228
144
|
typeName: "trading.v1.tradingService"
|
|
229
145
|
}
|
|
230
146
|
};
|
|
231
|
-
/**
|
|
232
|
-
* @generated from rpc trading.v1.tradingService.PoolInfo
|
|
233
|
-
*/
|
|
234
|
-
export const poolInfo = {
|
|
235
|
-
localName: "poolInfo",
|
|
236
|
-
name: "PoolInfo",
|
|
237
|
-
kind: MethodKind.Unary,
|
|
238
|
-
I: PoolInfoRequest,
|
|
239
|
-
O: PoolInfoResponse,
|
|
240
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
241
|
-
service: {
|
|
242
|
-
typeName: "trading.v1.tradingService"
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
147
|
/**
|
|
246
148
|
* @generated from rpc trading.v1.tradingService.Swap5792
|
|
247
149
|
*/
|
|
@@ -256,20 +158,6 @@ export const swap5792 = {
|
|
|
256
158
|
typeName: "trading.v1.tradingService"
|
|
257
159
|
}
|
|
258
160
|
};
|
|
259
|
-
/**
|
|
260
|
-
* @generated from rpc trading.v1.tradingService.GetLPPriceDiscrepancy
|
|
261
|
-
*/
|
|
262
|
-
export const getLPPriceDiscrepancy = {
|
|
263
|
-
localName: "getLPPriceDiscrepancy",
|
|
264
|
-
name: "GetLPPriceDiscrepancy",
|
|
265
|
-
kind: MethodKind.Unary,
|
|
266
|
-
I: GetLPPriceDiscrepancyRequest,
|
|
267
|
-
O: GetLPPriceDiscrepancyResponse,
|
|
268
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
269
|
-
service: {
|
|
270
|
-
typeName: "trading.v1.tradingService"
|
|
271
|
-
}
|
|
272
|
-
};
|
|
273
161
|
/**
|
|
274
162
|
* @generated from rpc trading.v1.tradingService.Encode7702
|
|
275
163
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, OrderRequest, OrderResponse, PlanResponse, QuoteRequest, QuoteResponse, SendRequest, SendResponse, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
2
2
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service trading.v1.tradingService
|
|
@@ -86,66 +86,6 @@ export declare const tradingService: {
|
|
|
86
86
|
readonly kind: MethodKind.Unary;
|
|
87
87
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
88
88
|
};
|
|
89
|
-
/**
|
|
90
|
-
* @generated from rpc trading.v1.tradingService.CreateLPPosition
|
|
91
|
-
*/
|
|
92
|
-
readonly createLPPosition: {
|
|
93
|
-
readonly name: "CreateLPPosition";
|
|
94
|
-
readonly I: typeof CreateLPPositionRequest;
|
|
95
|
-
readonly O: typeof CreateLPPositionResponse;
|
|
96
|
-
readonly kind: MethodKind.Unary;
|
|
97
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* @generated from rpc trading.v1.tradingService.IncreaseLPPosition
|
|
101
|
-
*/
|
|
102
|
-
readonly increaseLPPosition: {
|
|
103
|
-
readonly name: "IncreaseLPPosition";
|
|
104
|
-
readonly I: typeof IncreaseLPPositionRequest;
|
|
105
|
-
readonly O: typeof IncreaseLPPositionResponse;
|
|
106
|
-
readonly kind: MethodKind.Unary;
|
|
107
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* @generated from rpc trading.v1.tradingService.DecreaseLPPosition
|
|
111
|
-
*/
|
|
112
|
-
readonly decreaseLPPosition: {
|
|
113
|
-
readonly name: "DecreaseLPPosition";
|
|
114
|
-
readonly I: typeof DecreaseLPPositionRequest;
|
|
115
|
-
readonly O: typeof DecreaseLPPositionResponse;
|
|
116
|
-
readonly kind: MethodKind.Unary;
|
|
117
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* @generated from rpc trading.v1.tradingService.ClaimLPFees
|
|
121
|
-
*/
|
|
122
|
-
readonly claimLPFees: {
|
|
123
|
-
readonly name: "ClaimLPFees";
|
|
124
|
-
readonly I: typeof ClaimLPFeesRequest;
|
|
125
|
-
readonly O: typeof ClaimLPFeesResponse;
|
|
126
|
-
readonly kind: MethodKind.Unary;
|
|
127
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
128
|
-
};
|
|
129
|
-
/**
|
|
130
|
-
* @generated from rpc trading.v1.tradingService.MigrateLpPosition
|
|
131
|
-
*/
|
|
132
|
-
readonly migrateLpPosition: {
|
|
133
|
-
readonly name: "MigrateLpPosition";
|
|
134
|
-
readonly I: typeof MigrateLpPositionRequest;
|
|
135
|
-
readonly O: typeof MigrateLpPositionResponse;
|
|
136
|
-
readonly kind: MethodKind.Unary;
|
|
137
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* @generated from rpc trading.v1.tradingService.CheckLPApproval
|
|
141
|
-
*/
|
|
142
|
-
readonly checkLPApproval: {
|
|
143
|
-
readonly name: "CheckLPApproval";
|
|
144
|
-
readonly I: typeof CheckApprovalLPRequest;
|
|
145
|
-
readonly O: typeof CheckApprovalLPResponse;
|
|
146
|
-
readonly kind: MethodKind.Unary;
|
|
147
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
148
|
-
};
|
|
149
89
|
/**
|
|
150
90
|
* @generated from rpc trading.v1.tradingService.Send
|
|
151
91
|
*/
|
|
@@ -166,16 +106,6 @@ export declare const tradingService: {
|
|
|
166
106
|
readonly kind: MethodKind.Unary;
|
|
167
107
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
168
108
|
};
|
|
169
|
-
/**
|
|
170
|
-
* @generated from rpc trading.v1.tradingService.PoolInfo
|
|
171
|
-
*/
|
|
172
|
-
readonly poolInfo: {
|
|
173
|
-
readonly name: "PoolInfo";
|
|
174
|
-
readonly I: typeof PoolInfoRequest;
|
|
175
|
-
readonly O: typeof PoolInfoResponse;
|
|
176
|
-
readonly kind: MethodKind.Unary;
|
|
177
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
178
|
-
};
|
|
179
109
|
/**
|
|
180
110
|
* @generated from rpc trading.v1.tradingService.Swap5792
|
|
181
111
|
*/
|
|
@@ -186,16 +116,6 @@ export declare const tradingService: {
|
|
|
186
116
|
readonly kind: MethodKind.Unary;
|
|
187
117
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
188
118
|
};
|
|
189
|
-
/**
|
|
190
|
-
* @generated from rpc trading.v1.tradingService.GetLPPriceDiscrepancy
|
|
191
|
-
*/
|
|
192
|
-
readonly getLPPriceDiscrepancy: {
|
|
193
|
-
readonly name: "GetLPPriceDiscrepancy";
|
|
194
|
-
readonly I: typeof GetLPPriceDiscrepancyRequest;
|
|
195
|
-
readonly O: typeof GetLPPriceDiscrepancyResponse;
|
|
196
|
-
readonly kind: MethodKind.Unary;
|
|
197
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
198
|
-
};
|
|
199
119
|
/**
|
|
200
120
|
* @generated from rpc trading.v1.tradingService.Encode7702
|
|
201
121
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file trading/v1/api.proto (package trading.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import {
|
|
5
|
+
import { CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, OrderRequest, OrderResponse, PlanResponse, QuoteRequest, QuoteResponse, SendRequest, SendResponse, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
6
6
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service trading.v1.tradingService
|
|
@@ -90,66 +90,6 @@ export const tradingService = {
|
|
|
90
90
|
kind: MethodKind.Unary,
|
|
91
91
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
92
92
|
},
|
|
93
|
-
/**
|
|
94
|
-
* @generated from rpc trading.v1.tradingService.CreateLPPosition
|
|
95
|
-
*/
|
|
96
|
-
createLPPosition: {
|
|
97
|
-
name: "CreateLPPosition",
|
|
98
|
-
I: CreateLPPositionRequest,
|
|
99
|
-
O: CreateLPPositionResponse,
|
|
100
|
-
kind: MethodKind.Unary,
|
|
101
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
102
|
-
},
|
|
103
|
-
/**
|
|
104
|
-
* @generated from rpc trading.v1.tradingService.IncreaseLPPosition
|
|
105
|
-
*/
|
|
106
|
-
increaseLPPosition: {
|
|
107
|
-
name: "IncreaseLPPosition",
|
|
108
|
-
I: IncreaseLPPositionRequest,
|
|
109
|
-
O: IncreaseLPPositionResponse,
|
|
110
|
-
kind: MethodKind.Unary,
|
|
111
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
112
|
-
},
|
|
113
|
-
/**
|
|
114
|
-
* @generated from rpc trading.v1.tradingService.DecreaseLPPosition
|
|
115
|
-
*/
|
|
116
|
-
decreaseLPPosition: {
|
|
117
|
-
name: "DecreaseLPPosition",
|
|
118
|
-
I: DecreaseLPPositionRequest,
|
|
119
|
-
O: DecreaseLPPositionResponse,
|
|
120
|
-
kind: MethodKind.Unary,
|
|
121
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
122
|
-
},
|
|
123
|
-
/**
|
|
124
|
-
* @generated from rpc trading.v1.tradingService.ClaimLPFees
|
|
125
|
-
*/
|
|
126
|
-
claimLPFees: {
|
|
127
|
-
name: "ClaimLPFees",
|
|
128
|
-
I: ClaimLPFeesRequest,
|
|
129
|
-
O: ClaimLPFeesResponse,
|
|
130
|
-
kind: MethodKind.Unary,
|
|
131
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
132
|
-
},
|
|
133
|
-
/**
|
|
134
|
-
* @generated from rpc trading.v1.tradingService.MigrateLpPosition
|
|
135
|
-
*/
|
|
136
|
-
migrateLpPosition: {
|
|
137
|
-
name: "MigrateLpPosition",
|
|
138
|
-
I: MigrateLpPositionRequest,
|
|
139
|
-
O: MigrateLpPositionResponse,
|
|
140
|
-
kind: MethodKind.Unary,
|
|
141
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
142
|
-
},
|
|
143
|
-
/**
|
|
144
|
-
* @generated from rpc trading.v1.tradingService.CheckLPApproval
|
|
145
|
-
*/
|
|
146
|
-
checkLPApproval: {
|
|
147
|
-
name: "CheckLPApproval",
|
|
148
|
-
I: CheckApprovalLPRequest,
|
|
149
|
-
O: CheckApprovalLPResponse,
|
|
150
|
-
kind: MethodKind.Unary,
|
|
151
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
152
|
-
},
|
|
153
93
|
/**
|
|
154
94
|
* @generated from rpc trading.v1.tradingService.Send
|
|
155
95
|
*/
|
|
@@ -170,16 +110,6 @@ export const tradingService = {
|
|
|
170
110
|
kind: MethodKind.Unary,
|
|
171
111
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
172
112
|
},
|
|
173
|
-
/**
|
|
174
|
-
* @generated from rpc trading.v1.tradingService.PoolInfo
|
|
175
|
-
*/
|
|
176
|
-
poolInfo: {
|
|
177
|
-
name: "PoolInfo",
|
|
178
|
-
I: PoolInfoRequest,
|
|
179
|
-
O: PoolInfoResponse,
|
|
180
|
-
kind: MethodKind.Unary,
|
|
181
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
182
|
-
},
|
|
183
113
|
/**
|
|
184
114
|
* @generated from rpc trading.v1.tradingService.Swap5792
|
|
185
115
|
*/
|
|
@@ -190,16 +120,6 @@ export const tradingService = {
|
|
|
190
120
|
kind: MethodKind.Unary,
|
|
191
121
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
192
122
|
},
|
|
193
|
-
/**
|
|
194
|
-
* @generated from rpc trading.v1.tradingService.GetLPPriceDiscrepancy
|
|
195
|
-
*/
|
|
196
|
-
getLPPriceDiscrepancy: {
|
|
197
|
-
name: "GetLPPriceDiscrepancy",
|
|
198
|
-
I: GetLPPriceDiscrepancyRequest,
|
|
199
|
-
O: GetLPPriceDiscrepancyResponse,
|
|
200
|
-
kind: MethodKind.Unary,
|
|
201
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
202
|
-
},
|
|
203
123
|
/**
|
|
204
124
|
* @generated from rpc trading.v1.tradingService.Encode7702
|
|
205
125
|
*/
|