DragonKing
Verified contract
Active on
Ethereum with 3,913 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($9,614.16)
Native
Value
$9,614.16
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 2.916935 | $3,295.98 |
$9,614.16 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 8365503 | 5 years ago | | | 0 | 0.000068040000 | |
| 8349757 | 5 years ago | | | 0 | 0.00046872000 | |
| 8267420 | 5 years ago | | | 0 | 0.00024200000 | |
| 8267311 | 5 years ago | | | 0 | 0.00036300000 | |
| 8266422 | 5 years ago | | | 0 | 0.0015400000 | |
| 8266418 | 5 years ago | | | 0 | 0.0011000000 | |
| 8266394 | 5 years ago | | | 0 | 0.0019800000 | |
| 8266362 | 5 years ago | | | 0 | 0.0011000000 | |
| 8266291 | 5 years ago | | | 0 | 0.00022000000 | |
| 8266276 | 5 years ago | | | 0 | 0.00022000000 |
ABI
ABI objects
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(uint32) view returns (uint256)
get10Characters(uint16 startIndex) view returns (uint32[10] characterIds, uint8[10] types, uint128[10] values, address[10] owners)
getCharacter(uint32 characterId) view returns (uint8, uint128, address)
getCharacterIndex(uint32 characterId) view returns (uint16)
ids(uint256) view returns (uint32)
isValidAdversary(uint8 characterType, uint8 adversaryType) pure returns (bool)
lastCastleLootDistributionTimestamp(uint32) view returns (uint256)
numCharactersXType(uint8) view returns (uint16)
protection(uint32) view returns (uint8)
State-modifying
Events addCharacters(uint8 characterType) payable
collectFees(uint128 amount)
destroy()
destroyAndSend(address _recipient)
distributeCastleLoot(uint32 characterId)
distributeCastleLootMulti(uint32[] characterIds)
exit()
fight(uint32 characterID, uint16 characterIndex)
findOldest()
giftCharacter(address receiver, uint8 characterType) payable
payOut()
receiveApproval(address sender, uint256 value, address tokenContract, bytes callData)
sellCharacter(uint32 characterId, uint16 characterIndex)
setLuckRound(uint8 rounds)
stop()
transferOwnership(address _newOwner)
triggerVolcanoEruption()
withdraw()
NewDistributionCastleLoot(uint128 castleLoot, uint32 characterId, uint128 luckFactor)
NewEruption(uint32[] hitCharacters, uint128 value, uint128 gasCost)
NewExit(address player, uint256 totalBalance, uint32[] removedCharacters)
NewFight(uint32 winnerID, uint32 loserID, uint256 value, uint16 probability, uint16 dice)
NewProtection(uint32 characterId, uint8 lifes)
NewPurchase(address player, uint8 characterType, uint16 amount, uint32 startId)
NewSell(uint32 characterId, address player, uint256 value)
NewTeleport(uint32 characterId)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address tptAddress, address ndcAddress, address sklAddress, address xperAddress, address luckAddress, address _configAddress)
This contract contains no fallback and receive objects.
This contract contains no error objects.