DNA

Verified contract

Active on Ethereum with 11,106 txns
Deployed by via 0x373eda8b at 14801289
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
-
variable spans 1 additional slot
-
variable spans 1 additional slot

No balances found for "DNA"

0xd2793cf2b1aea006e8f51ee67fd8a0adff772510679402be2f20558aded0606b
0x3d52e5a929b0e78968db85e68b26aae776eac534e7662c60b5d3ead0a9c99372
0x9bc48a48b1d19b7d6dddaffbbb22fc96c6ccacd1257f9de497729e54966d7514
0x6d53cd397b0295d3127c2cc1a90b22839fd432487ec80af72dd7b6d5e83e2305
0x4c3605f4f5c59816636374d75de66cf63cd734854a161b298d07b64f79977d47
0x7bac9d8c78e0d348a76c7ac067f4bcdf86d5d43cf61db66c9b304bf96810199b
0x4216a031a8e7868b331a1ce7d38c9d782165be85d65e84990e66ed664a78a27c
0x19d2cabe7aff8dcec4a09f81f50e449bd5085cea052f304d8c5aa463fc6ea304
0x8042e29539334068dff97c5173662671aabcdc7f021454cb8300e42c50819b52
0xec4ff259eccd90b0b9c55f6cb77f46853d5b29dbc00bc157e73220b3f881ece2

Functions
Getter at block 21301452
BURNER_ROLE(view returns (bytes32)
0x3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848
CONTRACT_MANAGER_ROLE(view returns (bytes32)
0x035e65da48e4b6c2faabe72c122dddaa62b1293c3b881aaf39996f00b0a31300
CRITICALITY_ENTROPY(view returns (bytes32)
0x8ad427a21502aebf6bacf91a43e4ebac191569fe283d1788426ef87578079472
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_MUTANT_TIER(view returns (uint256)
6
SCIENTIST_ENTROPY(view returns (bytes32)
0x910202e0db33e280110131d2a8d4d44c4dba99fae6b2dca7c31763febc6c494c
TOKEN_ELEMENT_ENTROPY(view returns (bytes32)
0xecd1375979ac48cac4e35c6296552e31cd1b133c7bf4ab3d835f100eaed90a28
TOKEN_RARITY_ENTROPY(view returns (bytes32)
0x90808729655f2ef7d78076f4064f489ce2fbe7855f90e1f8134baa6a61b4458d
batchId(view returns (uint64)
2896
contracts(view returns (address Mutantsaddress RWasteaddress Scalesaddress Scientists)
(Mutants=0x83f82414b5065bb9a85e330c67b4a10f798f4ed2, RWaste=0x5cd2fac9702d68dde5a94b1af95962bcfb80fc7d, Scales=0x27192b750ff796514f039512aaf5a3655a095ea0, Scientists=0xa310425046661c523d98344f7e9d66b32195365d)
coolDown(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
extractionCost(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
freeBoostConfig(view returns (uint16 boostIduint64 minimumBatchSize)
(boostId=2, minimumBatchSize=20)
mutantUpgradeCost(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
owner(view returns (address)
0xcd8364ddca79d9601a9059c5e677c8f633c107b9
requestConfig(view returns (bytes32 keyHashuint64 subIduint32 callbackGasLimituint16 requestConfirmations)
(keyHash=0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef, subId=859, callbackGasLimit=2500000, requestConfirmations=3)
vrfFundingConfig(view returns (uint256 feebool userFunded)
(fee=0, userFunded=false)
Read-only
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
batch(uint64view returns (uint256 sizeuint256 seed)
boosts(uint256view returns (uint256 cost)
functionLocked(bytes4view returns (bool)
getBoostCost(uint256 indexview returns (uint256)
getBoostRarities(uint256 indexview returns (uint256[4])
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address accountaddress operatorview returns (bool)
isCooledDown(uint256 mutantIdview returns (bool)
mutantInfo(uint256view returns (uint64 batchIduint128 coolDownStarteduint16 boostIduint8 tierbool extractionOngoing)
requestIdToBatchId(uint256view returns (uint64)
supportsInterface(bytes4 interfaceIdview returns (bool)
uri(uint256view returns (string)
State-modifying
addBoost(struct DNABoost boost
burn(address fromuint256 iduint256 amount
burnBatch(address fromuint256[] idsuint256[] amounts
completeExtraction(uint256 mutantId
grantRole(bytes32 roleaddress account
lockFunction(bytes4 id
queueExtraction(uint256 mutantIduint16 boostId
rawFulfillRandomWords(uint256 requestIduint256[] randomWords
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
runExtraction(uint256 mutantIduint16 boostIdpayable 
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] amountsbytes data
safeTransferFrom(address fromaddress touint256 iduint256 amountbytes data
seedBatch(uint64 _batchId
setApprovalForAll(address operatorbool approved
setBoost(uint256 boostIdstruct DNABoost boost
setContracts(struct DNAContracts _contracts
setCoolDown(uint256 time
setExtractionCost(uint256 cost
setFreeBoostConfig(struct DNAFreeBoostConfig _freeBoostConfig
setMutantUpgradeCost(uint256 cost
setRequestConfig(struct DNARequestConfig _requestConfig
setURI(string uri
setVRFFundingConfig(struct DNAVRFFundingConfig _vrfFundingConfig
transferOwnership(address newOwner
upgradeMutant(uint256 tokenIduint8 tiers
withdraw(
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
BatchSeeded(uint256 indexed batchId
DNAStolen(address indexed receiveruint256 indexed tokenId
ExtractionComplete(uint256 indexed mutantIduint64 indexed batchIduint16 indexed boostIdstruct DNAExtractionResults results
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Constructor
constructor(string uriaddress vrfCoordinatorbytes32 keyHashuint64 subId
Fallback and receive

This contract contains no fallback and receive objects.

Errors
DNA_BatchAlreadySeeded(
DNA_BatchNotSeeded(
DNA_CoolDownOngoing(
DNA_ExceedsMaximumTier(
DNA_ExtractionOngoing(
DNA_FunctionLocked(
DNA_IncorrectValue(
DNA_IndexOutOfRange(
DNA_NothingToReveal(
DNA_SenderNotAllowed(
DNA_SenderNotTokenOwner(
DNA_ValueOutOfRange(
OnlyCoordinatorCanFulfill(address haveaddress want