web3-wizzard-lib 1.6.4__py3-none-any.whl → 1.6.5__py3-none-any.whl

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 (107) hide show
  1. web3-wizzard-lib/core/modules/swap/swap_list.py +1 -1
  2. web3-wizzard-lib/launcher.py +1 -1
  3. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/METADATA +2 -2
  4. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/RECORD +7 -107
  5. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/top_level.txt +1 -0
  6. web3-wizzard-lib/resources/abi/aave.json +0 -282
  7. web3-wizzard-lib/resources/abi/abbysworld.json +0 -1113
  8. web3-wizzard-lib/resources/abi/arena_games.json +0 -15
  9. web3-wizzard-lib/resources/abi/asmatch.json +0 -1113
  10. web3-wizzard-lib/resources/abi/basiliks.json +0 -1467
  11. web3-wizzard-lib/resources/abi/bilinear.json +0 -1375
  12. web3-wizzard-lib/resources/abi/bungee.json +0 -525
  13. web3-wizzard-lib/resources/abi/coredao.json +0 -1068
  14. web3-wizzard-lib/resources/abi/coredao_bridge.json +0 -1012
  15. web3-wizzard-lib/resources/abi/dmail.json +0 -964
  16. web3-wizzard-lib/resources/abi/empty_nft.json +0 -1131
  17. web3-wizzard-lib/resources/abi/era_ns.json +0 -878
  18. web3-wizzard-lib/resources/abi/eralend.json +0 -1221
  19. web3-wizzard-lib/resources/abi/erc20.json +0 -801
  20. web3-wizzard-lib/resources/abi/erc20_test.json +0 -337
  21. web3-wizzard-lib/resources/abi/eth_scroll_bridge.json +0 -675
  22. web3-wizzard-lib/resources/abi/frog_war_contract.json +0 -1943
  23. web3-wizzard-lib/resources/abi/gmx_reward_router.json +0 -749
  24. web3-wizzard-lib/resources/abi/horizondex.json +0 -413
  25. web3-wizzard-lib/resources/abi/horizondex_quoter.json +0 -273
  26. web3-wizzard-lib/resources/abi/imagine.json +0 -457
  27. web3-wizzard-lib/resources/abi/izumi.json +0 -532
  28. web3-wizzard-lib/resources/abi/kreatorland.json +0 -500
  29. web3-wizzard-lib/resources/abi/layerbank.json +0 -1240
  30. web3-wizzard-lib/resources/abi/layerbank_price.json +0 -354
  31. web3-wizzard-lib/resources/abi/layerbank_token.json +0 -1124
  32. web3-wizzard-lib/resources/abi/linea_day_2.json +0 -933
  33. web3-wizzard-lib/resources/abi/linea_day_3.json +0 -1804
  34. web3-wizzard-lib/resources/abi/linea_ens_names.json +0 -1000
  35. web3-wizzard-lib/resources/abi/lineaswap_router.json +0 -973
  36. web3-wizzard-lib/resources/abi/maverick_ipool.json +0 -942
  37. web3-wizzard-lib/resources/abi/maverick_multicall.json +0 -1082
  38. web3-wizzard-lib/resources/abi/mendi_token.json +0 -1690
  39. web3-wizzard-lib/resources/abi/merkly.json +0 -787
  40. web3-wizzard-lib/resources/abi/micro3.json +0 -1054
  41. web3-wizzard-lib/resources/abi/mute_router.json +0 -856
  42. web3-wizzard-lib/resources/abi/new_rage_abi.json +0 -1944
  43. web3-wizzard-lib/resources/abi/nidus.json +0 -1017
  44. web3-wizzard-lib/resources/abi/nile_pool.json +0 -1313
  45. web3-wizzard-lib/resources/abi/nomis.json +0 -1601
  46. web3-wizzard-lib/resources/abi/nomis_attest.json +0 -710
  47. web3-wizzard-lib/resources/abi/octomos.json +0 -408
  48. web3-wizzard-lib/resources/abi/omnisea.json +0 -175
  49. web3-wizzard-lib/resources/abi/orbiter_starknet.json +0 -48
  50. web3-wizzard-lib/resources/abi/pancake/factory.json +0 -450
  51. web3-wizzard-lib/resources/abi/pancake/pool.json +0 -713
  52. web3-wizzard-lib/resources/abi/pancake/quoter.json +0 -285
  53. web3-wizzard-lib/resources/abi/pancake/router.json +0 -1271
  54. web3-wizzard-lib/resources/abi/rage_claim.json +0 -218
  55. web3-wizzard-lib/resources/abi/reactor_fusion.json +0 -1479
  56. web3-wizzard-lib/resources/abi/readon.json +0 -71
  57. web3-wizzard-lib/resources/abi/rubyscore.json +0 -698
  58. web3-wizzard-lib/resources/abi/satoshi_universe.json +0 -301
  59. web3-wizzard-lib/resources/abi/scroll_bridge.json +0 -666
  60. web3-wizzard-lib/resources/abi/scroll_canvas_mint.json +0 -602
  61. web3-wizzard-lib/resources/abi/scroll_oracle.json +0 -714
  62. web3-wizzard-lib/resources/abi/snap.json +0 -622
  63. web3-wizzard-lib/resources/abi/socialscan.json +0 -884
  64. web3-wizzard-lib/resources/abi/stargate_farming.json +0 -494
  65. web3-wizzard-lib/resources/abi/stargate_router.json +0 -1341
  66. web3-wizzard-lib/resources/abi/stargate_swapETH_abi.json +0 -106
  67. web3-wizzard-lib/resources/abi/stargate_token_pool.json +0 -1940
  68. web3-wizzard-lib/resources/abi/stargate_v2.json +0 -1936
  69. web3-wizzard-lib/resources/abi/syncswap_classic_pool.json +0 -151
  70. web3-wizzard-lib/resources/abi/syncswap_classic_pool_factory.json +0 -151
  71. web3-wizzard-lib/resources/abi/syncswap_pool.json +0 -924
  72. web3-wizzard-lib/resources/abi/syncswap_router.json +0 -1178
  73. web3-wizzard-lib/resources/abi/syncswap_stable_pool.json +0 -950
  74. web3-wizzard-lib/resources/abi/tavaera.json +0 -586
  75. web3-wizzard-lib/resources/abi/tavaera_id.json +0 -724
  76. web3-wizzard-lib/resources/abi/townstory.json +0 -391
  77. web3-wizzard-lib/resources/abi/townstory_bonus.json +0 -279
  78. web3-wizzard-lib/resources/abi/uniswap_abi.json +0 -193
  79. web3-wizzard-lib/resources/abi/velocore.json +0 -1008
  80. web3-wizzard-lib/resources/abi/velocore_lens.json +0 -1030
  81. web3-wizzard-lib/resources/abi/velocore_pool.json +0 -490
  82. web3-wizzard-lib/resources/abi/velocore_vault.json +0 -1272
  83. web3-wizzard-lib/resources/abi/weth.json +0 -279
  84. web3-wizzard-lib/resources/abi/woofi.json +0 -400
  85. web3-wizzard-lib/resources/abi/yoddlo.json +0 -67
  86. web3-wizzard-lib/resources/abi/zebra.json +0 -1075
  87. web3-wizzard-lib/resources/abi/zerolend.json +0 -282
  88. web3-wizzard-lib/resources/abi/zerolend_liquidity.json +0 -1038
  89. web3-wizzard-lib/resources/abi/zkdx_data.json +0 -436
  90. web3-wizzard-lib/resources/abi/zks.json +0 -671
  91. web3-wizzard-lib/resources/banner.txt +0 -7
  92. web3-wizzard-lib/resources/goerli/contracts.json +0 -48
  93. web3-wizzard-lib/resources/goerli/networks.json +0 -139
  94. web3-wizzard-lib/resources/goerli/pairs.json +0 -113
  95. web3-wizzard-lib/resources/goerli/tokens.json +0 -40
  96. web3-wizzard-lib/resources/linea_appeal.txt +0 -0
  97. web3-wizzard-lib/resources/local/contracts.json +0 -150
  98. web3-wizzard-lib/resources/local/networks.json +0 -119
  99. web3-wizzard-lib/resources/local/pairs.json +0 -451
  100. web3-wizzard-lib/resources/local/tokens.json +0 -88
  101. web3-wizzard-lib/resources/main/contracts.json +0 -231
  102. web3-wizzard-lib/resources/main/networks.json +0 -272
  103. web3-wizzard-lib/resources/main/pairs.json +0 -516
  104. web3-wizzard-lib/resources/main/tokens.json +0 -119
  105. web3-wizzard-lib/resources/verify_data.json +0 -1243
  106. {web3_wizzard_lib-1.6.4.data → web3_wizzard_lib-1.6.5.data}/data/requirements.txt +0 -0
  107. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/WHEEL +0 -0
