EtheremonBattle
Verified contract
Active on
Ethereum with 10,703 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional
variables
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
SGCC | ERC-20 | 200 | -- | -- | |
LINO | ERC-20 | 15 | -- | -- | |
PRO | ERC-20 | 0.088889 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 5073331 | 7 years ago | | | 0 | 0.0010489440 | |
| 5073324 | 7 years ago | | | 0 | 0.0010489440 | |
| 5050540 | 7 years ago | | | 0 | 0.0000025584000 | |
| 5050514 | 7 years ago | | | 0 | 0.0000025584000 | |
| 5050496 | 7 years ago | | | 0 | 0.0000025584000 | |
| 5050451 | 7 years ago | | | 0 | 0.0000025584000 | |
| 5050450 | 7 years ago | | | 0 | 0.0000025584000 | |
| 5050409 | 7 years ago | | | 0 | 0.0000025584000 | |
| 5050401 | 7 years ago | | | 0 | 0.0000025584000 | |
| 5050398 | 7 years ago | | | 0 | 0.000012984000 |
ABI
ABI objects
Getter at block 21210010
GEN0_NO() view returns (uint8)
24
NO_MONSTER() view returns (uint8)
3
STAT_COUNT() view returns (uint8)
6
ancestorBuffPercentage() view returns (uint8)
10
brickETHPrice() view returns (uint256)
4000000000000000
castleContract() view returns (address)
0x75aa01dc00f6aeefe14bd58a5b6cbb091c6dc57b
castleExpAdjustment() view returns (uint8)
125
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
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)
0xfec769e54c266de2bc3fa5df7d9f0fe2a1e39461
totalEarn() view returns (uint256)
11480000000000000000
totalModerators() view returns (uint16)
0
totalWithdraw() view returns (uint256)
11480000000000000000
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 _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, uint8, uint16[6])
getGainExp(uint8 level2, uint8 level, bool _win) pure 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
createCastleWithToken(address _trainer, uint32 _noBrick, string _name, uint64 _a1, uint64 _a2, uint64 _a3, uint64 _s1, uint64 _s2, uint64 _s3)
fastSetCacheClassInfo(uint32 _classId1, uint32 _classId2, uint32 _classId3, uint32 _classId4, uint32 _classId5, uint32 _classId6, uint32 _classId7, uint32 _classId8)
genLevelExp()
removeCastle(uint32 _castleId)
renameCastle(uint32 _castleId, string _name)
setCacheClassInfo(uint32 _classId)
setCastleConfig(uint8 _castleMaxLevelGap, uint16 _maxActiveCastle, uint256 _brickETHPrice, uint8 _castleExpAdjustment, uint32 _castleMinBrick)
setConfig(uint8 _ancestorBuffPercentage, uint8 _gasonBuffPercentage, uint8 _typeBuffPercentage, uint8 _maxLevel, uint8 _maxRandomRound, uint8 _minHpDeducted, uint256 _winTokenReward)
setContract(address _dataContract, address _worldContract, address _tradeContract, address _castleContract, address _paymentContract)
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, address _paymentContract)
This contract contains no fallback and receive objects.
This contract contains no error objects.