@zoralabs/protocol-deployments 0.4.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.
@@ -1075,6 +1075,968 @@ export const callerAndCommenterConfig = {
1075
1075
  abi: callerAndCommenterABI,
1076
1076
  } as const
1077
1077
 
1078
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1079
+ // Coin
1080
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1081
+
1082
+ export const coinABI = [
1083
+ {
1084
+ type: 'constructor',
1085
+ inputs: [
1086
+ {
1087
+ name: '_protocolRewardRecipient',
1088
+ internalType: 'address',
1089
+ type: 'address',
1090
+ },
1091
+ { name: '_protocolRewards', internalType: 'address', type: 'address' },
1092
+ { name: '_weth', internalType: 'address', type: 'address' },
1093
+ {
1094
+ name: '_nonfungiblePositionManager',
1095
+ internalType: 'address',
1096
+ type: 'address',
1097
+ },
1098
+ { name: '_swapRouter', internalType: 'address', type: 'address' },
1099
+ ],
1100
+ stateMutability: 'nonpayable',
1101
+ },
1102
+ { type: 'receive', stateMutability: 'payable' },
1103
+ {
1104
+ type: 'function',
1105
+ inputs: [],
1106
+ name: 'DOMAIN_SEPARATOR',
1107
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1108
+ stateMutability: 'view',
1109
+ },
1110
+ {
1111
+ type: 'function',
1112
+ inputs: [],
1113
+ name: 'MAX_TOTAL_SUPPLY',
1114
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1115
+ stateMutability: 'view',
1116
+ },
1117
+ {
1118
+ type: 'function',
1119
+ inputs: [],
1120
+ name: 'MIN_ORDER_SIZE',
1121
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1122
+ stateMutability: 'view',
1123
+ },
1124
+ {
1125
+ type: 'function',
1126
+ inputs: [],
1127
+ name: 'PLATFORM_REFERRER_FEE_BPS',
1128
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1129
+ stateMutability: 'view',
1130
+ },
1131
+ {
1132
+ type: 'function',
1133
+ inputs: [],
1134
+ name: 'PROTOCOL_FEE_BPS',
1135
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1136
+ stateMutability: 'view',
1137
+ },
1138
+ {
1139
+ type: 'function',
1140
+ inputs: [],
1141
+ name: 'TOKEN_CREATOR_FEE_BPS',
1142
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1143
+ stateMutability: 'view',
1144
+ },
1145
+ {
1146
+ type: 'function',
1147
+ inputs: [],
1148
+ name: 'TOTAL_FEE_BPS',
1149
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1150
+ stateMutability: 'view',
1151
+ },
1152
+ {
1153
+ type: 'function',
1154
+ inputs: [],
1155
+ name: 'TRADE_REFERRER_FEE_BPS',
1156
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1157
+ stateMutability: 'view',
1158
+ },
1159
+ {
1160
+ type: 'function',
1161
+ inputs: [],
1162
+ name: 'WETH',
1163
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1164
+ stateMutability: 'view',
1165
+ },
1166
+ {
1167
+ type: 'function',
1168
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
1169
+ name: 'addOwner',
1170
+ outputs: [],
1171
+ stateMutability: 'nonpayable',
1172
+ },
1173
+ {
1174
+ type: 'function',
1175
+ inputs: [
1176
+ { name: 'accounts', internalType: 'address[]', type: 'address[]' },
1177
+ ],
1178
+ name: 'addOwners',
1179
+ outputs: [],
1180
+ stateMutability: 'nonpayable',
1181
+ },
1182
+ {
1183
+ type: 'function',
1184
+ inputs: [
1185
+ { name: 'owner', internalType: 'address', type: 'address' },
1186
+ { name: 'spender', internalType: 'address', type: 'address' },
1187
+ ],
1188
+ name: 'allowance',
1189
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1190
+ stateMutability: 'view',
1191
+ },
1192
+ {
1193
+ type: 'function',
1194
+ inputs: [
1195
+ { name: 'spender', internalType: 'address', type: 'address' },
1196
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
1197
+ ],
1198
+ name: 'approve',
1199
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1200
+ stateMutability: 'nonpayable',
1201
+ },
1202
+ {
1203
+ type: 'function',
1204
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
1205
+ name: 'balanceOf',
1206
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1207
+ stateMutability: 'view',
1208
+ },
1209
+ {
1210
+ type: 'function',
1211
+ inputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
1212
+ name: 'burn',
1213
+ outputs: [],
1214
+ stateMutability: 'nonpayable',
1215
+ },
1216
+ {
1217
+ type: 'function',
1218
+ inputs: [
1219
+ { name: 'recipient', internalType: 'address', type: 'address' },
1220
+ { name: 'orderSize', internalType: 'uint256', type: 'uint256' },
1221
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
1222
+ { name: 'sqrtPriceLimitX96', internalType: 'uint160', type: 'uint160' },
1223
+ { name: 'tradeReferrer', internalType: 'address', type: 'address' },
1224
+ ],
1225
+ name: 'buy',
1226
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1227
+ stateMutability: 'payable',
1228
+ },
1229
+ {
1230
+ type: 'function',
1231
+ inputs: [{ name: 'pushEthRewards', internalType: 'bool', type: 'bool' }],
1232
+ name: 'claimSecondaryRewards',
1233
+ outputs: [],
1234
+ stateMutability: 'nonpayable',
1235
+ },
1236
+ {
1237
+ type: 'function',
1238
+ inputs: [],
1239
+ name: 'contractURI',
1240
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1241
+ stateMutability: 'view',
1242
+ },
1243
+ {
1244
+ type: 'function',
1245
+ inputs: [],
1246
+ name: 'contractVersion',
1247
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1248
+ stateMutability: 'pure',
1249
+ },
1250
+ {
1251
+ type: 'function',
1252
+ inputs: [],
1253
+ name: 'currency',
1254
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1255
+ stateMutability: 'view',
1256
+ },
1257
+ {
1258
+ type: 'function',
1259
+ inputs: [],
1260
+ name: 'decimals',
1261
+ outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
1262
+ stateMutability: 'view',
1263
+ },
1264
+ {
1265
+ type: 'function',
1266
+ inputs: [],
1267
+ name: 'eip712Domain',
1268
+ outputs: [
1269
+ { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
1270
+ { name: 'name', internalType: 'string', type: 'string' },
1271
+ { name: 'version', internalType: 'string', type: 'string' },
1272
+ { name: 'chainId', internalType: 'uint256', type: 'uint256' },
1273
+ { name: 'verifyingContract', internalType: 'address', type: 'address' },
1274
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
1275
+ { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
1276
+ ],
1277
+ stateMutability: 'view',
1278
+ },
1279
+ {
1280
+ type: 'function',
1281
+ inputs: [
1282
+ { name: 'payoutRecipient_', internalType: 'address', type: 'address' },
1283
+ { name: 'owners_', internalType: 'address[]', type: 'address[]' },
1284
+ { name: 'tokenURI_', internalType: 'string', type: 'string' },
1285
+ { name: 'name_', internalType: 'string', type: 'string' },
1286
+ { name: 'symbol_', internalType: 'string', type: 'string' },
1287
+ { name: 'platformReferrer_', internalType: 'address', type: 'address' },
1288
+ { name: 'currency_', internalType: 'address', type: 'address' },
1289
+ { name: 'tickLower_', internalType: 'int24', type: 'int24' },
1290
+ ],
1291
+ name: 'initialize',
1292
+ outputs: [],
1293
+ stateMutability: 'nonpayable',
1294
+ },
1295
+ {
1296
+ type: 'function',
1297
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
1298
+ name: 'isOwner',
1299
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1300
+ stateMutability: 'view',
1301
+ },
1302
+ {
1303
+ type: 'function',
1304
+ inputs: [],
1305
+ name: 'lpTokenId',
1306
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1307
+ stateMutability: 'view',
1308
+ },
1309
+ {
1310
+ type: 'function',
1311
+ inputs: [],
1312
+ name: 'name',
1313
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1314
+ stateMutability: 'view',
1315
+ },
1316
+ {
1317
+ type: 'function',
1318
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
1319
+ name: 'nonces',
1320
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1321
+ stateMutability: 'view',
1322
+ },
1323
+ {
1324
+ type: 'function',
1325
+ inputs: [],
1326
+ name: 'nonfungiblePositionManager',
1327
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1328
+ stateMutability: 'view',
1329
+ },
1330
+ {
1331
+ type: 'function',
1332
+ inputs: [
1333
+ { name: '', internalType: 'address', type: 'address' },
1334
+ { name: '', internalType: 'address', type: 'address' },
1335
+ { name: '', internalType: 'uint256', type: 'uint256' },
1336
+ { name: '', internalType: 'bytes', type: 'bytes' },
1337
+ ],
1338
+ name: 'onERC721Received',
1339
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
1340
+ stateMutability: 'view',
1341
+ },
1342
+ {
1343
+ type: 'function',
1344
+ inputs: [],
1345
+ name: 'owners',
1346
+ outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }],
1347
+ stateMutability: 'view',
1348
+ },
1349
+ {
1350
+ type: 'function',
1351
+ inputs: [],
1352
+ name: 'payoutRecipient',
1353
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1354
+ stateMutability: 'view',
1355
+ },
1356
+ {
1357
+ type: 'function',
1358
+ inputs: [
1359
+ { name: 'owner', internalType: 'address', type: 'address' },
1360
+ { name: 'spender', internalType: 'address', type: 'address' },
1361
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
1362
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
1363
+ { name: 'v', internalType: 'uint8', type: 'uint8' },
1364
+ { name: 'r', internalType: 'bytes32', type: 'bytes32' },
1365
+ { name: 's', internalType: 'bytes32', type: 'bytes32' },
1366
+ ],
1367
+ name: 'permit',
1368
+ outputs: [],
1369
+ stateMutability: 'nonpayable',
1370
+ },
1371
+ {
1372
+ type: 'function',
1373
+ inputs: [],
1374
+ name: 'platformReferrer',
1375
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1376
+ stateMutability: 'view',
1377
+ },
1378
+ {
1379
+ type: 'function',
1380
+ inputs: [],
1381
+ name: 'poolAddress',
1382
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1383
+ stateMutability: 'view',
1384
+ },
1385
+ {
1386
+ type: 'function',
1387
+ inputs: [],
1388
+ name: 'protocolRewardRecipient',
1389
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1390
+ stateMutability: 'view',
1391
+ },
1392
+ {
1393
+ type: 'function',
1394
+ inputs: [],
1395
+ name: 'protocolRewards',
1396
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1397
+ stateMutability: 'view',
1398
+ },
1399
+ {
1400
+ type: 'function',
1401
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
1402
+ name: 'removeOwner',
1403
+ outputs: [],
1404
+ stateMutability: 'nonpayable',
1405
+ },
1406
+ {
1407
+ type: 'function',
1408
+ inputs: [
1409
+ { name: 'accounts', internalType: 'address[]', type: 'address[]' },
1410
+ ],
1411
+ name: 'removeOwners',
1412
+ outputs: [],
1413
+ stateMutability: 'nonpayable',
1414
+ },
1415
+ {
1416
+ type: 'function',
1417
+ inputs: [],
1418
+ name: 'revokeOwnership',
1419
+ outputs: [],
1420
+ stateMutability: 'nonpayable',
1421
+ },
1422
+ {
1423
+ type: 'function',
1424
+ inputs: [
1425
+ { name: 'recipient', internalType: 'address', type: 'address' },
1426
+ { name: 'orderSize', internalType: 'uint256', type: 'uint256' },
1427
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
1428
+ { name: 'sqrtPriceLimitX96', internalType: 'uint160', type: 'uint160' },
1429
+ { name: 'tradeReferrer', internalType: 'address', type: 'address' },
1430
+ ],
1431
+ name: 'sell',
1432
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1433
+ stateMutability: 'nonpayable',
1434
+ },
1435
+ {
1436
+ type: 'function',
1437
+ inputs: [{ name: 'newURI', internalType: 'string', type: 'string' }],
1438
+ name: 'setContractURI',
1439
+ outputs: [],
1440
+ stateMutability: 'nonpayable',
1441
+ },
1442
+ {
1443
+ type: 'function',
1444
+ inputs: [
1445
+ { name: 'newPayoutRecipient', internalType: 'address', type: 'address' },
1446
+ ],
1447
+ name: 'setPayoutRecipient',
1448
+ outputs: [],
1449
+ stateMutability: 'nonpayable',
1450
+ },
1451
+ {
1452
+ type: 'function',
1453
+ inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
1454
+ name: 'supportsInterface',
1455
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1456
+ stateMutability: 'pure',
1457
+ },
1458
+ {
1459
+ type: 'function',
1460
+ inputs: [],
1461
+ name: 'swapRouter',
1462
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1463
+ stateMutability: 'view',
1464
+ },
1465
+ {
1466
+ type: 'function',
1467
+ inputs: [],
1468
+ name: 'symbol',
1469
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1470
+ stateMutability: 'view',
1471
+ },
1472
+ {
1473
+ type: 'function',
1474
+ inputs: [],
1475
+ name: 'tokenURI',
1476
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1477
+ stateMutability: 'view',
1478
+ },
1479
+ {
1480
+ type: 'function',
1481
+ inputs: [],
1482
+ name: 'totalSupply',
1483
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1484
+ stateMutability: 'view',
1485
+ },
1486
+ {
1487
+ type: 'function',
1488
+ inputs: [
1489
+ { name: 'to', internalType: 'address', type: 'address' },
1490
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
1491
+ ],
1492
+ name: 'transfer',
1493
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1494
+ stateMutability: 'nonpayable',
1495
+ },
1496
+ {
1497
+ type: 'function',
1498
+ inputs: [
1499
+ { name: 'from', internalType: 'address', type: 'address' },
1500
+ { name: 'to', internalType: 'address', type: 'address' },
1501
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
1502
+ ],
1503
+ name: 'transferFrom',
1504
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1505
+ stateMutability: 'nonpayable',
1506
+ },
1507
+ {
1508
+ type: 'function',
1509
+ inputs: [
1510
+ { name: 'amount0Delta', internalType: 'int256', type: 'int256' },
1511
+ { name: 'amount1Delta', internalType: 'int256', type: 'int256' },
1512
+ { name: '', internalType: 'bytes', type: 'bytes' },
1513
+ ],
1514
+ name: 'uniswapV3SwapCallback',
1515
+ outputs: [],
1516
+ stateMutability: 'nonpayable',
1517
+ },
1518
+ {
1519
+ type: 'event',
1520
+ anonymous: false,
1521
+ inputs: [
1522
+ {
1523
+ name: 'owner',
1524
+ internalType: 'address',
1525
+ type: 'address',
1526
+ indexed: true,
1527
+ },
1528
+ {
1529
+ name: 'spender',
1530
+ internalType: 'address',
1531
+ type: 'address',
1532
+ indexed: true,
1533
+ },
1534
+ {
1535
+ name: 'value',
1536
+ internalType: 'uint256',
1537
+ type: 'uint256',
1538
+ indexed: false,
1539
+ },
1540
+ ],
1541
+ name: 'Approval',
1542
+ },
1543
+ {
1544
+ type: 'event',
1545
+ anonymous: false,
1546
+ inputs: [
1547
+ {
1548
+ name: 'buyer',
1549
+ internalType: 'address',
1550
+ type: 'address',
1551
+ indexed: true,
1552
+ },
1553
+ {
1554
+ name: 'recipient',
1555
+ internalType: 'address',
1556
+ type: 'address',
1557
+ indexed: true,
1558
+ },
1559
+ {
1560
+ name: 'tradeReferrer',
1561
+ internalType: 'address',
1562
+ type: 'address',
1563
+ indexed: true,
1564
+ },
1565
+ {
1566
+ name: 'coinsPurchased',
1567
+ internalType: 'uint256',
1568
+ type: 'uint256',
1569
+ indexed: false,
1570
+ },
1571
+ {
1572
+ name: 'currency',
1573
+ internalType: 'address',
1574
+ type: 'address',
1575
+ indexed: false,
1576
+ },
1577
+ {
1578
+ name: 'amountFee',
1579
+ internalType: 'uint256',
1580
+ type: 'uint256',
1581
+ indexed: false,
1582
+ },
1583
+ {
1584
+ name: 'amountSold',
1585
+ internalType: 'uint256',
1586
+ type: 'uint256',
1587
+ indexed: false,
1588
+ },
1589
+ {
1590
+ name: 'comment',
1591
+ internalType: 'string',
1592
+ type: 'string',
1593
+ indexed: false,
1594
+ },
1595
+ ],
1596
+ name: 'CoinBuy',
1597
+ },
1598
+ {
1599
+ type: 'event',
1600
+ anonymous: false,
1601
+ inputs: [
1602
+ {
1603
+ name: 'creatorPayoutAddress',
1604
+ internalType: 'address',
1605
+ type: 'address',
1606
+ indexed: true,
1607
+ },
1608
+ {
1609
+ name: 'platformReferrer',
1610
+ internalType: 'address',
1611
+ type: 'address',
1612
+ indexed: true,
1613
+ },
1614
+ {
1615
+ name: 'protocolRewardRecipient',
1616
+ internalType: 'address',
1617
+ type: 'address',
1618
+ indexed: false,
1619
+ },
1620
+ {
1621
+ name: 'currency',
1622
+ internalType: 'address',
1623
+ type: 'address',
1624
+ indexed: false,
1625
+ },
1626
+ {
1627
+ name: 'marketRewards',
1628
+ internalType: 'struct ICoin.MarketRewards',
1629
+ type: 'tuple',
1630
+ components: [
1631
+ {
1632
+ name: 'totalAmountCurrency',
1633
+ internalType: 'uint256',
1634
+ type: 'uint256',
1635
+ },
1636
+ { name: 'totalAmountCoin', internalType: 'uint256', type: 'uint256' },
1637
+ {
1638
+ name: 'creatorPayoutAmountCurrency',
1639
+ internalType: 'uint256',
1640
+ type: 'uint256',
1641
+ },
1642
+ {
1643
+ name: 'creatorPayoutAmountCoin',
1644
+ internalType: 'uint256',
1645
+ type: 'uint256',
1646
+ },
1647
+ {
1648
+ name: 'platformReferrerAmountCurrency',
1649
+ internalType: 'uint256',
1650
+ type: 'uint256',
1651
+ },
1652
+ {
1653
+ name: 'platformReferrerAmountCoin',
1654
+ internalType: 'uint256',
1655
+ type: 'uint256',
1656
+ },
1657
+ {
1658
+ name: 'protocolAmountCurrency',
1659
+ internalType: 'uint256',
1660
+ type: 'uint256',
1661
+ },
1662
+ {
1663
+ name: 'protocolAmountCoin',
1664
+ internalType: 'uint256',
1665
+ type: 'uint256',
1666
+ },
1667
+ ],
1668
+ indexed: false,
1669
+ },
1670
+ ],
1671
+ name: 'CoinMarketRewards',
1672
+ },
1673
+ {
1674
+ type: 'event',
1675
+ anonymous: false,
1676
+ inputs: [
1677
+ {
1678
+ name: 'caller',
1679
+ internalType: 'address',
1680
+ type: 'address',
1681
+ indexed: true,
1682
+ },
1683
+ {
1684
+ name: 'prevRecipient',
1685
+ internalType: 'address',
1686
+ type: 'address',
1687
+ indexed: true,
1688
+ },
1689
+ {
1690
+ name: 'newRecipient',
1691
+ internalType: 'address',
1692
+ type: 'address',
1693
+ indexed: true,
1694
+ },
1695
+ ],
1696
+ name: 'CoinPayoutRecipientUpdated',
1697
+ },
1698
+ {
1699
+ type: 'event',
1700
+ anonymous: false,
1701
+ inputs: [
1702
+ {
1703
+ name: 'seller',
1704
+ internalType: 'address',
1705
+ type: 'address',
1706
+ indexed: true,
1707
+ },
1708
+ {
1709
+ name: 'recipient',
1710
+ internalType: 'address',
1711
+ type: 'address',
1712
+ indexed: true,
1713
+ },
1714
+ {
1715
+ name: 'tradeReferrer',
1716
+ internalType: 'address',
1717
+ type: 'address',
1718
+ indexed: true,
1719
+ },
1720
+ {
1721
+ name: 'coinsSold',
1722
+ internalType: 'uint256',
1723
+ type: 'uint256',
1724
+ indexed: false,
1725
+ },
1726
+ {
1727
+ name: 'currency',
1728
+ internalType: 'address',
1729
+ type: 'address',
1730
+ indexed: false,
1731
+ },
1732
+ {
1733
+ name: 'amountFee',
1734
+ internalType: 'uint256',
1735
+ type: 'uint256',
1736
+ indexed: false,
1737
+ },
1738
+ {
1739
+ name: 'amountPurchased',
1740
+ internalType: 'uint256',
1741
+ type: 'uint256',
1742
+ indexed: false,
1743
+ },
1744
+ {
1745
+ name: 'comment',
1746
+ internalType: 'string',
1747
+ type: 'string',
1748
+ indexed: false,
1749
+ },
1750
+ ],
1751
+ name: 'CoinSell',
1752
+ },
1753
+ {
1754
+ type: 'event',
1755
+ anonymous: false,
1756
+ inputs: [
1757
+ {
1758
+ name: 'creatorPayoutRecipient',
1759
+ internalType: 'address',
1760
+ type: 'address',
1761
+ indexed: true,
1762
+ },
1763
+ {
1764
+ name: 'platformReferrer',
1765
+ internalType: 'address',
1766
+ type: 'address',
1767
+ indexed: true,
1768
+ },
1769
+ {
1770
+ name: 'tradeReferrer',
1771
+ internalType: 'address',
1772
+ type: 'address',
1773
+ indexed: true,
1774
+ },
1775
+ {
1776
+ name: 'protocolRewardRecipient',
1777
+ internalType: 'address',
1778
+ type: 'address',
1779
+ indexed: false,
1780
+ },
1781
+ {
1782
+ name: 'creatorReward',
1783
+ internalType: 'uint256',
1784
+ type: 'uint256',
1785
+ indexed: false,
1786
+ },
1787
+ {
1788
+ name: 'platformReferrerReward',
1789
+ internalType: 'uint256',
1790
+ type: 'uint256',
1791
+ indexed: false,
1792
+ },
1793
+ {
1794
+ name: 'traderReferrerReward',
1795
+ internalType: 'uint256',
1796
+ type: 'uint256',
1797
+ indexed: false,
1798
+ },
1799
+ {
1800
+ name: 'protocolReward',
1801
+ internalType: 'uint256',
1802
+ type: 'uint256',
1803
+ indexed: false,
1804
+ },
1805
+ {
1806
+ name: 'currency',
1807
+ internalType: 'address',
1808
+ type: 'address',
1809
+ indexed: false,
1810
+ },
1811
+ ],
1812
+ name: 'CoinTradeRewards',
1813
+ },
1814
+ {
1815
+ type: 'event',
1816
+ anonymous: false,
1817
+ inputs: [
1818
+ {
1819
+ name: 'sender',
1820
+ internalType: 'address',
1821
+ type: 'address',
1822
+ indexed: true,
1823
+ },
1824
+ {
1825
+ name: 'recipient',
1826
+ internalType: 'address',
1827
+ type: 'address',
1828
+ indexed: true,
1829
+ },
1830
+ {
1831
+ name: 'amount',
1832
+ internalType: 'uint256',
1833
+ type: 'uint256',
1834
+ indexed: false,
1835
+ },
1836
+ {
1837
+ name: 'senderBalance',
1838
+ internalType: 'uint256',
1839
+ type: 'uint256',
1840
+ indexed: false,
1841
+ },
1842
+ {
1843
+ name: 'recipientBalance',
1844
+ internalType: 'uint256',
1845
+ type: 'uint256',
1846
+ indexed: false,
1847
+ },
1848
+ ],
1849
+ name: 'CoinTransfer',
1850
+ },
1851
+ {
1852
+ type: 'event',
1853
+ anonymous: false,
1854
+ inputs: [
1855
+ {
1856
+ name: 'caller',
1857
+ internalType: 'address',
1858
+ type: 'address',
1859
+ indexed: true,
1860
+ },
1861
+ {
1862
+ name: 'newURI',
1863
+ internalType: 'string',
1864
+ type: 'string',
1865
+ indexed: false,
1866
+ },
1867
+ { name: 'name', internalType: 'string', type: 'string', indexed: false },
1868
+ ],
1869
+ name: 'ContractMetadataUpdated',
1870
+ },
1871
+ { type: 'event', anonymous: false, inputs: [], name: 'ContractURIUpdated' },
1872
+ { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
1873
+ {
1874
+ type: 'event',
1875
+ anonymous: false,
1876
+ inputs: [
1877
+ {
1878
+ name: 'version',
1879
+ internalType: 'uint64',
1880
+ type: 'uint64',
1881
+ indexed: false,
1882
+ },
1883
+ ],
1884
+ name: 'Initialized',
1885
+ },
1886
+ {
1887
+ type: 'event',
1888
+ anonymous: false,
1889
+ inputs: [
1890
+ {
1891
+ name: 'caller',
1892
+ internalType: 'address',
1893
+ type: 'address',
1894
+ indexed: true,
1895
+ },
1896
+ {
1897
+ name: 'prevOwner',
1898
+ internalType: 'address',
1899
+ type: 'address',
1900
+ indexed: true,
1901
+ },
1902
+ {
1903
+ name: 'newOwner',
1904
+ internalType: 'address',
1905
+ type: 'address',
1906
+ indexed: true,
1907
+ },
1908
+ ],
1909
+ name: 'OwnerUpdated',
1910
+ },
1911
+ {
1912
+ type: 'event',
1913
+ anonymous: false,
1914
+ inputs: [
1915
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
1916
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
1917
+ {
1918
+ name: 'value',
1919
+ internalType: 'uint256',
1920
+ type: 'uint256',
1921
+ indexed: false,
1922
+ },
1923
+ ],
1924
+ name: 'Transfer',
1925
+ },
1926
+ {
1927
+ type: 'error',
1928
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
1929
+ name: 'AddressEmptyCode',
1930
+ },
1931
+ {
1932
+ type: 'error',
1933
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
1934
+ name: 'AddressInsufficientBalance',
1935
+ },
1936
+ { type: 'error', inputs: [], name: 'AddressZero' },
1937
+ { type: 'error', inputs: [], name: 'AlreadyOwner' },
1938
+ { type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
1939
+ {
1940
+ type: 'error',
1941
+ inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
1942
+ name: 'ECDSAInvalidSignatureLength',
1943
+ },
1944
+ {
1945
+ type: 'error',
1946
+ inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
1947
+ name: 'ECDSAInvalidSignatureS',
1948
+ },
1949
+ {
1950
+ type: 'error',
1951
+ inputs: [
1952
+ { name: 'spender', internalType: 'address', type: 'address' },
1953
+ { name: 'allowance', internalType: 'uint256', type: 'uint256' },
1954
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
1955
+ ],
1956
+ name: 'ERC20InsufficientAllowance',
1957
+ },
1958
+ {
1959
+ type: 'error',
1960
+ inputs: [
1961
+ { name: 'sender', internalType: 'address', type: 'address' },
1962
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
1963
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
1964
+ ],
1965
+ name: 'ERC20InsufficientBalance',
1966
+ },
1967
+ {
1968
+ type: 'error',
1969
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
1970
+ name: 'ERC20InvalidApprover',
1971
+ },
1972
+ {
1973
+ type: 'error',
1974
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
1975
+ name: 'ERC20InvalidReceiver',
1976
+ },
1977
+ {
1978
+ type: 'error',
1979
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
1980
+ name: 'ERC20InvalidSender',
1981
+ },
1982
+ {
1983
+ type: 'error',
1984
+ inputs: [{ name: 'spender', internalType: 'address', type: 'address' }],
1985
+ name: 'ERC20InvalidSpender',
1986
+ },
1987
+ { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
1988
+ {
1989
+ type: 'error',
1990
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
1991
+ name: 'ERC2612ExpiredSignature',
1992
+ },
1993
+ {
1994
+ type: 'error',
1995
+ inputs: [
1996
+ { name: 'signer', internalType: 'address', type: 'address' },
1997
+ { name: 'owner', internalType: 'address', type: 'address' },
1998
+ ],
1999
+ name: 'ERC2612InvalidSigner',
2000
+ },
2001
+ { type: 'error', inputs: [], name: 'EthAmountMismatch' },
2002
+ { type: 'error', inputs: [], name: 'EthAmountTooSmall' },
2003
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
2004
+ { type: 'error', inputs: [], name: 'EthTransferInvalid' },
2005
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
2006
+ { type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
2007
+ { type: 'error', inputs: [], name: 'InsufficientFunds' },
2008
+ { type: 'error', inputs: [], name: 'InsufficientLiquidity' },
2009
+ {
2010
+ type: 'error',
2011
+ inputs: [
2012
+ { name: 'account', internalType: 'address', type: 'address' },
2013
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
2014
+ ],
2015
+ name: 'InvalidAccountNonce',
2016
+ },
2017
+ { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
2018
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
2019
+ { type: 'error', inputs: [], name: 'InvalidMarketType' },
2020
+ { type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
2021
+ { type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
2022
+ { type: 'error', inputs: [], name: 'MarketNotGraduated' },
2023
+ { type: 'error', inputs: [], name: 'NotInitializing' },
2024
+ { type: 'error', inputs: [], name: 'NotOwner' },
2025
+ { type: 'error', inputs: [], name: 'OneOwnerRequired' },
2026
+ { type: 'error', inputs: [], name: 'OnlyOwner' },
2027
+ { type: 'error', inputs: [], name: 'OnlyPool' },
2028
+ { type: 'error', inputs: [], name: 'OnlyWeth' },
2029
+ { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
2030
+ { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
2031
+ {
2032
+ type: 'error',
2033
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
2034
+ name: 'SafeERC20FailedOperation',
2035
+ },
2036
+ { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
2037
+ { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
2038
+ ] as const
2039
+
1078
2040
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1079
2041
  // Cointag
1080
2042
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -1482,6 +2444,7 @@ export const cointagABI = [
1482
2444
  name: 'InvalidUpgradePath',
1483
2445
  },
1484
2446
  { type: 'error', inputs: [], name: 'NotInitializing' },
2447
+ { type: 'error', inputs: [], name: 'NotUniswapV3Pool' },
1485
2448
  { type: 'error', inputs: [], name: 'OnlyPool' },
1486
2449
  { type: 'error', inputs: [], name: 'OnlyProtocolRewardsOrWeth' },
1487
2450
  {
@@ -10999,6 +11962,278 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
10999
11962
  abi: zoraCreatorRedeemMinterFactoryABI,
11000
11963
  } as const
11001
11964
 
11965
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
11966
+ // ZoraFactory
11967
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
11968
+
11969
+ /**
11970
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xC1d310288E76bE71E7A26d269Fd6cbd3A1D9febC)
11971
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x1E670515d3A4C75C0860846c0605c84AF0e0db0d)
11972
+ */
11973
+ export const zoraFactoryABI = [
11974
+ {
11975
+ type: 'constructor',
11976
+ inputs: [{ name: '_coinImpl', internalType: 'address', type: 'address' }],
11977
+ stateMutability: 'nonpayable',
11978
+ },
11979
+ {
11980
+ type: 'function',
11981
+ inputs: [],
11982
+ name: 'UPGRADE_INTERFACE_VERSION',
11983
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
11984
+ stateMutability: 'view',
11985
+ },
11986
+ {
11987
+ type: 'function',
11988
+ inputs: [],
11989
+ name: 'coinImpl',
11990
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
11991
+ stateMutability: 'view',
11992
+ },
11993
+ {
11994
+ type: 'function',
11995
+ inputs: [
11996
+ { name: 'payoutRecipient', internalType: 'address', type: 'address' },
11997
+ { name: 'owners', internalType: 'address[]', type: 'address[]' },
11998
+ { name: 'uri', internalType: 'string', type: 'string' },
11999
+ { name: 'name', internalType: 'string', type: 'string' },
12000
+ { name: 'symbol', internalType: 'string', type: 'string' },
12001
+ { name: 'platformReferrer', internalType: 'address', type: 'address' },
12002
+ { name: 'currency', internalType: 'address', type: 'address' },
12003
+ { name: 'tickLower', internalType: 'int24', type: 'int24' },
12004
+ { name: 'orderSize', internalType: 'uint256', type: 'uint256' },
12005
+ ],
12006
+ name: 'deploy',
12007
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
12008
+ stateMutability: 'payable',
12009
+ },
12010
+ {
12011
+ type: 'function',
12012
+ inputs: [],
12013
+ name: 'implementation',
12014
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
12015
+ stateMutability: 'view',
12016
+ },
12017
+ {
12018
+ type: 'function',
12019
+ inputs: [
12020
+ { name: 'initialOwner', internalType: 'address', type: 'address' },
12021
+ ],
12022
+ name: 'initialize',
12023
+ outputs: [],
12024
+ stateMutability: 'nonpayable',
12025
+ },
12026
+ {
12027
+ type: 'function',
12028
+ inputs: [],
12029
+ name: 'owner',
12030
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
12031
+ stateMutability: 'view',
12032
+ },
12033
+ {
12034
+ type: 'function',
12035
+ inputs: [],
12036
+ name: 'proxiableUUID',
12037
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
12038
+ stateMutability: 'view',
12039
+ },
12040
+ {
12041
+ type: 'function',
12042
+ inputs: [],
12043
+ name: 'renounceOwnership',
12044
+ outputs: [],
12045
+ stateMutability: 'nonpayable',
12046
+ },
12047
+ {
12048
+ type: 'function',
12049
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
12050
+ name: 'transferOwnership',
12051
+ outputs: [],
12052
+ stateMutability: 'nonpayable',
12053
+ },
12054
+ {
12055
+ type: 'function',
12056
+ inputs: [
12057
+ { name: 'newImplementation', internalType: 'address', type: 'address' },
12058
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
12059
+ ],
12060
+ name: 'upgradeToAndCall',
12061
+ outputs: [],
12062
+ stateMutability: 'payable',
12063
+ },
12064
+ {
12065
+ type: 'event',
12066
+ anonymous: false,
12067
+ inputs: [
12068
+ {
12069
+ name: 'deployer',
12070
+ internalType: 'address',
12071
+ type: 'address',
12072
+ indexed: true,
12073
+ },
12074
+ {
12075
+ name: 'creator',
12076
+ internalType: 'address',
12077
+ type: 'address',
12078
+ indexed: true,
12079
+ },
12080
+ {
12081
+ name: 'payoutRecipient',
12082
+ internalType: 'address',
12083
+ type: 'address',
12084
+ indexed: true,
12085
+ },
12086
+ {
12087
+ name: 'platformReferrer',
12088
+ internalType: 'address',
12089
+ type: 'address',
12090
+ indexed: false,
12091
+ },
12092
+ {
12093
+ name: 'currency',
12094
+ internalType: 'address',
12095
+ type: 'address',
12096
+ indexed: false,
12097
+ },
12098
+ {
12099
+ name: 'tokenURI',
12100
+ internalType: 'string',
12101
+ type: 'string',
12102
+ indexed: false,
12103
+ },
12104
+ { name: 'name', internalType: 'string', type: 'string', indexed: false },
12105
+ {
12106
+ name: 'symbol',
12107
+ internalType: 'string',
12108
+ type: 'string',
12109
+ indexed: false,
12110
+ },
12111
+ {
12112
+ name: 'coin',
12113
+ internalType: 'address',
12114
+ type: 'address',
12115
+ indexed: false,
12116
+ },
12117
+ {
12118
+ name: 'pool',
12119
+ internalType: 'address',
12120
+ type: 'address',
12121
+ indexed: false,
12122
+ },
12123
+ ],
12124
+ name: 'CoinCreated',
12125
+ },
12126
+ {
12127
+ type: 'event',
12128
+ anonymous: false,
12129
+ inputs: [
12130
+ {
12131
+ name: 'version',
12132
+ internalType: 'uint64',
12133
+ type: 'uint64',
12134
+ indexed: false,
12135
+ },
12136
+ ],
12137
+ name: 'Initialized',
12138
+ },
12139
+ {
12140
+ type: 'event',
12141
+ anonymous: false,
12142
+ inputs: [
12143
+ {
12144
+ name: 'previousOwner',
12145
+ internalType: 'address',
12146
+ type: 'address',
12147
+ indexed: true,
12148
+ },
12149
+ {
12150
+ name: 'newOwner',
12151
+ internalType: 'address',
12152
+ type: 'address',
12153
+ indexed: true,
12154
+ },
12155
+ ],
12156
+ name: 'OwnershipTransferred',
12157
+ },
12158
+ {
12159
+ type: 'event',
12160
+ anonymous: false,
12161
+ inputs: [
12162
+ {
12163
+ name: 'implementation',
12164
+ internalType: 'address',
12165
+ type: 'address',
12166
+ indexed: true,
12167
+ },
12168
+ ],
12169
+ name: 'Upgraded',
12170
+ },
12171
+ {
12172
+ type: 'error',
12173
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
12174
+ name: 'AddressEmptyCode',
12175
+ },
12176
+ {
12177
+ type: 'error',
12178
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
12179
+ name: 'AddressInsufficientBalance',
12180
+ },
12181
+ { type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
12182
+ {
12183
+ type: 'error',
12184
+ inputs: [
12185
+ { name: 'implementation', internalType: 'address', type: 'address' },
12186
+ ],
12187
+ name: 'ERC1967InvalidImplementation',
12188
+ },
12189
+ { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
12190
+ { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
12191
+ { type: 'error', inputs: [], name: 'EthTransferInvalid' },
12192
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
12193
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
12194
+ { type: 'error', inputs: [], name: 'NotInitializing' },
12195
+ {
12196
+ type: 'error',
12197
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
12198
+ name: 'OwnableInvalidOwner',
12199
+ },
12200
+ {
12201
+ type: 'error',
12202
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
12203
+ name: 'OwnableUnauthorizedAccount',
12204
+ },
12205
+ { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
12206
+ {
12207
+ type: 'error',
12208
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
12209
+ name: 'SafeERC20FailedOperation',
12210
+ },
12211
+ { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
12212
+ {
12213
+ type: 'error',
12214
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
12215
+ name: 'UUPSUnsupportedProxiableUUID',
12216
+ },
12217
+ ] as const
12218
+
12219
+ /**
12220
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xC1d310288E76bE71E7A26d269Fd6cbd3A1D9febC)
12221
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x1E670515d3A4C75C0860846c0605c84AF0e0db0d)
12222
+ */
12223
+ export const zoraFactoryAddress = {
12224
+ 8453: '0xC1d310288E76bE71E7A26d269Fd6cbd3A1D9febC',
12225
+ 84532: '0x1E670515d3A4C75C0860846c0605c84AF0e0db0d',
12226
+ } as const
12227
+
12228
+ /**
12229
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xC1d310288E76bE71E7A26d269Fd6cbd3A1D9febC)
12230
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x1E670515d3A4C75C0860846c0605c84AF0e0db0d)
12231
+ */
12232
+ export const zoraFactoryConfig = {
12233
+ address: zoraFactoryAddress,
12234
+ abi: zoraFactoryABI,
12235
+ } as const
12236
+
11002
12237
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
11003
12238
  // ZoraMints1155
11004
12239
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////