@zoralabs/protocol-deployments 0.1.5-DEV.0 → 0.1.5-DEV.2

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.
@@ -540,7 +540,6 @@ export const zoraCreator1155ImplABI = [
540
540
  { name: '_mintFeeRecipient', internalType: 'address', type: 'address' },
541
541
  { name: '_upgradeGate', internalType: 'address', type: 'address' },
542
542
  { name: '_protocolRewards', internalType: 'address', type: 'address' },
543
- { name: '_mints', internalType: 'address', type: 'address' },
544
543
  ],
545
544
  },
546
545
  { stateMutability: 'payable', type: 'receive' },
@@ -609,6 +608,18 @@ export const zoraCreator1155ImplABI = [
609
608
  name: 'adminMint',
610
609
  outputs: [],
611
610
  },
611
+ {
612
+ stateMutability: 'nonpayable',
613
+ type: 'function',
614
+ inputs: [
615
+ { name: 'recipient', internalType: 'address', type: 'address' },
616
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
617
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
618
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
619
+ ],
620
+ name: 'adminMintBatch',
621
+ outputs: [],
622
+ },
612
623
  {
613
624
  stateMutability: 'view',
614
625
  type: 'function',
@@ -677,10 +688,71 @@ export const zoraCreator1155ImplABI = [
677
688
  {
678
689
  stateMutability: 'pure',
679
690
  type: 'function',
680
- inputs: [
681
- { name: 'mintPrice', internalType: 'uint256', type: 'uint256' },
682
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
691
+ inputs: [{ name: 'numTokens', internalType: 'uint256', type: 'uint256' }],
692
+ name: 'computeFreeMintRewards',
693
+ outputs: [
694
+ {
695
+ name: '',
696
+ internalType: 'struct RewardsSettings',
697
+ type: 'tuple',
698
+ components: [
699
+ { name: 'creatorReward', internalType: 'uint256', type: 'uint256' },
700
+ {
701
+ name: 'createReferralReward',
702
+ internalType: 'uint256',
703
+ type: 'uint256',
704
+ },
705
+ {
706
+ name: 'mintReferralReward',
707
+ internalType: 'uint256',
708
+ type: 'uint256',
709
+ },
710
+ {
711
+ name: 'firstMinterReward',
712
+ internalType: 'uint256',
713
+ type: 'uint256',
714
+ },
715
+ { name: 'zoraReward', internalType: 'uint256', type: 'uint256' },
716
+ ],
717
+ },
718
+ ],
719
+ },
720
+ {
721
+ stateMutability: 'pure',
722
+ type: 'function',
723
+ inputs: [{ name: 'numTokens', internalType: 'uint256', type: 'uint256' }],
724
+ name: 'computePaidMintRewards',
725
+ outputs: [
726
+ {
727
+ name: '',
728
+ internalType: 'struct RewardsSettings',
729
+ type: 'tuple',
730
+ components: [
731
+ { name: 'creatorReward', internalType: 'uint256', type: 'uint256' },
732
+ {
733
+ name: 'createReferralReward',
734
+ internalType: 'uint256',
735
+ type: 'uint256',
736
+ },
737
+ {
738
+ name: 'mintReferralReward',
739
+ internalType: 'uint256',
740
+ type: 'uint256',
741
+ },
742
+ {
743
+ name: 'firstMinterReward',
744
+ internalType: 'uint256',
745
+ type: 'uint256',
746
+ },
747
+ { name: 'zoraReward', internalType: 'uint256', type: 'uint256' },
748
+ ],
749
+ },
683
750
  ],
751
+ },
752
+ {
753
+ stateMutability: 'pure',
754
+ type: 'function',
755
+ inputs: [{ name: 'numTokens', internalType: 'uint256', type: 'uint256' }],
684
756
  name: 'computeTotalReward',
685
757
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
686
758
  },
@@ -743,7 +815,7 @@ export const zoraCreator1155ImplABI = [
743
815
  { name: 'premintConfig', internalType: 'bytes', type: 'bytes' },
744
816
  { name: 'premintVersion', internalType: 'bytes32', type: 'bytes32' },
745
817
  { name: 'signature', internalType: 'bytes', type: 'bytes' },
746
- { name: 'firstMinter', internalType: 'address', type: 'address' },
818
+ { name: 'sender', internalType: 'address', type: 'address' },
747
819
  {
748
820
  name: 'premintSignerContract',
749
821
  internalType: 'address',
@@ -918,32 +990,12 @@ export const zoraCreator1155ImplABI = [
918
990
  outputs: [],
919
991
  },
920
992
  {
921
- stateMutability: 'view',
993
+ stateMutability: 'pure',
922
994
  type: 'function',
923
995
  inputs: [],
924
996
  name: 'mintFee',
925
997
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
926
998
  },
927
- {
928
- stateMutability: 'payable',
929
- type: 'function',
930
- inputs: [
931
- { name: 'mintTokenIds', internalType: 'uint256[]', type: 'uint256[]' },
932
- { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
933
- { name: 'minter', internalType: 'contract IMinter1155', type: 'address' },
934
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
935
- {
936
- name: 'rewardsRecipients',
937
- internalType: 'address[]',
938
- type: 'address[]',
939
- },
940
- { name: 'minterArguments', internalType: 'bytes', type: 'bytes' },
941
- ],
942
- name: 'mintWithMints',
943
- outputs: [
944
- { name: 'quantityMinted', internalType: 'uint256', type: 'uint256' },
945
- ],
946
- },
947
999
  {
948
1000
  stateMutability: 'payable',
949
1001
  type: 'function',
@@ -978,32 +1030,6 @@ export const zoraCreator1155ImplABI = [
978
1030
  name: 'nextTokenId',
979
1031
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
980
1032
  },
981
- {
982
- stateMutability: 'pure',
983
- type: 'function',
984
- inputs: [
985
- { name: '', internalType: 'address', type: 'address' },
986
- { name: '', internalType: 'address', type: 'address' },
987
- { name: '', internalType: 'uint256[]', type: 'uint256[]' },
988
- { name: '', internalType: 'uint256[]', type: 'uint256[]' },
989
- { name: '', internalType: 'bytes', type: 'bytes' },
990
- ],
991
- name: 'onERC1155BatchReceived',
992
- outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
993
- },
994
- {
995
- stateMutability: 'pure',
996
- type: 'function',
997
- inputs: [
998
- { name: '', internalType: 'address', type: 'address' },
999
- { name: '', internalType: 'address', type: 'address' },
1000
- { name: '', internalType: 'uint256', type: 'uint256' },
1001
- { name: '', internalType: 'uint256', type: 'uint256' },
1002
- { name: '', internalType: 'bytes', type: 'bytes' },
1003
- ],
1004
- name: 'onERC1155Received',
1005
- outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
1006
- },
1007
1033
  {
1008
1034
  stateMutability: 'view',
1009
1035
  type: 'function',
@@ -1852,7 +1878,6 @@ export const zoraCreator1155ImplABI = [
1852
1878
  inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
1853
1879
  name: 'NoRendererForToken',
1854
1880
  },
1855
- { type: 'error', inputs: [], name: 'NonEthRedemption' },
1856
1881
  { type: 'error', inputs: [], name: 'ONLY_CREATE_REFERRAL' },
1857
1882
  { type: 'error', inputs: [], name: 'PremintDeleted' },
1858
1883
  {
@@ -2882,7 +2907,6 @@ export const zoraCreator1155PremintExecutorImplABI = [
2882
2907
  { type: 'error', inputs: [], name: 'MinterContractAlreadyExists' },
2883
2908
  { type: 'error', inputs: [], name: 'MinterContractDoesNotExist' },
2884
2909
  { type: 'error', inputs: [], name: 'NewOwnerNeedsToBeAdmin' },
2885
- { type: 'error', inputs: [], name: 'NonEthRedemption' },
2886
2910
  { type: 'error', inputs: [], name: 'ONLY_CREATE_REFERRAL' },
2887
2911
  { type: 'error', inputs: [], name: 'ONLY_OWNER' },
2888
2912
  { type: 'error', inputs: [], name: 'ONLY_PENDING_OWNER' },