CryptoSagaDungeonVer1

Verified contract

Active on Ethereum with 4,240 txns
Deployed by via 0xcf90742b at 5424532
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
--
0xb5fb26923be07b9f9f9f8b76bb50f1bd608bfef166229169bc3382237d21e262
0x4ab37ee64e6f4b187c4f92f098c271a7c3933912344177da84692088a9323e58
0x9aaccf1c456c9873dc6fdbec0bfd98682a5c67eb0e721eaa04f9a0e560804893
0xec70799659948feb75b1899da92518f2bcf664fab87b5ca1e21d4b0d6be543e6
0x443729f9535bc76a954bc6c21250208038c67cdbff5862439e7b9a7d0abf8f84
0xd7cc16a4586b1dd539b00dd8275bea493a858943b7adff121ed9aa122dd4eb2f
0xa21a08868d92afe79a01b11e64a1d5a78382b0d3315390fe9d53558a1df76430
0xe0d7714eb60165a50036e20c3b96a636afbed2518097baa89adedc113e2a3352
0x16db80f357df956cf601d45e234026b52e43d46e9bff2e4da9227145735f07d6
0xfb1150ce4fadb105b2ab369e85d96148098067dabab71086639cfcffc11305b5

Functions
Getter at block 21290329
cardContract(view returns (address)
0x1b5242794288b45831ce069c9934a29b89af0197
coolDungeon(view returns (uint256)
300
coolHero(view returns (uint256)
900
expReward(view returns (uint32)
100
getInitialEnemyCombination(view returns (uint32[4])
[38, 38, 38, 38]
goldContract(view returns (address)
0x59bcded9c87ce46ec97c13640bfc0390ceb00e99
goldReward(view returns (uint256)
5000000000000000000
initialEnemyCombination(view returns (bool isPersonalized)
false
isTurnDataSaved(view returns (bool)
false
locationId(view returns (uint32)
0
owner(view returns (address)
0x6589adf7720a5b5f80bd391c0bbf2148d00be5ae
paused(view returns (bool)
false
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
previousDungeonId(view returns (uint32)
0
requiredProgressOfPreviousDungeon(view returns (uint32)
0
Read-only
addressToEnemyCombination(addressview returns (bool isPersonalized)
addressToPlayRecord(addressview returns (uint32 initialSeeduint32 progressuint32 expRewarduint256 goldReward)
addressToPlayRecordDateTime(addressview returns (uint256)
addressToTurnInfo(addressview returns (uint8 turnLength)
getEnemyCombinationOfAddress(address _addressview returns (uint32[4])
getLastPlayDateTime(address _addressview returns (uint256 dateTime)
getPlayRecord(address _addressview returns (uint32 initialSeeduint32 progressuint256[4] heroTokenIdsuint32[8] uintClassIdsuint32[8] unitLevelsuint32 expRewardGivenuint256 goldRewardGivenuint8 turnLengthuint8[8] turnOrderuint8[24] defenderListuint32[24] damageList)
getPlayRecordNoTurnData(address _addressview returns (uint32 initialSeeduint32 progressuint256[4] heroTokenIdsuint32[8] uintClassIdsuint32[8] unitLevelsuint32 expRewardGivenuint256 goldRewardGiven)
possibleMobClasses(uint256view returns (uint32)
State-modifying
claimOwnership(
enterDungeon(uint256[4] _tokenIdsuint32 _tryingProgress
pause(
setCoolDungeon(uint32 _value
setCoolHero(uint32 _value
setExpReward(uint32 _value
setGoldReward(uint256 _value
setInitialEnemyCombination(uint32[4] _enemySlotClassIds
setIsTurnDataSaved(bool _value
setLocationId(uint32 _value
setPossibleMobs(uint32[] _classIds
setPreviousDungeoonId(uint32 _dungeonId
setRequiredProgressOfPreviousDungeon(uint32 _progress
transferOwnership(address newOwner
unpause(
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Pause(
TryDungeon(address indexed _byuint32 _tryingProgressuint32 _progressbool _isSuccess
Unpause(
Constructor
constructor(address _progressAddressaddress _heroContractAddressaddress _correctedHeroContractAddressaddress _cardContractAddressaddress _goldContractAddressuint32 _locationIduint256 _coolDungeonuint256 _coolHerouint32 _expRewarduint256 _goldRewarduint32 _previousDungeonIduint32 _requiredProgressOfPreviousDungeonuint32[4] _enemySlotClassIdsbool _isTurnDataSaved
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.