@paraswap/dex-lib 4.7.20-native-insert-amount.3 → 4.7.20-native-insert-amount.4

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 (148) hide show
  1. package/build/dex/idle-dao/idle-dao.d.ts +1 -0
  2. package/build/dex/idle-dao/idle-dao.js +23 -11
  3. package/build/dex/idle-dao/idle-dao.js.map +1 -1
  4. package/build/dex/index.js +12 -15
  5. package/build/dex/index.js.map +1 -1
  6. package/build/dex/maker-psm/maker-psm.d.ts +4 -41
  7. package/build/dex/maker-psm/maker-psm.js +40 -143
  8. package/build/dex/maker-psm/maker-psm.js.map +1 -1
  9. package/build/dex/uniswap-v2/constants.js +1 -0
  10. package/build/dex/uniswap-v2/constants.js.map +1 -1
  11. package/build/executor/Executor02BytecodeBuilderMultiRoute.d.ts +101 -0
  12. package/build/executor/Executor02BytecodeBuilderMultiRoute.js +878 -0
  13. package/build/executor/Executor02BytecodeBuilderMultiRoute.js.map +1 -0
  14. package/package.json +1 -1
  15. package/build/abi/PendleRouterStatic.json +0 -19
  16. package/build/abi/apex-defi/ApexDefiFactory.abi.json +0 -1749
  17. package/build/abi/apex-defi/ApexDefiRouter.abi.json +0 -1120
  18. package/build/abi/apex-defi/ApexDefiToken.abi.json +0 -229
  19. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +0 -92
  20. package/build/abi/apex-defi/ApexDefiWrapperFactory.abi.json +0 -1107
  21. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +0 -796
  22. package/build/abi/pendle/pendle-deployer.abi.json +0 -520
  23. package/build/abi/pendle/pendle-oracle.abi.json +0 -413
  24. package/build/abi/ring-v2/few-wrapped-token.json +0 -587
  25. package/build/abi/ring-v2/ring-v2-factory.json +0 -125
  26. package/build/abi/ring-v2/ring-v2-pool.json +0 -461
  27. package/build/abi/ring-v2/ring-v2-router.json +0 -332
  28. package/build/abi/stabull/stabull-curve.json +0 -738
  29. package/build/abi/stabull/stabull-router.json +0 -76
  30. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +0 -26
  31. package/build/abi/uniswap-v4/hooks/SpotHook.json +0 -54
  32. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +0 -45
  33. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +0 -682
  34. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +0 -1335
  35. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +0 -29
  36. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +0 -153
  37. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +0 -1
  38. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.d.ts +0 -40
  39. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +0 -323
  40. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +0 -1
  41. package/build/dex/aave-pt-to-underlying/config.d.ts +0 -3
  42. package/build/dex/aave-pt-to-underlying/config.js +0 -24
  43. package/build/dex/aave-pt-to-underlying/config.js.map +0 -1
  44. package/build/dex/aave-pt-to-underlying/constants.d.ts +0 -2
  45. package/build/dex/aave-pt-to-underlying/constants.js +0 -6
  46. package/build/dex/aave-pt-to-underlying/constants.js.map +0 -1
  47. package/build/dex/aave-pt-to-underlying/types.d.ts +0 -24
  48. package/build/dex/aave-pt-to-underlying/types.js +0 -3
  49. package/build/dex/aave-pt-to-underlying/types.js.map +0 -1
  50. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +0 -39
  51. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +0 -244
  52. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +0 -1
  53. package/build/dex/aave-pt-to-usdc/config.d.ts +0 -3
  54. package/build/dex/aave-pt-to-usdc/config.js +0 -47
  55. package/build/dex/aave-pt-to-usdc/config.js.map +0 -1
  56. package/build/dex/aave-pt-to-usdc/constants.d.ts +0 -2
  57. package/build/dex/aave-pt-to-usdc/constants.js +0 -6
  58. package/build/dex/aave-pt-to-usdc/constants.js.map +0 -1
  59. package/build/dex/aave-pt-to-usdc/types.d.ts +0 -22
  60. package/build/dex/aave-pt-to-usdc/types.js +0 -3
  61. package/build/dex/aave-pt-to-usdc/types.js.map +0 -1
  62. package/build/dex/apex-defi/apex-defi-factory.d.ts +0 -26
  63. package/build/dex/apex-defi/apex-defi-factory.js +0 -53
  64. package/build/dex/apex-defi/apex-defi-factory.js.map +0 -1
  65. package/build/dex/apex-defi/apex-defi-pool.d.ts +0 -55
  66. package/build/dex/apex-defi/apex-defi-pool.js +0 -247
  67. package/build/dex/apex-defi/apex-defi-pool.js.map +0 -1
  68. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +0 -57
  69. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +0 -250
  70. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +0 -1
  71. package/build/dex/apex-defi/apex-defi.d.ts +0 -97
  72. package/build/dex/apex-defi/apex-defi.js +0 -1021
  73. package/build/dex/apex-defi/apex-defi.js.map +0 -1
  74. package/build/dex/apex-defi/config.d.ts +0 -4
  75. package/build/dex/apex-defi/config.js +0 -138
  76. package/build/dex/apex-defi/config.js.map +0 -1
  77. package/build/dex/apex-defi/types.d.ts +0 -32
  78. package/build/dex/apex-defi/types.js +0 -3
  79. package/build/dex/apex-defi/types.js.map +0 -1
  80. package/build/dex/apex-defi/utils.d.ts +0 -46
  81. package/build/dex/apex-defi/utils.js +0 -133
  82. package/build/dex/apex-defi/utils.js.map +0 -1
  83. package/build/dex/miro-migrator/miro-migrator-state.d.ts +0 -27
  84. package/build/dex/miro-migrator/miro-migrator-state.js +0 -89
  85. package/build/dex/miro-migrator/miro-migrator-state.js.map +0 -1
  86. package/build/dex/stabull/config.d.ts +0 -3
  87. package/build/dex/stabull/config.js +0 -177
  88. package/build/dex/stabull/config.js.map +0 -1
  89. package/build/dex/stabull/stabull-pool.d.ts +0 -46
  90. package/build/dex/stabull/stabull-pool.js +0 -113
  91. package/build/dex/stabull/stabull-pool.js.map +0 -1
  92. package/build/dex/stabull/stabull.d.ts +0 -55
  93. package/build/dex/stabull/stabull.js +0 -286
  94. package/build/dex/stabull/stabull.js.map +0 -1
  95. package/build/dex/stabull/types.d.ts +0 -21
  96. package/build/dex/stabull/types.js +0 -3
  97. package/build/dex/stabull/types.js.map +0 -1
  98. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +0 -4
  99. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +0 -56
  100. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +0 -1
  101. package/build/dex/uniswap-v4/hooks/arena.d.ts +0 -6
  102. package/build/dex/uniswap-v4/hooks/arena.js +0 -10
  103. package/build/dex/uniswap-v4/hooks/arena.js.map +0 -1
  104. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.d.ts +0 -0
  105. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js +0 -2
  106. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js.map +0 -1
  107. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +0 -7
  108. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +0 -28
  109. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +0 -1
  110. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  111. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +0 -2
  112. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +0 -1
  113. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +0 -7
  114. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +0 -28
  115. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +0 -1
  116. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  117. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +0 -2
  118. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +0 -1
  119. package/build/dex/uniswap-v4/hooks/index.d.ts +0 -1
  120. package/build/dex/uniswap-v4/hooks/index.js +0 -18
  121. package/build/dex/uniswap-v4/hooks/index.js.map +0 -1
  122. package/build/dex/uniswap-v4/hooks/spot.d.ts +0 -15
  123. package/build/dex/uniswap-v4/hooks/spot.js +0 -109
  124. package/build/dex/uniswap-v4/hooks/spot.js.map +0 -1
  125. package/build/dex/uniswap-v4/hooks/template.d.ts +0 -150
  126. package/build/dex/uniswap-v4/hooks/template.js +0 -104
  127. package/build/dex/uniswap-v4/hooks/template.js.map +0 -1
  128. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +0 -26
  129. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +0 -75
  130. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +0 -1
  131. package/build/dex/usual/usual-usdc-usdc.d.ts +0 -17
  132. package/build/dex/usual/usual-usdc-usdc.js +0 -59
  133. package/build/dex/usual/usual-usdc-usdc.js.map +0 -1
  134. package/build/dex/yo/config.d.ts +0 -3
  135. package/build/dex/yo/config.js +0 -21
  136. package/build/dex/yo/config.js.map +0 -1
  137. package/build/dex/yo/types.d.ts +0 -13
  138. package/build/dex/yo/types.js +0 -3
  139. package/build/dex/yo/types.js.map +0 -1
  140. package/build/dex/yo/yo-pool.d.ts +0 -13
  141. package/build/dex/yo/yo-pool.js +0 -26
  142. package/build/dex/yo/yo-pool.js.map +0 -1
  143. package/build/dex/yo/yo.d.ts +0 -39
  144. package/build/dex/yo/yo.js +0 -248
  145. package/build/dex/yo/yo.js.map +0 -1
  146. package/build/implementations/api-paraswap-sdk.d.ts +0 -25
  147. package/build/implementations/api-paraswap-sdk.js +0 -102
  148. package/build/implementations/api-paraswap-sdk.js.map +0 -1
@@ -1,1335 +0,0 @@
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
- ]