Yolo

Verified contract

Active on Ethereum with 136,829 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $13,086.61
ERC-20
Value $237.66
 (#18644)
ERC-721
--
ERC-20
--
0x76b2525f89bd132b7fbc88b38edbd3037b45816d757257a33e01a702ba636616
0xd771a6a77cb47729932bbb77d5c31feb9fc3796b4a4b8d619f177b900c1cf367
0xd548fb6c989799e285824aae9f86700cd460daf5a91dfd38ebe6ed3849772ba8
0x84404bba954ce9ada54e6583d25a18cca9063d5d80a0f18719f35918545f595e
0x904830be1d2e0475a711a8d27434b7122fa3c57df63e5ac4058c5880fd9ec6eb
0x0d4bd0ab408bc5e605a64c4c67dcf77c0cf5ca340760d423fe9e1cfffa07df1f
0x679eddc4311c1a61cc92caa4b7a59038a9a67be4d3339f61767a1ec61e147383
0xfaad0360713d63e899ae75209ab92d052d49827527db3507d8a0c5d3002199b6
0x3b6b19ea968c33b27e6b7fe19187dfa4c858c231d3279f82df69c2870f52dec7
0xd5cbaeb3b59859990c183058f86594098d6e25e5a08c74f5bb0fb271a51e1b7d

Functions
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(uint256addressview returns (uint256)
getClaimPrizesPaymentRequired(struct IYoloClaimPrizesCalldata[] claimPrizesCalldataview returns (uint256 protocolFeeOwed)
getDeposits(uint256 roundIdview returns (struct IYoloDeposit[])
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isCurrencyAllowed(addressview returns (uint256)
prices(addressuint256view returns (uint256)
randomnessRequests(uint256view returns (bool existsuint40 roundIduint256 randomWord)
rounds(uint256view returns (uint8 statusaddress winneruint40 cutoffTimeuint40 drawnAtuint40 numberOfParticipantsuint40 maximumNumberOfDepositsuint40 maximumNumberOfParticipantsuint16 protocolFeeBpuint256 protocolFeeOweduint256 valuePerEntry)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
cancel(
cancelAfterRandomnessRequest(
cancelCurrentRoundAndDepositToTheNextRound(struct IYoloDepositCalldata[] depositspayable 
claimPrizes(struct IYoloClaimPrizesCalldata[] claimPrizesCalldatapayable 
deposit(uint256 roundIdstruct IYoloDepositCalldata[] depositspayable 
drawWinner(
grantRole(bytes32 roleaddress account
rawFulfillRandomWords(uint256 requestIduint256[] randomWords
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
togglePaused(
updateCurrenciesStatus(address[] currenciesbool 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 roundIduint256[] depositIndices
Events
CurrenciesStatusUpdated(address[] currenciesbool isAllowed
Deposited(address depositoruint256 roundIduint256 entriesCount
DepositsWithdrawn(uint256 roundIdaddress depositoruint256[] depositIndices
ERC20OracleUpdated(address erc20Oracle
MaximumNumberOfDepositsPerRoundUpdated(uint40 maximumNumberOfDepositsPerRound
MaximumNumberOfParticipantsPerRoundUpdated(uint40 maximumNumberOfParticipantsPerRound
Paused(address account
PrizesClaimed(uint256 roundIdaddress winneruint256[] prizeIndices
ProtocolFeeBpUpdated(uint16 protocolFeeBp
ProtocolFeeRecipientUpdated(address protocolFeeRecipient
RandomnessRequested(uint256 roundIduint256 requestId
ReservoirOracleUpdated(address reservoirOracle
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoundDurationUpdated(uint40 roundDuration
RoundStatusUpdated(uint256 roundIduint8 status
SignatureValidityPeriodUpdated(uint40 signatureValidityPeriod
Unpaused(address account
ValuePerEntryUpdated(uint256 valuePerEntry
Constructor
constructor(IYoloConstructorCalldata params
Fallback and receive

This contract contains no fallback and receive objects.

Errors
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 haveaddress want
ProtocolFeeNotPaid(
RandomnessRequestAlreadyExists(
ReentrancyFail(
RoundCannotBeClosed(
SignatureEOAInvalid(
SignatureERC1271Invalid(
SignatureExpired(
SignatureLengthInvalid(uint256 length
SignatureParameterSInvalid(
SignatureParameterVInvalid(uint8 v
ZeroDeposits(