@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/.turbo/turbo-build.log +16 -16
- package/CHANGELOG.md +8 -2
- package/dist/generated/wagmi.d.ts +161 -68
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +54 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +54 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/wagmi.ts +63 -25
package/package.json
CHANGED
package/src/generated/wagmi.ts
CHANGED
|
@@ -1362,15 +1362,14 @@ export const cointagABI = [
|
|
|
1362
1362
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1363
1363
|
|
|
1364
1364
|
/**
|
|
1365
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
1366
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
1365
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1366
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1367
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1367
1368
|
*/
|
|
1368
1369
|
export const cointagFactoryABI = [
|
|
1369
1370
|
{
|
|
1370
1371
|
type: 'constructor',
|
|
1371
1372
|
inputs: [
|
|
1372
|
-
{ name: '_protocolRewards', internalType: 'address', type: 'address' },
|
|
1373
|
-
{ name: '_weth', internalType: 'address', type: 'address' },
|
|
1374
1373
|
{
|
|
1375
1374
|
name: '_cointagImplementation',
|
|
1376
1375
|
internalType: 'address',
|
|
@@ -1441,6 +1440,27 @@ export const cointagFactoryABI = [
|
|
|
1441
1440
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1442
1441
|
stateMutability: 'view',
|
|
1443
1442
|
},
|
|
1443
|
+
{
|
|
1444
|
+
type: 'function',
|
|
1445
|
+
inputs: [
|
|
1446
|
+
{ name: '_implementation', internalType: 'address', type: 'address' },
|
|
1447
|
+
{
|
|
1448
|
+
name: '_creatorRewardRecipient',
|
|
1449
|
+
internalType: 'address',
|
|
1450
|
+
type: 'address',
|
|
1451
|
+
},
|
|
1452
|
+
{ name: '_pool', internalType: 'address', type: 'address' },
|
|
1453
|
+
{
|
|
1454
|
+
name: '_percentageToBuyBurn',
|
|
1455
|
+
internalType: 'uint256',
|
|
1456
|
+
type: 'uint256',
|
|
1457
|
+
},
|
|
1458
|
+
{ name: 'saltSource', internalType: 'bytes', type: 'bytes' },
|
|
1459
|
+
],
|
|
1460
|
+
name: 'getCointagAddressForImpl',
|
|
1461
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1462
|
+
stateMutability: 'view',
|
|
1463
|
+
},
|
|
1444
1464
|
{
|
|
1445
1465
|
type: 'function',
|
|
1446
1466
|
inputs: [
|
|
@@ -1458,7 +1478,28 @@ export const cointagFactoryABI = [
|
|
|
1458
1478
|
{ name: 'saltSource', internalType: 'bytes', type: 'bytes' },
|
|
1459
1479
|
],
|
|
1460
1480
|
name: 'getOrCreateCointag',
|
|
1461
|
-
outputs: [{ name: '', internalType: 'contract
|
|
1481
|
+
outputs: [{ name: '', internalType: 'contract ICointag', type: 'address' }],
|
|
1482
|
+
stateMutability: 'nonpayable',
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
type: 'function',
|
|
1486
|
+
inputs: [
|
|
1487
|
+
{
|
|
1488
|
+
name: '_creatorRewardRecipient',
|
|
1489
|
+
internalType: 'address',
|
|
1490
|
+
type: 'address',
|
|
1491
|
+
},
|
|
1492
|
+
{ name: '_pool', internalType: 'address', type: 'address' },
|
|
1493
|
+
{
|
|
1494
|
+
name: '_percentageToBuyBurn',
|
|
1495
|
+
internalType: 'uint256',
|
|
1496
|
+
type: 'uint256',
|
|
1497
|
+
},
|
|
1498
|
+
{ name: 'saltSource', internalType: 'bytes', type: 'bytes' },
|
|
1499
|
+
{ name: 'expectedAddress', internalType: 'address', type: 'address' },
|
|
1500
|
+
],
|
|
1501
|
+
name: 'getOrCreateCointagAtExpectedAddress',
|
|
1502
|
+
outputs: [{ name: '', internalType: 'contract ICointag', type: 'address' }],
|
|
1462
1503
|
stateMutability: 'nonpayable',
|
|
1463
1504
|
},
|
|
1464
1505
|
{
|
|
@@ -1491,13 +1532,6 @@ export const cointagFactoryABI = [
|
|
|
1491
1532
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1492
1533
|
stateMutability: 'view',
|
|
1493
1534
|
},
|
|
1494
|
-
{
|
|
1495
|
-
type: 'function',
|
|
1496
|
-
inputs: [],
|
|
1497
|
-
name: 'protocolRewards',
|
|
1498
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1499
|
-
stateMutability: 'view',
|
|
1500
|
-
},
|
|
1501
1535
|
{
|
|
1502
1536
|
type: 'function',
|
|
1503
1537
|
inputs: [],
|
|
@@ -1529,13 +1563,6 @@ export const cointagFactoryABI = [
|
|
|
1529
1563
|
outputs: [],
|
|
1530
1564
|
stateMutability: 'payable',
|
|
1531
1565
|
},
|
|
1532
|
-
{
|
|
1533
|
-
type: 'function',
|
|
1534
|
-
inputs: [],
|
|
1535
|
-
name: 'weth',
|
|
1536
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1537
|
-
stateMutability: 'view',
|
|
1538
|
-
},
|
|
1539
1566
|
{
|
|
1540
1567
|
type: 'event',
|
|
1541
1568
|
anonymous: false,
|
|
@@ -1677,6 +1704,14 @@ export const cointagFactoryABI = [
|
|
|
1677
1704
|
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
1678
1705
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
1679
1706
|
},
|
|
1707
|
+
{
|
|
1708
|
+
type: 'error',
|
|
1709
|
+
inputs: [
|
|
1710
|
+
{ name: 'expected', internalType: 'address', type: 'address' },
|
|
1711
|
+
{ name: 'actual', internalType: 'address', type: 'address' },
|
|
1712
|
+
],
|
|
1713
|
+
name: 'UnexpectedCointagAddress',
|
|
1714
|
+
},
|
|
1680
1715
|
{
|
|
1681
1716
|
type: 'error',
|
|
1682
1717
|
inputs: [
|
|
@@ -1688,17 +1723,20 @@ export const cointagFactoryABI = [
|
|
|
1688
1723
|
] as const
|
|
1689
1724
|
|
|
1690
1725
|
/**
|
|
1691
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
1692
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
1726
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1727
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1728
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1693
1729
|
*/
|
|
1694
1730
|
export const cointagFactoryAddress = {
|
|
1695
|
-
8453: '
|
|
1696
|
-
84532: '
|
|
1731
|
+
8453: '0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F',
|
|
1732
|
+
84532: '0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F',
|
|
1733
|
+
7777777: '0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F',
|
|
1697
1734
|
} as const
|
|
1698
1735
|
|
|
1699
1736
|
/**
|
|
1700
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
1701
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
1737
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1738
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1739
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1702
1740
|
*/
|
|
1703
1741
|
export const cointagFactoryConfig = {
|
|
1704
1742
|
address: cointagFactoryAddress,
|