@zoralabs/coins 0.6.1 → 0.7.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 +69 -55
- package/CHANGELOG.md +12 -0
- package/abis/BaseTest.json +0 -23
- package/abis/Coin.json +186 -77
- package/abis/CoinConfigurationVersions.json +7 -0
- package/abis/CoinSetup.json +7 -0
- package/abis/CoinTest.json +5 -49
- package/abis/CustomRevert.json +28 -0
- package/abis/DopplerUniswapV3Test.json +891 -0
- package/abis/FactoryTest.json +7 -23
- package/abis/IAirlock.json +15 -0
- package/abis/ICoin.json +52 -34
- package/abis/IDopplerErrors.json +44 -0
- package/abis/INonfungiblePositionManager.json +13 -0
- package/abis/IUniswapV3Factory.json +198 -0
- package/abis/IUniswapV3Pool.json +135 -0
- package/abis/MultiOwnableTest.json +0 -23
- package/abis/SafeCast.json +7 -0
- package/abis/Simulate.json +120 -0
- package/abis/SqrtPriceMath.json +22 -0
- package/abis/TickMath.json +24 -0
- package/abis/ZoraFactoryImpl.json +59 -0
- package/addresses/8453.json +3 -3
- package/dist/index.cjs +160 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +160 -39
- package/dist/index.js.map +1 -1
- package/dist/wagmiGenerated.d.ts +349 -67
- package/dist/wagmiGenerated.d.ts.map +1 -1
- package/package/wagmiGenerated.ts +161 -40
- package/package.json +3 -3
- package/script/CoinsDeployerBase.sol +1 -1
- package/script/Simulate.s.sol +67 -0
- package/src/Coin.sol +159 -90
- package/src/ZoraFactoryImpl.sol +47 -1
- package/src/interfaces/IAirlock.sol +6 -0
- package/src/interfaces/ICoin.sol +18 -2
- package/src/interfaces/IDopplerErrors.sol +14 -0
- package/src/interfaces/INonfungiblePositionManager.sol +2 -0
- package/src/interfaces/IUniswapV3Factory.sol +64 -0
- package/src/interfaces/IUniswapV3Pool.sol +48 -0
- package/src/libs/CoinConfigurationVersions.sol +9 -0
- package/src/libs/CoinDopplerUniV3.sol +202 -0
- package/src/libs/CoinLegacy.sol +48 -0
- package/src/libs/CoinSetup.sol +37 -0
- package/src/libs/MarketConstants.sol +25 -0
- package/src/types/LpPosition.sol +8 -0
- package/src/types/PoolState.sol +24 -0
- package/src/utils/CoinConstants.sol +5 -12
- package/src/utils/uniswap/BitMath.sol +55 -0
- package/src/utils/uniswap/CustomRevert.sol +111 -0
- package/src/utils/uniswap/FixedPoint96.sol +11 -0
- package/src/utils/uniswap/FullMath.sol +118 -0
- package/src/utils/uniswap/LiquidityAmounts.sol +117 -0
- package/src/utils/uniswap/SafeCast.sol +61 -0
- package/src/utils/uniswap/SqrtPriceMath.sol +249 -0
- package/src/utils/uniswap/TickMath.sol +244 -0
- package/src/utils/uniswap/UnsafeMath.sol +30 -0
- package/src/version/ContractVersionBase.sol +1 -1
- package/test/Coin.t.sol +65 -65
- package/test/CoinDopplerUniV3.t.sol +452 -0
- package/test/Factory.t.sol +49 -7
- package/test/utils/BaseTest.sol +26 -7
- package/wagmi.config.ts +1 -1
- package/abis/IERC721Receiver.json +0 -36
- package/src/utils/TickMath.sol +0 -210
package/dist/wagmiGenerated.d.ts
CHANGED
|
@@ -13,13 +13,17 @@ export declare const coinABI: readonly [{
|
|
|
13
13
|
readonly internalType: "address";
|
|
14
14
|
readonly type: "address";
|
|
15
15
|
}, {
|
|
16
|
-
readonly name: "
|
|
16
|
+
readonly name: "_v3Factory";
|
|
17
17
|
readonly internalType: "address";
|
|
18
18
|
readonly type: "address";
|
|
19
19
|
}, {
|
|
20
20
|
readonly name: "_swapRouter";
|
|
21
21
|
readonly internalType: "address";
|
|
22
22
|
readonly type: "address";
|
|
23
|
+
}, {
|
|
24
|
+
readonly name: "_airlock";
|
|
25
|
+
readonly internalType: "address";
|
|
26
|
+
readonly type: "address";
|
|
23
27
|
}];
|
|
24
28
|
readonly stateMutability: "nonpayable";
|
|
25
29
|
}, {
|
|
@@ -135,6 +139,16 @@ export declare const coinABI: readonly [{
|
|
|
135
139
|
readonly name: "addOwners";
|
|
136
140
|
readonly outputs: readonly [];
|
|
137
141
|
readonly stateMutability: "nonpayable";
|
|
142
|
+
}, {
|
|
143
|
+
readonly type: "function";
|
|
144
|
+
readonly inputs: readonly [];
|
|
145
|
+
readonly name: "airlock";
|
|
146
|
+
readonly outputs: readonly [{
|
|
147
|
+
readonly name: "";
|
|
148
|
+
readonly internalType: "address";
|
|
149
|
+
readonly type: "address";
|
|
150
|
+
}];
|
|
151
|
+
readonly stateMutability: "view";
|
|
138
152
|
}, {
|
|
139
153
|
readonly type: "function";
|
|
140
154
|
readonly inputs: readonly [{
|
|
@@ -336,17 +350,13 @@ export declare const coinABI: readonly [{
|
|
|
336
350
|
readonly internalType: "string";
|
|
337
351
|
readonly type: "string";
|
|
338
352
|
}, {
|
|
339
|
-
readonly name: "
|
|
340
|
-
readonly internalType: "
|
|
341
|
-
readonly type: "
|
|
353
|
+
readonly name: "poolConfig_";
|
|
354
|
+
readonly internalType: "bytes";
|
|
355
|
+
readonly type: "bytes";
|
|
342
356
|
}, {
|
|
343
|
-
readonly name: "
|
|
357
|
+
readonly name: "platformReferrer_";
|
|
344
358
|
readonly internalType: "address";
|
|
345
359
|
readonly type: "address";
|
|
346
|
-
}, {
|
|
347
|
-
readonly name: "tickLower_";
|
|
348
|
-
readonly internalType: "int24";
|
|
349
|
-
readonly type: "int24";
|
|
350
360
|
}];
|
|
351
361
|
readonly name: "initialize";
|
|
352
362
|
readonly outputs: readonly [];
|
|
@@ -365,16 +375,6 @@ export declare const coinABI: readonly [{
|
|
|
365
375
|
readonly type: "bool";
|
|
366
376
|
}];
|
|
367
377
|
readonly stateMutability: "view";
|
|
368
|
-
}, {
|
|
369
|
-
readonly type: "function";
|
|
370
|
-
readonly inputs: readonly [];
|
|
371
|
-
readonly name: "lpTokenId";
|
|
372
|
-
readonly outputs: readonly [{
|
|
373
|
-
readonly name: "";
|
|
374
|
-
readonly internalType: "uint256";
|
|
375
|
-
readonly type: "uint256";
|
|
376
|
-
}];
|
|
377
|
-
readonly stateMutability: "view";
|
|
378
378
|
}, {
|
|
379
379
|
readonly type: "function";
|
|
380
380
|
readonly inputs: readonly [];
|
|
@@ -399,42 +399,6 @@ export declare const coinABI: readonly [{
|
|
|
399
399
|
readonly type: "uint256";
|
|
400
400
|
}];
|
|
401
401
|
readonly stateMutability: "view";
|
|
402
|
-
}, {
|
|
403
|
-
readonly type: "function";
|
|
404
|
-
readonly inputs: readonly [];
|
|
405
|
-
readonly name: "nonfungiblePositionManager";
|
|
406
|
-
readonly outputs: readonly [{
|
|
407
|
-
readonly name: "";
|
|
408
|
-
readonly internalType: "address";
|
|
409
|
-
readonly type: "address";
|
|
410
|
-
}];
|
|
411
|
-
readonly stateMutability: "view";
|
|
412
|
-
}, {
|
|
413
|
-
readonly type: "function";
|
|
414
|
-
readonly inputs: readonly [{
|
|
415
|
-
readonly name: "";
|
|
416
|
-
readonly internalType: "address";
|
|
417
|
-
readonly type: "address";
|
|
418
|
-
}, {
|
|
419
|
-
readonly name: "";
|
|
420
|
-
readonly internalType: "address";
|
|
421
|
-
readonly type: "address";
|
|
422
|
-
}, {
|
|
423
|
-
readonly name: "";
|
|
424
|
-
readonly internalType: "uint256";
|
|
425
|
-
readonly type: "uint256";
|
|
426
|
-
}, {
|
|
427
|
-
readonly name: "";
|
|
428
|
-
readonly internalType: "bytes";
|
|
429
|
-
readonly type: "bytes";
|
|
430
|
-
}];
|
|
431
|
-
readonly name: "onERC721Received";
|
|
432
|
-
readonly outputs: readonly [{
|
|
433
|
-
readonly name: "";
|
|
434
|
-
readonly internalType: "bytes4";
|
|
435
|
-
readonly type: "bytes4";
|
|
436
|
-
}];
|
|
437
|
-
readonly stateMutability: "view";
|
|
438
402
|
}, {
|
|
439
403
|
readonly type: "function";
|
|
440
404
|
readonly inputs: readonly [];
|
|
@@ -509,6 +473,74 @@ export declare const coinABI: readonly [{
|
|
|
509
473
|
readonly type: "address";
|
|
510
474
|
}];
|
|
511
475
|
readonly stateMutability: "view";
|
|
476
|
+
}, {
|
|
477
|
+
readonly type: "function";
|
|
478
|
+
readonly inputs: readonly [];
|
|
479
|
+
readonly name: "poolConfiguration";
|
|
480
|
+
readonly outputs: readonly [{
|
|
481
|
+
readonly name: "version";
|
|
482
|
+
readonly internalType: "uint8";
|
|
483
|
+
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
|
+
}, {
|
|
493
|
+
readonly name: "numPositions";
|
|
494
|
+
readonly internalType: "uint16";
|
|
495
|
+
readonly type: "uint16";
|
|
496
|
+
}, {
|
|
497
|
+
readonly name: "maxDiscoverySupplyShare";
|
|
498
|
+
readonly internalType: "uint256";
|
|
499
|
+
readonly type: "uint256";
|
|
500
|
+
}];
|
|
501
|
+
readonly stateMutability: "view";
|
|
502
|
+
}, {
|
|
503
|
+
readonly type: "function";
|
|
504
|
+
readonly inputs: readonly [];
|
|
505
|
+
readonly name: "poolState";
|
|
506
|
+
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
|
+
readonly name: "tickLower";
|
|
516
|
+
readonly internalType: "int24";
|
|
517
|
+
readonly type: "int24";
|
|
518
|
+
}, {
|
|
519
|
+
readonly name: "tickUpper";
|
|
520
|
+
readonly internalType: "int24";
|
|
521
|
+
readonly type: "int24";
|
|
522
|
+
}, {
|
|
523
|
+
readonly name: "numPositions";
|
|
524
|
+
readonly internalType: "uint16";
|
|
525
|
+
readonly type: "uint16";
|
|
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";
|
|
542
|
+
}];
|
|
543
|
+
readonly stateMutability: "view";
|
|
512
544
|
}, {
|
|
513
545
|
readonly type: "function";
|
|
514
546
|
readonly inputs: readonly [];
|
|
@@ -706,21 +738,31 @@ export declare const coinABI: readonly [{
|
|
|
706
738
|
}, {
|
|
707
739
|
readonly type: "function";
|
|
708
740
|
readonly inputs: readonly [{
|
|
709
|
-
readonly name: "
|
|
710
|
-
readonly internalType: "
|
|
711
|
-
readonly type: "
|
|
741
|
+
readonly name: "amount0Owed";
|
|
742
|
+
readonly internalType: "uint256";
|
|
743
|
+
readonly type: "uint256";
|
|
712
744
|
}, {
|
|
713
|
-
readonly name: "
|
|
714
|
-
readonly internalType: "
|
|
715
|
-
readonly type: "
|
|
745
|
+
readonly name: "amount1Owed";
|
|
746
|
+
readonly internalType: "uint256";
|
|
747
|
+
readonly type: "uint256";
|
|
716
748
|
}, {
|
|
717
749
|
readonly name: "";
|
|
718
750
|
readonly internalType: "bytes";
|
|
719
751
|
readonly type: "bytes";
|
|
720
752
|
}];
|
|
721
|
-
readonly name: "
|
|
753
|
+
readonly name: "uniswapV3MintCallback";
|
|
722
754
|
readonly outputs: readonly [];
|
|
723
755
|
readonly stateMutability: "nonpayable";
|
|
756
|
+
}, {
|
|
757
|
+
readonly type: "function";
|
|
758
|
+
readonly inputs: readonly [];
|
|
759
|
+
readonly name: "v3Factory";
|
|
760
|
+
readonly outputs: readonly [{
|
|
761
|
+
readonly name: "";
|
|
762
|
+
readonly internalType: "address";
|
|
763
|
+
readonly type: "address";
|
|
764
|
+
}];
|
|
765
|
+
readonly stateMutability: "view";
|
|
724
766
|
}, {
|
|
725
767
|
readonly type: "event";
|
|
726
768
|
readonly anonymous: false;
|
|
@@ -1088,6 +1130,14 @@ export declare const coinABI: readonly [{
|
|
|
1088
1130
|
readonly type: "error";
|
|
1089
1131
|
readonly inputs: readonly [];
|
|
1090
1132
|
readonly name: "AlreadyOwner";
|
|
1133
|
+
}, {
|
|
1134
|
+
readonly type: "error";
|
|
1135
|
+
readonly inputs: readonly [];
|
|
1136
|
+
readonly name: "CannotMintZeroLiquidity";
|
|
1137
|
+
}, {
|
|
1138
|
+
readonly type: "error";
|
|
1139
|
+
readonly inputs: readonly [];
|
|
1140
|
+
readonly name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions";
|
|
1091
1141
|
}, {
|
|
1092
1142
|
readonly type: "error";
|
|
1093
1143
|
readonly inputs: readonly [];
|
|
@@ -1252,10 +1302,30 @@ export declare const coinABI: readonly [{
|
|
|
1252
1302
|
readonly type: "error";
|
|
1253
1303
|
readonly inputs: readonly [];
|
|
1254
1304
|
readonly name: "InvalidMarketType";
|
|
1305
|
+
}, {
|
|
1306
|
+
readonly type: "error";
|
|
1307
|
+
readonly inputs: readonly [];
|
|
1308
|
+
readonly name: "InvalidPoolVersion";
|
|
1309
|
+
}, {
|
|
1310
|
+
readonly type: "error";
|
|
1311
|
+
readonly inputs: readonly [{
|
|
1312
|
+
readonly name: "tickLower";
|
|
1313
|
+
readonly internalType: "int24";
|
|
1314
|
+
readonly type: "int24";
|
|
1315
|
+
}, {
|
|
1316
|
+
readonly name: "tickUpper";
|
|
1317
|
+
readonly internalType: "int24";
|
|
1318
|
+
readonly type: "int24";
|
|
1319
|
+
}];
|
|
1320
|
+
readonly name: "InvalidTickRangeMisordered";
|
|
1255
1321
|
}, {
|
|
1256
1322
|
readonly type: "error";
|
|
1257
1323
|
readonly inputs: readonly [];
|
|
1258
1324
|
readonly name: "InvalidWethLowerTick";
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly type: "error";
|
|
1327
|
+
readonly inputs: readonly [];
|
|
1328
|
+
readonly name: "LegacyPoolMustHaveOneDiscoveryPosition";
|
|
1259
1329
|
}, {
|
|
1260
1330
|
readonly type: "error";
|
|
1261
1331
|
readonly inputs: readonly [];
|
|
@@ -1264,6 +1334,18 @@ export declare const coinABI: readonly [{
|
|
|
1264
1334
|
readonly type: "error";
|
|
1265
1335
|
readonly inputs: readonly [];
|
|
1266
1336
|
readonly name: "MarketNotGraduated";
|
|
1337
|
+
}, {
|
|
1338
|
+
readonly type: "error";
|
|
1339
|
+
readonly inputs: readonly [{
|
|
1340
|
+
readonly name: "value";
|
|
1341
|
+
readonly internalType: "uint256";
|
|
1342
|
+
readonly type: "uint256";
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly name: "limit";
|
|
1345
|
+
readonly internalType: "uint256";
|
|
1346
|
+
readonly type: "uint256";
|
|
1347
|
+
}];
|
|
1348
|
+
readonly name: "MaxShareToBeSoldExceeded";
|
|
1267
1349
|
}, {
|
|
1268
1350
|
readonly type: "error";
|
|
1269
1351
|
readonly inputs: readonly [];
|
|
@@ -1272,6 +1354,10 @@ export declare const coinABI: readonly [{
|
|
|
1272
1354
|
readonly type: "error";
|
|
1273
1355
|
readonly inputs: readonly [];
|
|
1274
1356
|
readonly name: "NotOwner";
|
|
1357
|
+
}, {
|
|
1358
|
+
readonly type: "error";
|
|
1359
|
+
readonly inputs: readonly [];
|
|
1360
|
+
readonly name: "NumDiscoveryPositionsOutOfRange";
|
|
1275
1361
|
}, {
|
|
1276
1362
|
readonly type: "error";
|
|
1277
1363
|
readonly inputs: readonly [];
|
|
@@ -1314,6 +1400,66 @@ export declare const coinABI: readonly [{
|
|
|
1314
1400
|
readonly name: "UseRevokeOwnershipToRemoveSelf";
|
|
1315
1401
|
}];
|
|
1316
1402
|
export declare const iUniswapV3PoolABI: readonly [{
|
|
1403
|
+
readonly type: "function";
|
|
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";
|
|
1430
|
+
readonly inputs: readonly [{
|
|
1431
|
+
readonly name: "recipient";
|
|
1432
|
+
readonly internalType: "address";
|
|
1433
|
+
readonly type: "address";
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly name: "tickLower";
|
|
1436
|
+
readonly internalType: "int24";
|
|
1437
|
+
readonly type: "int24";
|
|
1438
|
+
}, {
|
|
1439
|
+
readonly name: "tickUpper";
|
|
1440
|
+
readonly internalType: "int24";
|
|
1441
|
+
readonly type: "int24";
|
|
1442
|
+
}, {
|
|
1443
|
+
readonly name: "amount0Requested";
|
|
1444
|
+
readonly internalType: "uint128";
|
|
1445
|
+
readonly type: "uint128";
|
|
1446
|
+
}, {
|
|
1447
|
+
readonly name: "amount1Requested";
|
|
1448
|
+
readonly internalType: "uint128";
|
|
1449
|
+
readonly type: "uint128";
|
|
1450
|
+
}];
|
|
1451
|
+
readonly name: "collect";
|
|
1452
|
+
readonly outputs: readonly [{
|
|
1453
|
+
readonly name: "amount0";
|
|
1454
|
+
readonly internalType: "uint128";
|
|
1455
|
+
readonly type: "uint128";
|
|
1456
|
+
}, {
|
|
1457
|
+
readonly name: "amount1";
|
|
1458
|
+
readonly internalType: "uint128";
|
|
1459
|
+
readonly type: "uint128";
|
|
1460
|
+
}];
|
|
1461
|
+
readonly stateMutability: "nonpayable";
|
|
1462
|
+
}, {
|
|
1317
1463
|
readonly type: "function";
|
|
1318
1464
|
readonly inputs: readonly [];
|
|
1319
1465
|
readonly name: "feeGrowthGlobal0X128";
|
|
@@ -1333,6 +1479,50 @@ export declare const iUniswapV3PoolABI: readonly [{
|
|
|
1333
1479
|
readonly type: "uint256";
|
|
1334
1480
|
}];
|
|
1335
1481
|
readonly stateMutability: "view";
|
|
1482
|
+
}, {
|
|
1483
|
+
readonly type: "function";
|
|
1484
|
+
readonly inputs: readonly [{
|
|
1485
|
+
readonly name: "sqrtPriceX96";
|
|
1486
|
+
readonly internalType: "uint160";
|
|
1487
|
+
readonly type: "uint160";
|
|
1488
|
+
}];
|
|
1489
|
+
readonly name: "initialize";
|
|
1490
|
+
readonly outputs: readonly [];
|
|
1491
|
+
readonly stateMutability: "nonpayable";
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly type: "function";
|
|
1494
|
+
readonly inputs: readonly [{
|
|
1495
|
+
readonly name: "recipient";
|
|
1496
|
+
readonly internalType: "address";
|
|
1497
|
+
readonly type: "address";
|
|
1498
|
+
}, {
|
|
1499
|
+
readonly name: "tickLower";
|
|
1500
|
+
readonly internalType: "int24";
|
|
1501
|
+
readonly type: "int24";
|
|
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";
|
|
1514
|
+
}];
|
|
1515
|
+
readonly name: "mint";
|
|
1516
|
+
readonly outputs: readonly [{
|
|
1517
|
+
readonly name: "amount0";
|
|
1518
|
+
readonly internalType: "uint256";
|
|
1519
|
+
readonly type: "uint256";
|
|
1520
|
+
}, {
|
|
1521
|
+
readonly name: "amount1";
|
|
1522
|
+
readonly internalType: "uint256";
|
|
1523
|
+
readonly type: "uint256";
|
|
1524
|
+
}];
|
|
1525
|
+
readonly stateMutability: "nonpayable";
|
|
1336
1526
|
}, {
|
|
1337
1527
|
readonly type: "function";
|
|
1338
1528
|
readonly inputs: readonly [];
|
|
@@ -1428,7 +1618,7 @@ export declare const iUniswapV3PoolABI: readonly [{
|
|
|
1428
1618
|
readonly stateMutability: "nonpayable";
|
|
1429
1619
|
}];
|
|
1430
1620
|
/**
|
|
1431
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
1621
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc)
|
|
1432
1622
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
1433
1623
|
*/
|
|
1434
1624
|
export declare const zoraFactoryImplABI: readonly [{
|
|
@@ -1509,6 +1699,52 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
1509
1699
|
readonly type: "uint256";
|
|
1510
1700
|
}];
|
|
1511
1701
|
readonly stateMutability: "payable";
|
|
1702
|
+
}, {
|
|
1703
|
+
readonly type: "function";
|
|
1704
|
+
readonly inputs: readonly [{
|
|
1705
|
+
readonly name: "payoutRecipient";
|
|
1706
|
+
readonly internalType: "address";
|
|
1707
|
+
readonly type: "address";
|
|
1708
|
+
}, {
|
|
1709
|
+
readonly name: "owners";
|
|
1710
|
+
readonly internalType: "address[]";
|
|
1711
|
+
readonly type: "address[]";
|
|
1712
|
+
}, {
|
|
1713
|
+
readonly name: "uri";
|
|
1714
|
+
readonly internalType: "string";
|
|
1715
|
+
readonly type: "string";
|
|
1716
|
+
}, {
|
|
1717
|
+
readonly name: "name";
|
|
1718
|
+
readonly internalType: "string";
|
|
1719
|
+
readonly type: "string";
|
|
1720
|
+
}, {
|
|
1721
|
+
readonly name: "symbol";
|
|
1722
|
+
readonly internalType: "string";
|
|
1723
|
+
readonly type: "string";
|
|
1724
|
+
}, {
|
|
1725
|
+
readonly name: "poolConfig";
|
|
1726
|
+
readonly internalType: "bytes";
|
|
1727
|
+
readonly type: "bytes";
|
|
1728
|
+
}, {
|
|
1729
|
+
readonly name: "platformReferrer";
|
|
1730
|
+
readonly internalType: "address";
|
|
1731
|
+
readonly type: "address";
|
|
1732
|
+
}, {
|
|
1733
|
+
readonly name: "orderSize";
|
|
1734
|
+
readonly internalType: "uint256";
|
|
1735
|
+
readonly type: "uint256";
|
|
1736
|
+
}];
|
|
1737
|
+
readonly name: "deploy";
|
|
1738
|
+
readonly outputs: readonly [{
|
|
1739
|
+
readonly name: "";
|
|
1740
|
+
readonly internalType: "address";
|
|
1741
|
+
readonly type: "address";
|
|
1742
|
+
}, {
|
|
1743
|
+
readonly name: "";
|
|
1744
|
+
readonly internalType: "uint256";
|
|
1745
|
+
readonly type: "uint256";
|
|
1746
|
+
}];
|
|
1747
|
+
readonly stateMutability: "payable";
|
|
1512
1748
|
}, {
|
|
1513
1749
|
readonly type: "function";
|
|
1514
1750
|
readonly inputs: readonly [];
|
|
@@ -1763,20 +1999,20 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
1763
1999
|
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
1764
2000
|
}];
|
|
1765
2001
|
/**
|
|
1766
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
2002
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc)
|
|
1767
2003
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
1768
2004
|
*/
|
|
1769
2005
|
export declare const zoraFactoryImplAddress: {
|
|
1770
|
-
readonly 8453: "
|
|
2006
|
+
readonly 8453: "0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc";
|
|
1771
2007
|
readonly 84532: "0x777777751622c0d3258f214F9DF38E35BF45baF3";
|
|
1772
2008
|
};
|
|
1773
2009
|
/**
|
|
1774
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
2010
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc)
|
|
1775
2011
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
1776
2012
|
*/
|
|
1777
2013
|
export declare const zoraFactoryImplConfig: {
|
|
1778
2014
|
readonly address: {
|
|
1779
|
-
readonly 8453: "
|
|
2015
|
+
readonly 8453: "0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc";
|
|
1780
2016
|
readonly 84532: "0x777777751622c0d3258f214F9DF38E35BF45baF3";
|
|
1781
2017
|
};
|
|
1782
2018
|
readonly abi: readonly [{
|
|
@@ -1857,6 +2093,52 @@ export declare const zoraFactoryImplConfig: {
|
|
|
1857
2093
|
readonly type: "uint256";
|
|
1858
2094
|
}];
|
|
1859
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";
|
|
1860
2142
|
}, {
|
|
1861
2143
|
readonly type: "function";
|
|
1862
2144
|
readonly inputs: readonly [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wagmiGenerated.d.ts","sourceRoot":"","sources":["../package/wagmiGenerated.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"wagmiGenerated.d.ts","sourceRoot":"","sources":["../package/wagmiGenerated.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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