@paraswap/dex-lib 4.5.9-inter.2 → 4.5.9

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 (187) hide show
  1. package/build/abi/bunni-v2/BunniHook.abi.json +1921 -0
  2. package/build/abi/bunni-v2/BunniHub.abi.json +1598 -0
  3. package/build/abi/bunni-v2/BunniToken.abi.json +833 -0
  4. package/build/abi/bunni-v2/FeeOverrideHooklet.abi.json +1947 -0
  5. package/build/abi/bunni-v2/FloodPlain.abi.json +1195 -0
  6. package/build/abi/bunni-v2/PoolManager.abi.json +1366 -0
  7. package/build/abi/bunni-v2/V4Quoter.abi.json +637 -0
  8. package/build/abi/miro-migrator/MiroMigrator.abi.json +19 -36
  9. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +796 -0
  10. package/build/abi/ring-v2/few-wrapped-token.json +587 -0
  11. package/build/abi/ring-v2/ring-v2-factory.json +125 -0
  12. package/build/abi/ring-v2/ring-v2-pool.json +461 -0
  13. package/build/abi/ring-v2/ring-v2-router.json +332 -0
  14. package/build/dex/bunni-v2/bunni-v2-pool.d.ts +61 -0
  15. package/build/dex/bunni-v2/bunni-v2-pool.js +484 -0
  16. package/build/dex/bunni-v2/bunni-v2-pool.js.map +1 -0
  17. package/build/dex/bunni-v2/bunni-v2.d.ts +47 -0
  18. package/build/dex/bunni-v2/bunni-v2.js +464 -0
  19. package/build/dex/bunni-v2/bunni-v2.js.map +1 -0
  20. package/build/dex/bunni-v2/config.d.ts +3 -0
  21. package/build/dex/bunni-v2/config.js +89 -0
  22. package/build/dex/bunni-v2/config.js.map +1 -0
  23. package/build/dex/bunni-v2/encoder.d.ts +19 -0
  24. package/build/dex/bunni-v2/encoder.js +400 -0
  25. package/build/dex/bunni-v2/encoder.js.map +1 -0
  26. package/build/dex/bunni-v2/getOnChainState.d.ts +25 -0
  27. package/build/dex/bunni-v2/getOnChainState.js +455 -0
  28. package/build/dex/bunni-v2/getOnChainState.js.map +1 -0
  29. package/build/dex/bunni-v2/hook/BunniSwapMath.d.ts +7 -0
  30. package/build/dex/bunni-v2/hook/BunniSwapMath.js +198 -0
  31. package/build/dex/bunni-v2/hook/BunniSwapMath.js.map +1 -0
  32. package/build/dex/bunni-v2/hook/SwapMath.d.ts +8 -0
  33. package/build/dex/bunni-v2/hook/SwapMath.js +65 -0
  34. package/build/dex/bunni-v2/hook/SwapMath.js.map +1 -0
  35. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.d.ts +33 -0
  36. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.js +33 -0
  37. package/build/dex/bunni-v2/hooklet/FeeOverrideHooklet.js.map +1 -0
  38. package/build/dex/bunni-v2/hooklet/index.d.ts +21 -0
  39. package/build/dex/bunni-v2/hooklet/index.js +65 -0
  40. package/build/dex/bunni-v2/hooklet/index.js.map +1 -0
  41. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.d.ts +70 -0
  42. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.js +277 -0
  43. package/build/dex/bunni-v2/ldf/CarpetedDoubleGeometricDistribution.js.map +1 -0
  44. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.d.ts +64 -0
  45. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.js +262 -0
  46. package/build/dex/bunni-v2/ldf/CarpetedGeometricDistribution.js.map +1 -0
  47. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.d.ts +60 -0
  48. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.js +224 -0
  49. package/build/dex/bunni-v2/ldf/DoubleGeometricDistribution.js.map +1 -0
  50. package/build/dex/bunni-v2/ldf/GeometricDistribution.d.ts +56 -0
  51. package/build/dex/bunni-v2/ldf/GeometricDistribution.js +489 -0
  52. package/build/dex/bunni-v2/ldf/GeometricDistribution.js.map +1 -0
  53. package/build/dex/bunni-v2/ldf/LDFType.d.ts +5 -0
  54. package/build/dex/bunni-v2/ldf/LDFType.js +10 -0
  55. package/build/dex/bunni-v2/ldf/LDFType.js.map +1 -0
  56. package/build/dex/bunni-v2/ldf/ShiftMode.d.ts +7 -0
  57. package/build/dex/bunni-v2/ldf/ShiftMode.js +19 -0
  58. package/build/dex/bunni-v2/ldf/ShiftMode.js.map +1 -0
  59. package/build/dex/bunni-v2/ldf/UniformDistribution.d.ts +55 -0
  60. package/build/dex/bunni-v2/ldf/UniformDistribution.js +291 -0
  61. package/build/dex/bunni-v2/ldf/UniformDistribution.js.map +1 -0
  62. package/build/dex/bunni-v2/ldf/index.d.ts +15 -0
  63. package/build/dex/bunni-v2/ldf/index.js +38 -0
  64. package/build/dex/bunni-v2/ldf/index.js.map +1 -0
  65. package/build/dex/bunni-v2/lib/AmAmmPayload.d.ts +4 -0
  66. package/build/dex/bunni-v2/lib/AmAmmPayload.js +10 -0
  67. package/build/dex/bunni-v2/lib/AmAmmPayload.js.map +1 -0
  68. package/build/dex/bunni-v2/lib/BitMath.d.ts +4 -0
  69. package/build/dex/bunni-v2/lib/BitMath.js +24 -0
  70. package/build/dex/bunni-v2/lib/BitMath.js.map +1 -0
  71. package/build/dex/bunni-v2/lib/Constants.d.ts +14 -0
  72. package/build/dex/bunni-v2/lib/Constants.js +18 -0
  73. package/build/dex/bunni-v2/lib/Constants.js.map +1 -0
  74. package/build/dex/bunni-v2/lib/ExpMath.d.ts +5 -0
  75. package/build/dex/bunni-v2/lib/ExpMath.js +121 -0
  76. package/build/dex/bunni-v2/lib/ExpMath.js.map +1 -0
  77. package/build/dex/bunni-v2/lib/FeeMath.d.ts +2 -0
  78. package/build/dex/bunni-v2/lib/FeeMath.js +27 -0
  79. package/build/dex/bunni-v2/lib/FeeMath.js.map +1 -0
  80. package/build/dex/bunni-v2/lib/FixedPointMath.d.ts +3 -0
  81. package/build/dex/bunni-v2/lib/FixedPointMath.js +15 -0
  82. package/build/dex/bunni-v2/lib/FixedPointMath.js.map +1 -0
  83. package/build/dex/bunni-v2/lib/FullMathX96.d.ts +4 -0
  84. package/build/dex/bunni-v2/lib/FullMathX96.js +21 -0
  85. package/build/dex/bunni-v2/lib/FullMathX96.js.map +1 -0
  86. package/build/dex/bunni-v2/lib/IdleBalance.d.ts +11 -0
  87. package/build/dex/bunni-v2/lib/IdleBalance.js +33 -0
  88. package/build/dex/bunni-v2/lib/IdleBalance.js.map +1 -0
  89. package/build/dex/bunni-v2/lib/LiquidityAmounts.d.ts +6 -0
  90. package/build/dex/bunni-v2/lib/LiquidityAmounts.js +25 -0
  91. package/build/dex/bunni-v2/lib/LiquidityAmounts.js.map +1 -0
  92. package/build/dex/bunni-v2/lib/Math.d.ts +28 -0
  93. package/build/dex/bunni-v2/lib/Math.js +169 -0
  94. package/build/dex/bunni-v2/lib/Math.js.map +1 -0
  95. package/build/dex/bunni-v2/lib/Oracle.d.ts +27 -0
  96. package/build/dex/bunni-v2/lib/Oracle.js +180 -0
  97. package/build/dex/bunni-v2/lib/Oracle.js.map +1 -0
  98. package/build/dex/bunni-v2/lib/QueryLDF.d.ts +12 -0
  99. package/build/dex/bunni-v2/lib/QueryLDF.js +90 -0
  100. package/build/dex/bunni-v2/lib/QueryLDF.js.map +1 -0
  101. package/build/dex/bunni-v2/lib/QueryTwap.d.ts +2 -0
  102. package/build/dex/bunni-v2/lib/QueryTwap.js +13 -0
  103. package/build/dex/bunni-v2/lib/QueryTwap.js.map +1 -0
  104. package/build/dex/bunni-v2/lib/SqrtPriceMath.d.ts +8 -0
  105. package/build/dex/bunni-v2/lib/SqrtPriceMath.js +84 -0
  106. package/build/dex/bunni-v2/lib/SqrtPriceMath.js.map +1 -0
  107. package/build/dex/bunni-v2/lib/TickMath.d.ts +11 -0
  108. package/build/dex/bunni-v2/lib/TickMath.js +100 -0
  109. package/build/dex/bunni-v2/lib/TickMath.js.map +1 -0
  110. package/build/dex/bunni-v2/lib/VaultMath.d.ts +2 -0
  111. package/build/dex/bunni-v2/lib/VaultMath.js +11 -0
  112. package/build/dex/bunni-v2/lib/VaultMath.js.map +1 -0
  113. package/build/dex/bunni-v2/logic/AmAmm.d.ts +11 -0
  114. package/build/dex/bunni-v2/logic/AmAmm.js +156 -0
  115. package/build/dex/bunni-v2/logic/AmAmm.js.map +1 -0
  116. package/build/dex/bunni-v2/logic/BunniHookLogic.d.ts +10 -0
  117. package/build/dex/bunni-v2/logic/BunniHookLogic.js +298 -0
  118. package/build/dex/bunni-v2/logic/BunniHookLogic.js.map +1 -0
  119. package/build/dex/bunni-v2/logic/BunniHubLogic.d.ts +5 -0
  120. package/build/dex/bunni-v2/logic/BunniHubLogic.js +245 -0
  121. package/build/dex/bunni-v2/logic/BunniHubLogic.js.map +1 -0
  122. package/build/dex/bunni-v2/logic/BunniQuoter.d.ts +12 -0
  123. package/build/dex/bunni-v2/logic/BunniQuoter.js +201 -0
  124. package/build/dex/bunni-v2/logic/BunniQuoter.js.map +1 -0
  125. package/build/dex/bunni-v2/subgraph.d.ts +6 -0
  126. package/build/dex/bunni-v2/subgraph.js +139 -0
  127. package/build/dex/bunni-v2/subgraph.js.map +1 -0
  128. package/build/dex/bunni-v2/types.d.ts +238 -0
  129. package/build/dex/bunni-v2/types.js +3 -0
  130. package/build/dex/bunni-v2/types.js.map +1 -0
  131. package/build/dex/bunni-v2/utils.d.ts +17 -0
  132. package/build/dex/bunni-v2/utils.js +194 -0
  133. package/build/dex/bunni-v2/utils.js.map +1 -0
  134. package/build/dex/ekubo/config.d.ts +1 -1
  135. package/build/dex/ekubo/config.js +3 -1
  136. package/build/dex/ekubo/config.js.map +1 -1
  137. package/build/dex/ekubo/ekubo.d.ts +7 -10
  138. package/build/dex/ekubo/ekubo.js +89 -59
  139. package/build/dex/ekubo/ekubo.js.map +1 -1
  140. package/build/dex/ekubo/pools/math/constants.d.ts +6 -3
  141. package/build/dex/ekubo/pools/math/constants.js +7 -4
  142. package/build/dex/ekubo/pools/math/constants.js.map +1 -1
  143. package/build/dex/ekubo/pools/math/price.js +4 -2
  144. package/build/dex/ekubo/pools/math/price.js.map +1 -1
  145. package/build/dex/ekubo/pools/math/swap.js +2 -2
  146. package/build/dex/ekubo/pools/math/swap.js.map +1 -1
  147. package/build/dex/ekubo/types.d.ts +23 -7
  148. package/build/dex/ekubo/utils.d.ts +4 -1
  149. package/build/dex/ekubo/utils.js +26 -3
  150. package/build/dex/ekubo/utils.js.map +1 -1
  151. package/build/dex/idex.d.ts +0 -1
  152. package/build/dex/miro-migrator/config.js +10 -3
  153. package/build/dex/miro-migrator/config.js.map +1 -1
  154. package/build/dex/miro-migrator/constants.d.ts +1 -2
  155. package/build/dex/miro-migrator/constants.js +2 -3
  156. package/build/dex/miro-migrator/constants.js.map +1 -1
  157. package/build/dex/miro-migrator/miro-migrator-pool.d.ts +5 -9
  158. package/build/dex/miro-migrator/miro-migrator-pool.js +30 -49
  159. package/build/dex/miro-migrator/miro-migrator-pool.js.map +1 -1
  160. package/build/dex/miro-migrator/miro-migrator-state.d.ts +27 -0
  161. package/build/dex/miro-migrator/miro-migrator-state.js +89 -0
  162. package/build/dex/miro-migrator/miro-migrator-state.js.map +1 -0
  163. package/build/dex/miro-migrator/miro-migrator.d.ts +4 -5
  164. package/build/dex/miro-migrator/miro-migrator.js +83 -41
  165. package/build/dex/miro-migrator/miro-migrator.js.map +1 -1
  166. package/build/dex/miro-migrator/types.d.ts +4 -2
  167. package/build/dex/miro-migrator/types.js +2 -1
  168. package/build/dex/miro-migrator/types.js.map +1 -1
  169. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +4 -0
  170. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +56 -0
  171. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +1 -0
  172. package/build/dex/uniswap-v3/uniswap-v3.d.ts +0 -1
  173. package/build/dex/uniswap-v3/uniswap-v3.js +0 -2
  174. package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
  175. package/build/dex/uniswap-v4/uniswap-v4.d.ts +0 -1
  176. package/build/dex/uniswap-v4/uniswap-v4.js +0 -2
  177. package/build/dex/uniswap-v4/uniswap-v4.js.map +1 -1
  178. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +26 -0
  179. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +75 -0
  180. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +1 -0
  181. package/build/implementations/local-paraswap-sdk.d.ts +2 -2
  182. package/build/implementations/local-paraswap-sdk.js +2 -1
  183. package/build/implementations/local-paraswap-sdk.js.map +1 -1
  184. package/build/pricing-helper.d.ts +1 -1
  185. package/build/pricing-helper.js +2 -33
  186. package/build/pricing-helper.js.map +1 -1
  187. package/package.json +1 -1
@@ -0,0 +1,1598 @@
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
+ ]