@paraswap/dex-lib 4.7.13 → 4.7.14-pharaoh-v3.1

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 (236) hide show
  1. package/build/abi/PendleRouterStatic.json +19 -0
  2. package/build/abi/{MStableAsset.json → apex-defi/ApexDefiFactory.abi.json} +992 -788
  3. package/build/abi/{BProtocol.json → apex-defi/ApexDefiRouter.abi.json} +539 -574
  4. package/build/abi/apex-defi/ApexDefiToken.abi.json +229 -0
  5. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +92 -0
  6. package/build/abi/{OneInchLp.json → apex-defi/ApexDefiWrapperFactory.abi.json} +577 -774
  7. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +796 -0
  8. package/build/abi/pendle/pendle-deployer.abi.json +520 -0
  9. package/build/abi/pendle/pendle-oracle.abi.json +413 -0
  10. package/build/abi/pharaoh-v3/PharaohV3Factory.abi.json +349 -0
  11. package/build/abi/pharaoh-v3/PharaohV3Pool.abi.json +802 -0
  12. package/build/abi/pharaoh-v3/PharaohV3StateMulticall.abi.json +781 -0
  13. package/build/abi/ring-v2/few-wrapped-token.json +587 -0
  14. package/build/abi/ring-v2/ring-v2-factory.json +125 -0
  15. package/build/abi/ring-v2/ring-v2-pool.json +461 -0
  16. package/build/abi/ring-v2/ring-v2-router.json +332 -0
  17. package/build/abi/stabull/stabull-curve.json +738 -0
  18. package/build/abi/stabull/stabull-router.json +76 -0
  19. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +26 -0
  20. package/build/abi/uniswap-v4/hooks/SpotHook.json +54 -0
  21. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +45 -0
  22. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +682 -0
  23. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +1335 -0
  24. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +29 -0
  25. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +153 -0
  26. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +1 -0
  27. package/build/dex/{usual-bond/usual-bond.d.ts → aave-pt-to-underlying/aave-pt-to-underlying.d.ts} +23 -18
  28. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +323 -0
  29. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +1 -0
  30. package/build/dex/aave-pt-to-underlying/config.d.ts +3 -0
  31. package/build/dex/aave-pt-to-underlying/config.js +24 -0
  32. package/build/dex/aave-pt-to-underlying/config.js.map +1 -0
  33. package/build/dex/aave-pt-to-underlying/constants.d.ts +2 -0
  34. package/build/dex/aave-pt-to-underlying/constants.js +6 -0
  35. package/build/dex/aave-pt-to-underlying/constants.js.map +1 -0
  36. package/build/dex/aave-pt-to-underlying/types.d.ts +24 -0
  37. package/build/dex/aave-pt-to-underlying/types.js.map +1 -0
  38. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +39 -0
  39. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +244 -0
  40. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +1 -0
  41. package/build/dex/aave-pt-to-usdc/config.d.ts +3 -0
  42. package/build/dex/aave-pt-to-usdc/config.js +47 -0
  43. package/build/dex/aave-pt-to-usdc/config.js.map +1 -0
  44. package/build/dex/aave-pt-to-usdc/constants.d.ts +2 -0
  45. package/build/dex/aave-pt-to-usdc/constants.js +6 -0
  46. package/build/dex/aave-pt-to-usdc/constants.js.map +1 -0
  47. package/build/dex/aave-pt-to-usdc/types.d.ts +22 -0
  48. package/build/dex/aave-pt-to-usdc/types.js.map +1 -0
  49. package/build/dex/apex-defi/apex-defi-factory.d.ts +26 -0
  50. package/build/dex/apex-defi/apex-defi-factory.js +53 -0
  51. package/build/dex/apex-defi/apex-defi-factory.js.map +1 -0
  52. package/build/dex/apex-defi/apex-defi-pool.d.ts +55 -0
  53. package/build/dex/apex-defi/apex-defi-pool.js +247 -0
  54. package/build/dex/apex-defi/apex-defi-pool.js.map +1 -0
  55. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +57 -0
  56. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +250 -0
  57. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +1 -0
  58. package/build/dex/apex-defi/apex-defi.d.ts +97 -0
  59. package/build/dex/apex-defi/apex-defi.js +1021 -0
  60. package/build/dex/apex-defi/apex-defi.js.map +1 -0
  61. package/build/dex/apex-defi/config.d.ts +4 -0
  62. package/build/dex/apex-defi/config.js +138 -0
  63. package/build/dex/apex-defi/config.js.map +1 -0
  64. package/build/dex/apex-defi/types.d.ts +32 -0
  65. package/build/dex/apex-defi/types.js +3 -0
  66. package/build/dex/{usual-bond → apex-defi}/types.js.map +1 -1
  67. package/build/dex/apex-defi/utils.d.ts +46 -0
  68. package/build/dex/apex-defi/utils.js +133 -0
  69. package/build/dex/apex-defi/utils.js.map +1 -0
  70. package/build/dex/maker-psm/maker-psm-event-pool.d.ts +43 -0
  71. package/build/dex/maker-psm/maker-psm-event-pool.js +132 -0
  72. package/build/dex/maker-psm/maker-psm-event-pool.js.map +1 -0
  73. package/build/dex/miro-migrator/miro-migrator-state.d.ts +27 -0
  74. package/build/dex/miro-migrator/miro-migrator-state.js +89 -0
  75. package/build/dex/miro-migrator/miro-migrator-state.js.map +1 -0
  76. package/build/dex/{usual-bond → stabull}/config.d.ts +1 -1
  77. package/build/dex/stabull/config.js +177 -0
  78. package/build/dex/stabull/config.js.map +1 -0
  79. package/build/dex/{se-vlr/se-vlr-pool.d.ts → stabull/stabull-pool.d.ts} +13 -6
  80. package/build/dex/stabull/stabull-pool.js +113 -0
  81. package/build/dex/stabull/stabull-pool.js.map +1 -0
  82. package/build/dex/stabull/stabull.d.ts +55 -0
  83. package/build/dex/stabull/stabull.js +286 -0
  84. package/build/dex/stabull/stabull.js.map +1 -0
  85. package/build/dex/stabull/types.d.ts +21 -0
  86. package/build/dex/stabull/types.js +3 -0
  87. package/build/dex/stabull/types.js.map +1 -0
  88. package/build/dex/uniswap-v3/config.js +33 -0
  89. package/build/dex/uniswap-v3/config.js.map +1 -1
  90. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +4 -0
  91. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +56 -0
  92. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +1 -0
  93. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-factory.d.ts +7 -0
  94. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-factory.js +20 -0
  95. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-factory.js.map +1 -0
  96. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-pool.d.ts +12 -0
  97. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-pool.js +142 -0
  98. package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-pool.js.map +1 -0
  99. package/build/dex/uniswap-v3/forks/pharaoh-v3/utils.d.ts +4 -0
  100. package/build/dex/uniswap-v3/forks/pharaoh-v3/utils.js +56 -0
  101. package/build/dex/uniswap-v3/forks/pharaoh-v3/utils.js.map +1 -0
  102. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-pool.d.ts +2 -2
  103. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-pool.js.map +1 -1
  104. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.js +1 -0
  105. package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.js.map +1 -1
  106. package/build/dex/uniswap-v3/uniswap-v3-pool.d.ts +2 -1
  107. package/build/dex/uniswap-v3/uniswap-v3-pool.js +3 -1
  108. package/build/dex/uniswap-v3/uniswap-v3-pool.js.map +1 -1
  109. package/build/dex/uniswap-v3/uniswap-v3.js +1 -1
  110. package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
  111. package/build/dex/uniswap-v4/contract-math/Position.d.ts +6 -0
  112. package/build/dex/uniswap-v4/contract-math/Position.js +29 -0
  113. package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -1
  114. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +7 -0
  115. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +28 -0
  116. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +1 -0
  117. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  118. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +2 -0
  119. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +1 -0
  120. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +7 -0
  121. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +28 -0
  122. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +1 -0
  123. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  124. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +2 -0
  125. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +1 -0
  126. package/build/dex/uniswap-v4/hooks/index.d.ts +1 -0
  127. package/build/dex/uniswap-v4/hooks/index.js +9 -0
  128. package/build/dex/uniswap-v4/hooks/index.js.map +1 -0
  129. package/build/dex/uniswap-v4/hooks/spot.d.ts +15 -0
  130. package/build/dex/uniswap-v4/hooks/spot.js +109 -0
  131. package/build/dex/uniswap-v4/hooks/spot.js.map +1 -0
  132. package/build/dex/uniswap-v4/hooks/template.d.ts +150 -0
  133. package/build/dex/uniswap-v4/hooks/template.js +104 -0
  134. package/build/dex/uniswap-v4/hooks/template.js.map +1 -0
  135. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +26 -0
  136. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +75 -0
  137. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +1 -0
  138. package/build/dex/usual/usual-usdc-usdc.d.ts +17 -0
  139. package/build/dex/usual/usual-usdc-usdc.js +59 -0
  140. package/build/dex/usual/usual-usdc-usdc.js.map +1 -0
  141. package/build/dex/{se-vlr → yo}/config.d.ts +1 -1
  142. package/build/dex/yo/config.js +21 -0
  143. package/build/dex/yo/config.js.map +1 -0
  144. package/build/dex/yo/types.d.ts +13 -0
  145. package/build/dex/yo/types.js +3 -0
  146. package/build/dex/{se-vlr → yo}/types.js.map +1 -1
  147. package/build/dex/yo/yo-pool.d.ts +13 -0
  148. package/build/dex/yo/yo-pool.js +26 -0
  149. package/build/dex/yo/yo-pool.js.map +1 -0
  150. package/build/dex/yo/yo.d.ts +39 -0
  151. package/build/dex/yo/yo.js +248 -0
  152. package/build/dex/yo/yo.js.map +1 -0
  153. package/build/implementations/api-paraswap-sdk.d.ts +25 -0
  154. package/build/implementations/api-paraswap-sdk.js +102 -0
  155. package/build/implementations/api-paraswap-sdk.js.map +1 -0
  156. package/package.json +1 -1
  157. package/build/abi/Jarvis.json +0 -1172
  158. package/build/abi/Onebit.json +0 -736
  159. package/build/abi/Shell.json +0 -1294
  160. package/build/abi/TraderJoeV2Router.json +0 -50
  161. package/build/abi/wUSDM.json +0 -757
  162. package/build/abi/zrx.v2.json +0 -1967
  163. package/build/abi/zrx.v3.json +0 -3454
  164. package/build/abi/zrx.v4.json +0 -2193
  165. package/build/dex/OneInchLp.d.ts +0 -24
  166. package/build/dex/OneInchLp.js +0 -43
  167. package/build/dex/OneInchLp.js.map +0 -1
  168. package/build/dex/bProtocol/bProtocol.d.ts +0 -15
  169. package/build/dex/bProtocol/bProtocol.js +0 -56
  170. package/build/dex/bProtocol/bProtocol.js.map +0 -1
  171. package/build/dex/bProtocol/types.d.ts +0 -11
  172. package/build/dex/bProtocol/types.js +0 -8
  173. package/build/dex/bProtocol/types.js.map +0 -1
  174. package/build/dex/jarvis.d.ts +0 -56
  175. package/build/dex/jarvis.js +0 -163
  176. package/build/dex/jarvis.js.map +0 -1
  177. package/build/dex/mStable.d.ts +0 -44
  178. package/build/dex/mStable.js +0 -75
  179. package/build/dex/mStable.js.map +0 -1
  180. package/build/dex/onebit/onebit.d.ts +0 -16
  181. package/build/dex/onebit/onebit.js +0 -61
  182. package/build/dex/onebit/onebit.js.map +0 -1
  183. package/build/dex/onebit/types.d.ts +0 -14
  184. package/build/dex/onebit/types.js +0 -8
  185. package/build/dex/onebit/types.js.map +0 -1
  186. package/build/dex/se-vlr/config.js +0 -24
  187. package/build/dex/se-vlr/config.js.map +0 -1
  188. package/build/dex/se-vlr/se-vlr-pool.js +0 -70
  189. package/build/dex/se-vlr/se-vlr-pool.js.map +0 -1
  190. package/build/dex/se-vlr/se-vlr.d.ts +0 -35
  191. package/build/dex/se-vlr/se-vlr.js +0 -131
  192. package/build/dex/se-vlr/se-vlr.js.map +0 -1
  193. package/build/dex/se-vlr/types.d.ts +0 -6
  194. package/build/dex/shell.d.ts +0 -25
  195. package/build/dex/shell.js +0 -41
  196. package/build/dex/shell.js.map +0 -1
  197. package/build/dex/trader-joe-v2.d.ts +0 -40
  198. package/build/dex/trader-joe-v2.js +0 -74
  199. package/build/dex/trader-joe-v2.js.map +0 -1
  200. package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +0 -94
  201. package/build/dex/uniswap-v3/uniswap-v3-new.js +0 -923
  202. package/build/dex/uniswap-v3/uniswap-v3-new.js.map +0 -1
  203. package/build/dex/usual-bond/config.js +0 -13
  204. package/build/dex/usual-bond/config.js.map +0 -1
  205. package/build/dex/usual-bond/types.d.ts +0 -7
  206. package/build/dex/usual-bond/usual-bond.js +0 -176
  207. package/build/dex/usual-bond/usual-bond.js.map +0 -1
  208. package/build/dex/wusdm/config.d.ts +0 -3
  209. package/build/dex/wusdm/config.js +0 -43
  210. package/build/dex/wusdm/config.js.map +0 -1
  211. package/build/dex/wusdm/constants.d.ts +0 -2
  212. package/build/dex/wusdm/constants.js +0 -6
  213. package/build/dex/wusdm/constants.js.map +0 -1
  214. package/build/dex/wusdm/types.d.ts +0 -18
  215. package/build/dex/wusdm/types.js +0 -11
  216. package/build/dex/wusdm/types.js.map +0 -1
  217. package/build/dex/wusdm/wusdm-pool.d.ts +0 -21
  218. package/build/dex/wusdm/wusdm-pool.js +0 -74
  219. package/build/dex/wusdm/wusdm-pool.js.map +0 -1
  220. package/build/dex/wusdm/wusdm.d.ts +0 -46
  221. package/build/dex/wusdm/wusdm.js +0 -243
  222. package/build/dex/wusdm/wusdm.js.map +0 -1
  223. package/build/dex/zerox/config.d.ts +0 -2
  224. package/build/dex/zerox/config.js +0 -33
  225. package/build/dex/zerox/config.js.map +0 -1
  226. package/build/dex/zerox/index.d.ts +0 -22
  227. package/build/dex/zerox/index.js +0 -225
  228. package/build/dex/zerox/index.js.map +0 -1
  229. package/build/dex/zerox/order.d.ts +0 -88
  230. package/build/dex/zerox/order.js +0 -53
  231. package/build/dex/zerox/order.js.map +0 -1
  232. package/build/dex/zerox/types.d.ts +0 -73
  233. package/build/dex/zerox/types.js +0 -21
  234. package/build/dex/zerox/types.js.map +0 -1
  235. /package/build/dex/{se-vlr → aave-pt-to-underlying}/types.js +0 -0
  236. /package/build/dex/{usual-bond → aave-pt-to-usdc}/types.js +0 -0
