@pancakeswap/infinity-sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +12 -0
  3. package/dist/abis/BinMigratorAbi.d.ts +652 -0
  4. package/dist/abis/BinMigratorAbi.d.ts.map +1 -0
  5. package/dist/abis/BinPoolManagerAbi.d.ts +1184 -0
  6. package/dist/abis/BinPoolManagerAbi.d.ts.map +1 -0
  7. package/dist/abis/BinPositionManagerAbi.d.ts +667 -0
  8. package/dist/abis/BinPositionManagerAbi.d.ts.map +1 -0
  9. package/dist/abis/BinQuoterAbi.d.ts +644 -0
  10. package/dist/abis/BinQuoterAbi.d.ts.map +1 -0
  11. package/dist/abis/CLMigratorAbi.d.ts +650 -0
  12. package/dist/abis/CLMigratorAbi.d.ts.map +1 -0
  13. package/dist/abis/CLPoolManagerAbi.d.ts +1075 -0
  14. package/dist/abis/CLPoolManagerAbi.d.ts.map +1 -0
  15. package/dist/abis/CLPositionManagerAbi.d.ts +1130 -0
  16. package/dist/abis/CLPositionManagerAbi.d.ts.map +1 -0
  17. package/dist/abis/CLQuoterAbi.d.ts +644 -0
  18. package/dist/abis/CLQuoterAbi.d.ts.map +1 -0
  19. package/dist/abis/FarmingOffChainAbi.d.ts +982 -0
  20. package/dist/abis/FarmingOffChainAbi.d.ts.map +1 -0
  21. package/dist/abis/FarmingOffChainCLHelperAbi.d.ts +40 -0
  22. package/dist/abis/FarmingOffChainCLHelperAbi.d.ts.map +1 -0
  23. package/dist/abis/MixedQuoterAbi.d.ts +347 -0
  24. package/dist/abis/MixedQuoterAbi.d.ts.map +1 -0
  25. package/dist/abis/Permit2ForwardAbi.d.ts +124 -0
  26. package/dist/abis/Permit2ForwardAbi.d.ts.map +1 -0
  27. package/dist/abis/ProtocolFeeControllerAbi.d.ts +276 -0
  28. package/dist/abis/ProtocolFeeControllerAbi.d.ts.map +1 -0
  29. package/dist/abis/VaultAbi.d.ts +669 -0
  30. package/dist/abis/VaultAbi.d.ts.map +1 -0
  31. package/dist/abis/index.d.ts +15 -0
  32. package/dist/abis/index.d.ts.map +1 -0
  33. package/dist/constants/abiStructFragments.d.ts +15 -0
  34. package/dist/constants/abiStructFragments.d.ts.map +1 -0
  35. package/dist/constants/actions.d.ts +43 -0
  36. package/dist/constants/actions.d.ts.map +1 -0
  37. package/dist/constants/actionsAbiParameters.d.ts +244 -0
  38. package/dist/constants/actionsAbiParameters.d.ts.map +1 -0
  39. package/dist/constants/addresses.d.ts +22 -0
  40. package/dist/constants/addresses.d.ts.map +1 -0
  41. package/dist/constants/binPool.d.ts +11 -0
  42. package/dist/constants/binPool.d.ts.map +1 -0
  43. package/dist/constants/fee.d.ts +21 -0
  44. package/dist/constants/fee.d.ts.map +1 -0
  45. package/dist/constants/hooksList/bsc.d.ts +8 -0
  46. package/dist/constants/hooksList/bsc.d.ts.map +1 -0
  47. package/dist/constants/hooksList/bscTestnet.d.ts +21 -0
  48. package/dist/constants/hooksList/bscTestnet.d.ts.map +1 -0
  49. package/dist/constants/hooksList/dynamicFeeHook.d.ts +15 -0
  50. package/dist/constants/hooksList/dynamicFeeHook.d.ts.map +1 -0
  51. package/dist/constants/hooksList/index.d.ts +14 -0
  52. package/dist/constants/hooksList/index.d.ts.map +1 -0
  53. package/dist/constants/index.d.ts +11 -0
  54. package/dist/constants/index.d.ts.map +1 -0
  55. package/dist/constants/internalConstants.d.ts +11 -0
  56. package/dist/constants/internalConstants.d.ts.map +1 -0
  57. package/dist/entities/index.d.ts +2 -0
  58. package/dist/entities/index.d.ts.map +1 -0
  59. package/dist/entities/pool.d.ts +104 -0
  60. package/dist/entities/pool.d.ts.map +1 -0
  61. package/dist/functions/bin/addBinLiquidityMulticall.d.ts +22 -0
  62. package/dist/functions/bin/addBinLiquidityMulticall.d.ts.map +1 -0
  63. package/dist/functions/bin/calldatas/addLiquidity.d.ts +18 -0
  64. package/dist/functions/bin/calldatas/addLiquidity.d.ts.map +1 -0
  65. package/dist/functions/bin/calldatas/index.d.ts +7 -0
  66. package/dist/functions/bin/calldatas/index.d.ts.map +1 -0
  67. package/dist/functions/bin/calldatas/initializePool.d.ts +3 -0
  68. package/dist/functions/bin/calldatas/initializePool.d.ts.map +1 -0
  69. package/dist/functions/bin/calldatas/liquidity.d.ts +1 -0
  70. package/dist/functions/bin/calldatas/liquidity.d.ts.map +1 -0
  71. package/dist/functions/bin/calldatas/mint.d.ts +15 -0
  72. package/dist/functions/bin/calldatas/mint.d.ts.map +1 -0
  73. package/dist/functions/bin/calldatas/modifyLiquidities.d.ts +3 -0
  74. package/dist/functions/bin/calldatas/modifyLiquidities.d.ts.map +1 -0
  75. package/dist/functions/bin/calldatas/removeLiquidity.d.ts +15 -0
  76. package/dist/functions/bin/calldatas/removeLiquidity.d.ts.map +1 -0
  77. package/dist/functions/bin/calldatas/swap.d.ts +4 -0
  78. package/dist/functions/bin/calldatas/swap.d.ts.map +1 -0
  79. package/dist/functions/bin/createBinPool.d.ts +62 -0
  80. package/dist/functions/bin/createBinPool.d.ts.map +1 -0
  81. package/dist/functions/bin/decodeBinAmount.d.ts +16 -0
  82. package/dist/functions/bin/decodeBinAmount.d.ts.map +1 -0
  83. package/dist/functions/bin/getAmounts.d.ts +26 -0
  84. package/dist/functions/bin/getAmounts.d.ts.map +1 -0
  85. package/dist/functions/bin/getBinLiquidityConfigs.d.ts +7 -0
  86. package/dist/functions/bin/getBinLiquidityConfigs.d.ts.map +1 -0
  87. package/dist/functions/bin/getBinPoolTokenPrice.d.ts +4 -0
  88. package/dist/functions/bin/getBinPoolTokenPrice.d.ts.map +1 -0
  89. package/dist/functions/bin/getExternalFeeAmt.d.ts +6 -0
  90. package/dist/functions/bin/getExternalFeeAmt.d.ts.map +1 -0
  91. package/dist/functions/bin/getFeeAmount.d.ts +8 -0
  92. package/dist/functions/bin/getFeeAmount.d.ts.map +1 -0
  93. package/dist/functions/bin/getFeeAmountFrom.d.ts +9 -0
  94. package/dist/functions/bin/getFeeAmountFrom.d.ts.map +1 -0
  95. package/dist/functions/bin/getIdFromPrice.d.ts +11 -0
  96. package/dist/functions/bin/getIdFromPrice.d.ts.map +1 -0
  97. package/dist/functions/bin/getIdSlippage.d.ts +2 -0
  98. package/dist/functions/bin/getIdSlippage.d.ts.map +1 -0
  99. package/dist/functions/bin/getLiquidityShape.d.ts +32 -0
  100. package/dist/functions/bin/getLiquidityShape.d.ts.map +1 -0
  101. package/dist/functions/bin/getNextNonEmptyBin.d.ts +15 -0
  102. package/dist/functions/bin/getNextNonEmptyBin.d.ts.map +1 -0
  103. package/dist/functions/bin/getPriceFromId.d.ts +13 -0
  104. package/dist/functions/bin/getPriceFromId.d.ts.map +1 -0
  105. package/dist/functions/bin/index.d.ts +17 -0
  106. package/dist/functions/bin/index.d.ts.map +1 -0
  107. package/dist/functions/bin/liquidityConfigs.d.ts +15 -0
  108. package/dist/functions/bin/liquidityConfigs.d.ts.map +1 -0
  109. package/dist/functions/bin/parseReserveOfBin.d.ts +11 -0
  110. package/dist/functions/bin/parseReserveOfBin.d.ts.map +1 -0
  111. package/dist/functions/bin/priceConvert.d.ts +3 -0
  112. package/dist/functions/bin/priceConvert.d.ts.map +1 -0
  113. package/dist/functions/bin/swap.d.ts +20 -0
  114. package/dist/functions/bin/swap.d.ts.map +1 -0
  115. package/dist/functions/clamm/addCLLiquidityMulticall.d.ts +18 -0
  116. package/dist/functions/clamm/addCLLiquidityMulticall.d.ts.map +1 -0
  117. package/dist/functions/clamm/calldatas/burn.d.ts +4 -0
  118. package/dist/functions/clamm/calldatas/burn.d.ts.map +1 -0
  119. package/dist/functions/clamm/calldatas/claim.d.ts +9 -0
  120. package/dist/functions/clamm/calldatas/claim.d.ts.map +1 -0
  121. package/dist/functions/clamm/calldatas/decreaseLiquidity.d.ts +14 -0
  122. package/dist/functions/clamm/calldatas/decreaseLiquidity.d.ts.map +1 -0
  123. package/dist/functions/clamm/calldatas/donate.d.ts +4 -0
  124. package/dist/functions/clamm/calldatas/donate.d.ts.map +1 -0
  125. package/dist/functions/clamm/calldatas/increaseLiquidity.d.ts +4 -0
  126. package/dist/functions/clamm/calldatas/increaseLiquidity.d.ts.map +1 -0
  127. package/dist/functions/clamm/calldatas/index.d.ts +12 -0
  128. package/dist/functions/clamm/calldatas/index.d.ts.map +1 -0
  129. package/dist/functions/clamm/calldatas/initialize.d.ts +3 -0
  130. package/dist/functions/clamm/calldatas/initialize.d.ts.map +1 -0
  131. package/dist/functions/clamm/calldatas/initializePool.d.ts +3 -0
  132. package/dist/functions/clamm/calldatas/initializePool.d.ts.map +1 -0
  133. package/dist/functions/clamm/calldatas/mint.d.ts +4 -0
  134. package/dist/functions/clamm/calldatas/mint.d.ts.map +1 -0
  135. package/dist/functions/clamm/calldatas/modifyLiquidities.d.ts +3 -0
  136. package/dist/functions/clamm/calldatas/modifyLiquidities.d.ts.map +1 -0
  137. package/dist/functions/clamm/calldatas/modifyLiquidity.d.ts +10 -0
  138. package/dist/functions/clamm/calldatas/modifyLiquidity.d.ts.map +1 -0
  139. package/dist/functions/clamm/calldatas/swap.d.ts +9 -0
  140. package/dist/functions/clamm/calldatas/swap.d.ts.map +1 -0
  141. package/dist/functions/clamm/getCLPool.d.ts +6 -0
  142. package/dist/functions/clamm/getCLPool.d.ts.map +1 -0
  143. package/dist/functions/clamm/index.d.ts +5 -0
  144. package/dist/functions/clamm/index.d.ts.map +1 -0
  145. package/dist/functions/getPool.d.ts +19 -0
  146. package/dist/functions/getPool.d.ts.map +1 -0
  147. package/dist/functions/hooks/index.d.ts +2 -0
  148. package/dist/functions/hooks/index.d.ts.map +1 -0
  149. package/dist/functions/hooks/isDynamicFeeHook.d.ts +5 -0
  150. package/dist/functions/hooks/isDynamicFeeHook.d.ts.map +1 -0
  151. package/dist/functions/index.d.ts +5 -0
  152. package/dist/functions/index.d.ts.map +1 -0
  153. package/dist/functions/tick.d.ts +3 -0
  154. package/dist/functions/tick.d.ts.map +1 -0
  155. package/dist/index.d.ts +7 -0
  156. package/dist/index.d.ts.map +1 -0
  157. package/dist/index.js +7578 -0
  158. package/dist/index.mjs +7430 -0
  159. package/dist/types.d.ts +183 -0
  160. package/dist/types.d.ts.map +1 -0
  161. package/dist/utils/ActionsPlanner.d.ts +32 -0
  162. package/dist/utils/ActionsPlanner.d.ts.map +1 -0
  163. package/dist/utils/calculateSwapFee.d.ts +11 -0
  164. package/dist/utils/calculateSwapFee.d.ts.map +1 -0
  165. package/dist/utils/convertBinIdsToRelative.d.ts +12 -0
  166. package/dist/utils/convertBinIdsToRelative.d.ts.map +1 -0
  167. package/dist/utils/decodeHooksRegistration.d.ts +4 -0
  168. package/dist/utils/decodeHooksRegistration.d.ts.map +1 -0
  169. package/dist/utils/decodePoolKey.d.ts +3 -0
  170. package/dist/utils/decodePoolKey.d.ts.map +1 -0
  171. package/dist/utils/decodePoolParameters.d.ts +4 -0
  172. package/dist/utils/decodePoolParameters.d.ts.map +1 -0
  173. package/dist/utils/encodeHooksRegistration.d.ts +4 -0
  174. package/dist/utils/encodeHooksRegistration.d.ts.map +1 -0
  175. package/dist/utils/encodeMulticall.d.ts +3 -0
  176. package/dist/utils/encodeMulticall.d.ts.map +1 -0
  177. package/dist/utils/encodePermit2.d.ts +6 -0
  178. package/dist/utils/encodePermit2.d.ts.map +1 -0
  179. package/dist/utils/encodePoolKey.d.ts +9 -0
  180. package/dist/utils/encodePoolKey.d.ts.map +1 -0
  181. package/dist/utils/encodePoolParameters.d.ts +5 -0
  182. package/dist/utils/encodePoolParameters.d.ts.map +1 -0
  183. package/dist/utils/getAddLiquidityParameters.d.ts +66 -0
  184. package/dist/utils/getAddLiquidityParameters.d.ts.map +1 -0
  185. package/dist/utils/getBinIds.d.ts +9 -0
  186. package/dist/utils/getBinIds.d.ts.map +1 -0
  187. package/dist/utils/getIsInitializedByPoolKey.d.ts +4 -0
  188. package/dist/utils/getIsInitializedByPoolKey.d.ts.map +1 -0
  189. package/dist/utils/getPoolId.d.ts +10 -0
  190. package/dist/utils/getPoolId.d.ts.map +1 -0
  191. package/dist/utils/index.d.ts +17 -0
  192. package/dist/utils/index.d.ts.map +1 -0
  193. package/dist/utils/isInfinitySupported.d.ts +6 -0
  194. package/dist/utils/isInfinitySupported.d.ts.map +1 -0
  195. package/dist/utils/math/TreeMath.d.ts +12 -0
  196. package/dist/utils/math/TreeMath.d.ts.map +1 -0
  197. package/dist/utils/math/index.d.ts +4 -0
  198. package/dist/utils/math/index.d.ts.map +1 -0
  199. package/dist/utils/math/mulShift.d.ts +3 -0
  200. package/dist/utils/math/mulShift.d.ts.map +1 -0
  201. package/dist/utils/math/shiftDiv.d.ts +3 -0
  202. package/dist/utils/math/shiftDiv.d.ts.map +1 -0
  203. package/dist/utils/parseProtocolFee.d.ts +4 -0
  204. package/dist/utils/parseProtocolFee.d.ts.map +1 -0
  205. package/dist/utils/poolIdToPoolKey.d.ts +17 -0
  206. package/dist/utils/poolIdToPoolKey.d.ts.map +1 -0
  207. package/package.json +58 -0
