TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 255 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 44 additional slots
-
variable spans 44 additional slots
-
variable spans 48 additional slots
0xd1c8…5e32
0x2031…fa73
0x9002…a521
0xef21…fef0
0x6599…1977
-
variable spans 44 additional slots
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
PST | ERC-20 | 0 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21291745 | 9 hours ago | | | 0 | 0.0037288401 | |
| 21291720 | 9 hours ago | | | 0 | 0.0015294682 | |
| 21291686 | 9 hours ago | | | 0 | 0.0027782197 | |
| 21241660 | 7 days ago | | | 0 | 0.0048134311 | |
| 21241636 | 7 days ago | | | 0 | 0.0018460612 | |
| 21241603 | 7 days ago | | | 0 | 0.0029807163 | |
| 21191485 | 14 days ago | | | 0 | 0.0078675986 | |
| 21191460 | 14 days ago | | | 0 | 0.0028274891 | |
| 21191426 | 14 days ago | | | 0 | 0.0048286810 | |
| 21141309 | 21 days ago | | | 0 | 0.0041515368 |
ABI
ABI objects
Getter at block 21294434
MAX_DISTRIBUTION_LENGTH() view returns (uint256)
500
MAX_DRAW_IDS_LENGTH() view returns (uint256)
256
MAX_EPOCH_IDS_LENGTH() view returns (uint256)
1000
MAX_TIMESTAMPS_LENGTH() view returns (uint256)
10000
MAX_TOKEN_IDS_LENGTH() view returns (uint256)
1000
ONE_HUNDRED_PERCENTS() view returns (uint16)
10000
getDistribution() view returns (uint16[])
[5000, 3000, 2000]
getDrawBuffer() view returns (address)
0x203177a87bdeffeab7448f17a37eedf53a06fa73
getLastRngRequest() view returns (struct IPrizeDistributorV2RngRequest)
(0, 0, 0)
getLastUnpaidDrawId() view returns (uint32)
85
getNumberOfWinners() view returns (uint16)
3
getPrizeDistributionBuffer() view returns (address)
0x9002d863ccdc7ea036482e7578559f1df4efa521
getRngService() view returns (address)
0xef212c074a7bb9fc6a0bfdcbcd46961e53affef0
getRngTimeout() view returns (uint32)
7200
getToken() view returns (address)
0xd1c88b7cc2f9b3a23d1cb537d53a818cef5e5e32
isRngCompleted() view returns (bool)
false
isRngRequested() view returns (bool)
false
isRngTimedOut() view returns (bool)
false
manager() view returns (address)
0x1169e2978d88549a796a10f2a13cb6826720f03a
miniPoolBeaconProxyFactory() view returns (address)
0x659995c9bec9ec06afd8c63614d2cada7dd31977
owner() view returns (address)
0x18a2fbeb67ebd2f6746ad4cd495c2790daffa608
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
This contract contains no read-only function objects.
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
cancelRandomnessRequest()
claimOwnership()
initializeV2(address _miniPoolBeaconProxyFactory)
payWinners(uint32 _drawId, address[] _winners) returns (bool)
processRandomness(uint32 _drawId) returns (uint256[] _randomness)
renounceOwnership()
requestRandomness(uint32 _drawId, uint256 _picksNumber, bytes _participantsHash, bool _isEmptyDraw)
setDistribution(uint16[] _distribution)
setDrawBuffer(address _drawBuffer)
setManager(address _newManager) returns (bool)
setMiniPoolBeaconProxyFactory(address _newMiniPoolBeaconProxyFactory)
setPrizeDistributionBuffer(address _prizeDistributionBuffer)
setRngService(address _rngService)
setRngTimeout(uint32 _rngTimeout)
transferOwnership(address _newOwner)
withdrawERC20(address _erc20Token, address _to, uint256 _amount) returns (bool)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
DistributionSet(uint16[] distribution)
DrawBufferSet(address drawBuffer)
DrawPaid(uint32 indexed drawId, uint256 totalPayout, address[] winners, uint256[] winningPicks, uint256[] payouts, uint64 indexed timestamp)
ERC20Withdrawn(address indexed token, address indexed to, uint256 amount)
Initialized(uint8 version)
ManagerTransferred(address indexed previousManager, address indexed newManager)
OwnershipOffered(address indexed pendingOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PrizeDistributionBufferSet(address prizeDistributionBuffer)
RandomnessProcessed(uint32 indexed drawId, uint256[] randomness)
RandomnessRequestCancelled(uint32 indexed rngRequestId, uint32 rngLockBlock)
RandomnessRequested(uint32 indexed drawId, uint32 indexed requestId, uint32 indexed lockBlock, uint32 numbersCount)
RngServiceSet(address indexed rngService)
RngTimeoutSet(uint32 rngTimeout)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
DistributionShouldBeEqualTo100Percents()
DrawIdShouldBeEqualToLastUnpaidDrawId()
DrawIsPaid()
LengthsMismatch()
NotContract()
NotFinishedDraw()
ParticipantsHashLengthIsZero()
PrizesAmountIsZero()
RNGTimeoutLTE60Seconds()
RandomnessAlreadyRequested()
RandomnessIsNotRequested()
RandomnessRequestIsNotCompleted()
RandomnessRequestNotTimedout()
WrongArrayLength()
ZeroAddress()