@@ -0,0 +1,1335 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "contract IPoolManager",
6
+ "name": "_manager",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "uint256",
11
+ "name": "_defaultFeeBps",
12
+ "type": "uint256"
13
+ },
14
+ { "internalType": "address", "name": "_recipient", "type": "address" },
15
+ { "internalType": "address", "name": "_poolMaster", "type": "address" },
16
+ {
17
+ "internalType": "contract IPositionManager",
18
+ "name": "_positionManager",
19
+ "type": "address"
20
+ },
21
+ { "internalType": "address", "name": "_permit2", "type": "address" }
22
+ ],
23
+ "stateMutability": "nonpayable",
24
+ "type": "constructor"
25
+ },
26
+ { "inputs": [], "name": "AccessControlBadConfirmation", "type": "error" },
27
+ {
28
+ "inputs": [
29
+ { "internalType": "address", "name": "account", "type": "address" },
30
+ { "internalType": "bytes32", "name": "neededRole", "type": "bytes32" }
31
+ ],
32
+ "name": "AccessControlUnauthorizedAccount",
33
+ "type": "error"
34
+ },
35
+ { "inputs": [], "name": "HookNotImplemented", "type": "error" },
36
+ { "inputs": [], "name": "NotPoolManager", "type": "error" },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": true,
42
+ "internalType": "address",
43
+ "name": "sender",
44
+ "type": "address"
45
+ },
46
+ {
47
+ "indexed": false,
48
+ "internalType": "uint256",
49
+ "name": "tokenId",
50
+ "type": "uint256"
51
+ }
52
+ ],
53
+ "name": "BurnPosition",
54
+ "type": "event"
55
+ },
56
+ {
57
+ "anonymous": false,
58
+ "inputs": [
59
+ {
60
+ "indexed": true,
61
+ "internalType": "address",
62
+ "name": "sender",
63
+ "type": "address"
64
+ },
65
+ {
66
+ "indexed": false,
67
+ "internalType": "uint256",
68
+ "name": "tokenId",
69
+ "type": "uint256"
70
+ },
71
+ {
72
+ "indexed": false,
73
+ "internalType": "uint256",
74
+ "name": "liquidity",
75
+ "type": "uint256"
76
+ }
77
+ ],
78
+ "name": "DecreaseLiquidity",
79
+ "type": "event"
80
+ },
81
+ {
82
+ "anonymous": false,
83
+ "inputs": [
84
+ {
85
+ "indexed": false,
86
+ "internalType": "uint256",
87
+ "name": "feeBps",
88
+ "type": "uint256"
89
+ }
90
+ ],
91
+ "name": "DefaultFeeSet",
92
+ "type": "event"
93
+ },
94
+ {
95
+ "anonymous": false,
96
+ "inputs": [
97
+ {
98
+ "indexed": true,
99
+ "internalType": "address",
100
+ "name": "token",
101
+ "type": "address"
102
+ },
103
+ {
104
+ "indexed": true,
105
+ "internalType": "address",
106
+ "name": "payer",
107
+ "type": "address"
108
+ },
109
+ {
110
+ "indexed": false,
111
+ "internalType": "uint256",
112
+ "name": "amount",
113
+ "type": "uint256"
114
+ }
115
+ ],
116
+ "name": "FeeCollected",
117
+ "type": "event"
118
+ },
119
+ {
120
+ "anonymous": false,
121
+ "inputs": [
122
+ {
123
+ "indexed": true,
124
+ "internalType": "address",
125
+ "name": "newRecipient",
126
+ "type": "address"
127
+ }
128
+ ],
129
+ "name": "FeeRecipientChanged",
130
+ "type": "event"
131
+ },
132
+ {
133
+ "anonymous": false,
134
+ "inputs": [
135
+ {
136
+ "indexed": true,
137
+ "internalType": "address",
138
+ "name": "token",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "indexed": false,
143
+ "internalType": "uint256",
144
+ "name": "amount",
145
+ "type": "uint256"
146
+ },
147
+ {
148
+ "indexed": true,
149
+ "internalType": "address",
150
+ "name": "to",
151
+ "type": "address"
152
+ }
153
+ ],
154
+ "name": "FeeWithdrawn",
155
+ "type": "event"
156
+ },
157
+ {
158
+ "anonymous": false,
159
+ "inputs": [
160
+ {
161
+ "indexed": true,
162
+ "internalType": "address",
163
+ "name": "sender",
164
+ "type": "address"
165
+ },
166
+ {
167
+ "indexed": false,
168
+ "internalType": "uint256",
169
+ "name": "tokenId",
170
+ "type": "uint256"
171
+ },
172
+ {
173
+ "indexed": false,
174
+ "internalType": "uint256",
175
+ "name": "liquidity",
176
+ "type": "uint256"
177
+ }
178
+ ],
179
+ "name": "IncreaseLiquidity",
180
+ "type": "event"
181
+ },
182
+ {
183
+ "anonymous": false,
184
+ "inputs": [
185
+ {
186
+ "indexed": true,
187
+ "internalType": "address",
188
+ "name": "sender",
189
+ "type": "address"
190
+ },
191
+ {
192
+ "indexed": false,
193
+ "internalType": "uint256",
194
+ "name": "tokenId",
195
+ "type": "uint256"
196
+ },
197
+ {
198
+ "indexed": false,
199
+ "internalType": "int24",
200
+ "name": "tickLower",
201
+ "type": "int24"
202
+ },
203
+ {
204
+ "indexed": false,
205
+ "internalType": "int24",
206
+ "name": "tickUpper",
207
+ "type": "int24"
208
+ }
209
+ ],
210
+ "name": "MintPosition",
211
+ "type": "event"
212
+ },
213
+ {
214
+ "anonymous": false,
215
+ "inputs": [
216
+ {
217
+ "indexed": true,
218
+ "internalType": "bytes32",
219
+ "name": "poolId",
220
+ "type": "bytes32"
221
+ }
222
+ ],
223
+ "name": "PoolFeeRemoved",
224
+ "type": "event"
225
+ },
226
+ {
227
+ "anonymous": false,
228
+ "inputs": [
229
+ {
230
+ "indexed": true,
231
+ "internalType": "bytes32",
232
+ "name": "poolId",
233
+ "type": "bytes32"
234
+ },
235
+ {
236
+ "indexed": false,
237
+ "internalType": "uint256",
238
+ "name": "beforeFeeBps",
239
+ "type": "uint256"
240
+ },
241
+ {
242
+ "indexed": false,
243
+ "internalType": "uint256",
244
+ "name": "afterFeeBps",
245
+ "type": "uint256"
246
+ }
247
+ ],
248
+ "name": "PoolFeeSet",
249
+ "type": "event"
250
+ },
251
+ {
252
+ "anonymous": false,
253
+ "inputs": [
254
+ {
255
+ "indexed": true,
256
+ "internalType": "address",
257
+ "name": "to",
258
+ "type": "address"
259
+ },
260
+ {
261
+ "indexed": false,
262
+ "internalType": "uint256",
263
+ "name": "amount",
264
+ "type": "uint256"
265
+ }
266
+ ],
267
+ "name": "Rescue",
268
+ "type": "event"
269
+ },
270
+ {
271
+ "anonymous": false,
272
+ "inputs": [
273
+ {
274
+ "indexed": true,
275
+ "internalType": "bytes32",
276
+ "name": "role",
277
+ "type": "bytes32"
278
+ },
279
+ {
280
+ "indexed": true,
281
+ "internalType": "bytes32",
282
+ "name": "previousAdminRole",
283
+ "type": "bytes32"
284
+ },
285
+ {
286
+ "indexed": true,
287
+ "internalType": "bytes32",
288
+ "name": "newAdminRole",
289
+ "type": "bytes32"
290
+ }
291
+ ],
292
+ "name": "RoleAdminChanged",
293
+ "type": "event"
294
+ },
295
+ {
296
+ "anonymous": false,
297
+ "inputs": [
298
+ {
299
+ "indexed": true,
300
+ "internalType": "bytes32",
301
+ "name": "role",
302
+ "type": "bytes32"
303
+ },
304
+ {
305
+ "indexed": true,
306
+ "internalType": "address",
307
+ "name": "account",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "indexed": true,
312
+ "internalType": "address",
313
+ "name": "sender",
314
+ "type": "address"
315
+ }
316
+ ],
317
+ "name": "RoleGranted",
318
+ "type": "event"
319
+ },
320
+ {
321
+ "anonymous": false,
322
+ "inputs": [
323
+ {
324
+ "indexed": true,
325
+ "internalType": "bytes32",
326
+ "name": "role",
327
+ "type": "bytes32"
328
+ },
329
+ {
330
+ "indexed": true,
331
+ "internalType": "address",
332
+ "name": "account",
333
+ "type": "address"
334
+ },
335
+ {
336
+ "indexed": true,
337
+ "internalType": "address",
338
+ "name": "sender",
339
+ "type": "address"
340
+ }
341
+ ],
342
+ "name": "RoleRevoked",
343
+ "type": "event"
344
+ },
345
+ {
346
+ "anonymous": false,
347
+ "inputs": [
348
+ {
349
+ "indexed": true,
350
+ "internalType": "address",
351
+ "name": "sender",
352
+ "type": "address"
353
+ },
354
+ {
355
+ "components": [
356
+ {
357
+ "internalType": "Currency",
358
+ "name": "currency0",
359
+ "type": "address"
360
+ },
361
+ {
362
+ "internalType": "Currency",
363
+ "name": "currency1",
364
+ "type": "address"
365
+ },
366
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
367
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
368
+ {
369
+ "internalType": "contract IHooks",
370
+ "name": "hooks",
371
+ "type": "address"
372
+ }
373
+ ],
374
+ "indexed": false,
375
+ "internalType": "struct PoolKey",
376
+ "name": "key",
377
+ "type": "tuple"
378
+ }
379
+ ],
380
+ "name": "SetPoolKey",
381
+ "type": "event"
382
+ },
383
+ {
384
+ "anonymous": false,
385
+ "inputs": [
386
+ {
387
+ "indexed": true,
388
+ "internalType": "address",
389
+ "name": "sender",
390
+ "type": "address"
391
+ },
392
+ {
393
+ "indexed": false,
394
+ "internalType": "address",
395
+ "name": "master",
396
+ "type": "address"
397
+ }
398
+ ],
399
+ "name": "SetPoolMaster",
400
+ "type": "event"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "DEFAULT_ADMIN_ROLE",
405
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
406
+ "stateMutability": "view",
407
+ "type": "function"
408
+ },
409
+ {
410
+ "inputs": [],
411
+ "name": "FEE_ADMIN_ROLE",
412
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
413
+ "stateMutability": "view",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [
418
+ { "internalType": "address", "name": "sender", "type": "address" },
419
+ {
420
+ "components": [
421
+ {
422
+ "internalType": "Currency",
423
+ "name": "currency0",
424
+ "type": "address"
425
+ },
426
+ {
427
+ "internalType": "Currency",
428
+ "name": "currency1",
429
+ "type": "address"
430
+ },
431
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
432
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
433
+ {
434
+ "internalType": "contract IHooks",
435
+ "name": "hooks",
436
+ "type": "address"
437
+ }
438
+ ],
439
+ "internalType": "struct PoolKey",
440
+ "name": "key",
441
+ "type": "tuple"
442
+ },
443
+ {
444
+ "components": [
445
+ { "internalType": "int24", "name": "tickLower", "type": "int24" },
446
+ { "internalType": "int24", "name": "tickUpper", "type": "int24" },
447
+ {
448
+ "internalType": "int256",
449
+ "name": "liquidityDelta",
450
+ "type": "int256"
451
+ },
452
+ { "internalType": "bytes32", "name": "salt", "type": "bytes32" }
453
+ ],
454
+ "internalType": "struct ModifyLiquidityParams",
455
+ "name": "params",
456
+ "type": "tuple"
457
+ },
458
+ { "internalType": "BalanceDelta", "name": "delta", "type": "int256" },
459
+ {
460
+ "internalType": "BalanceDelta",
461
+ "name": "feesAccrued",
462
+ "type": "int256"
463
+ },
464
+ { "internalType": "bytes", "name": "hookData", "type": "bytes" }
465
+ ],
466
+ "name": "afterAddLiquidity",
467
+ "outputs": [
468
+ { "internalType": "bytes4", "name": "", "type": "bytes4" },
469
+ { "internalType": "BalanceDelta", "name": "", "type": "int256" }
470
+ ],
471
+ "stateMutability": "nonpayable",
472
+ "type": "function"
473
+ },
474
+ {
475
+ "inputs": [
476
+ { "internalType": "address", "name": "sender", "type": "address" },
477
+ {
478
+ "components": [
479
+ {
480
+ "internalType": "Currency",
481
+ "name": "currency0",
482
+ "type": "address"
483
+ },
484
+ {
485
+ "internalType": "Currency",
486
+ "name": "currency1",
487
+ "type": "address"
488
+ },
489
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
490
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
491
+ {
492
+ "internalType": "contract IHooks",
493
+ "name": "hooks",
494
+ "type": "address"
495
+ }
496
+ ],
497
+ "internalType": "struct PoolKey",
498
+ "name": "key",
499
+ "type": "tuple"
500
+ },
501
+ { "internalType": "uint256", "name": "amount0", "type": "uint256" },
502
+ { "internalType": "uint256", "name": "amount1", "type": "uint256" },
503
+ { "internalType": "bytes", "name": "hookData", "type": "bytes" }
504
+ ],
505
+ "name": "afterDonate",
506
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
507
+ "stateMutability": "nonpayable",
508
+ "type": "function"
509
+ },
510
+ {
511
+ "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
512
+ "name": "afterFees",
513
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
514
+ "stateMutability": "view",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [
519
+ { "internalType": "address", "name": "sender", "type": "address" },
520
+ {
521
+ "components": [
522
+ {
523
+ "internalType": "Currency",
524
+ "name": "currency0",
525
+ "type": "address"
526
+ },
527
+ {
528
+ "internalType": "Currency",
529
+ "name": "currency1",
530
+ "type": "address"
531
+ },
532
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
533
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
534
+ {
535
+ "internalType": "contract IHooks",
536
+ "name": "hooks",
537
+ "type": "address"
538
+ }
539
+ ],
540
+ "internalType": "struct PoolKey",
541
+ "name": "key",
542
+ "type": "tuple"
543
+ },
544
+ { "internalType": "uint160", "name": "sqrtPriceX96", "type": "uint160" },
545
+ { "internalType": "int24", "name": "tick", "type": "int24" }
546
+ ],
547
+ "name": "afterInitialize",
548
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
549
+ "stateMutability": "nonpayable",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [
554
+ { "internalType": "address", "name": "sender", "type": "address" },
555
+ {
556
+ "components": [
557
+ {
558
+ "internalType": "Currency",
559
+ "name": "currency0",
560
+ "type": "address"
561
+ },
562
+ {
563
+ "internalType": "Currency",
564
+ "name": "currency1",
565
+ "type": "address"
566
+ },
567
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
568
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
569
+ {
570
+ "internalType": "contract IHooks",
571
+ "name": "hooks",
572
+ "type": "address"
573
+ }
574
+ ],
575
+ "internalType": "struct PoolKey",
576
+ "name": "key",
577
+ "type": "tuple"
578
+ },
579
+ {
580
+ "components": [
581
+ { "internalType": "int24", "name": "tickLower", "type": "int24" },
582
+ { "internalType": "int24", "name": "tickUpper", "type": "int24" },
583
+ {
584
+ "internalType": "int256",
585
+ "name": "liquidityDelta",
586
+ "type": "int256"
587
+ },
588
+ { "internalType": "bytes32", "name": "salt", "type": "bytes32" }
589
+ ],
590
+ "internalType": "struct ModifyLiquidityParams",
591
+ "name": "params",
592
+ "type": "tuple"
593
+ },
594
+ { "internalType": "BalanceDelta", "name": "delta", "type": "int256" },
595
+ {
596
+ "internalType": "BalanceDelta",
597
+ "name": "feesAccrued",
598
+ "type": "int256"
599
+ },
600
+ { "internalType": "bytes", "name": "hookData", "type": "bytes" }
601
+ ],
602
+ "name": "afterRemoveLiquidity",
603
+ "outputs": [
604
+ { "internalType": "bytes4", "name": "", "type": "bytes4" },
605
+ { "internalType": "BalanceDelta", "name": "", "type": "int256" }
606
+ ],
607
+ "stateMutability": "nonpayable",
608
+ "type": "function"
609
+ },
610
+ {
611
+ "inputs": [
612
+ { "internalType": "address", "name": "sender", "type": "address" },
613
+ {
614
+ "components": [
615
+ {
616
+ "internalType": "Currency",
617
+ "name": "currency0",
618
+ "type": "address"
619
+ },
620
+ {
621
+ "internalType": "Currency",
622
+ "name": "currency1",
623
+ "type": "address"
624
+ },
625
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
626
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
627
+ {
628
+ "internalType": "contract IHooks",
629
+ "name": "hooks",
630
+ "type": "address"
631
+ }
632
+ ],
633
+ "internalType": "struct PoolKey",
634
+ "name": "key",
635
+ "type": "tuple"
636
+ },
637
+ {
638
+ "components": [
639
+ { "internalType": "bool", "name": "zeroForOne", "type": "bool" },
640
+ {
641
+ "internalType": "int256",
642
+ "name": "amountSpecified",
643
+ "type": "int256"
644
+ },
645
+ {
646
+ "internalType": "uint160",
647
+ "name": "sqrtPriceLimitX96",
648
+ "type": "uint160"
649
+ }
650
+ ],
651
+ "internalType": "struct SwapParams",
652
+ "name": "params",
653
+ "type": "tuple"
654
+ },
655
+ { "internalType": "BalanceDelta", "name": "delta", "type": "int256" },
656
+ { "internalType": "bytes", "name": "hookData", "type": "bytes" }
657
+ ],
658
+ "name": "afterSwap",
659
+ "outputs": [
660
+ { "internalType": "bytes4", "name": "", "type": "bytes4" },
661
+ { "internalType": "int128", "name": "", "type": "int128" }
662
+ ],
663
+ "stateMutability": "nonpayable",
664
+ "type": "function"
665
+ },
666
+ {
667
+ "inputs": [
668
+ { "internalType": "address", "name": "sender", "type": "address" },
669
+ {
670
+ "components": [
671
+ {
672
+ "internalType": "Currency",
673
+ "name": "currency0",
674
+ "type": "address"
675
+ },
676
+ {
677
+ "internalType": "Currency",
678
+ "name": "currency1",
679
+ "type": "address"
680
+ },
681
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
682
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
683
+ {
684
+ "internalType": "contract IHooks",
685
+ "name": "hooks",
686
+ "type": "address"
687
+ }
688
+ ],
689
+ "internalType": "struct PoolKey",
690
+ "name": "key",
691
+ "type": "tuple"
692
+ },
693
+ {
694
+ "components": [
695
+ { "internalType": "int24", "name": "tickLower", "type": "int24" },
696
+ { "internalType": "int24", "name": "tickUpper", "type": "int24" },
697
+ {
698
+ "internalType": "int256",
699
+ "name": "liquidityDelta",
700
+ "type": "int256"
701
+ },
702
+ { "internalType": "bytes32", "name": "salt", "type": "bytes32" }
703
+ ],
704
+ "internalType": "struct ModifyLiquidityParams",
705
+ "name": "params",
706
+ "type": "tuple"
707
+ },
708
+ { "internalType": "bytes", "name": "hookData", "type": "bytes" }
709
+ ],
710
+ "name": "beforeAddLiquidity",
711
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
712
+ "stateMutability": "nonpayable",
713
+ "type": "function"
714
+ },
715
+ {
716
+ "inputs": [
717
+ { "internalType": "address", "name": "sender", "type": "address" },
718
+ {
719
+ "components": [
720
+ {
721
+ "internalType": "Currency",
722
+ "name": "currency0",
723
+ "type": "address"
724
+ },
725
+ {
726
+ "internalType": "Currency",
727
+ "name": "currency1",
728
+ "type": "address"
729
+ },
730
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
731
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
732
+ {
733
+ "internalType": "contract IHooks",
734
+ "name": "hooks",
735
+ "type": "address"
736
+ }
737
+ ],
738
+ "internalType": "struct PoolKey",
739
+ "name": "key",
740
+ "type": "tuple"
741
+ },
742
+ { "internalType": "uint256", "name": "amount0", "type": "uint256" },
743
+ { "internalType": "uint256", "name": "amount1", "type": "uint256" },
744
+ { "internalType": "bytes", "name": "hookData", "type": "bytes" }
745
+ ],
746
+ "name": "beforeDonate",
747
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
748
+ "stateMutability": "nonpayable",
749
+ "type": "function"
750
+ },
751
+ {
752
+ "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
753
+ "name": "beforeFees",
754
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
755
+ "stateMutability": "view",
756
+ "type": "function"
757
+ },
758
+ {
759
+ "inputs": [
760
+ { "internalType": "address", "name": "sender", "type": "address" },
761
+ {
762
+ "components": [
763
+ {
764
+ "internalType": "Currency",
765
+ "name": "currency0",
766
+ "type": "address"
767
+ },
768
+ {
769
+ "internalType": "Currency",
770
+ "name": "currency1",
771
+ "type": "address"
772
+ },
773
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
774
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
775
+ {
776
+ "internalType": "contract IHooks",
777
+ "name": "hooks",
778
+ "type": "address"
779
+ }
780
+ ],
781
+ "internalType": "struct PoolKey",
782
+ "name": "key",
783
+ "type": "tuple"
784
+ },
785
+ { "internalType": "uint160", "name": "sqrtPriceX96", "type": "uint160" }
786
+ ],
787
+ "name": "beforeInitialize",
788
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
789
+ "stateMutability": "nonpayable",
790
+ "type": "function"
791
+ },
792
+ {
793
+ "inputs": [
794
+ { "internalType": "address", "name": "sender", "type": "address" },
795
+ {
796
+ "components": [
797
+ {
798
+ "internalType": "Currency",
799
+ "name": "currency0",
800
+ "type": "address"
801
+ },
802
+ {
803
+ "internalType": "Currency",
804
+ "name": "currency1",
805
+ "type": "address"
806
+ },
807
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
808
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
809
+ {
810
+ "internalType": "contract IHooks",
811
+ "name": "hooks",
812
+ "type": "address"
813
+ }
814
+ ],
815
+ "internalType": "struct PoolKey",
816
+ "name": "key",
817
+ "type": "tuple"
818
+ },
819
+ {
820
+ "components": [
821
+ { "internalType": "int24", "name": "tickLower", "type": "int24" },
822
+ { "internalType": "int24", "name": "tickUpper", "type": "int24" },
823
+ {
824
+ "internalType": "int256",
825
+ "name": "liquidityDelta",
826
+ "type": "int256"
827
+ },
828
+ { "internalType": "bytes32", "name": "salt", "type": "bytes32" }
829
+ ],
830
+ "internalType": "struct ModifyLiquidityParams",
831
+ "name": "params",
832
+ "type": "tuple"
833
+ },
834
+ { "internalType": "bytes", "name": "hookData", "type": "bytes" }
835
+ ],
836
+ "name": "beforeRemoveLiquidity",
837
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
838
+ "stateMutability": "nonpayable",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [
843
+ { "internalType": "address", "name": "sender", "type": "address" },
844
+ {
845
+ "components": [
846
+ {
847
+ "internalType": "Currency",
848
+ "name": "currency0",
849
+ "type": "address"
850
+ },
851
+ {
852
+ "internalType": "Currency",
853
+ "name": "currency1",
854
+ "type": "address"
855
+ },
856
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
857
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
858
+ {
859
+ "internalType": "contract IHooks",
860
+ "name": "hooks",
861
+ "type": "address"
862
+ }
863
+ ],
864
+ "internalType": "struct PoolKey",
865
+ "name": "key",
866
+ "type": "tuple"
867
+ },
868
+ {
869
+ "components": [
870
+ { "internalType": "bool", "name": "zeroForOne", "type": "bool" },
871
+ {
872
+ "internalType": "int256",
873
+ "name": "amountSpecified",
874
+ "type": "int256"
875
+ },
876
+ {
877
+ "internalType": "uint160",
878
+ "name": "sqrtPriceLimitX96",
879
+ "type": "uint160"
880
+ }
881
+ ],
882
+ "internalType": "struct SwapParams",
883
+ "name": "params",
884
+ "type": "tuple"
885
+ },
886
+ { "internalType": "bytes", "name": "hookData", "type": "bytes" }
887
+ ],
888
+ "name": "beforeSwap",
889
+ "outputs": [
890
+ { "internalType": "bytes4", "name": "", "type": "bytes4" },
891
+ { "internalType": "BeforeSwapDelta", "name": "", "type": "int256" },
892
+ { "internalType": "uint24", "name": "", "type": "uint24" }
893
+ ],
894
+ "stateMutability": "nonpayable",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [
899
+ { "internalType": "uint256", "name": "_tokenId", "type": "uint256" },
900
+ { "internalType": "uint256", "name": "_amount0Min", "type": "uint256" },
901
+ { "internalType": "uint256", "name": "_amount1Min", "type": "uint256" },
902
+ { "internalType": "bool", "name": "_withLock", "type": "bool" }
903
+ ],
904
+ "name": "burnPosition",
905
+ "outputs": [],
906
+ "stateMutability": "nonpayable",
907
+ "type": "function"
908
+ },
909
+ {
910
+ "inputs": [
911
+ { "internalType": "uint256", "name": "_tokenId", "type": "uint256" },
912
+ { "internalType": "uint256", "name": "_liquidity", "type": "uint256" },
913
+ { "internalType": "uint128", "name": "_amount0Max", "type": "uint128" },
914
+ { "internalType": "uint128", "name": "_amount1Max", "type": "uint128" },
915
+ { "internalType": "bool", "name": "_withLock", "type": "bool" }
916
+ ],
917
+ "name": "decreaseLiquidity",
918
+ "outputs": [],
919
+ "stateMutability": "nonpayable",
920
+ "type": "function"
921
+ },
922
+ {
923
+ "inputs": [],
924
+ "name": "defaultFeeBps",
925
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
926
+ "stateMutability": "view",
927
+ "type": "function"
928
+ },
929
+ {
930
+ "inputs": [],
931
+ "name": "feeRecipient",
932
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
933
+ "stateMutability": "view",
934
+ "type": "function"
935
+ },
936
+ {
937
+ "inputs": [],
938
+ "name": "getDefaultFeeBps",
939
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
940
+ "stateMutability": "view",
941
+ "type": "function"
942
+ },
943
+ {
944
+ "inputs": [
945
+ { "internalType": "bytes32", "name": "poolId", "type": "bytes32" }
946
+ ],
947
+ "name": "getFeeBpsForPool",
948
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
949
+ "stateMutability": "view",
950
+ "type": "function"
951
+ },
952
+ {
953
+ "inputs": [],
954
+ "name": "getHookPermissions",
955
+ "outputs": [
956
+ {
957
+ "components": [
958
+ {
959
+ "internalType": "bool",
960
+ "name": "beforeInitialize",
961
+ "type": "bool"
962
+ },
963
+ { "internalType": "bool", "name": "afterInitialize", "type": "bool" },
964
+ {
965
+ "internalType": "bool",
966
+ "name": "beforeAddLiquidity",
967
+ "type": "bool"
968
+ },
969
+ {
970
+ "internalType": "bool",
971
+ "name": "afterAddLiquidity",
972
+ "type": "bool"
973
+ },
974
+ {
975
+ "internalType": "bool",
976
+ "name": "beforeRemoveLiquidity",
977
+ "type": "bool"
978
+ },
979
+ {
980
+ "internalType": "bool",
981
+ "name": "afterRemoveLiquidity",
982
+ "type": "bool"
983
+ },
984
+ { "internalType": "bool", "name": "beforeSwap", "type": "bool" },
985
+ { "internalType": "bool", "name": "afterSwap", "type": "bool" },
986
+ { "internalType": "bool", "name": "beforeDonate", "type": "bool" },
987
+ { "internalType": "bool", "name": "afterDonate", "type": "bool" },
988
+ {
989
+ "internalType": "bool",
990
+ "name": "beforeSwapReturnDelta",
991
+ "type": "bool"
992
+ },
993
+ {
994
+ "internalType": "bool",
995
+ "name": "afterSwapReturnDelta",
996
+ "type": "bool"
997
+ },
998
+ {
999
+ "internalType": "bool",
1000
+ "name": "afterAddLiquidityReturnDelta",
1001
+ "type": "bool"
1002
+ },
1003
+ {
1004
+ "internalType": "bool",
1005
+ "name": "afterRemoveLiquidityReturnDelta",
1006
+ "type": "bool"
1007
+ }
1008
+ ],
1009
+ "internalType": "struct Hooks.Permissions",
1010
+ "name": "",
1011
+ "type": "tuple"
1012
+ }
1013
+ ],
1014
+ "stateMutability": "pure",
1015
+ "type": "function"
1016
+ },
1017
+ {
1018
+ "inputs": [{ "internalType": "uint256", "name": "_id", "type": "uint256" }],
1019
+ "name": "getPosition",
1020
+ "outputs": [
1021
+ {
1022
+ "components": [
1023
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
1024
+ { "internalType": "int24", "name": "lowTick", "type": "int24" },
1025
+ { "internalType": "int24", "name": "upperTick", "type": "int24" }
1026
+ ],
1027
+ "internalType": "struct IFeeHook.PositionInfo",
1028
+ "name": "",
1029
+ "type": "tuple"
1030
+ }
1031
+ ],
1032
+ "stateMutability": "view",
1033
+ "type": "function"
1034
+ },
1035
+ {
1036
+ "inputs": [],
1037
+ "name": "getRecipient",
1038
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
1039
+ "stateMutability": "view",
1040
+ "type": "function"
1041
+ },
1042
+ {
1043
+ "inputs": [
1044
+ { "internalType": "bytes32", "name": "role", "type": "bytes32" }
1045
+ ],
1046
+ "name": "getRoleAdmin",
1047
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
1048
+ "stateMutability": "view",
1049
+ "type": "function"
1050
+ },
1051
+ {
1052
+ "inputs": [
1053
+ { "internalType": "bytes32", "name": "role", "type": "bytes32" },
1054
+ { "internalType": "address", "name": "account", "type": "address" }
1055
+ ],
1056
+ "name": "grantRole",
1057
+ "outputs": [],
1058
+ "stateMutability": "nonpayable",
1059
+ "type": "function"
1060
+ },
1061
+ {
1062
+ "inputs": [
1063
+ { "internalType": "bytes32", "name": "role", "type": "bytes32" },
1064
+ { "internalType": "address", "name": "account", "type": "address" }
1065
+ ],
1066
+ "name": "hasRole",
1067
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1068
+ "stateMutability": "view",
1069
+ "type": "function"
1070
+ },
1071
+ {
1072
+ "inputs": [
1073
+ { "internalType": "uint256", "name": "_tokenId", "type": "uint256" },
1074
+ { "internalType": "uint256", "name": "_liquidity", "type": "uint256" },
1075
+ { "internalType": "uint128", "name": "_amount0Max", "type": "uint128" },
1076
+ { "internalType": "uint128", "name": "_amount1Max", "type": "uint128" },
1077
+ { "internalType": "bool", "name": "_withLock", "type": "bool" }
1078
+ ],
1079
+ "name": "increaseLiquidity",
1080
+ "outputs": [],
1081
+ "stateMutability": "nonpayable",
1082
+ "type": "function"
1083
+ },
1084
+ {
1085
+ "inputs": [
1086
+ { "internalType": "int24", "name": "_tickLower", "type": "int24" },
1087
+ { "internalType": "int24", "name": "_tickUpper", "type": "int24" },
1088
+ { "internalType": "uint256", "name": "_liquidity", "type": "uint256" },
1089
+ { "internalType": "uint128", "name": "_amount0Max", "type": "uint128" },
1090
+ { "internalType": "uint128", "name": "_amount1Max", "type": "uint128" },
1091
+ { "internalType": "bool", "name": "_withLock", "type": "bool" }
1092
+ ],
1093
+ "name": "mintPosition",
1094
+ "outputs": [],
1095
+ "stateMutability": "nonpayable",
1096
+ "type": "function"
1097
+ },
1098
+ {
1099
+ "inputs": [],
1100
+ "name": "permit2",
1101
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
1102
+ "stateMutability": "view",
1103
+ "type": "function"
1104
+ },
1105
+ {
1106
+ "inputs": [],
1107
+ "name": "poolKey",
1108
+ "outputs": [
1109
+ { "internalType": "Currency", "name": "currency0", "type": "address" },
1110
+ { "internalType": "Currency", "name": "currency1", "type": "address" },
1111
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
1112
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
1113
+ { "internalType": "contract IHooks", "name": "hooks", "type": "address" }
1114
+ ],
1115
+ "stateMutability": "view",
1116
+ "type": "function"
1117
+ },
1118
+ {
1119
+ "inputs": [],
1120
+ "name": "poolManager",
1121
+ "outputs": [
1122
+ { "internalType": "contract IPoolManager", "name": "", "type": "address" }
1123
+ ],
1124
+ "stateMutability": "view",
1125
+ "type": "function"
1126
+ },
1127
+ {
1128
+ "inputs": [],
1129
+ "name": "poolMaster",
1130
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
1131
+ "stateMutability": "view",
1132
+ "type": "function"
1133
+ },
1134
+ {
1135
+ "inputs": [],
1136
+ "name": "positionManager",
1137
+ "outputs": [
1138
+ {
1139
+ "internalType": "contract IPositionManager",
1140
+ "name": "",
1141
+ "type": "address"
1142
+ }
1143
+ ],
1144
+ "stateMutability": "view",
1145
+ "type": "function"
1146
+ },
1147
+ {
1148
+ "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
1149
+ "name": "positions",
1150
+ "outputs": [
1151
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
1152
+ { "internalType": "int24", "name": "lowTick", "type": "int24" },
1153
+ { "internalType": "int24", "name": "upperTick", "type": "int24" }
1154
+ ],
1155
+ "stateMutability": "view",
1156
+ "type": "function"
1157
+ },
1158
+ {
1159
+ "inputs": [
1160
+ {
1161
+ "components": [
1162
+ {
1163
+ "internalType": "Currency",
1164
+ "name": "currency0",
1165
+ "type": "address"
1166
+ },
1167
+ {
1168
+ "internalType": "Currency",
1169
+ "name": "currency1",
1170
+ "type": "address"
1171
+ },
1172
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
1173
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
1174
+ {
1175
+ "internalType": "contract IHooks",
1176
+ "name": "hooks",
1177
+ "type": "address"
1178
+ }
1179
+ ],
1180
+ "internalType": "struct PoolKey",
1181
+ "name": "key",
1182
+ "type": "tuple"
1183
+ }
1184
+ ],
1185
+ "name": "removePoolFee",
1186
+ "outputs": [],
1187
+ "stateMutability": "nonpayable",
1188
+ "type": "function"
1189
+ },
1190
+ {
1191
+ "inputs": [
1192
+ { "internalType": "bytes32", "name": "role", "type": "bytes32" },
1193
+ {
1194
+ "internalType": "address",
1195
+ "name": "callerConfirmation",
1196
+ "type": "address"
1197
+ }
1198
+ ],
1199
+ "name": "renounceRole",
1200
+ "outputs": [],
1201
+ "stateMutability": "nonpayable",
1202
+ "type": "function"
1203
+ },
1204
+ {
1205
+ "inputs": [
1206
+ { "internalType": "address payable", "name": "_to", "type": "address" },
1207
+ { "internalType": "uint256", "name": "_amount", "type": "uint256" }
1208
+ ],
1209
+ "name": "rescue",
1210
+ "outputs": [],
1211
+ "stateMutability": "nonpayable",
1212
+ "type": "function"
1213
+ },
1214
+ {
1215
+ "inputs": [
1216
+ { "internalType": "bytes32", "name": "role", "type": "bytes32" },
1217
+ { "internalType": "address", "name": "account", "type": "address" }
1218
+ ],
1219
+ "name": "revokeRole",
1220
+ "outputs": [],
1221
+ "stateMutability": "nonpayable",
1222
+ "type": "function"
1223
+ },
1224
+ {
1225
+ "inputs": [
1226
+ { "internalType": "uint256", "name": "_bps", "type": "uint256" }
1227
+ ],
1228
+ "name": "setDefaultFeeBps",
1229
+ "outputs": [],
1230
+ "stateMutability": "nonpayable",
1231
+ "type": "function"
1232
+ },
1233
+ {
1234
+ "inputs": [
1235
+ { "internalType": "address", "name": "_recipient", "type": "address" }
1236
+ ],
1237
+ "name": "setFeeRecipient",
1238
+ "outputs": [],
1239
+ "stateMutability": "nonpayable",
1240
+ "type": "function"
1241
+ },
1242
+ {
1243
+ "inputs": [
1244
+ {
1245
+ "components": [
1246
+ {
1247
+ "internalType": "Currency",
1248
+ "name": "currency0",
1249
+ "type": "address"
1250
+ },
1251
+ {
1252
+ "internalType": "Currency",
1253
+ "name": "currency1",
1254
+ "type": "address"
1255
+ },
1256
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
1257
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
1258
+ {
1259
+ "internalType": "contract IHooks",
1260
+ "name": "hooks",
1261
+ "type": "address"
1262
+ }
1263
+ ],
1264
+ "internalType": "struct PoolKey",
1265
+ "name": "key",
1266
+ "type": "tuple"
1267
+ },
1268
+ { "internalType": "uint256", "name": "_beforeBps", "type": "uint256" },
1269
+ { "internalType": "uint256", "name": "_afterBps", "type": "uint256" }
1270
+ ],
1271
+ "name": "setPoolFees",
1272
+ "outputs": [],
1273
+ "stateMutability": "nonpayable",
1274
+ "type": "function"
1275
+ },
1276
+ {
1277
+ "inputs": [
1278
+ {
1279
+ "components": [
1280
+ {
1281
+ "internalType": "Currency",
1282
+ "name": "currency0",
1283
+ "type": "address"
1284
+ },
1285
+ {
1286
+ "internalType": "Currency",
1287
+ "name": "currency1",
1288
+ "type": "address"
1289
+ },
1290
+ { "internalType": "uint24", "name": "fee", "type": "uint24" },
1291
+ { "internalType": "int24", "name": "tickSpacing", "type": "int24" },
1292
+ {
1293
+ "internalType": "contract IHooks",
1294
+ "name": "hooks",
1295
+ "type": "address"
1296
+ }
1297
+ ],
1298
+ "internalType": "struct PoolKey",
1299
+ "name": "_key",
1300
+ "type": "tuple"
1301
+ }
1302
+ ],
1303
+ "name": "setPoolKey",
1304
+ "outputs": [],
1305
+ "stateMutability": "nonpayable",
1306
+ "type": "function"
1307
+ },
1308
+ {
1309
+ "inputs": [
1310
+ { "internalType": "address", "name": "_master", "type": "address" }
1311
+ ],
1312
+ "name": "setPoolMaster",
1313
+ "outputs": [],
1314
+ "stateMutability": "nonpayable",
1315
+ "type": "function"
1316
+ },
1317
+ {
1318
+ "inputs": [
1319
+ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }
1320
+ ],
1321
+ "name": "supportsInterface",
1322
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1323
+ "stateMutability": "view",
1324
+ "type": "function"
1325
+ },
1326
+ {
1327
+ "inputs": [
1328
+ { "internalType": "address", "name": "token", "type": "address" }
1329
+ ],
1330
+ "name": "withdrawFees",
1331
+ "outputs": [],
1332
+ "stateMutability": "nonpayable",
1333
+ "type": "function"
1334
+ }
1335
+ ]