@zoralabs/protocol-deployments 0.3.11 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1042,6 +1042,796 @@ var callerAndCommenterConfig = {
1042
1042
  address: callerAndCommenterAddress,
1043
1043
  abi: callerAndCommenterABI
1044
1044
  };
1045
+ var cointagABI = [
1046
+ {
1047
+ type: "constructor",
1048
+ inputs: [
1049
+ { name: "protocolRewards_", internalType: "address", type: "address" },
1050
+ { name: "weth_", internalType: "address", type: "address" },
1051
+ { name: "upgradeGate_", internalType: "address", type: "address" }
1052
+ ],
1053
+ stateMutability: "nonpayable"
1054
+ },
1055
+ { type: "receive", stateMutability: "payable" },
1056
+ {
1057
+ type: "function",
1058
+ inputs: [],
1059
+ name: "PERCENTAGE_BASIS",
1060
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1061
+ stateMutability: "view"
1062
+ },
1063
+ {
1064
+ type: "function",
1065
+ inputs: [],
1066
+ name: "UPGRADE_INTERFACE_VERSION",
1067
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1068
+ stateMutability: "view"
1069
+ },
1070
+ {
1071
+ type: "function",
1072
+ inputs: [],
1073
+ name: "acceptOwnership",
1074
+ outputs: [],
1075
+ stateMutability: "nonpayable"
1076
+ },
1077
+ {
1078
+ type: "function",
1079
+ inputs: [],
1080
+ name: "config",
1081
+ outputs: [
1082
+ {
1083
+ name: "cointagStorage",
1084
+ internalType: "struct ICointag.CointagStorageV1",
1085
+ type: "tuple",
1086
+ components: [
1087
+ {
1088
+ name: "creatorRewardRecipient",
1089
+ internalType: "address",
1090
+ type: "address"
1091
+ },
1092
+ { name: "erc20", internalType: "contract IERC20", type: "address" },
1093
+ {
1094
+ name: "pool",
1095
+ internalType: "contract IUniswapV3Pool",
1096
+ type: "address"
1097
+ },
1098
+ {
1099
+ name: "percentageToBuyBurn",
1100
+ internalType: "uint256",
1101
+ type: "uint256"
1102
+ }
1103
+ ]
1104
+ }
1105
+ ],
1106
+ stateMutability: "pure"
1107
+ },
1108
+ {
1109
+ type: "function",
1110
+ inputs: [],
1111
+ name: "contractName",
1112
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1113
+ stateMutability: "pure"
1114
+ },
1115
+ {
1116
+ type: "function",
1117
+ inputs: [],
1118
+ name: "contractVersion",
1119
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1120
+ stateMutability: "pure"
1121
+ },
1122
+ {
1123
+ type: "function",
1124
+ inputs: [],
1125
+ name: "distribute",
1126
+ outputs: [],
1127
+ stateMutability: "nonpayable"
1128
+ },
1129
+ {
1130
+ type: "function",
1131
+ inputs: [],
1132
+ name: "erc20",
1133
+ outputs: [{ name: "", internalType: "contract IERC20", type: "address" }],
1134
+ stateMutability: "view"
1135
+ },
1136
+ {
1137
+ type: "function",
1138
+ inputs: [],
1139
+ name: "implementation",
1140
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1141
+ stateMutability: "view"
1142
+ },
1143
+ {
1144
+ type: "function",
1145
+ inputs: [
1146
+ {
1147
+ name: "creatorRewardRecipient",
1148
+ internalType: "address",
1149
+ type: "address"
1150
+ },
1151
+ { name: "pool_", internalType: "address", type: "address" },
1152
+ { name: "percentageToBuyBurn", internalType: "uint256", type: "uint256" }
1153
+ ],
1154
+ name: "initialize",
1155
+ outputs: [],
1156
+ stateMutability: "nonpayable"
1157
+ },
1158
+ {
1159
+ type: "function",
1160
+ inputs: [],
1161
+ name: "owner",
1162
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1163
+ stateMutability: "view"
1164
+ },
1165
+ {
1166
+ type: "function",
1167
+ inputs: [],
1168
+ name: "pendingOwner",
1169
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1170
+ stateMutability: "view"
1171
+ },
1172
+ {
1173
+ type: "function",
1174
+ inputs: [],
1175
+ name: "pool",
1176
+ outputs: [
1177
+ { name: "", internalType: "contract IUniswapV3Pool", type: "address" }
1178
+ ],
1179
+ stateMutability: "view"
1180
+ },
1181
+ {
1182
+ type: "function",
1183
+ inputs: [],
1184
+ name: "protocolRewards",
1185
+ outputs: [
1186
+ { name: "", internalType: "contract IProtocolRewards", type: "address" }
1187
+ ],
1188
+ stateMutability: "view"
1189
+ },
1190
+ {
1191
+ type: "function",
1192
+ inputs: [],
1193
+ name: "proxiableUUID",
1194
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1195
+ stateMutability: "view"
1196
+ },
1197
+ {
1198
+ type: "function",
1199
+ inputs: [],
1200
+ name: "pull",
1201
+ outputs: [],
1202
+ stateMutability: "nonpayable"
1203
+ },
1204
+ {
1205
+ type: "function",
1206
+ inputs: [],
1207
+ name: "renounceOwnership",
1208
+ outputs: [],
1209
+ stateMutability: "nonpayable"
1210
+ },
1211
+ {
1212
+ type: "function",
1213
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1214
+ name: "transferOwnership",
1215
+ outputs: [],
1216
+ stateMutability: "nonpayable"
1217
+ },
1218
+ {
1219
+ type: "function",
1220
+ inputs: [
1221
+ { name: "amount0Delta", internalType: "int256", type: "int256" },
1222
+ { name: "amount1Delta", internalType: "int256", type: "int256" },
1223
+ { name: "", internalType: "bytes", type: "bytes" }
1224
+ ],
1225
+ name: "uniswapV3SwapCallback",
1226
+ outputs: [],
1227
+ stateMutability: "nonpayable"
1228
+ },
1229
+ {
1230
+ type: "function",
1231
+ inputs: [],
1232
+ name: "upgradeGate",
1233
+ outputs: [
1234
+ { name: "", internalType: "contract IUpgradeGate", type: "address" }
1235
+ ],
1236
+ stateMutability: "view"
1237
+ },
1238
+ {
1239
+ type: "function",
1240
+ inputs: [
1241
+ { name: "newImplementation", internalType: "address", type: "address" },
1242
+ { name: "data", internalType: "bytes", type: "bytes" }
1243
+ ],
1244
+ name: "upgradeToAndCall",
1245
+ outputs: [],
1246
+ stateMutability: "payable"
1247
+ },
1248
+ {
1249
+ type: "function",
1250
+ inputs: [],
1251
+ name: "weth",
1252
+ outputs: [{ name: "", internalType: "contract IWETH", type: "address" }],
1253
+ stateMutability: "view"
1254
+ },
1255
+ {
1256
+ type: "event",
1257
+ anonymous: false,
1258
+ inputs: [
1259
+ {
1260
+ name: "amountERC20Received",
1261
+ internalType: "uint256",
1262
+ type: "uint256",
1263
+ indexed: false
1264
+ },
1265
+ {
1266
+ name: "amountERC20Burned",
1267
+ internalType: "uint256",
1268
+ type: "uint256",
1269
+ indexed: false
1270
+ },
1271
+ {
1272
+ name: "amountETHSpent",
1273
+ internalType: "uint256",
1274
+ type: "uint256",
1275
+ indexed: false
1276
+ },
1277
+ {
1278
+ name: "amountETHToCreator",
1279
+ internalType: "uint256",
1280
+ type: "uint256",
1281
+ indexed: false
1282
+ },
1283
+ {
1284
+ name: "totalETHReceived",
1285
+ internalType: "uint256",
1286
+ type: "uint256",
1287
+ indexed: false
1288
+ },
1289
+ {
1290
+ name: "buyFailureError",
1291
+ internalType: "bytes",
1292
+ type: "bytes",
1293
+ indexed: false
1294
+ },
1295
+ {
1296
+ name: "burnFailureError",
1297
+ internalType: "bytes",
1298
+ type: "bytes",
1299
+ indexed: false
1300
+ }
1301
+ ],
1302
+ name: "BuyBurn"
1303
+ },
1304
+ {
1305
+ type: "event",
1306
+ anonymous: false,
1307
+ inputs: [
1308
+ {
1309
+ name: "amount",
1310
+ internalType: "uint256",
1311
+ type: "uint256",
1312
+ indexed: true
1313
+ },
1314
+ {
1315
+ name: "sender",
1316
+ internalType: "address",
1317
+ type: "address",
1318
+ indexed: true
1319
+ }
1320
+ ],
1321
+ name: "EthReceived"
1322
+ },
1323
+ {
1324
+ type: "event",
1325
+ anonymous: false,
1326
+ inputs: [
1327
+ {
1328
+ name: "version",
1329
+ internalType: "uint64",
1330
+ type: "uint64",
1331
+ indexed: false
1332
+ }
1333
+ ],
1334
+ name: "Initialized"
1335
+ },
1336
+ {
1337
+ type: "event",
1338
+ anonymous: false,
1339
+ inputs: [
1340
+ {
1341
+ name: "creatorRewardRecipient",
1342
+ internalType: "address",
1343
+ type: "address",
1344
+ indexed: false
1345
+ },
1346
+ {
1347
+ name: "erc20",
1348
+ internalType: "address",
1349
+ type: "address",
1350
+ indexed: false
1351
+ },
1352
+ {
1353
+ name: "pool",
1354
+ internalType: "address",
1355
+ type: "address",
1356
+ indexed: false
1357
+ },
1358
+ {
1359
+ name: "percentageToBuyBurn",
1360
+ internalType: "uint256",
1361
+ type: "uint256",
1362
+ indexed: false
1363
+ }
1364
+ ],
1365
+ name: "Initialized"
1366
+ },
1367
+ {
1368
+ type: "event",
1369
+ anonymous: false,
1370
+ inputs: [
1371
+ {
1372
+ name: "previousOwner",
1373
+ internalType: "address",
1374
+ type: "address",
1375
+ indexed: true
1376
+ },
1377
+ {
1378
+ name: "newOwner",
1379
+ internalType: "address",
1380
+ type: "address",
1381
+ indexed: true
1382
+ }
1383
+ ],
1384
+ name: "OwnershipTransferStarted"
1385
+ },
1386
+ {
1387
+ type: "event",
1388
+ anonymous: false,
1389
+ inputs: [
1390
+ {
1391
+ name: "previousOwner",
1392
+ internalType: "address",
1393
+ type: "address",
1394
+ indexed: true
1395
+ },
1396
+ {
1397
+ name: "newOwner",
1398
+ internalType: "address",
1399
+ type: "address",
1400
+ indexed: true
1401
+ }
1402
+ ],
1403
+ name: "OwnershipTransferred"
1404
+ },
1405
+ {
1406
+ type: "event",
1407
+ anonymous: false,
1408
+ inputs: [
1409
+ {
1410
+ name: "implementation",
1411
+ internalType: "address",
1412
+ type: "address",
1413
+ indexed: true
1414
+ }
1415
+ ],
1416
+ name: "Upgraded"
1417
+ },
1418
+ {
1419
+ type: "error",
1420
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
1421
+ name: "AddressEmptyCode"
1422
+ },
1423
+ {
1424
+ type: "error",
1425
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1426
+ name: "AddressInsufficientBalance"
1427
+ },
1428
+ { type: "error", inputs: [], name: "AddressZero" },
1429
+ {
1430
+ type: "error",
1431
+ inputs: [
1432
+ { name: "implementation", internalType: "address", type: "address" }
1433
+ ],
1434
+ name: "ERC1967InvalidImplementation"
1435
+ },
1436
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
1437
+ { type: "error", inputs: [], name: "FailedInnerCall" },
1438
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1439
+ {
1440
+ type: "error",
1441
+ inputs: [
1442
+ { name: "oldImpl", internalType: "address", type: "address" },
1443
+ { name: "newImpl", internalType: "address", type: "address" }
1444
+ ],
1445
+ name: "InvalidUpgradePath"
1446
+ },
1447
+ { type: "error", inputs: [], name: "NotInitializing" },
1448
+ { type: "error", inputs: [], name: "OnlyPool" },
1449
+ { type: "error", inputs: [], name: "OnlyProtocolRewardsOrWeth" },
1450
+ {
1451
+ type: "error",
1452
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
1453
+ name: "OwnableInvalidOwner"
1454
+ },
1455
+ {
1456
+ type: "error",
1457
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1458
+ name: "OwnableUnauthorizedAccount"
1459
+ },
1460
+ { type: "error", inputs: [], name: "PoolNeedsOneTokenToBeWETH" },
1461
+ {
1462
+ type: "error",
1463
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
1464
+ name: "SafeERC20FailedOperation"
1465
+ },
1466
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
1467
+ {
1468
+ type: "error",
1469
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
1470
+ name: "UUPSUnsupportedProxiableUUID"
1471
+ },
1472
+ { type: "error", inputs: [], name: "UnknownBurnError" },
1473
+ { type: "error", inputs: [], name: "UnknownSwapError" },
1474
+ {
1475
+ type: "error",
1476
+ inputs: [
1477
+ { name: "current", internalType: "string", type: "string" },
1478
+ { name: "newName", internalType: "string", type: "string" }
1479
+ ],
1480
+ name: "UpgradeToMismatchedContractName"
1481
+ }
1482
+ ];
1483
+ var cointagFactoryABI = [
1484
+ {
1485
+ type: "constructor",
1486
+ inputs: [
1487
+ {
1488
+ name: "_cointagImplementation",
1489
+ internalType: "address",
1490
+ type: "address"
1491
+ }
1492
+ ],
1493
+ stateMutability: "nonpayable"
1494
+ },
1495
+ {
1496
+ type: "function",
1497
+ inputs: [],
1498
+ name: "UPGRADE_INTERFACE_VERSION",
1499
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1500
+ stateMutability: "view"
1501
+ },
1502
+ {
1503
+ type: "function",
1504
+ inputs: [],
1505
+ name: "acceptOwnership",
1506
+ outputs: [],
1507
+ stateMutability: "nonpayable"
1508
+ },
1509
+ {
1510
+ type: "function",
1511
+ inputs: [],
1512
+ name: "cointagImplementation",
1513
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1514
+ stateMutability: "view"
1515
+ },
1516
+ {
1517
+ type: "function",
1518
+ inputs: [],
1519
+ name: "contractName",
1520
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1521
+ stateMutability: "pure"
1522
+ },
1523
+ {
1524
+ type: "function",
1525
+ inputs: [],
1526
+ name: "contractURI",
1527
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1528
+ stateMutability: "pure"
1529
+ },
1530
+ {
1531
+ type: "function",
1532
+ inputs: [],
1533
+ name: "contractVersion",
1534
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1535
+ stateMutability: "pure"
1536
+ },
1537
+ {
1538
+ type: "function",
1539
+ inputs: [
1540
+ {
1541
+ name: "_creatorRewardRecipient",
1542
+ internalType: "address",
1543
+ type: "address"
1544
+ },
1545
+ { name: "_pool", internalType: "address", type: "address" },
1546
+ {
1547
+ name: "_percentageToBuyBurn",
1548
+ internalType: "uint256",
1549
+ type: "uint256"
1550
+ },
1551
+ { name: "saltSource", internalType: "bytes", type: "bytes" }
1552
+ ],
1553
+ name: "getCointagAddress",
1554
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1555
+ stateMutability: "view"
1556
+ },
1557
+ {
1558
+ type: "function",
1559
+ inputs: [
1560
+ {
1561
+ name: "_creatorRewardRecipient",
1562
+ internalType: "address",
1563
+ type: "address"
1564
+ },
1565
+ { name: "_pool", internalType: "address", type: "address" },
1566
+ {
1567
+ name: "_percentageToBuyBurn",
1568
+ internalType: "uint256",
1569
+ type: "uint256"
1570
+ },
1571
+ { name: "saltSource", internalType: "bytes", type: "bytes" }
1572
+ ],
1573
+ name: "getOrCreateCointag",
1574
+ outputs: [{ name: "", internalType: "contract ICointag", type: "address" }],
1575
+ stateMutability: "nonpayable"
1576
+ },
1577
+ {
1578
+ type: "function",
1579
+ inputs: [
1580
+ {
1581
+ name: "_creatorRewardRecipient",
1582
+ internalType: "address",
1583
+ type: "address"
1584
+ },
1585
+ { name: "_pool", internalType: "address", type: "address" },
1586
+ {
1587
+ name: "_percentageToBuyBurn",
1588
+ internalType: "uint256",
1589
+ type: "uint256"
1590
+ },
1591
+ { name: "saltSource", internalType: "bytes", type: "bytes" },
1592
+ { name: "expectedAddress", internalType: "address", type: "address" }
1593
+ ],
1594
+ name: "getOrCreateCointagAtExpectedAddress",
1595
+ outputs: [{ name: "", internalType: "contract ICointag", type: "address" }],
1596
+ stateMutability: "nonpayable"
1597
+ },
1598
+ {
1599
+ type: "function",
1600
+ inputs: [],
1601
+ name: "implementation",
1602
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1603
+ stateMutability: "view"
1604
+ },
1605
+ {
1606
+ type: "function",
1607
+ inputs: [
1608
+ { name: "_defaultOwner", internalType: "address", type: "address" }
1609
+ ],
1610
+ name: "initialize",
1611
+ outputs: [],
1612
+ stateMutability: "nonpayable"
1613
+ },
1614
+ {
1615
+ type: "function",
1616
+ inputs: [],
1617
+ name: "owner",
1618
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1619
+ stateMutability: "view"
1620
+ },
1621
+ {
1622
+ type: "function",
1623
+ inputs: [],
1624
+ name: "pendingOwner",
1625
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1626
+ stateMutability: "view"
1627
+ },
1628
+ {
1629
+ type: "function",
1630
+ inputs: [],
1631
+ name: "proxiableUUID",
1632
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1633
+ stateMutability: "view"
1634
+ },
1635
+ {
1636
+ type: "function",
1637
+ inputs: [],
1638
+ name: "renounceOwnership",
1639
+ outputs: [],
1640
+ stateMutability: "nonpayable"
1641
+ },
1642
+ {
1643
+ type: "function",
1644
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1645
+ name: "transferOwnership",
1646
+ outputs: [],
1647
+ stateMutability: "nonpayable"
1648
+ },
1649
+ {
1650
+ type: "function",
1651
+ inputs: [],
1652
+ name: "upgradeGate",
1653
+ outputs: [
1654
+ { name: "", internalType: "contract IUpgradeGate", type: "address" }
1655
+ ],
1656
+ stateMutability: "view"
1657
+ },
1658
+ {
1659
+ type: "function",
1660
+ inputs: [
1661
+ { name: "newImplementation", internalType: "address", type: "address" },
1662
+ { name: "data", internalType: "bytes", type: "bytes" }
1663
+ ],
1664
+ name: "upgradeToAndCall",
1665
+ outputs: [],
1666
+ stateMutability: "payable"
1667
+ },
1668
+ {
1669
+ type: "event",
1670
+ anonymous: false,
1671
+ inputs: [
1672
+ {
1673
+ name: "version",
1674
+ internalType: "uint64",
1675
+ type: "uint64",
1676
+ indexed: false
1677
+ }
1678
+ ],
1679
+ name: "Initialized"
1680
+ },
1681
+ {
1682
+ type: "event",
1683
+ anonymous: false,
1684
+ inputs: [
1685
+ {
1686
+ name: "previousOwner",
1687
+ internalType: "address",
1688
+ type: "address",
1689
+ indexed: true
1690
+ },
1691
+ {
1692
+ name: "newOwner",
1693
+ internalType: "address",
1694
+ type: "address",
1695
+ indexed: true
1696
+ }
1697
+ ],
1698
+ name: "OwnershipTransferStarted"
1699
+ },
1700
+ {
1701
+ type: "event",
1702
+ anonymous: false,
1703
+ inputs: [
1704
+ {
1705
+ name: "previousOwner",
1706
+ internalType: "address",
1707
+ type: "address",
1708
+ indexed: true
1709
+ },
1710
+ {
1711
+ name: "newOwner",
1712
+ internalType: "address",
1713
+ type: "address",
1714
+ indexed: true
1715
+ }
1716
+ ],
1717
+ name: "OwnershipTransferred"
1718
+ },
1719
+ {
1720
+ type: "event",
1721
+ anonymous: false,
1722
+ inputs: [
1723
+ {
1724
+ name: "cointag",
1725
+ internalType: "address",
1726
+ type: "address",
1727
+ indexed: true
1728
+ },
1729
+ {
1730
+ name: "creatorRewardRecipient",
1731
+ internalType: "address",
1732
+ type: "address",
1733
+ indexed: true
1734
+ },
1735
+ {
1736
+ name: "erc20",
1737
+ internalType: "address",
1738
+ type: "address",
1739
+ indexed: true
1740
+ },
1741
+ {
1742
+ name: "pool",
1743
+ internalType: "address",
1744
+ type: "address",
1745
+ indexed: false
1746
+ },
1747
+ {
1748
+ name: "percentageToBuyBurn",
1749
+ internalType: "uint256",
1750
+ type: "uint256",
1751
+ indexed: false
1752
+ },
1753
+ {
1754
+ name: "saltSource",
1755
+ internalType: "bytes",
1756
+ type: "bytes",
1757
+ indexed: false
1758
+ }
1759
+ ],
1760
+ name: "SetupNewCointag"
1761
+ },
1762
+ {
1763
+ type: "event",
1764
+ anonymous: false,
1765
+ inputs: [
1766
+ {
1767
+ name: "implementation",
1768
+ internalType: "address",
1769
+ type: "address",
1770
+ indexed: true
1771
+ }
1772
+ ],
1773
+ name: "Upgraded"
1774
+ },
1775
+ {
1776
+ type: "error",
1777
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
1778
+ name: "AddressEmptyCode"
1779
+ },
1780
+ { type: "error", inputs: [], name: "AddressZero" },
1781
+ {
1782
+ type: "error",
1783
+ inputs: [
1784
+ { name: "implementation", internalType: "address", type: "address" }
1785
+ ],
1786
+ name: "ERC1967InvalidImplementation"
1787
+ },
1788
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
1789
+ { type: "error", inputs: [], name: "FailedInnerCall" },
1790
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1791
+ { type: "error", inputs: [], name: "NotInitializing" },
1792
+ {
1793
+ type: "error",
1794
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
1795
+ name: "OwnableInvalidOwner"
1796
+ },
1797
+ {
1798
+ type: "error",
1799
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1800
+ name: "OwnableUnauthorizedAccount"
1801
+ },
1802
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
1803
+ {
1804
+ type: "error",
1805
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
1806
+ name: "UUPSUnsupportedProxiableUUID"
1807
+ },
1808
+ {
1809
+ type: "error",
1810
+ inputs: [
1811
+ { name: "expected", internalType: "address", type: "address" },
1812
+ { name: "actual", internalType: "address", type: "address" }
1813
+ ],
1814
+ name: "UnexpectedCointagAddress"
1815
+ },
1816
+ {
1817
+ type: "error",
1818
+ inputs: [
1819
+ { name: "currentName", internalType: "string", type: "string" },
1820
+ { name: "newName", internalType: "string", type: "string" }
1821
+ ],
1822
+ name: "UpgradeToMismatchedContractName"
1823
+ }
1824
+ ];
1825
+ var cointagFactoryAddress = {
1826
+ 8453: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
1827
+ 84532: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
1828
+ 7777777: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
1829
+ 999999999: "0x77777773Bd7Cccb7E704315CA51245707E19B0DE"
1830
+ };
1831
+ var cointagFactoryConfig = {
1832
+ address: cointagFactoryAddress,
1833
+ abi: cointagFactoryABI
1834
+ };
1045
1835
  var commentsABI = [
1046
1836
  {
1047
1837
  type: "constructor",
@@ -3704,6 +4494,118 @@ var iSponsoredSparksSpenderActionABI = [
3704
4494
  stateMutability: "nonpayable"
3705
4495
  }
3706
4496
  ];
4497
+ var iUniswapV3PoolABI = [
4498
+ {
4499
+ type: "function",
4500
+ inputs: [],
4501
+ name: "fee",
4502
+ outputs: [{ name: "", internalType: "uint24", type: "uint24" }],
4503
+ stateMutability: "view"
4504
+ },
4505
+ {
4506
+ type: "function",
4507
+ inputs: [],
4508
+ name: "feeGrowthGlobal0X128",
4509
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4510
+ stateMutability: "view"
4511
+ },
4512
+ {
4513
+ type: "function",
4514
+ inputs: [],
4515
+ name: "feeGrowthGlobal1X128",
4516
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4517
+ stateMutability: "view"
4518
+ },
4519
+ {
4520
+ type: "function",
4521
+ inputs: [
4522
+ {
4523
+ name: "observationCardinalityNext",
4524
+ internalType: "uint16",
4525
+ type: "uint16"
4526
+ }
4527
+ ],
4528
+ name: "increaseObservationCardinalityNext",
4529
+ outputs: [],
4530
+ stateMutability: "nonpayable"
4531
+ },
4532
+ {
4533
+ type: "function",
4534
+ inputs: [
4535
+ { name: "secondsAgos", internalType: "uint32[]", type: "uint32[]" }
4536
+ ],
4537
+ name: "observe",
4538
+ outputs: [
4539
+ { name: "tickCumulatives", internalType: "int56[]", type: "int56[]" },
4540
+ {
4541
+ name: "secondsPerLiquidityCumulativeX128s",
4542
+ internalType: "uint160[]",
4543
+ type: "uint160[]"
4544
+ }
4545
+ ],
4546
+ stateMutability: "view"
4547
+ },
4548
+ {
4549
+ type: "function",
4550
+ inputs: [],
4551
+ name: "slot0",
4552
+ outputs: [
4553
+ {
4554
+ name: "slot0",
4555
+ internalType: "struct IUniswapV3Pool.Slot0",
4556
+ type: "tuple",
4557
+ components: [
4558
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
4559
+ { name: "tick", internalType: "int24", type: "int24" },
4560
+ { name: "observationIndex", internalType: "uint16", type: "uint16" },
4561
+ {
4562
+ name: "observationCardinality",
4563
+ internalType: "uint16",
4564
+ type: "uint16"
4565
+ },
4566
+ {
4567
+ name: "observationCardinalityNext",
4568
+ internalType: "uint16",
4569
+ type: "uint16"
4570
+ },
4571
+ { name: "feeProtocol", internalType: "uint8", type: "uint8" },
4572
+ { name: "unlocked", internalType: "bool", type: "bool" }
4573
+ ]
4574
+ }
4575
+ ],
4576
+ stateMutability: "view"
4577
+ },
4578
+ {
4579
+ type: "function",
4580
+ inputs: [
4581
+ { name: "recipient", internalType: "address", type: "address" },
4582
+ { name: "zeroForOne", internalType: "bool", type: "bool" },
4583
+ { name: "amountSpecified", internalType: "int256", type: "int256" },
4584
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
4585
+ { name: "data", internalType: "bytes", type: "bytes" }
4586
+ ],
4587
+ name: "swap",
4588
+ outputs: [
4589
+ { name: "amount0", internalType: "int256", type: "int256" },
4590
+ { name: "amount1", internalType: "int256", type: "int256" }
4591
+ ],
4592
+ stateMutability: "nonpayable"
4593
+ },
4594
+ {
4595
+ type: "function",
4596
+ inputs: [],
4597
+ name: "token0",
4598
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4599
+ stateMutability: "view"
4600
+ },
4601
+ {
4602
+ type: "function",
4603
+ inputs: [],
4604
+ name: "token1",
4605
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4606
+ stateMutability: "view"
4607
+ }
4608
+ ];
3707
4609
  var iUnwrapAndForwardActionABI = [
3708
4610
  {
3709
4611
  type: "function",
@@ -4225,7 +5127,7 @@ var secondarySwapABI = [
4225
5127
  indexed: true
4226
5128
  },
4227
5129
  {
4228
- name: "amountEthSold",
5130
+ name: "amountETHSold",
4229
5131
  internalType: "uint256",
4230
5132
  type: "uint256",
4231
5133
  indexed: false
@@ -4305,7 +5207,7 @@ var secondarySwapABI = [
4305
5207
  indexed: true
4306
5208
  },
4307
5209
  {
4308
- name: "amountEthPurchased",
5210
+ name: "amountETHPurchased",
4309
5211
  internalType: "uint256",
4310
5212
  type: "uint256",
4311
5213
  indexed: false
@@ -4804,6 +5706,92 @@ var sponsoredSparksSpenderConfig = {
4804
5706
  address: sponsoredSparksSpenderAddress,
4805
5707
  abi: sponsoredSparksSpenderABI
4806
5708
  };
5709
+ var uniswapV3SwapRouterABI = [
5710
+ {
5711
+ type: "function",
5712
+ inputs: [
5713
+ {
5714
+ name: "params",
5715
+ internalType: "struct ISwapRouter.ExactInputSingleParams",
5716
+ type: "tuple",
5717
+ components: [
5718
+ { name: "tokenIn", internalType: "address", type: "address" },
5719
+ { name: "tokenOut", internalType: "address", type: "address" },
5720
+ { name: "fee", internalType: "uint24", type: "uint24" },
5721
+ { name: "recipient", internalType: "address", type: "address" },
5722
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
5723
+ {
5724
+ name: "amountOutMinimum",
5725
+ internalType: "uint256",
5726
+ type: "uint256"
5727
+ },
5728
+ {
5729
+ name: "sqrtPriceLimitX96",
5730
+ internalType: "uint160",
5731
+ type: "uint160"
5732
+ }
5733
+ ]
5734
+ }
5735
+ ],
5736
+ name: "exactInputSingle",
5737
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
5738
+ stateMutability: "payable"
5739
+ },
5740
+ {
5741
+ type: "function",
5742
+ inputs: [
5743
+ {
5744
+ name: "params",
5745
+ internalType: "struct ISwapRouter.ExactOutputSingleParams",
5746
+ type: "tuple",
5747
+ components: [
5748
+ { name: "tokenIn", internalType: "address", type: "address" },
5749
+ { name: "tokenOut", internalType: "address", type: "address" },
5750
+ { name: "fee", internalType: "uint24", type: "uint24" },
5751
+ { name: "recipient", internalType: "address", type: "address" },
5752
+ { name: "amountOut", internalType: "uint256", type: "uint256" },
5753
+ { name: "amountInMaximum", internalType: "uint256", type: "uint256" },
5754
+ {
5755
+ name: "sqrtPriceLimitX96",
5756
+ internalType: "uint160",
5757
+ type: "uint160"
5758
+ }
5759
+ ]
5760
+ }
5761
+ ],
5762
+ name: "exactOutputSingle",
5763
+ outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
5764
+ stateMutability: "payable"
5765
+ },
5766
+ {
5767
+ type: "function",
5768
+ inputs: [
5769
+ { name: "amount0Delta", internalType: "int256", type: "int256" },
5770
+ { name: "amount1Delta", internalType: "int256", type: "int256" },
5771
+ { name: "data", internalType: "bytes", type: "bytes" }
5772
+ ],
5773
+ name: "uniswapV3SwapCallback",
5774
+ outputs: [],
5775
+ stateMutability: "nonpayable"
5776
+ }
5777
+ ];
5778
+ var uniswapV3SwapRouterAddress = {
5779
+ 1: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
5780
+ 10: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
5781
+ 8453: "0x2626664c2603336E57B271c5C0b26F421741e481",
5782
+ 42161: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
5783
+ 81457: "0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66",
5784
+ 84532: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
5785
+ 421614: "0x101F443B4d1b059569D643917553c771E1b9663E",
5786
+ 7777777: "0x7De04c96BE5159c3b5CeffC82aa176dc81281557",
5787
+ 11155111: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
5788
+ 11155420: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
5789
+ 999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a"
5790
+ };
5791
+ var uniswapV3SwapRouterConfig = {
5792
+ address: uniswapV3SwapRouterAddress,
5793
+ abi: uniswapV3SwapRouterABI
5794
+ };
4807
5795
  var upgradeGateABI = [
4808
5796
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
4809
5797
  {
@@ -11709,6 +12697,8 @@ var zoraSparks1155ABI = [
11709
12697
  { type: "error", inputs: [], name: "TokenNotMintable" }
11710
12698
  ];
11711
12699
  var zoraSparks1155Address = {
12700
+ 8453: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
12701
+ 84532: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
11712
12702
  7777777: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
11713
12703
  999999999: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D"
11714
12704
  };
@@ -12098,6 +13088,8 @@ var zoraSparksManagerImplABI = [
12098
13088
  }
12099
13089
  ];
12100
13090
  var zoraSparksManagerImplAddress = {
13091
+ 8453: "0x77777779acd6a96C0c57272112921A0b833c38fD",
13092
+ 84532: "0x77777779acd6a96C0c57272112921A0b833c38fD",
12101
13093
  7777777: "0x77777779acd6a96C0c57272112921A0b833c38fD",
12102
13094
  999999999: "0x77777779acd6a96C0c57272112921A0b833c38fD"
12103
13095
  };
@@ -13783,9 +14775,13 @@ var addresses2 = {
13783
14775
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
13784
14776
  },
13785
14777
  8453: {
14778
+ MINTS_1155: "0x0000000000000000000000000000000000000000",
13786
14779
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
13787
- SPARKS_MANAGER_IMPL: "0x0000000000000000000000000000000000000000",
13788
- SPARKS_MANAGER_IMPL_VERSION: "",
14780
+ MINTS_MANAGER: "0x0000000000000000000000000000000000000000",
14781
+ SPARKS_1155: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
14782
+ SPARKS_MANAGER: "0x77777779acd6a96C0c57272112921A0b833c38fD",
14783
+ SPARKS_MANAGER_IMPL: "0x122648369E390009F18c1B2b9B100AfB09B982fc",
14784
+ SPARKS_MANAGER_IMPL_VERSION: "0.2.4",
13789
14785
  SPONSORED_SPARKS_SPENDER: "0x6958A8866A40118e2CC21ab4752353835321b5e6",
13790
14786
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
13791
14787
  },
@@ -13804,9 +14800,13 @@ var addresses2 = {
13804
14800
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
13805
14801
  },
13806
14802
  84532: {
14803
+ MINTS_1155: "0x0000000000000000000000000000000000000000",
13807
14804
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
13808
- SPARKS_MANAGER_IMPL: "0x0000000000000000000000000000000000000000",
13809
- SPARKS_MANAGER_IMPL_VERSION: "",
14805
+ MINTS_MANAGER: "0x0000000000000000000000000000000000000000",
14806
+ SPARKS_1155: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
14807
+ SPARKS_MANAGER: "0x77777779acd6a96C0c57272112921A0b833c38fD",
14808
+ SPARKS_MANAGER_IMPL: "0x122648369E390009F18c1B2b9B100AfB09B982fc",
14809
+ SPARKS_MANAGER_IMPL_VERSION: "0.2.4",
13810
14810
  SPONSORED_SPARKS_SPENDER: "0x23150f60E233F519A01C735C29c1591f9E8353dE",
13811
14811
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
13812
14812
  },
@@ -13838,6 +14838,10 @@ export {
13838
14838
  callerAndCommenterABI,
13839
14839
  callerAndCommenterAddress,
13840
14840
  callerAndCommenterConfig,
14841
+ cointagABI,
14842
+ cointagFactoryABI,
14843
+ cointagFactoryAddress,
14844
+ cointagFactoryConfig,
13841
14845
  commentsABI,
13842
14846
  commentsAddress,
13843
14847
  commentsConfig,
@@ -13853,6 +14857,7 @@ export {
13853
14857
  erc20ZRoyaltiesConfig,
13854
14858
  iPremintDefinitionsABI,
13855
14859
  iSponsoredSparksSpenderActionABI,
14860
+ iUniswapV3PoolABI,
13856
14861
  iUnwrapAndForwardActionABI,
13857
14862
  mintsEthUnwrapperAndCallerABI,
13858
14863
  mintsEthUnwrapperAndCallerAddress,
@@ -13880,6 +14885,9 @@ export {
13880
14885
  sponsoredSparksSpenderABI,
13881
14886
  sponsoredSparksSpenderAddress,
13882
14887
  sponsoredSparksSpenderConfig,
14888
+ uniswapV3SwapRouterABI,
14889
+ uniswapV3SwapRouterAddress,
14890
+ uniswapV3SwapRouterConfig,
13883
14891
  upgradeGateABI,
13884
14892
  upgradeGateAddress,
13885
14893
  upgradeGateConfig,