@uniswap/client-trading 0.1.2 → 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.
@@ -1,8 +1,8 @@
1
- // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
2
2
  // @generated from file trading/v1/api.proto (package trading.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CheckApprovalLPRequest, CheckApprovalLPResponse, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, ClaimLPRewardsRequest, ClaimLPRewardsResponse, CreateLPPositionRequest, CreateLPPositionResponse, CreatePlanRequest, CreatePlanResponse, DecreaseLPPositionRequest, DecreaseLPPositionResponse, DocsRequest, DocsResponse, Encode7702Request, Encode7702Response, GetLPPriceDiscrepancyRequest, GetLPPriceDiscrepancyResponse, GetOrdersRequest, GetOrdersResponse, GetSwapsRequest, GetSwapsResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateLpPositionRequest, MigrateLpPositionResponse, MigrateV2ToV3LPPositionRequest, MigrateV2ToV3LPPositionResponse, OrderRequest, OrderResponse, PoolInfoRequest, PoolInfoResponse, QuoteRequest, QuoteResponse, SendRequest, SendResponse, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse } from "./api_pb.js";
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,76 +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
- /**
154
- * @generated from rpc trading.v1.tradingService.ClaimLPRewards
155
- */
156
- claimLPRewards: {
157
- name: "ClaimLPRewards",
158
- I: ClaimLPRewardsRequest,
159
- O: ClaimLPRewardsResponse,
160
- kind: MethodKind.Unary,
161
- idempotency: MethodIdempotency.NoSideEffects,
162
- },
163
93
  /**
164
94
  * @generated from rpc trading.v1.tradingService.Send
165
95
  */
@@ -180,16 +110,6 @@ export const tradingService = {
180
110
  kind: MethodKind.Unary,
181
111
  idempotency: MethodIdempotency.NoSideEffects,
182
112
  },
183
- /**
184
- * @generated from rpc trading.v1.tradingService.PoolInfo
185
- */
186
- poolInfo: {
187
- name: "PoolInfo",
188
- I: PoolInfoRequest,
189
- O: PoolInfoResponse,
190
- kind: MethodKind.Unary,
191
- idempotency: MethodIdempotency.NoSideEffects,
192
- },
193
113
  /**
194
114
  * @generated from rpc trading.v1.tradingService.Swap5792
195
115
  */
@@ -200,16 +120,6 @@ export const tradingService = {
200
120
  kind: MethodKind.Unary,
201
121
  idempotency: MethodIdempotency.NoSideEffects,
202
122
  },
203
- /**
204
- * @generated from rpc trading.v1.tradingService.GetLPPriceDiscrepancy
205
- */
206
- getLPPriceDiscrepancy: {
207
- name: "GetLPPriceDiscrepancy",
208
- I: GetLPPriceDiscrepancyRequest,
209
- O: GetLPPriceDiscrepancyResponse,
210
- kind: MethodKind.Unary,
211
- idempotency: MethodIdempotency.NoSideEffects,
212
- },
213
123
  /**
214
124
  * @generated from rpc trading.v1.tradingService.Encode7702
215
125
  */
@@ -221,25 +131,35 @@ export const tradingService = {
221
131
  idempotency: MethodIdempotency.NoSideEffects,
222
132
  },
223
133
  /**
224
- * @generated from rpc trading.v1.tradingService.MigrateV2ToV3LPPosition
134
+ * @generated from rpc trading.v1.tradingService.CreatePlan
225
135
  */
226
- migrateV2ToV3LPPosition: {
227
- name: "MigrateV2ToV3LPPosition",
228
- I: MigrateV2ToV3LPPositionRequest,
229
- O: MigrateV2ToV3LPPositionResponse,
136
+ createPlan: {
137
+ name: "CreatePlan",
138
+ I: CreatePlanRequest,
139
+ O: PlanResponse,
230
140
  kind: MethodKind.Unary,
231
141
  idempotency: MethodIdempotency.NoSideEffects,
232
142
  },
233
143
  /**
234
- * @generated from rpc trading.v1.tradingService.CreatePlan
144
+ * @generated from rpc trading.v1.tradingService.GetPlan
235
145
  */
236
- createPlan: {
237
- name: "CreatePlan",
238
- I: CreatePlanRequest,
239
- O: CreatePlanResponse,
146
+ getPlan: {
147
+ name: "GetPlan",
148
+ I: GetPlanRequest,
149
+ O: PlanResponse,
240
150
  kind: MethodKind.Unary,
241
151
  idempotency: MethodIdempotency.NoSideEffects,
242
152
  },
153
+ /**
154
+ * @generated from rpc trading.v1.tradingService.UpdatePlan
155
+ */
156
+ updatePlan: {
157
+ name: "UpdatePlan",
158
+ I: UpdatePlanRequest,
159
+ O: PlanResponse,
160
+ kind: MethodKind.Unary,
161
+ idempotency: MethodIdempotency.Idempotent,
162
+ },
243
163
  /**
244
164
  * @generated from rpc trading.v1.tradingService.GetDocs
245
165
  */
@@ -250,5 +170,15 @@ export const tradingService = {
250
170
  kind: MethodKind.Unary,
251
171
  idempotency: MethodIdempotency.NoSideEffects,
252
172
  },
173
+ /**
174
+ * @generated from rpc trading.v1.tradingService.GetPlans
175
+ */
176
+ getPlans: {
177
+ name: "GetPlans",
178
+ I: GetPlansRequest,
179
+ O: GetPlansResponse,
180
+ kind: MethodKind.Unary,
181
+ idempotency: MethodIdempotency.NoSideEffects,
182
+ },
253
183
  }
254
184
  };