EtheremonGym
Verified contract
Active on
Ethereum with 31,705 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($9.58)
Native
Value
$9.55
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.003 | $3,184.04 |
$9.55 | |
GSC | ERC-20 | 20 | $0.001148 |
$0.02 | |
YOO | ERC-20 | 20K | -- | -- | |
CNN | ERC-20 | 128 | -- | -- | |
CIC | ERC-20 | 40 | -- | -- | |
LINO | ERC-20 | 20 | -- | -- | |
DTA | ERC-20 | 10 | -- | -- | |
VIN | ERC-20 | 7.77 | -- | -- | |
PRO | ERC-20 | 0.088889 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12750657 | 3 years ago | | | 0.001 | 0.0011031920 | |
| 7892765 | 5 years ago | | | 0.001 | 0.00020263100 | |
| 7892745 | 5 years ago | | | 0.001 | 0.00039627200 | |
| 7787718 | 5 years ago | | | 0 | 0.0013245050 | |
| 7347136 | 6 years ago | | | 0.001 | 0.00058587000 | |
| 7307689 | 6 years ago | | | 0.001 | 0.00065030100 | |
| 7306788 | 6 years ago | | | 0.001 | 0.0011414200 | |
| 7306709 | 6 years ago | | | 0.001 | 0.00074804520 | |
| 7306707 | 6 years ago | | | 0.001 | 0.00057820800 | |
| 7306704 | 6 years ago | | | 0.001 | 0.00079929780 |
ABI
ABI objects
Getter at block 21162214
STAT_COUNT() view returns (uint8)
6
dataContract() view returns (address)
0xabc1c404424bdf24c19a5cc5ef8f47781d18eb3e
expPercentage() view returns (uint8)
70
gymFee() view returns (uint256)
1000000000000000
isMaintaining() view returns (bool)
false
maxRandomRound() view returns (uint8)
4
maxTrainerLevel() view returns (uint8)
10
minHpDeducted() view returns (uint8)
10
owner() view returns (address)
0xe0a66218c40230967d4240d25f6220a28e52c7ff
totalModerators() view returns (uint16)
0
totalTrainer() view returns (uint8)
9
typeBuffPercentage() view returns (uint8)
20
worldContract() view returns (address)
0x1fc7bd85293f3982f40d52698df8d26be89360d6
Read-only
attack(uint8 _index, uint8 _ran, uint16[6] _aStats, uint16[6] _bStats) view returns (bool win)
attackTrainer(uint8 _index, uint8 _ran, uint8 _trainerId, uint8 _trainerLevel, uint32 _objClassId, uint16[6] _objStats) view returns (bool result)
calHpDeducted(uint16 _attack, uint16 _specialAttack, uint16 _defense, uint16 _specialDefense, bool _lucky) view returns (uint16)
getCacheClassSize(uint32 _classId) view returns (uint256, uint256, uint256)
getGainExp(uint8 xLevel, uint8 yLevel) view returns (uint32 winExp, uint32 loseExp)
getLevel(uint32 exp) view returns (uint8)
getObjInfo(uint64 _objId) view returns (uint32 classId, address trainee, uint8 level)
getRandom(uint8 maxRan, uint8 index) view returns (uint8)
getTrainerInfo(uint8 _trainerId) view returns (uint32, uint8, uint8, uint8, uint8, uint8, uint8)
getTrainingLog(address _trainee) view returns (uint8, uint8, uint8, uint64, uint8, uint8, uint8)
gymTrainers(uint8) view returns (uint32 classId)
moderators(address) view returns (bool)
trainees(address) view returns (uint8 trainerLevel, uint64 objId, uint8 objLevel, uint8 ran)
State-modifying
Events AddModerator(address _newModerator)
ChangeOwner(address _newOwner)
RemoveModerator(address _oldModerator)
UpdateMaintaining(bool _isMaintaining)
fastSetCacheClassInfo(uint32 _classId1, uint32 _classId2, uint32 _classId3, uint32 _classId4)
genLevelExp()
genLevelExpGain()
presetGymTrainer()
setCacheClassInfo(uint32 _classId)
setConfig(uint256 _gymFee, uint8 _maxTrainerLevel, uint8 _maxRandomRound, uint8 _typeBuffPercentage, uint8 _minHpDeducted, uint8 _expPercentage)
setContract(address _dataContract, address _worldContract)
setGymTrainer(uint8 _trainerId, uint32 _classId, uint8 _s0, uint8 _s1, uint8 _s2, uint8 _s3, uint8 _s4, uint8 _s5)
setLevelExpGain(uint8 _level, uint32 _exp)
setTypeAdvantage(uint8 _type1, uint8 _type2)
setTypeAdvantages()
startTraining(uint64 _objId, uint8 _trainerLevel, uint8 _t1, uint8 _t2, uint8 _t3) payable
withdrawEther(address _sendTo, uint256 _amount)
This contract contains no event objects.
constructor(address _dataContract, address _worldContract)
This contract contains no fallback and receive objects.
This contract contains no error objects.