@zoralabs/protocol-deployments 0.3.11-DEV.6 → 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
@@ -1323,8 +1323,6 @@ var cointagFactoryABI = [
1323
1323
  {
1324
1324
  type: "constructor",
1325
1325
  inputs: [
1326
- { name: "_protocolRewards", internalType: "address", type: "address" },
1327
- { name: "_weth", internalType: "address", type: "address" },
1328
1326
  {
1329
1327
  name: "_cointagImplementation",
1330
1328
  internalType: "address",
@@ -1395,6 +1393,27 @@ var cointagFactoryABI = [
1395
1393
  outputs: [{ name: "", internalType: "address", type: "address" }],
1396
1394
  stateMutability: "view"
1397
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
+ },
1398
1417
  {
1399
1418
  type: "function",
1400
1419
  inputs: [
@@ -1412,7 +1431,28 @@ var cointagFactoryABI = [
1412
1431
  { name: "saltSource", internalType: "bytes", type: "bytes" }
1413
1432
  ],
1414
1433
  name: "getOrCreateCointag",
1415
- outputs: [{ name: "", internalType: "contract Cointag", type: "address" }],
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" }],
1416
1456
  stateMutability: "nonpayable"
1417
1457
  },
1418
1458
  {
@@ -1445,13 +1485,6 @@ var cointagFactoryABI = [
1445
1485
  outputs: [{ name: "", internalType: "address", type: "address" }],
1446
1486
  stateMutability: "view"
1447
1487
  },
1448
- {
1449
- type: "function",
1450
- inputs: [],
1451
- name: "protocolRewards",
1452
- outputs: [{ name: "", internalType: "address", type: "address" }],
1453
- stateMutability: "view"
1454
- },
1455
1488
  {
1456
1489
  type: "function",
1457
1490
  inputs: [],
@@ -1483,13 +1516,6 @@ var cointagFactoryABI = [
1483
1516
  outputs: [],
1484
1517
  stateMutability: "payable"
1485
1518
  },
1486
- {
1487
- type: "function",
1488
- inputs: [],
1489
- name: "weth",
1490
- outputs: [{ name: "", internalType: "address", type: "address" }],
1491
- stateMutability: "view"
1492
- },
1493
1519
  {
1494
1520
  type: "event",
1495
1521
  anonymous: false,
@@ -1631,6 +1657,14 @@ var cointagFactoryABI = [
1631
1657
  inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
1632
1658
  name: "UUPSUnsupportedProxiableUUID"
1633
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
+ },
1634
1668
  {
1635
1669
  type: "error",
1636
1670
  inputs: [
@@ -1641,8 +1675,9 @@ var cointagFactoryABI = [
1641
1675
  }
1642
1676
  ];
1643
1677
  var cointagFactoryAddress = {
1644
- 8453: "0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8",
1645
- 84532: "0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8"
1678
+ 8453: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
1679
+ 84532: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
1680
+ 7777777: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F"
1646
1681
  };
1647
1682
  var cointagFactoryConfig = {
1648
1683
  address: cointagFactoryAddress,