@zoralabs/protocol-deployments 0.1.11 → 0.1.13
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 +17 -17
- package/CHANGELOG.md +19 -0
- package/dist/{_esm-UK4OVIHX.js → _esm-ZN7ZVJVO.js} +495 -5
- package/dist/_esm-ZN7ZVJVO.js.map +1 -0
- package/dist/{ccip-XSYMJLYD.js → ccip-IGMHQQR7.js} +2 -2
- package/dist/{chunk-ANM5XPUU.js → chunk-KIPP2F4J.js} +153 -145
- package/dist/chunk-KIPP2F4J.js.map +1 -0
- package/dist/generated/1155.d.ts +9 -9
- package/dist/generated/mints.d.ts +43 -11
- package/dist/generated/mints.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +694 -0
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +454 -160
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +380 -97
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +6 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/generated/1155.ts +59 -59
- package/src/generated/mints.ts +54 -37
- package/src/generated/wagmi.ts +361 -0
- package/src/types.ts +14 -6
- package/dist/_esm-UK4OVIHX.js.map +0 -1
- package/dist/chunk-ANM5XPUU.js.map +0 -1
- /package/dist/{ccip-XSYMJLYD.js.map → ccip-IGMHQQR7.js.map} +0 -0
package/src/generated/wagmi.ts
CHANGED
|
@@ -890,8 +890,14 @@ export const iUnwrapAndForwardActionABI = [
|
|
|
890
890
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
891
891
|
|
|
892
892
|
/**
|
|
893
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
894
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
895
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
896
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
893
897
|
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
898
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
894
899
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
900
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
895
901
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
896
902
|
*/
|
|
897
903
|
export const mintsEthUnwrapperAndCallerABI = [
|
|
@@ -983,19 +989,38 @@ export const mintsEthUnwrapperAndCallerABI = [
|
|
|
983
989
|
] as const
|
|
984
990
|
|
|
985
991
|
/**
|
|
992
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
993
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
994
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
995
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
986
996
|
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
997
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
987
998
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
999
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
988
1000
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
989
1001
|
*/
|
|
990
1002
|
export const mintsEthUnwrapperAndCallerAddress = {
|
|
1003
|
+
1: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
1004
|
+
10: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
1005
|
+
8453: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
1006
|
+
42161: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
1007
|
+
81457: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
991
1008
|
84532: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
1009
|
+
421614: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
992
1010
|
7777777: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
1011
|
+
11155111: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
993
1012
|
999999999: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
994
1013
|
} as const
|
|
995
1014
|
|
|
996
1015
|
/**
|
|
1016
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
1017
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
1018
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
1019
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
997
1020
|
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
1021
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
998
1022
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
1023
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
999
1024
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
1000
1025
|
*/
|
|
1001
1026
|
export const mintsEthUnwrapperAndCallerConfig = {
|
|
@@ -1314,6 +1339,291 @@ export const protocolRewardsConfig = {
|
|
|
1314
1339
|
abi: protocolRewardsABI,
|
|
1315
1340
|
} as const
|
|
1316
1341
|
|
|
1342
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1343
|
+
// UpgradeGate
|
|
1344
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1348
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1349
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1350
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1351
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1352
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1353
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1354
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1355
|
+
*/
|
|
1356
|
+
export const upgradeGateABI = [
|
|
1357
|
+
{ stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
|
|
1358
|
+
{
|
|
1359
|
+
stateMutability: 'nonpayable',
|
|
1360
|
+
type: 'function',
|
|
1361
|
+
inputs: [],
|
|
1362
|
+
name: 'acceptOwnership',
|
|
1363
|
+
outputs: [],
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
stateMutability: 'nonpayable',
|
|
1367
|
+
type: 'function',
|
|
1368
|
+
inputs: [],
|
|
1369
|
+
name: 'cancelOwnershipTransfer',
|
|
1370
|
+
outputs: [],
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
stateMutability: 'pure',
|
|
1374
|
+
type: 'function',
|
|
1375
|
+
inputs: [],
|
|
1376
|
+
name: 'contractName',
|
|
1377
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
stateMutability: 'pure',
|
|
1381
|
+
type: 'function',
|
|
1382
|
+
inputs: [],
|
|
1383
|
+
name: 'contractURI',
|
|
1384
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
stateMutability: 'nonpayable',
|
|
1388
|
+
type: 'function',
|
|
1389
|
+
inputs: [
|
|
1390
|
+
{ name: '_initialOwner', internalType: 'address', type: 'address' },
|
|
1391
|
+
],
|
|
1392
|
+
name: 'initialize',
|
|
1393
|
+
outputs: [],
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
stateMutability: 'view',
|
|
1397
|
+
type: 'function',
|
|
1398
|
+
inputs: [
|
|
1399
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
1400
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
1401
|
+
],
|
|
1402
|
+
name: 'isAllowedUpgrade',
|
|
1403
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
1404
|
+
},
|
|
1405
|
+
{
|
|
1406
|
+
stateMutability: 'view',
|
|
1407
|
+
type: 'function',
|
|
1408
|
+
inputs: [
|
|
1409
|
+
{ name: 'baseImpl', internalType: 'address', type: 'address' },
|
|
1410
|
+
{ name: 'upgradeImpl', internalType: 'address', type: 'address' },
|
|
1411
|
+
],
|
|
1412
|
+
name: 'isRegisteredUpgradePath',
|
|
1413
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
stateMutability: 'view',
|
|
1417
|
+
type: 'function',
|
|
1418
|
+
inputs: [],
|
|
1419
|
+
name: 'owner',
|
|
1420
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
stateMutability: 'view',
|
|
1424
|
+
type: 'function',
|
|
1425
|
+
inputs: [],
|
|
1426
|
+
name: 'pendingOwner',
|
|
1427
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
stateMutability: 'nonpayable',
|
|
1431
|
+
type: 'function',
|
|
1432
|
+
inputs: [
|
|
1433
|
+
{ name: 'baseImpls', internalType: 'address[]', type: 'address[]' },
|
|
1434
|
+
{ name: 'upgradeImpl', internalType: 'address', type: 'address' },
|
|
1435
|
+
],
|
|
1436
|
+
name: 'registerUpgradePath',
|
|
1437
|
+
outputs: [],
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
stateMutability: 'nonpayable',
|
|
1441
|
+
type: 'function',
|
|
1442
|
+
inputs: [
|
|
1443
|
+
{ name: 'baseImpl', internalType: 'address', type: 'address' },
|
|
1444
|
+
{ name: 'upgradeImpl', internalType: 'address', type: 'address' },
|
|
1445
|
+
],
|
|
1446
|
+
name: 'removeUpgradePath',
|
|
1447
|
+
outputs: [],
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
stateMutability: 'nonpayable',
|
|
1451
|
+
type: 'function',
|
|
1452
|
+
inputs: [],
|
|
1453
|
+
name: 'resignOwnership',
|
|
1454
|
+
outputs: [],
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
stateMutability: 'nonpayable',
|
|
1458
|
+
type: 'function',
|
|
1459
|
+
inputs: [{ name: '_newOwner', internalType: 'address', type: 'address' }],
|
|
1460
|
+
name: 'safeTransferOwnership',
|
|
1461
|
+
outputs: [],
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
stateMutability: 'nonpayable',
|
|
1465
|
+
type: 'function',
|
|
1466
|
+
inputs: [{ name: '_newOwner', internalType: 'address', type: 'address' }],
|
|
1467
|
+
name: 'transferOwnership',
|
|
1468
|
+
outputs: [],
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
type: 'event',
|
|
1472
|
+
anonymous: false,
|
|
1473
|
+
inputs: [
|
|
1474
|
+
{ name: 'version', internalType: 'uint8', type: 'uint8', indexed: false },
|
|
1475
|
+
],
|
|
1476
|
+
name: 'Initialized',
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
type: 'event',
|
|
1480
|
+
anonymous: false,
|
|
1481
|
+
inputs: [
|
|
1482
|
+
{
|
|
1483
|
+
name: 'owner',
|
|
1484
|
+
internalType: 'address',
|
|
1485
|
+
type: 'address',
|
|
1486
|
+
indexed: true,
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
name: 'canceledOwner',
|
|
1490
|
+
internalType: 'address',
|
|
1491
|
+
type: 'address',
|
|
1492
|
+
indexed: true,
|
|
1493
|
+
},
|
|
1494
|
+
],
|
|
1495
|
+
name: 'OwnerCanceled',
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
type: 'event',
|
|
1499
|
+
anonymous: false,
|
|
1500
|
+
inputs: [
|
|
1501
|
+
{
|
|
1502
|
+
name: 'owner',
|
|
1503
|
+
internalType: 'address',
|
|
1504
|
+
type: 'address',
|
|
1505
|
+
indexed: true,
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
name: 'pendingOwner',
|
|
1509
|
+
internalType: 'address',
|
|
1510
|
+
type: 'address',
|
|
1511
|
+
indexed: true,
|
|
1512
|
+
},
|
|
1513
|
+
],
|
|
1514
|
+
name: 'OwnerPending',
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
type: 'event',
|
|
1518
|
+
anonymous: false,
|
|
1519
|
+
inputs: [
|
|
1520
|
+
{
|
|
1521
|
+
name: 'prevOwner',
|
|
1522
|
+
internalType: 'address',
|
|
1523
|
+
type: 'address',
|
|
1524
|
+
indexed: true,
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
name: 'newOwner',
|
|
1528
|
+
internalType: 'address',
|
|
1529
|
+
type: 'address',
|
|
1530
|
+
indexed: true,
|
|
1531
|
+
},
|
|
1532
|
+
],
|
|
1533
|
+
name: 'OwnerUpdated',
|
|
1534
|
+
},
|
|
1535
|
+
{ type: 'event', anonymous: false, inputs: [], name: 'UpgradeGateSetup' },
|
|
1536
|
+
{
|
|
1537
|
+
type: 'event',
|
|
1538
|
+
anonymous: false,
|
|
1539
|
+
inputs: [
|
|
1540
|
+
{
|
|
1541
|
+
name: 'baseImpl',
|
|
1542
|
+
internalType: 'address',
|
|
1543
|
+
type: 'address',
|
|
1544
|
+
indexed: true,
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
name: 'upgradeImpl',
|
|
1548
|
+
internalType: 'address',
|
|
1549
|
+
type: 'address',
|
|
1550
|
+
indexed: true,
|
|
1551
|
+
},
|
|
1552
|
+
],
|
|
1553
|
+
name: 'UpgradeRegistered',
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
type: 'event',
|
|
1557
|
+
anonymous: false,
|
|
1558
|
+
inputs: [
|
|
1559
|
+
{
|
|
1560
|
+
name: 'baseImpl',
|
|
1561
|
+
internalType: 'address',
|
|
1562
|
+
type: 'address',
|
|
1563
|
+
indexed: true,
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
name: 'upgradeImpl',
|
|
1567
|
+
internalType: 'address',
|
|
1568
|
+
type: 'address',
|
|
1569
|
+
indexed: true,
|
|
1570
|
+
},
|
|
1571
|
+
],
|
|
1572
|
+
name: 'UpgradeRemoved',
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
type: 'error',
|
|
1576
|
+
inputs: [],
|
|
1577
|
+
name: 'INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED',
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
type: 'error',
|
|
1581
|
+
inputs: [],
|
|
1582
|
+
name: 'INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING',
|
|
1583
|
+
},
|
|
1584
|
+
{ type: 'error', inputs: [], name: 'ONLY_OWNER' },
|
|
1585
|
+
{ type: 'error', inputs: [], name: 'ONLY_PENDING_OWNER' },
|
|
1586
|
+
{ type: 'error', inputs: [], name: 'OWNER_CANNOT_BE_ZERO_ADDRESS' },
|
|
1587
|
+
] as const
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1591
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1592
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1593
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1594
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1595
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1596
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1597
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1598
|
+
*/
|
|
1599
|
+
export const upgradeGateAddress = {
|
|
1600
|
+
1: '0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900',
|
|
1601
|
+
10: '0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900',
|
|
1602
|
+
8453: '0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900',
|
|
1603
|
+
42161: '0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900',
|
|
1604
|
+
81457: '0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900',
|
|
1605
|
+
84532: '0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900',
|
|
1606
|
+
421614: '0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900',
|
|
1607
|
+
7777777: '0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900',
|
|
1608
|
+
11155111: '0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900',
|
|
1609
|
+
168587773: '0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900',
|
|
1610
|
+
} as const
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1614
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1615
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1616
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1617
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1618
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1619
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1620
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900)
|
|
1621
|
+
*/
|
|
1622
|
+
export const upgradeGateConfig = {
|
|
1623
|
+
address: upgradeGateAddress,
|
|
1624
|
+
abi: upgradeGateABI,
|
|
1625
|
+
} as const
|
|
1626
|
+
|
|
1317
1627
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1318
1628
|
// ZoraCreator1155FactoryImpl
|
|
1319
1629
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -5040,8 +5350,14 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
|
|
|
5040
5350
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
5041
5351
|
|
|
5042
5352
|
/**
|
|
5353
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5354
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5355
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5356
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5043
5357
|
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5358
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5044
5359
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5360
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5045
5361
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5046
5362
|
*/
|
|
5047
5363
|
export const zoraMints1155ABI = [
|
|
@@ -5808,19 +6124,38 @@ export const zoraMints1155ABI = [
|
|
|
5808
6124
|
] as const
|
|
5809
6125
|
|
|
5810
6126
|
/**
|
|
6127
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
6128
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
6129
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
6130
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5811
6131
|
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
6132
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5812
6133
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
6134
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5813
6135
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5814
6136
|
*/
|
|
5815
6137
|
export const zoraMints1155Address = {
|
|
6138
|
+
1: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
6139
|
+
10: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
6140
|
+
8453: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
6141
|
+
42161: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
6142
|
+
81457: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
5816
6143
|
84532: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
6144
|
+
421614: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
5817
6145
|
7777777: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
6146
|
+
11155111: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
5818
6147
|
999999999: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
|
|
5819
6148
|
} as const
|
|
5820
6149
|
|
|
5821
6150
|
/**
|
|
6151
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
6152
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
6153
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
6154
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5822
6155
|
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
6156
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5823
6157
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
6158
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5824
6159
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
|
|
5825
6160
|
*/
|
|
5826
6161
|
export const zoraMints1155Config = {
|
|
@@ -5833,8 +6168,14 @@ export const zoraMints1155Config = {
|
|
|
5833
6168
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
5834
6169
|
|
|
5835
6170
|
/**
|
|
6171
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6172
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6173
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6174
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
5836
6175
|
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6176
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
5837
6177
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6178
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
5838
6179
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
5839
6180
|
*/
|
|
5840
6181
|
export const zoraMintsManagerImplABI = [
|
|
@@ -5973,6 +6314,7 @@ export const zoraMintsManagerImplABI = [
|
|
|
5973
6314
|
},
|
|
5974
6315
|
],
|
|
5975
6316
|
},
|
|
6317
|
+
{ name: 'firstMinter', internalType: 'address', type: 'address' },
|
|
5976
6318
|
{ name: 'signerContract', internalType: 'address', type: 'address' },
|
|
5977
6319
|
],
|
|
5978
6320
|
name: 'collectPremint',
|
|
@@ -6725,19 +7067,38 @@ export const zoraMintsManagerImplABI = [
|
|
|
6725
7067
|
] as const
|
|
6726
7068
|
|
|
6727
7069
|
/**
|
|
7070
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
7071
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
7072
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
7073
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6728
7074
|
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
7075
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6729
7076
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
7077
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6730
7078
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6731
7079
|
*/
|
|
6732
7080
|
export const zoraMintsManagerImplAddress = {
|
|
7081
|
+
1: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
7082
|
+
10: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
7083
|
+
8453: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
7084
|
+
42161: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
7085
|
+
81457: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
6733
7086
|
84532: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
7087
|
+
421614: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
6734
7088
|
7777777: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
7089
|
+
11155111: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
6735
7090
|
999999999: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
|
|
6736
7091
|
} as const
|
|
6737
7092
|
|
|
6738
7093
|
/**
|
|
7094
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
7095
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
7096
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
7097
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6739
7098
|
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
7099
|
+
* - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6740
7100
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
7101
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6741
7102
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
|
|
6742
7103
|
*/
|
|
6743
7104
|
export const zoraMintsManagerImplConfig = {
|
package/src/types.ts
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
zoraCreator1155PremintExecutorImplABI,
|
|
5
5
|
iPremintDefinitionsABI,
|
|
6
6
|
} from "./generated/wagmi";
|
|
7
|
+
import { Address } from "viem";
|
|
7
8
|
|
|
8
9
|
export enum PremintConfigVersion {
|
|
9
10
|
V1 = "1",
|
|
@@ -11,12 +12,17 @@ export enum PremintConfigVersion {
|
|
|
11
12
|
V3 = "3",
|
|
12
13
|
}
|
|
13
14
|
|
|
14
|
-
export type ContractCreationConfig =
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
>[
|
|
15
|
+
export type ContractCreationConfig = Omit<
|
|
16
|
+
AbiParametersToPrimitiveTypes<
|
|
17
|
+
ExtractAbiFunction<
|
|
18
|
+
typeof zoraCreator1155PremintExecutorImplABI,
|
|
19
|
+
"premint"
|
|
20
|
+
>["inputs"]
|
|
21
|
+
>[0],
|
|
22
|
+
"additionalAdmins"
|
|
23
|
+
> & {
|
|
24
|
+
additionalAdmins: Address[];
|
|
25
|
+
};
|
|
20
26
|
|
|
21
27
|
export type TokenCreationConfigV1 = AbiParametersToPrimitiveTypes<
|
|
22
28
|
ExtractAbiFunction<
|
|
@@ -76,7 +82,9 @@ export type PremintConfigForVersion<T extends PremintConfigVersion> =
|
|
|
76
82
|
: PremintConfigV3;
|
|
77
83
|
|
|
78
84
|
export type PremintConfigWithVersion<T extends PremintConfigVersion> = {
|
|
85
|
+
/** Premint Config */
|
|
79
86
|
premintConfig: PremintConfigForVersion<T>;
|
|
87
|
+
/** PremintConfigVersion of the premint */
|
|
80
88
|
premintConfigVersion: T;
|
|
81
89
|
};
|
|
82
90
|
export type PremintConfigAndVersion =
|