KingOfTheDegens
Verified contract
Active on
Base with 3,621 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 12 additional slots
-
variable spans 2 additional slots
Balances ($0.20)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
LOA | ERC-20 | 40 | $0.00215 |
$0.09 | |
GOCHU | ERC-20 | 50K | $0.000001 |
$0.06 | |
WGC | ERC-20 | 200 | $0.000263 |
$0.05 | |
BOOMER | ERC-20 | 0.42 | $0.008549 |
$0 | |
USA | ERC-20 | 1 | $0.000858 |
$0 | |
BETS | ERC-20 | 4.2 | $0.000065 |
$0 | |
SUMMER | ERC-20 | 8.453 | $0.000027 |
$0 | |
Claim: degentoon.com | ERC-20 | 149.9K | -- | -- | |
CHIN | ERC-20 | 10K | -- | -- | |
CHIN | ERC-20 | 5K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 23109301 | 17 days ago | | | 0 | 4.8622869e-7 | |
| 16537068 | 6 months ago | | | 0 | 5.5812901e-7 | |
| 16537065 | 6 months ago | | | 0 | 7.4560003e-7 | |
| 16536991 | 6 months ago | | | 0 | 4.5887399e-7 | |
| 16195216 | 6 months ago | | | 0 | 0.000000097509845654 | |
| 16189039 | 6 months ago | | | 0 | 3.3911900e-7 | |
| 16070189 | 6 months ago | | | 0 | 0.0000011810830 | |
| 15917245 | 6 months ago | | | 0 | 8.2184836e-7 | |
| 15669203 | 6 months ago | | | 0 | 0.0000010738671 | |
| 15603266 | 6 months ago | | | 0 | 1.7734906e-7 |
ABI
ABI objects
Getter at block 23845140 fullCourt() view returns (address[13]) getCourtMemberPoints() view returns (uint256[13])
DOMAIN_SEPARATOR() view returns (bytes32)
0xeaa0019aaf3627782afe8c06516856c3c0244335d060bba18ba61496e4c15aa3
WETH() view returns (address)
0x4200000000000000000000000000000000000006
activePointAllocationTemplate() view returns (uint8)
3
custom1() view returns (address[1])
[0x4a3e6E66f8C32bC05A50879f872B1177A1573CDF]
custom2() view returns (address[1])
[0x0023c7a54de83e945cd8D6C08FCaED141F925E4B]
custom3() view returns (address[1])
[0x0000000000000000000000000000000000000000]
defaultPointAllocationTemplate() view returns (uint8)
3
degenToken() view returns (address)
0x4ed4e862860bed51a9570b96d89af5e1b0efefed
gameAssets() view returns (uint256)
1062796649270612014007338
gameDurationBlocks() view returns (uint256)
1339200
gameEndBlock() view returns (uint256)
15233432
gameLastBlock() view returns (uint256)
15233431
gameStartBlock() view returns (uint256)
13894232
getKingRange() view returns (uint256)
500
isGameActive() view returns (bool)
false
isGameEnded() view returns (bool)
true
isGameStarted() view returns (bool)
true
jester() view returns (address[1])
[0x4a3e6E66f8C32bC05A50879f872B1177A1573CDF]
king() view returns (address[1])
[0xDE0921Bea476036eee30721c528125F6565367ed]
kingProtectionBlocks() view returns (uint256)
10800
knights() view returns (address[3])
[0xD8d6d47cF096c8a78bB232b59ea7bd26170Be9d4, 0xabE8886B6F8Dc7FFFed07C47680FfFC45eBd8ed1, 0xD76104786A14393bBE7D0fDdf269f89Ce5cDa933]
lords() view returns (address[2])
[0x2917814B19Ea662dCb781531e749Bb094841Ae95, 0x2943E07Ca68FeBC79533d321F5D427136995ECB6]
owner() view returns (address)
0x1af758c720d6fdb9652143320d9e00a0a4a89383
paused() view returns (bool)
false
protocolFeePercent() view returns (uint256)
1000
redeemAfterGameEndedBlocks() view returns (uint256)
1296000
stormFee() view returns (uint256)
2000000000000000
stormFrequencyBlocks() view returns (uint256)
1800
storms() view returns (uint256)
3445
totalAssets() view returns (uint256)
1062796649270612014007338
totalPoints() view returns (uint256)
1339200000000000000000000
totalPointsPerBlock() view returns (uint256)
1000000000000000000
townsfolk() view returns (address[4])
[0x4CeDF18Ff6E67817D37b889ec256E7C3A9aE32D6, 0x0D9A5b29Db1A5d109a3f6E3D3D5141691461d44d, 0x1E4942503fdA9FEf427A92AF001fb5Aed5cc0d77, 0x2550d50d0FA9477e4BCdC21626F2edFB94F3Cbf7]
Read-only
calculatePointsEarned(uint8 courtRole, uint256 startBlock) view returns (uint256)
calculatePointsEarned(uint8 courtRole, uint256 startBlock, uint8 pointAllocationTemplate) view returns (uint256)
convertPointsToAssets(uint256 points) view returns (uint256)
court(uint256) view returns (address)
courtRoleOddsCeilings(uint256) view returns (uint256)
courtRoles(address) view returns (uint8)
determineCourtRole(address accountAddress, uint256 _randomSeed) view returns (uint8)
findCourtRole(address accountAddress, uint8 desiredCourtRole) view returns (uint256)
getCourtRoleFromCourtIndex(uint256 index) view returns (uint8)
getCourtRoleIndexes(uint8 courtRole) view returns (uint256 start, uint256 end)
getCourtRolePointAllocation(uint8 courtRole) view returns (uint256)
getCourtRolePointAllocation(uint8 courtRole, uint8 pointAllocationTemplate) view returns (uint256)
getIndexOfAddressInCourt(address accountAddress) view returns (int256)
getPoints(address accountAddress) view returns (uint256)
indexOfAddressInRole(uint8 courtRole, address accountAddress) view returns (uint256)
pointAllocationTemplates(uint8, uint256) view returns (uint256)
pointsBalance(address) view returns (uint256)
roleCounts(uint8) view returns (uint256)
roleIndexCeiling(uint8) view returns (uint256)
roleStartBlock(address) view returns (uint256)
stormBlock(address) view returns (uint256)
State-modifying
Events attackKing(struct TrustusTrustusPacket packet) payable
collectProtocolFees()
depositDegenToGameAssets(uint256 degenAmountWei)
initGameState(uint256 _storms, address[] _accountAddresses, uint256[] _points, uint256[] _stormBlocks)
protocolRedeem()
redeem()
rotateInCourtMember(address accountAddress, uint8 courtRole)
runCourtRoleAction(struct TrustusTrustusPacket packet) payable
runGameStateAction(struct TrustusTrustusPacket packet) payable
setActivePointAllocationTemplate(uint8 _pointAllocationTemplate)
setCourtRoleOdds(uint256[4] _courtRoleOdds)
setGameAssets(uint256 _gameAssets)
setGameDurationBlocks(uint256 blocks)
setIsTrusted(address trustedAddress, bool isTrusted)
setJesterRole(struct TrustusTrustusPacket packet) payable
setKingProtectionBlocks(uint256 _kingProtectionBlocks)
setPointAllocationTemplates(uint256[7][5] _pointAllocationTemplates)
setPointStrategy(struct TrustusTrustusPacket packet) payable
setPointsBalance(address accountAddress, uint256 points)
setProtocolFeePercent(uint256 _protocolFeePercent)
setRoleStartBlock(address accountAddress, uint256 blockNumber)
setStormBlock(address accountAddress, uint256 blockNumber)
setStormFee(struct TrustusTrustusPacket packet) payable
setStormFee(uint256 _stormFee)
setStormFrequency(uint256 blocks)
setTotalPointsPerBlock(uint256 _totalPointsPerBlock)
startGame(address[1] _king, address[2] _lords, address[3] _knights, address[4] _townsfolk, uint256 _gameDurationBlocks, uint256 _startBlock)
stormTheCastle(struct TrustusTrustusPacket packet) payable
swapCourtMember(address accountAddress, uint256 courtIndex)
togglePause()
transferOwnership(address newOwner)
Action(address indexed accountAddress, address indexed outAddress, uint256 indexed outData, string actionType)
CourtRoleAction(address indexed accountAddress, address indexed inAddress, address indexed outAddress, uint256 fid)
GameStateAction(address indexed accountAddress, uint256 indexed fid, string actionType)
OwnershipTransferred(address indexed user, address indexed newOwner)
Paused(address account)
Redeemed(address indexed accountAddress, uint256 indexed amountRedeemed, uint256 indexed pointsRedeemed)
StormTheCastle(address indexed accountAddress, uint8 indexed courtRole, address indexed outAddress, uint256 fid)
Unpaused(address account)
constructor(uint256[4] _courtRoleOdds, uint256[7] _roleCounts, uint256[7][5] _pointAllocationTemplates)
receive()
AlreadyCourtMember(address accountAddress, uint8 courtRole)
ArrayLengthMismatch(uint256 length1, uint256 length2)
GameIsActive()
GameNotActive(uint256 gameStartBlock, uint256 gameEndBlock, uint256 currentBlock)
InsufficientBalance()
InsufficientFunds(uint256 valueSent)
InvalidPercentage(uint256 percentageTotal)
RedeemEnded()
RedeemStillActive()
TooFrequentStorms(uint256 nextBlockAllowed, uint256 currentBlockNumber)
Trustus__InvalidPacket()