🚦Status

Get familiar with the statuses, they matter :)

Why statuses are important?

With everything happening on chain, we needed a way to keep track of the life cycle of a raffle. The smart contract will be able to act depending on raffle's status and decide what is happening next, following the logic flow that is implemented.

Details

Raffles can have up to 9 statuses, depending on different criteria. See below.

Status
Description
Duration
Player actions

SCHEDULED

A raffle is SCHEDULED, meaning it will change status to OPEN on the SCHEDULED date and time.

Until the scheduled date and time is reached.

None

OPEN

A raffle is OPEN to the public.

Until the minimum tickets sold threshold is reached or the raffle duration has expired.

Buy tickets to participate.

HAPPENING

A raffle has reached the minimum tickets sold threshold and a WINNER is guaranteed to be selected. The raffle is HAPPENING

Until the raffle reaches the entry deadline OR until the maximum tickets sold threshold is reached.

Buy tickets to participate.

CLOSED

A raffle is CLOSED when it has reached the entry deadline or has reached the maximum tickets sold threshold. A WINNER will be drawn!

7 days*

CLAIM PRIZE if you are the winner. CLAIM LUCKY REFUND if you are selecteded for the LuckyRefund

ENDED

A raffle has ENDED after a winner has been randomly drawn and the winner has successfully claimed their prize.

Indefinitely.

None

PAUSED

A raffle is PAUSED manually. This is in case we need to pause one or more raffle. PAUSED has no time limit.

No limit

None

REFUND

A raffle will become REFUND when it was OPEN and did not reach the minimal tickets sold threshold.

7 days*

CLAIM FULL REFUND Get your money back.

CANCELED

A raffle was SCHEDULED but needed to be CANCELED

Indefinitely.

None

AUTO_END

A raffle is on AUTO_END when the selected winner did not claim their prize in time.

Indefinitely.

None

*Durations are subject to change.

Last updated

Was this helpful?