@zoralabs/protocol-deployments 0.1.2 → 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 +25 -0
- package/dist/addresses.d.ts +164 -0
- package/dist/addresses.d.ts.map +1 -0
- package/dist/generated/mints.d.ts +45 -0
- package/dist/generated/mints.d.ts.map +1 -0
- package/dist/generated/wagmi.d.ts +2319 -0
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +855 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +850 -1
- package/dist/index.js.map +1 -1
- package/json/mints.json +46 -0
- package/package.json +22 -5
- package/src/addresses.ts +163 -0
- package/src/generated/mints.ts +44 -0
- package/src/generated/wagmi.ts +810 -0
- package/src/index.ts +1 -0
- package/.turbo/turbo-build.log +0 -29
- package/tsconfig.build.json +0 -10
- package/tsup.config.ts +0 -11
- package/wagmi.config.ts +0 -107
package/dist/index.js
CHANGED
|
@@ -3488,6 +3488,800 @@ var zoraCreatorRedeemMinterFactoryConfig = {
|
|
|
3488
3488
|
address: zoraCreatorRedeemMinterFactoryAddress,
|
|
3489
3489
|
abi: zoraCreatorRedeemMinterFactoryABI
|
|
3490
3490
|
};
|
|
3491
|
+
var zoraMintsImplABI = [
|
|
3492
|
+
{
|
|
3493
|
+
stateMutability: "nonpayable",
|
|
3494
|
+
type: "constructor",
|
|
3495
|
+
inputs: [
|
|
3496
|
+
{
|
|
3497
|
+
name: "_premintExecutor",
|
|
3498
|
+
internalType: "contract IPremintWithMints",
|
|
3499
|
+
type: "address"
|
|
3500
|
+
}
|
|
3501
|
+
]
|
|
3502
|
+
},
|
|
3503
|
+
{
|
|
3504
|
+
stateMutability: "nonpayable",
|
|
3505
|
+
type: "function",
|
|
3506
|
+
inputs: [],
|
|
3507
|
+
name: "acceptOwnership",
|
|
3508
|
+
outputs: []
|
|
3509
|
+
},
|
|
3510
|
+
{
|
|
3511
|
+
stateMutability: "view",
|
|
3512
|
+
type: "function",
|
|
3513
|
+
inputs: [
|
|
3514
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
3515
|
+
{ name: "id", internalType: "uint256", type: "uint256" }
|
|
3516
|
+
],
|
|
3517
|
+
name: "balanceOf",
|
|
3518
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3519
|
+
},
|
|
3520
|
+
{
|
|
3521
|
+
stateMutability: "view",
|
|
3522
|
+
type: "function",
|
|
3523
|
+
inputs: [
|
|
3524
|
+
{ name: "accounts", internalType: "address[]", type: "address[]" },
|
|
3525
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" }
|
|
3526
|
+
],
|
|
3527
|
+
name: "balanceOfBatch",
|
|
3528
|
+
outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }]
|
|
3529
|
+
},
|
|
3530
|
+
{
|
|
3531
|
+
stateMutability: "payable",
|
|
3532
|
+
type: "function",
|
|
3533
|
+
inputs: [
|
|
3534
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
3535
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
3536
|
+
{
|
|
3537
|
+
name: "zoraCreator1155Contract",
|
|
3538
|
+
internalType: "contract IMintWithMints",
|
|
3539
|
+
type: "address"
|
|
3540
|
+
},
|
|
3541
|
+
{ name: "minter", internalType: "contract IMinter1155", type: "address" },
|
|
3542
|
+
{
|
|
3543
|
+
name: "zoraCreator1155TokenId",
|
|
3544
|
+
internalType: "uint256",
|
|
3545
|
+
type: "uint256"
|
|
3546
|
+
},
|
|
3547
|
+
{
|
|
3548
|
+
name: "rewardsRecipients",
|
|
3549
|
+
internalType: "address[]",
|
|
3550
|
+
type: "address[]"
|
|
3551
|
+
},
|
|
3552
|
+
{ name: "minterArguments", internalType: "bytes", type: "bytes" }
|
|
3553
|
+
],
|
|
3554
|
+
name: "collect",
|
|
3555
|
+
outputs: []
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
stateMutability: "payable",
|
|
3559
|
+
type: "function",
|
|
3560
|
+
inputs: [
|
|
3561
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
3562
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
3563
|
+
{
|
|
3564
|
+
name: "contractConfig",
|
|
3565
|
+
internalType: "struct ContractCreationConfig",
|
|
3566
|
+
type: "tuple",
|
|
3567
|
+
components: [
|
|
3568
|
+
{ name: "contractAdmin", internalType: "address", type: "address" },
|
|
3569
|
+
{ name: "contractURI", internalType: "string", type: "string" },
|
|
3570
|
+
{ name: "contractName", internalType: "string", type: "string" }
|
|
3571
|
+
]
|
|
3572
|
+
},
|
|
3573
|
+
{
|
|
3574
|
+
name: "premintConfig",
|
|
3575
|
+
internalType: "struct PremintConfigV2",
|
|
3576
|
+
type: "tuple",
|
|
3577
|
+
components: [
|
|
3578
|
+
{
|
|
3579
|
+
name: "tokenConfig",
|
|
3580
|
+
internalType: "struct TokenCreationConfigV2",
|
|
3581
|
+
type: "tuple",
|
|
3582
|
+
components: [
|
|
3583
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
3584
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" },
|
|
3585
|
+
{
|
|
3586
|
+
name: "maxTokensPerAddress",
|
|
3587
|
+
internalType: "uint64",
|
|
3588
|
+
type: "uint64"
|
|
3589
|
+
},
|
|
3590
|
+
{ name: "pricePerToken", internalType: "uint96", type: "uint96" },
|
|
3591
|
+
{ name: "mintStart", internalType: "uint64", type: "uint64" },
|
|
3592
|
+
{ name: "mintDuration", internalType: "uint64", type: "uint64" },
|
|
3593
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
3594
|
+
{
|
|
3595
|
+
name: "payoutRecipient",
|
|
3596
|
+
internalType: "address",
|
|
3597
|
+
type: "address"
|
|
3598
|
+
},
|
|
3599
|
+
{
|
|
3600
|
+
name: "fixedPriceMinter",
|
|
3601
|
+
internalType: "address",
|
|
3602
|
+
type: "address"
|
|
3603
|
+
},
|
|
3604
|
+
{
|
|
3605
|
+
name: "createReferral",
|
|
3606
|
+
internalType: "address",
|
|
3607
|
+
type: "address"
|
|
3608
|
+
}
|
|
3609
|
+
]
|
|
3610
|
+
},
|
|
3611
|
+
{ name: "uid", internalType: "uint32", type: "uint32" },
|
|
3612
|
+
{ name: "version", internalType: "uint32", type: "uint32" },
|
|
3613
|
+
{ name: "deleted", internalType: "bool", type: "bool" }
|
|
3614
|
+
]
|
|
3615
|
+
},
|
|
3616
|
+
{ name: "signature", internalType: "bytes", type: "bytes" },
|
|
3617
|
+
{
|
|
3618
|
+
name: "mintArguments",
|
|
3619
|
+
internalType: "struct MintArguments",
|
|
3620
|
+
type: "tuple",
|
|
3621
|
+
components: [
|
|
3622
|
+
{ name: "mintRecipient", internalType: "address", type: "address" },
|
|
3623
|
+
{ name: "mintComment", internalType: "string", type: "string" },
|
|
3624
|
+
{
|
|
3625
|
+
name: "mintRewardsRecipients",
|
|
3626
|
+
internalType: "address[]",
|
|
3627
|
+
type: "address[]"
|
|
3628
|
+
}
|
|
3629
|
+
]
|
|
3630
|
+
},
|
|
3631
|
+
{ name: "signerContract", internalType: "address", type: "address" }
|
|
3632
|
+
],
|
|
3633
|
+
name: "collectPremintV2",
|
|
3634
|
+
outputs: [
|
|
3635
|
+
{
|
|
3636
|
+
name: "result",
|
|
3637
|
+
internalType: "struct PremintResult",
|
|
3638
|
+
type: "tuple",
|
|
3639
|
+
components: [
|
|
3640
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
3641
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
3642
|
+
{ name: "createdNewContract", internalType: "bool", type: "bool" }
|
|
3643
|
+
]
|
|
3644
|
+
}
|
|
3645
|
+
]
|
|
3646
|
+
},
|
|
3647
|
+
{
|
|
3648
|
+
stateMutability: "pure",
|
|
3649
|
+
type: "function",
|
|
3650
|
+
inputs: [],
|
|
3651
|
+
name: "contractVersion",
|
|
3652
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3653
|
+
},
|
|
3654
|
+
{
|
|
3655
|
+
stateMutability: "nonpayable",
|
|
3656
|
+
type: "function",
|
|
3657
|
+
inputs: [
|
|
3658
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
3659
|
+
{ name: "pricePerToken", internalType: "uint256", type: "uint256" },
|
|
3660
|
+
{ name: "defaultMintable", internalType: "bool", type: "bool" }
|
|
3661
|
+
],
|
|
3662
|
+
name: "createEthToken",
|
|
3663
|
+
outputs: []
|
|
3664
|
+
},
|
|
3665
|
+
{
|
|
3666
|
+
stateMutability: "view",
|
|
3667
|
+
type: "function",
|
|
3668
|
+
inputs: [],
|
|
3669
|
+
name: "getEthPrice",
|
|
3670
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3671
|
+
},
|
|
3672
|
+
{
|
|
3673
|
+
stateMutability: "view",
|
|
3674
|
+
type: "function",
|
|
3675
|
+
inputs: [],
|
|
3676
|
+
name: "implementation",
|
|
3677
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3678
|
+
},
|
|
3679
|
+
{
|
|
3680
|
+
stateMutability: "nonpayable",
|
|
3681
|
+
type: "function",
|
|
3682
|
+
inputs: [
|
|
3683
|
+
{ name: "initialOwner", internalType: "address", type: "address" },
|
|
3684
|
+
{ name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
|
|
3685
|
+
{
|
|
3686
|
+
name: "initialEthTokenPrice",
|
|
3687
|
+
internalType: "uint256",
|
|
3688
|
+
type: "uint256"
|
|
3689
|
+
}
|
|
3690
|
+
],
|
|
3691
|
+
name: "initialize",
|
|
3692
|
+
outputs: []
|
|
3693
|
+
},
|
|
3694
|
+
{
|
|
3695
|
+
stateMutability: "view",
|
|
3696
|
+
type: "function",
|
|
3697
|
+
inputs: [
|
|
3698
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
3699
|
+
{ name: "operator", internalType: "address", type: "address" }
|
|
3700
|
+
],
|
|
3701
|
+
name: "isApprovedForAll",
|
|
3702
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
3703
|
+
},
|
|
3704
|
+
{
|
|
3705
|
+
stateMutability: "payable",
|
|
3706
|
+
type: "function",
|
|
3707
|
+
inputs: [
|
|
3708
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
3709
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
3710
|
+
],
|
|
3711
|
+
name: "mintWithEth",
|
|
3712
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3713
|
+
},
|
|
3714
|
+
{
|
|
3715
|
+
stateMutability: "view",
|
|
3716
|
+
type: "function",
|
|
3717
|
+
inputs: [],
|
|
3718
|
+
name: "mintableEthToken",
|
|
3719
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3720
|
+
},
|
|
3721
|
+
{
|
|
3722
|
+
stateMutability: "pure",
|
|
3723
|
+
type: "function",
|
|
3724
|
+
inputs: [],
|
|
3725
|
+
name: "name",
|
|
3726
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3727
|
+
},
|
|
3728
|
+
{
|
|
3729
|
+
stateMutability: "view",
|
|
3730
|
+
type: "function",
|
|
3731
|
+
inputs: [],
|
|
3732
|
+
name: "owner",
|
|
3733
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3734
|
+
},
|
|
3735
|
+
{
|
|
3736
|
+
stateMutability: "view",
|
|
3737
|
+
type: "function",
|
|
3738
|
+
inputs: [],
|
|
3739
|
+
name: "pendingOwner",
|
|
3740
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3741
|
+
},
|
|
3742
|
+
{
|
|
3743
|
+
stateMutability: "view",
|
|
3744
|
+
type: "function",
|
|
3745
|
+
inputs: [],
|
|
3746
|
+
name: "premintExecutor",
|
|
3747
|
+
outputs: [
|
|
3748
|
+
{ name: "", internalType: "contract IPremintWithMints", type: "address" }
|
|
3749
|
+
]
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3752
|
+
stateMutability: "nonpayable",
|
|
3753
|
+
type: "function",
|
|
3754
|
+
inputs: [
|
|
3755
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
3756
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
3757
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
3758
|
+
],
|
|
3759
|
+
name: "redeem",
|
|
3760
|
+
outputs: [
|
|
3761
|
+
{ name: "valueRedeemed", internalType: "uint256", type: "uint256" }
|
|
3762
|
+
]
|
|
3763
|
+
},
|
|
3764
|
+
{
|
|
3765
|
+
stateMutability: "nonpayable",
|
|
3766
|
+
type: "function",
|
|
3767
|
+
inputs: [
|
|
3768
|
+
{ name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
|
|
3769
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
3770
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
3771
|
+
],
|
|
3772
|
+
name: "redeemBatch",
|
|
3773
|
+
outputs: [
|
|
3774
|
+
{ name: "valueRedeemed", internalType: "uint256", type: "uint256" }
|
|
3775
|
+
]
|
|
3776
|
+
},
|
|
3777
|
+
{
|
|
3778
|
+
stateMutability: "nonpayable",
|
|
3779
|
+
type: "function",
|
|
3780
|
+
inputs: [],
|
|
3781
|
+
name: "renounceOwnership",
|
|
3782
|
+
outputs: []
|
|
3783
|
+
},
|
|
3784
|
+
{
|
|
3785
|
+
stateMutability: "nonpayable",
|
|
3786
|
+
type: "function",
|
|
3787
|
+
inputs: [
|
|
3788
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
3789
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
3790
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
3791
|
+
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
3792
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
3793
|
+
],
|
|
3794
|
+
name: "safeBatchTransferFrom",
|
|
3795
|
+
outputs: []
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
stateMutability: "nonpayable",
|
|
3799
|
+
type: "function",
|
|
3800
|
+
inputs: [
|
|
3801
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
3802
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
3803
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
3804
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
3805
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
3806
|
+
],
|
|
3807
|
+
name: "safeTransferFrom",
|
|
3808
|
+
outputs: []
|
|
3809
|
+
},
|
|
3810
|
+
{
|
|
3811
|
+
stateMutability: "nonpayable",
|
|
3812
|
+
type: "function",
|
|
3813
|
+
inputs: [
|
|
3814
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
3815
|
+
{ name: "approved", internalType: "bool", type: "bool" }
|
|
3816
|
+
],
|
|
3817
|
+
name: "setApprovalForAll",
|
|
3818
|
+
outputs: []
|
|
3819
|
+
},
|
|
3820
|
+
{
|
|
3821
|
+
stateMutability: "nonpayable",
|
|
3822
|
+
type: "function",
|
|
3823
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
3824
|
+
name: "setMintableEthToken",
|
|
3825
|
+
outputs: []
|
|
3826
|
+
},
|
|
3827
|
+
{
|
|
3828
|
+
stateMutability: "view",
|
|
3829
|
+
type: "function",
|
|
3830
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
3831
|
+
name: "supportsInterface",
|
|
3832
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
3833
|
+
},
|
|
3834
|
+
{
|
|
3835
|
+
stateMutability: "pure",
|
|
3836
|
+
type: "function",
|
|
3837
|
+
inputs: [],
|
|
3838
|
+
name: "symbol",
|
|
3839
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3840
|
+
},
|
|
3841
|
+
{
|
|
3842
|
+
stateMutability: "view",
|
|
3843
|
+
type: "function",
|
|
3844
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
3845
|
+
name: "tokenCreated",
|
|
3846
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
3847
|
+
},
|
|
3848
|
+
{
|
|
3849
|
+
stateMutability: "view",
|
|
3850
|
+
type: "function",
|
|
3851
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
3852
|
+
name: "tokenPrice",
|
|
3853
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3854
|
+
},
|
|
3855
|
+
{
|
|
3856
|
+
stateMutability: "nonpayable",
|
|
3857
|
+
type: "function",
|
|
3858
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
3859
|
+
name: "transferOwnership",
|
|
3860
|
+
outputs: []
|
|
3861
|
+
},
|
|
3862
|
+
{
|
|
3863
|
+
stateMutability: "view",
|
|
3864
|
+
type: "function",
|
|
3865
|
+
inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3866
|
+
name: "uri",
|
|
3867
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
type: "event",
|
|
3871
|
+
anonymous: false,
|
|
3872
|
+
inputs: [
|
|
3873
|
+
{
|
|
3874
|
+
name: "account",
|
|
3875
|
+
internalType: "address",
|
|
3876
|
+
type: "address",
|
|
3877
|
+
indexed: true
|
|
3878
|
+
},
|
|
3879
|
+
{
|
|
3880
|
+
name: "operator",
|
|
3881
|
+
internalType: "address",
|
|
3882
|
+
type: "address",
|
|
3883
|
+
indexed: true
|
|
3884
|
+
},
|
|
3885
|
+
{ name: "approved", internalType: "bool", type: "bool", indexed: false }
|
|
3886
|
+
],
|
|
3887
|
+
name: "ApprovalForAll"
|
|
3888
|
+
},
|
|
3889
|
+
{
|
|
3890
|
+
type: "event",
|
|
3891
|
+
anonymous: false,
|
|
3892
|
+
inputs: [
|
|
3893
|
+
{
|
|
3894
|
+
name: "tokenIds",
|
|
3895
|
+
internalType: "uint256[]",
|
|
3896
|
+
type: "uint256[]",
|
|
3897
|
+
indexed: true
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
name: "quantities",
|
|
3901
|
+
internalType: "uint256[]",
|
|
3902
|
+
type: "uint256[]",
|
|
3903
|
+
indexed: false
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
name: "zoraCreator1155Contract",
|
|
3907
|
+
internalType: "address",
|
|
3908
|
+
type: "address",
|
|
3909
|
+
indexed: true
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
name: "zoraCreator1155TokenId",
|
|
3913
|
+
internalType: "uint256",
|
|
3914
|
+
type: "uint256",
|
|
3915
|
+
indexed: true
|
|
3916
|
+
}
|
|
3917
|
+
],
|
|
3918
|
+
name: "Collected"
|
|
3919
|
+
},
|
|
3920
|
+
{
|
|
3921
|
+
type: "event",
|
|
3922
|
+
anonymous: false,
|
|
3923
|
+
inputs: [
|
|
3924
|
+
{
|
|
3925
|
+
name: "tokenId",
|
|
3926
|
+
internalType: "uint256",
|
|
3927
|
+
type: "uint256",
|
|
3928
|
+
indexed: true
|
|
3929
|
+
}
|
|
3930
|
+
],
|
|
3931
|
+
name: "EthMintableTokenSet"
|
|
3932
|
+
},
|
|
3933
|
+
{
|
|
3934
|
+
type: "event",
|
|
3935
|
+
anonymous: false,
|
|
3936
|
+
inputs: [
|
|
3937
|
+
{
|
|
3938
|
+
name: "tokenId",
|
|
3939
|
+
internalType: "uint256",
|
|
3940
|
+
type: "uint256",
|
|
3941
|
+
indexed: true
|
|
3942
|
+
},
|
|
3943
|
+
{
|
|
3944
|
+
name: "pricePerToken",
|
|
3945
|
+
internalType: "uint256",
|
|
3946
|
+
type: "uint256",
|
|
3947
|
+
indexed: true
|
|
3948
|
+
}
|
|
3949
|
+
],
|
|
3950
|
+
name: "EthTokenCreated"
|
|
3951
|
+
},
|
|
3952
|
+
{
|
|
3953
|
+
type: "event",
|
|
3954
|
+
anonymous: false,
|
|
3955
|
+
inputs: [
|
|
3956
|
+
{
|
|
3957
|
+
name: "version",
|
|
3958
|
+
internalType: "uint64",
|
|
3959
|
+
type: "uint64",
|
|
3960
|
+
indexed: false
|
|
3961
|
+
}
|
|
3962
|
+
],
|
|
3963
|
+
name: "Initialized"
|
|
3964
|
+
},
|
|
3965
|
+
{
|
|
3966
|
+
type: "event",
|
|
3967
|
+
anonymous: false,
|
|
3968
|
+
inputs: [
|
|
3969
|
+
{
|
|
3970
|
+
name: "previousOwner",
|
|
3971
|
+
internalType: "address",
|
|
3972
|
+
type: "address",
|
|
3973
|
+
indexed: true
|
|
3974
|
+
},
|
|
3975
|
+
{
|
|
3976
|
+
name: "newOwner",
|
|
3977
|
+
internalType: "address",
|
|
3978
|
+
type: "address",
|
|
3979
|
+
indexed: true
|
|
3980
|
+
}
|
|
3981
|
+
],
|
|
3982
|
+
name: "OwnershipTransferStarted"
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
type: "event",
|
|
3986
|
+
anonymous: false,
|
|
3987
|
+
inputs: [
|
|
3988
|
+
{
|
|
3989
|
+
name: "previousOwner",
|
|
3990
|
+
internalType: "address",
|
|
3991
|
+
type: "address",
|
|
3992
|
+
indexed: true
|
|
3993
|
+
},
|
|
3994
|
+
{
|
|
3995
|
+
name: "newOwner",
|
|
3996
|
+
internalType: "address",
|
|
3997
|
+
type: "address",
|
|
3998
|
+
indexed: true
|
|
3999
|
+
}
|
|
4000
|
+
],
|
|
4001
|
+
name: "OwnershipTransferred"
|
|
4002
|
+
},
|
|
4003
|
+
{
|
|
4004
|
+
type: "event",
|
|
4005
|
+
anonymous: false,
|
|
4006
|
+
inputs: [
|
|
4007
|
+
{
|
|
4008
|
+
name: "tokenIds",
|
|
4009
|
+
internalType: "uint256[]",
|
|
4010
|
+
type: "uint256[]",
|
|
4011
|
+
indexed: false
|
|
4012
|
+
},
|
|
4013
|
+
{
|
|
4014
|
+
name: "quantities",
|
|
4015
|
+
internalType: "uint256[]",
|
|
4016
|
+
type: "uint256[]",
|
|
4017
|
+
indexed: false
|
|
4018
|
+
},
|
|
4019
|
+
{
|
|
4020
|
+
name: "recipient",
|
|
4021
|
+
internalType: "address",
|
|
4022
|
+
type: "address",
|
|
4023
|
+
indexed: false
|
|
4024
|
+
}
|
|
4025
|
+
],
|
|
4026
|
+
name: "RedeemedBatch"
|
|
4027
|
+
},
|
|
4028
|
+
{
|
|
4029
|
+
type: "event",
|
|
4030
|
+
anonymous: false,
|
|
4031
|
+
inputs: [
|
|
4032
|
+
{
|
|
4033
|
+
name: "operator",
|
|
4034
|
+
internalType: "address",
|
|
4035
|
+
type: "address",
|
|
4036
|
+
indexed: true
|
|
4037
|
+
},
|
|
4038
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
4039
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
4040
|
+
{
|
|
4041
|
+
name: "ids",
|
|
4042
|
+
internalType: "uint256[]",
|
|
4043
|
+
type: "uint256[]",
|
|
4044
|
+
indexed: false
|
|
4045
|
+
},
|
|
4046
|
+
{
|
|
4047
|
+
name: "values",
|
|
4048
|
+
internalType: "uint256[]",
|
|
4049
|
+
type: "uint256[]",
|
|
4050
|
+
indexed: false
|
|
4051
|
+
}
|
|
4052
|
+
],
|
|
4053
|
+
name: "TransferBatch"
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
type: "event",
|
|
4057
|
+
anonymous: false,
|
|
4058
|
+
inputs: [
|
|
4059
|
+
{
|
|
4060
|
+
name: "operator",
|
|
4061
|
+
internalType: "address",
|
|
4062
|
+
type: "address",
|
|
4063
|
+
indexed: true
|
|
4064
|
+
},
|
|
4065
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
4066
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
4067
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: false },
|
|
4068
|
+
{
|
|
4069
|
+
name: "value",
|
|
4070
|
+
internalType: "uint256",
|
|
4071
|
+
type: "uint256",
|
|
4072
|
+
indexed: false
|
|
4073
|
+
}
|
|
4074
|
+
],
|
|
4075
|
+
name: "TransferSingle"
|
|
4076
|
+
},
|
|
4077
|
+
{
|
|
4078
|
+
type: "event",
|
|
4079
|
+
anonymous: false,
|
|
4080
|
+
inputs: [
|
|
4081
|
+
{ name: "value", internalType: "string", type: "string", indexed: false },
|
|
4082
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: true }
|
|
4083
|
+
],
|
|
4084
|
+
name: "URI"
|
|
4085
|
+
},
|
|
4086
|
+
{
|
|
4087
|
+
type: "error",
|
|
4088
|
+
inputs: [
|
|
4089
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
4090
|
+
{ name: "user", internalType: "address", type: "address" }
|
|
4091
|
+
],
|
|
4092
|
+
name: "Burn_NotOwnerOrApproved"
|
|
4093
|
+
},
|
|
4094
|
+
{
|
|
4095
|
+
type: "error",
|
|
4096
|
+
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
4097
|
+
name: "CallFailed"
|
|
4098
|
+
},
|
|
4099
|
+
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
4100
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
4101
|
+
{
|
|
4102
|
+
type: "error",
|
|
4103
|
+
inputs: [
|
|
4104
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
4105
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
4106
|
+
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
4107
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" }
|
|
4108
|
+
],
|
|
4109
|
+
name: "CannotMintMoreTokens"
|
|
4110
|
+
},
|
|
4111
|
+
{
|
|
4112
|
+
type: "error",
|
|
4113
|
+
inputs: [
|
|
4114
|
+
{ name: "proposedAddress", internalType: "address", type: "address" }
|
|
4115
|
+
],
|
|
4116
|
+
name: "Config_TransferHookNotSupported"
|
|
4117
|
+
},
|
|
4118
|
+
{
|
|
4119
|
+
type: "error",
|
|
4120
|
+
inputs: [
|
|
4121
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
4122
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
4123
|
+
{ name: "needed", internalType: "uint256", type: "uint256" },
|
|
4124
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" }
|
|
4125
|
+
],
|
|
4126
|
+
name: "ERC1155InsufficientBalance"
|
|
4127
|
+
},
|
|
4128
|
+
{
|
|
4129
|
+
type: "error",
|
|
4130
|
+
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
4131
|
+
name: "ERC1155InvalidApprover"
|
|
4132
|
+
},
|
|
4133
|
+
{
|
|
4134
|
+
type: "error",
|
|
4135
|
+
inputs: [
|
|
4136
|
+
{ name: "idsLength", internalType: "uint256", type: "uint256" },
|
|
4137
|
+
{ name: "valuesLength", internalType: "uint256", type: "uint256" }
|
|
4138
|
+
],
|
|
4139
|
+
name: "ERC1155InvalidArrayLength"
|
|
4140
|
+
},
|
|
4141
|
+
{
|
|
4142
|
+
type: "error",
|
|
4143
|
+
inputs: [{ name: "operator", internalType: "address", type: "address" }],
|
|
4144
|
+
name: "ERC1155InvalidOperator"
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
type: "error",
|
|
4148
|
+
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
4149
|
+
name: "ERC1155InvalidReceiver"
|
|
4150
|
+
},
|
|
4151
|
+
{
|
|
4152
|
+
type: "error",
|
|
4153
|
+
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
4154
|
+
name: "ERC1155InvalidSender"
|
|
4155
|
+
},
|
|
4156
|
+
{
|
|
4157
|
+
type: "error",
|
|
4158
|
+
inputs: [
|
|
4159
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
4160
|
+
{ name: "owner", internalType: "address", type: "address" }
|
|
4161
|
+
],
|
|
4162
|
+
name: "ERC1155MissingApprovalForAll"
|
|
4163
|
+
},
|
|
4164
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
4165
|
+
{
|
|
4166
|
+
type: "error",
|
|
4167
|
+
inputs: [
|
|
4168
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
4169
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
4170
|
+
],
|
|
4171
|
+
name: "ETHWithdrawFailed"
|
|
4172
|
+
},
|
|
4173
|
+
{
|
|
4174
|
+
type: "error",
|
|
4175
|
+
inputs: [
|
|
4176
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
4177
|
+
{ name: "contractValue", internalType: "uint256", type: "uint256" }
|
|
4178
|
+
],
|
|
4179
|
+
name: "FundsWithdrawInsolvent"
|
|
4180
|
+
},
|
|
4181
|
+
{ type: "error", inputs: [], name: "IncorrectAmountSent" },
|
|
4182
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
4183
|
+
{
|
|
4184
|
+
type: "error",
|
|
4185
|
+
inputs: [
|
|
4186
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
4187
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
4188
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
4189
|
+
],
|
|
4190
|
+
name: "InvalidMerkleProof"
|
|
4191
|
+
},
|
|
4192
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
4193
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
4194
|
+
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
4195
|
+
{
|
|
4196
|
+
type: "error",
|
|
4197
|
+
inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
|
|
4198
|
+
name: "InvalidSigner"
|
|
4199
|
+
},
|
|
4200
|
+
{ type: "error", inputs: [], name: "InvalidTokenPrice" },
|
|
4201
|
+
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
4202
|
+
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
4203
|
+
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
4204
|
+
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
4205
|
+
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
4206
|
+
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
4207
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
4208
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
4209
|
+
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
4210
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
4211
|
+
{
|
|
4212
|
+
type: "error",
|
|
4213
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
4214
|
+
name: "OwnableInvalidOwner"
|
|
4215
|
+
},
|
|
4216
|
+
{
|
|
4217
|
+
type: "error",
|
|
4218
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
4219
|
+
name: "OwnableUnauthorizedAccount"
|
|
4220
|
+
},
|
|
4221
|
+
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
4222
|
+
{
|
|
4223
|
+
type: "error",
|
|
4224
|
+
inputs: [
|
|
4225
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
4226
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
4227
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
4228
|
+
],
|
|
4229
|
+
name: "ProtocolRewardsWithdrawFailed"
|
|
4230
|
+
},
|
|
4231
|
+
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
4232
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
4233
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
4234
|
+
{
|
|
4235
|
+
type: "error",
|
|
4236
|
+
inputs: [
|
|
4237
|
+
{ name: "targetContract", internalType: "address", type: "address" }
|
|
4238
|
+
],
|
|
4239
|
+
name: "Sale_CannotCallNonSalesContract"
|
|
4240
|
+
},
|
|
4241
|
+
{ type: "error", inputs: [], name: "TokenAlreadyCreated" },
|
|
4242
|
+
{ type: "error", inputs: [], name: "TokenDoesNotExist" },
|
|
4243
|
+
{
|
|
4244
|
+
type: "error",
|
|
4245
|
+
inputs: [
|
|
4246
|
+
{ name: "expected", internalType: "uint256", type: "uint256" },
|
|
4247
|
+
{ name: "actual", internalType: "uint256", type: "uint256" }
|
|
4248
|
+
],
|
|
4249
|
+
name: "TokenIdMismatch"
|
|
4250
|
+
},
|
|
4251
|
+
{ type: "error", inputs: [], name: "TransferFailed" },
|
|
4252
|
+
{
|
|
4253
|
+
type: "error",
|
|
4254
|
+
inputs: [
|
|
4255
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4256
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
4257
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" }
|
|
4258
|
+
],
|
|
4259
|
+
name: "UserExceedsMintLimit"
|
|
4260
|
+
},
|
|
4261
|
+
{
|
|
4262
|
+
type: "error",
|
|
4263
|
+
inputs: [
|
|
4264
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
4265
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
4266
|
+
{ name: "role", internalType: "uint256", type: "uint256" }
|
|
4267
|
+
],
|
|
4268
|
+
name: "UserMissingRoleForToken"
|
|
4269
|
+
},
|
|
4270
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
4271
|
+
{
|
|
4272
|
+
type: "error",
|
|
4273
|
+
inputs: [],
|
|
4274
|
+
name: "premintSignerContractFailedToRecoverSigner"
|
|
4275
|
+
},
|
|
4276
|
+
{ type: "error", inputs: [], name: "premintSignerContractNotAContract" }
|
|
4277
|
+
];
|
|
4278
|
+
var zoraMintsImplAddress = {
|
|
4279
|
+
999999999: "0x77777773dE7607C8d2eF571ba03ab22a7df64CEA"
|
|
4280
|
+
};
|
|
4281
|
+
var zoraMintsImplConfig = {
|
|
4282
|
+
address: zoraMintsImplAddress,
|
|
4283
|
+
abi: zoraMintsImplABI
|
|
4284
|
+
};
|
|
3491
4285
|
|
|
3492
4286
|
// src/generated/1155.ts
|
|
3493
4287
|
var __exports = {};
|
|
@@ -3698,8 +4492,60 @@ var addresses = {
|
|
|
3698
4492
|
"commit": "bdf6682"
|
|
3699
4493
|
}
|
|
3700
4494
|
};
|
|
4495
|
+
|
|
4496
|
+
// src/generated/mints.ts
|
|
4497
|
+
var mints_exports = {};
|
|
4498
|
+
__export(mints_exports, {
|
|
4499
|
+
addresses: () => addresses2,
|
|
4500
|
+
chainConfigs: () => chainConfigs2
|
|
4501
|
+
});
|
|
4502
|
+
var chainConfigs2 = {
|
|
4503
|
+
"1": {
|
|
4504
|
+
"PROXY_ADMIN": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
|
|
4505
|
+
"MINTS_OWNER": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0"
|
|
4506
|
+
},
|
|
4507
|
+
"10": {
|
|
4508
|
+
"PROXY_ADMIN": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
|
|
4509
|
+
"MINTS_OWNER": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c"
|
|
4510
|
+
},
|
|
4511
|
+
"420": {
|
|
4512
|
+
"PROXY_ADMIN": "0xbb45052B2260707655Dfd916a416264f5981192c",
|
|
4513
|
+
"MINTS_OWNER": "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2"
|
|
4514
|
+
},
|
|
4515
|
+
"999": {
|
|
4516
|
+
"PROXY_ADMIN": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
|
|
4517
|
+
"MINTS_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252"
|
|
4518
|
+
},
|
|
4519
|
+
"8453": {
|
|
4520
|
+
"PROXY_ADMIN": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
4521
|
+
"MINTS_OWNER": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6"
|
|
4522
|
+
},
|
|
4523
|
+
"84531": {
|
|
4524
|
+
"PROXY_ADMIN": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
|
|
4525
|
+
"MINTS_OWNER": "0x02539E813cA450C2c7334e885423f4A899a063Fe"
|
|
4526
|
+
},
|
|
4527
|
+
"7777777": {
|
|
4528
|
+
"PROXY_ADMIN": "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
|
|
4529
|
+
"MINTS_OWNER": "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
|
|
4530
|
+
},
|
|
4531
|
+
"11155111": {
|
|
4532
|
+
"PROXY_ADMIN": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
|
|
4533
|
+
"MINTS_OWNER": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D"
|
|
4534
|
+
},
|
|
4535
|
+
"999999999": {
|
|
4536
|
+
"PROXY_ADMIN": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
|
|
4537
|
+
"MINTS_OWNER": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E"
|
|
4538
|
+
}
|
|
4539
|
+
};
|
|
4540
|
+
var addresses2 = {
|
|
4541
|
+
"999999999": {
|
|
4542
|
+
"MINTS_IMPL": "0x4D1d4767d5f2cC3884E221c340240BEa0B42b7BA",
|
|
4543
|
+
"MINTS_IMPL_VERSION": "0.0.2"
|
|
4544
|
+
}
|
|
4545
|
+
};
|
|
3701
4546
|
export {
|
|
3702
4547
|
__exports as contracts1155,
|
|
4548
|
+
mints_exports as mints,
|
|
3703
4549
|
zoraCreator1155FactoryImplABI,
|
|
3704
4550
|
zoraCreator1155FactoryImplAddress,
|
|
3705
4551
|
zoraCreator1155FactoryImplConfig,
|
|
@@ -3715,6 +4561,9 @@ export {
|
|
|
3715
4561
|
zoraCreatorMerkleMinterStrategyConfig,
|
|
3716
4562
|
zoraCreatorRedeemMinterFactoryABI,
|
|
3717
4563
|
zoraCreatorRedeemMinterFactoryAddress,
|
|
3718
|
-
zoraCreatorRedeemMinterFactoryConfig
|
|
4564
|
+
zoraCreatorRedeemMinterFactoryConfig,
|
|
4565
|
+
zoraMintsImplABI,
|
|
4566
|
+
zoraMintsImplAddress,
|
|
4567
|
+
zoraMintsImplConfig
|
|
3719
4568
|
};
|
|
3720
4569
|
//# sourceMappingURL=index.js.map
|