@paraswap/dex-lib 4.7.26 → 4.7.27-1

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 (339) hide show
  1. package/build/dex/algebra-integral/algebra-integral-factory.d.ts +3 -1
  2. package/build/dex/algebra-integral/algebra-integral-factory.js +59 -1
  3. package/build/dex/algebra-integral/algebra-integral-factory.js.map +1 -1
  4. package/build/dex/algebra-integral/algebra-integral.d.ts +3 -0
  5. package/build/dex/algebra-integral/algebra-integral.js +112 -4
  6. package/build/dex/algebra-integral/algebra-integral.js.map +1 -1
  7. package/build/dex/algebra-integral/constants.d.ts +2 -0
  8. package/build/dex/algebra-integral/constants.js +5 -1
  9. package/build/dex/algebra-integral/constants.js.map +1 -1
  10. package/package.json +1 -1
  11. package/build/abi/PendleRouterStatic.json +0 -19
  12. package/build/abi/apex-defi/ApexDefiFactory.abi.json +0 -1749
  13. package/build/abi/apex-defi/ApexDefiRouter.abi.json +0 -1120
  14. package/build/abi/apex-defi/ApexDefiToken.abi.json +0 -229
  15. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +0 -92
  16. package/build/abi/apex-defi/ApexDefiWrapperFactory.abi.json +0 -1107
  17. package/build/abi/ekubo-v3/core.json +0 -797
  18. package/build/abi/ekubo-v3/mev-capture-router.json +0 -936
  19. package/build/abi/ekubo-v3/quote-data-fetcher.json +0 -161
  20. package/build/abi/ekubo-v3/twamm-data-fetcher.json +0 -216
  21. package/build/abi/ekubo-v3/twamm.json +0 -613
  22. package/build/abi/idle-dao/idle-cdo-factory.json +0 -38
  23. package/build/abi/idle-dao/idle-cdo.json +0 -1245
  24. package/build/abi/infusion/InfusionFactory.json +0 -147
  25. package/build/abi/infusion/InfusionPair.json +0 -658
  26. package/build/abi/infusion/InfusionRouter.json +0 -442
  27. package/build/abi/maker-psm/pot.json +0 -322
  28. package/build/abi/maker-psm/psm.json +0 -243
  29. package/build/abi/maker-psm/vat.json +0 -363
  30. package/build/abi/nomiswap-v2/nomiswap-v2-pool.json +0 -773
  31. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +0 -796
  32. package/build/abi/pendle/pendle-deployer.abi.json +0 -520
  33. package/build/abi/pendle/pendle-oracle.abi.json +0 -413
  34. package/build/abi/quick-perps/fast-price-events.json +0 -70
  35. package/build/abi/quick-perps/fast-price-feed.json +0 -741
  36. package/build/abi/quick-perps/reader.json +0 -313
  37. package/build/abi/quick-perps/vault-price-feed.json +0 -323
  38. package/build/abi/quick-perps/vault.json +0 -1953
  39. package/build/abi/ring-v2/few-wrapped-token.json +0 -587
  40. package/build/abi/ring-v2/ring-v2-factory.json +0 -125
  41. package/build/abi/ring-v2/ring-v2-pool.json +0 -461
  42. package/build/abi/ring-v2/ring-v2-router.json +0 -332
  43. package/build/abi/stabull/stabull-curve.json +0 -738
  44. package/build/abi/stabull/stabull-router.json +0 -76
  45. package/build/abi/uniswap-v2/excalibur-pool.json +0 -881
  46. package/build/abi/uniswap-v2/mdex-factory.json +0 -759
  47. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +0 -26
  48. package/build/abi/uniswap-v4/hooks/SpotHook.json +0 -54
  49. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +0 -45
  50. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +0 -682
  51. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +0 -1335
  52. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +0 -29
  53. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +0 -153
  54. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +0 -1
  55. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.d.ts +0 -40
  56. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +0 -323
  57. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +0 -1
  58. package/build/dex/aave-pt-to-underlying/config.d.ts +0 -3
  59. package/build/dex/aave-pt-to-underlying/config.js +0 -24
  60. package/build/dex/aave-pt-to-underlying/config.js.map +0 -1
  61. package/build/dex/aave-pt-to-underlying/constants.d.ts +0 -2
  62. package/build/dex/aave-pt-to-underlying/constants.js +0 -6
  63. package/build/dex/aave-pt-to-underlying/constants.js.map +0 -1
  64. package/build/dex/aave-pt-to-underlying/types.d.ts +0 -24
  65. package/build/dex/aave-pt-to-underlying/types.js +0 -3
  66. package/build/dex/aave-pt-to-underlying/types.js.map +0 -1
  67. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +0 -39
  68. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +0 -244
  69. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +0 -1
  70. package/build/dex/aave-pt-to-usdc/config.d.ts +0 -3
  71. package/build/dex/aave-pt-to-usdc/config.js +0 -47
  72. package/build/dex/aave-pt-to-usdc/config.js.map +0 -1
  73. package/build/dex/aave-pt-to-usdc/constants.d.ts +0 -2
  74. package/build/dex/aave-pt-to-usdc/constants.js +0 -6
  75. package/build/dex/aave-pt-to-usdc/constants.js.map +0 -1
  76. package/build/dex/aave-pt-to-usdc/types.d.ts +0 -22
  77. package/build/dex/aave-pt-to-usdc/types.js +0 -3
  78. package/build/dex/aave-pt-to-usdc/types.js.map +0 -1
  79. package/build/dex/apex-defi/apex-defi-factory.d.ts +0 -26
  80. package/build/dex/apex-defi/apex-defi-factory.js +0 -53
  81. package/build/dex/apex-defi/apex-defi-factory.js.map +0 -1
  82. package/build/dex/apex-defi/apex-defi-pool.d.ts +0 -55
  83. package/build/dex/apex-defi/apex-defi-pool.js +0 -247
  84. package/build/dex/apex-defi/apex-defi-pool.js.map +0 -1
  85. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +0 -57
  86. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +0 -250
  87. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +0 -1
  88. package/build/dex/apex-defi/apex-defi.d.ts +0 -97
  89. package/build/dex/apex-defi/apex-defi.js +0 -1021
  90. package/build/dex/apex-defi/apex-defi.js.map +0 -1
  91. package/build/dex/apex-defi/config.d.ts +0 -4
  92. package/build/dex/apex-defi/config.js +0 -138
  93. package/build/dex/apex-defi/config.js.map +0 -1
  94. package/build/dex/apex-defi/types.d.ts +0 -32
  95. package/build/dex/apex-defi/types.js +0 -3
  96. package/build/dex/apex-defi/types.js.map +0 -1
  97. package/build/dex/apex-defi/utils.d.ts +0 -46
  98. package/build/dex/apex-defi/utils.js +0 -133
  99. package/build/dex/apex-defi/utils.js.map +0 -1
  100. package/build/dex/ekubo/pools/base-pool.d.ts +0 -47
  101. package/build/dex/ekubo/pools/base-pool.js +0 -184
  102. package/build/dex/ekubo/pools/base-pool.js.map +0 -1
  103. package/build/dex/ekubo/pools/iface.d.ts +0 -46
  104. package/build/dex/ekubo/pools/iface.js +0 -75
  105. package/build/dex/ekubo/pools/iface.js.map +0 -1
  106. package/build/dex/ekubo/pools/math/price.d.ts +0 -7
  107. package/build/dex/ekubo/pools/math/price.js +0 -112
  108. package/build/dex/ekubo/pools/math/price.js.map +0 -1
  109. package/build/dex/ekubo/pools/oracle-pool.d.ts +0 -10
  110. package/build/dex/ekubo/pools/oracle-pool.js +0 -19
  111. package/build/dex/ekubo/pools/oracle-pool.js.map +0 -1
  112. package/build/dex/ekubo/pools/pool-utils.d.ts +0 -44
  113. package/build/dex/ekubo/pools/pool-utils.js +0 -240
  114. package/build/dex/ekubo/pools/pool-utils.js.map +0 -1
  115. package/build/dex/ekubo-v3/config.d.ts +0 -13
  116. package/build/dex/ekubo-v3/config.js +0 -23
  117. package/build/dex/ekubo-v3/config.js.map +0 -1
  118. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.d.ts +0 -34
  119. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.js +0 -421
  120. package/build/dex/ekubo-v3/ekubo-v3-pool-manager.js.map +0 -1
  121. package/build/dex/ekubo-v3/ekubo-v3.d.ts +0 -38
  122. package/build/dex/ekubo-v3/ekubo-v3.js +0 -274
  123. package/build/dex/ekubo-v3/ekubo-v3.js.map +0 -1
  124. package/build/dex/ekubo-v3/pools/base.d.ts +0 -42
  125. package/build/dex/ekubo-v3/pools/base.js +0 -307
  126. package/build/dex/ekubo-v3/pools/base.js.map +0 -1
  127. package/build/dex/ekubo-v3/pools/full-range.d.ts +0 -25
  128. package/build/dex/ekubo-v3/pools/full-range.js +0 -105
  129. package/build/dex/ekubo-v3/pools/full-range.js.map +0 -1
  130. package/build/dex/ekubo-v3/pools/math/constants.d.ts +0 -12
  131. package/build/dex/ekubo-v3/pools/math/constants.js +0 -16
  132. package/build/dex/ekubo-v3/pools/math/constants.js.map +0 -1
  133. package/build/dex/ekubo-v3/pools/math/delta.d.ts +0 -2
  134. package/build/dex/ekubo-v3/pools/math/delta.js +0 -51
  135. package/build/dex/ekubo-v3/pools/math/delta.js.map +0 -1
  136. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.d.ts +0 -8
  137. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.js +0 -113
  138. package/build/dex/ekubo-v3/pools/math/sqrt-ratio.js.map +0 -1
  139. package/build/dex/ekubo-v3/pools/math/swap.d.ts +0 -18
  140. package/build/dex/ekubo-v3/pools/math/swap.js +0 -128
  141. package/build/dex/ekubo-v3/pools/math/swap.js.map +0 -1
  142. package/build/dex/ekubo-v3/pools/math/tick.d.ts +0 -8
  143. package/build/dex/ekubo-v3/pools/math/tick.js +0 -129
  144. package/build/dex/ekubo-v3/pools/math/tick.js.map +0 -1
  145. package/build/dex/ekubo-v3/pools/math/twamm/exp2.d.ts +0 -1
  146. package/build/dex/ekubo-v3/pools/math/twamm/exp2.js +0 -86
  147. package/build/dex/ekubo-v3/pools/math/twamm/exp2.js.map +0 -1
  148. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.d.ts +0 -1
  149. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.js +0 -56
  150. package/build/dex/ekubo-v3/pools/math/twamm/sqrt-ratio.js.map +0 -1
  151. package/build/dex/ekubo-v3/pools/mev-capture.d.ts +0 -8
  152. package/build/dex/ekubo-v3/pools/mev-capture.js +0 -42
  153. package/build/dex/ekubo-v3/pools/mev-capture.js.map +0 -1
  154. package/build/dex/ekubo-v3/pools/oracle.d.ts +0 -8
  155. package/build/dex/ekubo-v3/pools/oracle.js +0 -18
  156. package/build/dex/ekubo-v3/pools/oracle.js.map +0 -1
  157. package/build/dex/ekubo-v3/pools/pool.d.ts +0 -56
  158. package/build/dex/ekubo-v3/pools/pool.js +0 -88
  159. package/build/dex/ekubo-v3/pools/pool.js.map +0 -1
  160. package/build/dex/ekubo-v3/pools/stableswap.d.ts +0 -22
  161. package/build/dex/ekubo-v3/pools/stableswap.js +0 -123
  162. package/build/dex/ekubo-v3/pools/stableswap.js.map +0 -1
  163. package/build/dex/ekubo-v3/pools/twamm.d.ts +0 -40
  164. package/build/dex/ekubo-v3/pools/twamm.js +0 -265
  165. package/build/dex/ekubo-v3/pools/twamm.js.map +0 -1
  166. package/build/dex/ekubo-v3/pools/utils.d.ts +0 -62
  167. package/build/dex/ekubo-v3/pools/utils.js +0 -160
  168. package/build/dex/ekubo-v3/pools/utils.js.map +0 -1
  169. package/build/dex/ekubo-v3/types.d.ts +0 -58
  170. package/build/dex/ekubo-v3/types.js +0 -3
  171. package/build/dex/ekubo-v3/types.js.map +0 -1
  172. package/build/dex/ekubo-v3/utils.d.ts +0 -10
  173. package/build/dex/ekubo-v3/utils.js +0 -54
  174. package/build/dex/ekubo-v3/utils.js.map +0 -1
  175. package/build/dex/idle-dao/config.d.ts +0 -5
  176. package/build/dex/idle-dao/config.js +0 -24
  177. package/build/dex/idle-dao/config.js.map +0 -1
  178. package/build/dex/idle-dao/idle-dao.d.ts +0 -42
  179. package/build/dex/idle-dao/idle-dao.js +0 -279
  180. package/build/dex/idle-dao/idle-dao.js.map +0 -1
  181. package/build/dex/idle-dao/token_list.d.ts +0 -4
  182. package/build/dex/idle-dao/token_list.js +0 -289
  183. package/build/dex/idle-dao/token_list.js.map +0 -1
  184. package/build/dex/idle-dao/tokens.d.ts +0 -9
  185. package/build/dex/idle-dao/tokens.js +0 -68
  186. package/build/dex/idle-dao/tokens.js.map +0 -1
  187. package/build/dex/idle-dao/types.d.ts +0 -35
  188. package/build/dex/idle-dao/types.js +0 -11
  189. package/build/dex/idle-dao/types.js.map +0 -1
  190. package/build/dex/idle-dao/utils.d.ts +0 -8
  191. package/build/dex/idle-dao/utils.js +0 -149
  192. package/build/dex/idle-dao/utils.js.map +0 -1
  193. package/build/dex/infusion/config.d.ts +0 -3
  194. package/build/dex/infusion/config.js +0 -20
  195. package/build/dex/infusion/config.js.map +0 -1
  196. package/build/dex/infusion/infusion-stable-pool.d.ts +0 -4
  197. package/build/dex/infusion/infusion-stable-pool.js +0 -74
  198. package/build/dex/infusion/infusion-stable-pool.js.map +0 -1
  199. package/build/dex/infusion/infusion.d.ts +0 -51
  200. package/build/dex/infusion/infusion.js +0 -461
  201. package/build/dex/infusion/infusion.js.map +0 -1
  202. package/build/dex/infusion/types.d.ts +0 -45
  203. package/build/dex/infusion/types.js +0 -3
  204. package/build/dex/infusion/types.js.map +0 -1
  205. package/build/dex/infusion/utils/isStablePair.d.ts +0 -2
  206. package/build/dex/infusion/utils/isStablePair.js +0 -18
  207. package/build/dex/infusion/utils/isStablePair.js.map +0 -1
  208. package/build/dex/maker-psm/config.d.ts +0 -11
  209. package/build/dex/maker-psm/config.js +0 -53
  210. package/build/dex/maker-psm/config.js.map +0 -1
  211. package/build/dex/maker-psm/maker-psm-event-pool.d.ts +0 -43
  212. package/build/dex/maker-psm/maker-psm-event-pool.js +0 -132
  213. package/build/dex/maker-psm/maker-psm-event-pool.js.map +0 -1
  214. package/build/dex/maker-psm/maker-psm.d.ts +0 -103
  215. package/build/dex/maker-psm/maker-psm.js +0 -493
  216. package/build/dex/maker-psm/maker-psm.js.map +0 -1
  217. package/build/dex/maker-psm/types.d.ts +0 -39
  218. package/build/dex/maker-psm/types.js +0 -3
  219. package/build/dex/maker-psm/types.js.map +0 -1
  220. package/build/dex/miro-migrator/miro-migrator-state.d.ts +0 -27
  221. package/build/dex/miro-migrator/miro-migrator-state.js +0 -89
  222. package/build/dex/miro-migrator/miro-migrator-state.js.map +0 -1
  223. package/build/dex/quick-perps/config.d.ts +0 -11
  224. package/build/dex/quick-perps/config.js +0 -27
  225. package/build/dex/quick-perps/config.js.map +0 -1
  226. package/build/dex/quick-perps/fast-price-feed.d.ts +0 -26
  227. package/build/dex/quick-perps/fast-price-feed.js +0 -184
  228. package/build/dex/quick-perps/fast-price-feed.js.map +0 -1
  229. package/build/dex/quick-perps/pool.d.ts +0 -21
  230. package/build/dex/quick-perps/pool.js +0 -229
  231. package/build/dex/quick-perps/pool.js.map +0 -1
  232. package/build/dex/quick-perps/quick-perps.d.ts +0 -53
  233. package/build/dex/quick-perps/quick-perps.js +0 -247
  234. package/build/dex/quick-perps/quick-perps.js.map +0 -1
  235. package/build/dex/quick-perps/types.d.ts +0 -98
  236. package/build/dex/quick-perps/types.js +0 -3
  237. package/build/dex/quick-perps/types.js.map +0 -1
  238. package/build/dex/quick-perps/usdq.d.ts +0 -15
  239. package/build/dex/quick-perps/usdq.js +0 -62
  240. package/build/dex/quick-perps/usdq.js.map +0 -1
  241. package/build/dex/quick-perps/vault-price-feed.d.ts +0 -43
  242. package/build/dex/quick-perps/vault-price-feed.js +0 -203
  243. package/build/dex/quick-perps/vault-price-feed.js.map +0 -1
  244. package/build/dex/quick-perps/vault-utils.d.ts +0 -8
  245. package/build/dex/quick-perps/vault-utils.js +0 -42
  246. package/build/dex/quick-perps/vault-utils.js.map +0 -1
  247. package/build/dex/quick-perps/vault.d.ts +0 -46
  248. package/build/dex/quick-perps/vault.js +0 -182
  249. package/build/dex/quick-perps/vault.js.map +0 -1
  250. package/build/dex/solidly/forks-override/aerodrome.d.ts +0 -14
  251. package/build/dex/solidly/forks-override/aerodrome.js +0 -50
  252. package/build/dex/solidly/forks-override/aerodrome.js.map +0 -1
  253. package/build/dex/solidly/forks-override/chronos.d.ts +0 -23
  254. package/build/dex/solidly/forks-override/chronos.js +0 -141
  255. package/build/dex/solidly/forks-override/chronos.js.map +0 -1
  256. package/build/dex/solidly/forks-override/usdfi.d.ts +0 -8
  257. package/build/dex/solidly/forks-override/usdfi.js +0 -15
  258. package/build/dex/solidly/forks-override/usdfi.js.map +0 -1
  259. package/build/dex/solidly/forks-override/velocimeter.d.ts +0 -23
  260. package/build/dex/solidly/forks-override/velocimeter.js +0 -77
  261. package/build/dex/solidly/forks-override/velocimeter.js.map +0 -1
  262. package/build/dex/stabull/config.d.ts +0 -3
  263. package/build/dex/stabull/config.js +0 -177
  264. package/build/dex/stabull/config.js.map +0 -1
  265. package/build/dex/stabull/stabull-pool.d.ts +0 -46
  266. package/build/dex/stabull/stabull-pool.js +0 -113
  267. package/build/dex/stabull/stabull-pool.js.map +0 -1
  268. package/build/dex/stabull/stabull.d.ts +0 -55
  269. package/build/dex/stabull/stabull.js +0 -286
  270. package/build/dex/stabull/stabull.js.map +0 -1
  271. package/build/dex/stabull/types.d.ts +0 -21
  272. package/build/dex/stabull/types.js +0 -3
  273. package/build/dex/stabull/types.js.map +0 -1
  274. package/build/dex/uniswap-v2/dfyn.d.ts +0 -19
  275. package/build/dex/uniswap-v2/dfyn.js +0 -61
  276. package/build/dex/uniswap-v2/dfyn.js.map +0 -1
  277. package/build/dex/uniswap-v2/excalibur.d.ts +0 -24
  278. package/build/dex/uniswap-v2/excalibur.js +0 -47
  279. package/build/dex/uniswap-v2/excalibur.js.map +0 -1
  280. package/build/dex/uniswap-v2/mdex.d.ts +0 -24
  281. package/build/dex/uniswap-v2/mdex.js +0 -50
  282. package/build/dex/uniswap-v2/mdex.js.map +0 -1
  283. package/build/dex/uniswap-v2/nomiswap-v2.d.ts +0 -24
  284. package/build/dex/uniswap-v2/nomiswap-v2.js +0 -57
  285. package/build/dex/uniswap-v2/nomiswap-v2.js.map +0 -1
  286. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +0 -4
  287. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +0 -56
  288. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +0 -1
  289. package/build/dex/uniswap-v4/contract-math/Position.d.ts +0 -9
  290. package/build/dex/uniswap-v4/contract-math/Position.js +0 -39
  291. package/build/dex/uniswap-v4/contract-math/Position.js.map +0 -1
  292. package/build/dex/uniswap-v4/hooks/arena.d.ts +0 -6
  293. package/build/dex/uniswap-v4/hooks/arena.js +0 -10
  294. package/build/dex/uniswap-v4/hooks/arena.js.map +0 -1
  295. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.d.ts +0 -0
  296. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js +0 -2
  297. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js.map +0 -1
  298. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +0 -7
  299. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +0 -28
  300. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +0 -1
  301. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  302. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +0 -2
  303. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +0 -1
  304. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +0 -7
  305. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +0 -28
  306. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +0 -1
  307. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  308. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +0 -2
  309. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +0 -1
  310. package/build/dex/uniswap-v4/hooks/index.d.ts +0 -1
  311. package/build/dex/uniswap-v4/hooks/index.js +0 -18
  312. package/build/dex/uniswap-v4/hooks/index.js.map +0 -1
  313. package/build/dex/uniswap-v4/hooks/spot.d.ts +0 -15
  314. package/build/dex/uniswap-v4/hooks/spot.js +0 -109
  315. package/build/dex/uniswap-v4/hooks/spot.js.map +0 -1
  316. package/build/dex/uniswap-v4/hooks/template.d.ts +0 -150
  317. package/build/dex/uniswap-v4/hooks/template.js +0 -104
  318. package/build/dex/uniswap-v4/hooks/template.js.map +0 -1
  319. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +0 -26
  320. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +0 -75
  321. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +0 -1
  322. package/build/dex/usual/usual-usdc-usdc.d.ts +0 -17
  323. package/build/dex/usual/usual-usdc-usdc.js +0 -59
  324. package/build/dex/usual/usual-usdc-usdc.js.map +0 -1
  325. package/build/dex/yo/config.d.ts +0 -3
  326. package/build/dex/yo/config.js +0 -21
  327. package/build/dex/yo/config.js.map +0 -1
  328. package/build/dex/yo/types.d.ts +0 -13
  329. package/build/dex/yo/types.js +0 -3
  330. package/build/dex/yo/types.js.map +0 -1
  331. package/build/dex/yo/yo-pool.d.ts +0 -13
  332. package/build/dex/yo/yo-pool.js +0 -26
  333. package/build/dex/yo/yo-pool.js.map +0 -1
  334. package/build/dex/yo/yo.d.ts +0 -39
  335. package/build/dex/yo/yo.js +0 -248
  336. package/build/dex/yo/yo.js.map +0 -1
  337. package/build/implementations/api-paraswap-sdk.d.ts +0 -25
  338. package/build/implementations/api-paraswap-sdk.js +0 -102
  339. package/build/implementations/api-paraswap-sdk.js.map +0 -1
