@paraswap/dex-lib 4.1.23 → 4.1.24-uni-v4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/build/abi/integral/factory.json +333 -0
  2. package/build/abi/{angle-transmuter/ChainlinkEACAggregatorProxy.json → integral/oracle.json} +239 -247
  3. package/build/abi/{curve-v1/StableSwapUSDN.json → integral/pool.json} +487 -450
  4. package/build/abi/{RamsesV2Pool.abi.json → integral/relayer.json} +833 -851
  5. package/build/abi/uniswap-v4/pool-manager.abi.json +1367 -0
  6. package/build/abi/uniswap-v4/quoter.abi.json +461 -0
  7. package/build/abi/uniswap-v4/router.abi.json +230 -0
  8. package/build/abi/uniswap-v4/state-view.abi.json +365 -0
  9. package/build/dex/aave-v1/aave-v1.d.ts +1 -2
  10. package/build/dex/aave-v1/aave-v1.js +0 -22
  11. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  12. package/build/dex/bProtocol.d.ts +18 -0
  13. package/build/dex/bProtocol.js +39 -0
  14. package/build/dex/bProtocol.js.map +1 -0
  15. package/build/dex/bancor.d.ts +26 -0
  16. package/build/dex/bancor.js +58 -0
  17. package/build/dex/bancor.js.map +1 -0
  18. package/build/dex/compound.d.ts +18 -0
  19. package/build/dex/compound.js +46 -0
  20. package/build/dex/compound.js.map +1 -0
  21. package/build/dex/curve-v2.d.ts +58 -0
  22. package/build/dex/curve-v2.js +180 -0
  23. package/build/dex/curve-v2.js.map +1 -0
  24. package/build/dex/dodo-v1.d.ts +33 -0
  25. package/build/dex/dodo-v1.js +63 -0
  26. package/build/dex/dodo-v1.js.map +1 -0
  27. package/build/dex/fluid-dex/fluid-dex-generate-pool.d.ts +49 -0
  28. package/build/dex/fluid-dex/fluid-dex-generate-pool.js +104 -0
  29. package/build/dex/fluid-dex/fluid-dex-generate-pool.js.map +1 -0
  30. package/build/dex/index.js +2 -0
  31. package/build/dex/index.js.map +1 -1
  32. package/build/dex/integral/config.d.ts +4 -0
  33. package/build/dex/integral/config.js +20 -0
  34. package/build/dex/integral/config.js.map +1 -0
  35. package/build/dex/integral/context.d.ts +40 -0
  36. package/build/dex/integral/context.js +158 -0
  37. package/build/dex/integral/context.js.map +1 -0
  38. package/build/dex/integral/integral-factory.d.ts +24 -0
  39. package/build/dex/integral/integral-factory.js +95 -0
  40. package/build/dex/integral/integral-factory.js.map +1 -0
  41. package/build/dex/integral/integral-pool.d.ts +50 -0
  42. package/build/dex/integral/integral-pool.js +149 -0
  43. package/build/dex/integral/integral-pool.js.map +1 -0
  44. package/build/dex/integral/integral-pricing.d.ts +18 -0
  45. package/build/dex/integral/integral-pricing.js +114 -0
  46. package/build/dex/integral/integral-pricing.js.map +1 -0
  47. package/build/dex/integral/integral-relayer.d.ts +42 -0
  48. package/build/dex/integral/integral-relayer.js +192 -0
  49. package/build/dex/integral/integral-relayer.js.map +1 -0
  50. package/build/dex/integral/integral-token.d.ts +27 -0
  51. package/build/dex/integral/integral-token.js +59 -0
  52. package/build/dex/integral/integral-token.js.map +1 -0
  53. package/build/dex/{inception/inception-native.d.ts → integral/integral.d.ts} +19 -21
  54. package/build/dex/integral/integral.js +376 -0
  55. package/build/dex/integral/integral.js.map +1 -0
  56. package/build/dex/integral/types.d.ts +85 -0
  57. package/build/dex/integral/types.js +9 -0
  58. package/build/dex/integral/types.js.map +1 -0
  59. package/build/dex/integral/utils-e2e.d.ts +9 -0
  60. package/build/dex/integral/utils-e2e.js +131 -0
  61. package/build/dex/integral/utils-e2e.js.map +1 -0
  62. package/build/dex/integral/utils.d.ts +17 -0
  63. package/build/dex/integral/utils.js +94 -0
  64. package/build/dex/integral/utils.js.map +1 -0
  65. package/build/dex/jarvis.d.ts +1 -2
  66. package/build/dex/jarvis.js +0 -58
  67. package/build/dex/jarvis.js.map +1 -1
  68. package/build/dex/lido.d.ts +19 -0
  69. package/build/dex/lido.js +42 -0
  70. package/build/dex/lido.js.map +1 -0
  71. package/build/dex/m-token/config.d.ts +3 -0
  72. package/build/dex/m-token/config.js +19 -0
  73. package/build/dex/m-token/config.js.map +1 -0
  74. package/build/dex/m-token/m-token.d.ts +29 -0
  75. package/build/dex/m-token/m-token.js +145 -0
  76. package/build/dex/m-token/m-token.js.map +1 -0
  77. package/build/dex/m-token/m-wrapped-m.d.ts +17 -0
  78. package/build/dex/m-token/m-wrapped-m.js +50 -0
  79. package/build/dex/m-token/m-wrapped-m.js.map +1 -0
  80. package/build/dex/m-token/types.d.ts +12 -0
  81. package/build/dex/{inception → m-token}/types.js.map +1 -1
  82. package/build/dex/onebit.d.ts +25 -0
  83. package/build/dex/onebit.js +42 -0
  84. package/build/dex/onebit.js.map +1 -0
  85. package/build/dex/platypus/platypus.d.ts +1 -2
  86. package/build/dex/platypus/platypus.js +0 -31
  87. package/build/dex/platypus/platypus.js.map +1 -1
  88. package/build/dex/smoothy.d.ts +26 -0
  89. package/build/dex/smoothy.js +48 -0
  90. package/build/dex/smoothy.js.map +1 -0
  91. package/build/dex/spark/susds-psm.d.ts +49 -0
  92. package/build/dex/spark/susds-psm.js +245 -0
  93. package/build/dex/spark/susds-psm.js.map +1 -0
  94. package/build/dex/stable-pool.d.ts +28 -0
  95. package/build/dex/stable-pool.js +62 -0
  96. package/build/dex/stable-pool.js.map +1 -0
  97. package/build/dex/swaap-v1/swaap-v1.d.ts +1 -2
  98. package/build/dex/swaap-v1/swaap-v1.js +0 -10
  99. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  100. package/build/dex/trader-joe-v2.1/optimizer.d.ts +2 -0
  101. package/build/dex/trader-joe-v2.1/optimizer.js +47 -0
  102. package/build/dex/trader-joe-v2.1/optimizer.js.map +1 -0
  103. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +7 -0
  104. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +20 -0
  105. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +1 -0
  106. package/build/dex/trader-joe-v2.1.d.ts +43 -0
  107. package/build/dex/trader-joe-v2.1.js +79 -0
  108. package/build/dex/trader-joe-v2.1.js.map +1 -0
  109. package/build/dex/uniswap-v4/config.d.ts +3 -0
  110. package/build/dex/uniswap-v4/config.js +58 -0
  111. package/build/dex/uniswap-v4/config.js.map +1 -0
  112. package/build/dex/uniswap-v4/constants.d.ts +9 -0
  113. package/build/dex/uniswap-v4/constants.js +18 -0
  114. package/build/dex/uniswap-v4/constants.js.map +1 -0
  115. package/build/dex/uniswap-v4/contract-math/BalanceDelta.d.ts +6 -0
  116. package/build/dex/uniswap-v4/contract-math/BalanceDelta.js +22 -0
  117. package/build/dex/uniswap-v4/contract-math/BalanceDelta.js.map +1 -0
  118. package/build/dex/uniswap-v4/contract-math/BitMath.d.ts +4 -0
  119. package/build/dex/uniswap-v4/contract-math/BitMath.js +53 -0
  120. package/build/dex/uniswap-v4/contract-math/BitMath.js.map +1 -0
  121. package/build/dex/uniswap-v4/contract-math/FixedPoint128.d.ts +3 -0
  122. package/build/dex/uniswap-v4/contract-math/FixedPoint128.js +8 -0
  123. package/build/dex/uniswap-v4/contract-math/FixedPoint128.js.map +1 -0
  124. package/build/dex/uniswap-v4/contract-math/FixedPoint96.d.ts +4 -0
  125. package/build/dex/uniswap-v4/contract-math/FixedPoint96.js +9 -0
  126. package/build/dex/uniswap-v4/contract-math/FixedPoint96.js.map +1 -0
  127. package/build/dex/uniswap-v4/contract-math/FullMath.d.ts +4 -0
  128. package/build/dex/uniswap-v4/contract-math/FullMath.js +20 -0
  129. package/build/dex/uniswap-v4/contract-math/FullMath.js.map +1 -0
  130. package/build/dex/uniswap-v4/contract-math/LPFeeLibrary.d.ts +13 -0
  131. package/build/dex/uniswap-v4/contract-math/LPFeeLibrary.js +35 -0
  132. package/build/dex/uniswap-v4/contract-math/LPFeeLibrary.js.map +1 -0
  133. package/build/dex/uniswap-v4/contract-math/LiquidityMath.d.ts +3 -0
  134. package/build/dex/uniswap-v4/contract-math/LiquidityMath.js +16 -0
  135. package/build/dex/uniswap-v4/contract-math/LiquidityMath.js.map +1 -0
  136. package/build/dex/uniswap-v4/contract-math/Position.d.ts +9 -0
  137. package/build/dex/uniswap-v4/contract-math/Position.js +39 -0
  138. package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -0
  139. package/build/dex/uniswap-v4/contract-math/ProtocolFeeLibrary.d.ts +10 -0
  140. package/build/dex/uniswap-v4/contract-math/ProtocolFeeLibrary.js +28 -0
  141. package/build/dex/uniswap-v4/contract-math/ProtocolFeeLibrary.js.map +1 -0
  142. package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.d.ts +8 -0
  143. package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.js +67 -0
  144. package/build/dex/uniswap-v4/contract-math/SqrtPriceMath.js.map +1 -0
  145. package/build/dex/uniswap-v4/contract-math/SwapMath.d.ts +10 -0
  146. package/build/dex/uniswap-v4/contract-math/SwapMath.js +63 -0
  147. package/build/dex/uniswap-v4/contract-math/SwapMath.js.map +1 -0
  148. package/build/dex/uniswap-v4/contract-math/Tick.d.ts +10 -0
  149. package/build/dex/uniswap-v4/contract-math/Tick.js +64 -0
  150. package/build/dex/uniswap-v4/contract-math/Tick.js.map +1 -0
  151. package/build/dex/uniswap-v4/contract-math/TickBitMap.d.ts +9 -0
  152. package/build/dex/uniswap-v4/contract-math/TickBitMap.js +64 -0
  153. package/build/dex/uniswap-v4/contract-math/TickBitMap.js.map +1 -0
  154. package/build/dex/uniswap-v4/contract-math/TickMath.d.ts +9 -0
  155. package/build/dex/uniswap-v4/contract-math/TickMath.js +83 -0
  156. package/build/dex/uniswap-v4/contract-math/TickMath.js.map +1 -0
  157. package/build/dex/uniswap-v4/contract-math/UnsafeMath.d.ts +4 -0
  158. package/build/dex/uniswap-v4/contract-math/UnsafeMath.js +17 -0
  159. package/build/dex/uniswap-v4/contract-math/UnsafeMath.js.map +1 -0
  160. package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.d.ts +8 -0
  161. package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.js +11 -0
  162. package/build/dex/uniswap-v4/contract-math/uniswap-v4-math.js.map +1 -0
  163. package/build/dex/uniswap-v4/contract-math/uniswap-v4-pool-math.d.ts +29 -0
  164. package/build/dex/uniswap-v4/contract-math/uniswap-v4-pool-math.js +419 -0
  165. package/build/dex/uniswap-v4/contract-math/uniswap-v4-pool-math.js.map +1 -0
  166. package/build/dex/uniswap-v4/contract-math/utils.d.ts +3 -0
  167. package/build/dex/uniswap-v4/contract-math/utils.js +15 -0
  168. package/build/dex/uniswap-v4/contract-math/utils.js.map +1 -0
  169. package/build/dex/uniswap-v4/encoder.d.ts +17 -0
  170. package/build/dex/uniswap-v4/encoder.js +160 -0
  171. package/build/dex/uniswap-v4/encoder.js.map +1 -0
  172. package/build/dex/uniswap-v4/subgraph.d.ts +7 -0
  173. package/build/dex/uniswap-v4/subgraph.js +122 -0
  174. package/build/dex/uniswap-v4/subgraph.js.map +1 -0
  175. package/build/dex/uniswap-v4/types.d.ts +92 -0
  176. package/build/dex/uniswap-v4/types.js +3 -0
  177. package/build/dex/uniswap-v4/types.js.map +1 -0
  178. package/build/dex/uniswap-v4/uniswap-v4-pool-manager.d.ts +31 -0
  179. package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js +135 -0
  180. package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js.map +1 -0
  181. package/build/dex/uniswap-v4/uniswap-v4-pool.d.ts +40 -0
  182. package/build/dex/uniswap-v4/uniswap-v4-pool.js +343 -0
  183. package/build/dex/uniswap-v4/uniswap-v4-pool.js.map +1 -0
  184. package/build/dex/uniswap-v4/uniswap-v4.d.ts +41 -0
  185. package/build/dex/uniswap-v4/uniswap-v4.js +205 -0
  186. package/build/dex/uniswap-v4/uniswap-v4.js.map +1 -0
  187. package/build/dex/uniswap-v4/utils.d.ts +2 -0
  188. package/build/dex/uniswap-v4/utils.js +15 -0
  189. package/build/dex/uniswap-v4/utils.js.map +1 -0
  190. package/build/dex/zerox/index.d.ts +26 -4
  191. package/build/dex/zerox/index.js +42 -50
  192. package/build/dex/zerox/index.js.map +1 -1
  193. package/build/dex/zerox/types.d.ts +0 -29
  194. package/build/dex/zerox/types.js +1 -8
  195. package/build/dex/zerox/types.js.map +1 -1
  196. package/package.json +1 -1
  197. package/build/abi/Aave_GSM.json +0 -751
  198. package/build/abi/Balancer.json +0 -257
  199. package/build/abi/BalancerV2.json +0 -1179
  200. package/build/abi/RamsesV2Quoter.abi.json +0 -274
  201. package/build/abi/USDM.json +0 -807
  202. package/build/abi/UniswapV2Router.json +0 -397
  203. package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +0 -1246
  204. package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
  205. package/build/abi/curve-v1/CurveTokenV1.json +0 -305
  206. package/build/abi/curve-v1/CurveTokenV2.json +0 -318
  207. package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
  208. package/build/abi/curve-v1/CurveV2Swap.json +0 -700
  209. package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
  210. package/build/abi/curve-v1/FactoryRegistry.json +0 -508
  211. package/build/abi/curve-v1/StableSwapAave.json +0 -1152
  212. package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
  213. package/build/abi/curve-v1/StableSwapCompound.json +0 -814
  214. package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
  215. package/build/abi/curve-v1/StableSwapPax.json +0 -865
  216. package/build/abi/curve-v1/StableSwapSnow.json +0 -900
  217. package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
  218. package/build/abi/curve-v1/StableSwapY.json +0 -814
  219. package/build/abi/inception/inception-ineth-pool.json +0 -1062
  220. package/build/abi/inception/inception-ineth.json +0 -609
  221. package/build/abi/inception/inception-ratio-feed.json +0 -329
  222. package/build/abi/inception/inception-vault.json +0 -991
  223. package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
  224. package/build/abi/kyberdmm.abi.json +0 -1148
  225. package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
  226. package/build/abi/nerve/nerve-metapool.json +0 -790
  227. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  228. package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
  229. package/build/dex/balancer-v1/balancer-pools.json +0 -33333
  230. package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
  231. package/build/dex/bebop/websocket-fetcher.js +0 -87
  232. package/build/dex/bebop/websocket-fetcher.js.map +0 -1
  233. package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
  234. package/build/dex/idle-dao/idle-dao-pool.js +0 -176
  235. package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
  236. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
  237. package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
  238. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
  239. package/build/dex/idle-dao/scripts.d.ts +0 -9
  240. package/build/dex/idle-dao/scripts.js +0 -552
  241. package/build/dex/idle-dao/scripts.js.map +0 -1
  242. package/build/dex/inception/config.d.ts +0 -4
  243. package/build/dex/inception/config.js +0 -109
  244. package/build/dex/inception/config.js.map +0 -1
  245. package/build/dex/inception/inception-event-pool.d.ts +0 -16
  246. package/build/dex/inception/inception-event-pool.js +0 -51
  247. package/build/dex/inception/inception-event-pool.js.map +0 -1
  248. package/build/dex/inception/inception-native.js +0 -131
  249. package/build/dex/inception/inception-native.js.map +0 -1
  250. package/build/dex/inception/inception-pool.d.ts +0 -18
  251. package/build/dex/inception/inception-pool.js +0 -32
  252. package/build/dex/inception/inception-pool.js.map +0 -1
  253. package/build/dex/inception/inception-price-feed.d.ts +0 -19
  254. package/build/dex/inception/inception-price-feed.js +0 -51
  255. package/build/dex/inception/inception-price-feed.js.map +0 -1
  256. package/build/dex/inception/inception.d.ts +0 -43
  257. package/build/dex/inception/inception.js +0 -204
  258. package/build/dex/inception/inception.js.map +0 -1
  259. package/build/dex/inception/tokens.d.ts +0 -9
  260. package/build/dex/inception/tokens.js +0 -28
  261. package/build/dex/inception/tokens.js.map +0 -1
  262. package/build/dex/inception/types.d.ts +0 -22
  263. package/build/dex/inception/utils.d.ts +0 -6
  264. package/build/dex/inception/utils.js +0 -37
  265. package/build/dex/inception/utils.js.map +0 -1
  266. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
  267. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
  268. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
  269. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
  270. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
  271. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
  272. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
  273. package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
  274. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
  275. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
  276. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
  277. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
  278. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
  279. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
  280. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
  281. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
  282. package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
  283. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
  284. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
  285. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
  286. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
  287. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
  288. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
  289. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
  290. package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
  291. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
  292. package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
  293. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
  294. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
  295. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
  296. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
  297. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
  298. package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
  299. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
  300. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
  301. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
  302. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
  303. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
  304. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
  305. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
  306. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
  307. package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
  308. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
  309. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
  310. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
  311. package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
  312. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
  313. package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
  314. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
  315. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
  316. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
  317. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
  318. package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
  319. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
  320. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
  321. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
  322. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
  323. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
  324. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
  325. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
  326. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
  327. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
  328. package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
  329. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
  330. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
  331. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
  332. package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
  333. package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
  334. package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
  335. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
  336. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
  337. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
  338. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
  339. package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
  340. /package/build/dex/{inception → m-token}/types.js +0 -0
