@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,1276 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "_factory",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "address",
11
- "name": "_WETH",
12
- "type": "address"
13
- },
14
- {
15
- "internalType": "address",
16
- "name": "_descriptor",
17
- "type": "address"
18
- }
19
- ],
20
- "stateMutability": "nonpayable",
21
- "type": "constructor"
22
- },
23
- {
24
- "anonymous": false,
25
- "inputs": [
26
- {
27
- "indexed": true,
28
- "internalType": "uint256",
29
- "name": "tokenId",
30
- "type": "uint256"
31
- },
32
- {
33
- "indexed": false,
34
- "internalType": "uint128",
35
- "name": "liquidity",
36
- "type": "uint128"
37
- },
38
- {
39
- "indexed": false,
40
- "internalType": "uint256",
41
- "name": "amount0",
42
- "type": "uint256"
43
- },
44
- {
45
- "indexed": false,
46
- "internalType": "uint256",
47
- "name": "amount1",
48
- "type": "uint256"
49
- },
50
- {
51
- "indexed": false,
52
- "internalType": "uint256",
53
- "name": "additionalRTokenOwed",
54
- "type": "uint256"
55
- }
56
- ],
57
- "name": "AddLiquidity",
58
- "type": "event"
59
- },
60
- {
61
- "anonymous": false,
62
- "inputs": [
63
- {
64
- "indexed": true,
65
- "internalType": "address",
66
- "name": "owner",
67
- "type": "address"
68
- },
69
- {
70
- "indexed": true,
71
- "internalType": "address",
72
- "name": "approved",
73
- "type": "address"
74
- },
75
- {
76
- "indexed": true,
77
- "internalType": "uint256",
78
- "name": "tokenId",
79
- "type": "uint256"
80
- }
81
- ],
82
- "name": "Approval",
83
- "type": "event"
84
- },
85
- {
86
- "anonymous": false,
87
- "inputs": [
88
- {
89
- "indexed": true,
90
- "internalType": "address",
91
- "name": "owner",
92
- "type": "address"
93
- },
94
- {
95
- "indexed": true,
96
- "internalType": "address",
97
- "name": "operator",
98
- "type": "address"
99
- },
100
- {
101
- "indexed": false,
102
- "internalType": "bool",
103
- "name": "approved",
104
- "type": "bool"
105
- }
106
- ],
107
- "name": "ApprovalForAll",
108
- "type": "event"
109
- },
110
- {
111
- "anonymous": false,
112
- "inputs": [
113
- {
114
- "indexed": true,
115
- "internalType": "uint256",
116
- "name": "tokenId",
117
- "type": "uint256"
118
- }
119
- ],
120
- "name": "BurnPosition",
121
- "type": "event"
122
- },
123
- {
124
- "anonymous": false,
125
- "inputs": [
126
- {
127
- "indexed": true,
128
- "internalType": "uint256",
129
- "name": "tokenId",
130
- "type": "uint256"
131
- },
132
- {
133
- "indexed": false,
134
- "internalType": "uint256",
135
- "name": "rTokenBurn",
136
- "type": "uint256"
137
- }
138
- ],
139
- "name": "BurnRToken",
140
- "type": "event"
141
- },
142
- {
143
- "anonymous": false,
144
- "inputs": [
145
- {
146
- "indexed": true,
147
- "internalType": "uint256",
148
- "name": "tokenId",
149
- "type": "uint256"
150
- },
151
- {
152
- "indexed": true,
153
- "internalType": "uint80",
154
- "name": "poolId",
155
- "type": "uint80"
156
- },
157
- {
158
- "indexed": false,
159
- "internalType": "uint128",
160
- "name": "liquidity",
161
- "type": "uint128"
162
- },
163
- {
164
- "indexed": false,
165
- "internalType": "uint256",
166
- "name": "amount0",
167
- "type": "uint256"
168
- },
169
- {
170
- "indexed": false,
171
- "internalType": "uint256",
172
- "name": "amount1",
173
- "type": "uint256"
174
- }
175
- ],
176
- "name": "MintPosition",
177
- "type": "event"
178
- },
179
- {
180
- "anonymous": false,
181
- "inputs": [
182
- {
183
- "indexed": true,
184
- "internalType": "uint256",
185
- "name": "tokenId",
186
- "type": "uint256"
187
- },
188
- {
189
- "indexed": false,
190
- "internalType": "uint128",
191
- "name": "liquidity",
192
- "type": "uint128"
193
- },
194
- {
195
- "indexed": false,
196
- "internalType": "uint256",
197
- "name": "amount0",
198
- "type": "uint256"
199
- },
200
- {
201
- "indexed": false,
202
- "internalType": "uint256",
203
- "name": "amount1",
204
- "type": "uint256"
205
- },
206
- {
207
- "indexed": false,
208
- "internalType": "uint256",
209
- "name": "additionalRTokenOwed",
210
- "type": "uint256"
211
- }
212
- ],
213
- "name": "RemoveLiquidity",
214
- "type": "event"
215
- },
216
- {
217
- "anonymous": false,
218
- "inputs": [
219
- {
220
- "indexed": true,
221
- "internalType": "uint256",
222
- "name": "tokenId",
223
- "type": "uint256"
224
- },
225
- {
226
- "indexed": false,
227
- "internalType": "uint256",
228
- "name": "additionalRTokenOwed",
229
- "type": "uint256"
230
- }
231
- ],
232
- "name": "SyncFeeGrowth",
233
- "type": "event"
234
- },
235
- {
236
- "anonymous": false,
237
- "inputs": [
238
- {
239
- "indexed": true,
240
- "internalType": "address",
241
- "name": "from",
242
- "type": "address"
243
- },
244
- {
245
- "indexed": true,
246
- "internalType": "address",
247
- "name": "to",
248
- "type": "address"
249
- },
250
- {
251
- "indexed": true,
252
- "internalType": "uint256",
253
- "name": "tokenId",
254
- "type": "uint256"
255
- }
256
- ],
257
- "name": "Transfer",
258
- "type": "event"
259
- },
260
- {
261
- "inputs": [],
262
- "name": "DOMAIN_SEPARATOR",
263
- "outputs": [
264
- {
265
- "internalType": "bytes32",
266
- "name": "",
267
- "type": "bytes32"
268
- }
269
- ],
270
- "stateMutability": "view",
271
- "type": "function"
272
- },
273
- {
274
- "inputs": [],
275
- "name": "PERMIT_TYPEHASH",
276
- "outputs": [
277
- {
278
- "internalType": "bytes32",
279
- "name": "",
280
- "type": "bytes32"
281
- }
282
- ],
283
- "stateMutability": "view",
284
- "type": "function"
285
- },
286
- {
287
- "inputs": [],
288
- "name": "WETH",
289
- "outputs": [
290
- {
291
- "internalType": "address",
292
- "name": "",
293
- "type": "address"
294
- }
295
- ],
296
- "stateMutability": "view",
297
- "type": "function"
298
- },
299
- {
300
- "inputs": [
301
- {
302
- "components": [
303
- {
304
- "internalType": "uint256",
305
- "name": "tokenId",
306
- "type": "uint256"
307
- },
308
- {
309
- "internalType": "int24[2]",
310
- "name": "ticksPrevious",
311
- "type": "int24[2]"
312
- },
313
- {
314
- "internalType": "uint256",
315
- "name": "amount0Desired",
316
- "type": "uint256"
317
- },
318
- {
319
- "internalType": "uint256",
320
- "name": "amount1Desired",
321
- "type": "uint256"
322
- },
323
- {
324
- "internalType": "uint256",
325
- "name": "amount0Min",
326
- "type": "uint256"
327
- },
328
- {
329
- "internalType": "uint256",
330
- "name": "amount1Min",
331
- "type": "uint256"
332
- },
333
- {
334
- "internalType": "uint256",
335
- "name": "deadline",
336
- "type": "uint256"
337
- }
338
- ],
339
- "internalType": "struct IBasePositionManager.IncreaseLiquidityParams",
340
- "name": "params",
341
- "type": "tuple"
342
- }
343
- ],
344
- "name": "addLiquidity",
345
- "outputs": [
346
- {
347
- "internalType": "uint128",
348
- "name": "liquidity",
349
- "type": "uint128"
350
- },
351
- {
352
- "internalType": "uint256",
353
- "name": "amount0",
354
- "type": "uint256"
355
- },
356
- {
357
- "internalType": "uint256",
358
- "name": "amount1",
359
- "type": "uint256"
360
- },
361
- {
362
- "internalType": "uint256",
363
- "name": "additionalRTokenOwed",
364
- "type": "uint256"
365
- }
366
- ],
367
- "stateMutability": "payable",
368
- "type": "function"
369
- },
370
- {
371
- "inputs": [
372
- {
373
- "internalType": "address",
374
- "name": "",
375
- "type": "address"
376
- }
377
- ],
378
- "name": "addressToPoolId",
379
- "outputs": [
380
- {
381
- "internalType": "uint80",
382
- "name": "",
383
- "type": "uint80"
384
- }
385
- ],
386
- "stateMutability": "view",
387
- "type": "function"
388
- },
389
- {
390
- "inputs": [
391
- {
392
- "internalType": "uint256",
393
- "name": "",
394
- "type": "uint256"
395
- }
396
- ],
397
- "name": "antiSnipAttackData",
398
- "outputs": [
399
- {
400
- "internalType": "uint32",
401
- "name": "lastActionTime",
402
- "type": "uint32"
403
- },
404
- {
405
- "internalType": "uint32",
406
- "name": "lockTime",
407
- "type": "uint32"
408
- },
409
- {
410
- "internalType": "uint32",
411
- "name": "unlockTime",
412
- "type": "uint32"
413
- },
414
- {
415
- "internalType": "uint256",
416
- "name": "feesLocked",
417
- "type": "uint256"
418
- }
419
- ],
420
- "stateMutability": "view",
421
- "type": "function"
422
- },
423
- {
424
- "inputs": [
425
- {
426
- "internalType": "address",
427
- "name": "to",
428
- "type": "address"
429
- },
430
- {
431
- "internalType": "uint256",
432
- "name": "tokenId",
433
- "type": "uint256"
434
- }
435
- ],
436
- "name": "approve",
437
- "outputs": [],
438
- "stateMutability": "nonpayable",
439
- "type": "function"
440
- },
441
- {
442
- "inputs": [
443
- {
444
- "internalType": "address",
445
- "name": "owner",
446
- "type": "address"
447
- }
448
- ],
449
- "name": "balanceOf",
450
- "outputs": [
451
- {
452
- "internalType": "uint256",
453
- "name": "",
454
- "type": "uint256"
455
- }
456
- ],
457
- "stateMutability": "view",
458
- "type": "function"
459
- },
460
- {
461
- "inputs": [
462
- {
463
- "internalType": "uint256",
464
- "name": "tokenId",
465
- "type": "uint256"
466
- }
467
- ],
468
- "name": "burn",
469
- "outputs": [],
470
- "stateMutability": "payable",
471
- "type": "function"
472
- },
473
- {
474
- "inputs": [
475
- {
476
- "components": [
477
- {
478
- "internalType": "uint256",
479
- "name": "tokenId",
480
- "type": "uint256"
481
- },
482
- {
483
- "internalType": "uint256",
484
- "name": "amount0Min",
485
- "type": "uint256"
486
- },
487
- {
488
- "internalType": "uint256",
489
- "name": "amount1Min",
490
- "type": "uint256"
491
- },
492
- {
493
- "internalType": "uint256",
494
- "name": "deadline",
495
- "type": "uint256"
496
- }
497
- ],
498
- "internalType": "struct IBasePositionManager.BurnRTokenParams",
499
- "name": "params",
500
- "type": "tuple"
501
- }
502
- ],
503
- "name": "burnRTokens",
504
- "outputs": [
505
- {
506
- "internalType": "uint256",
507
- "name": "rTokenQty",
508
- "type": "uint256"
509
- },
510
- {
511
- "internalType": "uint256",
512
- "name": "amount0",
513
- "type": "uint256"
514
- },
515
- {
516
- "internalType": "uint256",
517
- "name": "amount1",
518
- "type": "uint256"
519
- }
520
- ],
521
- "stateMutability": "nonpayable",
522
- "type": "function"
523
- },
524
- {
525
- "inputs": [
526
- {
527
- "internalType": "address",
528
- "name": "token0",
529
- "type": "address"
530
- },
531
- {
532
- "internalType": "address",
533
- "name": "token1",
534
- "type": "address"
535
- },
536
- {
537
- "internalType": "uint24",
538
- "name": "fee",
539
- "type": "uint24"
540
- },
541
- {
542
- "internalType": "uint160",
543
- "name": "currentSqrtP",
544
- "type": "uint160"
545
- }
546
- ],
547
- "name": "createAndUnlockPoolIfNecessary",
548
- "outputs": [
549
- {
550
- "internalType": "address",
551
- "name": "pool",
552
- "type": "address"
553
- }
554
- ],
555
- "stateMutability": "payable",
556
- "type": "function"
557
- },
558
- {
559
- "inputs": [],
560
- "name": "factory",
561
- "outputs": [
562
- {
563
- "internalType": "address",
564
- "name": "",
565
- "type": "address"
566
- }
567
- ],
568
- "stateMutability": "view",
569
- "type": "function"
570
- },
571
- {
572
- "inputs": [
573
- {
574
- "internalType": "uint256",
575
- "name": "tokenId",
576
- "type": "uint256"
577
- }
578
- ],
579
- "name": "getApproved",
580
- "outputs": [
581
- {
582
- "internalType": "address",
583
- "name": "",
584
- "type": "address"
585
- }
586
- ],
587
- "stateMutability": "view",
588
- "type": "function"
589
- },
590
- {
591
- "inputs": [
592
- {
593
- "internalType": "address",
594
- "name": "owner",
595
- "type": "address"
596
- },
597
- {
598
- "internalType": "address",
599
- "name": "operator",
600
- "type": "address"
601
- }
602
- ],
603
- "name": "isApprovedForAll",
604
- "outputs": [
605
- {
606
- "internalType": "bool",
607
- "name": "",
608
- "type": "bool"
609
- }
610
- ],
611
- "stateMutability": "view",
612
- "type": "function"
613
- },
614
- {
615
- "inputs": [
616
- {
617
- "internalType": "address",
618
- "name": "",
619
- "type": "address"
620
- }
621
- ],
622
- "name": "isRToken",
623
- "outputs": [
624
- {
625
- "internalType": "bool",
626
- "name": "",
627
- "type": "bool"
628
- }
629
- ],
630
- "stateMutability": "view",
631
- "type": "function"
632
- },
633
- {
634
- "inputs": [
635
- {
636
- "components": [
637
- {
638
- "internalType": "address",
639
- "name": "token0",
640
- "type": "address"
641
- },
642
- {
643
- "internalType": "address",
644
- "name": "token1",
645
- "type": "address"
646
- },
647
- {
648
- "internalType": "uint24",
649
- "name": "fee",
650
- "type": "uint24"
651
- },
652
- {
653
- "internalType": "int24",
654
- "name": "tickLower",
655
- "type": "int24"
656
- },
657
- {
658
- "internalType": "int24",
659
- "name": "tickUpper",
660
- "type": "int24"
661
- },
662
- {
663
- "internalType": "int24[2]",
664
- "name": "ticksPrevious",
665
- "type": "int24[2]"
666
- },
667
- {
668
- "internalType": "uint256",
669
- "name": "amount0Desired",
670
- "type": "uint256"
671
- },
672
- {
673
- "internalType": "uint256",
674
- "name": "amount1Desired",
675
- "type": "uint256"
676
- },
677
- {
678
- "internalType": "uint256",
679
- "name": "amount0Min",
680
- "type": "uint256"
681
- },
682
- {
683
- "internalType": "uint256",
684
- "name": "amount1Min",
685
- "type": "uint256"
686
- },
687
- {
688
- "internalType": "address",
689
- "name": "recipient",
690
- "type": "address"
691
- },
692
- {
693
- "internalType": "uint256",
694
- "name": "deadline",
695
- "type": "uint256"
696
- }
697
- ],
698
- "internalType": "struct IBasePositionManager.MintParams",
699
- "name": "params",
700
- "type": "tuple"
701
- }
702
- ],
703
- "name": "mint",
704
- "outputs": [
705
- {
706
- "internalType": "uint256",
707
- "name": "tokenId",
708
- "type": "uint256"
709
- },
710
- {
711
- "internalType": "uint128",
712
- "name": "liquidity",
713
- "type": "uint128"
714
- },
715
- {
716
- "internalType": "uint256",
717
- "name": "amount0",
718
- "type": "uint256"
719
- },
720
- {
721
- "internalType": "uint256",
722
- "name": "amount1",
723
- "type": "uint256"
724
- }
725
- ],
726
- "stateMutability": "payable",
727
- "type": "function"
728
- },
729
- {
730
- "inputs": [
731
- {
732
- "internalType": "uint256",
733
- "name": "deltaQty0",
734
- "type": "uint256"
735
- },
736
- {
737
- "internalType": "uint256",
738
- "name": "deltaQty1",
739
- "type": "uint256"
740
- },
741
- {
742
- "internalType": "bytes",
743
- "name": "data",
744
- "type": "bytes"
745
- }
746
- ],
747
- "name": "mintCallback",
748
- "outputs": [],
749
- "stateMutability": "nonpayable",
750
- "type": "function"
751
- },
752
- {
753
- "inputs": [
754
- {
755
- "internalType": "bytes[]",
756
- "name": "data",
757
- "type": "bytes[]"
758
- }
759
- ],
760
- "name": "multicall",
761
- "outputs": [
762
- {
763
- "internalType": "bytes[]",
764
- "name": "results",
765
- "type": "bytes[]"
766
- }
767
- ],
768
- "stateMutability": "payable",
769
- "type": "function"
770
- },
771
- {
772
- "inputs": [],
773
- "name": "name",
774
- "outputs": [
775
- {
776
- "internalType": "string",
777
- "name": "",
778
- "type": "string"
779
- }
780
- ],
781
- "stateMutability": "view",
782
- "type": "function"
783
- },
784
- {
785
- "inputs": [],
786
- "name": "nextPoolId",
787
- "outputs": [
788
- {
789
- "internalType": "uint80",
790
- "name": "",
791
- "type": "uint80"
792
- }
793
- ],
794
- "stateMutability": "view",
795
- "type": "function"
796
- },
797
- {
798
- "inputs": [],
799
- "name": "nextTokenId",
800
- "outputs": [
801
- {
802
- "internalType": "uint256",
803
- "name": "",
804
- "type": "uint256"
805
- }
806
- ],
807
- "stateMutability": "view",
808
- "type": "function"
809
- },
810
- {
811
- "inputs": [
812
- {
813
- "internalType": "uint256",
814
- "name": "tokenId",
815
- "type": "uint256"
816
- }
817
- ],
818
- "name": "ownerOf",
819
- "outputs": [
820
- {
821
- "internalType": "address",
822
- "name": "",
823
- "type": "address"
824
- }
825
- ],
826
- "stateMutability": "view",
827
- "type": "function"
828
- },
829
- {
830
- "inputs": [
831
- {
832
- "internalType": "address",
833
- "name": "spender",
834
- "type": "address"
835
- },
836
- {
837
- "internalType": "uint256",
838
- "name": "tokenId",
839
- "type": "uint256"
840
- },
841
- {
842
- "internalType": "uint256",
843
- "name": "deadline",
844
- "type": "uint256"
845
- },
846
- {
847
- "internalType": "uint8",
848
- "name": "v",
849
- "type": "uint8"
850
- },
851
- {
852
- "internalType": "bytes32",
853
- "name": "r",
854
- "type": "bytes32"
855
- },
856
- {
857
- "internalType": "bytes32",
858
- "name": "s",
859
- "type": "bytes32"
860
- }
861
- ],
862
- "name": "permit",
863
- "outputs": [],
864
- "stateMutability": "nonpayable",
865
- "type": "function"
866
- },
867
- {
868
- "inputs": [
869
- {
870
- "internalType": "uint256",
871
- "name": "tokenId",
872
- "type": "uint256"
873
- }
874
- ],
875
- "name": "positions",
876
- "outputs": [
877
- {
878
- "components": [
879
- {
880
- "internalType": "uint96",
881
- "name": "nonce",
882
- "type": "uint96"
883
- },
884
- {
885
- "internalType": "address",
886
- "name": "operator",
887
- "type": "address"
888
- },
889
- {
890
- "internalType": "uint80",
891
- "name": "poolId",
892
- "type": "uint80"
893
- },
894
- {
895
- "internalType": "int24",
896
- "name": "tickLower",
897
- "type": "int24"
898
- },
899
- {
900
- "internalType": "int24",
901
- "name": "tickUpper",
902
- "type": "int24"
903
- },
904
- {
905
- "internalType": "uint128",
906
- "name": "liquidity",
907
- "type": "uint128"
908
- },
909
- {
910
- "internalType": "uint256",
911
- "name": "rTokenOwed",
912
- "type": "uint256"
913
- },
914
- {
915
- "internalType": "uint256",
916
- "name": "feeGrowthInsideLast",
917
- "type": "uint256"
918
- }
919
- ],
920
- "internalType": "struct IBasePositionManager.Position",
921
- "name": "pos",
922
- "type": "tuple"
923
- },
924
- {
925
- "components": [
926
- {
927
- "internalType": "address",
928
- "name": "token0",
929
- "type": "address"
930
- },
931
- {
932
- "internalType": "uint24",
933
- "name": "fee",
934
- "type": "uint24"
935
- },
936
- {
937
- "internalType": "address",
938
- "name": "token1",
939
- "type": "address"
940
- }
941
- ],
942
- "internalType": "struct IBasePositionManager.PoolInfo",
943
- "name": "info",
944
- "type": "tuple"
945
- }
946
- ],
947
- "stateMutability": "view",
948
- "type": "function"
949
- },
950
- {
951
- "inputs": [],
952
- "name": "refundEth",
953
- "outputs": [],
954
- "stateMutability": "payable",
955
- "type": "function"
956
- },
957
- {
958
- "inputs": [
959
- {
960
- "components": [
961
- {
962
- "internalType": "uint256",
963
- "name": "tokenId",
964
- "type": "uint256"
965
- },
966
- {
967
- "internalType": "uint128",
968
- "name": "liquidity",
969
- "type": "uint128"
970
- },
971
- {
972
- "internalType": "uint256",
973
- "name": "amount0Min",
974
- "type": "uint256"
975
- },
976
- {
977
- "internalType": "uint256",
978
- "name": "amount1Min",
979
- "type": "uint256"
980
- },
981
- {
982
- "internalType": "uint256",
983
- "name": "deadline",
984
- "type": "uint256"
985
- }
986
- ],
987
- "internalType": "struct IBasePositionManager.RemoveLiquidityParams",
988
- "name": "params",
989
- "type": "tuple"
990
- }
991
- ],
992
- "name": "removeLiquidity",
993
- "outputs": [
994
- {
995
- "internalType": "uint256",
996
- "name": "amount0",
997
- "type": "uint256"
998
- },
999
- {
1000
- "internalType": "uint256",
1001
- "name": "amount1",
1002
- "type": "uint256"
1003
- },
1004
- {
1005
- "internalType": "uint256",
1006
- "name": "additionalRTokenOwed",
1007
- "type": "uint256"
1008
- }
1009
- ],
1010
- "stateMutability": "nonpayable",
1011
- "type": "function"
1012
- },
1013
- {
1014
- "inputs": [
1015
- {
1016
- "internalType": "address",
1017
- "name": "from",
1018
- "type": "address"
1019
- },
1020
- {
1021
- "internalType": "address",
1022
- "name": "to",
1023
- "type": "address"
1024
- },
1025
- {
1026
- "internalType": "uint256",
1027
- "name": "tokenId",
1028
- "type": "uint256"
1029
- }
1030
- ],
1031
- "name": "safeTransferFrom",
1032
- "outputs": [],
1033
- "stateMutability": "nonpayable",
1034
- "type": "function"
1035
- },
1036
- {
1037
- "inputs": [
1038
- {
1039
- "internalType": "address",
1040
- "name": "from",
1041
- "type": "address"
1042
- },
1043
- {
1044
- "internalType": "address",
1045
- "name": "to",
1046
- "type": "address"
1047
- },
1048
- {
1049
- "internalType": "uint256",
1050
- "name": "tokenId",
1051
- "type": "uint256"
1052
- },
1053
- {
1054
- "internalType": "bytes",
1055
- "name": "_data",
1056
- "type": "bytes"
1057
- }
1058
- ],
1059
- "name": "safeTransferFrom",
1060
- "outputs": [],
1061
- "stateMutability": "nonpayable",
1062
- "type": "function"
1063
- },
1064
- {
1065
- "inputs": [
1066
- {
1067
- "internalType": "address",
1068
- "name": "operator",
1069
- "type": "address"
1070
- },
1071
- {
1072
- "internalType": "bool",
1073
- "name": "approved",
1074
- "type": "bool"
1075
- }
1076
- ],
1077
- "name": "setApprovalForAll",
1078
- "outputs": [],
1079
- "stateMutability": "nonpayable",
1080
- "type": "function"
1081
- },
1082
- {
1083
- "inputs": [
1084
- {
1085
- "internalType": "bytes4",
1086
- "name": "interfaceId",
1087
- "type": "bytes4"
1088
- }
1089
- ],
1090
- "name": "supportsInterface",
1091
- "outputs": [
1092
- {
1093
- "internalType": "bool",
1094
- "name": "",
1095
- "type": "bool"
1096
- }
1097
- ],
1098
- "stateMutability": "view",
1099
- "type": "function"
1100
- },
1101
- {
1102
- "inputs": [],
1103
- "name": "symbol",
1104
- "outputs": [
1105
- {
1106
- "internalType": "string",
1107
- "name": "",
1108
- "type": "string"
1109
- }
1110
- ],
1111
- "stateMutability": "view",
1112
- "type": "function"
1113
- },
1114
- {
1115
- "inputs": [
1116
- {
1117
- "internalType": "uint256",
1118
- "name": "tokenId",
1119
- "type": "uint256"
1120
- }
1121
- ],
1122
- "name": "syncFeeGrowth",
1123
- "outputs": [
1124
- {
1125
- "internalType": "uint256",
1126
- "name": "additionalRTokenOwed",
1127
- "type": "uint256"
1128
- }
1129
- ],
1130
- "stateMutability": "nonpayable",
1131
- "type": "function"
1132
- },
1133
- {
1134
- "inputs": [
1135
- {
1136
- "internalType": "uint256",
1137
- "name": "index",
1138
- "type": "uint256"
1139
- }
1140
- ],
1141
- "name": "tokenByIndex",
1142
- "outputs": [
1143
- {
1144
- "internalType": "uint256",
1145
- "name": "",
1146
- "type": "uint256"
1147
- }
1148
- ],
1149
- "stateMutability": "view",
1150
- "type": "function"
1151
- },
1152
- {
1153
- "inputs": [
1154
- {
1155
- "internalType": "address",
1156
- "name": "owner",
1157
- "type": "address"
1158
- },
1159
- {
1160
- "internalType": "uint256",
1161
- "name": "index",
1162
- "type": "uint256"
1163
- }
1164
- ],
1165
- "name": "tokenOfOwnerByIndex",
1166
- "outputs": [
1167
- {
1168
- "internalType": "uint256",
1169
- "name": "",
1170
- "type": "uint256"
1171
- }
1172
- ],
1173
- "stateMutability": "view",
1174
- "type": "function"
1175
- },
1176
- {
1177
- "inputs": [
1178
- {
1179
- "internalType": "uint256",
1180
- "name": "tokenId",
1181
- "type": "uint256"
1182
- }
1183
- ],
1184
- "name": "tokenURI",
1185
- "outputs": [
1186
- {
1187
- "internalType": "string",
1188
- "name": "",
1189
- "type": "string"
1190
- }
1191
- ],
1192
- "stateMutability": "view",
1193
- "type": "function"
1194
- },
1195
- {
1196
- "inputs": [],
1197
- "name": "totalSupply",
1198
- "outputs": [
1199
- {
1200
- "internalType": "uint256",
1201
- "name": "",
1202
- "type": "uint256"
1203
- }
1204
- ],
1205
- "stateMutability": "view",
1206
- "type": "function"
1207
- },
1208
- {
1209
- "inputs": [
1210
- {
1211
- "internalType": "address",
1212
- "name": "token",
1213
- "type": "address"
1214
- },
1215
- {
1216
- "internalType": "uint256",
1217
- "name": "minAmount",
1218
- "type": "uint256"
1219
- },
1220
- {
1221
- "internalType": "address",
1222
- "name": "recipient",
1223
- "type": "address"
1224
- }
1225
- ],
1226
- "name": "transferAllTokens",
1227
- "outputs": [],
1228
- "stateMutability": "payable",
1229
- "type": "function"
1230
- },
1231
- {
1232
- "inputs": [
1233
- {
1234
- "internalType": "address",
1235
- "name": "from",
1236
- "type": "address"
1237
- },
1238
- {
1239
- "internalType": "address",
1240
- "name": "to",
1241
- "type": "address"
1242
- },
1243
- {
1244
- "internalType": "uint256",
1245
- "name": "tokenId",
1246
- "type": "uint256"
1247
- }
1248
- ],
1249
- "name": "transferFrom",
1250
- "outputs": [],
1251
- "stateMutability": "nonpayable",
1252
- "type": "function"
1253
- },
1254
- {
1255
- "inputs": [
1256
- {
1257
- "internalType": "uint256",
1258
- "name": "minAmount",
1259
- "type": "uint256"
1260
- },
1261
- {
1262
- "internalType": "address",
1263
- "name": "recipient",
1264
- "type": "address"
1265
- }
1266
- ],
1267
- "name": "unwrapWeth",
1268
- "outputs": [],
1269
- "stateMutability": "payable",
1270
- "type": "function"
1271
- },
1272
- {
1273
- "stateMutability": "payable",
1274
- "type": "receive"
1275
- }
1276
- ]