@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/dist/index.js CHANGED
@@ -1195,7 +1195,6 @@ var callerAndCommenterABI = [
1195
1195
  { type: "error", inputs: [], name: "NotInitializing" },
1196
1196
  { type: "error", inputs: [], name: "NotSmartWallet" },
1197
1197
  { type: "error", inputs: [], name: "NotSmartWalletOwner" },
1198
- { type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
1199
1198
  { type: "error", inputs: [], name: "OnlySparksContract" },
1200
1199
  { type: "error", inputs: [], name: "TransferFailed" },
1201
1200
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
@@ -1230,23 +1229,6 @@ var callerAndCommenterConfig = {
1230
1229
  abi: callerAndCommenterABI
1231
1230
  };
1232
1231
  var coinABI = [
1233
- {
1234
- type: "constructor",
1235
- inputs: [
1236
- {
1237
- name: "protocolRewardRecipient_",
1238
- internalType: "address",
1239
- type: "address"
1240
- },
1241
- { name: "protocolRewards_", internalType: "address", type: "address" },
1242
- { name: "weth_", internalType: "address", type: "address" },
1243
- { name: "v3Factory_", internalType: "address", type: "address" },
1244
- { name: "swapRouter_", internalType: "address", type: "address" },
1245
- { name: "airlock_", internalType: "address", type: "address" }
1246
- ],
1247
- stateMutability: "nonpayable"
1248
- },
1249
- { type: "receive", stateMutability: "payable" },
1250
1232
  {
1251
1233
  type: "function",
1252
1234
  inputs: [],
@@ -1254,13 +1236,6 @@ var coinABI = [
1254
1236
  outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1255
1237
  stateMutability: "view"
1256
1238
  },
1257
- {
1258
- type: "function",
1259
- inputs: [],
1260
- name: "WETH",
1261
- outputs: [{ name: "", internalType: "address", type: "address" }],
1262
- stateMutability: "view"
1263
- },
1264
1239
  {
1265
1240
  type: "function",
1266
1241
  inputs: [{ name: "account", internalType: "address", type: "address" }],
@@ -1320,26 +1295,12 @@ var coinABI = [
1320
1295
  },
1321
1296
  {
1322
1297
  type: "function",
1323
- inputs: [
1324
- { name: "recipient", internalType: "address", type: "address" },
1325
- { name: "orderSize", internalType: "uint256", type: "uint256" },
1326
- { name: "minAmountOut", internalType: "uint256", type: "uint256" },
1327
- { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
1328
- { name: "tradeReferrer", internalType: "address", type: "address" }
1329
- ],
1330
- name: "buy",
1298
+ inputs: [],
1299
+ name: "coinType",
1331
1300
  outputs: [
1332
- { name: "", internalType: "uint256", type: "uint256" },
1333
- { name: "", internalType: "uint256", type: "uint256" }
1301
+ { name: "", internalType: "enum IHasCoinType.CoinType", type: "uint8" }
1334
1302
  ],
1335
- stateMutability: "payable"
1336
- },
1337
- {
1338
- type: "function",
1339
- inputs: [{ name: "pushEthRewards", internalType: "bool", type: "bool" }],
1340
- name: "claimSecondaryRewards",
1341
- outputs: [],
1342
- stateMutability: "nonpayable"
1303
+ stateMutability: "view"
1343
1304
  },
1344
1305
  {
1345
1306
  type: "function",
@@ -1391,6 +1352,48 @@ var coinABI = [
1391
1352
  ],
1392
1353
  stateMutability: "view"
1393
1354
  },
1355
+ {
1356
+ type: "function",
1357
+ inputs: [
1358
+ {
1359
+ name: "coinVersionLookup",
1360
+ internalType: "contract IDeployedCoinVersionLookup",
1361
+ type: "address"
1362
+ }
1363
+ ],
1364
+ name: "getPayoutSwapPath",
1365
+ outputs: [
1366
+ {
1367
+ name: "payoutSwapPath",
1368
+ internalType: "struct IHasSwapPath.PayoutSwapPath",
1369
+ type: "tuple",
1370
+ components: [
1371
+ {
1372
+ name: "path",
1373
+ internalType: "struct PathKey[]",
1374
+ type: "tuple[]",
1375
+ components: [
1376
+ {
1377
+ name: "intermediateCurrency",
1378
+ internalType: "Currency",
1379
+ type: "address"
1380
+ },
1381
+ { name: "fee", internalType: "uint24", type: "uint24" },
1382
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
1383
+ {
1384
+ name: "hooks",
1385
+ internalType: "contract IHooks",
1386
+ type: "address"
1387
+ },
1388
+ { name: "hookData", internalType: "bytes", type: "bytes" }
1389
+ ]
1390
+ },
1391
+ { name: "currencyIn", internalType: "Currency", type: "address" }
1392
+ ]
1393
+ }
1394
+ ],
1395
+ stateMutability: "view"
1396
+ },
1394
1397
  {
1395
1398
  type: "function",
1396
1399
  inputs: [],
@@ -1422,6 +1425,33 @@ var coinABI = [
1422
1425
  ],
1423
1426
  stateMutability: "view"
1424
1427
  },
1428
+ {
1429
+ type: "function",
1430
+ inputs: [],
1431
+ name: "getPoolKey",
1432
+ outputs: [
1433
+ {
1434
+ name: "",
1435
+ internalType: "struct PoolKey",
1436
+ type: "tuple",
1437
+ components: [
1438
+ { name: "currency0", internalType: "Currency", type: "address" },
1439
+ { name: "currency1", internalType: "Currency", type: "address" },
1440
+ { name: "fee", internalType: "uint24", type: "uint24" },
1441
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
1442
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
1443
+ ]
1444
+ }
1445
+ ],
1446
+ stateMutability: "view"
1447
+ },
1448
+ {
1449
+ type: "function",
1450
+ inputs: [],
1451
+ name: "hooks",
1452
+ outputs: [{ name: "", internalType: "contract IHooks", type: "address" }],
1453
+ stateMutability: "view"
1454
+ },
1425
1455
  {
1426
1456
  type: "function",
1427
1457
  inputs: [
@@ -1432,7 +1462,19 @@ var coinABI = [
1432
1462
  { name: "symbol_", internalType: "string", type: "string" },
1433
1463
  { name: "platformReferrer_", internalType: "address", type: "address" },
1434
1464
  { name: "currency_", internalType: "address", type: "address" },
1435
- { name: "poolAddress_", internalType: "address", type: "address" },
1465
+ {
1466
+ name: "poolKey_",
1467
+ internalType: "struct PoolKey",
1468
+ type: "tuple",
1469
+ components: [
1470
+ { name: "currency0", internalType: "Currency", type: "address" },
1471
+ { name: "currency1", internalType: "Currency", type: "address" },
1472
+ { name: "fee", internalType: "uint24", type: "uint24" },
1473
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
1474
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
1475
+ ]
1476
+ },
1477
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
1436
1478
  {
1437
1479
  name: "poolConfiguration_",
1438
1480
  internalType: "struct PoolConfiguration",
@@ -1455,16 +1497,6 @@ var coinABI = [
1455
1497
  type: "uint256[]"
1456
1498
  }
1457
1499
  ]
1458
- },
1459
- {
1460
- name: "positions_",
1461
- internalType: "struct LpPosition[]",
1462
- type: "tuple[]",
1463
- components: [
1464
- { name: "tickLower", internalType: "int24", type: "int24" },
1465
- { name: "tickUpper", internalType: "int24", type: "int24" },
1466
- { name: "liquidity", internalType: "uint128", type: "uint128" }
1467
- ]
1468
1500
  }
1469
1501
  ],
1470
1502
  name: "initialize",
@@ -1480,17 +1512,26 @@ var coinABI = [
1480
1512
  },
1481
1513
  {
1482
1514
  type: "function",
1483
- inputs: [],
1484
- name: "market",
1485
- outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1486
- stateMutability: "view"
1487
- },
1488
- {
1489
- type: "function",
1490
- inputs: [],
1491
- name: "marketVersion",
1492
- outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
1493
- stateMutability: "view"
1515
+ inputs: [
1516
+ { name: "newHook", internalType: "address", type: "address" },
1517
+ { name: "additionalData", internalType: "bytes", type: "bytes" }
1518
+ ],
1519
+ name: "migrateLiquidity",
1520
+ outputs: [
1521
+ {
1522
+ name: "newPoolKey",
1523
+ internalType: "struct PoolKey",
1524
+ type: "tuple",
1525
+ components: [
1526
+ { name: "currency0", internalType: "Currency", type: "address" },
1527
+ { name: "currency1", internalType: "Currency", type: "address" },
1528
+ { name: "fee", internalType: "uint24", type: "uint24" },
1529
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
1530
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
1531
+ ]
1532
+ }
1533
+ ],
1534
+ stateMutability: "nonpayable"
1494
1535
  },
1495
1536
  {
1496
1537
  type: "function",
@@ -1545,30 +1586,9 @@ var coinABI = [
1545
1586
  {
1546
1587
  type: "function",
1547
1588
  inputs: [],
1548
- name: "poolAddress",
1549
- outputs: [{ name: "", internalType: "address", type: "address" }],
1550
- stateMutability: "view"
1551
- },
1552
- {
1553
- type: "function",
1554
- inputs: [],
1555
- name: "poolConfiguration",
1556
- outputs: [
1557
- { name: "version", internalType: "uint8", type: "uint8" },
1558
- { name: "numPositions", internalType: "uint16", type: "uint16" },
1559
- { name: "fee", internalType: "uint24", type: "uint24" },
1560
- { name: "tickSpacing", internalType: "int24", type: "int24" }
1561
- ],
1562
- stateMutability: "view"
1563
- },
1564
- {
1565
- type: "function",
1566
- inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1567
- name: "positions",
1589
+ name: "poolManager",
1568
1590
  outputs: [
1569
- { name: "tickLower", internalType: "int24", type: "int24" },
1570
- { name: "tickUpper", internalType: "int24", type: "int24" },
1571
- { name: "liquidity", internalType: "uint128", type: "uint128" }
1591
+ { name: "", internalType: "contract IPoolManager", type: "address" }
1572
1592
  ],
1573
1593
  stateMutability: "view"
1574
1594
  },
@@ -1609,22 +1629,6 @@ var coinABI = [
1609
1629
  outputs: [],
1610
1630
  stateMutability: "nonpayable"
1611
1631
  },
1612
- {
1613
- type: "function",
1614
- inputs: [
1615
- { name: "recipient", internalType: "address", type: "address" },
1616
- { name: "orderSize", internalType: "uint256", type: "uint256" },
1617
- { name: "minAmountOut", internalType: "uint256", type: "uint256" },
1618
- { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
1619
- { name: "tradeReferrer", internalType: "address", type: "address" }
1620
- ],
1621
- name: "sell",
1622
- outputs: [
1623
- { name: "", internalType: "uint256", type: "uint256" },
1624
- { name: "", internalType: "uint256", type: "uint256" }
1625
- ],
1626
- stateMutability: "nonpayable"
1627
- },
1628
1632
  {
1629
1633
  type: "function",
1630
1634
  inputs: [{ name: "newURI", internalType: "string", type: "string" }],
@@ -1656,13 +1660,6 @@ var coinABI = [
1656
1660
  inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1657
1661
  name: "supportsInterface",
1658
1662
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1659
- stateMutability: "pure"
1660
- },
1661
- {
1662
- type: "function",
1663
- inputs: [],
1664
- name: "swapRouter",
1665
- outputs: [{ name: "", internalType: "address", type: "address" }],
1666
1663
  stateMutability: "view"
1667
1664
  },
1668
1665
  {
@@ -1686,6 +1683,13 @@ var coinABI = [
1686
1683
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1687
1684
  stateMutability: "view"
1688
1685
  },
1686
+ {
1687
+ type: "function",
1688
+ inputs: [],
1689
+ name: "totalSupplyForPositions",
1690
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1691
+ stateMutability: "view"
1692
+ },
1689
1693
  {
1690
1694
  type: "function",
1691
1695
  inputs: [
@@ -1707,24 +1711,6 @@ var coinABI = [
1707
1711
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1708
1712
  stateMutability: "nonpayable"
1709
1713
  },
1710
- {
1711
- type: "function",
1712
- inputs: [
1713
- { name: "amount0Owed", internalType: "uint256", type: "uint256" },
1714
- { name: "amount1Owed", internalType: "uint256", type: "uint256" },
1715
- { name: "", internalType: "bytes", type: "bytes" }
1716
- ],
1717
- name: "uniswapV3MintCallback",
1718
- outputs: [],
1719
- stateMutability: "nonpayable"
1720
- },
1721
- {
1722
- type: "function",
1723
- inputs: [],
1724
- name: "v3Factory",
1725
- outputs: [{ name: "", internalType: "address", type: "address" }],
1726
- stateMutability: "view"
1727
- },
1728
1714
  {
1729
1715
  type: "event",
1730
1716
  anonymous: false,
@@ -2081,6 +2067,51 @@ var coinABI = [
2081
2067
  ],
2082
2068
  name: "Initialized"
2083
2069
  },
2070
+ {
2071
+ type: "event",
2072
+ anonymous: false,
2073
+ inputs: [
2074
+ {
2075
+ name: "fromPoolKey",
2076
+ internalType: "struct PoolKey",
2077
+ type: "tuple",
2078
+ components: [
2079
+ { name: "currency0", internalType: "Currency", type: "address" },
2080
+ { name: "currency1", internalType: "Currency", type: "address" },
2081
+ { name: "fee", internalType: "uint24", type: "uint24" },
2082
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
2083
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
2084
+ ],
2085
+ indexed: false
2086
+ },
2087
+ {
2088
+ name: "fromPoolKeyHash",
2089
+ internalType: "bytes32",
2090
+ type: "bytes32",
2091
+ indexed: false
2092
+ },
2093
+ {
2094
+ name: "toPoolKey",
2095
+ internalType: "struct PoolKey",
2096
+ type: "tuple",
2097
+ components: [
2098
+ { name: "currency0", internalType: "Currency", type: "address" },
2099
+ { name: "currency1", internalType: "Currency", type: "address" },
2100
+ { name: "fee", internalType: "uint24", type: "uint24" },
2101
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
2102
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
2103
+ ],
2104
+ indexed: false
2105
+ },
2106
+ {
2107
+ name: "toPoolKeyHash",
2108
+ internalType: "bytes32",
2109
+ type: "bytes32",
2110
+ indexed: false
2111
+ }
2112
+ ],
2113
+ name: "LiquidityMigrated"
2114
+ },
2084
2115
  {
2085
2116
  type: "event",
2086
2117
  anonymous: false,
@@ -2146,17 +2177,6 @@ var coinABI = [
2146
2177
  ],
2147
2178
  name: "Transfer"
2148
2179
  },
2149
- {
2150
- type: "error",
2151
- inputs: [{ name: "target", internalType: "address", type: "address" }],
2152
- name: "AddressEmptyCode"
2153
- },
2154
- {
2155
- type: "error",
2156
- inputs: [{ name: "account", internalType: "address", type: "address" }],
2157
- name: "AddressInsufficientBalance"
2158
- },
2159
- { type: "error", inputs: [], name: "AddressZero" },
2160
2180
  { type: "error", inputs: [], name: "AddressZero" },
2161
2181
  { type: "error", inputs: [], name: "AlreadyOwner" },
2162
2182
  { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
@@ -2232,7 +2252,6 @@ var coinABI = [
2232
2252
  { type: "error", inputs: [], name: "EthAmountTooSmall" },
2233
2253
  { type: "error", inputs: [], name: "EthTransferFailed" },
2234
2254
  { type: "error", inputs: [], name: "EthTransferInvalid" },
2235
- { type: "error", inputs: [], name: "FailedInnerCall" },
2236
2255
  { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
2237
2256
  { type: "error", inputs: [], name: "InsufficientFunds" },
2238
2257
  { type: "error", inputs: [], name: "InsufficientLiquidity" },
@@ -2284,12 +2303,6 @@ var coinABI = [
2284
2303
  },
2285
2304
  { type: "error", inputs: [], name: "OnlyWeth" },
2286
2305
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
2287
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
2288
- {
2289
- type: "error",
2290
- inputs: [{ name: "token", internalType: "address", type: "address" }],
2291
- name: "SafeERC20FailedOperation"
2292
- },
2293
2306
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
2294
2307
  { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
2295
2308
  ];
@@ -2297,11 +2310,10 @@ var coinFactoryABI = [
2297
2310
  {
2298
2311
  type: "constructor",
2299
2312
  inputs: [
2300
- { name: "_coinImpl", internalType: "address", type: "address" },
2301
- { name: "_coinV4Impl", internalType: "address", type: "address" },
2302
- { name: "_creatorCoinImpl", internalType: "address", type: "address" },
2303
- { name: "_contentCoinHook", internalType: "address", type: "address" },
2304
- { name: "_creatorCoinHook", internalType: "address", type: "address" }
2313
+ { name: "coinV4Impl_", internalType: "address", type: "address" },
2314
+ { name: "creatorCoinImpl_", internalType: "address", type: "address" },
2315
+ { name: "hook_", internalType: "address", type: "address" },
2316
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" }
2305
2317
  ],
2306
2318
  stateMutability: "nonpayable"
2307
2319
  },
@@ -2312,6 +2324,13 @@ var coinFactoryABI = [
2312
2324
  outputs: [{ name: "", internalType: "string", type: "string" }],
2313
2325
  stateMutability: "view"
2314
2326
  },
2327
+ {
2328
+ type: "function",
2329
+ inputs: [],
2330
+ name: "acceptOwnership",
2331
+ outputs: [],
2332
+ stateMutability: "nonpayable"
2333
+ },
2315
2334
  {
2316
2335
  type: "function",
2317
2336
  inputs: [
@@ -2321,15 +2340,8 @@ var coinFactoryABI = [
2321
2340
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
2322
2341
  { name: "platformReferrer", internalType: "address", type: "address" },
2323
2342
  { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
2324
- ],
2325
- name: "coinAddress",
2326
- outputs: [{ name: "", internalType: "address", type: "address" }],
2327
- stateMutability: "view"
2328
- },
2329
- {
2330
- type: "function",
2331
- inputs: [],
2332
- name: "coinImpl",
2343
+ ],
2344
+ name: "coinAddress",
2333
2345
  outputs: [{ name: "", internalType: "address", type: "address" }],
2334
2346
  stateMutability: "view"
2335
2347
  },
@@ -2386,7 +2398,7 @@ var coinFactoryABI = [
2386
2398
  { name: "platformReferrer", internalType: "address", type: "address" },
2387
2399
  { name: "currency", internalType: "address", type: "address" },
2388
2400
  { name: "", internalType: "int24", type: "int24" },
2389
- { name: "orderSize", internalType: "uint256", type: "uint256" }
2401
+ { name: "", internalType: "uint256", type: "uint256" }
2390
2402
  ],
2391
2403
  name: "deploy",
2392
2404
  outputs: [
@@ -2426,7 +2438,7 @@ var coinFactoryABI = [
2426
2438
  { name: "symbol", internalType: "string", type: "string" },
2427
2439
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
2428
2440
  { name: "platformReferrer", internalType: "address", type: "address" },
2429
- { name: "orderSize", internalType: "uint256", type: "uint256" }
2441
+ { name: "", internalType: "uint256", type: "uint256" }
2430
2442
  ],
2431
2443
  name: "deploy",
2432
2444
  outputs: [
@@ -2461,7 +2473,28 @@ var coinFactoryABI = [
2461
2473
  { name: "symbol", internalType: "string", type: "string" },
2462
2474
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
2463
2475
  { name: "platformReferrer", internalType: "address", type: "address" },
2464
- { name: "hook", internalType: "address", type: "address" },
2476
+ { name: "postDeployHook", internalType: "address", type: "address" },
2477
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" },
2478
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
2479
+ ],
2480
+ name: "deployCreatorCoin",
2481
+ outputs: [
2482
+ { name: "coin", internalType: "address", type: "address" },
2483
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
2484
+ ],
2485
+ stateMutability: "payable"
2486
+ },
2487
+ {
2488
+ type: "function",
2489
+ inputs: [
2490
+ { name: "payoutRecipient", internalType: "address", type: "address" },
2491
+ { name: "owners", internalType: "address[]", type: "address[]" },
2492
+ { name: "uri", internalType: "string", type: "string" },
2493
+ { name: "name", internalType: "string", type: "string" },
2494
+ { name: "symbol", internalType: "string", type: "string" },
2495
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
2496
+ { name: "platformReferrer", internalType: "address", type: "address" },
2497
+ { name: "deployHook", internalType: "address", type: "address" },
2465
2498
  { name: "hookData", internalType: "bytes", type: "bytes" }
2466
2499
  ],
2467
2500
  name: "deployWithHook",
@@ -2478,6 +2511,13 @@ var coinFactoryABI = [
2478
2511
  outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
2479
2512
  stateMutability: "view"
2480
2513
  },
2514
+ {
2515
+ type: "function",
2516
+ inputs: [],
2517
+ name: "hook",
2518
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2519
+ stateMutability: "view"
2520
+ },
2481
2521
  {
2482
2522
  type: "function",
2483
2523
  inputs: [],
@@ -2501,6 +2541,13 @@ var coinFactoryABI = [
2501
2541
  outputs: [{ name: "", internalType: "address", type: "address" }],
2502
2542
  stateMutability: "view"
2503
2543
  },
2544
+ {
2545
+ type: "function",
2546
+ inputs: [],
2547
+ name: "pendingOwner",
2548
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2549
+ stateMutability: "view"
2550
+ },
2504
2551
  {
2505
2552
  type: "function",
2506
2553
  inputs: [],
@@ -2532,6 +2579,13 @@ var coinFactoryABI = [
2532
2579
  outputs: [],
2533
2580
  stateMutability: "payable"
2534
2581
  },
2582
+ {
2583
+ type: "function",
2584
+ inputs: [],
2585
+ name: "zoraHookRegistry",
2586
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2587
+ stateMutability: "view"
2588
+ },
2535
2589
  {
2536
2590
  type: "event",
2537
2591
  anonymous: false,
@@ -2742,6 +2796,25 @@ var coinFactoryABI = [
2742
2796
  ],
2743
2797
  name: "Initialized"
2744
2798
  },
2799
+ {
2800
+ type: "event",
2801
+ anonymous: false,
2802
+ inputs: [
2803
+ {
2804
+ name: "previousOwner",
2805
+ internalType: "address",
2806
+ type: "address",
2807
+ indexed: true
2808
+ },
2809
+ {
2810
+ name: "newOwner",
2811
+ internalType: "address",
2812
+ type: "address",
2813
+ indexed: true
2814
+ }
2815
+ ],
2816
+ name: "OwnershipTransferStarted"
2817
+ },
2745
2818
  {
2746
2819
  type: "event",
2747
2820
  anonymous: false,
@@ -2779,13 +2852,7 @@ var coinFactoryABI = [
2779
2852
  inputs: [{ name: "target", internalType: "address", type: "address" }],
2780
2853
  name: "AddressEmptyCode"
2781
2854
  },
2782
- {
2783
- type: "error",
2784
- inputs: [{ name: "account", internalType: "address", type: "address" }],
2785
- name: "AddressInsufficientBalance"
2786
- },
2787
2855
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
2788
- { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
2789
2856
  { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
2790
2857
  { type: "error", inputs: [], name: "Deprecated" },
2791
2858
  { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
@@ -2797,7 +2864,6 @@ var coinFactoryABI = [
2797
2864
  name: "ERC1967InvalidImplementation"
2798
2865
  },
2799
2866
  { type: "error", inputs: [], name: "ERC1967NonPayable" },
2800
- { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
2801
2867
  { type: "error", inputs: [], name: "EthTransferInvalid" },
2802
2868
  { type: "error", inputs: [], name: "FailedInnerCall" },
2803
2869
  { type: "error", inputs: [], name: "InvalidConfig" },
@@ -2812,14 +2878,6 @@ var coinFactoryABI = [
2812
2878
  ],
2813
2879
  name: "InvalidTickRangeMisordered"
2814
2880
  },
2815
- {
2816
- type: "error",
2817
- inputs: [
2818
- { name: "tickLower", internalType: "int24", type: "int24" },
2819
- { name: "tickUpper", internalType: "int24", type: "int24" }
2820
- ],
2821
- name: "InvalidTickRangeMisordered"
2822
- },
2823
2881
  {
2824
2882
  type: "error",
2825
2883
  inputs: [
@@ -2841,11 +2899,6 @@ var coinFactoryABI = [
2841
2899
  name: "OwnableUnauthorizedAccount"
2842
2900
  },
2843
2901
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
2844
- {
2845
- type: "error",
2846
- inputs: [{ name: "token", internalType: "address", type: "address" }],
2847
- name: "SafeERC20FailedOperation"
2848
- },
2849
2902
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
2850
2903
  {
2851
2904
  type: "error",
@@ -2954,6 +3007,22 @@ var coinV4ABI = [
2954
3007
  outputs: [],
2955
3008
  stateMutability: "nonpayable"
2956
3009
  },
3010
+ {
3011
+ type: "function",
3012
+ inputs: [],
3013
+ name: "claimVesting",
3014
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3015
+ stateMutability: "nonpayable"
3016
+ },
3017
+ {
3018
+ type: "function",
3019
+ inputs: [],
3020
+ name: "coinType",
3021
+ outputs: [
3022
+ { name: "", internalType: "enum IHasCoinType.CoinType", type: "uint8" }
3023
+ ],
3024
+ stateMutability: "pure"
3025
+ },
2957
3026
  {
2958
3027
  type: "function",
2959
3028
  inputs: [],
@@ -3004,6 +3073,13 @@ var coinV4ABI = [
3004
3073
  ],
3005
3074
  stateMutability: "view"
3006
3075
  },
3076
+ {
3077
+ type: "function",
3078
+ inputs: [],
3079
+ name: "getClaimableAmount",
3080
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3081
+ stateMutability: "view"
3082
+ },
3007
3083
  {
3008
3084
  type: "function",
3009
3085
  inputs: [
@@ -3312,7 +3388,7 @@ var coinV4ABI = [
3312
3388
  inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
3313
3389
  name: "supportsInterface",
3314
3390
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
3315
- stateMutability: "pure"
3391
+ stateMutability: "view"
3316
3392
  },
3317
3393
  {
3318
3394
  type: "function",
@@ -3328,6 +3404,13 @@ var coinV4ABI = [
3328
3404
  outputs: [{ name: "", internalType: "string", type: "string" }],
3329
3405
  stateMutability: "view"
3330
3406
  },
3407
+ {
3408
+ type: "function",
3409
+ inputs: [],
3410
+ name: "totalClaimed",
3411
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3412
+ stateMutability: "view"
3413
+ },
3331
3414
  {
3332
3415
  type: "function",
3333
3416
  inputs: [],
@@ -3335,6 +3418,13 @@ var coinV4ABI = [
3335
3418
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3336
3419
  stateMutability: "view"
3337
3420
  },
3421
+ {
3422
+ type: "function",
3423
+ inputs: [],
3424
+ name: "totalSupplyForPositions",
3425
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3426
+ stateMutability: "pure"
3427
+ },
3338
3428
  {
3339
3429
  type: "function",
3340
3430
  inputs: [
@@ -3356,6 +3446,20 @@ var coinV4ABI = [
3356
3446
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
3357
3447
  stateMutability: "nonpayable"
3358
3448
  },
3449
+ {
3450
+ type: "function",
3451
+ inputs: [],
3452
+ name: "vestingEndTime",
3453
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3454
+ stateMutability: "view"
3455
+ },
3456
+ {
3457
+ type: "function",
3458
+ inputs: [],
3459
+ name: "vestingStartTime",
3460
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3461
+ stateMutability: "view"
3462
+ },
3359
3463
  {
3360
3464
  type: "event",
3361
3465
  anonymous: false,
@@ -3698,6 +3802,43 @@ var coinV4ABI = [
3698
3802
  name: "ContractMetadataUpdated"
3699
3803
  },
3700
3804
  { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
3805
+ {
3806
+ type: "event",
3807
+ anonymous: false,
3808
+ inputs: [
3809
+ {
3810
+ name: "recipient",
3811
+ internalType: "address",
3812
+ type: "address",
3813
+ indexed: true
3814
+ },
3815
+ {
3816
+ name: "claimAmount",
3817
+ internalType: "uint256",
3818
+ type: "uint256",
3819
+ indexed: false
3820
+ },
3821
+ {
3822
+ name: "totalClaimed",
3823
+ internalType: "uint256",
3824
+ type: "uint256",
3825
+ indexed: false
3826
+ },
3827
+ {
3828
+ name: "vestingStartTime",
3829
+ internalType: "uint256",
3830
+ type: "uint256",
3831
+ indexed: false
3832
+ },
3833
+ {
3834
+ name: "vestingEndTime",
3835
+ internalType: "uint256",
3836
+ type: "uint256",
3837
+ indexed: false
3838
+ }
3839
+ ],
3840
+ name: "CreatorVestingClaimed"
3841
+ },
3701
3842
  { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
3702
3843
  {
3703
3844
  type: "event",
@@ -3908,6 +4049,7 @@ var coinV4ABI = [
3908
4049
  ],
3909
4050
  name: "InvalidAccountNonce"
3910
4051
  },
4052
+ { type: "error", inputs: [], name: "InvalidCurrency" },
3911
4053
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
3912
4054
  { type: "error", inputs: [], name: "InvalidInitialization" },
3913
4055
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -3948,7 +4090,6 @@ var coinV4ABI = [
3948
4090
  },
3949
4091
  { type: "error", inputs: [], name: "OnlyWeth" },
3950
4092
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
3951
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
3952
4093
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
3953
4094
  { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
3954
4095
  ];
@@ -5693,7 +5834,6 @@ var commentsABI = [
5693
5834
  { type: "error", inputs: [], name: "NotInitializing" },
5694
5835
  { type: "error", inputs: [], name: "NotSmartWallet" },
5695
5836
  { type: "error", inputs: [], name: "NotSmartWalletOwner" },
5696
- { type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
5697
5837
  { type: "error", inputs: [], name: "OnlySparksContract" },
5698
5838
  { type: "error", inputs: [], name: "TransferFailed" },
5699
5839
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
@@ -5824,11 +5964,10 @@ var devCoinFactoryABI = [
5824
5964
  {
5825
5965
  type: "constructor",
5826
5966
  inputs: [
5827
- { name: "_coinImpl", internalType: "address", type: "address" },
5828
- { name: "_coinV4Impl", internalType: "address", type: "address" },
5829
- { name: "_creatorCoinImpl", internalType: "address", type: "address" },
5830
- { name: "_contentCoinHook", internalType: "address", type: "address" },
5831
- { name: "_creatorCoinHook", internalType: "address", type: "address" }
5967
+ { name: "coinV4Impl_", internalType: "address", type: "address" },
5968
+ { name: "creatorCoinImpl_", internalType: "address", type: "address" },
5969
+ { name: "hook_", internalType: "address", type: "address" },
5970
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" }
5832
5971
  ],
5833
5972
  stateMutability: "nonpayable"
5834
5973
  },
@@ -5839,6 +5978,13 @@ var devCoinFactoryABI = [
5839
5978
  outputs: [{ name: "", internalType: "string", type: "string" }],
5840
5979
  stateMutability: "view"
5841
5980
  },
5981
+ {
5982
+ type: "function",
5983
+ inputs: [],
5984
+ name: "acceptOwnership",
5985
+ outputs: [],
5986
+ stateMutability: "nonpayable"
5987
+ },
5842
5988
  {
5843
5989
  type: "function",
5844
5990
  inputs: [
@@ -5853,13 +5999,6 @@ var devCoinFactoryABI = [
5853
5999
  outputs: [{ name: "", internalType: "address", type: "address" }],
5854
6000
  stateMutability: "view"
5855
6001
  },
5856
- {
5857
- type: "function",
5858
- inputs: [],
5859
- name: "coinImpl",
5860
- outputs: [{ name: "", internalType: "address", type: "address" }],
5861
- stateMutability: "view"
5862
- },
5863
6002
  {
5864
6003
  type: "function",
5865
6004
  inputs: [],
@@ -5913,7 +6052,7 @@ var devCoinFactoryABI = [
5913
6052
  { name: "platformReferrer", internalType: "address", type: "address" },
5914
6053
  { name: "currency", internalType: "address", type: "address" },
5915
6054
  { name: "", internalType: "int24", type: "int24" },
5916
- { name: "orderSize", internalType: "uint256", type: "uint256" }
6055
+ { name: "", internalType: "uint256", type: "uint256" }
5917
6056
  ],
5918
6057
  name: "deploy",
5919
6058
  outputs: [
@@ -5953,7 +6092,7 @@ var devCoinFactoryABI = [
5953
6092
  { name: "symbol", internalType: "string", type: "string" },
5954
6093
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
5955
6094
  { name: "platformReferrer", internalType: "address", type: "address" },
5956
- { name: "orderSize", internalType: "uint256", type: "uint256" }
6095
+ { name: "", internalType: "uint256", type: "uint256" }
5957
6096
  ],
5958
6097
  name: "deploy",
5959
6098
  outputs: [
@@ -5988,7 +6127,28 @@ var devCoinFactoryABI = [
5988
6127
  { name: "symbol", internalType: "string", type: "string" },
5989
6128
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
5990
6129
  { name: "platformReferrer", internalType: "address", type: "address" },
5991
- { name: "hook", internalType: "address", type: "address" },
6130
+ { name: "postDeployHook", internalType: "address", type: "address" },
6131
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" },
6132
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
6133
+ ],
6134
+ name: "deployCreatorCoin",
6135
+ outputs: [
6136
+ { name: "coin", internalType: "address", type: "address" },
6137
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
6138
+ ],
6139
+ stateMutability: "payable"
6140
+ },
6141
+ {
6142
+ type: "function",
6143
+ inputs: [
6144
+ { name: "payoutRecipient", internalType: "address", type: "address" },
6145
+ { name: "owners", internalType: "address[]", type: "address[]" },
6146
+ { name: "uri", internalType: "string", type: "string" },
6147
+ { name: "name", internalType: "string", type: "string" },
6148
+ { name: "symbol", internalType: "string", type: "string" },
6149
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
6150
+ { name: "platformReferrer", internalType: "address", type: "address" },
6151
+ { name: "deployHook", internalType: "address", type: "address" },
5992
6152
  { name: "hookData", internalType: "bytes", type: "bytes" }
5993
6153
  ],
5994
6154
  name: "deployWithHook",
@@ -6005,6 +6165,13 @@ var devCoinFactoryABI = [
6005
6165
  outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
6006
6166
  stateMutability: "view"
6007
6167
  },
6168
+ {
6169
+ type: "function",
6170
+ inputs: [],
6171
+ name: "hook",
6172
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6173
+ stateMutability: "view"
6174
+ },
6008
6175
  {
6009
6176
  type: "function",
6010
6177
  inputs: [],
@@ -6028,6 +6195,13 @@ var devCoinFactoryABI = [
6028
6195
  outputs: [{ name: "", internalType: "address", type: "address" }],
6029
6196
  stateMutability: "view"
6030
6197
  },
6198
+ {
6199
+ type: "function",
6200
+ inputs: [],
6201
+ name: "pendingOwner",
6202
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6203
+ stateMutability: "view"
6204
+ },
6031
6205
  {
6032
6206
  type: "function",
6033
6207
  inputs: [],
@@ -6059,6 +6233,13 @@ var devCoinFactoryABI = [
6059
6233
  outputs: [],
6060
6234
  stateMutability: "payable"
6061
6235
  },
6236
+ {
6237
+ type: "function",
6238
+ inputs: [],
6239
+ name: "zoraHookRegistry",
6240
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6241
+ stateMutability: "view"
6242
+ },
6062
6243
  {
6063
6244
  type: "event",
6064
6245
  anonymous: false,
@@ -6269,6 +6450,25 @@ var devCoinFactoryABI = [
6269
6450
  ],
6270
6451
  name: "Initialized"
6271
6452
  },
6453
+ {
6454
+ type: "event",
6455
+ anonymous: false,
6456
+ inputs: [
6457
+ {
6458
+ name: "previousOwner",
6459
+ internalType: "address",
6460
+ type: "address",
6461
+ indexed: true
6462
+ },
6463
+ {
6464
+ name: "newOwner",
6465
+ internalType: "address",
6466
+ type: "address",
6467
+ indexed: true
6468
+ }
6469
+ ],
6470
+ name: "OwnershipTransferStarted"
6471
+ },
6272
6472
  {
6273
6473
  type: "event",
6274
6474
  anonymous: false,
@@ -6306,13 +6506,7 @@ var devCoinFactoryABI = [
6306
6506
  inputs: [{ name: "target", internalType: "address", type: "address" }],
6307
6507
  name: "AddressEmptyCode"
6308
6508
  },
6309
- {
6310
- type: "error",
6311
- inputs: [{ name: "account", internalType: "address", type: "address" }],
6312
- name: "AddressInsufficientBalance"
6313
- },
6314
6509
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
6315
- { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
6316
6510
  { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
6317
6511
  { type: "error", inputs: [], name: "Deprecated" },
6318
6512
  { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
@@ -6324,7 +6518,6 @@ var devCoinFactoryABI = [
6324
6518
  name: "ERC1967InvalidImplementation"
6325
6519
  },
6326
6520
  { type: "error", inputs: [], name: "ERC1967NonPayable" },
6327
- { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
6328
6521
  { type: "error", inputs: [], name: "EthTransferInvalid" },
6329
6522
  { type: "error", inputs: [], name: "FailedInnerCall" },
6330
6523
  { type: "error", inputs: [], name: "InvalidConfig" },
@@ -6339,14 +6532,6 @@ var devCoinFactoryABI = [
6339
6532
  ],
6340
6533
  name: "InvalidTickRangeMisordered"
6341
6534
  },
6342
- {
6343
- type: "error",
6344
- inputs: [
6345
- { name: "tickLower", internalType: "int24", type: "int24" },
6346
- { name: "tickUpper", internalType: "int24", type: "int24" }
6347
- ],
6348
- name: "InvalidTickRangeMisordered"
6349
- },
6350
6535
  {
6351
6536
  type: "error",
6352
6537
  inputs: [
@@ -6368,11 +6553,6 @@ var devCoinFactoryABI = [
6368
6553
  name: "OwnableUnauthorizedAccount"
6369
6554
  },
6370
6555
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
6371
- {
6372
- type: "error",
6373
- inputs: [{ name: "token", internalType: "address", type: "address" }],
6374
- name: "SafeERC20FailedOperation"
6375
- },
6376
6556
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
6377
6557
  {
6378
6558
  type: "error",