@paraswap/dex-lib 4.8.23 → 4.8.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 (644) hide show
  1. package/build/abi/pancakeswap-infinity/cl-pool-manager.abi.json +136 -0
  2. package/build/abi/pancakeswap-infinity/cl-quoter.abi.json +66 -0
  3. package/build/abi/pancakeswap-infinity/router.abi.json +23 -0
  4. package/build/dex/dexalot/config.js +4 -4
  5. package/build/dex/native/constants.d.ts +1 -0
  6. package/build/dex/native/constants.js +2 -1
  7. package/build/dex/native/constants.js.map +1 -1
  8. package/build/dex/native/rate-fetcher.d.ts +1 -0
  9. package/build/dex/native/rate-fetcher.js +40 -0
  10. package/build/dex/native/rate-fetcher.js.map +1 -1
  11. package/build/dex/native/types.d.ts +1 -0
  12. package/build/dex/native/validators.js +1 -0
  13. package/build/dex/native/validators.js.map +1 -1
  14. package/build/dex/pancakeswap-infinity/config.d.ts +4 -0
  15. package/build/dex/pancakeswap-infinity/config.js +30 -0
  16. package/build/dex/pancakeswap-infinity/config.js.map +1 -0
  17. package/build/dex/pancakeswap-infinity/constants.d.ts +11 -0
  18. package/build/dex/pancakeswap-infinity/constants.js +15 -0
  19. package/build/dex/pancakeswap-infinity/constants.js.map +1 -0
  20. package/build/dex/pancakeswap-infinity/encoder.d.ts +16 -0
  21. package/build/dex/{bunni-v2 → pancakeswap-infinity}/encoder.js +88 -199
  22. package/build/dex/pancakeswap-infinity/encoder.js.map +1 -0
  23. package/build/dex/pancakeswap-infinity/liquidity.d.ts +1 -0
  24. package/build/dex/pancakeswap-infinity/liquidity.js +7 -0
  25. package/build/dex/pancakeswap-infinity/liquidity.js.map +1 -0
  26. package/build/dex/pancakeswap-infinity/optimizer.d.ts +2 -0
  27. package/build/dex/pancakeswap-infinity/optimizer.js +48 -0
  28. package/build/dex/pancakeswap-infinity/optimizer.js.map +1 -0
  29. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool-manager.d.ts +36 -0
  30. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool-manager.js +393 -0
  31. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool-manager.js.map +1 -0
  32. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool.d.ts +37 -0
  33. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool.js +289 -0
  34. package/build/dex/pancakeswap-infinity/pancakeswap-infinity-pool.js.map +1 -0
  35. package/build/dex/pancakeswap-infinity/pancakeswap-infinity.d.ts +42 -0
  36. package/build/dex/pancakeswap-infinity/pancakeswap-infinity.js +350 -0
  37. package/build/dex/pancakeswap-infinity/pancakeswap-infinity.js.map +1 -0
  38. package/build/dex/pancakeswap-infinity/subgraph.d.ts +8 -0
  39. package/build/dex/pancakeswap-infinity/subgraph.js +122 -0
  40. package/build/dex/pancakeswap-infinity/subgraph.js.map +1 -0
  41. package/build/dex/pancakeswap-infinity/types.d.ts +101 -0
  42. package/build/dex/pancakeswap-infinity/types.js.map +1 -0
  43. package/build/dex/pancakeswap-infinity/utils.d.ts +5 -0
  44. package/build/dex/pancakeswap-infinity/utils.js +45 -0
  45. package/build/dex/pancakeswap-infinity/utils.js.map +1 -0
  46. package/build/dex/renegade/api/auth.d.ts +1 -0
  47. package/build/dex/renegade/api/auth.js +63 -0
  48. package/build/dex/renegade/api/auth.js.map +1 -0
  49. package/build/dex/renegade/api/renegade-client.d.ts +18 -0
  50. package/build/dex/renegade/api/renegade-client.js +82 -0
  51. package/build/dex/renegade/api/renegade-client.js.map +1 -0
  52. package/build/dex/renegade/api/types.d.ts +110 -0
  53. package/build/dex/{maker-psm → renegade/api}/types.js.map +1 -1
  54. package/build/dex/{se-vlr → renegade}/config.d.ts +1 -1
  55. package/build/dex/renegade/config.js +16 -0
  56. package/build/dex/renegade/config.js.map +1 -0
  57. package/build/dex/renegade/constants.d.ts +25 -0
  58. package/build/dex/renegade/constants.js +47 -0
  59. package/build/dex/renegade/constants.js.map +1 -0
  60. package/build/dex/renegade/rate-fetcher.d.ts +23 -0
  61. package/build/dex/renegade/rate-fetcher.js +135 -0
  62. package/build/dex/renegade/rate-fetcher.js.map +1 -0
  63. package/build/dex/renegade/renegade-levels-response.d.ts +22 -0
  64. package/build/dex/renegade/renegade-levels-response.js +99 -0
  65. package/build/dex/renegade/renegade-levels-response.js.map +1 -0
  66. package/build/dex/renegade/renegade.d.ts +57 -0
  67. package/build/dex/renegade/renegade.js +499 -0
  68. package/build/dex/renegade/renegade.js.map +1 -0
  69. package/build/dex/renegade/types.d.ts +38 -0
  70. package/build/dex/renegade/types.js +4 -0
  71. package/build/dex/renegade/types.js.map +1 -0
  72. package/package.json +1 -1
  73. package/build/abi/AaveV2_lending_pool.json +0 -53
  74. package/build/abi/BProtocol.json +0 -1155
  75. package/build/abi/Bancor.json +0 -392
  76. package/build/abi/Compound_CETH.json +0 -12
  77. package/build/abi/Jarvis.json +0 -1172
  78. package/build/abi/MStableAsset.json +0 -1545
  79. package/build/abi/OneInchLp.json +0 -1304
  80. package/build/abi/Onebit.json +0 -736
  81. package/build/abi/SSPM.json +0 -829
  82. package/build/abi/Shell.json +0 -1294
  83. package/build/abi/Smoothy.json +0 -1049
  84. package/build/abi/StaderOracle.json +0 -2170
  85. package/build/abi/TraderJoeV2Router.json +0 -50
  86. package/build/abi/aave-weth-gateway-avalanche.json +0 -242
  87. package/build/abi/aave-weth-gateway-polygon.json +0 -242
  88. package/build/abi/aave-weth-gateway.json +0 -24
  89. package/build/abi/bunni-v2/BunniHook.abi.json +0 -1921
  90. package/build/abi/bunni-v2/BunniHub.abi.json +0 -1598
  91. package/build/abi/bunni-v2/BunniToken.abi.json +0 -833
  92. package/build/abi/bunni-v2/FeeOverrideHooklet.abi.json +0 -1947
  93. package/build/abi/bunni-v2/FloodPlain.abi.json +0 -1195
  94. package/build/abi/bunni-v2/PoolManager.abi.json +0 -1366
  95. package/build/abi/bunni-v2/V4Quoter.abi.json +0 -637
  96. package/build/abi/concentrator/arUSD.json +0 -568
  97. package/build/abi/concentrator/arUSD5115.json +0 -1746
  98. package/build/abi/gmx/fast-price-events.json +0 -70
  99. package/build/abi/gmx/fast-price-feed.json +0 -748
  100. package/build/abi/gmx/reader.json +0 -337
  101. package/build/abi/gmx/vault-price-feed.json +0 -477
  102. package/build/abi/gmx/vault.json +0 -2002
  103. package/build/abi/idle-dao/idle-cdo-factory.json +0 -38
  104. package/build/abi/idle-dao/idle-cdo.json +0 -1245
  105. package/build/abi/infusion/InfusionFactory.json +0 -147
  106. package/build/abi/infusion/InfusionPair.json +0 -658
  107. package/build/abi/infusion/InfusionRouter.json +0 -442
  108. package/build/abi/jarvis/ChainlinkAccessControlledOffchainAggregator.json +0 -1009
  109. package/build/abi/jarvis/SynthereumPriceFeed.json +0 -381
  110. package/build/abi/jarvis/jarvis-v6-pool.json +0 -1041
  111. package/build/abi/kyberdmm/kyber-dmm-exchange-router.abi.json +0 -1148
  112. package/build/abi/kyberdmm/kyber-dmm-factory.abi.json +0 -335
  113. package/build/abi/kyberdmm/kyber-dmm-pool.abi.json +0 -803
  114. package/build/abi/maker-psm/pot.json +0 -322
  115. package/build/abi/maker-psm/psm.json +0 -243
  116. package/build/abi/maker-psm/vat.json +0 -363
  117. package/build/abi/nomiswap-v2/nomiswap-v2-pool.json +0 -773
  118. package/build/abi/quick-perps/fast-price-events.json +0 -70
  119. package/build/abi/quick-perps/fast-price-feed.json +0 -741
  120. package/build/abi/quick-perps/reader.json +0 -313
  121. package/build/abi/quick-perps/vault-price-feed.json +0 -323
  122. package/build/abi/quick-perps/vault.json +0 -1953
  123. package/build/abi/synthetix/CombinedSynthetix.abi.json +0 -442
  124. package/build/abi/uniswap-v2/excalibur-pool.json +0 -881
  125. package/build/abi/uniswap-v2/mdex-factory.json +0 -759
  126. package/build/abi/wUSDM.json +0 -757
  127. package/build/abi/wombat/asset.json +0 -743
  128. package/build/abi/wombat/bmw.json +0 -1247
  129. package/build/abi/wombat/pool-v2.json +0 -1289
  130. package/build/abi/wombat/pool-v3.json +0 -2013
  131. package/build/abi/zrx.v2.json +0 -1967
  132. package/build/abi/zrx.v3.json +0 -3454
  133. package/build/abi/zrx.v4.json +0 -2193
  134. package/build/dex/OneInchLp.d.ts +0 -24
  135. package/build/dex/OneInchLp.js +0 -43
  136. package/build/dex/OneInchLp.js.map +0 -1
  137. package/build/dex/aave-v2/aave-v2.d.ts +0 -33
  138. package/build/dex/aave-v2/aave-v2.js +0 -328
  139. package/build/dex/aave-v2/aave-v2.js.map +0 -1
  140. package/build/dex/aave-v2/config.d.ts +0 -14
  141. package/build/dex/aave-v2/config.js +0 -49
  142. package/build/dex/aave-v2/config.js.map +0 -1
  143. package/build/dex/aave-v2/tokenlist.json +0 -904
  144. package/build/dex/aave-v2/tokens.d.ts +0 -8
  145. package/build/dex/aave-v2/tokens.js +0 -65
  146. package/build/dex/aave-v2/tokens.js.map +0 -1
  147. package/build/dex/aave-v2/types.d.ts +0 -33
  148. package/build/dex/aave-v2/types.js +0 -11
  149. package/build/dex/aave-v2/types.js.map +0 -1
  150. package/build/dex/bProtocol/bProtocol.d.ts +0 -15
  151. package/build/dex/bProtocol/bProtocol.js +0 -56
  152. package/build/dex/bProtocol/bProtocol.js.map +0 -1
  153. package/build/dex/bProtocol/types.d.ts +0 -11
  154. package/build/dex/bProtocol/types.js +0 -8
  155. package/build/dex/bProtocol/types.js.map +0 -1
  156. package/build/dex/bancor/bancor.d.ts +0 -15
  157. package/build/dex/bancor/bancor.js +0 -74
  158. package/build/dex/bancor/bancor.js.map +0 -1
  159. package/build/dex/bancor/config.d.ts +0 -6
  160. package/build/dex/bancor/config.js +0 -11
  161. package/build/dex/bancor/config.js.map +0 -1
  162. package/build/dex/bancor/types.d.ts +0 -16
  163. package/build/dex/bancor/types.js +0 -8
  164. package/build/dex/bancor/types.js.map +0 -1
  165. package/build/dex/bunni-v2/bunni-v2-pool.d.ts +0 -62
  166. package/build/dex/bunni-v2/bunni-v2-pool.js +0 -505
  167. package/build/dex/bunni-v2/bunni-v2-pool.js.map +0 -1
  168. package/build/dex/bunni-v2/bunni-v2.d.ts +0 -51
  169. package/build/dex/bunni-v2/bunni-v2.js +0 -460
  170. package/build/dex/bunni-v2/bunni-v2.js.map +0 -1
  171. package/build/dex/bunni-v2/config.d.ts +0 -3
  172. package/build/dex/bunni-v2/config.js +0 -130
  173. package/build/dex/bunni-v2/config.js.map +0 -1
  174. package/build/dex/bunni-v2/encoder.d.ts +0 -19
  175. package/build/dex/bunni-v2/encoder.js.map +0 -1
  176. package/build/dex/bunni-v2/getOnChainState.d.ts +0 -26
  177. package/build/dex/bunni-v2/getOnChainState.js +0 -493
  178. package/build/dex/bunni-v2/getOnChainState.js.map +0 -1
  179. package/build/dex/bunni-v2/hook/BunniSwapMath.d.ts +0 -7
  180. package/build/dex/bunni-v2/hook/BunniSwapMath.js +0 -198
  181. package/build/dex/bunni-v2/hook/BunniSwapMath.js.map +0 -1
  182. package/build/dex/bunni-v2/hook/SwapMath.d.ts +0 -8
  183. package/build/dex/bunni-v2/hook/SwapMath.js +0 -65
  184. package/build/dex/bunni-v2/hook/SwapMath.js.map +0 -1
  185. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.d.ts +0 -33
  186. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.js +0 -33
  187. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.js.map +0 -1
  188. package/build/dex/bunni-v2/hooklet/index.d.ts +0 -21
  189. package/build/dex/bunni-v2/hooklet/index.js +0 -64
  190. package/build/dex/bunni-v2/hooklet/index.js.map +0 -1
  191. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.d.ts +0 -70
  192. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.js +0 -277
  193. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.js.map +0 -1
  194. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.d.ts +0 -64
  195. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.js +0 -262
  196. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.js.map +0 -1
  197. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.d.ts +0 -60
  198. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.js +0 -224
  199. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.js.map +0 -1
  200. package/build/dex/bunni-v2/ldf/GeometricDistribution.d.ts +0 -56
  201. package/build/dex/bunni-v2/ldf/GeometricDistribution.js +0 -489
  202. package/build/dex/bunni-v2/ldf/GeometricDistribution.js.map +0 -1
  203. package/build/dex/bunni-v2/ldf/LDFType.d.ts +0 -5
  204. package/build/dex/bunni-v2/ldf/LDFType.js +0 -10
  205. package/build/dex/bunni-v2/ldf/LDFType.js.map +0 -1
  206. package/build/dex/bunni-v2/ldf/ShiftMode.d.ts +0 -7
  207. package/build/dex/bunni-v2/ldf/ShiftMode.js +0 -19
  208. package/build/dex/bunni-v2/ldf/ShiftMode.js.map +0 -1
  209. package/build/dex/bunni-v2/ldf/UniformDistribution.d.ts +0 -55
  210. package/build/dex/bunni-v2/ldf/UniformDistribution.js +0 -291
  211. package/build/dex/bunni-v2/ldf/UniformDistribution.js.map +0 -1
  212. package/build/dex/bunni-v2/ldf/index.d.ts +0 -15
  213. package/build/dex/bunni-v2/ldf/index.js +0 -21
  214. package/build/dex/bunni-v2/ldf/index.js.map +0 -1
  215. package/build/dex/bunni-v2/lib/AmAmmPayload.d.ts +0 -4
  216. package/build/dex/bunni-v2/lib/AmAmmPayload.js +0 -10
  217. package/build/dex/bunni-v2/lib/AmAmmPayload.js.map +0 -1
  218. package/build/dex/bunni-v2/lib/BitMath.d.ts +0 -4
  219. package/build/dex/bunni-v2/lib/BitMath.js +0 -24
  220. package/build/dex/bunni-v2/lib/BitMath.js.map +0 -1
  221. package/build/dex/bunni-v2/lib/Constants.d.ts +0 -15
  222. package/build/dex/bunni-v2/lib/Constants.js +0 -19
  223. package/build/dex/bunni-v2/lib/Constants.js.map +0 -1
  224. package/build/dex/bunni-v2/lib/ExpMath.d.ts +0 -5
  225. package/build/dex/bunni-v2/lib/ExpMath.js +0 -121
  226. package/build/dex/bunni-v2/lib/ExpMath.js.map +0 -1
  227. package/build/dex/bunni-v2/lib/FeeMath.d.ts +0 -2
  228. package/build/dex/bunni-v2/lib/FeeMath.js +0 -27
  229. package/build/dex/bunni-v2/lib/FeeMath.js.map +0 -1
  230. package/build/dex/bunni-v2/lib/FixedPointMath.d.ts +0 -3
  231. package/build/dex/bunni-v2/lib/FixedPointMath.js +0 -15
  232. package/build/dex/bunni-v2/lib/FixedPointMath.js.map +0 -1
  233. package/build/dex/bunni-v2/lib/FullMathX96.d.ts +0 -4
  234. package/build/dex/bunni-v2/lib/FullMathX96.js +0 -21
  235. package/build/dex/bunni-v2/lib/FullMathX96.js.map +0 -1
  236. package/build/dex/bunni-v2/lib/IdleBalance.d.ts +0 -11
  237. package/build/dex/bunni-v2/lib/IdleBalance.js +0 -33
  238. package/build/dex/bunni-v2/lib/IdleBalance.js.map +0 -1
  239. package/build/dex/bunni-v2/lib/LiquidityAmounts.d.ts +0 -6
  240. package/build/dex/bunni-v2/lib/LiquidityAmounts.js +0 -25
  241. package/build/dex/bunni-v2/lib/LiquidityAmounts.js.map +0 -1
  242. package/build/dex/bunni-v2/lib/Math.d.ts +0 -28
  243. package/build/dex/bunni-v2/lib/Math.js +0 -169
  244. package/build/dex/bunni-v2/lib/Math.js.map +0 -1
  245. package/build/dex/bunni-v2/lib/Oracle.d.ts +0 -27
  246. package/build/dex/bunni-v2/lib/Oracle.js +0 -180
  247. package/build/dex/bunni-v2/lib/Oracle.js.map +0 -1
  248. package/build/dex/bunni-v2/lib/QueryLDF.d.ts +0 -12
  249. package/build/dex/bunni-v2/lib/QueryLDF.js +0 -90
  250. package/build/dex/bunni-v2/lib/QueryLDF.js.map +0 -1
  251. package/build/dex/bunni-v2/lib/QueryTwap.d.ts +0 -2
  252. package/build/dex/bunni-v2/lib/QueryTwap.js +0 -13
  253. package/build/dex/bunni-v2/lib/QueryTwap.js.map +0 -1
  254. package/build/dex/bunni-v2/lib/SqrtPriceMath.d.ts +0 -8
  255. package/build/dex/bunni-v2/lib/SqrtPriceMath.js +0 -84
  256. package/build/dex/bunni-v2/lib/SqrtPriceMath.js.map +0 -1
  257. package/build/dex/bunni-v2/lib/TickMath.d.ts +0 -11
  258. package/build/dex/bunni-v2/lib/TickMath.js +0 -100
  259. package/build/dex/bunni-v2/lib/TickMath.js.map +0 -1
  260. package/build/dex/bunni-v2/lib/VaultMath.d.ts +0 -2
  261. package/build/dex/bunni-v2/lib/VaultMath.js +0 -11
  262. package/build/dex/bunni-v2/lib/VaultMath.js.map +0 -1
  263. package/build/dex/bunni-v2/logic/AmAmm.d.ts +0 -11
  264. package/build/dex/bunni-v2/logic/AmAmm.js +0 -156
  265. package/build/dex/bunni-v2/logic/AmAmm.js.map +0 -1
  266. package/build/dex/bunni-v2/logic/BunniHookLogic.d.ts +0 -10
  267. package/build/dex/bunni-v2/logic/BunniHookLogic.js +0 -298
  268. package/build/dex/bunni-v2/logic/BunniHookLogic.js.map +0 -1
  269. package/build/dex/bunni-v2/logic/BunniHubLogic.d.ts +0 -5
  270. package/build/dex/bunni-v2/logic/BunniHubLogic.js +0 -245
  271. package/build/dex/bunni-v2/logic/BunniHubLogic.js.map +0 -1
  272. package/build/dex/bunni-v2/logic/BunniQuoter.d.ts +0 -12
  273. package/build/dex/bunni-v2/logic/BunniQuoter.js +0 -201
  274. package/build/dex/bunni-v2/logic/BunniQuoter.js.map +0 -1
  275. package/build/dex/bunni-v2/subgraph.d.ts +0 -7
  276. package/build/dex/bunni-v2/subgraph.js +0 -184
  277. package/build/dex/bunni-v2/subgraph.js.map +0 -1
  278. package/build/dex/bunni-v2/types.d.ts +0 -257
  279. package/build/dex/bunni-v2/types.js.map +0 -1
  280. package/build/dex/bunni-v2/utils.d.ts +0 -12
  281. package/build/dex/bunni-v2/utils.js +0 -182
  282. package/build/dex/bunni-v2/utils.js.map +0 -1
  283. package/build/dex/compound/compound.d.ts +0 -15
  284. package/build/dex/compound/compound.js +0 -57
  285. package/build/dex/compound/compound.js.map +0 -1
  286. package/build/dex/compound/types.d.ts +0 -8
  287. package/build/dex/compound/types.js +0 -9
  288. package/build/dex/compound/types.js.map +0 -1
  289. package/build/dex/concentrator-arusd/concentrator-arusd-event.d.ts +0 -17
  290. package/build/dex/concentrator-arusd/concentrator-arusd-event.js +0 -69
  291. package/build/dex/concentrator-arusd/concentrator-arusd-event.js.map +0 -1
  292. package/build/dex/concentrator-arusd/concentrator-arusd.d.ts +0 -41
  293. package/build/dex/concentrator-arusd/concentrator-arusd.js +0 -202
  294. package/build/dex/concentrator-arusd/concentrator-arusd.js.map +0 -1
  295. package/build/dex/concentrator-arusd/config.d.ts +0 -3
  296. package/build/dex/concentrator-arusd/config.js +0 -14
  297. package/build/dex/concentrator-arusd/config.js.map +0 -1
  298. package/build/dex/concentrator-arusd/types.d.ts +0 -14
  299. package/build/dex/concentrator-arusd/types.js.map +0 -1
  300. package/build/dex/concentrator-arusd/utils.d.ts +0 -4
  301. package/build/dex/concentrator-arusd/utils.js +0 -26
  302. package/build/dex/concentrator-arusd/utils.js.map +0 -1
  303. package/build/dex/curve-v1/forks/swerve/config.d.ts +0 -4
  304. package/build/dex/curve-v1/forks/swerve/config.js +0 -47
  305. package/build/dex/curve-v1/forks/swerve/config.js.map +0 -1
  306. package/build/dex/curve-v1/forks/swerve/swerve.d.ts +0 -16
  307. package/build/dex/curve-v1/forks/swerve/swerve.js +0 -46
  308. package/build/dex/curve-v1/forks/swerve/swerve.js.map +0 -1
  309. package/build/dex/ekubo/pools/base-pool.d.ts +0 -47
  310. package/build/dex/ekubo/pools/base-pool.js +0 -184
  311. package/build/dex/ekubo/pools/base-pool.js.map +0 -1
  312. package/build/dex/ekubo/pools/iface.d.ts +0 -46
  313. package/build/dex/ekubo/pools/iface.js +0 -75
  314. package/build/dex/ekubo/pools/iface.js.map +0 -1
  315. package/build/dex/ekubo/pools/math/price.d.ts +0 -7
  316. package/build/dex/ekubo/pools/math/price.js +0 -112
  317. package/build/dex/ekubo/pools/math/price.js.map +0 -1
  318. package/build/dex/ekubo/pools/oracle-pool.d.ts +0 -10
  319. package/build/dex/ekubo/pools/oracle-pool.js +0 -19
  320. package/build/dex/ekubo/pools/oracle-pool.js.map +0 -1
  321. package/build/dex/ekubo/pools/pool-utils.d.ts +0 -44
  322. package/build/dex/ekubo/pools/pool-utils.js +0 -240
  323. package/build/dex/ekubo/pools/pool-utils.js.map +0 -1
  324. package/build/dex/gmx/config.d.ts +0 -11
  325. package/build/dex/gmx/config.js +0 -61
  326. package/build/dex/gmx/config.js.map +0 -1
  327. package/build/dex/gmx/fast-price-feed.d.ts +0 -26
  328. package/build/dex/gmx/fast-price-feed.js +0 -184
  329. package/build/dex/gmx/fast-price-feed.js.map +0 -1
  330. package/build/dex/gmx/gmx.d.ts +0 -54
  331. package/build/dex/gmx/gmx.js +0 -247
  332. package/build/dex/gmx/gmx.js.map +0 -1
  333. package/build/dex/gmx/pool.d.ts +0 -21
  334. package/build/dex/gmx/pool.js +0 -212
  335. package/build/dex/gmx/pool.js.map +0 -1
  336. package/build/dex/gmx/types.d.ts +0 -100
  337. package/build/dex/gmx/types.js +0 -3
  338. package/build/dex/gmx/types.js.map +0 -1
  339. package/build/dex/gmx/usdg.d.ts +0 -15
  340. package/build/dex/gmx/usdg.js +0 -62
  341. package/build/dex/gmx/usdg.js.map +0 -1
  342. package/build/dex/gmx/vault-price-feed.d.ts +0 -47
  343. package/build/dex/gmx/vault-price-feed.js +0 -245
  344. package/build/dex/gmx/vault-price-feed.js.map +0 -1
  345. package/build/dex/gmx/vault-utils.d.ts +0 -8
  346. package/build/dex/gmx/vault-utils.js +0 -42
  347. package/build/dex/gmx/vault-utils.js.map +0 -1
  348. package/build/dex/gmx/vault.d.ts +0 -46
  349. package/build/dex/gmx/vault.js +0 -182
  350. package/build/dex/gmx/vault.js.map +0 -1
  351. package/build/dex/idle-dao/config.d.ts +0 -5
  352. package/build/dex/idle-dao/config.js +0 -24
  353. package/build/dex/idle-dao/config.js.map +0 -1
  354. package/build/dex/idle-dao/idle-dao.d.ts +0 -42
  355. package/build/dex/idle-dao/idle-dao.js +0 -279
  356. package/build/dex/idle-dao/idle-dao.js.map +0 -1
  357. package/build/dex/idle-dao/token_list.d.ts +0 -4
  358. package/build/dex/idle-dao/token_list.js +0 -289
  359. package/build/dex/idle-dao/token_list.js.map +0 -1
  360. package/build/dex/idle-dao/tokens.d.ts +0 -9
  361. package/build/dex/idle-dao/tokens.js +0 -68
  362. package/build/dex/idle-dao/tokens.js.map +0 -1
  363. package/build/dex/idle-dao/types.d.ts +0 -35
  364. package/build/dex/idle-dao/types.js +0 -11
  365. package/build/dex/idle-dao/types.js.map +0 -1
  366. package/build/dex/idle-dao/utils.d.ts +0 -8
  367. package/build/dex/idle-dao/utils.js +0 -149
  368. package/build/dex/idle-dao/utils.js.map +0 -1
  369. package/build/dex/infusion/config.d.ts +0 -3
  370. package/build/dex/infusion/config.js +0 -20
  371. package/build/dex/infusion/config.js.map +0 -1
  372. package/build/dex/infusion/infusion-stable-pool.d.ts +0 -4
  373. package/build/dex/infusion/infusion-stable-pool.js +0 -74
  374. package/build/dex/infusion/infusion-stable-pool.js.map +0 -1
  375. package/build/dex/infusion/infusion.d.ts +0 -51
  376. package/build/dex/infusion/infusion.js +0 -500
  377. package/build/dex/infusion/infusion.js.map +0 -1
  378. package/build/dex/infusion/types.d.ts +0 -45
  379. package/build/dex/infusion/types.js +0 -3
  380. package/build/dex/infusion/types.js.map +0 -1
  381. package/build/dex/infusion/utils/isStablePair.d.ts +0 -2
  382. package/build/dex/infusion/utils/isStablePair.js +0 -18
  383. package/build/dex/infusion/utils/isStablePair.js.map +0 -1
  384. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.d.ts +0 -15
  385. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.js +0 -51
  386. package/build/dex/jarvis-v6/chainLinkpriceFeed-event.js.map +0 -1
  387. package/build/dex/jarvis-v6/config.d.ts +0 -4
  388. package/build/dex/jarvis-v6/config.js +0 -244
  389. package/build/dex/jarvis-v6/config.js.map +0 -1
  390. package/build/dex/jarvis-v6/jarvis-v6-events.d.ts +0 -27
  391. package/build/dex/jarvis-v6/jarvis-v6-events.js +0 -54
  392. package/build/dex/jarvis-v6/jarvis-v6-events.js.map +0 -1
  393. package/build/dex/jarvis-v6/jarvis-v6.d.ts +0 -49
  394. package/build/dex/jarvis-v6/jarvis-v6.js +0 -321
  395. package/build/dex/jarvis-v6/jarvis-v6.js.map +0 -1
  396. package/build/dex/jarvis-v6/syntheteumPool-event.d.ts +0 -15
  397. package/build/dex/jarvis-v6/syntheteumPool-event.js +0 -49
  398. package/build/dex/jarvis-v6/syntheteumPool-event.js.map +0 -1
  399. package/build/dex/jarvis-v6/types.d.ts +0 -48
  400. package/build/dex/jarvis-v6/types.js +0 -9
  401. package/build/dex/jarvis-v6/types.js.map +0 -1
  402. package/build/dex/jarvis-v6/utils.d.ts +0 -13
  403. package/build/dex/jarvis-v6/utils.js +0 -75
  404. package/build/dex/jarvis-v6/utils.js.map +0 -1
  405. package/build/dex/jarvis.d.ts +0 -56
  406. package/build/dex/jarvis.js +0 -163
  407. package/build/dex/jarvis.js.map +0 -1
  408. package/build/dex/kyberdmm/config.d.ts +0 -9
  409. package/build/dex/kyberdmm/config.js +0 -59
  410. package/build/dex/kyberdmm/config.js.map +0 -1
  411. package/build/dex/kyberdmm/fee-formula.d.ts +0 -15
  412. package/build/dex/kyberdmm/fee-formula.js +0 -88
  413. package/build/dex/kyberdmm/fee-formula.js.map +0 -1
  414. package/build/dex/kyberdmm/kyberdmm.d.ts +0 -55
  415. package/build/dex/kyberdmm/kyberdmm.js +0 -447
  416. package/build/dex/kyberdmm/kyberdmm.js.map +0 -1
  417. package/build/dex/kyberdmm/math-ext.d.ts +0 -2
  418. package/build/dex/kyberdmm/math-ext.js +0 -27
  419. package/build/dex/kyberdmm/math-ext.js.map +0 -1
  420. package/build/dex/kyberdmm/pool.d.ts +0 -50
  421. package/build/dex/kyberdmm/pool.js +0 -157
  422. package/build/dex/kyberdmm/pool.js.map +0 -1
  423. package/build/dex/kyberdmm/types.d.ts +0 -81
  424. package/build/dex/kyberdmm/types.js +0 -9
  425. package/build/dex/kyberdmm/types.js.map +0 -1
  426. package/build/dex/mStable.d.ts +0 -44
  427. package/build/dex/mStable.js +0 -75
  428. package/build/dex/mStable.js.map +0 -1
  429. package/build/dex/maker-psm/config.d.ts +0 -11
  430. package/build/dex/maker-psm/config.js +0 -53
  431. package/build/dex/maker-psm/config.js.map +0 -1
  432. package/build/dex/maker-psm/maker-psm.d.ts +0 -103
  433. package/build/dex/maker-psm/maker-psm.js +0 -493
  434. package/build/dex/maker-psm/maker-psm.js.map +0 -1
  435. package/build/dex/maker-psm/types.d.ts +0 -39
  436. package/build/dex/maker-psm/types.js +0 -3
  437. package/build/dex/onebit/onebit.d.ts +0 -16
  438. package/build/dex/onebit/onebit.js +0 -61
  439. package/build/dex/onebit/onebit.js.map +0 -1
  440. package/build/dex/onebit/types.d.ts +0 -14
  441. package/build/dex/onebit/types.js +0 -8
  442. package/build/dex/onebit/types.js.map +0 -1
  443. package/build/dex/quick-perps/config.d.ts +0 -11
  444. package/build/dex/quick-perps/config.js +0 -27
  445. package/build/dex/quick-perps/config.js.map +0 -1
  446. package/build/dex/quick-perps/fast-price-feed.d.ts +0 -26
  447. package/build/dex/quick-perps/fast-price-feed.js +0 -184
  448. package/build/dex/quick-perps/fast-price-feed.js.map +0 -1
  449. package/build/dex/quick-perps/pool.d.ts +0 -21
  450. package/build/dex/quick-perps/pool.js +0 -229
  451. package/build/dex/quick-perps/pool.js.map +0 -1
  452. package/build/dex/quick-perps/quick-perps.d.ts +0 -53
  453. package/build/dex/quick-perps/quick-perps.js +0 -247
  454. package/build/dex/quick-perps/quick-perps.js.map +0 -1
  455. package/build/dex/quick-perps/types.d.ts +0 -98
  456. package/build/dex/quick-perps/types.js +0 -3
  457. package/build/dex/quick-perps/types.js.map +0 -1
  458. package/build/dex/quick-perps/usdq.d.ts +0 -15
  459. package/build/dex/quick-perps/usdq.js +0 -62
  460. package/build/dex/quick-perps/usdq.js.map +0 -1
  461. package/build/dex/quick-perps/vault-price-feed.d.ts +0 -43
  462. package/build/dex/quick-perps/vault-price-feed.js +0 -203
  463. package/build/dex/quick-perps/vault-price-feed.js.map +0 -1
  464. package/build/dex/quick-perps/vault-utils.d.ts +0 -8
  465. package/build/dex/quick-perps/vault-utils.js +0 -42
  466. package/build/dex/quick-perps/vault-utils.js.map +0 -1
  467. package/build/dex/quick-perps/vault.d.ts +0 -46
  468. package/build/dex/quick-perps/vault.js +0 -182
  469. package/build/dex/quick-perps/vault.js.map +0 -1
  470. package/build/dex/quickswap/thena-fusion.d.ts +0 -6
  471. package/build/dex/quickswap/thena-fusion.js +0 -19
  472. package/build/dex/quickswap/thena-fusion.js.map +0 -1
  473. package/build/dex/se-vlr/config.js +0 -24
  474. package/build/dex/se-vlr/config.js.map +0 -1
  475. package/build/dex/se-vlr/se-vlr-pool.d.ts +0 -39
  476. package/build/dex/se-vlr/se-vlr-pool.js +0 -70
  477. package/build/dex/se-vlr/se-vlr-pool.js.map +0 -1
  478. package/build/dex/se-vlr/se-vlr.d.ts +0 -35
  479. package/build/dex/se-vlr/se-vlr.js +0 -131
  480. package/build/dex/se-vlr/se-vlr.js.map +0 -1
  481. package/build/dex/se-vlr/types.d.ts +0 -6
  482. package/build/dex/se-vlr/types.js +0 -3
  483. package/build/dex/se-vlr/types.js.map +0 -1
  484. package/build/dex/shell.d.ts +0 -25
  485. package/build/dex/shell.js +0 -41
  486. package/build/dex/shell.js.map +0 -1
  487. package/build/dex/smoothy/smoothy.d.ts +0 -16
  488. package/build/dex/smoothy/smoothy.js +0 -60
  489. package/build/dex/smoothy/smoothy.js.map +0 -1
  490. package/build/dex/smoothy/types.d.ts +0 -15
  491. package/build/dex/smoothy/types.js +0 -8
  492. package/build/dex/smoothy/types.js.map +0 -1
  493. package/build/dex/solidly/forks-override/aerodrome.d.ts +0 -14
  494. package/build/dex/solidly/forks-override/aerodrome.js +0 -46
  495. package/build/dex/solidly/forks-override/aerodrome.js.map +0 -1
  496. package/build/dex/solidly/forks-override/chronos.d.ts +0 -23
  497. package/build/dex/solidly/forks-override/chronos.js +0 -141
  498. package/build/dex/solidly/forks-override/chronos.js.map +0 -1
  499. package/build/dex/solidly/forks-override/usdfi.d.ts +0 -8
  500. package/build/dex/solidly/forks-override/usdfi.js +0 -15
  501. package/build/dex/solidly/forks-override/usdfi.js.map +0 -1
  502. package/build/dex/solidly/forks-override/velocimeter.d.ts +0 -23
  503. package/build/dex/solidly/forks-override/velocimeter.js +0 -77
  504. package/build/dex/solidly/forks-override/velocimeter.js.map +0 -1
  505. package/build/dex/stader/config.d.ts +0 -3
  506. package/build/dex/stader/config.js +0 -14
  507. package/build/dex/stader/config.js.map +0 -1
  508. package/build/dex/stader/stader-pool.d.ts +0 -19
  509. package/build/dex/stader/stader-pool.js +0 -56
  510. package/build/dex/stader/stader-pool.js.map +0 -1
  511. package/build/dex/stader/stader.d.ts +0 -42
  512. package/build/dex/stader/stader.js +0 -195
  513. package/build/dex/stader/stader.js.map +0 -1
  514. package/build/dex/stader/types.d.ts +0 -13
  515. package/build/dex/stader/types.js +0 -8
  516. package/build/dex/stader/types.js.map +0 -1
  517. package/build/dex/stader/utils.d.ts +0 -4
  518. package/build/dex/stader/utils.js +0 -23
  519. package/build/dex/stader/utils.js.map +0 -1
  520. package/build/dex/synthetix/config.d.ts +0 -4
  521. package/build/dex/synthetix/config.js +0 -53
  522. package/build/dex/synthetix/config.js.map +0 -1
  523. package/build/dex/synthetix/constants.d.ts +0 -23
  524. package/build/dex/synthetix/constants.js +0 -32
  525. package/build/dex/synthetix/constants.js.map +0 -1
  526. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.d.ts +0 -17
  527. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.js +0 -102
  528. package/build/dex/synthetix/contract-math/DexPriceAggregatorUniswapV3.js.map +0 -1
  529. package/build/dex/synthetix/contract-math/ExchangeRates.d.ts +0 -8
  530. package/build/dex/synthetix/contract-math/ExchangeRates.js +0 -77
  531. package/build/dex/synthetix/contract-math/ExchangeRates.js.map +0 -1
  532. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.d.ts +0 -17
  533. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.js +0 -126
  534. package/build/dex/synthetix/contract-math/ExchangeRatesWithDexPricing.js.map +0 -1
  535. package/build/dex/synthetix/contract-math/FullMath.d.ts +0 -3
  536. package/build/dex/synthetix/contract-math/FullMath.js +0 -14
  537. package/build/dex/synthetix/contract-math/FullMath.js.map +0 -1
  538. package/build/dex/synthetix/contract-math/OracleLibrary.d.ts +0 -8
  539. package/build/dex/synthetix/contract-math/OracleLibrary.js +0 -60
  540. package/build/dex/synthetix/contract-math/OracleLibrary.js.map +0 -1
  541. package/build/dex/synthetix/contract-math/SafeDecimalMath.d.ts +0 -9
  542. package/build/dex/synthetix/contract-math/SafeDecimalMath.js +0 -41
  543. package/build/dex/synthetix/contract-math/SafeDecimalMath.js.map +0 -1
  544. package/build/dex/synthetix/contract-math/TickMath.d.ts +0 -7
  545. package/build/dex/synthetix/contract-math/TickMath.js +0 -63
  546. package/build/dex/synthetix/contract-math/TickMath.js.map +0 -1
  547. package/build/dex/synthetix/contract-math/synthetix-math.d.ts +0 -17
  548. package/build/dex/synthetix/contract-math/synthetix-math.js +0 -127
  549. package/build/dex/synthetix/contract-math/synthetix-math.js.map +0 -1
  550. package/build/dex/synthetix/synthetix-state.d.ts +0 -36
  551. package/build/dex/synthetix/synthetix-state.js +0 -615
  552. package/build/dex/synthetix/synthetix-state.js.map +0 -1
  553. package/build/dex/synthetix/synthetix.d.ts +0 -45
  554. package/build/dex/synthetix/synthetix.js +0 -304
  555. package/build/dex/synthetix/synthetix.js.map +0 -1
  556. package/build/dex/synthetix/types.d.ts +0 -90
  557. package/build/dex/synthetix/types.js +0 -3
  558. package/build/dex/synthetix/types.js.map +0 -1
  559. package/build/dex/synthetix/utils.d.ts +0 -10
  560. package/build/dex/synthetix/utils.js +0 -91
  561. package/build/dex/synthetix/utils.js.map +0 -1
  562. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.d.ts +0 -7
  563. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.js +0 -20
  564. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.js.map +0 -1
  565. package/build/dex/trader-joe-v2.d.ts +0 -40
  566. package/build/dex/trader-joe-v2.js +0 -74
  567. package/build/dex/trader-joe-v2.js.map +0 -1
  568. package/build/dex/uniswap-v2/dfyn.d.ts +0 -19
  569. package/build/dex/uniswap-v2/dfyn.js +0 -61
  570. package/build/dex/uniswap-v2/dfyn.js.map +0 -1
  571. package/build/dex/uniswap-v2/excalibur.d.ts +0 -24
  572. package/build/dex/uniswap-v2/excalibur.js +0 -47
  573. package/build/dex/uniswap-v2/excalibur.js.map +0 -1
  574. package/build/dex/uniswap-v2/mdex.d.ts +0 -24
  575. package/build/dex/uniswap-v2/mdex.js +0 -50
  576. package/build/dex/uniswap-v2/mdex.js.map +0 -1
  577. package/build/dex/uniswap-v2/nomiswap-v2.d.ts +0 -24
  578. package/build/dex/uniswap-v2/nomiswap-v2.js +0 -57
  579. package/build/dex/uniswap-v2/nomiswap-v2.js.map +0 -1
  580. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +0 -94
  581. package/build/dex/uniswap-v3/uniswap-v3-new.js +0 -923
  582. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +0 -1
  583. package/build/dex/uniswap-v4/contract-math/Position.d.ts +0 -3
  584. package/build/dex/uniswap-v4/contract-math/Position.js +0 -10
  585. package/build/dex/uniswap-v4/contract-math/Position.js.map +0 -1
  586. package/build/dex/usual-bond/config.d.ts +0 -3
  587. package/build/dex/usual-bond/config.js +0 -13
  588. package/build/dex/usual-bond/config.js.map +0 -1
  589. package/build/dex/usual-bond/types.d.ts +0 -7
  590. package/build/dex/usual-bond/types.js +0 -3
  591. package/build/dex/usual-bond/types.js.map +0 -1
  592. package/build/dex/usual-bond/usual-bond.d.ts +0 -35
  593. package/build/dex/usual-bond/usual-bond.js +0 -176
  594. package/build/dex/usual-bond/usual-bond.js.map +0 -1
  595. package/build/dex/wombat/config.d.ts +0 -4
  596. package/build/dex/wombat/config.js +0 -77
  597. package/build/dex/wombat/config.js.map +0 -1
  598. package/build/dex/wombat/types.d.ts +0 -34
  599. package/build/dex/wombat/types.js +0 -3
  600. package/build/dex/wombat/types.js.map +0 -1
  601. package/build/dex/wombat/utils.d.ts +0 -10
  602. package/build/dex/wombat/utils.js +0 -79
  603. package/build/dex/wombat/utils.js.map +0 -1
  604. package/build/dex/wombat/wombat-bmw.d.ts +0 -40
  605. package/build/dex/wombat/wombat-bmw.js +0 -136
  606. package/build/dex/wombat/wombat-bmw.js.map +0 -1
  607. package/build/dex/wombat/wombat-pool.d.ts +0 -60
  608. package/build/dex/wombat/wombat-pool.js +0 -488
  609. package/build/dex/wombat/wombat-pool.js.map +0 -1
  610. package/build/dex/wombat/wombat-quoter.d.ts +0 -17
  611. package/build/dex/wombat/wombat-quoter.js +0 -192
  612. package/build/dex/wombat/wombat-quoter.js.map +0 -1
  613. package/build/dex/wombat/wombat.d.ts +0 -58
  614. package/build/dex/wombat/wombat.js +0 -298
  615. package/build/dex/wombat/wombat.js.map +0 -1
  616. package/build/dex/wusdm/config.d.ts +0 -3
  617. package/build/dex/wusdm/config.js +0 -43
  618. package/build/dex/wusdm/config.js.map +0 -1
  619. package/build/dex/wusdm/constants.d.ts +0 -2
  620. package/build/dex/wusdm/constants.js +0 -6
  621. package/build/dex/wusdm/constants.js.map +0 -1
  622. package/build/dex/wusdm/types.d.ts +0 -18
  623. package/build/dex/wusdm/types.js +0 -11
  624. package/build/dex/wusdm/types.js.map +0 -1
  625. package/build/dex/wusdm/wusdm-pool.d.ts +0 -21
  626. package/build/dex/wusdm/wusdm-pool.js +0 -74
  627. package/build/dex/wusdm/wusdm-pool.js.map +0 -1
  628. package/build/dex/wusdm/wusdm.d.ts +0 -46
  629. package/build/dex/wusdm/wusdm.js +0 -243
  630. package/build/dex/wusdm/wusdm.js.map +0 -1
  631. package/build/dex/zerox/config.d.ts +0 -2
  632. package/build/dex/zerox/config.js +0 -33
  633. package/build/dex/zerox/config.js.map +0 -1
  634. package/build/dex/zerox/index.d.ts +0 -22
  635. package/build/dex/zerox/index.js +0 -225
  636. package/build/dex/zerox/index.js.map +0 -1
  637. package/build/dex/zerox/order.d.ts +0 -88
  638. package/build/dex/zerox/order.js +0 -53
  639. package/build/dex/zerox/order.js.map +0 -1
  640. package/build/dex/zerox/types.d.ts +0 -73
  641. package/build/dex/zerox/types.js +0 -21
  642. package/build/dex/zerox/types.js.map +0 -1
  643. /package/build/dex/{bunni-v2 → pancakeswap-infinity}/types.js +0 -0
  644. /package/build/dex/{concentrator-arusd → renegade/api}/types.js +0 -0
