AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 4,106 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
0xbd87…8b98
0x3d98…cd3b
1 additional
variable
Balances ($16,904.32)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
cUSDC | ERC-20 | 696.786379K | $0.02426 |
$16,904.32 | |
USDC | ERC-20 | 10K | -- | -- | |
HARP | ERC-20 | 25 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20569495 | 3 months ago | | | 0 | 0.00036351848 | |
| 20368524 | 4 months ago | | | 0 | 0.0017285185 | |
| 18208391 | a year ago | | | 0 | 0.0011336079 | |
| 17690415 | a year ago | | | 0 | 0.0061318290 | |
| 16425015 | 2 years ago | | | 0 | 0.0047955150 | |
| 16414696 | 2 years ago | | | 0 | 0.010753691 | |
| 15683911 | 2 years ago | | | 0 | 0.0058350479 | |
| 15559249 | 2 years ago | | | 0 | 0.00078267200 | |
| 15558595 | 2 years ago | | | 0 | 0.0017612800 | |
| 15552750 | 2 years ago | | | 0 | 0.0017158031 |
ABI
ABI objects
Getter at block 21203777 supplyRatePerBlock() view returns (uint256)
accountedBalance() view returns (uint256)
15033021707
cToken() view returns (address)
0x39aa39c021dfbae8fac545936693ac917d5e7563
canCompleteAward() view returns (bool)
false
canLock() view returns (bool)
true
canStartAward() view returns (bool)
true
committedSupply() view returns (uint256)
15033021707
comp() view returns (address)
0xc00e94cb662c3520282e6f5717214004a7f26888
compRecipient() view returns (address)
0x42cd8312d2bce04277dd5161832460e95b24262e
comptroller() view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
cooldownDuration() view returns (uint256)
40
cooldownEndAt() view returns (uint256)
11998644
currentCommittedDrawId() view returns (uint256)
294
currentOpenDrawId() view returns (uint256)
295
elapsedTime() view returns (uint256)
1731802487
isLocked() view returns (bool)
false
isPrizePeriodEnded() view returns (bool)
true
lastAwardTimestamp() view returns (uint256)
0
lockDuration() view returns (uint256)
40
lockEndAt() view returns (uint256)
11998604
nextFeeBeneficiary() view returns (address)
0x0034ea9808e620a0ef79261c51af20614b742b24
nextFeeFraction() view returns (uint256)
0
openSupply() view returns (uint256)
0
paused() view returns (bool)
true
poolToken() view returns (address)
0xbd87447f48ad729c5c4b8bcb503e1395f62e8b98
prizePeriodSeconds() view returns (uint256)
86400
remainingTime() view returns (uint256)
0
saiPool() view returns (address)
0x0000000000000000000000000000000000000000
scdMcdMigration() view returns (address)
0x0000000000000000000000000000000000000000
token() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
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.