fee
and feeCollector
.
Raffl
.
Raffl
.
Name | Type | Description |
---|---|---|
quantity | uint256 | The quantity of entries to purchase. Requirements: - If entry is paid with network tokens, the required amount of network tokens. - If entry is paid with ERC-20, the contract must be approved to spend ERC-20 tokens. - If entry is free, no payment is required. Emits EntriesBought event |
Name | Type | Description |
---|---|---|
user | address | The address of the user whose entries will be refunded. |
Name | Type | Description |
---|---|---|
user | address | The address of the user who will receive the prizes. |
Name | Type | Description |
---|---|---|
quantity | uint256 | The quantity of entries to purchase. |
tokenGates
array
Name | Type | Description |
---|---|---|
user | address | Address of the user |
factory
is the only allowed to called this method
GameStatus
as FailedDraw
and emits event
DeadlineFailedCriteria
Access control: factory
is the only allowed to called this method
prizes
to the provably fair and verifiable entrant, sets the GameStatus
as
SuccessDraw
and emits event DrawSuccess
Access control: factory
is the only allowed to called this method through the Chainlink VRF Coordinator