MultipleWinners
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
11
Slot
XX
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
Balances ($0.00)
No balances found for "MultipleWinners"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "MultipleWinners"
ABI
ABI objects
Getter at block 21414266 currentPrize() view returns (uint256) isRngCompleted() view returns (bool)
beforeAwardListener() view returns (address)
0x0000000000000000000000000000000000000000
canCompleteAward() view returns (bool)
false
canStartAward() view returns (bool)
true
getExternalErc20Awards() view returns (address[])
[]
getExternalErc721Awards() view returns (address[])
[]
getLastRngLockBlock() view returns (uint32)
0
getLastRngRequestId() view returns (uint32)
0
isPrizePeriodOver() view returns (bool)
true
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 currentTime) view returns (uint256)
estimateRemainingBlocksToPrize(uint256 secondsPerBlockMantissa) view returns (uint256)
getExternalErc721AwardTokenIds(address _externalErc721) view returns (uint256[])
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addExternalErc20Award(address _externalErc20)
addExternalErc20Awards(address[] _externalErc20s)
addExternalErc721Award(address _externalErc721, uint256[] _tokenIds)
beforeTokenMint(address to, uint256 amount, address controlledToken, address referrer)
beforeTokenTransfer(address from, address to, uint256 amount, address controlledToken)
cancelAward()
completeAward()
initialize(uint256 _prizePeriodStart, uint256 _prizePeriodSeconds, address _prizePool, address _ticket, address _sponsorship, address _rng, address[] externalErc20Awards)
initializeMultipleWinners(uint256 _prizePeriodStart, uint256 _prizePeriodSeconds, address _prizePool, address _ticket, address _sponsorship, address _rng, uint256 _numberOfWinners)
removeExternalErc20Award(address _externalErc20, address _prevExternalErc20)
removeExternalErc721Award(address _externalErc721, address _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)
BeforeAwardListenerSet(address indexed beforeAwardListener)
ExternalErc20AwardAdded(address indexed externalErc20)
ExternalErc20AwardRemoved(address indexed externalErc20Award)
ExternalErc721AwardAdded(address indexed externalErc721, uint256[] tokenIds)
ExternalErc721AwardRemoved(address indexed externalErc721Award)
Initialized(uint256 prizePeriodStart, uint256 prizePeriodSeconds, address indexed prizePool, address ticket, address sponsorship, address rng, address[] externalErc20Awards)
NoWinners()
NumberOfWinnersSet(uint256 numberOfWinners)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PeriodicPrizeStrategyListenerSet(address indexed periodicPrizeStrategyListener)
PrizePeriodSecondsUpdated(uint256 prizePeriodSeconds)
PrizePoolAwardCancelled(address indexed operator, address indexed prizePool, uint32 indexed rngRequestId, uint32 rngLockBlock)
PrizePoolAwardStarted(address indexed operator, address indexed prizePool, uint32 indexed rngRequestId, uint32 rngLockBlock)
PrizePoolAwarded(address indexed operator, uint256 randomNumber)
PrizePoolOpened(address indexed operator, uint256 indexed prizePeriodStartedAt)
RngRequestFailed()
RngRequestTimeoutSet(uint32 rngRequestTimeout)
RngServiceUpdated(address indexed rngService)
SplitExternalErc20AwardsSet(bool splitExternalErc20Awards)
TokenListenerUpdated(address indexed tokenListener)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.