@longdotxyz/shared 0.0.131 → 0.0.133

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.
Files changed (37) hide show
  1. package/dist/contracts/asset.contract.d.ts +3519 -3547
  2. package/dist/contracts/asset.contract.js +57 -94
  3. package/dist/contracts/asset.contract.js.map +1 -1
  4. package/dist/contracts/auction-template.contract.d.ts +208 -186
  5. package/dist/contracts/auction-template.contract.js +54 -64
  6. package/dist/contracts/auction-template.contract.js.map +1 -1
  7. package/dist/contracts/auction.contract.d.ts +113 -133
  8. package/dist/contracts/auction.contract.js +31 -51
  9. package/dist/contracts/auction.contract.js.map +1 -1
  10. package/dist/contracts/charts.contract.d.ts +91 -119
  11. package/dist/contracts/charts.contract.js +13 -32
  12. package/dist/contracts/charts.contract.js.map +1 -1
  13. package/dist/contracts/community.contract.d.ts +73 -86
  14. package/dist/contracts/community.contract.js +7 -27
  15. package/dist/contracts/community.contract.js.map +1 -1
  16. package/dist/contracts/github-activity.contract.d.ts +507 -0
  17. package/dist/contracts/github-activity.contract.js +43 -0
  18. package/dist/contracts/github-activity.contract.js.map +1 -0
  19. package/dist/contracts/index.d.ts +6071 -6159
  20. package/dist/contracts/index.js +5 -4
  21. package/dist/contracts/index.js.map +1 -1
  22. package/dist/contracts/ipfs.contract.d.ts +66 -83
  23. package/dist/contracts/ipfs.contract.js +30 -49
  24. package/dist/contracts/ipfs.contract.js.map +1 -1
  25. package/dist/contracts/market.contract.d.ts +1268 -1418
  26. package/dist/contracts/market.contract.js +69 -132
  27. package/dist/contracts/market.contract.js.map +1 -1
  28. package/dist/contracts/pathfinding.contract.d.ts +191 -202
  29. package/dist/contracts/pathfinding.contract.js +13 -23
  30. package/dist/contracts/pathfinding.contract.js.map +1 -1
  31. package/dist/contracts/sponsorship.contract.d.ts +230 -331
  32. package/dist/contracts/sponsorship.contract.js +78 -138
  33. package/dist/contracts/sponsorship.contract.js.map +1 -1
  34. package/dist/contracts/tokens.contract.d.ts +62 -61
  35. package/dist/contracts/tokens.contract.js +42 -51
  36. package/dist/contracts/tokens.contract.js.map +1 -1
  37. package/package.json +4 -3
@@ -47,10 +47,10 @@ declare const FetchTokensPathsResponseSchema: z.ZodObject<{
47
47
  liquidity_usd: number | null;
48
48
  }>, "many">;
