EtheremonCastleBattle
Verified contract
Active on
Ethereum with 39 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
LINO | ERC-20 | 20 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 5855198 | 6 years ago | | | 0 | 0.00037280400 | |
| 5855192 | 6 years ago | | | 0 | 0.00034340400 | |
| 5855143 | 6 years ago | | | 0 | 0.00034340400 | |
| 5852647 | 6 years ago | | | 0 | 0.00034310400 | |
| 5852644 | 6 years ago | | | 0 | 0.00034340400 | |
| 5852641 | 6 years ago | | | 0 | 0.00034340400 | |
| 5852639 | 6 years ago | | | 0 | 0.00034340400 | |
| 5852635 | 6 years ago | | | 0 | 0.00034340400 | |
| 5852629 | 6 years ago | | | 0 | 0.00037310400 | |
| 5852622 | 6 years ago | | | 0 | 0.00034310400 |
ABI
ABI objects
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 index) view returns (uint32)
getBattleAttackerLog(uint64 _battleId) view returns (uint64, uint64, uint64, uint64, uint64, uint64, uint32, uint32, uint32)
getBattleDataLog(uint64 _battleId) view returns (uint32, address, uint8, uint8, uint8, uint8, uint32, uint32, uint32)
getCastleBasicInfo(address _owner) view returns (uint32, uint256, uint32)
getCastleBasicInfoById(uint32 _castleId) view returns (uint256, address, uint32)
getCastleBattleList(uint32 _castleId) view returns (uint64, uint64, uint64, uint64)
getCastleObjInfo(uint32 _castleId) view returns (uint64, uint64, uint64, uint64, uint64, uint64)
getCastleStats(uint32 _castleId) view returns (string, address, uint32, uint32, uint32, uint256)
getCastleWinLose(uint32 _castleId) view returns (uint32, uint32, uint32)
getTrainerBattleInfo(address _trainer) view returns (uint32, uint32, uint32, uint32, uint64, uint64, uint64, uint64)
getTrainerBrick(address _trainer) view returns (uint32)
isCastleActive(uint32 _castleId) view returns (bool)
isOnCastle(uint32 _castleId, uint64 _objId) view returns (bool)
moderators(address) view returns (bool)
State-modifying
Events AddModerator(address _newModerator)
ChangeOwner(address _newOwner)
RemoveModerator(address _oldModerator)
UpdateMaintaining(bool _isMaintaining)
addBattleLog(uint32 _castleId, address _attacker, uint8 _ran1, uint8 _ran2, uint8 _ran3, uint8 _result, uint32 _castleExp1, uint32 _castleExp2, uint32 _castleExp3) returns (uint64)
addBattleLogMonsterInfo(uint64 _battleId, uint64 _a1, uint64 _a2, uint64 _a3, uint64 _s1, uint64 _s2, uint64 _s3, uint32 _exp1, uint32 _exp2, uint32 _exp3)
addCastle(address _trainer, string _name, uint64 _a1, uint64 _a2, uint64 _a3, uint64 _s1, uint64 _s2, uint64 _s3, uint32 _brickNumber) returns (uint32 currentCastleId)
deductTrainerBrick(address _trainer, uint32 _deductAmount) returns (bool)
removeCastleFromActive(uint32 _castleId)
renameCastle(uint32 _castleId, string _name)
This contract contains no event objects.
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.