EtheremonBattle

Verified contract

Active on Ethereum with 80,763 txns
Deployed by via 0x1ee7f2a7 at 5047796
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
6 additional variables
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x15548bbd86f66fbfd7e5a312cd3cd3e6aeb5134bc7a8b304b1c501bd0a5faf6e
0xa879a2af5fa571b8d9836e3feac81d32304e70a7031fac767fcb7076b5dea341
0x0efbe41e168c55b23b4cb86921f0aed3d2884c9438259bb4372d2140f67e0cbf
0xe17e51ea875349e0a899c787e191240c0a304c4f9869c15b1a3ed9346c573344
0x73548f4bf2c7e2597f443c42548df8716e6be01b40d1e2c4df2ffb2ccbd0645a
0x6d4772d1b6245dcdfae4819f78754f7744a6da6db101810ea4ff3c6969f280ee
0x50237a75add207e4f065d755bad56775af935ef0bf08cbf3f2c62d39d5cb9749
0x543d380b69fce98481ceb3459f3b4895c8bec184068bb0a26d953bb1ae0b52cc
0x68205426fb6bdb749d7b36ce48676afb3ea31556e8acdee31c0e812d0fd02b81
0x75934e9d4fab0638e2a3ee9402547e7cf3539a7e856e86f95b2d585919924479

Functions
Getter at block 21161524
GEN0_NO(view returns (uint8)
24
NO_MONSTER(view returns (uint8)
3
STAT_COUNT(view returns (uint8)
6
ancestorBuffPercentage(view returns (uint8)
10
attackerExpAdjustment(view returns (uint8)
100
brickETHPrice(view returns (uint256)
8000000000000000
castleContract(view returns (address)
0x75aa01dc00f6aeefe14bd58a5b6cbb091c6dc57b
castleExpAdjustment(view returns (uint8)
100
castleMaxLevelGap(view returns (uint8)
3
castleMinBrick(view returns (uint32)
5
dataContract(view returns (address)
0xabc1c404424bdf24c19a5cc5ef8f47781d18eb3e
gasonBuffPercentage(view returns (uint8)
10
isMaintaining(view returns (bool)
true
levelExpAdjustment(view returns (uint8)
3
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)
0xeb0058ce60d753004b0efa2164f88b2a5b528e7d
totalEarn(view returns (uint256)
26580000000000000000
totalModerators(view returns (uint16)
0
totalWithdraw(view returns (uint256)
26580000000000000000
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 _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 
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
setCastleConfig(uint8 _castleMaxLevelGapuint16 _maxActiveCastleuint256 _brickETHPriceuint8 _castleExpAdjustmentuint8 _attackerExpAdjustmentuint8 _levelExpAdjustmentuint32 _castleMinBrick
setConfig(uint8 _ancestorBuffPercentageuint8 _gasonBuffPercentageuint8 _typeBuffPercentageuint8 _maxLeveluint8 _maxRandomRounduint8 _minHpDeducteduint256 _winTokenReward
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.