@zoralabs/protocol-deployments 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,6 +1041,1216 @@ 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
+ ];
2001
+ var coinFactoryABI = [
2002
+ {
2003
+ type: "constructor",
2004
+ inputs: [{ name: "_coinImpl", internalType: "address", type: "address" }],
2005
+ stateMutability: "nonpayable"
2006
+ },
2007
+ {
2008
+ type: "function",
2009
+ inputs: [],
2010
+ name: "UPGRADE_INTERFACE_VERSION",
2011
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2012
+ stateMutability: "view"
2013
+ },
2014
+ {
2015
+ type: "function",
2016
+ inputs: [],
2017
+ name: "coinImpl",
2018
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2019
+ stateMutability: "view"
2020
+ },
2021
+ {
2022
+ type: "function",
2023
+ inputs: [
2024
+ { name: "payoutRecipient", internalType: "address", type: "address" },
2025
+ { name: "owners", internalType: "address[]", type: "address[]" },
2026
+ { name: "uri", internalType: "string", type: "string" },
2027
+ { name: "name", internalType: "string", type: "string" },
2028
+ { name: "symbol", internalType: "string", type: "string" },
2029
+ { name: "platformReferrer", internalType: "address", type: "address" },
2030
+ { name: "currency", internalType: "address", type: "address" },
2031
+ { name: "tickLower", internalType: "int24", type: "int24" },
2032
+ { name: "orderSize", internalType: "uint256", type: "uint256" }
2033
+ ],
2034
+ name: "deploy",
2035
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2036
+ stateMutability: "payable"
2037
+ },
2038
+ {
2039
+ type: "function",
2040
+ inputs: [],
2041
+ name: "implementation",
2042
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2043
+ stateMutability: "view"
2044
+ },
2045
+ {
2046
+ type: "function",
2047
+ inputs: [
2048
+ { name: "initialOwner", internalType: "address", type: "address" }
2049
+ ],
2050
+ name: "initialize",
2051
+ outputs: [],
2052
+ stateMutability: "nonpayable"
2053
+ },
2054
+ {
2055
+ type: "function",
2056
+ inputs: [],
2057
+ name: "owner",
2058
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2059
+ stateMutability: "view"
2060
+ },
2061
+ {
2062
+ type: "function",
2063
+ inputs: [],
2064
+ name: "proxiableUUID",
2065
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
2066
+ stateMutability: "view"
2067
+ },
2068
+ {
2069
+ type: "function",
2070
+ inputs: [],
2071
+ name: "renounceOwnership",
2072
+ outputs: [],
2073
+ stateMutability: "nonpayable"
2074
+ },
2075
+ {
2076
+ type: "function",
2077
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
2078
+ name: "transferOwnership",
2079
+ outputs: [],
2080
+ stateMutability: "nonpayable"
2081
+ },
2082
+ {
2083
+ type: "function",
2084
+ inputs: [
2085
+ { name: "newImplementation", internalType: "address", type: "address" },
2086
+ { name: "data", internalType: "bytes", type: "bytes" }
2087
+ ],
2088
+ name: "upgradeToAndCall",
2089
+ outputs: [],
2090
+ stateMutability: "payable"
2091
+ },
2092
+ {
2093
+ type: "event",
2094
+ anonymous: false,
2095
+ inputs: [
2096
+ {
2097
+ name: "deployer",
2098
+ internalType: "address",
2099
+ type: "address",
2100
+ indexed: true
2101
+ },
2102
+ {
2103
+ name: "creator",
2104
+ internalType: "address",
2105
+ type: "address",
2106
+ indexed: true
2107
+ },
2108
+ {
2109
+ name: "payoutRecipient",
2110
+ internalType: "address",
2111
+ type: "address",
2112
+ indexed: true
2113
+ },
2114
+ {
2115
+ name: "platformReferrer",
2116
+ internalType: "address",
2117
+ type: "address",
2118
+ indexed: false
2119
+ },
2120
+ {
2121
+ name: "currency",
2122
+ internalType: "address",
2123
+ type: "address",
2124
+ indexed: false
2125
+ },
2126
+ {
2127
+ name: "tokenURI",
2128
+ internalType: "string",
2129
+ type: "string",
2130
+ indexed: false
2131
+ },
2132
+ { name: "name", internalType: "string", type: "string", indexed: false },
2133
+ {
2134
+ name: "symbol",
2135
+ internalType: "string",
2136
+ type: "string",
2137
+ indexed: false
2138
+ },
2139
+ {
2140
+ name: "coin",
2141
+ internalType: "address",
2142
+ type: "address",
2143
+ indexed: false
2144
+ },
2145
+ {
2146
+ name: "pool",
2147
+ internalType: "address",
2148
+ type: "address",
2149
+ indexed: false
2150
+ }
2151
+ ],
2152
+ name: "CoinCreated"
2153
+ },
2154
+ {
2155
+ type: "event",
2156
+ anonymous: false,
2157
+ inputs: [
2158
+ {
2159
+ name: "version",
2160
+ internalType: "uint64",
2161
+ type: "uint64",
2162
+ indexed: false
2163
+ }
2164
+ ],
2165
+ name: "Initialized"
2166
+ },
2167
+ {
2168
+ type: "event",
2169
+ anonymous: false,
2170
+ inputs: [
2171
+ {
2172
+ name: "previousOwner",
2173
+ internalType: "address",
2174
+ type: "address",
2175
+ indexed: true
2176
+ },
2177
+ {
2178
+ name: "newOwner",
2179
+ internalType: "address",
2180
+ type: "address",
2181
+ indexed: true
2182
+ }
2183
+ ],
2184
+ name: "OwnershipTransferred"
2185
+ },
2186
+ {
2187
+ type: "event",
2188
+ anonymous: false,
2189
+ inputs: [
2190
+ {
2191
+ name: "implementation",
2192
+ internalType: "address",
2193
+ type: "address",
2194
+ indexed: true
2195
+ }
2196
+ ],
2197
+ name: "Upgraded"
2198
+ },
2199
+ {
2200
+ type: "error",
2201
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
2202
+ name: "AddressEmptyCode"
2203
+ },
2204
+ {
2205
+ type: "error",
2206
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2207
+ name: "AddressInsufficientBalance"
2208
+ },
2209
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
2210
+ {
2211
+ type: "error",
2212
+ inputs: [
2213
+ { name: "implementation", internalType: "address", type: "address" }
2214
+ ],
2215
+ name: "ERC1967InvalidImplementation"
2216
+ },
2217
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
2218
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
2219
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
2220
+ { type: "error", inputs: [], name: "FailedInnerCall" },
2221
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2222
+ { type: "error", inputs: [], name: "NotInitializing" },
2223
+ {
2224
+ type: "error",
2225
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
2226
+ name: "OwnableInvalidOwner"
2227
+ },
2228
+ {
2229
+ type: "error",
2230
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2231
+ name: "OwnableUnauthorizedAccount"
2232
+ },
2233
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
2234
+ {
2235
+ type: "error",
2236
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
2237
+ name: "SafeERC20FailedOperation"
2238
+ },
2239
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
2240
+ {
2241
+ type: "error",
2242
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
2243
+ name: "UUPSUnsupportedProxiableUUID"
2244
+ }
2245
+ ];
2246
+ var coinFactoryAddress = {
2247
+ 8453: "0xC1d310288E76bE71E7A26d269Fd6cbd3A1D9febC",
2248
+ 84532: "0x1E670515d3A4C75C0860846c0605c84AF0e0db0d"
2249
+ };
2250
+ var coinFactoryConfig = {
2251
+ address: coinFactoryAddress,
2252
+ abi: coinFactoryABI
2253
+ };
1045
2254
  var cointagABI = [
1046
2255
  {
1047
2256
  type: "constructor",
@@ -1445,6 +2654,7 @@ var cointagABI = [
1445
2654
  name: "InvalidUpgradePath"
1446
2655
  },
1447
2656
  { type: "error", inputs: [], name: "NotInitializing" },
2657
+ { type: "error", inputs: [], name: "NotUniswapV3Pool" },
1448
2658
  { type: "error", inputs: [], name: "OnlyPool" },
1449
2659
  { type: "error", inputs: [], name: "OnlyProtocolRewardsOrWeth" },
1450
2660
  {
@@ -13939,7 +15149,7 @@ var zoraTimedSaleStrategyConfig = {
13939
15149
  abi: zoraTimedSaleStrategyABI
13940
15150
  };
13941
15151
 
13942
- // ../../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
13943
15153
  var InvalidDecimalNumberError = class extends BaseError {
13944
15154
  constructor({ value }) {
13945
15155
  super(`Number \`${value}\` is not a valid decimal number.`, {
@@ -13948,7 +15158,7 @@ var InvalidDecimalNumberError = class extends BaseError {
13948
15158
  }
13949
15159
  };
13950
15160
 
13951
- // ../../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
13952
15162
  function parseUnits(value, decimals) {
13953
15163
  if (!/^(-?)([0-9]*)\.?([0-9]*)$/.test(value))
13954
15164
  throw new InvalidDecimalNumberError({ value });
@@ -13983,7 +15193,7 @@ function parseUnits(value, decimals) {
13983
15193
  return BigInt(`${negative ? "-" : ""}${integer}${fraction}`);
13984
15194
  }
13985
15195
 
13986
- // ../../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
13987
15197
  function parseEther(ether, unit = "wei") {
13988
15198
  return parseUnits(ether, etherUnits[unit]);
13989
15199
  }
@@ -14838,6 +16048,10 @@ export {
14838
16048
  callerAndCommenterABI,
14839
16049
  callerAndCommenterAddress,
14840
16050
  callerAndCommenterConfig,
16051
+ coinABI,
16052
+ coinFactoryABI,
16053
+ coinFactoryAddress,
16054
+ coinFactoryConfig,
14841
16055
  cointagABI,
14842
16056
  cointagFactoryABI,
14843
16057
  cointagFactoryAddress,