StrategyGenericLevCompFarm

Verified contract

Active on Ethereum with 71 txns
Deployed by via 0x0502742b at 11674467
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
Value $0
0x09a4a6069f1ccd338c530948cc49c960df735e3bbde4ed10c3b05bf129024332
0xde9e45bb6217da8baee6e566f1e59759e3c5713a7844e5fd5ac1530b27a9736c
0xa4c78a7a428fda1ac4cb0817219fbfe09e6a6b7b7b977386c4242b987af4fd70
0x8566f0c814c7cd2585f224c7bda3b702d63d758db976e4f19f023684ec3fee0e
0xdab88d357d44b3aaa18a0e6dd20e32c03a225d90e7faff35209cf24ec0b6e98b
0x3492d6b09fbec1f8eef4e112d7bac4905a02e13731083f9f50c7a0c4e01eec1c
0x4ce538d3b7074d71d9d68e2f2d94468061d793e4a8f789f55a6f080ece301aa0
0xb64d4b1e4ec80c11c9122840ca2e3fb9d0b26f863fec1cf8342fa40147fc79f1
0xa3fe2bdcc8d01bfe8c70195ddacb5f0e65b0c621ba1351ec86ceff8b4310be95
0x1bfdbe31426176ca07b2ec39be44770eac654d153ac549383403676b58385953

Functions
Getter at block 21304141
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)
0x39aa39c021dfbae8fac545936693ac917d5e7563
collateralTarget(view returns (uint256)
725000000000000000
comp(view returns (address)
0xc00e94cb662c3520282e6f5717214004a7f26888
compound(view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
debtThreshold(view returns (uint256)
100000000000000
delegatedAssets(view returns (uint256)
0
dyDxMarketId(view returns (uint256)
2
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)
86400
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)
1500
rewards(view returns (address)
0x9a65e8ecc9d0112dab0e05c9496894227765b6b8
 
storedCollateralisation(view returns (uint256 collat)
strategist(view returns (address)
0xc3d6880fd95e06c816cb030fac45b3ffe3651cb0
uniswapRouter(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
vault(view returns (address)
0x5f18c75abdae578b483e5f43f12a39cf75b973a9
want(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
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.