StrategyGenericLevCompFarm
Verified contract
Active on
Ethereum with 71 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
cUSDC | ERC-20 | 0.000044 | $0.024273 |
$0 | |
COMP | ERC-20 | 0 | $72.27 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12696937 | 3 years ago | | | 0 | 0.0027959804 | |
| 12696937 | 3 years ago | | | 0 | 0.0066335810 | |
| 12696937 | 3 years ago | | | 0 | 0.014822442 | |
| 12696930 | 3 years ago | | | 0 | 0.010659052 | |
| 12696930 | 3 years ago | | | 0 | 0.010782002 | |
| 12696930 | 3 years ago | | | 0 | 0.013203770 | |
| 12696925 | 3 years ago | | | 0 | 0.013203770 | |
| 12696917 | 3 years ago | | | 0 | 0.014389947 | |
| 12696898 | 3 years ago | | | 0 | 0.014404752 | |
| 12696897 | 3 years ago | | | 0 | 0.013153632 |
ABI
ABI objects
Getter at block 21304141 estimatedTotalAssets() view returns (uint256) expectedReturn() view returns (uint256) getCurrentPosition() view returns (uint256 deposits, uint256 borrows) getblocksUntilLiquidation() view returns (uint256) isActive() view returns (bool) netBalanceLent() view returns (uint256) predictCompAccrued() view returns (uint256) storedCollateralisation() view returns (uint256 collat)
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
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
profitFactor() view returns (uint256)
1500
rewards() view returns (address)
0x9a65e8ecc9d0112dab0e05c9496894227765b6b8
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 gasCost) view returns (bool)
priceCheck(address start, address end, uint256 _amount) view returns (uint256)
tendTrigger(uint256 gasCost) view returns (bool)
State-modifying
Events callFunction(address sender, struct AccountInfo account, bytes data)
executeOperation(address _reserve, uint256 _amount, uint256 _fee, bytes _params)
getLivePosition() returns (uint256 deposits, uint256 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 _amountNeeded) returns (uint256 _loss)
EmergencyExitEnabled()
Harvested(uint256 profit, uint256 loss, uint256 debtPayment, uint256 debtOutstanding)
Leverage(uint256 amountRequested, uint256 amountGiven, bool deficit, address flashLoan)
UpdatedDebtThreshold(uint256 debtThreshold)
UpdatedKeeper(address newKeeper)
UpdatedProfitFactor(uint256 profitFactor)
UpdatedReportDelay(uint256 delay)
UpdatedRewards(address rewards)
UpdatedStrategist(address newStrategist)
constructor(address _vault, address _cToken)
This contract contains no fallback and receive objects.
This contract contains no error objects.