@paraswap/dex-lib 4.1.13 → 4.1.14-balv3

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 (340) hide show
  1. package/build/abi/Aave_GSM.json +751 -0
  2. package/build/abi/Balancer.json +257 -0
  3. package/build/abi/BalancerV2.json +1179 -0
  4. package/build/abi/{integral/relayer.json → RamsesV2Pool.abi.json} +850 -832
  5. package/build/abi/RamsesV2Quoter.abi.json +274 -0
  6. package/build/abi/USDM.json +807 -0
  7. package/build/abi/UniswapV2Router.json +397 -0
  8. package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +1246 -0
  9. package/build/abi/{integral/oracle.json → angle-transmuter/ChainlinkEACAggregatorProxy.json} +247 -239
  10. package/build/abi/curve-v1/CurveBUSDv2.abi.json +1356 -0
  11. package/build/abi/curve-v1/CurveTokenV1.json +305 -0
  12. package/build/abi/curve-v1/CurveTokenV2.json +318 -0
  13. package/build/abi/curve-v1/CurveV1StableNg.json +1452 -0
  14. package/build/abi/curve-v1/CurveV2Swap.json +700 -0
  15. package/build/abi/curve-v1/FactoryCryptoRegistry.json +316 -0
  16. package/build/abi/curve-v1/FactoryRegistry.json +508 -0
  17. package/build/abi/curve-v1/StableSwapAave.json +1152 -0
  18. package/build/abi/curve-v1/StableSwapBUSD.json +814 -0
  19. package/build/abi/curve-v1/StableSwapCompound.json +814 -0
  20. package/build/abi/curve-v1/StableSwapIDLE.json +1253 -0
  21. package/build/abi/curve-v1/StableSwapPax.json +865 -0
  22. package/build/abi/curve-v1/StableSwapSnow.json +900 -0
  23. package/build/abi/{integral/pool.json → curve-v1/StableSwapUSDN.json} +450 -487
  24. package/build/abi/curve-v1/StableSwapUSDT.json +814 -0
  25. package/build/abi/curve-v1/StableSwapY.json +814 -0
  26. package/build/abi/inception/inception-ineth-pool.json +1062 -0
  27. package/build/abi/inception/inception-ineth.json +609 -0
  28. package/build/abi/inception/inception-ratio-feed.json +329 -0
  29. package/build/abi/inception/inception-vault.json +991 -0
  30. package/build/abi/kyberdmm/kyber-storage.abi.json +824 -0
  31. package/build/abi/kyberdmm.abi.json +1148 -0
  32. package/build/abi/maverick-v2/MaverickV2Quoter.json +278 -0
  33. package/build/abi/nerve/nerve-metapool.json +790 -0
  34. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +193 -0
  35. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +267 -0
  36. package/build/dex/aave-v1/aave-v1.d.ts +2 -1
  37. package/build/dex/aave-v1/aave-v1.js +22 -0
  38. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  39. package/build/dex/balancer-v1/balancer-pools.json +33333 -0
  40. package/build/dex/balancer-v3/balancer-v3-pool.js +9 -0
  41. package/build/dex/balancer-v3/balancer-v3-pool.js.map +1 -1
  42. package/build/dex/balancer-v3/balancer-v3.js +9 -2
  43. package/build/dex/balancer-v3/balancer-v3.js.map +1 -1
  44. package/build/dex/bebop/websocket-fetcher.d.ts +35 -0
  45. package/build/dex/bebop/websocket-fetcher.js +87 -0
  46. package/build/dex/bebop/websocket-fetcher.js.map +1 -0
  47. package/build/dex/hashflow/config.js +3 -0
  48. package/build/dex/hashflow/config.js.map +1 -1
  49. package/build/dex/hashflow/hashflow.js +4 -8
  50. package/build/dex/hashflow/hashflow.js.map +1 -1
  51. package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
  52. package/build/dex/idle-dao/idle-dao-pool.js +176 -0
  53. package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
  54. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
  55. package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
  56. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
  57. package/build/dex/idle-dao/scripts.d.ts +9 -0
  58. package/build/dex/idle-dao/scripts.js +552 -0
  59. package/build/dex/idle-dao/scripts.js.map +1 -0
  60. package/build/dex/inception/config.d.ts +4 -0
  61. package/build/dex/inception/config.js +109 -0
  62. package/build/dex/inception/config.js.map +1 -0
  63. package/build/dex/inception/inception-event-pool.d.ts +16 -0
  64. package/build/dex/inception/inception-event-pool.js +51 -0
  65. package/build/dex/inception/inception-event-pool.js.map +1 -0
  66. package/build/dex/{integral/integral.d.ts → inception/inception-native.d.ts} +21 -19
  67. package/build/dex/inception/inception-native.js +131 -0
  68. package/build/dex/inception/inception-native.js.map +1 -0
  69. package/build/dex/inception/inception-pool.d.ts +18 -0
  70. package/build/dex/inception/inception-pool.js +32 -0
  71. package/build/dex/inception/inception-pool.js.map +1 -0
  72. package/build/dex/inception/inception-price-feed.d.ts +19 -0
  73. package/build/dex/inception/inception-price-feed.js +51 -0
  74. package/build/dex/inception/inception-price-feed.js.map +1 -0
  75. package/build/dex/inception/inception.d.ts +43 -0
  76. package/build/dex/inception/inception.js +204 -0
  77. package/build/dex/inception/inception.js.map +1 -0
  78. package/build/dex/inception/tokens.d.ts +9 -0
  79. package/build/dex/inception/tokens.js +28 -0
  80. package/build/dex/inception/tokens.js.map +1 -0
  81. package/build/dex/inception/types.d.ts +22 -0
  82. package/build/dex/{m-token → inception}/types.js.map +1 -1
  83. package/build/dex/inception/utils.d.ts +6 -0
  84. package/build/dex/inception/utils.js +37 -0
  85. package/build/dex/inception/utils.js.map +1 -0
  86. package/build/dex/jarvis.d.ts +2 -1
  87. package/build/dex/jarvis.js +58 -0
  88. package/build/dex/jarvis.js.map +1 -1
  89. package/build/dex/platypus/platypus.d.ts +2 -1
  90. package/build/dex/platypus/platypus.js +31 -0
  91. package/build/dex/platypus/platypus.js.map +1 -1
  92. package/build/dex/swaap-v1/swaap-v1.d.ts +2 -1
  93. package/build/dex/swaap-v1/swaap-v1.js +10 -0
  94. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  95. package/build/dex/woo-fi-v2/config.js +1 -1
  96. package/build/dex/zerox/index.d.ts +4 -26
  97. package/build/dex/zerox/index.js +50 -42
  98. package/build/dex/zerox/index.js.map +1 -1
  99. package/build/dex/zerox/types.d.ts +29 -0
  100. package/build/dex/zerox/types.js +8 -1
  101. package/build/dex/zerox/types.js.map +1 -1
  102. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +16 -0
  103. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +16 -0
  104. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +16 -0
  105. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +16 -0
  106. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +16 -0
  107. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +16 -0
  108. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +16 -0
  109. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +16 -0
  110. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +9 -0
  111. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +9 -0
  112. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +9 -0
  113. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +9 -0
  114. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +9 -0
  115. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +9 -0
  116. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +9 -0
  117. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +9 -0
  118. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +9 -0
  119. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +12 -0
  120. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +7 -0
  121. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +7 -0
  122. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +7 -0
  123. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +7 -0
  124. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +12 -0
  125. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +7 -0
  126. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +7 -0
  127. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +78 -0
  128. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +81 -0
  129. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +78 -0
  130. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +78 -0
  131. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +81 -0
  132. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +81 -0
  133. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +81 -0
  134. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +81 -0
  135. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +64 -0
  136. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +85 -0
  137. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +64 -0
  138. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +52 -0
  139. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +52 -0
  140. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +52 -0
  141. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +55 -0
  142. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +55 -0
  143. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +55 -0
  144. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +23 -0
  145. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +37 -0
  146. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +23 -0
  147. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +23 -0
  148. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +51 -0
  149. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +58 -0
  150. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +23 -0
  151. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +23 -0
  152. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +9 -0
  153. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +16 -0
  154. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +23 -0
  155. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +12 -0
  156. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +7 -0
  157. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +12 -0
  158. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +12 -0
  159. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +7 -0
  160. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +7 -0
  161. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +7 -0
  162. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +7 -0
  163. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +7 -0
  164. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +7 -0
  165. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +130 -0
  166. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +136 -0
  167. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +100 -0
  168. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +100 -0
  169. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +166 -0
  170. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +190 -0
  171. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +114 -0
  172. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +114 -0
  173. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +55 -0
  174. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +73 -0
  175. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +82 -0
  176. package/package.json +2 -2
  177. package/src/dex/balancer-v3/balancer-v3-e2e.test.ts +62 -42
  178. package/src/dex/balancer-v3/balancer-v3-pool.ts +9 -0
  179. package/src/dex/balancer-v3/balancer-v3.ts +15 -4
  180. package/src/dex/hashflow/config.ts +3 -0
  181. package/src/dex/hashflow/hashflow-e2e.test.ts +30 -18
  182. package/src/dex/hashflow/hashflow.ts +6 -10
  183. package/src/dex/woo-fi-v2/config.ts +1 -1
  184. package/src/dex/woo-fi-v2/woo-fi-v2-e2e.test.ts +1 -0
  185. package/tests/constants-e2e.ts +6 -1
  186. package/.idea/aws.xml +0 -17
  187. package/.idea/codeStyles/Project.xml +0 -19
  188. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  189. package/.idea/misc.xml +0 -6
  190. package/.idea/modules.xml +0 -8
  191. package/.idea/paraswap-dex-lib.iml +0 -9
  192. package/.idea/prettier.xml +0 -7
  193. package/.idea/vcs.xml +0 -6
  194. package/build/abi/integral/factory.json +0 -333
  195. package/build/abi/uniswap-v4/pool-manager.abi.json +0 -1366
  196. package/build/abi/uniswap-v4/quoter.abi.json +0 -461
  197. package/build/abi/uniswap-v4/router.abi.json +0 -230
  198. package/build/abi/uniswap-v4/state-view.abi.json +0 -365
  199. package/build/dex/bProtocol.d.ts +0 -18
  200. package/build/dex/bProtocol.js +0 -39
  201. package/build/dex/bProtocol.js.map +0 -1
  202. package/build/dex/bancor.d.ts +0 -26
  203. package/build/dex/bancor.js +0 -58
  204. package/build/dex/bancor.js.map +0 -1
  205. package/build/dex/compound.d.ts +0 -18
  206. package/build/dex/compound.js +0 -46
  207. package/build/dex/compound.js.map +0 -1
  208. package/build/dex/curve-v2.d.ts +0 -58
  209. package/build/dex/curve-v2.js +0 -180
  210. package/build/dex/curve-v2.js.map +0 -1
  211. package/build/dex/dodo-v1.d.ts +0 -33
  212. package/build/dex/dodo-v1.js +0 -63
  213. package/build/dex/dodo-v1.js.map +0 -1
  214. package/build/dex/fluid-dex/fluid-dex-generate-pool.d.ts +0 -49
  215. package/build/dex/fluid-dex/fluid-dex-generate-pool.js +0 -104
  216. package/build/dex/fluid-dex/fluid-dex-generate-pool.js.map +0 -1
  217. package/build/dex/integral/config.d.ts +0 -4
  218. package/build/dex/integral/config.js +0 -20
  219. package/build/dex/integral/config.js.map +0 -1
  220. package/build/dex/integral/context.d.ts +0 -40
  221. package/build/dex/integral/context.js +0 -158
  222. package/build/dex/integral/context.js.map +0 -1
  223. package/build/dex/integral/integral-factory.d.ts +0 -24
  224. package/build/dex/integral/integral-factory.js +0 -95
  225. package/build/dex/integral/integral-factory.js.map +0 -1
  226. package/build/dex/integral/integral-pool.d.ts +0 -50
  227. package/build/dex/integral/integral-pool.js +0 -149
  228. package/build/dex/integral/integral-pool.js.map +0 -1
  229. package/build/dex/integral/integral-pricing.d.ts +0 -18
  230. package/build/dex/integral/integral-pricing.js +0 -114
  231. package/build/dex/integral/integral-pricing.js.map +0 -1
  232. package/build/dex/integral/integral-relayer.d.ts +0 -42
  233. package/build/dex/integral/integral-relayer.js +0 -192
  234. package/build/dex/integral/integral-relayer.js.map +0 -1
  235. package/build/dex/integral/integral-token.d.ts +0 -27
  236. package/build/dex/integral/integral-token.js +0 -59
  237. package/build/dex/integral/integral-token.js.map +0 -1
  238. package/build/dex/integral/integral.js +0 -376
  239. package/build/dex/integral/integral.js.map +0 -1
  240. package/build/dex/integral/types.d.ts +0 -85
  241. package/build/dex/integral/types.js +0 -9
  242. package/build/dex/integral/types.js.map +0 -1
  243. package/build/dex/integral/utils-e2e.d.ts +0 -9
  244. package/build/dex/integral/utils-e2e.js +0 -131
  245. package/build/dex/integral/utils-e2e.js.map +0 -1
  246. package/build/dex/integral/utils.d.ts +0 -17
  247. package/build/dex/integral/utils.js +0 -94
  248. package/build/dex/integral/utils.js.map +0 -1
  249. package/build/dex/lido.d.ts +0 -19
  250. package/build/dex/lido.js +0 -42
  251. package/build/dex/lido.js.map +0 -1
  252. package/build/dex/m-token/config.d.ts +0 -3
  253. package/build/dex/m-token/config.js +0 -19
  254. package/build/dex/m-token/config.js.map +0 -1
  255. package/build/dex/m-token/m-token.d.ts +0 -29
  256. package/build/dex/m-token/m-token.js +0 -145
  257. package/build/dex/m-token/m-token.js.map +0 -1
  258. package/build/dex/m-token/m-wrapped-m.d.ts +0 -17
  259. package/build/dex/m-token/m-wrapped-m.js +0 -50
  260. package/build/dex/m-token/m-wrapped-m.js.map +0 -1
  261. package/build/dex/m-token/types.d.ts +0 -12
  262. package/build/dex/onebit.d.ts +0 -25
  263. package/build/dex/onebit.js +0 -42
  264. package/build/dex/onebit.js.map +0 -1
  265. package/build/dex/smoothy.d.ts +0 -26
  266. package/build/dex/smoothy.js +0 -48
  267. package/build/dex/smoothy.js.map +0 -1
  268. package/build/dex/spark/susds-psm.d.ts +0 -49
  269. package/build/dex/spark/susds-psm.js +0 -245
  270. package/build/dex/spark/susds-psm.js.map +0 -1
  271. package/build/dex/stable-pool.d.ts +0 -28
  272. package/build/dex/stable-pool.js +0 -62
  273. package/build/dex/stable-pool.js.map +0 -1
  274. package/build/dex/trader-joe-v2.1/optimizer.d.ts +0 -2
  275. package/build/dex/trader-joe-v2.1/optimizer.js +0 -47
  276. package/build/dex/trader-joe-v2.1/optimizer.js.map +0 -1
  277. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +0 -7
  278. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +0 -20
  279. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +0 -1
  280. package/build/dex/trader-joe-v2.1.d.ts +0 -43
  281. package/build/dex/trader-joe-v2.1.js +0 -79
  282. package/build/dex/trader-joe-v2.1.js.map +0 -1
  283. package/build/dex/uniswap-v4/config.d.ts +0 -3
  284. package/build/dex/uniswap-v4/config.js +0 -58
  285. package/build/dex/uniswap-v4/config.js.map +0 -1
  286. package/build/dex/uniswap-v4/constants.d.ts +0 -7
  287. package/build/dex/uniswap-v4/constants.js +0 -18
  288. package/build/dex/uniswap-v4/constants.js.map +0 -1
  289. package/build/dex/uniswap-v4/contract-math/BitMath.d.ts +0 -4
  290. package/build/dex/uniswap-v4/contract-math/BitMath.js +0 -93
  291. package/build/dex/uniswap-v4/contract-math/BitMath.js.map +0 -1
  292. package/build/dex/uniswap-v4/contract-math/FixedPoint128.d.ts +0 -3
  293. package/build/dex/uniswap-v4/contract-math/FixedPoint128.js +0 -8
  294. package/build/dex/uniswap-v4/contract-math/FixedPoint128.js.map +0 -1
  295. package/build/dex/uniswap-v4/contract-math/FixedPoint96.d.ts +0 -4
  296. package/build/dex/uniswap-v4/contract-math/FixedPoint96.js +0 -9
  297. package/build/dex/uniswap-v4/contract-math/FixedPoint96.js.map +0 -1
  298. package/build/dex/uniswap-v4/contract-math/FullMath.d.ts +0 -4
  299. package/build/dex/uniswap-v4/contract-math/FullMath.js +0 -19
  300. package/build/dex/uniswap-v4/contract-math/FullMath.js.map +0 -1
  301. package/build/dex/uniswap-v4/contract-math/LiquidityMath.d.ts +0 -3
  302. package/build/dex/uniswap-v4/contract-math/LiquidityMath.js +0 -22
  303. package/build/dex/uniswap-v4/contract-math/LiquidityMath.js.map +0 -1
  304. package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.d.ts +0 -10
  305. package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.js +0 -91
  306. package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.js.map +0 -1
  307. package/build/dex/uniswap-v4/contract-math/SwapMath.d.ts +0 -8
  308. package/build/dex/uniswap-v4/contract-math/SwapMath.js +0 -70
  309. package/build/dex/uniswap-v4/contract-math/SwapMath.js.map +0 -1
  310. package/build/dex/uniswap-v4/contract-math/TickBitMap.d.ts +0 -7
  311. package/build/dex/uniswap-v4/contract-math/TickBitMap.js +0 -86
  312. package/build/dex/uniswap-v4/contract-math/TickBitMap.js.map +0 -1
  313. package/build/dex/uniswap-v4/contract-math/TickMath.d.ts +0 -8
  314. package/build/dex/uniswap-v4/contract-math/TickMath.js +0 -162
  315. package/build/dex/uniswap-v4/contract-math/TickMath.js.map +0 -1
  316. package/build/dex/uniswap-v4/contract-math/UnsafeMath.d.ts +0 -3
  317. package/build/dex/uniswap-v4/contract-math/UnsafeMath.js +0 -10
  318. package/build/dex/uniswap-v4/contract-math/UnsafeMath.js.map +0 -1
  319. package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.d.ts +0 -8
  320. package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.js +0 -11
  321. package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.js.map +0 -1
  322. package/build/dex/uniswap-v4/encoder.d.ts +0 -16
  323. package/build/dex/uniswap-v4/encoder.js +0 -104
  324. package/build/dex/uniswap-v4/encoder.js.map +0 -1
  325. package/build/dex/uniswap-v4/subgraph.d.ts +0 -5
  326. package/build/dex/uniswap-v4/subgraph.js +0 -80
  327. package/build/dex/uniswap-v4/subgraph.js.map +0 -1
  328. package/build/dex/uniswap-v4/types.d.ts +0 -64
  329. package/build/dex/uniswap-v4/types.js +0 -3
  330. package/build/dex/uniswap-v4/types.js.map +0 -1
  331. package/build/dex/uniswap-v4/uniswap-v4-pool-manager.d.ts +0 -33
  332. package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js +0 -152
  333. package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js.map +0 -1
  334. package/build/dex/uniswap-v4/uniswap-v4.d.ts +0 -38
  335. package/build/dex/uniswap-v4/uniswap-v4.js +0 -169
  336. package/build/dex/uniswap-v4/uniswap-v4.js.map +0 -1
  337. package/build/dex/uniswap-v4/utils.d.ts +0 -2
  338. package/build/dex/uniswap-v4/utils.js +0 -15
  339. package/build/dex/uniswap-v4/utils.js.map +0 -1
  340. /package/build/dex/{m-token → inception}/types.js +0 -0
