@shapeshiftoss/contracts 1.0.3 → 1.0.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.
Files changed (124) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -0
  2. package/dist/cjs/abis/arbOutbox.d.ts +413 -0
  3. package/dist/cjs/abis/arbOutbox.js +229 -0
  4. package/dist/cjs/abis/arbProxy.d.ts +102 -0
  5. package/dist/cjs/abis/arbProxy.js +69 -0
  6. package/dist/cjs/abis/arbRetryableTx.d.ts +230 -0
  7. package/dist/cjs/abis/arbRetryableTx.js +116 -0
  8. package/dist/cjs/abis/arbSys.d.ts +278 -0
  9. package/dist/cjs/abis/arbSys.js +142 -0
  10. package/dist/cjs/abis/evergreenFarming.d.ts +517 -0
  11. package/dist/cjs/abis/evergreenFarming.js +655 -0
  12. package/dist/cjs/abis/farming.d.ts +361 -0
  13. package/dist/cjs/abis/farming.js +459 -0
  14. package/dist/cjs/abis/foxy.d.ts +519 -0
  15. package/dist/cjs/abis/foxy.js +678 -0
  16. package/dist/cjs/abis/foxyStaking.d.ts +556 -0
  17. package/dist/cjs/abis/foxyStaking.js +720 -0
  18. package/dist/cjs/abis/iUniswapV2Pair.d.ts +560 -0
  19. package/dist/cjs/abis/iUniswapV2Pair.js +710 -0
  20. package/dist/cjs/abis/iUniswapV3Pool.d.ts +770 -0
  21. package/dist/cjs/abis/iUniswapV3Pool.js +986 -0
  22. package/dist/cjs/abis/index.d.ts +23 -0
  23. package/dist/cjs/abis/index.js +39 -0
  24. package/dist/cjs/abis/l1ArbitrumGateway.d.ts +494 -0
  25. package/dist/cjs/abis/l1ArbitrumGateway.js +259 -0
  26. package/dist/cjs/abis/l1OrbitCustomGateway.d.ts +769 -0
  27. package/dist/cjs/abis/l1OrbitCustomGateway.js +378 -0
  28. package/dist/cjs/abis/l2ArbitrumGateway.d.ts +308 -0
  29. package/dist/cjs/abis/l2ArbitrumGateway.js +172 -0
  30. package/dist/cjs/abis/liquidityReserve.d.ts +421 -0
  31. package/dist/cjs/abis/liquidityReserve.js +550 -0
  32. package/dist/cjs/abis/rfox.d.ts +680 -0
  33. package/dist/cjs/abis/rfox.js +558 -0
  34. package/dist/cjs/abis/thorchainRouter.d.ts +349 -0
  35. package/dist/cjs/abis/thorchainRouter.js +445 -0
  36. package/dist/cjs/abis/tokeManager.d.ts +774 -0
  37. package/dist/cjs/abis/tokeManager.js +511 -0
  38. package/dist/cjs/abis/tokePool.d.ts +502 -0
  39. package/dist/cjs/abis/tokePool.js +311 -0
  40. package/dist/cjs/abis/tokeRewardHash.d.ts +112 -0
  41. package/dist/cjs/abis/tokeRewardHash.js +74 -0
  42. package/dist/cjs/abis/uniV2StakingRewards.d.ts +316 -0
  43. package/dist/cjs/abis/uniV2StakingRewards.js +414 -0
  44. package/dist/cjs/abis/uniswapV2Router02.d.ts +737 -0
  45. package/dist/cjs/abis/uniswapV2Router02.js +956 -0
  46. package/dist/cjs/abis/uniswapV3Quoter.d.ts +147 -0
  47. package/dist/cjs/abis/uniswapV3Quoter.js +196 -0
  48. package/dist/cjs/abis/weth.d.ts +213 -0
  49. package/dist/cjs/abis/weth.js +282 -0
  50. package/dist/cjs/constants.d.ts +6640 -0
  51. package/dist/cjs/constants.js +108 -0
  52. package/dist/cjs/contractManager.d.ts +11 -0
  53. package/dist/cjs/contractManager.js +77 -0
  54. package/dist/cjs/ethersProviderSingleton.d.ts +6 -0
  55. package/dist/cjs/ethersProviderSingleton.js +77 -0
  56. package/dist/cjs/index.d.ts +6 -0
  57. package/dist/cjs/index.js +22 -0
  58. package/dist/cjs/package.json +1 -0
  59. package/dist/cjs/types.d.ts +21 -0
  60. package/dist/cjs/types.js +9 -0
  61. package/dist/cjs/viemClient.d.ts +69736 -0
  62. package/dist/cjs/viemClient.js +102 -0
  63. package/dist/esm/.tsbuildinfo +1 -0
  64. package/dist/esm/abis/arbOutbox.d.ts +413 -0
  65. package/dist/esm/abis/arbOutbox.js +226 -0
  66. package/dist/esm/abis/arbProxy.d.ts +102 -0
  67. package/dist/esm/abis/arbProxy.js +66 -0
  68. package/dist/esm/abis/arbRetryableTx.d.ts +230 -0
  69. package/dist/esm/abis/arbRetryableTx.js +113 -0
  70. package/dist/esm/abis/arbSys.d.ts +278 -0
  71. package/dist/esm/abis/arbSys.js +139 -0
  72. package/dist/esm/abis/evergreenFarming.d.ts +517 -0
  73. package/dist/esm/abis/evergreenFarming.js +652 -0
  74. package/dist/esm/abis/farming.d.ts +361 -0
  75. package/dist/esm/abis/farming.js +456 -0
  76. package/dist/esm/abis/foxy.d.ts +519 -0
  77. package/dist/esm/abis/foxy.js +675 -0
  78. package/dist/esm/abis/foxyStaking.d.ts +556 -0
  79. package/dist/esm/abis/foxyStaking.js +717 -0
  80. package/dist/esm/abis/iUniswapV2Pair.d.ts +560 -0
  81. package/dist/esm/abis/iUniswapV2Pair.js +707 -0
  82. package/dist/esm/abis/iUniswapV3Pool.d.ts +770 -0
  83. package/dist/esm/abis/iUniswapV3Pool.js +983 -0
  84. package/dist/esm/abis/index.d.ts +23 -0
  85. package/dist/esm/abis/index.js +23 -0
  86. package/dist/esm/abis/l1ArbitrumGateway.d.ts +494 -0
  87. package/dist/esm/abis/l1ArbitrumGateway.js +256 -0
  88. package/dist/esm/abis/l1OrbitCustomGateway.d.ts +769 -0
  89. package/dist/esm/abis/l1OrbitCustomGateway.js +375 -0
  90. package/dist/esm/abis/l2ArbitrumGateway.d.ts +308 -0
  91. package/dist/esm/abis/l2ArbitrumGateway.js +169 -0
  92. package/dist/esm/abis/liquidityReserve.d.ts +421 -0
  93. package/dist/esm/abis/liquidityReserve.js +547 -0
  94. package/dist/esm/abis/rfox.d.ts +680 -0
  95. package/dist/esm/abis/rfox.js +555 -0
  96. package/dist/esm/abis/thorchainRouter.d.ts +349 -0
  97. package/dist/esm/abis/thorchainRouter.js +442 -0
  98. package/dist/esm/abis/tokeManager.d.ts +774 -0
  99. package/dist/esm/abis/tokeManager.js +508 -0
  100. package/dist/esm/abis/tokePool.d.ts +502 -0
  101. package/dist/esm/abis/tokePool.js +308 -0
  102. package/dist/esm/abis/tokeRewardHash.d.ts +112 -0
  103. package/dist/esm/abis/tokeRewardHash.js +71 -0
  104. package/dist/esm/abis/uniV2StakingRewards.d.ts +316 -0
  105. package/dist/esm/abis/uniV2StakingRewards.js +411 -0
  106. package/dist/esm/abis/uniswapV2Router02.d.ts +737 -0
  107. package/dist/esm/abis/uniswapV2Router02.js +953 -0
  108. package/dist/esm/abis/uniswapV3Quoter.d.ts +147 -0
  109. package/dist/esm/abis/uniswapV3Quoter.js +193 -0
  110. package/dist/esm/abis/weth.d.ts +213 -0
  111. package/dist/esm/abis/weth.js +279 -0
  112. package/dist/esm/constants.d.ts +6640 -0
  113. package/dist/esm/constants.js +105 -0
  114. package/dist/esm/contractManager.d.ts +11 -0
  115. package/dist/esm/contractManager.js +69 -0
  116. package/dist/esm/ethersProviderSingleton.d.ts +6 -0
  117. package/dist/esm/ethersProviderSingleton.js +71 -0
  118. package/dist/esm/index.d.ts +6 -0
  119. package/dist/esm/index.js +6 -0
  120. package/dist/esm/types.d.ts +21 -0
  121. package/dist/esm/types.js +6 -0
  122. package/dist/esm/viemClient.d.ts +69736 -0
  123. package/dist/esm/viemClient.js +95 -0
  124. package/package.json +4 -4
