monad-v3-sdk 2.1.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 +21 -0
- package/README.md +1 -0
- package/dist/abis/algebraPositionManager.d.ts +1083 -0
- package/dist/abis/algebraSwapRouter.d.ts +499 -0
- package/dist/abis/index.d.ts +3 -0
- package/dist/abis/selfPermit.d.ts +121 -0
- package/dist/classes/index.d.ts +3 -0
- package/dist/classes/nonfungiblePositionManager.d.ts +145 -0
- package/dist/classes/selfPermit.d.ts +22 -0
- package/dist/classes/swapRouter.d.ts +67 -0
- package/dist/constants/addresses.d.ts +6 -0
- package/dist/constants/chainIds.d.ts +3 -0
- package/dist/constants/constants.d.ts +3 -0
- package/dist/constants/index.d.ts +4 -0
- package/dist/constants/internalConstants.d.ts +7 -0
- package/dist/entities/AbstractCurrency.d.ts +48 -0
- package/dist/entities/Currency.d.ts +3 -0
- package/dist/entities/CurrencyAmount.d.ts +32 -0
- package/dist/entities/ExtendedNative.d.ts +7 -0
- package/dist/entities/Fraction.d.ts +25 -0
- package/dist/entities/Native.d.ts +13 -0
- package/dist/entities/NativeCurrency.d.ts +8 -0
- package/dist/entities/Percent.d.ts +16 -0
- package/dist/entities/Price.d.ts +39 -0
- package/dist/entities/Token.d.ts +32 -0
- package/dist/entities/index.d.ts +17 -0
- package/dist/entities/pool.d.ts +86 -0
- package/dist/entities/position.d.ts +135 -0
- package/dist/entities/route.d.ts +28 -0
- package/dist/entities/tick.d.ts +13 -0
- package/dist/entities/tickDataProvider.d.ts +31 -0
- package/dist/entities/tickListDataProvider.d.ts +15 -0
- package/dist/entities/trade.d.ts +224 -0
- package/dist/entities/wnative.d.ts +7 -0
- package/dist/enums/bound.d.ts +4 -0
- package/dist/enums/field.d.ts +4 -0
- package/dist/enums/index.d.ts +4 -0
- package/dist/enums/rounding.d.ts +5 -0
- package/dist/enums/tradeType.d.ts +4 -0
- package/dist/functions/index.d.ts +5 -0
- package/dist/functions/maxAmountSpend.d.ts +7 -0
- package/dist/functions/mint.d.ts +3 -0
- package/dist/functions/retry.d.ts +22 -0
- package/dist/functions/tryParseAmount.d.ts +3 -0
- package/dist/functions/unwrappedToken.d.ts +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8 -0
- package/dist/monad-v3-sdk.cjs.development.js +5458 -0
- package/dist/monad-v3-sdk.cjs.development.js.map +1 -0
- package/dist/monad-v3-sdk.cjs.production.min.js +2 -0
- package/dist/monad-v3-sdk.cjs.production.min.js.map +1 -0
- package/dist/monad-v3-sdk.esm.js +5395 -0
- package/dist/monad-v3-sdk.esm.js.map +1 -0
- package/dist/types/BigIntish.d.ts +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/utils/calldata.d.ts +20 -0
- package/dist/utils/chunkArray.d.ts +2 -0
- package/dist/utils/computePoolAddress.d.ts +28 -0
- package/dist/utils/computeSurroundingTicks.d.ts +2 -0
- package/dist/utils/encodeRouteToPath.d.ts +8 -0
- package/dist/utils/encodeSqrtRatioX96.d.ts +9 -0
- package/dist/utils/format.d.ts +14 -0
- package/dist/utils/formatTickPrice.d.ts +5 -0
- package/dist/utils/fullMath.d.ts +7 -0
- package/dist/utils/getRatio.d.ts +2 -0
- package/dist/utils/getTickToPrice.d.ts +2 -0
- package/dist/utils/index.d.ts +15 -0
- package/dist/utils/isSorted.d.ts +7 -0
- package/dist/utils/liquidityMath.d.ts +7 -0
- package/dist/utils/maxLiquidityForAmounts.d.ts +14 -0
- package/dist/utils/mostSignificantBit.d.ts +2 -0
- package/dist/utils/nearestUsableTick.d.ts +6 -0
- package/dist/utils/priceTickConversions.d.ts +16 -0
- package/dist/utils/sortedInsert.d.ts +1 -0
- package/dist/utils/sqrt.d.ts +7 -0
- package/dist/utils/sqrtPriceMath.d.ts +12 -0
- package/dist/utils/stringToColour.d.ts +5 -0
- package/dist/utils/swapMath.d.ts +7 -0
- package/dist/utils/tickList.d.ts +22 -0
- package/dist/utils/tickMath.d.ts +33 -0
- package/dist/utils/validateAndParseAddress.d.ts +1 -0
- package/package.json +62 -0
@@ -0,0 +1,1083 @@
|
|
1
|
+
export declare const algebraPositionManagerABI: readonly [{
|
2
|
+
readonly inputs: readonly [{
|
3
|
+
readonly internalType: "address";
|
4
|
+
readonly name: "_factory";
|
5
|
+
readonly type: "address";
|
6
|
+
}, {
|
7
|
+
readonly internalType: "address";
|
8
|
+
readonly name: "_WNativeToken";
|
9
|
+
readonly type: "address";
|
10
|
+
}, {
|
11
|
+
readonly internalType: "address";
|
12
|
+
readonly name: "_tokenDescriptor_";
|
13
|
+
readonly type: "address";
|
14
|
+
}, {
|
15
|
+
readonly internalType: "address";
|
16
|
+
readonly name: "_poolDeployer";
|
17
|
+
readonly type: "address";
|
18
|
+
}];
|
19
|
+
readonly stateMutability: "nonpayable";
|
20
|
+
readonly type: "constructor";
|
21
|
+
}, {
|
22
|
+
readonly inputs: readonly [];
|
23
|
+
readonly name: "tickOutOfRange";
|
24
|
+
readonly type: "error";
|
25
|
+
}, {
|
26
|
+
readonly anonymous: false;
|
27
|
+
readonly inputs: readonly [{
|
28
|
+
readonly indexed: true;
|
29
|
+
readonly internalType: "address";
|
30
|
+
readonly name: "owner";
|
31
|
+
readonly type: "address";
|
32
|
+
}, {
|
33
|
+
readonly indexed: true;
|
34
|
+
readonly internalType: "address";
|
35
|
+
readonly name: "approved";
|
36
|
+
readonly type: "address";
|
37
|
+
}, {
|
38
|
+
readonly indexed: true;
|
39
|
+
readonly internalType: "uint256";
|
40
|
+
readonly name: "tokenId";
|
41
|
+
readonly type: "uint256";
|
42
|
+
}];
|
43
|
+
readonly name: "Approval";
|
44
|
+
readonly type: "event";
|
45
|
+
}, {
|
46
|
+
readonly anonymous: false;
|
47
|
+
readonly inputs: readonly [{
|
48
|
+
readonly indexed: true;
|
49
|
+
readonly internalType: "address";
|
50
|
+
readonly name: "owner";
|
51
|
+
readonly type: "address";
|
52
|
+
}, {
|
53
|
+
readonly indexed: true;
|
54
|
+
readonly internalType: "address";
|
55
|
+
readonly name: "operator";
|
56
|
+
readonly type: "address";
|
57
|
+
}, {
|
58
|
+
readonly indexed: false;
|
59
|
+
readonly internalType: "bool";
|
60
|
+
readonly name: "approved";
|
61
|
+
readonly type: "bool";
|
62
|
+
}];
|
63
|
+
readonly name: "ApprovalForAll";
|
64
|
+
readonly type: "event";
|
65
|
+
}, {
|
66
|
+
readonly anonymous: false;
|
67
|
+
readonly inputs: readonly [{
|
68
|
+
readonly indexed: true;
|
69
|
+
readonly internalType: "uint256";
|
70
|
+
readonly name: "tokenId";
|
71
|
+
readonly type: "uint256";
|
72
|
+
}, {
|
73
|
+
readonly indexed: false;
|
74
|
+
readonly internalType: "address";
|
75
|
+
readonly name: "recipient";
|
76
|
+
readonly type: "address";
|
77
|
+
}, {
|
78
|
+
readonly indexed: false;
|
79
|
+
readonly internalType: "uint256";
|
80
|
+
readonly name: "amount0";
|
81
|
+
readonly type: "uint256";
|
82
|
+
}, {
|
83
|
+
readonly indexed: false;
|
84
|
+
readonly internalType: "uint256";
|
85
|
+
readonly name: "amount1";
|
86
|
+
readonly type: "uint256";
|
87
|
+
}];
|
88
|
+
readonly name: "Collect";
|
89
|
+
readonly type: "event";
|
90
|
+
}, {
|
91
|
+
readonly anonymous: false;
|
92
|
+
readonly inputs: readonly [{
|
93
|
+
readonly indexed: true;
|
94
|
+
readonly internalType: "uint256";
|
95
|
+
readonly name: "tokenId";
|
96
|
+
readonly type: "uint256";
|
97
|
+
}, {
|
98
|
+
readonly indexed: false;
|
99
|
+
readonly internalType: "uint128";
|
100
|
+
readonly name: "liquidity";
|
101
|
+
readonly type: "uint128";
|
102
|
+
}, {
|
103
|
+
readonly indexed: false;
|
104
|
+
readonly internalType: "uint256";
|
105
|
+
readonly name: "amount0";
|
106
|
+
readonly type: "uint256";
|
107
|
+
}, {
|
108
|
+
readonly indexed: false;
|
109
|
+
readonly internalType: "uint256";
|
110
|
+
readonly name: "amount1";
|
111
|
+
readonly type: "uint256";
|
112
|
+
}];
|
113
|
+
readonly name: "DecreaseLiquidity";
|
114
|
+
readonly type: "event";
|
115
|
+
}, {
|
116
|
+
readonly anonymous: false;
|
117
|
+
readonly inputs: readonly [{
|
118
|
+
readonly indexed: true;
|
119
|
+
readonly internalType: "uint256";
|
120
|
+
readonly name: "tokenId";
|
121
|
+
readonly type: "uint256";
|
122
|
+
}];
|
123
|
+
readonly name: "FarmingFailed";
|
124
|
+
readonly type: "event";
|
125
|
+
}, {
|
126
|
+
readonly anonymous: false;
|
127
|
+
readonly inputs: readonly [{
|
128
|
+
readonly indexed: true;
|
129
|
+
readonly internalType: "uint256";
|
130
|
+
readonly name: "tokenId";
|
131
|
+
readonly type: "uint256";
|
132
|
+
}, {
|
133
|
+
readonly indexed: false;
|
134
|
+
readonly internalType: "uint128";
|
135
|
+
readonly name: "liquidityDesired";
|
136
|
+
readonly type: "uint128";
|
137
|
+
}, {
|
138
|
+
readonly indexed: false;
|
139
|
+
readonly internalType: "uint128";
|
140
|
+
readonly name: "actualLiquidity";
|
141
|
+
readonly type: "uint128";
|
142
|
+
}, {
|
143
|
+
readonly indexed: false;
|
144
|
+
readonly internalType: "uint256";
|
145
|
+
readonly name: "amount0";
|
146
|
+
readonly type: "uint256";
|
147
|
+
}, {
|
148
|
+
readonly indexed: false;
|
149
|
+
readonly internalType: "uint256";
|
150
|
+
readonly name: "amount1";
|
151
|
+
readonly type: "uint256";
|
152
|
+
}, {
|
153
|
+
readonly indexed: false;
|
154
|
+
readonly internalType: "address";
|
155
|
+
readonly name: "pool";
|
156
|
+
readonly type: "address";
|
157
|
+
}];
|
158
|
+
readonly name: "IncreaseLiquidity";
|
159
|
+
readonly type: "event";
|
160
|
+
}, {
|
161
|
+
readonly anonymous: false;
|
162
|
+
readonly inputs: readonly [{
|
163
|
+
readonly indexed: true;
|
164
|
+
readonly internalType: "address";
|
165
|
+
readonly name: "from";
|
166
|
+
readonly type: "address";
|
167
|
+
}, {
|
168
|
+
readonly indexed: true;
|
169
|
+
readonly internalType: "address";
|
170
|
+
readonly name: "to";
|
171
|
+
readonly type: "address";
|
172
|
+
}, {
|
173
|
+
readonly indexed: true;
|
174
|
+
readonly internalType: "uint256";
|
175
|
+
readonly name: "tokenId";
|
176
|
+
readonly type: "uint256";
|
177
|
+
}];
|
178
|
+
readonly name: "Transfer";
|
179
|
+
readonly type: "event";
|
180
|
+
}, {
|
181
|
+
readonly inputs: readonly [];
|
182
|
+
readonly name: "DOMAIN_SEPARATOR";
|
183
|
+
readonly outputs: readonly [{
|
184
|
+
readonly internalType: "bytes32";
|
185
|
+
readonly name: "";
|
186
|
+
readonly type: "bytes32";
|
187
|
+
}];
|
188
|
+
readonly stateMutability: "view";
|
189
|
+
readonly type: "function";
|
190
|
+
}, {
|
191
|
+
readonly inputs: readonly [];
|
192
|
+
readonly name: "NONFUNGIBLE_POSITION_MANAGER_ADMINISTRATOR_ROLE";
|
193
|
+
readonly outputs: readonly [{
|
194
|
+
readonly internalType: "bytes32";
|
195
|
+
readonly name: "";
|
196
|
+
readonly type: "bytes32";
|
197
|
+
}];
|
198
|
+
readonly stateMutability: "view";
|
199
|
+
readonly type: "function";
|
200
|
+
}, {
|
201
|
+
readonly inputs: readonly [];
|
202
|
+
readonly name: "PERMIT_TYPEHASH";
|
203
|
+
readonly outputs: readonly [{
|
204
|
+
readonly internalType: "bytes32";
|
205
|
+
readonly name: "";
|
206
|
+
readonly type: "bytes32";
|
207
|
+
}];
|
208
|
+
readonly stateMutability: "view";
|
209
|
+
readonly type: "function";
|
210
|
+
}, {
|
211
|
+
readonly inputs: readonly [];
|
212
|
+
readonly name: "WNativeToken";
|
213
|
+
readonly outputs: readonly [{
|
214
|
+
readonly internalType: "address";
|
215
|
+
readonly name: "";
|
216
|
+
readonly type: "address";
|
217
|
+
}];
|
218
|
+
readonly stateMutability: "view";
|
219
|
+
readonly type: "function";
|
220
|
+
}, {
|
221
|
+
readonly inputs: readonly [{
|
222
|
+
readonly internalType: "uint256";
|
223
|
+
readonly name: "amount0Owed";
|
224
|
+
readonly type: "uint256";
|
225
|
+
}, {
|
226
|
+
readonly internalType: "uint256";
|
227
|
+
readonly name: "amount1Owed";
|
228
|
+
readonly type: "uint256";
|
229
|
+
}, {
|
230
|
+
readonly internalType: "bytes";
|
231
|
+
readonly name: "data";
|
232
|
+
readonly type: "bytes";
|
233
|
+
}];
|
234
|
+
readonly name: "algebraMintCallback";
|
235
|
+
readonly outputs: readonly [];
|
236
|
+
readonly stateMutability: "nonpayable";
|
237
|
+
readonly type: "function";
|
238
|
+
}, {
|
239
|
+
readonly inputs: readonly [{
|
240
|
+
readonly internalType: "address";
|
241
|
+
readonly name: "to";
|
242
|
+
readonly type: "address";
|
243
|
+
}, {
|
244
|
+
readonly internalType: "uint256";
|
245
|
+
readonly name: "tokenId";
|
246
|
+
readonly type: "uint256";
|
247
|
+
}];
|
248
|
+
readonly name: "approve";
|
249
|
+
readonly outputs: readonly [];
|
250
|
+
readonly stateMutability: "nonpayable";
|
251
|
+
readonly type: "function";
|
252
|
+
}, {
|
253
|
+
readonly inputs: readonly [{
|
254
|
+
readonly internalType: "uint256";
|
255
|
+
readonly name: "tokenId";
|
256
|
+
readonly type: "uint256";
|
257
|
+
}, {
|
258
|
+
readonly internalType: "bool";
|
259
|
+
readonly name: "approve";
|
260
|
+
readonly type: "bool";
|
261
|
+
}, {
|
262
|
+
readonly internalType: "address";
|
263
|
+
readonly name: "farmingAddress";
|
264
|
+
readonly type: "address";
|
265
|
+
}];
|
266
|
+
readonly name: "approveForFarming";
|
267
|
+
readonly outputs: readonly [];
|
268
|
+
readonly stateMutability: "payable";
|
269
|
+
readonly type: "function";
|
270
|
+
}, {
|
271
|
+
readonly inputs: readonly [{
|
272
|
+
readonly internalType: "address";
|
273
|
+
readonly name: "owner";
|
274
|
+
readonly type: "address";
|
275
|
+
}];
|
276
|
+
readonly name: "balanceOf";
|
277
|
+
readonly outputs: readonly [{
|
278
|
+
readonly internalType: "uint256";
|
279
|
+
readonly name: "";
|
280
|
+
readonly type: "uint256";
|
281
|
+
}];
|
282
|
+
readonly stateMutability: "view";
|
283
|
+
readonly type: "function";
|
284
|
+
}, {
|
285
|
+
readonly inputs: readonly [{
|
286
|
+
readonly internalType: "uint256";
|
287
|
+
readonly name: "tokenId";
|
288
|
+
readonly type: "uint256";
|
289
|
+
}];
|
290
|
+
readonly name: "burn";
|
291
|
+
readonly outputs: readonly [];
|
292
|
+
readonly stateMutability: "payable";
|
293
|
+
readonly type: "function";
|
294
|
+
}, {
|
295
|
+
readonly inputs: readonly [{
|
296
|
+
readonly components: readonly [{
|
297
|
+
readonly internalType: "uint256";
|
298
|
+
readonly name: "tokenId";
|
299
|
+
readonly type: "uint256";
|
300
|
+
}, {
|
301
|
+
readonly internalType: "address";
|
302
|
+
readonly name: "recipient";
|
303
|
+
readonly type: "address";
|
304
|
+
}, {
|
305
|
+
readonly internalType: "uint128";
|
306
|
+
readonly name: "amount0Max";
|
307
|
+
readonly type: "uint128";
|
308
|
+
}, {
|
309
|
+
readonly internalType: "uint128";
|
310
|
+
readonly name: "amount1Max";
|
311
|
+
readonly type: "uint128";
|
312
|
+
}];
|
313
|
+
readonly internalType: "struct INonfungiblePositionManager.CollectParams";
|
314
|
+
readonly name: "params";
|
315
|
+
readonly type: "tuple";
|
316
|
+
}];
|
317
|
+
readonly name: "collect";
|
318
|
+
readonly outputs: readonly [{
|
319
|
+
readonly internalType: "uint256";
|
320
|
+
readonly name: "amount0";
|
321
|
+
readonly type: "uint256";
|
322
|
+
}, {
|
323
|
+
readonly internalType: "uint256";
|
324
|
+
readonly name: "amount1";
|
325
|
+
readonly type: "uint256";
|
326
|
+
}];
|
327
|
+
readonly stateMutability: "payable";
|
328
|
+
readonly type: "function";
|
329
|
+
}, {
|
330
|
+
readonly inputs: readonly [{
|
331
|
+
readonly internalType: "address";
|
332
|
+
readonly name: "token0";
|
333
|
+
readonly type: "address";
|
334
|
+
}, {
|
335
|
+
readonly internalType: "address";
|
336
|
+
readonly name: "token1";
|
337
|
+
readonly type: "address";
|
338
|
+
}, {
|
339
|
+
readonly internalType: "address";
|
340
|
+
readonly name: "deployer";
|
341
|
+
readonly type: "address";
|
342
|
+
}, {
|
343
|
+
readonly internalType: "uint160";
|
344
|
+
readonly name: "sqrtPriceX96";
|
345
|
+
readonly type: "uint160";
|
346
|
+
}];
|
347
|
+
readonly name: "createAndInitializePoolIfNecessary";
|
348
|
+
readonly outputs: readonly [{
|
349
|
+
readonly internalType: "address";
|
350
|
+
readonly name: "pool";
|
351
|
+
readonly type: "address";
|
352
|
+
}];
|
353
|
+
readonly stateMutability: "payable";
|
354
|
+
readonly type: "function";
|
355
|
+
}, {
|
356
|
+
readonly inputs: readonly [{
|
357
|
+
readonly components: readonly [{
|
358
|
+
readonly internalType: "uint256";
|
359
|
+
readonly name: "tokenId";
|
360
|
+
readonly type: "uint256";
|
361
|
+
}, {
|
362
|
+
readonly internalType: "uint128";
|
363
|
+
readonly name: "liquidity";
|
364
|
+
readonly type: "uint128";
|
365
|
+
}, {
|
366
|
+
readonly internalType: "uint256";
|
367
|
+
readonly name: "amount0Min";
|
368
|
+
readonly type: "uint256";
|
369
|
+
}, {
|
370
|
+
readonly internalType: "uint256";
|
371
|
+
readonly name: "amount1Min";
|
372
|
+
readonly type: "uint256";
|
373
|
+
}, {
|
374
|
+
readonly internalType: "uint256";
|
375
|
+
readonly name: "deadline";
|
376
|
+
readonly type: "uint256";
|
377
|
+
}];
|
378
|
+
readonly internalType: "struct INonfungiblePositionManager.DecreaseLiquidityParams";
|
379
|
+
readonly name: "params";
|
380
|
+
readonly type: "tuple";
|
381
|
+
}];
|
382
|
+
readonly name: "decreaseLiquidity";
|
383
|
+
readonly outputs: readonly [{
|
384
|
+
readonly internalType: "uint256";
|
385
|
+
readonly name: "amount0";
|
386
|
+
readonly type: "uint256";
|
387
|
+
}, {
|
388
|
+
readonly internalType: "uint256";
|
389
|
+
readonly name: "amount1";
|
390
|
+
readonly type: "uint256";
|
391
|
+
}];
|
392
|
+
readonly stateMutability: "payable";
|
393
|
+
readonly type: "function";
|
394
|
+
}, {
|
395
|
+
readonly inputs: readonly [];
|
396
|
+
readonly name: "factory";
|
397
|
+
readonly outputs: readonly [{
|
398
|
+
readonly internalType: "address";
|
399
|
+
readonly name: "";
|
400
|
+
readonly type: "address";
|
401
|
+
}];
|
402
|
+
readonly stateMutability: "view";
|
403
|
+
readonly type: "function";
|
404
|
+
}, {
|
405
|
+
readonly inputs: readonly [{
|
406
|
+
readonly internalType: "uint256";
|
407
|
+
readonly name: "tokenId";
|
408
|
+
readonly type: "uint256";
|
409
|
+
}];
|
410
|
+
readonly name: "farmingApprovals";
|
411
|
+
readonly outputs: readonly [{
|
412
|
+
readonly internalType: "address";
|
413
|
+
readonly name: "farmingCenterAddress";
|
414
|
+
readonly type: "address";
|
415
|
+
}];
|
416
|
+
readonly stateMutability: "view";
|
417
|
+
readonly type: "function";
|
418
|
+
}, {
|
419
|
+
readonly inputs: readonly [];
|
420
|
+
readonly name: "farmingCenter";
|
421
|
+
readonly outputs: readonly [{
|
422
|
+
readonly internalType: "address";
|
423
|
+
readonly name: "";
|
424
|
+
readonly type: "address";
|
425
|
+
}];
|
426
|
+
readonly stateMutability: "view";
|
427
|
+
readonly type: "function";
|
428
|
+
}, {
|
429
|
+
readonly inputs: readonly [{
|
430
|
+
readonly internalType: "uint256";
|
431
|
+
readonly name: "tokenId";
|
432
|
+
readonly type: "uint256";
|
433
|
+
}];
|
434
|
+
readonly name: "getApproved";
|
435
|
+
readonly outputs: readonly [{
|
436
|
+
readonly internalType: "address";
|
437
|
+
readonly name: "";
|
438
|
+
readonly type: "address";
|
439
|
+
}];
|
440
|
+
readonly stateMutability: "view";
|
441
|
+
readonly type: "function";
|
442
|
+
}, {
|
443
|
+
readonly inputs: readonly [{
|
444
|
+
readonly components: readonly [{
|
445
|
+
readonly internalType: "uint256";
|
446
|
+
readonly name: "tokenId";
|
447
|
+
readonly type: "uint256";
|
448
|
+
}, {
|
449
|
+
readonly internalType: "uint256";
|
450
|
+
readonly name: "amount0Desired";
|
451
|
+
readonly type: "uint256";
|
452
|
+
}, {
|
453
|
+
readonly internalType: "uint256";
|
454
|
+
readonly name: "amount1Desired";
|
455
|
+
readonly type: "uint256";
|
456
|
+
}, {
|
457
|
+
readonly internalType: "uint256";
|
458
|
+
readonly name: "amount0Min";
|
459
|
+
readonly type: "uint256";
|
460
|
+
}, {
|
461
|
+
readonly internalType: "uint256";
|
462
|
+
readonly name: "amount1Min";
|
463
|
+
readonly type: "uint256";
|
464
|
+
}, {
|
465
|
+
readonly internalType: "uint256";
|
466
|
+
readonly name: "deadline";
|
467
|
+
readonly type: "uint256";
|
468
|
+
}];
|
469
|
+
readonly internalType: "struct INonfungiblePositionManager.IncreaseLiquidityParams";
|
470
|
+
readonly name: "params";
|
471
|
+
readonly type: "tuple";
|
472
|
+
}];
|
473
|
+
readonly name: "increaseLiquidity";
|
474
|
+
readonly outputs: readonly [{
|
475
|
+
readonly internalType: "uint128";
|
476
|
+
readonly name: "liquidity";
|
477
|
+
readonly type: "uint128";
|
478
|
+
}, {
|
479
|
+
readonly internalType: "uint256";
|
480
|
+
readonly name: "amount0";
|
481
|
+
readonly type: "uint256";
|
482
|
+
}, {
|
483
|
+
readonly internalType: "uint256";
|
484
|
+
readonly name: "amount1";
|
485
|
+
readonly type: "uint256";
|
486
|
+
}];
|
487
|
+
readonly stateMutability: "payable";
|
488
|
+
readonly type: "function";
|
489
|
+
}, {
|
490
|
+
readonly inputs: readonly [{
|
491
|
+
readonly internalType: "address";
|
492
|
+
readonly name: "owner";
|
493
|
+
readonly type: "address";
|
494
|
+
}, {
|
495
|
+
readonly internalType: "address";
|
496
|
+
readonly name: "operator";
|
497
|
+
readonly type: "address";
|
498
|
+
}];
|
499
|
+
readonly name: "isApprovedForAll";
|
500
|
+
readonly outputs: readonly [{
|
501
|
+
readonly internalType: "bool";
|
502
|
+
readonly name: "";
|
503
|
+
readonly type: "bool";
|
504
|
+
}];
|
505
|
+
readonly stateMutability: "view";
|
506
|
+
readonly type: "function";
|
507
|
+
}, {
|
508
|
+
readonly inputs: readonly [{
|
509
|
+
readonly internalType: "address";
|
510
|
+
readonly name: "spender";
|
511
|
+
readonly type: "address";
|
512
|
+
}, {
|
513
|
+
readonly internalType: "uint256";
|
514
|
+
readonly name: "tokenId";
|
515
|
+
readonly type: "uint256";
|
516
|
+
}];
|
517
|
+
readonly name: "isApprovedOrOwner";
|
518
|
+
readonly outputs: readonly [{
|
519
|
+
readonly internalType: "bool";
|
520
|
+
readonly name: "";
|
521
|
+
readonly type: "bool";
|
522
|
+
}];
|
523
|
+
readonly stateMutability: "view";
|
524
|
+
readonly type: "function";
|
525
|
+
}, {
|
526
|
+
readonly inputs: readonly [{
|
527
|
+
readonly components: readonly [{
|
528
|
+
readonly internalType: "address";
|
529
|
+
readonly name: "token0";
|
530
|
+
readonly type: "address";
|
531
|
+
}, {
|
532
|
+
readonly internalType: "address";
|
533
|
+
readonly name: "token1";
|
534
|
+
readonly type: "address";
|
535
|
+
}, {
|
536
|
+
readonly internalType: "address";
|
537
|
+
readonly name: "deployer";
|
538
|
+
readonly type: "address";
|
539
|
+
}, {
|
540
|
+
readonly internalType: "int24";
|
541
|
+
readonly name: "tickLower";
|
542
|
+
readonly type: "int24";
|
543
|
+
}, {
|
544
|
+
readonly internalType: "int24";
|
545
|
+
readonly name: "tickUpper";
|
546
|
+
readonly type: "int24";
|
547
|
+
}, {
|
548
|
+
readonly internalType: "uint256";
|
549
|
+
readonly name: "amount0Desired";
|
550
|
+
readonly type: "uint256";
|
551
|
+
}, {
|
552
|
+
readonly internalType: "uint256";
|
553
|
+
readonly name: "amount1Desired";
|
554
|
+
readonly type: "uint256";
|
555
|
+
}, {
|
556
|
+
readonly internalType: "uint256";
|
557
|
+
readonly name: "amount0Min";
|
558
|
+
readonly type: "uint256";
|
559
|
+
}, {
|
560
|
+
readonly internalType: "uint256";
|
561
|
+
readonly name: "amount1Min";
|
562
|
+
readonly type: "uint256";
|
563
|
+
}, {
|
564
|
+
readonly internalType: "address";
|
565
|
+
readonly name: "recipient";
|
566
|
+
readonly type: "address";
|
567
|
+
}, {
|
568
|
+
readonly internalType: "uint256";
|
569
|
+
readonly name: "deadline";
|
570
|
+
readonly type: "uint256";
|
571
|
+
}];
|
572
|
+
readonly internalType: "struct INonfungiblePositionManager.MintParams";
|
573
|
+
readonly name: "params";
|
574
|
+
readonly type: "tuple";
|
575
|
+
}];
|
576
|
+
readonly name: "mint";
|
577
|
+
readonly outputs: readonly [{
|
578
|
+
readonly internalType: "uint256";
|
579
|
+
readonly name: "tokenId";
|
580
|
+
readonly type: "uint256";
|
581
|
+
}, {
|
582
|
+
readonly internalType: "uint128";
|
583
|
+
readonly name: "liquidity";
|
584
|
+
readonly type: "uint128";
|
585
|
+
}, {
|
586
|
+
readonly internalType: "uint256";
|
587
|
+
readonly name: "amount0";
|
588
|
+
readonly type: "uint256";
|
589
|
+
}, {
|
590
|
+
readonly internalType: "uint256";
|
591
|
+
readonly name: "amount1";
|
592
|
+
readonly type: "uint256";
|
593
|
+
}];
|
594
|
+
readonly stateMutability: "payable";
|
595
|
+
readonly type: "function";
|
596
|
+
}, {
|
597
|
+
readonly inputs: readonly [{
|
598
|
+
readonly internalType: "bytes[]";
|
599
|
+
readonly name: "data";
|
600
|
+
readonly type: "bytes[]";
|
601
|
+
}];
|
602
|
+
readonly name: "multicall";
|
603
|
+
readonly outputs: readonly [{
|
604
|
+
readonly internalType: "bytes[]";
|
605
|
+
readonly name: "results";
|
606
|
+
readonly type: "bytes[]";
|
607
|
+
}];
|
608
|
+
readonly stateMutability: "payable";
|
609
|
+
readonly type: "function";
|
610
|
+
}, {
|
611
|
+
readonly inputs: readonly [];
|
612
|
+
readonly name: "name";
|
613
|
+
readonly outputs: readonly [{
|
614
|
+
readonly internalType: "string";
|
615
|
+
readonly name: "";
|
616
|
+
readonly type: "string";
|
617
|
+
}];
|
618
|
+
readonly stateMutability: "view";
|
619
|
+
readonly type: "function";
|
620
|
+
}, {
|
621
|
+
readonly inputs: readonly [{
|
622
|
+
readonly internalType: "uint256";
|
623
|
+
readonly name: "tokenId";
|
624
|
+
readonly type: "uint256";
|
625
|
+
}];
|
626
|
+
readonly name: "ownerOf";
|
627
|
+
readonly outputs: readonly [{
|
628
|
+
readonly internalType: "address";
|
629
|
+
readonly name: "";
|
630
|
+
readonly type: "address";
|
631
|
+
}];
|
632
|
+
readonly stateMutability: "view";
|
633
|
+
readonly type: "function";
|
634
|
+
}, {
|
635
|
+
readonly inputs: readonly [{
|
636
|
+
readonly internalType: "address";
|
637
|
+
readonly name: "spender";
|
638
|
+
readonly type: "address";
|
639
|
+
}, {
|
640
|
+
readonly internalType: "uint256";
|
641
|
+
readonly name: "tokenId";
|
642
|
+
readonly type: "uint256";
|
643
|
+
}, {
|
644
|
+
readonly internalType: "uint256";
|
645
|
+
readonly name: "deadline";
|
646
|
+
readonly type: "uint256";
|
647
|
+
}, {
|
648
|
+
readonly internalType: "uint8";
|
649
|
+
readonly name: "v";
|
650
|
+
readonly type: "uint8";
|
651
|
+
}, {
|
652
|
+
readonly internalType: "bytes32";
|
653
|
+
readonly name: "r";
|
654
|
+
readonly type: "bytes32";
|
655
|
+
}, {
|
656
|
+
readonly internalType: "bytes32";
|
657
|
+
readonly name: "s";
|
658
|
+
readonly type: "bytes32";
|
659
|
+
}];
|
660
|
+
readonly name: "permit";
|
661
|
+
readonly outputs: readonly [];
|
662
|
+
readonly stateMutability: "payable";
|
663
|
+
readonly type: "function";
|
664
|
+
}, {
|
665
|
+
readonly inputs: readonly [];
|
666
|
+
readonly name: "poolDeployer";
|
667
|
+
readonly outputs: readonly [{
|
668
|
+
readonly internalType: "address";
|
669
|
+
readonly name: "";
|
670
|
+
readonly type: "address";
|
671
|
+
}];
|
672
|
+
readonly stateMutability: "view";
|
673
|
+
readonly type: "function";
|
674
|
+
}, {
|
675
|
+
readonly inputs: readonly [{
|
676
|
+
readonly internalType: "uint256";
|
677
|
+
readonly name: "tokenId";
|
678
|
+
readonly type: "uint256";
|
679
|
+
}];
|
680
|
+
readonly name: "positions";
|
681
|
+
readonly outputs: readonly [{
|
682
|
+
readonly internalType: "uint88";
|
683
|
+
readonly name: "nonce";
|
684
|
+
readonly type: "uint88";
|
685
|
+
}, {
|
686
|
+
readonly internalType: "address";
|
687
|
+
readonly name: "operator";
|
688
|
+
readonly type: "address";
|
689
|
+
}, {
|
690
|
+
readonly internalType: "address";
|
691
|
+
readonly name: "token0";
|
692
|
+
readonly type: "address";
|
693
|
+
}, {
|
694
|
+
readonly internalType: "address";
|
695
|
+
readonly name: "token1";
|
696
|
+
readonly type: "address";
|
697
|
+
}, {
|
698
|
+
readonly internalType: "address";
|
699
|
+
readonly name: "deployer";
|
700
|
+
readonly type: "address";
|
701
|
+
}, {
|
702
|
+
readonly internalType: "int24";
|
703
|
+
readonly name: "tickLower";
|
704
|
+
readonly type: "int24";
|
705
|
+
}, {
|
706
|
+
readonly internalType: "int24";
|
707
|
+
readonly name: "tickUpper";
|
708
|
+
readonly type: "int24";
|
709
|
+
}, {
|
710
|
+
readonly internalType: "uint128";
|
711
|
+
readonly name: "liquidity";
|
712
|
+
readonly type: "uint128";
|
713
|
+
}, {
|
714
|
+
readonly internalType: "uint256";
|
715
|
+
readonly name: "feeGrowthInside0LastX128";
|
716
|
+
readonly type: "uint256";
|
717
|
+
}, {
|
718
|
+
readonly internalType: "uint256";
|
719
|
+
readonly name: "feeGrowthInside1LastX128";
|
720
|
+
readonly type: "uint256";
|
721
|
+
}, {
|
722
|
+
readonly internalType: "uint128";
|
723
|
+
readonly name: "tokensOwed0";
|
724
|
+
readonly type: "uint128";
|
725
|
+
}, {
|
726
|
+
readonly internalType: "uint128";
|
727
|
+
readonly name: "tokensOwed1";
|
728
|
+
readonly type: "uint128";
|
729
|
+
}];
|
730
|
+
readonly stateMutability: "view";
|
731
|
+
readonly type: "function";
|
732
|
+
}, {
|
733
|
+
readonly inputs: readonly [];
|
734
|
+
readonly name: "refundNativeToken";
|
735
|
+
readonly outputs: readonly [];
|
736
|
+
readonly stateMutability: "payable";
|
737
|
+
readonly type: "function";
|
738
|
+
}, {
|
739
|
+
readonly inputs: readonly [{
|
740
|
+
readonly internalType: "address";
|
741
|
+
readonly name: "from";
|
742
|
+
readonly type: "address";
|
743
|
+
}, {
|
744
|
+
readonly internalType: "address";
|
745
|
+
readonly name: "to";
|
746
|
+
readonly type: "address";
|
747
|
+
}, {
|
748
|
+
readonly internalType: "uint256";
|
749
|
+
readonly name: "tokenId";
|
750
|
+
readonly type: "uint256";
|
751
|
+
}];
|
752
|
+
readonly name: "safeTransferFrom";
|
753
|
+
readonly outputs: readonly [];
|
754
|
+
readonly stateMutability: "nonpayable";
|
755
|
+
readonly type: "function";
|
756
|
+
}, {
|
757
|
+
readonly inputs: readonly [{
|
758
|
+
readonly internalType: "address";
|
759
|
+
readonly name: "from";
|
760
|
+
readonly type: "address";
|
761
|
+
}, {
|
762
|
+
readonly internalType: "address";
|
763
|
+
readonly name: "to";
|
764
|
+
readonly type: "address";
|
765
|
+
}, {
|
766
|
+
readonly internalType: "uint256";
|
767
|
+
readonly name: "tokenId";
|
768
|
+
readonly type: "uint256";
|
769
|
+
}, {
|
770
|
+
readonly internalType: "bytes";
|
771
|
+
readonly name: "data";
|
772
|
+
readonly type: "bytes";
|
773
|
+
}];
|
774
|
+
readonly name: "safeTransferFrom";
|
775
|
+
readonly outputs: readonly [];
|
776
|
+
readonly stateMutability: "nonpayable";
|
777
|
+
readonly type: "function";
|
778
|
+
}, {
|
779
|
+
readonly inputs: readonly [{
|
780
|
+
readonly internalType: "address";
|
781
|
+
readonly name: "token";
|
782
|
+
readonly type: "address";
|
783
|
+
}, {
|
784
|
+
readonly internalType: "uint256";
|
785
|
+
readonly name: "value";
|
786
|
+
readonly type: "uint256";
|
787
|
+
}, {
|
788
|
+
readonly internalType: "uint256";
|
789
|
+
readonly name: "deadline";
|
790
|
+
readonly type: "uint256";
|
791
|
+
}, {
|
792
|
+
readonly internalType: "uint8";
|
793
|
+
readonly name: "v";
|
794
|
+
readonly type: "uint8";
|
795
|
+
}, {
|
796
|
+
readonly internalType: "bytes32";
|
797
|
+
readonly name: "r";
|
798
|
+
readonly type: "bytes32";
|
799
|
+
}, {
|
800
|
+
readonly internalType: "bytes32";
|
801
|
+
readonly name: "s";
|
802
|
+
readonly type: "bytes32";
|
803
|
+
}];
|
804
|
+
readonly name: "selfPermit";
|
805
|
+
readonly outputs: readonly [];
|
806
|
+
readonly stateMutability: "payable";
|
807
|
+
readonly type: "function";
|
808
|
+
}, {
|
809
|
+
readonly inputs: readonly [{
|
810
|
+
readonly internalType: "address";
|
811
|
+
readonly name: "token";
|
812
|
+
readonly type: "address";
|
813
|
+
}, {
|
814
|
+
readonly internalType: "uint256";
|
815
|
+
readonly name: "nonce";
|
816
|
+
readonly type: "uint256";
|
817
|
+
}, {
|
818
|
+
readonly internalType: "uint256";
|
819
|
+
readonly name: "expiry";
|
820
|
+
readonly type: "uint256";
|
821
|
+
}, {
|
822
|
+
readonly internalType: "uint8";
|
823
|
+
readonly name: "v";
|
824
|
+
readonly type: "uint8";
|
825
|
+
}, {
|
826
|
+
readonly internalType: "bytes32";
|
827
|
+
readonly name: "r";
|
828
|
+
readonly type: "bytes32";
|
829
|
+
}, {
|
830
|
+
readonly internalType: "bytes32";
|
831
|
+
readonly name: "s";
|
832
|
+
readonly type: "bytes32";
|
833
|
+
}];
|
834
|
+
readonly name: "selfPermitAllowed";
|
835
|
+
readonly outputs: readonly [];
|
836
|
+
readonly stateMutability: "payable";
|
837
|
+
readonly type: "function";
|
838
|
+
}, {
|
839
|
+
readonly inputs: readonly [{
|
840
|
+
readonly internalType: "address";
|
841
|
+
readonly name: "token";
|
842
|
+
readonly type: "address";
|
843
|
+
}, {
|
844
|
+
readonly internalType: "uint256";
|
845
|
+
readonly name: "nonce";
|
846
|
+
readonly type: "uint256";
|
847
|
+
}, {
|
848
|
+
readonly internalType: "uint256";
|
849
|
+
readonly name: "expiry";
|
850
|
+
readonly type: "uint256";
|
851
|
+
}, {
|
852
|
+
readonly internalType: "uint8";
|
853
|
+
readonly name: "v";
|
854
|
+
readonly type: "uint8";
|
855
|
+
}, {
|
856
|
+
readonly internalType: "bytes32";
|
857
|
+
readonly name: "r";
|
858
|
+
readonly type: "bytes32";
|
859
|
+
}, {
|
860
|
+
readonly internalType: "bytes32";
|
861
|
+
readonly name: "s";
|
862
|
+
readonly type: "bytes32";
|
863
|
+
}];
|
864
|
+
readonly name: "selfPermitAllowedIfNecessary";
|
865
|
+
readonly outputs: readonly [];
|
866
|
+
readonly stateMutability: "payable";
|
867
|
+
readonly type: "function";
|
868
|
+
}, {
|
869
|
+
readonly inputs: readonly [{
|
870
|
+
readonly internalType: "address";
|
871
|
+
readonly name: "token";
|
872
|
+
readonly type: "address";
|
873
|
+
}, {
|
874
|
+
readonly internalType: "uint256";
|
875
|
+
readonly name: "value";
|
876
|
+
readonly type: "uint256";
|
877
|
+
}, {
|
878
|
+
readonly internalType: "uint256";
|
879
|
+
readonly name: "deadline";
|
880
|
+
readonly type: "uint256";
|
881
|
+
}, {
|
882
|
+
readonly internalType: "uint8";
|
883
|
+
readonly name: "v";
|
884
|
+
readonly type: "uint8";
|
885
|
+
}, {
|
886
|
+
readonly internalType: "bytes32";
|
887
|
+
readonly name: "r";
|
888
|
+
readonly type: "bytes32";
|
889
|
+
}, {
|
890
|
+
readonly internalType: "bytes32";
|
891
|
+
readonly name: "s";
|
892
|
+
readonly type: "bytes32";
|
893
|
+
}];
|
894
|
+
readonly name: "selfPermitIfNecessary";
|
895
|
+
readonly outputs: readonly [];
|
896
|
+
readonly stateMutability: "payable";
|
897
|
+
readonly type: "function";
|
898
|
+
}, {
|
899
|
+
readonly inputs: readonly [{
|
900
|
+
readonly internalType: "address";
|
901
|
+
readonly name: "operator";
|
902
|
+
readonly type: "address";
|
903
|
+
}, {
|
904
|
+
readonly internalType: "bool";
|
905
|
+
readonly name: "approved";
|
906
|
+
readonly type: "bool";
|
907
|
+
}];
|
908
|
+
readonly name: "setApprovalForAll";
|
909
|
+
readonly outputs: readonly [];
|
910
|
+
readonly stateMutability: "nonpayable";
|
911
|
+
readonly type: "function";
|
912
|
+
}, {
|
913
|
+
readonly inputs: readonly [{
|
914
|
+
readonly internalType: "address";
|
915
|
+
readonly name: "newFarmingCenter";
|
916
|
+
readonly type: "address";
|
917
|
+
}];
|
918
|
+
readonly name: "setFarmingCenter";
|
919
|
+
readonly outputs: readonly [];
|
920
|
+
readonly stateMutability: "nonpayable";
|
921
|
+
readonly type: "function";
|
922
|
+
}, {
|
923
|
+
readonly inputs: readonly [{
|
924
|
+
readonly internalType: "bytes4";
|
925
|
+
readonly name: "interfaceId";
|
926
|
+
readonly type: "bytes4";
|
927
|
+
}];
|
928
|
+
readonly name: "supportsInterface";
|
929
|
+
readonly outputs: readonly [{
|
930
|
+
readonly internalType: "bool";
|
931
|
+
readonly name: "";
|
932
|
+
readonly type: "bool";
|
933
|
+
}];
|
934
|
+
readonly stateMutability: "view";
|
935
|
+
readonly type: "function";
|
936
|
+
}, {
|
937
|
+
readonly inputs: readonly [{
|
938
|
+
readonly internalType: "address";
|
939
|
+
readonly name: "token";
|
940
|
+
readonly type: "address";
|
941
|
+
}, {
|
942
|
+
readonly internalType: "uint256";
|
943
|
+
readonly name: "amountMinimum";
|
944
|
+
readonly type: "uint256";
|
945
|
+
}, {
|
946
|
+
readonly internalType: "address";
|
947
|
+
readonly name: "recipient";
|
948
|
+
readonly type: "address";
|
949
|
+
}];
|
950
|
+
readonly name: "sweepToken";
|
951
|
+
readonly outputs: readonly [];
|
952
|
+
readonly stateMutability: "payable";
|
953
|
+
readonly type: "function";
|
954
|
+
}, {
|
955
|
+
readonly inputs: readonly [{
|
956
|
+
readonly internalType: "uint256";
|
957
|
+
readonly name: "tokenId";
|
958
|
+
readonly type: "uint256";
|
959
|
+
}, {
|
960
|
+
readonly internalType: "bool";
|
961
|
+
readonly name: "toActive";
|
962
|
+
readonly type: "bool";
|
963
|
+
}];
|
964
|
+
readonly name: "switchFarmingStatus";
|
965
|
+
readonly outputs: readonly [];
|
966
|
+
readonly stateMutability: "nonpayable";
|
967
|
+
readonly type: "function";
|
968
|
+
}, {
|
969
|
+
readonly inputs: readonly [];
|
970
|
+
readonly name: "symbol";
|
971
|
+
readonly outputs: readonly [{
|
972
|
+
readonly internalType: "string";
|
973
|
+
readonly name: "";
|
974
|
+
readonly type: "string";
|
975
|
+
}];
|
976
|
+
readonly stateMutability: "view";
|
977
|
+
readonly type: "function";
|
978
|
+
}, {
|
979
|
+
readonly inputs: readonly [{
|
980
|
+
readonly internalType: "uint256";
|
981
|
+
readonly name: "index";
|
982
|
+
readonly type: "uint256";
|
983
|
+
}];
|
984
|
+
readonly name: "tokenByIndex";
|
985
|
+
readonly outputs: readonly [{
|
986
|
+
readonly internalType: "uint256";
|
987
|
+
readonly name: "";
|
988
|
+
readonly type: "uint256";
|
989
|
+
}];
|
990
|
+
readonly stateMutability: "view";
|
991
|
+
readonly type: "function";
|
992
|
+
}, {
|
993
|
+
readonly inputs: readonly [{
|
994
|
+
readonly internalType: "uint256";
|
995
|
+
readonly name: "tokenId";
|
996
|
+
readonly type: "uint256";
|
997
|
+
}];
|
998
|
+
readonly name: "tokenFarmedIn";
|
999
|
+
readonly outputs: readonly [{
|
1000
|
+
readonly internalType: "address";
|
1001
|
+
readonly name: "farmingCenterAddress";
|
1002
|
+
readonly type: "address";
|
1003
|
+
}];
|
1004
|
+
readonly stateMutability: "view";
|
1005
|
+
readonly type: "function";
|
1006
|
+
}, {
|
1007
|
+
readonly inputs: readonly [{
|
1008
|
+
readonly internalType: "address";
|
1009
|
+
readonly name: "owner";
|
1010
|
+
readonly type: "address";
|
1011
|
+
}, {
|
1012
|
+
readonly internalType: "uint256";
|
1013
|
+
readonly name: "index";
|
1014
|
+
readonly type: "uint256";
|
1015
|
+
}];
|
1016
|
+
readonly name: "tokenOfOwnerByIndex";
|
1017
|
+
readonly outputs: readonly [{
|
1018
|
+
readonly internalType: "uint256";
|
1019
|
+
readonly name: "";
|
1020
|
+
readonly type: "uint256";
|
1021
|
+
}];
|
1022
|
+
readonly stateMutability: "view";
|
1023
|
+
readonly type: "function";
|
1024
|
+
}, {
|
1025
|
+
readonly inputs: readonly [{
|
1026
|
+
readonly internalType: "uint256";
|
1027
|
+
readonly name: "tokenId";
|
1028
|
+
readonly type: "uint256";
|
1029
|
+
}];
|
1030
|
+
readonly name: "tokenURI";
|
1031
|
+
readonly outputs: readonly [{
|
1032
|
+
readonly internalType: "string";
|
1033
|
+
readonly name: "";
|
1034
|
+
readonly type: "string";
|
1035
|
+
}];
|
1036
|
+
readonly stateMutability: "view";
|
1037
|
+
readonly type: "function";
|
1038
|
+
}, {
|
1039
|
+
readonly inputs: readonly [];
|
1040
|
+
readonly name: "totalSupply";
|
1041
|
+
readonly outputs: readonly [{
|
1042
|
+
readonly internalType: "uint256";
|
1043
|
+
readonly name: "";
|
1044
|
+
readonly type: "uint256";
|
1045
|
+
}];
|
1046
|
+
readonly stateMutability: "view";
|
1047
|
+
readonly type: "function";
|
1048
|
+
}, {
|
1049
|
+
readonly inputs: readonly [{
|
1050
|
+
readonly internalType: "address";
|
1051
|
+
readonly name: "from";
|
1052
|
+
readonly type: "address";
|
1053
|
+
}, {
|
1054
|
+
readonly internalType: "address";
|
1055
|
+
readonly name: "to";
|
1056
|
+
readonly type: "address";
|
1057
|
+
}, {
|
1058
|
+
readonly internalType: "uint256";
|
1059
|
+
readonly name: "tokenId";
|
1060
|
+
readonly type: "uint256";
|
1061
|
+
}];
|
1062
|
+
readonly name: "transferFrom";
|
1063
|
+
readonly outputs: readonly [];
|
1064
|
+
readonly stateMutability: "nonpayable";
|
1065
|
+
readonly type: "function";
|
1066
|
+
}, {
|
1067
|
+
readonly inputs: readonly [{
|
1068
|
+
readonly internalType: "uint256";
|
1069
|
+
readonly name: "amountMinimum";
|
1070
|
+
readonly type: "uint256";
|
1071
|
+
}, {
|
1072
|
+
readonly internalType: "address";
|
1073
|
+
readonly name: "recipient";
|
1074
|
+
readonly type: "address";
|
1075
|
+
}];
|
1076
|
+
readonly name: "unwrapWNativeToken";
|
1077
|
+
readonly outputs: readonly [];
|
1078
|
+
readonly stateMutability: "payable";
|
1079
|
+
readonly type: "function";
|
1080
|
+
}, {
|
1081
|
+
readonly stateMutability: "payable";
|
1082
|
+
readonly type: "receive";
|
1083
|
+
}];
|