MultipleWinners

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x1f4900ec at 11968262
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
-
variable spans 1 additional slot

No balances found for "MultipleWinners"

No transactions found for "MultipleWinners"


Functions
Getter at block 21311029
beforeAwardListener(view returns (address)
0x0000000000000000000000000000000000000000
canCompleteAward(view returns (bool)
false
canStartAward(view returns (bool)
true
 
currentPrize(view returns (uint256)
getExternalErc20Awards(view returns (address[])
[]
getExternalErc721Awards(view returns (address[])
[]
getLastRngLockBlock(view returns (uint32)
0
getLastRngRequestId(view returns (uint32)
0
isPrizePeriodOver(view returns (bool)
true
 
isRngCompleted(view returns (bool)
isRngRequested(view returns (bool)
false
isRngTimedOut(view returns (bool)
false
numberOfWinners(view returns (uint256)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
periodicPrizeStrategyListener(view returns (address)
0x0000000000000000000000000000000000000000
prizePeriodEndAt(view returns (uint256)
0
prizePeriodRemainingSeconds(view returns (uint256)
0
prizePeriodSeconds(view returns (uint256)
0
prizePeriodStartedAt(view returns (uint256)
0
prizePool(view returns (address)
0x0000000000000000000000000000000000000000
rng(view returns (address)
0x0000000000000000000000000000000000000000
rngRequestTimeout(view returns (uint32)
0
splitExternalErc20Awards(view returns (bool)
false
sponsorship(view returns (address)
0x0000000000000000000000000000000000000000
ticket(view returns (address)
0x0000000000000000000000000000000000000000
tokenListener(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
calculateNextPrizePeriodStartTime(uint256 currentTimeview returns (uint256)
estimateRemainingBlocksToPrize(uint256 secondsPerBlockMantissaview returns (uint256)
getExternalErc721AwardTokenIds(address _externalErc721view returns (uint256[])
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addExternalErc20Award(address _externalErc20
addExternalErc20Awards(address[] _externalErc20s
addExternalErc721Award(address _externalErc721uint256[] _tokenIds
beforeTokenMint(address touint256 amountaddress controlledTokenaddress referrer
beforeTokenTransfer(address fromaddress touint256 amountaddress controlledToken
cancelAward(
completeAward(
initialize(uint256 _prizePeriodStartuint256 _prizePeriodSecondsaddress _prizePooladdress _ticketaddress _sponsorshipaddress _rngaddress[] externalErc20Awards
initializeMultipleWinners(uint256 _prizePeriodStartuint256 _prizePeriodSecondsaddress _prizePooladdress _ticketaddress _sponsorshipaddress _rnguint256 _numberOfWinners
removeExternalErc20Award(address _externalErc20address _prevExternalErc20
removeExternalErc721Award(address _externalErc721address _prevExternalErc721
renounceOwnership(
setBeforeAwardListener(address _beforeAwardListener
setNumberOfWinners(uint256 count
setPeriodicPrizeStrategyListener(address _periodicPrizeStrategyListener
setPrizePeriodSeconds(uint256 _prizePeriodSeconds
setRngRequestTimeout(uint32 _rngRequestTimeout
setRngService(address rngService
setSplitExternalErc20Awards(bool _splitExternalErc20Awards
setTokenListener(address _tokenListener
startAward(
transferOwnership(address newOwner
Events
BeforeAwardListenerSet(address indexed beforeAwardListener
ExternalErc20AwardAdded(address indexed externalErc20
ExternalErc20AwardRemoved(address indexed externalErc20Award
ExternalErc721AwardAdded(address indexed externalErc721uint256[] tokenIds
ExternalErc721AwardRemoved(address indexed externalErc721Award
Initialized(uint256 prizePeriodStartuint256 prizePeriodSecondsaddress indexed prizePooladdress ticketaddress sponsorshipaddress rngaddress[] externalErc20Awards
NoWinners(
NumberOfWinnersSet(uint256 numberOfWinners
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PeriodicPrizeStrategyListenerSet(address indexed periodicPrizeStrategyListener
PrizePeriodSecondsUpdated(uint256 prizePeriodSeconds
PrizePoolAwardCancelled(address indexed operatoraddress indexed prizePooluint32 indexed rngRequestIduint32 rngLockBlock
PrizePoolAwardStarted(address indexed operatoraddress indexed prizePooluint32 indexed rngRequestIduint32 rngLockBlock
PrizePoolAwarded(address indexed operatoruint256 randomNumber
PrizePoolOpened(address indexed operatoruint256 indexed prizePeriodStartedAt
RngRequestFailed(
RngRequestTimeoutSet(uint32 rngRequestTimeout
RngServiceUpdated(address indexed rngService
SplitExternalErc20AwardsSet(bool splitExternalErc20Awards
TokenListenerUpdated(address indexed tokenListener
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.