@zoralabs/coins 0.9.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +179 -114
- package/CHANGELOG.md +46 -0
- package/abis/BaseCoin.json +26 -118
- package/abis/BaseTest.json +47 -0
- package/abis/BuySupplyWithSwapRouterHook.json +40 -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 +1091 -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 +1515 -0
- package/abis/HooksDeployment.json +23 -0
- package/abis/HooksTest.json +60 -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 +210 -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 +81 -0
- package/abis/Vm.json +1482 -111
- package/abis/VmSafe.json +856 -32
- package/abis/ZoraFactoryImpl.json +339 -1
- package/abis/ZoraV4CoinHook.json +442 -5
- package/addresses/8453.json +7 -4
- package/addresses/84532.json +8 -5
- package/addresses/dev/8453.json +10 -0
- package/dist/index.cjs +1932 -167
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1928 -167
- package/dist/index.js.map +1 -1
- package/dist/wagmiGenerated.d.ts +2606 -160
- package/dist/wagmiGenerated.d.ts.map +1 -1
- package/foundry.toml +1 -0
- package/package/wagmiGenerated.ts +1941 -164
- package/package.json +8 -3
- package/remappings.txt +6 -1
- package/script/Deploy.s.sol +1 -1
- package/script/DeployDevFactory.s.sol +21 -0
- package/script/DeployHooks.s.sol +1 -1
- package/script/PrintUpgradeCommand.s.sol +13 -0
- package/script/Simulate.s.sol +1 -10
- package/script/TestBackingCoinSwap.s.sol +147 -0
- package/script/TestV4Swap.s.sol +136 -0
- package/script/UpgradeCoinImpl.sol +2 -2
- package/script/UpgradeFactoryImpl.s.sol +2 -2
- package/src/BaseCoin.sol +190 -0
- package/src/Coin.sol +87 -202
- package/src/CoinV4.sol +121 -0
- package/src/ZoraFactoryImpl.sol +208 -36
- package/{script → src/deployment}/CoinsDeployerBase.sol +111 -17
- package/src/hooks/ZoraV4CoinHook.sol +212 -0
- package/src/hooks/{BaseCoinDeployHook.sol → deployment/BaseCoinDeployHook.sol} +3 -3
- package/src/hooks/deployment/BuySupplyWithSwapRouterHook.sol +140 -0
- 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 +67 -28
- 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 +179 -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 +128 -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 +122 -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 +777 -0
- package/test/{Hooks.t.sol → DeploymentHooks.t.sol} +53 -16
- package/test/Factory.t.sol +80 -47
- package/test/MultiOwnable.t.sol +6 -3
- package/test/Upgrades.t.sol +97 -5
- package/test/mocks/MockERC20.sol +12 -0
- package/test/utils/BaseTest.sol +162 -57
- 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/hooks/BuySupplyWithSwapRouterHook.sol +0 -78
- package/src/libs/CoinLegacy.sol +0 -48
- package/src/libs/CoinLegacyMarket.sol +0 -182
package/dist/wagmiGenerated.d.ts
CHANGED
|
@@ -8,6 +8,10 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
8
8
|
readonly name: "_swapRouter";
|
|
9
9
|
readonly internalType: "address";
|
|
10
10
|
readonly type: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "_poolManager";
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
readonly type: "address";
|
|
11
15
|
}];
|
|
12
16
|
readonly stateMutability: "nonpayable";
|
|
13
17
|
}, {
|
|
@@ -56,6 +60,20 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
56
60
|
readonly type: "bool";
|
|
57
61
|
}];
|
|
58
62
|
readonly stateMutability: "pure";
|
|
63
|
+
}, {
|
|
64
|
+
readonly type: "function";
|
|
65
|
+
readonly inputs: readonly [{
|
|
66
|
+
readonly name: "data";
|
|
67
|
+
readonly internalType: "bytes";
|
|
68
|
+
readonly type: "bytes";
|
|
69
|
+
}];
|
|
70
|
+
readonly name: "unlockCallback";
|
|
71
|
+
readonly outputs: readonly [{
|
|
72
|
+
readonly name: "";
|
|
73
|
+
readonly internalType: "bytes";
|
|
74
|
+
readonly type: "bytes";
|
|
75
|
+
}];
|
|
76
|
+
readonly stateMutability: "nonpayable";
|
|
59
77
|
}, {
|
|
60
78
|
readonly type: "error";
|
|
61
79
|
readonly inputs: readonly [];
|
|
@@ -68,6 +86,14 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
68
86
|
readonly type: "uint256";
|
|
69
87
|
}];
|
|
70
88
|
readonly name: "CoinBalanceNot0";
|
|
89
|
+
}, {
|
|
90
|
+
readonly type: "error";
|
|
91
|
+
readonly inputs: readonly [{
|
|
92
|
+
readonly name: "balance";
|
|
93
|
+
readonly internalType: "uint256";
|
|
94
|
+
readonly type: "uint256";
|
|
95
|
+
}];
|
|
96
|
+
readonly name: "CurrencyBalanceNot0";
|
|
71
97
|
}, {
|
|
72
98
|
readonly type: "error";
|
|
73
99
|
readonly inputs: readonly [];
|
|
@@ -84,6 +110,10 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
84
110
|
readonly type: "error";
|
|
85
111
|
readonly inputs: readonly [];
|
|
86
112
|
readonly name: "NotFactory";
|
|
113
|
+
}, {
|
|
114
|
+
readonly type: "error";
|
|
115
|
+
readonly inputs: readonly [];
|
|
116
|
+
readonly name: "OnlyPoolManager";
|
|
87
117
|
}, {
|
|
88
118
|
readonly type: "error";
|
|
89
119
|
readonly inputs: readonly [{
|
|
@@ -96,27 +126,27 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
96
126
|
export declare const coinABI: readonly [{
|
|
97
127
|
readonly type: "constructor";
|
|
98
128
|
readonly inputs: readonly [{
|
|
99
|
-
readonly name: "
|
|
129
|
+
readonly name: "protocolRewardRecipient_";
|
|
100
130
|
readonly internalType: "address";
|
|
101
131
|
readonly type: "address";
|
|
102
132
|
}, {
|
|
103
|
-
readonly name: "
|
|
133
|
+
readonly name: "protocolRewards_";
|
|
104
134
|
readonly internalType: "address";
|
|
105
135
|
readonly type: "address";
|
|
106
136
|
}, {
|
|
107
|
-
readonly name: "
|
|
137
|
+
readonly name: "weth_";
|
|
108
138
|
readonly internalType: "address";
|
|
109
139
|
readonly type: "address";
|
|
110
140
|
}, {
|
|
111
|
-
readonly name: "
|
|
141
|
+
readonly name: "v3Factory_";
|
|
112
142
|
readonly internalType: "address";
|
|
113
143
|
readonly type: "address";
|
|
114
144
|
}, {
|
|
115
|
-
readonly name: "
|
|
145
|
+
readonly name: "swapRouter_";
|
|
116
146
|
readonly internalType: "address";
|
|
117
147
|
readonly type: "address";
|
|
118
148
|
}, {
|
|
119
|
-
readonly name: "
|
|
149
|
+
readonly name: "airlock_";
|
|
120
150
|
readonly internalType: "address";
|
|
121
151
|
readonly type: "address";
|
|
122
152
|
}];
|
|
@@ -318,6 +348,16 @@ export declare const coinABI: readonly [{
|
|
|
318
348
|
readonly type: "uint8";
|
|
319
349
|
}];
|
|
320
350
|
readonly stateMutability: "view";
|
|
351
|
+
}, {
|
|
352
|
+
readonly type: "function";
|
|
353
|
+
readonly inputs: readonly [];
|
|
354
|
+
readonly name: "dopplerFeeRecipient";
|
|
355
|
+
readonly outputs: readonly [{
|
|
356
|
+
readonly name: "";
|
|
357
|
+
readonly internalType: "address";
|
|
358
|
+
readonly type: "address";
|
|
359
|
+
}];
|
|
360
|
+
readonly stateMutability: "view";
|
|
321
361
|
}, {
|
|
322
362
|
readonly type: "function";
|
|
323
363
|
readonly inputs: readonly [];
|
|
@@ -352,6 +392,49 @@ export declare const coinABI: readonly [{
|
|
|
352
392
|
readonly type: "uint256[]";
|
|
353
393
|
}];
|
|
354
394
|
readonly stateMutability: "view";
|
|
395
|
+
}, {
|
|
396
|
+
readonly type: "function";
|
|
397
|
+
readonly inputs: readonly [];
|
|
398
|
+
readonly name: "getPoolConfiguration";
|
|
399
|
+
readonly outputs: readonly [{
|
|
400
|
+
readonly name: "";
|
|
401
|
+
readonly internalType: "struct PoolConfiguration";
|
|
402
|
+
readonly type: "tuple";
|
|
403
|
+
readonly components: readonly [{
|
|
404
|
+
readonly name: "version";
|
|
405
|
+
readonly internalType: "uint8";
|
|
406
|
+
readonly type: "uint8";
|
|
407
|
+
}, {
|
|
408
|
+
readonly name: "numPositions";
|
|
409
|
+
readonly internalType: "uint16";
|
|
410
|
+
readonly type: "uint16";
|
|
411
|
+
}, {
|
|
412
|
+
readonly name: "fee";
|
|
413
|
+
readonly internalType: "uint24";
|
|
414
|
+
readonly type: "uint24";
|
|
415
|
+
}, {
|
|
416
|
+
readonly name: "tickSpacing";
|
|
417
|
+
readonly internalType: "int24";
|
|
418
|
+
readonly type: "int24";
|
|
419
|
+
}, {
|
|
420
|
+
readonly name: "numDiscoveryPositions";
|
|
421
|
+
readonly internalType: "uint16[]";
|
|
422
|
+
readonly type: "uint16[]";
|
|
423
|
+
}, {
|
|
424
|
+
readonly name: "tickLower";
|
|
425
|
+
readonly internalType: "int24[]";
|
|
426
|
+
readonly type: "int24[]";
|
|
427
|
+
}, {
|
|
428
|
+
readonly name: "tickUpper";
|
|
429
|
+
readonly internalType: "int24[]";
|
|
430
|
+
readonly type: "int24[]";
|
|
431
|
+
}, {
|
|
432
|
+
readonly name: "maxDiscoverySupplyShare";
|
|
433
|
+
readonly internalType: "uint256[]";
|
|
434
|
+
readonly type: "uint256[]";
|
|
435
|
+
}];
|
|
436
|
+
}];
|
|
437
|
+
readonly stateMutability: "view";
|
|
355
438
|
}, {
|
|
356
439
|
readonly type: "function";
|
|
357
440
|
readonly inputs: readonly [{
|
|
@@ -374,14 +457,72 @@ export declare const coinABI: readonly [{
|
|
|
374
457
|
readonly name: "symbol_";
|
|
375
458
|
readonly internalType: "string";
|
|
376
459
|
readonly type: "string";
|
|
377
|
-
}, {
|
|
378
|
-
readonly name: "poolConfig_";
|
|
379
|
-
readonly internalType: "bytes";
|
|
380
|
-
readonly type: "bytes";
|
|
381
460
|
}, {
|
|
382
461
|
readonly name: "platformReferrer_";
|
|
383
462
|
readonly internalType: "address";
|
|
384
463
|
readonly type: "address";
|
|
464
|
+
}, {
|
|
465
|
+
readonly name: "currency_";
|
|
466
|
+
readonly internalType: "address";
|
|
467
|
+
readonly type: "address";
|
|
468
|
+
}, {
|
|
469
|
+
readonly name: "poolAddress_";
|
|
470
|
+
readonly internalType: "address";
|
|
471
|
+
readonly type: "address";
|
|
472
|
+
}, {
|
|
473
|
+
readonly name: "poolConfiguration_";
|
|
474
|
+
readonly internalType: "struct PoolConfiguration";
|
|
475
|
+
readonly type: "tuple";
|
|
476
|
+
readonly components: readonly [{
|
|
477
|
+
readonly name: "version";
|
|
478
|
+
readonly internalType: "uint8";
|
|
479
|
+
readonly type: "uint8";
|
|
480
|
+
}, {
|
|
481
|
+
readonly name: "numPositions";
|
|
482
|
+
readonly internalType: "uint16";
|
|
483
|
+
readonly type: "uint16";
|
|
484
|
+
}, {
|
|
485
|
+
readonly name: "fee";
|
|
486
|
+
readonly internalType: "uint24";
|
|
487
|
+
readonly type: "uint24";
|
|
488
|
+
}, {
|
|
489
|
+
readonly name: "tickSpacing";
|
|
490
|
+
readonly internalType: "int24";
|
|
491
|
+
readonly type: "int24";
|
|
492
|
+
}, {
|
|
493
|
+
readonly name: "numDiscoveryPositions";
|
|
494
|
+
readonly internalType: "uint16[]";
|
|
495
|
+
readonly type: "uint16[]";
|
|
496
|
+
}, {
|
|
497
|
+
readonly name: "tickLower";
|
|
498
|
+
readonly internalType: "int24[]";
|
|
499
|
+
readonly type: "int24[]";
|
|
500
|
+
}, {
|
|
501
|
+
readonly name: "tickUpper";
|
|
502
|
+
readonly internalType: "int24[]";
|
|
503
|
+
readonly type: "int24[]";
|
|
504
|
+
}, {
|
|
505
|
+
readonly name: "maxDiscoverySupplyShare";
|
|
506
|
+
readonly internalType: "uint256[]";
|
|
507
|
+
readonly type: "uint256[]";
|
|
508
|
+
}];
|
|
509
|
+
}, {
|
|
510
|
+
readonly name: "positions_";
|
|
511
|
+
readonly internalType: "struct LpPosition[]";
|
|
512
|
+
readonly type: "tuple[]";
|
|
513
|
+
readonly components: readonly [{
|
|
514
|
+
readonly name: "tickLower";
|
|
515
|
+
readonly internalType: "int24";
|
|
516
|
+
readonly type: "int24";
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: "tickUpper";
|
|
519
|
+
readonly internalType: "int24";
|
|
520
|
+
readonly type: "int24";
|
|
521
|
+
}, {
|
|
522
|
+
readonly name: "liquidity";
|
|
523
|
+
readonly internalType: "uint128";
|
|
524
|
+
readonly type: "uint128";
|
|
525
|
+
}];
|
|
385
526
|
}];
|
|
386
527
|
readonly name: "initialize";
|
|
387
528
|
readonly outputs: readonly [];
|
|
@@ -526,37 +667,29 @@ export declare const coinABI: readonly [{
|
|
|
526
667
|
readonly name: "version";
|
|
527
668
|
readonly internalType: "uint8";
|
|
528
669
|
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
670
|
}, {
|
|
538
671
|
readonly name: "numPositions";
|
|
539
672
|
readonly internalType: "uint16";
|
|
540
673
|
readonly type: "uint16";
|
|
541
674
|
}, {
|
|
542
|
-
readonly name: "
|
|
543
|
-
readonly internalType: "
|
|
544
|
-
readonly type: "
|
|
675
|
+
readonly name: "fee";
|
|
676
|
+
readonly internalType: "uint24";
|
|
677
|
+
readonly type: "uint24";
|
|
678
|
+
}, {
|
|
679
|
+
readonly name: "tickSpacing";
|
|
680
|
+
readonly internalType: "int24";
|
|
681
|
+
readonly type: "int24";
|
|
545
682
|
}];
|
|
546
683
|
readonly stateMutability: "view";
|
|
547
684
|
}, {
|
|
548
685
|
readonly type: "function";
|
|
549
|
-
readonly inputs: readonly [
|
|
550
|
-
|
|
686
|
+
readonly inputs: readonly [{
|
|
687
|
+
readonly name: "";
|
|
688
|
+
readonly internalType: "uint256";
|
|
689
|
+
readonly type: "uint256";
|
|
690
|
+
}];
|
|
691
|
+
readonly name: "positions";
|
|
551
692
|
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
693
|
readonly name: "tickLower";
|
|
561
694
|
readonly internalType: "int24";
|
|
562
695
|
readonly type: "int24";
|
|
@@ -565,25 +698,9 @@ export declare const coinABI: readonly [{
|
|
|
565
698
|
readonly internalType: "int24";
|
|
566
699
|
readonly type: "int24";
|
|
567
700
|
}, {
|
|
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";
|
|
701
|
+
readonly name: "liquidity";
|
|
702
|
+
readonly internalType: "uint128";
|
|
703
|
+
readonly type: "uint128";
|
|
587
704
|
}];
|
|
588
705
|
readonly stateMutability: "view";
|
|
589
706
|
}, {
|
|
@@ -1355,10 +1472,6 @@ export declare const coinABI: readonly [{
|
|
|
1355
1472
|
readonly type: "error";
|
|
1356
1473
|
readonly inputs: readonly [];
|
|
1357
1474
|
readonly name: "InvalidPoolVersion";
|
|
1358
|
-
}, {
|
|
1359
|
-
readonly type: "error";
|
|
1360
|
-
readonly inputs: readonly [];
|
|
1361
|
-
readonly name: "InvalidPoolVersion";
|
|
1362
1475
|
}, {
|
|
1363
1476
|
readonly type: "error";
|
|
1364
1477
|
readonly inputs: readonly [{
|
|
@@ -1460,80 +1573,82 @@ export declare const coinABI: readonly [{
|
|
|
1460
1573
|
readonly inputs: readonly [];
|
|
1461
1574
|
readonly name: "UseRevokeOwnershipToRemoveSelf";
|
|
1462
1575
|
}];
|
|
1463
|
-
export declare const
|
|
1464
|
-
readonly type: "
|
|
1576
|
+
export declare const coinV4ABI: readonly [{
|
|
1577
|
+
readonly type: "constructor";
|
|
1465
1578
|
readonly inputs: readonly [{
|
|
1466
|
-
readonly name: "
|
|
1467
|
-
readonly internalType: "
|
|
1468
|
-
readonly type: "
|
|
1579
|
+
readonly name: "protocolRewardRecipient_";
|
|
1580
|
+
readonly internalType: "address";
|
|
1581
|
+
readonly type: "address";
|
|
1469
1582
|
}, {
|
|
1470
|
-
readonly name: "
|
|
1471
|
-
readonly internalType: "
|
|
1472
|
-
readonly type: "
|
|
1583
|
+
readonly name: "protocolRewards_";
|
|
1584
|
+
readonly internalType: "address";
|
|
1585
|
+
readonly type: "address";
|
|
1473
1586
|
}, {
|
|
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";
|
|
1587
|
+
readonly name: "poolManager_";
|
|
1588
|
+
readonly internalType: "contract IPoolManager";
|
|
1589
|
+
readonly type: "address";
|
|
1483
1590
|
}, {
|
|
1484
|
-
readonly name: "
|
|
1485
|
-
readonly internalType: "
|
|
1486
|
-
readonly type: "
|
|
1591
|
+
readonly name: "airlock_";
|
|
1592
|
+
readonly internalType: "address";
|
|
1593
|
+
readonly type: "address";
|
|
1594
|
+
}, {
|
|
1595
|
+
readonly name: "hooks_";
|
|
1596
|
+
readonly internalType: "contract IHooks";
|
|
1597
|
+
readonly type: "address";
|
|
1487
1598
|
}];
|
|
1488
1599
|
readonly stateMutability: "nonpayable";
|
|
1600
|
+
}, {
|
|
1601
|
+
readonly type: "function";
|
|
1602
|
+
readonly inputs: readonly [];
|
|
1603
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
1604
|
+
readonly outputs: readonly [{
|
|
1605
|
+
readonly name: "";
|
|
1606
|
+
readonly internalType: "bytes32";
|
|
1607
|
+
readonly type: "bytes32";
|
|
1608
|
+
}];
|
|
1609
|
+
readonly stateMutability: "view";
|
|
1489
1610
|
}, {
|
|
1490
1611
|
readonly type: "function";
|
|
1491
1612
|
readonly inputs: readonly [{
|
|
1492
|
-
readonly name: "
|
|
1613
|
+
readonly name: "account";
|
|
1493
1614
|
readonly internalType: "address";
|
|
1494
1615
|
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
1616
|
}];
|
|
1512
|
-
readonly name: "
|
|
1513
|
-
readonly outputs: readonly [
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
readonly name: "
|
|
1519
|
-
readonly internalType: "
|
|
1520
|
-
readonly type: "
|
|
1617
|
+
readonly name: "addOwner";
|
|
1618
|
+
readonly outputs: readonly [];
|
|
1619
|
+
readonly stateMutability: "nonpayable";
|
|
1620
|
+
}, {
|
|
1621
|
+
readonly type: "function";
|
|
1622
|
+
readonly inputs: readonly [{
|
|
1623
|
+
readonly name: "accounts";
|
|
1624
|
+
readonly internalType: "address[]";
|
|
1625
|
+
readonly type: "address[]";
|
|
1521
1626
|
}];
|
|
1627
|
+
readonly name: "addOwners";
|
|
1628
|
+
readonly outputs: readonly [];
|
|
1522
1629
|
readonly stateMutability: "nonpayable";
|
|
1523
1630
|
}, {
|
|
1524
1631
|
readonly type: "function";
|
|
1525
1632
|
readonly inputs: readonly [];
|
|
1526
|
-
readonly name: "
|
|
1633
|
+
readonly name: "airlock";
|
|
1527
1634
|
readonly outputs: readonly [{
|
|
1528
1635
|
readonly name: "";
|
|
1529
|
-
readonly internalType: "
|
|
1530
|
-
readonly type: "
|
|
1636
|
+
readonly internalType: "address";
|
|
1637
|
+
readonly type: "address";
|
|
1531
1638
|
}];
|
|
1532
1639
|
readonly stateMutability: "view";
|
|
1533
1640
|
}, {
|
|
1534
1641
|
readonly type: "function";
|
|
1535
|
-
readonly inputs: readonly [
|
|
1536
|
-
|
|
1642
|
+
readonly inputs: readonly [{
|
|
1643
|
+
readonly name: "owner";
|
|
1644
|
+
readonly internalType: "address";
|
|
1645
|
+
readonly type: "address";
|
|
1646
|
+
}, {
|
|
1647
|
+
readonly name: "spender";
|
|
1648
|
+
readonly internalType: "address";
|
|
1649
|
+
readonly type: "address";
|
|
1650
|
+
}];
|
|
1651
|
+
readonly name: "allowance";
|
|
1537
1652
|
readonly outputs: readonly [{
|
|
1538
1653
|
readonly name: "";
|
|
1539
1654
|
readonly internalType: "uint256";
|
|
@@ -1543,17 +1658,2036 @@ export declare const iUniswapV3PoolABI: readonly [{
|
|
|
1543
1658
|
}, {
|
|
1544
1659
|
readonly type: "function";
|
|
1545
1660
|
readonly inputs: readonly [{
|
|
1546
|
-
readonly name: "
|
|
1547
|
-
readonly internalType: "
|
|
1548
|
-
readonly type: "
|
|
1661
|
+
readonly name: "spender";
|
|
1662
|
+
readonly internalType: "address";
|
|
1663
|
+
readonly type: "address";
|
|
1664
|
+
}, {
|
|
1665
|
+
readonly name: "value";
|
|
1666
|
+
readonly internalType: "uint256";
|
|
1667
|
+
readonly type: "uint256";
|
|
1668
|
+
}];
|
|
1669
|
+
readonly name: "approve";
|
|
1670
|
+
readonly outputs: readonly [{
|
|
1671
|
+
readonly name: "";
|
|
1672
|
+
readonly internalType: "bool";
|
|
1673
|
+
readonly type: "bool";
|
|
1549
1674
|
}];
|
|
1550
|
-
readonly name: "initialize";
|
|
1551
|
-
readonly outputs: readonly [];
|
|
1552
1675
|
readonly stateMutability: "nonpayable";
|
|
1553
1676
|
}, {
|
|
1554
1677
|
readonly type: "function";
|
|
1555
1678
|
readonly inputs: readonly [{
|
|
1556
|
-
readonly name: "
|
|
1679
|
+
readonly name: "account";
|
|
1680
|
+
readonly internalType: "address";
|
|
1681
|
+
readonly type: "address";
|
|
1682
|
+
}];
|
|
1683
|
+
readonly name: "balanceOf";
|
|
1684
|
+
readonly outputs: readonly [{
|
|
1685
|
+
readonly name: "";
|
|
1686
|
+
readonly internalType: "uint256";
|
|
1687
|
+
readonly type: "uint256";
|
|
1688
|
+
}];
|
|
1689
|
+
readonly stateMutability: "view";
|
|
1690
|
+
}, {
|
|
1691
|
+
readonly type: "function";
|
|
1692
|
+
readonly inputs: readonly [{
|
|
1693
|
+
readonly name: "amount";
|
|
1694
|
+
readonly internalType: "uint256";
|
|
1695
|
+
readonly type: "uint256";
|
|
1696
|
+
}];
|
|
1697
|
+
readonly name: "burn";
|
|
1698
|
+
readonly outputs: readonly [];
|
|
1699
|
+
readonly stateMutability: "nonpayable";
|
|
1700
|
+
}, {
|
|
1701
|
+
readonly type: "function";
|
|
1702
|
+
readonly inputs: readonly [];
|
|
1703
|
+
readonly name: "contractURI";
|
|
1704
|
+
readonly outputs: readonly [{
|
|
1705
|
+
readonly name: "";
|
|
1706
|
+
readonly internalType: "string";
|
|
1707
|
+
readonly type: "string";
|
|
1708
|
+
}];
|
|
1709
|
+
readonly stateMutability: "view";
|
|
1710
|
+
}, {
|
|
1711
|
+
readonly type: "function";
|
|
1712
|
+
readonly inputs: readonly [];
|
|
1713
|
+
readonly name: "contractVersion";
|
|
1714
|
+
readonly outputs: readonly [{
|
|
1715
|
+
readonly name: "";
|
|
1716
|
+
readonly internalType: "string";
|
|
1717
|
+
readonly type: "string";
|
|
1718
|
+
}];
|
|
1719
|
+
readonly stateMutability: "pure";
|
|
1720
|
+
}, {
|
|
1721
|
+
readonly type: "function";
|
|
1722
|
+
readonly inputs: readonly [];
|
|
1723
|
+
readonly name: "currency";
|
|
1724
|
+
readonly outputs: readonly [{
|
|
1725
|
+
readonly name: "";
|
|
1726
|
+
readonly internalType: "address";
|
|
1727
|
+
readonly type: "address";
|
|
1728
|
+
}];
|
|
1729
|
+
readonly stateMutability: "view";
|
|
1730
|
+
}, {
|
|
1731
|
+
readonly type: "function";
|
|
1732
|
+
readonly inputs: readonly [];
|
|
1733
|
+
readonly name: "decimals";
|
|
1734
|
+
readonly outputs: readonly [{
|
|
1735
|
+
readonly name: "";
|
|
1736
|
+
readonly internalType: "uint8";
|
|
1737
|
+
readonly type: "uint8";
|
|
1738
|
+
}];
|
|
1739
|
+
readonly stateMutability: "view";
|
|
1740
|
+
}, {
|
|
1741
|
+
readonly type: "function";
|
|
1742
|
+
readonly inputs: readonly [];
|
|
1743
|
+
readonly name: "dopplerFeeRecipient";
|
|
1744
|
+
readonly outputs: readonly [{
|
|
1745
|
+
readonly name: "";
|
|
1746
|
+
readonly internalType: "address";
|
|
1747
|
+
readonly type: "address";
|
|
1748
|
+
}];
|
|
1749
|
+
readonly stateMutability: "view";
|
|
1750
|
+
}, {
|
|
1751
|
+
readonly type: "function";
|
|
1752
|
+
readonly inputs: readonly [];
|
|
1753
|
+
readonly name: "eip712Domain";
|
|
1754
|
+
readonly outputs: readonly [{
|
|
1755
|
+
readonly name: "fields";
|
|
1756
|
+
readonly internalType: "bytes1";
|
|
1757
|
+
readonly type: "bytes1";
|
|
1758
|
+
}, {
|
|
1759
|
+
readonly name: "name";
|
|
1760
|
+
readonly internalType: "string";
|
|
1761
|
+
readonly type: "string";
|
|
1762
|
+
}, {
|
|
1763
|
+
readonly name: "version";
|
|
1764
|
+
readonly internalType: "string";
|
|
1765
|
+
readonly type: "string";
|
|
1766
|
+
}, {
|
|
1767
|
+
readonly name: "chainId";
|
|
1768
|
+
readonly internalType: "uint256";
|
|
1769
|
+
readonly type: "uint256";
|
|
1770
|
+
}, {
|
|
1771
|
+
readonly name: "verifyingContract";
|
|
1772
|
+
readonly internalType: "address";
|
|
1773
|
+
readonly type: "address";
|
|
1774
|
+
}, {
|
|
1775
|
+
readonly name: "salt";
|
|
1776
|
+
readonly internalType: "bytes32";
|
|
1777
|
+
readonly type: "bytes32";
|
|
1778
|
+
}, {
|
|
1779
|
+
readonly name: "extensions";
|
|
1780
|
+
readonly internalType: "uint256[]";
|
|
1781
|
+
readonly type: "uint256[]";
|
|
1782
|
+
}];
|
|
1783
|
+
readonly stateMutability: "view";
|
|
1784
|
+
}, {
|
|
1785
|
+
readonly type: "function";
|
|
1786
|
+
readonly inputs: readonly [{
|
|
1787
|
+
readonly name: "coinVersionLookup";
|
|
1788
|
+
readonly internalType: "contract IDeployedCoinVersionLookup";
|
|
1789
|
+
readonly type: "address";
|
|
1790
|
+
}];
|
|
1791
|
+
readonly name: "getPayoutSwapPath";
|
|
1792
|
+
readonly outputs: readonly [{
|
|
1793
|
+
readonly name: "payoutSwapPath";
|
|
1794
|
+
readonly internalType: "struct IHasSwapPath.PayoutSwapPath";
|
|
1795
|
+
readonly type: "tuple";
|
|
1796
|
+
readonly components: readonly [{
|
|
1797
|
+
readonly name: "path";
|
|
1798
|
+
readonly internalType: "struct PathKey[]";
|
|
1799
|
+
readonly type: "tuple[]";
|
|
1800
|
+
readonly components: readonly [{
|
|
1801
|
+
readonly name: "intermediateCurrency";
|
|
1802
|
+
readonly internalType: "Currency";
|
|
1803
|
+
readonly type: "address";
|
|
1804
|
+
}, {
|
|
1805
|
+
readonly name: "fee";
|
|
1806
|
+
readonly internalType: "uint24";
|
|
1807
|
+
readonly type: "uint24";
|
|
1808
|
+
}, {
|
|
1809
|
+
readonly name: "tickSpacing";
|
|
1810
|
+
readonly internalType: "int24";
|
|
1811
|
+
readonly type: "int24";
|
|
1812
|
+
}, {
|
|
1813
|
+
readonly name: "hooks";
|
|
1814
|
+
readonly internalType: "contract IHooks";
|
|
1815
|
+
readonly type: "address";
|
|
1816
|
+
}, {
|
|
1817
|
+
readonly name: "hookData";
|
|
1818
|
+
readonly internalType: "bytes";
|
|
1819
|
+
readonly type: "bytes";
|
|
1820
|
+
}];
|
|
1821
|
+
}, {
|
|
1822
|
+
readonly name: "currencyIn";
|
|
1823
|
+
readonly internalType: "Currency";
|
|
1824
|
+
readonly type: "address";
|
|
1825
|
+
}];
|
|
1826
|
+
}];
|
|
1827
|
+
readonly stateMutability: "view";
|
|
1828
|
+
}, {
|
|
1829
|
+
readonly type: "function";
|
|
1830
|
+
readonly inputs: readonly [];
|
|
1831
|
+
readonly name: "getPoolConfiguration";
|
|
1832
|
+
readonly outputs: readonly [{
|
|
1833
|
+
readonly name: "";
|
|
1834
|
+
readonly internalType: "struct PoolConfiguration";
|
|
1835
|
+
readonly type: "tuple";
|
|
1836
|
+
readonly components: readonly [{
|
|
1837
|
+
readonly name: "version";
|
|
1838
|
+
readonly internalType: "uint8";
|
|
1839
|
+
readonly type: "uint8";
|
|
1840
|
+
}, {
|
|
1841
|
+
readonly name: "numPositions";
|
|
1842
|
+
readonly internalType: "uint16";
|
|
1843
|
+
readonly type: "uint16";
|
|
1844
|
+
}, {
|
|
1845
|
+
readonly name: "fee";
|
|
1846
|
+
readonly internalType: "uint24";
|
|
1847
|
+
readonly type: "uint24";
|
|
1848
|
+
}, {
|
|
1849
|
+
readonly name: "tickSpacing";
|
|
1850
|
+
readonly internalType: "int24";
|
|
1851
|
+
readonly type: "int24";
|
|
1852
|
+
}, {
|
|
1853
|
+
readonly name: "numDiscoveryPositions";
|
|
1854
|
+
readonly internalType: "uint16[]";
|
|
1855
|
+
readonly type: "uint16[]";
|
|
1856
|
+
}, {
|
|
1857
|
+
readonly name: "tickLower";
|
|
1858
|
+
readonly internalType: "int24[]";
|
|
1859
|
+
readonly type: "int24[]";
|
|
1860
|
+
}, {
|
|
1861
|
+
readonly name: "tickUpper";
|
|
1862
|
+
readonly internalType: "int24[]";
|
|
1863
|
+
readonly type: "int24[]";
|
|
1864
|
+
}, {
|
|
1865
|
+
readonly name: "maxDiscoverySupplyShare";
|
|
1866
|
+
readonly internalType: "uint256[]";
|
|
1867
|
+
readonly type: "uint256[]";
|
|
1868
|
+
}];
|
|
1869
|
+
}];
|
|
1870
|
+
readonly stateMutability: "view";
|
|
1871
|
+
}, {
|
|
1872
|
+
readonly type: "function";
|
|
1873
|
+
readonly inputs: readonly [];
|
|
1874
|
+
readonly name: "getPoolKey";
|
|
1875
|
+
readonly outputs: readonly [{
|
|
1876
|
+
readonly name: "";
|
|
1877
|
+
readonly internalType: "struct PoolKey";
|
|
1878
|
+
readonly type: "tuple";
|
|
1879
|
+
readonly components: readonly [{
|
|
1880
|
+
readonly name: "currency0";
|
|
1881
|
+
readonly internalType: "Currency";
|
|
1882
|
+
readonly type: "address";
|
|
1883
|
+
}, {
|
|
1884
|
+
readonly name: "currency1";
|
|
1885
|
+
readonly internalType: "Currency";
|
|
1886
|
+
readonly type: "address";
|
|
1887
|
+
}, {
|
|
1888
|
+
readonly name: "fee";
|
|
1889
|
+
readonly internalType: "uint24";
|
|
1890
|
+
readonly type: "uint24";
|
|
1891
|
+
}, {
|
|
1892
|
+
readonly name: "tickSpacing";
|
|
1893
|
+
readonly internalType: "int24";
|
|
1894
|
+
readonly type: "int24";
|
|
1895
|
+
}, {
|
|
1896
|
+
readonly name: "hooks";
|
|
1897
|
+
readonly internalType: "contract IHooks";
|
|
1898
|
+
readonly type: "address";
|
|
1899
|
+
}];
|
|
1900
|
+
}];
|
|
1901
|
+
readonly stateMutability: "view";
|
|
1902
|
+
}, {
|
|
1903
|
+
readonly type: "function";
|
|
1904
|
+
readonly inputs: readonly [];
|
|
1905
|
+
readonly name: "hooks";
|
|
1906
|
+
readonly outputs: readonly [{
|
|
1907
|
+
readonly name: "";
|
|
1908
|
+
readonly internalType: "contract IHooks";
|
|
1909
|
+
readonly type: "address";
|
|
1910
|
+
}];
|
|
1911
|
+
readonly stateMutability: "view";
|
|
1912
|
+
}, {
|
|
1913
|
+
readonly type: "function";
|
|
1914
|
+
readonly inputs: readonly [{
|
|
1915
|
+
readonly name: "payoutRecipient_";
|
|
1916
|
+
readonly internalType: "address";
|
|
1917
|
+
readonly type: "address";
|
|
1918
|
+
}, {
|
|
1919
|
+
readonly name: "owners_";
|
|
1920
|
+
readonly internalType: "address[]";
|
|
1921
|
+
readonly type: "address[]";
|
|
1922
|
+
}, {
|
|
1923
|
+
readonly name: "tokenURI_";
|
|
1924
|
+
readonly internalType: "string";
|
|
1925
|
+
readonly type: "string";
|
|
1926
|
+
}, {
|
|
1927
|
+
readonly name: "name_";
|
|
1928
|
+
readonly internalType: "string";
|
|
1929
|
+
readonly type: "string";
|
|
1930
|
+
}, {
|
|
1931
|
+
readonly name: "symbol_";
|
|
1932
|
+
readonly internalType: "string";
|
|
1933
|
+
readonly type: "string";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly name: "platformReferrer_";
|
|
1936
|
+
readonly internalType: "address";
|
|
1937
|
+
readonly type: "address";
|
|
1938
|
+
}, {
|
|
1939
|
+
readonly name: "currency_";
|
|
1940
|
+
readonly internalType: "address";
|
|
1941
|
+
readonly type: "address";
|
|
1942
|
+
}, {
|
|
1943
|
+
readonly name: "poolKey_";
|
|
1944
|
+
readonly internalType: "struct PoolKey";
|
|
1945
|
+
readonly type: "tuple";
|
|
1946
|
+
readonly components: readonly [{
|
|
1947
|
+
readonly name: "currency0";
|
|
1948
|
+
readonly internalType: "Currency";
|
|
1949
|
+
readonly type: "address";
|
|
1950
|
+
}, {
|
|
1951
|
+
readonly name: "currency1";
|
|
1952
|
+
readonly internalType: "Currency";
|
|
1953
|
+
readonly type: "address";
|
|
1954
|
+
}, {
|
|
1955
|
+
readonly name: "fee";
|
|
1956
|
+
readonly internalType: "uint24";
|
|
1957
|
+
readonly type: "uint24";
|
|
1958
|
+
}, {
|
|
1959
|
+
readonly name: "tickSpacing";
|
|
1960
|
+
readonly internalType: "int24";
|
|
1961
|
+
readonly type: "int24";
|
|
1962
|
+
}, {
|
|
1963
|
+
readonly name: "hooks";
|
|
1964
|
+
readonly internalType: "contract IHooks";
|
|
1965
|
+
readonly type: "address";
|
|
1966
|
+
}];
|
|
1967
|
+
}, {
|
|
1968
|
+
readonly name: "sqrtPriceX96";
|
|
1969
|
+
readonly internalType: "uint160";
|
|
1970
|
+
readonly type: "uint160";
|
|
1971
|
+
}, {
|
|
1972
|
+
readonly name: "poolConfiguration_";
|
|
1973
|
+
readonly internalType: "struct PoolConfiguration";
|
|
1974
|
+
readonly type: "tuple";
|
|
1975
|
+
readonly components: readonly [{
|
|
1976
|
+
readonly name: "version";
|
|
1977
|
+
readonly internalType: "uint8";
|
|
1978
|
+
readonly type: "uint8";
|
|
1979
|
+
}, {
|
|
1980
|
+
readonly name: "numPositions";
|
|
1981
|
+
readonly internalType: "uint16";
|
|
1982
|
+
readonly type: "uint16";
|
|
1983
|
+
}, {
|
|
1984
|
+
readonly name: "fee";
|
|
1985
|
+
readonly internalType: "uint24";
|
|
1986
|
+
readonly type: "uint24";
|
|
1987
|
+
}, {
|
|
1988
|
+
readonly name: "tickSpacing";
|
|
1989
|
+
readonly internalType: "int24";
|
|
1990
|
+
readonly type: "int24";
|
|
1991
|
+
}, {
|
|
1992
|
+
readonly name: "numDiscoveryPositions";
|
|
1993
|
+
readonly internalType: "uint16[]";
|
|
1994
|
+
readonly type: "uint16[]";
|
|
1995
|
+
}, {
|
|
1996
|
+
readonly name: "tickLower";
|
|
1997
|
+
readonly internalType: "int24[]";
|
|
1998
|
+
readonly type: "int24[]";
|
|
1999
|
+
}, {
|
|
2000
|
+
readonly name: "tickUpper";
|
|
2001
|
+
readonly internalType: "int24[]";
|
|
2002
|
+
readonly type: "int24[]";
|
|
2003
|
+
}, {
|
|
2004
|
+
readonly name: "maxDiscoverySupplyShare";
|
|
2005
|
+
readonly internalType: "uint256[]";
|
|
2006
|
+
readonly type: "uint256[]";
|
|
2007
|
+
}];
|
|
2008
|
+
}];
|
|
2009
|
+
readonly name: "initialize";
|
|
2010
|
+
readonly outputs: readonly [];
|
|
2011
|
+
readonly stateMutability: "nonpayable";
|
|
2012
|
+
}, {
|
|
2013
|
+
readonly type: "function";
|
|
2014
|
+
readonly inputs: readonly [{
|
|
2015
|
+
readonly name: "account";
|
|
2016
|
+
readonly internalType: "address";
|
|
2017
|
+
readonly type: "address";
|
|
2018
|
+
}];
|
|
2019
|
+
readonly name: "isOwner";
|
|
2020
|
+
readonly outputs: readonly [{
|
|
2021
|
+
readonly name: "";
|
|
2022
|
+
readonly internalType: "bool";
|
|
2023
|
+
readonly type: "bool";
|
|
2024
|
+
}];
|
|
2025
|
+
readonly stateMutability: "view";
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly type: "function";
|
|
2028
|
+
readonly inputs: readonly [];
|
|
2029
|
+
readonly name: "name";
|
|
2030
|
+
readonly outputs: readonly [{
|
|
2031
|
+
readonly name: "";
|
|
2032
|
+
readonly internalType: "string";
|
|
2033
|
+
readonly type: "string";
|
|
2034
|
+
}];
|
|
2035
|
+
readonly stateMutability: "view";
|
|
2036
|
+
}, {
|
|
2037
|
+
readonly type: "function";
|
|
2038
|
+
readonly inputs: readonly [{
|
|
2039
|
+
readonly name: "owner";
|
|
2040
|
+
readonly internalType: "address";
|
|
2041
|
+
readonly type: "address";
|
|
2042
|
+
}];
|
|
2043
|
+
readonly name: "nonces";
|
|
2044
|
+
readonly outputs: readonly [{
|
|
2045
|
+
readonly name: "";
|
|
2046
|
+
readonly internalType: "uint256";
|
|
2047
|
+
readonly type: "uint256";
|
|
2048
|
+
}];
|
|
2049
|
+
readonly stateMutability: "view";
|
|
2050
|
+
}, {
|
|
2051
|
+
readonly type: "function";
|
|
2052
|
+
readonly inputs: readonly [];
|
|
2053
|
+
readonly name: "owners";
|
|
2054
|
+
readonly outputs: readonly [{
|
|
2055
|
+
readonly name: "";
|
|
2056
|
+
readonly internalType: "address[]";
|
|
2057
|
+
readonly type: "address[]";
|
|
2058
|
+
}];
|
|
2059
|
+
readonly stateMutability: "view";
|
|
2060
|
+
}, {
|
|
2061
|
+
readonly type: "function";
|
|
2062
|
+
readonly inputs: readonly [];
|
|
2063
|
+
readonly name: "payoutRecipient";
|
|
2064
|
+
readonly outputs: readonly [{
|
|
2065
|
+
readonly name: "";
|
|
2066
|
+
readonly internalType: "address";
|
|
2067
|
+
readonly type: "address";
|
|
2068
|
+
}];
|
|
2069
|
+
readonly stateMutability: "view";
|
|
2070
|
+
}, {
|
|
2071
|
+
readonly type: "function";
|
|
2072
|
+
readonly inputs: readonly [{
|
|
2073
|
+
readonly name: "owner";
|
|
2074
|
+
readonly internalType: "address";
|
|
2075
|
+
readonly type: "address";
|
|
2076
|
+
}, {
|
|
2077
|
+
readonly name: "spender";
|
|
2078
|
+
readonly internalType: "address";
|
|
2079
|
+
readonly type: "address";
|
|
2080
|
+
}, {
|
|
2081
|
+
readonly name: "value";
|
|
2082
|
+
readonly internalType: "uint256";
|
|
2083
|
+
readonly type: "uint256";
|
|
2084
|
+
}, {
|
|
2085
|
+
readonly name: "deadline";
|
|
2086
|
+
readonly internalType: "uint256";
|
|
2087
|
+
readonly type: "uint256";
|
|
2088
|
+
}, {
|
|
2089
|
+
readonly name: "v";
|
|
2090
|
+
readonly internalType: "uint8";
|
|
2091
|
+
readonly type: "uint8";
|
|
2092
|
+
}, {
|
|
2093
|
+
readonly name: "r";
|
|
2094
|
+
readonly internalType: "bytes32";
|
|
2095
|
+
readonly type: "bytes32";
|
|
2096
|
+
}, {
|
|
2097
|
+
readonly name: "s";
|
|
2098
|
+
readonly internalType: "bytes32";
|
|
2099
|
+
readonly type: "bytes32";
|
|
2100
|
+
}];
|
|
2101
|
+
readonly name: "permit";
|
|
2102
|
+
readonly outputs: readonly [];
|
|
2103
|
+
readonly stateMutability: "nonpayable";
|
|
2104
|
+
}, {
|
|
2105
|
+
readonly type: "function";
|
|
2106
|
+
readonly inputs: readonly [];
|
|
2107
|
+
readonly name: "platformReferrer";
|
|
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: "poolManager";
|
|
2118
|
+
readonly outputs: readonly [{
|
|
2119
|
+
readonly name: "";
|
|
2120
|
+
readonly internalType: "contract IPoolManager";
|
|
2121
|
+
readonly type: "address";
|
|
2122
|
+
}];
|
|
2123
|
+
readonly stateMutability: "view";
|
|
2124
|
+
}, {
|
|
2125
|
+
readonly type: "function";
|
|
2126
|
+
readonly inputs: readonly [];
|
|
2127
|
+
readonly name: "protocolRewardRecipient";
|
|
2128
|
+
readonly outputs: readonly [{
|
|
2129
|
+
readonly name: "";
|
|
2130
|
+
readonly internalType: "address";
|
|
2131
|
+
readonly type: "address";
|
|
2132
|
+
}];
|
|
2133
|
+
readonly stateMutability: "view";
|
|
2134
|
+
}, {
|
|
2135
|
+
readonly type: "function";
|
|
2136
|
+
readonly inputs: readonly [];
|
|
2137
|
+
readonly name: "protocolRewards";
|
|
2138
|
+
readonly outputs: readonly [{
|
|
2139
|
+
readonly name: "";
|
|
2140
|
+
readonly internalType: "address";
|
|
2141
|
+
readonly type: "address";
|
|
2142
|
+
}];
|
|
2143
|
+
readonly stateMutability: "view";
|
|
2144
|
+
}, {
|
|
2145
|
+
readonly type: "function";
|
|
2146
|
+
readonly inputs: readonly [{
|
|
2147
|
+
readonly name: "account";
|
|
2148
|
+
readonly internalType: "address";
|
|
2149
|
+
readonly type: "address";
|
|
2150
|
+
}];
|
|
2151
|
+
readonly name: "removeOwner";
|
|
2152
|
+
readonly outputs: readonly [];
|
|
2153
|
+
readonly stateMutability: "nonpayable";
|
|
2154
|
+
}, {
|
|
2155
|
+
readonly type: "function";
|
|
2156
|
+
readonly inputs: readonly [{
|
|
2157
|
+
readonly name: "accounts";
|
|
2158
|
+
readonly internalType: "address[]";
|
|
2159
|
+
readonly type: "address[]";
|
|
2160
|
+
}];
|
|
2161
|
+
readonly name: "removeOwners";
|
|
2162
|
+
readonly outputs: readonly [];
|
|
2163
|
+
readonly stateMutability: "nonpayable";
|
|
2164
|
+
}, {
|
|
2165
|
+
readonly type: "function";
|
|
2166
|
+
readonly inputs: readonly [];
|
|
2167
|
+
readonly name: "revokeOwnership";
|
|
2168
|
+
readonly outputs: readonly [];
|
|
2169
|
+
readonly stateMutability: "nonpayable";
|
|
2170
|
+
}, {
|
|
2171
|
+
readonly type: "function";
|
|
2172
|
+
readonly inputs: readonly [{
|
|
2173
|
+
readonly name: "newURI";
|
|
2174
|
+
readonly internalType: "string";
|
|
2175
|
+
readonly type: "string";
|
|
2176
|
+
}];
|
|
2177
|
+
readonly name: "setContractURI";
|
|
2178
|
+
readonly outputs: readonly [];
|
|
2179
|
+
readonly stateMutability: "nonpayable";
|
|
2180
|
+
}, {
|
|
2181
|
+
readonly type: "function";
|
|
2182
|
+
readonly inputs: readonly [{
|
|
2183
|
+
readonly name: "newPayoutRecipient";
|
|
2184
|
+
readonly internalType: "address";
|
|
2185
|
+
readonly type: "address";
|
|
2186
|
+
}];
|
|
2187
|
+
readonly name: "setPayoutRecipient";
|
|
2188
|
+
readonly outputs: readonly [];
|
|
2189
|
+
readonly stateMutability: "nonpayable";
|
|
2190
|
+
}, {
|
|
2191
|
+
readonly type: "function";
|
|
2192
|
+
readonly inputs: readonly [{
|
|
2193
|
+
readonly name: "interfaceId";
|
|
2194
|
+
readonly internalType: "bytes4";
|
|
2195
|
+
readonly type: "bytes4";
|
|
2196
|
+
}];
|
|
2197
|
+
readonly name: "supportsInterface";
|
|
2198
|
+
readonly outputs: readonly [{
|
|
2199
|
+
readonly name: "";
|
|
2200
|
+
readonly internalType: "bool";
|
|
2201
|
+
readonly type: "bool";
|
|
2202
|
+
}];
|
|
2203
|
+
readonly stateMutability: "pure";
|
|
2204
|
+
}, {
|
|
2205
|
+
readonly type: "function";
|
|
2206
|
+
readonly inputs: readonly [];
|
|
2207
|
+
readonly name: "symbol";
|
|
2208
|
+
readonly outputs: readonly [{
|
|
2209
|
+
readonly name: "";
|
|
2210
|
+
readonly internalType: "string";
|
|
2211
|
+
readonly type: "string";
|
|
2212
|
+
}];
|
|
2213
|
+
readonly stateMutability: "view";
|
|
2214
|
+
}, {
|
|
2215
|
+
readonly type: "function";
|
|
2216
|
+
readonly inputs: readonly [];
|
|
2217
|
+
readonly name: "tokenURI";
|
|
2218
|
+
readonly outputs: readonly [{
|
|
2219
|
+
readonly name: "";
|
|
2220
|
+
readonly internalType: "string";
|
|
2221
|
+
readonly type: "string";
|
|
2222
|
+
}];
|
|
2223
|
+
readonly stateMutability: "view";
|
|
2224
|
+
}, {
|
|
2225
|
+
readonly type: "function";
|
|
2226
|
+
readonly inputs: readonly [];
|
|
2227
|
+
readonly name: "totalSupply";
|
|
2228
|
+
readonly outputs: readonly [{
|
|
2229
|
+
readonly name: "";
|
|
2230
|
+
readonly internalType: "uint256";
|
|
2231
|
+
readonly type: "uint256";
|
|
2232
|
+
}];
|
|
2233
|
+
readonly stateMutability: "view";
|
|
2234
|
+
}, {
|
|
2235
|
+
readonly type: "function";
|
|
2236
|
+
readonly inputs: readonly [{
|
|
2237
|
+
readonly name: "to";
|
|
2238
|
+
readonly internalType: "address";
|
|
2239
|
+
readonly type: "address";
|
|
2240
|
+
}, {
|
|
2241
|
+
readonly name: "value";
|
|
2242
|
+
readonly internalType: "uint256";
|
|
2243
|
+
readonly type: "uint256";
|
|
2244
|
+
}];
|
|
2245
|
+
readonly name: "transfer";
|
|
2246
|
+
readonly outputs: readonly [{
|
|
2247
|
+
readonly name: "";
|
|
2248
|
+
readonly internalType: "bool";
|
|
2249
|
+
readonly type: "bool";
|
|
2250
|
+
}];
|
|
2251
|
+
readonly stateMutability: "nonpayable";
|
|
2252
|
+
}, {
|
|
2253
|
+
readonly type: "function";
|
|
2254
|
+
readonly inputs: readonly [{
|
|
2255
|
+
readonly name: "from";
|
|
2256
|
+
readonly internalType: "address";
|
|
2257
|
+
readonly type: "address";
|
|
2258
|
+
}, {
|
|
2259
|
+
readonly name: "to";
|
|
2260
|
+
readonly internalType: "address";
|
|
2261
|
+
readonly type: "address";
|
|
2262
|
+
}, {
|
|
2263
|
+
readonly name: "value";
|
|
2264
|
+
readonly internalType: "uint256";
|
|
2265
|
+
readonly type: "uint256";
|
|
2266
|
+
}];
|
|
2267
|
+
readonly name: "transferFrom";
|
|
2268
|
+
readonly outputs: readonly [{
|
|
2269
|
+
readonly name: "";
|
|
2270
|
+
readonly internalType: "bool";
|
|
2271
|
+
readonly type: "bool";
|
|
2272
|
+
}];
|
|
2273
|
+
readonly stateMutability: "nonpayable";
|
|
2274
|
+
}, {
|
|
2275
|
+
readonly type: "event";
|
|
2276
|
+
readonly anonymous: false;
|
|
2277
|
+
readonly inputs: readonly [{
|
|
2278
|
+
readonly name: "owner";
|
|
2279
|
+
readonly internalType: "address";
|
|
2280
|
+
readonly type: "address";
|
|
2281
|
+
readonly indexed: true;
|
|
2282
|
+
}, {
|
|
2283
|
+
readonly name: "spender";
|
|
2284
|
+
readonly internalType: "address";
|
|
2285
|
+
readonly type: "address";
|
|
2286
|
+
readonly indexed: true;
|
|
2287
|
+
}, {
|
|
2288
|
+
readonly name: "value";
|
|
2289
|
+
readonly internalType: "uint256";
|
|
2290
|
+
readonly type: "uint256";
|
|
2291
|
+
readonly indexed: false;
|
|
2292
|
+
}];
|
|
2293
|
+
readonly name: "Approval";
|
|
2294
|
+
}, {
|
|
2295
|
+
readonly type: "event";
|
|
2296
|
+
readonly anonymous: false;
|
|
2297
|
+
readonly inputs: readonly [{
|
|
2298
|
+
readonly name: "buyer";
|
|
2299
|
+
readonly internalType: "address";
|
|
2300
|
+
readonly type: "address";
|
|
2301
|
+
readonly indexed: true;
|
|
2302
|
+
}, {
|
|
2303
|
+
readonly name: "recipient";
|
|
2304
|
+
readonly internalType: "address";
|
|
2305
|
+
readonly type: "address";
|
|
2306
|
+
readonly indexed: true;
|
|
2307
|
+
}, {
|
|
2308
|
+
readonly name: "tradeReferrer";
|
|
2309
|
+
readonly internalType: "address";
|
|
2310
|
+
readonly type: "address";
|
|
2311
|
+
readonly indexed: true;
|
|
2312
|
+
}, {
|
|
2313
|
+
readonly name: "coinsPurchased";
|
|
2314
|
+
readonly internalType: "uint256";
|
|
2315
|
+
readonly type: "uint256";
|
|
2316
|
+
readonly indexed: false;
|
|
2317
|
+
}, {
|
|
2318
|
+
readonly name: "currency";
|
|
2319
|
+
readonly internalType: "address";
|
|
2320
|
+
readonly type: "address";
|
|
2321
|
+
readonly indexed: false;
|
|
2322
|
+
}, {
|
|
2323
|
+
readonly name: "amountFee";
|
|
2324
|
+
readonly internalType: "uint256";
|
|
2325
|
+
readonly type: "uint256";
|
|
2326
|
+
readonly indexed: false;
|
|
2327
|
+
}, {
|
|
2328
|
+
readonly name: "amountSold";
|
|
2329
|
+
readonly internalType: "uint256";
|
|
2330
|
+
readonly type: "uint256";
|
|
2331
|
+
readonly indexed: false;
|
|
2332
|
+
}];
|
|
2333
|
+
readonly name: "CoinBuy";
|
|
2334
|
+
}, {
|
|
2335
|
+
readonly type: "event";
|
|
2336
|
+
readonly anonymous: false;
|
|
2337
|
+
readonly inputs: readonly [{
|
|
2338
|
+
readonly name: "payoutRecipient";
|
|
2339
|
+
readonly internalType: "address";
|
|
2340
|
+
readonly type: "address";
|
|
2341
|
+
readonly indexed: true;
|
|
2342
|
+
}, {
|
|
2343
|
+
readonly name: "platformReferrer";
|
|
2344
|
+
readonly internalType: "address";
|
|
2345
|
+
readonly type: "address";
|
|
2346
|
+
readonly indexed: true;
|
|
2347
|
+
}, {
|
|
2348
|
+
readonly name: "protocolRewardRecipient";
|
|
2349
|
+
readonly internalType: "address";
|
|
2350
|
+
readonly type: "address";
|
|
2351
|
+
readonly indexed: false;
|
|
2352
|
+
}, {
|
|
2353
|
+
readonly name: "currency";
|
|
2354
|
+
readonly internalType: "address";
|
|
2355
|
+
readonly type: "address";
|
|
2356
|
+
readonly indexed: false;
|
|
2357
|
+
}, {
|
|
2358
|
+
readonly name: "marketRewards";
|
|
2359
|
+
readonly internalType: "struct ICoin.MarketRewards";
|
|
2360
|
+
readonly type: "tuple";
|
|
2361
|
+
readonly components: readonly [{
|
|
2362
|
+
readonly name: "totalAmountCurrency";
|
|
2363
|
+
readonly internalType: "uint256";
|
|
2364
|
+
readonly type: "uint256";
|
|
2365
|
+
}, {
|
|
2366
|
+
readonly name: "totalAmountCoin";
|
|
2367
|
+
readonly internalType: "uint256";
|
|
2368
|
+
readonly type: "uint256";
|
|
2369
|
+
}, {
|
|
2370
|
+
readonly name: "creatorPayoutAmountCurrency";
|
|
2371
|
+
readonly internalType: "uint256";
|
|
2372
|
+
readonly type: "uint256";
|
|
2373
|
+
}, {
|
|
2374
|
+
readonly name: "creatorPayoutAmountCoin";
|
|
2375
|
+
readonly internalType: "uint256";
|
|
2376
|
+
readonly type: "uint256";
|
|
2377
|
+
}, {
|
|
2378
|
+
readonly name: "platformReferrerAmountCurrency";
|
|
2379
|
+
readonly internalType: "uint256";
|
|
2380
|
+
readonly type: "uint256";
|
|
2381
|
+
}, {
|
|
2382
|
+
readonly name: "platformReferrerAmountCoin";
|
|
2383
|
+
readonly internalType: "uint256";
|
|
2384
|
+
readonly type: "uint256";
|
|
2385
|
+
}, {
|
|
2386
|
+
readonly name: "protocolAmountCurrency";
|
|
2387
|
+
readonly internalType: "uint256";
|
|
2388
|
+
readonly type: "uint256";
|
|
2389
|
+
}, {
|
|
2390
|
+
readonly name: "protocolAmountCoin";
|
|
2391
|
+
readonly internalType: "uint256";
|
|
2392
|
+
readonly type: "uint256";
|
|
2393
|
+
}];
|
|
2394
|
+
readonly indexed: false;
|
|
2395
|
+
}];
|
|
2396
|
+
readonly name: "CoinMarketRewards";
|
|
2397
|
+
}, {
|
|
2398
|
+
readonly type: "event";
|
|
2399
|
+
readonly anonymous: false;
|
|
2400
|
+
readonly inputs: readonly [{
|
|
2401
|
+
readonly name: "caller";
|
|
2402
|
+
readonly internalType: "address";
|
|
2403
|
+
readonly type: "address";
|
|
2404
|
+
readonly indexed: true;
|
|
2405
|
+
}, {
|
|
2406
|
+
readonly name: "prevRecipient";
|
|
2407
|
+
readonly internalType: "address";
|
|
2408
|
+
readonly type: "address";
|
|
2409
|
+
readonly indexed: true;
|
|
2410
|
+
}, {
|
|
2411
|
+
readonly name: "newRecipient";
|
|
2412
|
+
readonly internalType: "address";
|
|
2413
|
+
readonly type: "address";
|
|
2414
|
+
readonly indexed: true;
|
|
2415
|
+
}];
|
|
2416
|
+
readonly name: "CoinPayoutRecipientUpdated";
|
|
2417
|
+
}, {
|
|
2418
|
+
readonly type: "event";
|
|
2419
|
+
readonly anonymous: false;
|
|
2420
|
+
readonly inputs: readonly [{
|
|
2421
|
+
readonly name: "seller";
|
|
2422
|
+
readonly internalType: "address";
|
|
2423
|
+
readonly type: "address";
|
|
2424
|
+
readonly indexed: true;
|
|
2425
|
+
}, {
|
|
2426
|
+
readonly name: "recipient";
|
|
2427
|
+
readonly internalType: "address";
|
|
2428
|
+
readonly type: "address";
|
|
2429
|
+
readonly indexed: true;
|
|
2430
|
+
}, {
|
|
2431
|
+
readonly name: "tradeReferrer";
|
|
2432
|
+
readonly internalType: "address";
|
|
2433
|
+
readonly type: "address";
|
|
2434
|
+
readonly indexed: true;
|
|
2435
|
+
}, {
|
|
2436
|
+
readonly name: "coinsSold";
|
|
2437
|
+
readonly internalType: "uint256";
|
|
2438
|
+
readonly type: "uint256";
|
|
2439
|
+
readonly indexed: false;
|
|
2440
|
+
}, {
|
|
2441
|
+
readonly name: "currency";
|
|
2442
|
+
readonly internalType: "address";
|
|
2443
|
+
readonly type: "address";
|
|
2444
|
+
readonly indexed: false;
|
|
2445
|
+
}, {
|
|
2446
|
+
readonly name: "amountFee";
|
|
2447
|
+
readonly internalType: "uint256";
|
|
2448
|
+
readonly type: "uint256";
|
|
2449
|
+
readonly indexed: false;
|
|
2450
|
+
}, {
|
|
2451
|
+
readonly name: "amountPurchased";
|
|
2452
|
+
readonly internalType: "uint256";
|
|
2453
|
+
readonly type: "uint256";
|
|
2454
|
+
readonly indexed: false;
|
|
2455
|
+
}];
|
|
2456
|
+
readonly name: "CoinSell";
|
|
2457
|
+
}, {
|
|
2458
|
+
readonly type: "event";
|
|
2459
|
+
readonly anonymous: false;
|
|
2460
|
+
readonly inputs: readonly [{
|
|
2461
|
+
readonly name: "payoutRecipient";
|
|
2462
|
+
readonly internalType: "address";
|
|
2463
|
+
readonly type: "address";
|
|
2464
|
+
readonly indexed: true;
|
|
2465
|
+
}, {
|
|
2466
|
+
readonly name: "platformReferrer";
|
|
2467
|
+
readonly internalType: "address";
|
|
2468
|
+
readonly type: "address";
|
|
2469
|
+
readonly indexed: true;
|
|
2470
|
+
}, {
|
|
2471
|
+
readonly name: "tradeReferrer";
|
|
2472
|
+
readonly internalType: "address";
|
|
2473
|
+
readonly type: "address";
|
|
2474
|
+
readonly indexed: true;
|
|
2475
|
+
}, {
|
|
2476
|
+
readonly name: "protocolRewardRecipient";
|
|
2477
|
+
readonly internalType: "address";
|
|
2478
|
+
readonly type: "address";
|
|
2479
|
+
readonly indexed: false;
|
|
2480
|
+
}, {
|
|
2481
|
+
readonly name: "creatorReward";
|
|
2482
|
+
readonly internalType: "uint256";
|
|
2483
|
+
readonly type: "uint256";
|
|
2484
|
+
readonly indexed: false;
|
|
2485
|
+
}, {
|
|
2486
|
+
readonly name: "platformReferrerReward";
|
|
2487
|
+
readonly internalType: "uint256";
|
|
2488
|
+
readonly type: "uint256";
|
|
2489
|
+
readonly indexed: false;
|
|
2490
|
+
}, {
|
|
2491
|
+
readonly name: "traderReferrerReward";
|
|
2492
|
+
readonly internalType: "uint256";
|
|
2493
|
+
readonly type: "uint256";
|
|
2494
|
+
readonly indexed: false;
|
|
2495
|
+
}, {
|
|
2496
|
+
readonly name: "protocolReward";
|
|
2497
|
+
readonly internalType: "uint256";
|
|
2498
|
+
readonly type: "uint256";
|
|
2499
|
+
readonly indexed: false;
|
|
2500
|
+
}, {
|
|
2501
|
+
readonly name: "currency";
|
|
2502
|
+
readonly internalType: "address";
|
|
2503
|
+
readonly type: "address";
|
|
2504
|
+
readonly indexed: false;
|
|
2505
|
+
}];
|
|
2506
|
+
readonly name: "CoinTradeRewards";
|
|
2507
|
+
}, {
|
|
2508
|
+
readonly type: "event";
|
|
2509
|
+
readonly anonymous: false;
|
|
2510
|
+
readonly inputs: readonly [{
|
|
2511
|
+
readonly name: "sender";
|
|
2512
|
+
readonly internalType: "address";
|
|
2513
|
+
readonly type: "address";
|
|
2514
|
+
readonly indexed: true;
|
|
2515
|
+
}, {
|
|
2516
|
+
readonly name: "recipient";
|
|
2517
|
+
readonly internalType: "address";
|
|
2518
|
+
readonly type: "address";
|
|
2519
|
+
readonly indexed: true;
|
|
2520
|
+
}, {
|
|
2521
|
+
readonly name: "amount";
|
|
2522
|
+
readonly internalType: "uint256";
|
|
2523
|
+
readonly type: "uint256";
|
|
2524
|
+
readonly indexed: false;
|
|
2525
|
+
}, {
|
|
2526
|
+
readonly name: "senderBalance";
|
|
2527
|
+
readonly internalType: "uint256";
|
|
2528
|
+
readonly type: "uint256";
|
|
2529
|
+
readonly indexed: false;
|
|
2530
|
+
}, {
|
|
2531
|
+
readonly name: "recipientBalance";
|
|
2532
|
+
readonly internalType: "uint256";
|
|
2533
|
+
readonly type: "uint256";
|
|
2534
|
+
readonly indexed: false;
|
|
2535
|
+
}];
|
|
2536
|
+
readonly name: "CoinTransfer";
|
|
2537
|
+
}, {
|
|
2538
|
+
readonly type: "event";
|
|
2539
|
+
readonly anonymous: false;
|
|
2540
|
+
readonly inputs: readonly [{
|
|
2541
|
+
readonly name: "caller";
|
|
2542
|
+
readonly internalType: "address";
|
|
2543
|
+
readonly type: "address";
|
|
2544
|
+
readonly indexed: true;
|
|
2545
|
+
}, {
|
|
2546
|
+
readonly name: "newURI";
|
|
2547
|
+
readonly internalType: "string";
|
|
2548
|
+
readonly type: "string";
|
|
2549
|
+
readonly indexed: false;
|
|
2550
|
+
}, {
|
|
2551
|
+
readonly name: "name";
|
|
2552
|
+
readonly internalType: "string";
|
|
2553
|
+
readonly type: "string";
|
|
2554
|
+
readonly indexed: false;
|
|
2555
|
+
}];
|
|
2556
|
+
readonly name: "ContractMetadataUpdated";
|
|
2557
|
+
}, {
|
|
2558
|
+
readonly type: "event";
|
|
2559
|
+
readonly anonymous: false;
|
|
2560
|
+
readonly inputs: readonly [];
|
|
2561
|
+
readonly name: "ContractURIUpdated";
|
|
2562
|
+
}, {
|
|
2563
|
+
readonly type: "event";
|
|
2564
|
+
readonly anonymous: false;
|
|
2565
|
+
readonly inputs: readonly [];
|
|
2566
|
+
readonly name: "EIP712DomainChanged";
|
|
2567
|
+
}, {
|
|
2568
|
+
readonly type: "event";
|
|
2569
|
+
readonly anonymous: false;
|
|
2570
|
+
readonly inputs: readonly [{
|
|
2571
|
+
readonly name: "version";
|
|
2572
|
+
readonly internalType: "uint64";
|
|
2573
|
+
readonly type: "uint64";
|
|
2574
|
+
readonly indexed: false;
|
|
2575
|
+
}];
|
|
2576
|
+
readonly name: "Initialized";
|
|
2577
|
+
}, {
|
|
2578
|
+
readonly type: "event";
|
|
2579
|
+
readonly anonymous: false;
|
|
2580
|
+
readonly inputs: readonly [{
|
|
2581
|
+
readonly name: "caller";
|
|
2582
|
+
readonly internalType: "address";
|
|
2583
|
+
readonly type: "address";
|
|
2584
|
+
readonly indexed: true;
|
|
2585
|
+
}, {
|
|
2586
|
+
readonly name: "prevOwner";
|
|
2587
|
+
readonly internalType: "address";
|
|
2588
|
+
readonly type: "address";
|
|
2589
|
+
readonly indexed: true;
|
|
2590
|
+
}, {
|
|
2591
|
+
readonly name: "newOwner";
|
|
2592
|
+
readonly internalType: "address";
|
|
2593
|
+
readonly type: "address";
|
|
2594
|
+
readonly indexed: true;
|
|
2595
|
+
}];
|
|
2596
|
+
readonly name: "OwnerUpdated";
|
|
2597
|
+
}, {
|
|
2598
|
+
readonly type: "event";
|
|
2599
|
+
readonly anonymous: false;
|
|
2600
|
+
readonly inputs: readonly [{
|
|
2601
|
+
readonly name: "from";
|
|
2602
|
+
readonly internalType: "address";
|
|
2603
|
+
readonly type: "address";
|
|
2604
|
+
readonly indexed: true;
|
|
2605
|
+
}, {
|
|
2606
|
+
readonly name: "to";
|
|
2607
|
+
readonly internalType: "address";
|
|
2608
|
+
readonly type: "address";
|
|
2609
|
+
readonly indexed: true;
|
|
2610
|
+
}, {
|
|
2611
|
+
readonly name: "value";
|
|
2612
|
+
readonly internalType: "uint256";
|
|
2613
|
+
readonly type: "uint256";
|
|
2614
|
+
readonly indexed: false;
|
|
2615
|
+
}];
|
|
2616
|
+
readonly name: "Transfer";
|
|
2617
|
+
}, {
|
|
2618
|
+
readonly type: "error";
|
|
2619
|
+
readonly inputs: readonly [];
|
|
2620
|
+
readonly name: "AddressZero";
|
|
2621
|
+
}, {
|
|
2622
|
+
readonly type: "error";
|
|
2623
|
+
readonly inputs: readonly [];
|
|
2624
|
+
readonly name: "AlreadyOwner";
|
|
2625
|
+
}, {
|
|
2626
|
+
readonly type: "error";
|
|
2627
|
+
readonly inputs: readonly [];
|
|
2628
|
+
readonly name: "CannotMintZeroLiquidity";
|
|
2629
|
+
}, {
|
|
2630
|
+
readonly type: "error";
|
|
2631
|
+
readonly inputs: readonly [];
|
|
2632
|
+
readonly name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions";
|
|
2633
|
+
}, {
|
|
2634
|
+
readonly type: "error";
|
|
2635
|
+
readonly inputs: readonly [];
|
|
2636
|
+
readonly name: "ECDSAInvalidSignature";
|
|
2637
|
+
}, {
|
|
2638
|
+
readonly type: "error";
|
|
2639
|
+
readonly inputs: readonly [{
|
|
2640
|
+
readonly name: "length";
|
|
2641
|
+
readonly internalType: "uint256";
|
|
2642
|
+
readonly type: "uint256";
|
|
2643
|
+
}];
|
|
2644
|
+
readonly name: "ECDSAInvalidSignatureLength";
|
|
2645
|
+
}, {
|
|
2646
|
+
readonly type: "error";
|
|
2647
|
+
readonly inputs: readonly [{
|
|
2648
|
+
readonly name: "s";
|
|
2649
|
+
readonly internalType: "bytes32";
|
|
2650
|
+
readonly type: "bytes32";
|
|
2651
|
+
}];
|
|
2652
|
+
readonly name: "ECDSAInvalidSignatureS";
|
|
2653
|
+
}, {
|
|
2654
|
+
readonly type: "error";
|
|
2655
|
+
readonly inputs: readonly [{
|
|
2656
|
+
readonly name: "spender";
|
|
2657
|
+
readonly internalType: "address";
|
|
2658
|
+
readonly type: "address";
|
|
2659
|
+
}, {
|
|
2660
|
+
readonly name: "allowance";
|
|
2661
|
+
readonly internalType: "uint256";
|
|
2662
|
+
readonly type: "uint256";
|
|
2663
|
+
}, {
|
|
2664
|
+
readonly name: "needed";
|
|
2665
|
+
readonly internalType: "uint256";
|
|
2666
|
+
readonly type: "uint256";
|
|
2667
|
+
}];
|
|
2668
|
+
readonly name: "ERC20InsufficientAllowance";
|
|
2669
|
+
}, {
|
|
2670
|
+
readonly type: "error";
|
|
2671
|
+
readonly inputs: readonly [{
|
|
2672
|
+
readonly name: "sender";
|
|
2673
|
+
readonly internalType: "address";
|
|
2674
|
+
readonly type: "address";
|
|
2675
|
+
}, {
|
|
2676
|
+
readonly name: "balance";
|
|
2677
|
+
readonly internalType: "uint256";
|
|
2678
|
+
readonly type: "uint256";
|
|
2679
|
+
}, {
|
|
2680
|
+
readonly name: "needed";
|
|
2681
|
+
readonly internalType: "uint256";
|
|
2682
|
+
readonly type: "uint256";
|
|
2683
|
+
}];
|
|
2684
|
+
readonly name: "ERC20InsufficientBalance";
|
|
2685
|
+
}, {
|
|
2686
|
+
readonly type: "error";
|
|
2687
|
+
readonly inputs: readonly [{
|
|
2688
|
+
readonly name: "approver";
|
|
2689
|
+
readonly internalType: "address";
|
|
2690
|
+
readonly type: "address";
|
|
2691
|
+
}];
|
|
2692
|
+
readonly name: "ERC20InvalidApprover";
|
|
2693
|
+
}, {
|
|
2694
|
+
readonly type: "error";
|
|
2695
|
+
readonly inputs: readonly [{
|
|
2696
|
+
readonly name: "receiver";
|
|
2697
|
+
readonly internalType: "address";
|
|
2698
|
+
readonly type: "address";
|
|
2699
|
+
}];
|
|
2700
|
+
readonly name: "ERC20InvalidReceiver";
|
|
2701
|
+
}, {
|
|
2702
|
+
readonly type: "error";
|
|
2703
|
+
readonly inputs: readonly [{
|
|
2704
|
+
readonly name: "sender";
|
|
2705
|
+
readonly internalType: "address";
|
|
2706
|
+
readonly type: "address";
|
|
2707
|
+
}];
|
|
2708
|
+
readonly name: "ERC20InvalidSender";
|
|
2709
|
+
}, {
|
|
2710
|
+
readonly type: "error";
|
|
2711
|
+
readonly inputs: readonly [{
|
|
2712
|
+
readonly name: "spender";
|
|
2713
|
+
readonly internalType: "address";
|
|
2714
|
+
readonly type: "address";
|
|
2715
|
+
}];
|
|
2716
|
+
readonly name: "ERC20InvalidSpender";
|
|
2717
|
+
}, {
|
|
2718
|
+
readonly type: "error";
|
|
2719
|
+
readonly inputs: readonly [];
|
|
2720
|
+
readonly name: "ERC20TransferAmountMismatch";
|
|
2721
|
+
}, {
|
|
2722
|
+
readonly type: "error";
|
|
2723
|
+
readonly inputs: readonly [{
|
|
2724
|
+
readonly name: "deadline";
|
|
2725
|
+
readonly internalType: "uint256";
|
|
2726
|
+
readonly type: "uint256";
|
|
2727
|
+
}];
|
|
2728
|
+
readonly name: "ERC2612ExpiredSignature";
|
|
2729
|
+
}, {
|
|
2730
|
+
readonly type: "error";
|
|
2731
|
+
readonly inputs: readonly [{
|
|
2732
|
+
readonly name: "signer";
|
|
2733
|
+
readonly internalType: "address";
|
|
2734
|
+
readonly type: "address";
|
|
2735
|
+
}, {
|
|
2736
|
+
readonly name: "owner";
|
|
2737
|
+
readonly internalType: "address";
|
|
2738
|
+
readonly type: "address";
|
|
2739
|
+
}];
|
|
2740
|
+
readonly name: "ERC2612InvalidSigner";
|
|
2741
|
+
}, {
|
|
2742
|
+
readonly type: "error";
|
|
2743
|
+
readonly inputs: readonly [];
|
|
2744
|
+
readonly name: "EthAmountMismatch";
|
|
2745
|
+
}, {
|
|
2746
|
+
readonly type: "error";
|
|
2747
|
+
readonly inputs: readonly [];
|
|
2748
|
+
readonly name: "EthAmountTooSmall";
|
|
2749
|
+
}, {
|
|
2750
|
+
readonly type: "error";
|
|
2751
|
+
readonly inputs: readonly [];
|
|
2752
|
+
readonly name: "EthTransferFailed";
|
|
2753
|
+
}, {
|
|
2754
|
+
readonly type: "error";
|
|
2755
|
+
readonly inputs: readonly [];
|
|
2756
|
+
readonly name: "EthTransferInvalid";
|
|
2757
|
+
}, {
|
|
2758
|
+
readonly type: "error";
|
|
2759
|
+
readonly inputs: readonly [];
|
|
2760
|
+
readonly name: "InitialOrderSizeTooLarge";
|
|
2761
|
+
}, {
|
|
2762
|
+
readonly type: "error";
|
|
2763
|
+
readonly inputs: readonly [];
|
|
2764
|
+
readonly name: "InsufficientFunds";
|
|
2765
|
+
}, {
|
|
2766
|
+
readonly type: "error";
|
|
2767
|
+
readonly inputs: readonly [];
|
|
2768
|
+
readonly name: "InsufficientLiquidity";
|
|
2769
|
+
}, {
|
|
2770
|
+
readonly type: "error";
|
|
2771
|
+
readonly inputs: readonly [{
|
|
2772
|
+
readonly name: "account";
|
|
2773
|
+
readonly internalType: "address";
|
|
2774
|
+
readonly type: "address";
|
|
2775
|
+
}, {
|
|
2776
|
+
readonly name: "currentNonce";
|
|
2777
|
+
readonly internalType: "uint256";
|
|
2778
|
+
readonly type: "uint256";
|
|
2779
|
+
}];
|
|
2780
|
+
readonly name: "InvalidAccountNonce";
|
|
2781
|
+
}, {
|
|
2782
|
+
readonly type: "error";
|
|
2783
|
+
readonly inputs: readonly [];
|
|
2784
|
+
readonly name: "InvalidCurrencyLowerTick";
|
|
2785
|
+
}, {
|
|
2786
|
+
readonly type: "error";
|
|
2787
|
+
readonly inputs: readonly [];
|
|
2788
|
+
readonly name: "InvalidInitialization";
|
|
2789
|
+
}, {
|
|
2790
|
+
readonly type: "error";
|
|
2791
|
+
readonly inputs: readonly [];
|
|
2792
|
+
readonly name: "InvalidMarketType";
|
|
2793
|
+
}, {
|
|
2794
|
+
readonly type: "error";
|
|
2795
|
+
readonly inputs: readonly [];
|
|
2796
|
+
readonly name: "InvalidPoolVersion";
|
|
2797
|
+
}, {
|
|
2798
|
+
readonly type: "error";
|
|
2799
|
+
readonly inputs: readonly [{
|
|
2800
|
+
readonly name: "tickLower";
|
|
2801
|
+
readonly internalType: "int24";
|
|
2802
|
+
readonly type: "int24";
|
|
2803
|
+
}, {
|
|
2804
|
+
readonly name: "tickUpper";
|
|
2805
|
+
readonly internalType: "int24";
|
|
2806
|
+
readonly type: "int24";
|
|
2807
|
+
}];
|
|
2808
|
+
readonly name: "InvalidTickRangeMisordered";
|
|
2809
|
+
}, {
|
|
2810
|
+
readonly type: "error";
|
|
2811
|
+
readonly inputs: readonly [];
|
|
2812
|
+
readonly name: "InvalidWethLowerTick";
|
|
2813
|
+
}, {
|
|
2814
|
+
readonly type: "error";
|
|
2815
|
+
readonly inputs: readonly [];
|
|
2816
|
+
readonly name: "LegacyPoolMustHaveOneDiscoveryPosition";
|
|
2817
|
+
}, {
|
|
2818
|
+
readonly type: "error";
|
|
2819
|
+
readonly inputs: readonly [];
|
|
2820
|
+
readonly name: "MarketAlreadyGraduated";
|
|
2821
|
+
}, {
|
|
2822
|
+
readonly type: "error";
|
|
2823
|
+
readonly inputs: readonly [];
|
|
2824
|
+
readonly name: "MarketNotGraduated";
|
|
2825
|
+
}, {
|
|
2826
|
+
readonly type: "error";
|
|
2827
|
+
readonly inputs: readonly [{
|
|
2828
|
+
readonly name: "value";
|
|
2829
|
+
readonly internalType: "uint256";
|
|
2830
|
+
readonly type: "uint256";
|
|
2831
|
+
}, {
|
|
2832
|
+
readonly name: "limit";
|
|
2833
|
+
readonly internalType: "uint256";
|
|
2834
|
+
readonly type: "uint256";
|
|
2835
|
+
}];
|
|
2836
|
+
readonly name: "MaxShareToBeSoldExceeded";
|
|
2837
|
+
}, {
|
|
2838
|
+
readonly type: "error";
|
|
2839
|
+
readonly inputs: readonly [];
|
|
2840
|
+
readonly name: "NotInitializing";
|
|
2841
|
+
}, {
|
|
2842
|
+
readonly type: "error";
|
|
2843
|
+
readonly inputs: readonly [];
|
|
2844
|
+
readonly name: "NotOwner";
|
|
2845
|
+
}, {
|
|
2846
|
+
readonly type: "error";
|
|
2847
|
+
readonly inputs: readonly [];
|
|
2848
|
+
readonly name: "NumDiscoveryPositionsOutOfRange";
|
|
2849
|
+
}, {
|
|
2850
|
+
readonly type: "error";
|
|
2851
|
+
readonly inputs: readonly [];
|
|
2852
|
+
readonly name: "OneOwnerRequired";
|
|
2853
|
+
}, {
|
|
2854
|
+
readonly type: "error";
|
|
2855
|
+
readonly inputs: readonly [];
|
|
2856
|
+
readonly name: "OnlyOwner";
|
|
2857
|
+
}, {
|
|
2858
|
+
readonly type: "error";
|
|
2859
|
+
readonly inputs: readonly [{
|
|
2860
|
+
readonly name: "sender";
|
|
2861
|
+
readonly internalType: "address";
|
|
2862
|
+
readonly type: "address";
|
|
2863
|
+
}, {
|
|
2864
|
+
readonly name: "pool";
|
|
2865
|
+
readonly internalType: "address";
|
|
2866
|
+
readonly type: "address";
|
|
2867
|
+
}];
|
|
2868
|
+
readonly name: "OnlyPool";
|
|
2869
|
+
}, {
|
|
2870
|
+
readonly type: "error";
|
|
2871
|
+
readonly inputs: readonly [];
|
|
2872
|
+
readonly name: "OnlyWeth";
|
|
2873
|
+
}, {
|
|
2874
|
+
readonly type: "error";
|
|
2875
|
+
readonly inputs: readonly [];
|
|
2876
|
+
readonly name: "OwnerCannotBeAddressZero";
|
|
2877
|
+
}, {
|
|
2878
|
+
readonly type: "error";
|
|
2879
|
+
readonly inputs: readonly [];
|
|
2880
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
2881
|
+
}, {
|
|
2882
|
+
readonly type: "error";
|
|
2883
|
+
readonly inputs: readonly [];
|
|
2884
|
+
readonly name: "SlippageBoundsExceeded";
|
|
2885
|
+
}, {
|
|
2886
|
+
readonly type: "error";
|
|
2887
|
+
readonly inputs: readonly [];
|
|
2888
|
+
readonly name: "UseRevokeOwnershipToRemoveSelf";
|
|
2889
|
+
}];
|
|
2890
|
+
export declare const iPermit2ABI: readonly [{
|
|
2891
|
+
readonly type: "function";
|
|
2892
|
+
readonly inputs: readonly [];
|
|
2893
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
2894
|
+
readonly outputs: readonly [{
|
|
2895
|
+
readonly name: "";
|
|
2896
|
+
readonly internalType: "bytes32";
|
|
2897
|
+
readonly type: "bytes32";
|
|
2898
|
+
}];
|
|
2899
|
+
readonly stateMutability: "view";
|
|
2900
|
+
}, {
|
|
2901
|
+
readonly type: "function";
|
|
2902
|
+
readonly inputs: readonly [{
|
|
2903
|
+
readonly name: "user";
|
|
2904
|
+
readonly internalType: "address";
|
|
2905
|
+
readonly type: "address";
|
|
2906
|
+
}, {
|
|
2907
|
+
readonly name: "token";
|
|
2908
|
+
readonly internalType: "address";
|
|
2909
|
+
readonly type: "address";
|
|
2910
|
+
}, {
|
|
2911
|
+
readonly name: "spender";
|
|
2912
|
+
readonly internalType: "address";
|
|
2913
|
+
readonly type: "address";
|
|
2914
|
+
}];
|
|
2915
|
+
readonly name: "allowance";
|
|
2916
|
+
readonly outputs: readonly [{
|
|
2917
|
+
readonly name: "amount";
|
|
2918
|
+
readonly internalType: "uint160";
|
|
2919
|
+
readonly type: "uint160";
|
|
2920
|
+
}, {
|
|
2921
|
+
readonly name: "expiration";
|
|
2922
|
+
readonly internalType: "uint48";
|
|
2923
|
+
readonly type: "uint48";
|
|
2924
|
+
}, {
|
|
2925
|
+
readonly name: "nonce";
|
|
2926
|
+
readonly internalType: "uint48";
|
|
2927
|
+
readonly type: "uint48";
|
|
2928
|
+
}];
|
|
2929
|
+
readonly stateMutability: "view";
|
|
2930
|
+
}, {
|
|
2931
|
+
readonly type: "function";
|
|
2932
|
+
readonly inputs: readonly [{
|
|
2933
|
+
readonly name: "token";
|
|
2934
|
+
readonly internalType: "address";
|
|
2935
|
+
readonly type: "address";
|
|
2936
|
+
}, {
|
|
2937
|
+
readonly name: "spender";
|
|
2938
|
+
readonly internalType: "address";
|
|
2939
|
+
readonly type: "address";
|
|
2940
|
+
}, {
|
|
2941
|
+
readonly name: "amount";
|
|
2942
|
+
readonly internalType: "uint160";
|
|
2943
|
+
readonly type: "uint160";
|
|
2944
|
+
}, {
|
|
2945
|
+
readonly name: "expiration";
|
|
2946
|
+
readonly internalType: "uint48";
|
|
2947
|
+
readonly type: "uint48";
|
|
2948
|
+
}];
|
|
2949
|
+
readonly name: "approve";
|
|
2950
|
+
readonly outputs: readonly [];
|
|
2951
|
+
readonly stateMutability: "nonpayable";
|
|
2952
|
+
}, {
|
|
2953
|
+
readonly type: "function";
|
|
2954
|
+
readonly inputs: readonly [{
|
|
2955
|
+
readonly name: "token";
|
|
2956
|
+
readonly internalType: "address";
|
|
2957
|
+
readonly type: "address";
|
|
2958
|
+
}, {
|
|
2959
|
+
readonly name: "spender";
|
|
2960
|
+
readonly internalType: "address";
|
|
2961
|
+
readonly type: "address";
|
|
2962
|
+
}, {
|
|
2963
|
+
readonly name: "newNonce";
|
|
2964
|
+
readonly internalType: "uint48";
|
|
2965
|
+
readonly type: "uint48";
|
|
2966
|
+
}];
|
|
2967
|
+
readonly name: "invalidateNonces";
|
|
2968
|
+
readonly outputs: readonly [];
|
|
2969
|
+
readonly stateMutability: "nonpayable";
|
|
2970
|
+
}, {
|
|
2971
|
+
readonly type: "function";
|
|
2972
|
+
readonly inputs: readonly [{
|
|
2973
|
+
readonly name: "wordPos";
|
|
2974
|
+
readonly internalType: "uint256";
|
|
2975
|
+
readonly type: "uint256";
|
|
2976
|
+
}, {
|
|
2977
|
+
readonly name: "mask";
|
|
2978
|
+
readonly internalType: "uint256";
|
|
2979
|
+
readonly type: "uint256";
|
|
2980
|
+
}];
|
|
2981
|
+
readonly name: "invalidateUnorderedNonces";
|
|
2982
|
+
readonly outputs: readonly [];
|
|
2983
|
+
readonly stateMutability: "nonpayable";
|
|
2984
|
+
}, {
|
|
2985
|
+
readonly type: "function";
|
|
2986
|
+
readonly inputs: readonly [{
|
|
2987
|
+
readonly name: "approvals";
|
|
2988
|
+
readonly internalType: "struct IAllowanceTransfer.TokenSpenderPair[]";
|
|
2989
|
+
readonly type: "tuple[]";
|
|
2990
|
+
readonly components: readonly [{
|
|
2991
|
+
readonly name: "token";
|
|
2992
|
+
readonly internalType: "address";
|
|
2993
|
+
readonly type: "address";
|
|
2994
|
+
}, {
|
|
2995
|
+
readonly name: "spender";
|
|
2996
|
+
readonly internalType: "address";
|
|
2997
|
+
readonly type: "address";
|
|
2998
|
+
}];
|
|
2999
|
+
}];
|
|
3000
|
+
readonly name: "lockdown";
|
|
3001
|
+
readonly outputs: readonly [];
|
|
3002
|
+
readonly stateMutability: "nonpayable";
|
|
3003
|
+
}, {
|
|
3004
|
+
readonly type: "function";
|
|
3005
|
+
readonly inputs: readonly [{
|
|
3006
|
+
readonly name: "";
|
|
3007
|
+
readonly internalType: "address";
|
|
3008
|
+
readonly type: "address";
|
|
3009
|
+
}, {
|
|
3010
|
+
readonly name: "";
|
|
3011
|
+
readonly internalType: "uint256";
|
|
3012
|
+
readonly type: "uint256";
|
|
3013
|
+
}];
|
|
3014
|
+
readonly name: "nonceBitmap";
|
|
3015
|
+
readonly outputs: readonly [{
|
|
3016
|
+
readonly name: "";
|
|
3017
|
+
readonly internalType: "uint256";
|
|
3018
|
+
readonly type: "uint256";
|
|
3019
|
+
}];
|
|
3020
|
+
readonly stateMutability: "view";
|
|
3021
|
+
}, {
|
|
3022
|
+
readonly type: "function";
|
|
3023
|
+
readonly inputs: readonly [{
|
|
3024
|
+
readonly name: "owner";
|
|
3025
|
+
readonly internalType: "address";
|
|
3026
|
+
readonly type: "address";
|
|
3027
|
+
}, {
|
|
3028
|
+
readonly name: "permitBatch";
|
|
3029
|
+
readonly internalType: "struct IAllowanceTransfer.PermitBatch";
|
|
3030
|
+
readonly type: "tuple";
|
|
3031
|
+
readonly components: readonly [{
|
|
3032
|
+
readonly name: "details";
|
|
3033
|
+
readonly internalType: "struct IAllowanceTransfer.PermitDetails[]";
|
|
3034
|
+
readonly type: "tuple[]";
|
|
3035
|
+
readonly components: readonly [{
|
|
3036
|
+
readonly name: "token";
|
|
3037
|
+
readonly internalType: "address";
|
|
3038
|
+
readonly type: "address";
|
|
3039
|
+
}, {
|
|
3040
|
+
readonly name: "amount";
|
|
3041
|
+
readonly internalType: "uint160";
|
|
3042
|
+
readonly type: "uint160";
|
|
3043
|
+
}, {
|
|
3044
|
+
readonly name: "expiration";
|
|
3045
|
+
readonly internalType: "uint48";
|
|
3046
|
+
readonly type: "uint48";
|
|
3047
|
+
}, {
|
|
3048
|
+
readonly name: "nonce";
|
|
3049
|
+
readonly internalType: "uint48";
|
|
3050
|
+
readonly type: "uint48";
|
|
3051
|
+
}];
|
|
3052
|
+
}, {
|
|
3053
|
+
readonly name: "spender";
|
|
3054
|
+
readonly internalType: "address";
|
|
3055
|
+
readonly type: "address";
|
|
3056
|
+
}, {
|
|
3057
|
+
readonly name: "sigDeadline";
|
|
3058
|
+
readonly internalType: "uint256";
|
|
3059
|
+
readonly type: "uint256";
|
|
3060
|
+
}];
|
|
3061
|
+
}, {
|
|
3062
|
+
readonly name: "signature";
|
|
3063
|
+
readonly internalType: "bytes";
|
|
3064
|
+
readonly type: "bytes";
|
|
3065
|
+
}];
|
|
3066
|
+
readonly name: "permit";
|
|
3067
|
+
readonly outputs: readonly [];
|
|
3068
|
+
readonly stateMutability: "nonpayable";
|
|
3069
|
+
}, {
|
|
3070
|
+
readonly type: "function";
|
|
3071
|
+
readonly inputs: readonly [{
|
|
3072
|
+
readonly name: "owner";
|
|
3073
|
+
readonly internalType: "address";
|
|
3074
|
+
readonly type: "address";
|
|
3075
|
+
}, {
|
|
3076
|
+
readonly name: "permitSingle";
|
|
3077
|
+
readonly internalType: "struct IAllowanceTransfer.PermitSingle";
|
|
3078
|
+
readonly type: "tuple";
|
|
3079
|
+
readonly components: readonly [{
|
|
3080
|
+
readonly name: "details";
|
|
3081
|
+
readonly internalType: "struct IAllowanceTransfer.PermitDetails";
|
|
3082
|
+
readonly type: "tuple";
|
|
3083
|
+
readonly components: readonly [{
|
|
3084
|
+
readonly name: "token";
|
|
3085
|
+
readonly internalType: "address";
|
|
3086
|
+
readonly type: "address";
|
|
3087
|
+
}, {
|
|
3088
|
+
readonly name: "amount";
|
|
3089
|
+
readonly internalType: "uint160";
|
|
3090
|
+
readonly type: "uint160";
|
|
3091
|
+
}, {
|
|
3092
|
+
readonly name: "expiration";
|
|
3093
|
+
readonly internalType: "uint48";
|
|
3094
|
+
readonly type: "uint48";
|
|
3095
|
+
}, {
|
|
3096
|
+
readonly name: "nonce";
|
|
3097
|
+
readonly internalType: "uint48";
|
|
3098
|
+
readonly type: "uint48";
|
|
3099
|
+
}];
|
|
3100
|
+
}, {
|
|
3101
|
+
readonly name: "spender";
|
|
3102
|
+
readonly internalType: "address";
|
|
3103
|
+
readonly type: "address";
|
|
3104
|
+
}, {
|
|
3105
|
+
readonly name: "sigDeadline";
|
|
3106
|
+
readonly internalType: "uint256";
|
|
3107
|
+
readonly type: "uint256";
|
|
3108
|
+
}];
|
|
3109
|
+
}, {
|
|
3110
|
+
readonly name: "signature";
|
|
3111
|
+
readonly internalType: "bytes";
|
|
3112
|
+
readonly type: "bytes";
|
|
3113
|
+
}];
|
|
3114
|
+
readonly name: "permit";
|
|
3115
|
+
readonly outputs: readonly [];
|
|
3116
|
+
readonly stateMutability: "nonpayable";
|
|
3117
|
+
}, {
|
|
3118
|
+
readonly type: "function";
|
|
3119
|
+
readonly inputs: readonly [{
|
|
3120
|
+
readonly name: "permit";
|
|
3121
|
+
readonly internalType: "struct ISignatureTransfer.PermitTransferFrom";
|
|
3122
|
+
readonly type: "tuple";
|
|
3123
|
+
readonly components: readonly [{
|
|
3124
|
+
readonly name: "permitted";
|
|
3125
|
+
readonly internalType: "struct ISignatureTransfer.TokenPermissions";
|
|
3126
|
+
readonly type: "tuple";
|
|
3127
|
+
readonly components: readonly [{
|
|
3128
|
+
readonly name: "token";
|
|
3129
|
+
readonly internalType: "address";
|
|
3130
|
+
readonly type: "address";
|
|
3131
|
+
}, {
|
|
3132
|
+
readonly name: "amount";
|
|
3133
|
+
readonly internalType: "uint256";
|
|
3134
|
+
readonly type: "uint256";
|
|
3135
|
+
}];
|
|
3136
|
+
}, {
|
|
3137
|
+
readonly name: "nonce";
|
|
3138
|
+
readonly internalType: "uint256";
|
|
3139
|
+
readonly type: "uint256";
|
|
3140
|
+
}, {
|
|
3141
|
+
readonly name: "deadline";
|
|
3142
|
+
readonly internalType: "uint256";
|
|
3143
|
+
readonly type: "uint256";
|
|
3144
|
+
}];
|
|
3145
|
+
}, {
|
|
3146
|
+
readonly name: "transferDetails";
|
|
3147
|
+
readonly internalType: "struct ISignatureTransfer.SignatureTransferDetails";
|
|
3148
|
+
readonly type: "tuple";
|
|
3149
|
+
readonly components: readonly [{
|
|
3150
|
+
readonly name: "to";
|
|
3151
|
+
readonly internalType: "address";
|
|
3152
|
+
readonly type: "address";
|
|
3153
|
+
}, {
|
|
3154
|
+
readonly name: "requestedAmount";
|
|
3155
|
+
readonly internalType: "uint256";
|
|
3156
|
+
readonly type: "uint256";
|
|
3157
|
+
}];
|
|
3158
|
+
}, {
|
|
3159
|
+
readonly name: "owner";
|
|
3160
|
+
readonly internalType: "address";
|
|
3161
|
+
readonly type: "address";
|
|
3162
|
+
}, {
|
|
3163
|
+
readonly name: "signature";
|
|
3164
|
+
readonly internalType: "bytes";
|
|
3165
|
+
readonly type: "bytes";
|
|
3166
|
+
}];
|
|
3167
|
+
readonly name: "permitTransferFrom";
|
|
3168
|
+
readonly outputs: readonly [];
|
|
3169
|
+
readonly stateMutability: "nonpayable";
|
|
3170
|
+
}, {
|
|
3171
|
+
readonly type: "function";
|
|
3172
|
+
readonly inputs: readonly [{
|
|
3173
|
+
readonly name: "permit";
|
|
3174
|
+
readonly internalType: "struct ISignatureTransfer.PermitBatchTransferFrom";
|
|
3175
|
+
readonly type: "tuple";
|
|
3176
|
+
readonly components: readonly [{
|
|
3177
|
+
readonly name: "permitted";
|
|
3178
|
+
readonly internalType: "struct ISignatureTransfer.TokenPermissions[]";
|
|
3179
|
+
readonly type: "tuple[]";
|
|
3180
|
+
readonly components: readonly [{
|
|
3181
|
+
readonly name: "token";
|
|
3182
|
+
readonly internalType: "address";
|
|
3183
|
+
readonly type: "address";
|
|
3184
|
+
}, {
|
|
3185
|
+
readonly name: "amount";
|
|
3186
|
+
readonly internalType: "uint256";
|
|
3187
|
+
readonly type: "uint256";
|
|
3188
|
+
}];
|
|
3189
|
+
}, {
|
|
3190
|
+
readonly name: "nonce";
|
|
3191
|
+
readonly internalType: "uint256";
|
|
3192
|
+
readonly type: "uint256";
|
|
3193
|
+
}, {
|
|
3194
|
+
readonly name: "deadline";
|
|
3195
|
+
readonly internalType: "uint256";
|
|
3196
|
+
readonly type: "uint256";
|
|
3197
|
+
}];
|
|
3198
|
+
}, {
|
|
3199
|
+
readonly name: "transferDetails";
|
|
3200
|
+
readonly internalType: "struct ISignatureTransfer.SignatureTransferDetails[]";
|
|
3201
|
+
readonly type: "tuple[]";
|
|
3202
|
+
readonly components: readonly [{
|
|
3203
|
+
readonly name: "to";
|
|
3204
|
+
readonly internalType: "address";
|
|
3205
|
+
readonly type: "address";
|
|
3206
|
+
}, {
|
|
3207
|
+
readonly name: "requestedAmount";
|
|
3208
|
+
readonly internalType: "uint256";
|
|
3209
|
+
readonly type: "uint256";
|
|
3210
|
+
}];
|
|
3211
|
+
}, {
|
|
3212
|
+
readonly name: "owner";
|
|
3213
|
+
readonly internalType: "address";
|
|
3214
|
+
readonly type: "address";
|
|
3215
|
+
}, {
|
|
3216
|
+
readonly name: "signature";
|
|
3217
|
+
readonly internalType: "bytes";
|
|
3218
|
+
readonly type: "bytes";
|
|
3219
|
+
}];
|
|
3220
|
+
readonly name: "permitTransferFrom";
|
|
3221
|
+
readonly outputs: readonly [];
|
|
3222
|
+
readonly stateMutability: "nonpayable";
|
|
3223
|
+
}, {
|
|
3224
|
+
readonly type: "function";
|
|
3225
|
+
readonly inputs: readonly [{
|
|
3226
|
+
readonly name: "permit";
|
|
3227
|
+
readonly internalType: "struct ISignatureTransfer.PermitTransferFrom";
|
|
3228
|
+
readonly type: "tuple";
|
|
3229
|
+
readonly components: readonly [{
|
|
3230
|
+
readonly name: "permitted";
|
|
3231
|
+
readonly internalType: "struct ISignatureTransfer.TokenPermissions";
|
|
3232
|
+
readonly type: "tuple";
|
|
3233
|
+
readonly components: readonly [{
|
|
3234
|
+
readonly name: "token";
|
|
3235
|
+
readonly internalType: "address";
|
|
3236
|
+
readonly type: "address";
|
|
3237
|
+
}, {
|
|
3238
|
+
readonly name: "amount";
|
|
3239
|
+
readonly internalType: "uint256";
|
|
3240
|
+
readonly type: "uint256";
|
|
3241
|
+
}];
|
|
3242
|
+
}, {
|
|
3243
|
+
readonly name: "nonce";
|
|
3244
|
+
readonly internalType: "uint256";
|
|
3245
|
+
readonly type: "uint256";
|
|
3246
|
+
}, {
|
|
3247
|
+
readonly name: "deadline";
|
|
3248
|
+
readonly internalType: "uint256";
|
|
3249
|
+
readonly type: "uint256";
|
|
3250
|
+
}];
|
|
3251
|
+
}, {
|
|
3252
|
+
readonly name: "transferDetails";
|
|
3253
|
+
readonly internalType: "struct ISignatureTransfer.SignatureTransferDetails";
|
|
3254
|
+
readonly type: "tuple";
|
|
3255
|
+
readonly components: readonly [{
|
|
3256
|
+
readonly name: "to";
|
|
3257
|
+
readonly internalType: "address";
|
|
3258
|
+
readonly type: "address";
|
|
3259
|
+
}, {
|
|
3260
|
+
readonly name: "requestedAmount";
|
|
3261
|
+
readonly internalType: "uint256";
|
|
3262
|
+
readonly type: "uint256";
|
|
3263
|
+
}];
|
|
3264
|
+
}, {
|
|
3265
|
+
readonly name: "owner";
|
|
3266
|
+
readonly internalType: "address";
|
|
3267
|
+
readonly type: "address";
|
|
3268
|
+
}, {
|
|
3269
|
+
readonly name: "witness";
|
|
3270
|
+
readonly internalType: "bytes32";
|
|
3271
|
+
readonly type: "bytes32";
|
|
3272
|
+
}, {
|
|
3273
|
+
readonly name: "witnessTypeString";
|
|
3274
|
+
readonly internalType: "string";
|
|
3275
|
+
readonly type: "string";
|
|
3276
|
+
}, {
|
|
3277
|
+
readonly name: "signature";
|
|
3278
|
+
readonly internalType: "bytes";
|
|
3279
|
+
readonly type: "bytes";
|
|
3280
|
+
}];
|
|
3281
|
+
readonly name: "permitWitnessTransferFrom";
|
|
3282
|
+
readonly outputs: readonly [];
|
|
3283
|
+
readonly stateMutability: "nonpayable";
|
|
3284
|
+
}, {
|
|
3285
|
+
readonly type: "function";
|
|
3286
|
+
readonly inputs: readonly [{
|
|
3287
|
+
readonly name: "permit";
|
|
3288
|
+
readonly internalType: "struct ISignatureTransfer.PermitBatchTransferFrom";
|
|
3289
|
+
readonly type: "tuple";
|
|
3290
|
+
readonly components: readonly [{
|
|
3291
|
+
readonly name: "permitted";
|
|
3292
|
+
readonly internalType: "struct ISignatureTransfer.TokenPermissions[]";
|
|
3293
|
+
readonly type: "tuple[]";
|
|
3294
|
+
readonly components: readonly [{
|
|
3295
|
+
readonly name: "token";
|
|
3296
|
+
readonly internalType: "address";
|
|
3297
|
+
readonly type: "address";
|
|
3298
|
+
}, {
|
|
3299
|
+
readonly name: "amount";
|
|
3300
|
+
readonly internalType: "uint256";
|
|
3301
|
+
readonly type: "uint256";
|
|
3302
|
+
}];
|
|
3303
|
+
}, {
|
|
3304
|
+
readonly name: "nonce";
|
|
3305
|
+
readonly internalType: "uint256";
|
|
3306
|
+
readonly type: "uint256";
|
|
3307
|
+
}, {
|
|
3308
|
+
readonly name: "deadline";
|
|
3309
|
+
readonly internalType: "uint256";
|
|
3310
|
+
readonly type: "uint256";
|
|
3311
|
+
}];
|
|
3312
|
+
}, {
|
|
3313
|
+
readonly name: "transferDetails";
|
|
3314
|
+
readonly internalType: "struct ISignatureTransfer.SignatureTransferDetails[]";
|
|
3315
|
+
readonly type: "tuple[]";
|
|
3316
|
+
readonly components: readonly [{
|
|
3317
|
+
readonly name: "to";
|
|
3318
|
+
readonly internalType: "address";
|
|
3319
|
+
readonly type: "address";
|
|
3320
|
+
}, {
|
|
3321
|
+
readonly name: "requestedAmount";
|
|
3322
|
+
readonly internalType: "uint256";
|
|
3323
|
+
readonly type: "uint256";
|
|
3324
|
+
}];
|
|
3325
|
+
}, {
|
|
3326
|
+
readonly name: "owner";
|
|
3327
|
+
readonly internalType: "address";
|
|
3328
|
+
readonly type: "address";
|
|
3329
|
+
}, {
|
|
3330
|
+
readonly name: "witness";
|
|
3331
|
+
readonly internalType: "bytes32";
|
|
3332
|
+
readonly type: "bytes32";
|
|
3333
|
+
}, {
|
|
3334
|
+
readonly name: "witnessTypeString";
|
|
3335
|
+
readonly internalType: "string";
|
|
3336
|
+
readonly type: "string";
|
|
3337
|
+
}, {
|
|
3338
|
+
readonly name: "signature";
|
|
3339
|
+
readonly internalType: "bytes";
|
|
3340
|
+
readonly type: "bytes";
|
|
3341
|
+
}];
|
|
3342
|
+
readonly name: "permitWitnessTransferFrom";
|
|
3343
|
+
readonly outputs: readonly [];
|
|
3344
|
+
readonly stateMutability: "nonpayable";
|
|
3345
|
+
}, {
|
|
3346
|
+
readonly type: "function";
|
|
3347
|
+
readonly inputs: readonly [{
|
|
3348
|
+
readonly name: "transferDetails";
|
|
3349
|
+
readonly internalType: "struct IAllowanceTransfer.AllowanceTransferDetails[]";
|
|
3350
|
+
readonly type: "tuple[]";
|
|
3351
|
+
readonly components: readonly [{
|
|
3352
|
+
readonly name: "from";
|
|
3353
|
+
readonly internalType: "address";
|
|
3354
|
+
readonly type: "address";
|
|
3355
|
+
}, {
|
|
3356
|
+
readonly name: "to";
|
|
3357
|
+
readonly internalType: "address";
|
|
3358
|
+
readonly type: "address";
|
|
3359
|
+
}, {
|
|
3360
|
+
readonly name: "amount";
|
|
3361
|
+
readonly internalType: "uint160";
|
|
3362
|
+
readonly type: "uint160";
|
|
3363
|
+
}, {
|
|
3364
|
+
readonly name: "token";
|
|
3365
|
+
readonly internalType: "address";
|
|
3366
|
+
readonly type: "address";
|
|
3367
|
+
}];
|
|
3368
|
+
}];
|
|
3369
|
+
readonly name: "transferFrom";
|
|
3370
|
+
readonly outputs: readonly [];
|
|
3371
|
+
readonly stateMutability: "nonpayable";
|
|
3372
|
+
}, {
|
|
3373
|
+
readonly type: "function";
|
|
3374
|
+
readonly inputs: readonly [{
|
|
3375
|
+
readonly name: "from";
|
|
3376
|
+
readonly internalType: "address";
|
|
3377
|
+
readonly type: "address";
|
|
3378
|
+
}, {
|
|
3379
|
+
readonly name: "to";
|
|
3380
|
+
readonly internalType: "address";
|
|
3381
|
+
readonly type: "address";
|
|
3382
|
+
}, {
|
|
3383
|
+
readonly name: "amount";
|
|
3384
|
+
readonly internalType: "uint160";
|
|
3385
|
+
readonly type: "uint160";
|
|
3386
|
+
}, {
|
|
3387
|
+
readonly name: "token";
|
|
3388
|
+
readonly internalType: "address";
|
|
3389
|
+
readonly type: "address";
|
|
3390
|
+
}];
|
|
3391
|
+
readonly name: "transferFrom";
|
|
3392
|
+
readonly outputs: readonly [];
|
|
3393
|
+
readonly stateMutability: "nonpayable";
|
|
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: true;
|
|
3407
|
+
}, {
|
|
3408
|
+
readonly name: "spender";
|
|
3409
|
+
readonly internalType: "address";
|
|
3410
|
+
readonly type: "address";
|
|
3411
|
+
readonly indexed: true;
|
|
3412
|
+
}, {
|
|
3413
|
+
readonly name: "amount";
|
|
3414
|
+
readonly internalType: "uint160";
|
|
3415
|
+
readonly type: "uint160";
|
|
3416
|
+
readonly indexed: false;
|
|
3417
|
+
}, {
|
|
3418
|
+
readonly name: "expiration";
|
|
3419
|
+
readonly internalType: "uint48";
|
|
3420
|
+
readonly type: "uint48";
|
|
3421
|
+
readonly indexed: false;
|
|
3422
|
+
}];
|
|
3423
|
+
readonly name: "Approval";
|
|
3424
|
+
}, {
|
|
3425
|
+
readonly type: "event";
|
|
3426
|
+
readonly anonymous: false;
|
|
3427
|
+
readonly inputs: readonly [{
|
|
3428
|
+
readonly name: "owner";
|
|
3429
|
+
readonly internalType: "address";
|
|
3430
|
+
readonly type: "address";
|
|
3431
|
+
readonly indexed: true;
|
|
3432
|
+
}, {
|
|
3433
|
+
readonly name: "token";
|
|
3434
|
+
readonly internalType: "address";
|
|
3435
|
+
readonly type: "address";
|
|
3436
|
+
readonly indexed: false;
|
|
3437
|
+
}, {
|
|
3438
|
+
readonly name: "spender";
|
|
3439
|
+
readonly internalType: "address";
|
|
3440
|
+
readonly type: "address";
|
|
3441
|
+
readonly indexed: false;
|
|
3442
|
+
}];
|
|
3443
|
+
readonly name: "Lockdown";
|
|
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: "newNonce";
|
|
3464
|
+
readonly internalType: "uint48";
|
|
3465
|
+
readonly type: "uint48";
|
|
3466
|
+
readonly indexed: false;
|
|
3467
|
+
}, {
|
|
3468
|
+
readonly name: "oldNonce";
|
|
3469
|
+
readonly internalType: "uint48";
|
|
3470
|
+
readonly type: "uint48";
|
|
3471
|
+
readonly indexed: false;
|
|
3472
|
+
}];
|
|
3473
|
+
readonly name: "NonceInvalidation";
|
|
3474
|
+
}, {
|
|
3475
|
+
readonly type: "event";
|
|
3476
|
+
readonly anonymous: false;
|
|
3477
|
+
readonly inputs: readonly [{
|
|
3478
|
+
readonly name: "owner";
|
|
3479
|
+
readonly internalType: "address";
|
|
3480
|
+
readonly type: "address";
|
|
3481
|
+
readonly indexed: true;
|
|
3482
|
+
}, {
|
|
3483
|
+
readonly name: "token";
|
|
3484
|
+
readonly internalType: "address";
|
|
3485
|
+
readonly type: "address";
|
|
3486
|
+
readonly indexed: true;
|
|
3487
|
+
}, {
|
|
3488
|
+
readonly name: "spender";
|
|
3489
|
+
readonly internalType: "address";
|
|
3490
|
+
readonly type: "address";
|
|
3491
|
+
readonly indexed: true;
|
|
3492
|
+
}, {
|
|
3493
|
+
readonly name: "amount";
|
|
3494
|
+
readonly internalType: "uint160";
|
|
3495
|
+
readonly type: "uint160";
|
|
3496
|
+
readonly indexed: false;
|
|
3497
|
+
}, {
|
|
3498
|
+
readonly name: "expiration";
|
|
3499
|
+
readonly internalType: "uint48";
|
|
3500
|
+
readonly type: "uint48";
|
|
3501
|
+
readonly indexed: false;
|
|
3502
|
+
}, {
|
|
3503
|
+
readonly name: "nonce";
|
|
3504
|
+
readonly internalType: "uint48";
|
|
3505
|
+
readonly type: "uint48";
|
|
3506
|
+
readonly indexed: false;
|
|
3507
|
+
}];
|
|
3508
|
+
readonly name: "Permit";
|
|
3509
|
+
}, {
|
|
3510
|
+
readonly type: "event";
|
|
3511
|
+
readonly anonymous: false;
|
|
3512
|
+
readonly inputs: readonly [{
|
|
3513
|
+
readonly name: "owner";
|
|
3514
|
+
readonly internalType: "address";
|
|
3515
|
+
readonly type: "address";
|
|
3516
|
+
readonly indexed: true;
|
|
3517
|
+
}, {
|
|
3518
|
+
readonly name: "word";
|
|
3519
|
+
readonly internalType: "uint256";
|
|
3520
|
+
readonly type: "uint256";
|
|
3521
|
+
readonly indexed: false;
|
|
3522
|
+
}, {
|
|
3523
|
+
readonly name: "mask";
|
|
3524
|
+
readonly internalType: "uint256";
|
|
3525
|
+
readonly type: "uint256";
|
|
3526
|
+
readonly indexed: false;
|
|
3527
|
+
}];
|
|
3528
|
+
readonly name: "UnorderedNonceInvalidation";
|
|
3529
|
+
}, {
|
|
3530
|
+
readonly type: "error";
|
|
3531
|
+
readonly inputs: readonly [{
|
|
3532
|
+
readonly name: "deadline";
|
|
3533
|
+
readonly internalType: "uint256";
|
|
3534
|
+
readonly type: "uint256";
|
|
3535
|
+
}];
|
|
3536
|
+
readonly name: "AllowanceExpired";
|
|
3537
|
+
}, {
|
|
3538
|
+
readonly type: "error";
|
|
3539
|
+
readonly inputs: readonly [];
|
|
3540
|
+
readonly name: "ExcessiveInvalidation";
|
|
3541
|
+
}, {
|
|
3542
|
+
readonly type: "error";
|
|
3543
|
+
readonly inputs: readonly [{
|
|
3544
|
+
readonly name: "amount";
|
|
3545
|
+
readonly internalType: "uint256";
|
|
3546
|
+
readonly type: "uint256";
|
|
3547
|
+
}];
|
|
3548
|
+
readonly name: "InsufficientAllowance";
|
|
3549
|
+
}, {
|
|
3550
|
+
readonly type: "error";
|
|
3551
|
+
readonly inputs: readonly [{
|
|
3552
|
+
readonly name: "maxAmount";
|
|
3553
|
+
readonly internalType: "uint256";
|
|
3554
|
+
readonly type: "uint256";
|
|
3555
|
+
}];
|
|
3556
|
+
readonly name: "InvalidAmount";
|
|
3557
|
+
}, {
|
|
3558
|
+
readonly type: "error";
|
|
3559
|
+
readonly inputs: readonly [];
|
|
3560
|
+
readonly name: "LengthMismatch";
|
|
3561
|
+
}];
|
|
3562
|
+
export declare const iPoolConfigEncodingABI: readonly [{
|
|
3563
|
+
readonly type: "function";
|
|
3564
|
+
readonly inputs: readonly [{
|
|
3565
|
+
readonly name: "version";
|
|
3566
|
+
readonly internalType: "uint8";
|
|
3567
|
+
readonly type: "uint8";
|
|
3568
|
+
}, {
|
|
3569
|
+
readonly name: "currency";
|
|
3570
|
+
readonly internalType: "address";
|
|
3571
|
+
readonly type: "address";
|
|
3572
|
+
}, {
|
|
3573
|
+
readonly name: "tickLower";
|
|
3574
|
+
readonly internalType: "int24[]";
|
|
3575
|
+
readonly type: "int24[]";
|
|
3576
|
+
}, {
|
|
3577
|
+
readonly name: "tickUpper";
|
|
3578
|
+
readonly internalType: "int24[]";
|
|
3579
|
+
readonly type: "int24[]";
|
|
3580
|
+
}, {
|
|
3581
|
+
readonly name: "numDiscoveryPositions";
|
|
3582
|
+
readonly internalType: "uint16[]";
|
|
3583
|
+
readonly type: "uint16[]";
|
|
3584
|
+
}, {
|
|
3585
|
+
readonly name: "maxDiscoverySupplyShare";
|
|
3586
|
+
readonly internalType: "uint256[]";
|
|
3587
|
+
readonly type: "uint256[]";
|
|
3588
|
+
}];
|
|
3589
|
+
readonly name: "encodeMultiCurvePoolConfig";
|
|
3590
|
+
readonly outputs: readonly [{
|
|
3591
|
+
readonly name: "";
|
|
3592
|
+
readonly internalType: "bytes";
|
|
3593
|
+
readonly type: "bytes";
|
|
3594
|
+
}];
|
|
3595
|
+
readonly stateMutability: "pure";
|
|
3596
|
+
}];
|
|
3597
|
+
export declare const iUniswapV3PoolABI: readonly [{
|
|
3598
|
+
readonly type: "function";
|
|
3599
|
+
readonly inputs: readonly [{
|
|
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: "amount";
|
|
3609
|
+
readonly internalType: "uint128";
|
|
3610
|
+
readonly type: "uint128";
|
|
3611
|
+
}];
|
|
3612
|
+
readonly name: "burn";
|
|
3613
|
+
readonly outputs: readonly [{
|
|
3614
|
+
readonly name: "amount0";
|
|
3615
|
+
readonly internalType: "uint256";
|
|
3616
|
+
readonly type: "uint256";
|
|
3617
|
+
}, {
|
|
3618
|
+
readonly name: "amount1";
|
|
3619
|
+
readonly internalType: "uint256";
|
|
3620
|
+
readonly type: "uint256";
|
|
3621
|
+
}];
|
|
3622
|
+
readonly stateMutability: "nonpayable";
|
|
3623
|
+
}, {
|
|
3624
|
+
readonly type: "function";
|
|
3625
|
+
readonly inputs: readonly [{
|
|
3626
|
+
readonly name: "recipient";
|
|
3627
|
+
readonly internalType: "address";
|
|
3628
|
+
readonly type: "address";
|
|
3629
|
+
}, {
|
|
3630
|
+
readonly name: "tickLower";
|
|
3631
|
+
readonly internalType: "int24";
|
|
3632
|
+
readonly type: "int24";
|
|
3633
|
+
}, {
|
|
3634
|
+
readonly name: "tickUpper";
|
|
3635
|
+
readonly internalType: "int24";
|
|
3636
|
+
readonly type: "int24";
|
|
3637
|
+
}, {
|
|
3638
|
+
readonly name: "amount0Requested";
|
|
3639
|
+
readonly internalType: "uint128";
|
|
3640
|
+
readonly type: "uint128";
|
|
3641
|
+
}, {
|
|
3642
|
+
readonly name: "amount1Requested";
|
|
3643
|
+
readonly internalType: "uint128";
|
|
3644
|
+
readonly type: "uint128";
|
|
3645
|
+
}];
|
|
3646
|
+
readonly name: "collect";
|
|
3647
|
+
readonly outputs: readonly [{
|
|
3648
|
+
readonly name: "amount0";
|
|
3649
|
+
readonly internalType: "uint128";
|
|
3650
|
+
readonly type: "uint128";
|
|
3651
|
+
}, {
|
|
3652
|
+
readonly name: "amount1";
|
|
3653
|
+
readonly internalType: "uint128";
|
|
3654
|
+
readonly type: "uint128";
|
|
3655
|
+
}];
|
|
3656
|
+
readonly stateMutability: "nonpayable";
|
|
3657
|
+
}, {
|
|
3658
|
+
readonly type: "function";
|
|
3659
|
+
readonly inputs: readonly [];
|
|
3660
|
+
readonly name: "feeGrowthGlobal0X128";
|
|
3661
|
+
readonly outputs: readonly [{
|
|
3662
|
+
readonly name: "";
|
|
3663
|
+
readonly internalType: "uint256";
|
|
3664
|
+
readonly type: "uint256";
|
|
3665
|
+
}];
|
|
3666
|
+
readonly stateMutability: "view";
|
|
3667
|
+
}, {
|
|
3668
|
+
readonly type: "function";
|
|
3669
|
+
readonly inputs: readonly [];
|
|
3670
|
+
readonly name: "feeGrowthGlobal1X128";
|
|
3671
|
+
readonly outputs: readonly [{
|
|
3672
|
+
readonly name: "";
|
|
3673
|
+
readonly internalType: "uint256";
|
|
3674
|
+
readonly type: "uint256";
|
|
3675
|
+
}];
|
|
3676
|
+
readonly stateMutability: "view";
|
|
3677
|
+
}, {
|
|
3678
|
+
readonly type: "function";
|
|
3679
|
+
readonly inputs: readonly [{
|
|
3680
|
+
readonly name: "sqrtPriceX96";
|
|
3681
|
+
readonly internalType: "uint160";
|
|
3682
|
+
readonly type: "uint160";
|
|
3683
|
+
}];
|
|
3684
|
+
readonly name: "initialize";
|
|
3685
|
+
readonly outputs: readonly [];
|
|
3686
|
+
readonly stateMutability: "nonpayable";
|
|
3687
|
+
}, {
|
|
3688
|
+
readonly type: "function";
|
|
3689
|
+
readonly inputs: readonly [{
|
|
3690
|
+
readonly name: "recipient";
|
|
1557
3691
|
readonly internalType: "address";
|
|
1558
3692
|
readonly type: "address";
|
|
1559
3693
|
}, {
|
|
@@ -1626,80 +3760,175 @@ export declare const iUniswapV3PoolABI: readonly [{
|
|
|
1626
3760
|
}, {
|
|
1627
3761
|
readonly type: "function";
|
|
1628
3762
|
readonly inputs: readonly [{
|
|
1629
|
-
readonly name: "recipient";
|
|
3763
|
+
readonly name: "recipient";
|
|
3764
|
+
readonly internalType: "address";
|
|
3765
|
+
readonly type: "address";
|
|
3766
|
+
}, {
|
|
3767
|
+
readonly name: "zeroForOne";
|
|
3768
|
+
readonly internalType: "bool";
|
|
3769
|
+
readonly type: "bool";
|
|
3770
|
+
}, {
|
|
3771
|
+
readonly name: "amountSpecified";
|
|
3772
|
+
readonly internalType: "int256";
|
|
3773
|
+
readonly type: "int256";
|
|
3774
|
+
}, {
|
|
3775
|
+
readonly name: "sqrtPriceLimitX96";
|
|
3776
|
+
readonly internalType: "uint160";
|
|
3777
|
+
readonly type: "uint160";
|
|
3778
|
+
}, {
|
|
3779
|
+
readonly name: "data";
|
|
3780
|
+
readonly internalType: "bytes";
|
|
3781
|
+
readonly type: "bytes";
|
|
3782
|
+
}];
|
|
3783
|
+
readonly name: "swap";
|
|
3784
|
+
readonly outputs: readonly [{
|
|
3785
|
+
readonly name: "amount0";
|
|
3786
|
+
readonly internalType: "int256";
|
|
3787
|
+
readonly type: "int256";
|
|
3788
|
+
}, {
|
|
3789
|
+
readonly name: "amount1";
|
|
3790
|
+
readonly internalType: "int256";
|
|
3791
|
+
readonly type: "int256";
|
|
3792
|
+
}];
|
|
3793
|
+
readonly stateMutability: "nonpayable";
|
|
3794
|
+
}, {
|
|
3795
|
+
readonly type: "function";
|
|
3796
|
+
readonly inputs: readonly [];
|
|
3797
|
+
readonly name: "token0";
|
|
3798
|
+
readonly outputs: readonly [{
|
|
3799
|
+
readonly name: "";
|
|
3800
|
+
readonly internalType: "address";
|
|
3801
|
+
readonly type: "address";
|
|
3802
|
+
}];
|
|
3803
|
+
readonly stateMutability: "nonpayable";
|
|
3804
|
+
}, {
|
|
3805
|
+
readonly type: "function";
|
|
3806
|
+
readonly inputs: readonly [];
|
|
3807
|
+
readonly name: "token1";
|
|
3808
|
+
readonly outputs: readonly [{
|
|
3809
|
+
readonly name: "";
|
|
3810
|
+
readonly internalType: "address";
|
|
3811
|
+
readonly type: "address";
|
|
3812
|
+
}];
|
|
3813
|
+
readonly stateMutability: "nonpayable";
|
|
3814
|
+
}];
|
|
3815
|
+
export declare const iUniversalRouterABI: readonly [{
|
|
3816
|
+
readonly type: "function";
|
|
3817
|
+
readonly inputs: readonly [{
|
|
3818
|
+
readonly name: "commands";
|
|
3819
|
+
readonly internalType: "bytes";
|
|
3820
|
+
readonly type: "bytes";
|
|
3821
|
+
}, {
|
|
3822
|
+
readonly name: "inputs";
|
|
3823
|
+
readonly internalType: "bytes[]";
|
|
3824
|
+
readonly type: "bytes[]";
|
|
3825
|
+
}, {
|
|
3826
|
+
readonly name: "deadline";
|
|
3827
|
+
readonly internalType: "uint256";
|
|
3828
|
+
readonly type: "uint256";
|
|
3829
|
+
}];
|
|
3830
|
+
readonly name: "execute";
|
|
3831
|
+
readonly outputs: readonly [];
|
|
3832
|
+
readonly stateMutability: "payable";
|
|
3833
|
+
}, {
|
|
3834
|
+
readonly type: "error";
|
|
3835
|
+
readonly inputs: readonly [];
|
|
3836
|
+
readonly name: "ETHNotAccepted";
|
|
3837
|
+
}, {
|
|
3838
|
+
readonly type: "error";
|
|
3839
|
+
readonly inputs: readonly [{
|
|
3840
|
+
readonly name: "commandIndex";
|
|
3841
|
+
readonly internalType: "uint256";
|
|
3842
|
+
readonly type: "uint256";
|
|
3843
|
+
}, {
|
|
3844
|
+
readonly name: "message";
|
|
3845
|
+
readonly internalType: "bytes";
|
|
3846
|
+
readonly type: "bytes";
|
|
3847
|
+
}];
|
|
3848
|
+
readonly name: "ExecutionFailed";
|
|
3849
|
+
}, {
|
|
3850
|
+
readonly type: "error";
|
|
3851
|
+
readonly inputs: readonly [];
|
|
3852
|
+
readonly name: "InvalidEthSender";
|
|
3853
|
+
}, {
|
|
3854
|
+
readonly type: "error";
|
|
3855
|
+
readonly inputs: readonly [];
|
|
3856
|
+
readonly name: "LengthMismatch";
|
|
3857
|
+
}, {
|
|
3858
|
+
readonly type: "error";
|
|
3859
|
+
readonly inputs: readonly [];
|
|
3860
|
+
readonly name: "TransactionDeadlinePassed";
|
|
3861
|
+
}];
|
|
3862
|
+
export declare const zoraFactoryImplABI: readonly [{
|
|
3863
|
+
readonly type: "constructor";
|
|
3864
|
+
readonly inputs: readonly [{
|
|
3865
|
+
readonly name: "_coinImpl";
|
|
3866
|
+
readonly internalType: "address";
|
|
3867
|
+
readonly type: "address";
|
|
3868
|
+
}, {
|
|
3869
|
+
readonly name: "_coinV4Impl";
|
|
3870
|
+
readonly internalType: "address";
|
|
3871
|
+
readonly type: "address";
|
|
3872
|
+
}];
|
|
3873
|
+
readonly stateMutability: "nonpayable";
|
|
3874
|
+
}, {
|
|
3875
|
+
readonly type: "function";
|
|
3876
|
+
readonly inputs: readonly [];
|
|
3877
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
3878
|
+
readonly outputs: readonly [{
|
|
3879
|
+
readonly name: "";
|
|
3880
|
+
readonly internalType: "string";
|
|
3881
|
+
readonly type: "string";
|
|
3882
|
+
}];
|
|
3883
|
+
readonly stateMutability: "view";
|
|
3884
|
+
}, {
|
|
3885
|
+
readonly type: "function";
|
|
3886
|
+
readonly inputs: readonly [{
|
|
3887
|
+
readonly name: "msgSender";
|
|
1630
3888
|
readonly internalType: "address";
|
|
1631
3889
|
readonly type: "address";
|
|
1632
3890
|
}, {
|
|
1633
|
-
readonly name: "
|
|
1634
|
-
readonly internalType: "
|
|
1635
|
-
readonly type: "
|
|
1636
|
-
}, {
|
|
1637
|
-
readonly name: "amountSpecified";
|
|
1638
|
-
readonly internalType: "int256";
|
|
1639
|
-
readonly type: "int256";
|
|
3891
|
+
readonly name: "name";
|
|
3892
|
+
readonly internalType: "string";
|
|
3893
|
+
readonly type: "string";
|
|
1640
3894
|
}, {
|
|
1641
|
-
readonly name: "
|
|
1642
|
-
readonly internalType: "
|
|
1643
|
-
readonly type: "
|
|
3895
|
+
readonly name: "symbol";
|
|
3896
|
+
readonly internalType: "string";
|
|
3897
|
+
readonly type: "string";
|
|
1644
3898
|
}, {
|
|
1645
|
-
readonly name: "
|
|
3899
|
+
readonly name: "poolConfig";
|
|
1646
3900
|
readonly internalType: "bytes";
|
|
1647
3901
|
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
3902
|
}, {
|
|
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: "";
|
|
3903
|
+
readonly name: "platformReferrer";
|
|
1666
3904
|
readonly internalType: "address";
|
|
1667
3905
|
readonly type: "address";
|
|
3906
|
+
}, {
|
|
3907
|
+
readonly name: "coinSalt";
|
|
3908
|
+
readonly internalType: "bytes32";
|
|
3909
|
+
readonly type: "bytes32";
|
|
1668
3910
|
}];
|
|
1669
|
-
readonly
|
|
1670
|
-
}, {
|
|
1671
|
-
readonly type: "function";
|
|
1672
|
-
readonly inputs: readonly [];
|
|
1673
|
-
readonly name: "token1";
|
|
3911
|
+
readonly name: "coinAddress";
|
|
1674
3912
|
readonly outputs: readonly [{
|
|
1675
3913
|
readonly name: "";
|
|
1676
3914
|
readonly internalType: "address";
|
|
1677
3915
|
readonly type: "address";
|
|
1678
3916
|
}];
|
|
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";
|
|
3917
|
+
readonly stateMutability: "view";
|
|
1689
3918
|
}, {
|
|
1690
3919
|
readonly type: "function";
|
|
1691
3920
|
readonly inputs: readonly [];
|
|
1692
|
-
readonly name: "
|
|
3921
|
+
readonly name: "coinImpl";
|
|
1693
3922
|
readonly outputs: readonly [{
|
|
1694
3923
|
readonly name: "";
|
|
1695
|
-
readonly internalType: "
|
|
1696
|
-
readonly type: "
|
|
3924
|
+
readonly internalType: "address";
|
|
3925
|
+
readonly type: "address";
|
|
1697
3926
|
}];
|
|
1698
3927
|
readonly stateMutability: "view";
|
|
1699
3928
|
}, {
|
|
1700
3929
|
readonly type: "function";
|
|
1701
3930
|
readonly inputs: readonly [];
|
|
1702
|
-
readonly name: "
|
|
3931
|
+
readonly name: "coinV4Impl";
|
|
1703
3932
|
readonly outputs: readonly [{
|
|
1704
3933
|
readonly name: "";
|
|
1705
3934
|
readonly internalType: "address";
|
|
@@ -1757,7 +3986,7 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
1757
3986
|
readonly internalType: "address";
|
|
1758
3987
|
readonly type: "address";
|
|
1759
3988
|
}, {
|
|
1760
|
-
readonly name: "
|
|
3989
|
+
readonly name: "";
|
|
1761
3990
|
readonly internalType: "int24";
|
|
1762
3991
|
readonly type: "int24";
|
|
1763
3992
|
}, {
|
|
@@ -1776,6 +4005,60 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
1776
4005
|
readonly type: "uint256";
|
|
1777
4006
|
}];
|
|
1778
4007
|
readonly stateMutability: "payable";
|
|
4008
|
+
}, {
|
|
4009
|
+
readonly type: "function";
|
|
4010
|
+
readonly inputs: readonly [{
|
|
4011
|
+
readonly name: "payoutRecipient";
|
|
4012
|
+
readonly internalType: "address";
|
|
4013
|
+
readonly type: "address";
|
|
4014
|
+
}, {
|
|
4015
|
+
readonly name: "owners";
|
|
4016
|
+
readonly internalType: "address[]";
|
|
4017
|
+
readonly type: "address[]";
|
|
4018
|
+
}, {
|
|
4019
|
+
readonly name: "uri";
|
|
4020
|
+
readonly internalType: "string";
|
|
4021
|
+
readonly type: "string";
|
|
4022
|
+
}, {
|
|
4023
|
+
readonly name: "name";
|
|
4024
|
+
readonly internalType: "string";
|
|
4025
|
+
readonly type: "string";
|
|
4026
|
+
}, {
|
|
4027
|
+
readonly name: "symbol";
|
|
4028
|
+
readonly internalType: "string";
|
|
4029
|
+
readonly type: "string";
|
|
4030
|
+
}, {
|
|
4031
|
+
readonly name: "poolConfig";
|
|
4032
|
+
readonly internalType: "bytes";
|
|
4033
|
+
readonly type: "bytes";
|
|
4034
|
+
}, {
|
|
4035
|
+
readonly name: "platformReferrer";
|
|
4036
|
+
readonly internalType: "address";
|
|
4037
|
+
readonly type: "address";
|
|
4038
|
+
}, {
|
|
4039
|
+
readonly name: "postDeployHook";
|
|
4040
|
+
readonly internalType: "address";
|
|
4041
|
+
readonly type: "address";
|
|
4042
|
+
}, {
|
|
4043
|
+
readonly name: "postDeployHookData";
|
|
4044
|
+
readonly internalType: "bytes";
|
|
4045
|
+
readonly type: "bytes";
|
|
4046
|
+
}, {
|
|
4047
|
+
readonly name: "coinSalt";
|
|
4048
|
+
readonly internalType: "bytes32";
|
|
4049
|
+
readonly type: "bytes32";
|
|
4050
|
+
}];
|
|
4051
|
+
readonly name: "deploy";
|
|
4052
|
+
readonly outputs: readonly [{
|
|
4053
|
+
readonly name: "coin";
|
|
4054
|
+
readonly internalType: "address";
|
|
4055
|
+
readonly type: "address";
|
|
4056
|
+
}, {
|
|
4057
|
+
readonly name: "postDeployHookDataOut";
|
|
4058
|
+
readonly internalType: "bytes";
|
|
4059
|
+
readonly type: "bytes";
|
|
4060
|
+
}];
|
|
4061
|
+
readonly stateMutability: "payable";
|
|
1779
4062
|
}, {
|
|
1780
4063
|
readonly type: "function";
|
|
1781
4064
|
readonly inputs: readonly [{
|
|
@@ -1872,6 +4155,20 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
1872
4155
|
readonly type: "bytes";
|
|
1873
4156
|
}];
|
|
1874
4157
|
readonly stateMutability: "payable";
|
|
4158
|
+
}, {
|
|
4159
|
+
readonly type: "function";
|
|
4160
|
+
readonly inputs: readonly [{
|
|
4161
|
+
readonly name: "coin";
|
|
4162
|
+
readonly internalType: "address";
|
|
4163
|
+
readonly type: "address";
|
|
4164
|
+
}];
|
|
4165
|
+
readonly name: "getVersionForDeployedCoin";
|
|
4166
|
+
readonly outputs: readonly [{
|
|
4167
|
+
readonly name: "";
|
|
4168
|
+
readonly internalType: "uint8";
|
|
4169
|
+
readonly type: "uint8";
|
|
4170
|
+
}];
|
|
4171
|
+
readonly stateMutability: "view";
|
|
1875
4172
|
}, {
|
|
1876
4173
|
readonly type: "function";
|
|
1877
4174
|
readonly inputs: readonly [];
|
|
@@ -1997,6 +4294,87 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
1997
4294
|
readonly indexed: false;
|
|
1998
4295
|
}];
|
|
1999
4296
|
readonly name: "CoinCreated";
|
|
4297
|
+
}, {
|
|
4298
|
+
readonly type: "event";
|
|
4299
|
+
readonly anonymous: false;
|
|
4300
|
+
readonly inputs: readonly [{
|
|
4301
|
+
readonly name: "caller";
|
|
4302
|
+
readonly internalType: "address";
|
|
4303
|
+
readonly type: "address";
|
|
4304
|
+
readonly indexed: true;
|
|
4305
|
+
}, {
|
|
4306
|
+
readonly name: "payoutRecipient";
|
|
4307
|
+
readonly internalType: "address";
|
|
4308
|
+
readonly type: "address";
|
|
4309
|
+
readonly indexed: true;
|
|
4310
|
+
}, {
|
|
4311
|
+
readonly name: "platformReferrer";
|
|
4312
|
+
readonly internalType: "address";
|
|
4313
|
+
readonly type: "address";
|
|
4314
|
+
readonly indexed: true;
|
|
4315
|
+
}, {
|
|
4316
|
+
readonly name: "currency";
|
|
4317
|
+
readonly internalType: "address";
|
|
4318
|
+
readonly type: "address";
|
|
4319
|
+
readonly indexed: false;
|
|
4320
|
+
}, {
|
|
4321
|
+
readonly name: "uri";
|
|
4322
|
+
readonly internalType: "string";
|
|
4323
|
+
readonly type: "string";
|
|
4324
|
+
readonly indexed: false;
|
|
4325
|
+
}, {
|
|
4326
|
+
readonly name: "name";
|
|
4327
|
+
readonly internalType: "string";
|
|
4328
|
+
readonly type: "string";
|
|
4329
|
+
readonly indexed: false;
|
|
4330
|
+
}, {
|
|
4331
|
+
readonly name: "symbol";
|
|
4332
|
+
readonly internalType: "string";
|
|
4333
|
+
readonly type: "string";
|
|
4334
|
+
readonly indexed: false;
|
|
4335
|
+
}, {
|
|
4336
|
+
readonly name: "coin";
|
|
4337
|
+
readonly internalType: "address";
|
|
4338
|
+
readonly type: "address";
|
|
4339
|
+
readonly indexed: false;
|
|
4340
|
+
}, {
|
|
4341
|
+
readonly name: "poolKey";
|
|
4342
|
+
readonly internalType: "struct PoolKey";
|
|
4343
|
+
readonly type: "tuple";
|
|
4344
|
+
readonly components: readonly [{
|
|
4345
|
+
readonly name: "currency0";
|
|
4346
|
+
readonly internalType: "Currency";
|
|
4347
|
+
readonly type: "address";
|
|
4348
|
+
}, {
|
|
4349
|
+
readonly name: "currency1";
|
|
4350
|
+
readonly internalType: "Currency";
|
|
4351
|
+
readonly type: "address";
|
|
4352
|
+
}, {
|
|
4353
|
+
readonly name: "fee";
|
|
4354
|
+
readonly internalType: "uint24";
|
|
4355
|
+
readonly type: "uint24";
|
|
4356
|
+
}, {
|
|
4357
|
+
readonly name: "tickSpacing";
|
|
4358
|
+
readonly internalType: "int24";
|
|
4359
|
+
readonly type: "int24";
|
|
4360
|
+
}, {
|
|
4361
|
+
readonly name: "hooks";
|
|
4362
|
+
readonly internalType: "contract IHooks";
|
|
4363
|
+
readonly type: "address";
|
|
4364
|
+
}];
|
|
4365
|
+
readonly indexed: false;
|
|
4366
|
+
}, {
|
|
4367
|
+
readonly name: "poolKeyHash";
|
|
4368
|
+
readonly internalType: "bytes32";
|
|
4369
|
+
readonly type: "bytes32";
|
|
4370
|
+
readonly indexed: false;
|
|
4371
|
+
}, {
|
|
4372
|
+
readonly name: "version";
|
|
4373
|
+
readonly internalType: "string";
|
|
4374
|
+
readonly type: "string";
|
|
4375
|
+
readonly indexed: false;
|
|
4376
|
+
}];
|
|
4377
|
+
readonly name: "CoinCreatedV4";
|
|
2000
4378
|
}, {
|
|
2001
4379
|
readonly type: "event";
|
|
2002
4380
|
readonly anonymous: false;
|
|
@@ -2048,6 +4426,22 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
2048
4426
|
readonly type: "address";
|
|
2049
4427
|
}];
|
|
2050
4428
|
readonly name: "AddressInsufficientBalance";
|
|
4429
|
+
}, {
|
|
4430
|
+
readonly type: "error";
|
|
4431
|
+
readonly inputs: readonly [];
|
|
4432
|
+
readonly name: "ArrayLengthMismatch";
|
|
4433
|
+
}, {
|
|
4434
|
+
readonly type: "error";
|
|
4435
|
+
readonly inputs: readonly [];
|
|
4436
|
+
readonly name: "CannotMintZeroLiquidity";
|
|
4437
|
+
}, {
|
|
4438
|
+
readonly type: "error";
|
|
4439
|
+
readonly inputs: readonly [];
|
|
4440
|
+
readonly name: "ConfigTickLowerMustBeLessThanTickUpper";
|
|
4441
|
+
}, {
|
|
4442
|
+
readonly type: "error";
|
|
4443
|
+
readonly inputs: readonly [];
|
|
4444
|
+
readonly name: "Deprecated";
|
|
2051
4445
|
}, {
|
|
2052
4446
|
readonly type: "error";
|
|
2053
4447
|
readonly inputs: readonly [];
|
|
@@ -2084,10 +4478,54 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
2084
4478
|
readonly type: "error";
|
|
2085
4479
|
readonly inputs: readonly [];
|
|
2086
4480
|
readonly name: "InvalidInitialization";
|
|
4481
|
+
}, {
|
|
4482
|
+
readonly type: "error";
|
|
4483
|
+
readonly inputs: readonly [];
|
|
4484
|
+
readonly name: "InvalidPoolVersion";
|
|
4485
|
+
}, {
|
|
4486
|
+
readonly type: "error";
|
|
4487
|
+
readonly inputs: readonly [{
|
|
4488
|
+
readonly name: "tickLower";
|
|
4489
|
+
readonly internalType: "int24";
|
|
4490
|
+
readonly type: "int24";
|
|
4491
|
+
}, {
|
|
4492
|
+
readonly name: "tickUpper";
|
|
4493
|
+
readonly internalType: "int24";
|
|
4494
|
+
readonly type: "int24";
|
|
4495
|
+
}];
|
|
4496
|
+
readonly name: "InvalidTickRangeMisordered";
|
|
4497
|
+
}, {
|
|
4498
|
+
readonly type: "error";
|
|
4499
|
+
readonly inputs: readonly [{
|
|
4500
|
+
readonly name: "tickLower";
|
|
4501
|
+
readonly internalType: "int24";
|
|
4502
|
+
readonly type: "int24";
|
|
4503
|
+
}, {
|
|
4504
|
+
readonly name: "tickUpper";
|
|
4505
|
+
readonly internalType: "int24";
|
|
4506
|
+
readonly type: "int24";
|
|
4507
|
+
}];
|
|
4508
|
+
readonly name: "InvalidTickRangeMisordered";
|
|
4509
|
+
}, {
|
|
4510
|
+
readonly type: "error";
|
|
4511
|
+
readonly inputs: readonly [{
|
|
4512
|
+
readonly name: "value";
|
|
4513
|
+
readonly internalType: "uint256";
|
|
4514
|
+
readonly type: "uint256";
|
|
4515
|
+
}, {
|
|
4516
|
+
readonly name: "limit";
|
|
4517
|
+
readonly internalType: "uint256";
|
|
4518
|
+
readonly type: "uint256";
|
|
4519
|
+
}];
|
|
4520
|
+
readonly name: "MaxShareToBeSoldExceeded";
|
|
2087
4521
|
}, {
|
|
2088
4522
|
readonly type: "error";
|
|
2089
4523
|
readonly inputs: readonly [];
|
|
2090
4524
|
readonly name: "NotInitializing";
|
|
4525
|
+
}, {
|
|
4526
|
+
readonly type: "error";
|
|
4527
|
+
readonly inputs: readonly [];
|
|
4528
|
+
readonly name: "NumDiscoveryPositionsOutOfRange";
|
|
2091
4529
|
}, {
|
|
2092
4530
|
readonly type: "error";
|
|
2093
4531
|
readonly inputs: readonly [{
|
|
@@ -2140,5 +4578,13 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
2140
4578
|
readonly type: "string";
|
|
2141
4579
|
}];
|
|
2142
4580
|
readonly name: "UpgradeToMismatchedContractName";
|
|
4581
|
+
}, {
|
|
4582
|
+
readonly type: "error";
|
|
4583
|
+
readonly inputs: readonly [];
|
|
4584
|
+
readonly name: "ZeroDiscoveryPositions";
|
|
4585
|
+
}, {
|
|
4586
|
+
readonly type: "error";
|
|
4587
|
+
readonly inputs: readonly [];
|
|
4588
|
+
readonly name: "ZeroDiscoverySupplyShare";
|
|
2143
4589
|
}];
|
|
2144
4590
|
//# sourceMappingURL=wagmiGenerated.d.ts.map
|