@zoralabs/protocol-deployments 0.1.3-MINT.1 → 0.1.3-MINT.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/CHANGELOG.md +6 -0
- package/dist/generated/wagmi.d.ts +33 -323
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +35 -136
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +35 -136
- package/dist/index.js.map +1 -1
- package/package.json +22 -7
- package/src/generated/wagmi.ts +34 -135
- package/.turbo/turbo-build.log +0 -31
- package/tsconfig.build.json +0 -10
- package/tsup.config.ts +0 -11
- package/wagmi.config.ts +0 -135
package/dist/index.cjs
CHANGED
|
@@ -542,8 +542,7 @@ var zoraCreator1155ImplABI = [
|
|
|
542
542
|
inputs: [
|
|
543
543
|
{ name: "_mintFeeRecipient", internalType: "address", type: "address" },
|
|
544
544
|
{ name: "_upgradeGate", internalType: "address", type: "address" },
|
|
545
|
-
{ name: "_protocolRewards", internalType: "address", type: "address" }
|
|
546
|
-
{ name: "_mints", internalType: "address", type: "address" }
|
|
545
|
+
{ name: "_protocolRewards", internalType: "address", type: "address" }
|
|
547
546
|
]
|
|
548
547
|
},
|
|
549
548
|
{ stateMutability: "payable", type: "receive" },
|
|
@@ -692,12 +691,12 @@ var zoraCreator1155ImplABI = [
|
|
|
692
691
|
{
|
|
693
692
|
stateMutability: "pure",
|
|
694
693
|
type: "function",
|
|
695
|
-
inputs: [{ name: "
|
|
694
|
+
inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
|
|
696
695
|
name: "computeFreeMintRewards",
|
|
697
696
|
outputs: [
|
|
698
697
|
{
|
|
699
698
|
name: "",
|
|
700
|
-
internalType: "struct
|
|
699
|
+
internalType: "struct RewardsSettings",
|
|
701
700
|
type: "tuple",
|
|
702
701
|
components: [
|
|
703
702
|
{ name: "creatorReward", internalType: "uint256", type: "uint256" },
|
|
@@ -724,12 +723,12 @@ var zoraCreator1155ImplABI = [
|
|
|
724
723
|
{
|
|
725
724
|
stateMutability: "pure",
|
|
726
725
|
type: "function",
|
|
727
|
-
inputs: [{ name: "
|
|
726
|
+
inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
|
|
728
727
|
name: "computePaidMintRewards",
|
|
729
728
|
outputs: [
|
|
730
729
|
{
|
|
731
730
|
name: "",
|
|
732
|
-
internalType: "struct
|
|
731
|
+
internalType: "struct RewardsSettings",
|
|
733
732
|
type: "tuple",
|
|
734
733
|
components: [
|
|
735
734
|
{ name: "creatorReward", internalType: "uint256", type: "uint256" },
|
|
@@ -756,20 +755,7 @@ var zoraCreator1155ImplABI = [
|
|
|
756
755
|
{
|
|
757
756
|
stateMutability: "pure",
|
|
758
757
|
type: "function",
|
|
759
|
-
inputs: [
|
|
760
|
-
{ name: "totalReward", internalType: "uint256", type: "uint256" },
|
|
761
|
-
{ name: "rewardPct", internalType: "uint256", type: "uint256" }
|
|
762
|
-
],
|
|
763
|
-
name: "computeRewardsPct",
|
|
764
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
stateMutability: "pure",
|
|
768
|
-
type: "function",
|
|
769
|
-
inputs: [
|
|
770
|
-
{ name: "mintPrice", internalType: "uint256", type: "uint256" },
|
|
771
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" }
|
|
772
|
-
],
|
|
758
|
+
inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
|
|
773
759
|
name: "computeTotalReward",
|
|
774
760
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
775
761
|
},
|
|
@@ -1007,32 +993,12 @@ var zoraCreator1155ImplABI = [
|
|
|
1007
993
|
outputs: []
|
|
1008
994
|
},
|
|
1009
995
|
{
|
|
1010
|
-
stateMutability: "
|
|
996
|
+
stateMutability: "pure",
|
|
1011
997
|
type: "function",
|
|
1012
998
|
inputs: [],
|
|
1013
999
|
name: "mintFee",
|
|
1014
1000
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1015
1001
|
},
|
|
1016
|
-
{
|
|
1017
|
-
stateMutability: "payable",
|
|
1018
|
-
type: "function",
|
|
1019
|
-
inputs: [
|
|
1020
|
-
{ name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
1021
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
1022
|
-
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
1023
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1024
|
-
{
|
|
1025
|
-
name: "rewardsRecipients",
|
|
1026
|
-
internalType: "address[]",
|
|
1027
|
-
type: "address[]"
|
|
1028
|
-
},
|
|
1029
|
-
{ name: "minterArguments", internalType: "bytes", type: "bytes" }
|
|
1030
|
-
],
|
|
1031
|
-
name: "mintWithMints",
|
|
1032
|
-
outputs: [
|
|
1033
|
-
{ name: "quantityMinted", internalType: "uint256", type: "uint256" }
|
|
1034
|
-
]
|
|
1035
|
-
},
|
|
1036
1002
|
{
|
|
1037
1003
|
stateMutability: "payable",
|
|
1038
1004
|
type: "function",
|
|
@@ -1067,19 +1033,6 @@ var zoraCreator1155ImplABI = [
|
|
|
1067
1033
|
name: "nextTokenId",
|
|
1068
1034
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1069
1035
|
},
|
|
1070
|
-
{
|
|
1071
|
-
stateMutability: "pure",
|
|
1072
|
-
type: "function",
|
|
1073
|
-
inputs: [
|
|
1074
|
-
{ name: "", internalType: "address", type: "address" },
|
|
1075
|
-
{ name: "", internalType: "address", type: "address" },
|
|
1076
|
-
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1077
|
-
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1078
|
-
{ name: "", internalType: "bytes", type: "bytes" }
|
|
1079
|
-
],
|
|
1080
|
-
name: "onERC1155Received",
|
|
1081
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
1082
|
-
},
|
|
1083
1036
|
{
|
|
1084
1037
|
stateMutability: "view",
|
|
1085
1038
|
type: "function",
|
|
@@ -1903,8 +1856,17 @@ var zoraCreator1155ImplABI = [
|
|
|
1903
1856
|
name: "InvalidMerkleProof"
|
|
1904
1857
|
},
|
|
1905
1858
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
1906
|
-
{
|
|
1907
|
-
|
|
1859
|
+
{
|
|
1860
|
+
type: "error",
|
|
1861
|
+
inputs: [
|
|
1862
|
+
{
|
|
1863
|
+
name: "recoverError",
|
|
1864
|
+
internalType: "enum ECDSAUpgradeable.RecoverError",
|
|
1865
|
+
type: "uint8"
|
|
1866
|
+
}
|
|
1867
|
+
],
|
|
1868
|
+
name: "InvalidSignature"
|
|
1869
|
+
},
|
|
1908
1870
|
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
1909
1871
|
{
|
|
1910
1872
|
type: "error",
|
|
@@ -1913,7 +1875,6 @@ var zoraCreator1155ImplABI = [
|
|
|
1913
1875
|
},
|
|
1914
1876
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
1915
1877
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
1916
|
-
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
1917
1878
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
1918
1879
|
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
1919
1880
|
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
@@ -2235,7 +2196,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2235
2196
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2236
2197
|
{
|
|
2237
2198
|
name: "mintArguments",
|
|
2238
|
-
internalType: "struct MintArguments",
|
|
2199
|
+
internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
|
|
2239
2200
|
type: "tuple",
|
|
2240
2201
|
components: [
|
|
2241
2202
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2252,7 +2213,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2252
2213
|
outputs: [
|
|
2253
2214
|
{
|
|
2254
2215
|
name: "result",
|
|
2255
|
-
internalType: "struct PremintResult",
|
|
2216
|
+
internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
|
|
2256
2217
|
type: "tuple",
|
|
2257
2218
|
components: [
|
|
2258
2219
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2323,7 +2284,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2323
2284
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2324
2285
|
{
|
|
2325
2286
|
name: "mintArguments",
|
|
2326
|
-
internalType: "struct MintArguments",
|
|
2287
|
+
internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
|
|
2327
2288
|
type: "tuple",
|
|
2328
2289
|
components: [
|
|
2329
2290
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2340,7 +2301,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2340
2301
|
outputs: [
|
|
2341
2302
|
{
|
|
2342
2303
|
name: "result",
|
|
2343
|
-
internalType: "struct PremintResult",
|
|
2304
|
+
internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
|
|
2344
2305
|
type: "tuple",
|
|
2345
2306
|
components: [
|
|
2346
2307
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2411,7 +2372,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2411
2372
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2412
2373
|
{
|
|
2413
2374
|
name: "mintArguments",
|
|
2414
|
-
internalType: "struct MintArguments",
|
|
2375
|
+
internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
|
|
2415
2376
|
type: "tuple",
|
|
2416
2377
|
components: [
|
|
2417
2378
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2429,78 +2390,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2429
2390
|
outputs: [
|
|
2430
2391
|
{
|
|
2431
2392
|
name: "result",
|
|
2432
|
-
internalType: "struct PremintResult",
|
|
2433
|
-
type: "tuple",
|
|
2434
|
-
components: [
|
|
2435
|
-
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2436
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2437
|
-
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
2438
|
-
]
|
|
2439
|
-
}
|
|
2440
|
-
]
|
|
2441
|
-
},
|
|
2442
|
-
{
|
|
2443
|
-
stateMutability: "payable",
|
|
2444
|
-
type: "function",
|
|
2445
|
-
inputs: [
|
|
2446
|
-
{ name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
2447
|
-
{
|
|
2448
|
-
name: "mintTokenIdQuantities",
|
|
2449
|
-
internalType: "uint256[]",
|
|
2450
|
-
type: "uint256[]"
|
|
2451
|
-
},
|
|
2452
|
-
{
|
|
2453
|
-
name: "contractConfig",
|
|
2454
|
-
internalType: "struct ContractCreationConfig",
|
|
2455
|
-
type: "tuple",
|
|
2456
|
-
components: [
|
|
2457
|
-
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
2458
|
-
{ name: "contractURI", internalType: "string", type: "string" },
|
|
2459
|
-
{ name: "contractName", internalType: "string", type: "string" }
|
|
2460
|
-
]
|
|
2461
|
-
},
|
|
2462
|
-
{
|
|
2463
|
-
name: "encodedPremintConfig",
|
|
2464
|
-
internalType: "struct EncodedPremintConfig",
|
|
2465
|
-
type: "tuple",
|
|
2466
|
-
components: [
|
|
2467
|
-
{ name: "premintConfig", internalType: "bytes", type: "bytes" },
|
|
2468
|
-
{
|
|
2469
|
-
name: "premintConfigVersion",
|
|
2470
|
-
internalType: "bytes32",
|
|
2471
|
-
type: "bytes32"
|
|
2472
|
-
},
|
|
2473
|
-
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
2474
|
-
{
|
|
2475
|
-
name: "fixedPriceMinter",
|
|
2476
|
-
internalType: "address",
|
|
2477
|
-
type: "address"
|
|
2478
|
-
}
|
|
2479
|
-
]
|
|
2480
|
-
},
|
|
2481
|
-
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
2482
|
-
{
|
|
2483
|
-
name: "mintArguments",
|
|
2484
|
-
internalType: "struct MintArguments",
|
|
2485
|
-
type: "tuple",
|
|
2486
|
-
components: [
|
|
2487
|
-
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
2488
|
-
{ name: "mintComment", internalType: "string", type: "string" },
|
|
2489
|
-
{
|
|
2490
|
-
name: "mintRewardsRecipients",
|
|
2491
|
-
internalType: "address[]",
|
|
2492
|
-
type: "address[]"
|
|
2493
|
-
}
|
|
2494
|
-
]
|
|
2495
|
-
},
|
|
2496
|
-
{ name: "minter", internalType: "address", type: "address" },
|
|
2497
|
-
{ name: "signerContract", internalType: "address", type: "address" }
|
|
2498
|
-
],
|
|
2499
|
-
name: "premintWithMints",
|
|
2500
|
-
outputs: [
|
|
2501
|
-
{
|
|
2502
|
-
name: "result",
|
|
2503
|
-
internalType: "struct PremintResult",
|
|
2393
|
+
internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
|
|
2504
2394
|
type: "tuple",
|
|
2505
2395
|
components: [
|
|
2506
2396
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2898,7 +2788,17 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2898
2788
|
name: "InvalidMerkleProof"
|
|
2899
2789
|
},
|
|
2900
2790
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
2901
|
-
{
|
|
2791
|
+
{
|
|
2792
|
+
type: "error",
|
|
2793
|
+
inputs: [
|
|
2794
|
+
{
|
|
2795
|
+
name: "recoverError",
|
|
2796
|
+
internalType: "enum ECDSAUpgradeable.RecoverError",
|
|
2797
|
+
type: "uint8"
|
|
2798
|
+
}
|
|
2799
|
+
],
|
|
2800
|
+
name: "InvalidSignature"
|
|
2801
|
+
},
|
|
2902
2802
|
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
2903
2803
|
{
|
|
2904
2804
|
type: "error",
|
|
@@ -2907,7 +2807,6 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2907
2807
|
},
|
|
2908
2808
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
2909
2809
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
2910
|
-
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
2911
2810
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
2912
2811
|
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
2913
2812
|
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|