EtheremonBattle
Verified contract
Active on
Ethereum with 574 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) |
---|---|---|---|---|---|---|---|
| 6783223 | 6 years ago | | | 0 | 0.0010080400 | |
| 4955386 | 7 years ago | | | 0 | 0.00020468000 | |
| 4945767 | 7 years ago | | | 0 | 0.0000025201000 | |
| 4944215 | 7 years ago | | | 0 | 0.0000025329000 | |
| 4943803 | 7 years ago | | | 0 | 0.0000025201000 | |
| 4938380 | 7 years ago | | | 0 | 0.000050658000 | |
| 4938353 | 7 years ago | | | 0 | 0.000012664500 | |
| 4935724 | 7 years ago | | | 0 | 0.0000025201000 | |
| 4934349 | 7 years ago | | | 0 | 0.000025050381 | |
| 4932870 | 7 years ago | | | 0 | 0.000025201000 |
ABI
ABI objects
Getter at block 21159406
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)
0x2c1c95a3d9443e5eef3d716fcc6372c26f3e68e0
totalEarn() view returns (uint256)
6256000000000000000
totalModerators() view returns (uint16)
0
totalWithdraw() view returns (uint256)
6256000000000000000
tradeContract() view returns (address)
0x65c440683088134aef7af22f3fad6a9ee5c19fed
typeBuffPercentage() view returns (uint8)
20
winBrickReturn() view returns (uint8)
8
worldContract() view returns (address)
0x1fc7bd85293f3982f40d52698df8d26be89360d6
Read-only
calHpDeducted(uint16 _attack, uint16 _specialAttack, uint16 _defense, uint16 _specialDefense, bool _lucky) view returns (uint16)
getCacheClassSize(uint32 _classId) view returns (uint256, uint256, uint256)
getCurrentStats(uint64 _objId) view returns (uint32, uint32, uint16[6])
getGainExp(uint32 _exp1, uint32 _exp2, bool _win) view returns (uint32)
getLevel(uint32 exp) view returns (uint8)
getMonsterCP(uint64 _objId) view returns (uint64)
getMonsterLevel(uint64 _objId) view returns (uint32, uint8)
getObjExp(uint64 _objId) view returns (uint32, uint32)
getRandom(uint8 maxRan, uint8 index, address priAddress) view returns (uint8)
getSupporterInfo(uint64 s1, uint64 s2, uint64 s3) view returns (struct (uint32, bool, uint8, uint32, bool, uint8, uint32, bool, uint8) sData)
hasValidParam(address trainer, uint64 _a1, uint64 _a2, uint64 _a3, uint64 _s1, uint64 _s2, uint64 _s3) view returns (bool)
isOnBattle(uint64 _objId) view returns (bool)
isValidOwner(uint64 _objId, address _owner) view returns (bool)
moderators(address) view returns (bool)
State-modifying
Events AddModerator(address _newModerator)
ChangeOwner(address _newOwner)
RemoveModerator(address _oldModerator)
UpdateMaintaining(bool _isMaintaining)
attackCastle(uint32 _castleId, uint64 _aa1, uint64 _aa2, uint64 _aa3, uint64 _as1, uint64 _as2, uint64 _as3)
createCastle(string _name, uint64 _a1, uint64 _a2, uint64 _a3, uint64 _s1, uint64 _s2, uint64 _s3) payable
genLevelExp()
removeCastle(uint32 _castleId)
renameCastle(uint32 _castleId, string _name)
setCacheClassInfo(uint32 _classId)
setConfig(uint8 _ancestorBuffPercentage, uint8 _gasonBuffPercentage, uint8 _typeBuffPercentage, uint32 _castleMinBrick, uint8 _maxLevel, uint16 _maxActiveCastle, uint8 _maxRandomRound, uint8 _minHpDeducted)
setContract(address _dataContract, address _worldContract, address _tradeContract, address _castleContract)
setTypeAdvantage(uint8 _type1, uint8 _type2)
setTypeAdvantages()
withdrawEther(address _sendTo, uint256 _amount)
EventAttackCastle(address indexed attacker, uint32 castleId, uint8 result)
EventCreateCastle(address indexed owner, uint32 castleId)
EventRemoveCastle(uint32 indexed castleId)
constructor(address _dataContract, address _worldContract, address _tradeContract, address _castleContract)
This contract contains no fallback and receive objects.
This contract contains no error objects.