@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,1598 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "contract IPoolManager",
6
- "name": "poolManager_",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "contract WETH",
11
- "name": "weth_",
12
- "type": "address"
13
- },
14
- {
15
- "internalType": "contract IPermit2",
16
- "name": "permit2_",
17
- "type": "address"
18
- },
19
- {
20
- "internalType": "contract IBunniToken",
21
- "name": "bunniTokenImplementation_",
22
- "type": "address"
23
- },
24
- {
25
- "internalType": "address",
26
- "name": "initialOwner",
27
- "type": "address"
28
- },
29
- {
30
- "internalType": "contract IBunniHook[]",
31
- "name": "initialHookWhitelist",
32
- "type": "address[]"
33
- }
34
- ],
35
- "stateMutability": "nonpayable",
36
- "type": "constructor"
37
- },
38
- {
39
- "inputs": [],
40
- "name": "AlreadyInitialized",
41
- "type": "error"
42
- },
43
- {
44
- "inputs": [],
45
- "name": "BunniHub__BunniTokenNotInitialized",
46
- "type": "error"
47
- },
48
- {
49
- "inputs": [],
50
- "name": "BunniHub__MsgValueInsufficient",
51
- "type": "error"
52
- },
53
- {
54
- "inputs": [],
55
- "name": "BunniHub__NoExpiredWithdrawal",
56
- "type": "error"
57
- },
58
- {
59
- "inputs": [],
60
- "name": "BunniHub__PastDeadline",
61
- "type": "error"
62
- },
63
- {
64
- "inputs": [],
65
- "name": "BunniHub__Paused",
66
- "type": "error"
67
- },
68
- {
69
- "inputs": [],
70
- "name": "BunniHub__Unauthorized",
71
- "type": "error"
72
- },
73
- {
74
- "inputs": [],
75
- "name": "BunniHub__VaultTookMoreThanRequested",
76
- "type": "error"
77
- },
78
- {
79
- "inputs": [],
80
- "name": "BunniHub__ZeroInput",
81
- "type": "error"
82
- },
83
- {
84
- "inputs": [],
85
- "name": "NewOwnerIsZeroAddress",
86
- "type": "error"
87
- },
88
- {
89
- "inputs": [],
90
- "name": "NoHandoverRequest",
91
- "type": "error"
92
- },
93
- {
94
- "inputs": [],
95
- "name": "ReentrancyGuard__ReentrantCall",
96
- "type": "error"
97
- },
98
- {
99
- "inputs": [],
100
- "name": "Unauthorized",
101
- "type": "error"
102
- },
103
- {
104
- "anonymous": false,
105
- "inputs": [],
106
- "name": "BurnPauseFuse",
107
- "type": "event"
108
- },
109
- {
110
- "anonymous": false,
111
- "inputs": [
112
- {
113
- "indexed": true,
114
- "internalType": "address",
115
- "name": "sender",
116
- "type": "address"
117
- },
118
- {
119
- "indexed": true,
120
- "internalType": "address",
121
- "name": "recipient",
122
- "type": "address"
123
- },
124
- {
125
- "indexed": true,
126
- "internalType": "PoolId",
127
- "name": "poolId",
128
- "type": "bytes32"
129
- },
130
- {
131
- "indexed": false,
132
- "internalType": "uint256",
133
- "name": "amount0",
134
- "type": "uint256"
135
- },
136
- {
137
- "indexed": false,
138
- "internalType": "uint256",
139
- "name": "amount1",
140
- "type": "uint256"
141
- },
142
- {
143
- "indexed": false,
144
- "internalType": "uint256",
145
- "name": "shares",
146
- "type": "uint256"
147
- }
148
- ],
149
- "name": "Deposit",
150
- "type": "event"
151
- },
152
- {
153
- "anonymous": false,
154
- "inputs": [
155
- {
156
- "indexed": true,
157
- "internalType": "contract IBunniToken",
158
- "name": "bunniToken",
159
- "type": "address"
160
- },
161
- {
162
- "indexed": true,
163
- "internalType": "PoolId",
164
- "name": "poolId",
165
- "type": "bytes32"
166
- }
167
- ],
168
- "name": "NewBunni",
169
- "type": "event"
170
- },
171
- {
172
- "anonymous": false,
173
- "inputs": [
174
- {
175
- "indexed": true,
176
- "internalType": "address",
177
- "name": "pendingOwner",
178
- "type": "address"
179
- }
180
- ],
181
- "name": "OwnershipHandoverCanceled",
182
- "type": "event"
183
- },
184
- {
185
- "anonymous": false,
186
- "inputs": [
187
- {
188
- "indexed": true,
189
- "internalType": "address",
190
- "name": "pendingOwner",
191
- "type": "address"
192
- }
193
- ],
194
- "name": "OwnershipHandoverRequested",
195
- "type": "event"
196
- },
197
- {
198
- "anonymous": false,
199
- "inputs": [
200
- {
201
- "indexed": true,
202
- "internalType": "address",
203
- "name": "oldOwner",
204
- "type": "address"
205
- },
206
- {
207
- "indexed": true,
208
- "internalType": "address",
209
- "name": "newOwner",
210
- "type": "address"
211
- }
212
- ],
213
- "name": "OwnershipTransferred",
214
- "type": "event"
215
- },
216
- {
217
- "anonymous": false,
218
- "inputs": [
219
- {
220
- "indexed": true,
221
- "internalType": "address",
222
- "name": "sender",
223
- "type": "address"
224
- },
225
- {
226
- "indexed": true,
227
- "internalType": "PoolId",
228
- "name": "poolId",
229
- "type": "bytes32"
230
- },
231
- {
232
- "indexed": false,
233
- "internalType": "uint256",
234
- "name": "shares",
235
- "type": "uint256"
236
- }
237
- ],
238
- "name": "QueueWithdraw",
239
- "type": "event"
240
- },
241
- {
242
- "anonymous": false,
243
- "inputs": [
244
- {
245
- "indexed": true,
246
- "internalType": "contract IBunniHook",
247
- "name": "hook",
248
- "type": "address"
249
- },
250
- {
251
- "indexed": true,
252
- "internalType": "bool",
253
- "name": "whitelisted",
254
- "type": "bool"
255
- }
256
- ],
257
- "name": "SetHookWhitelist",
258
- "type": "event"
259
- },
260
- {
261
- "anonymous": false,
262
- "inputs": [
263
- {
264
- "indexed": true,
265
- "internalType": "uint8",
266
- "name": "pauseFlags",
267
- "type": "uint8"
268
- }
269
- ],
270
- "name": "SetPauseFlags",
271
- "type": "event"
272
- },
273
- {
274
- "anonymous": false,
275
- "inputs": [
276
- {
277
- "indexed": true,
278
- "internalType": "address",
279
- "name": "guy",
280
- "type": "address"
281
- },
282
- {
283
- "indexed": true,
284
- "internalType": "bool",
285
- "name": "isPauser",
286
- "type": "bool"
287
- }
288
- ],
289
- "name": "SetPauser",
290
- "type": "event"
291
- },
292
- {
293
- "anonymous": false,
294
- "inputs": [
295
- {
296
- "indexed": true,
297
- "internalType": "address",
298
- "name": "sender",
299
- "type": "address"
300
- },
301
- {
302
- "indexed": true,
303
- "internalType": "address",
304
- "name": "recipient",
305
- "type": "address"
306
- },
307
- {
308
- "indexed": true,
309
- "internalType": "PoolId",
310
- "name": "poolId",
311
- "type": "bytes32"
312
- },
313
- {
314
- "indexed": false,
315
- "internalType": "uint256",
316
- "name": "amount0",
317
- "type": "uint256"
318
- },
319
- {
320
- "indexed": false,
321
- "internalType": "uint256",
322
- "name": "amount1",
323
- "type": "uint256"
324
- },
325
- {
326
- "indexed": false,
327
- "internalType": "uint256",
328
- "name": "shares",
329
- "type": "uint256"
330
- }
331
- ],
332
- "name": "Withdraw",
333
- "type": "event"
334
- },
335
- {
336
- "inputs": [
337
- {
338
- "internalType": "PoolId",
339
- "name": "poolId",
340
- "type": "bytes32"
341
- }
342
- ],
343
- "name": "bunniTokenOfPool",
344
- "outputs": [
345
- {
346
- "internalType": "contract IBunniToken",
347
- "name": "",
348
- "type": "address"
349
- }
350
- ],
351
- "stateMutability": "view",
352
- "type": "function"
353
- },
354
- {
355
- "inputs": [],
356
- "name": "burnPauseFuse",
357
- "outputs": [],
358
- "stateMutability": "nonpayable",
359
- "type": "function"
360
- },
361
- {
362
- "inputs": [],
363
- "name": "cancelOwnershipHandover",
364
- "outputs": [],
365
- "stateMutability": "payable",
366
- "type": "function"
367
- },
368
- {
369
- "inputs": [
370
- {
371
- "internalType": "address",
372
- "name": "pendingOwner",
373
- "type": "address"
374
- }
375
- ],
376
- "name": "completeOwnershipHandover",
377
- "outputs": [],
378
- "stateMutability": "payable",
379
- "type": "function"
380
- },
381
- {
382
- "inputs": [
383
- {
384
- "components": [
385
- {
386
- "internalType": "Currency",
387
- "name": "currency0",
388
- "type": "address"
389
- },
390
- {
391
- "internalType": "Currency",
392
- "name": "currency1",
393
- "type": "address"
394
- },
395
- {
396
- "internalType": "int24",
397
- "name": "tickSpacing",
398
- "type": "int24"
399
- },
400
- {
401
- "internalType": "uint24",
402
- "name": "twapSecondsAgo",
403
- "type": "uint24"
404
- },
405
- {
406
- "internalType": "contract ILiquidityDensityFunction",
407
- "name": "liquidityDensityFunction",
408
- "type": "address"
409
- },
410
- {
411
- "internalType": "contract IHooklet",
412
- "name": "hooklet",
413
- "type": "address"
414
- },
415
- {
416
- "internalType": "enum LDFType",
417
- "name": "ldfType",
418
- "type": "uint8"
419
- },
420
- {
421
- "internalType": "bytes32",
422
- "name": "ldfParams",
423
- "type": "bytes32"
424
- },
425
- {
426
- "internalType": "contract IBunniHook",
427
- "name": "hooks",
428
- "type": "address"
429
- },
430
- {
431
- "internalType": "bytes",
432
- "name": "hookParams",
433
- "type": "bytes"
434
- },
435
- {
436
- "internalType": "contract ERC4626",
437
- "name": "vault0",
438
- "type": "address"
439
- },
440
- {
441
- "internalType": "contract ERC4626",
442
- "name": "vault1",
443
- "type": "address"
444
- },
445
- {
446
- "internalType": "uint24",
447
- "name": "minRawTokenRatio0",
448
- "type": "uint24"
449
- },
450
- {
451
- "internalType": "uint24",
452
- "name": "targetRawTokenRatio0",
453
- "type": "uint24"
454
- },
455
- {
456
- "internalType": "uint24",
457
- "name": "maxRawTokenRatio0",
458
- "type": "uint24"
459
- },
460
- {
461
- "internalType": "uint24",
462
- "name": "minRawTokenRatio1",
463
- "type": "uint24"
464
- },
465
- {
466
- "internalType": "uint24",
467
- "name": "targetRawTokenRatio1",
468
- "type": "uint24"
469
- },
470
- {
471
- "internalType": "uint24",
472
- "name": "maxRawTokenRatio1",
473
- "type": "uint24"
474
- },
475
- {
476
- "internalType": "uint160",
477
- "name": "sqrtPriceX96",
478
- "type": "uint160"
479
- },
480
- {
481
- "internalType": "bytes32",
482
- "name": "name",
483
- "type": "bytes32"
484
- },
485
- {
486
- "internalType": "bytes32",
487
- "name": "symbol",
488
- "type": "bytes32"
489
- },
490
- {
491
- "internalType": "address",
492
- "name": "owner",
493
- "type": "address"
494
- },
495
- {
496
- "internalType": "string",
497
- "name": "metadataURI",
498
- "type": "string"
499
- },
500
- {
501
- "internalType": "bytes32",
502
- "name": "salt",
503
- "type": "bytes32"
504
- }
505
- ],
506
- "internalType": "struct IBunniHub.DeployBunniTokenParams",
507
- "name": "params",
508
- "type": "tuple"
509
- }
510
- ],
511
- "name": "deployBunniToken",
512
- "outputs": [
513
- {
514
- "internalType": "contract IBunniToken",
515
- "name": "token",
516
- "type": "address"
517
- },
518
- {
519
- "components": [
520
- {
521
- "internalType": "Currency",
522
- "name": "currency0",
523
- "type": "address"
524
- },
525
- {
526
- "internalType": "Currency",
527
- "name": "currency1",
528
- "type": "address"
529
- },
530
- {
531
- "internalType": "uint24",
532
- "name": "fee",
533
- "type": "uint24"
534
- },
535
- {
536
- "internalType": "int24",
537
- "name": "tickSpacing",
538
- "type": "int24"
539
- },
540
- {
541
- "internalType": "contract IHooks",
542
- "name": "hooks",
543
- "type": "address"
544
- }
545
- ],
546
- "internalType": "struct PoolKey",
547
- "name": "key",
548
- "type": "tuple"
549
- }
550
- ],
551
- "stateMutability": "nonpayable",
552
- "type": "function"
553
- },
554
- {
555
- "inputs": [
556
- {
557
- "components": [
558
- {
559
- "components": [
560
- {
561
- "internalType": "Currency",
562
- "name": "currency0",
563
- "type": "address"
564
- },
565
- {
566
- "internalType": "Currency",
567
- "name": "currency1",
568
- "type": "address"
569
- },
570
- {
571
- "internalType": "uint24",
572
- "name": "fee",
573
- "type": "uint24"
574
- },
575
- {
576
- "internalType": "int24",
577
- "name": "tickSpacing",
578
- "type": "int24"
579
- },
580
- {
581
- "internalType": "contract IHooks",
582
- "name": "hooks",
583
- "type": "address"
584
- }
585
- ],
586
- "internalType": "struct PoolKey",
587
- "name": "poolKey",
588
- "type": "tuple"
589
- },
590
- {
591
- "internalType": "address",
592
- "name": "recipient",
593
- "type": "address"
594
- },
595
- {
596
- "internalType": "address",
597
- "name": "refundRecipient",
598
- "type": "address"
599
- },
600
- {
601
- "internalType": "uint256",
602
- "name": "amount0Desired",
603
- "type": "uint256"
604
- },
605
- {
606
- "internalType": "uint256",
607
- "name": "amount1Desired",
608
- "type": "uint256"
609
- },
610
- {
611
- "internalType": "uint256",
612
- "name": "amount0Min",
613
- "type": "uint256"
614
- },
615
- {
616
- "internalType": "uint256",
617
- "name": "amount1Min",
618
- "type": "uint256"
619
- },
620
- {
621
- "internalType": "uint256",
622
- "name": "vaultFee0",
623
- "type": "uint256"
624
- },
625
- {
626
- "internalType": "uint256",
627
- "name": "vaultFee1",
628
- "type": "uint256"
629
- },
630
- {
631
- "internalType": "uint256",
632
- "name": "deadline",
633
- "type": "uint256"
634
- }
635
- ],
636
- "internalType": "struct IBunniHub.DepositParams",
637
- "name": "params",
638
- "type": "tuple"
639
- }
640
- ],
641
- "name": "deposit",
642
- "outputs": [
643
- {
644
- "internalType": "uint256",
645
- "name": "shares",
646
- "type": "uint256"
647
- },
648
- {
649
- "internalType": "uint256",
650
- "name": "amount0",
651
- "type": "uint256"
652
- },
653
- {
654
- "internalType": "uint256",
655
- "name": "amount1",
656
- "type": "uint256"
657
- }
658
- ],
659
- "stateMutability": "payable",
660
- "type": "function"
661
- },
662
- {
663
- "inputs": [],
664
- "name": "getPauseStatus",
665
- "outputs": [
666
- {
667
- "internalType": "uint8",
668
- "name": "pauseFlags",
669
- "type": "uint8"
670
- },
671
- {
672
- "internalType": "bool",
673
- "name": "unpauseFuse",
674
- "type": "bool"
675
- }
676
- ],
677
- "stateMutability": "view",
678
- "type": "function"
679
- },
680
- {
681
- "inputs": [
682
- {
683
- "components": [
684
- {
685
- "internalType": "Currency",
686
- "name": "currency0",
687
- "type": "address"
688
- },
689
- {
690
- "internalType": "Currency",
691
- "name": "currency1",
692
- "type": "address"
693
- },
694
- {
695
- "internalType": "uint24",
696
- "name": "fee",
697
- "type": "uint24"
698
- },
699
- {
700
- "internalType": "int24",
701
- "name": "tickSpacing",
702
- "type": "int24"
703
- },
704
- {
705
- "internalType": "contract IHooks",
706
- "name": "hooks",
707
- "type": "address"
708
- }
709
- ],
710
- "internalType": "struct PoolKey",
711
- "name": "key",
712
- "type": "tuple"
713
- },
714
- {
715
- "internalType": "bool",
716
- "name": "isCurrency0",
717
- "type": "bool"
718
- },
719
- {
720
- "internalType": "uint256",
721
- "name": "amount",
722
- "type": "uint256"
723
- }
724
- ],
725
- "name": "hookGive",
726
- "outputs": [],
727
- "stateMutability": "nonpayable",
728
- "type": "function"
729
- },
730
- {
731
- "inputs": [
732
- {
733
- "components": [
734
- {
735
- "internalType": "Currency",
736
- "name": "currency0",
737
- "type": "address"
738
- },
739
- {
740
- "internalType": "Currency",
741
- "name": "currency1",
742
- "type": "address"
743
- },
744
- {
745
- "internalType": "uint24",
746
- "name": "fee",
747
- "type": "uint24"
748
- },
749
- {
750
- "internalType": "int24",
751
- "name": "tickSpacing",
752
- "type": "int24"
753
- },
754
- {
755
- "internalType": "contract IHooks",
756
- "name": "hooks",
757
- "type": "address"
758
- }
759
- ],
760
- "internalType": "struct PoolKey",
761
- "name": "key",
762
- "type": "tuple"
763
- },
764
- {
765
- "internalType": "bool",
766
- "name": "zeroForOne",
767
- "type": "bool"
768
- },
769
- {
770
- "internalType": "uint256",
771
- "name": "inputAmount",
772
- "type": "uint256"
773
- },
774
- {
775
- "internalType": "uint256",
776
- "name": "outputAmount",
777
- "type": "uint256"
778
- },
779
- {
780
- "internalType": "bool",
781
- "name": "shouldSurge",
782
- "type": "bool"
783
- }
784
- ],
785
- "name": "hookHandleSwap",
786
- "outputs": [],
787
- "stateMutability": "nonpayable",
788
- "type": "function"
789
- },
790
- {
791
- "inputs": [
792
- {
793
- "internalType": "contract IBunniHook",
794
- "name": "hook",
795
- "type": "address"
796
- }
797
- ],
798
- "name": "hookIsWhitelisted",
799
- "outputs": [
800
- {
801
- "internalType": "bool",
802
- "name": "",
803
- "type": "bool"
804
- }
805
- ],
806
- "stateMutability": "view",
807
- "type": "function"
808
- },
809
- {
810
- "inputs": [
811
- {
812
- "internalType": "PoolId",
813
- "name": "poolId",
814
- "type": "bytes32"
815
- }
816
- ],
817
- "name": "hookParams",
818
- "outputs": [
819
- {
820
- "internalType": "bytes",
821
- "name": "",
822
- "type": "bytes"
823
- }
824
- ],
825
- "stateMutability": "view",
826
- "type": "function"
827
- },
828
- {
829
- "inputs": [
830
- {
831
- "components": [
832
- {
833
- "internalType": "Currency",
834
- "name": "currency0",
835
- "type": "address"
836
- },
837
- {
838
- "internalType": "Currency",
839
- "name": "currency1",
840
- "type": "address"
841
- },
842
- {
843
- "internalType": "uint24",
844
- "name": "fee",
845
- "type": "uint24"
846
- },
847
- {
848
- "internalType": "int24",
849
- "name": "tickSpacing",
850
- "type": "int24"
851
- },
852
- {
853
- "internalType": "contract IHooks",
854
- "name": "hooks",
855
- "type": "address"
856
- }
857
- ],
858
- "internalType": "struct PoolKey",
859
- "name": "key",
860
- "type": "tuple"
861
- },
862
- {
863
- "internalType": "IdleBalance",
864
- "name": "newIdleBalance",
865
- "type": "bytes32"
866
- }
867
- ],
868
- "name": "hookSetIdleBalance",
869
- "outputs": [],
870
- "stateMutability": "nonpayable",
871
- "type": "function"
872
- },
873
- {
874
- "inputs": [
875
- {
876
- "internalType": "PoolId",
877
- "name": "poolId",
878
- "type": "bytes32"
879
- }
880
- ],
881
- "name": "hookletOfPool",
882
- "outputs": [
883
- {
884
- "internalType": "contract IHooklet",
885
- "name": "",
886
- "type": "address"
887
- }
888
- ],
889
- "stateMutability": "view",
890
- "type": "function"
891
- },
892
- {
893
- "inputs": [
894
- {
895
- "internalType": "PoolId",
896
- "name": "poolId",
897
- "type": "bytes32"
898
- }
899
- ],
900
- "name": "idleBalance",
901
- "outputs": [
902
- {
903
- "internalType": "IdleBalance",
904
- "name": "",
905
- "type": "bytes32"
906
- }
907
- ],
908
- "stateMutability": "view",
909
- "type": "function"
910
- },
911
- {
912
- "inputs": [
913
- {
914
- "internalType": "address",
915
- "name": "guy",
916
- "type": "address"
917
- }
918
- ],
919
- "name": "isPauser",
920
- "outputs": [
921
- {
922
- "internalType": "bool",
923
- "name": "",
924
- "type": "bool"
925
- }
926
- ],
927
- "stateMutability": "view",
928
- "type": "function"
929
- },
930
- {
931
- "inputs": [
932
- {
933
- "components": [
934
- {
935
- "internalType": "Currency",
936
- "name": "currency0",
937
- "type": "address"
938
- },
939
- {
940
- "internalType": "Currency",
941
- "name": "currency1",
942
- "type": "address"
943
- },
944
- {
945
- "internalType": "uint24",
946
- "name": "fee",
947
- "type": "uint24"
948
- },
949
- {
950
- "internalType": "int24",
951
- "name": "tickSpacing",
952
- "type": "int24"
953
- },
954
- {
955
- "internalType": "contract IHooks",
956
- "name": "hooks",
957
- "type": "address"
958
- }
959
- ],
960
- "internalType": "struct PoolKey",
961
- "name": "key",
962
- "type": "tuple"
963
- }
964
- ],
965
- "name": "lockForRebalance",
966
- "outputs": [],
967
- "stateMutability": "nonpayable",
968
- "type": "function"
969
- },
970
- {
971
- "inputs": [
972
- {
973
- "internalType": "bytes32",
974
- "name": "bunniSubspace",
975
- "type": "bytes32"
976
- }
977
- ],
978
- "name": "nonce",
979
- "outputs": [
980
- {
981
- "internalType": "uint24",
982
- "name": "",
983
- "type": "uint24"
984
- }
985
- ],
986
- "stateMutability": "view",
987
- "type": "function"
988
- },
989
- {
990
- "inputs": [],
991
- "name": "owner",
992
- "outputs": [
993
- {
994
- "internalType": "address",
995
- "name": "result",
996
- "type": "address"
997
- }
998
- ],
999
- "stateMutability": "view",
1000
- "type": "function"
1001
- },
1002
- {
1003
- "inputs": [
1004
- {
1005
- "internalType": "address",
1006
- "name": "pendingOwner",
1007
- "type": "address"
1008
- }
1009
- ],
1010
- "name": "ownershipHandoverExpiresAt",
1011
- "outputs": [
1012
- {
1013
- "internalType": "uint256",
1014
- "name": "result",
1015
- "type": "uint256"
1016
- }
1017
- ],
1018
- "stateMutability": "view",
1019
- "type": "function"
1020
- },
1021
- {
1022
- "inputs": [
1023
- {
1024
- "internalType": "PoolId",
1025
- "name": "poolId",
1026
- "type": "bytes32"
1027
- }
1028
- ],
1029
- "name": "poolBalances",
1030
- "outputs": [
1031
- {
1032
- "internalType": "uint256",
1033
- "name": "balance0",
1034
- "type": "uint256"
1035
- },
1036
- {
1037
- "internalType": "uint256",
1038
- "name": "balance1",
1039
- "type": "uint256"
1040
- }
1041
- ],
1042
- "stateMutability": "view",
1043
- "type": "function"
1044
- },
1045
- {
1046
- "inputs": [
1047
- {
1048
- "internalType": "contract IBunniToken",
1049
- "name": "bunniToken",
1050
- "type": "address"
1051
- }
1052
- ],
1053
- "name": "poolIdOfBunniToken",
1054
- "outputs": [
1055
- {
1056
- "internalType": "PoolId",
1057
- "name": "",
1058
- "type": "bytes32"
1059
- }
1060
- ],
1061
- "stateMutability": "view",
1062
- "type": "function"
1063
- },
1064
- {
1065
- "inputs": [],
1066
- "name": "poolInitData",
1067
- "outputs": [
1068
- {
1069
- "internalType": "bytes",
1070
- "name": "",
1071
- "type": "bytes"
1072
- }
1073
- ],
1074
- "stateMutability": "view",
1075
- "type": "function"
1076
- },
1077
- {
1078
- "inputs": [
1079
- {
1080
- "internalType": "PoolId",
1081
- "name": "poolId",
1082
- "type": "bytes32"
1083
- }
1084
- ],
1085
- "name": "poolParams",
1086
- "outputs": [
1087
- {
1088
- "components": [
1089
- {
1090
- "internalType": "contract ILiquidityDensityFunction",
1091
- "name": "liquidityDensityFunction",
1092
- "type": "address"
1093
- },
1094
- {
1095
- "internalType": "contract IBunniToken",
1096
- "name": "bunniToken",
1097
- "type": "address"
1098
- },
1099
- {
1100
- "internalType": "contract IHooklet",
1101
- "name": "hooklet",
1102
- "type": "address"
1103
- },
1104
- {
1105
- "internalType": "uint24",
1106
- "name": "twapSecondsAgo",
1107
- "type": "uint24"
1108
- },
1109
- {
1110
- "internalType": "bytes32",
1111
- "name": "ldfParams",
1112
- "type": "bytes32"
1113
- },
1114
- {
1115
- "internalType": "bytes",
1116
- "name": "hookParams",
1117
- "type": "bytes"
1118
- },
1119
- {
1120
- "internalType": "contract ERC4626",
1121
- "name": "vault0",
1122
- "type": "address"
1123
- },
1124
- {
1125
- "internalType": "contract ERC4626",
1126
- "name": "vault1",
1127
- "type": "address"
1128
- },
1129
- {
1130
- "internalType": "enum LDFType",
1131
- "name": "ldfType",
1132
- "type": "uint8"
1133
- },
1134
- {
1135
- "internalType": "uint24",
1136
- "name": "minRawTokenRatio0",
1137
- "type": "uint24"
1138
- },
1139
- {
1140
- "internalType": "uint24",
1141
- "name": "targetRawTokenRatio0",
1142
- "type": "uint24"
1143
- },
1144
- {
1145
- "internalType": "uint24",
1146
- "name": "maxRawTokenRatio0",
1147
- "type": "uint24"
1148
- },
1149
- {
1150
- "internalType": "uint24",
1151
- "name": "minRawTokenRatio1",
1152
- "type": "uint24"
1153
- },
1154
- {
1155
- "internalType": "uint24",
1156
- "name": "targetRawTokenRatio1",
1157
- "type": "uint24"
1158
- },
1159
- {
1160
- "internalType": "uint24",
1161
- "name": "maxRawTokenRatio1",
1162
- "type": "uint24"
1163
- },
1164
- {
1165
- "internalType": "uint8",
1166
- "name": "currency0Decimals",
1167
- "type": "uint8"
1168
- },
1169
- {
1170
- "internalType": "uint8",
1171
- "name": "currency1Decimals",
1172
- "type": "uint8"
1173
- },
1174
- {
1175
- "internalType": "uint8",
1176
- "name": "vault0Decimals",
1177
- "type": "uint8"
1178
- },
1179
- {
1180
- "internalType": "uint8",
1181
- "name": "vault1Decimals",
1182
- "type": "uint8"
1183
- },
1184
- {
1185
- "internalType": "uint256",
1186
- "name": "rawBalance0",
1187
- "type": "uint256"
1188
- },
1189
- {
1190
- "internalType": "uint256",
1191
- "name": "rawBalance1",
1192
- "type": "uint256"
1193
- },
1194
- {
1195
- "internalType": "uint256",
1196
- "name": "reserve0",
1197
- "type": "uint256"
1198
- },
1199
- {
1200
- "internalType": "uint256",
1201
- "name": "reserve1",
1202
- "type": "uint256"
1203
- },
1204
- {
1205
- "internalType": "IdleBalance",
1206
- "name": "idleBalance",
1207
- "type": "bytes32"
1208
- }
1209
- ],
1210
- "internalType": "struct PoolState",
1211
- "name": "",
1212
- "type": "tuple"
1213
- }
1214
- ],
1215
- "stateMutability": "view",
1216
- "type": "function"
1217
- },
1218
- {
1219
- "inputs": [
1220
- {
1221
- "internalType": "PoolId",
1222
- "name": "poolId",
1223
- "type": "bytes32"
1224
- }
1225
- ],
1226
- "name": "poolState",
1227
- "outputs": [
1228
- {
1229
- "components": [
1230
- {
1231
- "internalType": "contract ILiquidityDensityFunction",
1232
- "name": "liquidityDensityFunction",
1233
- "type": "address"
1234
- },
1235
- {
1236
- "internalType": "contract IBunniToken",
1237
- "name": "bunniToken",
1238
- "type": "address"
1239
- },
1240
- {
1241
- "internalType": "contract IHooklet",
1242
- "name": "hooklet",
1243
- "type": "address"
1244
- },
1245
- {
1246
- "internalType": "uint24",
1247
- "name": "twapSecondsAgo",
1248
- "type": "uint24"
1249
- },
1250
- {
1251
- "internalType": "bytes32",
1252
- "name": "ldfParams",
1253
- "type": "bytes32"
1254
- },
1255
- {
1256
- "internalType": "bytes",
1257
- "name": "hookParams",
1258
- "type": "bytes"
1259
- },
1260
- {
1261
- "internalType": "contract ERC4626",
1262
- "name": "vault0",
1263
- "type": "address"
1264
- },
1265
- {
1266
- "internalType": "contract ERC4626",
1267
- "name": "vault1",
1268
- "type": "address"
1269
- },
1270
- {
1271
- "internalType": "enum LDFType",
1272
- "name": "ldfType",
1273
- "type": "uint8"
1274
- },
1275
- {
1276
- "internalType": "uint24",
1277
- "name": "minRawTokenRatio0",
1278
- "type": "uint24"
1279
- },
1280
- {
1281
- "internalType": "uint24",
1282
- "name": "targetRawTokenRatio0",
1283
- "type": "uint24"
1284
- },
1285
- {
1286
- "internalType": "uint24",
1287
- "name": "maxRawTokenRatio0",
1288
- "type": "uint24"
1289
- },
1290
- {
1291
- "internalType": "uint24",
1292
- "name": "minRawTokenRatio1",
1293
- "type": "uint24"
1294
- },
1295
- {
1296
- "internalType": "uint24",
1297
- "name": "targetRawTokenRatio1",
1298
- "type": "uint24"
1299
- },
1300
- {
1301
- "internalType": "uint24",
1302
- "name": "maxRawTokenRatio1",
1303
- "type": "uint24"
1304
- },
1305
- {
1306
- "internalType": "uint8",
1307
- "name": "currency0Decimals",
1308
- "type": "uint8"
1309
- },
1310
- {
1311
- "internalType": "uint8",
1312
- "name": "currency1Decimals",
1313
- "type": "uint8"
1314
- },
1315
- {
1316
- "internalType": "uint8",
1317
- "name": "vault0Decimals",
1318
- "type": "uint8"
1319
- },
1320
- {
1321
- "internalType": "uint8",
1322
- "name": "vault1Decimals",
1323
- "type": "uint8"
1324
- },
1325
- {
1326
- "internalType": "uint256",
1327
- "name": "rawBalance0",
1328
- "type": "uint256"
1329
- },
1330
- {
1331
- "internalType": "uint256",
1332
- "name": "rawBalance1",
1333
- "type": "uint256"
1334
- },
1335
- {
1336
- "internalType": "uint256",
1337
- "name": "reserve0",
1338
- "type": "uint256"
1339
- },
1340
- {
1341
- "internalType": "uint256",
1342
- "name": "reserve1",
1343
- "type": "uint256"
1344
- },
1345
- {
1346
- "internalType": "IdleBalance",
1347
- "name": "idleBalance",
1348
- "type": "bytes32"
1349
- }
1350
- ],
1351
- "internalType": "struct PoolState",
1352
- "name": "",
1353
- "type": "tuple"
1354
- }
1355
- ],
1356
- "stateMutability": "view",
1357
- "type": "function"
1358
- },
1359
- {
1360
- "inputs": [
1361
- {
1362
- "components": [
1363
- {
1364
- "components": [
1365
- {
1366
- "internalType": "Currency",
1367
- "name": "currency0",
1368
- "type": "address"
1369
- },
1370
- {
1371
- "internalType": "Currency",
1372
- "name": "currency1",
1373
- "type": "address"
1374
- },
1375
- {
1376
- "internalType": "uint24",
1377
- "name": "fee",
1378
- "type": "uint24"
1379
- },
1380
- {
1381
- "internalType": "int24",
1382
- "name": "tickSpacing",
1383
- "type": "int24"
1384
- },
1385
- {
1386
- "internalType": "contract IHooks",
1387
- "name": "hooks",
1388
- "type": "address"
1389
- }
1390
- ],
1391
- "internalType": "struct PoolKey",
1392
- "name": "poolKey",
1393
- "type": "tuple"
1394
- },
1395
- {
1396
- "internalType": "uint200",
1397
- "name": "shares",
1398
- "type": "uint200"
1399
- }
1400
- ],
1401
- "internalType": "struct IBunniHub.QueueWithdrawParams",
1402
- "name": "params",
1403
- "type": "tuple"
1404
- }
1405
- ],
1406
- "name": "queueWithdraw",
1407
- "outputs": [],
1408
- "stateMutability": "nonpayable",
1409
- "type": "function"
1410
- },
1411
- {
1412
- "inputs": [],
1413
- "name": "renounceOwnership",
1414
- "outputs": [],
1415
- "stateMutability": "payable",
1416
- "type": "function"
1417
- },
1418
- {
1419
- "inputs": [],
1420
- "name": "requestOwnershipHandover",
1421
- "outputs": [],
1422
- "stateMutability": "payable",
1423
- "type": "function"
1424
- },
1425
- {
1426
- "inputs": [
1427
- {
1428
- "internalType": "contract IBunniHook",
1429
- "name": "hook",
1430
- "type": "address"
1431
- },
1432
- {
1433
- "internalType": "bool",
1434
- "name": "whitelisted",
1435
- "type": "bool"
1436
- }
1437
- ],
1438
- "name": "setHookWhitelist",
1439
- "outputs": [],
1440
- "stateMutability": "nonpayable",
1441
- "type": "function"
1442
- },
1443
- {
1444
- "inputs": [
1445
- {
1446
- "internalType": "uint8",
1447
- "name": "pauseFlags",
1448
- "type": "uint8"
1449
- }
1450
- ],
1451
- "name": "setPauseFlags",
1452
- "outputs": [],
1453
- "stateMutability": "nonpayable",
1454
- "type": "function"
1455
- },
1456
- {
1457
- "inputs": [
1458
- {
1459
- "internalType": "address",
1460
- "name": "guy",
1461
- "type": "address"
1462
- },
1463
- {
1464
- "internalType": "bool",
1465
- "name": "status",
1466
- "type": "bool"
1467
- }
1468
- ],
1469
- "name": "setPauser",
1470
- "outputs": [],
1471
- "stateMutability": "nonpayable",
1472
- "type": "function"
1473
- },
1474
- {
1475
- "inputs": [
1476
- {
1477
- "internalType": "address",
1478
- "name": "newOwner",
1479
- "type": "address"
1480
- }
1481
- ],
1482
- "name": "transferOwnership",
1483
- "outputs": [],
1484
- "stateMutability": "payable",
1485
- "type": "function"
1486
- },
1487
- {
1488
- "inputs": [
1489
- {
1490
- "internalType": "bytes",
1491
- "name": "data",
1492
- "type": "bytes"
1493
- }
1494
- ],
1495
- "name": "unlockCallback",
1496
- "outputs": [
1497
- {
1498
- "internalType": "bytes",
1499
- "name": "",
1500
- "type": "bytes"
1501
- }
1502
- ],
1503
- "stateMutability": "nonpayable",
1504
- "type": "function"
1505
- },
1506
- {
1507
- "inputs": [
1508
- {
1509
- "components": [
1510
- {
1511
- "components": [
1512
- {
1513
- "internalType": "Currency",
1514
- "name": "currency0",
1515
- "type": "address"
1516
- },
1517
- {
1518
- "internalType": "Currency",
1519
- "name": "currency1",
1520
- "type": "address"
1521
- },
1522
- {
1523
- "internalType": "uint24",
1524
- "name": "fee",
1525
- "type": "uint24"
1526
- },
1527
- {
1528
- "internalType": "int24",
1529
- "name": "tickSpacing",
1530
- "type": "int24"
1531
- },
1532
- {
1533
- "internalType": "contract IHooks",
1534
- "name": "hooks",
1535
- "type": "address"
1536
- }
1537
- ],
1538
- "internalType": "struct PoolKey",
1539
- "name": "poolKey",
1540
- "type": "tuple"
1541
- },
1542
- {
1543
- "internalType": "address",
1544
- "name": "recipient",
1545
- "type": "address"
1546
- },
1547
- {
1548
- "internalType": "uint256",
1549
- "name": "shares",
1550
- "type": "uint256"
1551
- },
1552
- {
1553
- "internalType": "uint256",
1554
- "name": "amount0Min",
1555
- "type": "uint256"
1556
- },
1557
- {
1558
- "internalType": "uint256",
1559
- "name": "amount1Min",
1560
- "type": "uint256"
1561
- },
1562
- {
1563
- "internalType": "uint256",
1564
- "name": "deadline",
1565
- "type": "uint256"
1566
- },
1567
- {
1568
- "internalType": "bool",
1569
- "name": "useQueuedWithdrawal",
1570
- "type": "bool"
1571
- }
1572
- ],
1573
- "internalType": "struct IBunniHub.WithdrawParams",
1574
- "name": "params",
1575
- "type": "tuple"
1576
- }
1577
- ],
1578
- "name": "withdraw",
1579
- "outputs": [
1580
- {
1581
- "internalType": "uint256",
1582
- "name": "amount0",
1583
- "type": "uint256"
1584
- },
1585
- {
1586
- "internalType": "uint256",
1587
- "name": "amount1",
1588
- "type": "uint256"
1589
- }
1590
- ],
1591
- "stateMutability": "nonpayable",
1592
- "type": "function"
1593
- },
1594
- {
1595
- "stateMutability": "payable",
1596
- "type": "receive"
1597
- }
1598
- ]