@paraswap/dex-lib 4.7.27 → 4.7.28

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 (332) 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/apex-defi/apex-defi-factory.d.ts +26 -0
  70. package/build/dex/apex-defi/apex-defi-factory.js +53 -0
  71. package/build/dex/apex-defi/apex-defi-factory.js.map +1 -0
  72. package/build/dex/apex-defi/apex-defi-pool.d.ts +55 -0
  73. package/build/dex/apex-defi/apex-defi-pool.js +247 -0
  74. package/build/dex/apex-defi/apex-defi-pool.js.map +1 -0
  75. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +57 -0
  76. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +250 -0
  77. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +1 -0
  78. package/build/dex/apex-defi/apex-defi.d.ts +97 -0
  79. package/build/dex/apex-defi/apex-defi.js +1021 -0
  80. package/build/dex/apex-defi/apex-defi.js.map +1 -0
  81. package/build/dex/apex-defi/config.d.ts +4 -0
  82. package/build/dex/apex-defi/config.js +138 -0
  83. package/build/dex/apex-defi/config.js.map +1 -0
  84. package/build/dex/apex-defi/types.d.ts +32 -0
  85. package/build/dex/apex-defi/types.js +3 -0
  86. package/build/dex/apex-defi/types.js.map +1 -0
  87. package/build/dex/apex-defi/utils.d.ts +46 -0
  88. package/build/dex/apex-defi/utils.js +133 -0
  89. package/build/dex/apex-defi/utils.js.map +1 -0
  90. package/build/dex/ekubo/pools/base-pool.d.ts +47 -0
  91. package/build/dex/ekubo/pools/base-pool.js +184 -0
  92. package/build/dex/ekubo/pools/base-pool.js.map +1 -0
  93. package/build/dex/ekubo/pools/iface.d.ts +46 -0
  94. package/build/dex/ekubo/pools/iface.js +75 -0
  95. package/build/dex/ekubo/pools/iface.js.map +1 -0
  96. package/build/dex/ekubo/pools/math/price.d.ts +7 -0
  97. package/build/dex/ekubo/pools/math/price.js +112 -0
  98. package/build/dex/ekubo/pools/math/price.js.map +1 -0
  99. package/build/dex/ekubo/pools/oracle-pool.d.ts +10 -0
  100. package/build/dex/ekubo/pools/oracle-pool.js +19 -0
  101. package/build/dex/ekubo/pools/oracle-pool.js.map +1 -0
  102. package/build/dex/ekubo/pools/pool-utils.d.ts +44 -0
  103. package/build/dex/ekubo/pools/pool-utils.js +240 -0
  104. package/build/dex/ekubo/pools/pool-utils.js.map +1 -0
  105. package/build/dex/ekubo-v3/config.d.ts +13 -0
  106. package/build/dex/ekubo-v3/config.js +23 -0
  107. package/build/dex/ekubo-v3/config.js.map +1 -0
  108. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.d.ts +34 -0
  109. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.js +421 -0
  110. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.js.map +1 -0
  111. package/build/dex/ekubo-v3/ekubo-v3.d.ts +38 -0
  112. package/build/dex/ekubo-v3/ekubo-v3.js +274 -0
  113. package/build/dex/ekubo-v3/ekubo-v3.js.map +1 -0
  114. package/build/dex/ekubo-v3/pools/base.d.ts +42 -0
  115. package/build/dex/ekubo-v3/pools/base.js +307 -0
  116. package/build/dex/ekubo-v3/pools/base.js.map +1 -0
  117. package/build/dex/ekubo-v3/pools/full-range.d.ts +25 -0
  118. package/build/dex/ekubo-v3/pools/full-range.js +105 -0
  119. package/build/dex/ekubo-v3/pools/full-range.js.map +1 -0
  120. package/build/dex/ekubo-v3/pools/math/constants.d.ts +12 -0
  121. package/build/dex/ekubo-v3/pools/math/constants.js +16 -0
  122. package/build/dex/ekubo-v3/pools/math/constants.js.map +1 -0
  123. package/build/dex/ekubo-v3/pools/math/delta.d.ts +2 -0
  124. package/build/dex/ekubo-v3/pools/math/delta.js +51 -0
  125. package/build/dex/ekubo-v3/pools/math/delta.js.map +1 -0
  126. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.d.ts +8 -0
  127. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.js +113 -0
  128. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.js.map +1 -0
  129. package/build/dex/ekubo-v3/pools/math/swap.d.ts +18 -0
  130. package/build/dex/ekubo-v3/pools/math/swap.js +128 -0
  131. package/build/dex/ekubo-v3/pools/math/swap.js.map +1 -0
  132. package/build/dex/ekubo-v3/pools/math/tick.d.ts +8 -0
  133. package/build/dex/ekubo-v3/pools/math/tick.js +129 -0
  134. package/build/dex/ekubo-v3/pools/math/tick.js.map +1 -0
  135. package/build/dex/ekubo-v3/pools/math/twamm/exp2.d.ts +1 -0
  136. package/build/dex/ekubo-v3/pools/math/twamm/exp2.js +86 -0
  137. package/build/dex/ekubo-v3/pools/math/twamm/exp2.js.map +1 -0
  138. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.d.ts +1 -0
  139. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.js +56 -0
  140. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.js.map +1 -0
  141. package/build/dex/ekubo-v3/pools/mev-capture.d.ts +8 -0
  142. package/build/dex/ekubo-v3/pools/mev-capture.js +42 -0
  143. package/build/dex/ekubo-v3/pools/mev-capture.js.map +1 -0
  144. package/build/dex/ekubo-v3/pools/oracle.d.ts +8 -0
  145. package/build/dex/ekubo-v3/pools/oracle.js +18 -0
  146. package/build/dex/ekubo-v3/pools/oracle.js.map +1 -0
  147. package/build/dex/ekubo-v3/pools/pool.d.ts +56 -0
  148. package/build/dex/ekubo-v3/pools/pool.js +88 -0
  149. package/build/dex/ekubo-v3/pools/pool.js.map +1 -0
  150. package/build/dex/ekubo-v3/pools/stableswap.d.ts +22 -0
  151. package/build/dex/ekubo-v3/pools/stableswap.js +123 -0
  152. package/build/dex/ekubo-v3/pools/stableswap.js.map +1 -0
  153. package/build/dex/ekubo-v3/pools/twamm.d.ts +40 -0
  154. package/build/dex/ekubo-v3/pools/twamm.js +265 -0
  155. package/build/dex/ekubo-v3/pools/twamm.js.map +1 -0
  156. package/build/dex/ekubo-v3/pools/utils.d.ts +62 -0
  157. package/build/dex/ekubo-v3/pools/utils.js +160 -0
  158. package/build/dex/ekubo-v3/pools/utils.js.map +1 -0
  159. package/build/dex/ekubo-v3/types.d.ts +58 -0
  160. package/build/dex/ekubo-v3/types.js +3 -0
  161. package/build/dex/ekubo-v3/types.js.map +1 -0
  162. package/build/dex/ekubo-v3/utils.d.ts +10 -0
  163. package/build/dex/ekubo-v3/utils.js +54 -0
  164. package/build/dex/ekubo-v3/utils.js.map +1 -0
  165. package/build/dex/generic-rfq/validators.js +1 -1
  166. package/build/dex/generic-rfq/validators.js.map +1 -1
  167. package/build/dex/idle-dao/config.d.ts +5 -0
  168. package/build/dex/idle-dao/config.js +24 -0
  169. package/build/dex/idle-dao/config.js.map +1 -0
  170. package/build/dex/idle-dao/idle-dao.d.ts +42 -0
  171. package/build/dex/idle-dao/idle-dao.js +279 -0
  172. package/build/dex/idle-dao/idle-dao.js.map +1 -0
  173. package/build/dex/idle-dao/token_list.d.ts +4 -0
  174. package/build/dex/idle-dao/token_list.js +289 -0
  175. package/build/dex/idle-dao/token_list.js.map +1 -0
  176. package/build/dex/idle-dao/tokens.d.ts +9 -0
  177. package/build/dex/idle-dao/tokens.js +68 -0
  178. package/build/dex/idle-dao/tokens.js.map +1 -0
  179. package/build/dex/idle-dao/types.d.ts +35 -0
  180. package/build/dex/idle-dao/types.js +11 -0
  181. package/build/dex/idle-dao/types.js.map +1 -0
  182. package/build/dex/idle-dao/utils.d.ts +8 -0
  183. package/build/dex/idle-dao/utils.js +149 -0
  184. package/build/dex/idle-dao/utils.js.map +1 -0
  185. package/build/dex/infusion/config.d.ts +3 -0
  186. package/build/dex/infusion/config.js +20 -0
  187. package/build/dex/infusion/config.js.map +1 -0
  188. package/build/dex/infusion/infusion-stable-pool.d.ts +4 -0
  189. package/build/dex/infusion/infusion-stable-pool.js +74 -0
  190. package/build/dex/infusion/infusion-stable-pool.js.map +1 -0
  191. package/build/dex/infusion/infusion.d.ts +51 -0
  192. package/build/dex/infusion/infusion.js +461 -0
  193. package/build/dex/infusion/infusion.js.map +1 -0
  194. package/build/dex/infusion/types.d.ts +45 -0
  195. package/build/dex/infusion/types.js +3 -0
  196. package/build/dex/infusion/types.js.map +1 -0
  197. package/build/dex/infusion/utils/isStablePair.d.ts +2 -0
  198. package/build/dex/infusion/utils/isStablePair.js +18 -0
  199. package/build/dex/infusion/utils/isStablePair.js.map +1 -0
  200. package/build/dex/maker-psm/config.d.ts +11 -0
  201. package/build/dex/maker-psm/config.js +53 -0
  202. package/build/dex/maker-psm/config.js.map +1 -0
  203. package/build/dex/maker-psm/maker-psm-event-pool.d.ts +43 -0
  204. package/build/dex/maker-psm/maker-psm-event-pool.js +132 -0
  205. package/build/dex/maker-psm/maker-psm-event-pool.js.map +1 -0
  206. package/build/dex/maker-psm/maker-psm.d.ts +103 -0
  207. package/build/dex/maker-psm/maker-psm.js +493 -0
  208. package/build/dex/maker-psm/maker-psm.js.map +1 -0
  209. package/build/dex/maker-psm/types.d.ts +39 -0
  210. package/build/dex/maker-psm/types.js +3 -0
  211. package/build/dex/maker-psm/types.js.map +1 -0
  212. package/build/dex/miro-migrator/miro-migrator-state.d.ts +27 -0
  213. package/build/dex/miro-migrator/miro-migrator-state.js +89 -0
  214. package/build/dex/miro-migrator/miro-migrator-state.js.map +1 -0
  215. package/build/dex/quick-perps/config.d.ts +11 -0
  216. package/build/dex/quick-perps/config.js +27 -0
  217. package/build/dex/quick-perps/config.js.map +1 -0
  218. package/build/dex/quick-perps/fast-price-feed.d.ts +26 -0
  219. package/build/dex/quick-perps/fast-price-feed.js +184 -0
  220. package/build/dex/quick-perps/fast-price-feed.js.map +1 -0
  221. package/build/dex/quick-perps/pool.d.ts +21 -0
  222. package/build/dex/quick-perps/pool.js +229 -0
  223. package/build/dex/quick-perps/pool.js.map +1 -0
  224. package/build/dex/quick-perps/quick-perps.d.ts +53 -0
  225. package/build/dex/quick-perps/quick-perps.js +247 -0
  226. package/build/dex/quick-perps/quick-perps.js.map +1 -0
  227. package/build/dex/quick-perps/types.d.ts +98 -0
  228. package/build/dex/quick-perps/types.js +3 -0
  229. package/build/dex/quick-perps/types.js.map +1 -0
  230. package/build/dex/quick-perps/usdq.d.ts +15 -0
  231. package/build/dex/quick-perps/usdq.js +62 -0
  232. package/build/dex/quick-perps/usdq.js.map +1 -0
  233. package/build/dex/quick-perps/vault-price-feed.d.ts +43 -0
  234. package/build/dex/quick-perps/vault-price-feed.js +203 -0
  235. package/build/dex/quick-perps/vault-price-feed.js.map +1 -0
  236. package/build/dex/quick-perps/vault-utils.d.ts +8 -0
  237. package/build/dex/quick-perps/vault-utils.js +42 -0
  238. package/build/dex/quick-perps/vault-utils.js.map +1 -0
  239. package/build/dex/quick-perps/vault.d.ts +46 -0
  240. package/build/dex/quick-perps/vault.js +182 -0
  241. package/build/dex/quick-perps/vault.js.map +1 -0
  242. package/build/dex/solidly/forks-override/aerodrome.d.ts +14 -0
  243. package/build/dex/solidly/forks-override/aerodrome.js +50 -0
  244. package/build/dex/solidly/forks-override/aerodrome.js.map +1 -0
  245. package/build/dex/solidly/forks-override/chronos.d.ts +23 -0
  246. package/build/dex/solidly/forks-override/chronos.js +141 -0
  247. package/build/dex/solidly/forks-override/chronos.js.map +1 -0
  248. package/build/dex/solidly/forks-override/usdfi.d.ts +8 -0
  249. package/build/dex/solidly/forks-override/usdfi.js +15 -0
  250. package/build/dex/solidly/forks-override/usdfi.js.map +1 -0
  251. package/build/dex/solidly/forks-override/velocimeter.d.ts +23 -0
  252. package/build/dex/solidly/forks-override/velocimeter.js +77 -0
  253. package/build/dex/solidly/forks-override/velocimeter.js.map +1 -0
  254. package/build/dex/stabull/config.d.ts +3 -0
  255. package/build/dex/stabull/config.js +177 -0
  256. package/build/dex/stabull/config.js.map +1 -0
  257. package/build/dex/stabull/stabull-pool.d.ts +46 -0
  258. package/build/dex/stabull/stabull-pool.js +113 -0
  259. package/build/dex/stabull/stabull-pool.js.map +1 -0
  260. package/build/dex/stabull/stabull.d.ts +55 -0
  261. package/build/dex/stabull/stabull.js +286 -0
  262. package/build/dex/stabull/stabull.js.map +1 -0
  263. package/build/dex/stabull/types.d.ts +21 -0
  264. package/build/dex/stabull/types.js +3 -0
  265. package/build/dex/stabull/types.js.map +1 -0
  266. package/build/dex/uniswap-v2/dfyn.d.ts +19 -0
  267. package/build/dex/uniswap-v2/dfyn.js +61 -0
  268. package/build/dex/uniswap-v2/dfyn.js.map +1 -0
  269. package/build/dex/uniswap-v2/excalibur.d.ts +24 -0
  270. package/build/dex/uniswap-v2/excalibur.js +47 -0
  271. package/build/dex/uniswap-v2/excalibur.js.map +1 -0
  272. package/build/dex/uniswap-v2/mdex.d.ts +24 -0
  273. package/build/dex/uniswap-v2/mdex.js +50 -0
  274. package/build/dex/uniswap-v2/mdex.js.map +1 -0
  275. package/build/dex/uniswap-v2/nomiswap-v2.d.ts +24 -0
  276. package/build/dex/uniswap-v2/nomiswap-v2.js +57 -0
  277. package/build/dex/uniswap-v2/nomiswap-v2.js.map +1 -0
  278. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +4 -0
  279. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +56 -0
  280. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +1 -0
  281. package/build/dex/uniswap-v4/contract-math/Position.d.ts +9 -0
  282. package/build/dex/uniswap-v4/contract-math/Position.js +39 -0
  283. package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -0
  284. package/build/dex/uniswap-v4/hooks/arena.d.ts +6 -0
  285. package/build/dex/uniswap-v4/hooks/arena.js +10 -0
  286. package/build/dex/uniswap-v4/hooks/arena.js.map +1 -0
  287. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.d.ts +0 -0
  288. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js +2 -0
  289. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js.map +1 -0
  290. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +7 -0
  291. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +28 -0
  292. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +1 -0
  293. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  294. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +2 -0
  295. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +1 -0
  296. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +7 -0
  297. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +28 -0
  298. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +1 -0
  299. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  300. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +2 -0
  301. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +1 -0
  302. package/build/dex/uniswap-v4/hooks/index.d.ts +1 -0
  303. package/build/dex/uniswap-v4/hooks/index.js +18 -0
  304. package/build/dex/uniswap-v4/hooks/index.js.map +1 -0
  305. package/build/dex/uniswap-v4/hooks/spot.d.ts +15 -0
  306. package/build/dex/uniswap-v4/hooks/spot.js +109 -0
  307. package/build/dex/uniswap-v4/hooks/spot.js.map +1 -0
  308. package/build/dex/uniswap-v4/hooks/template.d.ts +150 -0
  309. package/build/dex/uniswap-v4/hooks/template.js +104 -0
  310. package/build/dex/uniswap-v4/hooks/template.js.map +1 -0
  311. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +26 -0
  312. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +75 -0
  313. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +1 -0
  314. package/build/dex/usual/usual-usdc-usdc.d.ts +17 -0
  315. package/build/dex/usual/usual-usdc-usdc.js +59 -0
  316. package/build/dex/usual/usual-usdc-usdc.js.map +1 -0
  317. package/build/dex/yo/config.d.ts +3 -0
  318. package/build/dex/yo/config.js +21 -0
  319. package/build/dex/yo/config.js.map +1 -0
  320. package/build/dex/yo/types.d.ts +13 -0
  321. package/build/dex/yo/types.js +3 -0
  322. package/build/dex/yo/types.js.map +1 -0
  323. package/build/dex/yo/yo-pool.d.ts +13 -0
  324. package/build/dex/yo/yo-pool.js +26 -0
  325. package/build/dex/yo/yo-pool.js.map +1 -0
  326. package/build/dex/yo/yo.d.ts +39 -0
  327. package/build/dex/yo/yo.js +248 -0
  328. package/build/dex/yo/yo.js.map +1 -0
  329. package/build/implementations/api-paraswap-sdk.d.ts +25 -0
  330. package/build/implementations/api-paraswap-sdk.js +102 -0
  331. package/build/implementations/api-paraswap-sdk.js.map +1 -0
  332. package/package.json +1 -1
