@paraswap/dex-lib 4.7.26 → 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 (339) 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/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,313 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "name": "BASIS_POINTS_DIVISOR",
5
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
6
- "stateMutability": "view",
7
- "type": "function"
8
- },
9
- {
10
- "inputs": [],
11
- "name": "POSITION_PROPS_LENGTH",
12
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
13
- "stateMutability": "view",
14
- "type": "function"
15
- },
16
- {
17
- "inputs": [],
18
- "name": "PRICE_PRECISION",
19
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
20
- "stateMutability": "view",
21
- "type": "function"
22
- },
23
- {
24
- "inputs": [],
25
- "name": "USDQ_DECIMALS",
26
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
27
- "stateMutability": "view",
28
- "type": "function"
29
- },
30
- {
31
- "inputs": [
32
- {
33
- "internalType": "contract IVault",
34
- "name": "_vault",
35
- "type": "address"
36
- },
37
- { "internalType": "address", "name": "_tokenIn", "type": "address" },
38
- { "internalType": "address", "name": "_tokenOut", "type": "address" },
39
- { "internalType": "uint256", "name": "_amountIn", "type": "uint256" }
40
- ],
41
- "name": "getAmountOut",
42
- "outputs": [
43
- { "internalType": "uint256", "name": "", "type": "uint256" },
44
- { "internalType": "uint256", "name": "", "type": "uint256" }
45
- ],
46
- "stateMutability": "view",
47
- "type": "function"
48
- },
49
- {
50
- "inputs": [
51
- {
52
- "internalType": "contract IVault",
53
- "name": "_vault",
54
- "type": "address"
55
- },
56
- { "internalType": "address", "name": "_tokenIn", "type": "address" },
57
- { "internalType": "address", "name": "_tokenOut", "type": "address" },
58
- { "internalType": "uint256", "name": "_amountIn", "type": "uint256" }
59
- ],
60
- "name": "getFeeBasisPoints",
61
- "outputs": [
62
- { "internalType": "uint256", "name": "", "type": "uint256" },
63
- { "internalType": "uint256", "name": "", "type": "uint256" },
64
- { "internalType": "uint256", "name": "", "type": "uint256" }
65
- ],
66
- "stateMutability": "view",
67
- "type": "function"
68
- },
69
- {
70
- "inputs": [
71
- { "internalType": "address", "name": "_vault", "type": "address" },
72
- { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
73
- ],
74
- "name": "getFees",
75
- "outputs": [
76
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
77
- ],
78
- "stateMutability": "view",
79
- "type": "function"
80
- },
81
- {
82
- "inputs": [
83
- { "internalType": "address", "name": "_vault", "type": "address" },
84
- { "internalType": "address", "name": "_weth", "type": "address" },
85
- { "internalType": "uint256", "name": "_usdqAmount", "type": "uint256" },
86
- { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
87
- ],
88
- "name": "getFullVaultTokenInfo",
89
- "outputs": [
90
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
91
- ],
92
- "stateMutability": "view",
93
- "type": "function"
94
- },
95
- {
96
- "inputs": [
97
- { "internalType": "address", "name": "_vault", "type": "address" },
98
- { "internalType": "address", "name": "_weth", "type": "address" },
99
- { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
100
- ],
101
- "name": "getFundingRates",
102
- "outputs": [
103
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
104
- ],
105
- "stateMutability": "view",
106
- "type": "function"
107
- },
108
- {
109
- "inputs": [
110
- {
111
- "internalType": "contract IVault",
112
- "name": "_vault",
113
- "type": "address"
114
- },
115
- { "internalType": "address", "name": "_tokenIn", "type": "address" },
116
- { "internalType": "address", "name": "_tokenOut", "type": "address" }
117
- ],
118
- "name": "getMaxAmountIn",
119
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
120
- "stateMutability": "view",
121
- "type": "function"
122
- },
123
- {
124
- "inputs": [
125
- { "internalType": "address", "name": "_vault", "type": "address" },
126
- { "internalType": "address", "name": "_account", "type": "address" },
127
- {
128
- "internalType": "address[]",
129
- "name": "_collateralTokens",
130
- "type": "address[]"
131
- },
132
- {
133
- "internalType": "address[]",
134
- "name": "_indexTokens",
135
- "type": "address[]"
136
- },
137
- { "internalType": "bool[]", "name": "_isLong", "type": "bool[]" }
138
- ],
139
- "name": "getPositions",
140
- "outputs": [
141
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
142
- ],
143
- "stateMutability": "view",
144
- "type": "function"
145
- },
146
- {
147
- "inputs": [
148
- {
149
- "internalType": "contract IVaultPriceFeed",
150
- "name": "_priceFeed",
151
- "type": "address"
152
- },
153
- { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
154
- ],
155
- "name": "getPrices",
156
- "outputs": [
157
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
158
- ],
159
- "stateMutability": "view",
160
- "type": "function"
161
- },
162
- {
163
- "inputs": [
164
- { "internalType": "address", "name": "_account", "type": "address" },
165
- {
166
- "internalType": "address[]",
167
- "name": "_yieldTrackers",
168
- "type": "address[]"
169
- }
170
- ],
171
- "name": "getStakingInfo",
172
- "outputs": [
173
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
174
- ],
175
- "stateMutability": "view",
176
- "type": "function"
177
- },
178
- {
179
- "inputs": [
180
- { "internalType": "address", "name": "_account", "type": "address" },
181
- { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
182
- ],
183
- "name": "getTokenBalances",
184
- "outputs": [
185
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
186
- ],
187
- "stateMutability": "view",
188
- "type": "function"
189
- },
190
- {
191
- "inputs": [
192
- { "internalType": "address", "name": "_account", "type": "address" },
193
- { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
194
- ],
195
- "name": "getTokenBalancesWithSupplies",
196
- "outputs": [
197
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
198
- ],
199
- "stateMutability": "view",
200
- "type": "function"
201
- },
202
- {
203
- "inputs": [
204
- {
205
- "internalType": "contract IERC20",
206
- "name": "_token",
207
- "type": "address"
208
- },
209
- {
210
- "internalType": "address[]",
211
- "name": "_excludedAccounts",
212
- "type": "address[]"
213
- }
214
- ],
215
- "name": "getTokenSupply",
216
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
217
- "stateMutability": "view",
218
- "type": "function"
219
- },
220
- {
221
- "inputs": [
222
- {
223
- "internalType": "contract IERC20",
224
- "name": "_token",
225
- "type": "address"
226
- },
227
- { "internalType": "address[]", "name": "_accounts", "type": "address[]" }
228
- ],
229
- "name": "getTotalBalance",
230
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
231
- "stateMutability": "view",
232
- "type": "function"
233
- },
234
- {
235
- "inputs": [
236
- {
237
- "internalType": "address[]",
238
- "name": "_yieldTokens",
239
- "type": "address[]"
240
- }
241
- ],
242
- "name": "getTotalStaked",
243
- "outputs": [
244
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
245
- ],
246
- "stateMutability": "view",
247
- "type": "function"
248
- },
249
- {
250
- "inputs": [
251
- { "internalType": "address", "name": "_vault", "type": "address" },
252
- { "internalType": "address", "name": "_weth", "type": "address" },
253
- { "internalType": "uint256", "name": "_usdqAmount", "type": "uint256" },
254
- { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
255
- ],
256
- "name": "getVaultTokenInfo",
257
- "outputs": [
258
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
259
- ],
260
- "stateMutability": "view",
261
- "type": "function"
262
- },
263
- {
264
- "inputs": [
265
- { "internalType": "address", "name": "_vault", "type": "address" },
266
- { "internalType": "address", "name": "_weth", "type": "address" },
267
- { "internalType": "uint256", "name": "_usdqAmount", "type": "uint256" },
268
- { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
269
- ],
270
- "name": "getVaultTokenInfoV2",
271
- "outputs": [
272
- { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
273
- ],
274
- "stateMutability": "view",
275
- "type": "function"
276
- },
277
- {
278
- "inputs": [],
279
- "name": "gov",
280
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
281
- "stateMutability": "view",
282
- "type": "function"
283
- },
284
- {
285
- "inputs": [],
286
- "name": "hasMaxGlobalShortSizes",
287
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
288
- "stateMutability": "view",
289
- "type": "function"
290
- },
291
- {
292
- "inputs": [
293
- {
294
- "internalType": "bool",
295
- "name": "_hasMaxGlobalShortSizes",
296
- "type": "bool"
297
- }
298
- ],
299
- "name": "setConfig",
300
- "outputs": [],
301
- "stateMutability": "nonpayable",
302
- "type": "function"
303
- },
304
- {
305
- "inputs": [
306
- { "internalType": "address", "name": "_gov", "type": "address" }
307
- ],
308
- "name": "setGov",
309
- "outputs": [],
310
- "stateMutability": "nonpayable",
311
- "type": "function"
312
- }
313
- ]
@@ -1,323 +0,0 @@
1
- [
2
- { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" },
3
- {
4
- "inputs": [],
5
- "name": "BASIS_POINTS_DIVISOR",
6
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
7
- "stateMutability": "view",
8
- "type": "function"
9
- },
10
- {
11
- "inputs": [],
12
- "name": "MAX_ADJUSTMENT_BASIS_POINTS",
13
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
14
- "stateMutability": "view",
15
- "type": "function"
16
- },
17
- {
18
- "inputs": [],
19
- "name": "MAX_ADJUSTMENT_INTERVAL",
20
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
21
- "stateMutability": "view",
22
- "type": "function"
23
- },
24
- {
25
- "inputs": [],
26
- "name": "MAX_SPREAD_BASIS_POINTS",
27
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
28
- "stateMutability": "view",
29
- "type": "function"
30
- },
31
- {
32
- "inputs": [],
33
- "name": "ONE_USD",
34
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
35
- "stateMutability": "view",
36
- "type": "function"
37
- },
38
- {
39
- "inputs": [],
40
- "name": "PRICE_PRECISION",
41
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
42
- "stateMutability": "view",
43
- "type": "function"
44
- },
45
- {
46
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
47
- "name": "adjustmentBasisPoints",
48
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
49
- "stateMutability": "view",
50
- "type": "function"
51
- },
52
- {
53
- "inputs": [],
54
- "name": "expireTimeForPriceFeed",
55
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
56
- "stateMutability": "view",
57
- "type": "function"
58
- },
59
- {
60
- "inputs": [],
61
- "name": "favorPrimaryPrice",
62
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
63
- "stateMutability": "view",
64
- "type": "function"
65
- },
66
- {
67
- "inputs": [
68
- { "internalType": "address", "name": "_token", "type": "address" }
69
- ],
70
- "name": "getLatestPrimaryPrice",
71
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
72
- "stateMutability": "view",
73
- "type": "function"
74
- },
75
- {
76
- "inputs": [
77
- { "internalType": "address", "name": "_token", "type": "address" },
78
- { "internalType": "bool", "name": "_maximise", "type": "bool" },
79
- { "internalType": "bool", "name": "", "type": "bool" },
80
- { "internalType": "bool", "name": "", "type": "bool" }
81
- ],
82
- "name": "getPrice",
83
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
84
- "stateMutability": "view",
85
- "type": "function"
86
- },
87
- {
88
- "inputs": [
89
- { "internalType": "address", "name": "_token", "type": "address" },
90
- { "internalType": "bool", "name": "_maximise", "type": "bool" }
91
- ],
92
- "name": "getPriceV1",
93
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
94
- "stateMutability": "view",
95
- "type": "function"
96
- },
97
- {
98
- "inputs": [
99
- { "internalType": "address", "name": "_token", "type": "address" },
100
- { "internalType": "bool", "name": "", "type": "bool" }
101
- ],
102
- "name": "getPrimaryPrice",
103
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
104
- "stateMutability": "view",
105
- "type": "function"
106
- },
107
- {
108
- "inputs": [
109
- { "internalType": "address", "name": "_token", "type": "address" },
110
- {
111
- "internalType": "uint256",
112
- "name": "_referencePrice",
113
- "type": "uint256"
114
- },
115
- { "internalType": "bool", "name": "_maximise", "type": "bool" }
116
- ],
117
- "name": "getSecondaryPrice",
118
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
119
- "stateMutability": "view",
120
- "type": "function"
121
- },
122
- {
123
- "inputs": [],
124
- "name": "gov",
125
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
126
- "stateMutability": "view",
127
- "type": "function"
128
- },
129
- {
130
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
131
- "name": "isAdjustmentAdditive",
132
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
133
- "stateMutability": "view",
134
- "type": "function"
135
- },
136
- {
137
- "inputs": [],
138
- "name": "isSecondaryPriceEnabled",
139
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
140
- "stateMutability": "view",
141
- "type": "function"
142
- },
143
- {
144
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
145
- "name": "lastAdjustmentTimings",
146
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
147
- "stateMutability": "view",
148
- "type": "function"
149
- },
150
- {
151
- "inputs": [],
152
- "name": "maxStrictPriceDeviation",
153
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
154
- "stateMutability": "view",
155
- "type": "function"
156
- },
157
- {
158
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
159
- "name": "priceDecimals",
160
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
161
- "stateMutability": "view",
162
- "type": "function"
163
- },
164
- {
165
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
166
- "name": "priceFeedProxies",
167
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
168
- "stateMutability": "view",
169
- "type": "function"
170
- },
171
- {
172
- "inputs": [],
173
- "name": "secondaryPriceFeed",
174
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
175
- "stateMutability": "view",
176
- "type": "function"
177
- },
178
- {
179
- "inputs": [
180
- { "internalType": "address", "name": "_token", "type": "address" },
181
- { "internalType": "bool", "name": "_isAdditive", "type": "bool" },
182
- { "internalType": "uint256", "name": "_adjustmentBps", "type": "uint256" }
183
- ],
184
- "name": "setAdjustment",
185
- "outputs": [],
186
- "stateMutability": "nonpayable",
187
- "type": "function"
188
- },
189
- {
190
- "inputs": [
191
- {
192
- "internalType": "uint256",
193
- "name": "_expireTimeForPriceFeed",
194
- "type": "uint256"
195
- }
196
- ],
197
- "name": "setExpireTimeForPriceFeed",
198
- "outputs": [],
199
- "stateMutability": "nonpayable",
200
- "type": "function"
201
- },
202
- {
203
- "inputs": [
204
- { "internalType": "bool", "name": "_favorPrimaryPrice", "type": "bool" }
205
- ],
206
- "name": "setFavorPrimaryPrice",
207
- "outputs": [],
208
- "stateMutability": "nonpayable",
209
- "type": "function"
210
- },
211
- {
212
- "inputs": [
213
- { "internalType": "address", "name": "_gov", "type": "address" }
214
- ],
215
- "name": "setGov",
216
- "outputs": [],
217
- "stateMutability": "nonpayable",
218
- "type": "function"
219
- },
220
- {
221
- "inputs": [
222
- { "internalType": "bool", "name": "_isEnabled", "type": "bool" }
223
- ],
224
- "name": "setIsSecondaryPriceEnabled",
225
- "outputs": [],
226
- "stateMutability": "nonpayable",
227
- "type": "function"
228
- },
229
- {
230
- "inputs": [
231
- {
232
- "internalType": "uint256",
233
- "name": "_maxStrictPriceDeviation",
234
- "type": "uint256"
235
- }
236
- ],
237
- "name": "setMaxStrictPriceDeviation",
238
- "outputs": [],
239
- "stateMutability": "nonpayable",
240
- "type": "function"
241
- },
242
- {
243
- "inputs": [
244
- {
245
- "internalType": "address",
246
- "name": "_secondaryPriceFeed",
247
- "type": "address"
248
- }
249
- ],
250
- "name": "setSecondaryPriceFeed",
251
- "outputs": [],
252
- "stateMutability": "nonpayable",
253
- "type": "function"
254
- },
255
- {
256
- "inputs": [
257
- { "internalType": "address", "name": "_token", "type": "address" },
258
- {
259
- "internalType": "uint256",
260
- "name": "_spreadBasisPoints",
261
- "type": "uint256"
262
- }
263
- ],
264
- "name": "setSpreadBasisPoints",
265
- "outputs": [],
266
- "stateMutability": "nonpayable",
267
- "type": "function"
268
- },
269
- {
270
- "inputs": [
271
- {
272
- "internalType": "uint256",
273
- "name": "_spreadThresholdBasisPoints",
274
- "type": "uint256"
275
- }
276
- ],
277
- "name": "setSpreadThresholdBasisPoints",
278
- "outputs": [],
279
- "stateMutability": "nonpayable",
280
- "type": "function"
281
- },
282
- {
283
- "inputs": [
284
- { "internalType": "address", "name": "_token", "type": "address" },
285
- {
286
- "internalType": "address",
287
- "name": "_priceFeedProxy",
288
- "type": "address"
289
- },
290
- {
291
- "internalType": "uint256",
292
- "name": "_priceDecimals",
293
- "type": "uint256"
294
- },
295
- { "internalType": "bool", "name": "_isStrictStable", "type": "bool" }
296
- ],
297
- "name": "setTokenConfig",
298
- "outputs": [],
299
- "stateMutability": "nonpayable",
300
- "type": "function"
301
- },
302
- {
303
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
304
- "name": "spreadBasisPoints",
305
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
306
- "stateMutability": "view",
307
- "type": "function"
308
- },
309
- {
310
- "inputs": [],
311
- "name": "spreadThresholdBasisPoints",
312
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
313
- "stateMutability": "view",
314
- "type": "function"
315
- },
316
- {
317
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
318
- "name": "strictStableTokens",
319
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
320
- "stateMutability": "view",
321
- "type": "function"
322
- }
323
- ]