CompoundLeverage

Verified contract

Active on Ethereum with 48 txns
Deployed by via 0x7dfed651 at 15569569
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "CompoundLeverage"

0x555ee19ced0d376774add88a45fdefc084b1359c2169f0f647bb59a20a58befb
0x87f948117b4af1a0c62d73ae596ed9a3357f5de8a16a15a80aa43a49c23a7ce8
0x5e99e72a07715cea7c82924b542e2abbcd19619dd1b21f62745a1e8730019128
0x5ea118e376c74ea45834c074ce1b0df6b8d0798e93f1078fb8863f56fe4cfc3b
0x50726ada3c0d44558f9260a653ff9411e8525f9c364e9f6d694d55783d915aec
0xecd805e2a3ee3e1f9119f7a841d60025dd979ce8d2a86cdd64604c22c3d47a4a
0x2d8dcd1b514fef878604fe48c56a1d9509920ae3c174361891cd9146a32d2329
0x8442178d0b916359568271ce9c34a70c0cee68bc861cb8821080b0dbcaed81fe
0x475e5f69a96cd847df223013b9f6531cf09c558f85ea1e0c740716703e047e6a
0x495d498c96efa00760f26bd1ba610b3ef7e917eb483b5a5d6d9d51a9d744da74

Functions
Getter at block 20932788
NAME(view returns (string)
Compound_Leverage_DAI
VERSION(view returns (string)
5.0.0
collateral(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
collateralToken(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
comptroller(view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
 
currentBorrowRatio(view returns (uint256)
dyDxMarketId(view returns (uint256)
0
feeCollector(view returns (address)
0x80d426d65d926df121dc58c18d043b73e998ce2b
 
getPosition(view returns (uint256 _supplyuint256 _borrow)
isAaveActive(view returns (bool)
false
isDyDxActive(view returns (bool)
false
keepers(view returns (address[])
[0x76d266DFD3754f090488ae12F6Bd115cD7E77eBD, 0xdf826ff6518e609E4cEE86299d40611C148099d5, 0x1CbfaE0367a9B1e4Ac2c158E57B5F00cCb337271]
maxBorrowRatio(view returns (uint256)
7700
minBorrowRatio(view returns (uint256)
0
pool(view returns (address)
0x0538c8bac84e95a9df8ac10aad17dbe81b9e36ee
receiptToken(view returns (address)
0x5d3a536e4d6dbd6114cc1ead35777bab948e3643
rewardToken(view returns (address)
0xc00e94cb662c3520282e6f5717214004a7f26888
swapper(view returns (address)
0x8f156189a3cd28dfc8fb7bbbace58f98f09c0bb3
token(view returns (address)
0x5d3a536e4d6dbd6114cc1ead35777bab948e3643
 
tvl(view returns (uint256)
Read-only
isReservedToken(address _tokenview returns (bool)
State-modifying
addKeeper(address _keeperAddress
approveToken(
callFunction(address _senderstruct AccountInfobytes _callData
executeOperation(address[]uint256[] _amountsuint256[] _premiumsaddress _initiatorbytes _datareturns (bool)
migrate(address _newStrategy
rebalance(returns (uint256 _profituint256 _lossuint256 _payback)
removeKeeper(address _keeperAddress
sweepERC20(address _fromToken
updateAaveStatus(bool _status
updateBorrowRatio(uint256 _minBorrowRatiouint256 _maxBorrowRatio
updateDyDxStatus(bool _status
updateFeeCollector(address _feeCollector
updateSwapper(address _swapper
withdraw(uint256 _amount
Events
UpdatedBorrowRatio(uint256 previousMinBorrowRatiouint256 newMinBorrowRatiouint256 previousMaxBorrowRatiouint256 newMaxBorrowRatio
UpdatedFeeCollector(address indexed previousFeeCollectoraddress indexed newFeeCollector
UpdatedSwapper(address indexed oldSwapperaddress indexed newSwapper
Constructor
constructor(address _pooladdress _swapperaddress _comptrolleraddress _rewardTokenaddress _aaveAddressesProvideraddress _receiptTokenstring _name
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.