@zoralabs/protocol-deployments 0.1.3 → 0.1.4
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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +6 -0
- package/dist/generated/1155.d.ts +8 -0
- package/dist/generated/1155.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +354 -27
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +117 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +117 -28
- package/dist/index.js.map +1 -1
- package/json/1155.json +8 -0
- package/package.json +5 -6
- package/src/generated/1155.ts +8 -0
- package/src/generated/wagmi.ts +109 -28
package/dist/index.js
CHANGED
|
@@ -1388,6 +1388,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1388
1388
|
],
|
|
1389
1389
|
name: "ContractRendererUpdated"
|
|
1390
1390
|
},
|
|
1391
|
+
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
1391
1392
|
{
|
|
1392
1393
|
type: "event",
|
|
1393
1394
|
anonymous: false,
|
|
@@ -1786,6 +1787,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1786
1787
|
inputs: [],
|
|
1787
1788
|
name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
|
|
1788
1789
|
},
|
|
1790
|
+
{ type: "error", inputs: [], name: "FirstMinterAddressZero" },
|
|
1789
1791
|
{
|
|
1790
1792
|
type: "error",
|
|
1791
1793
|
inputs: [
|
|
@@ -1816,17 +1818,9 @@ var zoraCreator1155ImplABI = [
|
|
|
1816
1818
|
name: "InvalidMerkleProof"
|
|
1817
1819
|
},
|
|
1818
1820
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
1819
|
-
{
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
{
|
|
1823
|
-
name: "recoverError",
|
|
1824
|
-
internalType: "enum ECDSAUpgradeable.RecoverError",
|
|
1825
|
-
type: "uint8"
|
|
1826
|
-
}
|
|
1827
|
-
],
|
|
1828
|
-
name: "InvalidSignature"
|
|
1829
|
-
},
|
|
1821
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
1822
|
+
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
1823
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
1830
1824
|
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
1831
1825
|
{
|
|
1832
1826
|
type: "error",
|
|
@@ -1835,6 +1829,7 @@ var zoraCreator1155ImplABI = [
|
|
|
1835
1829
|
},
|
|
1836
1830
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
1837
1831
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
1832
|
+
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
1838
1833
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
1839
1834
|
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
1840
1835
|
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
@@ -2082,6 +2077,97 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2082
2077
|
name: "pendingOwner",
|
|
2083
2078
|
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
2084
2079
|
},
|
|
2080
|
+
{
|
|
2081
|
+
stateMutability: "nonpayable",
|
|
2082
|
+
type: "function",
|
|
2083
|
+
inputs: [
|
|
2084
|
+
{
|
|
2085
|
+
name: "contractConfig",
|
|
2086
|
+
internalType: "struct ContractCreationConfig",
|
|
2087
|
+
type: "tuple",
|
|
2088
|
+
components: [
|
|
2089
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
2090
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
2091
|
+
{ name: "contractName", internalType: "string", type: "string" }
|
|
2092
|
+
]
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
name: "premintConfig",
|
|
2096
|
+
internalType: "struct Erc20PremintConfigV1",
|
|
2097
|
+
type: "tuple",
|
|
2098
|
+
components: [
|
|
2099
|
+
{
|
|
2100
|
+
name: "tokenConfig",
|
|
2101
|
+
internalType: "struct Erc20TokenCreationConfigV1",
|
|
2102
|
+
type: "tuple",
|
|
2103
|
+
components: [
|
|
2104
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
2105
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
2106
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
2107
|
+
{
|
|
2108
|
+
name: "payoutRecipient",
|
|
2109
|
+
internalType: "address",
|
|
2110
|
+
type: "address"
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
name: "createReferral",
|
|
2114
|
+
internalType: "address",
|
|
2115
|
+
type: "address"
|
|
2116
|
+
},
|
|
2117
|
+
{ name: "erc20Minter", internalType: "address", type: "address" },
|
|
2118
|
+
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
2119
|
+
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
2120
|
+
{
|
|
2121
|
+
name: "maxTokensPerAddress",
|
|
2122
|
+
internalType: "uint64",
|
|
2123
|
+
type: "uint64"
|
|
2124
|
+
},
|
|
2125
|
+
{ name: "currency", internalType: "address", type: "address" },
|
|
2126
|
+
{
|
|
2127
|
+
name: "pricePerToken",
|
|
2128
|
+
internalType: "uint256",
|
|
2129
|
+
type: "uint256"
|
|
2130
|
+
}
|
|
2131
|
+
]
|
|
2132
|
+
},
|
|
2133
|
+
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
2134
|
+
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
2135
|
+
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
2136
|
+
]
|
|
2137
|
+
},
|
|
2138
|
+
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
2139
|
+
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2140
|
+
{
|
|
2141
|
+
name: "mintArguments",
|
|
2142
|
+
internalType: "struct MintArguments",
|
|
2143
|
+
type: "tuple",
|
|
2144
|
+
components: [
|
|
2145
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
2146
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
2147
|
+
{
|
|
2148
|
+
name: "mintRewardsRecipients",
|
|
2149
|
+
internalType: "address[]",
|
|
2150
|
+
type: "address[]"
|
|
2151
|
+
}
|
|
2152
|
+
]
|
|
2153
|
+
},
|
|
2154
|
+
{ name: "firstMinter", internalType: "address", type: "address" },
|
|
2155
|
+
{ name: "signerContract", internalType: "address", type: "address" }
|
|
2156
|
+
],
|
|
2157
|
+
name: "premintErc20V1",
|
|
2158
|
+
outputs: [
|
|
2159
|
+
{
|
|
2160
|
+
name: "result",
|
|
2161
|
+
internalType: "struct PremintResult",
|
|
2162
|
+
type: "tuple",
|
|
2163
|
+
components: [
|
|
2164
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2165
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2166
|
+
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
2167
|
+
]
|
|
2168
|
+
}
|
|
2169
|
+
]
|
|
2170
|
+
},
|
|
2085
2171
|
{
|
|
2086
2172
|
stateMutability: "view",
|
|
2087
2173
|
type: "function",
|
|
@@ -2156,7 +2242,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2156
2242
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2157
2243
|
{
|
|
2158
2244
|
name: "mintArguments",
|
|
2159
|
-
internalType: "struct
|
|
2245
|
+
internalType: "struct MintArguments",
|
|
2160
2246
|
type: "tuple",
|
|
2161
2247
|
components: [
|
|
2162
2248
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2173,7 +2259,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2173
2259
|
outputs: [
|
|
2174
2260
|
{
|
|
2175
2261
|
name: "result",
|
|
2176
|
-
internalType: "struct
|
|
2262
|
+
internalType: "struct PremintResult",
|
|
2177
2263
|
type: "tuple",
|
|
2178
2264
|
components: [
|
|
2179
2265
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2244,7 +2330,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2244
2330
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2245
2331
|
{
|
|
2246
2332
|
name: "mintArguments",
|
|
2247
|
-
internalType: "struct
|
|
2333
|
+
internalType: "struct MintArguments",
|
|
2248
2334
|
type: "tuple",
|
|
2249
2335
|
components: [
|
|
2250
2336
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2261,7 +2347,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2261
2347
|
outputs: [
|
|
2262
2348
|
{
|
|
2263
2349
|
name: "result",
|
|
2264
|
-
internalType: "struct
|
|
2350
|
+
internalType: "struct PremintResult",
|
|
2265
2351
|
type: "tuple",
|
|
2266
2352
|
components: [
|
|
2267
2353
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2332,7 +2418,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2332
2418
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2333
2419
|
{
|
|
2334
2420
|
name: "mintArguments",
|
|
2335
|
-
internalType: "struct
|
|
2421
|
+
internalType: "struct MintArguments",
|
|
2336
2422
|
type: "tuple",
|
|
2337
2423
|
components: [
|
|
2338
2424
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2344,13 +2430,14 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2344
2430
|
}
|
|
2345
2431
|
]
|
|
2346
2432
|
},
|
|
2433
|
+
{ name: "firstMinter", internalType: "address", type: "address" },
|
|
2347
2434
|
{ name: "signerContract", internalType: "address", type: "address" }
|
|
2348
2435
|
],
|
|
2349
2436
|
name: "premintV2WithSignerContract",
|
|
2350
2437
|
outputs: [
|
|
2351
2438
|
{
|
|
2352
2439
|
name: "result",
|
|
2353
|
-
internalType: "struct
|
|
2440
|
+
internalType: "struct PremintResult",
|
|
2354
2441
|
type: "tuple",
|
|
2355
2442
|
components: [
|
|
2356
2443
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2699,6 +2786,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2699
2786
|
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
|
|
2700
2787
|
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
|
|
2701
2788
|
{ type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
|
|
2789
|
+
{ type: "error", inputs: [], name: "ERC20TransferSlippage" },
|
|
2702
2790
|
{
|
|
2703
2791
|
type: "error",
|
|
2704
2792
|
inputs: [
|
|
@@ -2717,6 +2805,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2717
2805
|
inputs: [],
|
|
2718
2806
|
name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
|
|
2719
2807
|
},
|
|
2808
|
+
{ type: "error", inputs: [], name: "FirstMinterAddressZero" },
|
|
2720
2809
|
{
|
|
2721
2810
|
type: "error",
|
|
2722
2811
|
inputs: [
|
|
@@ -2748,17 +2837,8 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2748
2837
|
name: "InvalidMerkleProof"
|
|
2749
2838
|
},
|
|
2750
2839
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
2751
|
-
{
|
|
2752
|
-
|
|
2753
|
-
inputs: [
|
|
2754
|
-
{
|
|
2755
|
-
name: "recoverError",
|
|
2756
|
-
internalType: "enum ECDSAUpgradeable.RecoverError",
|
|
2757
|
-
type: "uint8"
|
|
2758
|
-
}
|
|
2759
|
-
],
|
|
2760
|
-
name: "InvalidSignature"
|
|
2761
|
-
},
|
|
2840
|
+
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
2841
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
2762
2842
|
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
2763
2843
|
{
|
|
2764
2844
|
type: "error",
|
|
@@ -2767,6 +2847,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2767
2847
|
},
|
|
2768
2848
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
2769
2849
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
2850
|
+
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
2770
2851
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
2771
2852
|
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
2772
2853
|
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
@@ -3564,6 +3645,7 @@ var addresses = {
|
|
|
3564
3645
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3565
3646
|
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
3566
3647
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
3648
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3567
3649
|
"timestamp": 1706664239
|
|
3568
3650
|
},
|
|
3569
3651
|
"10": {
|
|
@@ -3577,6 +3659,7 @@ var addresses = {
|
|
|
3577
3659
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3578
3660
|
"REDEEM_MINTER_FACTORY": "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
|
|
3579
3661
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
3662
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3580
3663
|
"timestamp": 1706664035
|
|
3581
3664
|
},
|
|
3582
3665
|
"999": {
|
|
@@ -3603,6 +3686,7 @@ var addresses = {
|
|
|
3603
3686
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3604
3687
|
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
3605
3688
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
3689
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3606
3690
|
"timestamp": 1706663976
|
|
3607
3691
|
},
|
|
3608
3692
|
"42161": {
|
|
@@ -3616,6 +3700,7 @@ var addresses = {
|
|
|
3616
3700
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3617
3701
|
"REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3618
3702
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
3703
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3619
3704
|
"timestamp": 1706664653
|
|
3620
3705
|
},
|
|
3621
3706
|
"81457": {
|
|
@@ -3629,6 +3714,7 @@ var addresses = {
|
|
|
3629
3714
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3630
3715
|
"REDEEM_MINTER_FACTORY": "0x7A0dE1B1f5420Df5D946878fBe2cF109011BE614",
|
|
3631
3716
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
3717
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3632
3718
|
"timestamp": 1709235955
|
|
3633
3719
|
},
|
|
3634
3720
|
"421614": {
|
|
@@ -3642,6 +3728,7 @@ var addresses = {
|
|
|
3642
3728
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3643
3729
|
"REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3644
3730
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
3731
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3645
3732
|
"timestamp": 1706661669
|
|
3646
3733
|
},
|
|
3647
3734
|
"7777777": {
|
|
@@ -3655,6 +3742,7 @@ var addresses = {
|
|
|
3655
3742
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3656
3743
|
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
3657
3744
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
3745
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3658
3746
|
"timestamp": 1706663694
|
|
3659
3747
|
},
|
|
3660
3748
|
"11155111": {
|
|
@@ -3668,6 +3756,7 @@ var addresses = {
|
|
|
3668
3756
|
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
3669
3757
|
"REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
3670
3758
|
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
3759
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
3671
3760
|
"timestamp": 1704336497
|
|
3672
3761
|
},
|
|
3673
3762
|
"168587773": {
|