CryptoSaga Hero
Verified contract
Active on
Ethereum with 9,951 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x59bc…0e99
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
G | ERC-20 | 30M | -- | -- | |
C4Y | ERC-20 | 3.7K | -- | -- | |
PRO | ERC-20 | 0.088889 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21226239 | 5 days ago | | | 0 | 0.00062190751 | |
| 21071415 | a month ago | | | 0 | 0.00061918683 | |
| 21071406 | a month ago | | | 0 | 0.0010513284 | |
| 21064848 | a month ago | | | 0 | 0.00035109097 | |
| 21064844 | a month ago | | | 0 | 0.00037085474 | |
| 20968635 | a month ago | | | 0 | 0.00039189557 | |
| 20968624 | a month ago | | | 0 | 0.00059173577 | |
| 20896469 | 2 months ago | | | 0 | 0.000089555596 | |
| 20896465 | 2 months ago | | | 0 | 0.00014647374 | |
| 20896442 | 2 months ago | | | 0 | 0.00024518644 |
ABI
ABI objects
Getter at block 21265102
goldContract() view returns (address)
0x59bcded9c87ce46ec97c13640bfc0390ceb00e99
name() view returns (string)
CryptoSaga Hero
numberOfHeroClasses() view returns (uint32)
53
numberOfTokenIds() view returns (uint256)
3852
owner() view returns (address)
0x6589adf7720a5b5f80bd391c0bbf2148d00be5ae
paused() view returns (bool)
false
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
requiredExpIncreaseFactor() view returns (uint32)
100
requiredGoldIncreaseFactor() view returns (uint256)
0
symbol() view returns (string)
HERO
totalSupply() view returns (uint256)
3852
Read-only
addressToGoldDeposit(address) view returns (uint256)
approvedFor(uint256 _tokenId) view returns (address)
balanceOf(address _owner) view returns (uint256)
getClassInfo(uint32 _classId) view returns (string className, uint8 classRank, uint8 classRace, uint32 classAge, uint8 classType, uint32 maxLevel, uint8 aura, uint32[5] baseStats, uint32[5] minIVs, uint32[5] maxIVs)
getClassMintCount(uint32 _classId) view returns (uint32)
getClassName(uint32 _classId) view returns (string)
getClassRank(uint32 _classId) view returns (uint8)
getGoldDepositOfAddress(address _address) view returns (uint256)
getHeroAvailableAt(uint256 _tokenId) view returns (uint256)
getHeroBP(uint256 _tokenId) view returns (uint32)
getHeroClassId(uint256 _tokenId) view returns (uint32)
getHeroInfo(uint256 _tokenId) view returns (uint32 classId, string heroName, uint32 currentLevel, uint32 currentExp, uint32 lastLocationId, uint256 availableAt, uint32[5] currentStats, uint32[5] ivs, uint32 bp)
getHeroLevel(uint256 _tokenId) view returns (uint32)
getHeroLocation(uint256 _tokenId) view returns (uint32)
getHeroName(uint256 _tokenId) view returns (string)
getHeroRequiredExpForLevelUp(uint256 _tokenId) view returns (uint32)
getHeroRequiredGoldForLevelUp(uint256 _tokenId) view returns (uint256)
getTokenIdOfAddressAndIndex(address _address, uint256 _index) view returns (uint256)
getTotalBPOfAddress(address _address) view returns (uint32)
heroClasses(uint32) view returns (string className, uint8 classRank, uint8 classRace, uint32 classAge, uint8 classType, uint32 maxLevel, uint8 aura, uint32 currentNumberOfInstancedHeroes)
ownerOf(uint256 _tokenId) view returns (address)
tokenIdToHeroInstance(uint256) view returns (uint32 heroClassId, string heroName, uint32 currentLevel, uint32 currentExp, uint32 lastLocationId, uint256 availableAt)
tokensOf(address _owner) view returns (uint256[])
State-modifying
Events addDeposit(address _to, uint256 _amount)
addExp(uint256 _tokenId, uint32 _exp) returns (bool)
approve(address _to, uint256 _tokenId)
claimOwnership()
defineType(string _className, uint8 _classRank, uint8 _classRace, uint32 _classAge, uint8 _classType, uint32 _maxLevel, uint8 _aura, uint32[5] _baseStats, uint32[5] _minIVForStats, uint32[5] _maxIVForStats)
deploy(uint256 _tokenId, uint32 _locationId, uint256 _duration) returns (bool)
grantAccessDeploy(address _address)
grantAccessDeposit(address _address)
grantAccessMint(address _address)
levelUp(uint256 _tokenId)
mint(address _owner, uint32 _heroClassId) returns (uint256)
pause()
revokeAccessDeploy(address _address)
revokeAccessDeposit(address _address)
revokeAccessMint(address _address)
setGoldContract(address _contractAddress)
setHeroName(uint256 _tokenId, string _name)
setRequiredExpIncreaseFactor(uint32 _value)
setRequiredGoldIncreaseFactor(uint256 _value)
takeOwnership(uint256 _tokenId)
transfer(address _to, uint256 _tokenId)
transferDeposit(uint256 _amount)
transferOwnership(address newOwner)
unpause()
withdrawDeposit(uint256 _amount)
Approval(address indexed _owner, address indexed _approved, uint256 _tokenId)
DefineType(address indexed _by, uint32 indexed _typeId, string _className)
Deploy(address indexed _by, uint256 indexed _tokenId, uint32 _locationId, uint256 _duration)
LevelUp(address indexed _by, uint256 indexed _tokenId, uint32 _newLevel)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Pause()
Transfer(address indexed _from, address indexed _to, uint256 _tokenId)
Unpause()
constructor(address _goldAddress)
This contract contains no fallback and receive objects.
This contract contains no error objects.