@pancakeswap/v3-sdk 2.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abi/MasterChefV3.d.ts +1222 -0
- package/dist/abi/MasterChefV3.d.ts.map +1 -0
- package/dist/abi/NonfungiblePositionManager.d.ts +962 -0
- package/dist/abi/NonfungiblePositionManager.d.ts.map +1 -0
- package/dist/abi/PeripheryPaymentsWithFee.d.ts +88 -0
- package/dist/abi/PeripheryPaymentsWithFee.d.ts.map +1 -0
- package/dist/abi/Quoter.d.ts +162 -0
- package/dist/abi/Quoter.d.ts.map +1 -0
- package/dist/abi/QuoterV2.d.ts +220 -0
- package/dist/abi/QuoterV2.d.ts.map +1 -0
- package/dist/abi/SelfPermit.d.ts +122 -0
- package/dist/abi/SelfPermit.d.ts.map +1 -0
- package/dist/abi/SwapRouter.d.ts +453 -0
- package/dist/abi/SwapRouter.d.ts.map +1 -0
- package/dist/abi/V3Staker.d.ts +547 -0
- package/dist/abi/V3Staker.d.ts.map +1 -0
- package/dist/constants.d.ts +36 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/entities/pool.d.ts +2 -1
- package/dist/entities/pool.d.ts.map +1 -1
- package/dist/entities/tick.d.ts.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1528 -1376
- package/dist/index.mjs +1516 -1371
- package/dist/masterchefV3.d.ts +1228 -9
- package/dist/masterchefV3.d.ts.map +1 -1
- package/dist/multicall.d.ts +16 -3
- package/dist/multicall.d.ts.map +1 -1
- package/dist/nonfungiblePositionManager.d.ts +976 -10
- package/dist/nonfungiblePositionManager.d.ts.map +1 -1
- package/dist/payments.d.ts +95 -6
- package/dist/payments.d.ts.map +1 -1
- package/dist/quoter.d.ts +385 -4
- package/dist/quoter.d.ts.map +1 -1
- package/dist/selfPermit.d.ts +128 -8
- package/dist/selfPermit.d.ts.map +1 -1
- package/dist/staker.d.ts +549 -3
- package/dist/staker.d.ts.map +1 -1
- package/dist/swapRouter.d.ts +452 -2
- package/dist/swapRouter.d.ts.map +1 -1
- package/dist/utils/calldata.d.ts +4 -3
- package/dist/utils/calldata.d.ts.map +1 -1
- package/dist/utils/computePoolAddress.d.ts +4 -3
- package/dist/utils/computePoolAddress.d.ts.map +1 -1
- package/dist/utils/encodeRouteToPath.d.ts +3 -2
- package/dist/utils/encodeRouteToPath.d.ts.map +1 -1
- package/dist/utils/encodeSqrtRatioX96.d.ts +1 -1
- package/dist/utils/encodeSqrtRatioX96.d.ts.map +1 -1
- package/dist/utils/feeCalculator.d.ts +5 -5
- package/dist/utils/feeCalculator.d.ts.map +1 -1
- package/dist/utils/parseProtocolFees.d.ts +1 -1
- package/dist/utils/parseProtocolFees.d.ts.map +1 -1
- package/dist/utils/positionMath.d.ts.map +1 -1
- package/dist/utils/priceTickConversions.d.ts +1 -1
- package/dist/utils/priceTickConversions.d.ts.map +1 -1
- package/package.json +6 -15
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { BigintIsh, Percent, CurrencyAmount, Currency, NativeCurrency } from '@pancakeswap/sdk';
|
|
2
|
-
import {
|
|
2
|
+
import { Address, Hex } from 'viem';
|
|
3
3
|
import { Position } from './entities/position';
|
|
4
4
|
import { MethodParameters } from './utils/calldata';
|
|
5
5
|
import { PermitOptions } from './selfPermit';
|
|
6
6
|
import { Pool } from './entities';
|
|
7
|
-
export declare const MaxUint128:
|
|
7
|
+
export declare const MaxUint128: bigint;
|
|
8
8
|
export interface MintSpecificOptions {
|
|
9
9
|
/**
|
|
10
10
|
* The account that should receive the minted NFT.
|
|
11
11
|
*/
|
|
12
|
-
recipient:
|
|
12
|
+
recipient: Address;
|
|
13
13
|
/**
|
|
14
14
|
* Creates pool if not initialized before mint.
|
|
15
15
|
*/
|
|
@@ -53,11 +53,11 @@ export interface SafeTransferOptions {
|
|
|
53
53
|
/**
|
|
54
54
|
* The account sending the NFT.
|
|
55
55
|
*/
|
|
56
|
-
sender:
|
|
56
|
+
sender: Address;
|
|
57
57
|
/**
|
|
58
58
|
* The account that should receive the NFT.
|
|
59
59
|
*/
|
|
60
|
-
recipient:
|
|
60
|
+
recipient: Address;
|
|
61
61
|
/**
|
|
62
62
|
* The id of the token being sent.
|
|
63
63
|
*/
|
|
@@ -65,7 +65,7 @@ export interface SafeTransferOptions {
|
|
|
65
65
|
/**
|
|
66
66
|
* The optional parameter that passes data to the `onERC721Received` call for the staker
|
|
67
67
|
*/
|
|
68
|
-
data?:
|
|
68
|
+
data?: Hex;
|
|
69
69
|
}
|
|
70
70
|
export declare function isMint(options: AddLiquidityOptions): options is MintOptions;
|
|
71
71
|
export interface CollectOptions {
|
|
@@ -84,12 +84,12 @@ export interface CollectOptions {
|
|
|
84
84
|
/**
|
|
85
85
|
* The account that should receive the tokens.
|
|
86
86
|
*/
|
|
87
|
-
recipient:
|
|
87
|
+
recipient: Address;
|
|
88
88
|
}
|
|
89
89
|
export interface NFTPermitOptions {
|
|
90
90
|
v: 0 | 1 | 27 | 28;
|
|
91
|
-
r: string
|
|
92
|
-
s: string
|
|
91
|
+
r: `0x${string}`;
|
|
92
|
+
s: `0x${string}`;
|
|
93
93
|
deadline: BigintIsh;
|
|
94
94
|
spender: string;
|
|
95
95
|
}
|
|
@@ -127,7 +127,973 @@ export interface RemoveLiquidityOptions {
|
|
|
127
127
|
collectOptions: Omit<CollectOptions, 'tokenId'>;
|
|
128
128
|
}
|
|
129
129
|
export declare abstract class NonfungiblePositionManager {
|
|
130
|
-
static
|
|
130
|
+
static ABI: readonly [{
|
|
131
|
+
readonly inputs: readonly [{
|
|
132
|
+
readonly internalType: "address";
|
|
133
|
+
readonly name: "_deployer";
|
|
134
|
+
readonly type: "address";
|
|
135
|
+
}, {
|
|
136
|
+
readonly internalType: "address";
|
|
137
|
+
readonly name: "_factory";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
}, {
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
readonly name: "_WETH9";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}, {
|
|
144
|
+
readonly internalType: "address";
|
|
145
|
+
readonly name: "_tokenDescriptor_";
|
|
146
|
+
readonly type: "address";
|
|
147
|
+
}];
|
|
148
|
+
readonly stateMutability: "nonpayable";
|
|
149
|
+
readonly type: "constructor";
|
|
150
|
+
}, {
|
|
151
|
+
readonly anonymous: false;
|
|
152
|
+
readonly inputs: readonly [{
|
|
153
|
+
readonly indexed: true;
|
|
154
|
+
readonly internalType: "address";
|
|
155
|
+
readonly name: "owner";
|
|
156
|
+
readonly type: "address";
|
|
157
|
+
}, {
|
|
158
|
+
readonly indexed: true;
|
|
159
|
+
readonly internalType: "address";
|
|
160
|
+
readonly name: "approved";
|
|
161
|
+
readonly type: "address";
|
|
162
|
+
}, {
|
|
163
|
+
readonly indexed: true;
|
|
164
|
+
readonly internalType: "uint256";
|
|
165
|
+
readonly name: "tokenId";
|
|
166
|
+
readonly type: "uint256";
|
|
167
|
+
}];
|
|
168
|
+
readonly name: "Approval";
|
|
169
|
+
readonly type: "event";
|
|
170
|
+
}, {
|
|
171
|
+
readonly anonymous: false;
|
|
172
|
+
readonly inputs: readonly [{
|
|
173
|
+
readonly indexed: true;
|
|
174
|
+
readonly internalType: "address";
|
|
175
|
+
readonly name: "owner";
|
|
176
|
+
readonly type: "address";
|
|
177
|
+
}, {
|
|
178
|
+
readonly indexed: true;
|
|
179
|
+
readonly internalType: "address";
|
|
180
|
+
readonly name: "operator";
|
|
181
|
+
readonly type: "address";
|
|
182
|
+
}, {
|
|
183
|
+
readonly indexed: false;
|
|
184
|
+
readonly internalType: "bool";
|
|
185
|
+
readonly name: "approved";
|
|
186
|
+
readonly type: "bool";
|
|
187
|
+
}];
|
|
188
|
+
readonly name: "ApprovalForAll";
|
|
189
|
+
readonly type: "event";
|
|
190
|
+
}, {
|
|
191
|
+
readonly anonymous: false;
|
|
192
|
+
readonly inputs: readonly [{
|
|
193
|
+
readonly indexed: true;
|
|
194
|
+
readonly internalType: "uint256";
|
|
195
|
+
readonly name: "tokenId";
|
|
196
|
+
readonly type: "uint256";
|
|
197
|
+
}, {
|
|
198
|
+
readonly indexed: false;
|
|
199
|
+
readonly internalType: "address";
|
|
200
|
+
/**
|
|
201
|
+
* When the transaction expires, in epoch seconds.
|
|
202
|
+
*/
|
|
203
|
+
readonly name: "recipient";
|
|
204
|
+
readonly type: "address";
|
|
205
|
+
}, {
|
|
206
|
+
readonly indexed: false;
|
|
207
|
+
readonly internalType: "uint256";
|
|
208
|
+
/**
|
|
209
|
+
* Whether to spend ether. If true, one of the pool tokens must be WETH, by default false
|
|
210
|
+
*/
|
|
211
|
+
readonly name: "amount0";
|
|
212
|
+
readonly type: "uint256";
|
|
213
|
+
}, {
|
|
214
|
+
readonly indexed: false;
|
|
215
|
+
readonly internalType: "uint256";
|
|
216
|
+
readonly name: "amount1";
|
|
217
|
+
readonly type: "uint256";
|
|
218
|
+
}];
|
|
219
|
+
readonly name: "Collect";
|
|
220
|
+
readonly type: "event";
|
|
221
|
+
}, {
|
|
222
|
+
readonly anonymous: false;
|
|
223
|
+
readonly inputs: readonly [{
|
|
224
|
+
readonly indexed: true;
|
|
225
|
+
readonly internalType: "uint256";
|
|
226
|
+
readonly name: "tokenId";
|
|
227
|
+
readonly type: "uint256";
|
|
228
|
+
}, {
|
|
229
|
+
readonly indexed: false;
|
|
230
|
+
readonly internalType: "uint128";
|
|
231
|
+
readonly name: "liquidity";
|
|
232
|
+
readonly type: "uint128";
|
|
233
|
+
}, {
|
|
234
|
+
readonly indexed: false;
|
|
235
|
+
readonly internalType: "uint256";
|
|
236
|
+
readonly name: "amount0";
|
|
237
|
+
readonly type: "uint256";
|
|
238
|
+
}, {
|
|
239
|
+
readonly indexed: false;
|
|
240
|
+
readonly internalType: "uint256";
|
|
241
|
+
readonly name: "amount1";
|
|
242
|
+
readonly type: "uint256";
|
|
243
|
+
}];
|
|
244
|
+
readonly name: "DecreaseLiquidity";
|
|
245
|
+
readonly type: "event";
|
|
246
|
+
}, {
|
|
247
|
+
readonly anonymous: false;
|
|
248
|
+
readonly inputs: readonly [{
|
|
249
|
+
readonly indexed: true;
|
|
250
|
+
readonly internalType: "uint256";
|
|
251
|
+
readonly name: "tokenId";
|
|
252
|
+
readonly type: "uint256";
|
|
253
|
+
}, {
|
|
254
|
+
readonly indexed: false;
|
|
255
|
+
readonly internalType: "uint128";
|
|
256
|
+
readonly name: "liquidity";
|
|
257
|
+
readonly type: "uint128";
|
|
258
|
+
}, {
|
|
259
|
+
readonly indexed: false;
|
|
260
|
+
readonly internalType: "uint256";
|
|
261
|
+
readonly name: "amount0";
|
|
262
|
+
readonly type: "uint256";
|
|
263
|
+
}, {
|
|
264
|
+
readonly indexed: false;
|
|
265
|
+
readonly internalType: "uint256";
|
|
266
|
+
readonly name: "amount1";
|
|
267
|
+
readonly type: "uint256";
|
|
268
|
+
}];
|
|
269
|
+
readonly name: "IncreaseLiquidity";
|
|
270
|
+
readonly type: "event";
|
|
271
|
+
}, {
|
|
272
|
+
readonly anonymous: false;
|
|
273
|
+
readonly inputs: readonly [{
|
|
274
|
+
readonly indexed: true;
|
|
275
|
+
readonly internalType: "address";
|
|
276
|
+
readonly name: "from";
|
|
277
|
+
readonly type: "address";
|
|
278
|
+
}, {
|
|
279
|
+
readonly indexed: true;
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
readonly name: "to";
|
|
282
|
+
readonly type: "address";
|
|
283
|
+
}, {
|
|
284
|
+
readonly indexed: true;
|
|
285
|
+
readonly internalType: "uint256";
|
|
286
|
+
readonly name: "tokenId";
|
|
287
|
+
readonly type: "uint256";
|
|
288
|
+
}];
|
|
289
|
+
readonly name: "Transfer";
|
|
290
|
+
readonly type: "event";
|
|
291
|
+
}, {
|
|
292
|
+
readonly inputs: readonly [];
|
|
293
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
294
|
+
readonly outputs: readonly [{
|
|
295
|
+
readonly internalType: "bytes32";
|
|
296
|
+
readonly name: "";
|
|
297
|
+
readonly type: "bytes32";
|
|
298
|
+
}];
|
|
299
|
+
readonly stateMutability: "view";
|
|
300
|
+
readonly type: "function";
|
|
301
|
+
}, {
|
|
302
|
+
readonly inputs: readonly [];
|
|
303
|
+
readonly name: "PERMIT_TYPEHASH";
|
|
304
|
+
readonly outputs: readonly [{
|
|
305
|
+
readonly internalType: "bytes32";
|
|
306
|
+
readonly name: "";
|
|
307
|
+
readonly type: "bytes32";
|
|
308
|
+
}];
|
|
309
|
+
readonly stateMutability: "view";
|
|
310
|
+
readonly type: "function";
|
|
311
|
+
}, {
|
|
312
|
+
readonly inputs: readonly [];
|
|
313
|
+
readonly name: "WETH9";
|
|
314
|
+
readonly outputs: readonly [{
|
|
315
|
+
readonly internalType: "address";
|
|
316
|
+
readonly name: "";
|
|
317
|
+
readonly type: "address";
|
|
318
|
+
}];
|
|
319
|
+
readonly stateMutability: "view";
|
|
320
|
+
readonly type: "function";
|
|
321
|
+
}, {
|
|
322
|
+
readonly inputs: readonly [{
|
|
323
|
+
readonly internalType: "address";
|
|
324
|
+
readonly name: "to";
|
|
325
|
+
readonly type: "address";
|
|
326
|
+
}, {
|
|
327
|
+
readonly internalType: "uint256";
|
|
328
|
+
readonly name: "tokenId";
|
|
329
|
+
readonly type: "uint256";
|
|
330
|
+
}];
|
|
331
|
+
readonly name: "approve";
|
|
332
|
+
readonly outputs: readonly [];
|
|
333
|
+
readonly stateMutability: "nonpayable";
|
|
334
|
+
readonly type: "function";
|
|
335
|
+
}, {
|
|
336
|
+
readonly inputs: readonly [{
|
|
337
|
+
readonly internalType: "address";
|
|
338
|
+
readonly name: "owner";
|
|
339
|
+
readonly type: "address";
|
|
340
|
+
}];
|
|
341
|
+
readonly name: "balanceOf";
|
|
342
|
+
readonly outputs: readonly [{
|
|
343
|
+
readonly internalType: "uint256";
|
|
344
|
+
readonly name: "";
|
|
345
|
+
readonly type: "uint256";
|
|
346
|
+
}];
|
|
347
|
+
readonly stateMutability: "view";
|
|
348
|
+
readonly type: "function";
|
|
349
|
+
}, {
|
|
350
|
+
readonly inputs: readonly [];
|
|
351
|
+
readonly name: "baseURI";
|
|
352
|
+
readonly outputs: readonly [{
|
|
353
|
+
readonly internalType: "string";
|
|
354
|
+
readonly name: "";
|
|
355
|
+
readonly type: "string";
|
|
356
|
+
}];
|
|
357
|
+
readonly stateMutability: "pure";
|
|
358
|
+
readonly type: "function";
|
|
359
|
+
}, {
|
|
360
|
+
readonly inputs: readonly [{
|
|
361
|
+
readonly internalType: "uint256";
|
|
362
|
+
readonly name: "tokenId";
|
|
363
|
+
readonly type: "uint256";
|
|
364
|
+
}];
|
|
365
|
+
readonly name: "burn";
|
|
366
|
+
readonly outputs: readonly [];
|
|
367
|
+
readonly stateMutability: "payable";
|
|
368
|
+
readonly type: "function";
|
|
369
|
+
}, {
|
|
370
|
+
readonly inputs: readonly [{
|
|
371
|
+
readonly components: readonly [{
|
|
372
|
+
readonly internalType: "uint256";
|
|
373
|
+
readonly name: "tokenId";
|
|
374
|
+
readonly type: "uint256";
|
|
375
|
+
}, {
|
|
376
|
+
readonly internalType: "address";
|
|
377
|
+
readonly name: "recipient";
|
|
378
|
+
readonly type: "address";
|
|
379
|
+
}, {
|
|
380
|
+
readonly internalType: "uint128";
|
|
381
|
+
readonly name: "amount0Max";
|
|
382
|
+
readonly type: "uint128";
|
|
383
|
+
}, {
|
|
384
|
+
readonly internalType: "uint128";
|
|
385
|
+
readonly name: "amount1Max";
|
|
386
|
+
readonly type: "uint128";
|
|
387
|
+
}];
|
|
388
|
+
readonly internalType: "struct INonfungiblePositionManager.CollectParams";
|
|
389
|
+
readonly name: "params";
|
|
390
|
+
readonly type: "tuple";
|
|
391
|
+
}];
|
|
392
|
+
readonly name: "collect";
|
|
393
|
+
readonly outputs: readonly [{
|
|
394
|
+
readonly internalType: "uint256";
|
|
395
|
+
readonly name: "amount0";
|
|
396
|
+
readonly type: "uint256";
|
|
397
|
+
}, {
|
|
398
|
+
readonly internalType: "uint256";
|
|
399
|
+
readonly name: "amount1";
|
|
400
|
+
readonly type: "uint256";
|
|
401
|
+
}];
|
|
402
|
+
readonly stateMutability: "payable";
|
|
403
|
+
readonly type: "function";
|
|
404
|
+
}, {
|
|
405
|
+
readonly inputs: readonly [{
|
|
406
|
+
readonly internalType: "address";
|
|
407
|
+
readonly name: "token0";
|
|
408
|
+
readonly type: "address";
|
|
409
|
+
}, {
|
|
410
|
+
readonly internalType: "address";
|
|
411
|
+
readonly name: "token1";
|
|
412
|
+
readonly type: "address";
|
|
413
|
+
}, {
|
|
414
|
+
readonly internalType: "uint24";
|
|
415
|
+
readonly name: "fee";
|
|
416
|
+
readonly type: "uint24";
|
|
417
|
+
}, {
|
|
418
|
+
readonly internalType: "uint160";
|
|
419
|
+
readonly name: "sqrtPriceX96";
|
|
420
|
+
readonly type: "uint160";
|
|
421
|
+
}];
|
|
422
|
+
readonly name: "createAndInitializePoolIfNecessary";
|
|
423
|
+
readonly outputs: readonly [{
|
|
424
|
+
readonly internalType: "address";
|
|
425
|
+
readonly name: "pool";
|
|
426
|
+
readonly type: "address";
|
|
427
|
+
}];
|
|
428
|
+
readonly stateMutability: "payable";
|
|
429
|
+
readonly type: "function";
|
|
430
|
+
}, {
|
|
431
|
+
readonly inputs: readonly [{
|
|
432
|
+
readonly components: readonly [{
|
|
433
|
+
readonly internalType: "uint256";
|
|
434
|
+
readonly name: "tokenId";
|
|
435
|
+
readonly type: "uint256";
|
|
436
|
+
}, {
|
|
437
|
+
readonly internalType: "uint128";
|
|
438
|
+
readonly name: "liquidity";
|
|
439
|
+
readonly type: "uint128";
|
|
440
|
+
}, {
|
|
441
|
+
readonly internalType: "uint256";
|
|
442
|
+
readonly name: "amount0Min";
|
|
443
|
+
readonly type: "uint256";
|
|
444
|
+
}, {
|
|
445
|
+
readonly internalType: "uint256";
|
|
446
|
+
readonly name: "amount1Min";
|
|
447
|
+
readonly type: "uint256";
|
|
448
|
+
}, {
|
|
449
|
+
readonly internalType: "uint256";
|
|
450
|
+
readonly name: "deadline";
|
|
451
|
+
readonly type: "uint256";
|
|
452
|
+
}];
|
|
453
|
+
readonly internalType: "struct INonfungiblePositionManager.DecreaseLiquidityParams";
|
|
454
|
+
readonly name: "params";
|
|
455
|
+
readonly type: "tuple";
|
|
456
|
+
}];
|
|
457
|
+
readonly name: "decreaseLiquidity";
|
|
458
|
+
readonly outputs: readonly [{
|
|
459
|
+
readonly internalType: "uint256";
|
|
460
|
+
readonly name: "amount0";
|
|
461
|
+
readonly type: "uint256";
|
|
462
|
+
}, {
|
|
463
|
+
readonly internalType: "uint256";
|
|
464
|
+
readonly name: "amount1";
|
|
465
|
+
readonly type: "uint256";
|
|
466
|
+
}];
|
|
467
|
+
readonly stateMutability: "payable";
|
|
468
|
+
readonly type: "function";
|
|
469
|
+
}, {
|
|
470
|
+
readonly inputs: readonly [];
|
|
471
|
+
readonly name: "deployer";
|
|
472
|
+
readonly outputs: readonly [{
|
|
473
|
+
readonly internalType: "address";
|
|
474
|
+
readonly name: "";
|
|
475
|
+
readonly type: "address";
|
|
476
|
+
}];
|
|
477
|
+
readonly stateMutability: "view";
|
|
478
|
+
readonly type: "function";
|
|
479
|
+
}, {
|
|
480
|
+
readonly inputs: readonly [];
|
|
481
|
+
readonly name: "factory";
|
|
482
|
+
readonly outputs: readonly [{
|
|
483
|
+
readonly internalType: "address";
|
|
484
|
+
readonly name: "";
|
|
485
|
+
readonly type: "address";
|
|
486
|
+
}];
|
|
487
|
+
readonly stateMutability: "view";
|
|
488
|
+
readonly type: "function";
|
|
489
|
+
}, {
|
|
490
|
+
readonly inputs: readonly [{
|
|
491
|
+
readonly internalType: "uint256";
|
|
492
|
+
readonly name: "tokenId";
|
|
493
|
+
readonly type: "uint256";
|
|
494
|
+
}];
|
|
495
|
+
readonly name: "getApproved";
|
|
496
|
+
readonly outputs: readonly [{
|
|
497
|
+
readonly internalType: "address";
|
|
498
|
+
readonly name: "";
|
|
499
|
+
readonly type: "address";
|
|
500
|
+
}];
|
|
501
|
+
readonly stateMutability: "view";
|
|
502
|
+
readonly type: "function";
|
|
503
|
+
}, {
|
|
504
|
+
readonly inputs: readonly [{
|
|
505
|
+
readonly components: readonly [{
|
|
506
|
+
readonly internalType: "uint256";
|
|
507
|
+
readonly name: "tokenId";
|
|
508
|
+
readonly type: "uint256";
|
|
509
|
+
}, {
|
|
510
|
+
readonly internalType: "uint256";
|
|
511
|
+
readonly name: "amount0Desired";
|
|
512
|
+
readonly type: "uint256";
|
|
513
|
+
}, {
|
|
514
|
+
readonly internalType: "uint256";
|
|
515
|
+
readonly name: "amount1Desired";
|
|
516
|
+
readonly type: "uint256";
|
|
517
|
+
}, {
|
|
518
|
+
readonly internalType: "uint256";
|
|
519
|
+
readonly name: "amount0Min";
|
|
520
|
+
readonly type: "uint256";
|
|
521
|
+
}, {
|
|
522
|
+
readonly internalType: "uint256";
|
|
523
|
+
readonly name: "amount1Min";
|
|
524
|
+
readonly type: "uint256";
|
|
525
|
+
}, {
|
|
526
|
+
readonly internalType: "uint256";
|
|
527
|
+
readonly name: "deadline";
|
|
528
|
+
readonly type: "uint256";
|
|
529
|
+
}];
|
|
530
|
+
readonly internalType: "struct INonfungiblePositionManager.IncreaseLiquidityParams";
|
|
531
|
+
readonly name: "params";
|
|
532
|
+
readonly type: "tuple";
|
|
533
|
+
}];
|
|
534
|
+
readonly name: "increaseLiquidity";
|
|
535
|
+
readonly outputs: readonly [{
|
|
536
|
+
readonly internalType: "uint128";
|
|
537
|
+
readonly name: "liquidity";
|
|
538
|
+
readonly type: "uint128";
|
|
539
|
+
}, {
|
|
540
|
+
readonly internalType: "uint256";
|
|
541
|
+
readonly name: "amount0";
|
|
542
|
+
readonly type: "uint256";
|
|
543
|
+
}, {
|
|
544
|
+
readonly internalType: "uint256";
|
|
545
|
+
readonly name: "amount1";
|
|
546
|
+
readonly type: "uint256";
|
|
547
|
+
}];
|
|
548
|
+
readonly stateMutability: "payable";
|
|
549
|
+
readonly type: "function";
|
|
550
|
+
}, {
|
|
551
|
+
readonly inputs: readonly [{
|
|
552
|
+
readonly internalType: "address";
|
|
553
|
+
readonly name: "owner";
|
|
554
|
+
readonly type: "address";
|
|
555
|
+
}, {
|
|
556
|
+
readonly internalType: "address";
|
|
557
|
+
readonly name: "operator";
|
|
558
|
+
readonly type: "address";
|
|
559
|
+
}];
|
|
560
|
+
readonly name: "isApprovedForAll";
|
|
561
|
+
readonly outputs: readonly [{
|
|
562
|
+
readonly internalType: "bool";
|
|
563
|
+
readonly name: "";
|
|
564
|
+
readonly type: "bool";
|
|
565
|
+
}];
|
|
566
|
+
readonly stateMutability: "view";
|
|
567
|
+
readonly type: "function";
|
|
568
|
+
}, {
|
|
569
|
+
readonly inputs: readonly [{
|
|
570
|
+
readonly components: readonly [{
|
|
571
|
+
readonly internalType: "address";
|
|
572
|
+
readonly name: "token0";
|
|
573
|
+
readonly type: "address";
|
|
574
|
+
}, {
|
|
575
|
+
readonly internalType: "address";
|
|
576
|
+
readonly name: "token1";
|
|
577
|
+
readonly type: "address";
|
|
578
|
+
}, {
|
|
579
|
+
readonly internalType: "uint24";
|
|
580
|
+
readonly name: "fee";
|
|
581
|
+
readonly type: "uint24";
|
|
582
|
+
}, {
|
|
583
|
+
readonly internalType: "int24";
|
|
584
|
+
readonly name: "tickLower";
|
|
585
|
+
readonly type: "int24";
|
|
586
|
+
}, {
|
|
587
|
+
readonly internalType: "int24";
|
|
588
|
+
readonly name: "tickUpper";
|
|
589
|
+
readonly type: "int24";
|
|
590
|
+
}, {
|
|
591
|
+
readonly internalType: "uint256";
|
|
592
|
+
readonly name: "amount0Desired";
|
|
593
|
+
readonly type: "uint256";
|
|
594
|
+
}, {
|
|
595
|
+
readonly internalType: "uint256";
|
|
596
|
+
readonly name: "amount1Desired";
|
|
597
|
+
readonly type: "uint256";
|
|
598
|
+
}, {
|
|
599
|
+
readonly internalType: "uint256";
|
|
600
|
+
readonly name: "amount0Min";
|
|
601
|
+
readonly type: "uint256";
|
|
602
|
+
}, {
|
|
603
|
+
readonly internalType: "uint256";
|
|
604
|
+
readonly name: "amount1Min";
|
|
605
|
+
readonly type: "uint256";
|
|
606
|
+
}, {
|
|
607
|
+
readonly internalType: "address";
|
|
608
|
+
readonly name: "recipient";
|
|
609
|
+
readonly type: "address";
|
|
610
|
+
}, {
|
|
611
|
+
readonly internalType: "uint256";
|
|
612
|
+
readonly name: "deadline";
|
|
613
|
+
readonly type: "uint256";
|
|
614
|
+
}];
|
|
615
|
+
readonly internalType: "struct INonfungiblePositionManager.MintParams";
|
|
616
|
+
readonly name: "params";
|
|
617
|
+
readonly type: "tuple";
|
|
618
|
+
}];
|
|
619
|
+
readonly name: "mint";
|
|
620
|
+
readonly outputs: readonly [{
|
|
621
|
+
readonly internalType: "uint256";
|
|
622
|
+
readonly name: "tokenId";
|
|
623
|
+
readonly type: "uint256";
|
|
624
|
+
}, {
|
|
625
|
+
readonly internalType: "uint128";
|
|
626
|
+
readonly name: "liquidity";
|
|
627
|
+
readonly type: "uint128";
|
|
628
|
+
}, {
|
|
629
|
+
readonly internalType: "uint256";
|
|
630
|
+
readonly name: "amount0";
|
|
631
|
+
readonly type: "uint256";
|
|
632
|
+
}, {
|
|
633
|
+
readonly internalType: "uint256";
|
|
634
|
+
readonly name: "amount1";
|
|
635
|
+
readonly type: "uint256";
|
|
636
|
+
}];
|
|
637
|
+
readonly stateMutability: "payable";
|
|
638
|
+
readonly type: "function";
|
|
639
|
+
}, {
|
|
640
|
+
readonly inputs: readonly [{
|
|
641
|
+
readonly internalType: "bytes[]";
|
|
642
|
+
readonly name: "data";
|
|
643
|
+
readonly type: "bytes[]";
|
|
644
|
+
}];
|
|
645
|
+
readonly name: "multicall";
|
|
646
|
+
readonly outputs: readonly [{
|
|
647
|
+
readonly internalType: "bytes[]";
|
|
648
|
+
readonly name: "results";
|
|
649
|
+
readonly type: "bytes[]";
|
|
650
|
+
}];
|
|
651
|
+
readonly stateMutability: "payable";
|
|
652
|
+
readonly type: "function";
|
|
653
|
+
}, {
|
|
654
|
+
readonly inputs: readonly [];
|
|
655
|
+
readonly name: "name";
|
|
656
|
+
readonly outputs: readonly [{
|
|
657
|
+
readonly internalType: "string";
|
|
658
|
+
readonly name: "";
|
|
659
|
+
readonly type: "string";
|
|
660
|
+
}];
|
|
661
|
+
readonly stateMutability: "view";
|
|
662
|
+
readonly type: "function";
|
|
663
|
+
}, {
|
|
664
|
+
readonly inputs: readonly [{
|
|
665
|
+
readonly internalType: "uint256";
|
|
666
|
+
readonly name: "tokenId";
|
|
667
|
+
readonly type: "uint256";
|
|
668
|
+
}];
|
|
669
|
+
readonly name: "ownerOf";
|
|
670
|
+
readonly outputs: readonly [{
|
|
671
|
+
readonly internalType: "address";
|
|
672
|
+
readonly name: "";
|
|
673
|
+
readonly type: "address";
|
|
674
|
+
}];
|
|
675
|
+
readonly stateMutability: "view";
|
|
676
|
+
readonly type: "function";
|
|
677
|
+
}, {
|
|
678
|
+
readonly inputs: readonly [{
|
|
679
|
+
readonly internalType: "uint256";
|
|
680
|
+
readonly name: "amount0Owed";
|
|
681
|
+
readonly type: "uint256";
|
|
682
|
+
}, {
|
|
683
|
+
readonly internalType: "uint256";
|
|
684
|
+
readonly name: "amount1Owed";
|
|
685
|
+
readonly type: "uint256";
|
|
686
|
+
}, {
|
|
687
|
+
readonly internalType: "bytes";
|
|
688
|
+
readonly name: "data";
|
|
689
|
+
readonly type: "bytes";
|
|
690
|
+
}];
|
|
691
|
+
readonly name: "pancakeV3MintCallback";
|
|
692
|
+
readonly outputs: readonly [];
|
|
693
|
+
readonly stateMutability: "nonpayable";
|
|
694
|
+
readonly type: "function";
|
|
695
|
+
}, {
|
|
696
|
+
readonly inputs: readonly [{
|
|
697
|
+
readonly internalType: "address";
|
|
698
|
+
readonly name: "spender";
|
|
699
|
+
readonly type: "address";
|
|
700
|
+
}, {
|
|
701
|
+
readonly internalType: "uint256";
|
|
702
|
+
readonly name: "tokenId";
|
|
703
|
+
readonly type: "uint256";
|
|
704
|
+
}, {
|
|
705
|
+
readonly internalType: "uint256";
|
|
706
|
+
readonly name: "deadline";
|
|
707
|
+
readonly type: "uint256";
|
|
708
|
+
}, {
|
|
709
|
+
readonly internalType: "uint8";
|
|
710
|
+
readonly name: "v";
|
|
711
|
+
readonly type: "uint8";
|
|
712
|
+
}, {
|
|
713
|
+
readonly internalType: "bytes32";
|
|
714
|
+
readonly name: "r";
|
|
715
|
+
readonly type: "bytes32";
|
|
716
|
+
}, {
|
|
717
|
+
readonly internalType: "bytes32";
|
|
718
|
+
readonly name: "s";
|
|
719
|
+
readonly type: "bytes32";
|
|
720
|
+
}];
|
|
721
|
+
readonly name: "permit";
|
|
722
|
+
readonly outputs: readonly [];
|
|
723
|
+
readonly stateMutability: "payable";
|
|
724
|
+
readonly type: "function";
|
|
725
|
+
}, {
|
|
726
|
+
readonly inputs: readonly [{
|
|
727
|
+
readonly internalType: "uint256";
|
|
728
|
+
readonly name: "tokenId";
|
|
729
|
+
readonly type: "uint256";
|
|
730
|
+
}];
|
|
731
|
+
readonly name: "positions";
|
|
732
|
+
readonly outputs: readonly [{
|
|
733
|
+
readonly internalType: "uint96";
|
|
734
|
+
readonly name: "nonce";
|
|
735
|
+
readonly type: "uint96";
|
|
736
|
+
}, {
|
|
737
|
+
readonly internalType: "address";
|
|
738
|
+
readonly name: "operator";
|
|
739
|
+
readonly type: "address";
|
|
740
|
+
}, {
|
|
741
|
+
readonly internalType: "address";
|
|
742
|
+
readonly name: "token0";
|
|
743
|
+
readonly type: "address";
|
|
744
|
+
}, {
|
|
745
|
+
readonly internalType: "address";
|
|
746
|
+
readonly name: "token1";
|
|
747
|
+
readonly type: "address";
|
|
748
|
+
}, {
|
|
749
|
+
readonly internalType: "uint24";
|
|
750
|
+
readonly name: "fee";
|
|
751
|
+
readonly type: "uint24";
|
|
752
|
+
}, {
|
|
753
|
+
readonly internalType: "int24";
|
|
754
|
+
readonly name: "tickLower";
|
|
755
|
+
readonly type: "int24";
|
|
756
|
+
}, {
|
|
757
|
+
readonly internalType: "int24";
|
|
758
|
+
readonly name: "tickUpper";
|
|
759
|
+
readonly type: "int24";
|
|
760
|
+
}, {
|
|
761
|
+
readonly internalType: "uint128";
|
|
762
|
+
readonly name: "liquidity";
|
|
763
|
+
readonly type: "uint128";
|
|
764
|
+
}, {
|
|
765
|
+
readonly internalType: "uint256";
|
|
766
|
+
readonly name: "feeGrowthInside0LastX128";
|
|
767
|
+
readonly type: "uint256";
|
|
768
|
+
}, {
|
|
769
|
+
readonly internalType: "uint256";
|
|
770
|
+
readonly name: "feeGrowthInside1LastX128";
|
|
771
|
+
readonly type: "uint256";
|
|
772
|
+
}, {
|
|
773
|
+
readonly internalType: "uint128";
|
|
774
|
+
readonly name: "tokensOwed0";
|
|
775
|
+
readonly type: "uint128";
|
|
776
|
+
}, {
|
|
777
|
+
readonly internalType: "uint128";
|
|
778
|
+
readonly name: "tokensOwed1";
|
|
779
|
+
readonly type: "uint128";
|
|
780
|
+
}];
|
|
781
|
+
readonly stateMutability: "view";
|
|
782
|
+
readonly type: "function";
|
|
783
|
+
}, {
|
|
784
|
+
readonly inputs: readonly [];
|
|
785
|
+
readonly name: "refundETH";
|
|
786
|
+
readonly outputs: readonly [];
|
|
787
|
+
readonly stateMutability: "payable";
|
|
788
|
+
readonly type: "function";
|
|
789
|
+
}, {
|
|
790
|
+
readonly inputs: readonly [{
|
|
791
|
+
readonly internalType: "address";
|
|
792
|
+
readonly name: "from";
|
|
793
|
+
readonly type: "address";
|
|
794
|
+
}, {
|
|
795
|
+
readonly internalType: "address";
|
|
796
|
+
readonly name: "to";
|
|
797
|
+
readonly type: "address";
|
|
798
|
+
}, {
|
|
799
|
+
readonly internalType: "uint256";
|
|
800
|
+
readonly name: "tokenId";
|
|
801
|
+
readonly type: "uint256";
|
|
802
|
+
}];
|
|
803
|
+
readonly name: "safeTransferFrom";
|
|
804
|
+
readonly outputs: readonly [];
|
|
805
|
+
readonly stateMutability: "nonpayable";
|
|
806
|
+
readonly type: "function";
|
|
807
|
+
}, {
|
|
808
|
+
readonly inputs: readonly [{
|
|
809
|
+
readonly internalType: "address";
|
|
810
|
+
readonly name: "from";
|
|
811
|
+
readonly type: "address";
|
|
812
|
+
}, {
|
|
813
|
+
readonly internalType: "address";
|
|
814
|
+
readonly name: "to";
|
|
815
|
+
readonly type: "address";
|
|
816
|
+
}, {
|
|
817
|
+
readonly internalType: "uint256";
|
|
818
|
+
readonly name: "tokenId";
|
|
819
|
+
readonly type: "uint256";
|
|
820
|
+
}, {
|
|
821
|
+
readonly internalType: "bytes";
|
|
822
|
+
readonly name: "_data";
|
|
823
|
+
readonly type: "bytes";
|
|
824
|
+
}];
|
|
825
|
+
readonly name: "safeTransferFrom";
|
|
826
|
+
readonly outputs: readonly [];
|
|
827
|
+
readonly stateMutability: "nonpayable";
|
|
828
|
+
readonly type: "function";
|
|
829
|
+
}, {
|
|
830
|
+
readonly inputs: readonly [{
|
|
831
|
+
readonly internalType: "address";
|
|
832
|
+
readonly name: "token";
|
|
833
|
+
readonly type: "address";
|
|
834
|
+
}, {
|
|
835
|
+
readonly internalType: "uint256";
|
|
836
|
+
readonly name: "value";
|
|
837
|
+
readonly type: "uint256";
|
|
838
|
+
}, {
|
|
839
|
+
readonly internalType: "uint256";
|
|
840
|
+
readonly name: "deadline";
|
|
841
|
+
readonly type: "uint256";
|
|
842
|
+
}, {
|
|
843
|
+
readonly internalType: "uint8";
|
|
844
|
+
readonly name: "v";
|
|
845
|
+
readonly type: "uint8";
|
|
846
|
+
}, {
|
|
847
|
+
readonly internalType: "bytes32";
|
|
848
|
+
readonly name: "r";
|
|
849
|
+
readonly type: "bytes32";
|
|
850
|
+
}, {
|
|
851
|
+
readonly internalType: "bytes32";
|
|
852
|
+
readonly name: "s";
|
|
853
|
+
readonly type: "bytes32";
|
|
854
|
+
}];
|
|
855
|
+
readonly name: "selfPermit";
|
|
856
|
+
readonly outputs: readonly [];
|
|
857
|
+
readonly stateMutability: "payable";
|
|
858
|
+
readonly type: "function";
|
|
859
|
+
}, {
|
|
860
|
+
readonly inputs: readonly [{
|
|
861
|
+
readonly internalType: "address";
|
|
862
|
+
readonly name: "token";
|
|
863
|
+
readonly type: "address";
|
|
864
|
+
}, {
|
|
865
|
+
readonly internalType: "uint256";
|
|
866
|
+
readonly name: "nonce";
|
|
867
|
+
readonly type: "uint256";
|
|
868
|
+
}, {
|
|
869
|
+
readonly internalType: "uint256";
|
|
870
|
+
readonly name: "expiry";
|
|
871
|
+
readonly type: "uint256";
|
|
872
|
+
}, {
|
|
873
|
+
readonly internalType: "uint8";
|
|
874
|
+
readonly name: "v";
|
|
875
|
+
readonly type: "uint8";
|
|
876
|
+
}, {
|
|
877
|
+
readonly internalType: "bytes32";
|
|
878
|
+
readonly name: "r";
|
|
879
|
+
readonly type: "bytes32";
|
|
880
|
+
}, {
|
|
881
|
+
readonly internalType: "bytes32";
|
|
882
|
+
readonly name: "s";
|
|
883
|
+
readonly type: "bytes32";
|
|
884
|
+
}];
|
|
885
|
+
readonly name: "selfPermitAllowed";
|
|
886
|
+
readonly outputs: readonly [];
|
|
887
|
+
readonly stateMutability: "payable";
|
|
888
|
+
readonly type: "function";
|
|
889
|
+
}, {
|
|
890
|
+
readonly inputs: readonly [{
|
|
891
|
+
readonly internalType: "address";
|
|
892
|
+
readonly name: "token";
|
|
893
|
+
readonly type: "address";
|
|
894
|
+
}, {
|
|
895
|
+
readonly internalType: "uint256";
|
|
896
|
+
readonly name: "nonce";
|
|
897
|
+
readonly type: "uint256";
|
|
898
|
+
}, {
|
|
899
|
+
readonly internalType: "uint256";
|
|
900
|
+
readonly name: "expiry";
|
|
901
|
+
readonly type: "uint256";
|
|
902
|
+
}, {
|
|
903
|
+
readonly internalType: "uint8";
|
|
904
|
+
readonly name: "v";
|
|
905
|
+
readonly type: "uint8";
|
|
906
|
+
}, {
|
|
907
|
+
readonly internalType: "bytes32";
|
|
908
|
+
readonly name: "r";
|
|
909
|
+
readonly type: "bytes32";
|
|
910
|
+
}, {
|
|
911
|
+
readonly internalType: "bytes32";
|
|
912
|
+
readonly name: "s";
|
|
913
|
+
readonly type: "bytes32";
|
|
914
|
+
}];
|
|
915
|
+
readonly name: "selfPermitAllowedIfNecessary";
|
|
916
|
+
readonly outputs: readonly [];
|
|
917
|
+
readonly stateMutability: "payable";
|
|
918
|
+
readonly type: "function";
|
|
919
|
+
}, {
|
|
920
|
+
readonly inputs: readonly [{
|
|
921
|
+
readonly internalType: "address";
|
|
922
|
+
readonly name: "token";
|
|
923
|
+
readonly type: "address";
|
|
924
|
+
}, {
|
|
925
|
+
readonly internalType: "uint256";
|
|
926
|
+
readonly name: "value";
|
|
927
|
+
readonly type: "uint256";
|
|
928
|
+
}, {
|
|
929
|
+
readonly internalType: "uint256";
|
|
930
|
+
readonly name: "deadline";
|
|
931
|
+
readonly type: "uint256";
|
|
932
|
+
}, {
|
|
933
|
+
readonly internalType: "uint8";
|
|
934
|
+
readonly name: "v";
|
|
935
|
+
readonly type: "uint8";
|
|
936
|
+
}, {
|
|
937
|
+
readonly internalType: "bytes32";
|
|
938
|
+
readonly name: "r";
|
|
939
|
+
readonly type: "bytes32";
|
|
940
|
+
}, {
|
|
941
|
+
readonly internalType: "bytes32";
|
|
942
|
+
readonly name: "s";
|
|
943
|
+
readonly type: "bytes32";
|
|
944
|
+
}];
|
|
945
|
+
readonly name: "selfPermitIfNecessary";
|
|
946
|
+
readonly outputs: readonly [];
|
|
947
|
+
readonly stateMutability: "payable";
|
|
948
|
+
readonly type: "function";
|
|
949
|
+
}, {
|
|
950
|
+
readonly inputs: readonly [{
|
|
951
|
+
readonly internalType: "address";
|
|
952
|
+
readonly name: "operator";
|
|
953
|
+
readonly type: "address";
|
|
954
|
+
}, {
|
|
955
|
+
readonly internalType: "bool";
|
|
956
|
+
readonly name: "approved";
|
|
957
|
+
readonly type: "bool";
|
|
958
|
+
}];
|
|
959
|
+
readonly name: "setApprovalForAll";
|
|
960
|
+
readonly outputs: readonly [];
|
|
961
|
+
readonly stateMutability: "nonpayable";
|
|
962
|
+
readonly type: "function";
|
|
963
|
+
}, {
|
|
964
|
+
readonly inputs: readonly [{
|
|
965
|
+
readonly internalType: "bytes4";
|
|
966
|
+
readonly name: "interfaceId";
|
|
967
|
+
readonly type: "bytes4";
|
|
968
|
+
}];
|
|
969
|
+
readonly name: "supportsInterface";
|
|
970
|
+
readonly outputs: readonly [{
|
|
971
|
+
readonly internalType: "bool";
|
|
972
|
+
readonly name: "";
|
|
973
|
+
readonly type: "bool";
|
|
974
|
+
}];
|
|
975
|
+
readonly stateMutability: "view";
|
|
976
|
+
readonly type: "function";
|
|
977
|
+
}, {
|
|
978
|
+
readonly inputs: readonly [{
|
|
979
|
+
readonly internalType: "address";
|
|
980
|
+
readonly name: "token";
|
|
981
|
+
readonly type: "address";
|
|
982
|
+
}, {
|
|
983
|
+
readonly internalType: "uint256";
|
|
984
|
+
readonly name: "amountMinimum";
|
|
985
|
+
readonly type: "uint256";
|
|
986
|
+
}, {
|
|
987
|
+
readonly internalType: "address";
|
|
988
|
+
readonly name: "recipient";
|
|
989
|
+
readonly type: "address";
|
|
990
|
+
}];
|
|
991
|
+
readonly name: "sweepToken";
|
|
992
|
+
readonly outputs: readonly [];
|
|
993
|
+
readonly stateMutability: "payable";
|
|
994
|
+
readonly type: "function";
|
|
995
|
+
}, {
|
|
996
|
+
readonly inputs: readonly [];
|
|
997
|
+
readonly name: "symbol";
|
|
998
|
+
readonly outputs: readonly [{
|
|
999
|
+
readonly internalType: "string";
|
|
1000
|
+
readonly name: "";
|
|
1001
|
+
readonly type: "string";
|
|
1002
|
+
}];
|
|
1003
|
+
readonly stateMutability: "view";
|
|
1004
|
+
readonly type: "function";
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly inputs: readonly [{
|
|
1007
|
+
readonly internalType: "uint256";
|
|
1008
|
+
readonly name: "index";
|
|
1009
|
+
readonly type: "uint256";
|
|
1010
|
+
}];
|
|
1011
|
+
readonly name: "tokenByIndex";
|
|
1012
|
+
readonly outputs: readonly [{
|
|
1013
|
+
readonly internalType: "uint256";
|
|
1014
|
+
readonly name: "";
|
|
1015
|
+
readonly type: "uint256";
|
|
1016
|
+
}];
|
|
1017
|
+
readonly stateMutability: "view";
|
|
1018
|
+
readonly type: "function";
|
|
1019
|
+
}, {
|
|
1020
|
+
readonly inputs: readonly [{
|
|
1021
|
+
readonly internalType: "address";
|
|
1022
|
+
readonly name: "owner";
|
|
1023
|
+
readonly type: "address";
|
|
1024
|
+
}, {
|
|
1025
|
+
readonly internalType: "uint256";
|
|
1026
|
+
readonly name: "index";
|
|
1027
|
+
readonly type: "uint256";
|
|
1028
|
+
}];
|
|
1029
|
+
readonly name: "tokenOfOwnerByIndex";
|
|
1030
|
+
readonly outputs: readonly [{
|
|
1031
|
+
readonly internalType: "uint256";
|
|
1032
|
+
readonly name: "";
|
|
1033
|
+
readonly type: "uint256";
|
|
1034
|
+
}];
|
|
1035
|
+
readonly stateMutability: "view";
|
|
1036
|
+
readonly type: "function";
|
|
1037
|
+
}, {
|
|
1038
|
+
readonly inputs: readonly [{
|
|
1039
|
+
readonly internalType: "uint256";
|
|
1040
|
+
readonly name: "tokenId";
|
|
1041
|
+
readonly type: "uint256";
|
|
1042
|
+
}];
|
|
1043
|
+
readonly name: "tokenURI";
|
|
1044
|
+
readonly outputs: readonly [{
|
|
1045
|
+
readonly internalType: "string";
|
|
1046
|
+
readonly name: "";
|
|
1047
|
+
readonly type: "string";
|
|
1048
|
+
}];
|
|
1049
|
+
readonly stateMutability: "view";
|
|
1050
|
+
readonly type: "function";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly inputs: readonly [];
|
|
1053
|
+
readonly name: "totalSupply";
|
|
1054
|
+
readonly outputs: readonly [{
|
|
1055
|
+
readonly internalType: "uint256";
|
|
1056
|
+
readonly name: "";
|
|
1057
|
+
readonly type: "uint256";
|
|
1058
|
+
}];
|
|
1059
|
+
readonly stateMutability: "view";
|
|
1060
|
+
readonly type: "function";
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly inputs: readonly [{
|
|
1063
|
+
readonly internalType: "address";
|
|
1064
|
+
readonly name: "from";
|
|
1065
|
+
readonly type: "address";
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly internalType: "address";
|
|
1068
|
+
readonly name: "to";
|
|
1069
|
+
readonly type: "address";
|
|
1070
|
+
}, {
|
|
1071
|
+
readonly internalType: "uint256";
|
|
1072
|
+
readonly name: "tokenId";
|
|
1073
|
+
readonly type: "uint256";
|
|
1074
|
+
}];
|
|
1075
|
+
readonly name: "transferFrom";
|
|
1076
|
+
readonly outputs: readonly [];
|
|
1077
|
+
readonly stateMutability: "nonpayable";
|
|
1078
|
+
readonly type: "function";
|
|
1079
|
+
}, {
|
|
1080
|
+
readonly inputs: readonly [{
|
|
1081
|
+
readonly internalType: "uint256";
|
|
1082
|
+
readonly name: "amountMinimum";
|
|
1083
|
+
readonly type: "uint256";
|
|
1084
|
+
}, {
|
|
1085
|
+
readonly internalType: "address";
|
|
1086
|
+
readonly name: "recipient";
|
|
1087
|
+
readonly type: "address";
|
|
1088
|
+
}];
|
|
1089
|
+
readonly name: "unwrapWETH9";
|
|
1090
|
+
readonly outputs: readonly [];
|
|
1091
|
+
readonly stateMutability: "payable";
|
|
1092
|
+
readonly type: "function";
|
|
1093
|
+
}, {
|
|
1094
|
+
readonly stateMutability: "payable";
|
|
1095
|
+
readonly type: "receive";
|
|
1096
|
+
}];
|
|
131
1097
|
/**
|
|
132
1098
|
* Cannot be constructed.
|
|
133
1099
|
*/
|