StrategyUnitWETHV1

Verified contract

Active on Ethereum with 47 txns
Deployed by via 0x63792858 at 12895949
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional variables
ERC-20
--
 (#17)
ERC-1555
--
0x8138cda65beba22bf8aab5c2db803748bdf1e7468bc4b4115647ca86c8924c0d
0xcaf809fe77f481786595863c8c7b749d83c7b6a7df6375aaa032242d1e037227
0xe8d0ad26e1e2454d5a834a106c5f6d200c5eff8e77da2ffde890c0ee7b254075
0xd6e0729749480b85f134a88d0d239513b69340e3383c4d7c1355a2f98877c7d4
0x4609203a567e8dd0f9e6e16d496d3f715442c04539bb0f4e9fbd42c73361acd8
0x26686316df216640b43b7951ef001ca47aba414c9e0b5d02757506e4e6766cff
0x30359c69189575f9e09ad2f89d1411fcebf6ae1830a1e7c475d976dc20fb8a10
0xc58ff49d96c72b7bf49619fe3976c6ba1c3e33c2dceb39127be21a41125c35b3
0xf0c91c90eb558e3d955147eba66b4afbfd2053ae4bbbdaa8b2414b8cd3109251
0x8c16ebf729d6a844cd0feab3dbf2d8c18b99285ce9683d43a4f63812606ffa52

Functions
Getter at block 21206320
DENOMINATOR(view returns (uint256)
10000
balanceOf(view returns (uint256)
0
balanceOfCrvLPToken(view returns (uint256)
0
balanceOfDebtToken(view returns (uint256)
0
balanceOfPool(view returns (uint256)
0
balanceOfWant(view returns (uint256)
0
borrowableDebt(view returns (uint256)
0
buybackEnabled(view returns (bool)
true
cdpMgr01(view returns (address)
0x0e13ab042ec5ab9fc6f43979406088b9028f66fa
collateral(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
collateralDecimal(view returns (uint256)
1000000000000000000
collateralPriceDecimal(view returns (uint256)
1
collateralPriceEth(view returns (bool)
false
controller(view returns (address)
0x4bf5059065541a2b176500928e91fbfd0b121d07
 
currentRatio(view returns (uint256)
curvePool(view returns (address)
0x42d7025938bec20b69cbae5a77421082407f053a
debtLimit(view returns (uint256)
0
debtToken(view returns (address)
0x1456688345527be1f37e9e627da0837d6f08c925
debtUsed(view returns (uint256)
1112107907706440850952042
delayBlockRequired(view returns (uint256)
1000
devFundFee(view returns (uint256)
0
devFundMax(view returns (uint256)
100000
eth_usd(view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
getCollateralBalance(view returns (uint256)
0
getDebtBalance(view returns (uint256)
0
getDebtWithoutFee(view returns (uint256)
0
getDueFee(view returns (uint256)
0
getHarvestable(view returns (uint256)
69123421452350442225
 
getHarvestableCVX(view returns (uint256)
getLatestCollateralPrice(view returns (uint256)
3152
governance(view returns (address)
0x43229759e12efbe3e2a0fb0510b15e516d046442
harvestToRepay(view returns (bool)
false
lastHarvestBlock(view returns (uint256)
13484834
lastHarvestInWant(view returns (uint256)
1440394602871743831
masterChef(view returns (address)
0xf8873a6080e8dbf41ada900498de0951074af577
minRatio(view returns (uint256)
146
mmToken(view returns (address)
0xa283aa7cfbb27ef0cfbcb2493dd9f4330e0fd304
performanceFee(view returns (uint256)
30000
performanceMax(view returns (uint256)
100000
ratioBuff(view returns (uint256)
150
ratioBuffMax(view returns (uint256)
10000
rewardPool(view returns (address)
0x24dffd1949f888f91a0c8341fc98a3f280a782a8
rewardTokenCRV(view returns (address)
0xd533a949740bb3306d119cc777fa900ba034cd52
rewardTokenCVX(view returns (address)
0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b
slippageProtectionIn(view returns (uint256)
100
slippageProtectionOut(view returns (uint256)
100
slippageRepayment(view returns (uint256)
5000
stakingPool(view returns (address)
0xf403c135812408bfbe8713b5a23a04b3d48aae31
stakingPoolId(view returns (uint256)
28
strategist(view returns (address)
0x031d40daebf78b12070e2bc8dde0050422746b06
sushiRouter(view returns (address)
0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f
timelock(view returns (address)
0x5dae9b27313670663b34ac8bffd18825bb9df736
treasuryFee(view returns (uint256)
0
treasuryMax(view returns (uint256)
100000
unitOracle(view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
unitVault(view returns (address)
0xb1cff81b9305166ff1efc49a129ad2afcd7bcf19
unitVaultParameters(view returns (address)
0xb46f8cf42e504efe8bef895f848741daa55e9f1d
univ2Router2(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
usdp3crv(view returns (address)
0x7eb40e450b9655f4b3cc4259bcc731c63ff55ae6
 
virtualPriceToWant(view returns (uint256)
want(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
want_decimals(view returns (uint8)
18
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
weth_collateral(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
weth_collateral_decimal(view returns (uint256)
1000000000000000000
weth_oracle(view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
weth_price_decimal(view returns (uint256)
1
weth_price_eth(view returns (bool)
false
Read-only
benignCallers(addressview returns (bool)
calcToSwappedForFeeRepayment(uint256 _dueFeeuint256 _toSwappedCurBalview returns (uint256)
calculateDebtFor(uint256 collateralAmtbool borrowview returns (uint256)
checkSlip(uint256 _wantAmtuint256 _maxSlipview returns (bool)
collateralValue(uint256 collateralAmtview returns (uint256)
crvLPToWant(uint256 _lpAmountview returns (uint256)
estimateRequiredLP(uint256 _wantAmtview returns (uint256)
figureOutPath(address _fromaddress _touint256 _amountview returns (bool useSushiaddress[] swapPath)
mintableCVX(uint256 _amountview returns (uint256)
requiredPaidDebt(uint256 _redeemCollateralAmtview returns (uint256)
State-modifying
deposit(
harvest(
keepMinRatio(
setBenignCallers(address _callerbool _enabled
setBuybackEnabled(bool _buybackEnabled
setDelayBlockRequired(uint256 _delayBlockRequired
setDevFundFee(uint256 _devFundFee
setGovernance(address _governance
setHarvestToRepay(bool _repay
setMinRatio(uint256 _minRatio
setPerformanceFee(uint256 _performanceFee
setRatioBuff(uint256 _ratioBuff
setRewardPool(address _pool
setSlippageProtection(uint256 _inuint256 _out
setSlippageRepayment(uint256 _repaymentSlippage
setStakingPool(address _pool
setStakingPoolId(uint256 _poolId
setStrategist(address _strategist
setTreasuryFee(uint256 _treasuryFee
withdraw(address _assetreturns (uint256 balance)
withdraw(uint256 _amount
withdrawAll(returns (uint256 balance)
Events

This contract contains no event objects.

Constructor
constructor(address _governanceaddress _strategistaddress _controlleraddress _timelock
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.