@zoralabs/protocol-deployments 0.3.11-DEV.2 → 0.3.11-DEV.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoralabs/protocol-deployments",
3
- "version": "0.3.11-DEV.2",
3
+ "version": "0.3.11-DEV.3",
4
4
  "repository": "https://github.com/ourzora/zora-protocol",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1075,6 +1075,551 @@ export const callerAndCommenterConfig = {
1075
1075
  abi: callerAndCommenterABI,
1076
1076
  } as const
1077
1077
 
1078
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1079
+ // Cointag
1080
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1081
+
1082
+ export const cointagABI = [
1083
+ {
1084
+ type: 'constructor',
1085
+ inputs: [
1086
+ { name: '_protocolRewards', internalType: 'address', type: 'address' },
1087
+ { name: '_weth', internalType: 'address', type: 'address' },
1088
+ ],
1089
+ stateMutability: 'nonpayable',
1090
+ },
1091
+ { type: 'receive', stateMutability: 'payable' },
1092
+ {
1093
+ type: 'function',
1094
+ inputs: [],
1095
+ name: 'PERCENTAGE_BASIS',
1096
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1097
+ stateMutability: 'view',
1098
+ },
1099
+ {
1100
+ type: 'function',
1101
+ inputs: [],
1102
+ name: 'creatorRewardRecipient',
1103
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1104
+ stateMutability: 'view',
1105
+ },
1106
+ {
1107
+ type: 'function',
1108
+ inputs: [],
1109
+ name: 'erc20',
1110
+ outputs: [
1111
+ { name: '', internalType: 'contract IBurnableERC20', type: 'address' },
1112
+ ],
1113
+ stateMutability: 'view',
1114
+ },
1115
+ {
1116
+ type: 'function',
1117
+ inputs: [
1118
+ {
1119
+ name: '_creatorRewardRecipient',
1120
+ internalType: 'address',
1121
+ type: 'address',
1122
+ },
1123
+ { name: '_pool', internalType: 'address', type: 'address' },
1124
+ {
1125
+ name: '_percentageToBuyBurn',
1126
+ internalType: 'uint256',
1127
+ type: 'uint256',
1128
+ },
1129
+ ],
1130
+ name: 'initialize',
1131
+ outputs: [],
1132
+ stateMutability: 'nonpayable',
1133
+ },
1134
+ {
1135
+ type: 'function',
1136
+ inputs: [],
1137
+ name: 'percentageToBuyBurn',
1138
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1139
+ stateMutability: 'view',
1140
+ },
1141
+ {
1142
+ type: 'function',
1143
+ inputs: [],
1144
+ name: 'pool',
1145
+ outputs: [
1146
+ { name: '', internalType: 'contract IUniswapV3Pool', type: 'address' },
1147
+ ],
1148
+ stateMutability: 'view',
1149
+ },
1150
+ {
1151
+ type: 'function',
1152
+ inputs: [],
1153
+ name: 'protocolRewards',
1154
+ outputs: [
1155
+ { name: '', internalType: 'contract IProtocolRewards', type: 'address' },
1156
+ ],
1157
+ stateMutability: 'view',
1158
+ },
1159
+ {
1160
+ type: 'function',
1161
+ inputs: [
1162
+ { name: 'amount0Delta', internalType: 'int256', type: 'int256' },
1163
+ { name: 'amount1Delta', internalType: 'int256', type: 'int256' },
1164
+ { name: '', internalType: 'bytes', type: 'bytes' },
1165
+ ],
1166
+ name: 'uniswapV3SwapCallback',
1167
+ outputs: [],
1168
+ stateMutability: 'nonpayable',
1169
+ },
1170
+ {
1171
+ type: 'function',
1172
+ inputs: [],
1173
+ name: 'weth',
1174
+ outputs: [{ name: '', internalType: 'contract IWETH', type: 'address' }],
1175
+ stateMutability: 'view',
1176
+ },
1177
+ {
1178
+ type: 'function',
1179
+ inputs: [],
1180
+ name: 'withdraw',
1181
+ outputs: [],
1182
+ stateMutability: 'nonpayable',
1183
+ },
1184
+ {
1185
+ type: 'event',
1186
+ anonymous: false,
1187
+ inputs: [
1188
+ {
1189
+ name: 'amountERc20Received',
1190
+ internalType: 'uint256',
1191
+ type: 'uint256',
1192
+ indexed: false,
1193
+ },
1194
+ {
1195
+ name: 'amountERc20Burned',
1196
+ internalType: 'uint256',
1197
+ type: 'uint256',
1198
+ indexed: false,
1199
+ },
1200
+ {
1201
+ name: 'amountEthSpent',
1202
+ internalType: 'uint256',
1203
+ type: 'uint256',
1204
+ indexed: false,
1205
+ },
1206
+ {
1207
+ name: 'amountEthToCreator',
1208
+ internalType: 'uint256',
1209
+ type: 'uint256',
1210
+ indexed: false,
1211
+ },
1212
+ {
1213
+ name: 'totalEthReceived',
1214
+ internalType: 'uint256',
1215
+ type: 'uint256',
1216
+ indexed: false,
1217
+ },
1218
+ {
1219
+ name: 'buyFailureError',
1220
+ internalType: 'bytes',
1221
+ type: 'bytes',
1222
+ indexed: false,
1223
+ },
1224
+ {
1225
+ name: 'burnFailureError',
1226
+ internalType: 'bytes',
1227
+ type: 'bytes',
1228
+ indexed: false,
1229
+ },
1230
+ ],
1231
+ name: 'BuyBurn',
1232
+ },
1233
+ {
1234
+ type: 'event',
1235
+ anonymous: false,
1236
+ inputs: [
1237
+ {
1238
+ name: 'version',
1239
+ internalType: 'uint64',
1240
+ type: 'uint64',
1241
+ indexed: false,
1242
+ },
1243
+ ],
1244
+ name: 'Initialized',
1245
+ },
1246
+ {
1247
+ type: 'event',
1248
+ anonymous: false,
1249
+ inputs: [
1250
+ {
1251
+ name: 'creatorRewardRecipient',
1252
+ internalType: 'address',
1253
+ type: 'address',
1254
+ indexed: false,
1255
+ },
1256
+ {
1257
+ name: 'erc20',
1258
+ internalType: 'address',
1259
+ type: 'address',
1260
+ indexed: false,
1261
+ },
1262
+ {
1263
+ name: 'pool',
1264
+ internalType: 'address',
1265
+ type: 'address',
1266
+ indexed: false,
1267
+ },
1268
+ {
1269
+ name: 'percentageToBuyBurn',
1270
+ internalType: 'uint256',
1271
+ type: 'uint256',
1272
+ indexed: false,
1273
+ },
1274
+ ],
1275
+ name: 'Initialized',
1276
+ },
1277
+ {
1278
+ type: 'error',
1279
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
1280
+ name: 'AddressEmptyCode',
1281
+ },
1282
+ {
1283
+ type: 'error',
1284
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
1285
+ name: 'AddressInsufficientBalance',
1286
+ },
1287
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
1288
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
1289
+ { type: 'error', inputs: [], name: 'NotInitializing' },
1290
+ { type: 'error', inputs: [], name: 'ONLY_POOL' },
1291
+ { type: 'error', inputs: [], name: 'ONLY_PROTOCOL_REWARDS_OR_WETH' },
1292
+ {
1293
+ type: 'error',
1294
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
1295
+ name: 'SafeERC20FailedOperation',
1296
+ },
1297
+ ] as const
1298
+
1299
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1300
+ // CointagFactory
1301
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1302
+
1303
+ /**
1304
+ * [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8)
1305
+ */
1306
+ export const cointagFactoryABI = [
1307
+ {
1308
+ type: 'constructor',
1309
+ inputs: [
1310
+ { name: '_protocolRewards', internalType: 'address', type: 'address' },
1311
+ { name: '_weth', internalType: 'address', type: 'address' },
1312
+ {
1313
+ name: '_cointagImplementation',
1314
+ internalType: 'address',
1315
+ type: 'address',
1316
+ },
1317
+ ],
1318
+ stateMutability: 'nonpayable',
1319
+ },
1320
+ {
1321
+ type: 'function',
1322
+ inputs: [],
1323
+ name: 'UPGRADE_INTERFACE_VERSION',
1324
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1325
+ stateMutability: 'view',
1326
+ },
1327
+ {
1328
+ type: 'function',
1329
+ inputs: [],
1330
+ name: 'acceptOwnership',
1331
+ outputs: [],
1332
+ stateMutability: 'nonpayable',
1333
+ },
1334
+ {
1335
+ type: 'function',
1336
+ inputs: [],
1337
+ name: 'cointagImplementation',
1338
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1339
+ stateMutability: 'view',
1340
+ },
1341
+ {
1342
+ type: 'function',
1343
+ inputs: [],
1344
+ name: 'contractName',
1345
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1346
+ stateMutability: 'pure',
1347
+ },
1348
+ {
1349
+ type: 'function',
1350
+ inputs: [],
1351
+ name: 'contractURI',
1352
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1353
+ stateMutability: 'pure',
1354
+ },
1355
+ {
1356
+ type: 'function',
1357
+ inputs: [],
1358
+ name: 'contractVersion',
1359
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
1360
+ stateMutability: 'pure',
1361
+ },
1362
+ {
1363
+ type: 'function',
1364
+ inputs: [
1365
+ {
1366
+ name: '_creatorRewardRecipient',
1367
+ internalType: 'address',
1368
+ type: 'address',
1369
+ },
1370
+ { name: '_pool', internalType: 'address', type: 'address' },
1371
+ {
1372
+ name: '_percentageToBuyBurn',
1373
+ internalType: 'uint256',
1374
+ type: 'uint256',
1375
+ },
1376
+ { name: 'saltSource', internalType: 'bytes', type: 'bytes' },
1377
+ ],
1378
+ name: 'getOrCreateCointag',
1379
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1380
+ stateMutability: 'nonpayable',
1381
+ },
1382
+ {
1383
+ type: 'function',
1384
+ inputs: [],
1385
+ name: 'implementation',
1386
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1387
+ stateMutability: 'view',
1388
+ },
1389
+ {
1390
+ type: 'function',
1391
+ inputs: [
1392
+ { name: '_defaultOwner', internalType: 'address', type: 'address' },
1393
+ ],
1394
+ name: 'initialize',
1395
+ outputs: [],
1396
+ stateMutability: 'nonpayable',
1397
+ },
1398
+ {
1399
+ type: 'function',
1400
+ inputs: [],
1401
+ name: 'owner',
1402
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1403
+ stateMutability: 'view',
1404
+ },
1405
+ {
1406
+ type: 'function',
1407
+ inputs: [],
1408
+ name: 'pendingOwner',
1409
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1410
+ stateMutability: 'view',
1411
+ },
1412
+ {
1413
+ type: 'function',
1414
+ inputs: [],
1415
+ name: 'protocolRewards',
1416
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1417
+ stateMutability: 'view',
1418
+ },
1419
+ {
1420
+ type: 'function',
1421
+ inputs: [],
1422
+ name: 'proxiableUUID',
1423
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1424
+ stateMutability: 'view',
1425
+ },
1426
+ {
1427
+ type: 'function',
1428
+ inputs: [],
1429
+ name: 'renounceOwnership',
1430
+ outputs: [],
1431
+ stateMutability: 'nonpayable',
1432
+ },
1433
+ {
1434
+ type: 'function',
1435
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
1436
+ name: 'transferOwnership',
1437
+ outputs: [],
1438
+ stateMutability: 'nonpayable',
1439
+ },
1440
+ {
1441
+ type: 'function',
1442
+ inputs: [
1443
+ { name: 'newImplementation', internalType: 'address', type: 'address' },
1444
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
1445
+ ],
1446
+ name: 'upgradeToAndCall',
1447
+ outputs: [],
1448
+ stateMutability: 'payable',
1449
+ },
1450
+ {
1451
+ type: 'function',
1452
+ inputs: [],
1453
+ name: 'weth',
1454
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
1455
+ stateMutability: 'view',
1456
+ },
1457
+ {
1458
+ type: 'event',
1459
+ anonymous: false,
1460
+ inputs: [
1461
+ {
1462
+ name: 'version',
1463
+ internalType: 'uint64',
1464
+ type: 'uint64',
1465
+ indexed: false,
1466
+ },
1467
+ ],
1468
+ name: 'Initialized',
1469
+ },
1470
+ {
1471
+ type: 'event',
1472
+ anonymous: false,
1473
+ inputs: [
1474
+ {
1475
+ name: 'previousOwner',
1476
+ internalType: 'address',
1477
+ type: 'address',
1478
+ indexed: true,
1479
+ },
1480
+ {
1481
+ name: 'newOwner',
1482
+ internalType: 'address',
1483
+ type: 'address',
1484
+ indexed: true,
1485
+ },
1486
+ ],
1487
+ name: 'OwnershipTransferStarted',
1488
+ },
1489
+ {
1490
+ type: 'event',
1491
+ anonymous: false,
1492
+ inputs: [
1493
+ {
1494
+ name: 'previousOwner',
1495
+ internalType: 'address',
1496
+ type: 'address',
1497
+ indexed: true,
1498
+ },
1499
+ {
1500
+ name: 'newOwner',
1501
+ internalType: 'address',
1502
+ type: 'address',
1503
+ indexed: true,
1504
+ },
1505
+ ],
1506
+ name: 'OwnershipTransferred',
1507
+ },
1508
+ {
1509
+ type: 'event',
1510
+ anonymous: false,
1511
+ inputs: [
1512
+ {
1513
+ name: 'cointag',
1514
+ internalType: 'address',
1515
+ type: 'address',
1516
+ indexed: true,
1517
+ },
1518
+ {
1519
+ name: 'creatorRewardRecipient',
1520
+ internalType: 'address',
1521
+ type: 'address',
1522
+ indexed: true,
1523
+ },
1524
+ {
1525
+ name: 'erc20',
1526
+ internalType: 'address',
1527
+ type: 'address',
1528
+ indexed: true,
1529
+ },
1530
+ {
1531
+ name: 'pool',
1532
+ internalType: 'address',
1533
+ type: 'address',
1534
+ indexed: false,
1535
+ },
1536
+ {
1537
+ name: 'percentageToBuyBurn',
1538
+ internalType: 'uint256',
1539
+ type: 'uint256',
1540
+ indexed: false,
1541
+ },
1542
+ {
1543
+ name: 'saltSource',
1544
+ internalType: 'bytes',
1545
+ type: 'bytes',
1546
+ indexed: false,
1547
+ },
1548
+ ],
1549
+ name: 'SetupNewCointag',
1550
+ },
1551
+ {
1552
+ type: 'event',
1553
+ anonymous: false,
1554
+ inputs: [
1555
+ {
1556
+ name: 'implementation',
1557
+ internalType: 'address',
1558
+ type: 'address',
1559
+ indexed: true,
1560
+ },
1561
+ ],
1562
+ name: 'Upgraded',
1563
+ },
1564
+ {
1565
+ type: 'error',
1566
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
1567
+ name: 'AddressEmptyCode',
1568
+ },
1569
+ { type: 'error', inputs: [], name: 'AddressZero' },
1570
+ { type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
1571
+ {
1572
+ type: 'error',
1573
+ inputs: [
1574
+ { name: 'implementation', internalType: 'address', type: 'address' },
1575
+ ],
1576
+ name: 'ERC1967InvalidImplementation',
1577
+ },
1578
+ { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
1579
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
1580
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
1581
+ { type: 'error', inputs: [], name: 'NotInitializing' },
1582
+ {
1583
+ type: 'error',
1584
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
1585
+ name: 'OwnableInvalidOwner',
1586
+ },
1587
+ {
1588
+ type: 'error',
1589
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
1590
+ name: 'OwnableUnauthorizedAccount',
1591
+ },
1592
+ { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
1593
+ {
1594
+ type: 'error',
1595
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
1596
+ name: 'UUPSUnsupportedProxiableUUID',
1597
+ },
1598
+ {
1599
+ type: 'error',
1600
+ inputs: [
1601
+ { name: 'currentName', internalType: 'string', type: 'string' },
1602
+ { name: 'newName', internalType: 'string', type: 'string' },
1603
+ ],
1604
+ name: 'UpgradeToMismatchedContractName',
1605
+ },
1606
+ ] as const
1607
+
1608
+ /**
1609
+ * [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8)
1610
+ */
1611
+ export const cointagFactoryAddress = {
1612
+ 84532: '0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8',
1613
+ } as const
1614
+
1615
+ /**
1616
+ * [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8)
1617
+ */
1618
+ export const cointagFactoryConfig = {
1619
+ address: cointagFactoryAddress,
1620
+ abi: cointagFactoryABI,
1621
+ } as const
1622
+
1078
1623
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1079
1624
  // Comments
1080
1625
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////