EtheremonCastleBattle

Verified contract

Active on Ethereum with 39 txns
Deployed by via 0x106013f9 at 4864552
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xd0febc81c035e06e7e099580d4eb02134e3a41d696bbcc48eadfe9215213753f
0xa5370cc41d531319e632bfbeba566845dd6a3156322318a76fe54735de1c1f5b
0xcab84a13576741c7806ba06079191d996b414978e08cc988ea077cb9e4ddfbb1
0x66d4659ef3381c3457109c1f67e7cbe7cdad33ab39667091d03d049d4922e945
0xc38f891b6ed07fbb5be353a9a85f80fc0cb033db28e6e04c9dd66506ec6645e5
0x167f229408309a749a50234e5b9572b206241ee6b33d1f1f822ad74ab03f5423
0x8201e725fd5589a718914adc44fcfe59d57dc2bc7c3087bdd8425a3f1eda17cb
0xf45a72ff9ebe3791f5d7f6c07124289b675b0d0beb782ca7ceded726ac243fad
0xc2fe4153e900b1e314af8b844648d881e25516a66e92c3a91e1c76858f60d86b
0x097455cec576c2624caa72a581d7c7629f00ae9bef9cac7370099fc400e81992

Functions
Getter at block 21257252
NO_BATTLE_LOG(view returns (uint8)
4
countActiveCastle(view returns (uint256)
0
isMaintaining(view returns (bool)
true
owner(view returns (address)
0xe0a66218c40230967d4240d25f6220a28e52c7ff
totalBattle(view returns (uint64)
95417
totalCastle(view returns (uint32)
2027
totalModerators(view returns (uint16)
5
Read-only
getActiveCastleId(uint256 indexview returns (uint32)
getBattleAttackerLog(uint64 _battleIdview returns (uint64uint64uint64uint64uint64uint64uint32uint32uint32)
getBattleDataLog(uint64 _battleIdview returns (uint32addressuint8uint8uint8uint8uint32uint32uint32)
getCastleBasicInfo(address _ownerview returns (uint32uint256uint32)
getCastleBasicInfoById(uint32 _castleIdview returns (uint256addressuint32)
getCastleBattleList(uint32 _castleIdview returns (uint64uint64uint64uint64)
getCastleObjInfo(uint32 _castleIdview returns (uint64uint64uint64uint64uint64uint64)
getCastleStats(uint32 _castleIdview returns (stringaddressuint32uint32uint32uint256)
getCastleWinLose(uint32 _castleIdview returns (uint32uint32uint32)
getTrainerBattleInfo(address _trainerview returns (uint32uint32uint32uint32uint64uint64uint64uint64)
getTrainerBrick(address _trainerview returns (uint32)
isCastleActive(uint32 _castleIdview returns (bool)
isOnCastle(uint32 _castleIduint64 _objIdview returns (bool)
moderators(addressview returns (bool)
State-modifying
AddModerator(address _newModerator
ChangeOwner(address _newOwner
RemoveModerator(address _oldModerator
UpdateMaintaining(bool _isMaintaining
addBattleLog(uint32 _castleIdaddress _attackeruint8 _ran1uint8 _ran2uint8 _ran3uint8 _resultuint32 _castleExp1uint32 _castleExp2uint32 _castleExp3returns (uint64)
addBattleLogMonsterInfo(uint64 _battleIduint64 _a1uint64 _a2uint64 _a3uint64 _s1uint64 _s2uint64 _s3uint32 _exp1uint32 _exp2uint32 _exp3
addCastle(address _trainerstring _nameuint64 _a1uint64 _a2uint64 _a3uint64 _s1uint64 _s2uint64 _s3uint32 _brickNumberreturns (uint32 currentCastleId)
deductTrainerBrick(address _traineruint32 _deductAmountreturns (bool)
removeCastleFromActive(uint32 _castleId
renameCastle(uint32 _castleIdstring _name
Events

This contract contains no event objects.

Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.