CompoundController
Verified contract
Active on
Ethereum with 16 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) |
---|---|---|---|---|---|---|---|
| 13976861 | 3 years ago | | | 0 | 0.083139965 | |
| 13976847 | 3 years ago | | | 0 | 0.088506816 | |
| 13486050 | 3 years ago | | | 0 | 0.033703896 | |
| 13326632 | 3 years ago | | | 0 | 0.0014331600 | |
| 12580526 | 3 years ago | | | 0 | 0.0054974300 | |
| 12175922 | 4 years ago | | | 0 | 0.059376954 | |
| 12175920 | 4 years ago | | | 0 | 0.0021601920 | |
| 12043932 | 4 years ago | | | 0 | 0.0057887480 | |
| 12043665 | 4 years ago | | | 0 | 0.0052849190 | |
| 12043664 | 4 years ago | | | 0 | 0.0053003590 |
ABI
ABI objects
Getter at block 21256857 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)
23150193228723611
cumulativeSupplyRate() view returns (uint256)
96027602638358101
dao() view returns (address)
0x4cae362d7f227e3d306f70ce4878e245563f3069
feesOwner() view returns (address)
0x4cae362d7f227e3d306f70ce4878e245563f3069
guardian() view returns (address)
0x54e6a2f9991b6b6d57d152d21427e8cb80b25e91
harvestedLast() view returns (uint256)
1673975603
oracle() view returns (address)
0xbd45dba10b4e2a81040b7511ff4c210eb590b817
pool() view returns (address)
0xdaa037f99d168b552c0c61b7fb64cf7819d78310
prevCompSupplyState() view returns (uint224 index, uint32 block)
(index=77232613081136195923568085522837569385714, block=19913799)
prevCumulationTime() view returns (uint256)
1716240359
prevExchnageRateCurrent() view returns (uint256)
239021668900836
smartYield() view returns (address)
0x4b8d90d68f26def303dcb6cfc9b63a1aaec15840
underlyingDecimals() view returns (uint256)
6
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.