@uniswap/client-trading 0.6.1 → 0.8.0
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 +29 -1
- package/dist/trading/v1/api-tradingService_connectquery.js +29 -1
- package/dist/trading/v1/api_connect.d.ts +21 -1
- package/dist/trading/v1/api_connect.js +21 -1
- package/dist/trading/v1/api_pb.d.ts +1065 -0
- package/dist/trading/v1/api_pb.js +1035 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, 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 { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, 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";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc trading.v1.tradingService.Quote
|
|
5
5
|
*/
|
|
@@ -308,6 +308,20 @@ export declare const getPlans: {
|
|
|
308
308
|
readonly typeName: "trading.v1.tradingService";
|
|
309
309
|
};
|
|
310
310
|
};
|
|
311
|
+
/**
|
|
312
|
+
* @generated from rpc trading.v1.tradingService.MarginQuote
|
|
313
|
+
*/
|
|
314
|
+
export declare const marginQuote: {
|
|
315
|
+
readonly localName: "marginQuote";
|
|
316
|
+
readonly name: "MarginQuote";
|
|
317
|
+
readonly kind: MethodKind.Unary;
|
|
318
|
+
readonly I: typeof MarginQuoteRequest;
|
|
319
|
+
readonly O: typeof MarginQuoteResponse;
|
|
320
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
321
|
+
readonly service: {
|
|
322
|
+
readonly typeName: "trading.v1.tradingService";
|
|
323
|
+
};
|
|
324
|
+
};
|
|
311
325
|
/**
|
|
312
326
|
* @generated from rpc trading.v1.tradingService.MarginMarkets
|
|
313
327
|
*/
|
|
@@ -322,3 +336,17 @@ export declare const marginMarkets: {
|
|
|
322
336
|
readonly typeName: "trading.v1.tradingService";
|
|
323
337
|
};
|
|
324
338
|
};
|
|
339
|
+
/**
|
|
340
|
+
* @generated from rpc trading.v1.tradingService.MarginPositions
|
|
341
|
+
*/
|
|
342
|
+
export declare const marginPositions: {
|
|
343
|
+
readonly localName: "marginPositions";
|
|
344
|
+
readonly name: "MarginPositions";
|
|
345
|
+
readonly kind: MethodKind.Unary;
|
|
346
|
+
readonly I: typeof MarginPositionsRequest;
|
|
347
|
+
readonly O: typeof MarginPositionsResponse;
|
|
348
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
349
|
+
readonly service: {
|
|
350
|
+
readonly typeName: "trading.v1.tradingService";
|
|
351
|
+
};
|
|
352
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, 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 { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, 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";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc trading.v1.tradingService.Quote
|
|
9
9
|
*/
|
|
@@ -312,6 +312,20 @@ export const getPlans = {
|
|
|
312
312
|
typeName: "trading.v1.tradingService"
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
|
+
/**
|
|
316
|
+
* @generated from rpc trading.v1.tradingService.MarginQuote
|
|
317
|
+
*/
|
|
318
|
+
export const marginQuote = {
|
|
319
|
+
localName: "marginQuote",
|
|
320
|
+
name: "MarginQuote",
|
|
321
|
+
kind: MethodKind.Unary,
|
|
322
|
+
I: MarginQuoteRequest,
|
|
323
|
+
O: MarginQuoteResponse,
|
|
324
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
325
|
+
service: {
|
|
326
|
+
typeName: "trading.v1.tradingService"
|
|
327
|
+
}
|
|
328
|
+
};
|
|
315
329
|
/**
|
|
316
330
|
* @generated from rpc trading.v1.tradingService.MarginMarkets
|
|
317
331
|
*/
|
|
@@ -326,3 +340,17 @@ export const marginMarkets = {
|
|
|
326
340
|
typeName: "trading.v1.tradingService"
|
|
327
341
|
}
|
|
328
342
|
};
|
|
343
|
+
/**
|
|
344
|
+
* @generated from rpc trading.v1.tradingService.MarginPositions
|
|
345
|
+
*/
|
|
346
|
+
export const marginPositions = {
|
|
347
|
+
localName: "marginPositions",
|
|
348
|
+
name: "MarginPositions",
|
|
349
|
+
kind: MethodKind.Unary,
|
|
350
|
+
I: MarginPositionsRequest,
|
|
351
|
+
O: MarginPositionsResponse,
|
|
352
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
353
|
+
service: {
|
|
354
|
+
typeName: "trading.v1.tradingService"
|
|
355
|
+
}
|
|
356
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
1
|
+
import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, 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
2
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service trading.v1.tradingService
|
|
@@ -226,6 +226,16 @@ export declare const tradingService: {
|
|
|
226
226
|
readonly kind: MethodKind.Unary;
|
|
227
227
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
228
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
|
+
};
|
|
229
239
|
/**
|
|
230
240
|
* @generated from rpc trading.v1.tradingService.MarginMarkets
|
|
231
241
|
*/
|
|
@@ -236,5 +246,15 @@ export declare const tradingService: {
|
|
|
236
246
|
readonly kind: MethodKind.Unary;
|
|
237
247
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
238
248
|
};
|
|
249
|
+
/**
|
|
250
|
+
* @generated from rpc trading.v1.tradingService.MarginPositions
|
|
251
|
+
*/
|
|
252
|
+
readonly marginPositions: {
|
|
253
|
+
readonly name: "MarginPositions";
|
|
254
|
+
readonly I: typeof MarginPositionsRequest;
|
|
255
|
+
readonly O: typeof MarginPositionsResponse;
|
|
256
|
+
readonly kind: MethodKind.Unary;
|
|
257
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
258
|
+
};
|
|
239
259
|
};
|
|
240
260
|
};
|
|
@@ -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 { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
5
|
+
import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, 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
6
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service trading.v1.tradingService
|
|
@@ -230,6 +230,16 @@ export const tradingService = {
|
|
|
230
230
|
kind: MethodKind.Unary,
|
|
231
231
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
232
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
|
+
},
|
|
233
243
|
/**
|
|
234
244
|
* @generated from rpc trading.v1.tradingService.MarginMarkets
|
|
235
245
|
*/
|
|
@@ -240,5 +250,15 @@ export const tradingService = {
|
|
|
240
250
|
kind: MethodKind.Unary,
|
|
241
251
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
242
252
|
},
|
|
253
|
+
/**
|
|
254
|
+
* @generated from rpc trading.v1.tradingService.MarginPositions
|
|
255
|
+
*/
|
|
256
|
+
marginPositions: {
|
|
257
|
+
name: "MarginPositions",
|
|
258
|
+
I: MarginPositionsRequest,
|
|
259
|
+
O: MarginPositionsResponse,
|
|
260
|
+
kind: MethodKind.Unary,
|
|
261
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
262
|
+
},
|
|
243
263
|
}
|
|
244
264
|
};
|