@zoralabs/protocol-deployments 0.4.1 → 0.5.0

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,
@@ -3234,12 +3234,6 @@ var coinABI = [
3234
3234
  internalType: "uint256",
3235
3235
  type: "uint256",
3236
3236
  indexed: false
3237
- },
3238
- {
3239
- name: "comment",
3240
- internalType: "string",
3241
- type: "string",
3242
- indexed: false
3243
3237
  }
3244
3238
  ],
3245
3239
  name: "CoinBuy"
@@ -3249,7 +3243,7 @@ var coinABI = [
3249
3243
  anonymous: false,
3250
3244
  inputs: [
3251
3245
  {
3252
- name: "creatorPayoutAddress",
3246
+ name: "payoutRecipient",
3253
3247
  internalType: "address",
3254
3248
  type: "address",
3255
3249
  indexed: true
@@ -3389,12 +3383,6 @@ var coinABI = [
3389
3383
  internalType: "uint256",
3390
3384
  type: "uint256",
3391
3385
  indexed: false
3392
- },
3393
- {
3394
- name: "comment",
3395
- internalType: "string",
3396
- type: "string",
3397
- indexed: false
3398
3386
  }
3399
3387
  ],
3400
3388
  name: "CoinSell"
@@ -3404,7 +3392,7 @@ var coinABI = [
3404
3392
  anonymous: false,
3405
3393
  inputs: [
3406
3394
  {
3407
- name: "creatorPayoutRecipient",
3395
+ name: "payoutRecipient",
3408
3396
  internalType: "address",
3409
3397
  type: "address",
3410
3398
  indexed: true
@@ -3685,6 +3673,254 @@ var coinABI = [
3685
3673
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
3686
3674
  { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
3687
3675
  ];
3676
+ var coinFactoryABI = [
3677
+ {
3678
+ type: "constructor",
3679
+ inputs: [{ name: "_coinImpl", internalType: "address", type: "address" }],
3680
+ stateMutability: "nonpayable"
3681
+ },
3682
+ {
3683
+ type: "function",
3684
+ inputs: [],
3685
+ name: "UPGRADE_INTERFACE_VERSION",
3686
+ outputs: [{ name: "", internalType: "string", type: "string" }],
3687
+ stateMutability: "view"
3688
+ },
3689
+ {
3690
+ type: "function",
3691
+ inputs: [],
3692
+ name: "coinImpl",
3693
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3694
+ stateMutability: "view"
3695
+ },
3696
+ {
3697
+ type: "function",
3698
+ inputs: [
3699
+ { name: "payoutRecipient", internalType: "address", type: "address" },
3700
+ { name: "owners", internalType: "address[]", type: "address[]" },
3701
+ { name: "uri", internalType: "string", type: "string" },
3702
+ { name: "name", internalType: "string", type: "string" },
3703
+ { name: "symbol", internalType: "string", type: "string" },
3704
+ { name: "platformReferrer", internalType: "address", type: "address" },
3705
+ { name: "currency", internalType: "address", type: "address" },
3706
+ { name: "tickLower", internalType: "int24", type: "int24" },
3707
+ { name: "orderSize", internalType: "uint256", type: "uint256" }
3708
+ ],
3709
+ name: "deploy",
3710
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3711
+ stateMutability: "payable"
3712
+ },
3713
+ {
3714
+ type: "function",
3715
+ inputs: [],
3716
+ name: "implementation",
3717
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3718
+ stateMutability: "view"
3719
+ },
3720
+ {
3721
+ type: "function",
3722
+ inputs: [
3723
+ { name: "initialOwner", internalType: "address", type: "address" }
3724
+ ],
3725
+ name: "initialize",
3726
+ outputs: [],
3727
+ stateMutability: "nonpayable"
3728
+ },
3729
+ {
3730
+ type: "function",
3731
+ inputs: [],
3732
+ name: "owner",
3733
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3734
+ stateMutability: "view"
3735
+ },
3736
+ {
3737
+ type: "function",
3738
+ inputs: [],
3739
+ name: "proxiableUUID",
3740
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
3741
+ stateMutability: "view"
3742
+ },
3743
+ {
3744
+ type: "function",
3745
+ inputs: [],
3746
+ name: "renounceOwnership",
3747
+ outputs: [],
3748
+ stateMutability: "nonpayable"
3749
+ },
3750
+ {
3751
+ type: "function",
3752
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
3753
+ name: "transferOwnership",
3754
+ outputs: [],
3755
+ stateMutability: "nonpayable"
3756
+ },
3757
+ {
3758
+ type: "function",
3759
+ inputs: [
3760
+ { name: "newImplementation", internalType: "address", type: "address" },
3761
+ { name: "data", internalType: "bytes", type: "bytes" }
3762
+ ],
3763
+ name: "upgradeToAndCall",
3764
+ outputs: [],
3765
+ stateMutability: "payable"
3766
+ },
3767
+ {
3768
+ type: "event",
3769
+ anonymous: false,
3770
+ inputs: [
3771
+ {
3772
+ name: "caller",
3773
+ internalType: "address",
3774
+ type: "address",
3775
+ indexed: true
3776
+ },
3777
+ {
3778
+ name: "payoutRecipient",
3779
+ internalType: "address",
3780
+ type: "address",
3781
+ indexed: true
3782
+ },
3783
+ {
3784
+ name: "platformReferrer",
3785
+ internalType: "address",
3786
+ type: "address",
3787
+ indexed: true
3788
+ },
3789
+ {
3790
+ name: "currency",
3791
+ internalType: "address",
3792
+ type: "address",
3793
+ indexed: false
3794
+ },
3795
+ { name: "uri", internalType: "string", type: "string", indexed: false },
3796
+ { name: "name", internalType: "string", type: "string", indexed: false },
3797
+ {
3798
+ name: "symbol",
3799
+ internalType: "string",
3800
+ type: "string",
3801
+ indexed: false
3802
+ },
3803
+ {
3804
+ name: "coin",
3805
+ internalType: "address",
3806
+ type: "address",
3807
+ indexed: false
3808
+ },
3809
+ {
3810
+ name: "pool",
3811
+ internalType: "address",
3812
+ type: "address",
3813
+ indexed: false
3814
+ },
3815
+ {
3816
+ name: "version",
3817
+ internalType: "string",
3818
+ type: "string",
3819
+ indexed: false
3820
+ }
3821
+ ],
3822
+ name: "CoinCreated"
3823
+ },
3824
+ {
3825
+ type: "event",
3826
+ anonymous: false,
3827
+ inputs: [
3828
+ {
3829
+ name: "version",
3830
+ internalType: "uint64",
3831
+ type: "uint64",
3832
+ indexed: false
3833
+ }
3834
+ ],
3835
+ name: "Initialized"
3836
+ },
3837
+ {
3838
+ type: "event",
3839
+ anonymous: false,
3840
+ inputs: [
3841
+ {
3842
+ name: "previousOwner",
3843
+ internalType: "address",
3844
+ type: "address",
3845
+ indexed: true
3846
+ },
3847
+ {
3848
+ name: "newOwner",
3849
+ internalType: "address",
3850
+ type: "address",
3851
+ indexed: true
3852
+ }
3853
+ ],
3854
+ name: "OwnershipTransferred"
3855
+ },
3856
+ {
3857
+ type: "event",
3858
+ anonymous: false,
3859
+ inputs: [
3860
+ {
3861
+ name: "implementation",
3862
+ internalType: "address",
3863
+ type: "address",
3864
+ indexed: true
3865
+ }
3866
+ ],
3867
+ name: "Upgraded"
3868
+ },
3869
+ {
3870
+ type: "error",
3871
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
3872
+ name: "AddressEmptyCode"
3873
+ },
3874
+ {
3875
+ type: "error",
3876
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3877
+ name: "AddressInsufficientBalance"
3878
+ },
3879
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
3880
+ {
3881
+ type: "error",
3882
+ inputs: [
3883
+ { name: "implementation", internalType: "address", type: "address" }
3884
+ ],
3885
+ name: "ERC1967InvalidImplementation"
3886
+ },
3887
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
3888
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
3889
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
3890
+ { type: "error", inputs: [], name: "FailedInnerCall" },
3891
+ { type: "error", inputs: [], name: "InvalidInitialization" },
3892
+ { type: "error", inputs: [], name: "NotInitializing" },
3893
+ {
3894
+ type: "error",
3895
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
3896
+ name: "OwnableInvalidOwner"
3897
+ },
3898
+ {
3899
+ type: "error",
3900
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3901
+ name: "OwnableUnauthorizedAccount"
3902
+ },
3903
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
3904
+ {
3905
+ type: "error",
3906
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
3907
+ name: "SafeERC20FailedOperation"
3908
+ },
3909
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
3910
+ {
3911
+ type: "error",
3912
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
3913
+ name: "UUPSUnsupportedProxiableUUID"
3914
+ }
3915
+ ];
3916
+ var coinFactoryAddress = {
3917
+ 8453: "0xC1d310288E76bE71E7A26d269Fd6cbd3A1D9febC",
3918
+ 84532: "0x1E670515d3A4C75C0860846c0605c84AF0e0db0d"
3919
+ };
3920
+ var coinFactoryConfig = {
3921
+ address: coinFactoryAddress,
3922
+ abi: coinFactoryABI
3923
+ };
3688
3924
  var cointagABI = [
3689
3925
  {
3690
3926
  type: "constructor",
@@ -12877,259 +13113,6 @@ var zoraCreatorRedeemMinterFactoryConfig = {
12877
13113
  address: zoraCreatorRedeemMinterFactoryAddress,
12878
13114
  abi: zoraCreatorRedeemMinterFactoryABI
12879
13115
  };
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
13116
  var zoraMints1155ABI = [
13134
13117
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
13135
13118
  {
@@ -17745,6 +17728,9 @@ var addresses2 = {
17745
17728
  callerAndCommenterAddress,
17746
17729
  callerAndCommenterConfig,
17747
17730
  coinABI,
17731
+ coinFactoryABI,
17732
+ coinFactoryAddress,
17733
+ coinFactoryConfig,
17748
17734
  cointagABI,
17749
17735
  cointagFactoryABI,
17750
17736
  cointagFactoryAddress,
@@ -17820,9 +17806,6 @@ var addresses2 = {
17820
17806
  zoraCreatorRedeemMinterFactoryABI,
17821
17807
  zoraCreatorRedeemMinterFactoryAddress,
17822
17808
  zoraCreatorRedeemMinterFactoryConfig,
17823
- zoraFactoryABI,
17824
- zoraFactoryAddress,
17825
- zoraFactoryConfig,
17826
17809
  zoraMints1155ABI,
17827
17810
  zoraMints1155Address,
17828
17811
  zoraMints1155Config,