@zoralabs/protocol-deployments 0.0.2 → 0.0.4
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 +14 -14
- package/CHANGELOG.md +12 -0
- package/addresses/7777777.json +4 -4
- package/dist/index.cjs +76 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +76 -0
- package/dist/index.js.map +1 -1
- package/dist/package/batchPublish.test.d.ts +10 -10
- package/dist/package/wagmiGenerated.d.ts +312 -0
- package/dist/package/wagmiGenerated.d.ts.map +1 -1
- package/package/wagmiGenerated.ts +76 -0
- package/package.json +1 -1
- package/test/ZoraCreator1155SupplyRoyaltyDeprecation.t.sol +74 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -10,14 +10,14 @@ $ wagmi generate
|
|
|
10
10
|
✔ Writing to [90mpackage/wagmiGenerated.ts[39m
|
|
11
11
|
$ node script/bundle-chainConfigs.mjs && yarn prettier
|
|
12
12
|
$ prettier --write 'package/**/*.ts' 'script/**/*.ts' 'wagmi.config.ts'
|
|
13
|
-
package/batchPublish.test.ts
|
|
14
|
-
package/chainConfigs.ts
|
|
15
|
-
package/deployment.ts
|
|
16
|
-
package/index.ts
|
|
17
|
-
package/wagmiGenerated.ts
|
|
18
|
-
script/copy-deployed-contracts.ts
|
|
19
|
-
script/signDeploymentTransactions.ts
|
|
20
|
-
wagmi.config.ts
|
|
13
|
+
package/batchPublish.test.ts 306ms
|
|
14
|
+
package/chainConfigs.ts 34ms
|
|
15
|
+
package/deployment.ts 42ms
|
|
16
|
+
package/index.ts 4ms
|
|
17
|
+
package/wagmiGenerated.ts 598ms
|
|
18
|
+
script/copy-deployed-contracts.ts 76ms
|
|
19
|
+
script/signDeploymentTransactions.ts 44ms
|
|
20
|
+
wagmi.config.ts 15ms
|
|
21
21
|
[34mCLI[39m Building entry: package/index.ts
|
|
22
22
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
23
23
|
[34mCLI[39m tsup v7.2.0
|
|
@@ -26,9 +26,9 @@ wagmi.config.ts 23ms
|
|
|
26
26
|
[34mCLI[39m Cleaning output folder
|
|
27
27
|
[34mCJS[39m Build start
|
|
28
28
|
[34mESM[39m Build start
|
|
29
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
30
|
-
[32mESM[39m [1mdist/index.js.map [22m[
|
|
31
|
-
[32mESM[39m ⚡️ Build success in
|
|
32
|
-
[32mCJS[39m [1mdist/index.cjs [22m[
|
|
33
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[
|
|
34
|
-
[32mCJS[39m ⚡️ Build success in
|
|
29
|
+
[32mESM[39m [1mdist/index.js [22m[32m95.34 KB[39m
|
|
30
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m191.88 KB[39m
|
|
31
|
+
[32mESM[39m ⚡️ Build success in 35ms
|
|
32
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m97.85 KB[39m
|
|
33
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m192.29 KB[39m
|
|
34
|
+
[32mCJS[39m ⚡️ Build success in 36ms
|
package/CHANGELOG.md
CHANGED
package/addresses/7777777.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"CONTRACT_1155_IMPL": "
|
|
3
|
-
"CONTRACT_1155_IMPL_VERSION": "2.
|
|
2
|
+
"CONTRACT_1155_IMPL": "0xa1F45f5B50e16E79366867E91fE45c181D18Cb67",
|
|
3
|
+
"CONTRACT_1155_IMPL_VERSION": "2.3.1",
|
|
4
4
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
5
|
-
"FACTORY_IMPL": "
|
|
5
|
+
"FACTORY_IMPL": "0x2D6d587e9B09fa01405A5816938554ccdeEf69db",
|
|
6
6
|
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
7
7
|
"FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
8
8
|
"MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
12
12
|
"timestamp": 1696022353,
|
|
13
13
|
"commit": "9cac592"
|
|
14
|
-
}
|
|
14
|
+
}
|
package/dist/index.cjs
CHANGED
|
@@ -627,6 +627,7 @@ var zoraCreator1155ImplABI = [
|
|
|
627
627
|
name: "CallFailed"
|
|
628
628
|
},
|
|
629
629
|
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
630
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
630
631
|
{
|
|
631
632
|
type: "error",
|
|
632
633
|
inputs: [
|
|
@@ -725,12 +726,23 @@ var zoraCreator1155ImplABI = [
|
|
|
725
726
|
},
|
|
726
727
|
{ type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
|
|
727
728
|
{ type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
|
|
729
|
+
{
|
|
730
|
+
type: "error",
|
|
731
|
+
inputs: [
|
|
732
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
733
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
734
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
735
|
+
],
|
|
736
|
+
name: "InvalidMerkleProof"
|
|
737
|
+
},
|
|
728
738
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
729
739
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
730
740
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
731
741
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
732
742
|
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
733
743
|
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
744
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
745
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
734
746
|
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
735
747
|
{
|
|
736
748
|
type: "error",
|
|
@@ -754,6 +766,8 @@ var zoraCreator1155ImplABI = [
|
|
|
754
766
|
name: "RendererNotValid"
|
|
755
767
|
},
|
|
756
768
|
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
769
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
770
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
757
771
|
{
|
|
758
772
|
type: "error",
|
|
759
773
|
inputs: [
|
|
@@ -774,6 +788,15 @@ var zoraCreator1155ImplABI = [
|
|
|
774
788
|
inputs: [],
|
|
775
789
|
name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL"
|
|
776
790
|
},
|
|
791
|
+
{
|
|
792
|
+
type: "error",
|
|
793
|
+
inputs: [
|
|
794
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
795
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
796
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" }
|
|
797
|
+
],
|
|
798
|
+
name: "UserExceedsMintLimit"
|
|
799
|
+
},
|
|
777
800
|
{
|
|
778
801
|
type: "error",
|
|
779
802
|
inputs: [
|
|
@@ -783,6 +806,7 @@ var zoraCreator1155ImplABI = [
|
|
|
783
806
|
],
|
|
784
807
|
name: "UserMissingRoleForToken"
|
|
785
808
|
},
|
|
809
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
786
810
|
{
|
|
787
811
|
type: "event",
|
|
788
812
|
anonymous: false,
|
|
@@ -2029,6 +2053,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2029
2053
|
name: "CallFailed"
|
|
2030
2054
|
},
|
|
2031
2055
|
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
2056
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
2032
2057
|
{
|
|
2033
2058
|
type: "error",
|
|
2034
2059
|
inputs: [
|
|
@@ -2085,11 +2110,23 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2085
2110
|
inputs: [],
|
|
2086
2111
|
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
|
|
2087
2112
|
},
|
|
2113
|
+
{
|
|
2114
|
+
type: "error",
|
|
2115
|
+
inputs: [
|
|
2116
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
2117
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
2118
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
2119
|
+
],
|
|
2120
|
+
name: "InvalidMerkleProof"
|
|
2121
|
+
},
|
|
2122
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
2088
2123
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
2089
2124
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
2090
2125
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
2091
2126
|
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
2092
2127
|
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
2128
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
2129
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
2093
2130
|
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
2094
2131
|
{ type: "error", inputs: [], name: "ONLY_OWNER" },
|
|
2095
2132
|
{ type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
|
|
@@ -2105,6 +2142,8 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2105
2142
|
name: "ProtocolRewardsWithdrawFailed"
|
|
2106
2143
|
},
|
|
2107
2144
|
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
2145
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
2146
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
2108
2147
|
{
|
|
2109
2148
|
type: "error",
|
|
2110
2149
|
inputs: [
|
|
@@ -2133,6 +2172,15 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2133
2172
|
],
|
|
2134
2173
|
name: "UpgradeToMismatchedContractName"
|
|
2135
2174
|
},
|
|
2175
|
+
{
|
|
2176
|
+
type: "error",
|
|
2177
|
+
inputs: [
|
|
2178
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
2179
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
2180
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" }
|
|
2181
|
+
],
|
|
2182
|
+
name: "UserExceedsMintLimit"
|
|
2183
|
+
},
|
|
2136
2184
|
{
|
|
2137
2185
|
type: "error",
|
|
2138
2186
|
inputs: [
|
|
@@ -2142,6 +2190,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2142
2190
|
],
|
|
2143
2191
|
name: "UserMissingRoleForToken"
|
|
2144
2192
|
},
|
|
2193
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
2145
2194
|
{
|
|
2146
2195
|
type: "event",
|
|
2147
2196
|
anonymous: false,
|
|
@@ -2670,6 +2719,18 @@ var zoraCreator1155PremintExecutorImplConfig = {
|
|
|
2670
2719
|
abi: zoraCreator1155PremintExecutorImplABI
|
|
2671
2720
|
};
|
|
2672
2721
|
var zoraCreatorFixedPriceSaleStrategyABI = [
|
|
2722
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
2723
|
+
{
|
|
2724
|
+
type: "error",
|
|
2725
|
+
inputs: [
|
|
2726
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
2727
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
2728
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
2729
|
+
],
|
|
2730
|
+
name: "InvalidMerkleProof"
|
|
2731
|
+
},
|
|
2732
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
2733
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
2673
2734
|
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
2674
2735
|
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
2675
2736
|
{
|
|
@@ -2908,6 +2969,7 @@ var zoraCreatorFixedPriceSaleStrategyConfig = {
|
|
|
2908
2969
|
abi: zoraCreatorFixedPriceSaleStrategyABI
|
|
2909
2970
|
};
|
|
2910
2971
|
var zoraCreatorMerkleMinterStrategyABI = [
|
|
2972
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
2911
2973
|
{
|
|
2912
2974
|
type: "error",
|
|
2913
2975
|
inputs: [
|
|
@@ -2918,6 +2980,8 @@ var zoraCreatorMerkleMinterStrategyABI = [
|
|
|
2918
2980
|
name: "InvalidMerkleProof"
|
|
2919
2981
|
},
|
|
2920
2982
|
{ type: "error", inputs: [], name: "MerkleClaimsExceeded" },
|
|
2983
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
2984
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
2921
2985
|
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
2922
2986
|
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
2923
2987
|
{
|
|
@@ -3121,8 +3185,20 @@ var zoraCreatorMerkleMinterStrategyConfig = {
|
|
|
3121
3185
|
var zoraCreatorRedeemMinterFactoryABI = [
|
|
3122
3186
|
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
3123
3187
|
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
3188
|
+
{
|
|
3189
|
+
type: "error",
|
|
3190
|
+
inputs: [
|
|
3191
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
3192
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
3193
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
3194
|
+
],
|
|
3195
|
+
name: "InvalidMerkleProof"
|
|
3196
|
+
},
|
|
3124
3197
|
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
3125
3198
|
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
3199
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
3200
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
3201
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
3126
3202
|
{
|
|
3127
3203
|
type: "event",
|
|
3128
3204
|
anonymous: false,
|