This contract is being backfilled. You may encounter incomplete storage history.

CrushGame

Verified contract

Active on Base with 47,538 txns
Deployed by via 0x5f01919a at 21671650
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 3 additional slots
ERC-20
--
0x099d37a2132b097d5eacc0d1c97276154bd7c30873cc7fd5b9b5a7660a0a0302
0x1690bb9d7a51eaa558aa402eaa092eaa1cc74a8ca344da4d475efa539bac97e7
0x467c51194867ff30420195b2b27ed9d48bc2453acaa7f93bac67eeb06541b510
0x0cf96be4d0afcb7063f13c7e3e8005deb1636d017d29d472a4e3d9509a2c43d4
0xa2ef116b1c30dcc1d771959ba17fb15fbf47a26f68f1ed4cf312b17fb4d8fce7
0x10adb99f4f9e8a463df57cb0c62d94950d1cedb12606b227645442bc469716a2
0xb9a8af0ca19a449ef967677aba90fc19019849fdd5fbbef20b8d06a1bed4f920
0x42b15228649230bdba2a83c9322bd72b55ab1369bc4cb5cead885a9630ab5cdd
0x01c0264e979ec055c61d03c55ff32c71d21d8721289526abb5ae1e9ae504cfb1
0x32d585b564771c42ad56d8ecfca6aa0679bd2f6613b913bd29033799ad44f86e

Functions
Getter at block 22927414
_contracts(view returns (address crappyBirdaddress crappsTokenaddress crappyCousinsaddress crappyAchievements)
(crappyBird=0xc8e51fefd7d595c217c7ab641513faa4ad522b26, crappsToken=0xd53f464b4c87dc7b253fdbf51bc5cc1c38684069, crappyCousins=0x200dbec90d7034d708d952f1c9d60eb1a6ce4e3f, crappyAchievements=0x14547ec813f217763054411b1cea8ea9e4d2224d)
_coordinator(view returns (address)
0x69a2109046adb668d7c0ee4653a78c15b2713200
_settings(view returns (uint32 roundDurationuint32 minBreakDurationuint32 breakDurationFactoruint128 crappsFactoruint256 maximumBetSize)
(roundDuration=82, minBreakDuration=5, breakDurationFactor=1, crappsFactor=10, maximumBetSize=500000000000000000000000)
contracts(view returns (struct ICrushGameContracts)
(0xc8e51fefd7d595c217c7ab641513faa4ad522b26, 0xd53f464b4c87dc7b253fdbf51bc5cc1c38684069, 0x200dbec90d7034d708d952f1c9d60eb1a6ce4e3f, 0x14547ec813f217763054411b1cea8ea9e4d2224d)
coordinator(view returns (address)
0x69a2109046adb668d7c0ee4653a78c15b2713200
owner(view returns (address)
0xa81cfe9d29efa7bca56d68f9de45306fa5446f65
round(view returns (struct ICrushGameRound)
(1732644103, 1732644185, 0, true, 0x28ba75520141a68306614a8a6d7a9f85fe624faa307dd7bc92dbc12042ab8c89, 0, 0)
roundId(view returns (uint256)
20918
settings(view returns (struct ICrushGameSettings)
(82, 5, 1, 10, 500000000000000000000000)
status(view returns (bool isActivebool isReady)
(isActive=true, isReady=false)
toResolve(view returns (uint256)
0
Read-only
bets(uint256 idaddress userview returns (struct ICrushGameBet)
betters(uint256 idview returns (address[])
calculateMultiplier(uint256 randomNumberpure returns (uint16)
rounds(uint256 idview returns (struct ICrushGameRound)
State-modifying
changeSettings(struct ICrushGameSettings newSettings
changeTokens(struct ICrushGameContracts newTokens
endRound(uint256 randomNumber
placeBet(uint256 amountuint16 multiplier
renounceOwnership(
resolve(uint256 count
startRound(bytes32 randomNumberHash
transferOwnership(address newOwner
withdraw(address accountuint256 amount
Events
CrushGameAutomationCoordinatorChanged(address indexed previousCoordinatoraddress indexed newCoordinator
CrushGameBetPlaced(uint256 indexed idaddress indexed userstruct ICrushGameBet bet
CrushGameRoundBatchResolved(uint256 indexed iduint256 startIndexuint256 resolvedCount
CrushGameRoundEnded(uint256 indexed iduint256 randomNumberuint16 multiplieruint64 breakDuration
CrushGameRoundStarted(uint256 indexed id
CrushGameSettingsChanged(struct ICrushGameSettings previousSettingsstruct ICrushGameSettings newSettings
CrushGameTokensChanged(struct ICrushGameContracts previousContractsstruct ICrushGameContracts newContracts
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address initialCoordinatorstruct ICrushGameSettings initialSettingsstruct ICrushGameContracts initialTokens
Fallback and receive

This contract contains no fallback and receive objects.

Errors
CrushGameAutomationCoordinatorInvalid(
CrushGameBetAmountTooLarge(uint256 maximumAmount
CrushGameBetAmountTooSmall(uint256 minimumAmount
CrushGameBetMultiplierTooLarge(uint16 maximumMultiplier
CrushGameBetMultiplierTooSmall(uint16 minimumMultiplier
CrushGameInvalidRoundId(uint256 id
CrushGameNothingToResolve(uint256 id
CrushGameRoundActive(uint256 id
CrushGameRoundBetAlready(struct ICrushGameBet existingBet
CrushGameRoundBreakOngoing(uint256 id
CrushGameRoundNotActive(uint256 id
CrushGameRoundOngoing(uint256 id
CrushGameSettingsInvalidRoundDuration(uint32 minimumDuration
CrushGameUnresolvedRound(uint256 id
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account