@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/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" },