@paraswap/dex-lib 4.7.27 → 4.8.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 (364) hide show
  1. package/build/abi/PendleRouterStatic.json +19 -0
  2. package/build/abi/apex-defi/ApexDefiFactory.abi.json +1749 -0
  3. package/build/abi/apex-defi/ApexDefiRouter.abi.json +1120 -0
  4. package/build/abi/apex-defi/ApexDefiToken.abi.json +229 -0
  5. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +92 -0
  6. package/build/abi/apex-defi/ApexDefiWrapperFactory.abi.json +1107 -0
  7. package/build/abi/ekubo-v3/core.json +797 -0
  8. package/build/abi/ekubo-v3/mev-capture-router.json +936 -0
  9. package/build/abi/ekubo-v3/quote-data-fetcher.json +161 -0
  10. package/build/abi/ekubo-v3/twamm-data-fetcher.json +216 -0
  11. package/build/abi/ekubo-v3/twamm.json +613 -0
  12. package/build/abi/idle-dao/idle-cdo-factory.json +38 -0
  13. package/build/abi/idle-dao/idle-cdo.json +1245 -0
  14. package/build/abi/infusion/InfusionFactory.json +147 -0
  15. package/build/abi/infusion/InfusionPair.json +658 -0
  16. package/build/abi/infusion/InfusionRouter.json +442 -0
  17. package/build/abi/maker-psm/pot.json +322 -0
  18. package/build/abi/maker-psm/psm.json +243 -0
  19. package/build/abi/maker-psm/vat.json +363 -0
  20. package/build/abi/nomiswap-v2/nomiswap-v2-pool.json +773 -0
  21. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +796 -0
  22. package/build/abi/pendle/pendle-deployer.abi.json +520 -0
  23. package/build/abi/pendle/pendle-oracle.abi.json +413 -0
  24. package/build/abi/quick-perps/fast-price-events.json +70 -0
  25. package/build/abi/quick-perps/fast-price-feed.json +741 -0
  26. package/build/abi/quick-perps/reader.json +313 -0
  27. package/build/abi/quick-perps/vault-price-feed.json +323 -0
  28. package/build/abi/quick-perps/vault.json +1953 -0
  29. package/build/abi/ring-v2/few-wrapped-token.json +587 -0
  30. package/build/abi/ring-v2/ring-v2-factory.json +125 -0
  31. package/build/abi/ring-v2/ring-v2-pool.json +461 -0
  32. package/build/abi/ring-v2/ring-v2-router.json +332 -0
  33. package/build/abi/stabull/stabull-curve.json +738 -0
  34. package/build/abi/stabull/stabull-router.json +76 -0
  35. package/build/abi/uniswap-v2/excalibur-pool.json +881 -0
  36. package/build/abi/uniswap-v2/mdex-factory.json +759 -0
  37. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +26 -0
  38. package/build/abi/uniswap-v4/hooks/SpotHook.json +54 -0
  39. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +45 -0
  40. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +682 -0
  41. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +1335 -0
  42. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +29 -0
  43. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +153 -0
  44. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +1 -0
  45. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.d.ts +40 -0
  46. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +323 -0
  47. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +1 -0
  48. package/build/dex/aave-pt-to-underlying/config.d.ts +3 -0
  49. package/build/dex/aave-pt-to-underlying/config.js +24 -0
  50. package/build/dex/aave-pt-to-underlying/config.js.map +1 -0
  51. package/build/dex/aave-pt-to-underlying/constants.d.ts +2 -0
  52. package/build/dex/aave-pt-to-underlying/constants.js +6 -0
  53. package/build/dex/aave-pt-to-underlying/constants.js.map +1 -0
  54. package/build/dex/aave-pt-to-underlying/types.d.ts +24 -0
  55. package/build/dex/aave-pt-to-underlying/types.js +3 -0
  56. package/build/dex/aave-pt-to-underlying/types.js.map +1 -0
  57. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +39 -0
  58. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +244 -0
  59. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +1 -0
  60. package/build/dex/aave-pt-to-usdc/config.d.ts +3 -0
  61. package/build/dex/aave-pt-to-usdc/config.js +47 -0
  62. package/build/dex/aave-pt-to-usdc/config.js.map +1 -0
  63. package/build/dex/aave-pt-to-usdc/constants.d.ts +2 -0
  64. package/build/dex/aave-pt-to-usdc/constants.js +6 -0
  65. package/build/dex/aave-pt-to-usdc/constants.js.map +1 -0
  66. package/build/dex/aave-pt-to-usdc/types.d.ts +22 -0
  67. package/build/dex/aave-pt-to-usdc/types.js +3 -0
  68. package/build/dex/aave-pt-to-usdc/types.js.map +1 -0
  69. package/build/dex/algebra/config.js +0 -30
  70. package/build/dex/algebra/config.js.map +1 -1
  71. package/build/dex/algebra-integral/config.js +0 -7
  72. package/build/dex/algebra-integral/config.js.map +1 -1
  73. package/build/dex/angle-staked-stable/config.js +0 -32
  74. package/build/dex/angle-staked-stable/config.js.map +1 -1
  75. package/build/dex/angle-transmuter/config.js +0 -20
  76. package/build/dex/angle-transmuter/config.js.map +1 -1
  77. package/build/dex/apex-defi/apex-defi-factory.d.ts +26 -0
  78. package/build/dex/apex-defi/apex-defi-factory.js +53 -0
  79. package/build/dex/apex-defi/apex-defi-factory.js.map +1 -0
  80. package/build/dex/apex-defi/apex-defi-pool.d.ts +55 -0
  81. package/build/dex/apex-defi/apex-defi-pool.js +247 -0
  82. package/build/dex/apex-defi/apex-defi-pool.js.map +1 -0
  83. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +57 -0
  84. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +250 -0
  85. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +1 -0
  86. package/build/dex/apex-defi/apex-defi.d.ts +97 -0
  87. package/build/dex/apex-defi/apex-defi.js +1021 -0
  88. package/build/dex/apex-defi/apex-defi.js.map +1 -0
  89. package/build/dex/apex-defi/config.d.ts +4 -0
  90. package/build/dex/apex-defi/config.js +138 -0
  91. package/build/dex/apex-defi/config.js.map +1 -0
  92. package/build/dex/apex-defi/types.d.ts +32 -0
  93. package/build/dex/apex-defi/types.js +3 -0
  94. package/build/dex/apex-defi/types.js.map +1 -0
  95. package/build/dex/apex-defi/utils.d.ts +46 -0
  96. package/build/dex/apex-defi/utils.js +133 -0
  97. package/build/dex/apex-defi/utils.js.map +1 -0
  98. package/build/dex/curve-v1/constants.js +2 -4
  99. package/build/dex/curve-v1/constants.js.map +1 -1
  100. package/build/dex/dodo-v1/config.js +0 -10
  101. package/build/dex/dodo-v1/config.js.map +1 -1
  102. package/build/dex/dodo-v2.js +0 -3
  103. package/build/dex/dodo-v2.js.map +1 -1
  104. package/build/dex/ekubo/pools/base-pool.d.ts +47 -0
  105. package/build/dex/ekubo/pools/base-pool.js +184 -0
  106. package/build/dex/ekubo/pools/base-pool.js.map +1 -0
  107. package/build/dex/ekubo/pools/iface.d.ts +46 -0
  108. package/build/dex/ekubo/pools/iface.js +75 -0
  109. package/build/dex/ekubo/pools/iface.js.map +1 -0
  110. package/build/dex/ekubo/pools/math/price.d.ts +7 -0
  111. package/build/dex/ekubo/pools/math/price.js +112 -0
  112. package/build/dex/ekubo/pools/math/price.js.map +1 -0
  113. package/build/dex/ekubo/pools/oracle-pool.d.ts +10 -0
  114. package/build/dex/ekubo/pools/oracle-pool.js +19 -0
  115. package/build/dex/ekubo/pools/oracle-pool.js.map +1 -0
  116. package/build/dex/ekubo/pools/pool-utils.d.ts +44 -0
  117. package/build/dex/ekubo/pools/pool-utils.js +240 -0
  118. package/build/dex/ekubo/pools/pool-utils.js.map +1 -0
  119. package/build/dex/ekubo-v3/config.d.ts +13 -0
  120. package/build/dex/ekubo-v3/config.js +23 -0
  121. package/build/dex/ekubo-v3/config.js.map +1 -0
  122. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.d.ts +34 -0
  123. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.js +421 -0
  124. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.js.map +1 -0
  125. package/build/dex/ekubo-v3/ekubo-v3.d.ts +38 -0
  126. package/build/dex/ekubo-v3/ekubo-v3.js +274 -0
  127. package/build/dex/ekubo-v3/ekubo-v3.js.map +1 -0
  128. package/build/dex/ekubo-v3/pools/base.d.ts +42 -0
  129. package/build/dex/ekubo-v3/pools/base.js +307 -0
  130. package/build/dex/ekubo-v3/pools/base.js.map +1 -0
  131. package/build/dex/ekubo-v3/pools/full-range.d.ts +25 -0
  132. package/build/dex/ekubo-v3/pools/full-range.js +105 -0
  133. package/build/dex/ekubo-v3/pools/full-range.js.map +1 -0
  134. package/build/dex/ekubo-v3/pools/math/constants.d.ts +12 -0
  135. package/build/dex/ekubo-v3/pools/math/constants.js +16 -0
  136. package/build/dex/ekubo-v3/pools/math/constants.js.map +1 -0
  137. package/build/dex/ekubo-v3/pools/math/delta.d.ts +2 -0
  138. package/build/dex/ekubo-v3/pools/math/delta.js +51 -0
  139. package/build/dex/ekubo-v3/pools/math/delta.js.map +1 -0
  140. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.d.ts +8 -0
  141. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.js +113 -0
  142. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.js.map +1 -0
  143. package/build/dex/ekubo-v3/pools/math/swap.d.ts +18 -0
  144. package/build/dex/ekubo-v3/pools/math/swap.js +128 -0
  145. package/build/dex/ekubo-v3/pools/math/swap.js.map +1 -0
  146. package/build/dex/ekubo-v3/pools/math/tick.d.ts +8 -0
  147. package/build/dex/ekubo-v3/pools/math/tick.js +129 -0
  148. package/build/dex/ekubo-v3/pools/math/tick.js.map +1 -0
  149. package/build/dex/ekubo-v3/pools/math/twamm/exp2.d.ts +1 -0
  150. package/build/dex/ekubo-v3/pools/math/twamm/exp2.js +86 -0
  151. package/build/dex/ekubo-v3/pools/math/twamm/exp2.js.map +1 -0
  152. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.d.ts +1 -0
  153. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.js +56 -0
  154. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.js.map +1 -0
  155. package/build/dex/ekubo-v3/pools/mev-capture.d.ts +8 -0
  156. package/build/dex/ekubo-v3/pools/mev-capture.js +42 -0
  157. package/build/dex/ekubo-v3/pools/mev-capture.js.map +1 -0
  158. package/build/dex/ekubo-v3/pools/oracle.d.ts +8 -0
  159. package/build/dex/ekubo-v3/pools/oracle.js +18 -0
  160. package/build/dex/ekubo-v3/pools/oracle.js.map +1 -0
  161. package/build/dex/ekubo-v3/pools/pool.d.ts +56 -0
  162. package/build/dex/ekubo-v3/pools/pool.js +88 -0
  163. package/build/dex/ekubo-v3/pools/pool.js.map +1 -0
  164. package/build/dex/ekubo-v3/pools/stableswap.d.ts +22 -0
  165. package/build/dex/ekubo-v3/pools/stableswap.js +123 -0
  166. package/build/dex/ekubo-v3/pools/stableswap.js.map +1 -0
  167. package/build/dex/ekubo-v3/pools/twamm.d.ts +40 -0
  168. package/build/dex/ekubo-v3/pools/twamm.js +265 -0
  169. package/build/dex/ekubo-v3/pools/twamm.js.map +1 -0
  170. package/build/dex/ekubo-v3/pools/utils.d.ts +62 -0
  171. package/build/dex/ekubo-v3/pools/utils.js +160 -0
  172. package/build/dex/ekubo-v3/pools/utils.js.map +1 -0
  173. package/build/dex/ekubo-v3/types.d.ts +58 -0
  174. package/build/dex/ekubo-v3/types.js +3 -0
  175. package/build/dex/ekubo-v3/types.js.map +1 -0
  176. package/build/dex/ekubo-v3/utils.d.ts +10 -0
  177. package/build/dex/ekubo-v3/utils.js +54 -0
  178. package/build/dex/ekubo-v3/utils.js.map +1 -0
  179. package/build/dex/erc4626/config.js +0 -22
  180. package/build/dex/erc4626/config.js.map +1 -1
  181. package/build/dex/generic-rfq/validators.js +1 -1
  182. package/build/dex/generic-rfq/validators.js.map +1 -1
  183. package/build/dex/idle-dao/config.d.ts +5 -0
  184. package/build/dex/idle-dao/config.js +24 -0
  185. package/build/dex/idle-dao/config.js.map +1 -0
  186. package/build/dex/idle-dao/idle-dao.d.ts +42 -0
  187. package/build/dex/idle-dao/idle-dao.js +279 -0
  188. package/build/dex/idle-dao/idle-dao.js.map +1 -0
  189. package/build/dex/idle-dao/token_list.d.ts +4 -0
  190. package/build/dex/idle-dao/token_list.js +289 -0
  191. package/build/dex/idle-dao/token_list.js.map +1 -0
  192. package/build/dex/idle-dao/tokens.d.ts +9 -0
  193. package/build/dex/idle-dao/tokens.js +68 -0
  194. package/build/dex/idle-dao/tokens.js.map +1 -0
  195. package/build/dex/idle-dao/types.d.ts +35 -0
  196. package/build/dex/idle-dao/types.js +11 -0
  197. package/build/dex/idle-dao/types.js.map +1 -0
  198. package/build/dex/idle-dao/utils.d.ts +8 -0
  199. package/build/dex/idle-dao/utils.js +149 -0
  200. package/build/dex/idle-dao/utils.js.map +1 -0
  201. package/build/dex/index.js +0 -28
  202. package/build/dex/index.js.map +1 -1
  203. package/build/dex/infusion/config.d.ts +3 -0
  204. package/build/dex/infusion/config.js +20 -0
  205. package/build/dex/infusion/config.js.map +1 -0
  206. package/build/dex/infusion/infusion-stable-pool.d.ts +4 -0
  207. package/build/dex/infusion/infusion-stable-pool.js +74 -0
  208. package/build/dex/infusion/infusion-stable-pool.js.map +1 -0
  209. package/build/dex/infusion/infusion.d.ts +51 -0
  210. package/build/dex/infusion/infusion.js +461 -0
  211. package/build/dex/infusion/infusion.js.map +1 -0
  212. package/build/dex/infusion/types.d.ts +45 -0
  213. package/build/dex/infusion/types.js +3 -0
  214. package/build/dex/infusion/types.js.map +1 -0
  215. package/build/dex/infusion/utils/isStablePair.d.ts +2 -0
  216. package/build/dex/infusion/utils/isStablePair.js +18 -0
  217. package/build/dex/infusion/utils/isStablePair.js.map +1 -0
  218. package/build/dex/maker-psm/config.d.ts +11 -0
  219. package/build/dex/maker-psm/config.js +53 -0
  220. package/build/dex/maker-psm/config.js.map +1 -0
  221. package/build/dex/maker-psm/maker-psm-event-pool.d.ts +43 -0
  222. package/build/dex/maker-psm/maker-psm-event-pool.js +132 -0
  223. package/build/dex/maker-psm/maker-psm-event-pool.js.map +1 -0
  224. package/build/dex/maker-psm/maker-psm.d.ts +103 -0
  225. package/build/dex/maker-psm/maker-psm.js +493 -0
  226. package/build/dex/maker-psm/maker-psm.js.map +1 -0
  227. package/build/dex/maker-psm/types.d.ts +39 -0
  228. package/build/dex/maker-psm/types.js +3 -0
  229. package/build/dex/maker-psm/types.js.map +1 -0
  230. package/build/dex/miro-migrator/miro-migrator-state.d.ts +27 -0
  231. package/build/dex/miro-migrator/miro-migrator-state.js +89 -0
  232. package/build/dex/miro-migrator/miro-migrator-state.js.map +1 -0
  233. package/build/dex/nerve/config.js +0 -435
  234. package/build/dex/nerve/config.js.map +1 -1
  235. package/build/dex/oswap/oswap-pool.js.map +1 -1
  236. package/build/dex/quick-perps/config.d.ts +11 -0
  237. package/build/dex/quick-perps/config.js +27 -0
  238. package/build/dex/quick-perps/config.js.map +1 -0
  239. package/build/dex/quick-perps/fast-price-feed.d.ts +26 -0
  240. package/build/dex/quick-perps/fast-price-feed.js +184 -0
  241. package/build/dex/quick-perps/fast-price-feed.js.map +1 -0
  242. package/build/dex/quick-perps/pool.d.ts +21 -0
  243. package/build/dex/quick-perps/pool.js +229 -0
  244. package/build/dex/quick-perps/pool.js.map +1 -0
  245. package/build/dex/quick-perps/quick-perps.d.ts +53 -0
  246. package/build/dex/quick-perps/quick-perps.js +247 -0
  247. package/build/dex/quick-perps/quick-perps.js.map +1 -0
  248. package/build/dex/quick-perps/types.d.ts +98 -0
  249. package/build/dex/quick-perps/types.js +3 -0
  250. package/build/dex/quick-perps/types.js.map +1 -0
  251. package/build/dex/quick-perps/usdq.d.ts +15 -0
  252. package/build/dex/quick-perps/usdq.js +62 -0
  253. package/build/dex/quick-perps/usdq.js.map +1 -0
  254. package/build/dex/quick-perps/vault-price-feed.d.ts +43 -0
  255. package/build/dex/quick-perps/vault-price-feed.js +203 -0
  256. package/build/dex/quick-perps/vault-price-feed.js.map +1 -0
  257. package/build/dex/quick-perps/vault-utils.d.ts +8 -0
  258. package/build/dex/quick-perps/vault-utils.js +42 -0
  259. package/build/dex/quick-perps/vault-utils.js.map +1 -0
  260. package/build/dex/quick-perps/vault.d.ts +46 -0
  261. package/build/dex/quick-perps/vault.js +182 -0
  262. package/build/dex/quick-perps/vault.js.map +1 -0
  263. package/build/dex/solidly/forks-override/aerodrome.d.ts +14 -0
  264. package/build/dex/solidly/forks-override/aerodrome.js +50 -0
  265. package/build/dex/solidly/forks-override/aerodrome.js.map +1 -0
  266. package/build/dex/solidly/forks-override/chronos.d.ts +23 -0
  267. package/build/dex/solidly/forks-override/chronos.js +141 -0
  268. package/build/dex/solidly/forks-override/chronos.js.map +1 -0
  269. package/build/dex/solidly/forks-override/usdfi.d.ts +8 -0
  270. package/build/dex/solidly/forks-override/usdfi.js +15 -0
  271. package/build/dex/solidly/forks-override/usdfi.js.map +1 -0
  272. package/build/dex/solidly/forks-override/velocimeter.d.ts +23 -0
  273. package/build/dex/solidly/forks-override/velocimeter.js +77 -0
  274. package/build/dex/solidly/forks-override/velocimeter.js.map +1 -0
  275. package/build/dex/stable-pool/stable-pool.js +1 -1
  276. package/build/dex/stable-pool/stable-pool.js.map +1 -1
  277. package/build/dex/stabull/config.d.ts +3 -0
  278. package/build/dex/stabull/config.js +177 -0
  279. package/build/dex/stabull/config.js.map +1 -0
  280. package/build/dex/stabull/stabull-pool.d.ts +46 -0
  281. package/build/dex/stabull/stabull-pool.js +113 -0
  282. package/build/dex/stabull/stabull-pool.js.map +1 -0
  283. package/build/dex/stabull/stabull.d.ts +55 -0
  284. package/build/dex/stabull/stabull.js +286 -0
  285. package/build/dex/stabull/stabull.js.map +1 -0
  286. package/build/dex/stabull/types.d.ts +21 -0
  287. package/build/dex/stabull/types.js +3 -0
  288. package/build/dex/stabull/types.js.map +1 -0
  289. package/build/dex/trader-joe-v2.1/config.d.ts +0 -3
  290. package/build/dex/trader-joe-v2.1/config.js +1 -8
  291. package/build/dex/trader-joe-v2.1/config.js.map +1 -1
  292. package/build/dex/uniswap-v2/config.js +0 -8
  293. package/build/dex/uniswap-v2/config.js.map +1 -1
  294. package/build/dex/uniswap-v2/dfyn.d.ts +19 -0
  295. package/build/dex/uniswap-v2/dfyn.js +61 -0
  296. package/build/dex/uniswap-v2/dfyn.js.map +1 -0
  297. package/build/dex/uniswap-v2/excalibur.d.ts +24 -0
  298. package/build/dex/uniswap-v2/excalibur.js +47 -0
  299. package/build/dex/uniswap-v2/excalibur.js.map +1 -0
  300. package/build/dex/uniswap-v2/mdex.d.ts +24 -0
  301. package/build/dex/uniswap-v2/mdex.js +50 -0
  302. package/build/dex/uniswap-v2/mdex.js.map +1 -0
  303. package/build/dex/uniswap-v2/nomiswap-v2.d.ts +24 -0
  304. package/build/dex/uniswap-v2/nomiswap-v2.js +57 -0
  305. package/build/dex/uniswap-v2/nomiswap-v2.js.map +1 -0
  306. package/build/dex/uniswap-v2/uniswap-v2.js +0 -10
  307. package/build/dex/uniswap-v2/uniswap-v2.js.map +1 -1
  308. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +4 -0
  309. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +56 -0
  310. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +1 -0
  311. package/build/dex/uniswap-v4/contract-math/Position.d.ts +9 -0
  312. package/build/dex/uniswap-v4/contract-math/Position.js +39 -0
  313. package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -0
  314. package/build/dex/uniswap-v4/hooks/arena.d.ts +6 -0
  315. package/build/dex/uniswap-v4/hooks/arena.js +10 -0
  316. package/build/dex/uniswap-v4/hooks/arena.js.map +1 -0
  317. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.d.ts +0 -0
  318. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js +2 -0
  319. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js.map +1 -0
  320. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +7 -0
  321. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +28 -0
  322. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +1 -0
  323. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  324. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +2 -0
  325. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +1 -0
  326. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +7 -0
  327. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +28 -0
  328. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +1 -0
  329. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  330. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +2 -0
  331. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +1 -0
  332. package/build/dex/uniswap-v4/hooks/index.d.ts +1 -0
  333. package/build/dex/uniswap-v4/hooks/index.js +18 -0
  334. package/build/dex/uniswap-v4/hooks/index.js.map +1 -0
  335. package/build/dex/uniswap-v4/hooks/spot.d.ts +15 -0
  336. package/build/dex/uniswap-v4/hooks/spot.js +109 -0
  337. package/build/dex/uniswap-v4/hooks/spot.js.map +1 -0
  338. package/build/dex/uniswap-v4/hooks/template.d.ts +150 -0
  339. package/build/dex/uniswap-v4/hooks/template.js +104 -0
  340. package/build/dex/uniswap-v4/hooks/template.js.map +1 -0
  341. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +26 -0
  342. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +75 -0
  343. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +1 -0
  344. package/build/dex/usual/usual-usdc-usdc.d.ts +17 -0
  345. package/build/dex/usual/usual-usdc-usdc.js +59 -0
  346. package/build/dex/usual/usual-usdc-usdc.js.map +1 -0
  347. package/build/dex/wombat/config.js +0 -12
  348. package/build/dex/wombat/config.js.map +1 -1
  349. package/build/dex/yo/config.d.ts +3 -0
  350. package/build/dex/yo/config.js +21 -0
  351. package/build/dex/yo/config.js.map +1 -0
  352. package/build/dex/yo/types.d.ts +13 -0
  353. package/build/dex/yo/types.js +3 -0
  354. package/build/dex/yo/types.js.map +1 -0
  355. package/build/dex/yo/yo-pool.d.ts +13 -0
  356. package/build/dex/yo/yo-pool.js +26 -0
  357. package/build/dex/yo/yo-pool.js.map +1 -0
  358. package/build/dex/yo/yo.d.ts +39 -0
  359. package/build/dex/yo/yo.js +248 -0
  360. package/build/dex/yo/yo.js.map +1 -0
  361. package/build/implementations/api-paraswap-sdk.d.ts +25 -0
  362. package/build/implementations/api-paraswap-sdk.js +102 -0
  363. package/build/implementations/api-paraswap-sdk.js.map +1 -0
  364. package/package.json +1 -1
