[ { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "address", "name": "_addressRelay", "type": "address" }, { "internalType": "address", "name": "_implementation", "type": "address" }, { "components": [ { "internalType": "uint24", "name": "projectId", "type": "uint24" }, { "internalType": "bool", "name": "enforceRoyalties", "type": "bool" }, { "internalType": "uint16", "name": "royaltyBps", "type": "uint16" }, { "internalType": "bool", "name": "heyMintFeeActive", "type": "bool" }, { "internalType": "address", "name": "presaleSignerAddress", "type": "address" }, { "internalType": "bool", "name": "presaleAffiliateMintEnabled", "type": "bool" }, { "internalType": "bool", "name": "publicSaleAffiliateMintEnabled", "type": "bool" }, { "internalType": "uint16", "name": "affiliateBasisPoints", "type": "uint16" }, { "internalType": "string", "name": "uriBase", "type": "string" } ], "internalType": "struct BaseConfig", "name": "_baseConfig", "type": "tuple" }, { "components": [ { "internalType": "uint16", "name": "tokenId", "type": "uint16" }, { "internalType": "uint16", "name": "maxSupply", "type": "uint16" }, { "internalType": "bool", "name": "publicSaleActive", "type": "bool" }, { "internalType": "uint32", "name": "publicPrice", "type": "uint32" }, { "internalType": "uint8", "name": "publicMintsAllowedPerAddress", "type": "uint8" }, { "internalType": "bool", "name": "usePublicSaleTimes", "type": "bool" }, { "internalType": "uint32", "name": "publicSaleStartTime", "type": "uint32" }, { "internalType": "uint32", "name": "publicSaleEndTime", "type": "uint32" }, { "internalType": "bool", "name": "presaleActive", "type": "bool" }, { "internalType": "uint32", "name": "presalePrice", "type": "uint32" }, { "internalType": "uint16", "name": "presaleMaxSupply", "type": "uint16" }, { "internalType": "uint8", "name": "presaleMintsAllowedPerAddress", "type": "uint8" }, { "internalType": "string", "name": "tokenUri", "type": "string" }, { "internalType": "bool", "name": "usePresaleTimes", "type": "bool" }, { "internalType": "uint32", "name": "presaleStartTime", "type": "uint32" }, { "internalType": "uint32", "name": "presaleEndTime", "type": "uint32" }, { "internalType": "address", "name": "freeClaimContractAddress", "type": "address" }, { "internalType": "uint16", "name": "mintsPerFreeClaim", "type": "uint16" }, { "internalType": "bool", "name": "freeClaimActive", "type": "bool" }, { "internalType": "uint32", "name": "burnPayment", "type": "uint32" }, { "internalType": "uint16", "name": "mintsPerBurn", "type": "uint16" }, { "internalType": "bool", "name": "burnClaimActive", "type": "bool" }, { "internalType": "bool", "name": "soulbindingActive", "type": "bool" }, { "internalType": "uint32", "name": "refundEndsAt", "type": "uint32" }, { "internalType": "uint32", "name": "refundPrice", "type": "uint32" } ], "internalType": "struct TokenConfig[]", "name": "_tokenConfig", "type": "tuple[]" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "stateMutability": "payable", "type": "fallback" }, { "stateMutability": "payable", "type": "receive" } ]
608060405234801561001057600080fd5b50604051610ca8380380610ca883398101604081905261002f91610701565b826100667f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61020360201b61010c1760201c565b60000160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550836100c17fd6008a231ea40603273dbbd560e2a5302079c01733a1960d8ddc605453f5804361020360201b61010c1760201c565b80546001600160a01b0319166001600160a01b039283161790556040805163092900ef60e31b81529051869260009290841691634948077891600480820192602092909190829003018187875af1158015610120573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014491906107cd565b90506000816001600160a01b0316634efe6f3c8a8a888860405160240161016e94939291906109ef565b6040516020818303038152906040529060e01b6020820180516001600160e01b0383818316178352505050506040516101a79190610afb565b600060405180830381855af49150503d80600081146101e2576040519150601f19603f3d011682016040523d82523d6000602084013e6101e7565b606091505b50509050806101f557600080fd5b505050505050505050610b17565b90565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b038111828210171561023f5761023f610206565b60405290565b60405161032081016001600160401b038111828210171561023f5761023f610206565b604051601f8201601f191681016001600160401b038111828210171561029057610290610206565b604052919050565b60005b838110156102b357818101518382015260200161029b565b50506000910152565b600082601f8301126102cd57600080fd5b81516001600160401b038111156102e6576102e6610206565b6102f9601f8201601f1916602001610268565b81815284602083860101111561030e57600080fd5b61031f826020830160208701610298565b949350505050565b80516001600160a01b038116811461033e57600080fd5b919050565b805162ffffff8116811461033e57600080fd5b8051801515811461033e57600080fd5b805161ffff8116811461033e57600080fd5b6000610120828403121561038b57600080fd5b61039361021c565b905061039e82610343565b81526103ac60208301610356565b60208201526103bd60408301610366565b60408201526103ce60608301610356565b60608201526103df60808301610327565b60808201526103f060a08301610356565b60a082015261040160c08301610356565b60c082015261041260e08301610366565b60e0820152610100828101516001600160401b0381111561043257600080fd5b61043e858286016102bc565b82840152505092915050565b805163ffffffff8116811461033e57600080fd5b805160ff8116811461033e57600080fd5b600082601f83011261048057600080fd5b815160206001600160401b038083111561049c5761049c610206565b8260051b6104ab838201610268565b93845285810183019383810190888611156104c557600080fd5b84880192505b858310156106f5578251848111156104e35760008081fd5b8801610320818b03601f19018113156104fc5760008081fd5b610504610245565b61050f888401610366565b8152604061051e818501610366565b89830152606061052f818601610356565b828401526080915061054282860161044a565b9083015260a061055385820161045e565b8284015260c09150610566828601610356565b9083015260e061057785820161044a565b82840152610100915061058b82860161044a565b9083015261012061059d858201610356565b8284015261014091506105b182860161044a565b908301526101606105c3858201610366565b8284015261018091506105d782860161045e565b908301526101a084810151898111156105f05760008081fd5b6105fe8f8c838901016102bc565b83850152506101c09150610613828601610356565b908301526101e061062585820161044a565b82840152610200915061063982860161044a565b9083015261022061064b858201610327565b82840152610240915061065f828601610366565b90830152610260610671858201610356565b82840152610280915061068582860161044a565b908301526102a0610697858201610366565b828401526102c091506106ab828601610356565b908301526102e06106bd858201610356565b8284015261030091506106d182860161044a565b908301526106e084840161044a565b908201528452505091840191908401906104cb565b98975050505050505050565b60008060008060008060c0878903121561071a57600080fd5b86516001600160401b038082111561073157600080fd5b61073d8a838b016102bc565b9750602089015191508082111561075357600080fd5b61075f8a838b016102bc565b965061076d60408a01610327565b955061077b60608a01610327565b9450608089015191508082111561079157600080fd5b61079d8a838b01610378565b935060a08901519150808211156107b357600080fd5b506107c089828a0161046f565b9150509295509295509295565b6000602082840312156107df57600080fd5b6107e882610327565b9392505050565b60008151808452610807816020860160208601610298565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b848110156109e257601f198684030189528151805161ffff90811685528582015181168686015260408083015115159086015260608083015163ffffffff9081169187019190915260808084015160ff9081169188019190915260a08085015115159088015260c08085015183169088015260e08085015183169088015261010080850151151590880152610120808501519092169187019190915261014080840151909216918601919091526101608083015190911690850152610180808201516103208287018190529190610911838801826107ef565b925050506101a0808301516109298288018215159052565b50506101c08281015163ffffffff908116918701919091526101e080840151821690870152610200808401516001600160a01b0316908701526102208084015161ffff90811691880191909152610240808501511515908801526102608085015183169088015261028080850151909116908701526102a0808401511515908701526102c0808401511515908701526102e080840151821690870152610300928301511691909401529783019790830190600101610838565b5090979650505050505050565b608081526000610a0260808301876107ef565b8281036020840152610a1481876107ef565b8381036040850152855162ffffff16815290506101206020860151610a3d602084018215159052565b506040860151610a53604084018261ffff169052565b506060860151610a67606084018215159052565b506080860151610a8260808401826001600160a01b03169052565b5060a0860151610a9660a084018215159052565b5060c0860151610aaa60c084018215159052565b5060e0860151610ac060e084018261ffff169052565b50610100808701518282850152610ad9838501826107ef565b93505050508281036060840152610af0818561081b565b979650505050505050565b60008251610b0d818460208701610298565b9190910192915050565b61018280610b266000396000f3fe60806040523661000b57005b60007fd6008a231ea40603273dbbd560e2a5302079c01733a1960d8ddc605453f58043546040517fc2c95814000000000000000000000000000000000000000000000000000000008152600080357fffffffff0000000000000000000000000000000000000000000000000000000016600483015273ffffffffffffffffffffffffffffffffffffffff9092169250829063c2c9581490602401602060405180830381865afa1580156100c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e6919061010f565b90503660008037600080366000845af43d6000803e808015610107573d6000f35b3d6000fd5b90565b60006020828403121561012157600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461014557600080fd5b939250505056fea2646970667358221220c849bb304416fcc40342611628215ef251c799bdd702f73fb808af6a35437f6864736f6c6343000812003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000069e4b245444c7252b6f32fb8e0ccd0a8d764f6cd00000000000000000000000067e47b22dbbb2588fa242e4b0111c4ddecc5f788000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000000000000000000431313535000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004746573740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000072dc0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000001f904323e78e7918dc83d83f1224a8f20ec5e69f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000047697066733a2f2f62616679626569656f73656d7468667975647675717865627a68786463667432353267796c796c7a796d7777746966773565376d6c7677646e6f692f7b69647d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000