@zoralabs/protocol-deployments 0.4.1 → 0.4.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.
package/dist/index.cjs CHANGED
@@ -1601,6 +1601,9 @@ __export(src_exports, {
1601
1601
  callerAndCommenterAddress: () => callerAndCommenterAddress,
1602
1602
  callerAndCommenterConfig: () => callerAndCommenterConfig,
1603
1603
  coinABI: () => coinABI,
1604
+ coinFactoryABI: () => coinFactoryABI,
1605
+ coinFactoryAddress: () => coinFactoryAddress,
1606
+ coinFactoryConfig: () => coinFactoryConfig,
1604
1607
  cointagABI: () => cointagABI,
1605
1608
  cointagFactoryABI: () => cointagFactoryABI,
1606
1609
  cointagFactoryAddress: () => cointagFactoryAddress,
@@ -1676,9 +1679,6 @@ __export(src_exports, {
1676
1679
  zoraCreatorRedeemMinterFactoryABI: () => zoraCreatorRedeemMinterFactoryABI,
1677
1680
  zoraCreatorRedeemMinterFactoryAddress: () => zoraCreatorRedeemMinterFactoryAddress,
1678
1681
  zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig,
1679
- zoraFactoryABI: () => zoraFactoryABI,
1680
- zoraFactoryAddress: () => zoraFactoryAddress,
1681
- zoraFactoryConfig: () => zoraFactoryConfig,
1682
1682
  zoraMints1155ABI: () => zoraMints1155ABI,
1683
1683
  zoraMints1155Address: () => zoraMints1155Address,
1684
1684
  zoraMints1155Config: () => zoraMints1155Config,
@@ -3685,6 +3685,259 @@ var coinABI = [
3685
3685
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
3686
3686
  { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
3687
3687
  ];
3688
+ var coinFactoryABI = [
3689
+ {
3690
+ type: "constructor",
3691
+ inputs: [{ name: "_coinImpl", internalType: "address", type: "address" }],
3692
+ stateMutability: "nonpayable"
3693
+ },
3694
+ {
3695
+ type: "function",
3696
+ inputs: [],
3697
+ name: "UPGRADE_INTERFACE_VERSION",
3698
+ outputs: [{ name: "", internalType: "string", type: "string" }],
3699
+ stateMutability: "view"
3700
+ },
3701
+ {
3702
+ type: "function",
3703
+ inputs: [],
3704
+ name: "coinImpl",
3705
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3706
+ stateMutability: "view"
3707
+ },
3708
+ {
3709
+ type: "function",
3710
+ inputs: [
3711
+ { name: "payoutRecipient", internalType: "address", type: "address" },
3712
+ { name: "owners", internalType: "address[]", type: "address[]" },
3713
+ { name: "uri", internalType: "string", type: "string" },
3714
+ { name: "name", internalType: "string", type: "string" },
3715
+ { name: "symbol", internalType: "string", type: "string" },
3716
+ { name: "platformReferrer", internalType: "address", type: "address" },
3717
+ { name: "currency", internalType: "address", type: "address" },
3718
+ { name: "tickLower", internalType: "int24", type: "int24" },
3719
+ { name: "orderSize", internalType: "uint256", type: "uint256" }
3720
+ ],
3721
+ name: "deploy",
3722
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3723
+ stateMutability: "payable"
3724
+ },
3725
+ {
3726
+ type: "function",
3727
+ inputs: [],
3728
+ name: "implementation",
3729
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3730
+ stateMutability: "view"
3731
+ },
3732
+ {
3733
+ type: "function",
3734
+ inputs: [
3735
+ { name: "initialOwner", internalType: "address", type: "address" }
3736
+ ],
3737
+ name: "initialize",
3738
+ outputs: [],
3739
+ stateMutability: "nonpayable"
3740
+ },
3741
+ {
3742
+ type: "function",
3743
+ inputs: [],
3744
+ name: "owner",
3745
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3746
+ stateMutability: "view"
3747
+ },
3748
+ {
3749
+ type: "function",
3750
+ inputs: [],
3751
+ name: "proxiableUUID",
3752
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
3753
+ stateMutability: "view"
3754
+ },
3755
+ {
3756
+ type: "function",
3757
+ inputs: [],
3758
+ name: "renounceOwnership",
3759
+ outputs: [],
3760
+ stateMutability: "nonpayable"
3761
+ },
3762
+ {
3763
+ type: "function",
3764
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
3765
+ name: "transferOwnership",
3766
+ outputs: [],
3767
+ stateMutability: "nonpayable"
3768
+ },
3769
+ {
3770
+ type: "function",
3771
+ inputs: [
3772
+ { name: "newImplementation", internalType: "address", type: "address" },
3773
+ { name: "data", internalType: "bytes", type: "bytes" }
3774
+ ],
3775
+ name: "upgradeToAndCall",
3776
+ outputs: [],
3777
+ stateMutability: "payable"
3778
+ },
3779
+ {
3780
+ type: "event",
3781
+ anonymous: false,
3782
+ inputs: [
3783
+ {
3784
+ name: "deployer",
3785
+ internalType: "address",
3786
+ type: "address",
3787
+ indexed: true
3788
+ },
3789
+ {
3790
+ name: "creator",
3791
+ internalType: "address",
3792
+ type: "address",
3793
+ indexed: true
3794
+ },
3795
+ {
3796
+ name: "payoutRecipient",
3797
+ internalType: "address",
3798
+ type: "address",
3799
+ indexed: true
3800
+ },
3801
+ {
3802
+ name: "platformReferrer",
3803
+ internalType: "address",
3804
+ type: "address",
3805
+ indexed: false
3806
+ },
3807
+ {
3808
+ name: "currency",
3809
+ internalType: "address",
3810
+ type: "address",
3811
+ indexed: false
3812
+ },
3813
+ {
3814
+ name: "tokenURI",
3815
+ internalType: "string",
3816
+ type: "string",
3817
+ indexed: false
3818
+ },
3819
+ { name: "name", internalType: "string", type: "string", indexed: false },
3820
+ {
3821
+ name: "symbol",
3822
+ internalType: "string",
3823
+ type: "string",
3824
+ indexed: false
3825
+ },
3826
+ {
3827
+ name: "coin",
3828
+ internalType: "address",
3829
+ type: "address",
3830
+ indexed: false
3831
+ },
3832
+ {
3833
+ name: "pool",
3834
+ internalType: "address",
3835
+ type: "address",
3836
+ indexed: false
3837
+ }
3838
+ ],
3839
+ name: "CoinCreated"
3840
+ },
3841
+ {
3842
+ type: "event",
3843
+ anonymous: false,
3844
+ inputs: [
3845
+ {
3846
+ name: "version",
3847
+ internalType: "uint64",
3848
+ type: "uint64",
3849
+ indexed: false
3850
+ }
3851
+ ],
3852
+ name: "Initialized"
3853
+ },
3854
+ {
3855
+ type: "event",
3856
+ anonymous: false,
3857
+ inputs: [
3858
+ {
3859
+ name: "previousOwner",
3860
+ internalType: "address",
3861
+ type: "address",
3862
+ indexed: true
3863
+ },
3864
+ {
3865
+ name: "newOwner",
3866
+ internalType: "address",
3867
+ type: "address",
3868
+ indexed: true
3869
+ }
3870
+ ],
3871
+ name: "OwnershipTransferred"
3872
+ },
3873
+ {
3874
+ type: "event",
3875
+ anonymous: false,
3876
+ inputs: [
3877
+ {
3878
+ name: "implementation",
3879
+ internalType: "address",
3880
+ type: "address",
3881
+ indexed: true
3882
+ }
3883
+ ],
3884
+ name: "Upgraded"
3885
+ },
3886
+ {
3887
+ type: "error",
3888
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
3889
+ name: "AddressEmptyCode"
3890
+ },
3891
+ {
3892
+ type: "error",
3893
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3894
+ name: "AddressInsufficientBalance"
3895
+ },
3896
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
3897
+ {
3898
+ type: "error",
3899
+ inputs: [
3900
+ { name: "implementation", internalType: "address", type: "address" }
3901
+ ],
3902
+ name: "ERC1967InvalidImplementation"
3903
+ },
3904
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
3905
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
3906
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
3907
+ { type: "error", inputs: [], name: "FailedInnerCall" },
3908
+ { type: "error", inputs: [], name: "InvalidInitialization" },
3909
+ { type: "error", inputs: [], name: "NotInitializing" },
3910
+ {
3911
+ type: "error",
3912
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
3913
+ name: "OwnableInvalidOwner"
3914
+ },
3915
+ {
3916
+ type: "error",
3917
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3918
+ name: "OwnableUnauthorizedAccount"
3919
+ },
3920
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
3921
+ {
3922
+ type: "error",
3923
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
3924
+ name: "SafeERC20FailedOperation"
3925
+ },
3926
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
3927
+ {
3928
+ type: "error",
3929
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
3930
+ name: "UUPSUnsupportedProxiableUUID"
3931
+ }
3932
+ ];
3933
+ var coinFactoryAddress = {
3934
+ 8453: "0xC1d310288E76bE71E7A26d269Fd6cbd3A1D9febC",
3935
+ 84532: "0x1E670515d3A4C75C0860846c0605c84AF0e0db0d"
3936
+ };
3937
+ var coinFactoryConfig = {
3938
+ address: coinFactoryAddress,
3939
+ abi: coinFactoryABI
3940
+ };
3688
3941
  var cointagABI = [
3689
3942
  {
3690
3943
  type: "constructor",
@@ -12877,259 +13130,6 @@ var zoraCreatorRedeemMinterFactoryConfig = {
12877
13130
  address: zoraCreatorRedeemMinterFactoryAddress,
12878
13131
  abi: zoraCreatorRedeemMinterFactoryABI
12879
13132
  };
12880
- var zoraFactoryABI = [
12881
- {
12882
- type: "constructor",
12883
- inputs: [{ name: "_coinImpl", internalType: "address", type: "address" }],
12884
- stateMutability: "nonpayable"
12885
- },
12886
- {
12887
- type: "function",
12888
- inputs: [],
12889
- name: "UPGRADE_INTERFACE_VERSION",
12890
- outputs: [{ name: "", internalType: "string", type: "string" }],
12891
- stateMutability: "view"
12892
- },
12893
- {
12894
- type: "function",
12895
- inputs: [],
12896
- name: "coinImpl",
12897
- outputs: [{ name: "", internalType: "address", type: "address" }],
12898
- stateMutability: "view"
12899
- },
12900
- {
12901
- type: "function",
12902
- inputs: [
12903
- { name: "payoutRecipient", internalType: "address", type: "address" },
12904
- { name: "owners", internalType: "address[]", type: "address[]" },
12905
- { name: "uri", internalType: "string", type: "string" },
12906
- { name: "name", internalType: "string", type: "string" },
12907
- { name: "symbol", internalType: "string", type: "string" },
12908
- { name: "platformReferrer", internalType: "address", type: "address" },
12909
- { name: "currency", internalType: "address", type: "address" },
12910
- { name: "tickLower", internalType: "int24", type: "int24" },
12911
- { name: "orderSize", internalType: "uint256", type: "uint256" }
12912
- ],
12913
- name: "deploy",
12914
- outputs: [{ name: "", internalType: "address", type: "address" }],
12915
- stateMutability: "payable"
12916
- },
12917
- {
12918
- type: "function",
12919
- inputs: [],
12920
- name: "implementation",
12921
- outputs: [{ name: "", internalType: "address", type: "address" }],
12922
- stateMutability: "view"
12923
- },
12924
- {
12925
- type: "function",
12926
- inputs: [
12927
- { name: "initialOwner", internalType: "address", type: "address" }
12928
- ],
12929
- name: "initialize",
12930
- outputs: [],
12931
- stateMutability: "nonpayable"
12932
- },
12933
- {
12934
- type: "function",
12935
- inputs: [],
12936
- name: "owner",
12937
- outputs: [{ name: "", internalType: "address", type: "address" }],
12938
- stateMutability: "view"
12939
- },
12940
- {
12941
- type: "function",
12942
- inputs: [],
12943
- name: "proxiableUUID",
12944
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
12945
- stateMutability: "view"
12946
- },
12947
- {
12948
- type: "function",
12949
- inputs: [],
12950
- name: "renounceOwnership",
12951
- outputs: [],
12952
- stateMutability: "nonpayable"
12953
- },
12954
- {
12955
- type: "function",
12956
- inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
12957
- name: "transferOwnership",
12958
- outputs: [],
12959
- stateMutability: "nonpayable"
12960
- },
12961
- {
12962
- type: "function",
12963
- inputs: [
12964
- { name: "newImplementation", internalType: "address", type: "address" },
12965
- { name: "data", internalType: "bytes", type: "bytes" }
12966
- ],
12967
- name: "upgradeToAndCall",
12968
- outputs: [],
12969
- stateMutability: "payable"
12970
- },
12971
- {
12972
- type: "event",
12973
- anonymous: false,
12974
- inputs: [
12975
- {
12976
- name: "deployer",
12977
- internalType: "address",
12978
- type: "address",
12979
- indexed: true
12980
- },
12981
- {
12982
- name: "creator",
12983
- internalType: "address",
12984
- type: "address",
12985
- indexed: true
12986
- },
12987
- {
12988
- name: "payoutRecipient",
12989
- internalType: "address",
12990
- type: "address",
12991
- indexed: true
12992
- },
12993
- {
12994
- name: "platformReferrer",
12995
- internalType: "address",
12996
- type: "address",
12997
- indexed: false
12998
- },
12999
- {
13000
- name: "currency",
13001
- internalType: "address",
13002
- type: "address",
13003
- indexed: false
13004
- },
13005
- {
13006
- name: "tokenURI",
13007
- internalType: "string",
13008
- type: "string",
13009
- indexed: false
13010
- },
13011
- { name: "name", internalType: "string", type: "string", indexed: false },
13012
- {
13013
- name: "symbol",
13014
- internalType: "string",
13015
- type: "string",
13016
- indexed: false
13017
- },
13018
- {
13019
- name: "coin",
13020
- internalType: "address",
13021
- type: "address",
13022
- indexed: false
13023
- },
13024
- {
13025
- name: "pool",
13026
- internalType: "address",
13027
- type: "address",
13028
- indexed: false
13029
- }
13030
- ],
13031
- name: "CoinCreated"
13032
- },
13033
- {
13034
- type: "event",
13035
- anonymous: false,
13036
- inputs: [
13037
- {
13038
- name: "version",
13039
- internalType: "uint64",
13040
- type: "uint64",
13041
- indexed: false
13042
- }
13043
- ],
13044
- name: "Initialized"
13045
- },
13046
- {
13047
- type: "event",
13048
- anonymous: false,
13049
- inputs: [
13050
- {
13051
- name: "previousOwner",
13052
- internalType: "address",
13053
- type: "address",
13054
- indexed: true
13055
- },
13056
- {
13057
- name: "newOwner",
13058
- internalType: "address",
13059
- type: "address",
13060
- indexed: true
13061
- }
13062
- ],
13063
- name: "OwnershipTransferred"
13064
- },
13065
- {
13066
- type: "event",
13067
- anonymous: false,
13068
- inputs: [
13069
- {
13070
- name: "implementation",
13071
- internalType: "address",
13072
- type: "address",
13073
- indexed: true
13074
- }
13075
- ],
13076
- name: "Upgraded"
13077
- },
13078
- {
13079
- type: "error",
13080
- inputs: [{ name: "target", internalType: "address", type: "address" }],
13081
- name: "AddressEmptyCode"
13082
- },
13083
- {
13084
- type: "error",
13085
- inputs: [{ name: "account", internalType: "address", type: "address" }],
13086
- name: "AddressInsufficientBalance"
13087
- },
13088
- { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
13089
- {
13090
- type: "error",
13091
- inputs: [
13092
- { name: "implementation", internalType: "address", type: "address" }
13093
- ],
13094
- name: "ERC1967InvalidImplementation"
13095
- },
13096
- { type: "error", inputs: [], name: "ERC1967NonPayable" },
13097
- { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
13098
- { type: "error", inputs: [], name: "EthTransferInvalid" },
13099
- { type: "error", inputs: [], name: "FailedInnerCall" },
13100
- { type: "error", inputs: [], name: "InvalidInitialization" },
13101
- { type: "error", inputs: [], name: "NotInitializing" },
13102
- {
13103
- type: "error",
13104
- inputs: [{ name: "owner", internalType: "address", type: "address" }],
13105
- name: "OwnableInvalidOwner"
13106
- },
13107
- {
13108
- type: "error",
13109
- inputs: [{ name: "account", internalType: "address", type: "address" }],
13110
- name: "OwnableUnauthorizedAccount"
13111
- },
13112
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
13113
- {
13114
- type: "error",
13115
- inputs: [{ name: "token", internalType: "address", type: "address" }],
13116
- name: "SafeERC20FailedOperation"
13117
- },
13118
- { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
13119
- {
13120
- type: "error",
13121
- inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
13122
- name: "UUPSUnsupportedProxiableUUID"
13123
- }
13124
- ];
13125
- var zoraFactoryAddress = {
13126
- 8453: "0xC1d310288E76bE71E7A26d269Fd6cbd3A1D9febC",
13127
- 84532: "0x1E670515d3A4C75C0860846c0605c84AF0e0db0d"
13128
- };
13129
- var zoraFactoryConfig = {
13130
- address: zoraFactoryAddress,
13131
- abi: zoraFactoryABI
13132
- };
13133
13133
  var zoraMints1155ABI = [
13134
13134
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
13135
13135
  {
@@ -17745,6 +17745,9 @@ var addresses2 = {
17745
17745
  callerAndCommenterAddress,
17746
17746
  callerAndCommenterConfig,
17747
17747
  coinABI,
17748
+ coinFactoryABI,
17749
+ coinFactoryAddress,
17750
+ coinFactoryConfig,
17748
17751
  cointagABI,
17749
17752
  cointagFactoryABI,
17750
17753
  cointagFactoryAddress,
@@ -17820,9 +17823,6 @@ var addresses2 = {
17820
17823
  zoraCreatorRedeemMinterFactoryABI,
17821
17824
  zoraCreatorRedeemMinterFactoryAddress,
17822
17825
  zoraCreatorRedeemMinterFactoryConfig,
17823
- zoraFactoryABI,
17824
- zoraFactoryAddress,
17825
- zoraFactoryConfig,
17826
17826
  zoraMints1155ABI,
17827
17827
  zoraMints1155Address,
17828
17828
  zoraMints1155Config,