CompoundController
Verified contract
Active on
Ethereum with 8 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
1 additional
variable
Balances ($0.00)
No balances found for "CompoundController"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15923631 | 2 years ago | | | 0 | 0.0098867029 | |
| 12459487 | 4 years ago | | | 0 | 0.0033229680 | |
| 12191866 | 4 years ago | | | 0 | 0.0048552000 | |
| 12191865 | 4 years ago | | | 0 | 0.0046551100 | |
| 12191864 | 4 years ago | | | 0 | 0.0046687100 | |
| 12191862 | 4 years ago | | | 0 | 0.0048094700 | |
| 12191855 | 4 years ago | | | 0 | 0.0074012900 | |
| 12191849 | 4 years ago | | | 0 | 0.0073939800 |
ABI
ABI objects
Getter at block 21305853 spotDailyDistributionRateProvider() view returns (uint256) spotDailyRate() view returns (uint256) spotDailySupplyRateProvider() view returns (uint256) uniswapPriceCumulativesNow() view returns (uint256[])
BLOCKS_PER_DAY() view returns (uint256)
5760
BOND_LIFE_MAX() view returns (uint16)
365
BOND_MAX_RATE_PER_DAY() view returns (uint256)
719065000000000
DOUBLE_SCALE() view returns (uint256)
1000000000000000000000000000000000000
EXP_SCALE() view returns (uint256)
1000000000000000000
FEE_BUY_JUNIOR_TOKEN() view returns (uint256)
5000000000000000
FEE_REDEEM_SENIOR_BOND() view returns (uint256)
50000000000000000
HARVEST_COST() view returns (uint256)
40000000000000000
MAX_UINT256() view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
PAUSED_BUY_JUNIOR_TOKEN() view returns (bool)
false
PAUSED_BUY_SENIOR_BOND() view returns (bool)
false
UNISWAP_FACTORY() view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
UNISWAP_ROUTER_V2() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
bondModel() view returns (address)
0x48a41e77bef0654831c12cd816bd62ce9c5adbb8
cumulativeDistributionRate() view returns (uint256)
17183085007289289
cumulativeSupplyRate() view returns (uint256)
35971951675645426
dao() view returns (address)
0x4cae362d7f227e3d306f70ce4878e245563f3069
feesOwner() view returns (address)
0x4cae362d7f227e3d306f70ce4878e245563f3069
guardian() view returns (address)
0x54e6a2f9991b6b6d57d152d21427e8cb80b25e91
harvestedLast() view returns (uint256)
1667890247
oracle() view returns (address)
0x6b9ee6c8b24dcd1a1e7d7b64d7b2867e30151b78
pool() view returns (address)
0xe6c1a8e7a879d7febb8144276a62f9a6b381bd37
prevCompSupplyState() view returns (uint224 index, uint32 block)
(index=68958455643329721703450717683622597981577, block=15923631)
prevCumulationTime() view returns (uint256)
1667890247
prevExchnageRateCurrent() view returns (uint256)
220957386069528893762896442
smartYield() view returns (address)
0x673f9488619821ab4f4155fdffe06f6139de518f
underlyingDecimals() view returns (uint256)
18
uniswapRouter() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
Read-only
cTokensToUnderlying(uint256 cTokens_, uint256 exchangeRate_) pure returns (uint256)
expectedDistributeSupplierComp(uint256 cTokenBalance_, uint224 nowSupplyStateIndex_, uint224 prevSupplyStateIndex_) pure returns (uint256)
quoteCompToUnderlying(uint256 compIn_, uint256 timeElapsed_, uint256[] prevUniswapPriceCumulatives_, uint256[] nowUniswapPriceCumulatives_) pure returns (uint256)
quoteSpotCompToUnderlying(uint256 compIn_) view returns (uint256)
uniswapAmountOut(uint256 prevPriceCumulative_, uint256 nowPriceCumulative_, uint256 timeElapsed_, uint256 amountIn_) pure returns (uint256)
uniswapPairs(uint256) view returns (address)
uniswapPath(uint256) view returns (address)
uniswapPriceCumulativeNow(address pair_, uint8 priceKey_) view returns (uint256)
uniswapPriceCumulatives(uint256) view returns (uint256)
uniswapPriceKeys(uint256) view returns (uint8)
State-modifying
Events _afterCTokenBalanceChange(uint256 prevCTokenBalance_)
_beforeCTokenBalanceChange()
cumulatives() returns (uint256)
harvest(uint256 maxCompAmount_) returns (uint256 compGot, uint256 underlyingHarvestReward)
providerRatePerDay() returns (uint256)
setBondLifeMax(uint16 newVal_)
setBondMaxRatePerDay(uint256 newVal_)
setBondModel(address newVal_)
setDao(address dao_)
setFeeBuyJuniorToken(uint256 newVal_)
setFeeRedeemSeniorBond(uint256 newVal_)
setFeesOwner(address newVal_)
setGuardian(address guardian_)
setHarvestCost(uint256 newValue_)
setOracle(address newVal_)
setPaused(bool buyJToken_, bool buySBond_)
setUniswapPath(address[] newUniswapPath_)
updateAllowances()
yieldControllTo(address newController_)
Harvest(address indexed caller, uint256 compRewardTotal, uint256 compRewardSold, uint256 underlyingPoolShare, uint256 underlyingReward, uint256 harvestCost)
constructor(address pool_, address smartYield_, address bondModel_, address[] uniswapPath_)
This contract contains no fallback and receive objects.
This contract contains no error objects.