EtheremonBattle

Verified contract

Active on Ethereum with 4,047 txns
Deployed by via 0x5efb0b86 at 4866989
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0x7178ff35cacb7410db31492e1c42ae3b7a7bc81e5366489804decf0124750a06
0xd2e3fc5e7ce10973982f15824c67680599fd9ed14594b53c395c3e34938b72ab
0x523752586aba1ee7e7d1be853bdb7d5f7bccec9d27fa77285f8238be40296122
0xd85701df164f38bf24b9a4a36f6bb6682d9e71ce8e65e04dd7038874c259d493
0x191580f73cd1cffb0245c834d05fe6657e07247716b7c6827017b03bc3c67a41
0x317e9a1aa63888f8fee3f11e6369e7ab000803013e301c92d11a11a994b0d6d7
0xa8b2aae6e61ba24d1b24933fe7013e823b54efaac0ad26e1e2a88b422f00abec
0x561bbbc700633b0b2949927e6ce9e8b0137f2271f2744183a787a6d87a622ff9
0xa62c6a10d06394b850b223d4f3bf6de39a8367879df69b3ee33308480eba0b37
0x03b84942064758f8aa42817ba57070aa82f689e7df05071efc509111491d24f3

Functions
Getter at block 21287965
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)
0xe0a66218c40230967d4240d25f6220a28e52c7ff
totalEarn(view returns (uint256)
43304000000000000000
totalModerators(view returns (uint16)
0
totalWithdraw(view returns (uint256)
43304000000000000000
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 
fastSetCacheClassInfo(uint32 _classId1uint32 _classId2uint32 _classId3uint32 _classId4
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.