0x21e5e62e0b6b59155110cd36f3f6655fbbcf6424
Verified contract
Proxy
Active on
Ethereum with 57 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
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
0xd9dc…79e0
0x396b…6791
0x27d2…12d4
0x0898…5b7c
0xb1d8…cd21
-
variable spans 1 additional slot
-
variable spans 1 additional slot
0x0589…4444
0x239f…fa6b
Balances ($0.00)
No balances found for "0x21e5e62e0b6b59155110cd36f3f6655fbbcf6424"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13522109 | 3 years ago | | | 0 | 0.080473187 | |
| 13522091 | 3 years ago | | | 0 | 0.012651535 | |
| 13120781 | 3 years ago | | | 0 | 0.049879967 | |
| 13120761 | 3 years ago | | | 0 | 0.0066808472 | |
| 13119340 | 3 years ago | | | 0 | 0.0015055601 | |
| 13026709 | 3 years ago | | | 0 | 0.023918887 | |
| 13026696 | 3 years ago | | | 0 | 0.0028136530 | |
| 12487742 | 4 years ago | | | 0 | 0.014750235 | |
| 12487728 | 4 years ago | | | 0 | 0.0036305200 | |
| 12442124 | 4 years ago | | | 0 | 0.0016550730 |
ABI
ABI objects
Getter at block 21311029
beforeAwardListener() view returns (address)
0x0589c7a2b2acb895ff0314a394a6d991a9204444
canCompleteAward() view returns (bool)
false
canStartAward() view returns (bool)
true
currentPrize() view returns (uint256)
4
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)
true
isRngRequested() view returns (bool)
false
isRngTimedOut() view returns (bool)
false
numberOfWinners() view returns (uint256)
5
owner() view returns (address)
0x42cd8312d2bce04277dd5161832460e95b24262e
periodicPrizeStrategyListener() view returns (address)
0x239fc7c69ba8079ebec07156f13a6d78d234fa6b
prizePeriodEndAt() view returns (uint256)
1680995556
prizePeriodRemainingSeconds() view returns (uint256)
0
prizePeriodSeconds() view returns (uint256)
604800
prizePeriodStartedAt() view returns (uint256)
1680390756
prizePool() view returns (address)
0x396b4489da692788e327e2e4b2b0459a5ef26791
rng() view returns (address)
0xb1d89477d1b505c261bab6e73f08fa834544cd21
rngRequestTimeout() view returns (uint32)
1800
splitExternalErc20Awards() view returns (bool)
true
sponsorship() view returns (address)
0x089811ed7da2e09ae29f99518004b5c388165b7c
ticket() view returns (address)
0x27d22a7648e955e510a40bdb058333e9190d12d4
tokenListener() view returns (address)
0xd9dcf282bdf21d4796e85ef2e64c2ccf42eb79e0
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.