@@ -1,658 +0,0 @@
1
- [
2
- { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" },
3
- {
4
- "anonymous": false,
5
- "inputs": [
6
- {
7
- "indexed": true,
8
- "internalType": "address",
9
- "name": "owner",
10
- "type": "address"
11
- },
12
- {
13
- "indexed": true,
14
- "internalType": "address",
15
- "name": "spender",
16
- "type": "address"
17
- },
18
- {
19
- "indexed": false,
20
- "internalType": "uint256",
21
- "name": "amount",
22
- "type": "uint256"
23
- }
24
- ],
25
- "name": "Approval",
26
- "type": "event"
27
- },
28
- {
29
- "anonymous": false,
30
- "inputs": [
31
- {
32
- "indexed": true,
33
- "internalType": "address",
34
- "name": "sender",
35
- "type": "address"
36
- },
37
- {
38
- "indexed": false,
39
- "internalType": "uint256",
40
- "name": "amount0",
41
- "type": "uint256"
42
- },
43
- {
44
- "indexed": false,
45
- "internalType": "uint256",
46
- "name": "amount1",
47
- "type": "uint256"
48
- },
49
- {
50
- "indexed": true,
51
- "internalType": "address",
52
- "name": "to",
53
- "type": "address"
54
- }
55
- ],
56
- "name": "Burn",
57
- "type": "event"
58
- },
59
- {
60
- "anonymous": false,
61
- "inputs": [
62
- {
63
- "indexed": true,
64
- "internalType": "address",
65
- "name": "sender",
66
- "type": "address"
67
- },
68
- {
69
- "indexed": true,
70
- "internalType": "address",
71
- "name": "recipient",
72
- "type": "address"
73
- },
74
- {
75
- "indexed": false,
76
- "internalType": "uint256",
77
- "name": "amount0",
78
- "type": "uint256"
79
- },
80
- {
81
- "indexed": false,
82
- "internalType": "uint256",
83
- "name": "amount1",
84
- "type": "uint256"
85
- }
86
- ],
87
- "name": "Claim",
88
- "type": "event"
89
- },
90
- {
91
- "anonymous": false,
92
- "inputs": [
93
- {
94
- "indexed": true,
95
- "internalType": "address",
96
- "name": "sender",
97
- "type": "address"
98
- },
99
- {
100
- "indexed": false,
101
- "internalType": "uint256",
102
- "name": "amount0",
103
- "type": "uint256"
104
- },
105
- {
106
- "indexed": false,
107
- "internalType": "uint256",
108
- "name": "amount1",
109
- "type": "uint256"
110
- }
111
- ],
112
- "name": "Fees",
113
- "type": "event"
114
- },
115
- {
116
- "anonymous": false,
117
- "inputs": [
118
- {
119
- "indexed": true,
120
- "internalType": "address",
121
- "name": "sender",
122
- "type": "address"
123
- },
124
- {
125
- "indexed": false,
126
- "internalType": "uint256",
127
- "name": "amount0",
128
- "type": "uint256"
129
- },
130
- {
131
- "indexed": false,
132
- "internalType": "uint256",
133
- "name": "amount1",
134
- "type": "uint256"
135
- }
136
- ],
137
- "name": "Mint",
138
- "type": "event"
139
- },
140
- {
141
- "anonymous": false,
142
- "inputs": [
143
- {
144
- "indexed": true,
145
- "internalType": "address",
146
- "name": "sender",
147
- "type": "address"
148
- },
149
- {
150
- "indexed": false,
151
- "internalType": "uint256",
152
- "name": "amount0In",
153
- "type": "uint256"
154
- },
155
- {
156
- "indexed": false,
157
- "internalType": "uint256",
158
- "name": "amount1In",
159
- "type": "uint256"
160
- },
161
- {
162
- "indexed": false,
163
- "internalType": "uint256",
164
- "name": "amount0Out",
165
- "type": "uint256"
166
- },
167
- {
168
- "indexed": false,
169
- "internalType": "uint256",
170
- "name": "amount1Out",
171
- "type": "uint256"
172
- },
173
- {
174
- "indexed": true,
175
- "internalType": "address",
176
- "name": "to",
177
- "type": "address"
178
- }
179
- ],
180
- "name": "Swap",
181
- "type": "event"
182
- },
183
- {
184
- "anonymous": false,
185
- "inputs": [
186
- {
187
- "indexed": false,
188
- "internalType": "uint256",
189
- "name": "reserve0",
190
- "type": "uint256"
191
- },
192
- {
193
- "indexed": false,
194
- "internalType": "uint256",
195
- "name": "reserve1",
196
- "type": "uint256"
197
- }
198
- ],
199
- "name": "Sync",
200
- "type": "event"
201
- },
202
- {
203
- "anonymous": false,
204
- "inputs": [
205
- {
206
- "indexed": true,
207
- "internalType": "address",
208
- "name": "from",
209
- "type": "address"
210
- },
211
- {
212
- "indexed": true,
213
- "internalType": "address",
214
- "name": "to",
215
- "type": "address"
216
- },
217
- {
218
- "indexed": false,
219
- "internalType": "uint256",
220
- "name": "amount",
221
- "type": "uint256"
222
- }
223
- ],
224
- "name": "Transfer",
225
- "type": "event"
226
- },
227
- {
228
- "inputs": [
229
- { "internalType": "address", "name": "", "type": "address" },
230
- { "internalType": "address", "name": "", "type": "address" }
231
- ],
232
- "name": "allowance",
233
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
234
- "stateMutability": "view",
235
- "type": "function"
236
- },
237
- {
238
- "inputs": [
239
- { "internalType": "address", "name": "spender", "type": "address" },
240
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
241
- ],
242
- "name": "approve",
243
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
244
- "stateMutability": "nonpayable",
245
- "type": "function"
246
- },
247
- {
248
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
249
- "name": "balanceOf",
250
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
251
- "stateMutability": "view",
252
- "type": "function"
253
- },
254
- {
255
- "inputs": [],
256
- "name": "blockTimestampLast",
257
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
258
- "stateMutability": "view",
259
- "type": "function"
260
- },
261
- {
262
- "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
263
- "name": "burn",
264
- "outputs": [
265
- { "internalType": "uint256", "name": "amount0", "type": "uint256" },
266
- { "internalType": "uint256", "name": "amount1", "type": "uint256" }
267
- ],
268
- "stateMutability": "nonpayable",
269
- "type": "function"
270
- },
271
- {
272
- "inputs": [],
273
- "name": "claimFees",
274
- "outputs": [
275
- { "internalType": "uint256", "name": "claimed0", "type": "uint256" },
276
- { "internalType": "uint256", "name": "claimed1", "type": "uint256" }
277
- ],
278
- "stateMutability": "nonpayable",
279
- "type": "function"
280
- },
281
- {
282
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
283
- "name": "claimable0",
284
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
285
- "stateMutability": "view",
286
- "type": "function"
287
- },
288
- {
289
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
290
- "name": "claimable1",
291
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
292
- "stateMutability": "view",
293
- "type": "function"
294
- },
295
- {
296
- "inputs": [
297
- { "internalType": "address", "name": "tokenIn", "type": "address" },
298
- { "internalType": "uint256", "name": "amountIn", "type": "uint256" }
299
- ],
300
- "name": "current",
301
- "outputs": [
302
- { "internalType": "uint256", "name": "amountOut", "type": "uint256" }
303
- ],
304
- "stateMutability": "view",
305
- "type": "function"
306
- },
307
- {
308
- "inputs": [],
309
- "name": "currentCumulativePrices",
310
- "outputs": [
311
- {
312
- "internalType": "uint256",
313
- "name": "reserve0Cumulative",
314
- "type": "uint256"
315
- },
316
- {
317
- "internalType": "uint256",
318
- "name": "reserve1Cumulative",
319
- "type": "uint256"
320
- },
321
- { "internalType": "uint256", "name": "blockTimestamp", "type": "uint256" }
322
- ],
323
- "stateMutability": "view",
324
- "type": "function"
325
- },
326
- {
327
- "inputs": [],
328
- "name": "decimals",
329
- "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
330
- "stateMutability": "view",
331
- "type": "function"
332
- },
333
- {
334
- "inputs": [],
335
- "name": "fees",
336
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
337
- "stateMutability": "view",
338
- "type": "function"
339
- },
340
- {
341
- "inputs": [
342
- { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
343
- { "internalType": "address", "name": "tokenIn", "type": "address" }
344
- ],
345
- "name": "getAmountOut",
346
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
347
- "stateMutability": "view",
348
- "type": "function"
349
- },
350
- {
351
- "inputs": [],
352
- "name": "getReserves",
353
- "outputs": [
354
- { "internalType": "uint256", "name": "_reserve0", "type": "uint256" },
355
- { "internalType": "uint256", "name": "_reserve1", "type": "uint256" },
356
- {
357
- "internalType": "uint256",
358
- "name": "_blockTimestampLast",
359
- "type": "uint256"
360
- }
361
- ],
362
- "stateMutability": "view",
363
- "type": "function"
364
- },
365
- {
366
- "inputs": [],
367
- "name": "index0",
368
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
369
- "stateMutability": "view",
370
- "type": "function"
371
- },
372
- {
373
- "inputs": [],
374
- "name": "index1",
375
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
376
- "stateMutability": "view",
377
- "type": "function"
378
- },
379
- {
380
- "inputs": [],
381
- "name": "lastObservation",
382
- "outputs": [
383
- {
384
- "components": [
385
- { "internalType": "uint256", "name": "timestamp", "type": "uint256" },
386
- {
387
- "internalType": "uint256",
388
- "name": "reserve0Cumulative",
389
- "type": "uint256"
390
- },
391
- {
392
- "internalType": "uint256",
393
- "name": "reserve1Cumulative",
394
- "type": "uint256"
395
- }
396
- ],
397
- "internalType": "struct BaseV1Pair.Observation",
398
- "name": "",
399
- "type": "tuple"
400
- }
401
- ],
402
- "stateMutability": "view",
403
- "type": "function"
404
- },
405
- {
406
- "inputs": [],
407
- "name": "metadata",
408
- "outputs": [
409
- { "internalType": "uint256", "name": "dec0", "type": "uint256" },
410
- { "internalType": "uint256", "name": "dec1", "type": "uint256" },
411
- { "internalType": "uint256", "name": "r0", "type": "uint256" },
412
- { "internalType": "uint256", "name": "r1", "type": "uint256" },
413
- { "internalType": "bool", "name": "st", "type": "bool" },
414
- { "internalType": "address", "name": "t0", "type": "address" },
415
- { "internalType": "address", "name": "t1", "type": "address" }
416
- ],
417
- "stateMutability": "view",
418
- "type": "function"
419
- },
420
- {
421
- "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
422
- "name": "mint",
423
- "outputs": [
424
- { "internalType": "uint256", "name": "liquidity", "type": "uint256" }
425
- ],
426
- "stateMutability": "nonpayable",
427
- "type": "function"
428
- },
429
- {
430
- "inputs": [],
431
- "name": "name",
432
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
433
- "stateMutability": "view",
434
- "type": "function"
435
- },
436
- {
437
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
438
- "name": "nonces",
439
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
440
- "stateMutability": "view",
441
- "type": "function"
442
- },
443
- {
444
- "inputs": [],
445
- "name": "observationLength",
446
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
447
- "stateMutability": "view",
448
- "type": "function"
449
- },
450
- {
451
- "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
452
- "name": "observations",
453
- "outputs": [
454
- { "internalType": "uint256", "name": "timestamp", "type": "uint256" },
455
- {
456
- "internalType": "uint256",
457
- "name": "reserve0Cumulative",
458
- "type": "uint256"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "reserve1Cumulative",
463
- "type": "uint256"
464
- }
465
- ],
466
- "stateMutability": "view",
467
- "type": "function"
468
- },
469
- {
470
- "inputs": [
471
- { "internalType": "address", "name": "owner", "type": "address" },
472
- { "internalType": "address", "name": "spender", "type": "address" },
473
- { "internalType": "uint256", "name": "value", "type": "uint256" },
474
- { "internalType": "uint256", "name": "deadline", "type": "uint256" },
475
- { "internalType": "uint8", "name": "v", "type": "uint8" },
476
- { "internalType": "bytes32", "name": "r", "type": "bytes32" },
477
- { "internalType": "bytes32", "name": "s", "type": "bytes32" }
478
- ],
479
- "name": "permit",
480
- "outputs": [],
481
- "stateMutability": "nonpayable",
482
- "type": "function"
483
- },
484
- {
485
- "inputs": [
486
- { "internalType": "address", "name": "tokenIn", "type": "address" },
487
- { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
488
- { "internalType": "uint256", "name": "points", "type": "uint256" }
489
- ],
490
- "name": "prices",
491
- "outputs": [
492
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
493
- ],
494
- "stateMutability": "view",
495
- "type": "function"
496
- },
497
- {
498
- "inputs": [
499
- { "internalType": "address", "name": "tokenIn", "type": "address" },
500
- { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
501
- { "internalType": "uint256", "name": "granularity", "type": "uint256" }
502
- ],
503
- "name": "quote",
504
- "outputs": [
505
- { "internalType": "uint256", "name": "amountOut", "type": "uint256" }
506
- ],
507
- "stateMutability": "view",
508
- "type": "function"
509
- },
510
- {
511
- "inputs": [],
512
- "name": "reserve0",
513
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
514
- "stateMutability": "view",
515
- "type": "function"
516
- },
517
- {
518
- "inputs": [],
519
- "name": "reserve0CumulativeLast",
520
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
521
- "stateMutability": "view",
522
- "type": "function"
523
- },
524
- {
525
- "inputs": [],
526
- "name": "reserve1",
527
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
528
- "stateMutability": "view",
529
- "type": "function"
530
- },
531
- {
532
- "inputs": [],
533
- "name": "reserve1CumulativeLast",
534
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
535
- "stateMutability": "view",
536
- "type": "function"
537
- },
538
- {
539
- "inputs": [
540
- { "internalType": "address", "name": "tokenIn", "type": "address" },
541
- { "internalType": "uint256", "name": "amountIn", "type": "uint256" },
542
- { "internalType": "uint256", "name": "points", "type": "uint256" },
543
- { "internalType": "uint256", "name": "window", "type": "uint256" }
544
- ],
545
- "name": "sample",
546
- "outputs": [
547
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
548
- ],
549
- "stateMutability": "view",
550
- "type": "function"
551
- },
552
- {
553
- "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
554
- "name": "skim",
555
- "outputs": [],
556
- "stateMutability": "nonpayable",
557
- "type": "function"
558
- },
559
- {
560
- "inputs": [],
561
- "name": "stable",
562
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
563
- "stateMutability": "view",
564
- "type": "function"
565
- },
566
- {
567
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
568
- "name": "supplyIndex0",
569
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
570
- "stateMutability": "view",
571
- "type": "function"
572
- },
573
- {
574
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
575
- "name": "supplyIndex1",
576
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
577
- "stateMutability": "view",
578
- "type": "function"
579
- },
580
- {
581
- "inputs": [
582
- { "internalType": "uint256", "name": "amount0Out", "type": "uint256" },
583
- { "internalType": "uint256", "name": "amount1Out", "type": "uint256" },
584
- { "internalType": "address", "name": "to", "type": "address" },
585
- { "internalType": "bytes", "name": "data", "type": "bytes" }
586
- ],
587
- "name": "swap",
588
- "outputs": [],
589
- "stateMutability": "nonpayable",
590
- "type": "function"
591
- },
592
- {
593
- "inputs": [],
594
- "name": "symbol",
595
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
596
- "stateMutability": "view",
597
- "type": "function"
598
- },
599
- {
600
- "inputs": [],
601
- "name": "sync",
602
- "outputs": [],
603
- "stateMutability": "nonpayable",
604
- "type": "function"
605
- },
606
- {
607
- "inputs": [],
608
- "name": "token0",
609
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
610
- "stateMutability": "view",
611
- "type": "function"
612
- },
613
- {
614
- "inputs": [],
615
- "name": "token1",
616
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
617
- "stateMutability": "view",
618
- "type": "function"
619
- },
620
- {
621
- "inputs": [],
622
- "name": "tokens",
623
- "outputs": [
624
- { "internalType": "address", "name": "", "type": "address" },
625
- { "internalType": "address", "name": "", "type": "address" }
626
- ],
627
- "stateMutability": "view",
628
- "type": "function"
629
- },
630
- {
631
- "inputs": [],
632
- "name": "totalSupply",
633
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
634
- "stateMutability": "view",
635
- "type": "function"
636
- },
637
- {
638
- "inputs": [
639
- { "internalType": "address", "name": "dst", "type": "address" },
640
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
641
- ],
642
- "name": "transfer",
643
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
644
- "stateMutability": "nonpayable",
645
- "type": "function"
646
- },
647
- {
648
- "inputs": [
649
- { "internalType": "address", "name": "src", "type": "address" },
650
- { "internalType": "address", "name": "dst", "type": "address" },
651
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
652
- ],
653
- "name": "transferFrom",
654
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
655
- "stateMutability": "nonpayable",
656
- "type": "function"
657
- }
658
- ]