@zoralabs/protocol-deployments 0.0.8 → 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 +13 -13
- package/CHANGELOG.md +19 -0
- package/addresses/5.json +7 -7
- package/addresses/7777777.json +8 -7
- package/addresses/999.json +4 -3
- package/addresses/999999999.json +3 -3
- package/dist/index.cjs +57 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +57 -14
- package/dist/index.js.map +1 -1
- package/dist/package/batchPublish.test.d.ts +2 -2
- package/dist/package/wagmiGenerated.d.ts +107 -26
- package/dist/package/wagmiGenerated.d.ts.map +1 -1
- package/package/batchPublish.test.ts +1 -0
- package/package/wagmiGenerated.ts +55 -12
- package/package.json +2 -2
- package/script/DeployProxiesToNewChain.s.sol +1 -1
- package/script/DeployTestContracts.s.sol +1 -1
- package/src/DeploymentTestingUtils.sol +2 -2
- package/test/UpgradesTest.t.sol +98 -27
- package/test/ZoraCreator1155Factory_Fork.t.sol +2 -2
- package/test/ZoraCreator1155PremintExecutorForkTest.t.sol +2 -2
|
@@ -137,9 +137,9 @@ export declare const walletClientWithAccount: {
|
|
|
137
137
|
[x: `bytes[${string}]`]: undefined;
|
|
138
138
|
[x: `uint8[${string}]`]: undefined;
|
|
139
139
|
[x: `uint256[${string}]`]: undefined;
|
|
140
|
+
[x: `bytes4[${string}]`]: undefined;
|
|
140
141
|
[x: `uint96[${string}]`]: undefined;
|
|
141
142
|
[x: `bool[${string}]`]: undefined;
|
|
142
|
-
[x: `bytes4[${string}]`]: undefined;
|
|
143
143
|
[x: `uint64[${string}]`]: undefined;
|
|
144
144
|
[x: `bytes1[${string}]`]: undefined;
|
|
145
145
|
[x: `bytes3[${string}]`]: undefined;
|
|
@@ -239,9 +239,9 @@ export declare const walletClientWithAccount: {
|
|
|
239
239
|
bytes?: undefined;
|
|
240
240
|
uint8?: undefined;
|
|
241
241
|
uint256?: undefined;
|
|
242
|
+
bytes4?: undefined;
|
|
242
243
|
uint96?: undefined;
|
|
243
244
|
bool?: undefined;
|
|
244
|
-
bytes4?: undefined;
|
|
245
245
|
uint64?: undefined;
|
|
246
246
|
bytes1?: undefined;
|
|
247
247
|
bytes3?: undefined;
|
|
@@ -1149,6 +1149,9 @@ export declare const zoraCreator1155ImplABI: readonly [{
|
|
|
1149
1149
|
readonly internalType: "address";
|
|
1150
1150
|
readonly type: "address";
|
|
1151
1151
|
}];
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly stateMutability: "payable";
|
|
1154
|
+
readonly type: "receive";
|
|
1152
1155
|
}, {
|
|
1153
1156
|
readonly stateMutability: "view";
|
|
1154
1157
|
readonly type: "function";
|
|
@@ -1209,6 +1212,16 @@ export declare const zoraCreator1155ImplABI: readonly [{
|
|
|
1209
1212
|
readonly internalType: "uint256";
|
|
1210
1213
|
readonly type: "uint256";
|
|
1211
1214
|
}];
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly stateMutability: "view";
|
|
1217
|
+
readonly type: "function";
|
|
1218
|
+
readonly inputs: readonly [];
|
|
1219
|
+
readonly name: "PLATFORM_REFERRAL_REWARD_DEPOSIT_REASON";
|
|
1220
|
+
readonly outputs: readonly [{
|
|
1221
|
+
readonly name: "";
|
|
1222
|
+
readonly internalType: "bytes4";
|
|
1223
|
+
readonly type: "bytes4";
|
|
1224
|
+
}];
|
|
1212
1225
|
}, {
|
|
1213
1226
|
readonly stateMutability: "nonpayable";
|
|
1214
1227
|
readonly type: "function";
|
|
@@ -1400,6 +1413,10 @@ export declare const zoraCreator1155ImplABI: readonly [{
|
|
|
1400
1413
|
readonly name: "zoraReward";
|
|
1401
1414
|
readonly internalType: "uint256";
|
|
1402
1415
|
readonly type: "uint256";
|
|
1416
|
+
}, {
|
|
1417
|
+
readonly name: "platformReferralReward";
|
|
1418
|
+
readonly internalType: "uint256";
|
|
1419
|
+
readonly type: "uint256";
|
|
1403
1420
|
}];
|
|
1404
1421
|
}];
|
|
1405
1422
|
}, {
|
|
@@ -1435,6 +1452,10 @@ export declare const zoraCreator1155ImplABI: readonly [{
|
|
|
1435
1452
|
readonly name: "zoraReward";
|
|
1436
1453
|
readonly internalType: "uint256";
|
|
1437
1454
|
readonly type: "uint256";
|
|
1455
|
+
}, {
|
|
1456
|
+
readonly name: "platformReferralReward";
|
|
1457
|
+
readonly internalType: "uint256";
|
|
1458
|
+
readonly type: "uint256";
|
|
1438
1459
|
}];
|
|
1439
1460
|
}];
|
|
1440
1461
|
}, {
|
|
@@ -1783,6 +1804,10 @@ export declare const zoraCreator1155ImplABI: readonly [{
|
|
|
1783
1804
|
readonly name: "quantity";
|
|
1784
1805
|
readonly internalType: "uint256";
|
|
1785
1806
|
readonly type: "uint256";
|
|
1807
|
+
}, {
|
|
1808
|
+
readonly name: "rewardsRecipients";
|
|
1809
|
+
readonly internalType: "address[]";
|
|
1810
|
+
readonly type: "address[]";
|
|
1786
1811
|
}, {
|
|
1787
1812
|
readonly name: "minterArguments";
|
|
1788
1813
|
readonly internalType: "bytes";
|
|
@@ -1888,6 +1913,16 @@ export declare const zoraCreator1155ImplABI: readonly [{
|
|
|
1888
1913
|
readonly internalType: "uint256";
|
|
1889
1914
|
readonly type: "uint256";
|
|
1890
1915
|
}];
|
|
1916
|
+
}, {
|
|
1917
|
+
readonly stateMutability: "view";
|
|
1918
|
+
readonly type: "function";
|
|
1919
|
+
readonly inputs: readonly [];
|
|
1920
|
+
readonly name: "protocolRewards";
|
|
1921
|
+
readonly outputs: readonly [{
|
|
1922
|
+
readonly name: "";
|
|
1923
|
+
readonly internalType: "contract IProtocolRewards";
|
|
1924
|
+
readonly type: "address";
|
|
1925
|
+
}];
|
|
1891
1926
|
}, {
|
|
1892
1927
|
readonly stateMutability: "view";
|
|
1893
1928
|
readonly type: "function";
|
|
@@ -2257,20 +2292,6 @@ export declare const zoraCreator1155ImplABI: readonly [{
|
|
|
2257
2292
|
readonly inputs: readonly [];
|
|
2258
2293
|
readonly name: "withdraw";
|
|
2259
2294
|
readonly outputs: readonly [];
|
|
2260
|
-
}, {
|
|
2261
|
-
readonly stateMutability: "nonpayable";
|
|
2262
|
-
readonly type: "function";
|
|
2263
|
-
readonly inputs: readonly [{
|
|
2264
|
-
readonly name: "to";
|
|
2265
|
-
readonly internalType: "address";
|
|
2266
|
-
readonly type: "address";
|
|
2267
|
-
}, {
|
|
2268
|
-
readonly name: "amount";
|
|
2269
|
-
readonly internalType: "uint256";
|
|
2270
|
-
readonly type: "uint256";
|
|
2271
|
-
}];
|
|
2272
|
-
readonly name: "withdrawRewards";
|
|
2273
|
-
readonly outputs: readonly [];
|
|
2274
2295
|
}, {
|
|
2275
2296
|
readonly type: "event";
|
|
2276
2297
|
readonly anonymous: false;
|
|
@@ -3251,6 +3272,20 @@ export declare const zoraCreator1155PremintExecutorImplABI: readonly [{
|
|
|
3251
3272
|
readonly internalType: "address";
|
|
3252
3273
|
readonly type: "address";
|
|
3253
3274
|
}];
|
|
3275
|
+
}, {
|
|
3276
|
+
readonly stateMutability: "view";
|
|
3277
|
+
readonly type: "function";
|
|
3278
|
+
readonly inputs: readonly [{
|
|
3279
|
+
readonly name: "collectionAddress";
|
|
3280
|
+
readonly internalType: "address";
|
|
3281
|
+
readonly type: "address";
|
|
3282
|
+
}];
|
|
3283
|
+
readonly name: "mintFee";
|
|
3284
|
+
readonly outputs: readonly [{
|
|
3285
|
+
readonly name: "";
|
|
3286
|
+
readonly internalType: "uint256";
|
|
3287
|
+
readonly type: "uint256";
|
|
3288
|
+
}];
|
|
3254
3289
|
}, {
|
|
3255
3290
|
readonly stateMutability: "view";
|
|
3256
3291
|
readonly type: "function";
|
|
@@ -3497,9 +3532,9 @@ export declare const zoraCreator1155PremintExecutorImplABI: readonly [{
|
|
|
3497
3532
|
readonly internalType: "string";
|
|
3498
3533
|
readonly type: "string";
|
|
3499
3534
|
}, {
|
|
3500
|
-
readonly name: "
|
|
3501
|
-
readonly internalType: "address";
|
|
3502
|
-
readonly type: "address";
|
|
3535
|
+
readonly name: "mintRewardsRecipients";
|
|
3536
|
+
readonly internalType: "address[]";
|
|
3537
|
+
readonly type: "address[]";
|
|
3503
3538
|
}];
|
|
3504
3539
|
}];
|
|
3505
3540
|
readonly name: "premintV1";
|
|
@@ -3624,9 +3659,9 @@ export declare const zoraCreator1155PremintExecutorImplABI: readonly [{
|
|
|
3624
3659
|
readonly internalType: "string";
|
|
3625
3660
|
readonly type: "string";
|
|
3626
3661
|
}, {
|
|
3627
|
-
readonly name: "
|
|
3628
|
-
readonly internalType: "address";
|
|
3629
|
-
readonly type: "address";
|
|
3662
|
+
readonly name: "mintRewardsRecipients";
|
|
3663
|
+
readonly internalType: "address[]";
|
|
3664
|
+
readonly type: "address[]";
|
|
3630
3665
|
}];
|
|
3631
3666
|
}];
|
|
3632
3667
|
readonly name: "premintV2";
|
|
@@ -3976,6 +4011,10 @@ export declare const zoraCreator1155PremintExecutorImplABI: readonly [{
|
|
|
3976
4011
|
readonly type: "address";
|
|
3977
4012
|
}];
|
|
3978
4013
|
readonly name: "Burn_NotOwnerOrApproved";
|
|
4014
|
+
}, {
|
|
4015
|
+
readonly type: "error";
|
|
4016
|
+
readonly inputs: readonly [];
|
|
4017
|
+
readonly name: "CREATOR_FUNDS_RECIPIENT_NOT_SET";
|
|
3979
4018
|
}, {
|
|
3980
4019
|
readonly type: "error";
|
|
3981
4020
|
readonly inputs: readonly [{
|
|
@@ -4076,6 +4115,14 @@ export declare const zoraCreator1155PremintExecutorImplABI: readonly [{
|
|
|
4076
4115
|
readonly type: "error";
|
|
4077
4116
|
readonly inputs: readonly [];
|
|
4078
4117
|
readonly name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING";
|
|
4118
|
+
}, {
|
|
4119
|
+
readonly type: "error";
|
|
4120
|
+
readonly inputs: readonly [];
|
|
4121
|
+
readonly name: "INVALID_ADDRESS_ZERO";
|
|
4122
|
+
}, {
|
|
4123
|
+
readonly type: "error";
|
|
4124
|
+
readonly inputs: readonly [];
|
|
4125
|
+
readonly name: "INVALID_ETH_AMOUNT";
|
|
4079
4126
|
}, {
|
|
4080
4127
|
readonly type: "error";
|
|
4081
4128
|
readonly inputs: readonly [{
|
|
@@ -4132,6 +4179,10 @@ export declare const zoraCreator1155PremintExecutorImplABI: readonly [{
|
|
|
4132
4179
|
readonly type: "error";
|
|
4133
4180
|
readonly inputs: readonly [];
|
|
4134
4181
|
readonly name: "NewOwnerNeedsToBeAdmin";
|
|
4182
|
+
}, {
|
|
4183
|
+
readonly type: "error";
|
|
4184
|
+
readonly inputs: readonly [];
|
|
4185
|
+
readonly name: "ONLY_CREATE_REFERRAL";
|
|
4135
4186
|
}, {
|
|
4136
4187
|
readonly type: "error";
|
|
4137
4188
|
readonly inputs: readonly [];
|
|
@@ -4492,6 +4543,20 @@ export declare const zoraCreator1155PremintExecutorImplConfig: {
|
|
|
4492
4543
|
readonly internalType: "address";
|
|
4493
4544
|
readonly type: "address";
|
|
4494
4545
|
}];
|
|
4546
|
+
}, {
|
|
4547
|
+
readonly stateMutability: "view";
|
|
4548
|
+
readonly type: "function";
|
|
4549
|
+
readonly inputs: readonly [{
|
|
4550
|
+
readonly name: "collectionAddress";
|
|
4551
|
+
readonly internalType: "address";
|
|
4552
|
+
readonly type: "address";
|
|
4553
|
+
}];
|
|
4554
|
+
readonly name: "mintFee";
|
|
4555
|
+
readonly outputs: readonly [{
|
|
4556
|
+
readonly name: "";
|
|
4557
|
+
readonly internalType: "uint256";
|
|
4558
|
+
readonly type: "uint256";
|
|
4559
|
+
}];
|
|
4495
4560
|
}, {
|
|
4496
4561
|
readonly stateMutability: "view";
|
|
4497
4562
|
readonly type: "function";
|
|
@@ -4738,9 +4803,9 @@ export declare const zoraCreator1155PremintExecutorImplConfig: {
|
|
|
4738
4803
|
readonly internalType: "string";
|
|
4739
4804
|
readonly type: "string";
|
|
4740
4805
|
}, {
|
|
4741
|
-
readonly name: "
|
|
4742
|
-
readonly internalType: "address";
|
|
4743
|
-
readonly type: "address";
|
|
4806
|
+
readonly name: "mintRewardsRecipients";
|
|
4807
|
+
readonly internalType: "address[]";
|
|
4808
|
+
readonly type: "address[]";
|
|
4744
4809
|
}];
|
|
4745
4810
|
}];
|
|
4746
4811
|
readonly name: "premintV1";
|
|
@@ -4865,9 +4930,9 @@ export declare const zoraCreator1155PremintExecutorImplConfig: {
|
|
|
4865
4930
|
readonly internalType: "string";
|
|
4866
4931
|
readonly type: "string";
|
|
4867
4932
|
}, {
|
|
4868
|
-
readonly name: "
|
|
4869
|
-
readonly internalType: "address";
|
|
4870
|
-
readonly type: "address";
|
|
4933
|
+
readonly name: "mintRewardsRecipients";
|
|
4934
|
+
readonly internalType: "address[]";
|
|
4935
|
+
readonly type: "address[]";
|
|
4871
4936
|
}];
|
|
4872
4937
|
}];
|
|
4873
4938
|
readonly name: "premintV2";
|
|
@@ -5217,6 +5282,10 @@ export declare const zoraCreator1155PremintExecutorImplConfig: {
|
|
|
5217
5282
|
readonly type: "address";
|
|
5218
5283
|
}];
|
|
5219
5284
|
readonly name: "Burn_NotOwnerOrApproved";
|
|
5285
|
+
}, {
|
|
5286
|
+
readonly type: "error";
|
|
5287
|
+
readonly inputs: readonly [];
|
|
5288
|
+
readonly name: "CREATOR_FUNDS_RECIPIENT_NOT_SET";
|
|
5220
5289
|
}, {
|
|
5221
5290
|
readonly type: "error";
|
|
5222
5291
|
readonly inputs: readonly [{
|
|
@@ -5317,6 +5386,14 @@ export declare const zoraCreator1155PremintExecutorImplConfig: {
|
|
|
5317
5386
|
readonly type: "error";
|
|
5318
5387
|
readonly inputs: readonly [];
|
|
5319
5388
|
readonly name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING";
|
|
5389
|
+
}, {
|
|
5390
|
+
readonly type: "error";
|
|
5391
|
+
readonly inputs: readonly [];
|
|
5392
|
+
readonly name: "INVALID_ADDRESS_ZERO";
|
|
5393
|
+
}, {
|
|
5394
|
+
readonly type: "error";
|
|
5395
|
+
readonly inputs: readonly [];
|
|
5396
|
+
readonly name: "INVALID_ETH_AMOUNT";
|
|
5320
5397
|
}, {
|
|
5321
5398
|
readonly type: "error";
|
|
5322
5399
|
readonly inputs: readonly [{
|
|
@@ -5373,6 +5450,10 @@ export declare const zoraCreator1155PremintExecutorImplConfig: {
|
|
|
5373
5450
|
readonly type: "error";
|
|
5374
5451
|
readonly inputs: readonly [];
|
|
5375
5452
|
readonly name: "NewOwnerNeedsToBeAdmin";
|
|
5453
|
+
}, {
|
|
5454
|
+
readonly type: "error";
|
|
5455
|
+
readonly inputs: readonly [];
|
|
5456
|
+
readonly name: "ONLY_CREATE_REFERRAL";
|
|
5376
5457
|
}, {
|
|
5377
5458
|
readonly type: "error";
|
|
5378
5459
|
readonly inputs: readonly [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wagmiGenerated.d.ts","sourceRoot":"","sources":["../../package/wagmiGenerated.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxC,CAAC;AAMX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmJpC,CAAC;AAEX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;CAaxC,CAAC;AAEX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvC,CAAC"}
|
|
@@ -543,6 +543,7 @@ export const zoraCreator1155ImplABI = [
|
|
|
543
543
|
{ name: "_protocolRewards", internalType: "address", type: "address" },
|
|
544
544
|
],
|
|
545
545
|
},
|
|
546
|
+
{ stateMutability: "payable", type: "receive" },
|
|
546
547
|
{
|
|
547
548
|
stateMutability: "view",
|
|
548
549
|
type: "function",
|
|
@@ -585,6 +586,13 @@ export const zoraCreator1155ImplABI = [
|
|
|
585
586
|
name: "PERMISSION_BIT_SALES",
|
|
586
587
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
587
588
|
},
|
|
589
|
+
{
|
|
590
|
+
stateMutability: "view",
|
|
591
|
+
type: "function",
|
|
592
|
+
inputs: [],
|
|
593
|
+
name: "PLATFORM_REFERRAL_REWARD_DEPOSIT_REASON",
|
|
594
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
|
|
595
|
+
},
|
|
588
596
|
{
|
|
589
597
|
stateMutability: "nonpayable",
|
|
590
598
|
type: "function",
|
|
@@ -713,6 +721,11 @@ export const zoraCreator1155ImplABI = [
|
|
|
713
721
|
type: "uint256",
|
|
714
722
|
},
|
|
715
723
|
{ name: "zoraReward", internalType: "uint256", type: "uint256" },
|
|
724
|
+
{
|
|
725
|
+
name: "platformReferralReward",
|
|
726
|
+
internalType: "uint256",
|
|
727
|
+
type: "uint256",
|
|
728
|
+
},
|
|
716
729
|
],
|
|
717
730
|
},
|
|
718
731
|
],
|
|
@@ -745,6 +758,11 @@ export const zoraCreator1155ImplABI = [
|
|
|
745
758
|
type: "uint256",
|
|
746
759
|
},
|
|
747
760
|
{ name: "zoraReward", internalType: "uint256", type: "uint256" },
|
|
761
|
+
{
|
|
762
|
+
name: "platformReferralReward",
|
|
763
|
+
internalType: "uint256",
|
|
764
|
+
type: "uint256",
|
|
765
|
+
},
|
|
748
766
|
],
|
|
749
767
|
},
|
|
750
768
|
],
|
|
@@ -974,6 +992,11 @@ export const zoraCreator1155ImplABI = [
|
|
|
974
992
|
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
975
993
|
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
976
994
|
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
995
|
+
{
|
|
996
|
+
name: "rewardsRecipients",
|
|
997
|
+
internalType: "address[]",
|
|
998
|
+
type: "address[]",
|
|
999
|
+
},
|
|
977
1000
|
{ name: "minterArguments", internalType: "bytes", type: "bytes" },
|
|
978
1001
|
],
|
|
979
1002
|
name: "mint",
|
|
@@ -1037,6 +1060,15 @@ export const zoraCreator1155ImplABI = [
|
|
|
1037
1060
|
name: "permissions",
|
|
1038
1061
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1039
1062
|
},
|
|
1063
|
+
{
|
|
1064
|
+
stateMutability: "view",
|
|
1065
|
+
type: "function",
|
|
1066
|
+
inputs: [],
|
|
1067
|
+
name: "protocolRewards",
|
|
1068
|
+
outputs: [
|
|
1069
|
+
{ name: "", internalType: "contract IProtocolRewards", type: "address" },
|
|
1070
|
+
],
|
|
1071
|
+
},
|
|
1040
1072
|
{
|
|
1041
1073
|
stateMutability: "view",
|
|
1042
1074
|
type: "function",
|
|
@@ -1294,16 +1326,6 @@ export const zoraCreator1155ImplABI = [
|
|
|
1294
1326
|
name: "withdraw",
|
|
1295
1327
|
outputs: [],
|
|
1296
1328
|
},
|
|
1297
|
-
{
|
|
1298
|
-
stateMutability: "nonpayable",
|
|
1299
|
-
type: "function",
|
|
1300
|
-
inputs: [
|
|
1301
|
-
{ name: "to", internalType: "address", type: "address" },
|
|
1302
|
-
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
1303
|
-
],
|
|
1304
|
-
name: "withdrawRewards",
|
|
1305
|
-
outputs: [],
|
|
1306
|
-
},
|
|
1307
1329
|
{
|
|
1308
1330
|
type: "event",
|
|
1309
1331
|
anonymous: false,
|
|
@@ -2089,6 +2111,15 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2089
2111
|
{ name: "recoveredSigner", internalType: "address", type: "address" },
|
|
2090
2112
|
],
|
|
2091
2113
|
},
|
|
2114
|
+
{
|
|
2115
|
+
stateMutability: "view",
|
|
2116
|
+
type: "function",
|
|
2117
|
+
inputs: [
|
|
2118
|
+
{ name: "collectionAddress", internalType: "address", type: "address" },
|
|
2119
|
+
],
|
|
2120
|
+
name: "mintFee",
|
|
2121
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
2122
|
+
},
|
|
2092
2123
|
{
|
|
2093
2124
|
stateMutability: "view",
|
|
2094
2125
|
type: "function",
|
|
@@ -2246,7 +2277,11 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2246
2277
|
components: [
|
|
2247
2278
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
2248
2279
|
{ name: "mintComment", internalType: "string", type: "string" },
|
|
2249
|
-
{
|
|
2280
|
+
{
|
|
2281
|
+
name: "mintRewardsRecipients",
|
|
2282
|
+
internalType: "address[]",
|
|
2283
|
+
type: "address[]",
|
|
2284
|
+
},
|
|
2250
2285
|
],
|
|
2251
2286
|
},
|
|
2252
2287
|
],
|
|
@@ -2330,7 +2365,11 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2330
2365
|
components: [
|
|
2331
2366
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
2332
2367
|
{ name: "mintComment", internalType: "string", type: "string" },
|
|
2333
|
-
{
|
|
2368
|
+
{
|
|
2369
|
+
name: "mintRewardsRecipients",
|
|
2370
|
+
internalType: "address[]",
|
|
2371
|
+
type: "address[]",
|
|
2372
|
+
},
|
|
2334
2373
|
],
|
|
2335
2374
|
},
|
|
2336
2375
|
],
|
|
@@ -2658,6 +2697,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2658
2697
|
],
|
|
2659
2698
|
name: "Burn_NotOwnerOrApproved",
|
|
2660
2699
|
},
|
|
2700
|
+
{ type: "error", inputs: [], name: "CREATOR_FUNDS_RECIPIENT_NOT_SET" },
|
|
2661
2701
|
{
|
|
2662
2702
|
type: "error",
|
|
2663
2703
|
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
@@ -2722,6 +2762,8 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2722
2762
|
inputs: [],
|
|
2723
2763
|
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING",
|
|
2724
2764
|
},
|
|
2765
|
+
{ type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
|
|
2766
|
+
{ type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
|
|
2725
2767
|
{
|
|
2726
2768
|
type: "error",
|
|
2727
2769
|
inputs: [
|
|
@@ -2741,6 +2783,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
|
|
|
2741
2783
|
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
2742
2784
|
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
2743
2785
|
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
2786
|
+
{ type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
|
|
2744
2787
|
{ type: "error", inputs: [], name: "ONLY_OWNER" },
|
|
2745
2788
|
{ type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
|
|
2746
2789
|
{ type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoralabs/protocol-deployments",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"repository": "https://github.com/ourzora/zora-protocol",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"link-contracts": "rm -rf ./node_modules && cd .. && yarn"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@zoralabs/zora-1155-contracts": "
|
|
24
|
+
"@zoralabs/zora-1155-contracts": "2.6.0",
|
|
25
25
|
"ds-test": "https://github.com/dapphub/ds-test#cd98eff28324bfac652e63a239a60632a761790b",
|
|
26
26
|
"forge-std": "https://github.com/foundry-rs/forge-std#705263c95892a906d7af65f0f73ce8a4a0c80b80",
|
|
27
27
|
"solmate": "^6.1.0"
|
|
@@ -36,7 +36,7 @@ contract DeployProxiesToNewChain is ZoraDeployerBase {
|
|
|
36
36
|
IZoraCreator1155PremintExecutor.MintArguments memory mintArguments = IZoraCreator1155PremintExecutor.MintArguments({
|
|
37
37
|
mintRecipient: fundsRecipient,
|
|
38
38
|
mintComment: "",
|
|
39
|
-
|
|
39
|
+
mintRewardsRecipients: new address[](0)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
signAndExecutePremintV2(deployment.preminterProxy, vm.envAddress("TEST_PREMINT_FUNDS_RECIPIENT"), mintArguments);
|
|
@@ -21,7 +21,7 @@ contract DeployTestContracts is ZoraDeployerBase {
|
|
|
21
21
|
IZoraCreator1155PremintExecutor.MintArguments memory mintArguments = IZoraCreator1155PremintExecutor.MintArguments({
|
|
22
22
|
mintRecipient: fundsRecipient,
|
|
23
23
|
mintComment: "",
|
|
24
|
-
|
|
24
|
+
mintRewardsRecipients: new address[](0)
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
signAndExecutePremintV2(deployment.preminterProxy, fundsRecipient, mintArguments);
|
|
@@ -74,7 +74,7 @@ contract DeploymentTestingUtils is Script {
|
|
|
74
74
|
mintArguments
|
|
75
75
|
);
|
|
76
76
|
|
|
77
|
-
require(ZoraCreator1155Impl(premintResult.contractAddress).delegatedTokenId(premintConfig.uid) == premintResult.tokenId, "token id mismatch");
|
|
77
|
+
require(ZoraCreator1155Impl(payable(premintResult.contractAddress)).delegatedTokenId(premintConfig.uid) == premintResult.tokenId, "token id mismatch");
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
function createAndSignPremintV2(
|
|
@@ -135,7 +135,7 @@ contract DeploymentTestingUtils is Script {
|
|
|
135
135
|
.premintV2{value: mintFee(quantityToMint)}(contractConfig, premintConfig, signature, quantityToMint, mintArguments).tokenId;
|
|
136
136
|
|
|
137
137
|
require(
|
|
138
|
-
ZoraCreator1155Impl(preminterAtProxy.getContractAddress(contractConfig)).delegatedTokenId(premintConfig.uid) == tokenId,
|
|
138
|
+
ZoraCreator1155Impl(payable(preminterAtProxy.getContractAddress(contractConfig))).delegatedTokenId(premintConfig.uid) == tokenId,
|
|
139
139
|
"token id not created for uid"
|
|
140
140
|
);
|
|
141
141
|
}
|