@zoralabs/protocol-deployments 0.3.11 → 0.4.0-DEV.0

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,647 @@ 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: "REQUIRED_OBSERVATION_CARDINALITY",
1066
+ outputs: [{ name: "", internalType: "uint16", type: "uint16" }],
1067
+ stateMutability: "view"
1068
+ },
1069
+ {
1070
+ type: "function",
1071
+ inputs: [],
1072
+ name: "SLIPPAGE",
1073
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1074
+ stateMutability: "view"
1075
+ },
1076
+ {
1077
+ type: "function",
1078
+ inputs: [],
1079
+ name: "TIME_WEIGHTED_PRICE_PERIOD",
1080
+ outputs: [{ name: "", internalType: "uint32", type: "uint32" }],
1081
+ stateMutability: "view"
1082
+ },
1083
+ {
1084
+ type: "function",
1085
+ inputs: [],
1086
+ name: "contractVersion",
1087
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1088
+ stateMutability: "pure"
1089
+ },
1090
+ {
1091
+ type: "function",
1092
+ inputs: [],
1093
+ name: "creatorRewardRecipient",
1094
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1095
+ stateMutability: "view"
1096
+ },
1097
+ {
1098
+ type: "function",
1099
+ inputs: [],
1100
+ name: "ensureObservationCardinality",
1101
+ outputs: [],
1102
+ stateMutability: "nonpayable"
1103
+ },
1104
+ {
1105
+ type: "function",
1106
+ inputs: [],
1107
+ name: "erc20",
1108
+ outputs: [
1109
+ { name: "", internalType: "contract IBurnableERC20", type: "address" }
1110
+ ],
1111
+ stateMutability: "view"
1112
+ },
1113
+ {
1114
+ type: "function",
1115
+ inputs: [],
1116
+ name: "hasEnoughObservationCardinality",
1117
+ outputs: [
1118
+ { name: "", internalType: "bool", type: "bool" },
1119
+ { name: "", internalType: "uint256", type: "uint256" }
1120
+ ],
1121
+ stateMutability: "view"
1122
+ },
1123
+ {
1124
+ type: "function",
1125
+ inputs: [
1126
+ {
1127
+ name: "_creatorRewardRecipient",
1128
+ internalType: "address",
1129
+ type: "address"
1130
+ },
1131
+ { name: "_pool", internalType: "address", type: "address" },
1132
+ {
1133
+ name: "_percentageToBuyBurn",
1134
+ internalType: "uint256",
1135
+ type: "uint256"
1136
+ }
1137
+ ],
1138
+ name: "initialize",
1139
+ outputs: [],
1140
+ stateMutability: "nonpayable"
1141
+ },
1142
+ {
1143
+ type: "function",
1144
+ inputs: [],
1145
+ name: "percentageToBuyBurn",
1146
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1147
+ stateMutability: "view"
1148
+ },
1149
+ {
1150
+ type: "function",
1151
+ inputs: [],
1152
+ name: "pool",
1153
+ outputs: [
1154
+ { name: "", internalType: "contract IUniswapV3Pool", type: "address" }
1155
+ ],
1156
+ stateMutability: "view"
1157
+ },
1158
+ {
1159
+ type: "function",
1160
+ inputs: [],
1161
+ name: "protocolRewards",
1162
+ outputs: [
1163
+ { name: "", internalType: "contract IProtocolRewards", type: "address" }
1164
+ ],
1165
+ stateMutability: "view"
1166
+ },
1167
+ {
1168
+ type: "function",
1169
+ inputs: [],
1170
+ name: "pull",
1171
+ outputs: [],
1172
+ stateMutability: "nonpayable"
1173
+ },
1174
+ {
1175
+ type: "function",
1176
+ inputs: [
1177
+ { name: "amount0Delta", internalType: "int256", type: "int256" },
1178
+ { name: "amount1Delta", internalType: "int256", type: "int256" },
1179
+ { name: "", internalType: "bytes", type: "bytes" }
1180
+ ],
1181
+ name: "uniswapV3SwapCallback",
1182
+ outputs: [],
1183
+ stateMutability: "nonpayable"
1184
+ },
1185
+ {
1186
+ type: "function",
1187
+ inputs: [],
1188
+ name: "weth",
1189
+ outputs: [{ name: "", internalType: "contract IWETH", type: "address" }],
1190
+ stateMutability: "view"
1191
+ },
1192
+ {
1193
+ type: "event",
1194
+ anonymous: false,
1195
+ inputs: [
1196
+ {
1197
+ name: "amountERc20Received",
1198
+ internalType: "uint256",
1199
+ type: "uint256",
1200
+ indexed: false
1201
+ },
1202
+ {
1203
+ name: "amountERc20Burned",
1204
+ internalType: "uint256",
1205
+ type: "uint256",
1206
+ indexed: false
1207
+ },
1208
+ {
1209
+ name: "amountEthSpent",
1210
+ internalType: "uint256",
1211
+ type: "uint256",
1212
+ indexed: false
1213
+ },
1214
+ {
1215
+ name: "amountEthToCreator",
1216
+ internalType: "uint256",
1217
+ type: "uint256",
1218
+ indexed: false
1219
+ },
1220
+ {
1221
+ name: "totalEthReceived",
1222
+ internalType: "uint256",
1223
+ type: "uint256",
1224
+ indexed: false
1225
+ },
1226
+ {
1227
+ name: "buyFailureError",
1228
+ internalType: "bytes",
1229
+ type: "bytes",
1230
+ indexed: false
1231
+ },
1232
+ {
1233
+ name: "burnFailureError",
1234
+ internalType: "bytes",
1235
+ type: "bytes",
1236
+ indexed: false
1237
+ }
1238
+ ],
1239
+ name: "BuyBurn"
1240
+ },
1241
+ {
1242
+ type: "event",
1243
+ anonymous: false,
1244
+ inputs: [
1245
+ {
1246
+ name: "version",
1247
+ internalType: "uint64",
1248
+ type: "uint64",
1249
+ indexed: false
1250
+ }
1251
+ ],
1252
+ name: "Initialized"
1253
+ },
1254
+ {
1255
+ type: "event",
1256
+ anonymous: false,
1257
+ inputs: [
1258
+ {
1259
+ name: "creatorRewardRecipient",
1260
+ internalType: "address",
1261
+ type: "address",
1262
+ indexed: false
1263
+ },
1264
+ {
1265
+ name: "erc20",
1266
+ internalType: "address",
1267
+ type: "address",
1268
+ indexed: false
1269
+ },
1270
+ {
1271
+ name: "pool",
1272
+ internalType: "address",
1273
+ type: "address",
1274
+ indexed: false
1275
+ },
1276
+ {
1277
+ name: "percentageToBuyBurn",
1278
+ internalType: "uint256",
1279
+ type: "uint256",
1280
+ indexed: false
1281
+ }
1282
+ ],
1283
+ name: "Initialized"
1284
+ },
1285
+ {
1286
+ type: "error",
1287
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
1288
+ name: "AddressEmptyCode"
1289
+ },
1290
+ {
1291
+ type: "error",
1292
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1293
+ name: "AddressInsufficientBalance"
1294
+ },
1295
+ {
1296
+ type: "error",
1297
+ inputs: [
1298
+ { name: "amountOut", internalType: "uint256", type: "uint256" },
1299
+ { name: "amountOutMinimum", internalType: "uint256", type: "uint256" }
1300
+ ],
1301
+ name: "AmountOutLessThanMinimum"
1302
+ },
1303
+ { type: "error", inputs: [], name: "FailedInnerCall" },
1304
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1305
+ {
1306
+ type: "error",
1307
+ inputs: [
1308
+ { name: "requiredCardinality", internalType: "uint256", type: "uint256" },
1309
+ { name: "currentCardinality", internalType: "uint256", type: "uint256" }
1310
+ ],
1311
+ name: "NotEnoughObservationCardinality"
1312
+ },
1313
+ { type: "error", inputs: [], name: "NotInitializing" },
1314
+ { type: "error", inputs: [], name: "OnlyPool" },
1315
+ { type: "error", inputs: [], name: "OnlyProtocolRewardsOrWeth" },
1316
+ {
1317
+ type: "error",
1318
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
1319
+ name: "SafeERC20FailedOperation"
1320
+ }
1321
+ ];
1322
+ var cointagFactoryABI = [
1323
+ {
1324
+ type: "constructor",
1325
+ inputs: [
1326
+ {
1327
+ name: "_cointagImplementation",
1328
+ internalType: "address",
1329
+ type: "address"
1330
+ }
1331
+ ],
1332
+ stateMutability: "nonpayable"
1333
+ },
1334
+ {
1335
+ type: "function",
1336
+ inputs: [],
1337
+ name: "UPGRADE_INTERFACE_VERSION",
1338
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1339
+ stateMutability: "view"
1340
+ },
1341
+ {
1342
+ type: "function",
1343
+ inputs: [],
1344
+ name: "acceptOwnership",
1345
+ outputs: [],
1346
+ stateMutability: "nonpayable"
1347
+ },
1348
+ {
1349
+ type: "function",
1350
+ inputs: [],
1351
+ name: "cointagImplementation",
1352
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1353
+ stateMutability: "view"
1354
+ },
1355
+ {
1356
+ type: "function",
1357
+ inputs: [],
1358
+ name: "contractName",
1359
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1360
+ stateMutability: "pure"
1361
+ },
1362
+ {
1363
+ type: "function",
1364
+ inputs: [],
1365
+ name: "contractURI",
1366
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1367
+ stateMutability: "pure"
1368
+ },
1369
+ {
1370
+ type: "function",
1371
+ inputs: [],
1372
+ name: "contractVersion",
1373
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1374
+ stateMutability: "pure"
1375
+ },
1376
+ {
1377
+ type: "function",
1378
+ inputs: [
1379
+ {
1380
+ name: "_creatorRewardRecipient",
1381
+ internalType: "address",
1382
+ type: "address"
1383
+ },
1384
+ { name: "_pool", internalType: "address", type: "address" },
1385
+ {
1386
+ name: "_percentageToBuyBurn",
1387
+ internalType: "uint256",
1388
+ type: "uint256"
1389
+ },
1390
+ { name: "saltSource", internalType: "bytes", type: "bytes" }
1391
+ ],
1392
+ name: "getCointagAddress",
1393
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1394
+ stateMutability: "view"
1395
+ },
1396
+ {
1397
+ type: "function",
1398
+ inputs: [
1399
+ { name: "_implementation", internalType: "address", type: "address" },
1400
+ {
1401
+ name: "_creatorRewardRecipient",
1402
+ internalType: "address",
1403
+ type: "address"
1404
+ },
1405
+ { name: "_pool", internalType: "address", type: "address" },
1406
+ {
1407
+ name: "_percentageToBuyBurn",
1408
+ internalType: "uint256",
1409
+ type: "uint256"
1410
+ },
1411
+ { name: "saltSource", internalType: "bytes", type: "bytes" }
1412
+ ],
1413
+ name: "getCointagAddressForImpl",
1414
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1415
+ stateMutability: "view"
1416
+ },
1417
+ {
1418
+ type: "function",
1419
+ inputs: [
1420
+ {
1421
+ name: "_creatorRewardRecipient",
1422
+ internalType: "address",
1423
+ type: "address"
1424
+ },
1425
+ { name: "_pool", internalType: "address", type: "address" },
1426
+ {
1427
+ name: "_percentageToBuyBurn",
1428
+ internalType: "uint256",
1429
+ type: "uint256"
1430
+ },
1431
+ { name: "saltSource", internalType: "bytes", type: "bytes" }
1432
+ ],
1433
+ name: "getOrCreateCointag",
1434
+ outputs: [{ name: "", internalType: "contract ICointag", type: "address" }],
1435
+ stateMutability: "nonpayable"
1436
+ },
1437
+ {
1438
+ type: "function",
1439
+ inputs: [
1440
+ {
1441
+ name: "_creatorRewardRecipient",
1442
+ internalType: "address",
1443
+ type: "address"
1444
+ },
1445
+ { name: "_pool", internalType: "address", type: "address" },
1446
+ {
1447
+ name: "_percentageToBuyBurn",
1448
+ internalType: "uint256",
1449
+ type: "uint256"
1450
+ },
1451
+ { name: "saltSource", internalType: "bytes", type: "bytes" },
1452
+ { name: "expectedAddress", internalType: "address", type: "address" }
1453
+ ],
1454
+ name: "getOrCreateCointagAtExpectedAddress",
1455
+ outputs: [{ name: "", internalType: "contract ICointag", type: "address" }],
1456
+ stateMutability: "nonpayable"
1457
+ },
1458
+ {
1459
+ type: "function",
1460
+ inputs: [],
1461
+ name: "implementation",
1462
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1463
+ stateMutability: "view"
1464
+ },
1465
+ {
1466
+ type: "function",
1467
+ inputs: [
1468
+ { name: "_defaultOwner", internalType: "address", type: "address" }
1469
+ ],
1470
+ name: "initialize",
1471
+ outputs: [],
1472
+ stateMutability: "nonpayable"
1473
+ },
1474
+ {
1475
+ type: "function",
1476
+ inputs: [],
1477
+ name: "owner",
1478
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1479
+ stateMutability: "view"
1480
+ },
1481
+ {
1482
+ type: "function",
1483
+ inputs: [],
1484
+ name: "pendingOwner",
1485
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1486
+ stateMutability: "view"
1487
+ },
1488
+ {
1489
+ type: "function",
1490
+ inputs: [],
1491
+ name: "proxiableUUID",
1492
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1493
+ stateMutability: "view"
1494
+ },
1495
+ {
1496
+ type: "function",
1497
+ inputs: [],
1498
+ name: "renounceOwnership",
1499
+ outputs: [],
1500
+ stateMutability: "nonpayable"
1501
+ },
1502
+ {
1503
+ type: "function",
1504
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
1505
+ name: "transferOwnership",
1506
+ outputs: [],
1507
+ stateMutability: "nonpayable"
1508
+ },
1509
+ {
1510
+ type: "function",
1511
+ inputs: [
1512
+ { name: "newImplementation", internalType: "address", type: "address" },
1513
+ { name: "data", internalType: "bytes", type: "bytes" }
1514
+ ],
1515
+ name: "upgradeToAndCall",
1516
+ outputs: [],
1517
+ stateMutability: "payable"
1518
+ },
1519
+ {
1520
+ type: "event",
1521
+ anonymous: false,
1522
+ inputs: [
1523
+ {
1524
+ name: "version",
1525
+ internalType: "uint64",
1526
+ type: "uint64",
1527
+ indexed: false
1528
+ }
1529
+ ],
1530
+ name: "Initialized"
1531
+ },
1532
+ {
1533
+ type: "event",
1534
+ anonymous: false,
1535
+ inputs: [
1536
+ {
1537
+ name: "previousOwner",
1538
+ internalType: "address",
1539
+ type: "address",
1540
+ indexed: true
1541
+ },
1542
+ {
1543
+ name: "newOwner",
1544
+ internalType: "address",
1545
+ type: "address",
1546
+ indexed: true
1547
+ }
1548
+ ],
1549
+ name: "OwnershipTransferStarted"
1550
+ },
1551
+ {
1552
+ type: "event",
1553
+ anonymous: false,
1554
+ inputs: [
1555
+ {
1556
+ name: "previousOwner",
1557
+ internalType: "address",
1558
+ type: "address",
1559
+ indexed: true
1560
+ },
1561
+ {
1562
+ name: "newOwner",
1563
+ internalType: "address",
1564
+ type: "address",
1565
+ indexed: true
1566
+ }
1567
+ ],
1568
+ name: "OwnershipTransferred"
1569
+ },
1570
+ {
1571
+ type: "event",
1572
+ anonymous: false,
1573
+ inputs: [
1574
+ {
1575
+ name: "cointag",
1576
+ internalType: "address",
1577
+ type: "address",
1578
+ indexed: true
1579
+ },
1580
+ {
1581
+ name: "creatorRewardRecipient",
1582
+ internalType: "address",
1583
+ type: "address",
1584
+ indexed: true
1585
+ },
1586
+ {
1587
+ name: "erc20",
1588
+ internalType: "address",
1589
+ type: "address",
1590
+ indexed: true
1591
+ },
1592
+ {
1593
+ name: "pool",
1594
+ internalType: "address",
1595
+ type: "address",
1596
+ indexed: false
1597
+ },
1598
+ {
1599
+ name: "percentageToBuyBurn",
1600
+ internalType: "uint256",
1601
+ type: "uint256",
1602
+ indexed: false
1603
+ },
1604
+ {
1605
+ name: "saltSource",
1606
+ internalType: "bytes",
1607
+ type: "bytes",
1608
+ indexed: false
1609
+ }
1610
+ ],
1611
+ name: "SetupNewCointag"
1612
+ },
1613
+ {
1614
+ type: "event",
1615
+ anonymous: false,
1616
+ inputs: [
1617
+ {
1618
+ name: "implementation",
1619
+ internalType: "address",
1620
+ type: "address",
1621
+ indexed: true
1622
+ }
1623
+ ],
1624
+ name: "Upgraded"
1625
+ },
1626
+ {
1627
+ type: "error",
1628
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
1629
+ name: "AddressEmptyCode"
1630
+ },
1631
+ { type: "error", inputs: [], name: "AddressZero" },
1632
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
1633
+ {
1634
+ type: "error",
1635
+ inputs: [
1636
+ { name: "implementation", internalType: "address", type: "address" }
1637
+ ],
1638
+ name: "ERC1967InvalidImplementation"
1639
+ },
1640
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
1641
+ { type: "error", inputs: [], name: "FailedInnerCall" },
1642
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1643
+ { type: "error", inputs: [], name: "NotInitializing" },
1644
+ {
1645
+ type: "error",
1646
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
1647
+ name: "OwnableInvalidOwner"
1648
+ },
1649
+ {
1650
+ type: "error",
1651
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1652
+ name: "OwnableUnauthorizedAccount"
1653
+ },
1654
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
1655
+ {
1656
+ type: "error",
1657
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
1658
+ name: "UUPSUnsupportedProxiableUUID"
1659
+ },
1660
+ {
1661
+ type: "error",
1662
+ inputs: [
1663
+ { name: "expected", internalType: "address", type: "address" },
1664
+ { name: "actual", internalType: "address", type: "address" }
1665
+ ],
1666
+ name: "UnexpectedCointagAddress"
1667
+ },
1668
+ {
1669
+ type: "error",
1670
+ inputs: [
1671
+ { name: "currentName", internalType: "string", type: "string" },
1672
+ { name: "newName", internalType: "string", type: "string" }
1673
+ ],
1674
+ name: "UpgradeToMismatchedContractName"
1675
+ }
1676
+ ];
1677
+ var cointagFactoryAddress = {
1678
+ 8453: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
1679
+ 84532: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
1680
+ 7777777: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F"
1681
+ };
1682
+ var cointagFactoryConfig = {
1683
+ address: cointagFactoryAddress,
1684
+ abi: cointagFactoryABI
1685
+ };
1045
1686
  var commentsABI = [
1046
1687
  {
1047
1688
  type: "constructor",
@@ -3704,6 +4345,118 @@ var iSponsoredSparksSpenderActionABI = [
3704
4345
  stateMutability: "nonpayable"
3705
4346
  }
3706
4347
  ];
4348
+ var iUniswapV3PoolABI = [
4349
+ {
4350
+ type: "function",
4351
+ inputs: [],
4352
+ name: "fee",
4353
+ outputs: [{ name: "", internalType: "uint24", type: "uint24" }],
4354
+ stateMutability: "view"
4355
+ },
4356
+ {
4357
+ type: "function",
4358
+ inputs: [],
4359
+ name: "feeGrowthGlobal0X128",
4360
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4361
+ stateMutability: "view"
4362
+ },
4363
+ {
4364
+ type: "function",
4365
+ inputs: [],
4366
+ name: "feeGrowthGlobal1X128",
4367
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4368
+ stateMutability: "view"
4369
+ },
4370
+ {
4371
+ type: "function",
4372
+ inputs: [
4373
+ {
4374
+ name: "observationCardinalityNext",
4375
+ internalType: "uint16",
4376
+ type: "uint16"
4377
+ }
4378
+ ],
4379
+ name: "increaseObservationCardinalityNext",
4380
+ outputs: [],
4381
+ stateMutability: "nonpayable"
4382
+ },
4383
+ {
4384
+ type: "function",
4385
+ inputs: [
4386
+ { name: "secondsAgos", internalType: "uint32[]", type: "uint32[]" }
4387
+ ],
4388
+ name: "observe",
4389
+ outputs: [
4390
+ { name: "tickCumulatives", internalType: "int56[]", type: "int56[]" },
4391
+ {
4392
+ name: "secondsPerLiquidityCumulativeX128s",
4393
+ internalType: "uint160[]",
4394
+ type: "uint160[]"
4395
+ }
4396
+ ],
4397
+ stateMutability: "view"
4398
+ },
4399
+ {
4400
+ type: "function",
4401
+ inputs: [],
4402
+ name: "slot0",
4403
+ outputs: [
4404
+ {
4405
+ name: "slot0",
4406
+ internalType: "struct IUniswapV3Pool.Slot0",
4407
+ type: "tuple",
4408
+ components: [
4409
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
4410
+ { name: "tick", internalType: "int24", type: "int24" },
4411
+ { name: "observationIndex", internalType: "uint16", type: "uint16" },
4412
+ {
4413
+ name: "observationCardinality",
4414
+ internalType: "uint16",
4415
+ type: "uint16"
4416
+ },
4417
+ {
4418
+ name: "observationCardinalityNext",
4419
+ internalType: "uint16",
4420
+ type: "uint16"
4421
+ },
4422
+ { name: "feeProtocol", internalType: "uint8", type: "uint8" },
4423
+ { name: "unlocked", internalType: "bool", type: "bool" }
4424
+ ]
4425
+ }
4426
+ ],
4427
+ stateMutability: "view"
4428
+ },
4429
+ {
4430
+ type: "function",
4431
+ inputs: [
4432
+ { name: "recipient", internalType: "address", type: "address" },
4433
+ { name: "zeroForOne", internalType: "bool", type: "bool" },
4434
+ { name: "amountSpecified", internalType: "int256", type: "int256" },
4435
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
4436
+ { name: "data", internalType: "bytes", type: "bytes" }
4437
+ ],
4438
+ name: "swap",
4439
+ outputs: [
4440
+ { name: "amount0", internalType: "int256", type: "int256" },
4441
+ { name: "amount1", internalType: "int256", type: "int256" }
4442
+ ],
4443
+ stateMutability: "nonpayable"
4444
+ },
4445
+ {
4446
+ type: "function",
4447
+ inputs: [],
4448
+ name: "token0",
4449
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4450
+ stateMutability: "view"
4451
+ },
4452
+ {
4453
+ type: "function",
4454
+ inputs: [],
4455
+ name: "token1",
4456
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4457
+ stateMutability: "view"
4458
+ }
4459
+ ];
3707
4460
  var iUnwrapAndForwardActionABI = [
3708
4461
  {
3709
4462
  type: "function",
@@ -4804,6 +5557,92 @@ var sponsoredSparksSpenderConfig = {
4804
5557
  address: sponsoredSparksSpenderAddress,
4805
5558
  abi: sponsoredSparksSpenderABI
4806
5559
  };
5560
+ var uniswapV3SwapRouterABI = [
5561
+ {
5562
+ type: "function",
5563
+ inputs: [
5564
+ {
5565
+ name: "params",
5566
+ internalType: "struct ISwapRouter.ExactInputSingleParams",
5567
+ type: "tuple",
5568
+ components: [
5569
+ { name: "tokenIn", internalType: "address", type: "address" },
5570
+ { name: "tokenOut", internalType: "address", type: "address" },
5571
+ { name: "fee", internalType: "uint24", type: "uint24" },
5572
+ { name: "recipient", internalType: "address", type: "address" },
5573
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
5574
+ {
5575
+ name: "amountOutMinimum",
5576
+ internalType: "uint256",
5577
+ type: "uint256"
5578
+ },
5579
+ {
5580
+ name: "sqrtPriceLimitX96",
5581
+ internalType: "uint160",
5582
+ type: "uint160"
5583
+ }
5584
+ ]
5585
+ }
5586
+ ],
5587
+ name: "exactInputSingle",
5588
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
5589
+ stateMutability: "payable"
5590
+ },
5591
+ {
5592
+ type: "function",
5593
+ inputs: [
5594
+ {
5595
+ name: "params",
5596
+ internalType: "struct ISwapRouter.ExactOutputSingleParams",
5597
+ type: "tuple",
5598
+ components: [
5599
+ { name: "tokenIn", internalType: "address", type: "address" },
5600
+ { name: "tokenOut", internalType: "address", type: "address" },
5601
+ { name: "fee", internalType: "uint24", type: "uint24" },
5602
+ { name: "recipient", internalType: "address", type: "address" },
5603
+ { name: "amountOut", internalType: "uint256", type: "uint256" },
5604
+ { name: "amountInMaximum", internalType: "uint256", type: "uint256" },
5605
+ {
5606
+ name: "sqrtPriceLimitX96",
5607
+ internalType: "uint160",
5608
+ type: "uint160"
5609
+ }
5610
+ ]
5611
+ }
5612
+ ],
5613
+ name: "exactOutputSingle",
5614
+ outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
5615
+ stateMutability: "payable"
5616
+ },
5617
+ {
5618
+ type: "function",
5619
+ inputs: [
5620
+ { name: "amount0Delta", internalType: "int256", type: "int256" },
5621
+ { name: "amount1Delta", internalType: "int256", type: "int256" },
5622
+ { name: "data", internalType: "bytes", type: "bytes" }
5623
+ ],
5624
+ name: "uniswapV3SwapCallback",
5625
+ outputs: [],
5626
+ stateMutability: "nonpayable"
5627
+ }
5628
+ ];
5629
+ var uniswapV3SwapRouterAddress = {
5630
+ 1: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
5631
+ 10: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
5632
+ 8453: "0x2626664c2603336E57B271c5C0b26F421741e481",
5633
+ 42161: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
5634
+ 81457: "0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66",
5635
+ 84532: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
5636
+ 421614: "0x101F443B4d1b059569D643917553c771E1b9663E",
5637
+ 7777777: "0x7De04c96BE5159c3b5CeffC82aa176dc81281557",
5638
+ 11155111: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
5639
+ 11155420: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
5640
+ 999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a"
5641
+ };
5642
+ var uniswapV3SwapRouterConfig = {
5643
+ address: uniswapV3SwapRouterAddress,
5644
+ abi: uniswapV3SwapRouterABI
5645
+ };
4807
5646
  var upgradeGateABI = [
4808
5647
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
4809
5648
  {
@@ -13838,6 +14677,10 @@ export {
13838
14677
  callerAndCommenterABI,
13839
14678
  callerAndCommenterAddress,
13840
14679
  callerAndCommenterConfig,
14680
+ cointagABI,
14681
+ cointagFactoryABI,
14682
+ cointagFactoryAddress,
14683
+ cointagFactoryConfig,
13841
14684
  commentsABI,
13842
14685
  commentsAddress,
13843
14686
  commentsConfig,
@@ -13853,6 +14696,7 @@ export {
13853
14696
  erc20ZRoyaltiesConfig,
13854
14697
  iPremintDefinitionsABI,
13855
14698
  iSponsoredSparksSpenderActionABI,
14699
+ iUniswapV3PoolABI,
13856
14700
  iUnwrapAndForwardActionABI,
13857
14701
  mintsEthUnwrapperAndCallerABI,
13858
14702
  mintsEthUnwrapperAndCallerAddress,
@@ -13880,6 +14724,9 @@ export {
13880
14724
  sponsoredSparksSpenderABI,
13881
14725
  sponsoredSparksSpenderAddress,
13882
14726
  sponsoredSparksSpenderConfig,
14727
+ uniswapV3SwapRouterABI,
14728
+ uniswapV3SwapRouterAddress,
14729
+ uniswapV3SwapRouterConfig,
13883
14730
  upgradeGateABI,
13884
14731
  upgradeGateAddress,
13885
14732
  upgradeGateConfig,