@zoralabs/protocol-deployments 0.4.0-DEV.0 → 0.4.1

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
@@ -5,8 +5,7 @@ import {
5
5
  getAbiItem,
6
6
  keccak256,
7
7
  toHex
8
- } from "./chunk-MCOK75CU.js";
9
- import "./chunk-FJ2PMLO3.js";
8
+ } from "./chunk-ETO2D44V.js";
10
9
  import {
11
10
  __export
12
11
  } from "./chunk-3EJPJMEH.js";
@@ -1042,12 +1041,970 @@ var callerAndCommenterConfig = {
1042
1041
  address: callerAndCommenterAddress,
1043
1042
  abi: callerAndCommenterABI
1044
1043
  };
1044
+ var coinABI = [
1045
+ {
1046
+ type: "constructor",
1047
+ inputs: [
1048
+ {
1049
+ name: "_protocolRewardRecipient",
1050
+ internalType: "address",
1051
+ type: "address"
1052
+ },
1053
+ { name: "_protocolRewards", internalType: "address", type: "address" },
1054
+ { name: "_weth", internalType: "address", type: "address" },
1055
+ {
1056
+ name: "_nonfungiblePositionManager",
1057
+ internalType: "address",
1058
+ type: "address"
1059
+ },
1060
+ { name: "_swapRouter", internalType: "address", type: "address" }
1061
+ ],
1062
+ stateMutability: "nonpayable"
1063
+ },
1064
+ { type: "receive", stateMutability: "payable" },
1065
+ {
1066
+ type: "function",
1067
+ inputs: [],
1068
+ name: "DOMAIN_SEPARATOR",
1069
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1070
+ stateMutability: "view"
1071
+ },
1072
+ {
1073
+ type: "function",
1074
+ inputs: [],
1075
+ name: "MAX_TOTAL_SUPPLY",
1076
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1077
+ stateMutability: "view"
1078
+ },
1079
+ {
1080
+ type: "function",
1081
+ inputs: [],
1082
+ name: "MIN_ORDER_SIZE",
1083
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1084
+ stateMutability: "view"
1085
+ },
1086
+ {
1087
+ type: "function",
1088
+ inputs: [],
1089
+ name: "PLATFORM_REFERRER_FEE_BPS",
1090
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1091
+ stateMutability: "view"
1092
+ },
1093
+ {
1094
+ type: "function",
1095
+ inputs: [],
1096
+ name: "PROTOCOL_FEE_BPS",
1097
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1098
+ stateMutability: "view"
1099
+ },
1100
+ {
1101
+ type: "function",
1102
+ inputs: [],
1103
+ name: "TOKEN_CREATOR_FEE_BPS",
1104
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1105
+ stateMutability: "view"
1106
+ },
1107
+ {
1108
+ type: "function",
1109
+ inputs: [],
1110
+ name: "TOTAL_FEE_BPS",
1111
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1112
+ stateMutability: "view"
1113
+ },
1114
+ {
1115
+ type: "function",
1116
+ inputs: [],
1117
+ name: "TRADE_REFERRER_FEE_BPS",
1118
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1119
+ stateMutability: "view"
1120
+ },
1121
+ {
1122
+ type: "function",
1123
+ inputs: [],
1124
+ name: "WETH",
1125
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1126
+ stateMutability: "view"
1127
+ },
1128
+ {
1129
+ type: "function",
1130
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1131
+ name: "addOwner",
1132
+ outputs: [],
1133
+ stateMutability: "nonpayable"
1134
+ },
1135
+ {
1136
+ type: "function",
1137
+ inputs: [
1138
+ { name: "accounts", internalType: "address[]", type: "address[]" }
1139
+ ],
1140
+ name: "addOwners",
1141
+ outputs: [],
1142
+ stateMutability: "nonpayable"
1143
+ },
1144
+ {
1145
+ type: "function",
1146
+ inputs: [
1147
+ { name: "owner", internalType: "address", type: "address" },
1148
+ { name: "spender", internalType: "address", type: "address" }
1149
+ ],
1150
+ name: "allowance",
1151
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1152
+ stateMutability: "view"
1153
+ },
1154
+ {
1155
+ type: "function",
1156
+ inputs: [
1157
+ { name: "spender", internalType: "address", type: "address" },
1158
+ { name: "value", internalType: "uint256", type: "uint256" }
1159
+ ],
1160
+ name: "approve",
1161
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1162
+ stateMutability: "nonpayable"
1163
+ },
1164
+ {
1165
+ type: "function",
1166
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1167
+ name: "balanceOf",
1168
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1169
+ stateMutability: "view"
1170
+ },
1171
+ {
1172
+ type: "function",
1173
+ inputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
1174
+ name: "burn",
1175
+ outputs: [],
1176
+ stateMutability: "nonpayable"
1177
+ },
1178
+ {
1179
+ type: "function",
1180
+ inputs: [
1181
+ { name: "recipient", internalType: "address", type: "address" },
1182
+ { name: "orderSize", internalType: "uint256", type: "uint256" },
1183
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" },
1184
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
1185
+ { name: "tradeReferrer", internalType: "address", type: "address" }
1186
+ ],
1187
+ name: "buy",
1188
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1189
+ stateMutability: "payable"
1190
+ },
1191
+ {
1192
+ type: "function",
1193
+ inputs: [{ name: "pushEthRewards", internalType: "bool", type: "bool" }],
1194
+ name: "claimSecondaryRewards",
1195
+ outputs: [],
1196
+ stateMutability: "nonpayable"
1197
+ },
1198
+ {
1199
+ type: "function",
1200
+ inputs: [],
1201
+ name: "contractURI",
1202
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1203
+ stateMutability: "view"
1204
+ },
1205
+ {
1206
+ type: "function",
1207
+ inputs: [],
1208
+ name: "contractVersion",
1209
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1210
+ stateMutability: "pure"
1211
+ },
1212
+ {
1213
+ type: "function",
1214
+ inputs: [],
1215
+ name: "currency",
1216
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1217
+ stateMutability: "view"
1218
+ },
1219
+ {
1220
+ type: "function",
1221
+ inputs: [],
1222
+ name: "decimals",
1223
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
1224
+ stateMutability: "view"
1225
+ },
1226
+ {
1227
+ type: "function",
1228
+ inputs: [],
1229
+ name: "eip712Domain",
1230
+ outputs: [
1231
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
1232
+ { name: "name", internalType: "string", type: "string" },
1233
+ { name: "version", internalType: "string", type: "string" },
1234
+ { name: "chainId", internalType: "uint256", type: "uint256" },
1235
+ { name: "verifyingContract", internalType: "address", type: "address" },
1236
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
1237
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
1238
+ ],
1239
+ stateMutability: "view"
1240
+ },
1241
+ {
1242
+ type: "function",
1243
+ inputs: [
1244
+ { name: "payoutRecipient_", internalType: "address", type: "address" },
1245
+ { name: "owners_", internalType: "address[]", type: "address[]" },
1246
+ { name: "tokenURI_", internalType: "string", type: "string" },
1247
+ { name: "name_", internalType: "string", type: "string" },
1248
+ { name: "symbol_", internalType: "string", type: "string" },
1249
+ { name: "platformReferrer_", internalType: "address", type: "address" },
1250
+ { name: "currency_", internalType: "address", type: "address" },
1251
+ { name: "tickLower_", internalType: "int24", type: "int24" }
1252
+ ],
1253
+ name: "initialize",
1254
+ outputs: [],
1255
+ stateMutability: "nonpayable"
1256
+ },
1257
+ {
1258
+ type: "function",
1259
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1260
+ name: "isOwner",
1261
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1262
+ stateMutability: "view"
1263
+ },
1264
+ {
1265
+ type: "function",
1266
+ inputs: [],
1267
+ name: "lpTokenId",
1268
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1269
+ stateMutability: "view"
1270
+ },
1271
+ {
1272
+ type: "function",
1273
+ inputs: [],
1274
+ name: "name",
1275
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1276
+ stateMutability: "view"
1277
+ },
1278
+ {
1279
+ type: "function",
1280
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
1281
+ name: "nonces",
1282
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1283
+ stateMutability: "view"
1284
+ },
1285
+ {
1286
+ type: "function",
1287
+ inputs: [],
1288
+ name: "nonfungiblePositionManager",
1289
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1290
+ stateMutability: "view"
1291
+ },
1292
+ {
1293
+ type: "function",
1294
+ inputs: [
1295
+ { name: "", internalType: "address", type: "address" },
1296
+ { name: "", internalType: "address", type: "address" },
1297
+ { name: "", internalType: "uint256", type: "uint256" },
1298
+ { name: "", internalType: "bytes", type: "bytes" }
1299
+ ],
1300
+ name: "onERC721Received",
1301
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
1302
+ stateMutability: "view"
1303
+ },
1304
+ {
1305
+ type: "function",
1306
+ inputs: [],
1307
+ name: "owners",
1308
+ outputs: [{ name: "", internalType: "address[]", type: "address[]" }],
1309
+ stateMutability: "view"
1310
+ },
1311
+ {
1312
+ type: "function",
1313
+ inputs: [],
1314
+ name: "payoutRecipient",
1315
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1316
+ stateMutability: "view"
1317
+ },
1318
+ {
1319
+ type: "function",
1320
+ inputs: [
1321
+ { name: "owner", internalType: "address", type: "address" },
1322
+ { name: "spender", internalType: "address", type: "address" },
1323
+ { name: "value", internalType: "uint256", type: "uint256" },
1324
+ { name: "deadline", internalType: "uint256", type: "uint256" },
1325
+ { name: "v", internalType: "uint8", type: "uint8" },
1326
+ { name: "r", internalType: "bytes32", type: "bytes32" },
1327
+ { name: "s", internalType: "bytes32", type: "bytes32" }
1328
+ ],
1329
+ name: "permit",
1330
+ outputs: [],
1331
+ stateMutability: "nonpayable"
1332
+ },
1333
+ {
1334
+ type: "function",
1335
+ inputs: [],
1336
+ name: "platformReferrer",
1337
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1338
+ stateMutability: "view"
1339
+ },
1340
+ {
1341
+ type: "function",
1342
+ inputs: [],
1343
+ name: "poolAddress",
1344
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1345
+ stateMutability: "view"
1346
+ },
1347
+ {
1348
+ type: "function",
1349
+ inputs: [],
1350
+ name: "protocolRewardRecipient",
1351
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1352
+ stateMutability: "view"
1353
+ },
1354
+ {
1355
+ type: "function",
1356
+ inputs: [],
1357
+ name: "protocolRewards",
1358
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1359
+ stateMutability: "view"
1360
+ },
1361
+ {
1362
+ type: "function",
1363
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1364
+ name: "removeOwner",
1365
+ outputs: [],
1366
+ stateMutability: "nonpayable"
1367
+ },
1368
+ {
1369
+ type: "function",
1370
+ inputs: [
1371
+ { name: "accounts", internalType: "address[]", type: "address[]" }
1372
+ ],
1373
+ name: "removeOwners",
1374
+ outputs: [],
1375
+ stateMutability: "nonpayable"
1376
+ },
1377
+ {
1378
+ type: "function",
1379
+ inputs: [],
1380
+ name: "revokeOwnership",
1381
+ outputs: [],
1382
+ stateMutability: "nonpayable"
1383
+ },
1384
+ {
1385
+ type: "function",
1386
+ inputs: [
1387
+ { name: "recipient", internalType: "address", type: "address" },
1388
+ { name: "orderSize", internalType: "uint256", type: "uint256" },
1389
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" },
1390
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
1391
+ { name: "tradeReferrer", internalType: "address", type: "address" }
1392
+ ],
1393
+ name: "sell",
1394
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1395
+ stateMutability: "nonpayable"
1396
+ },
1397
+ {
1398
+ type: "function",
1399
+ inputs: [{ name: "newURI", internalType: "string", type: "string" }],
1400
+ name: "setContractURI",
1401
+ outputs: [],
1402
+ stateMutability: "nonpayable"
1403
+ },
1404
+ {
1405
+ type: "function",
1406
+ inputs: [
1407
+ { name: "newPayoutRecipient", internalType: "address", type: "address" }
1408
+ ],
1409
+ name: "setPayoutRecipient",
1410
+ outputs: [],
1411
+ stateMutability: "nonpayable"
1412
+ },
1413
+ {
1414
+ type: "function",
1415
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1416
+ name: "supportsInterface",
1417
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1418
+ stateMutability: "pure"
1419
+ },
1420
+ {
1421
+ type: "function",
1422
+ inputs: [],
1423
+ name: "swapRouter",
1424
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1425
+ stateMutability: "view"
1426
+ },
1427
+ {
1428
+ type: "function",
1429
+ inputs: [],
1430
+ name: "symbol",
1431
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1432
+ stateMutability: "view"
1433
+ },
1434
+ {
1435
+ type: "function",
1436
+ inputs: [],
1437
+ name: "tokenURI",
1438
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1439
+ stateMutability: "view"
1440
+ },
1441
+ {
1442
+ type: "function",
1443
+ inputs: [],
1444
+ name: "totalSupply",
1445
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1446
+ stateMutability: "view"
1447
+ },
1448
+ {
1449
+ type: "function",
1450
+ inputs: [
1451
+ { name: "to", internalType: "address", type: "address" },
1452
+ { name: "value", internalType: "uint256", type: "uint256" }
1453
+ ],
1454
+ name: "transfer",
1455
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1456
+ stateMutability: "nonpayable"
1457
+ },
1458
+ {
1459
+ type: "function",
1460
+ inputs: [
1461
+ { name: "from", internalType: "address", type: "address" },
1462
+ { name: "to", internalType: "address", type: "address" },
1463
+ { name: "value", internalType: "uint256", type: "uint256" }
1464
+ ],
1465
+ name: "transferFrom",
1466
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1467
+ stateMutability: "nonpayable"
1468
+ },
1469
+ {
1470
+ type: "function",
1471
+ inputs: [
1472
+ { name: "amount0Delta", internalType: "int256", type: "int256" },
1473
+ { name: "amount1Delta", internalType: "int256", type: "int256" },
1474
+ { name: "", internalType: "bytes", type: "bytes" }
1475
+ ],
1476
+ name: "uniswapV3SwapCallback",
1477
+ outputs: [],
1478
+ stateMutability: "nonpayable"
1479
+ },
1480
+ {
1481
+ type: "event",
1482
+ anonymous: false,
1483
+ inputs: [
1484
+ {
1485
+ name: "owner",
1486
+ internalType: "address",
1487
+ type: "address",
1488
+ indexed: true
1489
+ },
1490
+ {
1491
+ name: "spender",
1492
+ internalType: "address",
1493
+ type: "address",
1494
+ indexed: true
1495
+ },
1496
+ {
1497
+ name: "value",
1498
+ internalType: "uint256",
1499
+ type: "uint256",
1500
+ indexed: false
1501
+ }
1502
+ ],
1503
+ name: "Approval"
1504
+ },
1505
+ {
1506
+ type: "event",
1507
+ anonymous: false,
1508
+ inputs: [
1509
+ {
1510
+ name: "buyer",
1511
+ internalType: "address",
1512
+ type: "address",
1513
+ indexed: true
1514
+ },
1515
+ {
1516
+ name: "recipient",
1517
+ internalType: "address",
1518
+ type: "address",
1519
+ indexed: true
1520
+ },
1521
+ {
1522
+ name: "tradeReferrer",
1523
+ internalType: "address",
1524
+ type: "address",
1525
+ indexed: true
1526
+ },
1527
+ {
1528
+ name: "coinsPurchased",
1529
+ internalType: "uint256",
1530
+ type: "uint256",
1531
+ indexed: false
1532
+ },
1533
+ {
1534
+ name: "currency",
1535
+ internalType: "address",
1536
+ type: "address",
1537
+ indexed: false
1538
+ },
1539
+ {
1540
+ name: "amountFee",
1541
+ internalType: "uint256",
1542
+ type: "uint256",
1543
+ indexed: false
1544
+ },
1545
+ {
1546
+ name: "amountSold",
1547
+ internalType: "uint256",
1548
+ type: "uint256",
1549
+ indexed: false
1550
+ },
1551
+ {
1552
+ name: "comment",
1553
+ internalType: "string",
1554
+ type: "string",
1555
+ indexed: false
1556
+ }
1557
+ ],
1558
+ name: "CoinBuy"
1559
+ },
1560
+ {
1561
+ type: "event",
1562
+ anonymous: false,
1563
+ inputs: [
1564
+ {
1565
+ name: "creatorPayoutAddress",
1566
+ internalType: "address",
1567
+ type: "address",
1568
+ indexed: true
1569
+ },
1570
+ {
1571
+ name: "platformReferrer",
1572
+ internalType: "address",
1573
+ type: "address",
1574
+ indexed: true
1575
+ },
1576
+ {
1577
+ name: "protocolRewardRecipient",
1578
+ internalType: "address",
1579
+ type: "address",
1580
+ indexed: false
1581
+ },
1582
+ {
1583
+ name: "currency",
1584
+ internalType: "address",
1585
+ type: "address",
1586
+ indexed: false
1587
+ },
1588
+ {
1589
+ name: "marketRewards",
1590
+ internalType: "struct ICoin.MarketRewards",
1591
+ type: "tuple",
1592
+ components: [
1593
+ {
1594
+ name: "totalAmountCurrency",
1595
+ internalType: "uint256",
1596
+ type: "uint256"
1597
+ },
1598
+ { name: "totalAmountCoin", internalType: "uint256", type: "uint256" },
1599
+ {
1600
+ name: "creatorPayoutAmountCurrency",
1601
+ internalType: "uint256",
1602
+ type: "uint256"
1603
+ },
1604
+ {
1605
+ name: "creatorPayoutAmountCoin",
1606
+ internalType: "uint256",
1607
+ type: "uint256"
1608
+ },
1609
+ {
1610
+ name: "platformReferrerAmountCurrency",
1611
+ internalType: "uint256",
1612
+ type: "uint256"
1613
+ },
1614
+ {
1615
+ name: "platformReferrerAmountCoin",
1616
+ internalType: "uint256",
1617
+ type: "uint256"
1618
+ },
1619
+ {
1620
+ name: "protocolAmountCurrency",
1621
+ internalType: "uint256",
1622
+ type: "uint256"
1623
+ },
1624
+ {
1625
+ name: "protocolAmountCoin",
1626
+ internalType: "uint256",
1627
+ type: "uint256"
1628
+ }
1629
+ ],
1630
+ indexed: false
1631
+ }
1632
+ ],
1633
+ name: "CoinMarketRewards"
1634
+ },
1635
+ {
1636
+ type: "event",
1637
+ anonymous: false,
1638
+ inputs: [
1639
+ {
1640
+ name: "caller",
1641
+ internalType: "address",
1642
+ type: "address",
1643
+ indexed: true
1644
+ },
1645
+ {
1646
+ name: "prevRecipient",
1647
+ internalType: "address",
1648
+ type: "address",
1649
+ indexed: true
1650
+ },
1651
+ {
1652
+ name: "newRecipient",
1653
+ internalType: "address",
1654
+ type: "address",
1655
+ indexed: true
1656
+ }
1657
+ ],
1658
+ name: "CoinPayoutRecipientUpdated"
1659
+ },
1660
+ {
1661
+ type: "event",
1662
+ anonymous: false,
1663
+ inputs: [
1664
+ {
1665
+ name: "seller",
1666
+ internalType: "address",
1667
+ type: "address",
1668
+ indexed: true
1669
+ },
1670
+ {
1671
+ name: "recipient",
1672
+ internalType: "address",
1673
+ type: "address",
1674
+ indexed: true
1675
+ },
1676
+ {
1677
+ name: "tradeReferrer",
1678
+ internalType: "address",
1679
+ type: "address",
1680
+ indexed: true
1681
+ },
1682
+ {
1683
+ name: "coinsSold",
1684
+ internalType: "uint256",
1685
+ type: "uint256",
1686
+ indexed: false
1687
+ },
1688
+ {
1689
+ name: "currency",
1690
+ internalType: "address",
1691
+ type: "address",
1692
+ indexed: false
1693
+ },
1694
+ {
1695
+ name: "amountFee",
1696
+ internalType: "uint256",
1697
+ type: "uint256",
1698
+ indexed: false
1699
+ },
1700
+ {
1701
+ name: "amountPurchased",
1702
+ internalType: "uint256",
1703
+ type: "uint256",
1704
+ indexed: false
1705
+ },
1706
+ {
1707
+ name: "comment",
1708
+ internalType: "string",
1709
+ type: "string",
1710
+ indexed: false
1711
+ }
1712
+ ],
1713
+ name: "CoinSell"
1714
+ },
1715
+ {
1716
+ type: "event",
1717
+ anonymous: false,
1718
+ inputs: [
1719
+ {
1720
+ name: "creatorPayoutRecipient",
1721
+ internalType: "address",
1722
+ type: "address",
1723
+ indexed: true
1724
+ },
1725
+ {
1726
+ name: "platformReferrer",
1727
+ internalType: "address",
1728
+ type: "address",
1729
+ indexed: true
1730
+ },
1731
+ {
1732
+ name: "tradeReferrer",
1733
+ internalType: "address",
1734
+ type: "address",
1735
+ indexed: true
1736
+ },
1737
+ {
1738
+ name: "protocolRewardRecipient",
1739
+ internalType: "address",
1740
+ type: "address",
1741
+ indexed: false
1742
+ },
1743
+ {
1744
+ name: "creatorReward",
1745
+ internalType: "uint256",
1746
+ type: "uint256",
1747
+ indexed: false
1748
+ },
1749
+ {
1750
+ name: "platformReferrerReward",
1751
+ internalType: "uint256",
1752
+ type: "uint256",
1753
+ indexed: false
1754
+ },
1755
+ {
1756
+ name: "traderReferrerReward",
1757
+ internalType: "uint256",
1758
+ type: "uint256",
1759
+ indexed: false
1760
+ },
1761
+ {
1762
+ name: "protocolReward",
1763
+ internalType: "uint256",
1764
+ type: "uint256",
1765
+ indexed: false
1766
+ },
1767
+ {
1768
+ name: "currency",
1769
+ internalType: "address",
1770
+ type: "address",
1771
+ indexed: false
1772
+ }
1773
+ ],
1774
+ name: "CoinTradeRewards"
1775
+ },
1776
+ {
1777
+ type: "event",
1778
+ anonymous: false,
1779
+ inputs: [
1780
+ {
1781
+ name: "sender",
1782
+ internalType: "address",
1783
+ type: "address",
1784
+ indexed: true
1785
+ },
1786
+ {
1787
+ name: "recipient",
1788
+ internalType: "address",
1789
+ type: "address",
1790
+ indexed: true
1791
+ },
1792
+ {
1793
+ name: "amount",
1794
+ internalType: "uint256",
1795
+ type: "uint256",
1796
+ indexed: false
1797
+ },
1798
+ {
1799
+ name: "senderBalance",
1800
+ internalType: "uint256",
1801
+ type: "uint256",
1802
+ indexed: false
1803
+ },
1804
+ {
1805
+ name: "recipientBalance",
1806
+ internalType: "uint256",
1807
+ type: "uint256",
1808
+ indexed: false
1809
+ }
1810
+ ],
1811
+ name: "CoinTransfer"
1812
+ },
1813
+ {
1814
+ type: "event",
1815
+ anonymous: false,
1816
+ inputs: [
1817
+ {
1818
+ name: "caller",
1819
+ internalType: "address",
1820
+ type: "address",
1821
+ indexed: true
1822
+ },
1823
+ {
1824
+ name: "newURI",
1825
+ internalType: "string",
1826
+ type: "string",
1827
+ indexed: false
1828
+ },
1829
+ { name: "name", internalType: "string", type: "string", indexed: false }
1830
+ ],
1831
+ name: "ContractMetadataUpdated"
1832
+ },
1833
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
1834
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
1835
+ {
1836
+ type: "event",
1837
+ anonymous: false,
1838
+ inputs: [
1839
+ {
1840
+ name: "version",
1841
+ internalType: "uint64",
1842
+ type: "uint64",
1843
+ indexed: false
1844
+ }
1845
+ ],
1846
+ name: "Initialized"
1847
+ },
1848
+ {
1849
+ type: "event",
1850
+ anonymous: false,
1851
+ inputs: [
1852
+ {
1853
+ name: "caller",
1854
+ internalType: "address",
1855
+ type: "address",
1856
+ indexed: true
1857
+ },
1858
+ {
1859
+ name: "prevOwner",
1860
+ internalType: "address",
1861
+ type: "address",
1862
+ indexed: true
1863
+ },
1864
+ {
1865
+ name: "newOwner",
1866
+ internalType: "address",
1867
+ type: "address",
1868
+ indexed: true
1869
+ }
1870
+ ],
1871
+ name: "OwnerUpdated"
1872
+ },
1873
+ {
1874
+ type: "event",
1875
+ anonymous: false,
1876
+ inputs: [
1877
+ { name: "from", internalType: "address", type: "address", indexed: true },
1878
+ { name: "to", internalType: "address", type: "address", indexed: true },
1879
+ {
1880
+ name: "value",
1881
+ internalType: "uint256",
1882
+ type: "uint256",
1883
+ indexed: false
1884
+ }
1885
+ ],
1886
+ name: "Transfer"
1887
+ },
1888
+ {
1889
+ type: "error",
1890
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
1891
+ name: "AddressEmptyCode"
1892
+ },
1893
+ {
1894
+ type: "error",
1895
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1896
+ name: "AddressInsufficientBalance"
1897
+ },
1898
+ { type: "error", inputs: [], name: "AddressZero" },
1899
+ { type: "error", inputs: [], name: "AlreadyOwner" },
1900
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
1901
+ {
1902
+ type: "error",
1903
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
1904
+ name: "ECDSAInvalidSignatureLength"
1905
+ },
1906
+ {
1907
+ type: "error",
1908
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
1909
+ name: "ECDSAInvalidSignatureS"
1910
+ },
1911
+ {
1912
+ type: "error",
1913
+ inputs: [
1914
+ { name: "spender", internalType: "address", type: "address" },
1915
+ { name: "allowance", internalType: "uint256", type: "uint256" },
1916
+ { name: "needed", internalType: "uint256", type: "uint256" }
1917
+ ],
1918
+ name: "ERC20InsufficientAllowance"
1919
+ },
1920
+ {
1921
+ type: "error",
1922
+ inputs: [
1923
+ { name: "sender", internalType: "address", type: "address" },
1924
+ { name: "balance", internalType: "uint256", type: "uint256" },
1925
+ { name: "needed", internalType: "uint256", type: "uint256" }
1926
+ ],
1927
+ name: "ERC20InsufficientBalance"
1928
+ },
1929
+ {
1930
+ type: "error",
1931
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
1932
+ name: "ERC20InvalidApprover"
1933
+ },
1934
+ {
1935
+ type: "error",
1936
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
1937
+ name: "ERC20InvalidReceiver"
1938
+ },
1939
+ {
1940
+ type: "error",
1941
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
1942
+ name: "ERC20InvalidSender"
1943
+ },
1944
+ {
1945
+ type: "error",
1946
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
1947
+ name: "ERC20InvalidSpender"
1948
+ },
1949
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
1950
+ {
1951
+ type: "error",
1952
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
1953
+ name: "ERC2612ExpiredSignature"
1954
+ },
1955
+ {
1956
+ type: "error",
1957
+ inputs: [
1958
+ { name: "signer", internalType: "address", type: "address" },
1959
+ { name: "owner", internalType: "address", type: "address" }
1960
+ ],
1961
+ name: "ERC2612InvalidSigner"
1962
+ },
1963
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
1964
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
1965
+ { type: "error", inputs: [], name: "EthTransferFailed" },
1966
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
1967
+ { type: "error", inputs: [], name: "FailedInnerCall" },
1968
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
1969
+ { type: "error", inputs: [], name: "InsufficientFunds" },
1970
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
1971
+ {
1972
+ type: "error",
1973
+ inputs: [
1974
+ { name: "account", internalType: "address", type: "address" },
1975
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
1976
+ ],
1977
+ name: "InvalidAccountNonce"
1978
+ },
1979
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
1980
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1981
+ { type: "error", inputs: [], name: "InvalidMarketType" },
1982
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
1983
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
1984
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
1985
+ { type: "error", inputs: [], name: "NotInitializing" },
1986
+ { type: "error", inputs: [], name: "NotOwner" },
1987
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
1988
+ { type: "error", inputs: [], name: "OnlyOwner" },
1989
+ { type: "error", inputs: [], name: "OnlyPool" },
1990
+ { type: "error", inputs: [], name: "OnlyWeth" },
1991
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
1992
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
1993
+ {
1994
+ type: "error",
1995
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
1996
+ name: "SafeERC20FailedOperation"
1997
+ },
1998
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
1999
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
2000
+ ];
1045
2001
  var cointagABI = [
1046
2002
  {
1047
2003
  type: "constructor",
1048
2004
  inputs: [
1049
- { name: "_protocolRewards", internalType: "address", type: "address" },
1050
- { name: "_weth", internalType: "address", type: "address" }
2005
+ { name: "protocolRewards_", internalType: "address", type: "address" },
2006
+ { name: "weth_", internalType: "address", type: "address" },
2007
+ { name: "upgradeGate_", internalType: "address", type: "address" }
1051
2008
  ],
1052
2009
  stateMutability: "nonpayable"
1053
2010
  },
@@ -1062,42 +2019,66 @@ var cointagABI = [
1062
2019
  {
1063
2020
  type: "function",
1064
2021
  inputs: [],
1065
- name: "REQUIRED_OBSERVATION_CARDINALITY",
1066
- outputs: [{ name: "", internalType: "uint16", type: "uint16" }],
2022
+ name: "UPGRADE_INTERFACE_VERSION",
2023
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1067
2024
  stateMutability: "view"
1068
2025
  },
1069
2026
  {
1070
2027
  type: "function",
1071
2028
  inputs: [],
1072
- name: "SLIPPAGE",
1073
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1074
- stateMutability: "view"
2029
+ name: "acceptOwnership",
2030
+ outputs: [],
2031
+ stateMutability: "nonpayable"
1075
2032
  },
1076
2033
  {
1077
2034
  type: "function",
1078
2035
  inputs: [],
1079
- name: "TIME_WEIGHTED_PRICE_PERIOD",
1080
- outputs: [{ name: "", internalType: "uint32", type: "uint32" }],
1081
- stateMutability: "view"
2036
+ name: "config",
2037
+ outputs: [
2038
+ {
2039
+ name: "cointagStorage",
2040
+ internalType: "struct ICointag.CointagStorageV1",
2041
+ type: "tuple",
2042
+ components: [
2043
+ {
2044
+ name: "creatorRewardRecipient",
2045
+ internalType: "address",
2046
+ type: "address"
2047
+ },
2048
+ { name: "erc20", internalType: "contract IERC20", type: "address" },
2049
+ {
2050
+ name: "pool",
2051
+ internalType: "contract IUniswapV3Pool",
2052
+ type: "address"
2053
+ },
2054
+ {
2055
+ name: "percentageToBuyBurn",
2056
+ internalType: "uint256",
2057
+ type: "uint256"
2058
+ }
2059
+ ]
2060
+ }
2061
+ ],
2062
+ stateMutability: "pure"
1082
2063
  },
1083
2064
  {
1084
2065
  type: "function",
1085
2066
  inputs: [],
1086
- name: "contractVersion",
2067
+ name: "contractName",
1087
2068
  outputs: [{ name: "", internalType: "string", type: "string" }],
1088
2069
  stateMutability: "pure"
1089
2070
  },
1090
2071
  {
1091
2072
  type: "function",
1092
2073
  inputs: [],
1093
- name: "creatorRewardRecipient",
1094
- outputs: [{ name: "", internalType: "address", type: "address" }],
1095
- stateMutability: "view"
2074
+ name: "contractVersion",
2075
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2076
+ stateMutability: "pure"
1096
2077
  },
1097
2078
  {
1098
2079
  type: "function",
1099
2080
  inputs: [],
1100
- name: "ensureObservationCardinality",
2081
+ name: "distribute",
1101
2082
  outputs: [],
1102
2083
  stateMutability: "nonpayable"
1103
2084
  },
@@ -1105,35 +2086,26 @@ var cointagABI = [
1105
2086
  type: "function",
1106
2087
  inputs: [],
1107
2088
  name: "erc20",
1108
- outputs: [
1109
- { name: "", internalType: "contract IBurnableERC20", type: "address" }
1110
- ],
2089
+ outputs: [{ name: "", internalType: "contract IERC20", type: "address" }],
1111
2090
  stateMutability: "view"
1112
2091
  },
1113
2092
  {
1114
2093
  type: "function",
1115
2094
  inputs: [],
1116
- name: "hasEnoughObservationCardinality",
1117
- outputs: [
1118
- { name: "", internalType: "bool", type: "bool" },
1119
- { name: "", internalType: "uint256", type: "uint256" }
1120
- ],
2095
+ name: "implementation",
2096
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1121
2097
  stateMutability: "view"
1122
2098
  },
1123
2099
  {
1124
2100
  type: "function",
1125
2101
  inputs: [
1126
2102
  {
1127
- name: "_creatorRewardRecipient",
2103
+ name: "creatorRewardRecipient",
1128
2104
  internalType: "address",
1129
2105
  type: "address"
1130
2106
  },
1131
- { name: "_pool", internalType: "address", type: "address" },
1132
- {
1133
- name: "_percentageToBuyBurn",
1134
- internalType: "uint256",
1135
- type: "uint256"
1136
- }
2107
+ { name: "pool_", internalType: "address", type: "address" },
2108
+ { name: "percentageToBuyBurn", internalType: "uint256", type: "uint256" }
1137
2109
  ],
1138
2110
  name: "initialize",
1139
2111
  outputs: [],
@@ -1142,8 +2114,15 @@ var cointagABI = [
1142
2114
  {
1143
2115
  type: "function",
1144
2116
  inputs: [],
1145
- name: "percentageToBuyBurn",
1146
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2117
+ name: "owner",
2118
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2119
+ stateMutability: "view"
2120
+ },
2121
+ {
2122
+ type: "function",
2123
+ inputs: [],
2124
+ name: "pendingOwner",
2125
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1147
2126
  stateMutability: "view"
1148
2127
  },
1149
2128
  {
@@ -1164,6 +2143,13 @@ var cointagABI = [
1164
2143
  ],
1165
2144
  stateMutability: "view"
1166
2145
  },
2146
+ {
2147
+ type: "function",
2148
+ inputs: [],
2149
+ name: "proxiableUUID",
2150
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
2151
+ stateMutability: "view"
2152
+ },
1167
2153
  {
1168
2154
  type: "function",
1169
2155
  inputs: [],
@@ -1171,6 +2157,20 @@ var cointagABI = [
1171
2157
  outputs: [],
1172
2158
  stateMutability: "nonpayable"
1173
2159
  },
2160
+ {
2161
+ type: "function",
2162
+ inputs: [],
2163
+ name: "renounceOwnership",
2164
+ outputs: [],
2165
+ stateMutability: "nonpayable"
2166
+ },
2167
+ {
2168
+ type: "function",
2169
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
2170
+ name: "transferOwnership",
2171
+ outputs: [],
2172
+ stateMutability: "nonpayable"
2173
+ },
1174
2174
  {
1175
2175
  type: "function",
1176
2176
  inputs: [
@@ -1182,6 +2182,25 @@ var cointagABI = [
1182
2182
  outputs: [],
1183
2183
  stateMutability: "nonpayable"
1184
2184
  },
2185
+ {
2186
+ type: "function",
2187
+ inputs: [],
2188
+ name: "upgradeGate",
2189
+ outputs: [
2190
+ { name: "", internalType: "contract IUpgradeGate", type: "address" }
2191
+ ],
2192
+ stateMutability: "view"
2193
+ },
2194
+ {
2195
+ type: "function",
2196
+ inputs: [
2197
+ { name: "newImplementation", internalType: "address", type: "address" },
2198
+ { name: "data", internalType: "bytes", type: "bytes" }
2199
+ ],
2200
+ name: "upgradeToAndCall",
2201
+ outputs: [],
2202
+ stateMutability: "payable"
2203
+ },
1185
2204
  {
1186
2205
  type: "function",
1187
2206
  inputs: [],
@@ -1194,31 +2213,31 @@ var cointagABI = [
1194
2213
  anonymous: false,
1195
2214
  inputs: [
1196
2215
  {
1197
- name: "amountERc20Received",
2216
+ name: "amountERC20Received",
1198
2217
  internalType: "uint256",
1199
2218
  type: "uint256",
1200
2219
  indexed: false
1201
2220
  },
1202
2221
  {
1203
- name: "amountERc20Burned",
2222
+ name: "amountERC20Burned",
1204
2223
  internalType: "uint256",
1205
2224
  type: "uint256",
1206
2225
  indexed: false
1207
2226
  },
1208
2227
  {
1209
- name: "amountEthSpent",
2228
+ name: "amountETHSpent",
1210
2229
  internalType: "uint256",
1211
2230
  type: "uint256",
1212
2231
  indexed: false
1213
2232
  },
1214
2233
  {
1215
- name: "amountEthToCreator",
2234
+ name: "amountETHToCreator",
1216
2235
  internalType: "uint256",
1217
2236
  type: "uint256",
1218
2237
  indexed: false
1219
2238
  },
1220
2239
  {
1221
- name: "totalEthReceived",
2240
+ name: "totalETHReceived",
1222
2241
  internalType: "uint256",
1223
2242
  type: "uint256",
1224
2243
  indexed: false
@@ -1238,6 +2257,25 @@ var cointagABI = [
1238
2257
  ],
1239
2258
  name: "BuyBurn"
1240
2259
  },
2260
+ {
2261
+ type: "event",
2262
+ anonymous: false,
2263
+ inputs: [
2264
+ {
2265
+ name: "amount",
2266
+ internalType: "uint256",
2267
+ type: "uint256",
2268
+ indexed: true
2269
+ },
2270
+ {
2271
+ name: "sender",
2272
+ internalType: "address",
2273
+ type: "address",
2274
+ indexed: true
2275
+ }
2276
+ ],
2277
+ name: "EthReceived"
2278
+ },
1241
2279
  {
1242
2280
  type: "event",
1243
2281
  anonymous: false,
@@ -1282,6 +2320,57 @@ var cointagABI = [
1282
2320
  ],
1283
2321
  name: "Initialized"
1284
2322
  },
2323
+ {
2324
+ type: "event",
2325
+ anonymous: false,
2326
+ inputs: [
2327
+ {
2328
+ name: "previousOwner",
2329
+ internalType: "address",
2330
+ type: "address",
2331
+ indexed: true
2332
+ },
2333
+ {
2334
+ name: "newOwner",
2335
+ internalType: "address",
2336
+ type: "address",
2337
+ indexed: true
2338
+ }
2339
+ ],
2340
+ name: "OwnershipTransferStarted"
2341
+ },
2342
+ {
2343
+ type: "event",
2344
+ anonymous: false,
2345
+ inputs: [
2346
+ {
2347
+ name: "previousOwner",
2348
+ internalType: "address",
2349
+ type: "address",
2350
+ indexed: true
2351
+ },
2352
+ {
2353
+ name: "newOwner",
2354
+ internalType: "address",
2355
+ type: "address",
2356
+ indexed: true
2357
+ }
2358
+ ],
2359
+ name: "OwnershipTransferred"
2360
+ },
2361
+ {
2362
+ type: "event",
2363
+ anonymous: false,
2364
+ inputs: [
2365
+ {
2366
+ name: "implementation",
2367
+ internalType: "address",
2368
+ type: "address",
2369
+ indexed: true
2370
+ }
2371
+ ],
2372
+ name: "Upgraded"
2373
+ },
1285
2374
  {
1286
2375
  type: "error",
1287
2376
  inputs: [{ name: "target", internalType: "address", type: "address" }],
@@ -1292,31 +2381,60 @@ var cointagABI = [
1292
2381
  inputs: [{ name: "account", internalType: "address", type: "address" }],
1293
2382
  name: "AddressInsufficientBalance"
1294
2383
  },
2384
+ { type: "error", inputs: [], name: "AddressZero" },
1295
2385
  {
1296
2386
  type: "error",
1297
2387
  inputs: [
1298
- { name: "amountOut", internalType: "uint256", type: "uint256" },
1299
- { name: "amountOutMinimum", internalType: "uint256", type: "uint256" }
2388
+ { name: "implementation", internalType: "address", type: "address" }
1300
2389
  ],
1301
- name: "AmountOutLessThanMinimum"
2390
+ name: "ERC1967InvalidImplementation"
1302
2391
  },
2392
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
1303
2393
  { type: "error", inputs: [], name: "FailedInnerCall" },
1304
2394
  { type: "error", inputs: [], name: "InvalidInitialization" },
1305
2395
  {
1306
2396
  type: "error",
1307
2397
  inputs: [
1308
- { name: "requiredCardinality", internalType: "uint256", type: "uint256" },
1309
- { name: "currentCardinality", internalType: "uint256", type: "uint256" }
2398
+ { name: "oldImpl", internalType: "address", type: "address" },
2399
+ { name: "newImpl", internalType: "address", type: "address" }
1310
2400
  ],
1311
- name: "NotEnoughObservationCardinality"
2401
+ name: "InvalidUpgradePath"
1312
2402
  },
1313
2403
  { type: "error", inputs: [], name: "NotInitializing" },
2404
+ { type: "error", inputs: [], name: "NotUniswapV3Pool" },
1314
2405
  { type: "error", inputs: [], name: "OnlyPool" },
1315
2406
  { type: "error", inputs: [], name: "OnlyProtocolRewardsOrWeth" },
2407
+ {
2408
+ type: "error",
2409
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
2410
+ name: "OwnableInvalidOwner"
2411
+ },
2412
+ {
2413
+ type: "error",
2414
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2415
+ name: "OwnableUnauthorizedAccount"
2416
+ },
2417
+ { type: "error", inputs: [], name: "PoolNeedsOneTokenToBeWETH" },
1316
2418
  {
1317
2419
  type: "error",
1318
2420
  inputs: [{ name: "token", internalType: "address", type: "address" }],
1319
2421
  name: "SafeERC20FailedOperation"
2422
+ },
2423
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
2424
+ {
2425
+ type: "error",
2426
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
2427
+ name: "UUPSUnsupportedProxiableUUID"
2428
+ },
2429
+ { type: "error", inputs: [], name: "UnknownBurnError" },
2430
+ { type: "error", inputs: [], name: "UnknownSwapError" },
2431
+ {
2432
+ type: "error",
2433
+ inputs: [
2434
+ { name: "current", internalType: "string", type: "string" },
2435
+ { name: "newName", internalType: "string", type: "string" }
2436
+ ],
2437
+ name: "UpgradeToMismatchedContractName"
1320
2438
  }
1321
2439
  ];
1322
2440
  var cointagFactoryABI = [
@@ -1360,43 +2478,22 @@ var cointagFactoryABI = [
1360
2478
  stateMutability: "pure"
1361
2479
  },
1362
2480
  {
1363
- type: "function",
1364
- inputs: [],
1365
- name: "contractURI",
1366
- outputs: [{ name: "", internalType: "string", type: "string" }],
1367
- stateMutability: "pure"
1368
- },
1369
- {
1370
- type: "function",
1371
- inputs: [],
1372
- name: "contractVersion",
1373
- outputs: [{ name: "", internalType: "string", type: "string" }],
1374
- stateMutability: "pure"
1375
- },
1376
- {
1377
- type: "function",
1378
- inputs: [
1379
- {
1380
- name: "_creatorRewardRecipient",
1381
- internalType: "address",
1382
- type: "address"
1383
- },
1384
- { name: "_pool", internalType: "address", type: "address" },
1385
- {
1386
- name: "_percentageToBuyBurn",
1387
- internalType: "uint256",
1388
- type: "uint256"
1389
- },
1390
- { name: "saltSource", internalType: "bytes", type: "bytes" }
1391
- ],
1392
- name: "getCointagAddress",
1393
- outputs: [{ name: "", internalType: "address", type: "address" }],
1394
- stateMutability: "view"
2481
+ type: "function",
2482
+ inputs: [],
2483
+ name: "contractURI",
2484
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2485
+ stateMutability: "pure"
2486
+ },
2487
+ {
2488
+ type: "function",
2489
+ inputs: [],
2490
+ name: "contractVersion",
2491
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2492
+ stateMutability: "pure"
1395
2493
  },
1396
2494
  {
1397
2495
  type: "function",
1398
2496
  inputs: [
1399
- { name: "_implementation", internalType: "address", type: "address" },
1400
2497
  {
1401
2498
  name: "_creatorRewardRecipient",
1402
2499
  internalType: "address",
@@ -1410,7 +2507,7 @@ var cointagFactoryABI = [
1410
2507
  },
1411
2508
  { name: "saltSource", internalType: "bytes", type: "bytes" }
1412
2509
  ],
1413
- name: "getCointagAddressForImpl",
2510
+ name: "getCointagAddress",
1414
2511
  outputs: [{ name: "", internalType: "address", type: "address" }],
1415
2512
  stateMutability: "view"
1416
2513
  },
@@ -1506,6 +2603,15 @@ var cointagFactoryABI = [
1506
2603
  outputs: [],
1507
2604
  stateMutability: "nonpayable"
1508
2605
  },
2606
+ {
2607
+ type: "function",
2608
+ inputs: [],
2609
+ name: "upgradeGate",
2610
+ outputs: [
2611
+ { name: "", internalType: "contract IUpgradeGate", type: "address" }
2612
+ ],
2613
+ stateMutability: "view"
2614
+ },
1509
2615
  {
1510
2616
  type: "function",
1511
2617
  inputs: [
@@ -1629,7 +2735,6 @@ var cointagFactoryABI = [
1629
2735
  name: "AddressEmptyCode"
1630
2736
  },
1631
2737
  { type: "error", inputs: [], name: "AddressZero" },
1632
- { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
1633
2738
  {
1634
2739
  type: "error",
1635
2740
  inputs: [
@@ -1677,7 +2782,8 @@ var cointagFactoryABI = [
1677
2782
  var cointagFactoryAddress = {
1678
2783
  8453: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
1679
2784
  84532: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
1680
- 7777777: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F"
2785
+ 7777777: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
2786
+ 999999999: "0x77777773Bd7Cccb7E704315CA51245707E19B0DE"
1681
2787
  };
1682
2788
  var cointagFactoryConfig = {
1683
2789
  address: cointagFactoryAddress,
@@ -4978,7 +6084,7 @@ var secondarySwapABI = [
4978
6084
  indexed: true
4979
6085
  },
4980
6086
  {
4981
- name: "amountEthSold",
6087
+ name: "amountETHSold",
4982
6088
  internalType: "uint256",
4983
6089
  type: "uint256",
4984
6090
  indexed: false
@@ -5058,7 +6164,7 @@ var secondarySwapABI = [
5058
6164
  indexed: true
5059
6165
  },
5060
6166
  {
5061
- name: "amountEthPurchased",
6167
+ name: "amountETHPurchased",
5062
6168
  internalType: "uint256",
5063
6169
  type: "uint256",
5064
6170
  indexed: false
@@ -10084,6 +11190,259 @@ var zoraCreatorRedeemMinterFactoryConfig = {
10084
11190
  address: zoraCreatorRedeemMinterFactoryAddress,
10085
11191
  abi: zoraCreatorRedeemMinterFactoryABI
10086
11192
  };
11193
+ var zoraFactoryABI = [
11194
+ {
11195
+ type: "constructor",
11196
+ inputs: [{ name: "_coinImpl", internalType: "address", type: "address" }],
11197
+ stateMutability: "nonpayable"
11198
+ },
11199
+ {
11200
+ type: "function",
11201
+ inputs: [],
11202
+ name: "UPGRADE_INTERFACE_VERSION",
11203
+ outputs: [{ name: "", internalType: "string", type: "string" }],
11204
+ stateMutability: "view"
11205
+ },
11206
+ {
11207
+ type: "function",
11208
+ inputs: [],
11209
+ name: "coinImpl",
11210
+ outputs: [{ name: "", internalType: "address", type: "address" }],
11211
+ stateMutability: "view"
11212
+ },
11213
+ {
11214
+ type: "function",
11215
+ inputs: [
11216
+ { name: "payoutRecipient", internalType: "address", type: "address" },
11217
+ { name: "owners", internalType: "address[]", type: "address[]" },
11218
+ { name: "uri", internalType: "string", type: "string" },
11219
+ { name: "name", internalType: "string", type: "string" },
11220
+ { name: "symbol", internalType: "string", type: "string" },
11221
+ { name: "platformReferrer", internalType: "address", type: "address" },
11222
+ { name: "currency", internalType: "address", type: "address" },
11223
+ { name: "tickLower", internalType: "int24", type: "int24" },
11224
+ { name: "orderSize", internalType: "uint256", type: "uint256" }
11225
+ ],
11226
+ name: "deploy",
11227
+ outputs: [{ name: "", internalType: "address", type: "address" }],
11228
+ stateMutability: "payable"
11229
+ },
11230
+ {
11231
+ type: "function",
11232
+ inputs: [],
11233
+ name: "implementation",
11234
+ outputs: [{ name: "", internalType: "address", type: "address" }],
11235
+ stateMutability: "view"
11236
+ },
11237
+ {
11238
+ type: "function",
11239
+ inputs: [
11240
+ { name: "initialOwner", internalType: "address", type: "address" }
11241
+ ],
11242
+ name: "initialize",
11243
+ outputs: [],
11244
+ stateMutability: "nonpayable"
11245
+ },
11246
+ {
11247
+ type: "function",
11248
+ inputs: [],
11249
+ name: "owner",
11250
+ outputs: [{ name: "", internalType: "address", type: "address" }],
11251
+ stateMutability: "view"
11252
+ },
11253
+ {
11254
+ type: "function",
11255
+ inputs: [],
11256
+ name: "proxiableUUID",
11257
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
11258
+ stateMutability: "view"
11259
+ },
11260
+ {
11261
+ type: "function",
11262
+ inputs: [],
11263
+ name: "renounceOwnership",
11264
+ outputs: [],
11265
+ stateMutability: "nonpayable"
11266
+ },
11267
+ {
11268
+ type: "function",
11269
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
11270
+ name: "transferOwnership",
11271
+ outputs: [],
11272
+ stateMutability: "nonpayable"
11273
+ },
11274
+ {
11275
+ type: "function",
11276
+ inputs: [
11277
+ { name: "newImplementation", internalType: "address", type: "address" },
11278
+ { name: "data", internalType: "bytes", type: "bytes" }
11279
+ ],
11280
+ name: "upgradeToAndCall",
11281
+ outputs: [],
11282
+ stateMutability: "payable"
11283
+ },
11284
+ {
11285
+ type: "event",
11286
+ anonymous: false,
11287
+ inputs: [
11288
+ {
11289
+ name: "deployer",
11290
+ internalType: "address",
11291
+ type: "address",
11292
+ indexed: true
11293
+ },
11294
+ {
11295
+ name: "creator",
11296
+ internalType: "address",
11297
+ type: "address",
11298
+ indexed: true
11299
+ },
11300
+ {
11301
+ name: "payoutRecipient",
11302
+ internalType: "address",
11303
+ type: "address",
11304
+ indexed: true
11305
+ },
11306
+ {
11307
+ name: "platformReferrer",
11308
+ internalType: "address",
11309
+ type: "address",
11310
+ indexed: false
11311
+ },
11312
+ {
11313
+ name: "currency",
11314
+ internalType: "address",
11315
+ type: "address",
11316
+ indexed: false
11317
+ },
11318
+ {
11319
+ name: "tokenURI",
11320
+ internalType: "string",
11321
+ type: "string",
11322
+ indexed: false
11323
+ },
11324
+ { name: "name", internalType: "string", type: "string", indexed: false },
11325
+ {
11326
+ name: "symbol",
11327
+ internalType: "string",
11328
+ type: "string",
11329
+ indexed: false
11330
+ },
11331
+ {
11332
+ name: "coin",
11333
+ internalType: "address",
11334
+ type: "address",
11335
+ indexed: false
11336
+ },
11337
+ {
11338
+ name: "pool",
11339
+ internalType: "address",
11340
+ type: "address",
11341
+ indexed: false
11342
+ }
11343
+ ],
11344
+ name: "CoinCreated"
11345
+ },
11346
+ {
11347
+ type: "event",
11348
+ anonymous: false,
11349
+ inputs: [
11350
+ {
11351
+ name: "version",
11352
+ internalType: "uint64",
11353
+ type: "uint64",
11354
+ indexed: false
11355
+ }
11356
+ ],
11357
+ name: "Initialized"
11358
+ },
11359
+ {
11360
+ type: "event",
11361
+ anonymous: false,
11362
+ inputs: [
11363
+ {
11364
+ name: "previousOwner",
11365
+ internalType: "address",
11366
+ type: "address",
11367
+ indexed: true
11368
+ },
11369
+ {
11370
+ name: "newOwner",
11371
+ internalType: "address",
11372
+ type: "address",
11373
+ indexed: true
11374
+ }
11375
+ ],
11376
+ name: "OwnershipTransferred"
11377
+ },
11378
+ {
11379
+ type: "event",
11380
+ anonymous: false,
11381
+ inputs: [
11382
+ {
11383
+ name: "implementation",
11384
+ internalType: "address",
11385
+ type: "address",
11386
+ indexed: true
11387
+ }
11388
+ ],
11389
+ name: "Upgraded"
11390
+ },
11391
+ {
11392
+ type: "error",
11393
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
11394
+ name: "AddressEmptyCode"
11395
+ },
11396
+ {
11397
+ type: "error",
11398
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
11399
+ name: "AddressInsufficientBalance"
11400
+ },
11401
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
11402
+ {
11403
+ type: "error",
11404
+ inputs: [
11405
+ { name: "implementation", internalType: "address", type: "address" }
11406
+ ],
11407
+ name: "ERC1967InvalidImplementation"
11408
+ },
11409
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
11410
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
11411
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
11412
+ { type: "error", inputs: [], name: "FailedInnerCall" },
11413
+ { type: "error", inputs: [], name: "InvalidInitialization" },
11414
+ { type: "error", inputs: [], name: "NotInitializing" },
11415
+ {
11416
+ type: "error",
11417
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
11418
+ name: "OwnableInvalidOwner"
11419
+ },
11420
+ {
11421
+ type: "error",
11422
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
11423
+ name: "OwnableUnauthorizedAccount"
11424
+ },
11425
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
11426
+ {
11427
+ type: "error",
11428
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
11429
+ name: "SafeERC20FailedOperation"
11430
+ },
11431
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
11432
+ {
11433
+ type: "error",
11434
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
11435
+ name: "UUPSUnsupportedProxiableUUID"
11436
+ }
11437
+ ];
11438
+ var zoraFactoryAddress = {
11439
+ 8453: "0xC1d310288E76bE71E7A26d269Fd6cbd3A1D9febC",
11440
+ 84532: "0x1E670515d3A4C75C0860846c0605c84AF0e0db0d"
11441
+ };
11442
+ var zoraFactoryConfig = {
11443
+ address: zoraFactoryAddress,
11444
+ abi: zoraFactoryABI
11445
+ };
10087
11446
  var zoraMints1155ABI = [
10088
11447
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
10089
11448
  {
@@ -12548,6 +13907,8 @@ var zoraSparks1155ABI = [
12548
13907
  { type: "error", inputs: [], name: "TokenNotMintable" }
12549
13908
  ];
12550
13909
  var zoraSparks1155Address = {
13910
+ 8453: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
13911
+ 84532: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
12551
13912
  7777777: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
12552
13913
  999999999: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D"
12553
13914
  };
@@ -12937,6 +14298,8 @@ var zoraSparksManagerImplABI = [
12937
14298
  }
12938
14299
  ];
12939
14300
  var zoraSparksManagerImplAddress = {
14301
+ 8453: "0x77777779acd6a96C0c57272112921A0b833c38fD",
14302
+ 84532: "0x77777779acd6a96C0c57272112921A0b833c38fD",
12940
14303
  7777777: "0x77777779acd6a96C0c57272112921A0b833c38fD",
12941
14304
  999999999: "0x77777779acd6a96C0c57272112921A0b833c38fD"
12942
14305
  };
@@ -13786,7 +15149,7 @@ var zoraTimedSaleStrategyConfig = {
13786
15149
  abi: zoraTimedSaleStrategyABI
13787
15150
  };
13788
15151
 
13789
- // ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/unit.js
15152
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.7.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/unit.js
13790
15153
  var InvalidDecimalNumberError = class extends BaseError {
13791
15154
  constructor({ value }) {
13792
15155
  super(`Number \`${value}\` is not a valid decimal number.`, {
@@ -13795,7 +15158,7 @@ var InvalidDecimalNumberError = class extends BaseError {
13795
15158
  }
13796
15159
  };
13797
15160
 
13798
- // ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/parseUnits.js
15161
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.7.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/unit/parseUnits.js
13799
15162
  function parseUnits(value, decimals) {
13800
15163
  if (!/^(-?)([0-9]*)\.?([0-9]*)$/.test(value))
13801
15164
  throw new InvalidDecimalNumberError({ value });
@@ -13830,7 +15193,7 @@ function parseUnits(value, decimals) {
13830
15193
  return BigInt(`${negative ? "-" : ""}${integer}${fraction}`);
13831
15194
  }
13832
15195
 
13833
- // ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/parseEther.js
15196
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.7.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/unit/parseEther.js
13834
15197
  function parseEther(ether, unit = "wei") {
13835
15198
  return parseUnits(ether, etherUnits[unit]);
13836
15199
  }
@@ -14622,9 +15985,13 @@ var addresses2 = {
14622
15985
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
14623
15986
  },
14624
15987
  8453: {
15988
+ MINTS_1155: "0x0000000000000000000000000000000000000000",
14625
15989
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
14626
- SPARKS_MANAGER_IMPL: "0x0000000000000000000000000000000000000000",
14627
- SPARKS_MANAGER_IMPL_VERSION: "",
15990
+ MINTS_MANAGER: "0x0000000000000000000000000000000000000000",
15991
+ SPARKS_1155: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
15992
+ SPARKS_MANAGER: "0x77777779acd6a96C0c57272112921A0b833c38fD",
15993
+ SPARKS_MANAGER_IMPL: "0x122648369E390009F18c1B2b9B100AfB09B982fc",
15994
+ SPARKS_MANAGER_IMPL_VERSION: "0.2.4",
14628
15995
  SPONSORED_SPARKS_SPENDER: "0x6958A8866A40118e2CC21ab4752353835321b5e6",
14629
15996
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
14630
15997
  },
@@ -14643,9 +16010,13 @@ var addresses2 = {
14643
16010
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
14644
16011
  },
14645
16012
  84532: {
16013
+ MINTS_1155: "0x0000000000000000000000000000000000000000",
14646
16014
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
14647
- SPARKS_MANAGER_IMPL: "0x0000000000000000000000000000000000000000",
14648
- SPARKS_MANAGER_IMPL_VERSION: "",
16015
+ MINTS_MANAGER: "0x0000000000000000000000000000000000000000",
16016
+ SPARKS_1155: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
16017
+ SPARKS_MANAGER: "0x77777779acd6a96C0c57272112921A0b833c38fD",
16018
+ SPARKS_MANAGER_IMPL: "0x122648369E390009F18c1B2b9B100AfB09B982fc",
16019
+ SPARKS_MANAGER_IMPL_VERSION: "0.2.4",
14649
16020
  SPONSORED_SPARKS_SPENDER: "0x23150f60E233F519A01C735C29c1591f9E8353dE",
14650
16021
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
14651
16022
  },
@@ -14677,6 +16048,7 @@ export {
14677
16048
  callerAndCommenterABI,
14678
16049
  callerAndCommenterAddress,
14679
16050
  callerAndCommenterConfig,
16051
+ coinABI,
14680
16052
  cointagABI,
14681
16053
  cointagFactoryABI,
14682
16054
  cointagFactoryAddress,
@@ -14752,6 +16124,9 @@ export {
14752
16124
  zoraCreatorRedeemMinterFactoryABI,
14753
16125
  zoraCreatorRedeemMinterFactoryAddress,
14754
16126
  zoraCreatorRedeemMinterFactoryConfig,
16127
+ zoraFactoryABI,
16128
+ zoraFactoryAddress,
16129
+ zoraFactoryConfig,
14755
16130
  zoraMints1155ABI,
14756
16131
  zoraMints1155Address,
14757
16132
  zoraMints1155Config,