@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
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
"name": "_coinImpl",
|
|
7
7
|
"type": "address",
|
|
8
8
|
"internalType": "address"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "_coinV4Impl",
|
|
12
|
+
"type": "address",
|
|
13
|
+
"internalType": "address"
|
|
9
14
|
}
|
|
10
15
|
],
|
|
11
16
|
"stateMutability": "nonpayable"
|
|
@@ -23,6 +28,50 @@
|
|
|
23
28
|
],
|
|
24
29
|
"stateMutability": "view"
|
|
25
30
|
},
|
|
31
|
+
{
|
|
32
|
+
"type": "function",
|
|
33
|
+
"name": "coinAddress",
|
|
34
|
+
"inputs": [
|
|
35
|
+
{
|
|
36
|
+
"name": "msgSender",
|
|
37
|
+
"type": "address",
|
|
38
|
+
"internalType": "address"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "name",
|
|
42
|
+
"type": "string",
|
|
43
|
+
"internalType": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "symbol",
|
|
47
|
+
"type": "string",
|
|
48
|
+
"internalType": "string"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "poolConfig",
|
|
52
|
+
"type": "bytes",
|
|
53
|
+
"internalType": "bytes"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "platformReferrer",
|
|
57
|
+
"type": "address",
|
|
58
|
+
"internalType": "address"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "coinSalt",
|
|
62
|
+
"type": "bytes32",
|
|
63
|
+
"internalType": "bytes32"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"outputs": [
|
|
67
|
+
{
|
|
68
|
+
"name": "",
|
|
69
|
+
"type": "address",
|
|
70
|
+
"internalType": "address"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"stateMutability": "view"
|
|
74
|
+
},
|
|
26
75
|
{
|
|
27
76
|
"type": "function",
|
|
28
77
|
"name": "coinImpl",
|
|
@@ -36,6 +85,45 @@
|
|
|
36
85
|
],
|
|
37
86
|
"stateMutability": "view"
|
|
38
87
|
},
|
|
88
|
+
{
|
|
89
|
+
"type": "function",
|
|
90
|
+
"name": "coinV4Impl",
|
|
91
|
+
"inputs": [],
|
|
92
|
+
"outputs": [
|
|
93
|
+
{
|
|
94
|
+
"name": "",
|
|
95
|
+
"type": "address",
|
|
96
|
+
"internalType": "address"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"stateMutability": "view"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "function",
|
|
103
|
+
"name": "contractName",
|
|
104
|
+
"inputs": [],
|
|
105
|
+
"outputs": [
|
|
106
|
+
{
|
|
107
|
+
"name": "",
|
|
108
|
+
"type": "string",
|
|
109
|
+
"internalType": "string"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"stateMutability": "pure"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"type": "function",
|
|
116
|
+
"name": "contractVersion",
|
|
117
|
+
"inputs": [],
|
|
118
|
+
"outputs": [
|
|
119
|
+
{
|
|
120
|
+
"name": "",
|
|
121
|
+
"type": "string",
|
|
122
|
+
"internalType": "string"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"stateMutability": "pure"
|
|
126
|
+
},
|
|
39
127
|
{
|
|
40
128
|
"type": "function",
|
|
41
129
|
"name": "deploy",
|
|
@@ -76,7 +164,7 @@
|
|
|
76
164
|
"internalType": "address"
|
|
77
165
|
},
|
|
78
166
|
{
|
|
79
|
-
"name": "
|
|
167
|
+
"name": "",
|
|
80
168
|
"type": "int24",
|
|
81
169
|
"internalType": "int24"
|
|
82
170
|
},
|
|
@@ -100,6 +188,75 @@
|
|
|
100
188
|
],
|
|
101
189
|
"stateMutability": "payable"
|
|
102
190
|
},
|
|
191
|
+
{
|
|
192
|
+
"type": "function",
|
|
193
|
+
"name": "deploy",
|
|
194
|
+
"inputs": [
|
|
195
|
+
{
|
|
196
|
+
"name": "payoutRecipient",
|
|
197
|
+
"type": "address",
|
|
198
|
+
"internalType": "address"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "owners",
|
|
202
|
+
"type": "address[]",
|
|
203
|
+
"internalType": "address[]"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "uri",
|
|
207
|
+
"type": "string",
|
|
208
|
+
"internalType": "string"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "name",
|
|
212
|
+
"type": "string",
|
|
213
|
+
"internalType": "string"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "symbol",
|
|
217
|
+
"type": "string",
|
|
218
|
+
"internalType": "string"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "poolConfig",
|
|
222
|
+
"type": "bytes",
|
|
223
|
+
"internalType": "bytes"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "platformReferrer",
|
|
227
|
+
"type": "address",
|
|
228
|
+
"internalType": "address"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "postDeployHook",
|
|
232
|
+
"type": "address",
|
|
233
|
+
"internalType": "address"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "postDeployHookData",
|
|
237
|
+
"type": "bytes",
|
|
238
|
+
"internalType": "bytes"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "coinSalt",
|
|
242
|
+
"type": "bytes32",
|
|
243
|
+
"internalType": "bytes32"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"outputs": [
|
|
247
|
+
{
|
|
248
|
+
"name": "coin",
|
|
249
|
+
"type": "address",
|
|
250
|
+
"internalType": "address"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "postDeployHookDataOut",
|
|
254
|
+
"type": "bytes",
|
|
255
|
+
"internalType": "bytes"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"stateMutability": "payable"
|
|
259
|
+
},
|
|
103
260
|
{
|
|
104
261
|
"type": "function",
|
|
105
262
|
"name": "deploy",
|
|
@@ -159,6 +316,89 @@
|
|
|
159
316
|
],
|
|
160
317
|
"stateMutability": "payable"
|
|
161
318
|
},
|
|
319
|
+
{
|
|
320
|
+
"type": "function",
|
|
321
|
+
"name": "deployWithHook",
|
|
322
|
+
"inputs": [
|
|
323
|
+
{
|
|
324
|
+
"name": "payoutRecipient",
|
|
325
|
+
"type": "address",
|
|
326
|
+
"internalType": "address"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "owners",
|
|
330
|
+
"type": "address[]",
|
|
331
|
+
"internalType": "address[]"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "uri",
|
|
335
|
+
"type": "string",
|
|
336
|
+
"internalType": "string"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "name",
|
|
340
|
+
"type": "string",
|
|
341
|
+
"internalType": "string"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"name": "symbol",
|
|
345
|
+
"type": "string",
|
|
346
|
+
"internalType": "string"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "poolConfig",
|
|
350
|
+
"type": "bytes",
|
|
351
|
+
"internalType": "bytes"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"name": "platformReferrer",
|
|
355
|
+
"type": "address",
|
|
356
|
+
"internalType": "address"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "hook",
|
|
360
|
+
"type": "address",
|
|
361
|
+
"internalType": "address"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "hookData",
|
|
365
|
+
"type": "bytes",
|
|
366
|
+
"internalType": "bytes"
|
|
367
|
+
}
|
|
368
|
+
],
|
|
369
|
+
"outputs": [
|
|
370
|
+
{
|
|
371
|
+
"name": "coin",
|
|
372
|
+
"type": "address",
|
|
373
|
+
"internalType": "address"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "hookDataOut",
|
|
377
|
+
"type": "bytes",
|
|
378
|
+
"internalType": "bytes"
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"stateMutability": "payable"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"type": "function",
|
|
385
|
+
"name": "getVersionForDeployedCoin",
|
|
386
|
+
"inputs": [
|
|
387
|
+
{
|
|
388
|
+
"name": "coin",
|
|
389
|
+
"type": "address",
|
|
390
|
+
"internalType": "address"
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
"outputs": [
|
|
394
|
+
{
|
|
395
|
+
"name": "",
|
|
396
|
+
"type": "uint8",
|
|
397
|
+
"internalType": "uint8"
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
"stateMutability": "view"
|
|
401
|
+
},
|
|
162
402
|
{
|
|
163
403
|
"type": "function",
|
|
164
404
|
"name": "implementation",
|
|
@@ -316,6 +556,106 @@
|
|
|
316
556
|
],
|
|
317
557
|
"anonymous": false
|
|
318
558
|
},
|
|
559
|
+
{
|
|
560
|
+
"type": "event",
|
|
561
|
+
"name": "CoinCreatedV4",
|
|
562
|
+
"inputs": [
|
|
563
|
+
{
|
|
564
|
+
"name": "caller",
|
|
565
|
+
"type": "address",
|
|
566
|
+
"indexed": true,
|
|
567
|
+
"internalType": "address"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"name": "payoutRecipient",
|
|
571
|
+
"type": "address",
|
|
572
|
+
"indexed": true,
|
|
573
|
+
"internalType": "address"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "platformReferrer",
|
|
577
|
+
"type": "address",
|
|
578
|
+
"indexed": true,
|
|
579
|
+
"internalType": "address"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "currency",
|
|
583
|
+
"type": "address",
|
|
584
|
+
"indexed": false,
|
|
585
|
+
"internalType": "address"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"name": "uri",
|
|
589
|
+
"type": "string",
|
|
590
|
+
"indexed": false,
|
|
591
|
+
"internalType": "string"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"name": "name",
|
|
595
|
+
"type": "string",
|
|
596
|
+
"indexed": false,
|
|
597
|
+
"internalType": "string"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"name": "symbol",
|
|
601
|
+
"type": "string",
|
|
602
|
+
"indexed": false,
|
|
603
|
+
"internalType": "string"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"name": "coin",
|
|
607
|
+
"type": "address",
|
|
608
|
+
"indexed": false,
|
|
609
|
+
"internalType": "address"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"name": "poolKey",
|
|
613
|
+
"type": "tuple",
|
|
614
|
+
"indexed": false,
|
|
615
|
+
"internalType": "struct PoolKey",
|
|
616
|
+
"components": [
|
|
617
|
+
{
|
|
618
|
+
"name": "currency0",
|
|
619
|
+
"type": "address",
|
|
620
|
+
"internalType": "Currency"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "currency1",
|
|
624
|
+
"type": "address",
|
|
625
|
+
"internalType": "Currency"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "fee",
|
|
629
|
+
"type": "uint24",
|
|
630
|
+
"internalType": "uint24"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"name": "tickSpacing",
|
|
634
|
+
"type": "int24",
|
|
635
|
+
"internalType": "int24"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"name": "hooks",
|
|
639
|
+
"type": "address",
|
|
640
|
+
"internalType": "contract IHooks"
|
|
641
|
+
}
|
|
642
|
+
]
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"name": "poolKeyHash",
|
|
646
|
+
"type": "bytes32",
|
|
647
|
+
"indexed": false,
|
|
648
|
+
"internalType": "bytes32"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "version",
|
|
652
|
+
"type": "string",
|
|
653
|
+
"indexed": false,
|
|
654
|
+
"internalType": "string"
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
"anonymous": false
|
|
658
|
+
},
|
|
319
659
|
{
|
|
320
660
|
"type": "event",
|
|
321
661
|
"name": "Initialized",
|
|
@@ -383,6 +723,26 @@
|
|
|
383
723
|
}
|
|
384
724
|
]
|
|
385
725
|
},
|
|
726
|
+
{
|
|
727
|
+
"type": "error",
|
|
728
|
+
"name": "ArrayLengthMismatch",
|
|
729
|
+
"inputs": []
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"type": "error",
|
|
733
|
+
"name": "CannotMintZeroLiquidity",
|
|
734
|
+
"inputs": []
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"type": "error",
|
|
738
|
+
"name": "ConfigTickLowerMustBeLessThanTickUpper",
|
|
739
|
+
"inputs": []
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"type": "error",
|
|
743
|
+
"name": "Deprecated",
|
|
744
|
+
"inputs": []
|
|
745
|
+
},
|
|
386
746
|
{
|
|
387
747
|
"type": "error",
|
|
388
748
|
"name": "ERC1167FailedCreateClone",
|
|
@@ -419,16 +779,79 @@
|
|
|
419
779
|
"name": "FailedInnerCall",
|
|
420
780
|
"inputs": []
|
|
421
781
|
},
|
|
782
|
+
{
|
|
783
|
+
"type": "error",
|
|
784
|
+
"name": "InvalidHook",
|
|
785
|
+
"inputs": []
|
|
786
|
+
},
|
|
422
787
|
{
|
|
423
788
|
"type": "error",
|
|
424
789
|
"name": "InvalidInitialization",
|
|
425
790
|
"inputs": []
|
|
426
791
|
},
|
|
792
|
+
{
|
|
793
|
+
"type": "error",
|
|
794
|
+
"name": "InvalidPoolVersion",
|
|
795
|
+
"inputs": []
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"type": "error",
|
|
799
|
+
"name": "InvalidTickRangeMisordered",
|
|
800
|
+
"inputs": [
|
|
801
|
+
{
|
|
802
|
+
"name": "tickLower",
|
|
803
|
+
"type": "int24",
|
|
804
|
+
"internalType": "int24"
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"name": "tickUpper",
|
|
808
|
+
"type": "int24",
|
|
809
|
+
"internalType": "int24"
|
|
810
|
+
}
|
|
811
|
+
]
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"type": "error",
|
|
815
|
+
"name": "InvalidTickRangeMisordered",
|
|
816
|
+
"inputs": [
|
|
817
|
+
{
|
|
818
|
+
"name": "tickLower",
|
|
819
|
+
"type": "int24",
|
|
820
|
+
"internalType": "int24"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "tickUpper",
|
|
824
|
+
"type": "int24",
|
|
825
|
+
"internalType": "int24"
|
|
826
|
+
}
|
|
827
|
+
]
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"type": "error",
|
|
831
|
+
"name": "MaxShareToBeSoldExceeded",
|
|
832
|
+
"inputs": [
|
|
833
|
+
{
|
|
834
|
+
"name": "value",
|
|
835
|
+
"type": "uint256",
|
|
836
|
+
"internalType": "uint256"
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"name": "limit",
|
|
840
|
+
"type": "uint256",
|
|
841
|
+
"internalType": "uint256"
|
|
842
|
+
}
|
|
843
|
+
]
|
|
844
|
+
},
|
|
427
845
|
{
|
|
428
846
|
"type": "error",
|
|
429
847
|
"name": "NotInitializing",
|
|
430
848
|
"inputs": []
|
|
431
849
|
},
|
|
850
|
+
{
|
|
851
|
+
"type": "error",
|
|
852
|
+
"name": "NumDiscoveryPositionsOutOfRange",
|
|
853
|
+
"inputs": []
|
|
854
|
+
},
|
|
432
855
|
{
|
|
433
856
|
"type": "error",
|
|
434
857
|
"name": "OwnableInvalidOwner",
|
|
@@ -482,5 +905,31 @@
|
|
|
482
905
|
"internalType": "bytes32"
|
|
483
906
|
}
|
|
484
907
|
]
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"type": "error",
|
|
911
|
+
"name": "UpgradeToMismatchedContractName",
|
|
912
|
+
"inputs": [
|
|
913
|
+
{
|
|
914
|
+
"name": "currentName",
|
|
915
|
+
"type": "string",
|
|
916
|
+
"internalType": "string"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"name": "newName",
|
|
920
|
+
"type": "string",
|
|
921
|
+
"internalType": "string"
|
|
922
|
+
}
|
|
923
|
+
]
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"type": "error",
|
|
927
|
+
"name": "ZeroDiscoveryPositions",
|
|
928
|
+
"inputs": []
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"type": "error",
|
|
932
|
+
"name": "ZeroDiscoverySupplyShare",
|
|
933
|
+
"inputs": []
|
|
485
934
|
}
|
|
486
935
|
]
|