TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 255 txns
Deployed by via 0x868ebdfc at 17092995
Slot
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
-
variable spans 44 additional slots
ERC-20
--
0x9617db6f289f080485fb0da235d09ca0ea7e8f68f00a71215cccf8f288f7333f
0xa141773157953011dc957e70eda6a96ce31ef5f91ba74ff2689df31639228577
0xaae4acd600733743a6d7931f75a5908578a6d38d1ca46e2bc91b90a1259a5298
0x092669d18d32b2866397bdaf4d1e0526e149df251d5860bd9b898690623b2f43
0xedab2717c213d82a3af0605fbe5eb7dfceaf4bf092dabb7e1fdc277abcefd4f2
0x13e9a6ba4e3740e7387ce96c712bd2a29c2f91061f074b607038e0320290fac3
0xf53bee58575df4b79da3486d2d168d4008b8a0f5042c936a87a48ff4609ba2b2
0x67035eeccbcbb286b521c29723c2768dac155bf3e8fec54ccb4351c20a123131
0xd582773a78b4234f545865d73083cce0f36596ecbbad65db990f0aaf37629fbb
0xb664b06d26112bea2a6cba9a15a018e3563e722bfbbc2df8836d66f770710717

Functions
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
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
cancelRandomnessRequest(
claimOwnership(
initializeV2(address _miniPoolBeaconProxyFactory
payWinners(uint32 _drawIdaddress[] _winnersreturns (bool)
processRandomness(uint32 _drawIdreturns (uint256[] _randomness)
renounceOwnership(
requestRandomness(uint32 _drawIduint256 _picksNumberbytes _participantsHashbool _isEmptyDraw
setDistribution(uint16[] _distribution
setDrawBuffer(address _drawBuffer
setManager(address _newManagerreturns (bool)
setMiniPoolBeaconProxyFactory(address _newMiniPoolBeaconProxyFactory
setPrizeDistributionBuffer(address _prizeDistributionBuffer
setRngService(address _rngService
setRngTimeout(uint32 _rngTimeout
transferOwnership(address _newOwner
withdrawERC20(address _erc20Tokenaddress _touint256 _amountreturns (bool)
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
DistributionSet(uint16[] distribution
DrawBufferSet(address drawBuffer
DrawPaid(uint32 indexed drawIduint256 totalPayoutaddress[] winnersuint256[] winningPicksuint256[] payoutsuint64 indexed timestamp
ERC20Withdrawn(address indexed tokenaddress indexed touint256 amount
Initialized(uint8 version
ManagerTransferred(address indexed previousManageraddress indexed newManager
OwnershipOffered(address indexed pendingOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PrizeDistributionBufferSet(address prizeDistributionBuffer
RandomnessProcessed(uint32 indexed drawIduint256[] randomness
RandomnessRequestCancelled(uint32 indexed rngRequestIduint32 rngLockBlock
RandomnessRequested(uint32 indexed drawIduint32 indexed requestIduint32 indexed lockBlockuint32 numbersCount
RngServiceSet(address indexed rngService
RngTimeoutSet(uint32 rngTimeout
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
DistributionShouldBeEqualTo100Percents(
DrawIdShouldBeEqualToLastUnpaidDrawId(
DrawIsPaid(
LengthsMismatch(
NotContract(
NotFinishedDraw(
ParticipantsHashLengthIsZero(
PrizesAmountIsZero(
RNGTimeoutLTE60Seconds(
RandomnessAlreadyRequested(
RandomnessIsNotRequested(
RandomnessRequestIsNotCompleted(
RandomnessRequestNotTimedout(
WrongArrayLength(
ZeroAddress(