[{"inputs":[{"internalType":"address","name":"duckiesAddress","type":"address"},{"internalType":"address","name":"ducklingsAddress","type":"address"},{"internalType":"address","name":"treasureVaultAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256[]","name":"genomes","type":"uint256[]"}],"name":"IncorrectGenomesForMelding","type":"error"},{"inputs":[{"internalType":"address","name":"expected","type":"address"},{"internalType":"address","name":"actual","type":"address"}],"name":"IncorrectSigner","type":"error"},{"inputs":[{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bool","name":"isTransferable","type":"bool"}],"internalType":"struct IDuckyFamily.MeldParams","name":"meldParams","type":"tuple"}],"name":"InvalidMeldParams","type":"error"},{"inputs":[{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint8","name":"size","type":"uint8"},{"internalType":"bool","name":"isTransferable","type":"bool"}],"internalType":"struct IDuckyFamily.MintParams","name":"mintParams","type":"tuple"}],"name":"InvalidMintParams","type":"error"},{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint8","name":"action","type":"uint8"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"address","name":"referrer","type":"address"},{"internalType":"uint64","name":"expire","type":"uint64"},{"internalType":"uint32","name":"chainId","type":"uint32"},{"internalType":"bytes32","name":"voucherCodeHash","type":"bytes32"},{"internalType":"bytes","name":"encodedParams","type":"bytes"}],"internalType":"struct IVoucher.Voucher","name":"voucher","type":"tuple"}],"name":"InvalidVoucher","type":"error"},{"inputs":[{"internalType":"uint32[]","name":"weights","type":"uint32[]"}],"name":"InvalidWeights","type":"error"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"MeldingRulesViolated","type":"error"},{"inputs":[{"internalType":"uint8","name":"collectionId","type":"uint8"},{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"MintingRulesViolated","type":"error"},{"inputs":[{"internalType":"bytes32","name":"voucherCodeHash","type":"bytes32"}],"name":"VoucherAlreadyUsed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"meldingTokenIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"meldedTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"chainId","type":"uint256"}],"name":"Melded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"uint8","name":"action","type":"uint8"},{"indexed":false,"internalType":"bytes32","name":"voucherCodeHash","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"chainId","type":"uint32"}],"name":"VoucherUsed","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FLOCK_SIZE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAINTAINER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PACK_SIZE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duckiesContract","outputs":[{"internalType":"contract ERC20Burnable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ducklingsContract","outputs":[{"internalType":"contract IDucklings","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCollectionsGeneDistributionTypes","outputs":[{"internalType":"uint32[3]","name":"","type":"uint32[3]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCollectionsGeneValues","outputs":[{"internalType":"uint8[][3]","name":"","type":"uint8[][3]"},{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMeldPrices","outputs":[{"internalType":"uint256[4]","name":"","type":"uint256[4]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"issuer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"meldingTokenIds","type":"uint256[]"}],"name":"meldFlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"meldPrices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"size","type":"uint8"}],"name":"mintPack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"ducklingGeneDistrTypes","type":"uint32"}],"name":"setDucklingGeneDistributionTypes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"duckingGeneValuesNum","type":"uint8[]"}],"name":"setDucklingGeneValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setIssuer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[4]","name":"prices","type":"uint256[4]"}],"name":"setMeldPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"setMythicAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"mythicGeneDistrTypes","type":"uint32"}],"name":"setMythicGeneDistributionTypes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"mythicGeneValuesNum","type":"uint8[]"}],"name":"setMythicGeneValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"pepper","type":"bytes32"}],"name":"setPepper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"zombeakGeneDistrTypes","type":"uint32"}],"name":"setZombeakGeneDistributionTypes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"zombeakGeneValuesNum","type":"uint8[]"}],"name":"setZombeakGeneValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasureVaultAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint8","name":"action","type":"uint8"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"address","name":"referrer","type":"address"},{"internalType":"uint64","name":"expire","type":"uint64"},{"internalType":"uint32","name":"chainId","type":"uint32"},{"internalType":"bytes32","name":"voucherCodeHash","type":"bytes32"},{"internalType":"bytes","name":"encodedParams","type":"bytes"}],"internalType":"struct IVoucher.Voucher","name":"voucher","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"useVoucher","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint8","name":"action","type":"uint8"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"address","name":"referrer","type":"address"},{"internalType":"uint64","name":"expire","type":"uint64"},{"internalType":"uint32","name":"chainId","type":"uint32"},{"internalType":"bytes32","name":"voucherCodeHash","type":"bytes32"},{"internalType":"bytes","name":"encodedParams","type":"bytes"}],"internalType":"struct IVoucher.Voucher[]","name":"vouchers","type":"tuple[]"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"useVouchers","outputs":[],"stateMutability":"nonpayable","type":"function"}]