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