@@ -0,0 +1,520 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ { "internalType": "address", "name": "_syFactory", "type": "address" },
5
+ { "internalType": "address", "name": "_router", "type": "address" },
6
+ {
7
+ "internalType": "address",
8
+ "name": "_yieldContractFactory",
9
+ "type": "address"
10
+ },
11
+ { "internalType": "address", "name": "_marketFactory", "type": "address" }
12
+ ],
13
+ "stateMutability": "nonpayable",
14
+ "type": "constructor"
15
+ },
16
+ {
17
+ "anonymous": false,
18
+ "inputs": [
19
+ {
20
+ "indexed": false,
21
+ "internalType": "uint8",
22
+ "name": "version",
23
+ "type": "uint8"
24
+ }
25
+ ],
26
+ "name": "Initialized",
27
+ "type": "event"
28
+ },
29
+ {
30
+ "anonymous": false,
31
+ "inputs": [
32
+ {
33
+ "components": [
34
+ { "internalType": "address", "name": "SY", "type": "address" },
35
+ { "internalType": "address", "name": "PT", "type": "address" },
36
+ { "internalType": "address", "name": "YT", "type": "address" },
37
+ { "internalType": "address", "name": "market", "type": "address" }
38
+ ],
39
+ "indexed": false,
40
+ "internalType": "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
41
+ "name": "addrs",
42
+ "type": "tuple"
43
+ },
44
+ {
45
+ "components": [
46
+ { "internalType": "uint32", "name": "expiry", "type": "uint32" },
47
+ {
48
+ "internalType": "uint80",
49
+ "name": "lnFeeRateRoot",
50
+ "type": "uint80"
51
+ },
52
+ { "internalType": "int256", "name": "scalarRoot", "type": "int256" },
53
+ {
54
+ "internalType": "int256",
55
+ "name": "initialRateAnchor",
56
+ "type": "int256"
57
+ },
58
+ {
59
+ "internalType": "bool",
60
+ "name": "doCacheIndexSameBlock",
61
+ "type": "bool"
62
+ }
63
+ ],
64
+ "indexed": false,
65
+ "internalType": "struct PendlePoolDeployHelperV2.PoolDeploymentParams",
66
+ "name": "params",
67
+ "type": "tuple"
68
+ }
69
+ ],
70
+ "name": "MarketDeployment",
71
+ "type": "event"
72
+ },
73
+ {
74
+ "anonymous": false,
75
+ "inputs": [
76
+ {
77
+ "indexed": true,
78
+ "internalType": "address",
79
+ "name": "previousOwner",
80
+ "type": "address"
81
+ },
82
+ {
83
+ "indexed": true,
84
+ "internalType": "address",
85
+ "name": "newOwner",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "OwnershipTransferred",
90
+ "type": "event"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "ERC20_DEPLOY_ID",
95
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
96
+ "stateMutability": "view",
97
+ "type": "function"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ERC20_WITH_ADAPTER_ID",
102
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
103
+ "stateMutability": "view",
104
+ "type": "function"
105
+ },
106
+ {
107
+ "inputs": [],
108
+ "name": "ERC4626_DEPLOY_ID",
109
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
110
+ "stateMutability": "view",
111
+ "type": "function"
112
+ },
113
+ {
114
+ "inputs": [],
115
+ "name": "ERC4626_NOT_REDEEMABLE_DEPLOY_ID",
116
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
117
+ "stateMutability": "view",
118
+ "type": "function"
119
+ },
120
+ {
121
+ "inputs": [],
122
+ "name": "ERC4626_NO_REDEEM_WITH_ADAPTER_ID",
123
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
124
+ "stateMutability": "view",
125
+ "type": "function"
126
+ },
127
+ {
128
+ "inputs": [],
129
+ "name": "ERC4626_WITH_ADAPTER_ID",
130
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
131
+ "stateMutability": "view",
132
+ "type": "function"
133
+ },
134
+ {
135
+ "inputs": [],
136
+ "name": "claimOwnership",
137
+ "outputs": [],
138
+ "stateMutability": "nonpayable",
139
+ "type": "function"
140
+ },
141
+ {
142
+ "inputs": [
143
+ { "internalType": "address", "name": "SY", "type": "address" },
144
+ {
145
+ "components": [
146
+ { "internalType": "uint32", "name": "expiry", "type": "uint32" },
147
+ { "internalType": "uint256", "name": "rateMin", "type": "uint256" },
148
+ { "internalType": "uint256", "name": "rateMax", "type": "uint256" },
149
+ {
150
+ "internalType": "uint256",
151
+ "name": "desiredImpliedRate",
152
+ "type": "uint256"
153
+ },
154
+ { "internalType": "uint256", "name": "fee", "type": "uint256" }
155
+ ],
156
+ "internalType": "struct PendlePoolDeployHelperV2.PoolConfig",
157
+ "name": "config",
158
+ "type": "tuple"
159
+ },
160
+ {
161
+ "internalType": "address",
162
+ "name": "tokenToSeedLiqudity",
163
+ "type": "address"
164
+ },
165
+ { "internalType": "uint256", "name": "amountToSeed", "type": "uint256" }
166
+ ],
167
+ "name": "deploy5115MarketAndSeedLiquidity",
168
+ "outputs": [
169
+ {
170
+ "components": [
171
+ { "internalType": "address", "name": "SY", "type": "address" },
172
+ { "internalType": "address", "name": "PT", "type": "address" },
173
+ { "internalType": "address", "name": "YT", "type": "address" },
174
+ { "internalType": "address", "name": "market", "type": "address" }
175
+ ],
176
+ "internalType": "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
177
+ "name": "",
178
+ "type": "tuple"
179
+ }
180
+ ],
181
+ "stateMutability": "payable",
182
+ "type": "function"
183
+ },
184
+ {
185
+ "inputs": [
186
+ { "internalType": "bytes", "name": "constructorParams", "type": "bytes" },
187
+ {
188
+ "components": [
189
+ { "internalType": "uint32", "name": "expiry", "type": "uint32" },
190
+ { "internalType": "uint256", "name": "rateMin", "type": "uint256" },
191
+ { "internalType": "uint256", "name": "rateMax", "type": "uint256" },
192
+ {
193
+ "internalType": "uint256",
194
+ "name": "desiredImpliedRate",
195
+ "type": "uint256"
196
+ },
197
+ { "internalType": "uint256", "name": "fee", "type": "uint256" }
198
+ ],
199
+ "internalType": "struct PendlePoolDeployHelperV2.PoolConfig",
200
+ "name": "config",
201
+ "type": "tuple"
202
+ },
203
+ {
204
+ "internalType": "address",
205
+ "name": "tokenToSeedLiqudity",
206
+ "type": "address"
207
+ },
208
+ { "internalType": "uint256", "name": "amountToSeed", "type": "uint256" },
209
+ { "internalType": "address", "name": "syOwner", "type": "address" }
210
+ ],
211
+ "name": "deployERC20Market",
212
+ "outputs": [
213
+ {
214
+ "components": [
215
+ { "internalType": "address", "name": "SY", "type": "address" },
216
+ { "internalType": "address", "name": "PT", "type": "address" },
217
+ { "internalType": "address", "name": "YT", "type": "address" },
218
+ { "internalType": "address", "name": "market", "type": "address" }
219
+ ],
220
+ "internalType": "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
221
+ "name": "",
222
+ "type": "tuple"
223
+ }
224
+ ],
225
+ "stateMutability": "nonpayable",
226
+ "type": "function"
227
+ },
228
+ {
229
+ "inputs": [
230
+ { "internalType": "bytes", "name": "constructorParams", "type": "bytes" },
231
+ { "internalType": "bytes", "name": "initData", "type": "bytes" },
232
+ {
233
+ "components": [
234
+ { "internalType": "uint32", "name": "expiry", "type": "uint32" },
235
+ { "internalType": "uint256", "name": "rateMin", "type": "uint256" },
236
+ { "internalType": "uint256", "name": "rateMax", "type": "uint256" },
237
+ {
238
+ "internalType": "uint256",
239
+ "name": "desiredImpliedRate",
240
+ "type": "uint256"
241
+ },
242
+ { "internalType": "uint256", "name": "fee", "type": "uint256" }
243
+ ],
244
+ "internalType": "struct PendlePoolDeployHelperV2.PoolConfig",
245
+ "name": "config",
246
+ "type": "tuple"
247
+ },
248
+ {
249
+ "internalType": "address",
250
+ "name": "tokenToSeedLiqudity",
251
+ "type": "address"
252
+ },
253
+ { "internalType": "uint256", "name": "amountToSeed", "type": "uint256" },
254
+ { "internalType": "address", "name": "syOwner", "type": "address" }
255
+ ],
256
+ "name": "deployERC20WithAdapterMarket",
257
+ "outputs": [
258
+ {
259
+ "components": [
260
+ { "internalType": "address", "name": "SY", "type": "address" },
261
+ { "internalType": "address", "name": "PT", "type": "address" },
262
+ { "internalType": "address", "name": "YT", "type": "address" },
263
+ { "internalType": "address", "name": "market", "type": "address" }
264
+ ],
265
+ "internalType": "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
266
+ "name": "",
267
+ "type": "tuple"
268
+ }
269
+ ],
270
+ "stateMutability": "nonpayable",
271
+ "type": "function"
272
+ },
273
+ {
274
+ "inputs": [
275
+ { "internalType": "bytes", "name": "constructorParams", "type": "bytes" },
276
+ {
277
+ "components": [
278
+ { "internalType": "uint32", "name": "expiry", "type": "uint32" },
279
+ { "internalType": "uint256", "name": "rateMin", "type": "uint256" },
280
+ { "internalType": "uint256", "name": "rateMax", "type": "uint256" },
281
+ {
282
+ "internalType": "uint256",
283
+ "name": "desiredImpliedRate",
284
+ "type": "uint256"
285
+ },
286
+ { "internalType": "uint256", "name": "fee", "type": "uint256" }
287
+ ],
288
+ "internalType": "struct PendlePoolDeployHelperV2.PoolConfig",
289
+ "name": "config",
290
+ "type": "tuple"
291
+ },
292
+ {
293
+ "internalType": "address",
294
+ "name": "tokenToSeedLiqudity",
295
+ "type": "address"
296
+ },
297
+ { "internalType": "uint256", "name": "amountToSeed", "type": "uint256" },
298
+ { "internalType": "address", "name": "syOwner", "type": "address" }
299
+ ],
300
+ "name": "deployERC4626Market",
301
+ "outputs": [
302
+ {
303
+ "components": [
304
+ { "internalType": "address", "name": "SY", "type": "address" },
305
+ { "internalType": "address", "name": "PT", "type": "address" },
306
+ { "internalType": "address", "name": "YT", "type": "address" },
307
+ { "internalType": "address", "name": "market", "type": "address" }
308
+ ],
309
+ "internalType": "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
310
+ "name": "",
311
+ "type": "tuple"
312
+ }
313
+ ],
314
+ "stateMutability": "nonpayable",
315
+ "type": "function"
316
+ },
317
+ {
318
+ "inputs": [
319
+ { "internalType": "bytes", "name": "constructorParams", "type": "bytes" },
320
+ { "internalType": "bytes", "name": "initData", "type": "bytes" },
321
+ {
322
+ "components": [
323
+ { "internalType": "uint32", "name": "expiry", "type": "uint32" },
324
+ { "internalType": "uint256", "name": "rateMin", "type": "uint256" },
325
+ { "internalType": "uint256", "name": "rateMax", "type": "uint256" },
326
+ {
327
+ "internalType": "uint256",
328
+ "name": "desiredImpliedRate",
329
+ "type": "uint256"
330
+ },
331
+ { "internalType": "uint256", "name": "fee", "type": "uint256" }
332
+ ],
333
+ "internalType": "struct PendlePoolDeployHelperV2.PoolConfig",
334
+ "name": "config",
335
+ "type": "tuple"
336
+ },
337
+ {
338
+ "internalType": "address",
339
+ "name": "tokenToSeedLiqudity",
340
+ "type": "address"
341
+ },
342
+ { "internalType": "uint256", "name": "amountToSeed", "type": "uint256" },
343
+ { "internalType": "address", "name": "syOwner", "type": "address" }
344
+ ],
345
+ "name": "deployERC4626NoRedeemWithAdapterMarket",
346
+ "outputs": [
347
+ {
348
+ "components": [
349
+ { "internalType": "address", "name": "SY", "type": "address" },
350
+ { "internalType": "address", "name": "PT", "type": "address" },
351
+ { "internalType": "address", "name": "YT", "type": "address" },
352
+ { "internalType": "address", "name": "market", "type": "address" }
353
+ ],
354
+ "internalType": "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
355
+ "name": "",
356
+ "type": "tuple"
357
+ }
358
+ ],
359
+ "stateMutability": "nonpayable",
360
+ "type": "function"
361
+ },
362
+ {
363
+ "inputs": [
364
+ { "internalType": "bytes", "name": "constructorParams", "type": "bytes" },
365
+ {
366
+ "components": [
367
+ { "internalType": "uint32", "name": "expiry", "type": "uint32" },
368
+ { "internalType": "uint256", "name": "rateMin", "type": "uint256" },
369
+ { "internalType": "uint256", "name": "rateMax", "type": "uint256" },
370
+ {
371
+ "internalType": "uint256",
372
+ "name": "desiredImpliedRate",
373
+ "type": "uint256"
374
+ },
375
+ { "internalType": "uint256", "name": "fee", "type": "uint256" }
376
+ ],
377
+ "internalType": "struct PendlePoolDeployHelperV2.PoolConfig",
378
+ "name": "config",
379
+ "type": "tuple"
380
+ },
381
+ {
382
+ "internalType": "address",
383
+ "name": "tokenToSeedLiqudity",
384
+ "type": "address"
385
+ },
386
+ { "internalType": "uint256", "name": "amountToSeed", "type": "uint256" },
387
+ { "internalType": "address", "name": "syOwner", "type": "address" }
388
+ ],
389
+ "name": "deployERC4626NotRedeemableMarket",
390
+ "outputs": [
391
+ {
392
+ "components": [
393
+ { "internalType": "address", "name": "SY", "type": "address" },
394
+ { "internalType": "address", "name": "PT", "type": "address" },
395
+ { "internalType": "address", "name": "YT", "type": "address" },
396
+ { "internalType": "address", "name": "market", "type": "address" }
397
+ ],
398
+ "internalType": "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
399
+ "name": "",
400
+ "type": "tuple"
401
+ }
402
+ ],
403
+ "stateMutability": "nonpayable",
404
+ "type": "function"
405
+ },
406
+ {
407
+ "inputs": [
408
+ { "internalType": "bytes", "name": "constructorParams", "type": "bytes" },
409
+ { "internalType": "bytes", "name": "initData", "type": "bytes" },
410
+ {
411
+ "components": [
412
+ { "internalType": "uint32", "name": "expiry", "type": "uint32" },
413
+ { "internalType": "uint256", "name": "rateMin", "type": "uint256" },
414
+ { "internalType": "uint256", "name": "rateMax", "type": "uint256" },
415
+ {
416
+ "internalType": "uint256",
417
+ "name": "desiredImpliedRate",
418
+ "type": "uint256"
419
+ },
420
+ { "internalType": "uint256", "name": "fee", "type": "uint256" }
421
+ ],
422
+ "internalType": "struct PendlePoolDeployHelperV2.PoolConfig",
423
+ "name": "config",
424
+ "type": "tuple"
425
+ },
426
+ {
427
+ "internalType": "address",
428
+ "name": "tokenToSeedLiqudity",
429
+ "type": "address"
430
+ },
431
+ { "internalType": "uint256", "name": "amountToSeed", "type": "uint256" },
432
+ { "internalType": "address", "name": "syOwner", "type": "address" }
433
+ ],
434
+ "name": "deployERC4626WithAdapterMarket",
435
+ "outputs": [
436
+ {
437
+ "components": [
438
+ { "internalType": "address", "name": "SY", "type": "address" },
439
+ { "internalType": "address", "name": "PT", "type": "address" },
440
+ { "internalType": "address", "name": "YT", "type": "address" },
441
+ { "internalType": "address", "name": "market", "type": "address" }
442
+ ],
443
+ "internalType": "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
444
+ "name": "",
445
+ "type": "tuple"
446
+ }
447
+ ],
448
+ "stateMutability": "nonpayable",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [],
453
+ "name": "doCacheIndexSameBlock",
454
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
455
+ "stateMutability": "view",
456
+ "type": "function"
457
+ },
458
+ {
459
+ "inputs": [
460
+ { "internalType": "address", "name": "_owner", "type": "address" }
461
+ ],
462
+ "name": "initialize",
463
+ "outputs": [],
464
+ "stateMutability": "nonpayable",
465
+ "type": "function"
466
+ },
467
+ {
468
+ "inputs": [],
469
+ "name": "marketFactory",
470
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
471
+ "stateMutability": "view",
472
+ "type": "function"
473
+ },
474
+ {
475
+ "inputs": [],
476
+ "name": "owner",
477
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
478
+ "stateMutability": "view",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [],
483
+ "name": "pendingOwner",
484
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
485
+ "stateMutability": "view",
486
+ "type": "function"
487
+ },
488
+ {
489
+ "inputs": [],
490
+ "name": "router",
491
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
492
+ "stateMutability": "view",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "inputs": [],
497
+ "name": "syFactory",
498
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
499
+ "stateMutability": "view",
500
+ "type": "function"
501
+ },
502
+ {
503
+ "inputs": [
504
+ { "internalType": "address", "name": "newOwner", "type": "address" },
505
+ { "internalType": "bool", "name": "direct", "type": "bool" },
506
+ { "internalType": "bool", "name": "renounce", "type": "bool" }
507
+ ],
508
+ "name": "transferOwnership",
509
+ "outputs": [],
510
+ "stateMutability": "nonpayable",
511
+ "type": "function"
512
+ },
513
+ {
514
+ "inputs": [],
515
+ "name": "yieldContractFactory",
516
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
517
+ "stateMutability": "view",
518
+ "type": "function"
519
+ }
520
+ ]