@paraswap/dex-lib 2.42.23 → 2.42.24

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 (351) hide show
  1. package/.idea/aws.xml +17 -0
  2. package/.idea/codeStyles/Project.xml +19 -0
  3. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  4. package/.idea/misc.xml +6 -0
  5. package/.idea/modules.xml +8 -0
  6. package/.idea/paraswap-dex-lib.iml +9 -0
  7. package/.idea/prettier.xml +7 -0
  8. package/.idea/vcs.xml +6 -0
  9. package/build/abi/AugustusV6.abi.json +395 -0
  10. package/build/abi/algebra/AlgebraPool.abi.json +727 -0
  11. package/build/abi/curve-v1/StableSwapFRXETH.json +889 -0
  12. package/build/abi/curve-v1/StableSwapWBETH.json +1223 -0
  13. package/build/abi/sushiswap-v3/QuoterV2.json +267 -0
  14. package/build/abi/sushiswap-v3/RouterProcessor3.json +289 -0
  15. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +193 -0
  16. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3QuoterV2.abi.json +285 -0
  17. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3Router.abi.json +583 -0
  18. package/build/abi/wBETH.json +1527 -0
  19. package/build/abi/woo-fi/WooFeeManager.abi.json +318 -0
  20. package/build/abi/woo-fi/WooPP.abi.json +548 -0
  21. package/build/abi/woo-fi/Wooracle.abi.json +260 -0
  22. package/build/dex/aave-v3/tokens/arbitrum.json +50 -0
  23. package/build/dex/aave-v3/tokens/avalanche.json +74 -0
  24. package/build/dex/aave-v3/tokens/fantom.json +62 -0
  25. package/build/dex/aave-v3/tokens/optimism.json +50 -0
  26. package/build/dex/aave-v3/tokens/polygon.json +116 -0
  27. package/build/dex/algebra/algebra-pool.d.ts +114 -0
  28. package/build/dex/algebra/algebra-pool.js +448 -0
  29. package/build/dex/algebra/algebra-pool.js.map +1 -0
  30. package/build/dex/balancer-v2/Gyro3Pool.d.ts +43 -0
  31. package/build/dex/balancer-v2/Gyro3Pool.js +160 -0
  32. package/build/dex/balancer-v2/Gyro3Pool.js.map +1 -0
  33. package/build/dex/balancer-v2/LinearMath.d.ts +88 -0
  34. package/build/dex/balancer-v2/LinearMath.js +285 -0
  35. package/build/dex/balancer-v2/LinearMath.js.map +1 -0
  36. package/build/dex/balancer-v2/LinearPool.d.ts +81 -0
  37. package/build/dex/balancer-v2/LinearPool.js +444 -0
  38. package/build/dex/balancer-v2/LinearPool.js.map +1 -0
  39. package/build/dex/balancer-v2/PhantomStablePool.d.ts +90 -0
  40. package/build/dex/balancer-v2/PhantomStablePool.js +418 -0
  41. package/build/dex/balancer-v2/PhantomStablePool.js.map +1 -0
  42. package/build/dex/balancer-v2/StableMath.d.ts +9 -0
  43. package/build/dex/balancer-v2/StableMath.js +272 -0
  44. package/build/dex/balancer-v2/StableMath.js.map +1 -0
  45. package/build/dex/balancer-v2/balancer-v2-pool.d.ts +140 -0
  46. package/build/dex/balancer-v2/balancer-v2-pool.js +647 -0
  47. package/build/dex/balancer-v2/balancer-v2-pool.js.map +1 -0
  48. package/build/dex/balancer-v2/pools/gyro/Gyro3Pool.d.ts +33 -0
  49. package/build/dex/balancer-v2/pools/gyro/Gyro3Pool.js +128 -0
  50. package/build/dex/balancer-v2/pools/gyro/Gyro3Pool.js.map +1 -0
  51. package/build/dex/balancer-v2/pools/gyro/GyroEPool.d.ts +34 -0
  52. package/build/dex/balancer-v2/pools/gyro/GyroEPool.js +151 -0
  53. package/build/dex/balancer-v2/pools/gyro/GyroEPool.js.map +1 -0
  54. package/build/dex/curve-v1/pools/frxETHpool.d.ts +7 -0
  55. package/build/dex/curve-v1/pools/frxETHpool.js +27 -0
  56. package/build/dex/curve-v1/pools/frxETHpool.js.map +1 -0
  57. package/build/dex/curve-v1/pools/wbETHpool.d.ts +29 -0
  58. package/build/dex/curve-v1/pools/wbETHpool.js +408 -0
  59. package/build/dex/curve-v1/pools/wbETHpool.js.map +1 -0
  60. package/build/dex/dexalot/constants.js +1 -1
  61. package/build/dex/lighter-v1/abi/erc20.json +222 -0
  62. package/build/dex/lighter-v1/abi/factory.json +291 -0
  63. package/build/dex/lighter-v1/abi/order_book.json +594 -0
  64. package/build/dex/lighter-v1/abi/order_book_helper.json +176 -0
  65. package/build/dex/lighter-v1/abi/router.json +488 -0
  66. package/build/dex/{my-test-dex → lighter-v1}/config.d.ts +1 -1
  67. package/build/dex/lighter-v1/config.js +17 -0
  68. package/build/dex/lighter-v1/config.js.map +1 -0
  69. package/build/dex/lighter-v1/constants.d.ts +2 -0
  70. package/build/dex/lighter-v1/constants.js +13 -0
  71. package/build/dex/lighter-v1/constants.js.map +1 -0
  72. package/build/dex/{my-test-dex/my-test-dex-pool.d.ts → lighter-v1/lighter-v1-pool.d.ts} +24 -6
  73. package/build/dex/lighter-v1/lighter-v1-pool.js +310 -0
  74. package/build/dex/lighter-v1/lighter-v1-pool.js.map +1 -0
  75. package/build/dex/{my-test-dex/my-test-dex.d.ts → lighter-v1/lighter-v1.d.ts} +18 -10
  76. package/build/dex/lighter-v1/lighter-v1.js +331 -0
  77. package/build/dex/lighter-v1/lighter-v1.js.map +1 -0
  78. package/build/dex/lighter-v1/types.d.ts +40 -0
  79. package/build/dex/{hello → lighter-v1}/types.js.map +1 -1
  80. package/build/dex/pancakeswap-v3/types.d.ts +14 -0
  81. package/build/dex/{my-test-dex → pancakeswap-v3}/types.js.map +1 -1
  82. package/build/dex/quickswap/camelot-v3.d.ts +6 -0
  83. package/build/dex/quickswap/camelot-v3.js +19 -0
  84. package/build/dex/quickswap/camelot-v3.js.map +1 -0
  85. package/build/dex/quickswap/zyberswap-v3.d.ts +6 -0
  86. package/build/dex/quickswap/zyberswap-v3.js +19 -0
  87. package/build/dex/quickswap/zyberswap-v3.js.map +1 -0
  88. package/build/dex/quickswap-v3.d.ts +21 -0
  89. package/build/dex/quickswap-v3.js +40 -0
  90. package/build/dex/quickswap-v3.js.map +1 -0
  91. package/build/dex/{wombat → ramses-v2}/config.d.ts +1 -1
  92. package/build/dex/ramses-v2/config.js +28 -0
  93. package/build/dex/ramses-v2/config.js.map +1 -0
  94. package/build/dex/{baseswap-v3 → ramses-v2}/constants.d.ts +1 -1
  95. package/build/dex/{baseswap-v3 → ramses-v2}/constants.js +1 -1
  96. package/build/dex/ramses-v2/constants.js.map +1 -0
  97. package/build/dex/ramses-v2/contract-math/BitMath.js.map +1 -0
  98. package/build/dex/ramses-v2/contract-math/FixedPoint128.js.map +1 -0
  99. package/build/dex/ramses-v2/contract-math/FixedPoint96.js.map +1 -0
  100. package/build/dex/ramses-v2/contract-math/FullMath.js.map +1 -0
  101. package/build/dex/ramses-v2/contract-math/LiquidityMath.js.map +1 -0
  102. package/build/dex/ramses-v2/contract-math/Oracle.js.map +1 -0
  103. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js.map +1 -0
  104. package/build/dex/ramses-v2/contract-math/SwapMath.js.map +1 -0
  105. package/build/dex/ramses-v2/contract-math/Tick.d.ts +7 -0
  106. package/build/dex/ramses-v2/contract-math/Tick.js.map +1 -0
  107. package/build/dex/ramses-v2/contract-math/TickBitMap.d.ts +8 -0
  108. package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/TickBitMap.js +3 -0
  109. package/build/dex/ramses-v2/contract-math/TickBitMap.js.map +1 -0
  110. package/build/dex/ramses-v2/contract-math/TickMath.js.map +1 -0
  111. package/build/dex/ramses-v2/contract-math/UnsafeMath.js.map +1 -0
  112. package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/uniswap-v3-math.d.ts +0 -19
  113. package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/uniswap-v3-math.js +1 -2
  114. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js.map +1 -0
  115. package/build/dex/ramses-v2/contract-math/utils.js.map +1 -0
  116. package/build/dex/{baseswap-v3/baseswap-v3-pool.d.ts → ramses-v2/ramses-v2-pool.d.ts} +7 -11
  117. package/build/dex/{baseswap-v3/baseswap-v3-pool.js → ramses-v2/ramses-v2-pool.js} +7 -12
  118. package/build/dex/ramses-v2/ramses-v2-pool.js.map +1 -0
  119. package/build/dex/{baseswap-v3/baseswap-v3.d.ts → ramses-v2/ramses-v2.d.ts} +16 -26
  120. package/build/dex/{baseswap-v3/baseswap-v3.js → ramses-v2/ramses-v2.js} +82 -144
  121. package/build/dex/ramses-v2/ramses-v2.js.map +1 -0
  122. package/build/dex/{baseswap-v3 → ramses-v2}/types.d.ts +7 -17
  123. package/build/dex/ramses-v2/types.js +9 -0
  124. package/build/dex/ramses-v2/types.js.map +1 -0
  125. package/build/dex/{baseswap-v3 → ramses-v2}/utils.js +7 -1
  126. package/build/dex/ramses-v2/utils.js.map +1 -0
  127. package/build/dex/{kyberswap-elastic → sushiswap-v3}/config.d.ts +2 -2
  128. package/build/dex/sushiswap-v3/config.js +132 -0
  129. package/build/dex/sushiswap-v3/config.js.map +1 -0
  130. package/build/dex/sushiswap-v3/constants.d.ts +4 -0
  131. package/build/dex/sushiswap-v3/constants.js +32 -0
  132. package/build/dex/sushiswap-v3/constants.js.map +1 -0
  133. package/build/dex/{kyberswap-elastic/kyberswap-elastic.d.ts → sushiswap-v3/sushiswap-v3-original.d.ts} +31 -28
  134. package/build/dex/{kyberswap-elastic/kyberswap-elastic.js → sushiswap-v3/sushiswap-v3-original.js} +257 -269
  135. package/build/dex/sushiswap-v3/sushiswap-v3-original.js.map +1 -0
  136. package/build/dex/sushiswap-v3/sushiswap-v3-pool.d.ts +1 -0
  137. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js +6 -0
  138. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js.map +1 -0
  139. package/build/dex/sushiswap-v3/sushiswap-v3.d.ts +21 -0
  140. package/build/dex/sushiswap-v3/sushiswap-v3.js +58 -0
  141. package/build/dex/sushiswap-v3/sushiswap-v3.js.map +1 -0
  142. package/build/dex/sushiswap-v3/token.d.ts +6 -0
  143. package/build/dex/sushiswap-v3/token.js +23 -0
  144. package/build/dex/sushiswap-v3/token.js.map +1 -0
  145. package/build/dex/sushiswap-v3/types.d.ts +15 -0
  146. package/build/dex/sushiswap-v3/types.js +18 -0
  147. package/build/dex/sushiswap-v3/types.js.map +1 -0
  148. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.d.ts +12 -0
  149. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js +23 -0
  150. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js.map +1 -0
  151. package/build/dex/{hello → woo-fi}/config.d.ts +1 -1
  152. package/build/dex/woo-fi/config.js +141 -0
  153. package/build/dex/woo-fi/config.js.map +1 -0
  154. package/build/dex/woo-fi/constants.d.ts +5 -0
  155. package/build/dex/woo-fi/constants.js +20 -0
  156. package/build/dex/woo-fi/constants.js.map +1 -0
  157. package/build/dex/woo-fi/types.d.ts +48 -0
  158. package/build/dex/{wombat → woo-fi}/types.js.map +1 -1
  159. package/build/dex/woo-fi/woo-fi-decimal-math.d.ts +14 -0
  160. package/build/dex/woo-fi/woo-fi-decimal-math.js +42 -0
  161. package/build/dex/woo-fi/woo-fi-decimal-math.js.map +1 -0
  162. package/build/dex/woo-fi/woo-fi-math.d.ts +31 -0
  163. package/build/dex/woo-fi/woo-fi-math.js +300 -0
  164. package/build/dex/woo-fi/woo-fi-math.js.map +1 -0
  165. package/build/dex/woo-fi/woo-fi.d.ts +65 -0
  166. package/build/dex/woo-fi/woo-fi.js +480 -0
  167. package/build/dex/woo-fi/woo-fi.js.map +1 -0
  168. package/build/executor/Executor01BytecodeBuilder.d.ts +77 -0
  169. package/build/executor/Executor01BytecodeBuilder.js +359 -0
  170. package/build/executor/Executor01BytecodeBuilder.js.map +1 -0
  171. package/build/executor/Executor02BytecodeBuilder.d.ts +12 -0
  172. package/build/executor/Executor02BytecodeBuilder.js +14 -0
  173. package/build/executor/Executor02BytecodeBuilder.js.map +1 -0
  174. package/build/executor/ExecutorDetector.d.ts +28 -0
  175. package/build/executor/ExecutorDetector.js +89 -0
  176. package/build/executor/ExecutorDetector.js.map +1 -0
  177. package/build/executor/IExecutorBytecodeBuilder.d.ts +6 -0
  178. package/build/executor/IExecutorBytecodeBuilder.js +3 -0
  179. package/build/executor/IExecutorBytecodeBuilder.js.map +1 -0
  180. package/build/generic-swap-transaction-builder.d.ts +39 -0
  181. package/build/generic-swap-transaction-builder.js +156 -0
  182. package/build/generic-swap-transaction-builder.js.map +1 -0
  183. package/package.json +1 -1
  184. package/src/dex/dexalot/constants.ts +1 -1
  185. package/build/abi/kyberswap-elastic/IAntiSnipAttackPositionManager.json +0 -1276
  186. package/build/abi/kyberswap-elastic/IFactory.json +0 -550
  187. package/build/abi/kyberswap-elastic/IPool.json +0 -1042
  188. package/build/abi/kyberswap-elastic/IQuoterV2.json +0 -226
  189. package/build/abi/kyberswap-elastic/IRouter.json +0 -239
  190. package/build/abi/kyberswap-elastic/TicksFeesReader.json +0 -142
  191. package/build/abi/wombat/asset.json +0 -769
  192. package/build/abi/wombat/bmw.json +0 -1247
  193. package/build/abi/wombat/pool.json +0 -1364
  194. package/build/dex/baseswap-v3/baseswap-v3-factory.d.ts +0 -26
  195. package/build/dex/baseswap-v3/baseswap-v3-factory.js +0 -44
  196. package/build/dex/baseswap-v3/baseswap-v3-factory.js.map +0 -1
  197. package/build/dex/baseswap-v3/baseswap-v3-pool.js.map +0 -1
  198. package/build/dex/baseswap-v3/baseswap-v3.js.map +0 -1
  199. package/build/dex/baseswap-v3/config.d.ts +0 -9
  200. package/build/dex/baseswap-v3/config.js +0 -48
  201. package/build/dex/baseswap-v3/config.js.map +0 -1
  202. package/build/dex/baseswap-v3/constants.js.map +0 -1
  203. package/build/dex/baseswap-v3/contract-math/BitMath.js.map +0 -1
  204. package/build/dex/baseswap-v3/contract-math/FixedPoint128.js.map +0 -1
  205. package/build/dex/baseswap-v3/contract-math/FixedPoint96.js.map +0 -1
  206. package/build/dex/baseswap-v3/contract-math/FullMath.js.map +0 -1
  207. package/build/dex/baseswap-v3/contract-math/LiquidityMath.js.map +0 -1
  208. package/build/dex/baseswap-v3/contract-math/Oracle.js.map +0 -1
  209. package/build/dex/baseswap-v3/contract-math/SqrtPriceMath.js.map +0 -1
  210. package/build/dex/baseswap-v3/contract-math/SwapMath.js.map +0 -1
  211. package/build/dex/baseswap-v3/contract-math/Tick.d.ts +0 -7
  212. package/build/dex/baseswap-v3/contract-math/Tick.js.map +0 -1
  213. package/build/dex/baseswap-v3/contract-math/TickBitMap.d.ts +0 -7
  214. package/build/dex/baseswap-v3/contract-math/TickBitMap.js.map +0 -1
  215. package/build/dex/baseswap-v3/contract-math/TickMath.js.map +0 -1
  216. package/build/dex/baseswap-v3/contract-math/UnsafeMath.js.map +0 -1
  217. package/build/dex/baseswap-v3/contract-math/uniswap-v3-math.js.map +0 -1
  218. package/build/dex/baseswap-v3/contract-math/utils.d.ts +0 -7
  219. package/build/dex/baseswap-v3/contract-math/utils.js +0 -42
  220. package/build/dex/baseswap-v3/contract-math/utils.js.map +0 -1
  221. package/build/dex/baseswap-v3/types.js +0 -9
  222. package/build/dex/baseswap-v3/types.js.map +0 -1
  223. package/build/dex/baseswap-v3/utils.js.map +0 -1
  224. package/build/dex/hello/config.js +0 -15
  225. package/build/dex/hello/config.js.map +0 -1
  226. package/build/dex/hello/hello-pool.d.ts +0 -39
  227. package/build/dex/hello/hello-pool.js +0 -64
  228. package/build/dex/hello/hello-pool.js.map +0 -1
  229. package/build/dex/hello/hello.d.ts +0 -37
  230. package/build/dex/hello/hello.js +0 -126
  231. package/build/dex/hello/hello.js.map +0 -1
  232. package/build/dex/hello/types.d.ts +0 -6
  233. package/build/dex/kyberswap-elastic/config.js +0 -80
  234. package/build/dex/kyberswap-elastic/config.js.map +0 -1
  235. package/build/dex/kyberswap-elastic/constants.d.ts +0 -17
  236. package/build/dex/kyberswap-elastic/constants.js +0 -42
  237. package/build/dex/kyberswap-elastic/constants.js.map +0 -1
  238. package/build/dex/kyberswap-elastic/contract-math/FixedPoint96.d.ts +0 -4
  239. package/build/dex/kyberswap-elastic/contract-math/FixedPoint96.js +0 -9
  240. package/build/dex/kyberswap-elastic/contract-math/FixedPoint96.js.map +0 -1
  241. package/build/dex/kyberswap-elastic/contract-math/FullMath.d.ts +0 -5
  242. package/build/dex/kyberswap-elastic/contract-math/FullMath.js +0 -22
  243. package/build/dex/kyberswap-elastic/contract-math/FullMath.js.map +0 -1
  244. package/build/dex/kyberswap-elastic/contract-math/LiqDeltaMath.d.ts +0 -3
  245. package/build/dex/kyberswap-elastic/contract-math/LiqDeltaMath.js +0 -12
  246. package/build/dex/kyberswap-elastic/contract-math/LiqDeltaMath.js.map +0 -1
  247. package/build/dex/kyberswap-elastic/contract-math/LiquidityMath.d.ts +0 -3
  248. package/build/dex/kyberswap-elastic/contract-math/LiquidityMath.js +0 -22
  249. package/build/dex/kyberswap-elastic/contract-math/LiquidityMath.js.map +0 -1
  250. package/build/dex/kyberswap-elastic/contract-math/QtyDeltaMath.d.ts +0 -5
  251. package/build/dex/kyberswap-elastic/contract-math/QtyDeltaMath.js +0 -25
  252. package/build/dex/kyberswap-elastic/contract-math/QtyDeltaMath.js.map +0 -1
  253. package/build/dex/kyberswap-elastic/contract-math/QuadMath.d.ts +0 -4
  254. package/build/dex/kyberswap-elastic/contract-math/QuadMath.js +0 -27
  255. package/build/dex/kyberswap-elastic/contract-math/QuadMath.js.map +0 -1
  256. package/build/dex/kyberswap-elastic/contract-math/ReinvestmentMath.d.ts +0 -3
  257. package/build/dex/kyberswap-elastic/contract-math/ReinvestmentMath.js +0 -14
  258. package/build/dex/kyberswap-elastic/contract-math/ReinvestmentMath.js.map +0 -1
  259. package/build/dex/kyberswap-elastic/contract-math/SafeCast.d.ts +0 -8
  260. package/build/dex/kyberswap-elastic/contract-math/SafeCast.js +0 -30
  261. package/build/dex/kyberswap-elastic/contract-math/SafeCast.js.map +0 -1
  262. package/build/dex/kyberswap-elastic/contract-math/SqrtPriceMath.d.ts +0 -10
  263. package/build/dex/kyberswap-elastic/contract-math/SqrtPriceMath.js +0 -91
  264. package/build/dex/kyberswap-elastic/contract-math/SqrtPriceMath.js.map +0 -1
  265. package/build/dex/kyberswap-elastic/contract-math/SwapMath.d.ts +0 -13
  266. package/build/dex/kyberswap-elastic/contract-math/SwapMath.js +0 -188
  267. package/build/dex/kyberswap-elastic/contract-math/SwapMath.js.map +0 -1
  268. package/build/dex/kyberswap-elastic/contract-math/TickLinkedList.d.ts +0 -6
  269. package/build/dex/kyberswap-elastic/contract-math/TickLinkedList.js +0 -41
  270. package/build/dex/kyberswap-elastic/contract-math/TickLinkedList.js.map +0 -1
  271. package/build/dex/kyberswap-elastic/contract-math/TickMath.d.ts +0 -9
  272. package/build/dex/kyberswap-elastic/contract-math/TickMath.js +0 -165
  273. package/build/dex/kyberswap-elastic/contract-math/TickMath.js.map +0 -1
  274. package/build/dex/kyberswap-elastic/contract-math/UnsafeMath.d.ts +0 -3
  275. package/build/dex/kyberswap-elastic/contract-math/UnsafeMath.js +0 -10
  276. package/build/dex/kyberswap-elastic/contract-math/UnsafeMath.js.map +0 -1
  277. package/build/dex/kyberswap-elastic/contract-math/kyberswap-elastic-math.d.ts +0 -28
  278. package/build/dex/kyberswap-elastic/contract-math/kyberswap-elastic-math.js +0 -502
  279. package/build/dex/kyberswap-elastic/contract-math/kyberswap-elastic-math.js.map +0 -1
  280. package/build/dex/kyberswap-elastic/contract-math/utils.js.map +0 -1
  281. package/build/dex/kyberswap-elastic/errors.d.ts +0 -2
  282. package/build/dex/kyberswap-elastic/errors.js +0 -6
  283. package/build/dex/kyberswap-elastic/errors.js.map +0 -1
  284. package/build/dex/kyberswap-elastic/kyberswap-elastic-pool.d.ts +0 -80
  285. package/build/dex/kyberswap-elastic/kyberswap-elastic-pool.js +0 -458
  286. package/build/dex/kyberswap-elastic/kyberswap-elastic-pool.js.map +0 -1
  287. package/build/dex/kyberswap-elastic/kyberswap-elastic.js.map +0 -1
  288. package/build/dex/kyberswap-elastic/types.d.ts +0 -134
  289. package/build/dex/kyberswap-elastic/types.js +0 -9
  290. package/build/dex/kyberswap-elastic/types.js.map +0 -1
  291. package/build/dex/kyberswap-elastic/utils/decoders.d.ts +0 -9
  292. package/build/dex/kyberswap-elastic/utils/decoders.js +0 -78
  293. package/build/dex/kyberswap-elastic/utils/decoders.js.map +0 -1
  294. package/build/dex/morphex/config.d.ts +0 -11
  295. package/build/dex/morphex/config.js +0 -43
  296. package/build/dex/morphex/config.js.map +0 -1
  297. package/build/dex/morphex/morphex.d.ts +0 -25
  298. package/build/dex/morphex/morphex.js +0 -19
  299. package/build/dex/morphex/morphex.js.map +0 -1
  300. package/build/dex/my-test-dex/config.js +0 -15
  301. package/build/dex/my-test-dex/config.js.map +0 -1
  302. package/build/dex/my-test-dex/my-test-dex-pool.js +0 -64
  303. package/build/dex/my-test-dex/my-test-dex-pool.js.map +0 -1
  304. package/build/dex/my-test-dex/my-test-dex.js +0 -126
  305. package/build/dex/my-test-dex/my-test-dex.js.map +0 -1
  306. package/build/dex/my-test-dex/types.d.ts +0 -6
  307. package/build/dex/wombat/config.js +0 -99
  308. package/build/dex/wombat/config.js.map +0 -1
  309. package/build/dex/wombat/types.d.ts +0 -33
  310. package/build/dex/wombat/utils.d.ts +0 -9
  311. package/build/dex/wombat/utils.js +0 -66
  312. package/build/dex/wombat/utils.js.map +0 -1
  313. package/build/dex/wombat/wombat-bmw.d.ts +0 -40
  314. package/build/dex/wombat/wombat-bmw.js +0 -147
  315. package/build/dex/wombat/wombat-bmw.js.map +0 -1
  316. package/build/dex/wombat/wombat-pool.d.ts +0 -22
  317. package/build/dex/wombat/wombat-pool.js +0 -161
  318. package/build/dex/wombat/wombat-pool.js.map +0 -1
  319. package/build/dex/wombat/wombat-quoter.d.ts +0 -16
  320. package/build/dex/wombat/wombat-quoter.js +0 -176
  321. package/build/dex/wombat/wombat-quoter.js.map +0 -1
  322. package/build/dex/wombat/wombat.d.ts +0 -55
  323. package/build/dex/wombat/wombat.js +0 -290
  324. package/build/dex/wombat/wombat.js.map +0 -1
  325. /package/build/dex/{hello → lighter-v1}/types.js +0 -0
  326. /package/build/dex/{my-test-dex → pancakeswap-v3}/types.js +0 -0
  327. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/BitMath.d.ts +0 -0
  328. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/BitMath.js +0 -0
  329. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/FixedPoint128.d.ts +0 -0
  330. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/FixedPoint128.js +0 -0
  331. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/FixedPoint96.d.ts +0 -0
  332. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/FixedPoint96.js +0 -0
  333. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/FullMath.d.ts +0 -0
  334. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/FullMath.js +0 -0
  335. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/LiquidityMath.d.ts +0 -0
  336. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/LiquidityMath.js +0 -0
  337. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/Oracle.d.ts +0 -0
  338. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/Oracle.js +0 -0
  339. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/SqrtPriceMath.d.ts +0 -0
  340. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/SqrtPriceMath.js +0 -0
  341. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/SwapMath.d.ts +0 -0
  342. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/SwapMath.js +0 -0
  343. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/Tick.js +0 -0
  344. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/TickMath.d.ts +0 -0
  345. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/TickMath.js +0 -0
  346. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/UnsafeMath.d.ts +0 -0
  347. /package/build/dex/{baseswap-v3 → ramses-v2}/contract-math/UnsafeMath.js +0 -0
  348. /package/build/dex/{kyberswap-elastic → ramses-v2}/contract-math/utils.d.ts +0 -0
  349. /package/build/dex/{kyberswap-elastic → ramses-v2}/contract-math/utils.js +0 -0
  350. /package/build/dex/{baseswap-v3 → ramses-v2}/utils.d.ts +0 -0
  351. /package/build/dex/{wombat → woo-fi}/types.js +0 -0
