@paraswap/dex-lib 3.8.27 → 3.8.28-fm.0

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 (66) hide show
  1. package/build/dex-utils.d.ts +3 -0
  2. package/build/dex-utils.js +10 -0
  3. package/build/dex-utils.js.map +1 -0
  4. package/build/pricing-helper.d.ts +2 -2
  5. package/build/pricing-helper.js +4 -4
  6. package/build/pricing-helper.js.map +1 -1
  7. package/build/stateful-dual-synchronizer.d.ts +46 -0
  8. package/build/stateful-dual-synchronizer.js +300 -0
  9. package/build/stateful-dual-synchronizer.js.map +1 -0
  10. package/package.json +2 -3
  11. package/src/pricing-helper.ts +4 -2
  12. package/.idea/codeStyles/Project.xml +0 -59
  13. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  14. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  15. package/.idea/modules.xml +0 -8
  16. package/.idea/paraswap-dex-lib.iml +0 -12
  17. package/.idea/vcs.xml +0 -6
  18. package/build/abi/BProtocol.json +0 -1155
  19. package/build/abi/Jarvis.json +0 -1172
  20. package/build/abi/MStableAsset.json +0 -1545
  21. package/build/abi/OneInchLp.json +0 -1304
  22. package/build/abi/Onebit.json +0 -736
  23. package/build/abi/Shell.json +0 -1294
  24. package/build/abi/TraderJoeV2Router.json +0 -50
  25. package/build/abi/zrx.v2.json +0 -1967
  26. package/build/abi/zrx.v3.json +0 -3454
  27. package/build/abi/zrx.v4.json +0 -2193
  28. package/build/dex/OneInchLp.d.ts +0 -24
  29. package/build/dex/OneInchLp.js +0 -43
  30. package/build/dex/OneInchLp.js.map +0 -1
  31. package/build/dex/bProtocol/bProtocol.d.ts +0 -15
  32. package/build/dex/bProtocol/bProtocol.js +0 -56
  33. package/build/dex/bProtocol/bProtocol.js.map +0 -1
  34. package/build/dex/bProtocol/types.d.ts +0 -11
  35. package/build/dex/bProtocol/types.js +0 -8
  36. package/build/dex/bProtocol/types.js.map +0 -1
  37. package/build/dex/jarvis.d.ts +0 -56
  38. package/build/dex/jarvis.js +0 -163
  39. package/build/dex/jarvis.js.map +0 -1
  40. package/build/dex/mStable.d.ts +0 -44
  41. package/build/dex/mStable.js +0 -75
  42. package/build/dex/mStable.js.map +0 -1
  43. package/build/dex/onebit/onebit.d.ts +0 -16
  44. package/build/dex/onebit/onebit.js +0 -61
  45. package/build/dex/onebit/onebit.js.map +0 -1
  46. package/build/dex/onebit/types.d.ts +0 -14
  47. package/build/dex/onebit/types.js +0 -8
  48. package/build/dex/onebit/types.js.map +0 -1
  49. package/build/dex/shell.d.ts +0 -25
  50. package/build/dex/shell.js +0 -41
  51. package/build/dex/shell.js.map +0 -1
  52. package/build/dex/trader-joe-v2.d.ts +0 -40
  53. package/build/dex/trader-joe-v2.js +0 -74
  54. package/build/dex/trader-joe-v2.js.map +0 -1
  55. package/build/dex/zerox/config.d.ts +0 -2
  56. package/build/dex/zerox/config.js +0 -33
  57. package/build/dex/zerox/config.js.map +0 -1
  58. package/build/dex/zerox/index.d.ts +0 -22
  59. package/build/dex/zerox/index.js +0 -225
  60. package/build/dex/zerox/index.js.map +0 -1
  61. package/build/dex/zerox/order.d.ts +0 -88
  62. package/build/dex/zerox/order.js +0 -53
  63. package/build/dex/zerox/order.js.map +0 -1
  64. package/build/dex/zerox/types.d.ts +0 -73
  65. package/build/dex/zerox/types.js +0 -21
  66. package/build/dex/zerox/types.js.map +0 -1
@@ -1,50 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- { "internalType": "uint256", "name": "_amountIn", "type": "uint256" },
5
- { "internalType": "uint256", "name": "_amountOutMin", "type": "uint256" },
6
- {
7
- "internalType": "uint256[]",
8
- "name": "_pairBinSteps",
9
- "type": "uint256[]"
10
- },
11
- {
12
- "internalType": "contract IERC20[]",
13
- "name": "_tokenPath",
14
- "type": "address[]"
15
- },
16
- { "internalType": "address", "name": "_to", "type": "address" },
17
- { "internalType": "uint256", "name": "_deadline", "type": "uint256" }
18
- ],
19
- "name": "swapExactTokensForTokens",
20
- "outputs": [
21
- { "internalType": "uint256", "name": "amountOut", "type": "uint256" }
22
- ],
23
- "stateMutability": "nonpayable",
24
- "type": "function"
25
- },
26
- {
27
- "inputs": [
28
- { "internalType": "uint256", "name": "_amountOut", "type": "uint256" },
29
- { "internalType": "uint256", "name": "_amountInMax", "type": "uint256" },
30
- {
31
- "internalType": "uint256[]",
32
- "name": "_pairBinSteps",
33
- "type": "uint256[]"
34
- },
35
- {
36
- "internalType": "contract IERC20[]",
37
- "name": "_tokenPath",
38
- "type": "address[]"
39
- },
40
- { "internalType": "address", "name": "_to", "type": "address" },
41
- { "internalType": "uint256", "name": "_deadline", "type": "uint256" }
42
- ],
43
- "name": "swapTokensForExactTokens",
44
- "outputs": [
45
- { "internalType": "uint256[]", "name": "amountsIn", "type": "uint256[]" }
46
- ],
47
- "stateMutability": "nonpayable",
48
- "type": "function"
49
- }
50
- ]