KingOfTheDegens
Verified contract
Active on
Base with 5,028 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xc903…acaa
-
variable spans 1 additional slot
-
variable spans 2 additional slots
-
variable spans 3 additional slots
Balances ($1.31)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
AIINU | ERC-20 | 39 | $0.024177 |
$0.94 | |
LOA | ERC-20 | 40 | $0.005772 |
$0.23 | |
BENTO | ERC-20 | 8.880888M | $0.00 |
$0.08 | |
WGC | ERC-20 | 200 | $0.000256 |
$0.05 | |
BOOMER | ERC-20 | 0.489 | $0.007262 |
$0 | |
USA | ERC-20 | 1 | $0.000544 |
$0 | |
BETS | ERC-20 | 4.2 | $0.000082 |
$0 | |
SUMMER | ERC-20 | 8.453 | $0.000035 |
$0 | |
Boe | ERC-20 | 0.69 | $0.000158 |
$0 | |
Blue | ERC-20 | 0.69 | $0.00004 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16536160 | 5 months ago | | | 0 | 7.5257171e-7 | |
| 16536156 | 5 months ago | | | 0 | 0.0000010143417 | |
| 15005405 | 6 months ago | | | 0 | 0.0000029842097 | |
| 14896496 | 6 months ago | | | 0 | 0.0000029303668 | |
| 14801330 | 6 months ago | | | 0 | 0.0000029855745 | |
| 14716524 | 6 months ago | | | 0 | 0.0000029831253 | |
| 14550299 | 6 months ago | | | 0 | 0.0000029360532 | |
| 14501536 | 7 months ago | | | 0 | 0.0000029872821 | |
| 14498208 | 7 months ago | | | 0 | 0.0000071663539 | |
| 14490734 | 7 months ago | | | 0 | 0.0000038401586 |
ABI
ABI objects
Getter at block 23118082 getCourtMemberPoints() view returns (uint256[10])
DOMAIN_SEPARATOR() view returns (bytes32)
0x47d7033953ad53631d536271f39b95d847cf8c474506a59ddbd803d3da9f2f4b
TRUSTUS_STORM() view returns (bytes32)
0xeb8042f25b217795f608170833efd195ff101fb452e6483bf545403bf6d8f49b
WETH() view returns (address)
0x4200000000000000000000000000000000000006
degenToken() view returns (address)
0x4ed4e862860bed51a9570b96d89af5e1b0efefed
gameAssets() view returns (uint256)
916895634855064258655404
gameDurationBlocks() view returns (uint256)
888300
gameEndBlock() view returns (uint256)
13900320
gameLastBlock() view returns (uint256)
13900319
gameStartBlock() view returns (uint256)
13012020
getCourtAddresses() view returns (address[10])
[0x830Feb1AA1fa1f0e04A7D19652c0891a611f9C54, 0x4a3e6E66f8C32bC05A50879f872B1177A1573CDF, 0x0Db5E7924d87d2EC27876882E7af911A58050Dd1, 0xf894d5C988ac2F019A68d23cC8B47E902C5F7702, 0x43E7a2b5B7FB53E2b18Fc3918db0372C7A17F40c, 0xfCa21091Ca742B5Fd1d029c3a5ba8c4DD5773363, 0x0e0E34094e42F47Fe25Da3cC1b441FaF15f8551A, 0x6c67DbF1d8430Da43A0b8c54f464b2A089Dd4C2B, 0x2943E07Ca68FeBC79533d321F5D427136995ECB6, 0x7799ef8C136606c020cD9E845410AD82125B5Af2]
isGameActive() view returns (bool)
false
isGameEnded() view returns (bool)
true
isGameStarted() view returns (bool)
true
minPlayAmount() view returns (uint256)
1000000000000000
owner() view returns (address)
0x1af758c720d6fdb9652143320d9e00a0a4a89383
paused() view returns (bool)
false
protocolFee() view returns (uint256)
100000000000000
protocolFeeBalance() view returns (uint256)
0
redeemAfterGameEndedBlocks() view returns (uint256)
2592000
stormFrequencyBlocks() view returns (uint256)
1800
storms() view returns (uint256)
7152
totalAssets() view returns (uint256)
916895634855064258655404
totalPoints() view returns (uint256)
888300000000000000000000
totalPointsPerBlock() view returns (uint256)
1000000000000000000
Read-only
calculatePointsEarned(address accountAddress, uint256 endBlockNumber, uint8 courtRole) view returns (uint256)
convertPoints(uint256 points) view returns (uint256)
courtBps(uint8) view returns (uint256)
courtRoles(address) view returns (uint8)
determineCourtRole(address accountAddress, uint256 _randomSeed) view returns (uint8)
getCourtRoleFromAddressesIndex(uint256 index) pure returns (uint8)
getPointsPerBlock(uint8 courtRole) view returns (uint256)
king(uint256) view returns (address)
knights(uint256) view returns (address)
lords(uint256) view returns (address)
pointsBalance(address) view returns (uint256)
roleRanges(uint256) view returns (uint8)
roleStartBlock(address) view returns (uint256)
stormBlock(address) view returns (uint256)
townsfolk(uint256) view returns (address)
State-modifying
Events collectProtocolFees()
depositDegenToGameAssets(uint256 degenAmountWei)
initGameState(uint256 _storms, address[] _accountAddresses, uint256[] _points, uint256[] _stormBlocks)
protocolRedeem()
redeem()
setCourtBps(uint256[4] _courtBps)
setCourtRolePercentages(uint8[4] _courtRolePercentages)
setIsTrusted(address trustedAddress, bool isTrusted)
setStormFrequency(uint256 blocks)
startGame(address[1] _king, address[2] _lords, address[3] _knights, address[4] _townsfolk, uint256 _startBlock)
stormTheCastle(struct TrustusTrustusPacket packet) payable
togglePause()
transferOwnership(address newOwner)
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 _gameDurationBlocks, uint256 _minPlayAmount, uint256 _protocolFee, uint256 _stormFrequencyBlocks, uint256 _redeemAfterGameEndedBlocks, uint256[4] _courtBps, uint8[4] _courtRolePercentages)
receive()
AlreadyCourtMember(address accountAddress, uint8 courtRole)
ArrayLengthMismatch(uint256 length1, uint256 length2)
BadCourtRole(uint8 courtRole)
BadCourtRolePercentages(uint8 percentageTotal)
BadZeroAddress()
CourtRoleMismatch(address accountAddress, uint8 courtRole, uint8 expectedCourtRole)
GameIsActive()
GameNotActive(uint256 gameStartBlock, uint256 gameEndBlock, uint256 currentBlock)
InsufficientBalance()
InsufficientFunds(uint256 valueSent)
RedeemEnded()
RedeemStillActive(uint256 redeemEndedBlock)
TooFrequentStorms(uint256 nextBlockAllowed, uint256 currentBlockNumber)
Trustus__InvalidPacket()