AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 19,799 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
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 49 additional slots
-
variable spans 5 additional slots
-
variable spans 3 additional slots
0x49d7…118d
0xc73e…b849
0xb789…7d84
0x3d98…cd3b
0xc00e…6888
1 additional
variable
Balances ($126,583.19)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
cDAI | ERC-20 | 5.279255M | $0.023937 |
$126,367.16 | |
DAI | ERC-20 | 216.097184 | $0.999688 |
$216.03 | |
BRAP | ERC-20 | 555.555K | -- | -- | |
BGOLD | ERC-20 | 420 | -- | -- | |
sti | ERC-20 | 220 | -- | -- | |
DCA | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21263223 | 3 days ago | | | 0 | 0.0014157724 | |
| 21263211 | 3 days ago | | | 0 | 0.00035192500 | |
| 20998738 | a month ago | | | 0 | 0.0028383405 | |
| 20654248 | 3 months ago | | | 0 | 0.00019647800 | |
| 20652959 | 3 months ago | | | 0 | 0.00018243812 | |
| 20644792 | 3 months ago | | | 0 | 0.00022207014 | |
| 20644246 | 3 months ago | | | 0 | 0.00038841958 | |
| 20475478 | 4 months ago | | | 0 | 0.00022160160 | |
| 20453328 | 4 months ago | | | 0 | 0.000033202000 | |
| 20453279 | 4 months ago | | | 0 | 0.000033202000 |
ABI
ABI objects
Getter at block 21287345 supplyRatePerBlock() view returns (uint256)
accountedBalance() view returns (uint256)
109317315784467984965469
cToken() view returns (address)
0x5d3a536e4d6dbd6114cc1ead35777bab948e3643
canCompleteAward() view returns (bool)
false
canLock() view returns (bool)
true
canStartAward() view returns (bool)
true
committedSupply() view returns (uint256)
109271620099636046298339
comp() view returns (address)
0xc00e94cb662c3520282e6f5717214004a7f26888
compRecipient() view returns (address)
0x42cd8312d2bce04277dd5161832460e95b24262e
comptroller() view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
cooldownDuration() view returns (uint256)
40
cooldownEndAt() view returns (uint256)
17780386
currentCommittedDrawId() view returns (uint256)
58
currentOpenDrawId() view returns (uint256)
59
elapsedTime() view returns (uint256)
1732810751
isLocked() view returns (bool)
false
isPrizePeriodEnded() view returns (bool)
true
lastAwardTimestamp() view returns (uint256)
0
lockDuration() view returns (uint256)
40
lockEndAt() view returns (uint256)
17780346
nextFeeBeneficiary() view returns (address)
0x29fe7d60ddf151e5b52e5fab4f1325da6b2bd958
nextFeeFraction() view returns (uint256)
0
openSupply() view returns (uint256)
1000000000000000000
paused() view returns (bool)
true
poolToken() view returns (address)
0x49d716dfe60b37379010a75329ae09428f17118d
prizePeriodSeconds() view returns (uint256)
604800
remainingTime() view returns (uint256)
0
saiPool() view returns (address)
0xb7896fce748396ecfc240f5a0d3cc92ca42d7d84
scdMcdMigration() view returns (address)
0xc73e0383f3aff3215e6f04b0331d58cecf0ab849
token() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
Read-only
balanceOf(address _addr) view returns (uint256)
calculateWinner(bytes32 _entropy) view returns (address)
committedBalanceOf(address _addr) view returns (uint256)
estimatedInterestRate(uint256 _blocks) view returns (uint256)
getDraw(uint256 _drawId) view returns (uint256 feeFraction, address feeBeneficiary, uint256 openedBlock, bytes32 secretHash, bytes32 entropy, address winner, uint256 netWinnings, uint256 fee)
isAdmin(address _admin) view returns (bool)
openBalanceOf(address _addr) view returns (uint256)
sponsorshipAndFeeBalanceOf(address _sender) view returns (uint256)
totalBalanceOf(address _addr) view returns (uint256)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addAdmin(address _admin)
balance() returns (uint256)
claimAndTransferCOMP() returns (uint256)
completeAward()
daiToken() returns (address)
depositPool(uint256 _amount)
depositSponsorship(uint256 _amount)
init(address _owner, address _cToken, uint256 _feeFraction, address _feeBeneficiary, uint256 lockDuration, uint256 cooldownDuration)
initMCDAwarePool(uint256 lockDuration, uint256 cooldownDuration)
initMigration(address _scdMcdMigration, address _saiPool)
initialize()
initializeAutonomousPool(uint256 _prizePeriodSeconds, address _comp, address _comptroller)
lockTokens()
moveCommitted(address _from, address _to, uint256 _amount) returns (bool)
openNextDraw(bytes32 nextSecretHash)
pauseDeposits()
removeAdmin(address _admin)
reward(bytes32 _secret, bytes32 _salt)
rewardAndOpenNextDraw(bytes32 nextSecretHash, bytes32 lastSecret, bytes32 _salt)
rollover()
rolloverAndOpenNextDraw(bytes32 nextSecretHash)
saiToken() returns (address)
setCompRecipient(address _compRecipient)
setComptroller(address _comptroller)
setNextFeeBeneficiary(address _feeBeneficiary)
setNextFeeFraction(uint256 _feeFraction)
setPoolToken(address _poolToken)
setPrizePeriodSeconds(uint256 _prizePeriodSeconds)
startAward()
tokensReceived(address, address from, address, uint256 amount, bytes, bytes)
transferBalanceToSponsorship()
transferCOMP() returns (uint256)
unlockTokens()
unpauseDeposits()
withdraw()
withdraw(uint256 amount)
withdrawCommittedDeposit(uint256 _amount) returns (bool)
withdrawCommittedDepositFrom(address _from, uint256 _amount) returns (bool)
withdrawOpenDeposit(uint256 _amount)
withdrawSponsorshipAndFee(uint256 _amount)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
AdminAdded(address indexed admin)
AdminRemoved(address indexed admin)
AwardCompleted()
AwardStarted()
Committed(uint256 indexed drawId)
CommittedDepositWithdrawn(address indexed sender, uint256 amount)
CompRecipientUpdated(address compRecipient)
ComptrollerUpdated(address comptroller)
Deposited(address indexed sender, uint256 amount)
DepositedAndCommitted(address indexed sender, uint256 amount)
DepositsPaused(address indexed sender)
DepositsUnpaused(address indexed sender)
FeeCollected(address indexed sender, uint256 amount, uint256 drawId)
NextFeeBeneficiaryChanged(address indexed feeBeneficiary)
NextFeeFractionChanged(uint256 feeFraction)
OpenDepositWithdrawn(address indexed sender, uint256 amount)
Opened(uint256 indexed drawId, address indexed feeBeneficiary, bytes32 secretHash, uint256 feeFraction)
PrizePeriodSecondsUpdated(uint256 prizePeriodSeconds)
RewardListenerFailed(uint256 indexed drawId, address indexed winner, address indexed impl)
Rewarded(uint256 indexed drawId, address indexed winner, bytes32 entropy, uint256 winnings, uint256 fee)
RolledOver(uint256 indexed drawId)
SponsorshipAndFeesWithdrawn(address indexed sender, uint256 amount)
SponsorshipDeposited(address indexed sender, uint256 amount)
TransferredComp(address indexed recipient, uint256 amount)
Withdrawn(address indexed sender, uint256 amount)
constructor(address _logic, address _admin, bytes _data)
fallback()
This contract contains no error objects.