MCDAwarePool

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x9a07cee0 at 9133666
Slot
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

No balances found for "MCDAwarePool"

No transactions found for "MCDAwarePool"


Functions
Getter at block 21177646
accountedBalance(view returns (uint256)
0
cToken(view returns (address)
0x0000000000000000000000000000000000000000
canLock(view returns (bool)
true
committedSupply(view returns (uint256)
0
cooldownDuration(view returns (uint256)
0
cooldownEndAt(view returns (uint256)
0
currentCommittedDrawId(view returns (uint256)
0
currentOpenDrawId(view returns (uint256)
0
isLocked(view returns (bool)
false
lockDuration(view returns (uint256)
0
lockEndAt(view returns (uint256)
0
nextFeeBeneficiary(view returns (address)
0x0000000000000000000000000000000000000000
nextFeeFraction(view returns (uint256)
0
openSupply(view returns (uint256)
0
paused(view returns (bool)
false
poolToken(view returns (address)
0x0000000000000000000000000000000000000000
saiPool(view returns (address)
0x0000000000000000000000000000000000000000
scdMcdMigration(view returns (address)
0x0000000000000000000000000000000000000000
 
supplyRatePerBlock(view returns (uint256)
 
token(view returns (address)
Read-only
balanceOf(address _addrview returns (uint256)
calculateWinner(bytes32 _entropyview returns (address)
committedBalanceOf(address _addrview returns (uint256)
estimatedInterestRate(uint256 _blocksview returns (uint256)
getDraw(uint256 _drawIdview returns (uint256 feeFractionaddress feeBeneficiaryuint256 openedBlockbytes32 secretHashbytes32 entropyaddress winneruint256 netWinningsuint256 fee)
isAdmin(address _adminview returns (bool)
openBalanceOf(address _addrview returns (uint256)
sponsorshipAndFeeBalanceOf(address _senderview returns (uint256)
totalBalanceOf(address _addrview returns (uint256)
State-modifying
addAdmin(address _admin
balance(returns (uint256)
daiToken(returns (address)
depositPool(uint256 _amount
depositSponsorship(uint256 _amount
init(address _owneraddress _cTokenuint256 _feeFractionaddress _feeBeneficiaryuint256 lockDurationuint256 cooldownDuration
initMCDAwarePool(uint256 lockDurationuint256 cooldownDuration
initMigration(address _scdMcdMigrationaddress _saiPool
initialize(
lockTokens(
moveCommitted(address _fromaddress _touint256 _amountreturns (bool)
openNextDraw(bytes32 nextSecretHash
pause(
removeAdmin(address _admin
reward(bytes32 _secretbytes32 _salt
rewardAndOpenNextDraw(bytes32 nextSecretHashbytes32 lastSecretbytes32 _salt
rollover(
rolloverAndOpenNextDraw(bytes32 nextSecretHash
saiToken(returns (address)
setNextFeeBeneficiary(address _feeBeneficiary
setNextFeeFraction(uint256 _feeFraction
setPoolToken(address _poolToken
tokensReceived(addressaddress fromaddressuint256 amountbytesbytes
transferBalanceToSponsorship(
unlockTokens(
unpause(
withdraw(
withdrawCommittedDeposit(address _fromuint256 _amountreturns (bool)
withdrawCommittedDeposit(uint256 _amountreturns (bool)
withdrawOpenDeposit(uint256 _amount
withdrawSponsorshipAndFee(uint256 _amount
Events
AdminAdded(address indexed admin
AdminRemoved(address indexed admin
Committed(uint256 indexed drawId
CommittedDepositWithdrawn(address indexed senderuint256 amount
Deposited(address indexed senderuint256 amount
DepositedAndCommitted(address indexed senderuint256 amount
FeeCollected(address indexed senderuint256 amountuint256 drawId
NextFeeBeneficiaryChanged(address indexed feeBeneficiary
NextFeeFractionChanged(uint256 feeFraction
OpenDepositWithdrawn(address indexed senderuint256 amount
Opened(uint256 indexed drawIdaddress indexed feeBeneficiarybytes32 secretHashuint256 feeFraction
Paused(address indexed sender
Rewarded(uint256 indexed drawIdaddress indexed winnerbytes32 entropyuint256 winningsuint256 fee
RolledOver(uint256 indexed drawId
SponsorshipAndFeesWithdrawn(address indexed senderuint256 amount
SponsorshipDeposited(address indexed senderuint256 amount
Unpaused(address indexed sender
Withdrawn(address indexed senderuint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.