@@ -0,0 +1,442 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ { "internalType": "address", "name": "_factory", "type": "address" },
5
+ {
6
+ "internalType": "contract ILockFactory",
7
+ "name": "_lockFactory",
8
+ "type": "address"
9
+ },
10
+ { "internalType": "address", "name": "_weth", "type": "address" }
11
+ ],
12
+ "stateMutability": "nonpayable",
13
+ "type": "constructor"
14
+ },
15
+ {
16
+ "inputs": [
17
+ { "internalType": "address", "name": "target", "type": "address" }
18
+ ],
19
+ "name": "AddressEmptyCode",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ { "internalType": "address", "name": "account", "type": "address" }
25
+ ],
26
+ "name": "AddressInsufficientBalance",
27
+ "type": "error"
28
+ },
29
+ { "inputs": [], "name": "FailedInnerCall", "type": "error" },
30
+ {
31
+ "inputs": [
32
+ { "internalType": "address", "name": "token", "type": "address" }
33
+ ],
34
+ "name": "SafeERC20FailedOperation",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "inputs": [
39
+ { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" },
40
+ {
41
+ "components": [
42
+ { "internalType": "address", "name": "from", "type": "address" },
43
+ { "internalType": "address", "name": "to", "type": "address" },
44
+ { "internalType": "bool", "name": "stable", "type": "bool" }
45
+ ],
46
+ "internalType": "struct Router.route[]",
47
+ "name": "routes",
48
+ "type": "tuple[]"
49
+ },
50
+ { "internalType": "address", "name": "to", "type": "address" },
51
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
52
+ ],
53
+ "name": "UNSAFE_swapExactTokensForTokens",
54
+ "outputs": [
55
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
56
+ ],
57
+ "stateMutability": "nonpayable",
58
+ "type": "function"
59
+ },
60
+ {
61
+ "inputs": [
62
+ { "internalType": "address", "name": "tokenA", "type": "address" },
63
+ { "internalType": "address", "name": "tokenB", "type": "address" },
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "amountADesired",
67
+ "type": "uint256"
68
+ },
69
+ {
70
+ "internalType": "uint256",
71
+ "name": "amountBDesired",
72
+ "type": "uint256"
73
+ },
74
+ { "internalType": "uint256", "name": "amountAMin", "type": "uint256" },
75
+ { "internalType": "uint256", "name": "amountBMin", "type": "uint256" },
76
+ { "internalType": "address", "name": "to", "type": "address" },
77
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
78
+ { "internalType": "bool", "name": "stable", "type": "bool" },
79
+ { "internalType": "uint256", "name": "lockerFeesP", "type": "uint256" }
80
+ ],
81
+ "name": "addLiquidity",
82
+ "outputs": [
83
+ { "internalType": "uint256", "name": "amountA", "type": "uint256" },
84
+ { "internalType": "uint256", "name": "amountB", "type": "uint256" },
85
+ { "internalType": "uint256", "name": "liquidity", "type": "uint256" }
86
+ ],
87
+ "stateMutability": "nonpayable",
88
+ "type": "function"
89
+ },
90
+ {
91
+ "inputs": [
92
+ { "internalType": "address", "name": "token", "type": "address" },
93
+ {
94
+ "internalType": "uint256",
95
+ "name": "amountTokenDesired",
96
+ "type": "uint256"
97
+ },
98
+ {
99
+ "internalType": "uint256",
100
+ "name": "amountTokenMin",
101
+ "type": "uint256"
102
+ },
103
+ { "internalType": "uint256", "name": "amountETHMin", "type": "uint256" },
104
+ { "internalType": "address", "name": "to", "type": "address" },
105
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
106
+ { "internalType": "bool", "name": "stable", "type": "bool" },
107
+ { "internalType": "uint256", "name": "lockerFeesP", "type": "uint256" }
108
+ ],
109
+ "name": "addLiquidityETH",
110
+ "outputs": [
111
+ { "internalType": "uint256", "name": "amountToken", "type": "uint256" },
112
+ { "internalType": "uint256", "name": "amountETH", "type": "uint256" },
113
+ { "internalType": "uint256", "name": "liquidity", "type": "uint256" }
114
+ ],
115
+ "stateMutability": "payable",
116
+ "type": "function"
117
+ },
118
+ {
119
+ "inputs": [],
120
+ "name": "factory",
121
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
122
+ "stateMutability": "view",
123
+ "type": "function"
124
+ },
125
+ {
126
+ "inputs": [
127
+ { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
128
+ { "internalType": "address", "name": "tokenIn", "type": "address" },
129
+ { "internalType": "address", "name": "tokenOut", "type": "address" }
130
+ ],
131
+ "name": "getAmountOut",
132
+ "outputs": [
133
+ { "internalType": "uint256", "name": "amount", "type": "uint256" },
134
+ { "internalType": "bool", "name": "stable", "type": "bool" }
135
+ ],
136
+ "stateMutability": "view",
137
+ "type": "function"
138
+ },
139
+ {
140
+ "inputs": [
141
+ { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
142
+ {
143
+ "components": [
144
+ { "internalType": "address", "name": "from", "type": "address" },
145
+ { "internalType": "address", "name": "to", "type": "address" },
146
+ { "internalType": "bool", "name": "stable", "type": "bool" }
147
+ ],
148
+ "internalType": "struct Router.route[]",
149
+ "name": "routes",
150
+ "type": "tuple[]"
151
+ }
152
+ ],
153
+ "name": "getAmountsOut",
154
+ "outputs": [
155
+ { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }
156
+ ],
157
+ "stateMutability": "view",
158
+ "type": "function"
159
+ },
160
+ {
161
+ "inputs": [
162
+ { "internalType": "address", "name": "tokenA", "type": "address" },
163
+ { "internalType": "address", "name": "tokenB", "type": "address" },
164
+ { "internalType": "bool", "name": "stable", "type": "bool" }
165
+ ],
166
+ "name": "getReserves",
167
+ "outputs": [
168
+ { "internalType": "uint256", "name": "reserveA", "type": "uint256" },
169
+ { "internalType": "uint256", "name": "reserveB", "type": "uint256" }
170
+ ],
171
+ "stateMutability": "view",
172
+ "type": "function"
173
+ },
174
+ {
175
+ "inputs": [
176
+ { "internalType": "address", "name": "pair", "type": "address" }
177
+ ],
178
+ "name": "isPair",
179
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
180
+ "stateMutability": "view",
181
+ "type": "function"
182
+ },
183
+ {
184
+ "inputs": [],
185
+ "name": "lockFactory",
186
+ "outputs": [
187
+ { "internalType": "contract ILockFactory", "name": "", "type": "address" }
188
+ ],
189
+ "stateMutability": "view",
190
+ "type": "function"
191
+ },
192
+ {
193
+ "inputs": [
194
+ { "internalType": "address", "name": "tokenA", "type": "address" },
195
+ { "internalType": "address", "name": "tokenB", "type": "address" },
196
+ { "internalType": "bool", "name": "stable", "type": "bool" }
197
+ ],
198
+ "name": "pairFor",
199
+ "outputs": [
200
+ { "internalType": "address", "name": "pair", "type": "address" }
201
+ ],
202
+ "stateMutability": "view",
203
+ "type": "function"
204
+ },
205
+ {
206
+ "inputs": [
207
+ { "internalType": "address", "name": "tokenA", "type": "address" },
208
+ { "internalType": "address", "name": "tokenB", "type": "address" },
209
+ { "internalType": "bool", "name": "stable", "type": "bool" },
210
+ {
211
+ "internalType": "uint256",
212
+ "name": "amountADesired",
213
+ "type": "uint256"
214
+ },
215
+ { "internalType": "uint256", "name": "amountBDesired", "type": "uint256" }
216
+ ],
217
+ "name": "quoteAddLiquidity",
218
+ "outputs": [
219
+ { "internalType": "uint256", "name": "amountA", "type": "uint256" },
220
+ { "internalType": "uint256", "name": "amountB", "type": "uint256" },
221
+ { "internalType": "uint256", "name": "liquidity", "type": "uint256" }
222
+ ],
223
+ "stateMutability": "view",
224
+ "type": "function"
225
+ },
226
+ {
227
+ "inputs": [
228
+ { "internalType": "address", "name": "tokenA", "type": "address" },
229
+ { "internalType": "address", "name": "tokenB", "type": "address" },
230
+ { "internalType": "bool", "name": "stable", "type": "bool" },
231
+ { "internalType": "uint256", "name": "liquidity", "type": "uint256" }
232
+ ],
233
+ "name": "quoteRemoveLiquidity",
234
+ "outputs": [
235
+ { "internalType": "uint256", "name": "amountA", "type": "uint256" },
236
+ { "internalType": "uint256", "name": "amountB", "type": "uint256" }
237
+ ],
238
+ "stateMutability": "view",
239
+ "type": "function"
240
+ },
241
+ {
242
+ "inputs": [
243
+ { "internalType": "address", "name": "tokenA", "type": "address" },
244
+ { "internalType": "address", "name": "tokenB", "type": "address" },
245
+ { "internalType": "bool", "name": "stable", "type": "bool" },
246
+ { "internalType": "uint256", "name": "liquidity", "type": "uint256" },
247
+ { "internalType": "uint256", "name": "amountAMin", "type": "uint256" },
248
+ { "internalType": "uint256", "name": "amountBMin", "type": "uint256" },
249
+ { "internalType": "address", "name": "to", "type": "address" },
250
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
251
+ ],
252
+ "name": "removeLiquidity",
253
+ "outputs": [
254
+ { "internalType": "uint256", "name": "amountA", "type": "uint256" },
255
+ { "internalType": "uint256", "name": "amountB", "type": "uint256" }
256
+ ],
257
+ "stateMutability": "nonpayable",
258
+ "type": "function"
259
+ },
260
+ {
261
+ "inputs": [
262
+ { "internalType": "address", "name": "token", "type": "address" },
263
+ { "internalType": "bool", "name": "stable", "type": "bool" },
264
+ { "internalType": "uint256", "name": "liquidity", "type": "uint256" },
265
+ {
266
+ "internalType": "uint256",
267
+ "name": "amountTokenMin",
268
+ "type": "uint256"
269
+ },
270
+ { "internalType": "uint256", "name": "amountETHMin", "type": "uint256" },
271
+ { "internalType": "address", "name": "to", "type": "address" },
272
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
273
+ ],
274
+ "name": "removeLiquidityETH",
275
+ "outputs": [
276
+ { "internalType": "uint256", "name": "amountToken", "type": "uint256" },
277
+ { "internalType": "uint256", "name": "amountETH", "type": "uint256" }
278
+ ],
279
+ "stateMutability": "nonpayable",
280
+ "type": "function"
281
+ },
282
+ {
283
+ "inputs": [
284
+ { "internalType": "address", "name": "token", "type": "address" },
285
+ { "internalType": "bool", "name": "stable", "type": "bool" },
286
+ { "internalType": "uint256", "name": "liquidity", "type": "uint256" },
287
+ {
288
+ "internalType": "uint256",
289
+ "name": "amountTokenMin",
290
+ "type": "uint256"
291
+ },
292
+ { "internalType": "uint256", "name": "amountETHMin", "type": "uint256" },
293
+ { "internalType": "address", "name": "to", "type": "address" },
294
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
295
+ { "internalType": "bool", "name": "approveMax", "type": "bool" },
296
+ { "internalType": "uint8", "name": "v", "type": "uint8" },
297
+ { "internalType": "bytes32", "name": "r", "type": "bytes32" },
298
+ { "internalType": "bytes32", "name": "s", "type": "bytes32" }
299
+ ],
300
+ "name": "removeLiquidityETHWithPermit",
301
+ "outputs": [
302
+ { "internalType": "uint256", "name": "amountToken", "type": "uint256" },
303
+ { "internalType": "uint256", "name": "amountETH", "type": "uint256" }
304
+ ],
305
+ "stateMutability": "nonpayable",
306
+ "type": "function"
307
+ },
308
+ {
309
+ "inputs": [
310
+ { "internalType": "address", "name": "tokenA", "type": "address" },
311
+ { "internalType": "address", "name": "tokenB", "type": "address" },
312
+ { "internalType": "bool", "name": "stable", "type": "bool" },
313
+ { "internalType": "uint256", "name": "liquidity", "type": "uint256" },
314
+ { "internalType": "uint256", "name": "amountAMin", "type": "uint256" },
315
+ { "internalType": "uint256", "name": "amountBMin", "type": "uint256" },
316
+ { "internalType": "address", "name": "to", "type": "address" },
317
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
318
+ { "internalType": "bool", "name": "approveMax", "type": "bool" },
319
+ { "internalType": "uint8", "name": "v", "type": "uint8" },
320
+ { "internalType": "bytes32", "name": "r", "type": "bytes32" },
321
+ { "internalType": "bytes32", "name": "s", "type": "bytes32" }
322
+ ],
323
+ "name": "removeLiquidityWithPermit",
324
+ "outputs": [
325
+ { "internalType": "uint256", "name": "amountA", "type": "uint256" },
326
+ { "internalType": "uint256", "name": "amountB", "type": "uint256" }
327
+ ],
328
+ "stateMutability": "nonpayable",
329
+ "type": "function"
330
+ },
331
+ {
332
+ "inputs": [
333
+ { "internalType": "address", "name": "tokenA", "type": "address" },
334
+ { "internalType": "address", "name": "tokenB", "type": "address" }
335
+ ],
336
+ "name": "sortTokens",
337
+ "outputs": [
338
+ { "internalType": "address", "name": "token0", "type": "address" },
339
+ { "internalType": "address", "name": "token1", "type": "address" }
340
+ ],
341
+ "stateMutability": "pure",
342
+ "type": "function"
343
+ },
344
+ {
345
+ "inputs": [
346
+ { "internalType": "uint256", "name": "amountOutMin", "type": "uint256" },
347
+ {
348
+ "components": [
349
+ { "internalType": "address", "name": "from", "type": "address" },
350
+ { "internalType": "address", "name": "to", "type": "address" },
351
+ { "internalType": "bool", "name": "stable", "type": "bool" }
352
+ ],
353
+ "internalType": "struct Router.route[]",
354
+ "name": "routes",
355
+ "type": "tuple[]"
356
+ },
357
+ { "internalType": "address", "name": "to", "type": "address" },
358
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
359
+ ],
360
+ "name": "swapExactETHForTokens",
361
+ "outputs": [
362
+ { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }
363
+ ],
364
+ "stateMutability": "payable",
365
+ "type": "function"
366
+ },
367
+ {
368
+ "inputs": [
369
+ { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
370
+ { "internalType": "uint256", "name": "amountOutMin", "type": "uint256" },
371
+ {
372
+ "components": [
373
+ { "internalType": "address", "name": "from", "type": "address" },
374
+ { "internalType": "address", "name": "to", "type": "address" },
375
+ { "internalType": "bool", "name": "stable", "type": "bool" }
376
+ ],
377
+ "internalType": "struct Router.route[]",
378
+ "name": "routes",
379
+ "type": "tuple[]"
380
+ },
381
+ { "internalType": "address", "name": "to", "type": "address" },
382
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
383
+ ],
384
+ "name": "swapExactTokensForETH",
385
+ "outputs": [
386
+ { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }
387
+ ],
388
+ "stateMutability": "nonpayable",
389
+ "type": "function"
390
+ },
391
+ {
392
+ "inputs": [
393
+ { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
394
+ { "internalType": "uint256", "name": "amountOutMin", "type": "uint256" },
395
+ {
396
+ "components": [
397
+ { "internalType": "address", "name": "from", "type": "address" },
398
+ { "internalType": "address", "name": "to", "type": "address" },
399
+ { "internalType": "bool", "name": "stable", "type": "bool" }
400
+ ],
401
+ "internalType": "struct Router.route[]",
402
+ "name": "routes",
403
+ "type": "tuple[]"
404
+ },
405
+ { "internalType": "address", "name": "to", "type": "address" },
406
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
407
+ ],
408
+ "name": "swapExactTokensForTokens",
409
+ "outputs": [
410
+ { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }
411
+ ],
412
+ "stateMutability": "nonpayable",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [
417
+ { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
418
+ { "internalType": "uint256", "name": "amountOutMin", "type": "uint256" },
419
+ { "internalType": "address", "name": "tokenFrom", "type": "address" },
420
+ { "internalType": "address", "name": "tokenTo", "type": "address" },
421
+ { "internalType": "bool", "name": "stable", "type": "bool" },
422
+ { "internalType": "address", "name": "to", "type": "address" },
423
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" }
424
+ ],
425
+ "name": "swapExactTokensForTokensSimple",
426
+ "outputs": [
427
+ { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }
428
+ ],
429
+ "stateMutability": "nonpayable",
430
+ "type": "function"
431
+ },
432
+ {
433
+ "inputs": [],
434
+ "name": "weth",
435
+ "outputs": [
436
+ { "internalType": "contract IWETH", "name": "", "type": "address" }
437
+ ],
438
+ "stateMutability": "view",
439
+ "type": "function"
440
+ },
441
+ { "stateMutability": "payable", "type": "receive" }
442
+ ]