Lootery

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x9af6bfa9 at 10444800
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Lootery"

No transactions found for "Lootery"


Functions
Getter at block 22760790
accruedCommunityFees(view returns (uint256)
0
communityFeeBps(view returns (uint256)
0
currentGameId(view returns (uint256)
0
gamePeriod(view returns (uint256)
0
gameState(view returns (uint8)
0
maxBallValue(view returns (uint8)
0
name(view returns (string)
numPicks(view returns (uint8)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
prizeToken(view returns (address)
0x0000000000000000000000000000000000000000
randomiser(view returns (address)
0x0000000000000000000000000000000000000000
randomnessRequest(view returns (uint208 requestIduint48 timestamp)
(requestId=0, timestamp=0)
symbol(view returns (string)
ticketPrice(view returns (uint256)
0
Read-only
balanceOf(address ownerview returns (uint256)
gameData(uint256 gameIdview returns (uint128 jackpotuint64 ticketsSolduint64 startedAt)
getApproved(uint256 tokenIdview returns (address)
isApprovedForAll(address owneraddress operatorview returns (bool)
ownerOf(uint256 tokenIdview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByPickIdentity(uint256 gameIduint256 iduint256view returns (uint256)
tokenIdToGameId(uint256 tokenIdview returns (uint256)
tokenIdToTicket(uint256 tokenIdview returns (uint256)
tokenURI(uint256 tokenIdview returns (string)
winningPickIds(uint256 gameIdview returns (uint256)
State-modifying
approve(address touint256 tokenId
claimWinnings(uint256 tokenId
draw(
init(address owner_string name_string symbol_uint8 numPicks_uint8 maxBallValue_uint256 gamePeriod_uint256 ticketPrice_uint256 communityFeeBps_address randomiser_address prizeToken_
ownerPick(struct LooteryTicket[] tickets
purchase(struct LooteryTicket[] tickets
receiveRandomWords(uint256 requestIduint256[] randomWords
renounceOwnership(
rescueETH(
rescueTokens(address tokenAddress
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
seedJackpot(uint128 value
setApprovalForAll(address operatorbool approved
transferFrom(address fromaddress touint256 tokenId
transferOwnership(address newOwner
withdrawAccruedFees(
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
ConsolationClaimed(uint256 indexed tokenIduint256 indexed gameIdaddress whomstuint256 value
DrawSkipped(uint256 indexed gameId
GameFinalised(uint256 gameIduint8[] winningPicks
Initialized(uint64 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Received(address senderuint256 amount
TicketPurchased(uint256 indexed gameIdaddress indexed whomstuint256 indexed tokenIduint8[] picks
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Transferred(address touint256 value
WinningsClaimed(uint256 indexed tokenIduint256 indexed gameIdaddress whomstuint256 value
Constructor
constructor(
Fallback and receive
receive(
Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
CallerNotRandomiser(address caller
ClaimWindowMissed(uint256 tokenId
ERC721IncorrectOwner(address senderuint256 tokenIdaddress owner
ERC721InsufficientApproval(address operatoruint256 tokenId
ERC721InvalidApprover(address approver
ERC721InvalidOperator(address operator
ERC721InvalidOwner(address owner
ERC721InvalidReceiver(address receiver
ERC721InvalidSender(address sender
ERC721NonexistentToken(uint256 tokenId
FailedInnerCall(
GameAlreadyDrawn(
IncorrectPaymentAmount(uint256 paiduint256 expected
InsufficientOperationalFunds(uint256 haveuint256 want
InsufficientRandomWords(
InvalidBallValue(uint256 ballValue
InvalidGamePeriod(uint256 gamePeriod
InvalidInitialization(
InvalidInputs(
InvalidNumPicks(uint256 numPicks
InvalidRandomiser(address randomiser
InvalidTicketPrice(uint256 ticketPrice
JackpotOverflow(uint256 value
NoWin(uint256 pickIduint256 winningPickId
NotInitializing(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
RequestAlreadyInFlight(uint256 requestIduint256 timestamp
RequestIdMismatch(uint256 actualuint208 expected
RequestIdOverflow(uint256 requestId
SafeERC20FailedOperation(address token
TicketsSoldOverflow(uint256 value
TransferFailure(address touint256 valuebytes reason
UnexpectedState(uint8 actualuint8 expected
UnsortedPicks(uint8[] picks
WaitLonger(uint256 deadline