@uniswap/client-trading 0.12.2 → 0.12.5
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 +108 -272
- package/dist/trading/v1/api-tradingService_connectquery.js +29 -301
- package/dist/trading/v1/api_pb.d.ts +6441 -6707
- package/dist/trading/v1/api_pb.js +1383 -9972
- package/package.json +1 -1
- package/dist/trading/v1/api_connect.d.ts +0 -280
- package/dist/trading/v1/api_connect.js +0 -284
package/package.json
CHANGED
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginAssetsRequest, MarginAssetsResponse, MarginMarketsRequest, MarginMarketsResponse, MarginPositionActivityRequest, MarginPositionActivityResponse, MarginPositionsRequest, MarginPositionsResponse, MarginQuoteRequest, MarginQuoteResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
2
|
-
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* @generated from service trading.v1.tradingService
|
|
5
|
-
*/
|
|
6
|
-
export declare const tradingService: {
|
|
7
|
-
readonly typeName: "trading.v1.tradingService";
|
|
8
|
-
readonly methods: {
|
|
9
|
-
/**
|
|
10
|
-
* @generated from rpc trading.v1.tradingService.Quote
|
|
11
|
-
*/
|
|
12
|
-
readonly quote: {
|
|
13
|
-
readonly name: "Quote";
|
|
14
|
-
readonly I: typeof QuoteRequest;
|
|
15
|
-
readonly O: typeof QuoteResponse;
|
|
16
|
-
readonly kind: MethodKind.Unary;
|
|
17
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @generated from rpc trading.v1.tradingService.Swap
|
|
21
|
-
*/
|
|
22
|
-
readonly swap: {
|
|
23
|
-
readonly name: "Swap";
|
|
24
|
-
readonly I: typeof SwapRequest;
|
|
25
|
-
readonly O: typeof SwapResponse;
|
|
26
|
-
readonly kind: MethodKind.Unary;
|
|
27
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @generated from rpc trading.v1.tradingService.Swap7702
|
|
31
|
-
*/
|
|
32
|
-
readonly swap7702: {
|
|
33
|
-
readonly name: "Swap7702";
|
|
34
|
-
readonly I: typeof Swap7702Request;
|
|
35
|
-
readonly O: typeof Swap7702Response;
|
|
36
|
-
readonly kind: MethodKind.Unary;
|
|
37
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* @generated from rpc trading.v1.tradingService.CheckApproval
|
|
41
|
-
*/
|
|
42
|
-
readonly checkApproval: {
|
|
43
|
-
readonly name: "CheckApproval";
|
|
44
|
-
readonly I: typeof CheckApprovalRequest;
|
|
45
|
-
readonly O: typeof CheckApprovalResponse;
|
|
46
|
-
readonly kind: MethodKind.Unary;
|
|
47
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* @generated from rpc trading.v1.tradingService.Permissions
|
|
51
|
-
*/
|
|
52
|
-
readonly permissions: {
|
|
53
|
-
readonly name: "Permissions";
|
|
54
|
-
readonly I: typeof PermissionsRequest;
|
|
55
|
-
readonly O: typeof PermissionsResponse;
|
|
56
|
-
readonly kind: MethodKind.Unary;
|
|
57
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* @generated from rpc trading.v1.tradingService.GetSwaps
|
|
61
|
-
*/
|
|
62
|
-
readonly getSwaps: {
|
|
63
|
-
readonly name: "GetSwaps";
|
|
64
|
-
readonly I: typeof GetSwapsRequest;
|
|
65
|
-
readonly O: typeof GetSwapsResponse;
|
|
66
|
-
readonly kind: MethodKind.Unary;
|
|
67
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* @generated from rpc trading.v1.tradingService.SwappableTokens
|
|
71
|
-
*/
|
|
72
|
-
readonly swappableTokens: {
|
|
73
|
-
readonly name: "SwappableTokens";
|
|
74
|
-
readonly I: typeof SwappableTokensRequest;
|
|
75
|
-
readonly O: typeof SwappableTokensResponse;
|
|
76
|
-
readonly kind: MethodKind.Unary;
|
|
77
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* @generated from rpc trading.v1.tradingService.SupportedChains
|
|
81
|
-
*/
|
|
82
|
-
readonly supportedChains: {
|
|
83
|
-
readonly name: "SupportedChains";
|
|
84
|
-
readonly I: typeof SupportedChainsRequest;
|
|
85
|
-
readonly O: typeof SupportedChainsResponse;
|
|
86
|
-
readonly kind: MethodKind.Unary;
|
|
87
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
88
|
-
};
|
|
89
|
-
/**
|
|
90
|
-
* @generated from rpc trading.v1.tradingService.GetTokens
|
|
91
|
-
*/
|
|
92
|
-
readonly getTokens: {
|
|
93
|
-
readonly name: "GetTokens";
|
|
94
|
-
readonly I: typeof GetTokensRequest;
|
|
95
|
-
readonly O: typeof GetTokensResponse;
|
|
96
|
-
readonly kind: MethodKind.Unary;
|
|
97
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* @generated from rpc trading.v1.tradingService.GetOrders
|
|
101
|
-
*/
|
|
102
|
-
readonly getOrders: {
|
|
103
|
-
readonly name: "GetOrders";
|
|
104
|
-
readonly I: typeof GetOrdersRequest;
|
|
105
|
-
readonly O: typeof GetOrdersResponse;
|
|
106
|
-
readonly kind: MethodKind.Unary;
|
|
107
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* @generated from rpc trading.v1.tradingService.Order
|
|
111
|
-
*/
|
|
112
|
-
readonly order: {
|
|
113
|
-
readonly name: "Order";
|
|
114
|
-
readonly I: typeof OrderRequest;
|
|
115
|
-
readonly O: typeof OrderResponse;
|
|
116
|
-
readonly kind: MethodKind.Unary;
|
|
117
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* @generated from rpc trading.v1.tradingService.CheckWalletDelegation
|
|
121
|
-
*/
|
|
122
|
-
readonly checkWalletDelegation: {
|
|
123
|
-
readonly name: "CheckWalletDelegation";
|
|
124
|
-
readonly I: typeof CheckWalletDelegationRequest;
|
|
125
|
-
readonly O: typeof CheckWalletDelegationResponse;
|
|
126
|
-
readonly kind: MethodKind.Unary;
|
|
127
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
128
|
-
};
|
|
129
|
-
/**
|
|
130
|
-
* @generated from rpc trading.v1.tradingService.Swap5792
|
|
131
|
-
*/
|
|
132
|
-
readonly swap5792: {
|
|
133
|
-
readonly name: "Swap5792";
|
|
134
|
-
readonly I: typeof Swap5792Request;
|
|
135
|
-
readonly O: typeof Swap5792Response;
|
|
136
|
-
readonly kind: MethodKind.Unary;
|
|
137
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* @generated from rpc trading.v1.tradingService.Encode7702
|
|
141
|
-
*/
|
|
142
|
-
readonly encode7702: {
|
|
143
|
-
readonly name: "Encode7702";
|
|
144
|
-
readonly I: typeof Encode7702Request;
|
|
145
|
-
readonly O: typeof Encode7702Response;
|
|
146
|
-
readonly kind: MethodKind.Unary;
|
|
147
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
148
|
-
};
|
|
149
|
-
/**
|
|
150
|
-
* @generated from rpc trading.v1.tradingService.Encode4337
|
|
151
|
-
*/
|
|
152
|
-
readonly encode4337: {
|
|
153
|
-
readonly name: "Encode4337";
|
|
154
|
-
readonly I: typeof Encode4337Request;
|
|
155
|
-
readonly O: typeof Encode4337Response;
|
|
156
|
-
readonly kind: MethodKind.Unary;
|
|
157
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
158
|
-
};
|
|
159
|
-
/**
|
|
160
|
-
* @generated from rpc trading.v1.tradingService.Swap4337
|
|
161
|
-
*/
|
|
162
|
-
readonly swap4337: {
|
|
163
|
-
readonly name: "Swap4337";
|
|
164
|
-
readonly I: typeof Swap4337Request;
|
|
165
|
-
readonly O: typeof Swap4337Response;
|
|
166
|
-
readonly kind: MethodKind.Unary;
|
|
167
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
168
|
-
};
|
|
169
|
-
/**
|
|
170
|
-
* @generated from rpc trading.v1.tradingService.CheckApproval4337
|
|
171
|
-
*/
|
|
172
|
-
readonly checkApproval4337: {
|
|
173
|
-
readonly name: "CheckApproval4337";
|
|
174
|
-
readonly I: typeof CheckApproval4337Request;
|
|
175
|
-
readonly O: typeof CheckApproval4337Response;
|
|
176
|
-
readonly kind: MethodKind.Unary;
|
|
177
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
178
|
-
};
|
|
179
|
-
/**
|
|
180
|
-
* @generated from rpc trading.v1.tradingService.CreatePlan
|
|
181
|
-
*/
|
|
182
|
-
readonly createPlan: {
|
|
183
|
-
readonly name: "CreatePlan";
|
|
184
|
-
readonly I: typeof CreatePlanRequest;
|
|
185
|
-
readonly O: typeof PlanResponse;
|
|
186
|
-
readonly kind: MethodKind.Unary;
|
|
187
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
188
|
-
};
|
|
189
|
-
/**
|
|
190
|
-
* @generated from rpc trading.v1.tradingService.GetPlan
|
|
191
|
-
*/
|
|
192
|
-
readonly getPlan: {
|
|
193
|
-
readonly name: "GetPlan";
|
|
194
|
-
readonly I: typeof GetPlanRequest;
|
|
195
|
-
readonly O: typeof PlanResponse;
|
|
196
|
-
readonly kind: MethodKind.Unary;
|
|
197
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
198
|
-
};
|
|
199
|
-
/**
|
|
200
|
-
* @generated from rpc trading.v1.tradingService.UpdatePlan
|
|
201
|
-
*/
|
|
202
|
-
readonly updatePlan: {
|
|
203
|
-
readonly name: "UpdatePlan";
|
|
204
|
-
readonly I: typeof UpdatePlanRequest;
|
|
205
|
-
readonly O: typeof PlanResponse;
|
|
206
|
-
readonly kind: MethodKind.Unary;
|
|
207
|
-
readonly idempotency: MethodIdempotency.Idempotent;
|
|
208
|
-
};
|
|
209
|
-
/**
|
|
210
|
-
* @generated from rpc trading.v1.tradingService.GetDocs
|
|
211
|
-
*/
|
|
212
|
-
readonly getDocs: {
|
|
213
|
-
readonly name: "GetDocs";
|
|
214
|
-
readonly I: typeof DocsRequest;
|
|
215
|
-
readonly O: typeof DocsResponse;
|
|
216
|
-
readonly kind: MethodKind.Unary;
|
|
217
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
218
|
-
};
|
|
219
|
-
/**
|
|
220
|
-
* @generated from rpc trading.v1.tradingService.GetPlans
|
|
221
|
-
*/
|
|
222
|
-
readonly getPlans: {
|
|
223
|
-
readonly name: "GetPlans";
|
|
224
|
-
readonly I: typeof GetPlansRequest;
|
|
225
|
-
readonly O: typeof GetPlansResponse;
|
|
226
|
-
readonly kind: MethodKind.Unary;
|
|
227
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
228
|
-
};
|
|
229
|
-
/**
|
|
230
|
-
* @generated from rpc trading.v1.tradingService.MarginQuote
|
|
231
|
-
*/
|
|
232
|
-
readonly marginQuote: {
|
|
233
|
-
readonly name: "MarginQuote";
|
|
234
|
-
readonly I: typeof MarginQuoteRequest;
|
|
235
|
-
readonly O: typeof MarginQuoteResponse;
|
|
236
|
-
readonly kind: MethodKind.Unary;
|
|
237
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
238
|
-
};
|
|
239
|
-
/**
|
|
240
|
-
* @generated from rpc trading.v1.tradingService.MarginMarkets
|
|
241
|
-
*/
|
|
242
|
-
readonly marginMarkets: {
|
|
243
|
-
readonly name: "MarginMarkets";
|
|
244
|
-
readonly I: typeof MarginMarketsRequest;
|
|
245
|
-
readonly O: typeof MarginMarketsResponse;
|
|
246
|
-
readonly kind: MethodKind.Unary;
|
|
247
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
248
|
-
};
|
|
249
|
-
/**
|
|
250
|
-
* @generated from rpc trading.v1.tradingService.MarginAssets
|
|
251
|
-
*/
|
|
252
|
-
readonly marginAssets: {
|
|
253
|
-
readonly name: "MarginAssets";
|
|
254
|
-
readonly I: typeof MarginAssetsRequest;
|
|
255
|
-
readonly O: typeof MarginAssetsResponse;
|
|
256
|
-
readonly kind: MethodKind.Unary;
|
|
257
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
258
|
-
};
|
|
259
|
-
/**
|
|
260
|
-
* @generated from rpc trading.v1.tradingService.MarginPositions
|
|
261
|
-
*/
|
|
262
|
-
readonly marginPositions: {
|
|
263
|
-
readonly name: "MarginPositions";
|
|
264
|
-
readonly I: typeof MarginPositionsRequest;
|
|
265
|
-
readonly O: typeof MarginPositionsResponse;
|
|
266
|
-
readonly kind: MethodKind.Unary;
|
|
267
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
268
|
-
};
|
|
269
|
-
/**
|
|
270
|
-
* @generated from rpc trading.v1.tradingService.MarginPositionActivity
|
|
271
|
-
*/
|
|
272
|
-
readonly marginPositionActivity: {
|
|
273
|
-
readonly name: "MarginPositionActivity";
|
|
274
|
-
readonly I: typeof MarginPositionActivityRequest;
|
|
275
|
-
readonly O: typeof MarginPositionActivityResponse;
|
|
276
|
-
readonly kind: MethodKind.Unary;
|
|
277
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
};
|
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file trading/v1/api.proto (package trading.v1, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginAssetsRequest, MarginAssetsResponse, MarginMarketsRequest, MarginMarketsResponse, MarginPositionActivityRequest, MarginPositionActivityResponse, MarginPositionsRequest, MarginPositionsResponse, MarginQuoteRequest, MarginQuoteResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
6
|
-
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
7
|
-
/**
|
|
8
|
-
* @generated from service trading.v1.tradingService
|
|
9
|
-
*/
|
|
10
|
-
export const tradingService = {
|
|
11
|
-
typeName: "trading.v1.tradingService",
|
|
12
|
-
methods: {
|
|
13
|
-
/**
|
|
14
|
-
* @generated from rpc trading.v1.tradingService.Quote
|
|
15
|
-
*/
|
|
16
|
-
quote: {
|
|
17
|
-
name: "Quote",
|
|
18
|
-
I: QuoteRequest,
|
|
19
|
-
O: QuoteResponse,
|
|
20
|
-
kind: MethodKind.Unary,
|
|
21
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
22
|
-
},
|
|
23
|
-
/**
|
|
24
|
-
* @generated from rpc trading.v1.tradingService.Swap
|
|
25
|
-
*/
|
|
26
|
-
swap: {
|
|
27
|
-
name: "Swap",
|
|
28
|
-
I: SwapRequest,
|
|
29
|
-
O: SwapResponse,
|
|
30
|
-
kind: MethodKind.Unary,
|
|
31
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
32
|
-
},
|
|
33
|
-
/**
|
|
34
|
-
* @generated from rpc trading.v1.tradingService.Swap7702
|
|
35
|
-
*/
|
|
36
|
-
swap7702: {
|
|
37
|
-
name: "Swap7702",
|
|
38
|
-
I: Swap7702Request,
|
|
39
|
-
O: Swap7702Response,
|
|
40
|
-
kind: MethodKind.Unary,
|
|
41
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
42
|
-
},
|
|
43
|
-
/**
|
|
44
|
-
* @generated from rpc trading.v1.tradingService.CheckApproval
|
|
45
|
-
*/
|
|
46
|
-
checkApproval: {
|
|
47
|
-
name: "CheckApproval",
|
|
48
|
-
I: CheckApprovalRequest,
|
|
49
|
-
O: CheckApprovalResponse,
|
|
50
|
-
kind: MethodKind.Unary,
|
|
51
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
52
|
-
},
|
|
53
|
-
/**
|
|
54
|
-
* @generated from rpc trading.v1.tradingService.Permissions
|
|
55
|
-
*/
|
|
56
|
-
permissions: {
|
|
57
|
-
name: "Permissions",
|
|
58
|
-
I: PermissionsRequest,
|
|
59
|
-
O: PermissionsResponse,
|
|
60
|
-
kind: MethodKind.Unary,
|
|
61
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
62
|
-
},
|
|
63
|
-
/**
|
|
64
|
-
* @generated from rpc trading.v1.tradingService.GetSwaps
|
|
65
|
-
*/
|
|
66
|
-
getSwaps: {
|
|
67
|
-
name: "GetSwaps",
|
|
68
|
-
I: GetSwapsRequest,
|
|
69
|
-
O: GetSwapsResponse,
|
|
70
|
-
kind: MethodKind.Unary,
|
|
71
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
72
|
-
},
|
|
73
|
-
/**
|
|
74
|
-
* @generated from rpc trading.v1.tradingService.SwappableTokens
|
|
75
|
-
*/
|
|
76
|
-
swappableTokens: {
|
|
77
|
-
name: "SwappableTokens",
|
|
78
|
-
I: SwappableTokensRequest,
|
|
79
|
-
O: SwappableTokensResponse,
|
|
80
|
-
kind: MethodKind.Unary,
|
|
81
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
82
|
-
},
|
|
83
|
-
/**
|
|
84
|
-
* @generated from rpc trading.v1.tradingService.SupportedChains
|
|
85
|
-
*/
|
|
86
|
-
supportedChains: {
|
|
87
|
-
name: "SupportedChains",
|
|
88
|
-
I: SupportedChainsRequest,
|
|
89
|
-
O: SupportedChainsResponse,
|
|
90
|
-
kind: MethodKind.Unary,
|
|
91
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
92
|
-
},
|
|
93
|
-
/**
|
|
94
|
-
* @generated from rpc trading.v1.tradingService.GetTokens
|
|
95
|
-
*/
|
|
96
|
-
getTokens: {
|
|
97
|
-
name: "GetTokens",
|
|
98
|
-
I: GetTokensRequest,
|
|
99
|
-
O: GetTokensResponse,
|
|
100
|
-
kind: MethodKind.Unary,
|
|
101
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
102
|
-
},
|
|
103
|
-
/**
|
|
104
|
-
* @generated from rpc trading.v1.tradingService.GetOrders
|
|
105
|
-
*/
|
|
106
|
-
getOrders: {
|
|
107
|
-
name: "GetOrders",
|
|
108
|
-
I: GetOrdersRequest,
|
|
109
|
-
O: GetOrdersResponse,
|
|
110
|
-
kind: MethodKind.Unary,
|
|
111
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
112
|
-
},
|
|
113
|
-
/**
|
|
114
|
-
* @generated from rpc trading.v1.tradingService.Order
|
|
115
|
-
*/
|
|
116
|
-
order: {
|
|
117
|
-
name: "Order",
|
|
118
|
-
I: OrderRequest,
|
|
119
|
-
O: OrderResponse,
|
|
120
|
-
kind: MethodKind.Unary,
|
|
121
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
122
|
-
},
|
|
123
|
-
/**
|
|
124
|
-
* @generated from rpc trading.v1.tradingService.CheckWalletDelegation
|
|
125
|
-
*/
|
|
126
|
-
checkWalletDelegation: {
|
|
127
|
-
name: "CheckWalletDelegation",
|
|
128
|
-
I: CheckWalletDelegationRequest,
|
|
129
|
-
O: CheckWalletDelegationResponse,
|
|
130
|
-
kind: MethodKind.Unary,
|
|
131
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
132
|
-
},
|
|
133
|
-
/**
|
|
134
|
-
* @generated from rpc trading.v1.tradingService.Swap5792
|
|
135
|
-
*/
|
|
136
|
-
swap5792: {
|
|
137
|
-
name: "Swap5792",
|
|
138
|
-
I: Swap5792Request,
|
|
139
|
-
O: Swap5792Response,
|
|
140
|
-
kind: MethodKind.Unary,
|
|
141
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
142
|
-
},
|
|
143
|
-
/**
|
|
144
|
-
* @generated from rpc trading.v1.tradingService.Encode7702
|
|
145
|
-
*/
|
|
146
|
-
encode7702: {
|
|
147
|
-
name: "Encode7702",
|
|
148
|
-
I: Encode7702Request,
|
|
149
|
-
O: Encode7702Response,
|
|
150
|
-
kind: MethodKind.Unary,
|
|
151
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
152
|
-
},
|
|
153
|
-
/**
|
|
154
|
-
* @generated from rpc trading.v1.tradingService.Encode4337
|
|
155
|
-
*/
|
|
156
|
-
encode4337: {
|
|
157
|
-
name: "Encode4337",
|
|
158
|
-
I: Encode4337Request,
|
|
159
|
-
O: Encode4337Response,
|
|
160
|
-
kind: MethodKind.Unary,
|
|
161
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
162
|
-
},
|
|
163
|
-
/**
|
|
164
|
-
* @generated from rpc trading.v1.tradingService.Swap4337
|
|
165
|
-
*/
|
|
166
|
-
swap4337: {
|
|
167
|
-
name: "Swap4337",
|
|
168
|
-
I: Swap4337Request,
|
|
169
|
-
O: Swap4337Response,
|
|
170
|
-
kind: MethodKind.Unary,
|
|
171
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
172
|
-
},
|
|
173
|
-
/**
|
|
174
|
-
* @generated from rpc trading.v1.tradingService.CheckApproval4337
|
|
175
|
-
*/
|
|
176
|
-
checkApproval4337: {
|
|
177
|
-
name: "CheckApproval4337",
|
|
178
|
-
I: CheckApproval4337Request,
|
|
179
|
-
O: CheckApproval4337Response,
|
|
180
|
-
kind: MethodKind.Unary,
|
|
181
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
182
|
-
},
|
|
183
|
-
/**
|
|
184
|
-
* @generated from rpc trading.v1.tradingService.CreatePlan
|
|
185
|
-
*/
|
|
186
|
-
createPlan: {
|
|
187
|
-
name: "CreatePlan",
|
|
188
|
-
I: CreatePlanRequest,
|
|
189
|
-
O: PlanResponse,
|
|
190
|
-
kind: MethodKind.Unary,
|
|
191
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
192
|
-
},
|
|
193
|
-
/**
|
|
194
|
-
* @generated from rpc trading.v1.tradingService.GetPlan
|
|
195
|
-
*/
|
|
196
|
-
getPlan: {
|
|
197
|
-
name: "GetPlan",
|
|
198
|
-
I: GetPlanRequest,
|
|
199
|
-
O: PlanResponse,
|
|
200
|
-
kind: MethodKind.Unary,
|
|
201
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
202
|
-
},
|
|
203
|
-
/**
|
|
204
|
-
* @generated from rpc trading.v1.tradingService.UpdatePlan
|
|
205
|
-
*/
|
|
206
|
-
updatePlan: {
|
|
207
|
-
name: "UpdatePlan",
|
|
208
|
-
I: UpdatePlanRequest,
|
|
209
|
-
O: PlanResponse,
|
|
210
|
-
kind: MethodKind.Unary,
|
|
211
|
-
idempotency: MethodIdempotency.Idempotent,
|
|
212
|
-
},
|
|
213
|
-
/**
|
|
214
|
-
* @generated from rpc trading.v1.tradingService.GetDocs
|
|
215
|
-
*/
|
|
216
|
-
getDocs: {
|
|
217
|
-
name: "GetDocs",
|
|
218
|
-
I: DocsRequest,
|
|
219
|
-
O: DocsResponse,
|
|
220
|
-
kind: MethodKind.Unary,
|
|
221
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
222
|
-
},
|
|
223
|
-
/**
|
|
224
|
-
* @generated from rpc trading.v1.tradingService.GetPlans
|
|
225
|
-
*/
|
|
226
|
-
getPlans: {
|
|
227
|
-
name: "GetPlans",
|
|
228
|
-
I: GetPlansRequest,
|
|
229
|
-
O: GetPlansResponse,
|
|
230
|
-
kind: MethodKind.Unary,
|
|
231
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
232
|
-
},
|
|
233
|
-
/**
|
|
234
|
-
* @generated from rpc trading.v1.tradingService.MarginQuote
|
|
235
|
-
*/
|
|
236
|
-
marginQuote: {
|
|
237
|
-
name: "MarginQuote",
|
|
238
|
-
I: MarginQuoteRequest,
|
|
239
|
-
O: MarginQuoteResponse,
|
|
240
|
-
kind: MethodKind.Unary,
|
|
241
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
242
|
-
},
|
|
243
|
-
/**
|
|
244
|
-
* @generated from rpc trading.v1.tradingService.MarginMarkets
|
|
245
|
-
*/
|
|
246
|
-
marginMarkets: {
|
|
247
|
-
name: "MarginMarkets",
|
|
248
|
-
I: MarginMarketsRequest,
|
|
249
|
-
O: MarginMarketsResponse,
|
|
250
|
-
kind: MethodKind.Unary,
|
|
251
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
252
|
-
},
|
|
253
|
-
/**
|
|
254
|
-
* @generated from rpc trading.v1.tradingService.MarginAssets
|
|
255
|
-
*/
|
|
256
|
-
marginAssets: {
|
|
257
|
-
name: "MarginAssets",
|
|
258
|
-
I: MarginAssetsRequest,
|
|
259
|
-
O: MarginAssetsResponse,
|
|
260
|
-
kind: MethodKind.Unary,
|
|
261
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
262
|
-
},
|
|
263
|
-
/**
|
|
264
|
-
* @generated from rpc trading.v1.tradingService.MarginPositions
|
|
265
|
-
*/
|
|
266
|
-
marginPositions: {
|
|
267
|
-
name: "MarginPositions",
|
|
268
|
-
I: MarginPositionsRequest,
|
|
269
|
-
O: MarginPositionsResponse,
|
|
270
|
-
kind: MethodKind.Unary,
|
|
271
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
272
|
-
},
|
|
273
|
-
/**
|
|
274
|
-
* @generated from rpc trading.v1.tradingService.MarginPositionActivity
|
|
275
|
-
*/
|
|
276
|
-
marginPositionActivity: {
|
|
277
|
-
name: "MarginPositionActivity",
|
|
278
|
-
I: MarginPositionActivityRequest,
|
|
279
|
-
O: MarginPositionActivityResponse,
|
|
280
|
-
kind: MethodKind.Unary,
|
|
281
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
282
|
-
},
|
|
283
|
-
}
|
|
284
|
-
};
|