[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum AvastarTypes.Generation","name":"generation","type":"uint8"},{"indexed":false,"internalType":"string","name":"artist","type":"string"},{"indexed":false,"internalType":"string","name":"infoURI","type":"string"}],"name":"AttributionSet","type":"event"},{"anonymous":false,"inputs":[],"name":"ContractPaused","type":"event"},{"anonymous":false,"inputs":[],"name":"ContractUnpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newContract","type":"address"}],"name":"ContractUpgrade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"contractAddress","type":"address"}],"name":"MetadataContractAddressSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"serial","type":"uint256"},{"indexed":false,"internalType":"enum AvastarTypes.Generation","name":"generation","type":"uint8"},{"indexed":false,"internalType":"enum AvastarTypes.Series","name":"series","type":"uint8"},{"indexed":false,"internalType":"enum AvastarTypes.Gender","name":"gender","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"traits","type":"uint256"}],"name":"NewPrime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"serial","type":"uint256"},{"indexed":false,"internalType":"enum AvastarTypes.Generation","name":"generation","type":"uint8"},{"indexed":false,"internalType":"enum AvastarTypes.Gender","name":"gender","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"traits","type":"uint256"}],"name":"NewReplicant","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"enum AvastarTypes.Generation","name":"generation","type":"uint8"},{"indexed":false,"internalType":"enum AvastarTypes.Gene","name":"gene","type":"uint8"},{"indexed":false,"internalType":"enum AvastarTypes.Rarity","name":"rarity","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"variation","type":"uint8"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NewTrait","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"handler","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"primeIds","type":"uint256[]"}],"name":"TraitAccessApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"TraitArtExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"handler","type":"address"},{"indexed":false,"internalType":"uint256","name":"primeId","type":"uint256"},{"indexed":false,"internalType":"bool[12]","name":"used","type":"bool[12]"}],"name":"TraitsUsed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[],"name":"MAX_PRIMES_PER_SERIES","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_PROMO_PRIMES_PER_GENERATION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_REPLICANTS_PER_GENERATION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TOKEN_NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TOKEN_SYMBOL","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_minterAddress","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_ownerAddress","type":"address"}],"name":"addOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_sysAdminAddress","type":"address"}],"name":"addSysAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_handler","type":"address"},{"internalType":"uint256[]","name":"_primeIds","type":"uint256[]"}],"name":"approveTraitAccess","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"attributionByGeneration","outputs":[{"internalType":"enum AvastarTypes.Generation","name":"generation","type":"uint8"},{"internalType":"string","name":"artist","type":"string"},{"internalType":"string","name":"infoURI","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"enum AvastarTypes.Generation","name":"_generation","type":"uint8"},{"internalType":"enum AvastarTypes.Series[]","name":"_series","type":"uint8[]"},{"internalType":"enum AvastarTypes.Gender","name":"_gender","type":"uint8"},{"internalType":"enum AvastarTypes.Gene","name":"_gene","type":"uint8"},{"internalType":"enum AvastarTypes.Rarity","name":"_rarity","type":"uint8"},{"internalType":"uint8","name":"_variation","type":"uint8"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_svg","type":"string"}],"name":"createTrait","outputs":[{"internalType":"uint256","name":"traitId","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_traitId","type":"uint256"},{"internalType":"string","name":"_svg","type":"string"}],"name":"extendTraitArt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"enum AvastarTypes.Generation","name":"_generation","type":"uint8"}],"name":"getAttributionByGeneration","outputs":[{"internalType":"string","name":"attribution","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getAvastarWaveByTokenId","outputs":[{"internalType":"enum AvastarTypes.Wave","name":"wave","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMetadataContractAddress","outputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"enum AvastarTypes.Generation","name":"_generation","type":"uint8"},{"internalType":"uint256","name":"_serial","type":"uint256"}],"name":"getPrimeByGenerationAndSerial","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"serial","type":"uint256"},{"internalType":"uint256","name":"traits","type":"uint256"},{"internalType":"enum AvastarTypes.Generation","name":"generation","type":"uint8"},{"internalType":"enum AvastarTypes.Series","name":"series","type":"uint8"},{"internalType":"enum AvastarTypes.Gender","name":"gender","type":"uint8"},{"internalType":"uint8","name":"ranking","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getPrimeByTokenId","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"serial","type":"uint256"},{"internalType":"uint256","name":"traits","type":"uint256"},{"internalType":"enum AvastarTypes.Generation","name":"generation","type":"uint8"},{"internalType":"enum AvastarTypes.Series","name":"series","type":"uint8"},{"internalType":"enum AvastarTypes.Gender","name":"gender","type":"uint8"},{"internalType":"uint8","name":"ranking","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getPrimeReplicationByTokenId","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bool[12]","name":"replicated","type":"bool[12]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"enum AvastarTypes.Generation","name":"_generation","type":"uint8"},{"internalType":"uint256","name":"_serial","type":"uint256"}],"name":"getReplicantByGenerationAndSerial","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"serial","type":"uint256"},{"internalType":"uint256","name":"traits","type":"uint256"},{"internalType":"enum AvastarTypes.Generation","name":"generation","type":"uint8"},{"internalType":"enum AvastarTypes.Gender","name":"gender","type":"uint8"},{"internalType":"uint8","name":"ranking","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getReplicantByTokenId","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"serial","type":"uint256"},{"internalType":"uint256","name":"traits","type":"uint256"},{"internalType":"enum AvastarTypes.Generation","name":"generation","type":"uint8"},{"internalType":"enum AvastarTypes.Gender","name":"gender","type":"uint8"},{"internalType":"uint8","name":"ranking","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_traitId","type":"uint256"}],"name":"getTraitArtById","outputs":[{"internalType":"string","name":"art","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"enum AvastarTypes.Generation","name":"_generation","type":"uint8"},{"internalType":"enum AvastarTypes.Gene","name":"_gene","type":"uint8"},{"internalType":"uint8","name":"_variation","type":"uint8"}],"name":"getTraitIdByGenerationGeneAndVariation","outputs":[{"internalType":"uint256","name":"traitId","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_traitId","type":"uint256"}],"name":"getTraitInfoById","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"enum AvastarTypes.Generation","name":"generation","type":"uint8"},{"internalType":"enum AvastarTypes.Series[]","name":"series","type":"uint8[]"},{"internalType":"enum AvastarTypes.Gender","name":"gender","type":"uint8"},{"internalType":"enum AvastarTypes.Gene","name":"gene","type":"uint8"},{"internalType":"enum AvastarTypes.Rarity","name":"rarity","type":"uint8"},{"internalType":"uint8","name":"variation","type":"uint8"},{"internalType":"string","name":"name","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_traitId","type":"uint256"}],"name":"getTraitNameById","outputs":[{"internalType":"string","name":"name","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isAvastarTeleporter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"isHashUsedByGeneration","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_traits","type":"uint256"},{"internalType":"enum AvastarTypes.Generation","name":"_generation","type":"uint8"},{"internalType":"enum AvastarTypes.Series","name":"_series","type":"uint8"},{"internalType":"enum AvastarTypes.Gender","name":"_gender","type":"uint8"},{"internalType":"uint8","name":"_ranking","type":"uint8"}],"name":"mintPrime","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"serial","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_traits","type":"uint256"},{"internalType":"enum AvastarTypes.Generation","name":"_generation","type":"uint8"},{"internalType":"enum AvastarTypes.Gender","name":"_gender","type":"uint8"},{"internalType":"uint8","name":"_ranking","type":"uint8"}],"name":"mintReplicant","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"serial","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"newContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint8","name":"","type":"uint8"}],"name":"primeCountByGenAndSeries","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"renderAvastar","outputs":[{"internalType":"string","name":"svg","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"replicantCountByGeneration","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"enum AvastarTypes.Generation","name":"_generation","type":"uint8"},{"internalType":"string","name":"_artist","type":"string"},{"internalType":"string","name":"_infoURI","type":"string"}],"name":"setAttribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setMetadataContractAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"stripRoles","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdByGenerationAndHash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdByGenerationWaveAndSerial","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"uri","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint8","name":"","type":"uint8"}],"name":"traitIdByGenerationGeneAndVariation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"upgradeContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"upgraded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_primeId","type":"uint256"},{"internalType":"bool[12]","name":"_traitFlags","type":"bool[12]"}],"name":"useTraits","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]