@huuduynvc/v3-periphery 1.3.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.
- package/LICENSE +339 -0
- package/README.md +52 -0
- package/artifacts/contracts/NonfungiblePositionManager.sol/NonfungiblePositionManager.json +1230 -0
- package/artifacts/contracts/NonfungibleTokenPositionDescriptor.sol/NonfungibleTokenPositionDescriptor.json +161 -0
- package/artifacts/contracts/SwapRouter.sol/SwapRouter.json +574 -0
- package/artifacts/contracts/V3Migrator.sol/V3Migrator.json +360 -0
- package/artifacts/contracts/examples/PairFlash.sol/PairFlash.json +196 -0
- package/artifacts/contracts/interfaces/IERC20Metadata.sol/IERC20Metadata.json +233 -0
- package/artifacts/contracts/interfaces/IERC721Permit.sol/IERC721Permit.json +360 -0
- package/artifacts/contracts/interfaces/IMulticall.sol/IMulticall.json +30 -0
- package/artifacts/contracts/interfaces/INonfungiblePositionManager.sol/INonfungiblePositionManager.json +998 -0
- package/artifacts/contracts/interfaces/INonfungibleTokenPositionDescriptor.sol/INonfungibleTokenPositionDescriptor.json +35 -0
- package/artifacts/contracts/interfaces/IPeripheryImmutableState.sol/IPeripheryImmutableState.json +37 -0
- package/artifacts/contracts/interfaces/IPeripheryPayments.sol/IPeripheryPayments.json +59 -0
- package/artifacts/contracts/interfaces/IPeripheryPaymentsWithFee.sol/IPeripheryPaymentsWithFee.json +120 -0
- package/artifacts/contracts/interfaces/IPoolInitializer.sol/IPoolInitializer.json +45 -0
- package/artifacts/contracts/interfaces/IQuoter.sol/IQuoter.json +137 -0
- package/artifacts/contracts/interfaces/IQuoterV2.sol/IQuoterV2.json +211 -0
- package/artifacts/contracts/interfaces/ISelfPermit.sol/ISelfPermit.json +163 -0
- package/artifacts/contracts/interfaces/ISwapRouter.sol/ISwapRouter.json +248 -0
- package/artifacts/contracts/interfaces/ITickLens.sol/ITickLens.json +52 -0
- package/artifacts/contracts/interfaces/IV3Migrator.sol/IV3Migrator.json +296 -0
- package/artifacts/contracts/interfaces/external/IERC1271.sol/IERC1271.json +35 -0
- package/artifacts/contracts/interfaces/external/IERC20PermitAllowed.sol/IERC20PermitAllowed.json +59 -0
- package/artifacts/contracts/interfaces/external/IWETH9.sol/IWETH9.json +214 -0
- package/artifacts/contracts/lens/Quoter.sol/Quoter.json +202 -0
- package/artifacts/contracts/lens/QuoterV2.sol/QuoterV2.json +276 -0
- package/artifacts/contracts/lens/TickLens.sol/TickLens.json +52 -0
- package/artifacts/contracts/lens/UniswapInterfaceMulticall.sol/UniswapInterfaceMulticall.json +101 -0
- package/artifacts/contracts/libraries/BytesLib.sol/BytesLib.json +10 -0
- package/artifacts/contracts/libraries/CallbackValidation.sol/CallbackValidation.json +10 -0
- package/artifacts/contracts/libraries/ChainId.sol/ChainId.json +10 -0
- package/artifacts/contracts/libraries/HexStrings.sol/HexStrings.json +10 -0
- package/artifacts/contracts/libraries/LiquidityAmounts.sol/LiquidityAmounts.json +10 -0
- package/artifacts/contracts/libraries/NFTDescriptor.sol/NFTDescriptor.json +102 -0
- package/artifacts/contracts/libraries/NFTSVG.sol/NFTSVG.json +10 -0
- package/artifacts/contracts/libraries/OracleLibrary.sol/OracleLibrary.json +10 -0
- package/artifacts/contracts/libraries/Path.sol/Path.json +10 -0
- package/artifacts/contracts/libraries/PoolAddress.sol/PoolAddress.json +10 -0
- package/artifacts/contracts/libraries/PoolTicksCounter.sol/PoolTicksCounter.json +10 -0
- package/artifacts/contracts/libraries/PositionKey.sol/PositionKey.json +10 -0
- package/artifacts/contracts/libraries/PositionValue.sol/PositionValue.json +10 -0
- package/artifacts/contracts/libraries/TokenRatioSortOrder.sol/TokenRatioSortOrder.json +10 -0
- package/artifacts/contracts/libraries/TransferHelper.sol/TransferHelper.json +10 -0
- package/contracts/base/BlockTimestamp.sol +12 -0
- package/contracts/base/ERC721Permit.sol +86 -0
- package/contracts/base/LiquidityManagement.sol +90 -0
- package/contracts/base/Multicall.sol +28 -0
- package/contracts/base/PeripheryImmutableState.sol +18 -0
- package/contracts/base/PeripheryPayments.sol +70 -0
- package/contracts/base/PeripheryPaymentsWithFee.sol +55 -0
- package/contracts/base/PeripheryValidation.sol +11 -0
- package/contracts/base/PoolInitializer.sol +32 -0
- package/contracts/base/SelfPermit.sol +63 -0
- package/contracts/interfaces/IERC20Metadata.sol +18 -0
- package/contracts/interfaces/IERC721Permit.sol +32 -0
- package/contracts/interfaces/IMulticall.sol +13 -0
- package/contracts/interfaces/INonfungiblePositionManager.sol +180 -0
- package/contracts/interfaces/INonfungibleTokenPositionDescriptor.sol +17 -0
- package/contracts/interfaces/IPeripheryImmutableState.sol +12 -0
- package/contracts/interfaces/IPeripheryPayments.sol +28 -0
- package/contracts/interfaces/IPeripheryPaymentsWithFee.sol +29 -0
- package/contracts/interfaces/IPoolInitializer.sol +22 -0
- package/contracts/interfaces/IQuoter.sol +51 -0
- package/contracts/interfaces/IQuoterV2.sol +98 -0
- package/contracts/interfaces/ISelfPermit.sol +76 -0
- package/contracts/interfaces/ISwapRouter.sol +67 -0
- package/contracts/interfaces/ITickLens.sol +25 -0
- package/contracts/interfaces/IV3Migrator.sol +34 -0
- package/contracts/interfaces/external/IERC1271.sol +16 -0
- package/contracts/interfaces/external/IERC20PermitAllowed.sol +27 -0
- package/contracts/interfaces/external/IWETH9.sol +13 -0
- package/contracts/libraries/BytesLib.sol +101 -0
- package/contracts/libraries/CallbackValidation.sol +36 -0
- package/contracts/libraries/ChainId.sol +13 -0
- package/contracts/libraries/HexStrings.sol +29 -0
- package/contracts/libraries/LiquidityAmounts.sol +137 -0
- package/contracts/libraries/NFTDescriptor.sol +477 -0
- package/contracts/libraries/NFTSVG.sol +406 -0
- package/contracts/libraries/OracleLibrary.sol +161 -0
- package/contracts/libraries/Path.sol +69 -0
- package/contracts/libraries/PoolAddress.sol +48 -0
- package/contracts/libraries/PoolTicksCounter.sol +97 -0
- package/contracts/libraries/PositionKey.sol +13 -0
- package/contracts/libraries/PositionValue.sol +167 -0
- package/contracts/libraries/TokenRatioSortOrder.sol +12 -0
- package/contracts/libraries/TransferHelper.sol +60 -0
- package/package.json +68 -0
@@ -0,0 +1,998 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "INonfungiblePositionManager",
|
4
|
+
"sourceName": "contracts/interfaces/INonfungiblePositionManager.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"anonymous": false,
|
8
|
+
"inputs": [
|
9
|
+
{
|
10
|
+
"indexed": true,
|
11
|
+
"internalType": "address",
|
12
|
+
"name": "owner",
|
13
|
+
"type": "address"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"indexed": true,
|
17
|
+
"internalType": "address",
|
18
|
+
"name": "approved",
|
19
|
+
"type": "address"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"indexed": true,
|
23
|
+
"internalType": "uint256",
|
24
|
+
"name": "tokenId",
|
25
|
+
"type": "uint256"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"name": "Approval",
|
29
|
+
"type": "event"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"anonymous": false,
|
33
|
+
"inputs": [
|
34
|
+
{
|
35
|
+
"indexed": true,
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "owner",
|
38
|
+
"type": "address"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"indexed": true,
|
42
|
+
"internalType": "address",
|
43
|
+
"name": "operator",
|
44
|
+
"type": "address"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"indexed": false,
|
48
|
+
"internalType": "bool",
|
49
|
+
"name": "approved",
|
50
|
+
"type": "bool"
|
51
|
+
}
|
52
|
+
],
|
53
|
+
"name": "ApprovalForAll",
|
54
|
+
"type": "event"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"anonymous": false,
|
58
|
+
"inputs": [
|
59
|
+
{
|
60
|
+
"indexed": true,
|
61
|
+
"internalType": "uint256",
|
62
|
+
"name": "tokenId",
|
63
|
+
"type": "uint256"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"indexed": false,
|
67
|
+
"internalType": "address",
|
68
|
+
"name": "recipient",
|
69
|
+
"type": "address"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"indexed": false,
|
73
|
+
"internalType": "uint256",
|
74
|
+
"name": "amount0",
|
75
|
+
"type": "uint256"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"indexed": false,
|
79
|
+
"internalType": "uint256",
|
80
|
+
"name": "amount1",
|
81
|
+
"type": "uint256"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"name": "Collect",
|
85
|
+
"type": "event"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"anonymous": false,
|
89
|
+
"inputs": [
|
90
|
+
{
|
91
|
+
"indexed": true,
|
92
|
+
"internalType": "uint256",
|
93
|
+
"name": "tokenId",
|
94
|
+
"type": "uint256"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"indexed": false,
|
98
|
+
"internalType": "uint128",
|
99
|
+
"name": "liquidity",
|
100
|
+
"type": "uint128"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"indexed": false,
|
104
|
+
"internalType": "uint256",
|
105
|
+
"name": "amount0",
|
106
|
+
"type": "uint256"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"indexed": false,
|
110
|
+
"internalType": "uint256",
|
111
|
+
"name": "amount1",
|
112
|
+
"type": "uint256"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"name": "DecreaseLiquidity",
|
116
|
+
"type": "event"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"anonymous": false,
|
120
|
+
"inputs": [
|
121
|
+
{
|
122
|
+
"indexed": true,
|
123
|
+
"internalType": "uint256",
|
124
|
+
"name": "tokenId",
|
125
|
+
"type": "uint256"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"indexed": false,
|
129
|
+
"internalType": "uint128",
|
130
|
+
"name": "liquidity",
|
131
|
+
"type": "uint128"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"indexed": false,
|
135
|
+
"internalType": "uint256",
|
136
|
+
"name": "amount0",
|
137
|
+
"type": "uint256"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"indexed": false,
|
141
|
+
"internalType": "uint256",
|
142
|
+
"name": "amount1",
|
143
|
+
"type": "uint256"
|
144
|
+
}
|
145
|
+
],
|
146
|
+
"name": "IncreaseLiquidity",
|
147
|
+
"type": "event"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"anonymous": false,
|
151
|
+
"inputs": [
|
152
|
+
{
|
153
|
+
"indexed": true,
|
154
|
+
"internalType": "address",
|
155
|
+
"name": "from",
|
156
|
+
"type": "address"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"indexed": true,
|
160
|
+
"internalType": "address",
|
161
|
+
"name": "to",
|
162
|
+
"type": "address"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"indexed": true,
|
166
|
+
"internalType": "uint256",
|
167
|
+
"name": "tokenId",
|
168
|
+
"type": "uint256"
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"name": "Transfer",
|
172
|
+
"type": "event"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"inputs": [],
|
176
|
+
"name": "DOMAIN_SEPARATOR",
|
177
|
+
"outputs": [
|
178
|
+
{
|
179
|
+
"internalType": "bytes32",
|
180
|
+
"name": "",
|
181
|
+
"type": "bytes32"
|
182
|
+
}
|
183
|
+
],
|
184
|
+
"stateMutability": "view",
|
185
|
+
"type": "function"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"inputs": [],
|
189
|
+
"name": "PERMIT_TYPEHASH",
|
190
|
+
"outputs": [
|
191
|
+
{
|
192
|
+
"internalType": "bytes32",
|
193
|
+
"name": "",
|
194
|
+
"type": "bytes32"
|
195
|
+
}
|
196
|
+
],
|
197
|
+
"stateMutability": "pure",
|
198
|
+
"type": "function"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"inputs": [],
|
202
|
+
"name": "WETH9",
|
203
|
+
"outputs": [
|
204
|
+
{
|
205
|
+
"internalType": "address",
|
206
|
+
"name": "",
|
207
|
+
"type": "address"
|
208
|
+
}
|
209
|
+
],
|
210
|
+
"stateMutability": "view",
|
211
|
+
"type": "function"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"inputs": [
|
215
|
+
{
|
216
|
+
"internalType": "address",
|
217
|
+
"name": "to",
|
218
|
+
"type": "address"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"internalType": "uint256",
|
222
|
+
"name": "tokenId",
|
223
|
+
"type": "uint256"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"name": "approve",
|
227
|
+
"outputs": [],
|
228
|
+
"stateMutability": "nonpayable",
|
229
|
+
"type": "function"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"inputs": [
|
233
|
+
{
|
234
|
+
"internalType": "address",
|
235
|
+
"name": "owner",
|
236
|
+
"type": "address"
|
237
|
+
}
|
238
|
+
],
|
239
|
+
"name": "balanceOf",
|
240
|
+
"outputs": [
|
241
|
+
{
|
242
|
+
"internalType": "uint256",
|
243
|
+
"name": "balance",
|
244
|
+
"type": "uint256"
|
245
|
+
}
|
246
|
+
],
|
247
|
+
"stateMutability": "view",
|
248
|
+
"type": "function"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"inputs": [
|
252
|
+
{
|
253
|
+
"internalType": "uint256",
|
254
|
+
"name": "tokenId",
|
255
|
+
"type": "uint256"
|
256
|
+
}
|
257
|
+
],
|
258
|
+
"name": "burn",
|
259
|
+
"outputs": [],
|
260
|
+
"stateMutability": "payable",
|
261
|
+
"type": "function"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"inputs": [
|
265
|
+
{
|
266
|
+
"components": [
|
267
|
+
{
|
268
|
+
"internalType": "uint256",
|
269
|
+
"name": "tokenId",
|
270
|
+
"type": "uint256"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"internalType": "address",
|
274
|
+
"name": "recipient",
|
275
|
+
"type": "address"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"internalType": "uint128",
|
279
|
+
"name": "amount0Max",
|
280
|
+
"type": "uint128"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"internalType": "uint128",
|
284
|
+
"name": "amount1Max",
|
285
|
+
"type": "uint128"
|
286
|
+
}
|
287
|
+
],
|
288
|
+
"internalType": "struct INonfungiblePositionManager.CollectParams",
|
289
|
+
"name": "params",
|
290
|
+
"type": "tuple"
|
291
|
+
}
|
292
|
+
],
|
293
|
+
"name": "collect",
|
294
|
+
"outputs": [
|
295
|
+
{
|
296
|
+
"internalType": "uint256",
|
297
|
+
"name": "amount0",
|
298
|
+
"type": "uint256"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"internalType": "uint256",
|
302
|
+
"name": "amount1",
|
303
|
+
"type": "uint256"
|
304
|
+
}
|
305
|
+
],
|
306
|
+
"stateMutability": "payable",
|
307
|
+
"type": "function"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"inputs": [
|
311
|
+
{
|
312
|
+
"internalType": "address",
|
313
|
+
"name": "token0",
|
314
|
+
"type": "address"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"internalType": "address",
|
318
|
+
"name": "token1",
|
319
|
+
"type": "address"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"internalType": "uint24",
|
323
|
+
"name": "fee",
|
324
|
+
"type": "uint24"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"internalType": "uint160",
|
328
|
+
"name": "sqrtPriceX96",
|
329
|
+
"type": "uint160"
|
330
|
+
}
|
331
|
+
],
|
332
|
+
"name": "createAndInitializePoolIfNecessary",
|
333
|
+
"outputs": [
|
334
|
+
{
|
335
|
+
"internalType": "address",
|
336
|
+
"name": "pool",
|
337
|
+
"type": "address"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"stateMutability": "payable",
|
341
|
+
"type": "function"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"inputs": [
|
345
|
+
{
|
346
|
+
"components": [
|
347
|
+
{
|
348
|
+
"internalType": "uint256",
|
349
|
+
"name": "tokenId",
|
350
|
+
"type": "uint256"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"internalType": "uint128",
|
354
|
+
"name": "liquidity",
|
355
|
+
"type": "uint128"
|
356
|
+
},
|
357
|
+
{
|
358
|
+
"internalType": "uint256",
|
359
|
+
"name": "amount0Min",
|
360
|
+
"type": "uint256"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"internalType": "uint256",
|
364
|
+
"name": "amount1Min",
|
365
|
+
"type": "uint256"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"internalType": "uint256",
|
369
|
+
"name": "deadline",
|
370
|
+
"type": "uint256"
|
371
|
+
}
|
372
|
+
],
|
373
|
+
"internalType": "struct INonfungiblePositionManager.DecreaseLiquidityParams",
|
374
|
+
"name": "params",
|
375
|
+
"type": "tuple"
|
376
|
+
}
|
377
|
+
],
|
378
|
+
"name": "decreaseLiquidity",
|
379
|
+
"outputs": [
|
380
|
+
{
|
381
|
+
"internalType": "uint256",
|
382
|
+
"name": "amount0",
|
383
|
+
"type": "uint256"
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"internalType": "uint256",
|
387
|
+
"name": "amount1",
|
388
|
+
"type": "uint256"
|
389
|
+
}
|
390
|
+
],
|
391
|
+
"stateMutability": "payable",
|
392
|
+
"type": "function"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"inputs": [],
|
396
|
+
"name": "factory",
|
397
|
+
"outputs": [
|
398
|
+
{
|
399
|
+
"internalType": "address",
|
400
|
+
"name": "",
|
401
|
+
"type": "address"
|
402
|
+
}
|
403
|
+
],
|
404
|
+
"stateMutability": "view",
|
405
|
+
"type": "function"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"inputs": [
|
409
|
+
{
|
410
|
+
"internalType": "uint256",
|
411
|
+
"name": "tokenId",
|
412
|
+
"type": "uint256"
|
413
|
+
}
|
414
|
+
],
|
415
|
+
"name": "getApproved",
|
416
|
+
"outputs": [
|
417
|
+
{
|
418
|
+
"internalType": "address",
|
419
|
+
"name": "operator",
|
420
|
+
"type": "address"
|
421
|
+
}
|
422
|
+
],
|
423
|
+
"stateMutability": "view",
|
424
|
+
"type": "function"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"inputs": [
|
428
|
+
{
|
429
|
+
"components": [
|
430
|
+
{
|
431
|
+
"internalType": "uint256",
|
432
|
+
"name": "tokenId",
|
433
|
+
"type": "uint256"
|
434
|
+
},
|
435
|
+
{
|
436
|
+
"internalType": "uint256",
|
437
|
+
"name": "amount0Desired",
|
438
|
+
"type": "uint256"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"internalType": "uint256",
|
442
|
+
"name": "amount1Desired",
|
443
|
+
"type": "uint256"
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"internalType": "uint256",
|
447
|
+
"name": "amount0Min",
|
448
|
+
"type": "uint256"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"internalType": "uint256",
|
452
|
+
"name": "amount1Min",
|
453
|
+
"type": "uint256"
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"internalType": "uint256",
|
457
|
+
"name": "deadline",
|
458
|
+
"type": "uint256"
|
459
|
+
}
|
460
|
+
],
|
461
|
+
"internalType": "struct INonfungiblePositionManager.IncreaseLiquidityParams",
|
462
|
+
"name": "params",
|
463
|
+
"type": "tuple"
|
464
|
+
}
|
465
|
+
],
|
466
|
+
"name": "increaseLiquidity",
|
467
|
+
"outputs": [
|
468
|
+
{
|
469
|
+
"internalType": "uint128",
|
470
|
+
"name": "liquidity",
|
471
|
+
"type": "uint128"
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"internalType": "uint256",
|
475
|
+
"name": "amount0",
|
476
|
+
"type": "uint256"
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"internalType": "uint256",
|
480
|
+
"name": "amount1",
|
481
|
+
"type": "uint256"
|
482
|
+
}
|
483
|
+
],
|
484
|
+
"stateMutability": "payable",
|
485
|
+
"type": "function"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"inputs": [
|
489
|
+
{
|
490
|
+
"internalType": "address",
|
491
|
+
"name": "owner",
|
492
|
+
"type": "address"
|
493
|
+
},
|
494
|
+
{
|
495
|
+
"internalType": "address",
|
496
|
+
"name": "operator",
|
497
|
+
"type": "address"
|
498
|
+
}
|
499
|
+
],
|
500
|
+
"name": "isApprovedForAll",
|
501
|
+
"outputs": [
|
502
|
+
{
|
503
|
+
"internalType": "bool",
|
504
|
+
"name": "",
|
505
|
+
"type": "bool"
|
506
|
+
}
|
507
|
+
],
|
508
|
+
"stateMutability": "view",
|
509
|
+
"type": "function"
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"inputs": [
|
513
|
+
{
|
514
|
+
"components": [
|
515
|
+
{
|
516
|
+
"internalType": "address",
|
517
|
+
"name": "token0",
|
518
|
+
"type": "address"
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"internalType": "address",
|
522
|
+
"name": "token1",
|
523
|
+
"type": "address"
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"internalType": "uint24",
|
527
|
+
"name": "fee",
|
528
|
+
"type": "uint24"
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"internalType": "int24",
|
532
|
+
"name": "tickLower",
|
533
|
+
"type": "int24"
|
534
|
+
},
|
535
|
+
{
|
536
|
+
"internalType": "int24",
|
537
|
+
"name": "tickUpper",
|
538
|
+
"type": "int24"
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"internalType": "uint256",
|
542
|
+
"name": "amount0Desired",
|
543
|
+
"type": "uint256"
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"internalType": "uint256",
|
547
|
+
"name": "amount1Desired",
|
548
|
+
"type": "uint256"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"internalType": "uint256",
|
552
|
+
"name": "amount0Min",
|
553
|
+
"type": "uint256"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"internalType": "uint256",
|
557
|
+
"name": "amount1Min",
|
558
|
+
"type": "uint256"
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"internalType": "address",
|
562
|
+
"name": "recipient",
|
563
|
+
"type": "address"
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"internalType": "uint256",
|
567
|
+
"name": "deadline",
|
568
|
+
"type": "uint256"
|
569
|
+
}
|
570
|
+
],
|
571
|
+
"internalType": "struct INonfungiblePositionManager.MintParams",
|
572
|
+
"name": "params",
|
573
|
+
"type": "tuple"
|
574
|
+
}
|
575
|
+
],
|
576
|
+
"name": "mint",
|
577
|
+
"outputs": [
|
578
|
+
{
|
579
|
+
"internalType": "uint256",
|
580
|
+
"name": "tokenId",
|
581
|
+
"type": "uint256"
|
582
|
+
},
|
583
|
+
{
|
584
|
+
"internalType": "uint128",
|
585
|
+
"name": "liquidity",
|
586
|
+
"type": "uint128"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"internalType": "uint256",
|
590
|
+
"name": "amount0",
|
591
|
+
"type": "uint256"
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"internalType": "uint256",
|
595
|
+
"name": "amount1",
|
596
|
+
"type": "uint256"
|
597
|
+
}
|
598
|
+
],
|
599
|
+
"stateMutability": "payable",
|
600
|
+
"type": "function"
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"inputs": [],
|
604
|
+
"name": "name",
|
605
|
+
"outputs": [
|
606
|
+
{
|
607
|
+
"internalType": "string",
|
608
|
+
"name": "",
|
609
|
+
"type": "string"
|
610
|
+
}
|
611
|
+
],
|
612
|
+
"stateMutability": "view",
|
613
|
+
"type": "function"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"inputs": [
|
617
|
+
{
|
618
|
+
"internalType": "uint256",
|
619
|
+
"name": "tokenId",
|
620
|
+
"type": "uint256"
|
621
|
+
}
|
622
|
+
],
|
623
|
+
"name": "ownerOf",
|
624
|
+
"outputs": [
|
625
|
+
{
|
626
|
+
"internalType": "address",
|
627
|
+
"name": "owner",
|
628
|
+
"type": "address"
|
629
|
+
}
|
630
|
+
],
|
631
|
+
"stateMutability": "view",
|
632
|
+
"type": "function"
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"inputs": [
|
636
|
+
{
|
637
|
+
"internalType": "address",
|
638
|
+
"name": "spender",
|
639
|
+
"type": "address"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"internalType": "uint256",
|
643
|
+
"name": "tokenId",
|
644
|
+
"type": "uint256"
|
645
|
+
},
|
646
|
+
{
|
647
|
+
"internalType": "uint256",
|
648
|
+
"name": "deadline",
|
649
|
+
"type": "uint256"
|
650
|
+
},
|
651
|
+
{
|
652
|
+
"internalType": "uint8",
|
653
|
+
"name": "v",
|
654
|
+
"type": "uint8"
|
655
|
+
},
|
656
|
+
{
|
657
|
+
"internalType": "bytes32",
|
658
|
+
"name": "r",
|
659
|
+
"type": "bytes32"
|
660
|
+
},
|
661
|
+
{
|
662
|
+
"internalType": "bytes32",
|
663
|
+
"name": "s",
|
664
|
+
"type": "bytes32"
|
665
|
+
}
|
666
|
+
],
|
667
|
+
"name": "permit",
|
668
|
+
"outputs": [],
|
669
|
+
"stateMutability": "payable",
|
670
|
+
"type": "function"
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"inputs": [
|
674
|
+
{
|
675
|
+
"internalType": "uint256",
|
676
|
+
"name": "tokenId",
|
677
|
+
"type": "uint256"
|
678
|
+
}
|
679
|
+
],
|
680
|
+
"name": "positions",
|
681
|
+
"outputs": [
|
682
|
+
{
|
683
|
+
"internalType": "uint96",
|
684
|
+
"name": "nonce",
|
685
|
+
"type": "uint96"
|
686
|
+
},
|
687
|
+
{
|
688
|
+
"internalType": "address",
|
689
|
+
"name": "operator",
|
690
|
+
"type": "address"
|
691
|
+
},
|
692
|
+
{
|
693
|
+
"internalType": "address",
|
694
|
+
"name": "token0",
|
695
|
+
"type": "address"
|
696
|
+
},
|
697
|
+
{
|
698
|
+
"internalType": "address",
|
699
|
+
"name": "token1",
|
700
|
+
"type": "address"
|
701
|
+
},
|
702
|
+
{
|
703
|
+
"internalType": "uint24",
|
704
|
+
"name": "fee",
|
705
|
+
"type": "uint24"
|
706
|
+
},
|
707
|
+
{
|
708
|
+
"internalType": "int24",
|
709
|
+
"name": "tickLower",
|
710
|
+
"type": "int24"
|
711
|
+
},
|
712
|
+
{
|
713
|
+
"internalType": "int24",
|
714
|
+
"name": "tickUpper",
|
715
|
+
"type": "int24"
|
716
|
+
},
|
717
|
+
{
|
718
|
+
"internalType": "uint128",
|
719
|
+
"name": "liquidity",
|
720
|
+
"type": "uint128"
|
721
|
+
},
|
722
|
+
{
|
723
|
+
"internalType": "uint256",
|
724
|
+
"name": "feeGrowthInside0LastX128",
|
725
|
+
"type": "uint256"
|
726
|
+
},
|
727
|
+
{
|
728
|
+
"internalType": "uint256",
|
729
|
+
"name": "feeGrowthInside1LastX128",
|
730
|
+
"type": "uint256"
|
731
|
+
},
|
732
|
+
{
|
733
|
+
"internalType": "uint128",
|
734
|
+
"name": "tokensOwed0",
|
735
|
+
"type": "uint128"
|
736
|
+
},
|
737
|
+
{
|
738
|
+
"internalType": "uint128",
|
739
|
+
"name": "tokensOwed1",
|
740
|
+
"type": "uint128"
|
741
|
+
}
|
742
|
+
],
|
743
|
+
"stateMutability": "view",
|
744
|
+
"type": "function"
|
745
|
+
},
|
746
|
+
{
|
747
|
+
"inputs": [],
|
748
|
+
"name": "refundETH",
|
749
|
+
"outputs": [],
|
750
|
+
"stateMutability": "payable",
|
751
|
+
"type": "function"
|
752
|
+
},
|
753
|
+
{
|
754
|
+
"inputs": [
|
755
|
+
{
|
756
|
+
"internalType": "address",
|
757
|
+
"name": "from",
|
758
|
+
"type": "address"
|
759
|
+
},
|
760
|
+
{
|
761
|
+
"internalType": "address",
|
762
|
+
"name": "to",
|
763
|
+
"type": "address"
|
764
|
+
},
|
765
|
+
{
|
766
|
+
"internalType": "uint256",
|
767
|
+
"name": "tokenId",
|
768
|
+
"type": "uint256"
|
769
|
+
}
|
770
|
+
],
|
771
|
+
"name": "safeTransferFrom",
|
772
|
+
"outputs": [],
|
773
|
+
"stateMutability": "nonpayable",
|
774
|
+
"type": "function"
|
775
|
+
},
|
776
|
+
{
|
777
|
+
"inputs": [
|
778
|
+
{
|
779
|
+
"internalType": "address",
|
780
|
+
"name": "from",
|
781
|
+
"type": "address"
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"internalType": "address",
|
785
|
+
"name": "to",
|
786
|
+
"type": "address"
|
787
|
+
},
|
788
|
+
{
|
789
|
+
"internalType": "uint256",
|
790
|
+
"name": "tokenId",
|
791
|
+
"type": "uint256"
|
792
|
+
},
|
793
|
+
{
|
794
|
+
"internalType": "bytes",
|
795
|
+
"name": "data",
|
796
|
+
"type": "bytes"
|
797
|
+
}
|
798
|
+
],
|
799
|
+
"name": "safeTransferFrom",
|
800
|
+
"outputs": [],
|
801
|
+
"stateMutability": "nonpayable",
|
802
|
+
"type": "function"
|
803
|
+
},
|
804
|
+
{
|
805
|
+
"inputs": [
|
806
|
+
{
|
807
|
+
"internalType": "address",
|
808
|
+
"name": "operator",
|
809
|
+
"type": "address"
|
810
|
+
},
|
811
|
+
{
|
812
|
+
"internalType": "bool",
|
813
|
+
"name": "_approved",
|
814
|
+
"type": "bool"
|
815
|
+
}
|
816
|
+
],
|
817
|
+
"name": "setApprovalForAll",
|
818
|
+
"outputs": [],
|
819
|
+
"stateMutability": "nonpayable",
|
820
|
+
"type": "function"
|
821
|
+
},
|
822
|
+
{
|
823
|
+
"inputs": [
|
824
|
+
{
|
825
|
+
"internalType": "bytes4",
|
826
|
+
"name": "interfaceId",
|
827
|
+
"type": "bytes4"
|
828
|
+
}
|
829
|
+
],
|
830
|
+
"name": "supportsInterface",
|
831
|
+
"outputs": [
|
832
|
+
{
|
833
|
+
"internalType": "bool",
|
834
|
+
"name": "",
|
835
|
+
"type": "bool"
|
836
|
+
}
|
837
|
+
],
|
838
|
+
"stateMutability": "view",
|
839
|
+
"type": "function"
|
840
|
+
},
|
841
|
+
{
|
842
|
+
"inputs": [
|
843
|
+
{
|
844
|
+
"internalType": "address",
|
845
|
+
"name": "token",
|
846
|
+
"type": "address"
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"internalType": "uint256",
|
850
|
+
"name": "amountMinimum",
|
851
|
+
"type": "uint256"
|
852
|
+
},
|
853
|
+
{
|
854
|
+
"internalType": "address",
|
855
|
+
"name": "recipient",
|
856
|
+
"type": "address"
|
857
|
+
}
|
858
|
+
],
|
859
|
+
"name": "sweepToken",
|
860
|
+
"outputs": [],
|
861
|
+
"stateMutability": "payable",
|
862
|
+
"type": "function"
|
863
|
+
},
|
864
|
+
{
|
865
|
+
"inputs": [],
|
866
|
+
"name": "symbol",
|
867
|
+
"outputs": [
|
868
|
+
{
|
869
|
+
"internalType": "string",
|
870
|
+
"name": "",
|
871
|
+
"type": "string"
|
872
|
+
}
|
873
|
+
],
|
874
|
+
"stateMutability": "view",
|
875
|
+
"type": "function"
|
876
|
+
},
|
877
|
+
{
|
878
|
+
"inputs": [
|
879
|
+
{
|
880
|
+
"internalType": "uint256",
|
881
|
+
"name": "index",
|
882
|
+
"type": "uint256"
|
883
|
+
}
|
884
|
+
],
|
885
|
+
"name": "tokenByIndex",
|
886
|
+
"outputs": [
|
887
|
+
{
|
888
|
+
"internalType": "uint256",
|
889
|
+
"name": "",
|
890
|
+
"type": "uint256"
|
891
|
+
}
|
892
|
+
],
|
893
|
+
"stateMutability": "view",
|
894
|
+
"type": "function"
|
895
|
+
},
|
896
|
+
{
|
897
|
+
"inputs": [
|
898
|
+
{
|
899
|
+
"internalType": "address",
|
900
|
+
"name": "owner",
|
901
|
+
"type": "address"
|
902
|
+
},
|
903
|
+
{
|
904
|
+
"internalType": "uint256",
|
905
|
+
"name": "index",
|
906
|
+
"type": "uint256"
|
907
|
+
}
|
908
|
+
],
|
909
|
+
"name": "tokenOfOwnerByIndex",
|
910
|
+
"outputs": [
|
911
|
+
{
|
912
|
+
"internalType": "uint256",
|
913
|
+
"name": "tokenId",
|
914
|
+
"type": "uint256"
|
915
|
+
}
|
916
|
+
],
|
917
|
+
"stateMutability": "view",
|
918
|
+
"type": "function"
|
919
|
+
},
|
920
|
+
{
|
921
|
+
"inputs": [
|
922
|
+
{
|
923
|
+
"internalType": "uint256",
|
924
|
+
"name": "tokenId",
|
925
|
+
"type": "uint256"
|
926
|
+
}
|
927
|
+
],
|
928
|
+
"name": "tokenURI",
|
929
|
+
"outputs": [
|
930
|
+
{
|
931
|
+
"internalType": "string",
|
932
|
+
"name": "",
|
933
|
+
"type": "string"
|
934
|
+
}
|
935
|
+
],
|
936
|
+
"stateMutability": "view",
|
937
|
+
"type": "function"
|
938
|
+
},
|
939
|
+
{
|
940
|
+
"inputs": [],
|
941
|
+
"name": "totalSupply",
|
942
|
+
"outputs": [
|
943
|
+
{
|
944
|
+
"internalType": "uint256",
|
945
|
+
"name": "",
|
946
|
+
"type": "uint256"
|
947
|
+
}
|
948
|
+
],
|
949
|
+
"stateMutability": "view",
|
950
|
+
"type": "function"
|
951
|
+
},
|
952
|
+
{
|
953
|
+
"inputs": [
|
954
|
+
{
|
955
|
+
"internalType": "address",
|
956
|
+
"name": "from",
|
957
|
+
"type": "address"
|
958
|
+
},
|
959
|
+
{
|
960
|
+
"internalType": "address",
|
961
|
+
"name": "to",
|
962
|
+
"type": "address"
|
963
|
+
},
|
964
|
+
{
|
965
|
+
"internalType": "uint256",
|
966
|
+
"name": "tokenId",
|
967
|
+
"type": "uint256"
|
968
|
+
}
|
969
|
+
],
|
970
|
+
"name": "transferFrom",
|
971
|
+
"outputs": [],
|
972
|
+
"stateMutability": "nonpayable",
|
973
|
+
"type": "function"
|
974
|
+
},
|
975
|
+
{
|
976
|
+
"inputs": [
|
977
|
+
{
|
978
|
+
"internalType": "uint256",
|
979
|
+
"name": "amountMinimum",
|
980
|
+
"type": "uint256"
|
981
|
+
},
|
982
|
+
{
|
983
|
+
"internalType": "address",
|
984
|
+
"name": "recipient",
|
985
|
+
"type": "address"
|
986
|
+
}
|
987
|
+
],
|
988
|
+
"name": "unwrapWETH9",
|
989
|
+
"outputs": [],
|
990
|
+
"stateMutability": "payable",
|
991
|
+
"type": "function"
|
992
|
+
}
|
993
|
+
],
|
994
|
+
"bytecode": "0x",
|
995
|
+
"deployedBytecode": "0x",
|
996
|
+
"linkReferences": {},
|
997
|
+
"deployedLinkReferences": {}
|
998
|
+
}
|