EeseeWinner
Eesee
Eesee contract.
random
Contract that provides Eesee with random.
returnInterval
In case random request fails to get delivered {returnInterval} seconds after the lot was closed, unlock Reclaim functions.
InvalidEesee
LotNotExists
LotNotFulfilled
LotExpired
NoTicketsBought
getLotWinner
Get the winner of eesee lot. Return address(0) if no winner found.
Parameters
Name
Type
Description
ID
uint256
- ID of the lot.
Return Values
Name
Type
Description
winner
address
- Lot winner. Returns address(0) if no winner chosen.
isAssetWinner
bool
- True if winner recieves asset. False if winner receives ESE tokens.
Last updated