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