Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x0000…3daf
Balances ($13,324.26)
Native
Value
$13,086.61
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 3.9 | $3,355.54 |
$13,086.61 | |
LOOKS | ERC-20 | 4.31631K | $0.05506 |
$237.66 | |
✺RUGNFT | ERC-721 | 1 | -- | -- | |
HQG | ERC-20 | 0.1488 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19378967 | 9 months ago | | | 0 | 0.0050747223 | |
| 19378963 | 9 months ago | | | 0 | 0.0048649901 | |
| 19218485 | 9 months ago | | | 0 | 0.0027782850 | |
| 19218186 | 9 months ago | | | 0 | 0.0028734001 | |
| 19217884 | 9 months ago | | | 0 | 0.0024789794 | |
| 19217582 | 9 months ago | | | 0 | 0.0022610257 | |
| 19217277 | 9 months ago | | | 0 | 0.0023506272 | |
| 19216972 | 9 months ago | | | 0 | 0.0021558228 | |
| 19216668 | 9 months ago | | | 0 | 0.0024645071 | |
| 19216366 | 9 months ago | | | 0 | 0.0026289628 |
ABI
ABI objects
Getter at block 21271224
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAXIMUM_PROTOCOL_FEE_BP() view returns (uint16)
2500
OPERATOR_ROLE() view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
SUBSCRIPTION_ID() view returns (uint64)
734
erc20Oracle() view returns (address)
0x00000000000a95dbfc66d37f3fc5e597c0b03daf
maximumNumberOfDepositsPerRound() view returns (uint40)
50
maximumNumberOfParticipantsPerRound() view returns (uint40)
50
paused() view returns (bool)
false
protocolFeeBp() view returns (uint16)
500
protocolFeeRecipient() view returns (address)
0xc8c57e4c73c71f72ca0a7e043e5d2d144f98ef13
reservoirOracle() view returns (address)
0xaeb1d03929bf87f69888f381e73fbf75753d75af
roundDuration() view returns (uint40)
3600
roundsCount() view returns (uint40)
28096
signatureValidityPeriod() view returns (uint40)
300
valuePerEntry() view returns (uint256)
10000000000000000
Read-only
depositCount(uint256, address) view returns (uint256)
getClaimPrizesPaymentRequired(struct IYoloClaimPrizesCalldata[] claimPrizesCalldata) view returns (uint256 protocolFeeOwed)
getDeposits(uint256 roundId) view returns (struct IYoloDeposit[])
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isCurrencyAllowed(address) view returns (uint256)
prices(address, uint256) view returns (uint256)
randomnessRequests(uint256) view returns (bool exists, uint40 roundId, uint256 randomWord)
rounds(uint256) view returns (uint8 status, address winner, uint40 cutoffTime, uint40 drawnAt, uint40 numberOfParticipants, uint40 maximumNumberOfDeposits, uint40 maximumNumberOfParticipants, uint16 protocolFeeBp, uint256 protocolFeeOwed, uint256 valuePerEntry)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events cancel()
cancelAfterRandomnessRequest()
cancelCurrentRoundAndDepositToTheNextRound(struct IYoloDepositCalldata[] deposits) payable
claimPrizes(struct IYoloClaimPrizesCalldata[] claimPrizesCalldata) payable
deposit(uint256 roundId, struct IYoloDepositCalldata[] deposits) payable
drawWinner()
grantRole(bytes32 role, address account)
rawFulfillRandomWords(uint256 requestId, uint256[] randomWords)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
togglePaused()
updateCurrenciesStatus(address[] currencies, bool isAllowed)
updateERC20Oracle(address _erc20Oracle)
updateMaximumNumberOfDepositsPerRound(uint40 _maximumNumberOfDepositsPerRound)
updateMaximumNumberOfParticipantsPerRound(uint40 _maximumNumberOfParticipantsPerRound)
updateProtocolFeeBp(uint16 _protocolFeeBp)
updateProtocolFeeRecipient(address _protocolFeeRecipient)
updateReservoirOracle(address _reservoirOracle)
updateRoundDuration(uint40 _roundDuration)
updateSignatureValidityPeriod(uint40 _signatureValidityPeriod)
updateValuePerEntry(uint256 _valuePerEntry)
withdrawDeposits(uint256 roundId, uint256[] depositIndices)
CurrenciesStatusUpdated(address[] currencies, bool isAllowed)
Deposited(address depositor, uint256 roundId, uint256 entriesCount)
DepositsWithdrawn(uint256 roundId, address depositor, uint256[] depositIndices)
ERC20OracleUpdated(address erc20Oracle)
MaximumNumberOfDepositsPerRoundUpdated(uint40 maximumNumberOfDepositsPerRound)
MaximumNumberOfParticipantsPerRoundUpdated(uint40 maximumNumberOfParticipantsPerRound)
Paused(address account)
PrizesClaimed(uint256 roundId, address winner, uint256[] prizeIndices)
ProtocolFeeBpUpdated(uint16 protocolFeeBp)
ProtocolFeeRecipientUpdated(address protocolFeeRecipient)
RandomnessRequested(uint256 roundId, uint256 requestId)
ReservoirOracleUpdated(address reservoirOracle)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
RoundDurationUpdated(uint40 roundDuration)
RoundStatusUpdated(uint256 roundId, uint8 status)
SignatureValidityPeriodUpdated(uint40 signatureValidityPeriod)
Unpaused(address account)
ValuePerEntryUpdated(uint256 valuePerEntry)
constructor(IYoloConstructorCalldata params)
This contract contains no fallback and receive objects.
AlreadyWithdrawn()
CutoffTimeNotReached()
DrawExpirationTimeNotReached()
ERC20TransferFail()
ERC721TransferFromFail()
InsufficientParticipants()
InvalidCollection()
InvalidCurrency()
InvalidIndex()
InvalidLength()
InvalidRoundDuration()
InvalidStatus()
InvalidTokenType()
InvalidValue()
IsPaused()
MaximumNumberOfDepositsReached()
MessageIdInvalid()
NotAContract()
NotDepositor()
NotOperator()
NotOwner()
NotPaused()
NotWinner()
NullSignerAddress()
OnlyCoordinatorCanFulfill(address have, address want)
ProtocolFeeNotPaid()
RandomnessRequestAlreadyExists()
ReentrancyFail()
RoundCannotBeClosed()
SignatureEOAInvalid()
SignatureERC1271Invalid()
SignatureExpired()
SignatureLengthInvalid(uint256 length)
SignatureParameterSInvalid()
SignatureParameterVInvalid(uint8 v)
ZeroDeposits()