EtheremonBattle
Verified contract
Active on
Ethereum with 4,047 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 | -- | -- | |
PRO | ERC-20 | 0.088889 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 4961904 | 7 years ago | | | 0 | 0.00010166000 | |
| 4961901 | 7 years ago | | | 0 | 0.00010166000 | |
| 4959777 | 7 years ago | | | 0 | 0.0000075669000 | |
| 4959599 | 7 years ago | | | 0 | 0.0000075669000 | |
| 4958171 | 7 years ago | | | 0 | 0.0000075669000 | |
| 4958160 | 7 years ago | | | 0 | 0.0000075669000 | |
| 4957110 | 7 years ago | | | 0 | 0.0000075669000 | |
| 4957093 | 7 years ago | | | 0 | 0.0000075669000 | |
| 4956307 | 7 years ago | | | 0 | 0.0000075669000 | |
| 4955257 | 7 years ago | | | 0 | 0.0000075669000 |
ABI
ABI objects
Getter at block 21287965
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)
0xe0a66218c40230967d4240d25f6220a28e52c7ff
totalEarn() view returns (uint256)
43304000000000000000
totalModerators() view returns (uint16)
0
totalWithdraw() view returns (uint256)
43304000000000000000
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
fastSetCacheClassInfo(uint32 _classId1, uint32 _classId2, uint32 _classId3, uint32 _classId4)
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.