DragonKing

Verified contract

Active on Ethereum with 3,906 txns
Deployed by via 0x568a4cbc at 6450603
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $22,906.33
ERC-20
--
0x1d277c435df549c6c9ddb8502b47d475fcf1ae2812a95c5e79b1a84da1842f54
0x2164349c2ea4d5408cfc4ae9d0a0a1e14ca553939b5473c7e79ced45ca8a673e
0xb6e99e59802eeba421f0d487f819bffa57d2d6333c7056354ea143056dcff4d6
0x2475c44539fe8e2c9a7d4ed5e5751bb9736793ce714ddf2c3fa1f967250f96e3
0xde980e18b6c2e0140b0b7c4853e25c1c55707567bfbbe8d8326a2518861c90a6
0x1d1590701503e00352b59f9f965b657954d77c85c30978148b732f8aa2d5c647
0x792263bff9618f02019f6b6e75a493fd373ac602cb845ed5dc2b544f1d6f73bd
0x56dc61246479eafbc9b46962c0d0949ff668e5fbad63a540457f518f5b918972
0x4f598564747759b75647eb8e361383c7281c9b39b267ebc939cbd965dfb4e6ff
0x0bf9af3acc2165d6bc5ae2e79c850b2098e68d856c911df82dfc521b363bc2c2

Functions
Getter at block 21310116
ARCHER_MAX_TYPE(view returns (uint8)
[unknown]
ARCHER_MIN_TYPE(view returns (uint8)
[unknown]
BALLOON_MAX_TYPE(view returns (uint8)
[unknown]
BALLOON_MIN_TYPE(view returns (uint8)
[unknown]
DRAGON_MAX_TYPE(view returns (uint8)
[unknown]
DRAGON_MIN_TYPE(view returns (uint8)
[unknown]
INVALID_CHARACTER_INDEX(view returns (uint16)
[unknown]
INVALID_CHARACTER_TYPE(view returns (uint8)
[unknown]
KNIGHT_MAX_TYPE(view returns (uint8)
[unknown]
KNIGHT_MIN_TYPE(view returns (uint8)
[unknown]
NUMBER_OF_LEVELS(view returns (uint8)
[unknown]
WIZARD_MAX_TYPE(view returns (uint8)
[unknown]
WIZARD_MIN_TYPE(view returns (uint8)
[unknown]
castleTreasury(view returns (uint128)
[unknown]
config(view returns (address)
[unknown]
getFees(view returns (uint256)
[unknown]
getNumArchers(view returns (uint16 numArchers)
[unknown]
getNumDragons(view returns (uint16 numDragons)
[unknown]
getNumKnights(view returns (uint16 numKnights)
[unknown]
getNumWizards(view returns (uint16 numWizards)
[unknown]
lastCastleLootDistributionTimestamp(view returns (uint256)
[unknown]
lastEruptionTimestamp(view returns (uint256)
[unknown]
nextId(view returns (uint32)
[unknown]
noKing(view returns (uint32)
[unknown]
numCharacters(view returns (uint16)
[unknown]
oldest(view returns (uint32)
[unknown]
owner(view returns (address)
[unknown]
Read-only
cooldown(uint32view returns (uint256)
get10Characters(uint16 startIndexview returns (uint32[10] characterIdsuint8[10] typesuint128[10] valuesaddress[10] owners)
getCharacter(uint32 characterIdview returns (uint8uint128address)
getCharacterIndex(uint32 characterIdview returns (uint16)
ids(uint256view returns (uint32)
isValidAdversary(uint8 characterTypeuint8 adversaryTypepure returns (bool)
numCharactersXType(uint8view returns (uint16)
protection(uint32view returns (uint8)
State-modifying
addCharacters(uint8 characterTypepayable 
collectFees(uint128 amount
destroy(
destroyAndSend(address _recipient
distributeCastleLoot(
exit(
fight(uint32 characterIDuint16 characterIndex
findOldest(
giftCharacter(address receiveruint8 characterTypepayable 
payOut(
receiveApproval(address senderuint256 valueaddress tokenContractbytes callData
sellCharacter(uint32 characterId
setConfig(address _value
stop(
transferOwnership(address newOwner
triggerVolcanoEruption(
withdraw(
Events
NewDistributionCastleLoot(uint128 castleLoot
NewEruption(uint32[] hitCharactersuint128 valueuint128 gasCost
NewExit(address playeruint256 totalBalanceuint32[] removedCharacters
NewFight(uint32 winnerIDuint32 loserIDuint256 valueuint16 probabilityuint16 dice
NewProtection(uint32 characterIduint8 lifes
NewPurchase(address playeruint8 characterTypeuint16 amountuint32 startId
NewSell(uint32 characterIdaddress playeruint256 value
NewTeleport(uint32 characterId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address tptAddressaddress ndcAddressaddress sklAddressaddress xperAddressaddress luckAddressaddress _configAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.