@zoralabs/protocol-deployments 0.0.9 → 0.0.10
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 +12 -12
- package/CHANGELOG.md +11 -0
- package/addresses/5.json +7 -7
- package/addresses/7777777.json +8 -7
- package/addresses/999.json +1 -0
- package/dist/index.cjs +38 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +38 -12
- package/dist/index.js.map +1 -1
- package/dist/package/batchPublish.test.d.ts +2 -2
- package/dist/package/wagmiGenerated.d.ts +67 -14
- package/dist/package/wagmiGenerated.d.ts.map +1 -1
- package/package/batchPublish.test.ts +1 -0
- package/package/wagmiGenerated.ts +36 -10
- package/package.json +2 -2
- package/src/DeploymentTestingUtils.sol +2 -2
- package/test/UpgradesTest.t.sol +94 -26
- package/test/ZoraCreator1155Factory_Fork.t.sol +2 -2
package/dist/index.js
CHANGED
|
@@ -500,6 +500,7 @@ var zoraCreator1155ImplABI = [
|
|
|
500
500
|
{ name: "_protocolRewards", internalType: "address", type: "address" }
|
|
501
501
|
]
|
|
502
502
|
},
|
|
503
|
+
{ stateMutability: "payable", type: "receive" },
|
|
503
504
|
{
|
|
504
505
|
stateMutability: "view",
|
|
505
506
|
type: "function",
|
|
@@ -542,6 +543,13 @@ var zoraCreator1155ImplABI = [
|
|
|
542
543
|
name: "PERMISSION_BIT_SALES",
|
|
543
544
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
544
545
|
},
|
|
546
|
+
{
|
|
547
|
+
stateMutability: "view",
|
|
548
|
+
type: "function",
|
|
549
|
+
inputs: [],
|
|
550
|
+
name: "PLATFORM_REFERRAL_REWARD_DEPOSIT_REASON",
|
|
551
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
552
|
+
},
|
|
545
553
|
{
|
|
546
554
|
stateMutability: "nonpayable",
|
|
547
555
|
type: "function",
|
|
@@ -669,7 +677,12 @@ var zoraCreator1155ImplABI = [
|
|
|
669
677
|
internalType: "uint256",
|
|
670
678
|
type: "uint256"
|
|
671
679
|
},
|
|
672
|
-
{ name: "zoraReward", internalType: "uint256", type: "uint256" }
|
|
680
|
+
{ name: "zoraReward", internalType: "uint256", type: "uint256" },
|
|
681
|
+
{
|
|
682
|
+
name: "platformReferralReward",
|
|
683
|
+
internalType: "uint256",
|
|
684
|
+
type: "uint256"
|
|
685
|
+
}
|
|
673
686
|
]
|
|
674
687
|
}
|
|
675
688
|
]
|
|
@@ -701,7 +714,12 @@ var zoraCreator1155ImplABI = [
|
|
|
701
714
|
internalType: "uint256",
|
|
702
715
|
type: "uint256"
|
|
703
716
|
},
|
|
704
|
-
{ name: "zoraReward", internalType: "uint256", type: "uint256" }
|
|
717
|
+
{ name: "zoraReward", internalType: "uint256", type: "uint256" },
|
|
718
|
+
{
|
|
719
|
+
name: "platformReferralReward",
|
|
720
|
+
internalType: "uint256",
|
|
721
|
+
type: "uint256"
|
|
722
|
+
}
|
|
705
723
|
]
|
|
706
724
|
}
|
|
707
725
|
]
|
|
@@ -931,6 +949,11 @@ var zoraCreator1155ImplABI = [
|
|
|
931
949
|
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
932
950
|
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
933
951
|
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
952
|
+
{
|
|
953
|
+
name: "rewardsRecipients",
|
|
954
|
+
internalType: "address[]",
|
|
955
|
+
type: "address[]"
|
|
956
|
+
},
|
|
934
957
|
{ name: "minterArguments", internalType: "bytes", type: "bytes" }
|
|
935
958
|
],
|
|
936
959
|
name: "mint",
|
|
@@ -994,6 +1017,15 @@ var zoraCreator1155ImplABI = [
|
|
|
994
1017
|
name: "permissions",
|
|
995
1018
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
996
1019
|
},
|
|
1020
|
+
{
|
|
1021
|
+
stateMutability: "view",
|
|
1022
|
+
type: "function",
|
|
1023
|
+
inputs: [],
|
|
1024
|
+
name: "protocolRewards",
|
|
1025
|
+
outputs: [
|
|
1026
|
+
{ name: "", internalType: "contract IProtocolRewards", type: "address" }
|
|
1027
|
+
]
|
|
1028
|
+
},
|
|
997
1029
|
{
|
|
998
1030
|
stateMutability: "view",
|
|
999
1031
|
type: "function",
|
|
@@ -1251,16 +1283,6 @@ var zoraCreator1155ImplABI = [
|
|
|
1251
1283
|
name: "withdraw",
|
|
1252
1284
|
outputs: []
|
|
1253
1285
|
},
|
|
1254
|
-
{
|
|
1255
|
-
stateMutability: "nonpayable",
|
|
1256
|
-
type: "function",
|
|
1257
|
-
inputs: [
|
|
1258
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
1259
|
-
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
1260
|
-
],
|
|
1261
|
-
name: "withdrawRewards",
|
|
1262
|
-
outputs: []
|
|
1263
|
-
},
|
|
1264
1286
|
{
|
|
1265
1287
|
type: "event",
|
|
1266
1288
|
anonymous: false,
|
|
@@ -2617,6 +2639,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2617
2639
|
],
|
|
2618
2640
|
name: "Burn_NotOwnerOrApproved"
|
|
2619
2641
|
},
|
|
2642
|
+
{ type: "error", inputs: [], name: "CREATOR_FUNDS_RECIPIENT_NOT_SET" },
|
|
2620
2643
|
{
|
|
2621
2644
|
type: "error",
|
|
2622
2645
|
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
@@ -2681,6 +2704,8 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2681
2704
|
inputs: [],
|
|
2682
2705
|
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
|
|
2683
2706
|
},
|
|
2707
|
+
{ type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
|
|
2708
|
+
{ type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
|
|
2684
2709
|
{
|
|
2685
2710
|
type: "error",
|
|
2686
2711
|
inputs: [
|
|
@@ -2700,6 +2725,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2700
2725
|
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
2701
2726
|
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
2702
2727
|
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
2728
|
+
{ type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
|
|
2703
2729
|
{ type: "error", inputs: [], name: "ONLY_OWNER" },
|
|
2704
2730
|
{ type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
|
|
2705
2731
|
{ type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },
|