@zoralabs/protocol-deployments 0.6.1 → 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.
@@ -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' },
@@ -2345,11 +2348,6 @@ export const coinABI = [
2345
2348
  { type: 'error', inputs: [], name: 'OnlyWeth' },
2346
2349
  { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
2347
2350
  { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
2348
- {
2349
- type: 'error',
2350
- inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
2351
- name: 'SafeERC20FailedOperation',
2352
- },
2353
2351
  { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
2354
2352
  { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
2355
2353
  ] as const
@@ -2366,7 +2364,6 @@ export const coinFactoryABI = [
2366
2364
  {
2367
2365
  type: 'constructor',
2368
2366
  inputs: [
2369
- { name: '_coinImpl', internalType: 'address', type: 'address' },
2370
2367
  { name: '_coinV4Impl', internalType: 'address', type: 'address' },
2371
2368
  { name: '_creatorCoinImpl', internalType: 'address', type: 'address' },
2372
2369
  { name: '_contentCoinHook', internalType: 'address', type: 'address' },
@@ -2381,6 +2378,13 @@ export const coinFactoryABI = [
2381
2378
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
2382
2379
  stateMutability: 'view',
2383
2380
  },
2381
+ {
2382
+ type: 'function',
2383
+ inputs: [],
2384
+ name: 'acceptOwnership',
2385
+ outputs: [],
2386
+ stateMutability: 'nonpayable',
2387
+ },
2384
2388
  {
2385
2389
  type: 'function',
2386
2390
  inputs: [
@@ -2395,13 +2399,6 @@ export const coinFactoryABI = [
2395
2399
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
2396
2400
  stateMutability: 'view',
2397
2401
  },
2398
- {
2399
- type: 'function',
2400
- inputs: [],
2401
- name: 'coinImpl',
2402
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
2403
- stateMutability: 'view',
2404
- },
2405
2402
  {
2406
2403
  type: 'function',
2407
2404
  inputs: [],
@@ -2495,7 +2492,7 @@ export const coinFactoryABI = [
2495
2492
  { name: 'symbol', internalType: 'string', type: 'string' },
2496
2493
  { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
2497
2494
  { name: 'platformReferrer', internalType: 'address', type: 'address' },
2498
- { name: 'orderSize', internalType: 'uint256', type: 'uint256' },
2495
+ { name: '', internalType: 'uint256', type: 'uint256' },
2499
2496
  ],
2500
2497
  name: 'deploy',
2501
2498
  outputs: [
@@ -2570,6 +2567,13 @@ export const coinFactoryABI = [
2570
2567
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
2571
2568
  stateMutability: 'view',
2572
2569
  },
2570
+ {
2571
+ type: 'function',
2572
+ inputs: [],
2573
+ name: 'pendingOwner',
2574
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
2575
+ stateMutability: 'view',
2576
+ },
2573
2577
  {
2574
2578
  type: 'function',
2575
2579
  inputs: [],
@@ -2811,6 +2815,25 @@ export const coinFactoryABI = [
2811
2815
  ],
2812
2816
  name: 'Initialized',
2813
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
+ },
2814
2837
  {
2815
2838
  type: 'event',
2816
2839
  anonymous: false,
@@ -2848,13 +2871,7 @@ export const coinFactoryABI = [
2848
2871
  inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
2849
2872
  name: 'AddressEmptyCode',
2850
2873
  },
2851
- {
2852
- type: 'error',
2853
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
2854
- name: 'AddressInsufficientBalance',
2855
- },
2856
2874
  { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
2857
- { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
2858
2875
  { type: 'error', inputs: [], name: 'ConfigTickLowerMustBeLessThanTickUpper' },
2859
2876
  { type: 'error', inputs: [], name: 'Deprecated' },
2860
2877
  { type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
@@ -2866,7 +2883,6 @@ export const coinFactoryABI = [
2866
2883
  name: 'ERC1967InvalidImplementation',
2867
2884
  },
2868
2885
  { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
2869
- { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
2870
2886
  { type: 'error', inputs: [], name: 'EthTransferInvalid' },
2871
2887
  { type: 'error', inputs: [], name: 'FailedInnerCall' },
2872
2888
  { type: 'error', inputs: [], name: 'InvalidConfig' },
@@ -2881,14 +2897,6 @@ export const coinFactoryABI = [
2881
2897
  ],
2882
2898
  name: 'InvalidTickRangeMisordered',
2883
2899
  },
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
2900
  {
2893
2901
  type: 'error',
2894
2902
  inputs: [
@@ -2910,11 +2918,6 @@ export const coinFactoryABI = [
2910
2918
  name: 'OwnableUnauthorizedAccount',
2911
2919
  },
2912
2920
  { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
2913
- {
2914
- type: 'error',
2915
- inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
2916
- name: 'SafeERC20FailedOperation',
2917
- },
2918
2921
  { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
2919
2922
  {
2920
2923
  type: 'error',
@@ -2960,17 +2963,17 @@ export const coinV4ABI = [
2960
2963
  type: 'constructor',
2961
2964
  inputs: [
2962
2965
  {
2963
- name: 'protocolRewardRecipient_',
2966
+ name: '_protocolRewardRecipient',
2964
2967
  internalType: 'address',
2965
2968
  type: 'address',
2966
2969
  },
2967
- { name: 'protocolRewards_', internalType: 'address', type: 'address' },
2970
+ { name: '_protocolRewards', internalType: 'address', type: 'address' },
2968
2971
  {
2969
- name: 'poolManager_',
2972
+ name: '_poolManager',
2970
2973
  internalType: 'contract IPoolManager',
2971
2974
  type: 'address',
2972
2975
  },
2973
- { name: 'airlock_', internalType: 'address', type: 'address' },
2976
+ { name: '_airlock', internalType: 'address', type: 'address' },
2974
2977
  ],
2975
2978
  stateMutability: 'nonpayable',
2976
2979
  },
@@ -3038,6 +3041,13 @@ export const coinV4ABI = [
3038
3041
  outputs: [],
3039
3042
  stateMutability: 'nonpayable',
3040
3043
  },
3044
+ {
3045
+ type: 'function',
3046
+ inputs: [],
3047
+ name: 'claimVesting',
3048
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3049
+ stateMutability: 'nonpayable',
3050
+ },
3041
3051
  {
3042
3052
  type: 'function',
3043
3053
  inputs: [],
@@ -3088,6 +3098,13 @@ export const coinV4ABI = [
3088
3098
  ],
3089
3099
  stateMutability: 'view',
3090
3100
  },
3101
+ {
3102
+ type: 'function',
3103
+ inputs: [],
3104
+ name: 'getClaimableAmount',
3105
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3106
+ stateMutability: 'view',
3107
+ },
3091
3108
  {
3092
3109
  type: 'function',
3093
3110
  inputs: [
@@ -3396,7 +3413,7 @@ export const coinV4ABI = [
3396
3413
  inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
3397
3414
  name: 'supportsInterface',
3398
3415
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
3399
- stateMutability: 'pure',
3416
+ stateMutability: 'view',
3400
3417
  },
3401
3418
  {
3402
3419
  type: 'function',
@@ -3412,6 +3429,13 @@ export const coinV4ABI = [
3412
3429
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
3413
3430
  stateMutability: 'view',
3414
3431
  },
3432
+ {
3433
+ type: 'function',
3434
+ inputs: [],
3435
+ name: 'totalClaimed',
3436
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
3437
+ stateMutability: 'view',
3438
+ },
3415
3439
  {
3416
3440
  type: 'function',
3417
3441
  inputs: [],
@@ -3440,6 +3464,20 @@ export const coinV4ABI = [
3440
3464
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
3441
3465
  stateMutability: 'nonpayable',
3442
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
+ },
3443
3481
  {
3444
3482
  type: 'event',
3445
3483
  anonymous: false,
@@ -3782,6 +3820,43 @@ export const coinV4ABI = [
3782
3820
  name: 'ContractMetadataUpdated',
3783
3821
  },
3784
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
+ },
3785
3860
  { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
3786
3861
  {
3787
3862
  type: 'event',
@@ -3992,6 +4067,7 @@ export const coinV4ABI = [
3992
4067
  ],
3993
4068
  name: 'InvalidAccountNonce',
3994
4069
  },
4070
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
3995
4071
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
3996
4072
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
3997
4073
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -5824,7 +5900,6 @@ export const commentsABI = [
5824
5900
  { type: 'error', inputs: [], name: 'NotInitializing' },
5825
5901
  { type: 'error', inputs: [], name: 'NotSmartWallet' },
5826
5902
  { type: 'error', inputs: [], name: 'NotSmartWalletOwner' },
5827
- { type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
5828
5903
  { type: 'error', inputs: [], name: 'OnlySparksContract' },
5829
5904
  { type: 'error', inputs: [], name: 'TransferFailed' },
5830
5905
  { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
@@ -6005,7 +6080,6 @@ export const devCoinFactoryABI = [
6005
6080
  {
6006
6081
  type: 'constructor',
6007
6082
  inputs: [
6008
- { name: '_coinImpl', internalType: 'address', type: 'address' },
6009
6083
  { name: '_coinV4Impl', internalType: 'address', type: 'address' },
6010
6084
  { name: '_creatorCoinImpl', internalType: 'address', type: 'address' },
6011
6085
  { name: '_contentCoinHook', internalType: 'address', type: 'address' },
@@ -6020,6 +6094,13 @@ export const devCoinFactoryABI = [
6020
6094
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
6021
6095
  stateMutability: 'view',
6022
6096
  },
6097
+ {
6098
+ type: 'function',
6099
+ inputs: [],
6100
+ name: 'acceptOwnership',
6101
+ outputs: [],
6102
+ stateMutability: 'nonpayable',
6103
+ },
6023
6104
  {
6024
6105
  type: 'function',
6025
6106
  inputs: [
@@ -6034,13 +6115,6 @@ export const devCoinFactoryABI = [
6034
6115
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
6035
6116
  stateMutability: 'view',
6036
6117
  },
6037
- {
6038
- type: 'function',
6039
- inputs: [],
6040
- name: 'coinImpl',
6041
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
6042
- stateMutability: 'view',
6043
- },
6044
6118
  {
6045
6119
  type: 'function',
6046
6120
  inputs: [],
@@ -6134,7 +6208,7 @@ export const devCoinFactoryABI = [
6134
6208
  { name: 'symbol', internalType: 'string', type: 'string' },
6135
6209
  { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6136
6210
  { name: 'platformReferrer', internalType: 'address', type: 'address' },
6137
- { name: 'orderSize', internalType: 'uint256', type: 'uint256' },
6211
+ { name: '', internalType: 'uint256', type: 'uint256' },
6138
6212
  ],
6139
6213
  name: 'deploy',
6140
6214
  outputs: [
@@ -6209,6 +6283,13 @@ export const devCoinFactoryABI = [
6209
6283
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
6210
6284
  stateMutability: 'view',
6211
6285
  },
6286
+ {
6287
+ type: 'function',
6288
+ inputs: [],
6289
+ name: 'pendingOwner',
6290
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6291
+ stateMutability: 'view',
6292
+ },
6212
6293
  {
6213
6294
  type: 'function',
6214
6295
  inputs: [],
@@ -6450,6 +6531,25 @@ export const devCoinFactoryABI = [
6450
6531
  ],
6451
6532
  name: 'Initialized',
6452
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
+ },
6453
6553
  {
6454
6554
  type: 'event',
6455
6555
  anonymous: false,
@@ -6487,13 +6587,7 @@ export const devCoinFactoryABI = [
6487
6587
  inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
6488
6588
  name: 'AddressEmptyCode',
6489
6589
  },
6490
- {
6491
- type: 'error',
6492
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
6493
- name: 'AddressInsufficientBalance',
6494
- },
6495
6590
  { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
6496
- { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
6497
6591
  { type: 'error', inputs: [], name: 'ConfigTickLowerMustBeLessThanTickUpper' },
6498
6592
  { type: 'error', inputs: [], name: 'Deprecated' },
6499
6593
  { type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
@@ -6505,7 +6599,6 @@ export const devCoinFactoryABI = [
6505
6599
  name: 'ERC1967InvalidImplementation',
6506
6600
  },
6507
6601
  { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
6508
- { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
6509
6602
  { type: 'error', inputs: [], name: 'EthTransferInvalid' },
6510
6603
  { type: 'error', inputs: [], name: 'FailedInnerCall' },
6511
6604
  { type: 'error', inputs: [], name: 'InvalidConfig' },
@@ -6520,14 +6613,6 @@ export const devCoinFactoryABI = [
6520
6613
  ],
6521
6614
  name: 'InvalidTickRangeMisordered',
6522
6615
  },
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
6616
  {
6532
6617
  type: 'error',
6533
6618
  inputs: [
@@ -6549,11 +6634,6 @@ export const devCoinFactoryABI = [
6549
6634
  name: 'OwnableUnauthorizedAccount',
6550
6635
  },
6551
6636
  { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
6552
- {
6553
- type: 'error',
6554
- inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
6555
- name: 'SafeERC20FailedOperation',
6556
- },
6557
6637
  { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
6558
6638
  {
6559
6639
  type: 'error',