@uniswap/client-trading 0.12.4 → 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.
|
@@ -3,214 +3,214 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const quote: {
|
|
5
5
|
methodKind: "unary";
|
|
6
|
-
input: typeof import("./api_pb").QuoteRequestSchema;
|
|
7
|
-
output: typeof import("./api_pb").QuoteResponseSchema;
|
|
6
|
+
input: typeof import("./api_pb.js").QuoteRequestSchema;
|
|
7
|
+
output: typeof import("./api_pb.js").QuoteResponseSchema;
|
|
8
8
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
9
9
|
/**
|
|
10
10
|
* @generated from rpc trading.v1.tradingService.Swap
|
|
11
11
|
*/
|
|
12
12
|
export declare const swap: {
|
|
13
13
|
methodKind: "unary";
|
|
14
|
-
input: typeof import("./api_pb").SwapRequestSchema;
|
|
15
|
-
output: typeof import("./api_pb").SwapResponseSchema;
|
|
14
|
+
input: typeof import("./api_pb.js").SwapRequestSchema;
|
|
15
|
+
output: typeof import("./api_pb.js").SwapResponseSchema;
|
|
16
16
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
17
17
|
/**
|
|
18
18
|
* @generated from rpc trading.v1.tradingService.Swap7702
|
|
19
19
|
*/
|
|
20
20
|
export declare const swap7702: {
|
|
21
21
|
methodKind: "unary";
|
|
22
|
-
input: typeof import("./api_pb").Swap7702RequestSchema;
|
|
23
|
-
output: typeof import("./api_pb").Swap7702ResponseSchema;
|
|
22
|
+
input: typeof import("./api_pb.js").Swap7702RequestSchema;
|
|
23
|
+
output: typeof import("./api_pb.js").Swap7702ResponseSchema;
|
|
24
24
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
25
25
|
/**
|
|
26
26
|
* @generated from rpc trading.v1.tradingService.CheckApproval
|
|
27
27
|
*/
|
|
28
28
|
export declare const checkApproval: {
|
|
29
29
|
methodKind: "unary";
|
|
30
|
-
input: typeof import("./api_pb").CheckApprovalRequestSchema;
|
|
31
|
-
output: typeof import("./api_pb").CheckApprovalResponseSchema;
|
|
30
|
+
input: typeof import("./api_pb.js").CheckApprovalRequestSchema;
|
|
31
|
+
output: typeof import("./api_pb.js").CheckApprovalResponseSchema;
|
|
32
32
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
33
33
|
/**
|
|
34
34
|
* @generated from rpc trading.v1.tradingService.Permissions
|
|
35
35
|
*/
|
|
36
36
|
export declare const permissions: {
|
|
37
37
|
methodKind: "unary";
|
|
38
|
-
input: typeof import("./api_pb").PermissionsRequestSchema;
|
|
39
|
-
output: typeof import("./api_pb").PermissionsResponseSchema;
|
|
38
|
+
input: typeof import("./api_pb.js").PermissionsRequestSchema;
|
|
39
|
+
output: typeof import("./api_pb.js").PermissionsResponseSchema;
|
|
40
40
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
41
41
|
/**
|
|
42
42
|
* @generated from rpc trading.v1.tradingService.GetSwaps
|
|
43
43
|
*/
|
|
44
44
|
export declare const getSwaps: {
|
|
45
45
|
methodKind: "unary";
|
|
46
|
-
input: typeof import("./api_pb").GetSwapsRequestSchema;
|
|
47
|
-
output: typeof import("./api_pb").GetSwapsResponseSchema;
|
|
46
|
+
input: typeof import("./api_pb.js").GetSwapsRequestSchema;
|
|
47
|
+
output: typeof import("./api_pb.js").GetSwapsResponseSchema;
|
|
48
48
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
49
49
|
/**
|
|
50
50
|
* @generated from rpc trading.v1.tradingService.SwappableTokens
|
|
51
51
|
*/
|
|
52
52
|
export declare const swappableTokens: {
|
|
53
53
|
methodKind: "unary";
|
|
54
|
-
input: typeof import("./api_pb").SwappableTokensRequestSchema;
|
|
55
|
-
output: typeof import("./api_pb").SwappableTokensResponseSchema;
|
|
54
|
+
input: typeof import("./api_pb.js").SwappableTokensRequestSchema;
|
|
55
|
+
output: typeof import("./api_pb.js").SwappableTokensResponseSchema;
|
|
56
56
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
57
57
|
/**
|
|
58
58
|
* @generated from rpc trading.v1.tradingService.SupportedChains
|
|
59
59
|
*/
|
|
60
60
|
export declare const supportedChains: {
|
|
61
61
|
methodKind: "unary";
|
|
62
|
-
input: typeof import("./api_pb").SupportedChainsRequestSchema;
|
|
63
|
-
output: typeof import("./api_pb").SupportedChainsResponseSchema;
|
|
62
|
+
input: typeof import("./api_pb.js").SupportedChainsRequestSchema;
|
|
63
|
+
output: typeof import("./api_pb.js").SupportedChainsResponseSchema;
|
|
64
64
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
65
65
|
/**
|
|
66
66
|
* @generated from rpc trading.v1.tradingService.GetTokens
|
|
67
67
|
*/
|
|
68
68
|
export declare const getTokens: {
|
|
69
69
|
methodKind: "unary";
|
|
70
|
-
input: typeof import("./api_pb").GetTokensRequestSchema;
|
|
71
|
-
output: typeof import("./api_pb").GetTokensResponseSchema;
|
|
70
|
+
input: typeof import("./api_pb.js").GetTokensRequestSchema;
|
|
71
|
+
output: typeof import("./api_pb.js").GetTokensResponseSchema;
|
|
72
72
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
73
73
|
/**
|
|
74
74
|
* @generated from rpc trading.v1.tradingService.GetOrders
|
|
75
75
|
*/
|
|
76
76
|
export declare const getOrders: {
|
|
77
77
|
methodKind: "unary";
|
|
78
|
-
input: typeof import("./api_pb").GetOrdersRequestSchema;
|
|
79
|
-
output: typeof import("./api_pb").GetOrdersResponseSchema;
|
|
78
|
+
input: typeof import("./api_pb.js").GetOrdersRequestSchema;
|
|
79
|
+
output: typeof import("./api_pb.js").GetOrdersResponseSchema;
|
|
80
80
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
81
81
|
/**
|
|
82
82
|
* @generated from rpc trading.v1.tradingService.Order
|
|
83
83
|
*/
|
|
84
84
|
export declare const order: {
|
|
85
85
|
methodKind: "unary";
|
|
86
|
-
input: typeof import("./api_pb").OrderRequestSchema;
|
|
87
|
-
output: typeof import("./api_pb").OrderResponseSchema;
|
|
86
|
+
input: typeof import("./api_pb.js").OrderRequestSchema;
|
|
87
|
+
output: typeof import("./api_pb.js").OrderResponseSchema;
|
|
88
88
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
89
89
|
/**
|
|
90
90
|
* @generated from rpc trading.v1.tradingService.CheckWalletDelegation
|
|
91
91
|
*/
|
|
92
92
|
export declare const checkWalletDelegation: {
|
|
93
93
|
methodKind: "unary";
|
|
94
|
-
input: typeof import("./api_pb").CheckWalletDelegationRequestSchema;
|
|
95
|
-
output: typeof import("./api_pb").CheckWalletDelegationResponseSchema;
|
|
94
|
+
input: typeof import("./api_pb.js").CheckWalletDelegationRequestSchema;
|
|
95
|
+
output: typeof import("./api_pb.js").CheckWalletDelegationResponseSchema;
|
|
96
96
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
97
97
|
/**
|
|
98
98
|
* @generated from rpc trading.v1.tradingService.Swap5792
|
|
99
99
|
*/
|
|
100
100
|
export declare const swap5792: {
|
|
101
101
|
methodKind: "unary";
|
|
102
|
-
input: typeof import("./api_pb").Swap5792RequestSchema;
|
|
103
|
-
output: typeof import("./api_pb").Swap5792ResponseSchema;
|
|
102
|
+
input: typeof import("./api_pb.js").Swap5792RequestSchema;
|
|
103
|
+
output: typeof import("./api_pb.js").Swap5792ResponseSchema;
|
|
104
104
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
105
105
|
/**
|
|
106
106
|
* @generated from rpc trading.v1.tradingService.Encode7702
|
|
107
107
|
*/
|
|
108
108
|
export declare const encode7702: {
|
|
109
109
|
methodKind: "unary";
|
|
110
|
-
input: typeof import("./api_pb").Encode7702RequestSchema;
|
|
111
|
-
output: typeof import("./api_pb").Encode7702ResponseSchema;
|
|
110
|
+
input: typeof import("./api_pb.js").Encode7702RequestSchema;
|
|
111
|
+
output: typeof import("./api_pb.js").Encode7702ResponseSchema;
|
|
112
112
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
113
113
|
/**
|
|
114
114
|
* @generated from rpc trading.v1.tradingService.Encode4337
|
|
115
115
|
*/
|
|
116
116
|
export declare const encode4337: {
|
|
117
117
|
methodKind: "unary";
|
|
118
|
-
input: typeof import("./api_pb").Encode4337RequestSchema;
|
|
119
|
-
output: typeof import("./api_pb").Encode4337ResponseSchema;
|
|
118
|
+
input: typeof import("./api_pb.js").Encode4337RequestSchema;
|
|
119
|
+
output: typeof import("./api_pb.js").Encode4337ResponseSchema;
|
|
120
120
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
121
121
|
/**
|
|
122
122
|
* @generated from rpc trading.v1.tradingService.Swap4337
|
|
123
123
|
*/
|
|
124
124
|
export declare const swap4337: {
|
|
125
125
|
methodKind: "unary";
|
|
126
|
-
input: typeof import("./api_pb").Swap4337RequestSchema;
|
|
127
|
-
output: typeof import("./api_pb").Swap4337ResponseSchema;
|
|
126
|
+
input: typeof import("./api_pb.js").Swap4337RequestSchema;
|
|
127
|
+
output: typeof import("./api_pb.js").Swap4337ResponseSchema;
|
|
128
128
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
129
129
|
/**
|
|
130
130
|
* @generated from rpc trading.v1.tradingService.CheckApproval4337
|
|
131
131
|
*/
|
|
132
132
|
export declare const checkApproval4337: {
|
|
133
133
|
methodKind: "unary";
|
|
134
|
-
input: typeof import("./api_pb").CheckApproval4337RequestSchema;
|
|
135
|
-
output: typeof import("./api_pb").CheckApproval4337ResponseSchema;
|
|
134
|
+
input: typeof import("./api_pb.js").CheckApproval4337RequestSchema;
|
|
135
|
+
output: typeof import("./api_pb.js").CheckApproval4337ResponseSchema;
|
|
136
136
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
137
137
|
/**
|
|
138
138
|
* @generated from rpc trading.v1.tradingService.CreatePlan
|
|
139
139
|
*/
|
|
140
140
|
export declare const createPlan: {
|
|
141
141
|
methodKind: "unary";
|
|
142
|
-
input: typeof import("./api_pb").CreatePlanRequestSchema;
|
|
143
|
-
output: typeof import("./api_pb").PlanResponseSchema;
|
|
142
|
+
input: typeof import("./api_pb.js").CreatePlanRequestSchema;
|
|
143
|
+
output: typeof import("./api_pb.js").PlanResponseSchema;
|
|
144
144
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
145
145
|
/**
|
|
146
146
|
* @generated from rpc trading.v1.tradingService.GetPlan
|
|
147
147
|
*/
|
|
148
148
|
export declare const getPlan: {
|
|
149
149
|
methodKind: "unary";
|
|
150
|
-
input: typeof import("./api_pb").GetPlanRequestSchema;
|
|
151
|
-
output: typeof import("./api_pb").PlanResponseSchema;
|
|
150
|
+
input: typeof import("./api_pb.js").GetPlanRequestSchema;
|
|
151
|
+
output: typeof import("./api_pb.js").PlanResponseSchema;
|
|
152
152
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
153
153
|
/**
|
|
154
154
|
* @generated from rpc trading.v1.tradingService.UpdatePlan
|
|
155
155
|
*/
|
|
156
156
|
export declare const updatePlan: {
|
|
157
157
|
methodKind: "unary";
|
|
158
|
-
input: typeof import("./api_pb").UpdatePlanRequestSchema;
|
|
159
|
-
output: typeof import("./api_pb").PlanResponseSchema;
|
|
158
|
+
input: typeof import("./api_pb.js").UpdatePlanRequestSchema;
|
|
159
|
+
output: typeof import("./api_pb.js").PlanResponseSchema;
|
|
160
160
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
161
161
|
/**
|
|
162
162
|
* @generated from rpc trading.v1.tradingService.GetDocs
|
|
163
163
|
*/
|
|
164
164
|
export declare const getDocs: {
|
|
165
165
|
methodKind: "unary";
|
|
166
|
-
input: typeof import("./api_pb").DocsRequestSchema;
|
|
167
|
-
output: typeof import("./api_pb").DocsResponseSchema;
|
|
166
|
+
input: typeof import("./api_pb.js").DocsRequestSchema;
|
|
167
|
+
output: typeof import("./api_pb.js").DocsResponseSchema;
|
|
168
168
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
169
169
|
/**
|
|
170
170
|
* @generated from rpc trading.v1.tradingService.GetPlans
|
|
171
171
|
*/
|
|
172
172
|
export declare const getPlans: {
|
|
173
173
|
methodKind: "unary";
|
|
174
|
-
input: typeof import("./api_pb").GetPlansRequestSchema;
|
|
175
|
-
output: typeof import("./api_pb").GetPlansResponseSchema;
|
|
174
|
+
input: typeof import("./api_pb.js").GetPlansRequestSchema;
|
|
175
|
+
output: typeof import("./api_pb.js").GetPlansResponseSchema;
|
|
176
176
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
177
177
|
/**
|
|
178
178
|
* @generated from rpc trading.v1.tradingService.MarginQuote
|
|
179
179
|
*/
|
|
180
180
|
export declare const marginQuote: {
|
|
181
181
|
methodKind: "unary";
|
|
182
|
-
input: typeof import("./api_pb").MarginQuoteRequestSchema;
|
|
183
|
-
output: typeof import("./api_pb").MarginQuoteResponseSchema;
|
|
182
|
+
input: typeof import("./api_pb.js").MarginQuoteRequestSchema;
|
|
183
|
+
output: typeof import("./api_pb.js").MarginQuoteResponseSchema;
|
|
184
184
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
185
185
|
/**
|
|
186
186
|
* @generated from rpc trading.v1.tradingService.MarginMarkets
|
|
187
187
|
*/
|
|
188
188
|
export declare const marginMarkets: {
|
|
189
189
|
methodKind: "unary";
|
|
190
|
-
input: typeof import("./api_pb").MarginMarketsRequestSchema;
|
|
191
|
-
output: typeof import("./api_pb").MarginMarketsResponseSchema;
|
|
190
|
+
input: typeof import("./api_pb.js").MarginMarketsRequestSchema;
|
|
191
|
+
output: typeof import("./api_pb.js").MarginMarketsResponseSchema;
|
|
192
192
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
193
193
|
/**
|
|
194
194
|
* @generated from rpc trading.v1.tradingService.MarginAssets
|
|
195
195
|
*/
|
|
196
196
|
export declare const marginAssets: {
|
|
197
197
|
methodKind: "unary";
|
|
198
|
-
input: typeof import("./api_pb").MarginAssetsRequestSchema;
|
|
199
|
-
output: typeof import("./api_pb").MarginAssetsResponseSchema;
|
|
198
|
+
input: typeof import("./api_pb.js").MarginAssetsRequestSchema;
|
|
199
|
+
output: typeof import("./api_pb.js").MarginAssetsResponseSchema;
|
|
200
200
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
201
201
|
/**
|
|
202
202
|
* @generated from rpc trading.v1.tradingService.MarginPositions
|
|
203
203
|
*/
|
|
204
204
|
export declare const marginPositions: {
|
|
205
205
|
methodKind: "unary";
|
|
206
|
-
input: typeof import("./api_pb").MarginPositionsRequestSchema;
|
|
207
|
-
output: typeof import("./api_pb").MarginPositionsResponseSchema;
|
|
206
|
+
input: typeof import("./api_pb.js").MarginPositionsRequestSchema;
|
|
207
|
+
output: typeof import("./api_pb.js").MarginPositionsResponseSchema;
|
|
208
208
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
209
209
|
/**
|
|
210
210
|
* @generated from rpc trading.v1.tradingService.MarginPositionActivity
|
|
211
211
|
*/
|
|
212
212
|
export declare const marginPositionActivity: {
|
|
213
213
|
methodKind: "unary";
|
|
214
|
-
input: typeof import("./api_pb").MarginPositionActivityRequestSchema;
|
|
215
|
-
output: typeof import("./api_pb").MarginPositionActivityResponseSchema;
|
|
214
|
+
input: typeof import("./api_pb.js").MarginPositionActivityRequestSchema;
|
|
215
|
+
output: typeof import("./api_pb.js").MarginPositionActivityResponseSchema;
|
|
216
216
|
} & import("@bufbuild/protobuf").DescMethod;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-query v2.3.1 with parameter "target=ts"
|
|
1
|
+
// @generated by protoc-gen-connect-query v2.3.1 with parameter "target=ts,import_extension=js"
|
|
2
2
|
// @generated from file trading/v1/api.proto (package trading.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import { tradingService } from "./api_pb";
|
|
4
|
+
import { tradingService } from "./api_pb.js";
|
|
5
5
|
/**
|
|
6
6
|
* @generated from rpc trading.v1.tradingService.Quote
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.16.0 with parameter "target=ts"
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=ts,import_extension=js"
|
|
2
2
|
// @generated from file trading/v1/api.proto (package trading.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|