@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/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,
@@ -2031,6 +2053,15 @@ var zoraCreator1155PremintExecutorImplABI = [
2031
2053
  { name: "recoveredSigner", internalType: "address", type: "address" }
2032
2054
  ]
2033
2055
  },
2056
+ {
2057
+ stateMutability: "view",
2058
+ type: "function",
2059
+ inputs: [
2060
+ { name: "collectionAddress", internalType: "address", type: "address" }
2061
+ ],
2062
+ name: "mintFee",
2063
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
2064
+ },
2034
2065
  {
2035
2066
  stateMutability: "view",
2036
2067
  type: "function",
@@ -2188,7 +2219,11 @@ var zoraCreator1155PremintExecutorImplABI = [
2188
2219
  components: [
2189
2220
  { name: "mintRecipient", internalType: "address", type: "address" },
2190
2221
  { name: "mintComment", internalType: "string", type: "string" },
2191
- { name: "mintReferral", internalType: "address", type: "address" }
2222
+ {
2223
+ name: "mintRewardsRecipients",
2224
+ internalType: "address[]",
2225
+ type: "address[]"
2226
+ }
2192
2227
  ]
2193
2228
  }
2194
2229
  ],
@@ -2272,7 +2307,11 @@ var zoraCreator1155PremintExecutorImplABI = [
2272
2307
  components: [
2273
2308
  { name: "mintRecipient", internalType: "address", type: "address" },
2274
2309
  { name: "mintComment", internalType: "string", type: "string" },
2275
- { name: "mintReferral", internalType: "address", type: "address" }
2310
+ {
2311
+ name: "mintRewardsRecipients",
2312
+ internalType: "address[]",
2313
+ type: "address[]"
2314
+ }
2276
2315
  ]
2277
2316
  }
2278
2317
  ],
@@ -2600,6 +2639,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2600
2639
  ],
2601
2640
  name: "Burn_NotOwnerOrApproved"
2602
2641
  },
2642
+ { type: "error", inputs: [], name: "CREATOR_FUNDS_RECIPIENT_NOT_SET" },
2603
2643
  {
2604
2644
  type: "error",
2605
2645
  inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
@@ -2664,6 +2704,8 @@ var zoraCreator1155PremintExecutorImplABI = [
2664
2704
  inputs: [],
2665
2705
  name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
2666
2706
  },
2707
+ { type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
2708
+ { type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
2667
2709
  {
2668
2710
  type: "error",
2669
2711
  inputs: [
@@ -2683,6 +2725,7 @@ var zoraCreator1155PremintExecutorImplABI = [
2683
2725
  { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
2684
2726
  { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
2685
2727
  { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
2728
+ { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
2686
2729
  { type: "error", inputs: [], name: "ONLY_OWNER" },
2687
2730
  { type: "error", inputs: [], name: "ONLY_PENDING_OWNER" },
2688
2731
  { type: "error", inputs: [], name: "OWNER_CANNOT_BE_ZERO_ADDRESS" },