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

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