EtheremonBattle
Verified contract
Active on
Ethereum with 80,763 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
6 additional
variables
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
GSE | ERC-20 | 7 | $0.00003 |
$0 | |
YOO | ERC-20 | 16.983K | -- | -- | |
GSGC | ERC-20 | 5K | -- | -- | |
SHNZ2 | ERC-20 | 2K | -- | -- | |
UNIX | ERC-20 | 100 | -- | -- | |
CRE | ERC-20 | 30 | -- | -- | |
VIN | ERC-20 | 7.77 | -- | -- | |
PRO | ERC-20 | 0.088889 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 6072729 | 6 years ago | | | 0 | 0.00019092500 | |
| 5977543 | 6 years ago | | | 0 | 0.000052024000 | |
| 5972034 | 6 years ago | | | 0 | 0.00013006000 | |
| 5836622 | 6 years ago | | | 0 | 0.000054625200 | |
| 5828891 | 6 years ago | | | 0 | 0.000028376040 | |
| 5826030 | 6 years ago | | | 0 | 0.00033235200 | |
| 5825503 | 6 years ago | | | 0 | 0.00082812100 | |
| 5825468 | 6 years ago | | | 0 | 0.00082559000 | |
| 5824571 | 6 years ago | | | 0 | 0.00092926460 | |
| 5824531 | 6 years ago | | | 0 | 0.00086814600 |
ABI
ABI objects
Getter at block 21256227
GEN0_NO() view returns (uint8)
24
NO_MONSTER() view returns (uint8)
3
STAT_COUNT() view returns (uint8)
6
ancestorBuffPercentage() view returns (uint8)
10
attackerExpAdjustment() view returns (uint8)
100
brickETHPrice() view returns (uint256)
8000000000000000
castleContract() view returns (address)
0x75aa01dc00f6aeefe14bd58a5b6cbb091c6dc57b
castleExpAdjustment() view returns (uint8)
100
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
levelExpAdjustment() view returns (uint8)
3
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)
0xeb0058ce60d753004b0efa2164f88b2a5b528e7d
totalEarn() view returns (uint256)
26580000000000000000
totalModerators() view returns (uint16)
0
totalWithdraw() view returns (uint256)
26580000000000000000
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) 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
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, uint8 _attackerExpAdjustment, uint8 _levelExpAdjustment, 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.