EtheremonBattle

Verified contract

Active on Ethereum with 574 txns
Deployed by via 0xf8f8f8e4 at 4864977
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x19ed5998470fbc3b6d052999a77d771b6dd52bda4685d2fe29c163ff687e0a58
0xa19d66842454f9ea66b16ee24ec8a3cda3827db38406d27131ed878d43e74517
0xf18a29704371c0fe2b8fd453e403cf172b4cdfd25a21b9006a6fe4d1bee21833
0xcdef140bc7ac6c8c997897f2aeac3ee658bf86c14ebad949e3946bf338a4d676
0x49af758e35aa80db6119379720f36836653efb5e535e288651252e1bdcbf9997
0x86e5406b93b1fe15cf50543c4882b49136075026e7ce08fe63da58380fe18c30
0xfb9217f753d649fd2279746be59c641a53d0ad1d6e807404c2129902aa6f2155
0x35574ce8f9f9105f890542e3ccf60337005b4dd589c337dd92ea1a141bc59a50
0xc557fe46fdba6bd1c3fecc9eb31fcca841a1256dccc91062d9aebacabee9232f
0x1e40d39950cbe83e6ab0dd0131d083b787dcd9ea383bd600e93b37b9de916cd1
From

Functions
Getter at block 21159406
GEN0_NO(view returns (uint8)
24
NO_MONSTER(view returns (uint8)
3
STAT_COUNT(view returns (uint8)
6
ancestorBuffPercentage(view returns (uint8)
10
brickPrice(view returns (uint256)
8000000000000000
castleContract(view returns (address)
0x75aa01dc00f6aeefe14bd58a5b6cbb091c6dc57b
castleMinBrick(view returns (uint32)
5
dataContract(view returns (address)
0xabc1c404424bdf24c19a5cc5ef8f47781d18eb3e
gasonBuffPercentage(view returns (uint8)
10
isMaintaining(view returns (bool)
true
maxActiveCastle(view returns (uint16)
30
maxLevel(view returns (uint8)
100
maxRandomRound(view returns (uint8)
4
minHpDeducted(view returns (uint8)
10
owner(view returns (address)
0x2c1c95a3d9443e5eef3d716fcc6372c26f3e68e0
totalEarn(view returns (uint256)
6256000000000000000
totalModerators(view returns (uint16)
0
totalWithdraw(view returns (uint256)
6256000000000000000
tradeContract(view returns (address)
0x65c440683088134aef7af22f3fad6a9ee5c19fed
typeBuffPercentage(view returns (uint8)
20
winBrickReturn(view returns (uint8)
8
worldContract(view returns (address)
0x1fc7bd85293f3982f40d52698df8d26be89360d6
Read-only
calHpDeducted(uint16 _attackuint16 _specialAttackuint16 _defenseuint16 _specialDefensebool _luckyview returns (uint16)
getCacheClassSize(uint32 _classIdview returns (uint256uint256uint256)
getCurrentStats(uint64 _objIdview returns (uint32uint32uint16[6])
getGainExp(uint32 _exp1uint32 _exp2bool _winview returns (uint32)
getLevel(uint32 expview returns (uint8)
getMonsterCP(uint64 _objIdview returns (uint64)
getMonsterLevel(uint64 _objIdview returns (uint32uint8)
getObjExp(uint64 _objIdview returns (uint32uint32)
getRandom(uint8 maxRanuint8 indexaddress priAddressview returns (uint8)
getSupporterInfo(uint64 s1uint64 s2uint64 s3view returns (struct (uint32, bool, uint8, uint32, bool, uint8, uint32, bool, uint8) sData)
hasValidParam(address traineruint64 _a1uint64 _a2uint64 _a3uint64 _s1uint64 _s2uint64 _s3view returns (bool)
isOnBattle(uint64 _objIdview returns (bool)
isValidOwner(uint64 _objIdaddress _ownerview returns (bool)
moderators(addressview returns (bool)
State-modifying
AddModerator(address _newModerator
ChangeOwner(address _newOwner
RemoveModerator(address _oldModerator
UpdateMaintaining(bool _isMaintaining
attackCastle(uint32 _castleIduint64 _aa1uint64 _aa2uint64 _aa3uint64 _as1uint64 _as2uint64 _as3
createCastle(string _nameuint64 _a1uint64 _a2uint64 _a3uint64 _s1uint64 _s2uint64 _s3payable 
genLevelExp(
removeCastle(uint32 _castleId
renameCastle(uint32 _castleIdstring _name
setCacheClassInfo(uint32 _classId
setConfig(uint8 _ancestorBuffPercentageuint8 _gasonBuffPercentageuint8 _typeBuffPercentageuint32 _castleMinBrickuint8 _maxLeveluint16 _maxActiveCastleuint8 _maxRandomRounduint8 _minHpDeducted
setContract(address _dataContractaddress _worldContractaddress _tradeContractaddress _castleContract
setTypeAdvantage(uint8 _type1uint8 _type2
setTypeAdvantages(
withdrawEther(address _sendTouint256 _amount
Events
EventAttackCastle(address indexed attackeruint32 castleIduint8 result
EventCreateCastle(address indexed owneruint32 castleId
EventRemoveCastle(uint32 indexed castleId
Constructor
constructor(address _dataContractaddress _worldContractaddress _tradeContractaddress _castleContract
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.