@zoralabs/coins 0.9.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +131 -114
- package/CHANGELOG.md +40 -0
- package/abis/BaseCoin.json +26 -118
- package/abis/BaseTest.json +47 -0
- package/abis/Coin.json +171 -63
- package/abis/CoinDopplerMultiCurve.json +38 -0
- package/abis/CoinRewardsV4.json +54 -0
- package/abis/CoinTest.json +53 -20
- package/abis/CoinUniV4Test.json +1053 -0
- package/abis/CoinV4.json +234 -211
- package/abis/DeployScript.json +47 -0
- package/abis/DeployedCoinVersionLookup.json +21 -0
- package/abis/DeployedCoinVersionLookupTest.json +716 -0
- package/abis/DifferentNamespaceVersionLookup.json +39 -0
- package/abis/DopplerUniswapV3Test.json +49 -93
- package/abis/ERC20.json +310 -0
- package/abis/FactoryTest.json +85 -7
- package/abis/FeeEstimatorHook.json +1528 -0
- package/abis/HooksDeployment.json +23 -0
- package/abis/HooksTest.json +47 -0
- package/abis/ICoin.json +40 -71
- package/abis/ICoinV3.json +879 -0
- package/abis/ICoinV4.json +915 -0
- package/abis/IDeployedCoinVersionLookup.json +21 -0
- package/abis/IERC721.json +36 -36
- package/abis/IHasPoolKey.json +42 -0
- package/abis/IHasRewardsRecipients.json +54 -0
- package/abis/IHasSwapPath.json +60 -0
- package/abis/IMsgSender.json +15 -0
- package/abis/IPoolConfigEncoding.json +46 -0
- package/abis/ISwapPathRouter.json +92 -0
- package/abis/IUniversalRouter.json +61 -0
- package/abis/IUnlockCallback.json +21 -0
- package/abis/IV4Quoter.json +310 -0
- package/abis/IZoraFactory.json +191 -11
- package/abis/IZoraV4CoinHook.json +348 -4
- package/abis/MockERC20.json +21 -0
- package/abis/MultiOwnableTest.json +47 -0
- package/abis/{CoinConfigurationVersions.json → Position.json} +1 -1
- package/abis/PrintUpgradeCommand.json +9 -0
- package/abis/ProxyShim.json +24 -0
- package/abis/StateLibrary.json +80 -0
- package/abis/TestDeployedCoinVersionLookupImplementation.json +39 -0
- package/abis/TestV4Swap.json +9 -0
- package/abis/UpgradeCoinImpl.json +47 -0
- package/abis/UpgradesTest.json +67 -0
- package/abis/Vm.json +1482 -111
- package/abis/VmSafe.json +856 -32
- package/abis/ZoraFactoryImpl.json +339 -1
- package/abis/ZoraV4CoinHook.json +455 -5
- package/addresses/8453.json +8 -4
- package/addresses/84532.json +8 -4
- package/dist/index.cjs +1920 -169
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1916 -169
- package/dist/index.js.map +1 -1
- package/dist/wagmiGenerated.d.ts +2599 -183
- package/dist/wagmiGenerated.d.ts.map +1 -1
- package/package/wagmiGenerated.ts +1928 -165
- package/package.json +8 -3
- package/remappings.txt +6 -1
- package/script/CoinsDeployerBase.sol +74 -11
- package/script/DeployDevFactory.s.sol +21 -0
- package/script/PrintUpgradeCommand.s.sol +13 -0
- package/script/Simulate.s.sol +1 -10
- package/script/TestBackingCoinSwap.s.sol +146 -0
- package/script/TestV4Swap.s.sol +136 -0
- package/script/UpgradeFactoryImpl.s.sol +1 -1
- package/src/BaseCoin.sol +176 -0
- package/src/Coin.sol +87 -202
- package/src/CoinV4.sol +121 -0
- package/src/ZoraFactoryImpl.sol +208 -36
- package/src/hooks/ZoraV4CoinHook.sol +195 -0
- package/src/hooks/{BaseCoinDeployHook.sol → deployment/BaseCoinDeployHook.sol} +3 -3
- package/src/hooks/{BuySupplyWithSwapRouterHook.sol → deployment/BuySupplyWithSwapRouterHook.sol} +7 -5
- package/src/interfaces/ICoin.sol +31 -39
- package/src/interfaces/ICoinV3.sol +71 -0
- package/src/interfaces/ICoinV4.sol +69 -0
- package/src/interfaces/IDeployedCoinVersionLookup.sol +11 -0
- package/src/interfaces/IMsgSender.sol +9 -0
- package/src/interfaces/IPoolConfigEncoding.sol +14 -0
- package/src/interfaces/ISwapPathRouter.sol +14 -0
- package/src/interfaces/IZoraFactory.sol +65 -27
- package/src/interfaces/IZoraV4CoinHook.sol +116 -0
- package/src/libs/CoinCommon.sol +15 -0
- package/src/libs/CoinConfigurationVersions.sol +116 -1
- package/src/libs/CoinConstants.sol +5 -0
- package/src/libs/CoinDopplerMultiCurve.sol +134 -0
- package/src/libs/CoinDopplerUniV3.sol +19 -171
- package/src/libs/CoinRewards.sol +195 -0
- package/src/libs/CoinRewardsV4.sol +180 -0
- package/src/libs/CoinSetup.sol +57 -0
- package/src/libs/CoinSetupV3.sol +6 -67
- package/src/libs/DopplerMath.sol +156 -0
- package/src/libs/HooksDeployment.sol +84 -0
- package/src/libs/MarketConstants.sol +4 -0
- package/src/libs/PoolStateReader.sol +22 -0
- package/src/libs/UniV3BuySell.sol +74 -292
- package/src/libs/UniV4SwapHelper.sol +65 -0
- package/src/libs/UniV4SwapToCurrency.sol +109 -0
- package/src/libs/V4Liquidity.sol +129 -0
- package/src/types/PoolConfiguration.sol +15 -0
- package/src/utils/DeployedCoinVersionLookup.sol +52 -0
- package/src/version/ContractVersionBase.sol +1 -1
- package/test/Coin.t.sol +78 -88
- package/test/CoinDopplerUniV3.t.sol +32 -171
- package/test/CoinUniV4.t.sol +752 -0
- package/test/{Hooks.t.sol → DeploymentHooks.t.sol} +2 -6
- package/test/Factory.t.sol +80 -47
- package/test/MultiOwnable.t.sol +6 -3
- package/test/Upgrades.t.sol +6 -5
- package/test/mocks/MockERC20.sol +12 -0
- package/test/utils/BaseTest.sol +106 -56
- package/test/utils/DeployedCoinVersionLookup.t.sol +127 -0
- package/test/utils/FeeEstimatorHook.sol +84 -0
- package/test/utils/ProxyShim.sol +17 -0
- package/wagmi.config.ts +4 -0
- package/.env +0 -1
- package/.turbo/turbo-update-contract-version.log +0 -22
- package/abis/CoinSetupV3.json +0 -7
- package/abis/HookDeployer.json +0 -68
- package/abis/IHookDeployer.json +0 -42
- package/src/libs/CoinLegacy.sol +0 -48
- package/src/libs/CoinLegacyMarket.sol +0 -182
package/dist/wagmiGenerated.d.ts
CHANGED
|
@@ -96,27 +96,27 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
96
96
|
export declare const coinABI: readonly [{
|
|
97
97
|
readonly type: "constructor";
|
|
98
98
|
readonly inputs: readonly [{
|
|
99
|
-
readonly name: "
|
|
99
|
+
readonly name: "protocolRewardRecipient_";
|
|
100
100
|
readonly internalType: "address";
|
|
101
101
|
readonly type: "address";
|
|
102
102
|
}, {
|
|
103
|
-
readonly name: "
|
|
103
|
+
readonly name: "protocolRewards_";
|
|
104
104
|
readonly internalType: "address";
|
|
105
105
|
readonly type: "address";
|
|
106
106
|
}, {
|
|
107
|
-
readonly name: "
|
|
107
|
+
readonly name: "weth_";
|
|
108
108
|
readonly internalType: "address";
|
|
109
109
|
readonly type: "address";
|
|
110
110
|
}, {
|
|
111
|
-
readonly name: "
|
|
111
|
+
readonly name: "v3Factory_";
|
|
112
112
|
readonly internalType: "address";
|
|
113
113
|
readonly type: "address";
|
|
114
114
|
}, {
|
|
115
|
-
readonly name: "
|
|
115
|
+
readonly name: "swapRouter_";
|
|
116
116
|
readonly internalType: "address";
|
|
117
117
|
readonly type: "address";
|
|
118
118
|
}, {
|
|
119
|
-
readonly name: "
|
|
119
|
+
readonly name: "airlock_";
|
|
120
120
|
readonly internalType: "address";
|
|
121
121
|
readonly type: "address";
|
|
122
122
|
}];
|
|
@@ -318,6 +318,16 @@ export declare const coinABI: readonly [{
|
|
|
318
318
|
readonly type: "uint8";
|
|
319
319
|
}];
|
|
320
320
|
readonly stateMutability: "view";
|
|
321
|
+
}, {
|
|
322
|
+
readonly type: "function";
|
|
323
|
+
readonly inputs: readonly [];
|
|
324
|
+
readonly name: "dopplerFeeRecipient";
|
|
325
|
+
readonly outputs: readonly [{
|
|
326
|
+
readonly name: "";
|
|
327
|
+
readonly internalType: "address";
|
|
328
|
+
readonly type: "address";
|
|
329
|
+
}];
|
|
330
|
+
readonly stateMutability: "view";
|
|
321
331
|
}, {
|
|
322
332
|
readonly type: "function";
|
|
323
333
|
readonly inputs: readonly [];
|
|
@@ -352,6 +362,49 @@ export declare const coinABI: readonly [{
|
|
|
352
362
|
readonly type: "uint256[]";
|
|
353
363
|
}];
|
|
354
364
|
readonly stateMutability: "view";
|
|
365
|
+
}, {
|
|
366
|
+
readonly type: "function";
|
|
367
|
+
readonly inputs: readonly [];
|
|
368
|
+
readonly name: "getPoolConfiguration";
|
|
369
|
+
readonly outputs: readonly [{
|
|
370
|
+
readonly name: "";
|
|
371
|
+
readonly internalType: "struct PoolConfiguration";
|
|
372
|
+
readonly type: "tuple";
|
|
373
|
+
readonly components: readonly [{
|
|
374
|
+
readonly name: "version";
|
|
375
|
+
readonly internalType: "uint8";
|
|
376
|
+
readonly type: "uint8";
|
|
377
|
+
}, {
|
|
378
|
+
readonly name: "numPositions";
|
|
379
|
+
readonly internalType: "uint16";
|
|
380
|
+
readonly type: "uint16";
|
|
381
|
+
}, {
|
|
382
|
+
readonly name: "fee";
|
|
383
|
+
readonly internalType: "uint24";
|
|
384
|
+
readonly type: "uint24";
|
|
385
|
+
}, {
|
|
386
|
+
readonly name: "tickSpacing";
|
|
387
|
+
readonly internalType: "int24";
|
|
388
|
+
readonly type: "int24";
|
|
389
|
+
}, {
|
|
390
|
+
readonly name: "numDiscoveryPositions";
|
|
391
|
+
readonly internalType: "uint16[]";
|
|
392
|
+
readonly type: "uint16[]";
|
|
393
|
+
}, {
|
|
394
|
+
readonly name: "tickLower";
|
|
395
|
+
readonly internalType: "int24[]";
|
|
396
|
+
readonly type: "int24[]";
|
|
397
|
+
}, {
|
|
398
|
+
readonly name: "tickUpper";
|
|
399
|
+
readonly internalType: "int24[]";
|
|
400
|
+
readonly type: "int24[]";
|
|
401
|
+
}, {
|
|
402
|
+
readonly name: "maxDiscoverySupplyShare";
|
|
403
|
+
readonly internalType: "uint256[]";
|
|
404
|
+
readonly type: "uint256[]";
|
|
405
|
+
}];
|
|
406
|
+
}];
|
|
407
|
+
readonly stateMutability: "view";
|
|
355
408
|
}, {
|
|
356
409
|
readonly type: "function";
|
|
357
410
|
readonly inputs: readonly [{
|
|
@@ -374,14 +427,72 @@ export declare const coinABI: readonly [{
|
|
|
374
427
|
readonly name: "symbol_";
|
|
375
428
|
readonly internalType: "string";
|
|
376
429
|
readonly type: "string";
|
|
377
|
-
}, {
|
|
378
|
-
readonly name: "poolConfig_";
|
|
379
|
-
readonly internalType: "bytes";
|
|
380
|
-
readonly type: "bytes";
|
|
381
430
|
}, {
|
|
382
431
|
readonly name: "platformReferrer_";
|
|
383
432
|
readonly internalType: "address";
|
|
384
433
|
readonly type: "address";
|
|
434
|
+
}, {
|
|
435
|
+
readonly name: "currency_";
|
|
436
|
+
readonly internalType: "address";
|
|
437
|
+
readonly type: "address";
|
|
438
|
+
}, {
|
|
439
|
+
readonly name: "poolAddress_";
|
|
440
|
+
readonly internalType: "address";
|
|
441
|
+
readonly type: "address";
|
|
442
|
+
}, {
|
|
443
|
+
readonly name: "poolConfiguration_";
|
|
444
|
+
readonly internalType: "struct PoolConfiguration";
|
|
445
|
+
readonly type: "tuple";
|
|
446
|
+
readonly components: readonly [{
|
|
447
|
+
readonly name: "version";
|
|
448
|
+
readonly internalType: "uint8";
|
|
449
|
+
readonly type: "uint8";
|
|
450
|
+
}, {
|
|
451
|
+
readonly name: "numPositions";
|
|
452
|
+
readonly internalType: "uint16";
|
|
453
|
+
readonly type: "uint16";
|
|
454
|
+
}, {
|
|
455
|
+
readonly name: "fee";
|
|
456
|
+
readonly internalType: "uint24";
|
|
457
|
+
readonly type: "uint24";
|
|
458
|
+
}, {
|
|
459
|
+
readonly name: "tickSpacing";
|
|
460
|
+
readonly internalType: "int24";
|
|
461
|
+
readonly type: "int24";
|
|
462
|
+
}, {
|
|
463
|
+
readonly name: "numDiscoveryPositions";
|
|
464
|
+
readonly internalType: "uint16[]";
|
|
465
|
+
readonly type: "uint16[]";
|
|
466
|
+
}, {
|
|
467
|
+
readonly name: "tickLower";
|
|
468
|
+
readonly internalType: "int24[]";
|
|
469
|
+
readonly type: "int24[]";
|
|
470
|
+
}, {
|
|
471
|
+
readonly name: "tickUpper";
|
|
472
|
+
readonly internalType: "int24[]";
|
|
473
|
+
readonly type: "int24[]";
|
|
474
|
+
}, {
|
|
475
|
+
readonly name: "maxDiscoverySupplyShare";
|
|
476
|
+
readonly internalType: "uint256[]";
|
|
477
|
+
readonly type: "uint256[]";
|
|
478
|
+
}];
|
|
479
|
+
}, {
|
|
480
|
+
readonly name: "positions_";
|
|
481
|
+
readonly internalType: "struct LpPosition[]";
|
|
482
|
+
readonly type: "tuple[]";
|
|
483
|
+
readonly components: readonly [{
|
|
484
|
+
readonly name: "tickLower";
|
|
485
|
+
readonly internalType: "int24";
|
|
486
|
+
readonly type: "int24";
|
|
487
|
+
}, {
|
|
488
|
+
readonly name: "tickUpper";
|
|
489
|
+
readonly internalType: "int24";
|
|
490
|
+
readonly type: "int24";
|
|
491
|
+
}, {
|
|
492
|
+
readonly name: "liquidity";
|
|
493
|
+
readonly internalType: "uint128";
|
|
494
|
+
readonly type: "uint128";
|
|
495
|
+
}];
|
|
385
496
|
}];
|
|
386
497
|
readonly name: "initialize";
|
|
387
498
|
readonly outputs: readonly [];
|
|
@@ -526,37 +637,29 @@ export declare const coinABI: readonly [{
|
|
|
526
637
|
readonly name: "version";
|
|
527
638
|
readonly internalType: "uint8";
|
|
528
639
|
readonly type: "uint8";
|
|
529
|
-
}, {
|
|
530
|
-
readonly name: "tickLower";
|
|
531
|
-
readonly internalType: "int24";
|
|
532
|
-
readonly type: "int24";
|
|
533
|
-
}, {
|
|
534
|
-
readonly name: "tickUpper";
|
|
535
|
-
readonly internalType: "int24";
|
|
536
|
-
readonly type: "int24";
|
|
537
640
|
}, {
|
|
538
641
|
readonly name: "numPositions";
|
|
539
642
|
readonly internalType: "uint16";
|
|
540
643
|
readonly type: "uint16";
|
|
541
644
|
}, {
|
|
542
|
-
readonly name: "
|
|
543
|
-
readonly internalType: "
|
|
544
|
-
readonly type: "
|
|
645
|
+
readonly name: "fee";
|
|
646
|
+
readonly internalType: "uint24";
|
|
647
|
+
readonly type: "uint24";
|
|
648
|
+
}, {
|
|
649
|
+
readonly name: "tickSpacing";
|
|
650
|
+
readonly internalType: "int24";
|
|
651
|
+
readonly type: "int24";
|
|
545
652
|
}];
|
|
546
653
|
readonly stateMutability: "view";
|
|
547
654
|
}, {
|
|
548
655
|
readonly type: "function";
|
|
549
|
-
readonly inputs: readonly [
|
|
550
|
-
|
|
656
|
+
readonly inputs: readonly [{
|
|
657
|
+
readonly name: "";
|
|
658
|
+
readonly internalType: "uint256";
|
|
659
|
+
readonly type: "uint256";
|
|
660
|
+
}];
|
|
661
|
+
readonly name: "positions";
|
|
551
662
|
readonly outputs: readonly [{
|
|
552
|
-
readonly name: "asset";
|
|
553
|
-
readonly internalType: "address";
|
|
554
|
-
readonly type: "address";
|
|
555
|
-
}, {
|
|
556
|
-
readonly name: "numeraire";
|
|
557
|
-
readonly internalType: "address";
|
|
558
|
-
readonly type: "address";
|
|
559
|
-
}, {
|
|
560
663
|
readonly name: "tickLower";
|
|
561
664
|
readonly internalType: "int24";
|
|
562
665
|
readonly type: "int24";
|
|
@@ -565,25 +668,9 @@ export declare const coinABI: readonly [{
|
|
|
565
668
|
readonly internalType: "int24";
|
|
566
669
|
readonly type: "int24";
|
|
567
670
|
}, {
|
|
568
|
-
readonly name: "
|
|
569
|
-
readonly internalType: "
|
|
570
|
-
readonly type: "
|
|
571
|
-
}, {
|
|
572
|
-
readonly name: "isInitialized";
|
|
573
|
-
readonly internalType: "bool";
|
|
574
|
-
readonly type: "bool";
|
|
575
|
-
}, {
|
|
576
|
-
readonly name: "isExited";
|
|
577
|
-
readonly internalType: "bool";
|
|
578
|
-
readonly type: "bool";
|
|
579
|
-
}, {
|
|
580
|
-
readonly name: "maxShareToBeSold";
|
|
581
|
-
readonly internalType: "uint256";
|
|
582
|
-
readonly type: "uint256";
|
|
583
|
-
}, {
|
|
584
|
-
readonly name: "totalTokensOnBondingCurve";
|
|
585
|
-
readonly internalType: "uint256";
|
|
586
|
-
readonly type: "uint256";
|
|
671
|
+
readonly name: "liquidity";
|
|
672
|
+
readonly internalType: "uint128";
|
|
673
|
+
readonly type: "uint128";
|
|
587
674
|
}];
|
|
588
675
|
readonly stateMutability: "view";
|
|
589
676
|
}, {
|
|
@@ -1355,10 +1442,6 @@ export declare const coinABI: readonly [{
|
|
|
1355
1442
|
readonly type: "error";
|
|
1356
1443
|
readonly inputs: readonly [];
|
|
1357
1444
|
readonly name: "InvalidPoolVersion";
|
|
1358
|
-
}, {
|
|
1359
|
-
readonly type: "error";
|
|
1360
|
-
readonly inputs: readonly [];
|
|
1361
|
-
readonly name: "InvalidPoolVersion";
|
|
1362
1445
|
}, {
|
|
1363
1446
|
readonly type: "error";
|
|
1364
1447
|
readonly inputs: readonly [{
|
|
@@ -1460,80 +1543,82 @@ export declare const coinABI: readonly [{
|
|
|
1460
1543
|
readonly inputs: readonly [];
|
|
1461
1544
|
readonly name: "UseRevokeOwnershipToRemoveSelf";
|
|
1462
1545
|
}];
|
|
1463
|
-
export declare const
|
|
1464
|
-
readonly type: "
|
|
1546
|
+
export declare const coinV4ABI: readonly [{
|
|
1547
|
+
readonly type: "constructor";
|
|
1465
1548
|
readonly inputs: readonly [{
|
|
1466
|
-
readonly name: "
|
|
1467
|
-
readonly internalType: "
|
|
1468
|
-
readonly type: "
|
|
1549
|
+
readonly name: "protocolRewardRecipient_";
|
|
1550
|
+
readonly internalType: "address";
|
|
1551
|
+
readonly type: "address";
|
|
1469
1552
|
}, {
|
|
1470
|
-
readonly name: "
|
|
1471
|
-
readonly internalType: "
|
|
1472
|
-
readonly type: "
|
|
1553
|
+
readonly name: "protocolRewards_";
|
|
1554
|
+
readonly internalType: "address";
|
|
1555
|
+
readonly type: "address";
|
|
1473
1556
|
}, {
|
|
1474
|
-
readonly name: "
|
|
1475
|
-
readonly internalType: "
|
|
1476
|
-
readonly type: "
|
|
1477
|
-
}];
|
|
1478
|
-
readonly name: "burn";
|
|
1479
|
-
readonly outputs: readonly [{
|
|
1480
|
-
readonly name: "amount0";
|
|
1481
|
-
readonly internalType: "uint256";
|
|
1482
|
-
readonly type: "uint256";
|
|
1557
|
+
readonly name: "poolManager_";
|
|
1558
|
+
readonly internalType: "contract IPoolManager";
|
|
1559
|
+
readonly type: "address";
|
|
1483
1560
|
}, {
|
|
1484
|
-
readonly name: "
|
|
1485
|
-
readonly internalType: "
|
|
1486
|
-
readonly type: "
|
|
1561
|
+
readonly name: "airlock_";
|
|
1562
|
+
readonly internalType: "address";
|
|
1563
|
+
readonly type: "address";
|
|
1564
|
+
}, {
|
|
1565
|
+
readonly name: "hooks_";
|
|
1566
|
+
readonly internalType: "contract IHooks";
|
|
1567
|
+
readonly type: "address";
|
|
1487
1568
|
}];
|
|
1488
1569
|
readonly stateMutability: "nonpayable";
|
|
1570
|
+
}, {
|
|
1571
|
+
readonly type: "function";
|
|
1572
|
+
readonly inputs: readonly [];
|
|
1573
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
1574
|
+
readonly outputs: readonly [{
|
|
1575
|
+
readonly name: "";
|
|
1576
|
+
readonly internalType: "bytes32";
|
|
1577
|
+
readonly type: "bytes32";
|
|
1578
|
+
}];
|
|
1579
|
+
readonly stateMutability: "view";
|
|
1489
1580
|
}, {
|
|
1490
1581
|
readonly type: "function";
|
|
1491
1582
|
readonly inputs: readonly [{
|
|
1492
|
-
readonly name: "
|
|
1583
|
+
readonly name: "account";
|
|
1493
1584
|
readonly internalType: "address";
|
|
1494
1585
|
readonly type: "address";
|
|
1495
|
-
}, {
|
|
1496
|
-
readonly name: "tickLower";
|
|
1497
|
-
readonly internalType: "int24";
|
|
1498
|
-
readonly type: "int24";
|
|
1499
|
-
}, {
|
|
1500
|
-
readonly name: "tickUpper";
|
|
1501
|
-
readonly internalType: "int24";
|
|
1502
|
-
readonly type: "int24";
|
|
1503
|
-
}, {
|
|
1504
|
-
readonly name: "amount0Requested";
|
|
1505
|
-
readonly internalType: "uint128";
|
|
1506
|
-
readonly type: "uint128";
|
|
1507
|
-
}, {
|
|
1508
|
-
readonly name: "amount1Requested";
|
|
1509
|
-
readonly internalType: "uint128";
|
|
1510
|
-
readonly type: "uint128";
|
|
1511
1586
|
}];
|
|
1512
|
-
readonly name: "
|
|
1513
|
-
readonly outputs: readonly [
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
readonly name: "
|
|
1519
|
-
readonly internalType: "
|
|
1520
|
-
readonly type: "
|
|
1587
|
+
readonly name: "addOwner";
|
|
1588
|
+
readonly outputs: readonly [];
|
|
1589
|
+
readonly stateMutability: "nonpayable";
|
|
1590
|
+
}, {
|
|
1591
|
+
readonly type: "function";
|
|
1592
|
+
readonly inputs: readonly [{
|
|
1593
|
+
readonly name: "accounts";
|
|
1594
|
+
readonly internalType: "address[]";
|
|
1595
|
+
readonly type: "address[]";
|
|
1521
1596
|
}];
|
|
1597
|
+
readonly name: "addOwners";
|
|
1598
|
+
readonly outputs: readonly [];
|
|
1522
1599
|
readonly stateMutability: "nonpayable";
|
|
1523
1600
|
}, {
|
|
1524
1601
|
readonly type: "function";
|
|
1525
1602
|
readonly inputs: readonly [];
|
|
1526
|
-
readonly name: "
|
|
1603
|
+
readonly name: "airlock";
|
|
1527
1604
|
readonly outputs: readonly [{
|
|
1528
1605
|
readonly name: "";
|
|
1529
|
-
readonly internalType: "
|
|
1530
|
-
readonly type: "
|
|
1606
|
+
readonly internalType: "address";
|
|
1607
|
+
readonly type: "address";
|
|
1531
1608
|
}];
|
|
1532
1609
|
readonly stateMutability: "view";
|
|
1533
1610
|
}, {
|
|
1534
1611
|
readonly type: "function";
|
|
1535
|
-
readonly inputs: readonly [
|
|
1536
|
-
|
|
1612
|
+
readonly inputs: readonly [{
|
|
1613
|
+
readonly name: "owner";
|
|
1614
|
+
readonly internalType: "address";
|
|
1615
|
+
readonly type: "address";
|
|
1616
|
+
}, {
|
|
1617
|
+
readonly name: "spender";
|
|
1618
|
+
readonly internalType: "address";
|
|
1619
|
+
readonly type: "address";
|
|
1620
|
+
}];
|
|
1621
|
+
readonly name: "allowance";
|
|
1537
1622
|
readonly outputs: readonly [{
|
|
1538
1623
|
readonly name: "";
|
|
1539
1624
|
readonly internalType: "uint256";
|
|
@@ -1543,47 +1628,2066 @@ export declare const iUniswapV3PoolABI: readonly [{
|
|
|
1543
1628
|
}, {
|
|
1544
1629
|
readonly type: "function";
|
|
1545
1630
|
readonly inputs: readonly [{
|
|
1546
|
-
readonly name: "
|
|
1547
|
-
readonly internalType: "
|
|
1548
|
-
readonly type: "
|
|
1631
|
+
readonly name: "spender";
|
|
1632
|
+
readonly internalType: "address";
|
|
1633
|
+
readonly type: "address";
|
|
1634
|
+
}, {
|
|
1635
|
+
readonly name: "value";
|
|
1636
|
+
readonly internalType: "uint256";
|
|
1637
|
+
readonly type: "uint256";
|
|
1638
|
+
}];
|
|
1639
|
+
readonly name: "approve";
|
|
1640
|
+
readonly outputs: readonly [{
|
|
1641
|
+
readonly name: "";
|
|
1642
|
+
readonly internalType: "bool";
|
|
1643
|
+
readonly type: "bool";
|
|
1549
1644
|
}];
|
|
1550
|
-
readonly name: "initialize";
|
|
1551
|
-
readonly outputs: readonly [];
|
|
1552
1645
|
readonly stateMutability: "nonpayable";
|
|
1553
1646
|
}, {
|
|
1554
1647
|
readonly type: "function";
|
|
1555
1648
|
readonly inputs: readonly [{
|
|
1556
|
-
readonly name: "
|
|
1649
|
+
readonly name: "account";
|
|
1557
1650
|
readonly internalType: "address";
|
|
1558
1651
|
readonly type: "address";
|
|
1559
|
-
}, {
|
|
1560
|
-
readonly name: "tickLower";
|
|
1561
|
-
readonly internalType: "int24";
|
|
1562
|
-
readonly type: "int24";
|
|
1563
|
-
}, {
|
|
1564
|
-
readonly name: "tickUpper";
|
|
1565
|
-
readonly internalType: "int24";
|
|
1566
|
-
readonly type: "int24";
|
|
1567
|
-
}, {
|
|
1568
|
-
readonly name: "amount";
|
|
1569
|
-
readonly internalType: "uint128";
|
|
1570
|
-
readonly type: "uint128";
|
|
1571
|
-
}, {
|
|
1572
|
-
readonly name: "data";
|
|
1573
|
-
readonly internalType: "bytes";
|
|
1574
|
-
readonly type: "bytes";
|
|
1575
1652
|
}];
|
|
1576
|
-
readonly name: "
|
|
1653
|
+
readonly name: "balanceOf";
|
|
1577
1654
|
readonly outputs: readonly [{
|
|
1578
|
-
readonly name: "
|
|
1579
|
-
readonly internalType: "uint256";
|
|
1580
|
-
readonly type: "uint256";
|
|
1581
|
-
}, {
|
|
1582
|
-
readonly name: "amount1";
|
|
1655
|
+
readonly name: "";
|
|
1583
1656
|
readonly internalType: "uint256";
|
|
1584
1657
|
readonly type: "uint256";
|
|
1585
1658
|
}];
|
|
1586
|
-
readonly stateMutability: "
|
|
1659
|
+
readonly stateMutability: "view";
|
|
1660
|
+
}, {
|
|
1661
|
+
readonly type: "function";
|
|
1662
|
+
readonly inputs: readonly [{
|
|
1663
|
+
readonly name: "amount";
|
|
1664
|
+
readonly internalType: "uint256";
|
|
1665
|
+
readonly type: "uint256";
|
|
1666
|
+
}];
|
|
1667
|
+
readonly name: "burn";
|
|
1668
|
+
readonly outputs: readonly [];
|
|
1669
|
+
readonly stateMutability: "nonpayable";
|
|
1670
|
+
}, {
|
|
1671
|
+
readonly type: "function";
|
|
1672
|
+
readonly inputs: readonly [];
|
|
1673
|
+
readonly name: "contractURI";
|
|
1674
|
+
readonly outputs: readonly [{
|
|
1675
|
+
readonly name: "";
|
|
1676
|
+
readonly internalType: "string";
|
|
1677
|
+
readonly type: "string";
|
|
1678
|
+
}];
|
|
1679
|
+
readonly stateMutability: "view";
|
|
1680
|
+
}, {
|
|
1681
|
+
readonly type: "function";
|
|
1682
|
+
readonly inputs: readonly [];
|
|
1683
|
+
readonly name: "contractVersion";
|
|
1684
|
+
readonly outputs: readonly [{
|
|
1685
|
+
readonly name: "";
|
|
1686
|
+
readonly internalType: "string";
|
|
1687
|
+
readonly type: "string";
|
|
1688
|
+
}];
|
|
1689
|
+
readonly stateMutability: "pure";
|
|
1690
|
+
}, {
|
|
1691
|
+
readonly type: "function";
|
|
1692
|
+
readonly inputs: readonly [];
|
|
1693
|
+
readonly name: "currency";
|
|
1694
|
+
readonly outputs: readonly [{
|
|
1695
|
+
readonly name: "";
|
|
1696
|
+
readonly internalType: "address";
|
|
1697
|
+
readonly type: "address";
|
|
1698
|
+
}];
|
|
1699
|
+
readonly stateMutability: "view";
|
|
1700
|
+
}, {
|
|
1701
|
+
readonly type: "function";
|
|
1702
|
+
readonly inputs: readonly [];
|
|
1703
|
+
readonly name: "decimals";
|
|
1704
|
+
readonly outputs: readonly [{
|
|
1705
|
+
readonly name: "";
|
|
1706
|
+
readonly internalType: "uint8";
|
|
1707
|
+
readonly type: "uint8";
|
|
1708
|
+
}];
|
|
1709
|
+
readonly stateMutability: "view";
|
|
1710
|
+
}, {
|
|
1711
|
+
readonly type: "function";
|
|
1712
|
+
readonly inputs: readonly [];
|
|
1713
|
+
readonly name: "dopplerFeeRecipient";
|
|
1714
|
+
readonly outputs: readonly [{
|
|
1715
|
+
readonly name: "";
|
|
1716
|
+
readonly internalType: "address";
|
|
1717
|
+
readonly type: "address";
|
|
1718
|
+
}];
|
|
1719
|
+
readonly stateMutability: "view";
|
|
1720
|
+
}, {
|
|
1721
|
+
readonly type: "function";
|
|
1722
|
+
readonly inputs: readonly [];
|
|
1723
|
+
readonly name: "eip712Domain";
|
|
1724
|
+
readonly outputs: readonly [{
|
|
1725
|
+
readonly name: "fields";
|
|
1726
|
+
readonly internalType: "bytes1";
|
|
1727
|
+
readonly type: "bytes1";
|
|
1728
|
+
}, {
|
|
1729
|
+
readonly name: "name";
|
|
1730
|
+
readonly internalType: "string";
|
|
1731
|
+
readonly type: "string";
|
|
1732
|
+
}, {
|
|
1733
|
+
readonly name: "version";
|
|
1734
|
+
readonly internalType: "string";
|
|
1735
|
+
readonly type: "string";
|
|
1736
|
+
}, {
|
|
1737
|
+
readonly name: "chainId";
|
|
1738
|
+
readonly internalType: "uint256";
|
|
1739
|
+
readonly type: "uint256";
|
|
1740
|
+
}, {
|
|
1741
|
+
readonly name: "verifyingContract";
|
|
1742
|
+
readonly internalType: "address";
|
|
1743
|
+
readonly type: "address";
|
|
1744
|
+
}, {
|
|
1745
|
+
readonly name: "salt";
|
|
1746
|
+
readonly internalType: "bytes32";
|
|
1747
|
+
readonly type: "bytes32";
|
|
1748
|
+
}, {
|
|
1749
|
+
readonly name: "extensions";
|
|
1750
|
+
readonly internalType: "uint256[]";
|
|
1751
|
+
readonly type: "uint256[]";
|
|
1752
|
+
}];
|
|
1753
|
+
readonly stateMutability: "view";
|
|
1754
|
+
}, {
|
|
1755
|
+
readonly type: "function";
|
|
1756
|
+
readonly inputs: readonly [{
|
|
1757
|
+
readonly name: "coinVersionLookup";
|
|
1758
|
+
readonly internalType: "contract IDeployedCoinVersionLookup";
|
|
1759
|
+
readonly type: "address";
|
|
1760
|
+
}];
|
|
1761
|
+
readonly name: "getPayoutSwapPath";
|
|
1762
|
+
readonly outputs: readonly [{
|
|
1763
|
+
readonly name: "payoutSwapPath";
|
|
1764
|
+
readonly internalType: "struct IHasSwapPath.PayoutSwapPath";
|
|
1765
|
+
readonly type: "tuple";
|
|
1766
|
+
readonly components: readonly [{
|
|
1767
|
+
readonly name: "path";
|
|
1768
|
+
readonly internalType: "struct PathKey[]";
|
|
1769
|
+
readonly type: "tuple[]";
|
|
1770
|
+
readonly components: readonly [{
|
|
1771
|
+
readonly name: "intermediateCurrency";
|
|
1772
|
+
readonly internalType: "Currency";
|
|
1773
|
+
readonly type: "address";
|
|
1774
|
+
}, {
|
|
1775
|
+
readonly name: "fee";
|
|
1776
|
+
readonly internalType: "uint24";
|
|
1777
|
+
readonly type: "uint24";
|
|
1778
|
+
}, {
|
|
1779
|
+
readonly name: "tickSpacing";
|
|
1780
|
+
readonly internalType: "int24";
|
|
1781
|
+
readonly type: "int24";
|
|
1782
|
+
}, {
|
|
1783
|
+
readonly name: "hooks";
|
|
1784
|
+
readonly internalType: "contract IHooks";
|
|
1785
|
+
readonly type: "address";
|
|
1786
|
+
}, {
|
|
1787
|
+
readonly name: "hookData";
|
|
1788
|
+
readonly internalType: "bytes";
|
|
1789
|
+
readonly type: "bytes";
|
|
1790
|
+
}];
|
|
1791
|
+
}, {
|
|
1792
|
+
readonly name: "currencyIn";
|
|
1793
|
+
readonly internalType: "Currency";
|
|
1794
|
+
readonly type: "address";
|
|
1795
|
+
}];
|
|
1796
|
+
}];
|
|
1797
|
+
readonly stateMutability: "view";
|
|
1798
|
+
}, {
|
|
1799
|
+
readonly type: "function";
|
|
1800
|
+
readonly inputs: readonly [];
|
|
1801
|
+
readonly name: "getPoolConfiguration";
|
|
1802
|
+
readonly outputs: readonly [{
|
|
1803
|
+
readonly name: "";
|
|
1804
|
+
readonly internalType: "struct PoolConfiguration";
|
|
1805
|
+
readonly type: "tuple";
|
|
1806
|
+
readonly components: readonly [{
|
|
1807
|
+
readonly name: "version";
|
|
1808
|
+
readonly internalType: "uint8";
|
|
1809
|
+
readonly type: "uint8";
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly name: "numPositions";
|
|
1812
|
+
readonly internalType: "uint16";
|
|
1813
|
+
readonly type: "uint16";
|
|
1814
|
+
}, {
|
|
1815
|
+
readonly name: "fee";
|
|
1816
|
+
readonly internalType: "uint24";
|
|
1817
|
+
readonly type: "uint24";
|
|
1818
|
+
}, {
|
|
1819
|
+
readonly name: "tickSpacing";
|
|
1820
|
+
readonly internalType: "int24";
|
|
1821
|
+
readonly type: "int24";
|
|
1822
|
+
}, {
|
|
1823
|
+
readonly name: "numDiscoveryPositions";
|
|
1824
|
+
readonly internalType: "uint16[]";
|
|
1825
|
+
readonly type: "uint16[]";
|
|
1826
|
+
}, {
|
|
1827
|
+
readonly name: "tickLower";
|
|
1828
|
+
readonly internalType: "int24[]";
|
|
1829
|
+
readonly type: "int24[]";
|
|
1830
|
+
}, {
|
|
1831
|
+
readonly name: "tickUpper";
|
|
1832
|
+
readonly internalType: "int24[]";
|
|
1833
|
+
readonly type: "int24[]";
|
|
1834
|
+
}, {
|
|
1835
|
+
readonly name: "maxDiscoverySupplyShare";
|
|
1836
|
+
readonly internalType: "uint256[]";
|
|
1837
|
+
readonly type: "uint256[]";
|
|
1838
|
+
}];
|
|
1839
|
+
}];
|
|
1840
|
+
readonly stateMutability: "view";
|
|
1841
|
+
}, {
|
|
1842
|
+
readonly type: "function";
|
|
1843
|
+
readonly inputs: readonly [];
|
|
1844
|
+
readonly name: "getPoolKey";
|
|
1845
|
+
readonly outputs: readonly [{
|
|
1846
|
+
readonly name: "";
|
|
1847
|
+
readonly internalType: "struct PoolKey";
|
|
1848
|
+
readonly type: "tuple";
|
|
1849
|
+
readonly components: readonly [{
|
|
1850
|
+
readonly name: "currency0";
|
|
1851
|
+
readonly internalType: "Currency";
|
|
1852
|
+
readonly type: "address";
|
|
1853
|
+
}, {
|
|
1854
|
+
readonly name: "currency1";
|
|
1855
|
+
readonly internalType: "Currency";
|
|
1856
|
+
readonly type: "address";
|
|
1857
|
+
}, {
|
|
1858
|
+
readonly name: "fee";
|
|
1859
|
+
readonly internalType: "uint24";
|
|
1860
|
+
readonly type: "uint24";
|
|
1861
|
+
}, {
|
|
1862
|
+
readonly name: "tickSpacing";
|
|
1863
|
+
readonly internalType: "int24";
|
|
1864
|
+
readonly type: "int24";
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly name: "hooks";
|
|
1867
|
+
readonly internalType: "contract IHooks";
|
|
1868
|
+
readonly type: "address";
|
|
1869
|
+
}];
|
|
1870
|
+
}];
|
|
1871
|
+
readonly stateMutability: "view";
|
|
1872
|
+
}, {
|
|
1873
|
+
readonly type: "function";
|
|
1874
|
+
readonly inputs: readonly [];
|
|
1875
|
+
readonly name: "hooks";
|
|
1876
|
+
readonly outputs: readonly [{
|
|
1877
|
+
readonly name: "";
|
|
1878
|
+
readonly internalType: "contract IHooks";
|
|
1879
|
+
readonly type: "address";
|
|
1880
|
+
}];
|
|
1881
|
+
readonly stateMutability: "view";
|
|
1882
|
+
}, {
|
|
1883
|
+
readonly type: "function";
|
|
1884
|
+
readonly inputs: readonly [{
|
|
1885
|
+
readonly name: "payoutRecipient_";
|
|
1886
|
+
readonly internalType: "address";
|
|
1887
|
+
readonly type: "address";
|
|
1888
|
+
}, {
|
|
1889
|
+
readonly name: "owners_";
|
|
1890
|
+
readonly internalType: "address[]";
|
|
1891
|
+
readonly type: "address[]";
|
|
1892
|
+
}, {
|
|
1893
|
+
readonly name: "tokenURI_";
|
|
1894
|
+
readonly internalType: "string";
|
|
1895
|
+
readonly type: "string";
|
|
1896
|
+
}, {
|
|
1897
|
+
readonly name: "name_";
|
|
1898
|
+
readonly internalType: "string";
|
|
1899
|
+
readonly type: "string";
|
|
1900
|
+
}, {
|
|
1901
|
+
readonly name: "symbol_";
|
|
1902
|
+
readonly internalType: "string";
|
|
1903
|
+
readonly type: "string";
|
|
1904
|
+
}, {
|
|
1905
|
+
readonly name: "platformReferrer_";
|
|
1906
|
+
readonly internalType: "address";
|
|
1907
|
+
readonly type: "address";
|
|
1908
|
+
}, {
|
|
1909
|
+
readonly name: "currency_";
|
|
1910
|
+
readonly internalType: "address";
|
|
1911
|
+
readonly type: "address";
|
|
1912
|
+
}, {
|
|
1913
|
+
readonly name: "poolKey_";
|
|
1914
|
+
readonly internalType: "struct PoolKey";
|
|
1915
|
+
readonly type: "tuple";
|
|
1916
|
+
readonly components: readonly [{
|
|
1917
|
+
readonly name: "currency0";
|
|
1918
|
+
readonly internalType: "Currency";
|
|
1919
|
+
readonly type: "address";
|
|
1920
|
+
}, {
|
|
1921
|
+
readonly name: "currency1";
|
|
1922
|
+
readonly internalType: "Currency";
|
|
1923
|
+
readonly type: "address";
|
|
1924
|
+
}, {
|
|
1925
|
+
readonly name: "fee";
|
|
1926
|
+
readonly internalType: "uint24";
|
|
1927
|
+
readonly type: "uint24";
|
|
1928
|
+
}, {
|
|
1929
|
+
readonly name: "tickSpacing";
|
|
1930
|
+
readonly internalType: "int24";
|
|
1931
|
+
readonly type: "int24";
|
|
1932
|
+
}, {
|
|
1933
|
+
readonly name: "hooks";
|
|
1934
|
+
readonly internalType: "contract IHooks";
|
|
1935
|
+
readonly type: "address";
|
|
1936
|
+
}];
|
|
1937
|
+
}, {
|
|
1938
|
+
readonly name: "sqrtPriceX96";
|
|
1939
|
+
readonly internalType: "uint160";
|
|
1940
|
+
readonly type: "uint160";
|
|
1941
|
+
}, {
|
|
1942
|
+
readonly name: "poolConfiguration_";
|
|
1943
|
+
readonly internalType: "struct PoolConfiguration";
|
|
1944
|
+
readonly type: "tuple";
|
|
1945
|
+
readonly components: readonly [{
|
|
1946
|
+
readonly name: "version";
|
|
1947
|
+
readonly internalType: "uint8";
|
|
1948
|
+
readonly type: "uint8";
|
|
1949
|
+
}, {
|
|
1950
|
+
readonly name: "numPositions";
|
|
1951
|
+
readonly internalType: "uint16";
|
|
1952
|
+
readonly type: "uint16";
|
|
1953
|
+
}, {
|
|
1954
|
+
readonly name: "fee";
|
|
1955
|
+
readonly internalType: "uint24";
|
|
1956
|
+
readonly type: "uint24";
|
|
1957
|
+
}, {
|
|
1958
|
+
readonly name: "tickSpacing";
|
|
1959
|
+
readonly internalType: "int24";
|
|
1960
|
+
readonly type: "int24";
|
|
1961
|
+
}, {
|
|
1962
|
+
readonly name: "numDiscoveryPositions";
|
|
1963
|
+
readonly internalType: "uint16[]";
|
|
1964
|
+
readonly type: "uint16[]";
|
|
1965
|
+
}, {
|
|
1966
|
+
readonly name: "tickLower";
|
|
1967
|
+
readonly internalType: "int24[]";
|
|
1968
|
+
readonly type: "int24[]";
|
|
1969
|
+
}, {
|
|
1970
|
+
readonly name: "tickUpper";
|
|
1971
|
+
readonly internalType: "int24[]";
|
|
1972
|
+
readonly type: "int24[]";
|
|
1973
|
+
}, {
|
|
1974
|
+
readonly name: "maxDiscoverySupplyShare";
|
|
1975
|
+
readonly internalType: "uint256[]";
|
|
1976
|
+
readonly type: "uint256[]";
|
|
1977
|
+
}];
|
|
1978
|
+
}];
|
|
1979
|
+
readonly name: "initialize";
|
|
1980
|
+
readonly outputs: readonly [];
|
|
1981
|
+
readonly stateMutability: "nonpayable";
|
|
1982
|
+
}, {
|
|
1983
|
+
readonly type: "function";
|
|
1984
|
+
readonly inputs: readonly [{
|
|
1985
|
+
readonly name: "account";
|
|
1986
|
+
readonly internalType: "address";
|
|
1987
|
+
readonly type: "address";
|
|
1988
|
+
}];
|
|
1989
|
+
readonly name: "isOwner";
|
|
1990
|
+
readonly outputs: readonly [{
|
|
1991
|
+
readonly name: "";
|
|
1992
|
+
readonly internalType: "bool";
|
|
1993
|
+
readonly type: "bool";
|
|
1994
|
+
}];
|
|
1995
|
+
readonly stateMutability: "view";
|
|
1996
|
+
}, {
|
|
1997
|
+
readonly type: "function";
|
|
1998
|
+
readonly inputs: readonly [];
|
|
1999
|
+
readonly name: "name";
|
|
2000
|
+
readonly outputs: readonly [{
|
|
2001
|
+
readonly name: "";
|
|
2002
|
+
readonly internalType: "string";
|
|
2003
|
+
readonly type: "string";
|
|
2004
|
+
}];
|
|
2005
|
+
readonly stateMutability: "view";
|
|
2006
|
+
}, {
|
|
2007
|
+
readonly type: "function";
|
|
2008
|
+
readonly inputs: readonly [{
|
|
2009
|
+
readonly name: "owner";
|
|
2010
|
+
readonly internalType: "address";
|
|
2011
|
+
readonly type: "address";
|
|
2012
|
+
}];
|
|
2013
|
+
readonly name: "nonces";
|
|
2014
|
+
readonly outputs: readonly [{
|
|
2015
|
+
readonly name: "";
|
|
2016
|
+
readonly internalType: "uint256";
|
|
2017
|
+
readonly type: "uint256";
|
|
2018
|
+
}];
|
|
2019
|
+
readonly stateMutability: "view";
|
|
2020
|
+
}, {
|
|
2021
|
+
readonly type: "function";
|
|
2022
|
+
readonly inputs: readonly [];
|
|
2023
|
+
readonly name: "owners";
|
|
2024
|
+
readonly outputs: readonly [{
|
|
2025
|
+
readonly name: "";
|
|
2026
|
+
readonly internalType: "address[]";
|
|
2027
|
+
readonly type: "address[]";
|
|
2028
|
+
}];
|
|
2029
|
+
readonly stateMutability: "view";
|
|
2030
|
+
}, {
|
|
2031
|
+
readonly type: "function";
|
|
2032
|
+
readonly inputs: readonly [];
|
|
2033
|
+
readonly name: "payoutRecipient";
|
|
2034
|
+
readonly outputs: readonly [{
|
|
2035
|
+
readonly name: "";
|
|
2036
|
+
readonly internalType: "address";
|
|
2037
|
+
readonly type: "address";
|
|
2038
|
+
}];
|
|
2039
|
+
readonly stateMutability: "view";
|
|
2040
|
+
}, {
|
|
2041
|
+
readonly type: "function";
|
|
2042
|
+
readonly inputs: readonly [{
|
|
2043
|
+
readonly name: "owner";
|
|
2044
|
+
readonly internalType: "address";
|
|
2045
|
+
readonly type: "address";
|
|
2046
|
+
}, {
|
|
2047
|
+
readonly name: "spender";
|
|
2048
|
+
readonly internalType: "address";
|
|
2049
|
+
readonly type: "address";
|
|
2050
|
+
}, {
|
|
2051
|
+
readonly name: "value";
|
|
2052
|
+
readonly internalType: "uint256";
|
|
2053
|
+
readonly type: "uint256";
|
|
2054
|
+
}, {
|
|
2055
|
+
readonly name: "deadline";
|
|
2056
|
+
readonly internalType: "uint256";
|
|
2057
|
+
readonly type: "uint256";
|
|
2058
|
+
}, {
|
|
2059
|
+
readonly name: "v";
|
|
2060
|
+
readonly internalType: "uint8";
|
|
2061
|
+
readonly type: "uint8";
|
|
2062
|
+
}, {
|
|
2063
|
+
readonly name: "r";
|
|
2064
|
+
readonly internalType: "bytes32";
|
|
2065
|
+
readonly type: "bytes32";
|
|
2066
|
+
}, {
|
|
2067
|
+
readonly name: "s";
|
|
2068
|
+
readonly internalType: "bytes32";
|
|
2069
|
+
readonly type: "bytes32";
|
|
2070
|
+
}];
|
|
2071
|
+
readonly name: "permit";
|
|
2072
|
+
readonly outputs: readonly [];
|
|
2073
|
+
readonly stateMutability: "nonpayable";
|
|
2074
|
+
}, {
|
|
2075
|
+
readonly type: "function";
|
|
2076
|
+
readonly inputs: readonly [];
|
|
2077
|
+
readonly name: "platformReferrer";
|
|
2078
|
+
readonly outputs: readonly [{
|
|
2079
|
+
readonly name: "";
|
|
2080
|
+
readonly internalType: "address";
|
|
2081
|
+
readonly type: "address";
|
|
2082
|
+
}];
|
|
2083
|
+
readonly stateMutability: "view";
|
|
2084
|
+
}, {
|
|
2085
|
+
readonly type: "function";
|
|
2086
|
+
readonly inputs: readonly [];
|
|
2087
|
+
readonly name: "poolManager";
|
|
2088
|
+
readonly outputs: readonly [{
|
|
2089
|
+
readonly name: "";
|
|
2090
|
+
readonly internalType: "contract IPoolManager";
|
|
2091
|
+
readonly type: "address";
|
|
2092
|
+
}];
|
|
2093
|
+
readonly stateMutability: "view";
|
|
2094
|
+
}, {
|
|
2095
|
+
readonly type: "function";
|
|
2096
|
+
readonly inputs: readonly [];
|
|
2097
|
+
readonly name: "protocolRewardRecipient";
|
|
2098
|
+
readonly outputs: readonly [{
|
|
2099
|
+
readonly name: "";
|
|
2100
|
+
readonly internalType: "address";
|
|
2101
|
+
readonly type: "address";
|
|
2102
|
+
}];
|
|
2103
|
+
readonly stateMutability: "view";
|
|
2104
|
+
}, {
|
|
2105
|
+
readonly type: "function";
|
|
2106
|
+
readonly inputs: readonly [];
|
|
2107
|
+
readonly name: "protocolRewards";
|
|
2108
|
+
readonly outputs: readonly [{
|
|
2109
|
+
readonly name: "";
|
|
2110
|
+
readonly internalType: "address";
|
|
2111
|
+
readonly type: "address";
|
|
2112
|
+
}];
|
|
2113
|
+
readonly stateMutability: "view";
|
|
2114
|
+
}, {
|
|
2115
|
+
readonly type: "function";
|
|
2116
|
+
readonly inputs: readonly [{
|
|
2117
|
+
readonly name: "account";
|
|
2118
|
+
readonly internalType: "address";
|
|
2119
|
+
readonly type: "address";
|
|
2120
|
+
}];
|
|
2121
|
+
readonly name: "removeOwner";
|
|
2122
|
+
readonly outputs: readonly [];
|
|
2123
|
+
readonly stateMutability: "nonpayable";
|
|
2124
|
+
}, {
|
|
2125
|
+
readonly type: "function";
|
|
2126
|
+
readonly inputs: readonly [{
|
|
2127
|
+
readonly name: "accounts";
|
|
2128
|
+
readonly internalType: "address[]";
|
|
2129
|
+
readonly type: "address[]";
|
|
2130
|
+
}];
|
|
2131
|
+
readonly name: "removeOwners";
|
|
2132
|
+
readonly outputs: readonly [];
|
|
2133
|
+
readonly stateMutability: "nonpayable";
|
|
2134
|
+
}, {
|
|
2135
|
+
readonly type: "function";
|
|
2136
|
+
readonly inputs: readonly [];
|
|
2137
|
+
readonly name: "revokeOwnership";
|
|
2138
|
+
readonly outputs: readonly [];
|
|
2139
|
+
readonly stateMutability: "nonpayable";
|
|
2140
|
+
}, {
|
|
2141
|
+
readonly type: "function";
|
|
2142
|
+
readonly inputs: readonly [{
|
|
2143
|
+
readonly name: "newURI";
|
|
2144
|
+
readonly internalType: "string";
|
|
2145
|
+
readonly type: "string";
|
|
2146
|
+
}];
|
|
2147
|
+
readonly name: "setContractURI";
|
|
2148
|
+
readonly outputs: readonly [];
|
|
2149
|
+
readonly stateMutability: "nonpayable";
|
|
2150
|
+
}, {
|
|
2151
|
+
readonly type: "function";
|
|
2152
|
+
readonly inputs: readonly [{
|
|
2153
|
+
readonly name: "newPayoutRecipient";
|
|
2154
|
+
readonly internalType: "address";
|
|
2155
|
+
readonly type: "address";
|
|
2156
|
+
}];
|
|
2157
|
+
readonly name: "setPayoutRecipient";
|
|
2158
|
+
readonly outputs: readonly [];
|
|
2159
|
+
readonly stateMutability: "nonpayable";
|
|
2160
|
+
}, {
|
|
2161
|
+
readonly type: "function";
|
|
2162
|
+
readonly inputs: readonly [{
|
|
2163
|
+
readonly name: "interfaceId";
|
|
2164
|
+
readonly internalType: "bytes4";
|
|
2165
|
+
readonly type: "bytes4";
|
|
2166
|
+
}];
|
|
2167
|
+
readonly name: "supportsInterface";
|
|
2168
|
+
readonly outputs: readonly [{
|
|
2169
|
+
readonly name: "";
|
|
2170
|
+
readonly internalType: "bool";
|
|
2171
|
+
readonly type: "bool";
|
|
2172
|
+
}];
|
|
2173
|
+
readonly stateMutability: "pure";
|
|
2174
|
+
}, {
|
|
2175
|
+
readonly type: "function";
|
|
2176
|
+
readonly inputs: readonly [];
|
|
2177
|
+
readonly name: "symbol";
|
|
2178
|
+
readonly outputs: readonly [{
|
|
2179
|
+
readonly name: "";
|
|
2180
|
+
readonly internalType: "string";
|
|
2181
|
+
readonly type: "string";
|
|
2182
|
+
}];
|
|
2183
|
+
readonly stateMutability: "view";
|
|
2184
|
+
}, {
|
|
2185
|
+
readonly type: "function";
|
|
2186
|
+
readonly inputs: readonly [];
|
|
2187
|
+
readonly name: "tokenURI";
|
|
2188
|
+
readonly outputs: readonly [{
|
|
2189
|
+
readonly name: "";
|
|
2190
|
+
readonly internalType: "string";
|
|
2191
|
+
readonly type: "string";
|
|
2192
|
+
}];
|
|
2193
|
+
readonly stateMutability: "view";
|
|
2194
|
+
}, {
|
|
2195
|
+
readonly type: "function";
|
|
2196
|
+
readonly inputs: readonly [];
|
|
2197
|
+
readonly name: "totalSupply";
|
|
2198
|
+
readonly outputs: readonly [{
|
|
2199
|
+
readonly name: "";
|
|
2200
|
+
readonly internalType: "uint256";
|
|
2201
|
+
readonly type: "uint256";
|
|
2202
|
+
}];
|
|
2203
|
+
readonly stateMutability: "view";
|
|
2204
|
+
}, {
|
|
2205
|
+
readonly type: "function";
|
|
2206
|
+
readonly inputs: readonly [{
|
|
2207
|
+
readonly name: "to";
|
|
2208
|
+
readonly internalType: "address";
|
|
2209
|
+
readonly type: "address";
|
|
2210
|
+
}, {
|
|
2211
|
+
readonly name: "value";
|
|
2212
|
+
readonly internalType: "uint256";
|
|
2213
|
+
readonly type: "uint256";
|
|
2214
|
+
}];
|
|
2215
|
+
readonly name: "transfer";
|
|
2216
|
+
readonly outputs: readonly [{
|
|
2217
|
+
readonly name: "";
|
|
2218
|
+
readonly internalType: "bool";
|
|
2219
|
+
readonly type: "bool";
|
|
2220
|
+
}];
|
|
2221
|
+
readonly stateMutability: "nonpayable";
|
|
2222
|
+
}, {
|
|
2223
|
+
readonly type: "function";
|
|
2224
|
+
readonly inputs: readonly [{
|
|
2225
|
+
readonly name: "from";
|
|
2226
|
+
readonly internalType: "address";
|
|
2227
|
+
readonly type: "address";
|
|
2228
|
+
}, {
|
|
2229
|
+
readonly name: "to";
|
|
2230
|
+
readonly internalType: "address";
|
|
2231
|
+
readonly type: "address";
|
|
2232
|
+
}, {
|
|
2233
|
+
readonly name: "value";
|
|
2234
|
+
readonly internalType: "uint256";
|
|
2235
|
+
readonly type: "uint256";
|
|
2236
|
+
}];
|
|
2237
|
+
readonly name: "transferFrom";
|
|
2238
|
+
readonly outputs: readonly [{
|
|
2239
|
+
readonly name: "";
|
|
2240
|
+
readonly internalType: "bool";
|
|
2241
|
+
readonly type: "bool";
|
|
2242
|
+
}];
|
|
2243
|
+
readonly stateMutability: "nonpayable";
|
|
2244
|
+
}, {
|
|
2245
|
+
readonly type: "event";
|
|
2246
|
+
readonly anonymous: false;
|
|
2247
|
+
readonly inputs: readonly [{
|
|
2248
|
+
readonly name: "owner";
|
|
2249
|
+
readonly internalType: "address";
|
|
2250
|
+
readonly type: "address";
|
|
2251
|
+
readonly indexed: true;
|
|
2252
|
+
}, {
|
|
2253
|
+
readonly name: "spender";
|
|
2254
|
+
readonly internalType: "address";
|
|
2255
|
+
readonly type: "address";
|
|
2256
|
+
readonly indexed: true;
|
|
2257
|
+
}, {
|
|
2258
|
+
readonly name: "value";
|
|
2259
|
+
readonly internalType: "uint256";
|
|
2260
|
+
readonly type: "uint256";
|
|
2261
|
+
readonly indexed: false;
|
|
2262
|
+
}];
|
|
2263
|
+
readonly name: "Approval";
|
|
2264
|
+
}, {
|
|
2265
|
+
readonly type: "event";
|
|
2266
|
+
readonly anonymous: false;
|
|
2267
|
+
readonly inputs: readonly [{
|
|
2268
|
+
readonly name: "buyer";
|
|
2269
|
+
readonly internalType: "address";
|
|
2270
|
+
readonly type: "address";
|
|
2271
|
+
readonly indexed: true;
|
|
2272
|
+
}, {
|
|
2273
|
+
readonly name: "recipient";
|
|
2274
|
+
readonly internalType: "address";
|
|
2275
|
+
readonly type: "address";
|
|
2276
|
+
readonly indexed: true;
|
|
2277
|
+
}, {
|
|
2278
|
+
readonly name: "tradeReferrer";
|
|
2279
|
+
readonly internalType: "address";
|
|
2280
|
+
readonly type: "address";
|
|
2281
|
+
readonly indexed: true;
|
|
2282
|
+
}, {
|
|
2283
|
+
readonly name: "coinsPurchased";
|
|
2284
|
+
readonly internalType: "uint256";
|
|
2285
|
+
readonly type: "uint256";
|
|
2286
|
+
readonly indexed: false;
|
|
2287
|
+
}, {
|
|
2288
|
+
readonly name: "currency";
|
|
2289
|
+
readonly internalType: "address";
|
|
2290
|
+
readonly type: "address";
|
|
2291
|
+
readonly indexed: false;
|
|
2292
|
+
}, {
|
|
2293
|
+
readonly name: "amountFee";
|
|
2294
|
+
readonly internalType: "uint256";
|
|
2295
|
+
readonly type: "uint256";
|
|
2296
|
+
readonly indexed: false;
|
|
2297
|
+
}, {
|
|
2298
|
+
readonly name: "amountSold";
|
|
2299
|
+
readonly internalType: "uint256";
|
|
2300
|
+
readonly type: "uint256";
|
|
2301
|
+
readonly indexed: false;
|
|
2302
|
+
}];
|
|
2303
|
+
readonly name: "CoinBuy";
|
|
2304
|
+
}, {
|
|
2305
|
+
readonly type: "event";
|
|
2306
|
+
readonly anonymous: false;
|
|
2307
|
+
readonly inputs: readonly [{
|
|
2308
|
+
readonly name: "payoutRecipient";
|
|
2309
|
+
readonly internalType: "address";
|
|
2310
|
+
readonly type: "address";
|
|
2311
|
+
readonly indexed: true;
|
|
2312
|
+
}, {
|
|
2313
|
+
readonly name: "platformReferrer";
|
|
2314
|
+
readonly internalType: "address";
|
|
2315
|
+
readonly type: "address";
|
|
2316
|
+
readonly indexed: true;
|
|
2317
|
+
}, {
|
|
2318
|
+
readonly name: "protocolRewardRecipient";
|
|
2319
|
+
readonly internalType: "address";
|
|
2320
|
+
readonly type: "address";
|
|
2321
|
+
readonly indexed: false;
|
|
2322
|
+
}, {
|
|
2323
|
+
readonly name: "currency";
|
|
2324
|
+
readonly internalType: "address";
|
|
2325
|
+
readonly type: "address";
|
|
2326
|
+
readonly indexed: false;
|
|
2327
|
+
}, {
|
|
2328
|
+
readonly name: "marketRewards";
|
|
2329
|
+
readonly internalType: "struct ICoin.MarketRewards";
|
|
2330
|
+
readonly type: "tuple";
|
|
2331
|
+
readonly components: readonly [{
|
|
2332
|
+
readonly name: "totalAmountCurrency";
|
|
2333
|
+
readonly internalType: "uint256";
|
|
2334
|
+
readonly type: "uint256";
|
|
2335
|
+
}, {
|
|
2336
|
+
readonly name: "totalAmountCoin";
|
|
2337
|
+
readonly internalType: "uint256";
|
|
2338
|
+
readonly type: "uint256";
|
|
2339
|
+
}, {
|
|
2340
|
+
readonly name: "creatorPayoutAmountCurrency";
|
|
2341
|
+
readonly internalType: "uint256";
|
|
2342
|
+
readonly type: "uint256";
|
|
2343
|
+
}, {
|
|
2344
|
+
readonly name: "creatorPayoutAmountCoin";
|
|
2345
|
+
readonly internalType: "uint256";
|
|
2346
|
+
readonly type: "uint256";
|
|
2347
|
+
}, {
|
|
2348
|
+
readonly name: "platformReferrerAmountCurrency";
|
|
2349
|
+
readonly internalType: "uint256";
|
|
2350
|
+
readonly type: "uint256";
|
|
2351
|
+
}, {
|
|
2352
|
+
readonly name: "platformReferrerAmountCoin";
|
|
2353
|
+
readonly internalType: "uint256";
|
|
2354
|
+
readonly type: "uint256";
|
|
2355
|
+
}, {
|
|
2356
|
+
readonly name: "protocolAmountCurrency";
|
|
2357
|
+
readonly internalType: "uint256";
|
|
2358
|
+
readonly type: "uint256";
|
|
2359
|
+
}, {
|
|
2360
|
+
readonly name: "protocolAmountCoin";
|
|
2361
|
+
readonly internalType: "uint256";
|
|
2362
|
+
readonly type: "uint256";
|
|
2363
|
+
}];
|
|
2364
|
+
readonly indexed: false;
|
|
2365
|
+
}];
|
|
2366
|
+
readonly name: "CoinMarketRewards";
|
|
2367
|
+
}, {
|
|
2368
|
+
readonly type: "event";
|
|
2369
|
+
readonly anonymous: false;
|
|
2370
|
+
readonly inputs: readonly [{
|
|
2371
|
+
readonly name: "caller";
|
|
2372
|
+
readonly internalType: "address";
|
|
2373
|
+
readonly type: "address";
|
|
2374
|
+
readonly indexed: true;
|
|
2375
|
+
}, {
|
|
2376
|
+
readonly name: "prevRecipient";
|
|
2377
|
+
readonly internalType: "address";
|
|
2378
|
+
readonly type: "address";
|
|
2379
|
+
readonly indexed: true;
|
|
2380
|
+
}, {
|
|
2381
|
+
readonly name: "newRecipient";
|
|
2382
|
+
readonly internalType: "address";
|
|
2383
|
+
readonly type: "address";
|
|
2384
|
+
readonly indexed: true;
|
|
2385
|
+
}];
|
|
2386
|
+
readonly name: "CoinPayoutRecipientUpdated";
|
|
2387
|
+
}, {
|
|
2388
|
+
readonly type: "event";
|
|
2389
|
+
readonly anonymous: false;
|
|
2390
|
+
readonly inputs: readonly [{
|
|
2391
|
+
readonly name: "seller";
|
|
2392
|
+
readonly internalType: "address";
|
|
2393
|
+
readonly type: "address";
|
|
2394
|
+
readonly indexed: true;
|
|
2395
|
+
}, {
|
|
2396
|
+
readonly name: "recipient";
|
|
2397
|
+
readonly internalType: "address";
|
|
2398
|
+
readonly type: "address";
|
|
2399
|
+
readonly indexed: true;
|
|
2400
|
+
}, {
|
|
2401
|
+
readonly name: "tradeReferrer";
|
|
2402
|
+
readonly internalType: "address";
|
|
2403
|
+
readonly type: "address";
|
|
2404
|
+
readonly indexed: true;
|
|
2405
|
+
}, {
|
|
2406
|
+
readonly name: "coinsSold";
|
|
2407
|
+
readonly internalType: "uint256";
|
|
2408
|
+
readonly type: "uint256";
|
|
2409
|
+
readonly indexed: false;
|
|
2410
|
+
}, {
|
|
2411
|
+
readonly name: "currency";
|
|
2412
|
+
readonly internalType: "address";
|
|
2413
|
+
readonly type: "address";
|
|
2414
|
+
readonly indexed: false;
|
|
2415
|
+
}, {
|
|
2416
|
+
readonly name: "amountFee";
|
|
2417
|
+
readonly internalType: "uint256";
|
|
2418
|
+
readonly type: "uint256";
|
|
2419
|
+
readonly indexed: false;
|
|
2420
|
+
}, {
|
|
2421
|
+
readonly name: "amountPurchased";
|
|
2422
|
+
readonly internalType: "uint256";
|
|
2423
|
+
readonly type: "uint256";
|
|
2424
|
+
readonly indexed: false;
|
|
2425
|
+
}];
|
|
2426
|
+
readonly name: "CoinSell";
|
|
2427
|
+
}, {
|
|
2428
|
+
readonly type: "event";
|
|
2429
|
+
readonly anonymous: false;
|
|
2430
|
+
readonly inputs: readonly [{
|
|
2431
|
+
readonly name: "payoutRecipient";
|
|
2432
|
+
readonly internalType: "address";
|
|
2433
|
+
readonly type: "address";
|
|
2434
|
+
readonly indexed: true;
|
|
2435
|
+
}, {
|
|
2436
|
+
readonly name: "platformReferrer";
|
|
2437
|
+
readonly internalType: "address";
|
|
2438
|
+
readonly type: "address";
|
|
2439
|
+
readonly indexed: true;
|
|
2440
|
+
}, {
|
|
2441
|
+
readonly name: "tradeReferrer";
|
|
2442
|
+
readonly internalType: "address";
|
|
2443
|
+
readonly type: "address";
|
|
2444
|
+
readonly indexed: true;
|
|
2445
|
+
}, {
|
|
2446
|
+
readonly name: "protocolRewardRecipient";
|
|
2447
|
+
readonly internalType: "address";
|
|
2448
|
+
readonly type: "address";
|
|
2449
|
+
readonly indexed: false;
|
|
2450
|
+
}, {
|
|
2451
|
+
readonly name: "creatorReward";
|
|
2452
|
+
readonly internalType: "uint256";
|
|
2453
|
+
readonly type: "uint256";
|
|
2454
|
+
readonly indexed: false;
|
|
2455
|
+
}, {
|
|
2456
|
+
readonly name: "platformReferrerReward";
|
|
2457
|
+
readonly internalType: "uint256";
|
|
2458
|
+
readonly type: "uint256";
|
|
2459
|
+
readonly indexed: false;
|
|
2460
|
+
}, {
|
|
2461
|
+
readonly name: "traderReferrerReward";
|
|
2462
|
+
readonly internalType: "uint256";
|
|
2463
|
+
readonly type: "uint256";
|
|
2464
|
+
readonly indexed: false;
|
|
2465
|
+
}, {
|
|
2466
|
+
readonly name: "protocolReward";
|
|
2467
|
+
readonly internalType: "uint256";
|
|
2468
|
+
readonly type: "uint256";
|
|
2469
|
+
readonly indexed: false;
|
|
2470
|
+
}, {
|
|
2471
|
+
readonly name: "currency";
|
|
2472
|
+
readonly internalType: "address";
|
|
2473
|
+
readonly type: "address";
|
|
2474
|
+
readonly indexed: false;
|
|
2475
|
+
}];
|
|
2476
|
+
readonly name: "CoinTradeRewards";
|
|
2477
|
+
}, {
|
|
2478
|
+
readonly type: "event";
|
|
2479
|
+
readonly anonymous: false;
|
|
2480
|
+
readonly inputs: readonly [{
|
|
2481
|
+
readonly name: "sender";
|
|
2482
|
+
readonly internalType: "address";
|
|
2483
|
+
readonly type: "address";
|
|
2484
|
+
readonly indexed: true;
|
|
2485
|
+
}, {
|
|
2486
|
+
readonly name: "recipient";
|
|
2487
|
+
readonly internalType: "address";
|
|
2488
|
+
readonly type: "address";
|
|
2489
|
+
readonly indexed: true;
|
|
2490
|
+
}, {
|
|
2491
|
+
readonly name: "amount";
|
|
2492
|
+
readonly internalType: "uint256";
|
|
2493
|
+
readonly type: "uint256";
|
|
2494
|
+
readonly indexed: false;
|
|
2495
|
+
}, {
|
|
2496
|
+
readonly name: "senderBalance";
|
|
2497
|
+
readonly internalType: "uint256";
|
|
2498
|
+
readonly type: "uint256";
|
|
2499
|
+
readonly indexed: false;
|
|
2500
|
+
}, {
|
|
2501
|
+
readonly name: "recipientBalance";
|
|
2502
|
+
readonly internalType: "uint256";
|
|
2503
|
+
readonly type: "uint256";
|
|
2504
|
+
readonly indexed: false;
|
|
2505
|
+
}];
|
|
2506
|
+
readonly name: "CoinTransfer";
|
|
2507
|
+
}, {
|
|
2508
|
+
readonly type: "event";
|
|
2509
|
+
readonly anonymous: false;
|
|
2510
|
+
readonly inputs: readonly [{
|
|
2511
|
+
readonly name: "caller";
|
|
2512
|
+
readonly internalType: "address";
|
|
2513
|
+
readonly type: "address";
|
|
2514
|
+
readonly indexed: true;
|
|
2515
|
+
}, {
|
|
2516
|
+
readonly name: "newURI";
|
|
2517
|
+
readonly internalType: "string";
|
|
2518
|
+
readonly type: "string";
|
|
2519
|
+
readonly indexed: false;
|
|
2520
|
+
}, {
|
|
2521
|
+
readonly name: "name";
|
|
2522
|
+
readonly internalType: "string";
|
|
2523
|
+
readonly type: "string";
|
|
2524
|
+
readonly indexed: false;
|
|
2525
|
+
}];
|
|
2526
|
+
readonly name: "ContractMetadataUpdated";
|
|
2527
|
+
}, {
|
|
2528
|
+
readonly type: "event";
|
|
2529
|
+
readonly anonymous: false;
|
|
2530
|
+
readonly inputs: readonly [];
|
|
2531
|
+
readonly name: "ContractURIUpdated";
|
|
2532
|
+
}, {
|
|
2533
|
+
readonly type: "event";
|
|
2534
|
+
readonly anonymous: false;
|
|
2535
|
+
readonly inputs: readonly [];
|
|
2536
|
+
readonly name: "EIP712DomainChanged";
|
|
2537
|
+
}, {
|
|
2538
|
+
readonly type: "event";
|
|
2539
|
+
readonly anonymous: false;
|
|
2540
|
+
readonly inputs: readonly [{
|
|
2541
|
+
readonly name: "version";
|
|
2542
|
+
readonly internalType: "uint64";
|
|
2543
|
+
readonly type: "uint64";
|
|
2544
|
+
readonly indexed: false;
|
|
2545
|
+
}];
|
|
2546
|
+
readonly name: "Initialized";
|
|
2547
|
+
}, {
|
|
2548
|
+
readonly type: "event";
|
|
2549
|
+
readonly anonymous: false;
|
|
2550
|
+
readonly inputs: readonly [{
|
|
2551
|
+
readonly name: "caller";
|
|
2552
|
+
readonly internalType: "address";
|
|
2553
|
+
readonly type: "address";
|
|
2554
|
+
readonly indexed: true;
|
|
2555
|
+
}, {
|
|
2556
|
+
readonly name: "prevOwner";
|
|
2557
|
+
readonly internalType: "address";
|
|
2558
|
+
readonly type: "address";
|
|
2559
|
+
readonly indexed: true;
|
|
2560
|
+
}, {
|
|
2561
|
+
readonly name: "newOwner";
|
|
2562
|
+
readonly internalType: "address";
|
|
2563
|
+
readonly type: "address";
|
|
2564
|
+
readonly indexed: true;
|
|
2565
|
+
}];
|
|
2566
|
+
readonly name: "OwnerUpdated";
|
|
2567
|
+
}, {
|
|
2568
|
+
readonly type: "event";
|
|
2569
|
+
readonly anonymous: false;
|
|
2570
|
+
readonly inputs: readonly [{
|
|
2571
|
+
readonly name: "from";
|
|
2572
|
+
readonly internalType: "address";
|
|
2573
|
+
readonly type: "address";
|
|
2574
|
+
readonly indexed: true;
|
|
2575
|
+
}, {
|
|
2576
|
+
readonly name: "to";
|
|
2577
|
+
readonly internalType: "address";
|
|
2578
|
+
readonly type: "address";
|
|
2579
|
+
readonly indexed: true;
|
|
2580
|
+
}, {
|
|
2581
|
+
readonly name: "value";
|
|
2582
|
+
readonly internalType: "uint256";
|
|
2583
|
+
readonly type: "uint256";
|
|
2584
|
+
readonly indexed: false;
|
|
2585
|
+
}];
|
|
2586
|
+
readonly name: "Transfer";
|
|
2587
|
+
}, {
|
|
2588
|
+
readonly type: "error";
|
|
2589
|
+
readonly inputs: readonly [];
|
|
2590
|
+
readonly name: "AddressZero";
|
|
2591
|
+
}, {
|
|
2592
|
+
readonly type: "error";
|
|
2593
|
+
readonly inputs: readonly [];
|
|
2594
|
+
readonly name: "AlreadyOwner";
|
|
2595
|
+
}, {
|
|
2596
|
+
readonly type: "error";
|
|
2597
|
+
readonly inputs: readonly [];
|
|
2598
|
+
readonly name: "CannotMintZeroLiquidity";
|
|
2599
|
+
}, {
|
|
2600
|
+
readonly type: "error";
|
|
2601
|
+
readonly inputs: readonly [];
|
|
2602
|
+
readonly name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions";
|
|
2603
|
+
}, {
|
|
2604
|
+
readonly type: "error";
|
|
2605
|
+
readonly inputs: readonly [];
|
|
2606
|
+
readonly name: "ECDSAInvalidSignature";
|
|
2607
|
+
}, {
|
|
2608
|
+
readonly type: "error";
|
|
2609
|
+
readonly inputs: readonly [{
|
|
2610
|
+
readonly name: "length";
|
|
2611
|
+
readonly internalType: "uint256";
|
|
2612
|
+
readonly type: "uint256";
|
|
2613
|
+
}];
|
|
2614
|
+
readonly name: "ECDSAInvalidSignatureLength";
|
|
2615
|
+
}, {
|
|
2616
|
+
readonly type: "error";
|
|
2617
|
+
readonly inputs: readonly [{
|
|
2618
|
+
readonly name: "s";
|
|
2619
|
+
readonly internalType: "bytes32";
|
|
2620
|
+
readonly type: "bytes32";
|
|
2621
|
+
}];
|
|
2622
|
+
readonly name: "ECDSAInvalidSignatureS";
|
|
2623
|
+
}, {
|
|
2624
|
+
readonly type: "error";
|
|
2625
|
+
readonly inputs: readonly [{
|
|
2626
|
+
readonly name: "spender";
|
|
2627
|
+
readonly internalType: "address";
|
|
2628
|
+
readonly type: "address";
|
|
2629
|
+
}, {
|
|
2630
|
+
readonly name: "allowance";
|
|
2631
|
+
readonly internalType: "uint256";
|
|
2632
|
+
readonly type: "uint256";
|
|
2633
|
+
}, {
|
|
2634
|
+
readonly name: "needed";
|
|
2635
|
+
readonly internalType: "uint256";
|
|
2636
|
+
readonly type: "uint256";
|
|
2637
|
+
}];
|
|
2638
|
+
readonly name: "ERC20InsufficientAllowance";
|
|
2639
|
+
}, {
|
|
2640
|
+
readonly type: "error";
|
|
2641
|
+
readonly inputs: readonly [{
|
|
2642
|
+
readonly name: "sender";
|
|
2643
|
+
readonly internalType: "address";
|
|
2644
|
+
readonly type: "address";
|
|
2645
|
+
}, {
|
|
2646
|
+
readonly name: "balance";
|
|
2647
|
+
readonly internalType: "uint256";
|
|
2648
|
+
readonly type: "uint256";
|
|
2649
|
+
}, {
|
|
2650
|
+
readonly name: "needed";
|
|
2651
|
+
readonly internalType: "uint256";
|
|
2652
|
+
readonly type: "uint256";
|
|
2653
|
+
}];
|
|
2654
|
+
readonly name: "ERC20InsufficientBalance";
|
|
2655
|
+
}, {
|
|
2656
|
+
readonly type: "error";
|
|
2657
|
+
readonly inputs: readonly [{
|
|
2658
|
+
readonly name: "approver";
|
|
2659
|
+
readonly internalType: "address";
|
|
2660
|
+
readonly type: "address";
|
|
2661
|
+
}];
|
|
2662
|
+
readonly name: "ERC20InvalidApprover";
|
|
2663
|
+
}, {
|
|
2664
|
+
readonly type: "error";
|
|
2665
|
+
readonly inputs: readonly [{
|
|
2666
|
+
readonly name: "receiver";
|
|
2667
|
+
readonly internalType: "address";
|
|
2668
|
+
readonly type: "address";
|
|
2669
|
+
}];
|
|
2670
|
+
readonly name: "ERC20InvalidReceiver";
|
|
2671
|
+
}, {
|
|
2672
|
+
readonly type: "error";
|
|
2673
|
+
readonly inputs: readonly [{
|
|
2674
|
+
readonly name: "sender";
|
|
2675
|
+
readonly internalType: "address";
|
|
2676
|
+
readonly type: "address";
|
|
2677
|
+
}];
|
|
2678
|
+
readonly name: "ERC20InvalidSender";
|
|
2679
|
+
}, {
|
|
2680
|
+
readonly type: "error";
|
|
2681
|
+
readonly inputs: readonly [{
|
|
2682
|
+
readonly name: "spender";
|
|
2683
|
+
readonly internalType: "address";
|
|
2684
|
+
readonly type: "address";
|
|
2685
|
+
}];
|
|
2686
|
+
readonly name: "ERC20InvalidSpender";
|
|
2687
|
+
}, {
|
|
2688
|
+
readonly type: "error";
|
|
2689
|
+
readonly inputs: readonly [];
|
|
2690
|
+
readonly name: "ERC20TransferAmountMismatch";
|
|
2691
|
+
}, {
|
|
2692
|
+
readonly type: "error";
|
|
2693
|
+
readonly inputs: readonly [{
|
|
2694
|
+
readonly name: "deadline";
|
|
2695
|
+
readonly internalType: "uint256";
|
|
2696
|
+
readonly type: "uint256";
|
|
2697
|
+
}];
|
|
2698
|
+
readonly name: "ERC2612ExpiredSignature";
|
|
2699
|
+
}, {
|
|
2700
|
+
readonly type: "error";
|
|
2701
|
+
readonly inputs: readonly [{
|
|
2702
|
+
readonly name: "signer";
|
|
2703
|
+
readonly internalType: "address";
|
|
2704
|
+
readonly type: "address";
|
|
2705
|
+
}, {
|
|
2706
|
+
readonly name: "owner";
|
|
2707
|
+
readonly internalType: "address";
|
|
2708
|
+
readonly type: "address";
|
|
2709
|
+
}];
|
|
2710
|
+
readonly name: "ERC2612InvalidSigner";
|
|
2711
|
+
}, {
|
|
2712
|
+
readonly type: "error";
|
|
2713
|
+
readonly inputs: readonly [];
|
|
2714
|
+
readonly name: "EthAmountMismatch";
|
|
2715
|
+
}, {
|
|
2716
|
+
readonly type: "error";
|
|
2717
|
+
readonly inputs: readonly [];
|
|
2718
|
+
readonly name: "EthAmountTooSmall";
|
|
2719
|
+
}, {
|
|
2720
|
+
readonly type: "error";
|
|
2721
|
+
readonly inputs: readonly [];
|
|
2722
|
+
readonly name: "EthTransferFailed";
|
|
2723
|
+
}, {
|
|
2724
|
+
readonly type: "error";
|
|
2725
|
+
readonly inputs: readonly [];
|
|
2726
|
+
readonly name: "EthTransferInvalid";
|
|
2727
|
+
}, {
|
|
2728
|
+
readonly type: "error";
|
|
2729
|
+
readonly inputs: readonly [];
|
|
2730
|
+
readonly name: "InitialOrderSizeTooLarge";
|
|
2731
|
+
}, {
|
|
2732
|
+
readonly type: "error";
|
|
2733
|
+
readonly inputs: readonly [];
|
|
2734
|
+
readonly name: "InsufficientFunds";
|
|
2735
|
+
}, {
|
|
2736
|
+
readonly type: "error";
|
|
2737
|
+
readonly inputs: readonly [];
|
|
2738
|
+
readonly name: "InsufficientLiquidity";
|
|
2739
|
+
}, {
|
|
2740
|
+
readonly type: "error";
|
|
2741
|
+
readonly inputs: readonly [{
|
|
2742
|
+
readonly name: "account";
|
|
2743
|
+
readonly internalType: "address";
|
|
2744
|
+
readonly type: "address";
|
|
2745
|
+
}, {
|
|
2746
|
+
readonly name: "currentNonce";
|
|
2747
|
+
readonly internalType: "uint256";
|
|
2748
|
+
readonly type: "uint256";
|
|
2749
|
+
}];
|
|
2750
|
+
readonly name: "InvalidAccountNonce";
|
|
2751
|
+
}, {
|
|
2752
|
+
readonly type: "error";
|
|
2753
|
+
readonly inputs: readonly [];
|
|
2754
|
+
readonly name: "InvalidCurrencyLowerTick";
|
|
2755
|
+
}, {
|
|
2756
|
+
readonly type: "error";
|
|
2757
|
+
readonly inputs: readonly [];
|
|
2758
|
+
readonly name: "InvalidInitialization";
|
|
2759
|
+
}, {
|
|
2760
|
+
readonly type: "error";
|
|
2761
|
+
readonly inputs: readonly [];
|
|
2762
|
+
readonly name: "InvalidMarketType";
|
|
2763
|
+
}, {
|
|
2764
|
+
readonly type: "error";
|
|
2765
|
+
readonly inputs: readonly [];
|
|
2766
|
+
readonly name: "InvalidPoolVersion";
|
|
2767
|
+
}, {
|
|
2768
|
+
readonly type: "error";
|
|
2769
|
+
readonly inputs: readonly [{
|
|
2770
|
+
readonly name: "tickLower";
|
|
2771
|
+
readonly internalType: "int24";
|
|
2772
|
+
readonly type: "int24";
|
|
2773
|
+
}, {
|
|
2774
|
+
readonly name: "tickUpper";
|
|
2775
|
+
readonly internalType: "int24";
|
|
2776
|
+
readonly type: "int24";
|
|
2777
|
+
}];
|
|
2778
|
+
readonly name: "InvalidTickRangeMisordered";
|
|
2779
|
+
}, {
|
|
2780
|
+
readonly type: "error";
|
|
2781
|
+
readonly inputs: readonly [];
|
|
2782
|
+
readonly name: "InvalidWethLowerTick";
|
|
2783
|
+
}, {
|
|
2784
|
+
readonly type: "error";
|
|
2785
|
+
readonly inputs: readonly [];
|
|
2786
|
+
readonly name: "LegacyPoolMustHaveOneDiscoveryPosition";
|
|
2787
|
+
}, {
|
|
2788
|
+
readonly type: "error";
|
|
2789
|
+
readonly inputs: readonly [];
|
|
2790
|
+
readonly name: "MarketAlreadyGraduated";
|
|
2791
|
+
}, {
|
|
2792
|
+
readonly type: "error";
|
|
2793
|
+
readonly inputs: readonly [];
|
|
2794
|
+
readonly name: "MarketNotGraduated";
|
|
2795
|
+
}, {
|
|
2796
|
+
readonly type: "error";
|
|
2797
|
+
readonly inputs: readonly [{
|
|
2798
|
+
readonly name: "value";
|
|
2799
|
+
readonly internalType: "uint256";
|
|
2800
|
+
readonly type: "uint256";
|
|
2801
|
+
}, {
|
|
2802
|
+
readonly name: "limit";
|
|
2803
|
+
readonly internalType: "uint256";
|
|
2804
|
+
readonly type: "uint256";
|
|
2805
|
+
}];
|
|
2806
|
+
readonly name: "MaxShareToBeSoldExceeded";
|
|
2807
|
+
}, {
|
|
2808
|
+
readonly type: "error";
|
|
2809
|
+
readonly inputs: readonly [];
|
|
2810
|
+
readonly name: "NotInitializing";
|
|
2811
|
+
}, {
|
|
2812
|
+
readonly type: "error";
|
|
2813
|
+
readonly inputs: readonly [];
|
|
2814
|
+
readonly name: "NotOwner";
|
|
2815
|
+
}, {
|
|
2816
|
+
readonly type: "error";
|
|
2817
|
+
readonly inputs: readonly [];
|
|
2818
|
+
readonly name: "NumDiscoveryPositionsOutOfRange";
|
|
2819
|
+
}, {
|
|
2820
|
+
readonly type: "error";
|
|
2821
|
+
readonly inputs: readonly [];
|
|
2822
|
+
readonly name: "OneOwnerRequired";
|
|
2823
|
+
}, {
|
|
2824
|
+
readonly type: "error";
|
|
2825
|
+
readonly inputs: readonly [];
|
|
2826
|
+
readonly name: "OnlyOwner";
|
|
2827
|
+
}, {
|
|
2828
|
+
readonly type: "error";
|
|
2829
|
+
readonly inputs: readonly [{
|
|
2830
|
+
readonly name: "sender";
|
|
2831
|
+
readonly internalType: "address";
|
|
2832
|
+
readonly type: "address";
|
|
2833
|
+
}, {
|
|
2834
|
+
readonly name: "pool";
|
|
2835
|
+
readonly internalType: "address";
|
|
2836
|
+
readonly type: "address";
|
|
2837
|
+
}];
|
|
2838
|
+
readonly name: "OnlyPool";
|
|
2839
|
+
}, {
|
|
2840
|
+
readonly type: "error";
|
|
2841
|
+
readonly inputs: readonly [];
|
|
2842
|
+
readonly name: "OnlyWeth";
|
|
2843
|
+
}, {
|
|
2844
|
+
readonly type: "error";
|
|
2845
|
+
readonly inputs: readonly [];
|
|
2846
|
+
readonly name: "OwnerCannotBeAddressZero";
|
|
2847
|
+
}, {
|
|
2848
|
+
readonly type: "error";
|
|
2849
|
+
readonly inputs: readonly [];
|
|
2850
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
2851
|
+
}, {
|
|
2852
|
+
readonly type: "error";
|
|
2853
|
+
readonly inputs: readonly [];
|
|
2854
|
+
readonly name: "SlippageBoundsExceeded";
|
|
2855
|
+
}, {
|
|
2856
|
+
readonly type: "error";
|
|
2857
|
+
readonly inputs: readonly [];
|
|
2858
|
+
readonly name: "UseRevokeOwnershipToRemoveSelf";
|
|
2859
|
+
}];
|
|
2860
|
+
export declare const iPermit2ABI: readonly [{
|
|
2861
|
+
readonly type: "function";
|
|
2862
|
+
readonly inputs: readonly [];
|
|
2863
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
2864
|
+
readonly outputs: readonly [{
|
|
2865
|
+
readonly name: "";
|
|
2866
|
+
readonly internalType: "bytes32";
|
|
2867
|
+
readonly type: "bytes32";
|
|
2868
|
+
}];
|
|
2869
|
+
readonly stateMutability: "view";
|
|
2870
|
+
}, {
|
|
2871
|
+
readonly type: "function";
|
|
2872
|
+
readonly inputs: readonly [{
|
|
2873
|
+
readonly name: "user";
|
|
2874
|
+
readonly internalType: "address";
|
|
2875
|
+
readonly type: "address";
|
|
2876
|
+
}, {
|
|
2877
|
+
readonly name: "token";
|
|
2878
|
+
readonly internalType: "address";
|
|
2879
|
+
readonly type: "address";
|
|
2880
|
+
}, {
|
|
2881
|
+
readonly name: "spender";
|
|
2882
|
+
readonly internalType: "address";
|
|
2883
|
+
readonly type: "address";
|
|
2884
|
+
}];
|
|
2885
|
+
readonly name: "allowance";
|
|
2886
|
+
readonly outputs: readonly [{
|
|
2887
|
+
readonly name: "amount";
|
|
2888
|
+
readonly internalType: "uint160";
|
|
2889
|
+
readonly type: "uint160";
|
|
2890
|
+
}, {
|
|
2891
|
+
readonly name: "expiration";
|
|
2892
|
+
readonly internalType: "uint48";
|
|
2893
|
+
readonly type: "uint48";
|
|
2894
|
+
}, {
|
|
2895
|
+
readonly name: "nonce";
|
|
2896
|
+
readonly internalType: "uint48";
|
|
2897
|
+
readonly type: "uint48";
|
|
2898
|
+
}];
|
|
2899
|
+
readonly stateMutability: "view";
|
|
2900
|
+
}, {
|
|
2901
|
+
readonly type: "function";
|
|
2902
|
+
readonly inputs: readonly [{
|
|
2903
|
+
readonly name: "token";
|
|
2904
|
+
readonly internalType: "address";
|
|
2905
|
+
readonly type: "address";
|
|
2906
|
+
}, {
|
|
2907
|
+
readonly name: "spender";
|
|
2908
|
+
readonly internalType: "address";
|
|
2909
|
+
readonly type: "address";
|
|
2910
|
+
}, {
|
|
2911
|
+
readonly name: "amount";
|
|
2912
|
+
readonly internalType: "uint160";
|
|
2913
|
+
readonly type: "uint160";
|
|
2914
|
+
}, {
|
|
2915
|
+
readonly name: "expiration";
|
|
2916
|
+
readonly internalType: "uint48";
|
|
2917
|
+
readonly type: "uint48";
|
|
2918
|
+
}];
|
|
2919
|
+
readonly name: "approve";
|
|
2920
|
+
readonly outputs: readonly [];
|
|
2921
|
+
readonly stateMutability: "nonpayable";
|
|
2922
|
+
}, {
|
|
2923
|
+
readonly type: "function";
|
|
2924
|
+
readonly inputs: readonly [{
|
|
2925
|
+
readonly name: "token";
|
|
2926
|
+
readonly internalType: "address";
|
|
2927
|
+
readonly type: "address";
|
|
2928
|
+
}, {
|
|
2929
|
+
readonly name: "spender";
|
|
2930
|
+
readonly internalType: "address";
|
|
2931
|
+
readonly type: "address";
|
|
2932
|
+
}, {
|
|
2933
|
+
readonly name: "newNonce";
|
|
2934
|
+
readonly internalType: "uint48";
|
|
2935
|
+
readonly type: "uint48";
|
|
2936
|
+
}];
|
|
2937
|
+
readonly name: "invalidateNonces";
|
|
2938
|
+
readonly outputs: readonly [];
|
|
2939
|
+
readonly stateMutability: "nonpayable";
|
|
2940
|
+
}, {
|
|
2941
|
+
readonly type: "function";
|
|
2942
|
+
readonly inputs: readonly [{
|
|
2943
|
+
readonly name: "wordPos";
|
|
2944
|
+
readonly internalType: "uint256";
|
|
2945
|
+
readonly type: "uint256";
|
|
2946
|
+
}, {
|
|
2947
|
+
readonly name: "mask";
|
|
2948
|
+
readonly internalType: "uint256";
|
|
2949
|
+
readonly type: "uint256";
|
|
2950
|
+
}];
|
|
2951
|
+
readonly name: "invalidateUnorderedNonces";
|
|
2952
|
+
readonly outputs: readonly [];
|
|
2953
|
+
readonly stateMutability: "nonpayable";
|
|
2954
|
+
}, {
|
|
2955
|
+
readonly type: "function";
|
|
2956
|
+
readonly inputs: readonly [{
|
|
2957
|
+
readonly name: "approvals";
|
|
2958
|
+
readonly internalType: "struct IAllowanceTransfer.TokenSpenderPair[]";
|
|
2959
|
+
readonly type: "tuple[]";
|
|
2960
|
+
readonly components: readonly [{
|
|
2961
|
+
readonly name: "token";
|
|
2962
|
+
readonly internalType: "address";
|
|
2963
|
+
readonly type: "address";
|
|
2964
|
+
}, {
|
|
2965
|
+
readonly name: "spender";
|
|
2966
|
+
readonly internalType: "address";
|
|
2967
|
+
readonly type: "address";
|
|
2968
|
+
}];
|
|
2969
|
+
}];
|
|
2970
|
+
readonly name: "lockdown";
|
|
2971
|
+
readonly outputs: readonly [];
|
|
2972
|
+
readonly stateMutability: "nonpayable";
|
|
2973
|
+
}, {
|
|
2974
|
+
readonly type: "function";
|
|
2975
|
+
readonly inputs: readonly [{
|
|
2976
|
+
readonly name: "";
|
|
2977
|
+
readonly internalType: "address";
|
|
2978
|
+
readonly type: "address";
|
|
2979
|
+
}, {
|
|
2980
|
+
readonly name: "";
|
|
2981
|
+
readonly internalType: "uint256";
|
|
2982
|
+
readonly type: "uint256";
|
|
2983
|
+
}];
|
|
2984
|
+
readonly name: "nonceBitmap";
|
|
2985
|
+
readonly outputs: readonly [{
|
|
2986
|
+
readonly name: "";
|
|
2987
|
+
readonly internalType: "uint256";
|
|
2988
|
+
readonly type: "uint256";
|
|
2989
|
+
}];
|
|
2990
|
+
readonly stateMutability: "view";
|
|
2991
|
+
}, {
|
|
2992
|
+
readonly type: "function";
|
|
2993
|
+
readonly inputs: readonly [{
|
|
2994
|
+
readonly name: "owner";
|
|
2995
|
+
readonly internalType: "address";
|
|
2996
|
+
readonly type: "address";
|
|
2997
|
+
}, {
|
|
2998
|
+
readonly name: "permitBatch";
|
|
2999
|
+
readonly internalType: "struct IAllowanceTransfer.PermitBatch";
|
|
3000
|
+
readonly type: "tuple";
|
|
3001
|
+
readonly components: readonly [{
|
|
3002
|
+
readonly name: "details";
|
|
3003
|
+
readonly internalType: "struct IAllowanceTransfer.PermitDetails[]";
|
|
3004
|
+
readonly type: "tuple[]";
|
|
3005
|
+
readonly components: readonly [{
|
|
3006
|
+
readonly name: "token";
|
|
3007
|
+
readonly internalType: "address";
|
|
3008
|
+
readonly type: "address";
|
|
3009
|
+
}, {
|
|
3010
|
+
readonly name: "amount";
|
|
3011
|
+
readonly internalType: "uint160";
|
|
3012
|
+
readonly type: "uint160";
|
|
3013
|
+
}, {
|
|
3014
|
+
readonly name: "expiration";
|
|
3015
|
+
readonly internalType: "uint48";
|
|
3016
|
+
readonly type: "uint48";
|
|
3017
|
+
}, {
|
|
3018
|
+
readonly name: "nonce";
|
|
3019
|
+
readonly internalType: "uint48";
|
|
3020
|
+
readonly type: "uint48";
|
|
3021
|
+
}];
|
|
3022
|
+
}, {
|
|
3023
|
+
readonly name: "spender";
|
|
3024
|
+
readonly internalType: "address";
|
|
3025
|
+
readonly type: "address";
|
|
3026
|
+
}, {
|
|
3027
|
+
readonly name: "sigDeadline";
|
|
3028
|
+
readonly internalType: "uint256";
|
|
3029
|
+
readonly type: "uint256";
|
|
3030
|
+
}];
|
|
3031
|
+
}, {
|
|
3032
|
+
readonly name: "signature";
|
|
3033
|
+
readonly internalType: "bytes";
|
|
3034
|
+
readonly type: "bytes";
|
|
3035
|
+
}];
|
|
3036
|
+
readonly name: "permit";
|
|
3037
|
+
readonly outputs: readonly [];
|
|
3038
|
+
readonly stateMutability: "nonpayable";
|
|
3039
|
+
}, {
|
|
3040
|
+
readonly type: "function";
|
|
3041
|
+
readonly inputs: readonly [{
|
|
3042
|
+
readonly name: "owner";
|
|
3043
|
+
readonly internalType: "address";
|
|
3044
|
+
readonly type: "address";
|
|
3045
|
+
}, {
|
|
3046
|
+
readonly name: "permitSingle";
|
|
3047
|
+
readonly internalType: "struct IAllowanceTransfer.PermitSingle";
|
|
3048
|
+
readonly type: "tuple";
|
|
3049
|
+
readonly components: readonly [{
|
|
3050
|
+
readonly name: "details";
|
|
3051
|
+
readonly internalType: "struct IAllowanceTransfer.PermitDetails";
|
|
3052
|
+
readonly type: "tuple";
|
|
3053
|
+
readonly components: readonly [{
|
|
3054
|
+
readonly name: "token";
|
|
3055
|
+
readonly internalType: "address";
|
|
3056
|
+
readonly type: "address";
|
|
3057
|
+
}, {
|
|
3058
|
+
readonly name: "amount";
|
|
3059
|
+
readonly internalType: "uint160";
|
|
3060
|
+
readonly type: "uint160";
|
|
3061
|
+
}, {
|
|
3062
|
+
readonly name: "expiration";
|
|
3063
|
+
readonly internalType: "uint48";
|
|
3064
|
+
readonly type: "uint48";
|
|
3065
|
+
}, {
|
|
3066
|
+
readonly name: "nonce";
|
|
3067
|
+
readonly internalType: "uint48";
|
|
3068
|
+
readonly type: "uint48";
|
|
3069
|
+
}];
|
|
3070
|
+
}, {
|
|
3071
|
+
readonly name: "spender";
|
|
3072
|
+
readonly internalType: "address";
|
|
3073
|
+
readonly type: "address";
|
|
3074
|
+
}, {
|
|
3075
|
+
readonly name: "sigDeadline";
|
|
3076
|
+
readonly internalType: "uint256";
|
|
3077
|
+
readonly type: "uint256";
|
|
3078
|
+
}];
|
|
3079
|
+
}, {
|
|
3080
|
+
readonly name: "signature";
|
|
3081
|
+
readonly internalType: "bytes";
|
|
3082
|
+
readonly type: "bytes";
|
|
3083
|
+
}];
|
|
3084
|
+
readonly name: "permit";
|
|
3085
|
+
readonly outputs: readonly [];
|
|
3086
|
+
readonly stateMutability: "nonpayable";
|
|
3087
|
+
}, {
|
|
3088
|
+
readonly type: "function";
|
|
3089
|
+
readonly inputs: readonly [{
|
|
3090
|
+
readonly name: "permit";
|
|
3091
|
+
readonly internalType: "struct ISignatureTransfer.PermitTransferFrom";
|
|
3092
|
+
readonly type: "tuple";
|
|
3093
|
+
readonly components: readonly [{
|
|
3094
|
+
readonly name: "permitted";
|
|
3095
|
+
readonly internalType: "struct ISignatureTransfer.TokenPermissions";
|
|
3096
|
+
readonly type: "tuple";
|
|
3097
|
+
readonly components: readonly [{
|
|
3098
|
+
readonly name: "token";
|
|
3099
|
+
readonly internalType: "address";
|
|
3100
|
+
readonly type: "address";
|
|
3101
|
+
}, {
|
|
3102
|
+
readonly name: "amount";
|
|
3103
|
+
readonly internalType: "uint256";
|
|
3104
|
+
readonly type: "uint256";
|
|
3105
|
+
}];
|
|
3106
|
+
}, {
|
|
3107
|
+
readonly name: "nonce";
|
|
3108
|
+
readonly internalType: "uint256";
|
|
3109
|
+
readonly type: "uint256";
|
|
3110
|
+
}, {
|
|
3111
|
+
readonly name: "deadline";
|
|
3112
|
+
readonly internalType: "uint256";
|
|
3113
|
+
readonly type: "uint256";
|
|
3114
|
+
}];
|
|
3115
|
+
}, {
|
|
3116
|
+
readonly name: "transferDetails";
|
|
3117
|
+
readonly internalType: "struct ISignatureTransfer.SignatureTransferDetails";
|
|
3118
|
+
readonly type: "tuple";
|
|
3119
|
+
readonly components: readonly [{
|
|
3120
|
+
readonly name: "to";
|
|
3121
|
+
readonly internalType: "address";
|
|
3122
|
+
readonly type: "address";
|
|
3123
|
+
}, {
|
|
3124
|
+
readonly name: "requestedAmount";
|
|
3125
|
+
readonly internalType: "uint256";
|
|
3126
|
+
readonly type: "uint256";
|
|
3127
|
+
}];
|
|
3128
|
+
}, {
|
|
3129
|
+
readonly name: "owner";
|
|
3130
|
+
readonly internalType: "address";
|
|
3131
|
+
readonly type: "address";
|
|
3132
|
+
}, {
|
|
3133
|
+
readonly name: "signature";
|
|
3134
|
+
readonly internalType: "bytes";
|
|
3135
|
+
readonly type: "bytes";
|
|
3136
|
+
}];
|
|
3137
|
+
readonly name: "permitTransferFrom";
|
|
3138
|
+
readonly outputs: readonly [];
|
|
3139
|
+
readonly stateMutability: "nonpayable";
|
|
3140
|
+
}, {
|
|
3141
|
+
readonly type: "function";
|
|
3142
|
+
readonly inputs: readonly [{
|
|
3143
|
+
readonly name: "permit";
|
|
3144
|
+
readonly internalType: "struct ISignatureTransfer.PermitBatchTransferFrom";
|
|
3145
|
+
readonly type: "tuple";
|
|
3146
|
+
readonly components: readonly [{
|
|
3147
|
+
readonly name: "permitted";
|
|
3148
|
+
readonly internalType: "struct ISignatureTransfer.TokenPermissions[]";
|
|
3149
|
+
readonly type: "tuple[]";
|
|
3150
|
+
readonly components: readonly [{
|
|
3151
|
+
readonly name: "token";
|
|
3152
|
+
readonly internalType: "address";
|
|
3153
|
+
readonly type: "address";
|
|
3154
|
+
}, {
|
|
3155
|
+
readonly name: "amount";
|
|
3156
|
+
readonly internalType: "uint256";
|
|
3157
|
+
readonly type: "uint256";
|
|
3158
|
+
}];
|
|
3159
|
+
}, {
|
|
3160
|
+
readonly name: "nonce";
|
|
3161
|
+
readonly internalType: "uint256";
|
|
3162
|
+
readonly type: "uint256";
|
|
3163
|
+
}, {
|
|
3164
|
+
readonly name: "deadline";
|
|
3165
|
+
readonly internalType: "uint256";
|
|
3166
|
+
readonly type: "uint256";
|
|
3167
|
+
}];
|
|
3168
|
+
}, {
|
|
3169
|
+
readonly name: "transferDetails";
|
|
3170
|
+
readonly internalType: "struct ISignatureTransfer.SignatureTransferDetails[]";
|
|
3171
|
+
readonly type: "tuple[]";
|
|
3172
|
+
readonly components: readonly [{
|
|
3173
|
+
readonly name: "to";
|
|
3174
|
+
readonly internalType: "address";
|
|
3175
|
+
readonly type: "address";
|
|
3176
|
+
}, {
|
|
3177
|
+
readonly name: "requestedAmount";
|
|
3178
|
+
readonly internalType: "uint256";
|
|
3179
|
+
readonly type: "uint256";
|
|
3180
|
+
}];
|
|
3181
|
+
}, {
|
|
3182
|
+
readonly name: "owner";
|
|
3183
|
+
readonly internalType: "address";
|
|
3184
|
+
readonly type: "address";
|
|
3185
|
+
}, {
|
|
3186
|
+
readonly name: "signature";
|
|
3187
|
+
readonly internalType: "bytes";
|
|
3188
|
+
readonly type: "bytes";
|
|
3189
|
+
}];
|
|
3190
|
+
readonly name: "permitTransferFrom";
|
|
3191
|
+
readonly outputs: readonly [];
|
|
3192
|
+
readonly stateMutability: "nonpayable";
|
|
3193
|
+
}, {
|
|
3194
|
+
readonly type: "function";
|
|
3195
|
+
readonly inputs: readonly [{
|
|
3196
|
+
readonly name: "permit";
|
|
3197
|
+
readonly internalType: "struct ISignatureTransfer.PermitTransferFrom";
|
|
3198
|
+
readonly type: "tuple";
|
|
3199
|
+
readonly components: readonly [{
|
|
3200
|
+
readonly name: "permitted";
|
|
3201
|
+
readonly internalType: "struct ISignatureTransfer.TokenPermissions";
|
|
3202
|
+
readonly type: "tuple";
|
|
3203
|
+
readonly components: readonly [{
|
|
3204
|
+
readonly name: "token";
|
|
3205
|
+
readonly internalType: "address";
|
|
3206
|
+
readonly type: "address";
|
|
3207
|
+
}, {
|
|
3208
|
+
readonly name: "amount";
|
|
3209
|
+
readonly internalType: "uint256";
|
|
3210
|
+
readonly type: "uint256";
|
|
3211
|
+
}];
|
|
3212
|
+
}, {
|
|
3213
|
+
readonly name: "nonce";
|
|
3214
|
+
readonly internalType: "uint256";
|
|
3215
|
+
readonly type: "uint256";
|
|
3216
|
+
}, {
|
|
3217
|
+
readonly name: "deadline";
|
|
3218
|
+
readonly internalType: "uint256";
|
|
3219
|
+
readonly type: "uint256";
|
|
3220
|
+
}];
|
|
3221
|
+
}, {
|
|
3222
|
+
readonly name: "transferDetails";
|
|
3223
|
+
readonly internalType: "struct ISignatureTransfer.SignatureTransferDetails";
|
|
3224
|
+
readonly type: "tuple";
|
|
3225
|
+
readonly components: readonly [{
|
|
3226
|
+
readonly name: "to";
|
|
3227
|
+
readonly internalType: "address";
|
|
3228
|
+
readonly type: "address";
|
|
3229
|
+
}, {
|
|
3230
|
+
readonly name: "requestedAmount";
|
|
3231
|
+
readonly internalType: "uint256";
|
|
3232
|
+
readonly type: "uint256";
|
|
3233
|
+
}];
|
|
3234
|
+
}, {
|
|
3235
|
+
readonly name: "owner";
|
|
3236
|
+
readonly internalType: "address";
|
|
3237
|
+
readonly type: "address";
|
|
3238
|
+
}, {
|
|
3239
|
+
readonly name: "witness";
|
|
3240
|
+
readonly internalType: "bytes32";
|
|
3241
|
+
readonly type: "bytes32";
|
|
3242
|
+
}, {
|
|
3243
|
+
readonly name: "witnessTypeString";
|
|
3244
|
+
readonly internalType: "string";
|
|
3245
|
+
readonly type: "string";
|
|
3246
|
+
}, {
|
|
3247
|
+
readonly name: "signature";
|
|
3248
|
+
readonly internalType: "bytes";
|
|
3249
|
+
readonly type: "bytes";
|
|
3250
|
+
}];
|
|
3251
|
+
readonly name: "permitWitnessTransferFrom";
|
|
3252
|
+
readonly outputs: readonly [];
|
|
3253
|
+
readonly stateMutability: "nonpayable";
|
|
3254
|
+
}, {
|
|
3255
|
+
readonly type: "function";
|
|
3256
|
+
readonly inputs: readonly [{
|
|
3257
|
+
readonly name: "permit";
|
|
3258
|
+
readonly internalType: "struct ISignatureTransfer.PermitBatchTransferFrom";
|
|
3259
|
+
readonly type: "tuple";
|
|
3260
|
+
readonly components: readonly [{
|
|
3261
|
+
readonly name: "permitted";
|
|
3262
|
+
readonly internalType: "struct ISignatureTransfer.TokenPermissions[]";
|
|
3263
|
+
readonly type: "tuple[]";
|
|
3264
|
+
readonly components: readonly [{
|
|
3265
|
+
readonly name: "token";
|
|
3266
|
+
readonly internalType: "address";
|
|
3267
|
+
readonly type: "address";
|
|
3268
|
+
}, {
|
|
3269
|
+
readonly name: "amount";
|
|
3270
|
+
readonly internalType: "uint256";
|
|
3271
|
+
readonly type: "uint256";
|
|
3272
|
+
}];
|
|
3273
|
+
}, {
|
|
3274
|
+
readonly name: "nonce";
|
|
3275
|
+
readonly internalType: "uint256";
|
|
3276
|
+
readonly type: "uint256";
|
|
3277
|
+
}, {
|
|
3278
|
+
readonly name: "deadline";
|
|
3279
|
+
readonly internalType: "uint256";
|
|
3280
|
+
readonly type: "uint256";
|
|
3281
|
+
}];
|
|
3282
|
+
}, {
|
|
3283
|
+
readonly name: "transferDetails";
|
|
3284
|
+
readonly internalType: "struct ISignatureTransfer.SignatureTransferDetails[]";
|
|
3285
|
+
readonly type: "tuple[]";
|
|
3286
|
+
readonly components: readonly [{
|
|
3287
|
+
readonly name: "to";
|
|
3288
|
+
readonly internalType: "address";
|
|
3289
|
+
readonly type: "address";
|
|
3290
|
+
}, {
|
|
3291
|
+
readonly name: "requestedAmount";
|
|
3292
|
+
readonly internalType: "uint256";
|
|
3293
|
+
readonly type: "uint256";
|
|
3294
|
+
}];
|
|
3295
|
+
}, {
|
|
3296
|
+
readonly name: "owner";
|
|
3297
|
+
readonly internalType: "address";
|
|
3298
|
+
readonly type: "address";
|
|
3299
|
+
}, {
|
|
3300
|
+
readonly name: "witness";
|
|
3301
|
+
readonly internalType: "bytes32";
|
|
3302
|
+
readonly type: "bytes32";
|
|
3303
|
+
}, {
|
|
3304
|
+
readonly name: "witnessTypeString";
|
|
3305
|
+
readonly internalType: "string";
|
|
3306
|
+
readonly type: "string";
|
|
3307
|
+
}, {
|
|
3308
|
+
readonly name: "signature";
|
|
3309
|
+
readonly internalType: "bytes";
|
|
3310
|
+
readonly type: "bytes";
|
|
3311
|
+
}];
|
|
3312
|
+
readonly name: "permitWitnessTransferFrom";
|
|
3313
|
+
readonly outputs: readonly [];
|
|
3314
|
+
readonly stateMutability: "nonpayable";
|
|
3315
|
+
}, {
|
|
3316
|
+
readonly type: "function";
|
|
3317
|
+
readonly inputs: readonly [{
|
|
3318
|
+
readonly name: "transferDetails";
|
|
3319
|
+
readonly internalType: "struct IAllowanceTransfer.AllowanceTransferDetails[]";
|
|
3320
|
+
readonly type: "tuple[]";
|
|
3321
|
+
readonly components: readonly [{
|
|
3322
|
+
readonly name: "from";
|
|
3323
|
+
readonly internalType: "address";
|
|
3324
|
+
readonly type: "address";
|
|
3325
|
+
}, {
|
|
3326
|
+
readonly name: "to";
|
|
3327
|
+
readonly internalType: "address";
|
|
3328
|
+
readonly type: "address";
|
|
3329
|
+
}, {
|
|
3330
|
+
readonly name: "amount";
|
|
3331
|
+
readonly internalType: "uint160";
|
|
3332
|
+
readonly type: "uint160";
|
|
3333
|
+
}, {
|
|
3334
|
+
readonly name: "token";
|
|
3335
|
+
readonly internalType: "address";
|
|
3336
|
+
readonly type: "address";
|
|
3337
|
+
}];
|
|
3338
|
+
}];
|
|
3339
|
+
readonly name: "transferFrom";
|
|
3340
|
+
readonly outputs: readonly [];
|
|
3341
|
+
readonly stateMutability: "nonpayable";
|
|
3342
|
+
}, {
|
|
3343
|
+
readonly type: "function";
|
|
3344
|
+
readonly inputs: readonly [{
|
|
3345
|
+
readonly name: "from";
|
|
3346
|
+
readonly internalType: "address";
|
|
3347
|
+
readonly type: "address";
|
|
3348
|
+
}, {
|
|
3349
|
+
readonly name: "to";
|
|
3350
|
+
readonly internalType: "address";
|
|
3351
|
+
readonly type: "address";
|
|
3352
|
+
}, {
|
|
3353
|
+
readonly name: "amount";
|
|
3354
|
+
readonly internalType: "uint160";
|
|
3355
|
+
readonly type: "uint160";
|
|
3356
|
+
}, {
|
|
3357
|
+
readonly name: "token";
|
|
3358
|
+
readonly internalType: "address";
|
|
3359
|
+
readonly type: "address";
|
|
3360
|
+
}];
|
|
3361
|
+
readonly name: "transferFrom";
|
|
3362
|
+
readonly outputs: readonly [];
|
|
3363
|
+
readonly stateMutability: "nonpayable";
|
|
3364
|
+
}, {
|
|
3365
|
+
readonly type: "event";
|
|
3366
|
+
readonly anonymous: false;
|
|
3367
|
+
readonly inputs: readonly [{
|
|
3368
|
+
readonly name: "owner";
|
|
3369
|
+
readonly internalType: "address";
|
|
3370
|
+
readonly type: "address";
|
|
3371
|
+
readonly indexed: true;
|
|
3372
|
+
}, {
|
|
3373
|
+
readonly name: "token";
|
|
3374
|
+
readonly internalType: "address";
|
|
3375
|
+
readonly type: "address";
|
|
3376
|
+
readonly indexed: true;
|
|
3377
|
+
}, {
|
|
3378
|
+
readonly name: "spender";
|
|
3379
|
+
readonly internalType: "address";
|
|
3380
|
+
readonly type: "address";
|
|
3381
|
+
readonly indexed: true;
|
|
3382
|
+
}, {
|
|
3383
|
+
readonly name: "amount";
|
|
3384
|
+
readonly internalType: "uint160";
|
|
3385
|
+
readonly type: "uint160";
|
|
3386
|
+
readonly indexed: false;
|
|
3387
|
+
}, {
|
|
3388
|
+
readonly name: "expiration";
|
|
3389
|
+
readonly internalType: "uint48";
|
|
3390
|
+
readonly type: "uint48";
|
|
3391
|
+
readonly indexed: false;
|
|
3392
|
+
}];
|
|
3393
|
+
readonly name: "Approval";
|
|
3394
|
+
}, {
|
|
3395
|
+
readonly type: "event";
|
|
3396
|
+
readonly anonymous: false;
|
|
3397
|
+
readonly inputs: readonly [{
|
|
3398
|
+
readonly name: "owner";
|
|
3399
|
+
readonly internalType: "address";
|
|
3400
|
+
readonly type: "address";
|
|
3401
|
+
readonly indexed: true;
|
|
3402
|
+
}, {
|
|
3403
|
+
readonly name: "token";
|
|
3404
|
+
readonly internalType: "address";
|
|
3405
|
+
readonly type: "address";
|
|
3406
|
+
readonly indexed: false;
|
|
3407
|
+
}, {
|
|
3408
|
+
readonly name: "spender";
|
|
3409
|
+
readonly internalType: "address";
|
|
3410
|
+
readonly type: "address";
|
|
3411
|
+
readonly indexed: false;
|
|
3412
|
+
}];
|
|
3413
|
+
readonly name: "Lockdown";
|
|
3414
|
+
}, {
|
|
3415
|
+
readonly type: "event";
|
|
3416
|
+
readonly anonymous: false;
|
|
3417
|
+
readonly inputs: readonly [{
|
|
3418
|
+
readonly name: "owner";
|
|
3419
|
+
readonly internalType: "address";
|
|
3420
|
+
readonly type: "address";
|
|
3421
|
+
readonly indexed: true;
|
|
3422
|
+
}, {
|
|
3423
|
+
readonly name: "token";
|
|
3424
|
+
readonly internalType: "address";
|
|
3425
|
+
readonly type: "address";
|
|
3426
|
+
readonly indexed: true;
|
|
3427
|
+
}, {
|
|
3428
|
+
readonly name: "spender";
|
|
3429
|
+
readonly internalType: "address";
|
|
3430
|
+
readonly type: "address";
|
|
3431
|
+
readonly indexed: true;
|
|
3432
|
+
}, {
|
|
3433
|
+
readonly name: "newNonce";
|
|
3434
|
+
readonly internalType: "uint48";
|
|
3435
|
+
readonly type: "uint48";
|
|
3436
|
+
readonly indexed: false;
|
|
3437
|
+
}, {
|
|
3438
|
+
readonly name: "oldNonce";
|
|
3439
|
+
readonly internalType: "uint48";
|
|
3440
|
+
readonly type: "uint48";
|
|
3441
|
+
readonly indexed: false;
|
|
3442
|
+
}];
|
|
3443
|
+
readonly name: "NonceInvalidation";
|
|
3444
|
+
}, {
|
|
3445
|
+
readonly type: "event";
|
|
3446
|
+
readonly anonymous: false;
|
|
3447
|
+
readonly inputs: readonly [{
|
|
3448
|
+
readonly name: "owner";
|
|
3449
|
+
readonly internalType: "address";
|
|
3450
|
+
readonly type: "address";
|
|
3451
|
+
readonly indexed: true;
|
|
3452
|
+
}, {
|
|
3453
|
+
readonly name: "token";
|
|
3454
|
+
readonly internalType: "address";
|
|
3455
|
+
readonly type: "address";
|
|
3456
|
+
readonly indexed: true;
|
|
3457
|
+
}, {
|
|
3458
|
+
readonly name: "spender";
|
|
3459
|
+
readonly internalType: "address";
|
|
3460
|
+
readonly type: "address";
|
|
3461
|
+
readonly indexed: true;
|
|
3462
|
+
}, {
|
|
3463
|
+
readonly name: "amount";
|
|
3464
|
+
readonly internalType: "uint160";
|
|
3465
|
+
readonly type: "uint160";
|
|
3466
|
+
readonly indexed: false;
|
|
3467
|
+
}, {
|
|
3468
|
+
readonly name: "expiration";
|
|
3469
|
+
readonly internalType: "uint48";
|
|
3470
|
+
readonly type: "uint48";
|
|
3471
|
+
readonly indexed: false;
|
|
3472
|
+
}, {
|
|
3473
|
+
readonly name: "nonce";
|
|
3474
|
+
readonly internalType: "uint48";
|
|
3475
|
+
readonly type: "uint48";
|
|
3476
|
+
readonly indexed: false;
|
|
3477
|
+
}];
|
|
3478
|
+
readonly name: "Permit";
|
|
3479
|
+
}, {
|
|
3480
|
+
readonly type: "event";
|
|
3481
|
+
readonly anonymous: false;
|
|
3482
|
+
readonly inputs: readonly [{
|
|
3483
|
+
readonly name: "owner";
|
|
3484
|
+
readonly internalType: "address";
|
|
3485
|
+
readonly type: "address";
|
|
3486
|
+
readonly indexed: true;
|
|
3487
|
+
}, {
|
|
3488
|
+
readonly name: "word";
|
|
3489
|
+
readonly internalType: "uint256";
|
|
3490
|
+
readonly type: "uint256";
|
|
3491
|
+
readonly indexed: false;
|
|
3492
|
+
}, {
|
|
3493
|
+
readonly name: "mask";
|
|
3494
|
+
readonly internalType: "uint256";
|
|
3495
|
+
readonly type: "uint256";
|
|
3496
|
+
readonly indexed: false;
|
|
3497
|
+
}];
|
|
3498
|
+
readonly name: "UnorderedNonceInvalidation";
|
|
3499
|
+
}, {
|
|
3500
|
+
readonly type: "error";
|
|
3501
|
+
readonly inputs: readonly [{
|
|
3502
|
+
readonly name: "deadline";
|
|
3503
|
+
readonly internalType: "uint256";
|
|
3504
|
+
readonly type: "uint256";
|
|
3505
|
+
}];
|
|
3506
|
+
readonly name: "AllowanceExpired";
|
|
3507
|
+
}, {
|
|
3508
|
+
readonly type: "error";
|
|
3509
|
+
readonly inputs: readonly [];
|
|
3510
|
+
readonly name: "ExcessiveInvalidation";
|
|
3511
|
+
}, {
|
|
3512
|
+
readonly type: "error";
|
|
3513
|
+
readonly inputs: readonly [{
|
|
3514
|
+
readonly name: "amount";
|
|
3515
|
+
readonly internalType: "uint256";
|
|
3516
|
+
readonly type: "uint256";
|
|
3517
|
+
}];
|
|
3518
|
+
readonly name: "InsufficientAllowance";
|
|
3519
|
+
}, {
|
|
3520
|
+
readonly type: "error";
|
|
3521
|
+
readonly inputs: readonly [{
|
|
3522
|
+
readonly name: "maxAmount";
|
|
3523
|
+
readonly internalType: "uint256";
|
|
3524
|
+
readonly type: "uint256";
|
|
3525
|
+
}];
|
|
3526
|
+
readonly name: "InvalidAmount";
|
|
3527
|
+
}, {
|
|
3528
|
+
readonly type: "error";
|
|
3529
|
+
readonly inputs: readonly [];
|
|
3530
|
+
readonly name: "LengthMismatch";
|
|
3531
|
+
}];
|
|
3532
|
+
export declare const iPoolConfigEncodingABI: readonly [{
|
|
3533
|
+
readonly type: "function";
|
|
3534
|
+
readonly inputs: readonly [{
|
|
3535
|
+
readonly name: "version";
|
|
3536
|
+
readonly internalType: "uint8";
|
|
3537
|
+
readonly type: "uint8";
|
|
3538
|
+
}, {
|
|
3539
|
+
readonly name: "currency";
|
|
3540
|
+
readonly internalType: "address";
|
|
3541
|
+
readonly type: "address";
|
|
3542
|
+
}, {
|
|
3543
|
+
readonly name: "tickLower";
|
|
3544
|
+
readonly internalType: "int24[]";
|
|
3545
|
+
readonly type: "int24[]";
|
|
3546
|
+
}, {
|
|
3547
|
+
readonly name: "tickUpper";
|
|
3548
|
+
readonly internalType: "int24[]";
|
|
3549
|
+
readonly type: "int24[]";
|
|
3550
|
+
}, {
|
|
3551
|
+
readonly name: "numDiscoveryPositions";
|
|
3552
|
+
readonly internalType: "uint16[]";
|
|
3553
|
+
readonly type: "uint16[]";
|
|
3554
|
+
}, {
|
|
3555
|
+
readonly name: "maxDiscoverySupplyShare";
|
|
3556
|
+
readonly internalType: "uint256[]";
|
|
3557
|
+
readonly type: "uint256[]";
|
|
3558
|
+
}];
|
|
3559
|
+
readonly name: "encodeMultiCurvePoolConfig";
|
|
3560
|
+
readonly outputs: readonly [{
|
|
3561
|
+
readonly name: "";
|
|
3562
|
+
readonly internalType: "bytes";
|
|
3563
|
+
readonly type: "bytes";
|
|
3564
|
+
}];
|
|
3565
|
+
readonly stateMutability: "pure";
|
|
3566
|
+
}];
|
|
3567
|
+
export declare const iUniswapV3PoolABI: readonly [{
|
|
3568
|
+
readonly type: "function";
|
|
3569
|
+
readonly inputs: readonly [{
|
|
3570
|
+
readonly name: "tickLower";
|
|
3571
|
+
readonly internalType: "int24";
|
|
3572
|
+
readonly type: "int24";
|
|
3573
|
+
}, {
|
|
3574
|
+
readonly name: "tickUpper";
|
|
3575
|
+
readonly internalType: "int24";
|
|
3576
|
+
readonly type: "int24";
|
|
3577
|
+
}, {
|
|
3578
|
+
readonly name: "amount";
|
|
3579
|
+
readonly internalType: "uint128";
|
|
3580
|
+
readonly type: "uint128";
|
|
3581
|
+
}];
|
|
3582
|
+
readonly name: "burn";
|
|
3583
|
+
readonly outputs: readonly [{
|
|
3584
|
+
readonly name: "amount0";
|
|
3585
|
+
readonly internalType: "uint256";
|
|
3586
|
+
readonly type: "uint256";
|
|
3587
|
+
}, {
|
|
3588
|
+
readonly name: "amount1";
|
|
3589
|
+
readonly internalType: "uint256";
|
|
3590
|
+
readonly type: "uint256";
|
|
3591
|
+
}];
|
|
3592
|
+
readonly stateMutability: "nonpayable";
|
|
3593
|
+
}, {
|
|
3594
|
+
readonly type: "function";
|
|
3595
|
+
readonly inputs: readonly [{
|
|
3596
|
+
readonly name: "recipient";
|
|
3597
|
+
readonly internalType: "address";
|
|
3598
|
+
readonly type: "address";
|
|
3599
|
+
}, {
|
|
3600
|
+
readonly name: "tickLower";
|
|
3601
|
+
readonly internalType: "int24";
|
|
3602
|
+
readonly type: "int24";
|
|
3603
|
+
}, {
|
|
3604
|
+
readonly name: "tickUpper";
|
|
3605
|
+
readonly internalType: "int24";
|
|
3606
|
+
readonly type: "int24";
|
|
3607
|
+
}, {
|
|
3608
|
+
readonly name: "amount0Requested";
|
|
3609
|
+
readonly internalType: "uint128";
|
|
3610
|
+
readonly type: "uint128";
|
|
3611
|
+
}, {
|
|
3612
|
+
readonly name: "amount1Requested";
|
|
3613
|
+
readonly internalType: "uint128";
|
|
3614
|
+
readonly type: "uint128";
|
|
3615
|
+
}];
|
|
3616
|
+
readonly name: "collect";
|
|
3617
|
+
readonly outputs: readonly [{
|
|
3618
|
+
readonly name: "amount0";
|
|
3619
|
+
readonly internalType: "uint128";
|
|
3620
|
+
readonly type: "uint128";
|
|
3621
|
+
}, {
|
|
3622
|
+
readonly name: "amount1";
|
|
3623
|
+
readonly internalType: "uint128";
|
|
3624
|
+
readonly type: "uint128";
|
|
3625
|
+
}];
|
|
3626
|
+
readonly stateMutability: "nonpayable";
|
|
3627
|
+
}, {
|
|
3628
|
+
readonly type: "function";
|
|
3629
|
+
readonly inputs: readonly [];
|
|
3630
|
+
readonly name: "feeGrowthGlobal0X128";
|
|
3631
|
+
readonly outputs: readonly [{
|
|
3632
|
+
readonly name: "";
|
|
3633
|
+
readonly internalType: "uint256";
|
|
3634
|
+
readonly type: "uint256";
|
|
3635
|
+
}];
|
|
3636
|
+
readonly stateMutability: "view";
|
|
3637
|
+
}, {
|
|
3638
|
+
readonly type: "function";
|
|
3639
|
+
readonly inputs: readonly [];
|
|
3640
|
+
readonly name: "feeGrowthGlobal1X128";
|
|
3641
|
+
readonly outputs: readonly [{
|
|
3642
|
+
readonly name: "";
|
|
3643
|
+
readonly internalType: "uint256";
|
|
3644
|
+
readonly type: "uint256";
|
|
3645
|
+
}];
|
|
3646
|
+
readonly stateMutability: "view";
|
|
3647
|
+
}, {
|
|
3648
|
+
readonly type: "function";
|
|
3649
|
+
readonly inputs: readonly [{
|
|
3650
|
+
readonly name: "sqrtPriceX96";
|
|
3651
|
+
readonly internalType: "uint160";
|
|
3652
|
+
readonly type: "uint160";
|
|
3653
|
+
}];
|
|
3654
|
+
readonly name: "initialize";
|
|
3655
|
+
readonly outputs: readonly [];
|
|
3656
|
+
readonly stateMutability: "nonpayable";
|
|
3657
|
+
}, {
|
|
3658
|
+
readonly type: "function";
|
|
3659
|
+
readonly inputs: readonly [{
|
|
3660
|
+
readonly name: "recipient";
|
|
3661
|
+
readonly internalType: "address";
|
|
3662
|
+
readonly type: "address";
|
|
3663
|
+
}, {
|
|
3664
|
+
readonly name: "tickLower";
|
|
3665
|
+
readonly internalType: "int24";
|
|
3666
|
+
readonly type: "int24";
|
|
3667
|
+
}, {
|
|
3668
|
+
readonly name: "tickUpper";
|
|
3669
|
+
readonly internalType: "int24";
|
|
3670
|
+
readonly type: "int24";
|
|
3671
|
+
}, {
|
|
3672
|
+
readonly name: "amount";
|
|
3673
|
+
readonly internalType: "uint128";
|
|
3674
|
+
readonly type: "uint128";
|
|
3675
|
+
}, {
|
|
3676
|
+
readonly name: "data";
|
|
3677
|
+
readonly internalType: "bytes";
|
|
3678
|
+
readonly type: "bytes";
|
|
3679
|
+
}];
|
|
3680
|
+
readonly name: "mint";
|
|
3681
|
+
readonly outputs: readonly [{
|
|
3682
|
+
readonly name: "amount0";
|
|
3683
|
+
readonly internalType: "uint256";
|
|
3684
|
+
readonly type: "uint256";
|
|
3685
|
+
}, {
|
|
3686
|
+
readonly name: "amount1";
|
|
3687
|
+
readonly internalType: "uint256";
|
|
3688
|
+
readonly type: "uint256";
|
|
3689
|
+
}];
|
|
3690
|
+
readonly stateMutability: "nonpayable";
|
|
1587
3691
|
}, {
|
|
1588
3692
|
readonly type: "function";
|
|
1589
3693
|
readonly inputs: readonly [];
|
|
@@ -1626,80 +3730,175 @@ export declare const iUniswapV3PoolABI: readonly [{
|
|
|
1626
3730
|
}, {
|
|
1627
3731
|
readonly type: "function";
|
|
1628
3732
|
readonly inputs: readonly [{
|
|
1629
|
-
readonly name: "recipient";
|
|
3733
|
+
readonly name: "recipient";
|
|
3734
|
+
readonly internalType: "address";
|
|
3735
|
+
readonly type: "address";
|
|
3736
|
+
}, {
|
|
3737
|
+
readonly name: "zeroForOne";
|
|
3738
|
+
readonly internalType: "bool";
|
|
3739
|
+
readonly type: "bool";
|
|
3740
|
+
}, {
|
|
3741
|
+
readonly name: "amountSpecified";
|
|
3742
|
+
readonly internalType: "int256";
|
|
3743
|
+
readonly type: "int256";
|
|
3744
|
+
}, {
|
|
3745
|
+
readonly name: "sqrtPriceLimitX96";
|
|
3746
|
+
readonly internalType: "uint160";
|
|
3747
|
+
readonly type: "uint160";
|
|
3748
|
+
}, {
|
|
3749
|
+
readonly name: "data";
|
|
3750
|
+
readonly internalType: "bytes";
|
|
3751
|
+
readonly type: "bytes";
|
|
3752
|
+
}];
|
|
3753
|
+
readonly name: "swap";
|
|
3754
|
+
readonly outputs: readonly [{
|
|
3755
|
+
readonly name: "amount0";
|
|
3756
|
+
readonly internalType: "int256";
|
|
3757
|
+
readonly type: "int256";
|
|
3758
|
+
}, {
|
|
3759
|
+
readonly name: "amount1";
|
|
3760
|
+
readonly internalType: "int256";
|
|
3761
|
+
readonly type: "int256";
|
|
3762
|
+
}];
|
|
3763
|
+
readonly stateMutability: "nonpayable";
|
|
3764
|
+
}, {
|
|
3765
|
+
readonly type: "function";
|
|
3766
|
+
readonly inputs: readonly [];
|
|
3767
|
+
readonly name: "token0";
|
|
3768
|
+
readonly outputs: readonly [{
|
|
3769
|
+
readonly name: "";
|
|
3770
|
+
readonly internalType: "address";
|
|
3771
|
+
readonly type: "address";
|
|
3772
|
+
}];
|
|
3773
|
+
readonly stateMutability: "nonpayable";
|
|
3774
|
+
}, {
|
|
3775
|
+
readonly type: "function";
|
|
3776
|
+
readonly inputs: readonly [];
|
|
3777
|
+
readonly name: "token1";
|
|
3778
|
+
readonly outputs: readonly [{
|
|
3779
|
+
readonly name: "";
|
|
3780
|
+
readonly internalType: "address";
|
|
3781
|
+
readonly type: "address";
|
|
3782
|
+
}];
|
|
3783
|
+
readonly stateMutability: "nonpayable";
|
|
3784
|
+
}];
|
|
3785
|
+
export declare const iUniversalRouterABI: readonly [{
|
|
3786
|
+
readonly type: "function";
|
|
3787
|
+
readonly inputs: readonly [{
|
|
3788
|
+
readonly name: "commands";
|
|
3789
|
+
readonly internalType: "bytes";
|
|
3790
|
+
readonly type: "bytes";
|
|
3791
|
+
}, {
|
|
3792
|
+
readonly name: "inputs";
|
|
3793
|
+
readonly internalType: "bytes[]";
|
|
3794
|
+
readonly type: "bytes[]";
|
|
3795
|
+
}, {
|
|
3796
|
+
readonly name: "deadline";
|
|
3797
|
+
readonly internalType: "uint256";
|
|
3798
|
+
readonly type: "uint256";
|
|
3799
|
+
}];
|
|
3800
|
+
readonly name: "execute";
|
|
3801
|
+
readonly outputs: readonly [];
|
|
3802
|
+
readonly stateMutability: "payable";
|
|
3803
|
+
}, {
|
|
3804
|
+
readonly type: "error";
|
|
3805
|
+
readonly inputs: readonly [];
|
|
3806
|
+
readonly name: "ETHNotAccepted";
|
|
3807
|
+
}, {
|
|
3808
|
+
readonly type: "error";
|
|
3809
|
+
readonly inputs: readonly [{
|
|
3810
|
+
readonly name: "commandIndex";
|
|
3811
|
+
readonly internalType: "uint256";
|
|
3812
|
+
readonly type: "uint256";
|
|
3813
|
+
}, {
|
|
3814
|
+
readonly name: "message";
|
|
3815
|
+
readonly internalType: "bytes";
|
|
3816
|
+
readonly type: "bytes";
|
|
3817
|
+
}];
|
|
3818
|
+
readonly name: "ExecutionFailed";
|
|
3819
|
+
}, {
|
|
3820
|
+
readonly type: "error";
|
|
3821
|
+
readonly inputs: readonly [];
|
|
3822
|
+
readonly name: "InvalidEthSender";
|
|
3823
|
+
}, {
|
|
3824
|
+
readonly type: "error";
|
|
3825
|
+
readonly inputs: readonly [];
|
|
3826
|
+
readonly name: "LengthMismatch";
|
|
3827
|
+
}, {
|
|
3828
|
+
readonly type: "error";
|
|
3829
|
+
readonly inputs: readonly [];
|
|
3830
|
+
readonly name: "TransactionDeadlinePassed";
|
|
3831
|
+
}];
|
|
3832
|
+
export declare const zoraFactoryImplABI: readonly [{
|
|
3833
|
+
readonly type: "constructor";
|
|
3834
|
+
readonly inputs: readonly [{
|
|
3835
|
+
readonly name: "_coinImpl";
|
|
3836
|
+
readonly internalType: "address";
|
|
3837
|
+
readonly type: "address";
|
|
3838
|
+
}, {
|
|
3839
|
+
readonly name: "_coinV4Impl";
|
|
3840
|
+
readonly internalType: "address";
|
|
3841
|
+
readonly type: "address";
|
|
3842
|
+
}];
|
|
3843
|
+
readonly stateMutability: "nonpayable";
|
|
3844
|
+
}, {
|
|
3845
|
+
readonly type: "function";
|
|
3846
|
+
readonly inputs: readonly [];
|
|
3847
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
3848
|
+
readonly outputs: readonly [{
|
|
3849
|
+
readonly name: "";
|
|
3850
|
+
readonly internalType: "string";
|
|
3851
|
+
readonly type: "string";
|
|
3852
|
+
}];
|
|
3853
|
+
readonly stateMutability: "view";
|
|
3854
|
+
}, {
|
|
3855
|
+
readonly type: "function";
|
|
3856
|
+
readonly inputs: readonly [{
|
|
3857
|
+
readonly name: "msgSender";
|
|
1630
3858
|
readonly internalType: "address";
|
|
1631
3859
|
readonly type: "address";
|
|
1632
3860
|
}, {
|
|
1633
|
-
readonly name: "
|
|
1634
|
-
readonly internalType: "
|
|
1635
|
-
readonly type: "
|
|
1636
|
-
}, {
|
|
1637
|
-
readonly name: "amountSpecified";
|
|
1638
|
-
readonly internalType: "int256";
|
|
1639
|
-
readonly type: "int256";
|
|
3861
|
+
readonly name: "name";
|
|
3862
|
+
readonly internalType: "string";
|
|
3863
|
+
readonly type: "string";
|
|
1640
3864
|
}, {
|
|
1641
|
-
readonly name: "
|
|
1642
|
-
readonly internalType: "
|
|
1643
|
-
readonly type: "
|
|
3865
|
+
readonly name: "symbol";
|
|
3866
|
+
readonly internalType: "string";
|
|
3867
|
+
readonly type: "string";
|
|
1644
3868
|
}, {
|
|
1645
|
-
readonly name: "
|
|
3869
|
+
readonly name: "poolConfig";
|
|
1646
3870
|
readonly internalType: "bytes";
|
|
1647
3871
|
readonly type: "bytes";
|
|
1648
|
-
}];
|
|
1649
|
-
readonly name: "swap";
|
|
1650
|
-
readonly outputs: readonly [{
|
|
1651
|
-
readonly name: "amount0";
|
|
1652
|
-
readonly internalType: "int256";
|
|
1653
|
-
readonly type: "int256";
|
|
1654
3872
|
}, {
|
|
1655
|
-
readonly name: "
|
|
1656
|
-
readonly internalType: "int256";
|
|
1657
|
-
readonly type: "int256";
|
|
1658
|
-
}];
|
|
1659
|
-
readonly stateMutability: "nonpayable";
|
|
1660
|
-
}, {
|
|
1661
|
-
readonly type: "function";
|
|
1662
|
-
readonly inputs: readonly [];
|
|
1663
|
-
readonly name: "token0";
|
|
1664
|
-
readonly outputs: readonly [{
|
|
1665
|
-
readonly name: "";
|
|
3873
|
+
readonly name: "platformReferrer";
|
|
1666
3874
|
readonly internalType: "address";
|
|
1667
3875
|
readonly type: "address";
|
|
3876
|
+
}, {
|
|
3877
|
+
readonly name: "coinSalt";
|
|
3878
|
+
readonly internalType: "bytes32";
|
|
3879
|
+
readonly type: "bytes32";
|
|
1668
3880
|
}];
|
|
1669
|
-
readonly
|
|
1670
|
-
}, {
|
|
1671
|
-
readonly type: "function";
|
|
1672
|
-
readonly inputs: readonly [];
|
|
1673
|
-
readonly name: "token1";
|
|
3881
|
+
readonly name: "coinAddress";
|
|
1674
3882
|
readonly outputs: readonly [{
|
|
1675
3883
|
readonly name: "";
|
|
1676
3884
|
readonly internalType: "address";
|
|
1677
3885
|
readonly type: "address";
|
|
1678
3886
|
}];
|
|
1679
|
-
readonly stateMutability: "
|
|
1680
|
-
}];
|
|
1681
|
-
export declare const zoraFactoryImplABI: readonly [{
|
|
1682
|
-
readonly type: "constructor";
|
|
1683
|
-
readonly inputs: readonly [{
|
|
1684
|
-
readonly name: "_coinImpl";
|
|
1685
|
-
readonly internalType: "address";
|
|
1686
|
-
readonly type: "address";
|
|
1687
|
-
}];
|
|
1688
|
-
readonly stateMutability: "nonpayable";
|
|
3887
|
+
readonly stateMutability: "view";
|
|
1689
3888
|
}, {
|
|
1690
3889
|
readonly type: "function";
|
|
1691
3890
|
readonly inputs: readonly [];
|
|
1692
|
-
readonly name: "
|
|
3891
|
+
readonly name: "coinImpl";
|
|
1693
3892
|
readonly outputs: readonly [{
|
|
1694
3893
|
readonly name: "";
|
|
1695
|
-
readonly internalType: "
|
|
1696
|
-
readonly type: "
|
|
3894
|
+
readonly internalType: "address";
|
|
3895
|
+
readonly type: "address";
|
|
1697
3896
|
}];
|
|
1698
3897
|
readonly stateMutability: "view";
|
|
1699
3898
|
}, {
|
|
1700
3899
|
readonly type: "function";
|
|
1701
3900
|
readonly inputs: readonly [];
|
|
1702
|
-
readonly name: "
|
|
3901
|
+
readonly name: "coinV4Impl";
|
|
1703
3902
|
readonly outputs: readonly [{
|
|
1704
3903
|
readonly name: "";
|
|
1705
3904
|
readonly internalType: "address";
|
|
@@ -1757,7 +3956,7 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
1757
3956
|
readonly internalType: "address";
|
|
1758
3957
|
readonly type: "address";
|
|
1759
3958
|
}, {
|
|
1760
|
-
readonly name: "
|
|
3959
|
+
readonly name: "";
|
|
1761
3960
|
readonly internalType: "int24";
|
|
1762
3961
|
readonly type: "int24";
|
|
1763
3962
|
}, {
|
|
@@ -1776,6 +3975,60 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
1776
3975
|
readonly type: "uint256";
|
|
1777
3976
|
}];
|
|
1778
3977
|
readonly stateMutability: "payable";
|
|
3978
|
+
}, {
|
|
3979
|
+
readonly type: "function";
|
|
3980
|
+
readonly inputs: readonly [{
|
|
3981
|
+
readonly name: "payoutRecipient";
|
|
3982
|
+
readonly internalType: "address";
|
|
3983
|
+
readonly type: "address";
|
|
3984
|
+
}, {
|
|
3985
|
+
readonly name: "owners";
|
|
3986
|
+
readonly internalType: "address[]";
|
|
3987
|
+
readonly type: "address[]";
|
|
3988
|
+
}, {
|
|
3989
|
+
readonly name: "uri";
|
|
3990
|
+
readonly internalType: "string";
|
|
3991
|
+
readonly type: "string";
|
|
3992
|
+
}, {
|
|
3993
|
+
readonly name: "name";
|
|
3994
|
+
readonly internalType: "string";
|
|
3995
|
+
readonly type: "string";
|
|
3996
|
+
}, {
|
|
3997
|
+
readonly name: "symbol";
|
|
3998
|
+
readonly internalType: "string";
|
|
3999
|
+
readonly type: "string";
|
|
4000
|
+
}, {
|
|
4001
|
+
readonly name: "poolConfig";
|
|
4002
|
+
readonly internalType: "bytes";
|
|
4003
|
+
readonly type: "bytes";
|
|
4004
|
+
}, {
|
|
4005
|
+
readonly name: "platformReferrer";
|
|
4006
|
+
readonly internalType: "address";
|
|
4007
|
+
readonly type: "address";
|
|
4008
|
+
}, {
|
|
4009
|
+
readonly name: "postDeployHook";
|
|
4010
|
+
readonly internalType: "address";
|
|
4011
|
+
readonly type: "address";
|
|
4012
|
+
}, {
|
|
4013
|
+
readonly name: "postDeployHookData";
|
|
4014
|
+
readonly internalType: "bytes";
|
|
4015
|
+
readonly type: "bytes";
|
|
4016
|
+
}, {
|
|
4017
|
+
readonly name: "coinSalt";
|
|
4018
|
+
readonly internalType: "bytes32";
|
|
4019
|
+
readonly type: "bytes32";
|
|
4020
|
+
}];
|
|
4021
|
+
readonly name: "deploy";
|
|
4022
|
+
readonly outputs: readonly [{
|
|
4023
|
+
readonly name: "coin";
|
|
4024
|
+
readonly internalType: "address";
|
|
4025
|
+
readonly type: "address";
|
|
4026
|
+
}, {
|
|
4027
|
+
readonly name: "postDeployHookDataOut";
|
|
4028
|
+
readonly internalType: "bytes";
|
|
4029
|
+
readonly type: "bytes";
|
|
4030
|
+
}];
|
|
4031
|
+
readonly stateMutability: "payable";
|
|
1779
4032
|
}, {
|
|
1780
4033
|
readonly type: "function";
|
|
1781
4034
|
readonly inputs: readonly [{
|
|
@@ -1872,6 +4125,20 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
1872
4125
|
readonly type: "bytes";
|
|
1873
4126
|
}];
|
|
1874
4127
|
readonly stateMutability: "payable";
|
|
4128
|
+
}, {
|
|
4129
|
+
readonly type: "function";
|
|
4130
|
+
readonly inputs: readonly [{
|
|
4131
|
+
readonly name: "coin";
|
|
4132
|
+
readonly internalType: "address";
|
|
4133
|
+
readonly type: "address";
|
|
4134
|
+
}];
|
|
4135
|
+
readonly name: "getVersionForDeployedCoin";
|
|
4136
|
+
readonly outputs: readonly [{
|
|
4137
|
+
readonly name: "";
|
|
4138
|
+
readonly internalType: "uint8";
|
|
4139
|
+
readonly type: "uint8";
|
|
4140
|
+
}];
|
|
4141
|
+
readonly stateMutability: "view";
|
|
1875
4142
|
}, {
|
|
1876
4143
|
readonly type: "function";
|
|
1877
4144
|
readonly inputs: readonly [];
|
|
@@ -1997,6 +4264,87 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
1997
4264
|
readonly indexed: false;
|
|
1998
4265
|
}];
|
|
1999
4266
|
readonly name: "CoinCreated";
|
|
4267
|
+
}, {
|
|
4268
|
+
readonly type: "event";
|
|
4269
|
+
readonly anonymous: false;
|
|
4270
|
+
readonly inputs: readonly [{
|
|
4271
|
+
readonly name: "caller";
|
|
4272
|
+
readonly internalType: "address";
|
|
4273
|
+
readonly type: "address";
|
|
4274
|
+
readonly indexed: true;
|
|
4275
|
+
}, {
|
|
4276
|
+
readonly name: "payoutRecipient";
|
|
4277
|
+
readonly internalType: "address";
|
|
4278
|
+
readonly type: "address";
|
|
4279
|
+
readonly indexed: true;
|
|
4280
|
+
}, {
|
|
4281
|
+
readonly name: "platformReferrer";
|
|
4282
|
+
readonly internalType: "address";
|
|
4283
|
+
readonly type: "address";
|
|
4284
|
+
readonly indexed: true;
|
|
4285
|
+
}, {
|
|
4286
|
+
readonly name: "currency";
|
|
4287
|
+
readonly internalType: "address";
|
|
4288
|
+
readonly type: "address";
|
|
4289
|
+
readonly indexed: false;
|
|
4290
|
+
}, {
|
|
4291
|
+
readonly name: "uri";
|
|
4292
|
+
readonly internalType: "string";
|
|
4293
|
+
readonly type: "string";
|
|
4294
|
+
readonly indexed: false;
|
|
4295
|
+
}, {
|
|
4296
|
+
readonly name: "name";
|
|
4297
|
+
readonly internalType: "string";
|
|
4298
|
+
readonly type: "string";
|
|
4299
|
+
readonly indexed: false;
|
|
4300
|
+
}, {
|
|
4301
|
+
readonly name: "symbol";
|
|
4302
|
+
readonly internalType: "string";
|
|
4303
|
+
readonly type: "string";
|
|
4304
|
+
readonly indexed: false;
|
|
4305
|
+
}, {
|
|
4306
|
+
readonly name: "coin";
|
|
4307
|
+
readonly internalType: "address";
|
|
4308
|
+
readonly type: "address";
|
|
4309
|
+
readonly indexed: false;
|
|
4310
|
+
}, {
|
|
4311
|
+
readonly name: "poolKey";
|
|
4312
|
+
readonly internalType: "struct PoolKey";
|
|
4313
|
+
readonly type: "tuple";
|
|
4314
|
+
readonly components: readonly [{
|
|
4315
|
+
readonly name: "currency0";
|
|
4316
|
+
readonly internalType: "Currency";
|
|
4317
|
+
readonly type: "address";
|
|
4318
|
+
}, {
|
|
4319
|
+
readonly name: "currency1";
|
|
4320
|
+
readonly internalType: "Currency";
|
|
4321
|
+
readonly type: "address";
|
|
4322
|
+
}, {
|
|
4323
|
+
readonly name: "fee";
|
|
4324
|
+
readonly internalType: "uint24";
|
|
4325
|
+
readonly type: "uint24";
|
|
4326
|
+
}, {
|
|
4327
|
+
readonly name: "tickSpacing";
|
|
4328
|
+
readonly internalType: "int24";
|
|
4329
|
+
readonly type: "int24";
|
|
4330
|
+
}, {
|
|
4331
|
+
readonly name: "hooks";
|
|
4332
|
+
readonly internalType: "contract IHooks";
|
|
4333
|
+
readonly type: "address";
|
|
4334
|
+
}];
|
|
4335
|
+
readonly indexed: false;
|
|
4336
|
+
}, {
|
|
4337
|
+
readonly name: "poolKeyHash";
|
|
4338
|
+
readonly internalType: "bytes32";
|
|
4339
|
+
readonly type: "bytes32";
|
|
4340
|
+
readonly indexed: false;
|
|
4341
|
+
}, {
|
|
4342
|
+
readonly name: "version";
|
|
4343
|
+
readonly internalType: "string";
|
|
4344
|
+
readonly type: "string";
|
|
4345
|
+
readonly indexed: false;
|
|
4346
|
+
}];
|
|
4347
|
+
readonly name: "CoinCreatedV4";
|
|
2000
4348
|
}, {
|
|
2001
4349
|
readonly type: "event";
|
|
2002
4350
|
readonly anonymous: false;
|
|
@@ -2048,6 +4396,22 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
2048
4396
|
readonly type: "address";
|
|
2049
4397
|
}];
|
|
2050
4398
|
readonly name: "AddressInsufficientBalance";
|
|
4399
|
+
}, {
|
|
4400
|
+
readonly type: "error";
|
|
4401
|
+
readonly inputs: readonly [];
|
|
4402
|
+
readonly name: "ArrayLengthMismatch";
|
|
4403
|
+
}, {
|
|
4404
|
+
readonly type: "error";
|
|
4405
|
+
readonly inputs: readonly [];
|
|
4406
|
+
readonly name: "CannotMintZeroLiquidity";
|
|
4407
|
+
}, {
|
|
4408
|
+
readonly type: "error";
|
|
4409
|
+
readonly inputs: readonly [];
|
|
4410
|
+
readonly name: "ConfigTickLowerMustBeLessThanTickUpper";
|
|
4411
|
+
}, {
|
|
4412
|
+
readonly type: "error";
|
|
4413
|
+
readonly inputs: readonly [];
|
|
4414
|
+
readonly name: "Deprecated";
|
|
2051
4415
|
}, {
|
|
2052
4416
|
readonly type: "error";
|
|
2053
4417
|
readonly inputs: readonly [];
|
|
@@ -2084,10 +4448,54 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
2084
4448
|
readonly type: "error";
|
|
2085
4449
|
readonly inputs: readonly [];
|
|
2086
4450
|
readonly name: "InvalidInitialization";
|
|
4451
|
+
}, {
|
|
4452
|
+
readonly type: "error";
|
|
4453
|
+
readonly inputs: readonly [];
|
|
4454
|
+
readonly name: "InvalidPoolVersion";
|
|
4455
|
+
}, {
|
|
4456
|
+
readonly type: "error";
|
|
4457
|
+
readonly inputs: readonly [{
|
|
4458
|
+
readonly name: "tickLower";
|
|
4459
|
+
readonly internalType: "int24";
|
|
4460
|
+
readonly type: "int24";
|
|
4461
|
+
}, {
|
|
4462
|
+
readonly name: "tickUpper";
|
|
4463
|
+
readonly internalType: "int24";
|
|
4464
|
+
readonly type: "int24";
|
|
4465
|
+
}];
|
|
4466
|
+
readonly name: "InvalidTickRangeMisordered";
|
|
4467
|
+
}, {
|
|
4468
|
+
readonly type: "error";
|
|
4469
|
+
readonly inputs: readonly [{
|
|
4470
|
+
readonly name: "tickLower";
|
|
4471
|
+
readonly internalType: "int24";
|
|
4472
|
+
readonly type: "int24";
|
|
4473
|
+
}, {
|
|
4474
|
+
readonly name: "tickUpper";
|
|
4475
|
+
readonly internalType: "int24";
|
|
4476
|
+
readonly type: "int24";
|
|
4477
|
+
}];
|
|
4478
|
+
readonly name: "InvalidTickRangeMisordered";
|
|
4479
|
+
}, {
|
|
4480
|
+
readonly type: "error";
|
|
4481
|
+
readonly inputs: readonly [{
|
|
4482
|
+
readonly name: "value";
|
|
4483
|
+
readonly internalType: "uint256";
|
|
4484
|
+
readonly type: "uint256";
|
|
4485
|
+
}, {
|
|
4486
|
+
readonly name: "limit";
|
|
4487
|
+
readonly internalType: "uint256";
|
|
4488
|
+
readonly type: "uint256";
|
|
4489
|
+
}];
|
|
4490
|
+
readonly name: "MaxShareToBeSoldExceeded";
|
|
2087
4491
|
}, {
|
|
2088
4492
|
readonly type: "error";
|
|
2089
4493
|
readonly inputs: readonly [];
|
|
2090
4494
|
readonly name: "NotInitializing";
|
|
4495
|
+
}, {
|
|
4496
|
+
readonly type: "error";
|
|
4497
|
+
readonly inputs: readonly [];
|
|
4498
|
+
readonly name: "NumDiscoveryPositionsOutOfRange";
|
|
2091
4499
|
}, {
|
|
2092
4500
|
readonly type: "error";
|
|
2093
4501
|
readonly inputs: readonly [{
|
|
@@ -2140,5 +4548,13 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
2140
4548
|
readonly type: "string";
|
|
2141
4549
|
}];
|
|
2142
4550
|
readonly name: "UpgradeToMismatchedContractName";
|
|
4551
|
+
}, {
|
|
4552
|
+
readonly type: "error";
|
|
4553
|
+
readonly inputs: readonly [];
|
|
4554
|
+
readonly name: "ZeroDiscoveryPositions";
|
|
4555
|
+
}, {
|
|
4556
|
+
readonly type: "error";
|
|
4557
|
+
readonly inputs: readonly [];
|
|
4558
|
+
readonly name: "ZeroDiscoverySupplyShare";
|
|
2143
4559
|
}];
|
|
2144
4560
|
//# sourceMappingURL=wagmiGenerated.d.ts.map
|