@@ -0,0 +1,1075 @@
1
+ export declare const CLPoolManagerAbi: readonly [{
2
+ readonly type: "constructor";
3
+ readonly inputs: readonly [{
4
+ readonly name: "_vault";
5
+ readonly type: "address";
6
+ readonly internalType: "contract IVault";
7
+ }];
8
+ readonly stateMutability: "nonpayable";
9
+ }, {
10
+ readonly type: "function";
11
+ readonly name: "collectProtocolFees";
12
+ readonly inputs: readonly [{
13
+ readonly name: "recipient";
14
+ readonly type: "address";
15
+ readonly internalType: "address";
16
+ }, {
17
+ readonly name: "currency";
18
+ readonly type: "address";
19
+ readonly internalType: "Currency";
20
+ }, {
21
+ readonly name: "amount";
22
+ readonly type: "uint256";
23
+ readonly internalType: "uint256";
24
+ }];
25
+ readonly outputs: readonly [{
26
+ readonly name: "amountCollected";
27
+ readonly type: "uint256";
28
+ readonly internalType: "uint256";
29
+ }];
30
+ readonly stateMutability: "nonpayable";
31
+ }, {
32
+ readonly type: "function";
33
+ readonly name: "donate";
34
+ readonly inputs: readonly [{
35
+ readonly name: "key";
36
+ readonly type: "tuple";
37
+ readonly internalType: "struct PoolKey";
38
+ readonly components: readonly [{
39
+ readonly name: "currency0";
40
+ readonly type: "address";
41
+ readonly internalType: "Currency";
42
+ }, {
43
+ readonly name: "currency1";
44
+ readonly type: "address";
45
+ readonly internalType: "Currency";
46
+ }, {
47
+ readonly name: "hooks";
48
+ readonly type: "address";
49
+ readonly internalType: "contract IHooks";
50
+ }, {
51
+ readonly name: "poolManager";
52
+ readonly type: "address";
53
+ readonly internalType: "contract IPoolManager";
54
+ }, {
55
+ readonly name: "fee";
56
+ readonly type: "uint24";
57
+ readonly internalType: "uint24";
58
+ }, {
59
+ readonly name: "parameters";
60
+ readonly type: "bytes32";
61
+ readonly internalType: "bytes32";
62
+ }];
63
+ }, {
64
+ readonly name: "amount0";
65
+ readonly type: "uint256";
66
+ readonly internalType: "uint256";
67
+ }, {
68
+ readonly name: "amount1";
69
+ readonly type: "uint256";
70
+ readonly internalType: "uint256";
71
+ }, {
72
+ readonly name: "hookData";
73
+ readonly type: "bytes";
74
+ readonly internalType: "bytes";
75
+ }];
76
+ readonly outputs: readonly [{
77
+ readonly name: "delta";
78
+ readonly type: "int256";
79
+ readonly internalType: "BalanceDelta";
80
+ }];
81
+ readonly stateMutability: "nonpayable";
82
+ }, {
83
+ readonly type: "function";
84
+ readonly name: "extsload";
85
+ readonly inputs: readonly [{
86
+ readonly name: "slot";
87
+ readonly type: "bytes32";
88
+ readonly internalType: "bytes32";
89
+ }];
90
+ readonly outputs: readonly [{
91
+ readonly name: "";
92
+ readonly type: "bytes32";
93
+ readonly internalType: "bytes32";
94
+ }];
95
+ readonly stateMutability: "view";
96
+ }, {
97
+ readonly type: "function";
98
+ readonly name: "extsload";
99
+ readonly inputs: readonly [{
100
+ readonly name: "slots";
101
+ readonly type: "bytes32[]";
102
+ readonly internalType: "bytes32[]";
103
+ }];
104
+ readonly outputs: readonly [{
105
+ readonly name: "";
106
+ readonly type: "bytes32[]";
107
+ readonly internalType: "bytes32[]";
108
+ }];
109
+ readonly stateMutability: "view";
110
+ }, {
111
+ readonly type: "function";
112
+ readonly name: "getFeeGrowthGlobals";
113
+ readonly inputs: readonly [{
114
+ readonly name: "id";
115
+ readonly type: "bytes32";
116
+ readonly internalType: "PoolId";
117
+ }];
118
+ readonly outputs: readonly [{
119
+ readonly name: "feeGrowthGlobal0x128";
120
+ readonly type: "uint256";
121
+ readonly internalType: "uint256";
122
+ }, {
123
+ readonly name: "feeGrowthGlobal1x128";
124
+ readonly type: "uint256";
125
+ readonly internalType: "uint256";
126
+ }];
127
+ readonly stateMutability: "view";
128
+ }, {
129
+ readonly type: "function";
130
+ readonly name: "getLiquidity";
131
+ readonly inputs: readonly [{
132
+ readonly name: "id";
133
+ readonly type: "bytes32";
134
+ readonly internalType: "PoolId";
135
+ }, {
136
+ readonly name: "_owner";
137
+ readonly type: "address";
138
+ readonly internalType: "address";
139
+ }, {
140
+ readonly name: "tickLower";
141
+ readonly type: "int24";
142
+ readonly internalType: "int24";
143
+ }, {
144
+ readonly name: "tickUpper";
145
+ readonly type: "int24";
146
+ readonly internalType: "int24";
147
+ }, {
148
+ readonly name: "salt";
149
+ readonly type: "bytes32";
150
+ readonly internalType: "bytes32";
151
+ }];
152
+ readonly outputs: readonly [{
153
+ readonly name: "liquidity";
154
+ readonly type: "uint128";
155
+ readonly internalType: "uint128";
156
+ }];
157
+ readonly stateMutability: "view";
158
+ }, {
159
+ readonly type: "function";
160
+ readonly name: "getLiquidity";
161
+ readonly inputs: readonly [{
162
+ readonly name: "id";
163
+ readonly type: "bytes32";
164
+ readonly internalType: "PoolId";
165
+ }];
166
+ readonly outputs: readonly [{
167
+ readonly name: "liquidity";
168
+ readonly type: "uint128";
169
+ readonly internalType: "uint128";
170
+ }];
171
+ readonly stateMutability: "view";
172
+ }, {
173
+ readonly type: "function";
174
+ readonly name: "getPoolBitmapInfo";
175
+ readonly inputs: readonly [{
176
+ readonly name: "id";
177
+ readonly type: "bytes32";
178
+ readonly internalType: "PoolId";
179
+ }, {
180
+ readonly name: "word";
181
+ readonly type: "int16";
182
+ readonly internalType: "int16";
183
+ }];
184
+ readonly outputs: readonly [{
185
+ readonly name: "tickBitmap";
186
+ readonly type: "uint256";
187
+ readonly internalType: "uint256";
188
+ }];
189
+ readonly stateMutability: "view";
190
+ }, {
191
+ readonly type: "function";
192
+ readonly name: "getPoolTickInfo";
193
+ readonly inputs: readonly [{
194
+ readonly name: "id";
195
+ readonly type: "bytes32";
196
+ readonly internalType: "PoolId";
197
+ }, {
198
+ readonly name: "tick";
199
+ readonly type: "int24";
200
+ readonly internalType: "int24";
201
+ }];
202
+ readonly outputs: readonly [{
203
+ readonly name: "";
204
+ readonly type: "tuple";
205
+ readonly internalType: "struct Tick.Info";
206
+ readonly components: readonly [{
207
+ readonly name: "liquidityGross";
208
+ readonly type: "uint128";
209
+ readonly internalType: "uint128";
210
+ }, {
211
+ readonly name: "liquidityNet";
212
+ readonly type: "int128";
213
+ readonly internalType: "int128";
214
+ }, {
215
+ readonly name: "feeGrowthOutside0X128";
216
+ readonly type: "uint256";
217
+ readonly internalType: "uint256";
218
+ }, {
219
+ readonly name: "feeGrowthOutside1X128";
220
+ readonly type: "uint256";
221
+ readonly internalType: "uint256";
222
+ }];
223
+ }];
224
+ readonly stateMutability: "view";
225
+ }, {
226
+ readonly type: "function";
227
+ readonly name: "getPosition";
228
+ readonly inputs: readonly [{
229
+ readonly name: "id";
230
+ readonly type: "bytes32";
231
+ readonly internalType: "PoolId";
232
+ }, {
233
+ readonly name: "owner";
234
+ readonly type: "address";
235
+ readonly internalType: "address";
236
+ }, {
237
+ readonly name: "tickLower";
238
+ readonly type: "int24";
239
+ readonly internalType: "int24";
240
+ }, {
241
+ readonly name: "tickUpper";
242
+ readonly type: "int24";
243
+ readonly internalType: "int24";
244
+ }, {
245
+ readonly name: "salt";
246
+ readonly type: "bytes32";
247
+ readonly internalType: "bytes32";
248
+ }];
249
+ readonly outputs: readonly [{
250
+ readonly name: "position";
251
+ readonly type: "tuple";
252
+ readonly internalType: "struct CLPosition.Info";
253
+ readonly components: readonly [{
254
+ readonly name: "liquidity";
255
+ readonly type: "uint128";
256
+ readonly internalType: "uint128";
257
+ }, {
258
+ readonly name: "feeGrowthInside0LastX128";
259
+ readonly type: "uint256";
260
+ readonly internalType: "uint256";
261
+ }, {
262
+ readonly name: "feeGrowthInside1LastX128";
263
+ readonly type: "uint256";
264
+ readonly internalType: "uint256";
265
+ }];
266
+ }];
267
+ readonly stateMutability: "view";
268
+ }, {
269
+ readonly type: "function";
270
+ readonly name: "getSlot0";
271
+ readonly inputs: readonly [{
272
+ readonly name: "id";
273
+ readonly type: "bytes32";
274
+ readonly internalType: "PoolId";
275
+ }];
276
+ readonly outputs: readonly [{
277
+ readonly name: "sqrtPriceX96";
278
+ readonly type: "uint160";
279
+ readonly internalType: "uint160";
280
+ }, {
281
+ readonly name: "tick";
282
+ readonly type: "int24";
283
+ readonly internalType: "int24";
284
+ }, {
285
+ readonly name: "protocolFee";
286
+ readonly type: "uint24";
287
+ readonly internalType: "uint24";
288
+ }, {
289
+ readonly name: "lpFee";
290
+ readonly type: "uint24";
291
+ readonly internalType: "uint24";
292
+ }];
293
+ readonly stateMutability: "view";
294
+ }, {
295
+ readonly type: "function";
296
+ readonly name: "initialize";
297
+ readonly inputs: readonly [{
298
+ readonly name: "key";
299
+ readonly type: "tuple";
300
+ readonly internalType: "struct PoolKey";
301
+ readonly components: readonly [{
302
+ readonly name: "currency0";
303
+ readonly type: "address";
304
+ readonly internalType: "Currency";
305
+ }, {
306
+ readonly name: "currency1";
307
+ readonly type: "address";
308
+ readonly internalType: "Currency";
309
+ }, {
310
+ readonly name: "hooks";
311
+ readonly type: "address";
312
+ readonly internalType: "contract IHooks";
313
+ }, {
314
+ readonly name: "poolManager";
315
+ readonly type: "address";
316
+ readonly internalType: "contract IPoolManager";
317
+ }, {
318
+ readonly name: "fee";
319
+ readonly type: "uint24";
320
+ readonly internalType: "uint24";
321
+ }, {
322
+ readonly name: "parameters";
323
+ readonly type: "bytes32";
324
+ readonly internalType: "bytes32";
325
+ }];
326
+ }, {
327
+ readonly name: "sqrtPriceX96";
328
+ readonly type: "uint160";
329
+ readonly internalType: "uint160";
330
+ }];
331
+ readonly outputs: readonly [{
332
+ readonly name: "tick";
333
+ readonly type: "int24";
334
+ readonly internalType: "int24";
335
+ }];
336
+ readonly stateMutability: "nonpayable";
337
+ }, {
338
+ readonly type: "function";
339
+ readonly name: "modifyLiquidity";
340
+ readonly inputs: readonly [{
341
+ readonly name: "key";
342
+ readonly type: "tuple";
343
+ readonly internalType: "struct PoolKey";
344
+ readonly components: readonly [{
345
+ readonly name: "currency0";
346
+ readonly type: "address";
347
+ readonly internalType: "Currency";
348
+ }, {
349
+ readonly name: "currency1";
350
+ readonly type: "address";
351
+ readonly internalType: "Currency";
352
+ }, {
353
+ readonly name: "hooks";
354
+ readonly type: "address";
355
+ readonly internalType: "contract IHooks";
356
+ }, {
357
+ readonly name: "poolManager";
358
+ readonly type: "address";
359
+ readonly internalType: "contract IPoolManager";
360
+ }, {
361
+ readonly name: "fee";
362
+ readonly type: "uint24";
363
+ readonly internalType: "uint24";
364
+ }, {
365
+ readonly name: "parameters";
366
+ readonly type: "bytes32";
367
+ readonly internalType: "bytes32";
368
+ }];
369
+ }, {
370
+ readonly name: "params";
371
+ readonly type: "tuple";
372
+ readonly internalType: "struct ICLPoolManager.ModifyLiquidityParams";
373
+ readonly components: readonly [{
374
+ readonly name: "tickLower";
375
+ readonly type: "int24";
376
+ readonly internalType: "int24";
377
+ }, {
378
+ readonly name: "tickUpper";
379
+ readonly type: "int24";
380
+ readonly internalType: "int24";
381
+ }, {
382
+ readonly name: "liquidityDelta";
383
+ readonly type: "int256";
384
+ readonly internalType: "int256";
385
+ }, {
386
+ readonly name: "salt";
387
+ readonly type: "bytes32";
388
+ readonly internalType: "bytes32";
389
+ }];
390
+ }, {
391
+ readonly name: "hookData";
392
+ readonly type: "bytes";
393
+ readonly internalType: "bytes";
394
+ }];
395
+ readonly outputs: readonly [{
396
+ readonly name: "delta";
397
+ readonly type: "int256";
398
+ readonly internalType: "BalanceDelta";
399
+ }, {
400
+ readonly name: "feeDelta";
401
+ readonly type: "int256";
402
+ readonly internalType: "BalanceDelta";
403
+ }];
404
+ readonly stateMutability: "nonpayable";
405
+ }, {
406
+ readonly type: "function";
407
+ readonly name: "owner";
408
+ readonly inputs: readonly [];
409
+ readonly outputs: readonly [{
410
+ readonly name: "";
411
+ readonly type: "address";
412
+ readonly internalType: "address";
413
+ }];
414
+ readonly stateMutability: "view";
415
+ }, {
416
+ readonly type: "function";
417
+ readonly name: "pause";
418
+ readonly inputs: readonly [];
419
+ readonly outputs: readonly [];
420
+ readonly stateMutability: "nonpayable";
421
+ }, {
422
+ readonly type: "function";
423
+ readonly name: "paused";
424
+ readonly inputs: readonly [];
425
+ readonly outputs: readonly [{
426
+ readonly name: "res";
427
+ readonly type: "bool";
428
+ readonly internalType: "bool";
429
+ }];
430
+ readonly stateMutability: "view";
431
+ }, {
432
+ readonly type: "function";
433
+ readonly name: "poolIdToPoolKey";
434
+ readonly inputs: readonly [{
435
+ readonly name: "id";
436
+ readonly type: "bytes32";
437
+ readonly internalType: "PoolId";
438
+ }];
439
+ readonly outputs: readonly [{
440
+ readonly name: "currency0";
441
+ readonly type: "address";
442
+ readonly internalType: "Currency";
443
+ }, {
444
+ readonly name: "currency1";
445
+ readonly type: "address";
446
+ readonly internalType: "Currency";
447
+ }, {
448
+ readonly name: "hooks";
449
+ readonly type: "address";
450
+ readonly internalType: "contract IHooks";
451
+ }, {
452
+ readonly name: "poolManager";
453
+ readonly type: "address";
454
+ readonly internalType: "contract IPoolManager";
455
+ }, {
456
+ readonly name: "fee";
457
+ readonly type: "uint24";
458
+ readonly internalType: "uint24";
459
+ }, {
460
+ readonly name: "parameters";
461
+ readonly type: "bytes32";
462
+ readonly internalType: "bytes32";
463
+ }];
464
+ readonly stateMutability: "view";
465
+ }, {
466
+ readonly type: "function";
467
+ readonly name: "protocolFeeController";
468
+ readonly inputs: readonly [];
469
+ readonly outputs: readonly [{
470
+ readonly name: "";
471
+ readonly type: "address";
472
+ readonly internalType: "contract IProtocolFeeController";
473
+ }];
474
+ readonly stateMutability: "view";
475
+ }, {
476
+ readonly type: "function";
477
+ readonly name: "protocolFeesAccrued";
478
+ readonly inputs: readonly [{
479
+ readonly name: "currency";
480
+ readonly type: "address";
481
+ readonly internalType: "Currency";
482
+ }];
483
+ readonly outputs: readonly [{
484
+ readonly name: "amount";
485
+ readonly type: "uint256";
486
+ readonly internalType: "uint256";
487
+ }];
488
+ readonly stateMutability: "view";
489
+ }, {
490
+ readonly type: "function";
491
+ readonly name: "setProtocolFee";
492
+ readonly inputs: readonly [{
493
+ readonly name: "key";
494
+ readonly type: "tuple";
495
+ readonly internalType: "struct PoolKey";
496
+ readonly components: readonly [{
497
+ readonly name: "currency0";
498
+ readonly type: "address";
499
+ readonly internalType: "Currency";
500
+ }, {
501
+ readonly name: "currency1";
502
+ readonly type: "address";
503
+ readonly internalType: "Currency";
504
+ }, {
505
+ readonly name: "hooks";
506
+ readonly type: "address";
507
+ readonly internalType: "contract IHooks";
508
+ }, {
509
+ readonly name: "poolManager";
510
+ readonly type: "address";
511
+ readonly internalType: "contract IPoolManager";
512
+ }, {
513
+ readonly name: "fee";
514
+ readonly type: "uint24";
515
+ readonly internalType: "uint24";
516
+ }, {
517
+ readonly name: "parameters";
518
+ readonly type: "bytes32";
519
+ readonly internalType: "bytes32";
520
+ }];
521
+ }, {
522
+ readonly name: "newProtocolFee";
523
+ readonly type: "uint24";
524
+ readonly internalType: "uint24";
525
+ }];
526
+ readonly outputs: readonly [];
527
+ readonly stateMutability: "nonpayable";
528
+ }, {
529
+ readonly type: "function";
530
+ readonly name: "setProtocolFeeController";
531
+ readonly inputs: readonly [{
532
+ readonly name: "controller";
533
+ readonly type: "address";
534
+ readonly internalType: "contract IProtocolFeeController";
535
+ }];
536
+ readonly outputs: readonly [];
537
+ readonly stateMutability: "nonpayable";
538
+ }, {
539
+ readonly type: "function";
540
+ readonly name: "swap";
541
+ readonly inputs: readonly [{
542
+ readonly name: "key";
543
+ readonly type: "tuple";
544
+ readonly internalType: "struct PoolKey";
545
+ readonly components: readonly [{
546
+ readonly name: "currency0";
547
+ readonly type: "address";
548
+ readonly internalType: "Currency";
549
+ }, {
550
+ readonly name: "currency1";
551
+ readonly type: "address";
552
+ readonly internalType: "Currency";
553
+ }, {
554
+ readonly name: "hooks";
555
+ readonly type: "address";
556
+ readonly internalType: "contract IHooks";
557
+ }, {
558
+ readonly name: "poolManager";
559
+ readonly type: "address";
560
+ readonly internalType: "contract IPoolManager";
561
+ }, {
562
+ readonly name: "fee";
563
+ readonly type: "uint24";
564
+ readonly internalType: "uint24";
565
+ }, {
566
+ readonly name: "parameters";
567
+ readonly type: "bytes32";
568
+ readonly internalType: "bytes32";
569
+ }];
570
+ }, {
571
+ readonly name: "params";
572
+ readonly type: "tuple";
573
+ readonly internalType: "struct ICLPoolManager.SwapParams";
574
+ readonly components: readonly [{
575
+ readonly name: "zeroForOne";
576
+ readonly type: "bool";
577
+ readonly internalType: "bool";
578
+ }, {
579
+ readonly name: "amountSpecified";
580
+ readonly type: "int256";
581
+ readonly internalType: "int256";
582
+ }, {
583
+ readonly name: "sqrtPriceLimitX96";
584
+ readonly type: "uint160";
585
+ readonly internalType: "uint160";
586
+ }];
587
+ }, {
588
+ readonly name: "hookData";
589
+ readonly type: "bytes";
590
+ readonly internalType: "bytes";
591
+ }];
592
+ readonly outputs: readonly [{
593
+ readonly name: "delta";
594
+ readonly type: "int256";
595
+ readonly internalType: "BalanceDelta";
596
+ }];
597
+ readonly stateMutability: "nonpayable";
598
+ }, {
599
+ readonly type: "function";
600
+ readonly name: "transferOwnership";
601
+ readonly inputs: readonly [{
602
+ readonly name: "newOwner";
603
+ readonly type: "address";
604
+ readonly internalType: "address";
605
+ }];
606
+ readonly outputs: readonly [];
607
+ readonly stateMutability: "nonpayable";
608
+ }, {
609
+ readonly type: "function";
610
+ readonly name: "unpause";
611
+ readonly inputs: readonly [];
612
+ readonly outputs: readonly [];
613
+ readonly stateMutability: "nonpayable";
614
+ }, {
615
+ readonly type: "function";
616
+ readonly name: "updateDynamicLPFee";
617
+ readonly inputs: readonly [{
618
+ readonly name: "key";
619
+ readonly type: "tuple";
620
+ readonly internalType: "struct PoolKey";
621
+ readonly components: readonly [{
622
+ readonly name: "currency0";
623
+ readonly type: "address";
624
+ readonly internalType: "Currency";
625
+ }, {
626
+ readonly name: "currency1";
627
+ readonly type: "address";
628
+ readonly internalType: "Currency";
629
+ }, {
630
+ readonly name: "hooks";
631
+ readonly type: "address";
632
+ readonly internalType: "contract IHooks";
633
+ }, {
634
+ readonly name: "poolManager";
635
+ readonly type: "address";
636
+ readonly internalType: "contract IPoolManager";
637
+ }, {
638
+ readonly name: "fee";
639
+ readonly type: "uint24";
640
+ readonly internalType: "uint24";
641
+ }, {
642
+ readonly name: "parameters";
643
+ readonly type: "bytes32";
644
+ readonly internalType: "bytes32";
645
+ }];
646
+ }, {
647
+ readonly name: "newDynamicLPFee";
648
+ readonly type: "uint24";
649
+ readonly internalType: "uint24";
650
+ }];
651
+ readonly outputs: readonly [];
652
+ readonly stateMutability: "nonpayable";
653
+ }, {
654
+ readonly type: "function";
655
+ readonly name: "vault";
656
+ readonly inputs: readonly [];
657
+ readonly outputs: readonly [{
658
+ readonly name: "";
659
+ readonly type: "address";
660
+ readonly internalType: "contract IVault";
661
+ }];
662
+ readonly stateMutability: "view";
663
+ }, {
664
+ readonly type: "event";
665
+ readonly name: "Donate";
666
+ readonly inputs: readonly [{
667
+ readonly name: "id";
668
+ readonly type: "bytes32";
669
+ readonly indexed: true;
670
+ readonly internalType: "PoolId";
671
+ }, {
672
+ readonly name: "sender";
673
+ readonly type: "address";
674
+ readonly indexed: true;
675
+ readonly internalType: "address";
676
+ }, {
677
+ readonly name: "amount0";
678
+ readonly type: "uint256";
679
+ readonly indexed: false;
680
+ readonly internalType: "uint256";
681
+ }, {
682
+ readonly name: "amount1";
683
+ readonly type: "uint256";
684
+ readonly indexed: false;
685
+ readonly internalType: "uint256";
686
+ }, {
687
+ readonly name: "tick";
688
+ readonly type: "int24";
689
+ readonly indexed: false;
690
+ readonly internalType: "int24";
691
+ }];
692
+ readonly anonymous: false;
693
+ }, {
694
+ readonly type: "event";
695
+ readonly name: "DynamicLPFeeUpdated";
696
+ readonly inputs: readonly [{
697
+ readonly name: "id";
698
+ readonly type: "bytes32";
699
+ readonly indexed: true;
700
+ readonly internalType: "PoolId";
701
+ }, {
702
+ readonly name: "dynamicLPFee";
703
+ readonly type: "uint24";
704
+ readonly indexed: false;
705
+ readonly internalType: "uint24";
706
+ }];
707
+ readonly anonymous: false;
708
+ }, {
709
+ readonly type: "event";
710
+ readonly name: "Initialize";
711
+ readonly inputs: readonly [{
712
+ readonly name: "id";
713
+ readonly type: "bytes32";
714
+ readonly indexed: true;
715
+ readonly internalType: "PoolId";
716
+ }, {
717
+ readonly name: "currency0";
718
+ readonly type: "address";
719
+ readonly indexed: true;
720
+ readonly internalType: "Currency";
721
+ }, {
722
+ readonly name: "currency1";
723
+ readonly type: "address";
724
+ readonly indexed: true;
725
+ readonly internalType: "Currency";
726
+ }, {
727
+ readonly name: "hooks";
728
+ readonly type: "address";
729
+ readonly indexed: false;
730
+ readonly internalType: "contract IHooks";
731
+ }, {
732
+ readonly name: "fee";
733
+ readonly type: "uint24";
734
+ readonly indexed: false;
735
+ readonly internalType: "uint24";
736
+ }, {
737
+ readonly name: "parameters";
738
+ readonly type: "bytes32";
739
+ readonly indexed: false;
740
+ readonly internalType: "bytes32";
741
+ }, {
742
+ readonly name: "sqrtPriceX96";
743
+ readonly type: "uint160";
744
+ readonly indexed: false;
745
+ readonly internalType: "uint160";
746
+ }, {
747
+ readonly name: "tick";
748
+ readonly type: "int24";
749
+ readonly indexed: false;
750
+ readonly internalType: "int24";
751
+ }];
752
+ readonly anonymous: false;
753
+ }, {
754
+ readonly type: "event";
755
+ readonly name: "ModifyLiquidity";
756
+ readonly inputs: readonly [{
757
+ readonly name: "id";
758
+ readonly type: "bytes32";
759
+ readonly indexed: true;
760
+ readonly internalType: "PoolId";
761
+ }, {
762
+ readonly name: "sender";
763
+ readonly type: "address";
764
+ readonly indexed: true;
765
+ readonly internalType: "address";
766
+ }, {
767
+ readonly name: "tickLower";
768
+ readonly type: "int24";
769
+ readonly indexed: false;
770
+ readonly internalType: "int24";
771
+ }, {
772
+ readonly name: "tickUpper";
773
+ readonly type: "int24";
774
+ readonly indexed: false;
775
+ readonly internalType: "int24";
776
+ }, {
777
+ readonly name: "liquidityDelta";
778
+ readonly type: "int256";
779
+ readonly indexed: false;
780
+ readonly internalType: "int256";
781
+ }, {
782
+ readonly name: "salt";
783
+ readonly type: "bytes32";
784
+ readonly indexed: false;
785
+ readonly internalType: "bytes32";
786
+ }];
787
+ readonly anonymous: false;
788
+ }, {
789
+ readonly type: "event";
790
+ readonly name: "OwnershipTransferred";
791
+ readonly inputs: readonly [{
792
+ readonly name: "previousOwner";
793
+ readonly type: "address";
794
+ readonly indexed: true;
795
+ readonly internalType: "address";
796
+ }, {
797
+ readonly name: "newOwner";
798
+ readonly type: "address";
799
+ readonly indexed: true;
800
+ readonly internalType: "address";
801
+ }];
802
+ readonly anonymous: false;
803
+ }, {
804
+ readonly type: "event";
805
+ readonly name: "Paused";
806
+ readonly inputs: readonly [{
807
+ readonly name: "account";
808
+ readonly type: "address";
809
+ readonly indexed: false;
810
+ readonly internalType: "address";
811
+ }];
812
+ readonly anonymous: false;
813
+ }, {
814
+ readonly type: "event";
815
+ readonly name: "ProtocolFeeControllerUpdated";
816
+ readonly inputs: readonly [{
817
+ readonly name: "protocolFeeController";
818
+ readonly type: "address";
819
+ readonly indexed: true;
820
+ readonly internalType: "address";
821
+ }];
822
+ readonly anonymous: false;
823
+ }, {
824
+ readonly type: "event";
825
+ readonly name: "ProtocolFeeUpdated";
826
+ readonly inputs: readonly [{
827
+ readonly name: "id";
828
+ readonly type: "bytes32";
829
+ readonly indexed: true;
830
+ readonly internalType: "PoolId";
831
+ }, {
832
+ readonly name: "protocolFee";
833
+ readonly type: "uint24";
834
+ readonly indexed: false;
835
+ readonly internalType: "uint24";
836
+ }];
837
+ readonly anonymous: false;
838
+ }, {
839
+ readonly type: "event";
840
+ readonly name: "Swap";
841
+ readonly inputs: readonly [{
842
+ readonly name: "id";
843
+ readonly type: "bytes32";
844
+ readonly indexed: true;
845
+ readonly internalType: "PoolId";
846
+ }, {
847
+ readonly name: "sender";
848
+ readonly type: "address";
849
+ readonly indexed: true;
850
+ readonly internalType: "address";
851
+ }, {
852
+ readonly name: "amount0";
853
+ readonly type: "int128";
854
+ readonly indexed: false;
855
+ readonly internalType: "int128";
856
+ }, {
857
+ readonly name: "amount1";
858
+ readonly type: "int128";
859
+ readonly indexed: false;
860
+ readonly internalType: "int128";
861
+ }, {
862
+ readonly name: "sqrtPriceX96";
863
+ readonly type: "uint160";
864
+ readonly indexed: false;
865
+ readonly internalType: "uint160";
866
+ }, {
867
+ readonly name: "liquidity";
868
+ readonly type: "uint128";
869
+ readonly indexed: false;
870
+ readonly internalType: "uint128";
871
+ }, {
872
+ readonly name: "tick";
873
+ readonly type: "int24";
874
+ readonly indexed: false;
875
+ readonly internalType: "int24";
876
+ }, {
877
+ readonly name: "fee";
878
+ readonly type: "uint24";
879
+ readonly indexed: false;
880
+ readonly internalType: "uint24";
881
+ }, {
882
+ readonly name: "protocolFee";
883
+ readonly type: "uint16";
884
+ readonly indexed: false;
885
+ readonly internalType: "uint16";
886
+ }];
887
+ readonly anonymous: false;
888
+ }, {
889
+ readonly type: "event";
890
+ readonly name: "Unpaused";
891
+ readonly inputs: readonly [{
892
+ readonly name: "account";
893
+ readonly type: "address";
894
+ readonly indexed: false;
895
+ readonly internalType: "address";
896
+ }];
897
+ readonly anonymous: false;
898
+ }, {
899
+ readonly type: "error";
900
+ readonly name: "CannotUpdateEmptyPosition";
901
+ readonly inputs: readonly [];
902
+ }, {
903
+ readonly type: "error";
904
+ readonly name: "CurrenciesInitializedOutOfOrder";
905
+ readonly inputs: readonly [{
906
+ readonly name: "currency0";
907
+ readonly type: "address";
908
+ readonly internalType: "address";
909
+ }, {
910
+ readonly name: "currency1";
911
+ readonly type: "address";
912
+ readonly internalType: "address";
913
+ }];
914
+ }, {
915
+ readonly type: "error";
916
+ readonly name: "EnforcedPause";
917
+ readonly inputs: readonly [];
918
+ }, {
919
+ readonly type: "error";
920
+ readonly name: "HookConfigValidationError";
921
+ readonly inputs: readonly [];
922
+ }, {
923
+ readonly type: "error";
924
+ readonly name: "HookDeltaExceedsSwapAmount";
925
+ readonly inputs: readonly [];
926
+ }, {
927
+ readonly type: "error";
928
+ readonly name: "HookPermissionsValidationError";
929
+ readonly inputs: readonly [];
930
+ }, {
931
+ readonly type: "error";
932
+ readonly name: "InvalidCaller";
933
+ readonly inputs: readonly [];
934
+ }, {
935
+ readonly type: "error";
936
+ readonly name: "InvalidFeeForExactOut";
937
+ readonly inputs: readonly [];
938
+ }, {
939
+ readonly type: "error";
940
+ readonly name: "InvalidHookResponse";
941
+ readonly inputs: readonly [];
942
+ }, {
943
+ readonly type: "error";
944
+ readonly name: "InvalidSqrtPriceLimit";
945
+ readonly inputs: readonly [{
946
+ readonly name: "sqrtPriceCurrentX96";
947
+ readonly type: "uint160";
948
+ readonly internalType: "uint160";
949
+ }, {
950
+ readonly name: "sqrtPriceLimitX96";
951
+ readonly type: "uint160";
952
+ readonly internalType: "uint160";
953
+ }];
954
+ }, {
955
+ readonly type: "error";
956
+ readonly name: "InvalidSqrtRatio";
957
+ readonly inputs: readonly [{
958
+ readonly name: "sqrtPriceX96";
959
+ readonly type: "uint160";
960
+ readonly internalType: "uint160";
961
+ }];
962
+ }, {
963
+ readonly type: "error";
964
+ readonly name: "InvalidTick";
965
+ readonly inputs: readonly [{
966
+ readonly name: "tick";
967
+ readonly type: "int24";
968
+ readonly internalType: "int24";
969
+ }];
970
+ }, {
971
+ readonly type: "error";
972
+ readonly name: "LPFeeTooLarge";
973
+ readonly inputs: readonly [{
974
+ readonly name: "fee";
975
+ readonly type: "uint24";
976
+ readonly internalType: "uint24";
977
+ }];
978
+ }, {
979
+ readonly type: "error";
980
+ readonly name: "NoLiquidityToReceiveFees";
981
+ readonly inputs: readonly [];
982
+ }, {
983
+ readonly type: "error";
984
+ readonly name: "PoolAlreadyInitialized";
985
+ readonly inputs: readonly [];
986
+ }, {
987
+ readonly type: "error";
988
+ readonly name: "PoolManagerMismatch";
989
+ readonly inputs: readonly [];
990
+ }, {
991
+ readonly type: "error";
992
+ readonly name: "PoolNotInitialized";
993
+ readonly inputs: readonly [];
994
+ }, {
995
+ readonly type: "error";
996
+ readonly name: "PoolPaused";
997
+ readonly inputs: readonly [];
998
+ }, {
999
+ readonly type: "error";
1000
+ readonly name: "ProtocolFeeCannotBeFetched";
1001
+ readonly inputs: readonly [];
1002
+ }, {
1003
+ readonly type: "error";
1004
+ readonly name: "ProtocolFeeTooLarge";
1005
+ readonly inputs: readonly [{
1006
+ readonly name: "fee";
1007
+ readonly type: "uint24";
1008
+ readonly internalType: "uint24";
1009
+ }];
1010
+ }, {
1011
+ readonly type: "error";
1012
+ readonly name: "SwapAmountCannotBeZero";
1013
+ readonly inputs: readonly [];
1014
+ }, {
1015
+ readonly type: "error";
1016
+ readonly name: "TickLiquidityOverflow";
1017
+ readonly inputs: readonly [{
1018
+ readonly name: "tick";
1019
+ readonly type: "int24";
1020
+ readonly internalType: "int24";
1021
+ }];
1022
+ }, {
1023
+ readonly type: "error";
1024
+ readonly name: "TickLowerOutOfBounds";
1025
+ readonly inputs: readonly [{
1026
+ readonly name: "tickLower";
1027
+ readonly type: "int24";
1028
+ readonly internalType: "int24";
1029
+ }];
1030
+ }, {
1031
+ readonly type: "error";
1032
+ readonly name: "TickSpacingTooLarge";
1033
+ readonly inputs: readonly [{
1034
+ readonly name: "tickSpacing";
1035
+ readonly type: "int24";
1036
+ readonly internalType: "int24";
1037
+ }];
1038
+ }, {
1039
+ readonly type: "error";
1040
+ readonly name: "TickSpacingTooSmall";
1041
+ readonly inputs: readonly [{
1042
+ readonly name: "tickSpacing";
1043
+ readonly type: "int24";
1044
+ readonly internalType: "int24";
1045
+ }];
1046
+ }, {
1047
+ readonly type: "error";
1048
+ readonly name: "TickUpperOutOfBounds";
1049
+ readonly inputs: readonly [{
1050
+ readonly name: "tickUpper";
1051
+ readonly type: "int24";
1052
+ readonly internalType: "int24";
1053
+ }];
1054
+ }, {
1055
+ readonly type: "error";
1056
+ readonly name: "TicksMisordered";
1057
+ readonly inputs: readonly [{
1058
+ readonly name: "tickLower";
1059
+ readonly type: "int24";
1060
+ readonly internalType: "int24";
1061
+ }, {
1062
+ readonly name: "tickUpper";
1063
+ readonly type: "int24";
1064
+ readonly internalType: "int24";
1065
+ }];
1066
+ }, {
1067
+ readonly type: "error";
1068
+ readonly name: "UnauthorizedDynamicLPFeeUpdate";
1069
+ readonly inputs: readonly [];
1070
+ }, {
1071
+ readonly type: "error";
1072
+ readonly name: "UnusedBitsNonZero";
1073
+ readonly inputs: readonly [];
1074
+ }];
1075
+ //# sourceMappingURL=CLPoolManagerAbi.d.ts.map