@zoralabs/protocol-deployments 0.1.3-MINT.1 → 0.1.3-MINT.3
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 +7 -8
- 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.js
CHANGED
|
@@ -502,8 +502,7 @@ var zoraCreator1155ImplABI = [
|
|
|
502
502
|
inputs: [
|
|
503
503
|
{ name: "_mintFeeRecipient", internalType: "address", type: "address" },
|
|
504
504
|
{ name: "_upgradeGate", internalType: "address", type: "address" },
|
|
505
|
-
{ name: "_protocolRewards", internalType: "address", type: "address" }
|
|
506
|
-
{ name: "_mints", internalType: "address", type: "address" }
|
|
505
|
+
{ name: "_protocolRewards", internalType: "address", type: "address" }
|
|
507
506
|
]
|
|
508
507
|
},
|
|
509
508
|
{ stateMutability: "payable", type: "receive" },
|
|
@@ -652,12 +651,12 @@ var zoraCreator1155ImplABI = [
|
|
|
652
651
|
{
|
|
653
652
|
stateMutability: "pure",
|
|
654
653
|
type: "function",
|
|
655
|
-
inputs: [{ name: "
|
|
654
|
+
inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
|
|
656
655
|
name: "computeFreeMintRewards",
|
|
657
656
|
outputs: [
|
|
658
657
|
{
|
|
659
658
|
name: "",
|
|
660
|
-
internalType: "struct
|
|
659
|
+
internalType: "struct RewardsSettings",
|
|
661
660
|
type: "tuple",
|
|
662
661
|
components: [
|
|
663
662
|
{ name: "creatorReward", internalType: "uint256", type: "uint256" },
|
|
@@ -684,12 +683,12 @@ var zoraCreator1155ImplABI = [
|
|
|
684
683
|
{
|
|
685
684
|
stateMutability: "pure",
|
|
686
685
|
type: "function",
|
|
687
|
-
inputs: [{ name: "
|
|
686
|
+
inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
|
|
688
687
|
name: "computePaidMintRewards",
|
|
689
688
|
outputs: [
|
|
690
689
|
{
|
|
691
690
|
name: "",
|
|
692
|
-
internalType: "struct
|
|
691
|
+
internalType: "struct RewardsSettings",
|
|
693
692
|
type: "tuple",
|
|
694
693
|
components: [
|
|
695
694
|
{ name: "creatorReward", internalType: "uint256", type: "uint256" },
|
|
@@ -716,20 +715,7 @@ var zoraCreator1155ImplABI = [
|
|
|
716
715
|
{
|
|
717
716
|
stateMutability: "pure",
|
|
718
717
|
type: "function",
|
|
719
|
-
inputs: [
|
|
720
|
-
{ name: "totalReward", internalType: "uint256", type: "uint256" },
|
|
721
|
-
{ name: "rewardPct", internalType: "uint256", type: "uint256" }
|
|
722
|
-
],
|
|
723
|
-
name: "computeRewardsPct",
|
|
724
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
stateMutability: "pure",
|
|
728
|
-
type: "function",
|
|
729
|
-
inputs: [
|
|
730
|
-
{ name: "mintPrice", internalType: "uint256", type: "uint256" },
|
|
731
|
-
{ name: "quantity", internalType: "uint256", type: "uint256" }
|
|
732
|
-
],
|
|
718
|
+
inputs: [{ name: "numTokens", internalType: "uint256", type: "uint256" }],
|
|
733
719
|
name: "computeTotalReward",
|
|
734
720
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
735
721
|
},
|
|
@@ -967,32 +953,12 @@ var zoraCreator1155ImplABI = [
|
|
|
967
953
|
outputs: []
|
|
968
954
|
},
|
|
969
955
|
{
|
|
970
|
-
stateMutability: "
|
|
956
|
+
stateMutability: "pure",
|
|
971
957
|
type: "function",
|
|
972
958
|
inputs: [],
|
|
973
959
|
name: "mintFee",
|
|
974
960
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
975
961
|
},
|
|
976
|
-
{
|
|
977
|
-
stateMutability: "payable",
|
|
978
|
-
type: "function",
|
|
979
|
-
inputs: [
|
|
980
|
-
{ name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
981
|
-
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
982
|
-
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
983
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
984
|
-
{
|
|
985
|
-
name: "rewardsRecipients",
|
|
986
|
-
internalType: "address[]",
|
|
987
|
-
type: "address[]"
|
|
988
|
-
},
|
|
989
|
-
{ name: "minterArguments", internalType: "bytes", type: "bytes" }
|
|
990
|
-
],
|
|
991
|
-
name: "mintWithMints",
|
|
992
|
-
outputs: [
|
|
993
|
-
{ name: "quantityMinted", internalType: "uint256", type: "uint256" }
|
|
994
|
-
]
|
|
995
|
-
},
|
|
996
962
|
{
|
|
997
963
|
stateMutability: "payable",
|
|
998
964
|
type: "function",
|
|
@@ -1027,19 +993,6 @@ var zoraCreator1155ImplABI = [
|
|
|
1027
993
|
name: "nextTokenId",
|
|
1028
994
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1029
995
|
},
|
|
1030
|
-
{
|
|
1031
|
-
stateMutability: "pure",
|
|
1032
|
-
type: "function",
|
|
1033
|
-
inputs: [
|
|
1034
|
-
{ name: "", internalType: "address", type: "address" },
|
|
1035
|
-
{ name: "", internalType: "address", type: "address" },
|
|
1036
|
-
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1037
|
-
{ name: "", internalType: "uint256", type: "uint256" },
|
|
1038
|
-
{ name: "", internalType: "bytes", type: "bytes" }
|
|
1039
|
-
],
|
|
1040
|
-
name: "onERC1155Received",
|
|
1041
|
-
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
1042
|
-
},
|
|
1043
996
|
{
|
|
1044
997
|
stateMutability: "view",
|
|
1045
998
|
type: "function",
|
|
@@ -1863,8 +1816,17 @@ var zoraCreator1155ImplABI = [
|
|
|
1863
1816
|
name: "InvalidMerkleProof"
|
|
1864
1817
|
},
|
|
1865
1818
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
1866
|
-
{
|
|
1867
|
-
|
|
1819
|
+
{
|
|
1820
|
+
type: "error",
|
|
1821
|
+
inputs: [
|
|
1822
|
+
{
|
|
1823
|
+
name: "recoverError",
|
|
1824
|
+
internalType: "enum ECDSAUpgradeable.RecoverError",
|
|
1825
|
+
type: "uint8"
|
|
1826
|
+
}
|
|
1827
|
+
],
|
|
1828
|
+
name: "InvalidSignature"
|
|
1829
|
+
},
|
|
1868
1830
|
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
1869
1831
|
{
|
|
1870
1832
|
type: "error",
|
|
@@ -1873,7 +1835,6 @@ var zoraCreator1155ImplABI = [
|
|
|
1873
1835
|
},
|
|
1874
1836
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
1875
1837
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
1876
|
-
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
1877
1838
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
1878
1839
|
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
1879
1840
|
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
@@ -2195,7 +2156,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2195
2156
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2196
2157
|
{
|
|
2197
2158
|
name: "mintArguments",
|
|
2198
|
-
internalType: "struct MintArguments",
|
|
2159
|
+
internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
|
|
2199
2160
|
type: "tuple",
|
|
2200
2161
|
components: [
|
|
2201
2162
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2212,7 +2173,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2212
2173
|
outputs: [
|
|
2213
2174
|
{
|
|
2214
2175
|
name: "result",
|
|
2215
|
-
internalType: "struct PremintResult",
|
|
2176
|
+
internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
|
|
2216
2177
|
type: "tuple",
|
|
2217
2178
|
components: [
|
|
2218
2179
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2283,7 +2244,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2283
2244
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2284
2245
|
{
|
|
2285
2246
|
name: "mintArguments",
|
|
2286
|
-
internalType: "struct MintArguments",
|
|
2247
|
+
internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
|
|
2287
2248
|
type: "tuple",
|
|
2288
2249
|
components: [
|
|
2289
2250
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2300,7 +2261,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2300
2261
|
outputs: [
|
|
2301
2262
|
{
|
|
2302
2263
|
name: "result",
|
|
2303
|
-
internalType: "struct PremintResult",
|
|
2264
|
+
internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
|
|
2304
2265
|
type: "tuple",
|
|
2305
2266
|
components: [
|
|
2306
2267
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2371,7 +2332,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2371
2332
|
{ name: "quantityToMint", internalType: "uint256", type: "uint256" },
|
|
2372
2333
|
{
|
|
2373
2334
|
name: "mintArguments",
|
|
2374
|
-
internalType: "struct MintArguments",
|
|
2335
|
+
internalType: "struct IZoraCreator1155PremintExecutor.MintArguments",
|
|
2375
2336
|
type: "tuple",
|
|
2376
2337
|
components: [
|
|
2377
2338
|
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
@@ -2389,78 +2350,7 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2389
2350
|
outputs: [
|
|
2390
2351
|
{
|
|
2391
2352
|
name: "result",
|
|
2392
|
-
internalType: "struct PremintResult",
|
|
2393
|
-
type: "tuple",
|
|
2394
|
-
components: [
|
|
2395
|
-
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2396
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2397
|
-
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
2398
|
-
]
|
|
2399
|
-
}
|
|
2400
|
-
]
|
|
2401
|
-
},
|
|
2402
|
-
{
|
|
2403
|
-
stateMutability: "payable",
|
|
2404
|
-
type: "function",
|
|
2405
|
-
inputs: [
|
|
2406
|
-
{ name: "mintTokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
2407
|
-
{
|
|
2408
|
-
name: "mintTokenIdQuantities",
|
|
2409
|
-
internalType: "uint256[]",
|
|
2410
|
-
type: "uint256[]"
|
|
2411
|
-
},
|
|
2412
|
-
{
|
|
2413
|
-
name: "contractConfig",
|
|
2414
|
-
internalType: "struct ContractCreationConfig",
|
|
2415
|
-
type: "tuple",
|
|
2416
|
-
components: [
|
|
2417
|
-
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
2418
|
-
{ name: "contractURI", internalType: "string", type: "string" },
|
|
2419
|
-
{ name: "contractName", internalType: "string", type: "string" }
|
|
2420
|
-
]
|
|
2421
|
-
},
|
|
2422
|
-
{
|
|
2423
|
-
name: "encodedPremintConfig",
|
|
2424
|
-
internalType: "struct EncodedPremintConfig",
|
|
2425
|
-
type: "tuple",
|
|
2426
|
-
components: [
|
|
2427
|
-
{ name: "premintConfig", internalType: "bytes", type: "bytes" },
|
|
2428
|
-
{
|
|
2429
|
-
name: "premintConfigVersion",
|
|
2430
|
-
internalType: "bytes32",
|
|
2431
|
-
type: "bytes32"
|
|
2432
|
-
},
|
|
2433
|
-
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
2434
|
-
{
|
|
2435
|
-
name: "fixedPriceMinter",
|
|
2436
|
-
internalType: "address",
|
|
2437
|
-
type: "address"
|
|
2438
|
-
}
|
|
2439
|
-
]
|
|
2440
|
-
},
|
|
2441
|
-
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
2442
|
-
{
|
|
2443
|
-
name: "mintArguments",
|
|
2444
|
-
internalType: "struct MintArguments",
|
|
2445
|
-
type: "tuple",
|
|
2446
|
-
components: [
|
|
2447
|
-
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
2448
|
-
{ name: "mintComment", internalType: "string", type: "string" },
|
|
2449
|
-
{
|
|
2450
|
-
name: "mintRewardsRecipients",
|
|
2451
|
-
internalType: "address[]",
|
|
2452
|
-
type: "address[]"
|
|
2453
|
-
}
|
|
2454
|
-
]
|
|
2455
|
-
},
|
|
2456
|
-
{ name: "minter", internalType: "address", type: "address" },
|
|
2457
|
-
{ name: "signerContract", internalType: "address", type: "address" }
|
|
2458
|
-
],
|
|
2459
|
-
name: "premintWithMints",
|
|
2460
|
-
outputs: [
|
|
2461
|
-
{
|
|
2462
|
-
name: "result",
|
|
2463
|
-
internalType: "struct PremintResult",
|
|
2353
|
+
internalType: "struct IZoraCreator1155PremintExecutor.PremintResult",
|
|
2464
2354
|
type: "tuple",
|
|
2465
2355
|
components: [
|
|
2466
2356
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
@@ -2858,7 +2748,17 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2858
2748
|
name: "InvalidMerkleProof"
|
|
2859
2749
|
},
|
|
2860
2750
|
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
2861
|
-
{
|
|
2751
|
+
{
|
|
2752
|
+
type: "error",
|
|
2753
|
+
inputs: [
|
|
2754
|
+
{
|
|
2755
|
+
name: "recoverError",
|
|
2756
|
+
internalType: "enum ECDSAUpgradeable.RecoverError",
|
|
2757
|
+
type: "uint8"
|
|
2758
|
+
}
|
|
2759
|
+
],
|
|
2760
|
+
name: "InvalidSignature"
|
|
2761
|
+
},
|
|
2862
2762
|
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
2863
2763
|
{
|
|
2864
2764
|
type: "error",
|
|
@@ -2867,7 +2767,6 @@ var zoraCreator1155PremintExecutorImplABI = [
|
|
|
2867
2767
|
},
|
|
2868
2768
|
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
2869
2769
|
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
2870
|
-
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
2871
2770
|
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
2872
2771
|
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
2873
2772
|
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|