@@ -0,0 +1,953 @@
1
+ export const UNISWAP_V2_ROUTER_02_ABI = [
2
+ {
3
+ inputs: [],
4
+ name: 'WETH',
5
+ outputs: [
6
+ {
7
+ internalType: 'address',
8
+ name: '',
9
+ type: 'address',
10
+ },
11
+ ],
12
+ stateMutability: 'pure',
13
+ type: 'function',
14
+ },
15
+ {
16
+ inputs: [
17
+ {
18
+ internalType: 'address',
19
+ name: 'tokenA',
20
+ type: 'address',
21
+ },
22
+ {
23
+ internalType: 'address',
24
+ name: 'tokenB',
25
+ type: 'address',
26
+ },
27
+ {
28
+ internalType: 'uint256',
29
+ name: 'amountADesired',
30
+ type: 'uint256',
31
+ },
32
+ {
33
+ internalType: 'uint256',
34
+ name: 'amountBDesired',
35
+ type: 'uint256',
36
+ },
37
+ {
38
+ internalType: 'uint256',
39
+ name: 'amountAMin',
40
+ type: 'uint256',
41
+ },
42
+ {
43
+ internalType: 'uint256',
44
+ name: 'amountBMin',
45
+ type: 'uint256',
46
+ },
47
+ {
48
+ internalType: 'address',
49
+ name: 'to',
50
+ type: 'address',
51
+ },
52
+ {
53
+ internalType: 'uint256',
54
+ name: 'deadline',
55
+ type: 'uint256',
56
+ },
57
+ ],
58
+ name: 'addLiquidity',
59
+ outputs: [
60
+ {
61
+ internalType: 'uint256',
62
+ name: 'amountA',
63
+ type: 'uint256',
64
+ },
65
+ {
66
+ internalType: 'uint256',
67
+ name: 'amountB',
68
+ type: 'uint256',
69
+ },
70
+ {
71
+ internalType: 'uint256',
72
+ name: 'liquidity',
73
+ type: 'uint256',
74
+ },
75
+ ],
76
+ stateMutability: 'nonpayable',
77
+ type: 'function',
78
+ },
79
+ {
80
+ inputs: [
81
+ {
82
+ internalType: 'address',
83
+ name: 'token',
84
+ type: 'address',
85
+ },
86
+ {
87
+ internalType: 'uint256',
88
+ name: 'amountTokenDesired',
89
+ type: 'uint256',
90
+ },
91
+ {
92
+ internalType: 'uint256',
93
+ name: 'amountTokenMin',
94
+ type: 'uint256',
95
+ },
96
+ {
97
+ internalType: 'uint256',
98
+ name: 'amountETHMin',
99
+ type: 'uint256',
100
+ },
101
+ {
102
+ internalType: 'address',
103
+ name: 'to',
104
+ type: 'address',
105
+ },
106
+ {
107
+ internalType: 'uint256',
108
+ name: 'deadline',
109
+ type: 'uint256',
110
+ },
111
+ ],
112
+ name: 'addLiquidityETH',
113
+ outputs: [
114
+ {
115
+ internalType: 'uint256',
116
+ name: 'amountToken',
117
+ type: 'uint256',
118
+ },
119
+ {
120
+ internalType: 'uint256',
121
+ name: 'amountETH',
122
+ type: 'uint256',
123
+ },
124
+ {
125
+ internalType: 'uint256',
126
+ name: 'liquidity',
127
+ type: 'uint256',
128
+ },
129
+ ],
130
+ stateMutability: 'payable',
131
+ type: 'function',
132
+ },
133
+ {
134
+ inputs: [],
135
+ name: 'factory',
136
+ outputs: [
137
+ {
138
+ internalType: 'address',
139
+ name: '',
140
+ type: 'address',
141
+ },
142
+ ],
143
+ stateMutability: 'pure',
144
+ type: 'function',
145
+ },
146
+ {
147
+ inputs: [
148
+ {
149
+ internalType: 'uint256',
150
+ name: 'amountOut',
151
+ type: 'uint256',
152
+ },
153
+ {
154
+ internalType: 'uint256',
155
+ name: 'reserveIn',
156
+ type: 'uint256',
157
+ },
158
+ {
159
+ internalType: 'uint256',
160
+ name: 'reserveOut',
161
+ type: 'uint256',
162
+ },
163
+ ],
164
+ name: 'getAmountIn',
165
+ outputs: [
166
+ {
167
+ internalType: 'uint256',
168
+ name: 'amountIn',
169
+ type: 'uint256',
170
+ },
171
+ ],
172
+ stateMutability: 'pure',
173
+ type: 'function',
174
+ },
175
+ {
176
+ inputs: [
177
+ {
178
+ internalType: 'uint256',
179
+ name: 'amountIn',
180
+ type: 'uint256',
181
+ },
182
+ {
183
+ internalType: 'uint256',
184
+ name: 'reserveIn',
185
+ type: 'uint256',
186
+ },
187
+ {
188
+ internalType: 'uint256',
189
+ name: 'reserveOut',
190
+ type: 'uint256',
191
+ },
192
+ ],
193
+ name: 'getAmountOut',
194
+ outputs: [
195
+ {
196
+ internalType: 'uint256',
197
+ name: 'amountOut',
198
+ type: 'uint256',
199
+ },
200
+ ],
201
+ stateMutability: 'pure',
202
+ type: 'function',
203
+ },
204
+ {
205
+ inputs: [
206
+ {
207
+ internalType: 'uint256',
208
+ name: 'amountOut',
209
+ type: 'uint256',
210
+ },
211
+ {
212
+ internalType: 'address[]',
213
+ name: 'path',
214
+ type: 'address[]',
215
+ },
216
+ ],
217
+ name: 'getAmountsIn',
218
+ outputs: [
219
+ {
220
+ internalType: 'uint256[]',
221
+ name: 'amounts',
222
+ type: 'uint256[]',
223
+ },
224
+ ],
225
+ stateMutability: 'view',
226
+ type: 'function',
227
+ },
228
+ {
229
+ inputs: [
230
+ {
231
+ internalType: 'uint256',
232
+ name: 'amountIn',
233
+ type: 'uint256',
234
+ },
235
+ {
236
+ internalType: 'address[]',
237
+ name: 'path',
238
+ type: 'address[]',
239
+ },
240
+ ],
241
+ name: 'getAmountsOut',
242
+ outputs: [
243
+ {
244
+ internalType: 'uint256[]',
245
+ name: 'amounts',
246
+ type: 'uint256[]',
247
+ },
248
+ ],
249
+ stateMutability: 'view',
250
+ type: 'function',
251
+ },
252
+ {
253
+ inputs: [
254
+ {
255
+ internalType: 'uint256',
256
+ name: 'amountA',
257
+ type: 'uint256',
258
+ },
259
+ {
260
+ internalType: 'uint256',
261
+ name: 'reserveA',
262
+ type: 'uint256',
263
+ },
264
+ {
265
+ internalType: 'uint256',
266
+ name: 'reserveB',
267
+ type: 'uint256',
268
+ },
269
+ ],
270
+ name: 'quote',
271
+ outputs: [
272
+ {
273
+ internalType: 'uint256',
274
+ name: 'amountB',
275
+ type: 'uint256',
276
+ },
277
+ ],
278
+ stateMutability: 'pure',
279
+ type: 'function',
280
+ },
281
+ {
282
+ inputs: [
283
+ {
284
+ internalType: 'address',
285
+ name: 'tokenA',
286
+ type: 'address',
287
+ },
288
+ {
289
+ internalType: 'address',
290
+ name: 'tokenB',
291
+ type: 'address',
292
+ },
293
+ {
294
+ internalType: 'uint256',
295
+ name: 'liquidity',
296
+ type: 'uint256',
297
+ },
298
+ {
299
+ internalType: 'uint256',
300
+ name: 'amountAMin',
301
+ type: 'uint256',
302
+ },
303
+ {
304
+ internalType: 'uint256',
305
+ name: 'amountBMin',
306
+ type: 'uint256',
307
+ },
308
+ {
309
+ internalType: 'address',
310
+ name: 'to',
311
+ type: 'address',
312
+ },
313
+ {
314
+ internalType: 'uint256',
315
+ name: 'deadline',
316
+ type: 'uint256',
317
+ },
318
+ ],
319
+ name: 'removeLiquidity',
320
+ outputs: [
321
+ {
322
+ internalType: 'uint256',
323
+ name: 'amountA',
324
+ type: 'uint256',
325
+ },
326
+ {
327
+ internalType: 'uint256',
328
+ name: 'amountB',
329
+ type: 'uint256',
330
+ },
331
+ ],
332
+ stateMutability: 'nonpayable',
333
+ type: 'function',
334
+ },
335
+ {
336
+ inputs: [
337
+ {
338
+ internalType: 'address',
339
+ name: 'token',
340
+ type: 'address',
341
+ },
342
+ {
343
+ internalType: 'uint256',
344
+ name: 'liquidity',
345
+ type: 'uint256',
346
+ },
347
+ {
348
+ internalType: 'uint256',
349
+ name: 'amountTokenMin',
350
+ type: 'uint256',
351
+ },
352
+ {
353
+ internalType: 'uint256',
354
+ name: 'amountETHMin',
355
+ type: 'uint256',
356
+ },
357
+ {
358
+ internalType: 'address',
359
+ name: 'to',
360
+ type: 'address',
361
+ },
362
+ {
363
+ internalType: 'uint256',
364
+ name: 'deadline',
365
+ type: 'uint256',
366
+ },
367
+ ],
368
+ name: 'removeLiquidityETH',
369
+ outputs: [
370
+ {
371
+ internalType: 'uint256',
372
+ name: 'amountToken',
373
+ type: 'uint256',
374
+ },
375
+ {
376
+ internalType: 'uint256',
377
+ name: 'amountETH',
378
+ type: 'uint256',
379
+ },
380
+ ],
381
+ stateMutability: 'nonpayable',
382
+ type: 'function',
383
+ },
384
+ {
385
+ inputs: [
386
+ {
387
+ internalType: 'address',
388
+ name: 'token',
389
+ type: 'address',
390
+ },
391
+ {
392
+ internalType: 'uint256',
393
+ name: 'liquidity',
394
+ type: 'uint256',
395
+ },
396
+ {
397
+ internalType: 'uint256',
398
+ name: 'amountTokenMin',
399
+ type: 'uint256',
400
+ },
401
+ {
402
+ internalType: 'uint256',
403
+ name: 'amountETHMin',
404
+ type: 'uint256',
405
+ },
406
+ {
407
+ internalType: 'address',
408
+ name: 'to',
409
+ type: 'address',
410
+ },
411
+ {
412
+ internalType: 'uint256',
413
+ name: 'deadline',
414
+ type: 'uint256',
415
+ },
416
+ ],
417
+ name: 'removeLiquidityETHSupportingFeeOnTransferTokens',
418
+ outputs: [
419
+ {
420
+ internalType: 'uint256',
421
+ name: 'amountETH',
422
+ type: 'uint256',
423
+ },
424
+ ],
425
+ stateMutability: 'nonpayable',
426
+ type: 'function',
427
+ },
428
+ {
429
+ inputs: [
430
+ {
431
+ internalType: 'address',
432
+ name: 'token',
433
+ type: 'address',
434
+ },
435
+ {
436
+ internalType: 'uint256',
437
+ name: 'liquidity',
438
+ type: 'uint256',
439
+ },
440
+ {
441
+ internalType: 'uint256',
442
+ name: 'amountTokenMin',
443
+ type: 'uint256',
444
+ },
445
+ {
446
+ internalType: 'uint256',
447
+ name: 'amountETHMin',
448
+ type: 'uint256',
449
+ },
450
+ {
451
+ internalType: 'address',
452
+ name: 'to',
453
+ type: 'address',
454
+ },
455
+ {
456
+ internalType: 'uint256',
457
+ name: 'deadline',
458
+ type: 'uint256',
459
+ },
460
+ {
461
+ internalType: 'bool',
462
+ name: 'approveMax',
463
+ type: 'bool',
464
+ },
465
+ {
466
+ internalType: 'uint8',
467
+ name: 'v',
468
+ type: 'uint8',
469
+ },
470
+ {
471
+ internalType: 'bytes32',
472
+ name: 'r',
473
+ type: 'bytes32',
474
+ },
475
+ {
476
+ internalType: 'bytes32',
477
+ name: 's',
478
+ type: 'bytes32',
479
+ },
480
+ ],
481
+ name: 'removeLiquidityETHWithPermit',
482
+ outputs: [
483
+ {
484
+ internalType: 'uint256',
485
+ name: 'amountToken',
486
+ type: 'uint256',
487
+ },
488
+ {
489
+ internalType: 'uint256',
490
+ name: 'amountETH',
491
+ type: 'uint256',
492
+ },
493
+ ],
494
+ stateMutability: 'nonpayable',
495
+ type: 'function',
496
+ },
497
+ {
498
+ inputs: [
499
+ {
500
+ internalType: 'address',
501
+ name: 'token',
502
+ type: 'address',
503
+ },
504
+ {
505
+ internalType: 'uint256',
506
+ name: 'liquidity',
507
+ type: 'uint256',
508
+ },
509
+ {
510
+ internalType: 'uint256',
511
+ name: 'amountTokenMin',
512
+ type: 'uint256',
513
+ },
514
+ {
515
+ internalType: 'uint256',
516
+ name: 'amountETHMin',
517
+ type: 'uint256',
518
+ },
519
+ {
520
+ internalType: 'address',
521
+ name: 'to',
522
+ type: 'address',
523
+ },
524
+ {
525
+ internalType: 'uint256',
526
+ name: 'deadline',
527
+ type: 'uint256',
528
+ },
529
+ {
530
+ internalType: 'bool',
531
+ name: 'approveMax',
532
+ type: 'bool',
533
+ },
534
+ {
535
+ internalType: 'uint8',
536
+ name: 'v',
537
+ type: 'uint8',
538
+ },
539
+ {
540
+ internalType: 'bytes32',
541
+ name: 'r',
542
+ type: 'bytes32',
543
+ },
544
+ {
545
+ internalType: 'bytes32',
546
+ name: 's',
547
+ type: 'bytes32',
548
+ },
549
+ ],
550
+ name: 'removeLiquidityETHWithPermitSupportingFeeOnTransferTokens',
551
+ outputs: [
552
+ {
553
+ internalType: 'uint256',
554
+ name: 'amountETH',
555
+ type: 'uint256',
556
+ },
557
+ ],
558
+ stateMutability: 'nonpayable',
559
+ type: 'function',
560
+ },
561
+ {
562
+ inputs: [
563
+ {
564
+ internalType: 'address',
565
+ name: 'tokenA',
566
+ type: 'address',
567
+ },
568
+ {
569
+ internalType: 'address',
570
+ name: 'tokenB',
571
+ type: 'address',
572
+ },
573
+ {
574
+ internalType: 'uint256',
575
+ name: 'liquidity',
576
+ type: 'uint256',
577
+ },
578
+ {
579
+ internalType: 'uint256',
580
+ name: 'amountAMin',
581
+ type: 'uint256',
582
+ },
583
+ {
584
+ internalType: 'uint256',
585
+ name: 'amountBMin',
586
+ type: 'uint256',
587
+ },
588
+ {
589
+ internalType: 'address',
590
+ name: 'to',
591
+ type: 'address',
592
+ },
593
+ {
594
+ internalType: 'uint256',
595
+ name: 'deadline',
596
+ type: 'uint256',
597
+ },
598
+ {
599
+ internalType: 'bool',
600
+ name: 'approveMax',
601
+ type: 'bool',
602
+ },
603
+ {
604
+ internalType: 'uint8',
605
+ name: 'v',
606
+ type: 'uint8',
607
+ },
608
+ {
609
+ internalType: 'bytes32',
610
+ name: 'r',
611
+ type: 'bytes32',
612
+ },
613
+ {
614
+ internalType: 'bytes32',
615
+ name: 's',
616
+ type: 'bytes32',
617
+ },
618
+ ],
619
+ name: 'removeLiquidityWithPermit',
620
+ outputs: [
621
+ {
622
+ internalType: 'uint256',
623
+ name: 'amountA',
624
+ type: 'uint256',
625
+ },
626
+ {
627
+ internalType: 'uint256',
628
+ name: 'amountB',
629
+ type: 'uint256',
630
+ },
631
+ ],
632
+ stateMutability: 'nonpayable',
633
+ type: 'function',
634
+ },
635
+ {
636
+ inputs: [
637
+ {
638
+ internalType: 'uint256',
639
+ name: 'amountOut',
640
+ type: 'uint256',
641
+ },
642
+ {
643
+ internalType: 'address[]',
644
+ name: 'path',
645
+ type: 'address[]',
646
+ },
647
+ {
648
+ internalType: 'address',
649
+ name: 'to',
650
+ type: 'address',
651
+ },
652
+ {
653
+ internalType: 'uint256',
654
+ name: 'deadline',
655
+ type: 'uint256',
656
+ },
657
+ ],
658
+ name: 'swapETHForExactTokens',
659
+ outputs: [
660
+ {
661
+ internalType: 'uint256[]',
662
+ name: 'amounts',
663
+ type: 'uint256[]',
664
+ },
665
+ ],
666
+ stateMutability: 'payable',
667
+ type: 'function',
668
+ },
669
+ {
670
+ inputs: [
671
+ {
672
+ internalType: 'uint256',
673
+ name: 'amountOutMin',
674
+ type: 'uint256',
675
+ },
676
+ {
677
+ internalType: 'address[]',
678
+ name: 'path',
679
+ type: 'address[]',
680
+ },
681
+ {
682
+ internalType: 'address',
683
+ name: 'to',
684
+ type: 'address',
685
+ },
686
+ {
687
+ internalType: 'uint256',
688
+ name: 'deadline',
689
+ type: 'uint256',
690
+ },
691
+ ],
692
+ name: 'swapExactETHForTokens',
693
+ outputs: [
694
+ {
695
+ internalType: 'uint256[]',
696
+ name: 'amounts',
697
+ type: 'uint256[]',
698
+ },
699
+ ],
700
+ stateMutability: 'payable',
701
+ type: 'function',
702
+ },
703
+ {
704
+ inputs: [
705
+ {
706
+ internalType: 'uint256',
707
+ name: 'amountOutMin',
708
+ type: 'uint256',
709
+ },
710
+ {
711
+ internalType: 'address[]',
712
+ name: 'path',
713
+ type: 'address[]',
714
+ },
715
+ {
716
+ internalType: 'address',
717
+ name: 'to',
718
+ type: 'address',
719
+ },
720
+ {
721
+ internalType: 'uint256',
722
+ name: 'deadline',
723
+ type: 'uint256',
724
+ },
725
+ ],
726
+ name: 'swapExactETHForTokensSupportingFeeOnTransferTokens',
727
+ outputs: [],
728
+ stateMutability: 'payable',
729
+ type: 'function',
730
+ },
731
+ {
732
+ inputs: [
733
+ {
734
+ internalType: 'uint256',
735
+ name: 'amountIn',
736
+ type: 'uint256',
737
+ },
738
+ {
739
+ internalType: 'uint256',
740
+ name: 'amountOutMin',
741
+ type: 'uint256',
742
+ },
743
+ {
744
+ internalType: 'address[]',
745
+ name: 'path',
746
+ type: 'address[]',
747
+ },
748
+ {
749
+ internalType: 'address',
750
+ name: 'to',
751
+ type: 'address',
752
+ },
753
+ {
754
+ internalType: 'uint256',
755
+ name: 'deadline',
756
+ type: 'uint256',
757
+ },
758
+ ],
759
+ name: 'swapExactTokensForETH',
760
+ outputs: [
761
+ {
762
+ internalType: 'uint256[]',
763
+ name: 'amounts',
764
+ type: 'uint256[]',
765
+ },
766
+ ],
767
+ stateMutability: 'nonpayable',
768
+ type: 'function',
769
+ },
770
+ {
771
+ inputs: [
772
+ {
773
+ internalType: 'uint256',
774
+ name: 'amountIn',
775
+ type: 'uint256',
776
+ },
777
+ {
778
+ internalType: 'uint256',
779
+ name: 'amountOutMin',
780
+ type: 'uint256',
781
+ },
782
+ {
783
+ internalType: 'address[]',
784
+ name: 'path',
785
+ type: 'address[]',
786
+ },
787
+ {
788
+ internalType: 'address',
789
+ name: 'to',
790
+ type: 'address',
791
+ },
792
+ {
793
+ internalType: 'uint256',
794
+ name: 'deadline',
795
+ type: 'uint256',
796
+ },
797
+ ],
798
+ name: 'swapExactTokensForETHSupportingFeeOnTransferTokens',
799
+ outputs: [],
800
+ stateMutability: 'nonpayable',
801
+ type: 'function',
802
+ },
803
+ {
804
+ inputs: [
805
+ {
806
+ internalType: 'uint256',
807
+ name: 'amountIn',
808
+ type: 'uint256',
809
+ },
810
+ {
811
+ internalType: 'uint256',
812
+ name: 'amountOutMin',
813
+ type: 'uint256',
814
+ },
815
+ {
816
+ internalType: 'address[]',
817
+ name: 'path',
818
+ type: 'address[]',
819
+ },
820
+ {
821
+ internalType: 'address',
822
+ name: 'to',
823
+ type: 'address',
824
+ },
825
+ {
826
+ internalType: 'uint256',
827
+ name: 'deadline',
828
+ type: 'uint256',
829
+ },
830
+ ],
831
+ name: 'swapExactTokensForTokens',
832
+ outputs: [
833
+ {
834
+ internalType: 'uint256[]',
835
+ name: 'amounts',
836
+ type: 'uint256[]',
837
+ },
838
+ ],
839
+ stateMutability: 'nonpayable',
840
+ type: 'function',
841
+ },
842
+ {
843
+ inputs: [
844
+ {
845
+ internalType: 'uint256',
846
+ name: 'amountIn',
847
+ type: 'uint256',
848
+ },
849
+ {
850
+ internalType: 'uint256',
851
+ name: 'amountOutMin',
852
+ type: 'uint256',
853
+ },
854
+ {
855
+ internalType: 'address[]',
856
+ name: 'path',
857
+ type: 'address[]',
858
+ },
859
+ {
860
+ internalType: 'address',
861
+ name: 'to',
862
+ type: 'address',
863
+ },
864
+ {
865
+ internalType: 'uint256',
866
+ name: 'deadline',
867
+ type: 'uint256',
868
+ },
869
+ ],
870
+ name: 'swapExactTokensForTokensSupportingFeeOnTransferTokens',
871
+ outputs: [],
872
+ stateMutability: 'nonpayable',
873
+ type: 'function',
874
+ },
875
+ {
876
+ inputs: [
877
+ {
878
+ internalType: 'uint256',
879
+ name: 'amountOut',
880
+ type: 'uint256',
881
+ },
882
+ {
883
+ internalType: 'uint256',
884
+ name: 'amountInMax',
885
+ type: 'uint256',
886
+ },
887
+ {
888
+ internalType: 'address[]',
889
+ name: 'path',
890
+ type: 'address[]',
891
+ },
892
+ {
893
+ internalType: 'address',
894
+ name: 'to',
895
+ type: 'address',
896
+ },
897
+ {
898
+ internalType: 'uint256',
899
+ name: 'deadline',
900
+ type: 'uint256',
901
+ },
902
+ ],
903
+ name: 'swapTokensForExactETH',
904
+ outputs: [
905
+ {
906
+ internalType: 'uint256[]',
907
+ name: 'amounts',
908
+ type: 'uint256[]',
909
+ },
910
+ ],
911
+ stateMutability: 'nonpayable',
912
+ type: 'function',
913
+ },
914
+ {
915
+ inputs: [
916
+ {
917
+ internalType: 'uint256',
918
+ name: 'amountOut',
919
+ type: 'uint256',
920
+ },
921
+ {
922
+ internalType: 'uint256',
923
+ name: 'amountInMax',
924
+ type: 'uint256',
925
+ },
926
+ {
927
+ internalType: 'address[]',
928
+ name: 'path',
929
+ type: 'address[]',
930
+ },
931
+ {
932
+ internalType: 'address',
933
+ name: 'to',
934
+ type: 'address',
935
+ },
936
+ {
937
+ internalType: 'uint256',
938
+ name: 'deadline',
939
+ type: 'uint256',
940
+ },
941
+ ],
942
+ name: 'swapTokensForExactTokens',
943
+ outputs: [
944
+ {
945
+ internalType: 'uint256[]',
946
+ name: 'amounts',
947
+ type: 'uint256[]',
948
+ },
949
+ ],
950
+ stateMutability: 'nonpayable',
951
+ type: 'function',
952
+ },
953
+ ];