@zoralabs/protocol-deployments 0.3.11-DEV.1 → 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/dist/index.js CHANGED
@@ -1042,6 +1042,530 @@ 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: "getOrCreateCointag",
1334
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1335
+ stateMutability: "nonpayable"
1336
+ },
1337
+ {
1338
+ type: "function",
1339
+ inputs: [],
1340
+ name: "implementation",
1341
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1342
+ stateMutability: "view"
1343
+ },
1344
+ {
1345
+ type: "function",
1346
+ inputs: [
1347
+ { name: "_defaultOwner", internalType: "address", type: "address" }
1348
+ ],
1349
+ name: "initialize",
1350
+ outputs: [],
1351
+ stateMutability: "nonpayable"
1352
+ },
1353
+ {
1354
+ type: "function",
1355
+ inputs: [],
1356
+ name: "owner",
1357
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1358
+ stateMutability: "view"
1359
+ },
1360
+ {
1361
+ type: "function",
1362
+ inputs: [],
1363
+ name: "pendingOwner",
1364
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1365
+ stateMutability: "view"
1366
+ },
1367
+ {
1368
+ type: "function",
1369
+ inputs: [],
1370
+ name: "protocolRewards",
1371
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1372
+ stateMutability: "view"
1373
+ },
1374
+ {
1375
+ type: "function",
1376
+ inputs: [],
1377
+ name: "proxiableUUID",
1378
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1379
+ stateMutability: "view"
1380
+ },
1381
+ {
1382
+ type: "function",
1383
+ inputs: [],
1384
+ name: "renounceOwnership",
1385
+ outputs: [],
1386
+ stateMutability: "nonpayable"
1387
+ },
1388
+ {
1389
+ type: "function",
1390
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1391
+ name: "transferOwnership",
1392
+ outputs: [],
1393
+ stateMutability: "nonpayable"
1394
+ },
1395
+ {
1396
+ type: "function",
1397
+ inputs: [
1398
+ { name: "newImplementation", internalType: "address", type: "address" },
1399
+ { name: "data", internalType: "bytes", type: "bytes" }
1400
+ ],
1401
+ name: "upgradeToAndCall",
1402
+ outputs: [],
1403
+ stateMutability: "payable"
1404
+ },
1405
+ {
1406
+ type: "function",
1407
+ inputs: [],
1408
+ name: "weth",
1409
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1410
+ stateMutability: "view"
1411
+ },
1412
+ {
1413
+ type: "event",
1414
+ anonymous: false,
1415
+ inputs: [
1416
+ {
1417
+ name: "version",
1418
+ internalType: "uint64",
1419
+ type: "uint64",
1420
+ indexed: false
1421
+ }
1422
+ ],
1423
+ name: "Initialized"
1424
+ },
1425
+ {
1426
+ type: "event",
1427
+ anonymous: false,
1428
+ inputs: [
1429
+ {
1430
+ name: "previousOwner",
1431
+ internalType: "address",
1432
+ type: "address",
1433
+ indexed: true
1434
+ },
1435
+ {
1436
+ name: "newOwner",
1437
+ internalType: "address",
1438
+ type: "address",
1439
+ indexed: true
1440
+ }
1441
+ ],
1442
+ name: "OwnershipTransferStarted"
1443
+ },
1444
+ {
1445
+ type: "event",
1446
+ anonymous: false,
1447
+ inputs: [
1448
+ {
1449
+ name: "previousOwner",
1450
+ internalType: "address",
1451
+ type: "address",
1452
+ indexed: true
1453
+ },
1454
+ {
1455
+ name: "newOwner",
1456
+ internalType: "address",
1457
+ type: "address",
1458
+ indexed: true
1459
+ }
1460
+ ],
1461
+ name: "OwnershipTransferred"
1462
+ },
1463
+ {
1464
+ type: "event",
1465
+ anonymous: false,
1466
+ inputs: [
1467
+ {
1468
+ name: "cointag",
1469
+ internalType: "address",
1470
+ type: "address",
1471
+ indexed: true
1472
+ },
1473
+ {
1474
+ name: "creatorRewardRecipient",
1475
+ internalType: "address",
1476
+ type: "address",
1477
+ indexed: true
1478
+ },
1479
+ {
1480
+ name: "erc20",
1481
+ internalType: "address",
1482
+ type: "address",
1483
+ indexed: true
1484
+ },
1485
+ {
1486
+ name: "pool",
1487
+ internalType: "address",
1488
+ type: "address",
1489
+ indexed: false
1490
+ },
1491
+ {
1492
+ name: "percentageToBuyBurn",
1493
+ internalType: "uint256",
1494
+ type: "uint256",
1495
+ indexed: false
1496
+ },
1497
+ {
1498
+ name: "saltSource",
1499
+ internalType: "bytes",
1500
+ type: "bytes",
1501
+ indexed: false
1502
+ }
1503
+ ],
1504
+ name: "SetupNewCointag"
1505
+ },
1506
+ {
1507
+ type: "event",
1508
+ anonymous: false,
1509
+ inputs: [
1510
+ {
1511
+ name: "implementation",
1512
+ internalType: "address",
1513
+ type: "address",
1514
+ indexed: true
1515
+ }
1516
+ ],
1517
+ name: "Upgraded"
1518
+ },
1519
+ {
1520
+ type: "error",
1521
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
1522
+ name: "AddressEmptyCode"
1523
+ },
1524
+ { type: "error", inputs: [], name: "AddressZero" },
1525
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
1526
+ {
1527
+ type: "error",
1528
+ inputs: [
1529
+ { name: "implementation", internalType: "address", type: "address" }
1530
+ ],
1531
+ name: "ERC1967InvalidImplementation"
1532
+ },
1533
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
1534
+ { type: "error", inputs: [], name: "FailedInnerCall" },
1535
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1536
+ { type: "error", inputs: [], name: "NotInitializing" },
1537
+ {
1538
+ type: "error",
1539
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
1540
+ name: "OwnableInvalidOwner"
1541
+ },
1542
+ {
1543
+ type: "error",
1544
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1545
+ name: "OwnableUnauthorizedAccount"
1546
+ },
1547
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
1548
+ {
1549
+ type: "error",
1550
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
1551
+ name: "UUPSUnsupportedProxiableUUID"
1552
+ },
1553
+ {
1554
+ type: "error",
1555
+ inputs: [
1556
+ { name: "currentName", internalType: "string", type: "string" },
1557
+ { name: "newName", internalType: "string", type: "string" }
1558
+ ],
1559
+ name: "UpgradeToMismatchedContractName"
1560
+ }
1561
+ ];
1562
+ var cointagFactoryAddress = {
1563
+ 84532: "0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8"
1564
+ };
1565
+ var cointagFactoryConfig = {
1566
+ address: cointagFactoryAddress,
1567
+ abi: cointagFactoryABI
1568
+ };
1045
1569
  var commentsABI = [
1046
1570
  {
1047
1571
  type: "constructor",
@@ -13809,6 +14333,10 @@ export {
13809
14333
  callerAndCommenterABI,
13810
14334
  callerAndCommenterAddress,
13811
14335
  callerAndCommenterConfig,
14336
+ cointagABI,
14337
+ cointagFactoryABI,
14338
+ cointagFactoryAddress,
14339
+ cointagFactoryConfig,
13812
14340
  commentsABI,
13813
14341
  commentsAddress,
13814
14342
  commentsConfig,