EtheremonBattle

Verified contract

Active on Ethereum with 3,931 txns
Deployed by via 0x8b0428e5 at 4964526
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional variables
ERC-20
--
ERC-20
--
0xb5d465d5e2928ec6a6415f0a36f72b4e9d38dd9ddd7e76138306a37e5144aac6
0xf686b5bf3d23ea06f923e4ed7bdab7790d6bcc948c019a25b68b08212aea63b7
0x1dd859468e3618c8f0be15c8ac2b2f99f0dc8c87055f74a30af062e2206a38ac
0xd26599bf7713d7b0186715825ce0aa5d0288bc47b048c16e01a5e13deef03f7f
0x412eff231b5cb63f86ae756a2773e26c5bd3893f18dec4e0fce84271de4b9ff2
0x85d3c61ad090336eec91e9024482753212e8121fc96482f46ff0dbad6fcecebc
0x799603f313b8ae38cddc6f9fd6f52ff710e4f5ca2f182462a869919672f75356
0x33680995899380fd3d0df8b709ad28a70599cb34ebff0df4aa71fcfe57f4d1dc
0x3fce47b5a723e34abce9d28cda4e2210a864e7d21a0b7d7cf34e9f04dba2df1c
0xaee91cd47d04d25ea263620eb12f727c9166acf9b4aefc7bf488adba9ff7381f

Functions
Getter at block 21293097
GEN0_NO(view returns (uint8)
24
NO_MONSTER(view returns (uint8)
3
STAT_COUNT(view returns (uint8)
6
ancestorBuffPercentage(view returns (uint8)
10
brickETHPrice(view returns (uint256)
4000000000000000
castleContract(view returns (address)
0x75aa01dc00f6aeefe14bd58a5b6cbb091c6dc57b
castleExpAdjustment(view returns (uint8)
100
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
paymentContract(view returns (address)
0x721da477f68c71788a262d58853fe6977d86535e
totalEarn(view returns (uint256)
5380000000000000000
totalModerators(view returns (uint16)
0
totalWithdraw(view returns (uint256)
5380000000000000000
tradeContract(view returns (address)
0x4ba72f0f8dad13709ee28a992869e79d0fe47030
typeBuffPercentage(view returns (uint8)
20
winBrickReturn(view returns (uint8)
8
winTokenReward(view returns (uint256)
100000000
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 (uint32uint8uint16[6])
getGainExp(uint8 level2uint8 levelbool _winpure 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 
createCastleWithToken(address _traineruint32 _noBrickstring _nameuint64 _a1uint64 _a2uint64 _a3uint64 _s1uint64 _s2uint64 _s3
fastSetCacheClassInfo(uint32 _classId1uint32 _classId2uint32 _classId3uint32 _classId4uint32 _classId5uint32 _classId6uint32 _classId7uint32 _classId8
genLevelExp(
removeCastle(uint32 _castleId
renameCastle(uint32 _castleIdstring _name
setCacheClassInfo(uint32 _classId
setConfig(uint8 _ancestorBuffPercentageuint8 _gasonBuffPercentageuint8 _typeBuffPercentageuint32 _castleMinBrickuint8 _maxLeveluint16 _maxActiveCastleuint8 _maxRandomRounduint8 _minHpDeducteduint256 _winTokenRewarduint256 _brickETHPriceuint8 _castleExpAdjustment
setContract(address _dataContractaddress _worldContractaddress _tradeContractaddress _castleContractaddress _paymentContract
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 _castleContractaddress _paymentContract
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.