Libraries
RafflErrors
Errors
Errors
OnlyFactoryAllowed
Thrown if anyone other than the factory tries to interact.
OnlyCreatorAllowed
Thrown if anyone other than the creator tries to interact.
EntryQuantityRequired
Thrown if no entry quantity is provided.
EntriesPurchaseClosed
Thrown if the entries purchase period is closed.
EntriesPurchaseInvalidValue
Thrown if invalid value provided for entries purchase.
RefundsOnlyAllowedOnFailedDraw
Thrown if refunds are initiated before draw failure.
UserWithoutEntries
Thrown if a user without entries tries to claim.
UserAlreadyRefunded
Thrown if a user was already refunded entries.
PrizesAlreadyRefunded
Thrown if prizes are already refunded.
MaxUserEntriesReached
Thrown if the maximum entries limit per user has been reached.
MaxTotalEntriesReached
Thrown if the total maximum entries limit has been reached.
WithoutRefunds
Thrown if the refund operation is initiated without any refunds.
TokenGateRestriction
Thrown if token gate restriction is violated.