@@ -1,1008 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "_factory",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "address",
11
- "name": "_weth",
12
- "type": "address"
13
- }
14
- ],
15
- "stateMutability": "nonpayable",
16
- "type": "constructor"
17
- },
18
- {
19
- "inputs": [
20
- {
21
- "internalType": "uint256[]",
22
- "name": "amounts",
23
- "type": "uint256[]"
24
- },
25
- {
26
- "components": [
27
- {
28
- "internalType": "address",
29
- "name": "from",
30
- "type": "address"
31
- },
32
- {
33
- "internalType": "address",
34
- "name": "to",
35
- "type": "address"
36
- },
37
- {
38
- "internalType": "bool",
39
- "name": "stable",
40
- "type": "bool"
41
- }
42
- ],
43
- "internalType": "struct Router.route[]",
44
- "name": "routes",
45
- "type": "tuple[]"
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": "UNSAFE_swapExactTokensForTokens",
59
- "outputs": [
60
- {
61
- "internalType": "uint256[]",
62
- "name": "",
63
- "type": "uint256[]"
64
- }
65
- ],
66
- "stateMutability": "nonpayable",
67
- "type": "function"
68
- },
69
- {
70
- "inputs": [
71
- {
72
- "internalType": "address",
73
- "name": "tokenA",
74
- "type": "address"
75
- },
76
- {
77
- "internalType": "address",
78
- "name": "tokenB",
79
- "type": "address"
80
- },
81
- {
82
- "internalType": "bool",
83
- "name": "stable",
84
- "type": "bool"
85
- },
86
- {
87
- "internalType": "uint256",
88
- "name": "amountADesired",
89
- "type": "uint256"
90
- },
91
- {
92
- "internalType": "uint256",
93
- "name": "amountBDesired",
94
- "type": "uint256"
95
- },
96
- {
97
- "internalType": "uint256",
98
- "name": "amountAMin",
99
- "type": "uint256"
100
- },
101
- {
102
- "internalType": "uint256",
103
- "name": "amountBMin",
104
- "type": "uint256"
105
- },
106
- {
107
- "internalType": "address",
108
- "name": "to",
109
- "type": "address"
110
- },
111
- {
112
- "internalType": "uint256",
113
- "name": "deadline",
114
- "type": "uint256"
115
- }
116
- ],
117
- "name": "addLiquidity",
118
- "outputs": [
119
- {
120
- "internalType": "uint256",
121
- "name": "amountA",
122
- "type": "uint256"
123
- },
124
- {
125
- "internalType": "uint256",
126
- "name": "amountB",
127
- "type": "uint256"
128
- },
129
- {
130
- "internalType": "uint256",
131
- "name": "liquidity",
132
- "type": "uint256"
133
- }
134
- ],
135
- "stateMutability": "nonpayable",
136
- "type": "function"
137
- },
138
- {
139
- "inputs": [
140
- {
141
- "internalType": "address",
142
- "name": "token",
143
- "type": "address"
144
- },
145
- {
146
- "internalType": "bool",
147
- "name": "stable",
148
- "type": "bool"
149
- },
150
- {
151
- "internalType": "uint256",
152
- "name": "amountTokenDesired",
153
- "type": "uint256"
154
- },
155
- {
156
- "internalType": "uint256",
157
- "name": "amountTokenMin",
158
- "type": "uint256"
159
- },
160
- {
161
- "internalType": "uint256",
162
- "name": "amountETHMin",
163
- "type": "uint256"
164
- },
165
- {
166
- "internalType": "address",
167
- "name": "to",
168
- "type": "address"
169
- },
170
- {
171
- "internalType": "uint256",
172
- "name": "deadline",
173
- "type": "uint256"
174
- }
175
- ],
176
- "name": "addLiquidityETH",
177
- "outputs": [
178
- {
179
- "internalType": "uint256",
180
- "name": "amountToken",
181
- "type": "uint256"
182
- },
183
- {
184
- "internalType": "uint256",
185
- "name": "amountETH",
186
- "type": "uint256"
187
- },
188
- {
189
- "internalType": "uint256",
190
- "name": "liquidity",
191
- "type": "uint256"
192
- }
193
- ],
194
- "stateMutability": "payable",
195
- "type": "function"
196
- },
197
- {
198
- "inputs": [],
199
- "name": "factory",
200
- "outputs": [
201
- {
202
- "internalType": "address",
203
- "name": "",
204
- "type": "address"
205
- }
206
- ],
207
- "stateMutability": "view",
208
- "type": "function"
209
- },
210
- {
211
- "inputs": [
212
- {
213
- "internalType": "uint256",
214
- "name": "amountIn",
215
- "type": "uint256"
216
- },
217
- {
218
- "internalType": "address",
219
- "name": "tokenIn",
220
- "type": "address"
221
- },
222
- {
223
- "internalType": "address",
224
- "name": "tokenOut",
225
- "type": "address"
226
- }
227
- ],
228
- "name": "getAmountOut",
229
- "outputs": [
230
- {
231
- "internalType": "uint256",
232
- "name": "amount",
233
- "type": "uint256"
234
- },
235
- {
236
- "internalType": "bool",
237
- "name": "stable",
238
- "type": "bool"
239
- }
240
- ],
241
- "stateMutability": "view",
242
- "type": "function"
243
- },
244
- {
245
- "inputs": [
246
- {
247
- "internalType": "uint256",
248
- "name": "amountIn",
249
- "type": "uint256"
250
- },
251
- {
252
- "components": [
253
- {
254
- "internalType": "address",
255
- "name": "from",
256
- "type": "address"
257
- },
258
- {
259
- "internalType": "address",
260
- "name": "to",
261
- "type": "address"
262
- },
263
- {
264
- "internalType": "bool",
265
- "name": "stable",
266
- "type": "bool"
267
- }
268
- ],
269
- "internalType": "struct Router.route[]",
270
- "name": "routes",
271
- "type": "tuple[]"
272
- }
273
- ],
274
- "name": "getAmountsOut",
275
- "outputs": [
276
- {
277
- "internalType": "uint256[]",
278
- "name": "amounts",
279
- "type": "uint256[]"
280
- }
281
- ],
282
- "stateMutability": "view",
283
- "type": "function"
284
- },
285
- {
286
- "inputs": [
287
- {
288
- "internalType": "address",
289
- "name": "tokenA",
290
- "type": "address"
291
- },
292
- {
293
- "internalType": "address",
294
- "name": "tokenB",
295
- "type": "address"
296
- },
297
- {
298
- "internalType": "bool",
299
- "name": "stable",
300
- "type": "bool"
301
- }
302
- ],
303
- "name": "getReserves",
304
- "outputs": [
305
- {
306
- "internalType": "uint256",
307
- "name": "reserveA",
308
- "type": "uint256"
309
- },
310
- {
311
- "internalType": "uint256",
312
- "name": "reserveB",
313
- "type": "uint256"
314
- }
315
- ],
316
- "stateMutability": "view",
317
- "type": "function"
318
- },
319
- {
320
- "inputs": [
321
- {
322
- "internalType": "address",
323
- "name": "pair",
324
- "type": "address"
325
- }
326
- ],
327
- "name": "isPair",
328
- "outputs": [
329
- {
330
- "internalType": "bool",
331
- "name": "",
332
- "type": "bool"
333
- }
334
- ],
335
- "stateMutability": "view",
336
- "type": "function"
337
- },
338
- {
339
- "inputs": [
340
- {
341
- "internalType": "address",
342
- "name": "tokenA",
343
- "type": "address"
344
- },
345
- {
346
- "internalType": "address",
347
- "name": "tokenB",
348
- "type": "address"
349
- },
350
- {
351
- "internalType": "bool",
352
- "name": "stable",
353
- "type": "bool"
354
- }
355
- ],
356
- "name": "pairFor",
357
- "outputs": [
358
- {
359
- "internalType": "address",
360
- "name": "pair",
361
- "type": "address"
362
- }
363
- ],
364
- "stateMutability": "view",
365
- "type": "function"
366
- },
367
- {
368
- "inputs": [
369
- {
370
- "internalType": "address",
371
- "name": "tokenA",
372
- "type": "address"
373
- },
374
- {
375
- "internalType": "address",
376
- "name": "tokenB",
377
- "type": "address"
378
- },
379
- {
380
- "internalType": "bool",
381
- "name": "stable",
382
- "type": "bool"
383
- },
384
- {
385
- "internalType": "uint256",
386
- "name": "amountADesired",
387
- "type": "uint256"
388
- },
389
- {
390
- "internalType": "uint256",
391
- "name": "amountBDesired",
392
- "type": "uint256"
393
- }
394
- ],
395
- "name": "quoteAddLiquidity",
396
- "outputs": [
397
- {
398
- "internalType": "uint256",
399
- "name": "amountA",
400
- "type": "uint256"
401
- },
402
- {
403
- "internalType": "uint256",
404
- "name": "amountB",
405
- "type": "uint256"
406
- },
407
- {
408
- "internalType": "uint256",
409
- "name": "liquidity",
410
- "type": "uint256"
411
- }
412
- ],
413
- "stateMutability": "view",
414
- "type": "function"
415
- },
416
- {
417
- "inputs": [
418
- {
419
- "internalType": "address",
420
- "name": "tokenA",
421
- "type": "address"
422
- },
423
- {
424
- "internalType": "address",
425
- "name": "tokenB",
426
- "type": "address"
427
- },
428
- {
429
- "internalType": "bool",
430
- "name": "stable",
431
- "type": "bool"
432
- },
433
- {
434
- "internalType": "uint256",
435
- "name": "liquidity",
436
- "type": "uint256"
437
- }
438
- ],
439
- "name": "quoteRemoveLiquidity",
440
- "outputs": [
441
- {
442
- "internalType": "uint256",
443
- "name": "amountA",
444
- "type": "uint256"
445
- },
446
- {
447
- "internalType": "uint256",
448
- "name": "amountB",
449
- "type": "uint256"
450
- }
451
- ],
452
- "stateMutability": "view",
453
- "type": "function"
454
- },
455
- {
456
- "inputs": [
457
- {
458
- "internalType": "address",
459
- "name": "tokenA",
460
- "type": "address"
461
- },
462
- {
463
- "internalType": "address",
464
- "name": "tokenB",
465
- "type": "address"
466
- },
467
- {
468
- "internalType": "bool",
469
- "name": "stable",
470
- "type": "bool"
471
- },
472
- {
473
- "internalType": "uint256",
474
- "name": "liquidity",
475
- "type": "uint256"
476
- },
477
- {
478
- "internalType": "uint256",
479
- "name": "amountAMin",
480
- "type": "uint256"
481
- },
482
- {
483
- "internalType": "uint256",
484
- "name": "amountBMin",
485
- "type": "uint256"
486
- },
487
- {
488
- "internalType": "address",
489
- "name": "to",
490
- "type": "address"
491
- },
492
- {
493
- "internalType": "uint256",
494
- "name": "deadline",
495
- "type": "uint256"
496
- }
497
- ],
498
- "name": "removeLiquidity",
499
- "outputs": [
500
- {
501
- "internalType": "uint256",
502
- "name": "amountA",
503
- "type": "uint256"
504
- },
505
- {
506
- "internalType": "uint256",
507
- "name": "amountB",
508
- "type": "uint256"
509
- }
510
- ],
511
- "stateMutability": "nonpayable",
512
- "type": "function"
513
- },
514
- {
515
- "inputs": [
516
- {
517
- "internalType": "address",
518
- "name": "token",
519
- "type": "address"
520
- },
521
- {
522
- "internalType": "bool",
523
- "name": "stable",
524
- "type": "bool"
525
- },
526
- {
527
- "internalType": "uint256",
528
- "name": "liquidity",
529
- "type": "uint256"
530
- },
531
- {
532
- "internalType": "uint256",
533
- "name": "amountTokenMin",
534
- "type": "uint256"
535
- },
536
- {
537
- "internalType": "uint256",
538
- "name": "amountETHMin",
539
- "type": "uint256"
540
- },
541
- {
542
- "internalType": "address",
543
- "name": "to",
544
- "type": "address"
545
- },
546
- {
547
- "internalType": "uint256",
548
- "name": "deadline",
549
- "type": "uint256"
550
- }
551
- ],
552
- "name": "removeLiquidityETH",
553
- "outputs": [
554
- {
555
- "internalType": "uint256",
556
- "name": "amountToken",
557
- "type": "uint256"
558
- },
559
- {
560
- "internalType": "uint256",
561
- "name": "amountETH",
562
- "type": "uint256"
563
- }
564
- ],
565
- "stateMutability": "nonpayable",
566
- "type": "function"
567
- },
568
- {
569
- "inputs": [
570
- {
571
- "internalType": "address",
572
- "name": "token",
573
- "type": "address"
574
- },
575
- {
576
- "internalType": "bool",
577
- "name": "stable",
578
- "type": "bool"
579
- },
580
- {
581
- "internalType": "uint256",
582
- "name": "liquidity",
583
- "type": "uint256"
584
- },
585
- {
586
- "internalType": "uint256",
587
- "name": "amountTokenMin",
588
- "type": "uint256"
589
- },
590
- {
591
- "internalType": "uint256",
592
- "name": "amountETHMin",
593
- "type": "uint256"
594
- },
595
- {
596
- "internalType": "address",
597
- "name": "to",
598
- "type": "address"
599
- },
600
- {
601
- "internalType": "uint256",
602
- "name": "deadline",
603
- "type": "uint256"
604
- },
605
- {
606
- "internalType": "bool",
607
- "name": "approveMax",
608
- "type": "bool"
609
- },
610
- {
611
- "internalType": "uint8",
612
- "name": "v",
613
- "type": "uint8"
614
- },
615
- {
616
- "internalType": "bytes32",
617
- "name": "r",
618
- "type": "bytes32"
619
- },
620
- {
621
- "internalType": "bytes32",
622
- "name": "s",
623
- "type": "bytes32"
624
- }
625
- ],
626
- "name": "removeLiquidityETHWithPermit",
627
- "outputs": [
628
- {
629
- "internalType": "uint256",
630
- "name": "amountToken",
631
- "type": "uint256"
632
- },
633
- {
634
- "internalType": "uint256",
635
- "name": "amountETH",
636
- "type": "uint256"
637
- }
638
- ],
639
- "stateMutability": "nonpayable",
640
- "type": "function"
641
- },
642
- {
643
- "inputs": [
644
- {
645
- "internalType": "address",
646
- "name": "tokenA",
647
- "type": "address"
648
- },
649
- {
650
- "internalType": "address",
651
- "name": "tokenB",
652
- "type": "address"
653
- },
654
- {
655
- "internalType": "bool",
656
- "name": "stable",
657
- "type": "bool"
658
- },
659
- {
660
- "internalType": "uint256",
661
- "name": "liquidity",
662
- "type": "uint256"
663
- },
664
- {
665
- "internalType": "uint256",
666
- "name": "amountAMin",
667
- "type": "uint256"
668
- },
669
- {
670
- "internalType": "uint256",
671
- "name": "amountBMin",
672
- "type": "uint256"
673
- },
674
- {
675
- "internalType": "address",
676
- "name": "to",
677
- "type": "address"
678
- },
679
- {
680
- "internalType": "uint256",
681
- "name": "deadline",
682
- "type": "uint256"
683
- },
684
- {
685
- "internalType": "bool",
686
- "name": "approveMax",
687
- "type": "bool"
688
- },
689
- {
690
- "internalType": "uint8",
691
- "name": "v",
692
- "type": "uint8"
693
- },
694
- {
695
- "internalType": "bytes32",
696
- "name": "r",
697
- "type": "bytes32"
698
- },
699
- {
700
- "internalType": "bytes32",
701
- "name": "s",
702
- "type": "bytes32"
703
- }
704
- ],
705
- "name": "removeLiquidityWithPermit",
706
- "outputs": [
707
- {
708
- "internalType": "uint256",
709
- "name": "amountA",
710
- "type": "uint256"
711
- },
712
- {
713
- "internalType": "uint256",
714
- "name": "amountB",
715
- "type": "uint256"
716
- }
717
- ],
718
- "stateMutability": "nonpayable",
719
- "type": "function"
720
- },
721
- {
722
- "inputs": [
723
- {
724
- "internalType": "address",
725
- "name": "tokenA",
726
- "type": "address"
727
- },
728
- {
729
- "internalType": "address",
730
- "name": "tokenB",
731
- "type": "address"
732
- }
733
- ],
734
- "name": "sortTokens",
735
- "outputs": [
736
- {
737
- "internalType": "address",
738
- "name": "token0",
739
- "type": "address"
740
- },
741
- {
742
- "internalType": "address",
743
- "name": "token1",
744
- "type": "address"
745
- }
746
- ],
747
- "stateMutability": "pure",
748
- "type": "function"
749
- },
750
- {
751
- "inputs": [
752
- {
753
- "internalType": "uint256",
754
- "name": "amountOutMin",
755
- "type": "uint256"
756
- },
757
- {
758
- "components": [
759
- {
760
- "internalType": "address",
761
- "name": "from",
762
- "type": "address"
763
- },
764
- {
765
- "internalType": "address",
766
- "name": "to",
767
- "type": "address"
768
- },
769
- {
770
- "internalType": "bool",
771
- "name": "stable",
772
- "type": "bool"
773
- }
774
- ],
775
- "internalType": "struct Router.route[]",
776
- "name": "routes",
777
- "type": "tuple[]"
778
- },
779
- {
780
- "internalType": "address",
781
- "name": "to",
782
- "type": "address"
783
- },
784
- {
785
- "internalType": "uint256",
786
- "name": "deadline",
787
- "type": "uint256"
788
- }
789
- ],
790
- "name": "swapExactETHForTokens",
791
- "outputs": [
792
- {
793
- "internalType": "uint256",
794
- "name": "",
795
- "type": "uint256"
796
- }
797
- ],
798
- "stateMutability": "payable",
799
- "type": "function"
800
- },
801
- {
802
- "inputs": [
803
- {
804
- "internalType": "uint256",
805
- "name": "amountIn",
806
- "type": "uint256"
807
- },
808
- {
809
- "internalType": "uint256",
810
- "name": "amountOutMin",
811
- "type": "uint256"
812
- },
813
- {
814
- "components": [
815
- {
816
- "internalType": "address",
817
- "name": "from",
818
- "type": "address"
819
- },
820
- {
821
- "internalType": "address",
822
- "name": "to",
823
- "type": "address"
824
- },
825
- {
826
- "internalType": "bool",
827
- "name": "stable",
828
- "type": "bool"
829
- }
830
- ],
831
- "internalType": "struct Router.route[]",
832
- "name": "routes",
833
- "type": "tuple[]"
834
- },
835
- {
836
- "internalType": "address",
837
- "name": "to",
838
- "type": "address"
839
- },
840
- {
841
- "internalType": "uint256",
842
- "name": "deadline",
843
- "type": "uint256"
844
- }
845
- ],
846
- "name": "swapExactTokensForETH",
847
- "outputs": [
848
- {
849
- "internalType": "uint256",
850
- "name": "",
851
- "type": "uint256"
852
- }
853
- ],
854
- "stateMutability": "nonpayable",
855
- "type": "function"
856
- },
857
- {
858
- "inputs": [
859
- {
860
- "internalType": "uint256",
861
- "name": "amountIn",
862
- "type": "uint256"
863
- },
864
- {
865
- "internalType": "uint256",
866
- "name": "amountOutMin",
867
- "type": "uint256"
868
- },
869
- {
870
- "components": [
871
- {
872
- "internalType": "address",
873
- "name": "from",
874
- "type": "address"
875
- },
876
- {
877
- "internalType": "address",
878
- "name": "to",
879
- "type": "address"
880
- },
881
- {
882
- "internalType": "bool",
883
- "name": "stable",
884
- "type": "bool"
885
- }
886
- ],
887
- "internalType": "struct Router.route[]",
888
- "name": "routes",
889
- "type": "tuple[]"
890
- },
891
- {
892
- "internalType": "address",
893
- "name": "to",
894
- "type": "address"
895
- },
896
- {
897
- "internalType": "uint256",
898
- "name": "deadline",
899
- "type": "uint256"
900
- }
901
- ],
902
- "name": "swapExactTokensForTokens",
903
- "outputs": [
904
- {
905
- "internalType": "uint256",
906
- "name": "",
907
- "type": "uint256"
908
- }
909
- ],
910
- "stateMutability": "nonpayable",
911
- "type": "function"
912
- },
913
- {
914
- "inputs": [
915
- {
916
- "internalType": "uint256",
917
- "name": "amountIn",
918
- "type": "uint256"
919
- },
920
- {
921
- "internalType": "uint256",
922
- "name": "amountOutMin",
923
- "type": "uint256"
924
- },
925
- {
926
- "internalType": "address",
927
- "name": "tokenFrom",
928
- "type": "address"
929
- },
930
- {
931
- "internalType": "address",
932
- "name": "tokenTo",
933
- "type": "address"
934
- },
935
- {
936
- "internalType": "bool",
937
- "name": "stable",
938
- "type": "bool"
939
- },
940
- {
941
- "internalType": "address",
942
- "name": "to",
943
- "type": "address"
944
- },
945
- {
946
- "internalType": "uint256",
947
- "name": "deadline",
948
- "type": "uint256"
949
- }
950
- ],
951
- "name": "swapExactTokensForTokensSimple",
952
- "outputs": [
953
- {
954
- "internalType": "uint256",
955
- "name": "",
956
- "type": "uint256"
957
- }
958
- ],
959
- "stateMutability": "nonpayable",
960
- "type": "function"
961
- },
962
- {
963
- "inputs": [
964
- {
965
- "internalType": "address",
966
- "name": "tokenA",
967
- "type": "address"
968
- },
969
- {
970
- "internalType": "address",
971
- "name": "tokenB",
972
- "type": "address"
973
- },
974
- {
975
- "internalType": "bool",
976
- "name": "stable",
977
- "type": "bool"
978
- }
979
- ],
980
- "name": "unsafePairFor",
981
- "outputs": [
982
- {
983
- "internalType": "address",
984
- "name": "pair",
985
- "type": "address"
986
- }
987
- ],
988
- "stateMutability": "view",
989
- "type": "function"
990
- },
991
- {
992
- "inputs": [],
993
- "name": "weth",
994
- "outputs": [
995
- {
996
- "internalType": "contract IWETH",
997
- "name": "",
998
- "type": "address"
999
- }
1000
- ],
1001
- "stateMutability": "view",
1002
- "type": "function"
1003
- },
1004
- {
1005
- "stateMutability": "payable",
1006
- "type": "receive"
1007
- }
1008
- ]