CryptoEngineer

Verified contract

Active on Ethereum with 3,177 txns
Deployed by via 0xbdc15afe at 6371966
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0
0x939e6f8c91e314b9ec793198dd3d2946d7747e05247f6b9a7593bbc8b7e9b64b
0xcf146f375b4b1a2f414ddb94cd2383223cb63352607e9ba19767bf7c8f5372ff
0x0a2665642380301518e4412dc2cf51b6fe52e0ced7360dd2f85a86194f6c63b9
0xf424c869670a5846b6d2d3a1c9be60e274d067151d9ad448cc2f4cb45993d8c5
0xf6ca6fba46a0dfac29770b8e44589748f42bf51ff9ddfebc190cb98c4247b68b
0x64c8e594c58802de355b5b34628e2edef54cf8fff6a3dbfd8f7bdac2b2be3498
0x7db17c28c20d2cc90ad310e502d6e98537c83d812ad0a06a2028d846672653f5
0x8941b89a7fbd33d902a344509f784da4bf977540237d8c2316a47f5ddf3880eb
0xc60970248f03e032987fbd66ff6bbe145f4da832566bee3b71f9a03254ba20bc
0x567a6bfedcbaf0640dbe586262ba6ee55f38ed87a58fbe4e86f6c6419365b36c

Functions
Getter at block 21244939
BASE_PRICE(view returns (uint256)
10000000000000000
CRTSTAL_MINING_PERIOD(view returns (uint256)
86400
HALF_TIME_ATK(view returns (uint256)
900
MiningWarContract(view returns (address)
0xf84c61bb982041c030b8580d1634f00fffb89059
VIRUS_MINING_PERIOD(view returns (uint256)
86400
VIRUS_NORMAL(view returns (uint256)
0
administrator(view returns (address)
0xe9bba48c3e600b2f90dbd54ae4d3c6bcafc0bc21
engineerRoundNumber(view returns (uint256)
0
gameSponsor(view returns (address)
0x8949db9fbb4716ce5a2803085c7732c14fe03a37
gameSponsorPrice(view returns (uint256)
3645000000000000000
isContractMiniGame(pure returns (bool _isContractMiniGame)
true
miningWarAdministrator(view returns (address)
0xe9bba48c3e600b2f90dbd54ae4d3c6bcafc0bc21
miningWarContractAddress(view returns (address)
0xf84c61bb982041c030b8580d1634f00fffb89059
numberOfBoosts(view returns (uint256)
5
numberOfEngineer(view returns (uint256)
8
prizePool(view returns (uint256)
100000000
totalPayments(view returns (uint256)
0
Read-only
boostData(uint256view returns (address owneruint256 boostRateuint256 basePrice)
calCurrentCrystals(address _addrview returns (uint256 _currentCrystals)
calculateCurrentVirus(address _addrview returns (uint256 _currentVirus)
canAttack(address _atkAddressaddress _defAddressview returns (bool _canAtk)
engineers(uint256view returns (uint256 basePriceuint256 baseETHuint256 baseResearchuint256 limit)
getBoosterData(uint256 idxview returns (address _owneruint256 _boostRateuint256 _basePrice)
getPlayerData(address _addrview returns (uint256 _engineerRoundNumberuint256 _virusNumberuint256 _virusDefenceuint256 _researchuint256 _researchPerDayuint256 _lastUpdateTimeuint256[8] _engineersCountuint256 _nextTimeAtkuint256 _endTimeUnequalledDef)
getResearchPerDay(address _addrview returns (uint256 _researchPerDay)
hasBooster(address addrview returns (uint256 _boostIdx)
miniGames(addressview returns (bool)
payments(addressview returns (uint256)
players(addressview returns (uint256 engineerRoundNumberuint256 virusNumberuint256 virusDefenceuint256 researchuint256 lastUpdateTimeuint256 nextTimeAtkuint256 endTimeUnequalledDef)
virus(uint256view returns (uint256 atkuint256 def)
State-modifying
addTimeUnequalledDefence(address _addruint256 _value
addVirus(address _addruint256 _value
addVirusDefence(uint256 _value
attack(address _defAddressuint256 _value
becomeGameSponsor(payable 
buyBooster(uint256 idxpayable 
buyEngineer(uint256[] engineerNumberspayable 
claimPrizePool(address _addruint256 _value
removeContractMiniGame(address _contractMiniGameAddress
setAtkNowForPlayer(address _addr
setContractsMiniGame(address _contractMiniGameAddress
setVirusInfo(uint256 _atkuint256 _def
setupMiniGame(uint256uint256
subVirus(address _addruint256 _value
upgrade(address addr
withdrawPayments(
Events
eventEndAttack(address playerAtkaddress playerDefbool isWinuint256 winCrystalsuint256 virusPlayerAtkDeaduint256 virusPlayerDefDeaduint256 timeAtkuint256 engineerRoundNumberuint256 atkuint256 def
Constructor
constructor(
Fallback and receive
fallback(
Errors

This contract contains no error objects.