StrategyGenericLevCompFarm

Verified contract

Active on Ethereum with 58 txns
Deployed by via 0x0b3fde91 at 11674193
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $5.51
ERC-20
Value $0
0xd188a56a51c08409e4bd2143720fef46173eccadbef3e018c706792ed68e878c
0xf48927a41fdc298a966ec5022cd4457a5b93911d940976bd5c7bb13bfb0daf65
0x2235811bf195aeb625e9681ee80cb1d9aada0fc5c5d340444266de5e8daf3c60
0xa2867d021b7e4b670245d0d94af3a1d606d7972e1d28f22d78c25a2c465912db
0x523ee304c222d86a241de78261fc3046c5f947dfe9438d14bde683637541ec6e
0xcda10db1cf6f0df00994fe5cabb28accf1c7663b0d5eed5f08bcaf67f169642f
0x3b78b48863eb425c1117afcb43f53d7dc53698f82702320abdda6c0e43dc0559
0x80ec7c7cd59951434c11521eac84ec854697bcd7b86d3cae2941371093a82569
0x25a22bae312b12559be1a842d9b254fa975fb748802cabb2e0f787da21ceb96c
0xc1ed9376cbd088518c757cd5cbb7276b549624f539d7c6c437a7a4607f3e0357

Functions
Getter at block 21304159
AaveActive(view returns (bool)
false
DyDxActive(view returns (bool)
true
addressesProvider(view returns (address)
0x24a42fd28c976a61df5d00d0599c34c4f90748c8
apiVersion(pure returns (string)
0.3.0
blocksToLiquidationDangerZone(view returns (uint256)
46500
cToken(view returns (address)
0x5d3a536e4d6dbd6114cc1ead35777bab948e3643
collateralTarget(view returns (uint256)
730000000000000000
comp(view returns (address)
0xc00e94cb662c3520282e6f5717214004a7f26888
compound(view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
debtThreshold(view returns (uint256)
2000000000000000000000000
delegatedAssets(view returns (uint256)
0
dyDxMarketId(view returns (uint256)
3
emergencyExit(view returns (bool)
false
 
estimatedTotalAssets(view returns (uint256)
 
expectedReturn(view returns (uint256)
 
getCurrentPosition(view returns (uint256 depositsuint256 borrows)
 
getblocksUntilLiquidation(view returns (uint256)
 
isActive(view returns (bool)
keeper(view returns (address)
0x736d7e3c5a6cb2ce3b764300140abf476f6cfccf
maxReportDelay(view returns (uint256)
43200
minCompToSell(view returns (uint256)
100000000000000000
minWant(view returns (uint256)
0
name(view returns (string)
StrategyGenericLevCompFarm
 
netBalanceLent(view returns (uint256)
 
predictCompAccrued(view returns (uint256)
profitFactor(view returns (uint256)
4000
rewards(view returns (address)
0x9a65e8ecc9d0112dab0e05c9496894227765b6b8
 
storedCollateralisation(view returns (uint256 collat)
strategist(view returns (address)
0xc3d6880fd95e06c816cb030fac45b3ffe3651cb0
uniswapRouter(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
vault(view returns (address)
0x19d3364a399d251e894ac732651be8b0e4e85001
want(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
harvestTrigger(uint256 gasCostview returns (bool)
priceCheck(address startaddress enduint256 _amountview returns (uint256)
tendTrigger(uint256 gasCostview returns (bool)
State-modifying
callFunction(address senderstruct AccountInfo accountbytes data
executeOperation(address _reserveuint256 _amountuint256 _feebytes _params
getLivePosition(returns (uint256 depositsuint256 borrows)
harvest(
migrate(address _newStrategy
setAave(bool _ave
setCollateralTarget(uint256 _collateralTarget
setDebtThreshold(uint256 _debtThreshold
setDyDx(bool _dydx
setEmergencyExit(
setKeeper(address _keeper
setMaxReportDelay(uint256 _delay
setMinCompToSell(uint256 _minCompToSell
setMinWant(uint256 _minWant
setProfitFactor(uint256 _profitFactor
setRewards(address _rewards
setStrategist(address _strategist
sweep(address _token
tend(
updateMarketId(
withdraw(uint256 _amountNeededreturns (uint256 _loss)
Events
EmergencyExitEnabled(
Harvested(uint256 profituint256 lossuint256 debtPaymentuint256 debtOutstanding
Leverage(uint256 amountRequesteduint256 amountGivenbool deficitaddress flashLoan
UpdatedDebtThreshold(uint256 debtThreshold
UpdatedKeeper(address newKeeper
UpdatedProfitFactor(uint256 profitFactor
UpdatedReportDelay(uint256 delay
UpdatedRewards(address rewards
UpdatedStrategist(address newStrategist
Constructor
constructor(address _vaultaddress _cToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.