@zoralabs/protocol-deployments 0.6.0 → 0.6.2

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.
@@ -100,7 +100,7 @@ export const autoSwapperABI = [
100
100
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
101
101
 
102
102
  /**
103
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
103
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xc90e349360C43a0217CEF289f231C66D4748960F)
104
104
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
105
105
  */
106
106
  export const buySupplyWithSwapRouterHookABI = [
@@ -191,16 +191,16 @@ export const buySupplyWithSwapRouterHookABI = [
191
191
  ] as const
192
192
 
193
193
  /**
194
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
194
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xc90e349360C43a0217CEF289f231C66D4748960F)
195
195
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
196
196
  */
197
197
  export const buySupplyWithSwapRouterHookAddress = {
198
- 8453: '0xd77038a7f400E8242d2916f7EB5741e689d4aE25',
198
+ 8453: '0xc90e349360C43a0217CEF289f231C66D4748960F',
199
199
  84532: '0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE',
200
200
  } as const
201
201
 
202
202
  /**
203
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
203
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xc90e349360C43a0217CEF289f231C66D4748960F)
204
204
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
205
205
  */
206
206
  export const buySupplyWithSwapRouterHookConfig = {
@@ -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' }],
@@ -1378,29 +1353,6 @@ export const coinABI = [
1378
1353
  outputs: [],
1379
1354
  stateMutability: 'nonpayable',
1380
1355
  },
1381
- {
1382
- type: 'function',
1383
- inputs: [
1384
- { name: 'recipient', internalType: 'address', type: 'address' },
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',
1391
- outputs: [
1392
- { name: '', internalType: 'uint256', type: 'uint256' },
1393
- { name: '', internalType: 'uint256', type: 'uint256' },
1394
- ],
1395
- stateMutability: 'payable',
1396
- },
1397
- {
1398
- type: 'function',
1399
- inputs: [{ name: 'pushEthRewards', internalType: 'bool', type: 'bool' }],
1400
- name: 'claimSecondaryRewards',
1401
- outputs: [],
1402
- stateMutability: 'nonpayable',
1403
- },
1404
1356
  {
1405
1357
  type: 'function',
1406
1358
  inputs: [],
@@ -1451,6 +1403,48 @@ export const coinABI = [
1451
1403
  ],
1452
1404
  stateMutability: 'view',
1453
1405
  },
1406
+ {
1407
+ type: 'function',
1408
+ inputs: [
1409
+ {
1410
+ name: 'coinVersionLookup',
1411
+ internalType: 'contract IDeployedCoinVersionLookup',
1412
+ type: 'address',
1413
+ },
1414
+ ],
1415
+ name: 'getPayoutSwapPath',
1416
+ outputs: [
1417
+ {
1418
+ name: 'payoutSwapPath',
1419
+ internalType: 'struct IHasSwapPath.PayoutSwapPath',
1420
+ type: 'tuple',
1421
+ components: [
1422
+ {
1423
+ name: 'path',
1424
+ internalType: 'struct PathKey[]',
1425
+ type: 'tuple[]',
1426
+ components: [
1427
+ {
1428
+ name: 'intermediateCurrency',
1429
+ internalType: 'Currency',
1430
+ type: 'address',
1431
+ },
1432
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
1433
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
1434
+ {
1435
+ name: 'hooks',
1436
+ internalType: 'contract IHooks',
1437
+ type: 'address',
1438
+ },
1439
+ { name: 'hookData', internalType: 'bytes', type: 'bytes' },
1440
+ ],
1441
+ },
1442
+ { name: 'currencyIn', internalType: 'Currency', type: 'address' },
1443
+ ],
1444
+ },
1445
+ ],
1446
+ stateMutability: 'view',
1447
+ },
1454
1448
  {
1455
1449
  type: 'function',
1456
1450
  inputs: [],
@@ -1482,6 +1476,33 @@ export const coinABI = [
1482
1476
  ],
1483
1477
  stateMutability: 'view',
1484
1478
  },
1479
+ {
1480
+ type: 'function',
1481
+ inputs: [],
1482
+ name: 'getPoolKey',
1483
+ outputs: [
1484
+ {
1485
+ name: '',
1486
+ internalType: 'struct PoolKey',
1487
+ type: 'tuple',
1488
+ components: [
1489
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
1490
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
1491
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
1492
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
1493
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
1494
+ ],
1495
+ },
1496
+ ],
1497
+ stateMutability: 'view',
1498
+ },
1499
+ {
1500
+ type: 'function',
1501
+ inputs: [],
1502
+ name: 'hooks',
1503
+ outputs: [{ name: '', internalType: 'contract IHooks', type: 'address' }],
1504
+ stateMutability: 'view',
1505
+ },
1485
1506
  {
1486
1507
  type: 'function',
1487
1508
  inputs: [
@@ -1492,7 +1513,19 @@ export const coinABI = [
1492
1513
  { name: 'symbol_', internalType: 'string', type: 'string' },
1493
1514
  { name: 'platformReferrer_', internalType: 'address', type: 'address' },
1494
1515
  { name: 'currency_', internalType: 'address', type: 'address' },
1495
- { name: 'poolAddress_', internalType: 'address', type: 'address' },
1516
+ {
1517
+ name: 'poolKey_',
1518
+ internalType: 'struct PoolKey',
1519
+ type: 'tuple',
1520
+ components: [
1521
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
1522
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
1523
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
1524
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
1525
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
1526
+ ],
1527
+ },
1528
+ { name: 'sqrtPriceX96', internalType: 'uint160', type: 'uint160' },
1496
1529
  {
1497
1530
  name: 'poolConfiguration_',
1498
1531
  internalType: 'struct PoolConfiguration',
@@ -1516,16 +1549,6 @@ export const coinABI = [
1516
1549
  },
1517
1550
  ],
1518
1551
  },
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
1552
  ],
1530
1553
  name: 'initialize',
1531
1554
  outputs: [],
@@ -1540,17 +1563,26 @@ export const coinABI = [
1540
1563
  },
1541
1564
  {
1542
1565
  type: 'function',
1543
- inputs: [],
1544
- name: 'market',
1545
- outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
1546
- stateMutability: 'view',
1547
- },
1548
- {
1549
- type: 'function',
1550
- inputs: [],
1551
- name: 'marketVersion',
1552
- outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
1553
- stateMutability: 'view',
1566
+ inputs: [
1567
+ { name: 'newHook', internalType: 'address', type: 'address' },
1568
+ { name: 'additionalData', internalType: 'bytes', type: 'bytes' },
1569
+ ],
1570
+ name: 'migrateLiquidity',
1571
+ outputs: [
1572
+ {
1573
+ name: 'newPoolKey',
1574
+ internalType: 'struct PoolKey',
1575
+ type: 'tuple',
1576
+ components: [
1577
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
1578
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
1579
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
1580
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
1581
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
1582
+ ],
1583
+ },
1584
+ ],
1585
+ stateMutability: 'nonpayable',
1554
1586
  },
1555
1587
  {
1556
1588
  type: 'function',
@@ -1605,30 +1637,9 @@ export const coinABI = [
1605
1637
  {
1606
1638
  type: 'function',
1607
1639
  inputs: [],
1608
- name: 'poolAddress',
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',
1640
+ name: 'poolManager',
1628
1641
  outputs: [
1629
- { name: 'tickLower', internalType: 'int24', type: 'int24' },
1630
- { name: 'tickUpper', internalType: 'int24', type: 'int24' },
1631
- { name: 'liquidity', internalType: 'uint128', type: 'uint128' },
1642
+ { name: '', internalType: 'contract IPoolManager', type: 'address' },
1632
1643
  ],
1633
1644
  stateMutability: 'view',
1634
1645
  },
@@ -1669,22 +1680,6 @@ export const coinABI = [
1669
1680
  outputs: [],
1670
1681
  stateMutability: 'nonpayable',
1671
1682
  },
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
1683
  {
1689
1684
  type: 'function',
1690
1685
  inputs: [{ name: 'newURI', internalType: 'string', type: 'string' }],
@@ -1716,13 +1711,6 @@ export const coinABI = [
1716
1711
  inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
1717
1712
  name: 'supportsInterface',
1718
1713
  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
1714
  stateMutability: 'view',
1727
1715
  },
1728
1716
  {
@@ -1767,24 +1755,6 @@ export const coinABI = [
1767
1755
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1768
1756
  stateMutability: 'nonpayable',
1769
1757
  },
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
1758
  {
1789
1759
  type: 'event',
1790
1760
  anonymous: false,
@@ -2141,6 +2111,51 @@ export const coinABI = [
2141
2111
  ],
2142
2112
  name: 'Initialized',
2143
2113
  },
2114
+ {
2115
+ type: 'event',
2116
+ anonymous: false,
2117
+ inputs: [
2118
+ {
2119
+ name: 'fromPoolKey',
2120
+ internalType: 'struct PoolKey',
2121
+ type: 'tuple',
2122
+ components: [
2123
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
2124
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
2125
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
2126
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
2127
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
2128
+ ],
2129
+ indexed: false,
2130
+ },
2131
+ {
2132
+ name: 'fromPoolKeyHash',
2133
+ internalType: 'bytes32',
2134
+ type: 'bytes32',
2135
+ indexed: false,
2136
+ },
2137
+ {
2138
+ name: 'toPoolKey',
2139
+ internalType: 'struct PoolKey',
2140
+ type: 'tuple',
2141
+ components: [
2142
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
2143
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
2144
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
2145
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
2146
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
2147
+ ],
2148
+ indexed: false,
2149
+ },
2150
+ {
2151
+ name: 'toPoolKeyHash',
2152
+ internalType: 'bytes32',
2153
+ type: 'bytes32',
2154
+ indexed: false,
2155
+ },
2156
+ ],
2157
+ name: 'LiquidityMigrated',
2158
+ },
2144
2159
  {
2145
2160
  type: 'event',
2146
2161
  anonymous: false,
@@ -2206,17 +2221,6 @@ export const coinABI = [
2206
2221
  ],
2207
2222
  name: 'Transfer',
2208
2223
  },
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
2224
  { type: 'error', inputs: [], name: 'AddressZero' },
2221
2225
  { type: 'error', inputs: [], name: 'AlreadyOwner' },
2222
2226
  { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
@@ -2292,7 +2296,6 @@ export const coinABI = [
2292
2296
  { type: 'error', inputs: [], name: 'EthAmountTooSmall' },
2293
2297
  { type: 'error', inputs: [], name: 'EthTransferFailed' },
2294
2298
  { type: 'error', inputs: [], name: 'EthTransferInvalid' },
2295
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
2296
2299
  { type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
2297
2300
  { type: 'error', inputs: [], name: 'InsufficientFunds' },
2298
2301
  { type: 'error', inputs: [], name: 'InsufficientLiquidity' },
@@ -2328,6 +2331,7 @@ export const coinABI = [
2328
2331
  ],
2329
2332
  name: 'MaxShareToBeSoldExceeded',
2330
2333
  },
2334
+ { type: 'error', inputs: [], name: 'NameIsRequired' },
2331
2335
  { type: 'error', inputs: [], name: 'NotInitializing' },
2332
2336
  { type: 'error', inputs: [], name: 'NotOwner' },
2333
2337
  { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
@@ -2344,11 +2348,6 @@ export const coinABI = [
2344
2348
  { type: 'error', inputs: [], name: 'OnlyWeth' },
2345
2349
  { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
2346
2350
  { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
2347
- {
2348
- type: 'error',
2349
- inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
2350
- name: 'SafeERC20FailedOperation',
2351
- },
2352
2351
  { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
2353
2352
  { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
2354
2353
  ] as const
@@ -2365,7 +2364,6 @@ export const coinFactoryABI = [
2365
2364
  {
2366
2365
  type: 'constructor',
2367
2366
  inputs: [
2368
- { name: '_coinImpl', internalType: 'address', type: 'address' },
2369
2367
  { name: '_coinV4Impl', internalType: 'address', type: 'address' },
2370
2368
  { name: '_creatorCoinImpl', internalType: 'address', type: 'address' },
2371
2369
  { name: '_contentCoinHook', internalType: 'address', type: 'address' },
@@ -2380,6 +2378,13 @@ export const coinFactoryABI = [
2380
2378
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
2381
2379
  stateMutability: 'view',
2382
2380
  },
2381
+ {
2382
+ type: 'function',
2383
+ inputs: [],
2384
+ name: 'acceptOwnership',
2385
+ outputs: [],
2386
+ stateMutability: 'nonpayable',
2387
+ },
2383
2388
  {
2384
2389
  type: 'function',
2385
2390
  inputs: [
@@ -2394,13 +2399,6 @@ export const coinFactoryABI = [
2394
2399
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
2395
2400
  stateMutability: 'view',
2396
2401
  },
2397
- {
2398
- type: 'function',
2399
- inputs: [],
2400
- name: 'coinImpl',
2401
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
2402
- stateMutability: 'view',
2403
- },
2404
2402
  {
2405
2403
  type: 'function',
2406
2404
  inputs: [],
@@ -2494,7 +2492,7 @@ export const coinFactoryABI = [
2494
2492
  { name: 'symbol', internalType: 'string', type: 'string' },
2495
2493
  { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
2496
2494
  { name: 'platformReferrer', internalType: 'address', type: 'address' },
2497
- { name: 'orderSize', internalType: 'uint256', type: 'uint256' },
2495
+ { name: '', internalType: 'uint256', type: 'uint256' },
2498
2496
  ],
2499
2497
  name: 'deploy',
2500
2498
  outputs: [
@@ -2569,6 +2567,13 @@ export const coinFactoryABI = [
2569
2567
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
2570
2568
  stateMutability: 'view',
2571
2569
  },
2570
+ {
2571
+ type: 'function',
2572
+ inputs: [],
2573
+ name: 'pendingOwner',
2574
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
2575
+ stateMutability: 'view',
2576
+ },
2572
2577
  {
2573
2578
  type: 'function',
2574
2579
  inputs: [],
@@ -2810,6 +2815,25 @@ export const coinFactoryABI = [
2810
2815
  ],
2811
2816
  name: 'Initialized',
2812
2817
  },
2818
+ {
2819
+ type: 'event',
2820
+ anonymous: false,
2821
+ inputs: [
2822
+ {
2823
+ name: 'previousOwner',
2824
+ internalType: 'address',
2825
+ type: 'address',
2826
+ indexed: true,
2827
+ },
2828
+ {
2829
+ name: 'newOwner',
2830
+ internalType: 'address',
2831
+ type: 'address',
2832
+ indexed: true,
2833
+ },
2834
+ ],
2835
+ name: 'OwnershipTransferStarted',
2836
+ },
2813
2837
  {
2814
2838
  type: 'event',
2815
2839
  anonymous: false,
@@ -2847,13 +2871,7 @@ export const coinFactoryABI = [
2847
2871
  inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
2848
2872
  name: 'AddressEmptyCode',
2849
2873
  },
2850
- {
2851
- type: 'error',
2852
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
2853
- name: 'AddressInsufficientBalance',
2854
- },
2855
2874
  { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
2856
- { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
2857
2875
  { type: 'error', inputs: [], name: 'ConfigTickLowerMustBeLessThanTickUpper' },
2858
2876
  { type: 'error', inputs: [], name: 'Deprecated' },
2859
2877
  { type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
@@ -2865,7 +2883,6 @@ export const coinFactoryABI = [
2865
2883
  name: 'ERC1967InvalidImplementation',
2866
2884
  },
2867
2885
  { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
2868
- { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
2869
2886
  { type: 'error', inputs: [], name: 'EthTransferInvalid' },
2870
2887
  { type: 'error', inputs: [], name: 'FailedInnerCall' },
2871
2888
  { type: 'error', inputs: [], name: 'InvalidConfig' },
@@ -2880,14 +2897,6 @@ export const coinFactoryABI = [
2880
2897
  ],
2881
2898
  name: 'InvalidTickRangeMisordered',
2882
2899
  },
2883
- {
2884
- type: 'error',
2885
- inputs: [
2886
- { name: 'tickLower', internalType: 'int24', type: 'int24' },
2887
- { name: 'tickUpper', internalType: 'int24', type: 'int24' },
2888
- ],
2889
- name: 'InvalidTickRangeMisordered',
2890
- },
2891
2900
  {
2892
2901
  type: 'error',
2893
2902
  inputs: [
@@ -2909,11 +2918,6 @@ export const coinFactoryABI = [
2909
2918
  name: 'OwnableUnauthorizedAccount',
2910
2919
  },
2911
2920
  { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
2912
- {
2913
- type: 'error',
2914
- inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
2915
- name: 'SafeERC20FailedOperation',
2916
- },
2917
2921
  { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
2918
2922
  {
2919
2923
  type: 'error',
@@ -2959,17 +2963,17 @@ export const coinV4ABI = [
2959
2963
  type: 'constructor',
2960
2964
  inputs: [
2961
2965
  {
2962
- name: 'protocolRewardRecipient_',
2966
+ name: '_protocolRewardRecipient',
2963
2967
  internalType: 'address',
2964
2968
  type: 'address',
2965
2969
  },
2966
- { name: 'protocolRewards_', internalType: 'address', type: 'address' },
2970
+ { name: '_protocolRewards', internalType: 'address', type: 'address' },
2967
2971
  {
2968
- name: 'poolManager_',
2972
+ name: '_poolManager',
2969
2973
  internalType: 'contract IPoolManager',
2970
2974
  type: 'address',
2971
2975
  },
2972
- { name: 'airlock_', internalType: 'address', type: 'address' },
2976
+ { name: '_airlock', internalType: 'address', type: 'address' },
2973
2977
  ],
2974
2978
  stateMutability: 'nonpayable',
2975
2979
  },
@@ -3037,6 +3041,13 @@ export const coinV4ABI = [
3037
3041
  outputs: [],
3038
3042
  stateMutability: 'nonpayable',
3039
3043
  },
3044
+ {
3045
+ type: 'function',
3046
+ inputs: [],
3047
+ name: 'claimVesting',
3048
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3049
+ stateMutability: 'nonpayable',
3050
+ },
3040
3051
  {
3041
3052
  type: 'function',
3042
3053
  inputs: [],
@@ -3087,6 +3098,13 @@ export const coinV4ABI = [
3087
3098
  ],
3088
3099
  stateMutability: 'view',
3089
3100
  },
3101
+ {
3102
+ type: 'function',
3103
+ inputs: [],
3104
+ name: 'getClaimableAmount',
3105
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3106
+ stateMutability: 'view',
3107
+ },
3090
3108
  {
3091
3109
  type: 'function',
3092
3110
  inputs: [
@@ -3395,7 +3413,7 @@ export const coinV4ABI = [
3395
3413
  inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
3396
3414
  name: 'supportsInterface',
3397
3415
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
3398
- stateMutability: 'pure',
3416
+ stateMutability: 'view',
3399
3417
  },
3400
3418
  {
3401
3419
  type: 'function',
@@ -3411,6 +3429,13 @@ export const coinV4ABI = [
3411
3429
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
3412
3430
  stateMutability: 'view',
3413
3431
  },
3432
+ {
3433
+ type: 'function',
3434
+ inputs: [],
3435
+ name: 'totalClaimed',
3436
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3437
+ stateMutability: 'view',
3438
+ },
3414
3439
  {
3415
3440
  type: 'function',
3416
3441
  inputs: [],
@@ -3439,6 +3464,20 @@ export const coinV4ABI = [
3439
3464
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
3440
3465
  stateMutability: 'nonpayable',
3441
3466
  },
3467
+ {
3468
+ type: 'function',
3469
+ inputs: [],
3470
+ name: 'vestingEndTime',
3471
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3472
+ stateMutability: 'view',
3473
+ },
3474
+ {
3475
+ type: 'function',
3476
+ inputs: [],
3477
+ name: 'vestingStartTime',
3478
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3479
+ stateMutability: 'view',
3480
+ },
3442
3481
  {
3443
3482
  type: 'event',
3444
3483
  anonymous: false,
@@ -3781,6 +3820,43 @@ export const coinV4ABI = [
3781
3820
  name: 'ContractMetadataUpdated',
3782
3821
  },
3783
3822
  { type: 'event', anonymous: false, inputs: [], name: 'ContractURIUpdated' },
3823
+ {
3824
+ type: 'event',
3825
+ anonymous: false,
3826
+ inputs: [
3827
+ {
3828
+ name: 'recipient',
3829
+ internalType: 'address',
3830
+ type: 'address',
3831
+ indexed: true,
3832
+ },
3833
+ {
3834
+ name: 'claimAmount',
3835
+ internalType: 'uint256',
3836
+ type: 'uint256',
3837
+ indexed: false,
3838
+ },
3839
+ {
3840
+ name: 'totalClaimed',
3841
+ internalType: 'uint256',
3842
+ type: 'uint256',
3843
+ indexed: false,
3844
+ },
3845
+ {
3846
+ name: 'vestingStartTime',
3847
+ internalType: 'uint256',
3848
+ type: 'uint256',
3849
+ indexed: false,
3850
+ },
3851
+ {
3852
+ name: 'vestingEndTime',
3853
+ internalType: 'uint256',
3854
+ type: 'uint256',
3855
+ indexed: false,
3856
+ },
3857
+ ],
3858
+ name: 'CreatorVestingClaimed',
3859
+ },
3784
3860
  { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
3785
3861
  {
3786
3862
  type: 'event',
@@ -3991,6 +4067,7 @@ export const coinV4ABI = [
3991
4067
  ],
3992
4068
  name: 'InvalidAccountNonce',
3993
4069
  },
4070
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
3994
4071
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
3995
4072
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
3996
4073
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -4015,6 +4092,7 @@ export const coinV4ABI = [
4015
4092
  ],
4016
4093
  name: 'MaxShareToBeSoldExceeded',
4017
4094
  },
4095
+ { type: 'error', inputs: [], name: 'NameIsRequired' },
4018
4096
  { type: 'error', inputs: [], name: 'NotInitializing' },
4019
4097
  { type: 'error', inputs: [], name: 'NotOwner' },
4020
4098
  { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
@@ -5822,7 +5900,6 @@ export const commentsABI = [
5822
5900
  { type: 'error', inputs: [], name: 'NotInitializing' },
5823
5901
  { type: 'error', inputs: [], name: 'NotSmartWallet' },
5824
5902
  { type: 'error', inputs: [], name: 'NotSmartWalletOwner' },
5825
- { type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
5826
5903
  { type: 'error', inputs: [], name: 'OnlySparksContract' },
5827
5904
  { type: 'error', inputs: [], name: 'TransferFailed' },
5828
5905
  { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
@@ -6003,7 +6080,6 @@ export const devCoinFactoryABI = [
6003
6080
  {
6004
6081
  type: 'constructor',
6005
6082
  inputs: [
6006
- { name: '_coinImpl', internalType: 'address', type: 'address' },
6007
6083
  { name: '_coinV4Impl', internalType: 'address', type: 'address' },
6008
6084
  { name: '_creatorCoinImpl', internalType: 'address', type: 'address' },
6009
6085
  { name: '_contentCoinHook', internalType: 'address', type: 'address' },
@@ -6018,6 +6094,13 @@ export const devCoinFactoryABI = [
6018
6094
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
6019
6095
  stateMutability: 'view',
6020
6096
  },
6097
+ {
6098
+ type: 'function',
6099
+ inputs: [],
6100
+ name: 'acceptOwnership',
6101
+ outputs: [],
6102
+ stateMutability: 'nonpayable',
6103
+ },
6021
6104
  {
6022
6105
  type: 'function',
6023
6106
  inputs: [
@@ -6032,13 +6115,6 @@ export const devCoinFactoryABI = [
6032
6115
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
6033
6116
  stateMutability: 'view',
6034
6117
  },
6035
- {
6036
- type: 'function',
6037
- inputs: [],
6038
- name: 'coinImpl',
6039
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6040
- stateMutability: 'view',
6041
- },
6042
6118
  {
6043
6119
  type: 'function',
6044
6120
  inputs: [],
@@ -6132,7 +6208,7 @@ export const devCoinFactoryABI = [
6132
6208
  { name: 'symbol', internalType: 'string', type: 'string' },
6133
6209
  { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6134
6210
  { name: 'platformReferrer', internalType: 'address', type: 'address' },
6135
- { name: 'orderSize', internalType: 'uint256', type: 'uint256' },
6211
+ { name: '', internalType: 'uint256', type: 'uint256' },
6136
6212
  ],
6137
6213
  name: 'deploy',
6138
6214
  outputs: [
@@ -6207,6 +6283,13 @@ export const devCoinFactoryABI = [
6207
6283
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
6208
6284
  stateMutability: 'view',
6209
6285
  },
6286
+ {
6287
+ type: 'function',
6288
+ inputs: [],
6289
+ name: 'pendingOwner',
6290
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6291
+ stateMutability: 'view',
6292
+ },
6210
6293
  {
6211
6294
  type: 'function',
6212
6295
  inputs: [],
@@ -6448,6 +6531,25 @@ export const devCoinFactoryABI = [
6448
6531
  ],
6449
6532
  name: 'Initialized',
6450
6533
  },
6534
+ {
6535
+ type: 'event',
6536
+ anonymous: false,
6537
+ inputs: [
6538
+ {
6539
+ name: 'previousOwner',
6540
+ internalType: 'address',
6541
+ type: 'address',
6542
+ indexed: true,
6543
+ },
6544
+ {
6545
+ name: 'newOwner',
6546
+ internalType: 'address',
6547
+ type: 'address',
6548
+ indexed: true,
6549
+ },
6550
+ ],
6551
+ name: 'OwnershipTransferStarted',
6552
+ },
6451
6553
  {
6452
6554
  type: 'event',
6453
6555
  anonymous: false,
@@ -6485,13 +6587,7 @@ export const devCoinFactoryABI = [
6485
6587
  inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
6486
6588
  name: 'AddressEmptyCode',
6487
6589
  },
6488
- {
6489
- type: 'error',
6490
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
6491
- name: 'AddressInsufficientBalance',
6492
- },
6493
6590
  { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
6494
- { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
6495
6591
  { type: 'error', inputs: [], name: 'ConfigTickLowerMustBeLessThanTickUpper' },
6496
6592
  { type: 'error', inputs: [], name: 'Deprecated' },
6497
6593
  { type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
@@ -6503,7 +6599,6 @@ export const devCoinFactoryABI = [
6503
6599
  name: 'ERC1967InvalidImplementation',
6504
6600
  },
6505
6601
  { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
6506
- { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
6507
6602
  { type: 'error', inputs: [], name: 'EthTransferInvalid' },
6508
6603
  { type: 'error', inputs: [], name: 'FailedInnerCall' },
6509
6604
  { type: 'error', inputs: [], name: 'InvalidConfig' },
@@ -6518,14 +6613,6 @@ export const devCoinFactoryABI = [
6518
6613
  ],
6519
6614
  name: 'InvalidTickRangeMisordered',
6520
6615
  },
6521
- {
6522
- type: 'error',
6523
- inputs: [
6524
- { name: 'tickLower', internalType: 'int24', type: 'int24' },
6525
- { name: 'tickUpper', internalType: 'int24', type: 'int24' },
6526
- ],
6527
- name: 'InvalidTickRangeMisordered',
6528
- },
6529
6616
  {
6530
6617
  type: 'error',
6531
6618
  inputs: [
@@ -6547,11 +6634,6 @@ export const devCoinFactoryABI = [
6547
6634
  name: 'OwnableUnauthorizedAccount',
6548
6635
  },
6549
6636
  { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
6550
- {
6551
- type: 'error',
6552
- inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
6553
- name: 'SafeERC20FailedOperation',
6554
- },
6555
6637
  { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
6556
6638
  {
6557
6639
  type: 'error',