49
49
  }, "strip", z.ZodTypeAny, {
50
+ score: number;
50
51
  source: "codex" | "kyber";
51
52
  start_token_address: string;
52
53
  end_token_address: string;
53
- score: number;
54
54
  hops: {
55
55
  fee: number | null;
56
56
  hooks: string | null;
@@ -71,10 +71,10 @@ declare const FetchTokensPathsResponseSchema: z.ZodObject<{
71
71
  amount_out?: string | undefined;
72
72
  gas_estimate?: string | undefined;
73
73
  }, {
74
+ score: number;
74
75
  source: "codex" | "kyber";
75
76
  start_token_address: string;
76
77
  end_token_address: string;
77
- score: number;
78
78
  hops: {
79
79
  fee: number | null;
80
80
  hooks: string | null;
@@ -99,10 +99,10 @@ declare const FetchTokensPathsResponseSchema: z.ZodObject<{
99
99
  token_address: string;
100
100
  paths_count: number;
101
101
  paths: {
102
+ score: number;
102
103
  source: "codex" | "kyber";
103
104
  start_token_address: string;
104
105
  end_token_address: string;
105
- score: number;
106
106
  hops: {
107
107
  fee: number | null;
108
108
  hooks: string | null;
@@ -127,10 +127,10 @@ declare const FetchTokensPathsResponseSchema: z.ZodObject<{
127
127
  token_address: string;
128
128
  paths_count: number;
129
129
  paths: {
130
+ score: number;
130
131
  source: "codex" | "kyber";
131
132
  start_token_address: string;
132
133
  end_token_address: string;
133
- score: number;
134
134
  hops: {
135
135
  fee: number | null;
136
136
  hooks: string | null;
@@ -169,205 +169,194 @@ declare const KyberSwapResponseSchema: z.ZodObject<{
169
169
  transactionValue: string;
170
170
  }>;
171
171
  declare const pathfindingContract: {
172
- fetchTokenPaths: {
173
- pathParams: z.ZodObject<{
174
- tokenInAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
175
- }, "strip", z.ZodTypeAny, {
176
- tokenInAddress: `0x${string}`;
177
- }, {
178
- tokenInAddress: string;
179
- }>;
180
- query: z.ZodOptional<z.ZodObject<{
181
- amount: z.ZodOptional<z.ZodString>;
182
- tokenOut: z.ZodOptional<z.ZodString>;
183
- slippage: z.ZodOptional<z.ZodString>;
184
- sender: z.ZodOptional<z.ZodString>;
185
- recipient: z.ZodOptional<z.ZodString>;
186
- }, "strip", z.ZodTypeAny, {
187
- amount?: string | undefined;
188
- tokenOut?: string | undefined;
189
- slippage?: string | undefined;
190
- sender?: string | undefined;
191
- recipient?: string | undefined;
192
- }, {
193
- amount?: string | undefined;
194
- tokenOut?: string | undefined;
195
- slippage?: string | undefined;
196
- sender?: string | undefined;
197
- recipient?: string | undefined;
198
- }>>;
199
- method: "GET";
200
- path: "/paths/:tokenInAddress";
201
- responses: {
202
- 200: z.ZodUnion<[z.ZodObject<{
203
- token_address: z.ZodString;
204
- paths_count: z.ZodNumber;
205
- paths: z.ZodArray<z.ZodObject<{
206
- source: z.ZodEnum<["codex", "kyber"]>;
207
- start_token_address: z.ZodString;
208
- end_token_address: z.ZodString;
209
- score: z.ZodNumber;
210
- total_liquidity_usd: z.ZodOptional<z.ZodNumber>;
211
- total_volume_usd: z.ZodOptional<z.ZodNumber>;
212
- bottleneck_liquidity_usd: z.ZodOptional<z.ZodNumber>;
213
- encoded_calldata: z.ZodOptional<z.ZodString>;
214
- router_address: z.ZodOptional<z.ZodString>;
215
- amount_in: z.ZodOptional<z.ZodString>;
216
- amount_out: z.ZodOptional<z.ZodString>;
217
- gas_estimate: z.ZodOptional<z.ZodString>;
218
- hops: z.ZodArray<z.ZodObject<{
219
- pool_address: z.ZodString;
220
- token_in_address: z.ZodString;
221
- token_out_address: z.ZodString;
222
- protocol: z.ZodString;
223
- fee: z.ZodNullable<z.ZodNumber>;
224
- tick_spacing: z.ZodNullable<z.ZodNumber>;
225
- hooks: z.ZodNullable<z.ZodString>;
226
- liquidity_usd: z.ZodNullable<z.ZodNumber>;
227
- volume_usd: z.ZodNullable<z.ZodNumber>;
228
- }, "strip", z.ZodTypeAny, {
229
- fee: number | null;
230
- hooks: string | null;
231
- pool_address: string;
232
- volume_usd: number | null;
233
- token_in_address: string;
234
- token_out_address: string;
235
- protocol: string;
236
- tick_spacing: number | null;
237
- liquidity_usd: number | null;
238
- }, {
239
- fee: number | null;
240
- hooks: string | null;
241
- pool_address: string;
242
- volume_usd: number | null;
243
- token_in_address: string;
244
- token_out_address: string;
245
- protocol: string;
246
- tick_spacing: number | null;
247
- liquidity_usd: number | null;
248
- }>, "many">;
249
- }, "strip", z.ZodTypeAny, {
250
- source: "codex" | "kyber";
251
- start_token_address: string;
252
- end_token_address: string;
253
- score: number;
254
- hops: {
255
- fee: number | null;
256
- hooks: string | null;
257
- pool_address: string;
258
- volume_usd: number | null;
259
- token_in_address: string;
260
- token_out_address: string;
261
- protocol: string;
262
- tick_spacing: number | null;
263
- liquidity_usd: number | null;
264
- }[];
265
- total_liquidity_usd?: number | undefined;
266
- total_volume_usd?: number | undefined;
267
- bottleneck_liquidity_usd?: number | undefined;
268
- encoded_calldata?: string | undefined;
269
- router_address?: string | undefined;
270
- amount_in?: string | undefined;
271
- amount_out?: string | undefined;
272
- gas_estimate?: string | undefined;
273
- }, {
274
- source: "codex" | "kyber";
275
- start_token_address: string;
276
- end_token_address: string;
277
- score: number;
278
- hops: {
279
- fee: number | null;
280
- hooks: string | null;
281
- pool_address: string;
282
- volume_usd: number | null;
283
- token_in_address: string;
284
- token_out_address: string;
285
- protocol: string;
286
- tick_spacing: number | null;
287
- liquidity_usd: number | null;
288
- }[];
289
- total_liquidity_usd?: number | undefined;
290
- total_volume_usd?: number | undefined;
291
- bottleneck_liquidity_usd?: number | undefined;
292
- encoded_calldata?: string | undefined;
293
- router_address?: string | undefined;
294
- amount_in?: string | undefined;
295
- amount_out?: string | undefined;
296
- gas_estimate?: string | undefined;
297
- }>, "many">;
298
- }, "strip", z.ZodTypeAny, {
299
- token_address: string;
300
- paths_count: number;
301
- paths: {
302
- source: "codex" | "kyber";
303
- start_token_address: string;
304
- end_token_address: string;
305
- score: number;
306
- hops: {
307
- fee: number | null;
308
- hooks: string | null;
309
- pool_address: string;
310
- volume_usd: number | null;
311
- token_in_address: string;
312
- token_out_address: string;
313
- protocol: string;
314
- tick_spacing: number | null;
315
- liquidity_usd: number | null;
316
- }[];
317
- total_liquidity_usd?: number | undefined;
318
- total_volume_usd?: number | undefined;
319
- bottleneck_liquidity_usd?: number | undefined;
320
- encoded_calldata?: string | undefined;
321
- router_address?: string | undefined;
322
- amount_in?: string | undefined;
323
- amount_out?: string | undefined;
324
- gas_estimate?: string | undefined;
325
- }[];
326
- }, {
327
- token_address: string;
328
- paths_count: number;
329
- paths: {
330
- source: "codex" | "kyber";
331
- start_token_address: string;
332
- end_token_address: string;
333
- score: number;
334
- hops: {
335
- fee: number | null;
336
- hooks: string | null;
337
- pool_address: string;
338
- volume_usd: number | null;
339
- token_in_address: string;
340
- token_out_address: string;
341
- protocol: string;
342
- tick_spacing: number | null;
343
- liquidity_usd: number | null;
344
- }[];
345
- total_liquidity_usd?: number | undefined;
346
- total_volume_usd?: number | undefined;
347
- bottleneck_liquidity_usd?: number | undefined;
348
- encoded_calldata?: string | undefined;
349
- router_address?: string | undefined;
350
- amount_in?: string | undefined;
351
- amount_out?: string | undefined;
352
- gas_estimate?: string | undefined;
353
- }[];
354
- }>, z.ZodObject<{
355
- amountOut: z.ZodString;
356
- data: z.ZodString;
357
- routerAddress: z.ZodString;
358
- transactionValue: z.ZodString;
172
+ fetchTokenPaths: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<z.ZodObject<{
173
+ tokenInAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
174
+ amount: z.ZodOptional<z.ZodString>;
175
+ tokenOut: z.ZodOptional<z.ZodString>;
176
+ slippage: z.ZodOptional<z.ZodString>;
177
+ sender: z.ZodOptional<z.ZodString>;
178
+ recipient: z.ZodOptional<z.ZodString>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ tokenInAddress: `0x${string}`;
181
+ amount?: string | undefined;
182
+ tokenOut?: string | undefined;
183
+ slippage?: string | undefined;
184
+ sender?: string | undefined;
185
+ recipient?: string | undefined;
186
+ }, {
187
+ tokenInAddress: string;
188
+ amount?: string | undefined;
189
+ tokenOut?: string | undefined;
190
+ slippage?: string | undefined;
191
+ sender?: string | undefined;
192
+ recipient?: string | undefined;
193
+ }>, z.ZodUnion<[z.ZodObject<{
194
+ token_address: z.ZodString;
195
+ paths_count: z.ZodNumber;
196
+ paths: z.ZodArray<z.ZodObject<{
197
+ source: z.ZodEnum<["codex", "kyber"]>;
198
+ start_token_address: z.ZodString;
199
+ end_token_address: z.ZodString;
200
+ score: z.ZodNumber;
201
+ total_liquidity_usd: z.ZodOptional<z.ZodNumber>;
202
+ total_volume_usd: z.ZodOptional<z.ZodNumber>;
203
+ bottleneck_liquidity_usd: z.ZodOptional<z.ZodNumber>;
204
+ encoded_calldata: z.ZodOptional<z.ZodString>;
205
+ router_address: z.ZodOptional<z.ZodString>;
206
+ amount_in: z.ZodOptional<z.ZodString>;
207
+ amount_out: z.ZodOptional<z.ZodString>;
208
+ gas_estimate: z.ZodOptional<z.ZodString>;
209
+ hops: z.ZodArray<z.ZodObject<{
210
+ pool_address: z.ZodString;
211
+ token_in_address: z.ZodString;
212
+ token_out_address: z.ZodString;
213
+ protocol: z.ZodString;
214
+ fee: z.ZodNullable<z.ZodNumber>;
215
+ tick_spacing: z.ZodNullable<z.ZodNumber>;
216
+ hooks: z.ZodNullable<z.ZodString>;
217
+ liquidity_usd: z.ZodNullable<z.ZodNumber>;
218
+ volume_usd: z.ZodNullable<z.ZodNumber>;
359
219
  }, "strip", z.ZodTypeAny, {
360
- amountOut: string;
361
- data: string;
362
- routerAddress: string;
363
- transactionValue: string;
220
+ fee: number | null;
221
+ hooks: string | null;
222
+ pool_address: string;
223
+ volume_usd: number | null;
224
+ token_in_address: string;
225
+ token_out_address: string;
226
+ protocol: string;
227
+ tick_spacing: number | null;
228
+ liquidity_usd: number | null;
364
229
  }, {
365
- amountOut: string;
366
- data: string;
367
- routerAddress: string;
368
- transactionValue: string;
369
- }>]>;
370
- };
371
- };
230
+ fee: number | null;
231
+ hooks: string | null;
232
+ pool_address: string;
233
+ volume_usd: number | null;
234
+ token_in_address: string;
235
+ token_out_address: string;
236
+ protocol: string;
237
+ tick_spacing: number | null;
238
+ liquidity_usd: number | null;
239
+ }>, "many">;
240
+ }, "strip", z.ZodTypeAny, {
241
+ score: number;
242
+ source: "codex" | "kyber";
243
+ start_token_address: string;
244
+ end_token_address: string;
245
+ hops: {
246
+ fee: number | null;
247
+ hooks: string | null;
248
+ pool_address: string;
249
+ volume_usd: number | null;
250
+ token_in_address: string;
251
+ token_out_address: string;
252
+ protocol: string;
253
+ tick_spacing: number | null;
254
+ liquidity_usd: number | null;
255
+ }[];
256
+ total_liquidity_usd?: number | undefined;
257
+ total_volume_usd?: number | undefined;
258
+ bottleneck_liquidity_usd?: number | undefined;
259
+ encoded_calldata?: string | undefined;
260
+ router_address?: string | undefined;
261
+ amount_in?: string | undefined;
262
+ amount_out?: string | undefined;
263
+ gas_estimate?: string | undefined;
264
+ }, {
265
+ score: number;
266
+ source: "codex" | "kyber";
267
+ start_token_address: string;
268
+ end_token_address: string;
269
+ hops: {
270
+ fee: number | null;
271
+ hooks: string | null;
272
+ pool_address: string;
273
+ volume_usd: number | null;
274
+ token_in_address: string;
275
+ token_out_address: string;
276
+ protocol: string;
277
+ tick_spacing: number | null;
278
+ liquidity_usd: number | null;
279
+ }[];
280
+ total_liquidity_usd?: number | undefined;
281
+ total_volume_usd?: number | undefined;
282
+ bottleneck_liquidity_usd?: number | undefined;
283
+ encoded_calldata?: string | undefined;
284
+ router_address?: string | undefined;
285
+ amount_in?: string | undefined;
286
+ amount_out?: string | undefined;
287
+ gas_estimate?: string | undefined;
288
+ }>, "many">;
289
+ }, "strip", z.ZodTypeAny, {
290
+ token_address: string;
291
+ paths_count: number;
292
+ paths: {
293
+ score: number;
294
+ source: "codex" | "kyber";
295
+ start_token_address: string;
296
+ end_token_address: string;
297
+ hops: {
298
+ fee: number | null;
299
+ hooks: string | null;
300
+ pool_address: string;
301
+ volume_usd: number | null;
302
+ token_in_address: string;
303
+ token_out_address: string;
304
+ protocol: string;
305
+ tick_spacing: number | null;
306
+ liquidity_usd: number | null;
307
+ }[];
308
+ total_liquidity_usd?: number | undefined;
309
+ total_volume_usd?: number | undefined;
310
+ bottleneck_liquidity_usd?: number | undefined;
311
+ encoded_calldata?: string | undefined;
312
+ router_address?: string | undefined;
313
+ amount_in?: string | undefined;
314
+ amount_out?: string | undefined;
315
+ gas_estimate?: string | undefined;
316
+ }[];
317
+ }, {
318
+ token_address: string;
319
+ paths_count: number;
320
+ paths: {
321
+ score: number;
322
+ source: "codex" | "kyber";
323
+ start_token_address: string;
324
+ end_token_address: string;
325
+ hops: {
326
+ fee: number | null;
327
+ hooks: string | null;
328
+ pool_address: string;
329
+ volume_usd: number | null;
330
+ token_in_address: string;
331
+ token_out_address: string;
332
+ protocol: string;
333
+ tick_spacing: number | null;
334
+ liquidity_usd: number | null;
335
+ }[];
336
+ total_liquidity_usd?: number | undefined;
337
+ total_volume_usd?: number | undefined;
338
+ bottleneck_liquidity_usd?: number | undefined;
339
+ encoded_calldata?: string | undefined;
340
+ router_address?: string | undefined;
341
+ amount_in?: string | undefined;
342
+ amount_out?: string | undefined;
343
+ gas_estimate?: string | undefined;
344
+ }[];
345
+ }>, z.ZodObject<{
346
+ amountOut: z.ZodString;
347
+ data: z.ZodString;
348
+ routerAddress: z.ZodString;
349
+ transactionValue: z.ZodString;
350
+ }, "strip", z.ZodTypeAny, {
351
+ amountOut: string;
352
+ data: string;
353
+ routerAddress: string;
354
+ transactionValue: string;
355
+ }, {
356
+ amountOut: string;
357
+ data: string;
358
+ routerAddress: string;
359
+ transactionValue: string;
360
+ }>]>, Record<never, never>, Record<never, never>>;
372
361
  };
373
362
  export { pathfindingContract, FetchTokensPathsResponseSchema, KyberSwapResponseSchema };
@@ -4,10 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.KyberSwapResponseSchema = exports.FetchTokensPathsResponseSchema = exports.pathfindingContract = void 0;
7
- const core_1 = require("@ts-rest/core");
7
+ const contract_1 = require("@orpc/contract");
8
8
  const zod_1 = __importDefault(require("zod"));
9
9
  const types_1 = require("../types");
10
- const contract = (0, core_1.initContract)();
11
10
  const PathHopSchema = zod_1.default.object({
12
11
  pool_address: zod_1.default.string(),
13
12
  token_in_address: zod_1.default.string(),
@@ -47,26 +46,17 @@ const KyberSwapResponseSchema = zod_1.default.object({
47
46
  transactionValue: zod_1.default.string(),
48
47
  });
49
48
  exports.KyberSwapResponseSchema = KyberSwapResponseSchema;
50
- const pathfindingContract = contract.router({
51
- fetchTokenPaths: {
52
- method: "GET",
53
- path: "/paths/:tokenInAddress",
54
- pathParams: zod_1.default.object({
55
- tokenInAddress: types_1.hex,
56
- }),
57
- query: zod_1.default
58
- .object({
59
- amount: zod_1.default.string().optional(),
60
- tokenOut: zod_1.default.string().optional(),
61
- slippage: zod_1.default.string().optional(),
62
- sender: zod_1.default.string().optional(),
63
- recipient: zod_1.default.string().optional(),
64
- })
65
- .optional(),
66
- responses: {
67
- 200: zod_1.default.union([FetchTokensPathsResponseSchema, KyberSwapResponseSchema]),
68
- },
69
- },
70
- });
49
+ const fetchTokenPaths = contract_1.oc
50
+ .route({ method: "GET", path: "/paths/{tokenInAddress}", tags: ["pathfinding"] })
51
+ .input(zod_1.default.object({
52
+ tokenInAddress: types_1.hex,
53
+ amount: zod_1.default.string().optional(),
54
+ tokenOut: zod_1.default.string().optional(),
55
+ slippage: zod_1.default.string().optional(),
56
+ sender: zod_1.default.string().optional(),
57
+ recipient: zod_1.default.string().optional(),
58
+ }))
59
+ .output(zod_1.default.union([FetchTokensPathsResponseSchema, KyberSwapResponseSchema]));
60
+ const pathfindingContract = { fetchTokenPaths };
71
61
  exports.pathfindingContract = pathfindingContract;
72
62
  //# sourceMappingURL=pathfinding.contract.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pathfinding.contract.js","sourceRoot":"","sources":["../../src/contracts/pathfinding.contract.ts"],"names":[],"mappings":";;;;;;AAAA,wCAA6C;AAC7C,8CAAoB;AAEpB,oCAA+B;AAE/B,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,aAAa,GAAG,aAAC,CAAC,MAAM,CAAC;IAC3B,YAAY,EAAE,aAAC,CAAC,MAAM,EAAE;IACxB,gBAAgB,EAAE,aAAC,CAAC,MAAM,EAAE;IAC5B,iBAAiB,EAAE,aAAC,CAAC,MAAM,EAAE;IAC7B,QAAQ,EAAE,aAAC,CAAC,MAAM,EAAE;IACpB,GAAG,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,YAAY,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,aAAa,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,aAAC,CAAC,MAAM,CAAC;IACxB,MAAM,EAAE,aAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAClC,mBAAmB,EAAE,aAAC,CAAC,MAAM,EAAE;IAC/B,iBAAiB,EAAE,aAAC,CAAC,MAAM,EAAE;IAC7B,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qDAAqD,CAAC;IACjF,mBAAmB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;IAC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