@@ -1,461 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "contract IPoolManager",
6
- "name": "_poolManager",
7
- "type": "address"
8
- }
9
- ],
10
- "stateMutability": "nonpayable",
11
- "type": "constructor"
12
- },
13
- {
14
- "inputs": [
15
- { "internalType": "PoolId", "name": "poolId", "type": "bytes32" }
16
- ],
17
- "name": "NotEnoughLiquidity",
18
- "type": "error"
19
- },
20
- { "inputs": [], "name": "NotPoolManager", "type": "error" },
21
- { "inputs": [], "name": "NotSelf", "type": "error" },
22
- {
23
- "inputs": [
24
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
25
- ],
26
- "name": "QuoteSwap",
27
- "type": "error"
28
- },
29
- { "inputs": [], "name": "UnexpectedCallSuccess", "type": "error" },
30
- {
31
- "inputs": [
32
- { "internalType": "bytes", "name": "revertData", "type": "bytes" }
33
- ],
34
- "name": "UnexpectedRevertBytes",
35
- "type": "error"
36
- },
37
- {
38
- "inputs": [
39
- {
40
- "components": [
41
- {
42
- "internalType": "Currency",
43
- "name": "exactCurrency",
44
- "type": "address"
45
- },
46
- {
47
- "components": [
48
- {
49
- "internalType": "Currency",
50
- "name": "intermediateCurrency",
51
- "type": "address"
52
- },
53
- { "internalType": "uint24", "name": "fee", "type": "uint24" },
54
- {
55
- "internalType": "int24",
56
- "name": "tickSpacing",
57
- "type": "int24"
58
- },
59
- {
60
- "internalType": "contract IHooks",
61
- "name": "hooks",
62
- "type": "address"
63
- },
64
- { "internalType": "bytes", "name": "hookData", "type": "bytes" }
65
- ],
66
- "internalType": "struct PathKey[]",
67
- "name": "path",
68
- "type": "tuple[]"
69
- },
70
- {
71
- "internalType": "uint128",
72
- "name": "exactAmount",
73
- "type": "uint128"
74
- }
75
- ],
76
- "internalType": "struct IV4Quoter.QuoteExactParams",
77
- "name": "params",
78
- "type": "tuple"
79
- }
80
- ],
81
- "name": "_quoteExactInput",
82
- "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
83
- "stateMutability": "nonpayable",
84
- "type": "function"
85
- },
86
- {
87
- "inputs": [
88
- {
89
- "components": [
90
- {
91
- "components": [
92
- {
93
- "internalType": "Currency",
94
- "name": "currency0",
95
- "type": "address"
96
- },
97
- {
98
- "internalType": "Currency",
99
- "name": "currency1",
100
- "type": "address"
101
- },
102
- { "internalType": "uint24", "name": "fee", "type": "uint24" },
103
- {
104
- "internalType": "int24",
105
- "name": "tickSpacing",
106
- "type": "int24"
107
- },
108
- {
109
- "internalType": "contract IHooks",
110
- "name": "hooks",
111
- "type": "address"
112
- }
113
- ],
114
- "internalType": "struct PoolKey",
115
- "name": "poolKey",
116
- "type": "tuple"
117
- },
118
- { "internalType": "bool", "name": "zeroForOne", "type": "bool" },
119
- {
120
- "internalType": "uint128",
121
- "name": "exactAmount",
122
- "type": "uint128"
123
- },
124
- { "internalType": "bytes", "name": "hookData", "type": "bytes" }
125
- ],
126
- "internalType": "struct IV4Quoter.QuoteExactSingleParams",
127
- "name": "params",
128
- "type": "tuple"
129
- }
130
- ],
131
- "name": "_quoteExactInputSingle",
132
- "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
133
- "stateMutability": "nonpayable",
134
- "type": "function"
135
- },
136
- {
137
- "inputs": [
138
- {
139
- "components": [
140
- {
141
- "internalType": "Currency",
142
- "name": "exactCurrency",
143
- "type": "address"
144
- },
145
- {
146
- "components": [
147
- {
148
- "internalType": "Currency",
149
- "name": "intermediateCurrency",
150
- "type": "address"
151
- },
152
- { "internalType": "uint24", "name": "fee", "type": "uint24" },
153
- {
154
- "internalType": "int24",
155
- "name": "tickSpacing",
156
- "type": "int24"
157
- },
158
- {
159
- "internalType": "contract IHooks",
160
- "name": "hooks",
161
- "type": "address"
162
- },
163
- { "internalType": "bytes", "name": "hookData", "type": "bytes" }
164
- ],
165
- "internalType": "struct PathKey[]",
166
- "name": "path",
167
- "type": "tuple[]"
168
- },
169
- {
170
- "internalType": "uint128",
171
- "name": "exactAmount",
172
- "type": "uint128"
173
- }
174
- ],
175
- "internalType": "struct IV4Quoter.QuoteExactParams",
176
- "name": "params",
177
- "type": "tuple"
178
- }
179
- ],
180
- "name": "_quoteExactOutput",
181
- "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
182
- "stateMutability": "nonpayable",
183
- "type": "function"
184
- },
185
- {
186
- "inputs": [
187
- {
188
- "components": [
189
- {
190
- "components": [
191
- {
192
- "internalType": "Currency",
193
- "name": "currency0",
194
- "type": "address"
195
- },
196
- {
197
- "internalType": "Currency",
198
- "name": "currency1",
199
- "type": "address"
200
- },
201
- { "internalType": "uint24", "name": "fee", "type": "uint24" },
202
- {
203
- "internalType": "int24",
204
- "name": "tickSpacing",
205
- "type": "int24"
206
- },
207
- {
208
- "internalType": "contract IHooks",
209
- "name": "hooks",
210
- "type": "address"
211
- }
212
- ],
213
- "internalType": "struct PoolKey",
214
- "name": "poolKey",
215
- "type": "tuple"
216
- },
217
- { "internalType": "bool", "name": "zeroForOne", "type": "bool" },
218
- {
219
- "internalType": "uint128",
220
- "name": "exactAmount",
221
- "type": "uint128"
222
- },
223
- { "internalType": "bytes", "name": "hookData", "type": "bytes" }
224
- ],
225
- "internalType": "struct IV4Quoter.QuoteExactSingleParams",
226
- "name": "params",
227
- "type": "tuple"
228
- }
229
- ],
230
- "name": "_quoteExactOutputSingle",
231
- "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
232
- "stateMutability": "nonpayable",
233
- "type": "function"
234
- },
235
- {
236
- "inputs": [],
237
- "name": "poolManager",
238
- "outputs": [
239
- { "internalType": "contract IPoolManager", "name": "", "type": "address" }
240
- ],
241
- "stateMutability": "view",
242
- "type": "function"
243
- },
244
- {
245
- "inputs": [
246
- {
247
- "components": [
248
- {
249
- "internalType": "Currency",
250
- "name": "exactCurrency",
251
- "type": "address"
252
- },
253
- {
254
- "components": [
255
- {
256
- "internalType": "Currency",
257
- "name": "intermediateCurrency",
258
- "type": "address"
259
- },
260
- { "internalType": "uint24", "name": "fee", "type": "uint24" },
261
- {
262
- "internalType": "int24",
263
- "name": "tickSpacing",
264
- "type": "int24"
265
- },
266
- {
267
- "internalType": "contract IHooks",
268
- "name": "hooks",
269
- "type": "address"
270
- },
271
- { "internalType": "bytes", "name": "hookData", "type": "bytes" }
272
- ],
273
- "internalType": "struct PathKey[]",
274
- "name": "path",
275
- "type": "tuple[]"
276
- },
277
- {
278
- "internalType": "uint128",
279
- "name": "exactAmount",
280
- "type": "uint128"
281
- }
282
- ],
283
- "internalType": "struct IV4Quoter.QuoteExactParams",
284
- "name": "params",
285
- "type": "tuple"
286
- }
287
- ],
288
- "name": "quoteExactInput",
289
- "outputs": [
290
- { "internalType": "uint256", "name": "amountOut", "type": "uint256" },
291
- { "internalType": "uint256", "name": "gasEstimate", "type": "uint256" }
292
- ],
293
- "stateMutability": "nonpayable",
294
- "type": "function"
295
- },
296
- {
297
- "inputs": [
298
- {
299
- "components": [
300
- {
301
- "components": [
302
- {
303
- "internalType": "Currency",
304
- "name": "currency0",
305
- "type": "address"
306
- },
307
- {
308
- "internalType": "Currency",
309
- "name": "currency1",
310
- "type": "address"
311
- },
312
- { "internalType": "uint24", "name": "fee", "type": "uint24" },
313
- {
314
- "internalType": "int24",
315
- "name": "tickSpacing",
316
- "type": "int24"
317
- },
318
- {
319
- "internalType": "contract IHooks",
320
- "name": "hooks",
321
- "type": "address"
322
- }
323
- ],
324
- "internalType": "struct PoolKey",
325
- "name": "poolKey",
326
- "type": "tuple"
327
- },
328
- { "internalType": "bool", "name": "zeroForOne", "type": "bool" },
329
- {
330
- "internalType": "uint128",
331
- "name": "exactAmount",
332
- "type": "uint128"
333
- },
334
- { "internalType": "bytes", "name": "hookData", "type": "bytes" }
335
- ],
336
- "internalType": "struct IV4Quoter.QuoteExactSingleParams",
337
- "name": "params",
338
- "type": "tuple"
339
- }
340
- ],
341
- "name": "quoteExactInputSingle",
342
- "outputs": [
343
- { "internalType": "uint256", "name": "amountOut", "type": "uint256" },
344
- { "internalType": "uint256", "name": "gasEstimate", "type": "uint256" }
345
- ],
346
- "stateMutability": "nonpayable",
347
- "type": "function"
348
- },
349
- {
350
- "inputs": [
351
- {
352
- "components": [
353
- {
354
- "internalType": "Currency",
355
- "name": "exactCurrency",
356
- "type": "address"
357
- },
358
- {
359
- "components": [
360
- {
361
- "internalType": "Currency",
362
- "name": "intermediateCurrency",
363
- "type": "address"
364
- },
365
- { "internalType": "uint24", "name": "fee", "type": "uint24" },
366
- {
367
- "internalType": "int24",
368
- "name": "tickSpacing",
369
- "type": "int24"
370
- },
371
- {
372
- "internalType": "contract IHooks",
373
- "name": "hooks",
374
- "type": "address"
375
- },
376
- { "internalType": "bytes", "name": "hookData", "type": "bytes" }
377
- ],
378
- "internalType": "struct PathKey[]",
379
- "name": "path",
380
- "type": "tuple[]"
381
- },
382
- {
383
- "internalType": "uint128",
384
- "name": "exactAmount",
385
- "type": "uint128"
386
- }
387
- ],
388
- "internalType": "struct IV4Quoter.QuoteExactParams",
389
- "name": "params",
390
- "type": "tuple"
391
- }
392
- ],
393
- "name": "quoteExactOutput",
394
- "outputs": [
395
- { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
396
- { "internalType": "uint256", "name": "gasEstimate", "type": "uint256" }
397
- ],
398
- "stateMutability": "nonpayable",
399
- "type": "function"
400
- },
401
- {
402
- "inputs": [
403
- {
404
- "components": [
405
- {
406
- "components": [
407
- {
408
- "internalType": "Currency",
409
- "name": "currency0",
410
- "type": "address"
411
- },
412
- {
413
- "internalType": "Currency",
414
- "name": "currency1",
415
- "type": "address"
416
- },
417
- { "internalType": "uint24", "name": "fee", "type": "uint24" },
418
- {
419
- "internalType": "int24",
420
- "name": "tickSpacing",
421
- "type": "int24"
422
- },
423
- {
424
- "internalType": "contract IHooks",
425
- "name": "hooks",
426
- "type": "address"
427
- }
428
- ],
429
- "internalType": "struct PoolKey",
430
- "name": "poolKey",
431
- "type": "tuple"
432
- },
433
- { "internalType": "bool", "name": "zeroForOne", "type": "bool" },
434
- {
435
- "internalType": "uint128",
436
- "name": "exactAmount",
437
- "type": "uint128"
438
- },
439
- { "internalType": "bytes", "name": "hookData", "type": "bytes" }
440
- ],
441
- "internalType": "struct IV4Quoter.QuoteExactSingleParams",
442
- "name": "params",
443
- "type": "tuple"
444
- }
445
- ],
446
- "name": "quoteExactOutputSingle",
447
- "outputs": [
448
- { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
449
- { "internalType": "uint256", "name": "gasEstimate", "type": "uint256" }
450
- ],
451
- "stateMutability": "nonpayable",
452
- "type": "function"
453
- },
454
- {
455
- "inputs": [{ "internalType": "bytes", "name": "data", "type": "bytes" }],
456
- "name": "unlockCallback",
457
- "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
458
- "stateMutability": "nonpayable",
459
- "type": "function"
460
- }
461
- ]