@paraswap/dex-lib 4.7.13 → 4.7.14-multi-route.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 (124) hide show
  1. package/build/dex/idle-dao/idle-dao.d.ts +1 -0
  2. package/build/dex/idle-dao/idle-dao.js +23 -11
  3. package/build/dex/idle-dao/idle-dao.js.map +1 -1
  4. package/build/dex/{se-vlr/se-vlr-pool.d.ts → maker-psm/maker-psm-event-pool.d.ts} +15 -11
  5. package/build/dex/maker-psm/maker-psm-event-pool.js +132 -0
  6. package/build/dex/maker-psm/maker-psm-event-pool.js.map +1 -0
  7. package/build/dex/maker-psm/maker-psm.d.ts +4 -41
  8. package/build/dex/maker-psm/maker-psm.js +40 -143
  9. package/build/dex/maker-psm/maker-psm.js.map +1 -1
  10. package/build/dex/uniswap-v4/contract-math/Position.d.ts +6 -0
  11. package/build/dex/uniswap-v4/contract-math/Position.js +29 -0
  12. package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -1
  13. package/build/executor/Executor01BytecodeBuilder.d.ts +5 -5
  14. package/build/executor/Executor01BytecodeBuilder.js +17 -14
  15. package/build/executor/Executor01BytecodeBuilder.js.map +1 -1
  16. package/build/executor/Executor02BytecodeBuilder.d.ts +11 -8
  17. package/build/executor/Executor02BytecodeBuilder.js +107 -103
  18. package/build/executor/Executor02BytecodeBuilder.js.map +1 -1
  19. package/build/executor/Executor03BytecodeBuilder.d.ts +5 -5
  20. package/build/executor/Executor03BytecodeBuilder.js +14 -11
  21. package/build/executor/Executor03BytecodeBuilder.js.map +1 -1
  22. package/build/executor/ExecutorBytecodeBuilder.d.ts +8 -8
  23. package/build/executor/ExecutorBytecodeBuilder.js +8 -8
  24. package/build/executor/ExecutorBytecodeBuilder.js.map +1 -1
  25. package/build/executor/WETHBytecodeBuilder.d.ts +2 -2
  26. package/build/executor/WETHBytecodeBuilder.js +1 -1
  27. package/build/executor/WETHBytecodeBuilder.js.map +1 -1
  28. package/build/executor/types.d.ts +21 -0
  29. package/build/executor/types.js.map +1 -1
  30. package/build/executor/utils.d.ts +20 -0
  31. package/build/executor/utils.js +129 -0
  32. package/build/executor/utils.js.map +1 -1
  33. package/build/generic-swap-transaction-builder.d.ts +3 -0
  34. package/build/generic-swap-transaction-builder.js +94 -23
  35. package/build/generic-swap-transaction-builder.js.map +1 -1
  36. package/package.json +12 -3
  37. package/build/abi/BProtocol.json +0 -1155
  38. package/build/abi/Jarvis.json +0 -1172
  39. package/build/abi/MStableAsset.json +0 -1545
  40. package/build/abi/OneInchLp.json +0 -1304
  41. package/build/abi/Onebit.json +0 -736
  42. package/build/abi/Shell.json +0 -1294
  43. package/build/abi/TraderJoeV2Router.json +0 -50
  44. package/build/abi/wUSDM.json +0 -757
  45. package/build/abi/zrx.v2.json +0 -1967
  46. package/build/abi/zrx.v3.json +0 -3454
  47. package/build/abi/zrx.v4.json +0 -2193
  48. package/build/dex/OneInchLp.d.ts +0 -24
  49. package/build/dex/OneInchLp.js +0 -43
  50. package/build/dex/OneInchLp.js.map +0 -1
  51. package/build/dex/bProtocol/bProtocol.d.ts +0 -15
  52. package/build/dex/bProtocol/bProtocol.js +0 -56
  53. package/build/dex/bProtocol/bProtocol.js.map +0 -1
  54. package/build/dex/bProtocol/types.d.ts +0 -11
  55. package/build/dex/bProtocol/types.js +0 -8
  56. package/build/dex/bProtocol/types.js.map +0 -1
  57. package/build/dex/jarvis.d.ts +0 -56
  58. package/build/dex/jarvis.js +0 -163
  59. package/build/dex/jarvis.js.map +0 -1
  60. package/build/dex/mStable.d.ts +0 -44
  61. package/build/dex/mStable.js +0 -75
  62. package/build/dex/mStable.js.map +0 -1
  63. package/build/dex/onebit/onebit.d.ts +0 -16
  64. package/build/dex/onebit/onebit.js +0 -61
  65. package/build/dex/onebit/onebit.js.map +0 -1
  66. package/build/dex/onebit/types.d.ts +0 -14
  67. package/build/dex/onebit/types.js +0 -8
  68. package/build/dex/onebit/types.js.map +0 -1
  69. package/build/dex/se-vlr/config.d.ts +0 -3
  70. package/build/dex/se-vlr/config.js +0 -24
  71. package/build/dex/se-vlr/config.js.map +0 -1
  72. package/build/dex/se-vlr/se-vlr-pool.js +0 -70
  73. package/build/dex/se-vlr/se-vlr-pool.js.map +0 -1
  74. package/build/dex/se-vlr/se-vlr.d.ts +0 -35
  75. package/build/dex/se-vlr/se-vlr.js +0 -131
  76. package/build/dex/se-vlr/se-vlr.js.map +0 -1
  77. package/build/dex/se-vlr/types.d.ts +0 -6
  78. package/build/dex/se-vlr/types.js +0 -3
  79. package/build/dex/se-vlr/types.js.map +0 -1
  80. package/build/dex/shell.d.ts +0 -25
  81. package/build/dex/shell.js +0 -41
  82. package/build/dex/shell.js.map +0 -1
  83. package/build/dex/trader-joe-v2.d.ts +0 -40
  84. package/build/dex/trader-joe-v2.js +0 -74
  85. package/build/dex/trader-joe-v2.js.map +0 -1
  86. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +0 -94
  87. package/build/dex/uniswap-v3/uniswap-v3-new.js +0 -923
  88. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +0 -1
  89. package/build/dex/usual-bond/config.d.ts +0 -3
  90. package/build/dex/usual-bond/config.js +0 -13
  91. package/build/dex/usual-bond/config.js.map +0 -1
  92. package/build/dex/usual-bond/types.d.ts +0 -7
  93. package/build/dex/usual-bond/types.js +0 -3
  94. package/build/dex/usual-bond/types.js.map +0 -1
  95. package/build/dex/usual-bond/usual-bond.d.ts +0 -35
  96. package/build/dex/usual-bond/usual-bond.js +0 -176
  97. package/build/dex/usual-bond/usual-bond.js.map +0 -1
  98. package/build/dex/wusdm/config.d.ts +0 -3
  99. package/build/dex/wusdm/config.js +0 -43
  100. package/build/dex/wusdm/config.js.map +0 -1
  101. package/build/dex/wusdm/constants.d.ts +0 -2
  102. package/build/dex/wusdm/constants.js +0 -6
  103. package/build/dex/wusdm/constants.js.map +0 -1
  104. package/build/dex/wusdm/types.d.ts +0 -18
  105. package/build/dex/wusdm/types.js +0 -11
  106. package/build/dex/wusdm/types.js.map +0 -1
  107. package/build/dex/wusdm/wusdm-pool.d.ts +0 -21
  108. package/build/dex/wusdm/wusdm-pool.js +0 -74
  109. package/build/dex/wusdm/wusdm-pool.js.map +0 -1
  110. package/build/dex/wusdm/wusdm.d.ts +0 -46
  111. package/build/dex/wusdm/wusdm.js +0 -243
  112. package/build/dex/wusdm/wusdm.js.map +0 -1
  113. package/build/dex/zerox/config.d.ts +0 -2
  114. package/build/dex/zerox/config.js +0 -33
  115. package/build/dex/zerox/config.js.map +0 -1
  116. package/build/dex/zerox/index.d.ts +0 -22
  117. package/build/dex/zerox/index.js +0 -225
  118. package/build/dex/zerox/index.js.map +0 -1
  119. package/build/dex/zerox/order.d.ts +0 -88
  120. package/build/dex/zerox/order.js +0 -53
  121. package/build/dex/zerox/order.js.map +0 -1
  122. package/build/dex/zerox/types.d.ts +0 -73
  123. package/build/dex/zerox/types.js +0 -21
  124. 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
- ]