0xUniverse

Verified contract

Active on Ethereum
Deployed by via 0x6c265012 at 5744854
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional variables
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x776de1812ae28a89c945fc6828d9e5e0610ada52a5950d6b647fc78b31e4d5ea
0x987cb2b024e936b453e1ece1be10fc9a1617a14cefac5dc03fcefd5551098080
0xb470c4f86ab5e54f8114681d87d1d3ebcf3efd978ed756a24487f65e347a62f1
0x051c24616083c20be7540cdba242f6ad0d0b5c3c6dc8540616312a4c7c066c39
0x11940e5142beaaa5394a7dab857ea73a7de866cd59918f290d07120c19ccff9c
0x85205e25e03a35f294476c087ecc158db6b547f6f23eafd0dff500efe9661ad1
0x3fbf81549ba1c17936b1d757ca9cca619f71a1658a85b71243c0b5d8ed72d858
0x68f4910aea0db55b1c706181e46a869d9c39f309b648a3b8bcb37cdd5a29fa49
0x5f461c442910dc90a315259693f376f93c4036d4d4f13f060cfc459ac2b49c46
0x0e16f812b9014bce1c63ad971b6138933e57b3f436e1a775588e68fcea27b983

Functions
Getter at block 21244789
PROMO_PLANETS_LIMIT(view returns (uint256)
10000
name(view returns (string)
0xUniverse
owner(view returns (address)
0x9e2655bda4940dfb9e446110f7180f7da1e58822
paused(view returns (bool)
false
promoCreatedCount(view returns (uint256)
9999
saleAuction(view returns (address)
0xe907b807df4b56cf4bfb16f288d4f2044dbd2d87
symbol(view returns (string)
PLANET
totalSupply(view returns (uint256)
403053
treasurer(view returns (address)
0x9e2655bda4940dfb9e446110f7180f7da1e58822
universeBalance(view returns (address)
0xfc30a1a7a650d10b20500bc10b06ff8f4b650ad2
universePlanetExploration(view returns (address)
0x340113cd9eceedc5ae1f08bc391f120daf53277a
Read-only
balanceOf(address _ownerview returns (uint256)
countPlanetsByRarity(uint256 _rarityview returns (uint256)
countPlanetsByRarityInGroup(uint256 _groupIndexuint256 _rarityview returns (uint256)
exists(uint256 _tokenIdview returns (bool)
getApproved(uint256 _tokenIdview returns (address)
getCurrentKnowledgeOfOwner(address _ownerview returns (uint256)
getDiscoveredPlanetsDensity(uint256 sectorXuint256 sectorYview returns (uint256)
getPlanet(uint256 _idview returns (uint256 rarityuint256 discovereduint256 sectorXuint256 sectorYuint256[5] resourcesIduint256[5] resourcesVelocity)
getPlanetCurrentResources(uint256 _planetIdview returns (uint256[5])
getPlanetUpdatedResources(uint256 _idview returns (uint256 updateduint256[5] resourcesIduint256[5] resourcesUpdated)
isApprovedForAll(address _owneraddress _operatorview returns (bool)
lastKnowledgeSpentDateByOwner(addressview returns (uint256)
ownerOf(uint256 _tokenIdview returns (address)
ownerToKnowledge(addressview returns (uint256)
planets(uint256view returns (uint256)
tokenByIndex(uint256 _indexview returns (uint256)
tokenOfOwnerByIndex(address _owneruint256 _indexview returns (uint256)
tokenURI(uint256 _tokenIdview returns (string)
whitelist(addressview returns (bool)
State-modifying
addAddressToWhitelist(address addrreturns (bool success)
addAddressesToWhitelist(address[] addrsreturns (bool success)
approve(address _touint256 _tokenId
checkWhetherEnoughPromoPlanet(
createPlanet(address _owneruint256 _rarityuint256 _sectorXuint256 _sectorYuint256 _startPopulationreturns (uint256)
createSaleAuction(uint256 _planetIduint256 _startingPriceuint256 _endingPriceuint256 _duration
findAvailableResource(address _owneruint256 _rarityreturns (int8)
initialize(address _earthOwner
pause(
recountPlanetResourcesAndUserKnowledge(address _owneruint256 _planetId
removeAddressFromWhitelist(address addrreturns (bool success)
removeAddressesFromWhitelist(address[] addrsreturns (bool success)
safeTransferFrom(address _fromaddress _touint256 _tokenId
safeTransferFrom(address _fromaddress _touint256 _tokenIdbytes _data
setApprovalForAll(address _tobool _approved
setSaleAuctionAddress(address _address
setUniverseBalanceAddress(address _address
setUniversePlanetExplorationAddress(address _address
spendKnowledge(address _owneruint256 _spentKnowledge
spendResourceOnPlanet(address _owneruint256 _planetIduint256 _resourceIduint256 _resourceValue
spendResources(address _owneruint256[5] _resourcesIduint256[5] _resourcesNeeded
transferFrom(address _fromaddress _touint256 _tokenId
transferOwnership(address newOwner
transferTreasurer(address _treasurer
unpause(
withdrawAuctionBalances(
withdrawBalance(
Events
Approval(address indexed _owneraddress indexed _approveduint256 _tokenId
ApprovalForAll(address indexed _owneraddress indexed _operatorbool _approved
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Pause(
PlanetCreated(address indexed owneruint256 indexed planetIduint256 sectorXuint256 sectorYuint256 rarityuint256[5] resourcesIduint256[5] resourcesVelocityuint256 startPopulation
Transfer(address indexed _fromaddress indexed _touint256 _tokenId
Unpause(
WhitelistedAddressAdded(address addr
WhitelistedAddressRemoved(address addr
Constructor
constructor(
Fallback and receive
fallback(
Errors

This contract contains no error objects.