@@ -1,1947 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "bunniHub_",
7
- "type": "address"
8
- }
9
- ],
10
- "stateMutability": "nonpayable",
11
- "type": "constructor"
12
- },
13
- {
14
- "inputs": [],
15
- "name": "FeeOverrideHooklet__InvalidSwapFee",
16
- "type": "error"
17
- },
18
- {
19
- "inputs": [],
20
- "name": "FeeOverrideHooklet__NotBunniTokenOwner",
21
- "type": "error"
22
- },
23
- {
24
- "anonymous": false,
25
- "inputs": [
26
- {
27
- "indexed": true,
28
- "internalType": "PoolId",
29
- "name": "id",
30
- "type": "bytes32"
31
- },
32
- {
33
- "indexed": false,
34
- "internalType": "bool",
35
- "name": "overrideZeroToOne",
36
- "type": "bool"
37
- },
38
- {
39
- "indexed": false,
40
- "internalType": "uint24",
41
- "name": "feeZeroToOne",
42
- "type": "uint24"
43
- },
44
- {
45
- "indexed": false,
46
- "internalType": "bool",
47
- "name": "overrideOneToZero",
48
- "type": "bool"
49
- },
50
- {
51
- "indexed": false,
52
- "internalType": "uint24",
53
- "name": "feeOneToZero",
54
- "type": "uint24"
55
- }
56
- ],
57
- "name": "SetFeeOverride",
58
- "type": "event"
59
- },
60
- {
61
- "inputs": [
62
- {
63
- "internalType": "address",
64
- "name": "",
65
- "type": "address"
66
- },
67
- {
68
- "components": [
69
- {
70
- "components": [
71
- {
72
- "internalType": "Currency",
73
- "name": "currency0",
74
- "type": "address"
75
- },
76
- {
77
- "internalType": "Currency",
78
- "name": "currency1",
79
- "type": "address"
80
- },
81
- {
82
- "internalType": "uint24",
83
- "name": "fee",
84
- "type": "uint24"
85
- },
86
- {
87
- "internalType": "int24",
88
- "name": "tickSpacing",
89
- "type": "int24"
90
- },
91
- {
92
- "internalType": "contract IHooks",
93
- "name": "hooks",
94
- "type": "address"
95
- }
96
- ],
97
- "internalType": "struct PoolKey",
98
- "name": "poolKey",
99
- "type": "tuple"
100
- },
101
- {
102
- "internalType": "address",
103
- "name": "recipient",
104
- "type": "address"
105
- },
106
- {
107
- "internalType": "address",
108
- "name": "refundRecipient",
109
- "type": "address"
110
- },
111
- {
112
- "internalType": "uint256",
113
- "name": "amount0Desired",
114
- "type": "uint256"
115
- },
116
- {
117
- "internalType": "uint256",
118
- "name": "amount1Desired",
119
- "type": "uint256"
120
- },
121
- {
122
- "internalType": "uint256",
123
- "name": "amount0Min",
124
- "type": "uint256"
125
- },
126
- {
127
- "internalType": "uint256",
128
- "name": "amount1Min",
129
- "type": "uint256"
130
- },
131
- {
132
- "internalType": "uint256",
133
- "name": "vaultFee0",
134
- "type": "uint256"
135
- },
136
- {
137
- "internalType": "uint256",
138
- "name": "vaultFee1",
139
- "type": "uint256"
140
- },
141
- {
142
- "internalType": "uint256",
143
- "name": "deadline",
144
- "type": "uint256"
145
- },
146
- {
147
- "internalType": "address",
148
- "name": "referrer",
149
- "type": "address"
150
- }
151
- ],
152
- "internalType": "struct IBunniHub.DepositParams",
153
- "name": "",
154
- "type": "tuple"
155
- },
156
- {
157
- "components": [
158
- {
159
- "internalType": "uint256",
160
- "name": "shares",
161
- "type": "uint256"
162
- },
163
- {
164
- "internalType": "uint256",
165
- "name": "amount0",
166
- "type": "uint256"
167
- },
168
- {
169
- "internalType": "uint256",
170
- "name": "amount1",
171
- "type": "uint256"
172
- }
173
- ],
174
- "internalType": "struct IHooklet.DepositReturnData",
175
- "name": "",
176
- "type": "tuple"
177
- }
178
- ],
179
- "name": "afterDeposit",
180
- "outputs": [
181
- {
182
- "internalType": "bytes4",
183
- "name": "selector",
184
- "type": "bytes4"
185
- }
186
- ],
187
- "stateMutability": "pure",
188
- "type": "function"
189
- },
190
- {
191
- "inputs": [
192
- {
193
- "internalType": "address",
194
- "name": "",
195
- "type": "address"
196
- },
197
- {
198
- "components": [
199
- {
200
- "components": [
201
- {
202
- "internalType": "Currency",
203
- "name": "currency0",
204
- "type": "address"
205
- },
206
- {
207
- "internalType": "Currency",
208
- "name": "currency1",
209
- "type": "address"
210
- },
211
- {
212
- "internalType": "uint24",
213
- "name": "fee",
214
- "type": "uint24"
215
- },
216
- {
217
- "internalType": "int24",
218
- "name": "tickSpacing",
219
- "type": "int24"
220
- },
221
- {
222
- "internalType": "contract IHooks",
223
- "name": "hooks",
224
- "type": "address"
225
- }
226
- ],
227
- "internalType": "struct PoolKey",
228
- "name": "poolKey",
229
- "type": "tuple"
230
- },
231
- {
232
- "internalType": "address",
233
- "name": "recipient",
234
- "type": "address"
235
- },
236
- {
237
- "internalType": "address",
238
- "name": "refundRecipient",
239
- "type": "address"
240
- },
241
- {
242
- "internalType": "uint256",
243
- "name": "amount0Desired",
244
- "type": "uint256"
245
- },
246
- {
247
- "internalType": "uint256",
248
- "name": "amount1Desired",
249
- "type": "uint256"
250
- },
251
- {
252
- "internalType": "uint256",
253
- "name": "amount0Min",
254
- "type": "uint256"
255
- },
256
- {
257
- "internalType": "uint256",
258
- "name": "amount1Min",
259
- "type": "uint256"
260
- },
261
- {
262
- "internalType": "uint256",
263
- "name": "vaultFee0",
264
- "type": "uint256"
265
- },
266
- {
267
- "internalType": "uint256",
268
- "name": "vaultFee1",
269
- "type": "uint256"
270
- },
271
- {
272
- "internalType": "uint256",
273
- "name": "deadline",
274
- "type": "uint256"
275
- },
276
- {
277
- "internalType": "address",
278
- "name": "referrer",
279
- "type": "address"
280
- }
281
- ],
282
- "internalType": "struct IBunniHub.DepositParams",
283
- "name": "",
284
- "type": "tuple"
285
- },
286
- {
287
- "components": [
288
- {
289
- "internalType": "uint256",
290
- "name": "shares",
291
- "type": "uint256"
292
- },
293
- {
294
- "internalType": "uint256",
295
- "name": "amount0",
296
- "type": "uint256"
297
- },
298
- {
299
- "internalType": "uint256",
300
- "name": "amount1",
301
- "type": "uint256"
302
- }
303
- ],
304
- "internalType": "struct IHooklet.DepositReturnData",
305
- "name": "",
306
- "type": "tuple"
307
- }
308
- ],
309
- "name": "afterDepositView",
310
- "outputs": [
311
- {
312
- "internalType": "bytes4",
313
- "name": "selector",
314
- "type": "bytes4"
315
- }
316
- ],
317
- "stateMutability": "pure",
318
- "type": "function"
319
- },
320
- {
321
- "inputs": [
322
- {
323
- "internalType": "address",
324
- "name": "",
325
- "type": "address"
326
- },
327
- {
328
- "components": [
329
- {
330
- "internalType": "Currency",
331
- "name": "currency0",
332
- "type": "address"
333
- },
334
- {
335
- "internalType": "Currency",
336
- "name": "currency1",
337
- "type": "address"
338
- },
339
- {
340
- "internalType": "int24",
341
- "name": "tickSpacing",
342
- "type": "int24"
343
- },
344
- {
345
- "internalType": "uint24",
346
- "name": "twapSecondsAgo",
347
- "type": "uint24"
348
- },
349
- {
350
- "internalType": "contract ILiquidityDensityFunction",
351
- "name": "liquidityDensityFunction",
352
- "type": "address"
353
- },
354
- {
355
- "internalType": "contract IHooklet",
356
- "name": "hooklet",
357
- "type": "address"
358
- },
359
- {
360
- "internalType": "enum LDFType",
361
- "name": "ldfType",
362
- "type": "uint8"
363
- },
364
- {
365
- "internalType": "bytes32",
366
- "name": "ldfParams",
367
- "type": "bytes32"
368
- },
369
- {
370
- "internalType": "contract IBunniHook",
371
- "name": "hooks",
372
- "type": "address"
373
- },
374
- {
375
- "internalType": "bytes",
376
- "name": "hookParams",
377
- "type": "bytes"
378
- },
379
- {
380
- "internalType": "contract ERC4626",
381
- "name": "vault0",
382
- "type": "address"
383
- },
384
- {
385
- "internalType": "contract ERC4626",
386
- "name": "vault1",
387
- "type": "address"
388
- },
389
- {
390
- "internalType": "uint24",
391
- "name": "minRawTokenRatio0",
392
- "type": "uint24"
393
- },
394
- {
395
- "internalType": "uint24",
396
- "name": "targetRawTokenRatio0",
397
- "type": "uint24"
398
- },
399
- {
400
- "internalType": "uint24",
401
- "name": "maxRawTokenRatio0",
402
- "type": "uint24"
403
- },
404
- {
405
- "internalType": "uint24",
406
- "name": "minRawTokenRatio1",
407
- "type": "uint24"
408
- },
409
- {
410
- "internalType": "uint24",
411
- "name": "targetRawTokenRatio1",
412
- "type": "uint24"
413
- },
414
- {
415
- "internalType": "uint24",
416
- "name": "maxRawTokenRatio1",
417
- "type": "uint24"
418
- },
419
- {
420
- "internalType": "uint160",
421
- "name": "sqrtPriceX96",
422
- "type": "uint160"
423
- },
424
- {
425
- "internalType": "bytes32",
426
- "name": "name",
427
- "type": "bytes32"
428
- },
429
- {
430
- "internalType": "bytes32",
431
- "name": "symbol",
432
- "type": "bytes32"
433
- },
434
- {
435
- "internalType": "address",
436
- "name": "owner",
437
- "type": "address"
438
- },
439
- {
440
- "internalType": "string",
441
- "name": "metadataURI",
442
- "type": "string"
443
- },
444
- {
445
- "internalType": "bytes32",
446
- "name": "salt",
447
- "type": "bytes32"
448
- }
449
- ],
450
- "internalType": "struct IBunniHub.DeployBunniTokenParams",
451
- "name": "",
452
- "type": "tuple"
453
- },
454
- {
455
- "components": [
456
- {
457
- "internalType": "contract IBunniToken",
458
- "name": "bunniToken",
459
- "type": "address"
460
- },
461
- {
462
- "components": [
463
- {
464
- "internalType": "Currency",
465
- "name": "currency0",
466
- "type": "address"
467
- },
468
- {
469
- "internalType": "Currency",
470
- "name": "currency1",
471
- "type": "address"
472
- },
473
- {
474
- "internalType": "uint24",
475
- "name": "fee",
476
- "type": "uint24"
477
- },
478
- {
479
- "internalType": "int24",
480
- "name": "tickSpacing",
481
- "type": "int24"
482
- },
483
- {
484
- "internalType": "contract IHooks",
485
- "name": "hooks",
486
- "type": "address"
487
- }
488
- ],
489
- "internalType": "struct PoolKey",
490
- "name": "key",
491
- "type": "tuple"
492
- }
493
- ],
494
- "internalType": "struct IHooklet.InitializeReturnData",
495
- "name": "",
496
- "type": "tuple"
497
- }
498
- ],
499
- "name": "afterInitialize",
500
- "outputs": [
501
- {
502
- "internalType": "bytes4",
503
- "name": "selector",
504
- "type": "bytes4"
505
- }
506
- ],
507
- "stateMutability": "pure",
508
- "type": "function"
509
- },
510
- {
511
- "inputs": [
512
- {
513
- "components": [
514
- {
515
- "internalType": "Currency",
516
- "name": "currency0",
517
- "type": "address"
518
- },
519
- {
520
- "internalType": "Currency",
521
- "name": "currency1",
522
- "type": "address"
523
- },
524
- {
525
- "internalType": "uint24",
526
- "name": "fee",
527
- "type": "uint24"
528
- },
529
- {
530
- "internalType": "int24",
531
- "name": "tickSpacing",
532
- "type": "int24"
533
- },
534
- {
535
- "internalType": "contract IHooks",
536
- "name": "hooks",
537
- "type": "address"
538
- }
539
- ],
540
- "internalType": "struct PoolKey",
541
- "name": "",
542
- "type": "tuple"
543
- },
544
- {
545
- "internalType": "bool",
546
- "name": "",
547
- "type": "bool"
548
- },
549
- {
550
- "internalType": "uint256",
551
- "name": "",
552
- "type": "uint256"
553
- },
554
- {
555
- "internalType": "uint256",
556
- "name": "",
557
- "type": "uint256"
558
- }
559
- ],
560
- "name": "afterRebalance",
561
- "outputs": [
562
- {
563
- "internalType": "bytes4",
564
- "name": "selector",
565
- "type": "bytes4"
566
- }
567
- ],
568
- "stateMutability": "pure",
569
- "type": "function"
570
- },
571
- {
572
- "inputs": [
573
- {
574
- "internalType": "address",
575
- "name": "",
576
- "type": "address"
577
- },
578
- {
579
- "components": [
580
- {
581
- "internalType": "Currency",
582
- "name": "currency0",
583
- "type": "address"
584
- },
585
- {
586
- "internalType": "Currency",
587
- "name": "currency1",
588
- "type": "address"
589
- },
590
- {
591
- "internalType": "uint24",
592
- "name": "fee",
593
- "type": "uint24"
594
- },
595
- {
596
- "internalType": "int24",
597
- "name": "tickSpacing",
598
- "type": "int24"
599
- },
600
- {
601
- "internalType": "contract IHooks",
602
- "name": "hooks",
603
- "type": "address"
604
- }
605
- ],
606
- "internalType": "struct PoolKey",
607
- "name": "",
608
- "type": "tuple"
609
- },
610
- {
611
- "components": [
612
- {
613
- "internalType": "bool",
614
- "name": "zeroForOne",
615
- "type": "bool"
616
- },
617
- {
618
- "internalType": "int256",
619
- "name": "amountSpecified",
620
- "type": "int256"
621
- },
622
- {
623
- "internalType": "uint160",
624
- "name": "sqrtPriceLimitX96",
625
- "type": "uint160"
626
- }
627
- ],
628
- "internalType": "struct IPoolManager.SwapParams",
629
- "name": "",
630
- "type": "tuple"
631
- },
632
- {
633
- "components": [
634
- {
635
- "internalType": "uint160",
636
- "name": "updatedSqrtPriceX96",
637
- "type": "uint160"
638
- },
639
- {
640
- "internalType": "int24",
641
- "name": "updatedTick",
642
- "type": "int24"
643
- },
644
- {
645
- "internalType": "uint256",
646
- "name": "inputAmount",
647
- "type": "uint256"
648
- },
649
- {
650
- "internalType": "uint256",
651
- "name": "outputAmount",
652
- "type": "uint256"
653
- },
654
- {
655
- "internalType": "uint24",
656
- "name": "swapFee",
657
- "type": "uint24"
658
- },
659
- {
660
- "internalType": "uint256",
661
- "name": "totalLiquidity",
662
- "type": "uint256"
663
- }
664
- ],
665
- "internalType": "struct IHooklet.SwapReturnData",
666
- "name": "",
667
- "type": "tuple"
668
- }
669
- ],
670
- "name": "afterSwap",
671
- "outputs": [
672
- {
673
- "internalType": "bytes4",
674
- "name": "selector",
675
- "type": "bytes4"
676
- }
677
- ],
678
- "stateMutability": "pure",
679
- "type": "function"
680
- },
681
- {
682
- "inputs": [
683
- {
684
- "internalType": "address",
685
- "name": "",
686
- "type": "address"
687
- },
688
- {
689
- "components": [
690
- {
691
- "internalType": "Currency",
692
- "name": "currency0",
693
- "type": "address"
694
- },
695
- {
696
- "internalType": "Currency",
697
- "name": "currency1",
698
- "type": "address"
699
- },
700
- {
701
- "internalType": "uint24",
702
- "name": "fee",
703
- "type": "uint24"
704
- },
705
- {
706
- "internalType": "int24",
707
- "name": "tickSpacing",
708
- "type": "int24"
709
- },
710
- {
711
- "internalType": "contract IHooks",
712
- "name": "hooks",
713
- "type": "address"
714
- }
715
- ],
716
- "internalType": "struct PoolKey",
717
- "name": "",
718
- "type": "tuple"
719
- },
720
- {
721
- "components": [
722
- {
723
- "internalType": "bool",
724
- "name": "zeroForOne",
725
- "type": "bool"
726
- },
727
- {
728
- "internalType": "int256",
729
- "name": "amountSpecified",
730
- "type": "int256"
731
- },
732
- {
733
- "internalType": "uint160",
734
- "name": "sqrtPriceLimitX96",
735
- "type": "uint160"
736
- }
737
- ],
738
- "internalType": "struct IPoolManager.SwapParams",
739
- "name": "",
740
- "type": "tuple"
741
- },
742
- {
743
- "components": [
744
- {
745
- "internalType": "uint160",
746
- "name": "updatedSqrtPriceX96",
747
- "type": "uint160"
748
- },
749
- {
750
- "internalType": "int24",
751
- "name": "updatedTick",
752
- "type": "int24"
753
- },
754
- {
755
- "internalType": "uint256",
756
- "name": "inputAmount",
757
- "type": "uint256"
758
- },
759
- {
760
- "internalType": "uint256",
761
- "name": "outputAmount",
762
- "type": "uint256"
763
- },
764
- {
765
- "internalType": "uint24",
766
- "name": "swapFee",
767
- "type": "uint24"
768
- },
769
- {
770
- "internalType": "uint256",
771
- "name": "totalLiquidity",
772
- "type": "uint256"
773
- }
774
- ],
775
- "internalType": "struct IHooklet.SwapReturnData",
776
- "name": "",
777
- "type": "tuple"
778
- }
779
- ],
780
- "name": "afterSwapView",
781
- "outputs": [
782
- {
783
- "internalType": "bytes4",
784
- "name": "selector",
785
- "type": "bytes4"
786
- }
787
- ],
788
- "stateMutability": "pure",
789
- "type": "function"
790
- },
791
- {
792
- "inputs": [
793
- {
794
- "internalType": "address",
795
- "name": "",
796
- "type": "address"
797
- },
798
- {
799
- "components": [
800
- {
801
- "internalType": "Currency",
802
- "name": "currency0",
803
- "type": "address"
804
- },
805
- {
806
- "internalType": "Currency",
807
- "name": "currency1",
808
- "type": "address"
809
- },
810
- {
811
- "internalType": "uint24",
812
- "name": "fee",
813
- "type": "uint24"
814
- },
815
- {
816
- "internalType": "int24",
817
- "name": "tickSpacing",
818
- "type": "int24"
819
- },
820
- {
821
- "internalType": "contract IHooks",
822
- "name": "hooks",
823
- "type": "address"
824
- }
825
- ],
826
- "internalType": "struct PoolKey",
827
- "name": "",
828
- "type": "tuple"
829
- },
830
- {
831
- "internalType": "contract IBunniToken",
832
- "name": "",
833
- "type": "address"
834
- },
835
- {
836
- "internalType": "address",
837
- "name": "",
838
- "type": "address"
839
- },
840
- {
841
- "internalType": "address",
842
- "name": "",
843
- "type": "address"
844
- },
845
- {
846
- "internalType": "uint256",
847
- "name": "",
848
- "type": "uint256"
849
- }
850
- ],
851
- "name": "afterTransfer",
852
- "outputs": [
853
- {
854
- "internalType": "bytes4",
855
- "name": "selector",
856
- "type": "bytes4"
857
- }
858
- ],
859
- "stateMutability": "pure",
860
- "type": "function"
861
- },
862
- {
863
- "inputs": [
864
- {
865
- "internalType": "address",
866
- "name": "",
867
- "type": "address"
868
- },
869
- {
870
- "components": [
871
- {
872
- "components": [
873
- {
874
- "internalType": "Currency",
875
- "name": "currency0",
876
- "type": "address"
877
- },
878
- {
879
- "internalType": "Currency",
880
- "name": "currency1",
881
- "type": "address"
882
- },
883
- {
884
- "internalType": "uint24",
885
- "name": "fee",
886
- "type": "uint24"
887
- },
888
- {
889
- "internalType": "int24",
890
- "name": "tickSpacing",
891
- "type": "int24"
892
- },
893
- {
894
- "internalType": "contract IHooks",
895
- "name": "hooks",
896
- "type": "address"
897
- }
898
- ],
899
- "internalType": "struct PoolKey",
900
- "name": "poolKey",
901
- "type": "tuple"
902
- },
903
- {
904
- "internalType": "address",
905
- "name": "recipient",
906
- "type": "address"
907
- },
908
- {
909
- "internalType": "uint256",
910
- "name": "shares",
911
- "type": "uint256"
912
- },
913
- {
914
- "internalType": "uint256",
915
- "name": "amount0Min",
916
- "type": "uint256"
917
- },
918
- {
919
- "internalType": "uint256",
920
- "name": "amount1Min",
921
- "type": "uint256"
922
- },
923
- {
924
- "internalType": "uint256",
925
- "name": "deadline",
926
- "type": "uint256"
927
- },
928
- {
929
- "internalType": "bool",
930
- "name": "useQueuedWithdrawal",
931
- "type": "bool"
932
- }
933
- ],
934
- "internalType": "struct IBunniHub.WithdrawParams",
935
- "name": "",
936
- "type": "tuple"
937
- },
938
- {
939
- "components": [
940
- {
941
- "internalType": "uint256",
942
- "name": "amount0",
943
- "type": "uint256"
944
- },
945
- {
946
- "internalType": "uint256",
947
- "name": "amount1",
948
- "type": "uint256"
949
- }
950
- ],
951
- "internalType": "struct IHooklet.WithdrawReturnData",
952
- "name": "",
953
- "type": "tuple"
954
- }
955
- ],
956
- "name": "afterWithdraw",
957
- "outputs": [
958
- {
959
- "internalType": "bytes4",
960
- "name": "selector",
961
- "type": "bytes4"
962
- }
963
- ],
964
- "stateMutability": "pure",
965
- "type": "function"
966
- },
967
- {
968
- "inputs": [
969
- {
970
- "internalType": "address",
971
- "name": "",
972
- "type": "address"
973
- },
974
- {
975
- "components": [
976
- {
977
- "components": [
978
- {
979
- "internalType": "Currency",
980
- "name": "currency0",
981
- "type": "address"
982
- },
983
- {
984
- "internalType": "Currency",
985
- "name": "currency1",
986
- "type": "address"
987
- },
988
- {
989
- "internalType": "uint24",
990
- "name": "fee",
991
- "type": "uint24"
992
- },
993
- {
994
- "internalType": "int24",
995
- "name": "tickSpacing",
996
- "type": "int24"
997
- },
998
- {
999
- "internalType": "contract IHooks",
1000
- "name": "hooks",
1001
- "type": "address"
1002
- }
1003
- ],
1004
- "internalType": "struct PoolKey",
1005
- "name": "poolKey",
1006
- "type": "tuple"
1007
- },
1008
- {
1009
- "internalType": "address",
1010
- "name": "recipient",
1011
- "type": "address"
1012
- },
1013
- {
1014
- "internalType": "uint256",
1015
- "name": "shares",
1016
- "type": "uint256"
1017
- },
1018
- {
1019
- "internalType": "uint256",
1020
- "name": "amount0Min",
1021
- "type": "uint256"
1022
- },
1023
- {
1024
- "internalType": "uint256",
1025
- "name": "amount1Min",
1026
- "type": "uint256"
1027
- },
1028
- {
1029
- "internalType": "uint256",
1030
- "name": "deadline",
1031
- "type": "uint256"
1032
- },
1033
- {
1034
- "internalType": "bool",
1035
- "name": "useQueuedWithdrawal",
1036
- "type": "bool"
1037
- }
1038
- ],
1039
- "internalType": "struct IBunniHub.WithdrawParams",
1040
- "name": "",
1041
- "type": "tuple"
1042
- },
1043
- {
1044
- "components": [
1045
- {
1046
- "internalType": "uint256",
1047
- "name": "amount0",
1048
- "type": "uint256"
1049
- },
1050
- {
1051
- "internalType": "uint256",
1052
- "name": "amount1",
1053
- "type": "uint256"
1054
- }
1055
- ],
1056
- "internalType": "struct IHooklet.WithdrawReturnData",
1057
- "name": "",
1058
- "type": "tuple"
1059
- }
1060
- ],
1061
- "name": "afterWithdrawView",
1062
- "outputs": [
1063
- {
1064
- "internalType": "bytes4",
1065
- "name": "selector",
1066
- "type": "bytes4"
1067
- }
1068
- ],
1069
- "stateMutability": "pure",
1070
- "type": "function"
1071
- },
1072
- {
1073
- "inputs": [
1074
- {
1075
- "internalType": "address",
1076
- "name": "",
1077
- "type": "address"
1078
- },
1079
- {
1080
- "components": [
1081
- {
1082
- "components": [
1083
- {
1084
- "internalType": "Currency",
1085
- "name": "currency0",
1086
- "type": "address"
1087
- },
1088
- {
1089
- "internalType": "Currency",
1090
- "name": "currency1",
1091
- "type": "address"
1092
- },
1093
- {
1094
- "internalType": "uint24",
1095
- "name": "fee",
1096
- "type": "uint24"
1097
- },
1098
- {
1099
- "internalType": "int24",
1100
- "name": "tickSpacing",
1101
- "type": "int24"
1102
- },
1103
- {
1104
- "internalType": "contract IHooks",
1105
- "name": "hooks",
1106
- "type": "address"
1107
- }
1108
- ],
1109
- "internalType": "struct PoolKey",
1110
- "name": "poolKey",
1111
- "type": "tuple"
1112
- },
1113
- {
1114
- "internalType": "address",
1115
- "name": "recipient",
1116
- "type": "address"
1117
- },
1118
- {
1119
- "internalType": "address",
1120
- "name": "refundRecipient",
1121
- "type": "address"
1122
- },
1123
- {
1124
- "internalType": "uint256",
1125
- "name": "amount0Desired",
1126
- "type": "uint256"
1127
- },
1128
- {
1129
- "internalType": "uint256",
1130
- "name": "amount1Desired",
1131
- "type": "uint256"
1132
- },
1133
- {
1134
- "internalType": "uint256",
1135
- "name": "amount0Min",
1136
- "type": "uint256"
1137
- },
1138
- {
1139
- "internalType": "uint256",
1140
- "name": "amount1Min",
1141
- "type": "uint256"
1142
- },
1143
- {
1144
- "internalType": "uint256",
1145
- "name": "vaultFee0",
1146
- "type": "uint256"
1147
- },
1148
- {
1149
- "internalType": "uint256",
1150
- "name": "vaultFee1",
1151
- "type": "uint256"
1152
- },
1153
- {
1154
- "internalType": "uint256",
1155
- "name": "deadline",
1156
- "type": "uint256"
1157
- },
1158
- {
1159
- "internalType": "address",
1160
- "name": "referrer",
1161
- "type": "address"
1162
- }
1163
- ],
1164
- "internalType": "struct IBunniHub.DepositParams",
1165
- "name": "",
1166
- "type": "tuple"
1167
- }
1168
- ],
1169
- "name": "beforeDeposit",
1170
- "outputs": [
1171
- {
1172
- "internalType": "bytes4",
1173
- "name": "selector",
1174
- "type": "bytes4"
1175
- }
1176
- ],
1177
- "stateMutability": "pure",
1178
- "type": "function"
1179
- },
1180
- {
1181
- "inputs": [
1182
- {
1183
- "internalType": "address",
1184
- "name": "",
1185
- "type": "address"
1186
- },
1187
- {
1188
- "components": [
1189
- {
1190
- "components": [
1191
- {
1192
- "internalType": "Currency",
1193
- "name": "currency0",
1194
- "type": "address"
1195
- },
1196
- {
1197
- "internalType": "Currency",
1198
- "name": "currency1",
1199
- "type": "address"
1200
- },
1201
- {
1202
- "internalType": "uint24",
1203
- "name": "fee",
1204
- "type": "uint24"
1205
- },
1206
- {
1207
- "internalType": "int24",
1208
- "name": "tickSpacing",
1209
- "type": "int24"
1210
- },
1211
- {
1212
- "internalType": "contract IHooks",
1213
- "name": "hooks",
1214
- "type": "address"
1215
- }
1216
- ],
1217
- "internalType": "struct PoolKey",
1218
- "name": "poolKey",
1219
- "type": "tuple"
1220
- },
1221
- {
1222
- "internalType": "address",
1223
- "name": "recipient",
1224
- "type": "address"
1225
- },
1226
- {
1227
- "internalType": "address",
1228
- "name": "refundRecipient",
1229
- "type": "address"
1230
- },
1231
- {
1232
- "internalType": "uint256",
1233
- "name": "amount0Desired",
1234
- "type": "uint256"
1235
- },
1236
- {
1237
- "internalType": "uint256",
1238
- "name": "amount1Desired",
1239
- "type": "uint256"
1240
- },
1241
- {
1242
- "internalType": "uint256",
1243
- "name": "amount0Min",
1244
- "type": "uint256"
1245
- },
1246
- {
1247
- "internalType": "uint256",
1248
- "name": "amount1Min",
1249
- "type": "uint256"
1250
- },
1251
- {
1252
- "internalType": "uint256",
1253
- "name": "vaultFee0",
1254
- "type": "uint256"
1255
- },
1256
- {
1257
- "internalType": "uint256",
1258
- "name": "vaultFee1",
1259
- "type": "uint256"
1260
- },
1261
- {
1262
- "internalType": "uint256",
1263
- "name": "deadline",
1264
- "type": "uint256"
1265
- },
1266
- {
1267
- "internalType": "address",
1268
- "name": "referrer",
1269
- "type": "address"
1270
- }
1271
- ],
1272
- "internalType": "struct IBunniHub.DepositParams",
1273
- "name": "",
1274
- "type": "tuple"
1275
- }
1276
- ],
1277
- "name": "beforeDepositView",
1278
- "outputs": [
1279
- {
1280
- "internalType": "bytes4",
1281
- "name": "selector",
1282
- "type": "bytes4"
1283
- }
1284
- ],
1285
- "stateMutability": "pure",
1286
- "type": "function"
1287
- },
1288
- {
1289
- "inputs": [
1290
- {
1291
- "internalType": "address",
1292
- "name": "",
1293
- "type": "address"
1294
- },
1295
- {
1296
- "components": [
1297
- {
1298
- "internalType": "Currency",
1299
- "name": "currency0",
1300
- "type": "address"
1301
- },
1302
- {
1303
- "internalType": "Currency",
1304
- "name": "currency1",
1305
- "type": "address"
1306
- },
1307
- {
1308
- "internalType": "int24",
1309
- "name": "tickSpacing",
1310
- "type": "int24"
1311
- },
1312
- {
1313
- "internalType": "uint24",
1314
- "name": "twapSecondsAgo",
1315
- "type": "uint24"
1316
- },
1317
- {
1318
- "internalType": "contract ILiquidityDensityFunction",
1319
- "name": "liquidityDensityFunction",
1320
- "type": "address"
1321
- },
1322
- {
1323
- "internalType": "contract IHooklet",
1324
- "name": "hooklet",
1325
- "type": "address"
1326
- },
1327
- {
1328
- "internalType": "enum LDFType",
1329
- "name": "ldfType",
1330
- "type": "uint8"
1331
- },
1332
- {
1333
- "internalType": "bytes32",
1334
- "name": "ldfParams",
1335
- "type": "bytes32"
1336
- },
1337
- {
1338
- "internalType": "contract IBunniHook",
1339
- "name": "hooks",
1340
- "type": "address"
1341
- },
1342
- {
1343
- "internalType": "bytes",
1344
- "name": "hookParams",
1345
- "type": "bytes"
1346
- },
1347
- {
1348
- "internalType": "contract ERC4626",
1349
- "name": "vault0",
1350
- "type": "address"
1351
- },
1352
- {
1353
- "internalType": "contract ERC4626",
1354
- "name": "vault1",
1355
- "type": "address"
1356
- },
1357
- {
1358
- "internalType": "uint24",
1359
- "name": "minRawTokenRatio0",
1360
- "type": "uint24"
1361
- },
1362
- {
1363
- "internalType": "uint24",
1364
- "name": "targetRawTokenRatio0",
1365
- "type": "uint24"
1366
- },
1367
- {
1368
- "internalType": "uint24",
1369
- "name": "maxRawTokenRatio0",
1370
- "type": "uint24"
1371
- },
1372
- {
1373
- "internalType": "uint24",
1374
- "name": "minRawTokenRatio1",
1375
- "type": "uint24"
1376
- },
1377
- {
1378
- "internalType": "uint24",
1379
- "name": "targetRawTokenRatio1",
1380
- "type": "uint24"
1381
- },
1382
- {
1383
- "internalType": "uint24",
1384
- "name": "maxRawTokenRatio1",
1385
- "type": "uint24"
1386
- },
1387
- {
1388
- "internalType": "uint160",
1389
- "name": "sqrtPriceX96",
1390
- "type": "uint160"
1391
- },
1392
- {
1393
- "internalType": "bytes32",
1394
- "name": "name",
1395
- "type": "bytes32"
1396
- },
1397
- {
1398
- "internalType": "bytes32",
1399
- "name": "symbol",
1400
- "type": "bytes32"
1401
- },
1402
- {
1403
- "internalType": "address",
1404
- "name": "owner",
1405
- "type": "address"
1406
- },
1407
- {
1408
- "internalType": "string",
1409
- "name": "metadataURI",
1410
- "type": "string"
1411
- },
1412
- {
1413
- "internalType": "bytes32",
1414
- "name": "salt",
1415
- "type": "bytes32"
1416
- }
1417
- ],
1418
- "internalType": "struct IBunniHub.DeployBunniTokenParams",
1419
- "name": "",
1420
- "type": "tuple"
1421
- }
1422
- ],
1423
- "name": "beforeInitialize",
1424
- "outputs": [
1425
- {
1426
- "internalType": "bytes4",
1427
- "name": "selector",
1428
- "type": "bytes4"
1429
- }
1430
- ],
1431
- "stateMutability": "pure",
1432
- "type": "function"
1433
- },
1434
- {
1435
- "inputs": [
1436
- {
1437
- "internalType": "address",
1438
- "name": "",
1439
- "type": "address"
1440
- },
1441
- {
1442
- "components": [
1443
- {
1444
- "internalType": "Currency",
1445
- "name": "currency0",
1446
- "type": "address"
1447
- },
1448
- {
1449
- "internalType": "Currency",
1450
- "name": "currency1",
1451
- "type": "address"
1452
- },
1453
- {
1454
- "internalType": "uint24",
1455
- "name": "fee",
1456
- "type": "uint24"
1457
- },
1458
- {
1459
- "internalType": "int24",
1460
- "name": "tickSpacing",
1461
- "type": "int24"
1462
- },
1463
- {
1464
- "internalType": "contract IHooks",
1465
- "name": "hooks",
1466
- "type": "address"
1467
- }
1468
- ],
1469
- "internalType": "struct PoolKey",
1470
- "name": "key",
1471
- "type": "tuple"
1472
- },
1473
- {
1474
- "components": [
1475
- {
1476
- "internalType": "bool",
1477
- "name": "zeroForOne",
1478
- "type": "bool"
1479
- },
1480
- {
1481
- "internalType": "int256",
1482
- "name": "amountSpecified",
1483
- "type": "int256"
1484
- },
1485
- {
1486
- "internalType": "uint160",
1487
- "name": "sqrtPriceLimitX96",
1488
- "type": "uint160"
1489
- }
1490
- ],
1491
- "internalType": "struct IPoolManager.SwapParams",
1492
- "name": "params",
1493
- "type": "tuple"
1494
- }
1495
- ],
1496
- "name": "beforeSwap",
1497
- "outputs": [
1498
- {
1499
- "internalType": "bytes4",
1500
- "name": "selector",
1501
- "type": "bytes4"
1502
- },
1503
- {
1504
- "internalType": "bool",
1505
- "name": "feeOverriden",
1506
- "type": "bool"
1507
- },
1508
- {
1509
- "internalType": "uint24",
1510
- "name": "fee",
1511
- "type": "uint24"
1512
- },
1513
- {
1514
- "internalType": "bool",
1515
- "name": "priceOverridden",
1516
- "type": "bool"
1517
- },
1518
- {
1519
- "internalType": "uint160",
1520
- "name": "sqrtPriceX96",
1521
- "type": "uint160"
1522
- }
1523
- ],
1524
- "stateMutability": "view",
1525
- "type": "function"
1526
- },
1527
- {
1528
- "inputs": [
1529
- {
1530
- "internalType": "address",
1531
- "name": "",
1532
- "type": "address"
1533
- },
1534
- {
1535
- "components": [
1536
- {
1537
- "internalType": "Currency",
1538
- "name": "currency0",
1539
- "type": "address"
1540
- },
1541
- {
1542
- "internalType": "Currency",
1543
- "name": "currency1",
1544
- "type": "address"
1545
- },
1546
- {
1547
- "internalType": "uint24",
1548
- "name": "fee",
1549
- "type": "uint24"
1550
- },
1551
- {
1552
- "internalType": "int24",
1553
- "name": "tickSpacing",
1554
- "type": "int24"
1555
- },
1556
- {
1557
- "internalType": "contract IHooks",
1558
- "name": "hooks",
1559
- "type": "address"
1560
- }
1561
- ],
1562
- "internalType": "struct PoolKey",
1563
- "name": "key",
1564
- "type": "tuple"
1565
- },
1566
- {
1567
- "components": [
1568
- {
1569
- "internalType": "bool",
1570
- "name": "zeroForOne",
1571
- "type": "bool"
1572
- },
1573
- {
1574
- "internalType": "int256",
1575
- "name": "amountSpecified",
1576
- "type": "int256"
1577
- },
1578
- {
1579
- "internalType": "uint160",
1580
- "name": "sqrtPriceLimitX96",
1581
- "type": "uint160"
1582
- }
1583
- ],
1584
- "internalType": "struct IPoolManager.SwapParams",
1585
- "name": "params",
1586
- "type": "tuple"
1587
- }
1588
- ],
1589
- "name": "beforeSwapView",
1590
- "outputs": [
1591
- {
1592
- "internalType": "bytes4",
1593
- "name": "selector",
1594
- "type": "bytes4"
1595
- },
1596
- {
1597
- "internalType": "bool",
1598
- "name": "feeOverriden",
1599
- "type": "bool"
1600
- },
1601
- {
1602
- "internalType": "uint24",
1603
- "name": "fee",
1604
- "type": "uint24"
1605
- },
1606
- {
1607
- "internalType": "bool",
1608
- "name": "priceOverridden",
1609
- "type": "bool"
1610
- },
1611
- {
1612
- "internalType": "uint160",
1613
- "name": "sqrtPriceX96",
1614
- "type": "uint160"
1615
- }
1616
- ],
1617
- "stateMutability": "view",
1618
- "type": "function"
1619
- },
1620
- {
1621
- "inputs": [
1622
- {
1623
- "internalType": "address",
1624
- "name": "",
1625
- "type": "address"
1626
- },
1627
- {
1628
- "components": [
1629
- {
1630
- "internalType": "Currency",
1631
- "name": "currency0",
1632
- "type": "address"
1633
- },
1634
- {
1635
- "internalType": "Currency",
1636
- "name": "currency1",
1637
- "type": "address"
1638
- },
1639
- {
1640
- "internalType": "uint24",
1641
- "name": "fee",
1642
- "type": "uint24"
1643
- },
1644
- {
1645
- "internalType": "int24",
1646
- "name": "tickSpacing",
1647
- "type": "int24"
1648
- },
1649
- {
1650
- "internalType": "contract IHooks",
1651
- "name": "hooks",
1652
- "type": "address"
1653
- }
1654
- ],
1655
- "internalType": "struct PoolKey",
1656
- "name": "",
1657
- "type": "tuple"
1658
- },
1659
- {
1660
- "internalType": "contract IBunniToken",
1661
- "name": "",
1662
- "type": "address"
1663
- },
1664
- {
1665
- "internalType": "address",
1666
- "name": "",
1667
- "type": "address"
1668
- },
1669
- {
1670
- "internalType": "address",
1671
- "name": "",
1672
- "type": "address"
1673
- },
1674
- {
1675
- "internalType": "uint256",
1676
- "name": "",
1677
- "type": "uint256"
1678
- }
1679
- ],
1680
- "name": "beforeTransfer",
1681
- "outputs": [
1682
- {
1683
- "internalType": "bytes4",
1684
- "name": "selector",
1685
- "type": "bytes4"
1686
- }
1687
- ],
1688
- "stateMutability": "pure",
1689
- "type": "function"
1690
- },
1691
- {
1692
- "inputs": [
1693
- {
1694
- "internalType": "address",
1695
- "name": "",
1696
- "type": "address"
1697
- },
1698
- {
1699
- "components": [
1700
- {
1701
- "components": [
1702
- {
1703
- "internalType": "Currency",
1704
- "name": "currency0",
1705
- "type": "address"
1706
- },
1707
- {
1708
- "internalType": "Currency",
1709
- "name": "currency1",
1710
- "type": "address"
1711
- },
1712
- {
1713
- "internalType": "uint24",
1714
- "name": "fee",
1715
- "type": "uint24"
1716
- },
1717
- {
1718
- "internalType": "int24",
1719
- "name": "tickSpacing",
1720
- "type": "int24"
1721
- },
1722
- {
1723
- "internalType": "contract IHooks",
1724
- "name": "hooks",
1725
- "type": "address"
1726
- }
1727
- ],
1728
- "internalType": "struct PoolKey",
1729
- "name": "poolKey",
1730
- "type": "tuple"
1731
- },
1732
- {
1733
- "internalType": "address",
1734
- "name": "recipient",
1735
- "type": "address"
1736
- },
1737
- {
1738
- "internalType": "uint256",
1739
- "name": "shares",
1740
- "type": "uint256"
1741
- },
1742
- {
1743
- "internalType": "uint256",
1744
- "name": "amount0Min",
1745
- "type": "uint256"
1746
- },
1747
- {
1748
- "internalType": "uint256",
1749
- "name": "amount1Min",
1750
- "type": "uint256"
1751
- },
1752
- {
1753
- "internalType": "uint256",
1754
- "name": "deadline",
1755
- "type": "uint256"
1756
- },
1757
- {
1758
- "internalType": "bool",
1759
- "name": "useQueuedWithdrawal",
1760
- "type": "bool"
1761
- }
1762
- ],
1763
- "internalType": "struct IBunniHub.WithdrawParams",
1764
- "name": "",
1765
- "type": "tuple"
1766
- }
1767
- ],
1768
- "name": "beforeWithdraw",
1769
- "outputs": [
1770
- {
1771
- "internalType": "bytes4",
1772
- "name": "selector",
1773
- "type": "bytes4"
1774
- }
1775
- ],
1776
- "stateMutability": "pure",
1777
- "type": "function"
1778
- },
1779
- {
1780
- "inputs": [
1781
- {
1782
- "internalType": "address",
1783
- "name": "",
1784
- "type": "address"
1785
- },
1786
- {
1787
- "components": [
1788
- {
1789
- "components": [
1790
- {
1791
- "internalType": "Currency",
1792
- "name": "currency0",
1793
- "type": "address"
1794
- },
1795
- {
1796
- "internalType": "Currency",
1797
- "name": "currency1",
1798
- "type": "address"
1799
- },
1800
- {
1801
- "internalType": "uint24",
1802
- "name": "fee",
1803
- "type": "uint24"
1804
- },
1805
- {
1806
- "internalType": "int24",
1807
- "name": "tickSpacing",
1808
- "type": "int24"
1809
- },
1810
- {
1811
- "internalType": "contract IHooks",
1812
- "name": "hooks",
1813
- "type": "address"
1814
- }
1815
- ],
1816
- "internalType": "struct PoolKey",
1817
- "name": "poolKey",
1818
- "type": "tuple"
1819
- },
1820
- {
1821
- "internalType": "address",
1822
- "name": "recipient",
1823
- "type": "address"
1824
- },
1825
- {
1826
- "internalType": "uint256",
1827
- "name": "shares",
1828
- "type": "uint256"
1829
- },
1830
- {
1831
- "internalType": "uint256",
1832
- "name": "amount0Min",
1833
- "type": "uint256"
1834
- },
1835
- {
1836
- "internalType": "uint256",
1837
- "name": "amount1Min",
1838
- "type": "uint256"
1839
- },
1840
- {
1841
- "internalType": "uint256",
1842
- "name": "deadline",
1843
- "type": "uint256"
1844
- },
1845
- {
1846
- "internalType": "bool",
1847
- "name": "useQueuedWithdrawal",
1848
- "type": "bool"
1849
- }
1850
- ],
1851
- "internalType": "struct IBunniHub.WithdrawParams",
1852
- "name": "",
1853
- "type": "tuple"
1854
- }
1855
- ],
1856
- "name": "beforeWithdrawView",
1857
- "outputs": [
1858
- {
1859
- "internalType": "bytes4",
1860
- "name": "selector",
1861
- "type": "bytes4"
1862
- }
1863
- ],
1864
- "stateMutability": "pure",
1865
- "type": "function"
1866
- },
1867
- {
1868
- "inputs": [],
1869
- "name": "bunniHub",
1870
- "outputs": [
1871
- {
1872
- "internalType": "contract IBunniHub",
1873
- "name": "",
1874
- "type": "address"
1875
- }
1876
- ],
1877
- "stateMutability": "view",
1878
- "type": "function"
1879
- },
1880
- {
1881
- "inputs": [
1882
- {
1883
- "internalType": "PoolId",
1884
- "name": "",
1885
- "type": "bytes32"
1886
- }
1887
- ],
1888
- "name": "feeOverrides",
1889
- "outputs": [
1890
- {
1891
- "internalType": "bool",
1892
- "name": "overrideZeroToOne",
1893
- "type": "bool"
1894
- },
1895
- {
1896
- "internalType": "uint24",
1897
- "name": "feeZeroToOne",
1898
- "type": "uint24"
1899
- },
1900
- {
1901
- "internalType": "bool",
1902
- "name": "overrideOneToZero",
1903
- "type": "bool"
1904
- },
1905
- {
1906
- "internalType": "uint24",
1907
- "name": "feeOneToZero",
1908
- "type": "uint24"
1909
- }
1910
- ],
1911
- "stateMutability": "view",
1912
- "type": "function"
1913
- },
1914
- {
1915
- "inputs": [
1916
- {
1917
- "internalType": "PoolId",
1918
- "name": "id",
1919
- "type": "bytes32"
1920
- },
1921
- {
1922
- "internalType": "bool",
1923
- "name": "overrideZeroToOne",
1924
- "type": "bool"
1925
- },
1926
- {
1927
- "internalType": "uint24",
1928
- "name": "feeZeroToOne",
1929
- "type": "uint24"
1930
- },
1931
- {
1932
- "internalType": "bool",
1933
- "name": "overrideOneToZero",
1934
- "type": "bool"
1935
- },
1936
- {
1937
- "internalType": "uint24",
1938
- "name": "feeOneToZero",
1939
- "type": "uint24"
1940
- }
1941
- ],
1942
- "name": "setFeeOverride",
1943
- "outputs": [],
1944
- "stateMutability": "nonpayable",
1945
- "type": "function"
1946
- }
1947
- ]