Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x8ce2…8db3
-
variable spans 1 additional slot
0x88b6…7df4
0x836a…f585
0x3d5f…a0c0
8 additional
variables
Balances ($10,206.04)
Native
Value
$10,206.04
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 2.830851 | $3,605.29 |
$10,206.04 | |
0x8ce2…8db3 | ERC-20 | 82,445,000,000T | -- | -- | |
OLE | ERC-20 | 10 | -- | -- | |
BONUS | ERC-20 | 5 | -- | -- | |
EBK | ERC-20 | 2.830851 | -- | -- | |
PRO | ERC-20 | 0.088889 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15615200 | 2 years ago | | | 0 | 0.00012871818 | |
| 15615194 | 2 years ago | | | 0 | 0.00012040154 | |
| 6901602 | 6 years ago | | | 0 | 0.0013604960 | |
| 6283127 | 6 years ago | | | 0 | 0.0011529000 | |
| 6102083 | 6 years ago | | | 0 | 0.00034131000 | |
| 6057291 | 6 years ago | | | 0 | 0.000024686000 | |
| 6057272 | 6 years ago | | | 0 | 0.000024686000 | |
| 6012517 | 6 years ago | | | 0 | 0.000028479000 | |
| 6012424 | 6 years ago | | | 0 | 0.00041849600 | |
| 5873706 | 6 years ago | | | 0 | 0.00080937200 |
ABI
ABI objects
Getter at block 21293657
candy() view returns (uint256)
50000000000000000000
cdFee() view returns (uint128)
118102796674000
erc20() view returns (address)
0x8ce2236bb743ef077409b43e541eaa4f5b928db3
fightAuction() view returns (address)
0x3d5f2f4e4b9cf03e896ff2093569078ce45ba0c0
gen0AuctionDuration() view returns (uint256)
86400
gen0CreatedCount() view returns (uint256)
449
gen0CreationLimit() view returns (uint256)
50000
gen0StartingPrice() view returns (uint256)
100000000000000000
implementsERC721() pure returns (bool)
true
leaderAddress() view returns (address)
0xb2c6f02f37a8c801311571fed61b9e7095d40017
magicStore() view returns (address)
0x7f24f049f896c123a75c9a8af26c6fec41fd847e
masterRecruitment() view returns (address)
0x88b6772f3e8afb2ac64e39ee2d3a1567b1e37df4
name() view returns (string)
MyHero
newContractAddress() view returns (address)
0x0000000000000000000000000000000000000000
opmAddress() view returns (address)
0x04485eb766dd6c9409503dd8f91186340c0526ba
ownerCut() view returns (uint256)
500
paused() view returns (bool)
false
promoCreatedCount() view returns (uint256)
341
promoCreationLimit() view returns (uint256)
5000
saleAuction() view returns (address)
0x836a5f830d695b4f9975ee87b0b0be68c44ff585
symbol() view returns (string)
MH
totalBalance() view returns (uint256)
52445000000000000000000
totalPromo() view returns (uint256)
24600000000000000000000
totalSupply() view returns (uint256)
1104
totalUsed() view returns (uint256)
1852576337336639444910
Read-only
balanceOf(address _owner) view returns (uint256 count)
cooldowns(uint256) view returns (uint32)
getHero(uint256 _id) view returns (bool isReady, uint256 cooldownIndex, uint256 nextActionAt, uint256 recruitmentTime, uint256 yinId, uint256 yangId, uint256 generation, uint256 talent, uint256 belongings, uint32 items)
heroIndexToApproved(uint256) view returns (address)
heroIndexToLoss(uint256) view returns (uint32)
heroIndexToOwner(uint256) view returns (address)
heroIndexToWin(uint256) view returns (uint32)
isReadyToFight(uint256 _heroId) view returns (bool)
ownerIndexToERC20Balance(address) view returns (uint256)
ownerIndexToERC20Used(address) view returns (uint256)
ownerOf(uint256 _tokenId) view returns (address owner)
reduceCDFee(uint256 heroId) view returns (uint256 fee)
tokensOfOwnerByIndex(address _owner, uint256 _index) view returns (uint256 tokenId)
State-modifying
Events approve(address _to, uint256 _tokenId)
charge(uint256 amount)
collect(uint256 amount)
createFightAuction(uint256 _heroId, uint256 _startingPrice, uint256 _endingPrice, uint256 _duration)
createGen0Auction(uint256 _talent, uint256 price)
createPromoHero(uint256 _talent, address _owner)
createSaleAuction(uint256 _heroId, uint256 _startingPrice, uint256 _endingPrice, uint256 _startingPriceEth, uint256 _endingPriceEth, uint256 _duration)
orderOnFightAuction(uint256 _yangId, uint256 _yinId, uint256 orderAmount)
orderOnSaleAuction(uint256 _heroId, uint256 orderAmount)
pause()
promoBun(address _address)
reduceCD(uint256 heroId, uint256 reduceAmount)
rescueLostHero(uint256 _heroId, address _recipient)
setCut(uint256 newCut)
setERC20Address(address _address, uint256 _totalPromo, uint256 _candy)
setERC20TotalPromo(uint256 _totalPromo, uint256 _candy)
setFightAuctionAddress(address _address)
setLeader(address _newLeader)
setMagicStore(address _address)
setMasterRecruitmentAddress(address _address)
setNewAddress(address _v2Address)
setNewCdFee(uint128 _cdFee)
setOPM(address _newOPM)
setSaleAuctionAddress(address _address)
transfer(address _to, uint256 _tokenId)
transferFrom(address _from, address _to, uint256 _tokenId)
unpause()
useItems(uint32 _items, uint256 tokenId, address owner, uint256 fee) returns (bool flag)
withdrawAuctionBalances()
withdrawBalance()
withdrawERC20Balance(uint256 amount)
withdrawOtherERC20Balance(uint256 amount, address _address)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ContractUpgrade(address newContract)
ItmesChange(uint256 indexed tokenId, uint256 items)
Recruitment(address indexed owner, uint256 heroId, uint256 yinId, uint256 yangId, uint256 talent)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
constructor()
fallback()
This contract contains no error objects.