RaffleV2
Verified contract
Active on
Ethereum with 7,180 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($18,666.80)
Native
Value
$18,079.77
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 5.176 | $3,493.00 |
$18,079.77 | |
LOOKS | ERC-20 | 10.0771K | $0.058254 |
$587.03 | |
SV | ERC-721 | 1 | -- | -- | |
VTLKP | ERC-721 | 1 | -- | -- | |
xPUNK | ERC-721 | 1 | -- | -- | |
xPUNK | ERC-721 | 1 | -- | -- | |
xPUNK | ERC-721 | 1 | -- | -- | |
xPUNK | ERC-721 | 1 | -- | -- | |
xPUNK | ERC-721 | 1 | -- | -- | |
xPUNK | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21000629 | a month ago | | | 0 | 0.0030539686 | |
| 20964178 | a month ago | | | 0 | 0.0054795200 | |
| 20964171 | a month ago | | | 0 | 0.010654295 | |
| 20963939 | a month ago | | | 0 | 0.0010742044 | |
| 20963933 | a month ago | | | 0 | 0.0010398954 | |
| 20892392 | 2 months ago | | | 0 | 0.0041469358 | |
| 20892370 | 2 months ago | | | 0 | 0.011597319 | |
| 20874582 | 2 months ago | | | 0 | 0.00025419237 | |
| 20874401 | 2 months ago | | | 0 | 0.00027053181 | |
| 20873535 | 2 months ago | | | 0 | 0.00032595871 |
ABI
ABI objects
Getter at block 21265392
MAXIMUM_NUMBER_OF_PRIZES_PER_RAFFLE() view returns (uint256)
200
MAXIMUM_NUMBER_OF_WINNERS_PER_RAFFLE() view returns (uint40)
200
MAXIMUM_PRICING_OPTIONS_PER_RAFFLE() view returns (uint256)
5
MAXIMUM_PROTOCOL_FEE_BP() view returns (uint16)
2500
SUBSCRIPTION_ID() view returns (uint64)
734
owner() view returns (address)
0xb5a9e5a319c7fda551a30be592c77394bf935c6f
ownershipStatus() view returns (uint8)
0
paused() view returns (bool)
false
potentialOwner() view returns (address)
0x0000000000000000000000000000000000000000
protocolFeeBp() view returns (uint16)
500
protocolFeeRecipient() view returns (address)
0xc8c57e4c73c71f72ca0a7e043e5d2d144f98ef13
rafflesCount() view returns (uint80)
338
Read-only
getEntries(uint256 raffleId) view returns (struct IRaffleV2Entry[] entries)
getPricingOptions(uint256 raffleId) view returns (struct IRaffleV2PricingOption[] pricingOptions)
getPrizes(uint256 raffleId) view returns (struct IRaffleV2Prize[] prizes)
getWinners(uint256 raffleId) view returns (struct IRaffleV2Winner[] winners)
isCurrencyAllowed(address) view returns (uint256)
onERC1155Received(address, address, uint256, uint256, bytes) pure returns (bytes4)
raffles(uint256) view returns (address owner, uint8 status, bool isMinimumEntriesFixed, uint40 cutoffTime, uint40 drawnAt, uint40 minimumEntries, uint40 maximumEntriesPerParticipant, address feeTokenAddress, uint16 protocolFeeBp, uint208 claimableFees)
rafflesParticipantsStats(uint256, address) view returns (uint208 amountPaid, uint40 entriesCount, bool refunded)
randomnessRequests(uint256) view returns (bool exists, uint80 raffleId, uint256 randomWord)
State-modifying
Events cancel(uint256 raffleId)
cancelAfterRandomnessRequest(uint256 raffleId)
cancelOwnershipTransfer()
claimFees(uint256 raffleId)
claimPrize(uint256 raffleId, uint256 winnerIndex)
claimPrizes(struct IRaffleV2ClaimPrizesCalldata[] claimPrizesCalldata)
claimRefund(uint256[] raffleIds)
confirmOwnershipRenouncement()
confirmOwnershipTransfer()
createRaffle(struct IRaffleV2CreateRaffleCalldata params) payable returns (uint256 raffleId)
drawWinners(uint256 raffleId)
enterRaffles(struct IRaffleV2EntryCalldata[] entries) payable
initiateOwnershipRenouncement()
initiateOwnershipTransfer(address newPotentialOwner)
rawFulfillRandomWords(uint256 requestId, uint256[] randomWords)
rollover(uint256[] refundableRaffleIds, struct IRaffleV2EntryCalldata[] entries) payable
selectWinners(uint256 requestId)
setProtocolFeeBp(uint16 _protocolFeeBp)
setProtocolFeeRecipient(address _protocolFeeRecipient)
togglePaused()
updateCurrenciesStatus(address[] currencies, bool isAllowed)
withdrawPrizes(uint256 raffleId)
CancelOwnershipTransfer()
CurrenciesStatusUpdated(address[] currencies, bool isAllowed)
EntryRefunded(uint256 raffleId, address buyer, uint208 amount)
EntrySold(uint256 raffleId, address buyer, address recipient, uint40 entriesCount, uint208 price)
FeesClaimed(uint256 raffleId, uint256 amount)
InitiateOwnershipRenouncement()
InitiateOwnershipTransfer(address previousOwner, address potentialOwner)
NewOwner(address newOwner)
Paused(address account)
PrizeClaimed(uint256 raffleId, uint256 winnerIndex)
PrizesClaimed(uint256 raffleId, uint256[] winnerIndex)
ProtocolFeeBpUpdated(uint16 protocolFeeBp)
ProtocolFeeRecipientUpdated(address protocolFeeRecipient)
RaffleStatusUpdated(uint256 raffleId, uint8 status)
RandomnessRequested(uint256 raffleId, uint256 requestId)
Unpaused(address account)
constructor(address _weth, bytes32 _keyHash, uint64 _subscriptionId, address _vrfCoordinator, address _owner, address _protocolFeeRecipient, uint16 _protocolFeeBp, address _transferManager)
This contract contains no fallback and receive objects.
CutoffTimeNotReached()
CutoffTimeReached()
DrawExpirationTimeNotReached()
ERC1155SafeTransferFromFail()
ERC20TransferFail()
ERC721TransferFromFail()
InsufficientNativeTokensSupplied()
InvalidCaller()
InvalidCount()
InvalidCurrency()
InvalidCutoffTime()
InvalidIndex()
InvalidPricingOption()
InvalidPricingOptionsCount()
InvalidPrize()
InvalidPrizesCount()
InvalidProtocolFeeBp()
InvalidProtocolFeeRecipient()
InvalidStatus()
InvalidWinnersCount()
IsPaused()
MaximumEntriesPerParticipantReached()
MaximumEntriesReached()
NoOngoingTransferInProgress()
NotAContract()
NotEnoughEntries()
NotOwner()
NotPaused()
NothingToClaim()
OnlyCoordinatorCanFulfill(address have, address want)
RandomnessRequestAlreadyExists()
RandomnessRequestDoesNotExist()
ReentrancyFail()
RenouncementNotInProgress()
TransferAlreadyInProgress()
TransferNotInProgress()
WrongPotentialOwner()