MiniGame

Verified contract

Active on Base with 66 txns
Deployed by via 0x1c6ff2b6 at 11480622
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $86.19
0x4c50fb2e2cd59bae942137d38b4169ce788cb44822c4477af44d9265a0452ab8
0x515342be83d966ac9e3f2af6b24e57c603711e8e56a0ce81b34ca8e881cbbc8d
0x459261c3e03d3a58bb299417516548f23462c2d7eb530d4b927904527b9347a4
0x5bb370df54bac95e3924b2e5a11c88fc5dfcd98482b1eb475b26495bb5d5f8dc
0xae4fddc4a69f8c50230f962adbba63ece4901999672cc766aae5b6af89caf6dd
0x5d3a5b531caf2f60fb2f11f0d9c75c6fd833860670e73ff5e114e9b0d18a16a2
0x819b1c0744367aa4df5572a811405fd1a719a6b09b3a3cfa0a8643f2205b49f6
0x1027ec30ff9d81cb46c3cec2964d2ab3598f872dbd47246fa5deadbf15503e7b
0x2eba92709a45813f0f039accb8e8059a29a0b1192b8f8b858e98dda6d5b7171a
0x74e9de8ecf81a3e87fea2b3282c816107dc89694bf99823b611dba32e930f5a3

Functions
Getter at block 22037652
owner(view returns (address)
0x95b94af6a603f75a2a1c4712e7ec53aff1e8bbf6
roundNumber(view returns (uint256)
5
Read-only
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
getGame(uint256 _roundNumberview returns (struct IMiniGameGuessTheNumber)
getGuesses(uint256 _roundNumberuint256 _guessview returns (address[])
getPlayerGuess(uint256 _roundNumberaddress _playerview returns (uint256)
getWinners(uint256 _roundNumberview returns (address[])
guessLookup(uint256 roundNumaddress playerview returns (uint256 guess)
guessTheNumberGames(uint256 roundNumview returns (uint256 rangeuint256 winningNumberuint256 guessCountuint256 playersAddedbool active)
guesses(uint256 roundNumuint256 guessuint256view returns (address guessers)
isApprovedForAll(address accountaddress operatorview returns (bool)
players(uint256 roundNumaddress playerview returns (bool canPlay)
roundWinners(uint256 roundNumuint256view returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
uri(uint256 _idview returns (string)
State-modifying
addPlayers(address[] _players
addPlayers(address[] _playersuint256 etherAmount
endGame(
guessTheNumber(uint256 _guess
newGame(uint256 _range
renounceOwnership(
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] valuesbytes data
safeTransferFrom(address fromaddress touint256 iduint256 valuebytes data
setApprovalForAll(address operatorbool approved
setURI(string newuri
transferOwnership(address newOwner
withdraw(
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Constructor
constructor(
Fallback and receive
receive(
Errors
ERC1155InsufficientBalance(address senderuint256 balanceuint256 neededuint256 tokenId
ERC1155InvalidApprover(address approver
ERC1155InvalidArrayLength(uint256 idsLengthuint256 valuesLength
ERC1155InvalidOperator(address operator
ERC1155InvalidReceiver(address receiver
ERC1155InvalidSender(address sender
ERC1155MissingApprovalForAll(address operatoraddress owner
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
alreadyInRound(
failedToSendEth(
gameIsNotActive(
guessNotInRange(
insufficientContractBalance(
playerNotInRound(
rangeShouldBeGreaterThanZero(