@@ -1,1042 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "stateMutability": "nonpayable",
5
- "type": "constructor"
6
- },
7
- {
8
- "anonymous": false,
9
- "inputs": [
10
- {
11
- "indexed": true,
12
- "internalType": "address",
13
- "name": "owner",
14
- "type": "address"
15
- },
16
- {
17
- "indexed": true,
18
- "internalType": "address",
19
- "name": "spender",
20
- "type": "address"
21
- },
22
- {
23
- "indexed": false,
24
- "internalType": "uint256",
25
- "name": "value",
26
- "type": "uint256"
27
- }
28
- ],
29
- "name": "Approval",
30
- "type": "event"
31
- },
32
- {
33
- "anonymous": false,
34
- "inputs": [
35
- {
36
- "indexed": true,
37
- "internalType": "address",
38
- "name": "owner",
39
- "type": "address"
40
- },
41
- {
42
- "indexed": true,
43
- "internalType": "int24",
44
- "name": "tickLower",
45
- "type": "int24"
46
- },
47
- {
48
- "indexed": true,
49
- "internalType": "int24",
50
- "name": "tickUpper",
51
- "type": "int24"
52
- },
53
- {
54
- "indexed": false,
55
- "internalType": "uint128",
56
- "name": "qty",
57
- "type": "uint128"
58
- },
59
- {
60
- "indexed": false,
61
- "internalType": "uint256",
62
- "name": "qty0",
63
- "type": "uint256"
64
- },
65
- {
66
- "indexed": false,
67
- "internalType": "uint256",
68
- "name": "qty1",
69
- "type": "uint256"
70
- }
71
- ],
72
- "name": "Burn",
73
- "type": "event"
74
- },
75
- {
76
- "anonymous": false,
77
- "inputs": [
78
- {
79
- "indexed": true,
80
- "internalType": "address",
81
- "name": "owner",
82
- "type": "address"
83
- },
84
- {
85
- "indexed": false,
86
- "internalType": "uint256",
87
- "name": "qty",
88
- "type": "uint256"
89
- },
90
- {
91
- "indexed": false,
92
- "internalType": "uint256",
93
- "name": "qty0",
94
- "type": "uint256"
95
- },
96
- {
97
- "indexed": false,
98
- "internalType": "uint256",
99
- "name": "qty1",
100
- "type": "uint256"
101
- }
102
- ],
103
- "name": "BurnRTokens",
104
- "type": "event"
105
- },
106
- {
107
- "anonymous": false,
108
- "inputs": [
109
- {
110
- "indexed": true,
111
- "internalType": "address",
112
- "name": "sender",
113
- "type": "address"
114
- },
115
- {
116
- "indexed": true,
117
- "internalType": "address",
118
- "name": "recipient",
119
- "type": "address"
120
- },
121
- {
122
- "indexed": false,
123
- "internalType": "uint256",
124
- "name": "qty0",
125
- "type": "uint256"
126
- },
127
- {
128
- "indexed": false,
129
- "internalType": "uint256",
130
- "name": "qty1",
131
- "type": "uint256"
132
- },
133
- {
134
- "indexed": false,
135
- "internalType": "uint256",
136
- "name": "paid0",
137
- "type": "uint256"
138
- },
139
- {
140
- "indexed": false,
141
- "internalType": "uint256",
142
- "name": "paid1",
143
- "type": "uint256"
144
- }
145
- ],
146
- "name": "Flash",
147
- "type": "event"
148
- },
149
- {
150
- "anonymous": false,
151
- "inputs": [
152
- {
153
- "indexed": false,
154
- "internalType": "uint160",
155
- "name": "sqrtP",
156
- "type": "uint160"
157
- },
158
- {
159
- "indexed": false,
160
- "internalType": "int24",
161
- "name": "tick",
162
- "type": "int24"
163
- }
164
- ],
165
- "name": "Initialize",
166
- "type": "event"
167
- },
168
- {
169
- "anonymous": false,
170
- "inputs": [
171
- {
172
- "indexed": false,
173
- "internalType": "address",
174
- "name": "sender",
175
- "type": "address"
176
- },
177
- {
178
- "indexed": true,
179
- "internalType": "address",
180
- "name": "owner",
181
- "type": "address"
182
- },
183
- {
184
- "indexed": true,
185
- "internalType": "int24",
186
- "name": "tickLower",
187
- "type": "int24"
188
- },
189
- {
190
- "indexed": true,
191
- "internalType": "int24",
192
- "name": "tickUpper",
193
- "type": "int24"
194
- },
195
- {
196
- "indexed": false,
197
- "internalType": "uint128",
198
- "name": "qty",
199
- "type": "uint128"
200
- },
201
- {
202
- "indexed": false,
203
- "internalType": "uint256",
204
- "name": "qty0",
205
- "type": "uint256"
206
- },
207
- {
208
- "indexed": false,
209
- "internalType": "uint256",
210
- "name": "qty1",
211
- "type": "uint256"
212
- }
213
- ],
214
- "name": "Mint",
215
- "type": "event"
216
- },
217
- {
218
- "anonymous": false,
219
- "inputs": [
220
- {
221
- "indexed": true,
222
- "internalType": "address",
223
- "name": "sender",
224
- "type": "address"
225
- },
226
- {
227
- "indexed": true,
228
- "internalType": "address",
229
- "name": "recipient",
230
- "type": "address"
231
- },
232
- {
233
- "indexed": false,
234
- "internalType": "int256",
235
- "name": "deltaQty0",
236
- "type": "int256"
237
- },
238
- {
239
- "indexed": false,
240
- "internalType": "int256",
241
- "name": "deltaQty1",
242
- "type": "int256"
243
- },
244
- {
245
- "indexed": false,
246
- "internalType": "uint160",
247
- "name": "sqrtP",
248
- "type": "uint160"
249
- },
250
- {
251
- "indexed": false,
252
- "internalType": "uint128",
253
- "name": "liquidity",
254
- "type": "uint128"
255
- },
256
- {
257
- "indexed": false,
258
- "internalType": "int24",
259
- "name": "currentTick",
260
- "type": "int24"
261
- }
262
- ],
263
- "name": "Swap",
264
- "type": "event"
265
- },
266
- {
267
- "anonymous": false,
268
- "inputs": [
269
- {
270
- "indexed": true,
271
- "internalType": "address",
272
- "name": "from",
273
- "type": "address"
274
- },
275
- {
276
- "indexed": true,
277
- "internalType": "address",
278
- "name": "to",
279
- "type": "address"
280
- },
281
- {
282
- "indexed": false,
283
- "internalType": "uint256",
284
- "name": "value",
285
- "type": "uint256"
286
- }
287
- ],
288
- "name": "Transfer",
289
- "type": "event"
290
- },
291
- {
292
- "inputs": [
293
- {
294
- "internalType": "address",
295
- "name": "owner",
296
- "type": "address"
297
- },
298
- {
299
- "internalType": "address",
300
- "name": "spender",
301
- "type": "address"
302
- }
303
- ],
304
- "name": "allowance",
305
- "outputs": [
306
- {
307
- "internalType": "uint256",
308
- "name": "",
309
- "type": "uint256"
310
- }
311
- ],
312
- "stateMutability": "view",
313
- "type": "function"
314
- },
315
- {
316
- "inputs": [
317
- {
318
- "internalType": "address",
319
- "name": "spender",
320
- "type": "address"
321
- },
322
- {
323
- "internalType": "uint256",
324
- "name": "amount",
325
- "type": "uint256"
326
- }
327
- ],
328
- "name": "approve",
329
- "outputs": [
330
- {
331
- "internalType": "bool",
332
- "name": "",
333
- "type": "bool"
334
- }
335
- ],
336
- "stateMutability": "nonpayable",
337
- "type": "function"
338
- },
339
- {
340
- "inputs": [
341
- {
342
- "internalType": "address",
343
- "name": "account",
344
- "type": "address"
345
- }
346
- ],
347
- "name": "balanceOf",
348
- "outputs": [
349
- {
350
- "internalType": "uint256",
351
- "name": "",
352
- "type": "uint256"
353
- }
354
- ],
355
- "stateMutability": "view",
356
- "type": "function"
357
- },
358
- {
359
- "inputs": [
360
- {
361
- "internalType": "int24",
362
- "name": "tickLower",
363
- "type": "int24"
364
- },
365
- {
366
- "internalType": "int24",
367
- "name": "tickUpper",
368
- "type": "int24"
369
- },
370
- {
371
- "internalType": "uint128",
372
- "name": "qty",
373
- "type": "uint128"
374
- }
375
- ],
376
- "name": "burn",
377
- "outputs": [
378
- {
379
- "internalType": "uint256",
380
- "name": "qty0",
381
- "type": "uint256"
382
- },
383
- {
384
- "internalType": "uint256",
385
- "name": "qty1",
386
- "type": "uint256"
387
- },
388
- {
389
- "internalType": "uint256",
390
- "name": "feeGrowthInsideLast",
391
- "type": "uint256"
392
- }
393
- ],
394
- "stateMutability": "nonpayable",
395
- "type": "function"
396
- },
397
- {
398
- "inputs": [
399
- {
400
- "internalType": "uint256",
401
- "name": "_qty",
402
- "type": "uint256"
403
- },
404
- {
405
- "internalType": "bool",
406
- "name": "isLogicalBurn",
407
- "type": "bool"
408
- }
409
- ],
410
- "name": "burnRTokens",
411
- "outputs": [
412
- {
413
- "internalType": "uint256",
414
- "name": "qty0",
415
- "type": "uint256"
416
- },
417
- {
418
- "internalType": "uint256",
419
- "name": "qty1",
420
- "type": "uint256"
421
- }
422
- ],
423
- "stateMutability": "nonpayable",
424
- "type": "function"
425
- },
426
- {
427
- "inputs": [],
428
- "name": "decimals",
429
- "outputs": [
430
- {
431
- "internalType": "uint8",
432
- "name": "",
433
- "type": "uint8"
434
- }
435
- ],
436
- "stateMutability": "view",
437
- "type": "function"
438
- },
439
- {
440
- "inputs": [
441
- {
442
- "internalType": "address",
443
- "name": "spender",
444
- "type": "address"
445
- },
446
- {
447
- "internalType": "uint256",
448
- "name": "subtractedValue",
449
- "type": "uint256"
450
- }
451
- ],
452
- "name": "decreaseAllowance",
453
- "outputs": [
454
- {
455
- "internalType": "bool",
456
- "name": "",
457
- "type": "bool"
458
- }
459
- ],
460
- "stateMutability": "nonpayable",
461
- "type": "function"
462
- },
463
- {
464
- "inputs": [],
465
- "name": "factory",
466
- "outputs": [
467
- {
468
- "internalType": "contract IFactory",
469
- "name": "",
470
- "type": "address"
471
- }
472
- ],
473
- "stateMutability": "view",
474
- "type": "function"
475
- },
476
- {
477
- "inputs": [
478
- {
479
- "internalType": "address",
480
- "name": "recipient",
481
- "type": "address"
482
- },
483
- {
484
- "internalType": "uint256",
485
- "name": "qty0",
486
- "type": "uint256"
487
- },
488
- {
489
- "internalType": "uint256",
490
- "name": "qty1",
491
- "type": "uint256"
492
- },
493
- {
494
- "internalType": "bytes",
495
- "name": "data",
496
- "type": "bytes"
497
- }
498
- ],
499
- "name": "flash",
500
- "outputs": [],
501
- "stateMutability": "nonpayable",
502
- "type": "function"
503
- },
504
- {
505
- "inputs": [],
506
- "name": "getFeeGrowthGlobal",
507
- "outputs": [
508
- {
509
- "internalType": "uint256",
510
- "name": "",
511
- "type": "uint256"
512
- }
513
- ],
514
- "stateMutability": "view",
515
- "type": "function"
516
- },
517
- {
518
- "inputs": [],
519
- "name": "getLiquidityState",
520
- "outputs": [
521
- {
522
- "internalType": "uint128",
523
- "name": "baseL",
524
- "type": "uint128"
525
- },
526
- {
527
- "internalType": "uint128",
528
- "name": "reinvestL",
529
- "type": "uint128"
530
- },
531
- {
532
- "internalType": "uint128",
533
- "name": "reinvestLLast",
534
- "type": "uint128"
535
- }
536
- ],
537
- "stateMutability": "view",
538
- "type": "function"
539
- },
540
- {
541
- "inputs": [],
542
- "name": "getPoolState",
543
- "outputs": [
544
- {
545
- "internalType": "uint160",
546
- "name": "sqrtP",
547
- "type": "uint160"
548
- },
549
- {
550
- "internalType": "int24",
551
- "name": "currentTick",
552
- "type": "int24"
553
- },
554
- {
555
- "internalType": "int24",
556
- "name": "nearestCurrentTick",
557
- "type": "int24"
558
- },
559
- {
560
- "internalType": "bool",
561
- "name": "locked",
562
- "type": "bool"
563
- }
564
- ],
565
- "stateMutability": "view",
566
- "type": "function"
567
- },
568
- {
569
- "inputs": [
570
- {
571
- "internalType": "address",
572
- "name": "owner",
573
- "type": "address"
574
- },
575
- {
576
- "internalType": "int24",
577
- "name": "tickLower",
578
- "type": "int24"
579
- },
580
- {
581
- "internalType": "int24",
582
- "name": "tickUpper",
583
- "type": "int24"
584
- }
585
- ],
586
- "name": "getPositions",
587
- "outputs": [
588
- {
589
- "internalType": "uint128",
590
- "name": "liquidity",
591
- "type": "uint128"
592
- },
593
- {
594
- "internalType": "uint256",
595
- "name": "feeGrowthInsideLast",
596
- "type": "uint256"
597
- }
598
- ],
599
- "stateMutability": "view",
600
- "type": "function"
601
- },
602
- {
603
- "inputs": [],
604
- "name": "getSecondsPerLiquidityData",
605
- "outputs": [
606
- {
607
- "internalType": "uint128",
608
- "name": "secondsPerLiquidityGlobal",
609
- "type": "uint128"
610
- },
611
- {
612
- "internalType": "uint32",
613
- "name": "lastUpdateTime",
614
- "type": "uint32"
615
- }
616
- ],
617
- "stateMutability": "view",
618
- "type": "function"
619
- },
620
- {
621
- "inputs": [
622
- {
623
- "internalType": "int24",
624
- "name": "tickLower",
625
- "type": "int24"
626
- },
627
- {
628
- "internalType": "int24",
629
- "name": "tickUpper",
630
- "type": "int24"
631
- }
632
- ],
633
- "name": "getSecondsPerLiquidityInside",
634
- "outputs": [
635
- {
636
- "internalType": "uint128",
637
- "name": "secondsPerLiquidityInside",
638
- "type": "uint128"
639
- }
640
- ],
641
- "stateMutability": "view",
642
- "type": "function"
643
- },
644
- {
645
- "inputs": [
646
- {
647
- "internalType": "address",
648
- "name": "spender",
649
- "type": "address"
650
- },
651
- {
652
- "internalType": "uint256",
653
- "name": "addedValue",
654
- "type": "uint256"
655
- }
656
- ],
657
- "name": "increaseAllowance",
658
- "outputs": [
659
- {
660
- "internalType": "bool",
661
- "name": "",
662
- "type": "bool"
663
- }
664
- ],
665
- "stateMutability": "nonpayable",
666
- "type": "function"
667
- },
668
- {
669
- "inputs": [
670
- {
671
- "internalType": "int24",
672
- "name": "",
673
- "type": "int24"
674
- }
675
- ],
676
- "name": "initializedTicks",
677
- "outputs": [
678
- {
679
- "internalType": "int24",
680
- "name": "previous",
681
- "type": "int24"
682
- },
683
- {
684
- "internalType": "int24",
685
- "name": "next",
686
- "type": "int24"
687
- }
688
- ],
689
- "stateMutability": "view",
690
- "type": "function"
691
- },
692
- {
693
- "inputs": [],
694
- "name": "maxTickLiquidity",
695
- "outputs": [
696
- {
697
- "internalType": "uint128",
698
- "name": "",
699
- "type": "uint128"
700
- }
701
- ],
702
- "stateMutability": "view",
703
- "type": "function"
704
- },
705
- {
706
- "inputs": [
707
- {
708
- "internalType": "address",
709
- "name": "recipient",
710
- "type": "address"
711
- },
712
- {
713
- "internalType": "int24",
714
- "name": "tickLower",
715
- "type": "int24"
716
- },
717
- {
718
- "internalType": "int24",
719
- "name": "tickUpper",
720
- "type": "int24"
721
- },
722
- {
723
- "internalType": "int24[2]",
724
- "name": "ticksPrevious",
725
- "type": "int24[2]"
726
- },
727
- {
728
- "internalType": "uint128",
729
- "name": "qty",
730
- "type": "uint128"
731
- },
732
- {
733
- "internalType": "bytes",
734
- "name": "data",
735
- "type": "bytes"
736
- }
737
- ],
738
- "name": "mint",
739
- "outputs": [
740
- {
741
- "internalType": "uint256",
742
- "name": "qty0",
743
- "type": "uint256"
744
- },
745
- {
746
- "internalType": "uint256",
747
- "name": "qty1",
748
- "type": "uint256"
749
- },
750
- {
751
- "internalType": "uint256",
752
- "name": "feeGrowthInsideLast",
753
- "type": "uint256"
754
- }
755
- ],
756
- "stateMutability": "nonpayable",
757
- "type": "function"
758
- },
759
- {
760
- "inputs": [],
761
- "name": "name",
762
- "outputs": [
763
- {
764
- "internalType": "string",
765
- "name": "",
766
- "type": "string"
767
- }
768
- ],
769
- "stateMutability": "view",
770
- "type": "function"
771
- },
772
- {
773
- "inputs": [],
774
- "name": "poolOracle",
775
- "outputs": [
776
- {
777
- "internalType": "contract IPoolOracle",
778
- "name": "",
779
- "type": "address"
780
- }
781
- ],
782
- "stateMutability": "view",
783
- "type": "function"
784
- },
785
- {
786
- "inputs": [
787
- {
788
- "internalType": "address",
789
- "name": "recipient",
790
- "type": "address"
791
- },
792
- {
793
- "internalType": "int256",
794
- "name": "swapQty",
795
- "type": "int256"
796
- },
797
- {
798
- "internalType": "bool",
799
- "name": "isToken0",
800
- "type": "bool"
801
- },
802
- {
803
- "internalType": "uint160",
804
- "name": "limitSqrtP",
805
- "type": "uint160"
806
- },
807
- {
808
- "internalType": "bytes",
809
- "name": "data",
810
- "type": "bytes"
811
- }
812
- ],
813
- "name": "swap",
814
- "outputs": [
815
- {
816
- "internalType": "int256",
817
- "name": "deltaQty0",
818
- "type": "int256"
819
- },
820
- {
821
- "internalType": "int256",
822
- "name": "deltaQty1",
823
- "type": "int256"
824
- }
825
- ],
826
- "stateMutability": "nonpayable",
827
- "type": "function"
828
- },
829
- {
830
- "inputs": [],
831
- "name": "swapFeeUnits",
832
- "outputs": [
833
- {
834
- "internalType": "uint24",
835
- "name": "",
836
- "type": "uint24"
837
- }
838
- ],
839
- "stateMutability": "view",
840
- "type": "function"
841
- },
842
- {
843
- "inputs": [],
844
- "name": "symbol",
845
- "outputs": [
846
- {
847
- "internalType": "string",
848
- "name": "",
849
- "type": "string"
850
- }
851
- ],
852
- "stateMutability": "view",
853
- "type": "function"
854
- },
855
- {
856
- "inputs": [],
857
- "name": "tickDistance",
858
- "outputs": [
859
- {
860
- "internalType": "int24",
861
- "name": "",
862
- "type": "int24"
863
- }
864
- ],
865
- "stateMutability": "view",
866
- "type": "function"
867
- },
868
- {
869
- "inputs": [
870
- {
871
- "internalType": "int24",
872
- "name": "",
873
- "type": "int24"
874
- }
875
- ],
876
- "name": "ticks",
877
- "outputs": [
878
- {
879
- "internalType": "uint128",
880
- "name": "liquidityGross",
881
- "type": "uint128"
882
- },
883
- {
884
- "internalType": "int128",
885
- "name": "liquidityNet",
886
- "type": "int128"
887
- },
888
- {
889
- "internalType": "uint256",
890
- "name": "feeGrowthOutside",
891
- "type": "uint256"
892
- },
893
- {
894
- "internalType": "uint128",
895
- "name": "secondsPerLiquidityOutside",
896
- "type": "uint128"
897
- }
898
- ],
899
- "stateMutability": "view",
900
- "type": "function"
901
- },
902
- {
903
- "inputs": [],
904
- "name": "token0",
905
- "outputs": [
906
- {
907
- "internalType": "contract IERC20",
908
- "name": "",
909
- "type": "address"
910
- }
911
- ],
912
- "stateMutability": "view",
913
- "type": "function"
914
- },
915
- {
916
- "inputs": [],
917
- "name": "token1",
918
- "outputs": [
919
- {
920
- "internalType": "contract IERC20",
921
- "name": "",
922
- "type": "address"
923
- }
924
- ],
925
- "stateMutability": "view",
926
- "type": "function"
927
- },
928
- {
929
- "inputs": [],
930
- "name": "totalSupply",
931
- "outputs": [
932
- {
933
- "internalType": "uint256",
934
- "name": "",
935
- "type": "uint256"
936
- }
937
- ],
938
- "stateMutability": "view",
939
- "type": "function"
940
- },
941
- {
942
- "inputs": [
943
- {
944
- "internalType": "address",
945
- "name": "recipient",
946
- "type": "address"
947
- },
948
- {
949
- "internalType": "uint256",
950
- "name": "amount",
951
- "type": "uint256"
952
- }
953
- ],
954
- "name": "transfer",
955
- "outputs": [
956
- {
957
- "internalType": "bool",
958
- "name": "",
959
- "type": "bool"
960
- }
961
- ],
962
- "stateMutability": "nonpayable",
963
- "type": "function"
964
- },
965
- {
966
- "inputs": [
967
- {
968
- "internalType": "address",
969
- "name": "sender",
970
- "type": "address"
971
- },
972
- {
973
- "internalType": "address",
974
- "name": "recipient",
975
- "type": "address"
976
- },
977
- {
978
- "internalType": "uint256",
979
- "name": "amount",
980
- "type": "uint256"
981
- }
982
- ],
983
- "name": "transferFrom",
984
- "outputs": [
985
- {
986
- "internalType": "bool",
987
- "name": "",
988
- "type": "bool"
989
- }
990
- ],
991
- "stateMutability": "nonpayable",
992
- "type": "function"
993
- },
994
- {
995
- "inputs": [
996
- {
997
- "internalType": "int24",
998
- "name": "tickLower",
999
- "type": "int24"
1000
- },
1001
- {
1002
- "internalType": "int24",
1003
- "name": "tickUpper",
1004
- "type": "int24"
1005
- }
1006
- ],
1007
- "name": "tweakPosZeroLiq",
1008
- "outputs": [
1009
- {
1010
- "internalType": "uint256",
1011
- "name": "feeGrowthInsideLast",
1012
- "type": "uint256"
1013
- }
1014
- ],
1015
- "stateMutability": "nonpayable",
1016
- "type": "function"
1017
- },
1018
- {
1019
- "inputs": [
1020
- {
1021
- "internalType": "uint160",
1022
- "name": "initialSqrtP",
1023
- "type": "uint160"
1024
- }
1025
- ],
1026
- "name": "unlockPool",
1027
- "outputs": [
1028
- {
1029
- "internalType": "uint256",
1030
- "name": "qty0",
1031
- "type": "uint256"
1032
- },
1033
- {
1034
- "internalType": "uint256",
1035
- "name": "qty1",
1036
- "type": "uint256"
1037
- }
1038
- ],
1039
- "stateMutability": "nonpayable",
1040
- "type": "function"
1041
- }
1042
- ]