@@ -0,0 +1,1367 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "initialOwner",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "stateMutability": "nonpayable",
11
+ "type": "constructor"
12
+ },
13
+ {
14
+ "inputs": [],
15
+ "name": "AlreadyUnlocked",
16
+ "type": "error"
17
+ },
18
+ {
19
+ "inputs": [
20
+ {
21
+ "internalType": "address",
22
+ "name": "currency0",
23
+ "type": "address"
24
+ },
25
+ {
26
+ "internalType": "address",
27
+ "name": "currency1",
28
+ "type": "address"
29
+ }
30
+ ],
31
+ "name": "CurrenciesOutOfOrderOrEqual",
32
+ "type": "error"
33
+ },
34
+ {
35
+ "inputs": [],
36
+ "name": "CurrencyNotSettled",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [],
41
+ "name": "DelegateCallNotAllowed",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "InvalidCaller",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ManagerLocked",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "MustClearExactPositiveDelta",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "NonzeroNativeValue",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [],
66
+ "name": "PoolNotInitialized",
67
+ "type": "error"
68
+ },
69
+ {
70
+ "inputs": [],
71
+ "name": "ProtocolFeeCurrencySynced",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "inputs": [
76
+ {
77
+ "internalType": "uint24",
78
+ "name": "fee",
79
+ "type": "uint24"
80
+ }
81
+ ],
82
+ "name": "ProtocolFeeTooLarge",
83
+ "type": "error"
84
+ },
85
+ {
86
+ "inputs": [],
87
+ "name": "SwapAmountCannotBeZero",
88
+ "type": "error"
89
+ },
90
+ {
91
+ "inputs": [
92
+ {
93
+ "internalType": "int24",
94
+ "name": "tickSpacing",
95
+ "type": "int24"
96
+ }
97
+ ],
98
+ "name": "TickSpacingTooLarge",
99
+ "type": "error"
100
+ },
101
+ {
102
+ "inputs": [
103
+ {
104
+ "internalType": "int24",
105
+ "name": "tickSpacing",
106
+ "type": "int24"
107
+ }
108
+ ],
109
+ "name": "TickSpacingTooSmall",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "UnauthorizedDynamicLPFeeUpdate",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "anonymous": false,
119
+ "inputs": [
120
+ {
121
+ "indexed": true,
122
+ "internalType": "address",
123
+ "name": "owner",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "indexed": true,
128
+ "internalType": "address",
129
+ "name": "spender",
130
+ "type": "address"
131
+ },
132
+ {
133
+ "indexed": true,
134
+ "internalType": "uint256",
135
+ "name": "id",
136
+ "type": "uint256"
137
+ },
138
+ {
139
+ "indexed": false,
140
+ "internalType": "uint256",
141
+ "name": "amount",
142
+ "type": "uint256"
143
+ }
144
+ ],
145
+ "name": "Approval",
146
+ "type": "event"
147
+ },
148
+ {
149
+ "anonymous": false,
150
+ "inputs": [
151
+ {
152
+ "indexed": true,
153
+ "internalType": "PoolId",
154
+ "name": "id",
155
+ "type": "bytes32"
156
+ },
157
+ {
158
+ "indexed": true,
159
+ "internalType": "address",
160
+ "name": "sender",
161
+ "type": "address"
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": "Donate",
177
+ "type": "event"
178
+ },
179
+ {
180
+ "anonymous": false,
181
+ "inputs": [
182
+ {
183
+ "indexed": true,
184
+ "internalType": "PoolId",
185
+ "name": "id",
186
+ "type": "bytes32"
187
+ },
188
+ {
189
+ "indexed": true,
190
+ "internalType": "Currency",
191
+ "name": "currency0",
192
+ "type": "address"
193
+ },
194
+ {
195
+ "indexed": true,
196
+ "internalType": "Currency",
197
+ "name": "currency1",
198
+ "type": "address"
199
+ },
200
+ {
201
+ "indexed": false,
202
+ "internalType": "uint24",
203
+ "name": "fee",
204
+ "type": "uint24"
205
+ },
206
+ {
207
+ "indexed": false,
208
+ "internalType": "int24",
209
+ "name": "tickSpacing",
210
+ "type": "int24"
211
+ },
212
+ {
213
+ "indexed": false,
214
+ "internalType": "contract IHooks",
215
+ "name": "hooks",
216
+ "type": "address"
217
+ },
218
+ {
219
+ "indexed": false,
220
+ "internalType": "uint160",
221
+ "name": "sqrtPriceX96",
222
+ "name": "sqrtPriceX96",
223
+ "type": "uint160"
224
+ },
225
+ {
226
+ "indexed": false,
227
+ "internalType": "int24",
228
+ "name": "tick",
229
+ "type": "int24"
230
+ }
231
+ ],
232
+ "name": "Initialize",
233
+ "type": "event"
234
+ },
235
+ {
236
+ "anonymous": false,
237
+ "inputs": [
238
+ {
239
+ "indexed": true,
240
+ "internalType": "PoolId",
241
+ "name": "id",
242
+ "type": "bytes32"
243
+ },
244
+ {
245
+ "indexed": true,
246
+ "internalType": "address",
247
+ "name": "sender",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "indexed": false,
252
+ "internalType": "int24",
253
+ "name": "tickLower",
254
+ "type": "int24"
255
+ },
256
+ {
257
+ "indexed": false,
258
+ "internalType": "int24",
259
+ "name": "tickUpper",
260
+ "type": "int24"
261
+ },
262
+ {
263
+ "indexed": false,
264
+ "internalType": "int256",
265
+ "name": "liquidityDelta",
266
+ "type": "int256"
267
+ },
268
+ {
269
+ "indexed": false,
270
+ "internalType": "bytes32",
271
+ "name": "salt",
272
+ "type": "bytes32"
273
+ }
274
+ ],
275
+ "name": "ModifyLiquidity",
276
+ "type": "event"
277
+ },
278
+ {
279
+ "anonymous": false,
280
+ "inputs": [
281
+ {
282
+ "indexed": true,
283
+ "internalType": "address",
284
+ "name": "owner",
285
+ "type": "address"
286
+ },
287
+ {
288
+ "indexed": true,
289
+ "internalType": "address",
290
+ "name": "operator",
291
+ "type": "address"
292
+ },
293
+ {
294
+ "indexed": false,
295
+ "internalType": "bool",
296
+ "name": "approved",
297
+ "type": "bool"
298
+ }
299
+ ],
300
+ "name": "OperatorSet",
301
+ "type": "event"
302
+ },
303
+ {
304
+ "anonymous": false,
305
+ "inputs": [
306
+ {
307
+ "indexed": true,
308
+ "internalType": "address",
309
+ "name": "user",
310
+ "type": "address"
311
+ },
312
+ {
313
+ "indexed": true,
314
+ "internalType": "address",
315
+ "name": "newOwner",
316
+ "type": "address"
317
+ }
318
+ ],
319
+ "name": "OwnershipTransferred",
320
+ "type": "event"
321
+ },
322
+ {
323
+ "anonymous": false,
324
+ "inputs": [
325
+ {
326
+ "indexed": true,
327
+ "internalType": "address",
328
+ "name": "protocolFeeController",
329
+ "type": "address"
330
+ }
331
+ ],
332
+ "name": "ProtocolFeeControllerUpdated",
333
+ "type": "event"
334
+ },
335
+ {
336
+ "anonymous": false,
337
+ "inputs": [
338
+ {
339
+ "indexed": true,
340
+ "internalType": "PoolId",
341
+ "name": "id",
342
+ "type": "bytes32"
343
+ },
344
+ {
345
+ "indexed": false,
346
+ "internalType": "uint24",
347
+ "name": "protocolFee",
348
+ "type": "uint24"
349
+ }
350
+ ],
351
+ "name": "ProtocolFeeUpdated",
352
+ "type": "event"
353
+ },
354
+ {
355
+ "anonymous": false,
356
+ "inputs": [
357
+ {
358
+ "indexed": true,
359
+ "internalType": "PoolId",
360
+ "name": "id",
361
+ "type": "bytes32"
362
+ },
363
+ {
364
+ "indexed": true,
365
+ "internalType": "address",
366
+ "name": "sender",
367
+ "type": "address"
368
+ },
369
+ {
370
+ "indexed": false,
371
+ "internalType": "int128",
372
+ "name": "amount0",
373
+ "type": "int128"
374
+ },
375
+ {
376
+ "indexed": false,
377
+ "internalType": "int128",
378
+ "name": "amount1",
379
+ "type": "int128"
380
+ },
381
+ {
382
+ "indexed": false,
383
+ "internalType": "uint160",
384
+ "name": "sqrtPriceX96",
385
+ "type": "uint160"
386
+ },
387
+ {
388
+ "indexed": false,
389
+ "internalType": "uint128",
390
+ "name": "liquidity",
391
+ "type": "uint128"
392
+ },
393
+ {
394
+ "indexed": false,
395
+ "internalType": "int24",
396
+ "name": "tick",
397
+ "type": "int24"
398
+ },
399
+ {
400
+ "indexed": false,
401
+ "internalType": "uint24",
402
+ "name": "fee",
403
+ "type": "uint24"
404
+ }
405
+ ],
406
+ "name": "Swap",
407
+ "type": "event"
408
+ },
409
+ {
410
+ "anonymous": false,
411
+ "inputs": [
412
+ {
413
+ "indexed": false,
414
+ "internalType": "address",
415
+ "name": "caller",
416
+ "type": "address"
417
+ },
418
+ {
419
+ "indexed": true,
420
+ "internalType": "address",
421
+ "name": "from",
422
+ "type": "address"
423
+ },
424
+ {
425
+ "indexed": true,
426
+ "internalType": "address",
427
+ "name": "to",
428
+ "type": "address"
429
+ },
430
+ {
431
+ "indexed": true,
432
+ "internalType": "uint256",
433
+ "name": "id",
434
+ "type": "uint256"
435
+ },
436
+ {
437
+ "indexed": false,
438
+ "internalType": "uint256",
439
+ "name": "amount",
440
+ "type": "uint256"
441
+ }
442
+ ],
443
+ "name": "Transfer",
444
+ "type": "event"
445
+ },
446
+ {
447
+ "inputs": [
448
+ {
449
+ "internalType": "address",
450
+ "name": "owner",
451
+ "type": "address"
452
+ },
453
+ {
454
+ "internalType": "address",
455
+ "name": "spender",
456
+ "type": "address"
457
+ },
458
+ {
459
+ "internalType": "uint256",
460
+ "name": "id",
461
+ "type": "uint256"
462
+ }
463
+ ],
464
+ "name": "allowance",
465
+ "outputs": [
466
+ {
467
+ "internalType": "uint256",
468
+ "name": "amount",
469
+ "type": "uint256"
470
+ }
471
+ ],
472
+ "stateMutability": "view",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [
477
+ {
478
+ "internalType": "address",
479
+ "name": "spender",
480
+ "type": "address"
481
+ },
482
+ {
483
+ "internalType": "uint256",
484
+ "name": "id",
485
+ "type": "uint256"
486
+ },
487
+ {
488
+ "internalType": "uint256",
489
+ "name": "amount",
490
+ "type": "uint256"
491
+ }
492
+ ],
493
+ "name": "approve",
494
+ "outputs": [
495
+ {
496
+ "internalType": "bool",
497
+ "name": "",
498
+ "type": "bool"
499
+ }
500
+ ],
501
+ "stateMutability": "nonpayable",
502
+ "type": "function"
503
+ },
504
+ {
505
+ "inputs": [
506
+ {
507
+ "internalType": "address",
508
+ "name": "owner",
509
+ "type": "address"
510
+ },
511
+ {
512
+ "internalType": "uint256",
513
+ "name": "id",
514
+ "type": "uint256"
515
+ }
516
+ ],
517
+ "name": "balanceOf",
518
+ "outputs": [
519
+ {
520
+ "internalType": "uint256",
521
+ "name": "balance",
522
+ "type": "uint256"
523
+ }
524
+ ],
525
+ "stateMutability": "view",
526
+ "type": "function"
527
+ },
528
+ {
529
+ "inputs": [
530
+ {
531
+ "internalType": "address",
532
+ "name": "from",
533
+ "type": "address"
534
+ },
535
+ {
536
+ "internalType": "uint256",
537
+ "name": "id",
538
+ "type": "uint256"
539
+ },
540
+ {
541
+ "internalType": "uint256",
542
+ "name": "amount",
543
+ "type": "uint256"
544
+ }
545
+ ],
546
+ "name": "burn",
547
+ "outputs": [],
548
+ "stateMutability": "nonpayable",
549
+ "type": "function"
550
+ },
551
+ {
552
+ "inputs": [
553
+ {
554
+ "internalType": "Currency",
555
+ "name": "currency",
556
+ "type": "address"
557
+ },
558
+ {
559
+ "internalType": "uint256",
560
+ "name": "amount",
561
+ "type": "uint256"
562
+ }
563
+ ],
564
+ "name": "clear",
565
+ "outputs": [],
566
+ "stateMutability": "nonpayable",
567
+ "type": "function"
568
+ },
569
+ {
570
+ "inputs": [
571
+ {
572
+ "internalType": "address",
573
+ "name": "recipient",
574
+ "type": "address"
575
+ },
576
+ {
577
+ "internalType": "Currency",
578
+ "name": "currency",
579
+ "type": "address"
580
+ },
581
+ {
582
+ "internalType": "uint256",
583
+ "name": "amount",
584
+ "type": "uint256"
585
+ }
586
+ ],
587
+ "name": "collectProtocolFees",
588
+ "outputs": [
589
+ {
590
+ "internalType": "uint256",
591
+ "name": "amountCollected",
592
+ "type": "uint256"
593
+ }
594
+ ],
595
+ "stateMutability": "nonpayable",
596
+ "type": "function"
597
+ },
598
+ {
599
+ "inputs": [
600
+ {
601
+ "components": [
602
+ {
603
+ "internalType": "Currency",
604
+ "name": "currency0",
605
+ "type": "address"
606
+ },
607
+ {
608
+ "internalType": "Currency",
609
+ "name": "currency1",
610
+ "type": "address"
611
+ },
612
+ {
613
+ "internalType": "uint24",
614
+ "name": "fee",
615
+ "type": "uint24"
616
+ },
617
+ {
618
+ "internalType": "int24",
619
+ "name": "tickSpacing",
620
+ "type": "int24"
621
+ },
622
+ {
623
+ "internalType": "contract IHooks",
624
+ "name": "hooks",
625
+ "type": "address"
626
+ }
627
+ ],
628
+ "internalType": "struct PoolKey",
629
+ "name": "key",
630
+ "type": "tuple"
631
+ },
632
+ {
633
+ "internalType": "uint256",
634
+ "name": "amount0",
635
+ "type": "uint256"
636
+ },
637
+ {
638
+ "internalType": "uint256",
639
+ "name": "amount1",
640
+ "type": "uint256"
641
+ },
642
+ {
643
+ "internalType": "bytes",
644
+ "name": "hookData",
645
+ "type": "bytes"
646
+ }
647
+ ],
648
+ "name": "donate",
649
+ "outputs": [
650
+ {
651
+ "internalType": "BalanceDelta",
652
+ "name": "delta",
653
+ "type": "int256"
654
+ }
655
+ ],
656
+ "stateMutability": "nonpayable",
657
+ "type": "function"
658
+ },
659
+ {
660
+ "inputs": [
661
+ {
662
+ "internalType": "bytes32",
663
+ "name": "slot",
664
+ "type": "bytes32"
665
+ }
666
+ ],
667
+ "name": "extsload",
668
+ "outputs": [
669
+ {
670
+ "internalType": "bytes32",
671
+ "name": "",
672
+ "type": "bytes32"
673
+ }
674
+ ],
675
+ "stateMutability": "view",
676
+ "type": "function"
677
+ },
678
+ {
679
+ "inputs": [
680
+ {
681
+ "internalType": "bytes32",
682
+ "name": "startSlot",
683
+ "type": "bytes32"
684
+ },
685
+ {
686
+ "internalType": "uint256",
687
+ "name": "nSlots",
688
+ "type": "uint256"
689
+ }
690
+ ],
691
+ "name": "extsload",
692
+ "outputs": [
693
+ {
694
+ "internalType": "bytes32[]",
695
+ "name": "",
696
+ "type": "bytes32[]"
697
+ }
698
+ ],
699
+ "stateMutability": "view",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [
704
+ {
705
+ "internalType": "bytes32[]",
706
+ "name": "slots",
707
+ "type": "bytes32[]"
708
+ }
709
+ ],
710
+ "name": "extsload",
711
+ "outputs": [
712
+ {
713
+ "internalType": "bytes32[]",
714
+ "name": "",
715
+ "type": "bytes32[]"
716
+ }
717
+ ],
718
+ "stateMutability": "view",
719
+ "type": "function"
720
+ },
721
+ {
722
+ "inputs": [
723
+ {
724
+ "internalType": "bytes32[]",
725
+ "name": "slots",
726
+ "type": "bytes32[]"
727
+ }
728
+ ],
729
+ "name": "exttload",
730
+ "outputs": [
731
+ {
732
+ "internalType": "bytes32[]",
733
+ "name": "",
734
+ "type": "bytes32[]"
735
+ }
736
+ ],
737
+ "stateMutability": "view",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [
742
+ {
743
+ "internalType": "bytes32",
744
+ "name": "slot",
745
+ "type": "bytes32"
746
+ }
747
+ ],
748
+ "name": "exttload",
749
+ "outputs": [
750
+ {
751
+ "internalType": "bytes32",
752
+ "name": "",
753
+ "type": "bytes32"
754
+ }
755
+ ],
756
+ "stateMutability": "view",
757
+ "type": "function"
758
+ },
759
+ {
760
+ "inputs": [
761
+ {
762
+ "components": [
763
+ {
764
+ "internalType": "Currency",
765
+ "name": "currency0",
766
+ "type": "address"
767
+ },
768
+ {
769
+ "internalType": "Currency",
770
+ "name": "currency1",
771
+ "type": "address"
772
+ },
773
+ {
774
+ "internalType": "uint24",
775
+ "name": "fee",
776
+ "type": "uint24"
777
+ },
778
+ {
779
+ "internalType": "int24",
780
+ "name": "tickSpacing",
781
+ "type": "int24"
782
+ },
783
+ {
784
+ "internalType": "contract IHooks",
785
+ "name": "hooks",
786
+ "type": "address"
787
+ }
788
+ ],
789
+ "internalType": "struct PoolKey",
790
+ "name": "key",
791
+ "type": "tuple"
792
+ },
793
+ {
794
+ "internalType": "uint160",
795
+ "name": "sqrtPriceX96",
796
+ "type": "uint160"
797
+ }
798
+ ],
799
+ "name": "initialize",
800
+ "outputs": [
801
+ {
802
+ "internalType": "int24",
803
+ "name": "tick",
804
+ "type": "int24"
805
+ }
806
+ ],
807
+ "stateMutability": "nonpayable",
808
+ "type": "function"
809
+ },
810
+ {
811
+ "inputs": [
812
+ {
813
+ "internalType": "address",
814
+ "name": "owner",
815
+ "type": "address"
816
+ },
817
+ {
818
+ "internalType": "address",
819
+ "name": "operator",
820
+ "type": "address"
821
+ }
822
+ ],
823
+ "name": "isOperator",
824
+ "outputs": [
825
+ {
826
+ "internalType": "bool",
827
+ "name": "isOperator",
828
+ "type": "bool"
829
+ }
830
+ ],
831
+ "stateMutability": "view",
832
+ "type": "function"
833
+ },
834
+ {
835
+ "inputs": [
836
+ {
837
+ "internalType": "address",
838
+ "name": "to",
839
+ "type": "address"
840
+ },
841
+ {
842
+ "internalType": "uint256",
843
+ "name": "id",
844
+ "type": "uint256"
845
+ },
846
+ {
847
+ "internalType": "uint256",
848
+ "name": "amount",
849
+ "type": "uint256"
850
+ }
851
+ ],
852
+ "name": "mint",
853
+ "outputs": [],
854
+ "stateMutability": "nonpayable",
855
+ "type": "function"
856
+ },
857
+ {
858
+ "inputs": [
859
+ {
860
+ "components": [
861
+ {
862
+ "internalType": "Currency",
863
+ "name": "currency0",
864
+ "type": "address"
865
+ },
866
+ {
867
+ "internalType": "Currency",
868
+ "name": "currency1",
869
+ "type": "address"
870
+ },
871
+ {
872
+ "internalType": "uint24",
873
+ "name": "fee",
874
+ "type": "uint24"
875
+ },
876
+ {
877
+ "internalType": "int24",
878
+ "name": "tickSpacing",
879
+ "type": "int24"
880
+ },
881
+ {
882
+ "internalType": "contract IHooks",
883
+ "name": "hooks",
884
+ "type": "address"
885
+ }
886
+ ],
887
+ "internalType": "struct PoolKey",
888
+ "name": "key",
889
+ "type": "tuple"
890
+ },
891
+ {
892
+ "components": [
893
+ {
894
+ "internalType": "int24",
895
+ "name": "tickLower",
896
+ "type": "int24"
897
+ },
898
+ {
899
+ "internalType": "int24",
900
+ "name": "tickUpper",
901
+ "type": "int24"
902
+ },
903
+ {
904
+ "internalType": "int256",
905
+ "name": "liquidityDelta",
906
+ "type": "int256"
907
+ },
908
+ {
909
+ "internalType": "bytes32",
910
+ "name": "salt",
911
+ "type": "bytes32"
912
+ }
913
+ ],
914
+ "internalType": "struct IPoolManager.ModifyLiquidityParams",
915
+ "name": "params",
916
+ "type": "tuple"
917
+ },
918
+ {
919
+ "internalType": "bytes",
920
+ "name": "hookData",
921
+ "type": "bytes"
922
+ }
923
+ ],
924
+ "name": "modifyLiquidity",
925
+ "outputs": [
926
+ {
927
+ "internalType": "BalanceDelta",
928
+ "name": "callerDelta",
929
+ "type": "int256"
930
+ },
931
+ {
932
+ "internalType": "BalanceDelta",
933
+ "name": "feesAccrued",
934
+ "type": "int256"
935
+ }
936
+ ],
937
+ "stateMutability": "nonpayable",
938
+ "type": "function"
939
+ },
940
+ {
941
+ "inputs": [],
942
+ "name": "owner",
943
+ "outputs": [
944
+ {
945
+ "internalType": "address",
946
+ "name": "",
947
+ "type": "address"
948
+ }
949
+ ],
950
+ "stateMutability": "view",
951
+ "type": "function"
952
+ },
953
+ {
954
+ "inputs": [],
955
+ "name": "protocolFeeController",
956
+ "outputs": [
957
+ {
958
+ "internalType": "address",
959
+ "name": "",
960
+ "type": "address"
961
+ }
962
+ ],
963
+ "stateMutability": "view",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [
968
+ {
969
+ "internalType": "Currency",
970
+ "name": "currency",
971
+ "type": "address"
972
+ }
973
+ ],
974
+ "name": "protocolFeesAccrued",
975
+ "outputs": [
976
+ {
977
+ "internalType": "uint256",
978
+ "name": "amount",
979
+ "type": "uint256"
980
+ }
981
+ ],
982
+ "stateMutability": "view",
983
+ "type": "function"
984
+ },
985
+ {
986
+ "inputs": [
987
+ {
988
+ "internalType": "address",
989
+ "name": "operator",
990
+ "type": "address"
991
+ },
992
+ {
993
+ "internalType": "bool",
994
+ "name": "approved",
995
+ "type": "bool"
996
+ }
997
+ ],
998
+ "name": "setOperator",
999
+ "outputs": [
1000
+ {
1001
+ "internalType": "bool",
1002
+ "name": "",
1003
+ "type": "bool"
1004
+ }
1005
+ ],
1006
+ "stateMutability": "nonpayable",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [
1011
+ {
1012
+ "components": [
1013
+ {
1014
+ "internalType": "Currency",
1015
+ "name": "currency0",
1016
+ "type": "address"
1017
+ },
1018
+ {
1019
+ "internalType": "Currency",
1020
+ "name": "currency1",
1021
+ "type": "address"
1022
+ },
1023
+ {
1024
+ "internalType": "uint24",
1025
+ "name": "fee",
1026
+ "type": "uint24"
1027
+ },
1028
+ {
1029
+ "internalType": "int24",
1030
+ "name": "tickSpacing",
1031
+ "type": "int24"
1032
+ },
1033
+ {
1034
+ "internalType": "contract IHooks",
1035
+ "name": "hooks",
1036
+ "type": "address"
1037
+ }
1038
+ ],
1039
+ "internalType": "struct PoolKey",
1040
+ "name": "key",
1041
+ "type": "tuple"
1042
+ },
1043
+ {
1044
+ "internalType": "uint24",
1045
+ "name": "newProtocolFee",
1046
+ "type": "uint24"
1047
+ }
1048
+ ],
1049
+ "name": "setProtocolFee",
1050
+ "outputs": [],
1051
+ "stateMutability": "nonpayable",
1052
+ "type": "function"
1053
+ },
1054
+ {
1055
+ "inputs": [
1056
+ {
1057
+ "internalType": "address",
1058
+ "name": "controller",
1059
+ "type": "address"
1060
+ }
1061
+ ],
1062
+ "name": "setProtocolFeeController",
1063
+ "outputs": [],
1064
+ "stateMutability": "nonpayable",
1065
+ "type": "function"
1066
+ },
1067
+ {
1068
+ "inputs": [],
1069
+ "name": "settle",
1070
+ "outputs": [
1071
+ {
1072
+ "internalType": "uint256",
1073
+ "name": "",
1074
+ "type": "uint256"
1075
+ }
1076
+ ],
1077
+ "stateMutability": "payable",
1078
+ "type": "function"
1079
+ },
1080
+ {
1081
+ "inputs": [
1082
+ {
1083
+ "internalType": "address",
1084
+ "name": "recipient",
1085
+ "type": "address"
1086
+ }
1087
+ ],
1088
+ "name": "settleFor",
1089
+ "outputs": [
1090
+ {
1091
+ "internalType": "uint256",
1092
+ "name": "",
1093
+ "type": "uint256"
1094
+ }
1095
+ ],
1096
+ "stateMutability": "payable",
1097
+ "type": "function"
1098
+ },
1099
+ {
1100
+ "inputs": [
1101
+ {
1102
+ "internalType": "bytes4",
1103
+ "name": "interfaceId",
1104
+ "type": "bytes4"
1105
+ }
1106
+ ],
1107
+ "name": "supportsInterface",
1108
+ "outputs": [
1109
+ {
1110
+ "internalType": "bool",
1111
+ "name": "",
1112
+ "type": "bool"
1113
+ }
1114
+ ],
1115
+ "stateMutability": "view",
1116
+ "type": "function"
1117
+ },
1118
+ {
1119
+ "inputs": [
1120
+ {
1121
+ "components": [
1122
+ {
1123
+ "internalType": "Currency",
1124
+ "name": "currency0",
1125
+ "type": "address"
1126
+ },
1127
+ {
1128
+ "internalType": "Currency",
1129
+ "name": "currency1",
1130
+ "type": "address"
1131
+ },
1132
+ {
1133
+ "internalType": "uint24",
1134
+ "name": "fee",
1135
+ "type": "uint24"
1136
+ },
1137
+ {
1138
+ "internalType": "int24",
1139
+ "name": "tickSpacing",
1140
+ "type": "int24"
1141
+ },
1142
+ {
1143
+ "internalType": "contract IHooks",
1144
+ "name": "hooks",
1145
+ "type": "address"
1146
+ }
1147
+ ],
1148
+ "internalType": "struct PoolKey",
1149
+ "name": "key",
1150
+ "type": "tuple"
1151
+ },
1152
+ {
1153
+ "components": [
1154
+ {
1155
+ "internalType": "bool",
1156
+ "name": "zeroForOne",
1157
+ "type": "bool"
1158
+ },
1159
+ {
1160
+ "internalType": "int256",
1161
+ "name": "amountSpecified",
1162
+ "type": "int256"
1163
+ },
1164
+ {
1165
+ "internalType": "uint160",
1166
+ "name": "sqrtPriceLimitX96",
1167
+ "type": "uint160"
1168
+ }
1169
+ ],
1170
+ "internalType": "struct IPoolManager.SwapParams",
1171
+ "name": "params",
1172
+ "type": "tuple"
1173
+ },
1174
+ {
1175
+ "internalType": "bytes",
1176
+ "name": "hookData",
1177
+ "type": "bytes"
1178
+ }
1179
+ ],
1180
+ "name": "swap",
1181
+ "outputs": [
1182
+ {
1183
+ "internalType": "BalanceDelta",
1184
+ "name": "swapDelta",
1185
+ "type": "int256"
1186
+ }
1187
+ ],
1188
+ "stateMutability": "nonpayable",
1189
+ "type": "function"
1190
+ },
1191
+ {
1192
+ "inputs": [
1193
+ {
1194
+ "internalType": "Currency",
1195
+ "name": "currency",
1196
+ "type": "address"
1197
+ }
1198
+ ],
1199
+ "name": "sync",
1200
+ "outputs": [],
1201
+ "stateMutability": "nonpayable",
1202
+ "type": "function"
1203
+ },
1204
+ {
1205
+ "inputs": [
1206
+ {
1207
+ "internalType": "Currency",
1208
+ "name": "currency",
1209
+ "type": "address"
1210
+ },
1211
+ {
1212
+ "internalType": "address",
1213
+ "name": "to",
1214
+ "type": "address"
1215
+ },
1216
+ {
1217
+ "internalType": "uint256",
1218
+ "name": "amount",
1219
+ "type": "uint256"
1220
+ }
1221
+ ],
1222
+ "name": "take",
1223
+ "outputs": [],
1224
+ "stateMutability": "nonpayable",
1225
+ "type": "function"
1226
+ },
1227
+ {
1228
+ "inputs": [
1229
+ {
1230
+ "internalType": "address",
1231
+ "name": "receiver",
1232
+ "type": "address"
1233
+ },
1234
+ {
1235
+ "internalType": "uint256",
1236
+ "name": "id",
1237
+ "type": "uint256"
1238
+ },
1239
+ {
1240
+ "internalType": "uint256",
1241
+ "name": "amount",
1242
+ "type": "uint256"
1243
+ }
1244
+ ],
1245
+ "name": "transfer",
1246
+ "outputs": [
1247
+ {
1248
+ "internalType": "bool",
1249
+ "name": "",
1250
+ "type": "bool"
1251
+ }
1252
+ ],
1253
+ "stateMutability": "nonpayable",
1254
+ "type": "function"
1255
+ },
1256
+ {
1257
+ "inputs": [
1258
+ {
1259
+ "internalType": "address",
1260
+ "name": "sender",
1261
+ "type": "address"
1262
+ },
1263
+ {
1264
+ "internalType": "address",
1265
+ "name": "receiver",
1266
+ "type": "address"
1267
+ },
1268
+ {
1269
+ "internalType": "uint256",
1270
+ "name": "id",
1271
+ "type": "uint256"
1272
+ },
1273
+ {
1274
+ "internalType": "uint256",
1275
+ "name": "amount",
1276
+ "type": "uint256"
1277
+ }
1278
+ ],
1279
+ "name": "transferFrom",
1280
+ "outputs": [
1281
+ {
1282
+ "internalType": "bool",
1283
+ "name": "",
1284
+ "type": "bool"
1285
+ }
1286
+ ],
1287
+ "stateMutability": "nonpayable",
1288
+ "type": "function"
1289
+ },
1290
+ {
1291
+ "inputs": [
1292
+ {
1293
+ "internalType": "address",
1294
+ "name": "newOwner",
1295
+ "type": "address"
1296
+ }
1297
+ ],
1298
+ "name": "transferOwnership",
1299
+ "outputs": [],
1300
+ "stateMutability": "nonpayable",
1301
+ "type": "function"
1302
+ },
1303
+ {
1304
+ "inputs": [
1305
+ {
1306
+ "internalType": "bytes",
1307
+ "name": "data",
1308
+ "type": "bytes"
1309
+ }
1310
+ ],
1311
+ "name": "unlock",
1312
+ "outputs": [
1313
+ {
1314
+ "internalType": "bytes",
1315
+ "name": "result",
1316
+ "type": "bytes"
1317
+ }
1318
+ ],
1319
+ "stateMutability": "nonpayable",
1320
+ "type": "function"
1321
+ },
1322
+ {
1323
+ "inputs": [
1324
+ {
1325
+ "components": [
1326
+ {
1327
+ "internalType": "Currency",
1328
+ "name": "currency0",
1329
+ "type": "address"
1330
+ },
1331
+ {
1332
+ "internalType": "Currency",
1333
+ "name": "currency1",
1334
+ "type": "address"
1335
+ },
1336
+ {
1337
+ "internalType": "uint24",
1338
+ "name": "fee",
1339
+ "type": "uint24"
1340
+ },
1341
+ {
1342
+ "internalType": "int24",
1343
+ "name": "tickSpacing",
1344
+ "type": "int24"
1345
+ },
1346
+ {
1347
+ "internalType": "contract IHooks",
1348
+ "name": "hooks",
1349
+ "type": "address"
1350
+ }
1351
+ ],
1352
+ "internalType": "struct PoolKey",
1353
+ "name": "key",
1354
+ "type": "tuple"
1355
+ },
1356
+ {
1357
+ "internalType": "uint24",
1358
+ "name": "newDynamicLPFee",
1359
+ "type": "uint24"
1360
+ }
1361
+ ],
1362
+ "name": "updateDynamicLPFee",
1363
+ "outputs": [],
1364
+ "stateMutability": "nonpayable",
1365
+ "type": "function"
1366
+ }
1367
+ ]