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