DragonKing

Verified contract

Active on Ethereum with 3,913 txns
Deployed by via 0x98340283 at 7080515
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $9,614.16
0xc778a65f31d88e7041364672860bc5e9d43704c6926547ec312266bb4cf54cb3
0xdc4f5ae3742899323b51d110763be897be86a0c6e097b474ab778fdd34570e75
0x6525822c5ac42b8e5b63a73cc18e508da376bc68caa66ff8fd8b0167857e2b03
0x5b4378967c6849d72f02296c20e3c68e778236852ee88bc33412ac146df4108e
0x2e3e56d39b62bef6c6cb720e9924b671cbe1b9e3dd4f8ab1ede12603ca86d655
0x22e27297fe29854eb26b1ecd3e4b698bff25a5030bbf0541d1872a5d0c2c8b9b
0xbe103690b41a9fa67942f2f80db6dd055bc5e9f3e0ecaa5908fdecdbbdc011a9
0x1d555a9faf9a593d68b4b7290eb53d3116216835c701baf10ab5d140ca7b8121
0x15f153c22f0adedcb1c315b48c7761d503dc3fdc789eb8bfa80ddbcf54de0e4c
0x08f0c95da930b1bf7b5c45a6545ce0cff84029c7a94b79ab4e14c37909b10035

Functions
Getter at block 21165929
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]
lastEruptionTimestamp(view returns (uint256)
[unknown]
luckRounds(view returns (uint8)
[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)
lastCastleLootDistributionTimestamp(uint32view returns (uint256)
numCharactersXType(uint8view returns (uint16)
protection(uint32view returns (uint8)
State-modifying
addCharacters(uint8 characterTypepayable 
collectFees(uint128 amount
destroy(
destroyAndSend(address _recipient
distributeCastleLoot(uint32 characterId
distributeCastleLootMulti(uint32[] characterIds
exit(
fight(uint32 characterIDuint16 characterIndex
findOldest(
giftCharacter(address receiveruint8 characterTypepayable 
payOut(
receiveApproval(address senderuint256 valueaddress tokenContractbytes callData
sellCharacter(uint32 characterIduint16 characterIndex
setLuckRound(uint8 rounds
stop(
transferOwnership(address _newOwner
triggerVolcanoEruption(
withdraw(
Events
NewDistributionCastleLoot(uint128 castleLootuint32 characterIduint128 luckFactor
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.