EeseeWinner

Eesee

contract IEesee Eesee

Eesee contract.

random

contract IEeseeRandom random

Contract that provides Eesee with random.

returnInterval

uint32 returnInterval

In case random request fails to get delivered {returnInterval} seconds after the lot was closed, unlock Reclaim functions.

InvalidEesee

error InvalidEesee()

LotNotExists

error LotNotExists()

LotNotFulfilled

error LotNotFulfilled()

LotExpired

error LotExpired()

NoTicketsBought

error NoTicketsBought()

getLotWinner

function getLotWinner(uint256 ID) external view returns (address winner, bool isAssetWinner)

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