@zoralabs/protocol-deployments 0.6.1 → 0.6.3
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 → turbo-build$colon$js.log} +23 -19
- package/CHANGELOG.md +22 -0
- package/dist/generated/wagmi.d.ts +791 -525
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +402 -222
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +402 -222
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/src/generated/wagmi.ts +402 -222
package/src/generated/wagmi.ts
CHANGED
|
@@ -1224,7 +1224,6 @@ export const callerAndCommenterABI = [
|
|
|
1224
1224
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
1225
1225
|
{ type: 'error', inputs: [], name: 'NotSmartWallet' },
|
|
1226
1226
|
{ type: 'error', inputs: [], name: 'NotSmartWalletOwner' },
|
|
1227
|
-
{ type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
|
|
1228
1227
|
{ type: 'error', inputs: [], name: 'OnlySparksContract' },
|
|
1229
1228
|
{ type: 'error', inputs: [], name: 'TransferFailed' },
|
|
1230
1229
|
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
@@ -1290,23 +1289,6 @@ export const callerAndCommenterConfig = {
|
|
|
1290
1289
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1291
1290
|
|
|
1292
1291
|
export const coinABI = [
|
|
1293
|
-
{
|
|
1294
|
-
type: 'constructor',
|
|
1295
|
-
inputs: [
|
|
1296
|
-
{
|
|
1297
|
-
name: 'protocolRewardRecipient_',
|
|
1298
|
-
internalType: 'address',
|
|
1299
|
-
type: 'address',
|
|
1300
|
-
},
|
|
1301
|
-
{ name: 'protocolRewards_', internalType: 'address', type: 'address' },
|
|
1302
|
-
{ name: 'weth_', internalType: 'address', type: 'address' },
|
|
1303
|
-
{ name: 'v3Factory_', internalType: 'address', type: 'address' },
|
|
1304
|
-
{ name: 'swapRouter_', internalType: 'address', type: 'address' },
|
|
1305
|
-
{ name: 'airlock_', internalType: 'address', type: 'address' },
|
|
1306
|
-
],
|
|
1307
|
-
stateMutability: 'nonpayable',
|
|
1308
|
-
},
|
|
1309
|
-
{ type: 'receive', stateMutability: 'payable' },
|
|
1310
1292
|
{
|
|
1311
1293
|
type: 'function',
|
|
1312
1294
|
inputs: [],
|
|
@@ -1314,13 +1296,6 @@ export const coinABI = [
|
|
|
1314
1296
|
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
1315
1297
|
stateMutability: 'view',
|
|
1316
1298
|
},
|
|
1317
|
-
{
|
|
1318
|
-
type: 'function',
|
|
1319
|
-
inputs: [],
|
|
1320
|
-
name: 'WETH',
|
|
1321
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1322
|
-
stateMutability: 'view',
|
|
1323
|
-
},
|
|
1324
1299
|
{
|
|
1325
1300
|
type: 'function',
|
|
1326
1301
|
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
@@ -1380,26 +1355,12 @@ export const coinABI = [
|
|
|
1380
1355
|
},
|
|
1381
1356
|
{
|
|
1382
1357
|
type: 'function',
|
|
1383
|
-
inputs: [
|
|
1384
|
-
|
|
1385
|
-
{ name: 'orderSize', internalType: 'uint256', type: 'uint256' },
|
|
1386
|
-
{ name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
|
|
1387
|
-
{ name: 'sqrtPriceLimitX96', internalType: 'uint160', type: 'uint160' },
|
|
1388
|
-
{ name: 'tradeReferrer', internalType: 'address', type: 'address' },
|
|
1389
|
-
],
|
|
1390
|
-
name: 'buy',
|
|
1358
|
+
inputs: [],
|
|
1359
|
+
name: 'coinType',
|
|
1391
1360
|
outputs: [
|
|
1392
|
-
{ name: '', internalType: '
|
|
1393
|
-
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
1361
|
+
{ name: '', internalType: 'enum IHasCoinType.CoinType', type: 'uint8' },
|
|
1394
1362
|
],
|
|
1395
|
-
stateMutability: '
|
|
1396
|
-
},
|
|
1397
|
-
{
|
|
1398
|
-
type: 'function',
|
|
1399
|
-
inputs: [{ name: 'pushEthRewards', internalType: 'bool', type: 'bool' }],
|
|
1400
|
-
name: 'claimSecondaryRewards',
|
|
1401
|
-
outputs: [],
|
|
1402
|
-
stateMutability: 'nonpayable',
|
|
1363
|
+
stateMutability: 'view',
|
|
1403
1364
|
},
|
|
1404
1365
|
{
|
|
1405
1366
|
type: 'function',
|
|
@@ -1451,6 +1412,48 @@ export const coinABI = [
|
|
|
1451
1412
|
],
|
|
1452
1413
|
stateMutability: 'view',
|
|
1453
1414
|
},
|
|
1415
|
+
{
|
|
1416
|
+
type: 'function',
|
|
1417
|
+
inputs: [
|
|
1418
|
+
{
|
|
1419
|
+
name: 'coinVersionLookup',
|
|
1420
|
+
internalType: 'contract IDeployedCoinVersionLookup',
|
|
1421
|
+
type: 'address',
|
|
1422
|
+
},
|
|
1423
|
+
],
|
|
1424
|
+
name: 'getPayoutSwapPath',
|
|
1425
|
+
outputs: [
|
|
1426
|
+
{
|
|
1427
|
+
name: 'payoutSwapPath',
|
|
1428
|
+
internalType: 'struct IHasSwapPath.PayoutSwapPath',
|
|
1429
|
+
type: 'tuple',
|
|
1430
|
+
components: [
|
|
1431
|
+
{
|
|
1432
|
+
name: 'path',
|
|
1433
|
+
internalType: 'struct PathKey[]',
|
|
1434
|
+
type: 'tuple[]',
|
|
1435
|
+
components: [
|
|
1436
|
+
{
|
|
1437
|
+
name: 'intermediateCurrency',
|
|
1438
|
+
internalType: 'Currency',
|
|
1439
|
+
type: 'address',
|
|
1440
|
+
},
|
|
1441
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
1442
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
1443
|
+
{
|
|
1444
|
+
name: 'hooks',
|
|
1445
|
+
internalType: 'contract IHooks',
|
|
1446
|
+
type: 'address',
|
|
1447
|
+
},
|
|
1448
|
+
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
1449
|
+
],
|
|
1450
|
+
},
|
|
1451
|
+
{ name: 'currencyIn', internalType: 'Currency', type: 'address' },
|
|
1452
|
+
],
|
|
1453
|
+
},
|
|
1454
|
+
],
|
|
1455
|
+
stateMutability: 'view',
|
|
1456
|
+
},
|
|
1454
1457
|
{
|
|
1455
1458
|
type: 'function',
|
|
1456
1459
|
inputs: [],
|
|
@@ -1482,6 +1485,33 @@ export const coinABI = [
|
|
|
1482
1485
|
],
|
|
1483
1486
|
stateMutability: 'view',
|
|
1484
1487
|
},
|
|
1488
|
+
{
|
|
1489
|
+
type: 'function',
|
|
1490
|
+
inputs: [],
|
|
1491
|
+
name: 'getPoolKey',
|
|
1492
|
+
outputs: [
|
|
1493
|
+
{
|
|
1494
|
+
name: '',
|
|
1495
|
+
internalType: 'struct PoolKey',
|
|
1496
|
+
type: 'tuple',
|
|
1497
|
+
components: [
|
|
1498
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
1499
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
1500
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
1501
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
1502
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
1503
|
+
],
|
|
1504
|
+
},
|
|
1505
|
+
],
|
|
1506
|
+
stateMutability: 'view',
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
type: 'function',
|
|
1510
|
+
inputs: [],
|
|
1511
|
+
name: 'hooks',
|
|
1512
|
+
outputs: [{ name: '', internalType: 'contract IHooks', type: 'address' }],
|
|
1513
|
+
stateMutability: 'view',
|
|
1514
|
+
},
|
|
1485
1515
|
{
|
|
1486
1516
|
type: 'function',
|
|
1487
1517
|
inputs: [
|
|
@@ -1492,7 +1522,19 @@ export const coinABI = [
|
|
|
1492
1522
|
{ name: 'symbol_', internalType: 'string', type: 'string' },
|
|
1493
1523
|
{ name: 'platformReferrer_', internalType: 'address', type: 'address' },
|
|
1494
1524
|
{ name: 'currency_', internalType: 'address', type: 'address' },
|
|
1495
|
-
{
|
|
1525
|
+
{
|
|
1526
|
+
name: 'poolKey_',
|
|
1527
|
+
internalType: 'struct PoolKey',
|
|
1528
|
+
type: 'tuple',
|
|
1529
|
+
components: [
|
|
1530
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
1531
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
1532
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
1533
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
1534
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
1535
|
+
],
|
|
1536
|
+
},
|
|
1537
|
+
{ name: 'sqrtPriceX96', internalType: 'uint160', type: 'uint160' },
|
|
1496
1538
|
{
|
|
1497
1539
|
name: 'poolConfiguration_',
|
|
1498
1540
|
internalType: 'struct PoolConfiguration',
|
|
@@ -1516,16 +1558,6 @@ export const coinABI = [
|
|
|
1516
1558
|
},
|
|
1517
1559
|
],
|
|
1518
1560
|
},
|
|
1519
|
-
{
|
|
1520
|
-
name: 'positions_',
|
|
1521
|
-
internalType: 'struct LpPosition[]',
|
|
1522
|
-
type: 'tuple[]',
|
|
1523
|
-
components: [
|
|
1524
|
-
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
1525
|
-
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
1526
|
-
{ name: 'liquidity', internalType: 'uint128', type: 'uint128' },
|
|
1527
|
-
],
|
|
1528
|
-
},
|
|
1529
1561
|
],
|
|
1530
1562
|
name: 'initialize',
|
|
1531
1563
|
outputs: [],
|
|
@@ -1540,17 +1572,26 @@ export const coinABI = [
|
|
|
1540
1572
|
},
|
|
1541
1573
|
{
|
|
1542
1574
|
type: 'function',
|
|
1543
|
-
inputs: [
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1575
|
+
inputs: [
|
|
1576
|
+
{ name: 'newHook', internalType: 'address', type: 'address' },
|
|
1577
|
+
{ name: 'additionalData', internalType: 'bytes', type: 'bytes' },
|
|
1578
|
+
],
|
|
1579
|
+
name: 'migrateLiquidity',
|
|
1580
|
+
outputs: [
|
|
1581
|
+
{
|
|
1582
|
+
name: 'newPoolKey',
|
|
1583
|
+
internalType: 'struct PoolKey',
|
|
1584
|
+
type: 'tuple',
|
|
1585
|
+
components: [
|
|
1586
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
1587
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
1588
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
1589
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
1590
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
1591
|
+
],
|
|
1592
|
+
},
|
|
1593
|
+
],
|
|
1594
|
+
stateMutability: 'nonpayable',
|
|
1554
1595
|
},
|
|
1555
1596
|
{
|
|
1556
1597
|
type: 'function',
|
|
@@ -1605,30 +1646,9 @@ export const coinABI = [
|
|
|
1605
1646
|
{
|
|
1606
1647
|
type: 'function',
|
|
1607
1648
|
inputs: [],
|
|
1608
|
-
name: '
|
|
1609
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1610
|
-
stateMutability: 'view',
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
type: 'function',
|
|
1614
|
-
inputs: [],
|
|
1615
|
-
name: 'poolConfiguration',
|
|
1616
|
-
outputs: [
|
|
1617
|
-
{ name: 'version', internalType: 'uint8', type: 'uint8' },
|
|
1618
|
-
{ name: 'numPositions', internalType: 'uint16', type: 'uint16' },
|
|
1619
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
1620
|
-
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
1621
|
-
],
|
|
1622
|
-
stateMutability: 'view',
|
|
1623
|
-
},
|
|
1624
|
-
{
|
|
1625
|
-
type: 'function',
|
|
1626
|
-
inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1627
|
-
name: 'positions',
|
|
1649
|
+
name: 'poolManager',
|
|
1628
1650
|
outputs: [
|
|
1629
|
-
{ name: '
|
|
1630
|
-
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
1631
|
-
{ name: 'liquidity', internalType: 'uint128', type: 'uint128' },
|
|
1651
|
+
{ name: '', internalType: 'contract IPoolManager', type: 'address' },
|
|
1632
1652
|
],
|
|
1633
1653
|
stateMutability: 'view',
|
|
1634
1654
|
},
|
|
@@ -1669,22 +1689,6 @@ export const coinABI = [
|
|
|
1669
1689
|
outputs: [],
|
|
1670
1690
|
stateMutability: 'nonpayable',
|
|
1671
1691
|
},
|
|
1672
|
-
{
|
|
1673
|
-
type: 'function',
|
|
1674
|
-
inputs: [
|
|
1675
|
-
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
1676
|
-
{ name: 'orderSize', internalType: 'uint256', type: 'uint256' },
|
|
1677
|
-
{ name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
|
|
1678
|
-
{ name: 'sqrtPriceLimitX96', internalType: 'uint160', type: 'uint160' },
|
|
1679
|
-
{ name: 'tradeReferrer', internalType: 'address', type: 'address' },
|
|
1680
|
-
],
|
|
1681
|
-
name: 'sell',
|
|
1682
|
-
outputs: [
|
|
1683
|
-
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
1684
|
-
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
1685
|
-
],
|
|
1686
|
-
stateMutability: 'nonpayable',
|
|
1687
|
-
},
|
|
1688
1692
|
{
|
|
1689
1693
|
type: 'function',
|
|
1690
1694
|
inputs: [{ name: 'newURI', internalType: 'string', type: 'string' }],
|
|
@@ -1716,13 +1720,6 @@ export const coinABI = [
|
|
|
1716
1720
|
inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
|
|
1717
1721
|
name: 'supportsInterface',
|
|
1718
1722
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
1719
|
-
stateMutability: 'pure',
|
|
1720
|
-
},
|
|
1721
|
-
{
|
|
1722
|
-
type: 'function',
|
|
1723
|
-
inputs: [],
|
|
1724
|
-
name: 'swapRouter',
|
|
1725
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1726
1723
|
stateMutability: 'view',
|
|
1727
1724
|
},
|
|
1728
1725
|
{
|
|
@@ -1746,6 +1743,13 @@ export const coinABI = [
|
|
|
1746
1743
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1747
1744
|
stateMutability: 'view',
|
|
1748
1745
|
},
|
|
1746
|
+
{
|
|
1747
|
+
type: 'function',
|
|
1748
|
+
inputs: [],
|
|
1749
|
+
name: 'totalSupplyForPositions',
|
|
1750
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1751
|
+
stateMutability: 'view',
|
|
1752
|
+
},
|
|
1749
1753
|
{
|
|
1750
1754
|
type: 'function',
|
|
1751
1755
|
inputs: [
|
|
@@ -1767,24 +1771,6 @@ export const coinABI = [
|
|
|
1767
1771
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
1768
1772
|
stateMutability: 'nonpayable',
|
|
1769
1773
|
},
|
|
1770
|
-
{
|
|
1771
|
-
type: 'function',
|
|
1772
|
-
inputs: [
|
|
1773
|
-
{ name: 'amount0Owed', internalType: 'uint256', type: 'uint256' },
|
|
1774
|
-
{ name: 'amount1Owed', internalType: 'uint256', type: 'uint256' },
|
|
1775
|
-
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
1776
|
-
],
|
|
1777
|
-
name: 'uniswapV3MintCallback',
|
|
1778
|
-
outputs: [],
|
|
1779
|
-
stateMutability: 'nonpayable',
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
type: 'function',
|
|
1783
|
-
inputs: [],
|
|
1784
|
-
name: 'v3Factory',
|
|
1785
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1786
|
-
stateMutability: 'view',
|
|
1787
|
-
},
|
|
1788
1774
|
{
|
|
1789
1775
|
type: 'event',
|
|
1790
1776
|
anonymous: false,
|
|
@@ -2141,6 +2127,51 @@ export const coinABI = [
|
|
|
2141
2127
|
],
|
|
2142
2128
|
name: 'Initialized',
|
|
2143
2129
|
},
|
|
2130
|
+
{
|
|
2131
|
+
type: 'event',
|
|
2132
|
+
anonymous: false,
|
|
2133
|
+
inputs: [
|
|
2134
|
+
{
|
|
2135
|
+
name: 'fromPoolKey',
|
|
2136
|
+
internalType: 'struct PoolKey',
|
|
2137
|
+
type: 'tuple',
|
|
2138
|
+
components: [
|
|
2139
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
2140
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
2141
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
2142
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
2143
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
2144
|
+
],
|
|
2145
|
+
indexed: false,
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
name: 'fromPoolKeyHash',
|
|
2149
|
+
internalType: 'bytes32',
|
|
2150
|
+
type: 'bytes32',
|
|
2151
|
+
indexed: false,
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
name: 'toPoolKey',
|
|
2155
|
+
internalType: 'struct PoolKey',
|
|
2156
|
+
type: 'tuple',
|
|
2157
|
+
components: [
|
|
2158
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
2159
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
2160
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
2161
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
2162
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
2163
|
+
],
|
|
2164
|
+
indexed: false,
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
name: 'toPoolKeyHash',
|
|
2168
|
+
internalType: 'bytes32',
|
|
2169
|
+
type: 'bytes32',
|
|
2170
|
+
indexed: false,
|
|
2171
|
+
},
|
|
2172
|
+
],
|
|
2173
|
+
name: 'LiquidityMigrated',
|
|
2174
|
+
},
|
|
2144
2175
|
{
|
|
2145
2176
|
type: 'event',
|
|
2146
2177
|
anonymous: false,
|
|
@@ -2206,17 +2237,6 @@ export const coinABI = [
|
|
|
2206
2237
|
],
|
|
2207
2238
|
name: 'Transfer',
|
|
2208
2239
|
},
|
|
2209
|
-
{
|
|
2210
|
-
type: 'error',
|
|
2211
|
-
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
2212
|
-
name: 'AddressEmptyCode',
|
|
2213
|
-
},
|
|
2214
|
-
{
|
|
2215
|
-
type: 'error',
|
|
2216
|
-
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
2217
|
-
name: 'AddressInsufficientBalance',
|
|
2218
|
-
},
|
|
2219
|
-
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
2220
2240
|
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
2221
2241
|
{ type: 'error', inputs: [], name: 'AlreadyOwner' },
|
|
2222
2242
|
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
@@ -2292,7 +2312,6 @@ export const coinABI = [
|
|
|
2292
2312
|
{ type: 'error', inputs: [], name: 'EthAmountTooSmall' },
|
|
2293
2313
|
{ type: 'error', inputs: [], name: 'EthTransferFailed' },
|
|
2294
2314
|
{ type: 'error', inputs: [], name: 'EthTransferInvalid' },
|
|
2295
|
-
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
2296
2315
|
{ type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
|
|
2297
2316
|
{ type: 'error', inputs: [], name: 'InsufficientFunds' },
|
|
2298
2317
|
{ type: 'error', inputs: [], name: 'InsufficientLiquidity' },
|
|
@@ -2344,12 +2363,6 @@ export const coinABI = [
|
|
|
2344
2363
|
},
|
|
2345
2364
|
{ type: 'error', inputs: [], name: 'OnlyWeth' },
|
|
2346
2365
|
{ type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
|
|
2347
|
-
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
2348
|
-
{
|
|
2349
|
-
type: 'error',
|
|
2350
|
-
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
2351
|
-
name: 'SafeERC20FailedOperation',
|
|
2352
|
-
},
|
|
2353
2366
|
{ type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
|
|
2354
2367
|
{ type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
|
|
2355
2368
|
] as const
|
|
@@ -2366,11 +2379,10 @@ export const coinFactoryABI = [
|
|
|
2366
2379
|
{
|
|
2367
2380
|
type: 'constructor',
|
|
2368
2381
|
inputs: [
|
|
2369
|
-
{ name: '
|
|
2370
|
-
{ name: '
|
|
2371
|
-
{ name: '
|
|
2372
|
-
{ name: '
|
|
2373
|
-
{ name: '_creatorCoinHook', internalType: 'address', type: 'address' },
|
|
2382
|
+
{ name: 'coinV4Impl_', internalType: 'address', type: 'address' },
|
|
2383
|
+
{ name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
|
|
2384
|
+
{ name: 'hook_', internalType: 'address', type: 'address' },
|
|
2385
|
+
{ name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
|
|
2374
2386
|
],
|
|
2375
2387
|
stateMutability: 'nonpayable',
|
|
2376
2388
|
},
|
|
@@ -2381,6 +2393,13 @@ export const coinFactoryABI = [
|
|
|
2381
2393
|
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
2382
2394
|
stateMutability: 'view',
|
|
2383
2395
|
},
|
|
2396
|
+
{
|
|
2397
|
+
type: 'function',
|
|
2398
|
+
inputs: [],
|
|
2399
|
+
name: 'acceptOwnership',
|
|
2400
|
+
outputs: [],
|
|
2401
|
+
stateMutability: 'nonpayable',
|
|
2402
|
+
},
|
|
2384
2403
|
{
|
|
2385
2404
|
type: 'function',
|
|
2386
2405
|
inputs: [
|
|
@@ -2390,15 +2409,8 @@ export const coinFactoryABI = [
|
|
|
2390
2409
|
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
2391
2410
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2392
2411
|
{ name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
|
|
2393
|
-
],
|
|
2394
|
-
name: 'coinAddress',
|
|
2395
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2396
|
-
stateMutability: 'view',
|
|
2397
|
-
},
|
|
2398
|
-
{
|
|
2399
|
-
type: 'function',
|
|
2400
|
-
inputs: [],
|
|
2401
|
-
name: 'coinImpl',
|
|
2412
|
+
],
|
|
2413
|
+
name: 'coinAddress',
|
|
2402
2414
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2403
2415
|
stateMutability: 'view',
|
|
2404
2416
|
},
|
|
@@ -2455,7 +2467,7 @@ export const coinFactoryABI = [
|
|
|
2455
2467
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2456
2468
|
{ name: 'currency', internalType: 'address', type: 'address' },
|
|
2457
2469
|
{ name: '', internalType: 'int24', type: 'int24' },
|
|
2458
|
-
{ name: '
|
|
2470
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
2459
2471
|
],
|
|
2460
2472
|
name: 'deploy',
|
|
2461
2473
|
outputs: [
|
|
@@ -2495,7 +2507,7 @@ export const coinFactoryABI = [
|
|
|
2495
2507
|
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
2496
2508
|
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
2497
2509
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2498
|
-
{ name: '
|
|
2510
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
2499
2511
|
],
|
|
2500
2512
|
name: 'deploy',
|
|
2501
2513
|
outputs: [
|
|
@@ -2530,7 +2542,28 @@ export const coinFactoryABI = [
|
|
|
2530
2542
|
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
2531
2543
|
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
2532
2544
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2533
|
-
{ name: '
|
|
2545
|
+
{ name: 'postDeployHook', internalType: 'address', type: 'address' },
|
|
2546
|
+
{ name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
|
|
2547
|
+
{ name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
|
|
2548
|
+
],
|
|
2549
|
+
name: 'deployCreatorCoin',
|
|
2550
|
+
outputs: [
|
|
2551
|
+
{ name: 'coin', internalType: 'address', type: 'address' },
|
|
2552
|
+
{ name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
|
|
2553
|
+
],
|
|
2554
|
+
stateMutability: 'payable',
|
|
2555
|
+
},
|
|
2556
|
+
{
|
|
2557
|
+
type: 'function',
|
|
2558
|
+
inputs: [
|
|
2559
|
+
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
2560
|
+
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
2561
|
+
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
2562
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
2563
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
2564
|
+
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
2565
|
+
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2566
|
+
{ name: 'deployHook', internalType: 'address', type: 'address' },
|
|
2534
2567
|
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
2535
2568
|
],
|
|
2536
2569
|
name: 'deployWithHook',
|
|
@@ -2547,6 +2580,13 @@ export const coinFactoryABI = [
|
|
|
2547
2580
|
outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
|
|
2548
2581
|
stateMutability: 'view',
|
|
2549
2582
|
},
|
|
2583
|
+
{
|
|
2584
|
+
type: 'function',
|
|
2585
|
+
inputs: [],
|
|
2586
|
+
name: 'hook',
|
|
2587
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2588
|
+
stateMutability: 'view',
|
|
2589
|
+
},
|
|
2550
2590
|
{
|
|
2551
2591
|
type: 'function',
|
|
2552
2592
|
inputs: [],
|
|
@@ -2570,6 +2610,13 @@ export const coinFactoryABI = [
|
|
|
2570
2610
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2571
2611
|
stateMutability: 'view',
|
|
2572
2612
|
},
|
|
2613
|
+
{
|
|
2614
|
+
type: 'function',
|
|
2615
|
+
inputs: [],
|
|
2616
|
+
name: 'pendingOwner',
|
|
2617
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2618
|
+
stateMutability: 'view',
|
|
2619
|
+
},
|
|
2573
2620
|
{
|
|
2574
2621
|
type: 'function',
|
|
2575
2622
|
inputs: [],
|
|
@@ -2601,6 +2648,13 @@ export const coinFactoryABI = [
|
|
|
2601
2648
|
outputs: [],
|
|
2602
2649
|
stateMutability: 'payable',
|
|
2603
2650
|
},
|
|
2651
|
+
{
|
|
2652
|
+
type: 'function',
|
|
2653
|
+
inputs: [],
|
|
2654
|
+
name: 'zoraHookRegistry',
|
|
2655
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2656
|
+
stateMutability: 'view',
|
|
2657
|
+
},
|
|
2604
2658
|
{
|
|
2605
2659
|
type: 'event',
|
|
2606
2660
|
anonymous: false,
|
|
@@ -2811,6 +2865,25 @@ export const coinFactoryABI = [
|
|
|
2811
2865
|
],
|
|
2812
2866
|
name: 'Initialized',
|
|
2813
2867
|
},
|
|
2868
|
+
{
|
|
2869
|
+
type: 'event',
|
|
2870
|
+
anonymous: false,
|
|
2871
|
+
inputs: [
|
|
2872
|
+
{
|
|
2873
|
+
name: 'previousOwner',
|
|
2874
|
+
internalType: 'address',
|
|
2875
|
+
type: 'address',
|
|
2876
|
+
indexed: true,
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
name: 'newOwner',
|
|
2880
|
+
internalType: 'address',
|
|
2881
|
+
type: 'address',
|
|
2882
|
+
indexed: true,
|
|
2883
|
+
},
|
|
2884
|
+
],
|
|
2885
|
+
name: 'OwnershipTransferStarted',
|
|
2886
|
+
},
|
|
2814
2887
|
{
|
|
2815
2888
|
type: 'event',
|
|
2816
2889
|
anonymous: false,
|
|
@@ -2848,13 +2921,7 @@ export const coinFactoryABI = [
|
|
|
2848
2921
|
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
2849
2922
|
name: 'AddressEmptyCode',
|
|
2850
2923
|
},
|
|
2851
|
-
{
|
|
2852
|
-
type: 'error',
|
|
2853
|
-
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
2854
|
-
name: 'AddressInsufficientBalance',
|
|
2855
|
-
},
|
|
2856
2924
|
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
2857
|
-
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
2858
2925
|
{ type: 'error', inputs: [], name: 'ConfigTickLowerMustBeLessThanTickUpper' },
|
|
2859
2926
|
{ type: 'error', inputs: [], name: 'Deprecated' },
|
|
2860
2927
|
{ type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
|
|
@@ -2866,7 +2933,6 @@ export const coinFactoryABI = [
|
|
|
2866
2933
|
name: 'ERC1967InvalidImplementation',
|
|
2867
2934
|
},
|
|
2868
2935
|
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
|
|
2869
|
-
{ type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
|
|
2870
2936
|
{ type: 'error', inputs: [], name: 'EthTransferInvalid' },
|
|
2871
2937
|
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
2872
2938
|
{ type: 'error', inputs: [], name: 'InvalidConfig' },
|
|
@@ -2881,14 +2947,6 @@ export const coinFactoryABI = [
|
|
|
2881
2947
|
],
|
|
2882
2948
|
name: 'InvalidTickRangeMisordered',
|
|
2883
2949
|
},
|
|
2884
|
-
{
|
|
2885
|
-
type: 'error',
|
|
2886
|
-
inputs: [
|
|
2887
|
-
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
2888
|
-
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
2889
|
-
],
|
|
2890
|
-
name: 'InvalidTickRangeMisordered',
|
|
2891
|
-
},
|
|
2892
2950
|
{
|
|
2893
2951
|
type: 'error',
|
|
2894
2952
|
inputs: [
|
|
@@ -2910,11 +2968,6 @@ export const coinFactoryABI = [
|
|
|
2910
2968
|
name: 'OwnableUnauthorizedAccount',
|
|
2911
2969
|
},
|
|
2912
2970
|
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
2913
|
-
{
|
|
2914
|
-
type: 'error',
|
|
2915
|
-
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
2916
|
-
name: 'SafeERC20FailedOperation',
|
|
2917
|
-
},
|
|
2918
2971
|
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
2919
2972
|
{
|
|
2920
2973
|
type: 'error',
|
|
@@ -3038,6 +3091,22 @@ export const coinV4ABI = [
|
|
|
3038
3091
|
outputs: [],
|
|
3039
3092
|
stateMutability: 'nonpayable',
|
|
3040
3093
|
},
|
|
3094
|
+
{
|
|
3095
|
+
type: 'function',
|
|
3096
|
+
inputs: [],
|
|
3097
|
+
name: 'claimVesting',
|
|
3098
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3099
|
+
stateMutability: 'nonpayable',
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
type: 'function',
|
|
3103
|
+
inputs: [],
|
|
3104
|
+
name: 'coinType',
|
|
3105
|
+
outputs: [
|
|
3106
|
+
{ name: '', internalType: 'enum IHasCoinType.CoinType', type: 'uint8' },
|
|
3107
|
+
],
|
|
3108
|
+
stateMutability: 'pure',
|
|
3109
|
+
},
|
|
3041
3110
|
{
|
|
3042
3111
|
type: 'function',
|
|
3043
3112
|
inputs: [],
|
|
@@ -3088,6 +3157,13 @@ export const coinV4ABI = [
|
|
|
3088
3157
|
],
|
|
3089
3158
|
stateMutability: 'view',
|
|
3090
3159
|
},
|
|
3160
|
+
{
|
|
3161
|
+
type: 'function',
|
|
3162
|
+
inputs: [],
|
|
3163
|
+
name: 'getClaimableAmount',
|
|
3164
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3165
|
+
stateMutability: 'view',
|
|
3166
|
+
},
|
|
3091
3167
|
{
|
|
3092
3168
|
type: 'function',
|
|
3093
3169
|
inputs: [
|
|
@@ -3396,7 +3472,7 @@ export const coinV4ABI = [
|
|
|
3396
3472
|
inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
|
|
3397
3473
|
name: 'supportsInterface',
|
|
3398
3474
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
3399
|
-
stateMutability: '
|
|
3475
|
+
stateMutability: 'view',
|
|
3400
3476
|
},
|
|
3401
3477
|
{
|
|
3402
3478
|
type: 'function',
|
|
@@ -3412,6 +3488,13 @@ export const coinV4ABI = [
|
|
|
3412
3488
|
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
3413
3489
|
stateMutability: 'view',
|
|
3414
3490
|
},
|
|
3491
|
+
{
|
|
3492
|
+
type: 'function',
|
|
3493
|
+
inputs: [],
|
|
3494
|
+
name: 'totalClaimed',
|
|
3495
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3496
|
+
stateMutability: 'view',
|
|
3497
|
+
},
|
|
3415
3498
|
{
|
|
3416
3499
|
type: 'function',
|
|
3417
3500
|
inputs: [],
|
|
@@ -3419,6 +3502,13 @@ export const coinV4ABI = [
|
|
|
3419
3502
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3420
3503
|
stateMutability: 'view',
|
|
3421
3504
|
},
|
|
3505
|
+
{
|
|
3506
|
+
type: 'function',
|
|
3507
|
+
inputs: [],
|
|
3508
|
+
name: 'totalSupplyForPositions',
|
|
3509
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3510
|
+
stateMutability: 'pure',
|
|
3511
|
+
},
|
|
3422
3512
|
{
|
|
3423
3513
|
type: 'function',
|
|
3424
3514
|
inputs: [
|
|
@@ -3440,6 +3530,20 @@ export const coinV4ABI = [
|
|
|
3440
3530
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
3441
3531
|
stateMutability: 'nonpayable',
|
|
3442
3532
|
},
|
|
3533
|
+
{
|
|
3534
|
+
type: 'function',
|
|
3535
|
+
inputs: [],
|
|
3536
|
+
name: 'vestingEndTime',
|
|
3537
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3538
|
+
stateMutability: 'view',
|
|
3539
|
+
},
|
|
3540
|
+
{
|
|
3541
|
+
type: 'function',
|
|
3542
|
+
inputs: [],
|
|
3543
|
+
name: 'vestingStartTime',
|
|
3544
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3545
|
+
stateMutability: 'view',
|
|
3546
|
+
},
|
|
3443
3547
|
{
|
|
3444
3548
|
type: 'event',
|
|
3445
3549
|
anonymous: false,
|
|
@@ -3782,6 +3886,43 @@ export const coinV4ABI = [
|
|
|
3782
3886
|
name: 'ContractMetadataUpdated',
|
|
3783
3887
|
},
|
|
3784
3888
|
{ type: 'event', anonymous: false, inputs: [], name: 'ContractURIUpdated' },
|
|
3889
|
+
{
|
|
3890
|
+
type: 'event',
|
|
3891
|
+
anonymous: false,
|
|
3892
|
+
inputs: [
|
|
3893
|
+
{
|
|
3894
|
+
name: 'recipient',
|
|
3895
|
+
internalType: 'address',
|
|
3896
|
+
type: 'address',
|
|
3897
|
+
indexed: true,
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
name: 'claimAmount',
|
|
3901
|
+
internalType: 'uint256',
|
|
3902
|
+
type: 'uint256',
|
|
3903
|
+
indexed: false,
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
name: 'totalClaimed',
|
|
3907
|
+
internalType: 'uint256',
|
|
3908
|
+
type: 'uint256',
|
|
3909
|
+
indexed: false,
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
name: 'vestingStartTime',
|
|
3913
|
+
internalType: 'uint256',
|
|
3914
|
+
type: 'uint256',
|
|
3915
|
+
indexed: false,
|
|
3916
|
+
},
|
|
3917
|
+
{
|
|
3918
|
+
name: 'vestingEndTime',
|
|
3919
|
+
internalType: 'uint256',
|
|
3920
|
+
type: 'uint256',
|
|
3921
|
+
indexed: false,
|
|
3922
|
+
},
|
|
3923
|
+
],
|
|
3924
|
+
name: 'CreatorVestingClaimed',
|
|
3925
|
+
},
|
|
3785
3926
|
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
3786
3927
|
{
|
|
3787
3928
|
type: 'event',
|
|
@@ -3992,6 +4133,7 @@ export const coinV4ABI = [
|
|
|
3992
4133
|
],
|
|
3993
4134
|
name: 'InvalidAccountNonce',
|
|
3994
4135
|
},
|
|
4136
|
+
{ type: 'error', inputs: [], name: 'InvalidCurrency' },
|
|
3995
4137
|
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
3996
4138
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
3997
4139
|
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
@@ -4032,7 +4174,6 @@ export const coinV4ABI = [
|
|
|
4032
4174
|
},
|
|
4033
4175
|
{ type: 'error', inputs: [], name: 'OnlyWeth' },
|
|
4034
4176
|
{ type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
|
|
4035
|
-
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
4036
4177
|
{ type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
|
|
4037
4178
|
{ type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
|
|
4038
4179
|
] as const
|
|
@@ -5824,7 +5965,6 @@ export const commentsABI = [
|
|
|
5824
5965
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
5825
5966
|
{ type: 'error', inputs: [], name: 'NotSmartWallet' },
|
|
5826
5967
|
{ type: 'error', inputs: [], name: 'NotSmartWalletOwner' },
|
|
5827
|
-
{ type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
|
|
5828
5968
|
{ type: 'error', inputs: [], name: 'OnlySparksContract' },
|
|
5829
5969
|
{ type: 'error', inputs: [], name: 'TransferFailed' },
|
|
5830
5970
|
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
@@ -6005,11 +6145,10 @@ export const devCoinFactoryABI = [
|
|
|
6005
6145
|
{
|
|
6006
6146
|
type: 'constructor',
|
|
6007
6147
|
inputs: [
|
|
6008
|
-
{ name: '
|
|
6009
|
-
{ name: '
|
|
6010
|
-
{ name: '
|
|
6011
|
-
{ name: '
|
|
6012
|
-
{ name: '_creatorCoinHook', internalType: 'address', type: 'address' },
|
|
6148
|
+
{ name: 'coinV4Impl_', internalType: 'address', type: 'address' },
|
|
6149
|
+
{ name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
|
|
6150
|
+
{ name: 'hook_', internalType: 'address', type: 'address' },
|
|
6151
|
+
{ name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
|
|
6013
6152
|
],
|
|
6014
6153
|
stateMutability: 'nonpayable',
|
|
6015
6154
|
},
|
|
@@ -6020,6 +6159,13 @@ export const devCoinFactoryABI = [
|
|
|
6020
6159
|
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
6021
6160
|
stateMutability: 'view',
|
|
6022
6161
|
},
|
|
6162
|
+
{
|
|
6163
|
+
type: 'function',
|
|
6164
|
+
inputs: [],
|
|
6165
|
+
name: 'acceptOwnership',
|
|
6166
|
+
outputs: [],
|
|
6167
|
+
stateMutability: 'nonpayable',
|
|
6168
|
+
},
|
|
6023
6169
|
{
|
|
6024
6170
|
type: 'function',
|
|
6025
6171
|
inputs: [
|
|
@@ -6034,13 +6180,6 @@ export const devCoinFactoryABI = [
|
|
|
6034
6180
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6035
6181
|
stateMutability: 'view',
|
|
6036
6182
|
},
|
|
6037
|
-
{
|
|
6038
|
-
type: 'function',
|
|
6039
|
-
inputs: [],
|
|
6040
|
-
name: 'coinImpl',
|
|
6041
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6042
|
-
stateMutability: 'view',
|
|
6043
|
-
},
|
|
6044
6183
|
{
|
|
6045
6184
|
type: 'function',
|
|
6046
6185
|
inputs: [],
|
|
@@ -6094,7 +6233,7 @@ export const devCoinFactoryABI = [
|
|
|
6094
6233
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6095
6234
|
{ name: 'currency', internalType: 'address', type: 'address' },
|
|
6096
6235
|
{ name: '', internalType: 'int24', type: 'int24' },
|
|
6097
|
-
{ name: '
|
|
6236
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
6098
6237
|
],
|
|
6099
6238
|
name: 'deploy',
|
|
6100
6239
|
outputs: [
|
|
@@ -6134,7 +6273,7 @@ export const devCoinFactoryABI = [
|
|
|
6134
6273
|
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6135
6274
|
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
6136
6275
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6137
|
-
{ name: '
|
|
6276
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
6138
6277
|
],
|
|
6139
6278
|
name: 'deploy',
|
|
6140
6279
|
outputs: [
|
|
@@ -6169,7 +6308,28 @@ export const devCoinFactoryABI = [
|
|
|
6169
6308
|
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6170
6309
|
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
6171
6310
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6172
|
-
{ name: '
|
|
6311
|
+
{ name: 'postDeployHook', internalType: 'address', type: 'address' },
|
|
6312
|
+
{ name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
|
|
6313
|
+
{ name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
|
|
6314
|
+
],
|
|
6315
|
+
name: 'deployCreatorCoin',
|
|
6316
|
+
outputs: [
|
|
6317
|
+
{ name: 'coin', internalType: 'address', type: 'address' },
|
|
6318
|
+
{ name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
|
|
6319
|
+
],
|
|
6320
|
+
stateMutability: 'payable',
|
|
6321
|
+
},
|
|
6322
|
+
{
|
|
6323
|
+
type: 'function',
|
|
6324
|
+
inputs: [
|
|
6325
|
+
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
6326
|
+
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
6327
|
+
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
6328
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
6329
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6330
|
+
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
6331
|
+
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6332
|
+
{ name: 'deployHook', internalType: 'address', type: 'address' },
|
|
6173
6333
|
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
6174
6334
|
],
|
|
6175
6335
|
name: 'deployWithHook',
|
|
@@ -6186,6 +6346,13 @@ export const devCoinFactoryABI = [
|
|
|
6186
6346
|
outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
|
|
6187
6347
|
stateMutability: 'view',
|
|
6188
6348
|
},
|
|
6349
|
+
{
|
|
6350
|
+
type: 'function',
|
|
6351
|
+
inputs: [],
|
|
6352
|
+
name: 'hook',
|
|
6353
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6354
|
+
stateMutability: 'view',
|
|
6355
|
+
},
|
|
6189
6356
|
{
|
|
6190
6357
|
type: 'function',
|
|
6191
6358
|
inputs: [],
|
|
@@ -6209,6 +6376,13 @@ export const devCoinFactoryABI = [
|
|
|
6209
6376
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6210
6377
|
stateMutability: 'view',
|
|
6211
6378
|
},
|
|
6379
|
+
{
|
|
6380
|
+
type: 'function',
|
|
6381
|
+
inputs: [],
|
|
6382
|
+
name: 'pendingOwner',
|
|
6383
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6384
|
+
stateMutability: 'view',
|
|
6385
|
+
},
|
|
6212
6386
|
{
|
|
6213
6387
|
type: 'function',
|
|
6214
6388
|
inputs: [],
|
|
@@ -6240,6 +6414,13 @@ export const devCoinFactoryABI = [
|
|
|
6240
6414
|
outputs: [],
|
|
6241
6415
|
stateMutability: 'payable',
|
|
6242
6416
|
},
|
|
6417
|
+
{
|
|
6418
|
+
type: 'function',
|
|
6419
|
+
inputs: [],
|
|
6420
|
+
name: 'zoraHookRegistry',
|
|
6421
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6422
|
+
stateMutability: 'view',
|
|
6423
|
+
},
|
|
6243
6424
|
{
|
|
6244
6425
|
type: 'event',
|
|
6245
6426
|
anonymous: false,
|
|
@@ -6450,6 +6631,25 @@ export const devCoinFactoryABI = [
|
|
|
6450
6631
|
],
|
|
6451
6632
|
name: 'Initialized',
|
|
6452
6633
|
},
|
|
6634
|
+
{
|
|
6635
|
+
type: 'event',
|
|
6636
|
+
anonymous: false,
|
|
6637
|
+
inputs: [
|
|
6638
|
+
{
|
|
6639
|
+
name: 'previousOwner',
|
|
6640
|
+
internalType: 'address',
|
|
6641
|
+
type: 'address',
|
|
6642
|
+
indexed: true,
|
|
6643
|
+
},
|
|
6644
|
+
{
|
|
6645
|
+
name: 'newOwner',
|
|
6646
|
+
internalType: 'address',
|
|
6647
|
+
type: 'address',
|
|
6648
|
+
indexed: true,
|
|
6649
|
+
},
|
|
6650
|
+
],
|
|
6651
|
+
name: 'OwnershipTransferStarted',
|
|
6652
|
+
},
|
|
6453
6653
|
{
|
|
6454
6654
|
type: 'event',
|
|
6455
6655
|
anonymous: false,
|
|
@@ -6487,13 +6687,7 @@ export const devCoinFactoryABI = [
|
|
|
6487
6687
|
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
6488
6688
|
name: 'AddressEmptyCode',
|
|
6489
6689
|
},
|
|
6490
|
-
{
|
|
6491
|
-
type: 'error',
|
|
6492
|
-
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
6493
|
-
name: 'AddressInsufficientBalance',
|
|
6494
|
-
},
|
|
6495
6690
|
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
6496
|
-
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
6497
6691
|
{ type: 'error', inputs: [], name: 'ConfigTickLowerMustBeLessThanTickUpper' },
|
|
6498
6692
|
{ type: 'error', inputs: [], name: 'Deprecated' },
|
|
6499
6693
|
{ type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
|
|
@@ -6505,7 +6699,6 @@ export const devCoinFactoryABI = [
|
|
|
6505
6699
|
name: 'ERC1967InvalidImplementation',
|
|
6506
6700
|
},
|
|
6507
6701
|
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
|
|
6508
|
-
{ type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
|
|
6509
6702
|
{ type: 'error', inputs: [], name: 'EthTransferInvalid' },
|
|
6510
6703
|
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
6511
6704
|
{ type: 'error', inputs: [], name: 'InvalidConfig' },
|
|
@@ -6520,14 +6713,6 @@ export const devCoinFactoryABI = [
|
|
|
6520
6713
|
],
|
|
6521
6714
|
name: 'InvalidTickRangeMisordered',
|
|
6522
6715
|
},
|
|
6523
|
-
{
|
|
6524
|
-
type: 'error',
|
|
6525
|
-
inputs: [
|
|
6526
|
-
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
6527
|
-
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
6528
|
-
],
|
|
6529
|
-
name: 'InvalidTickRangeMisordered',
|
|
6530
|
-
},
|
|
6531
6716
|
{
|
|
6532
6717
|
type: 'error',
|
|
6533
6718
|
inputs: [
|
|
@@ -6549,11 +6734,6 @@ export const devCoinFactoryABI = [
|
|
|
6549
6734
|
name: 'OwnableUnauthorizedAccount',
|
|
6550
6735
|
},
|
|
6551
6736
|
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
6552
|
-
{
|
|
6553
|
-
type: 'error',
|
|
6554
|
-
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
6555
|
-
name: 'SafeERC20FailedOperation',
|
|
6556
|
-
},
|
|
6557
6737
|
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
6558
6738
|
{
|
|
6559
6739
|
type: 'error',
|