CompoundLeverage

Verified contract

Active on Ethereum with 173 txns
Deployed by via 0x4da7aafd at 16134965
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"

0x1be105623a37f885f4a56f628a033ae1c37fe7c14c8990a55b675dc9015b955d
0xc6987754e692be0c9d8a4735d7cbbe94951493b65c84edfbf16a6b1409201125
0xc8f976b14649ae2736b66a459c11f438f8cb8b707cefce4a4e622f4ebd272ed9
0x72c625a9b3853be273e92c11702cefe77fa8f6c2f5a4953a24220cdafa020cc2
0xdb2484eba0bc41f65d6bd13c1763e8d385def590d904f20211dfb77d0dfb1a0e
0x7677d5c9c7dd8cb65b5af12f0c4daf83487d88efe740df572d1ce862c8d87205
0xe37bf3952c3fcf43742da5b6dc8cec8bf5ddc7cb9992629037e905033080a5d3
0xa976f38c9b3206f55baa1f118d6a9d639a93d207ea4b9a765b025117028d1116
0x37ecd7138a5066a1d5d6b9374e09b8c9a92cdb2ae06ce82517f76d962dd56fb2
0x81e4de8d9efa72e3f94b778b30a58006d2c379e9ef20c6277c604141ba9a2716

Functions
Getter at block 21295057
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)
0x45ff0e3bd649a1d4b78982c8eeae0839aaa7f84f
 
getPosition(view returns (uint256 _supplyuint256 _borrow)
isAaveActive(view returns (bool)
false
isDyDxActive(view returns (bool)
false
keepers(view returns (address[])
[0x76d266DFD3754f090488ae12F6Bd115cD7E77eBD, 0xdf826ff6518e609E4cEE86299d40611C148099d5, 0x1CbfaE0367a9B1e4Ac2c158E57B5F00cCb337271, 0xf7364E230EA0e5CC41E6Cd4E2a30A26Ca1850b73]
maxBorrowRatio(view returns (uint256)
6000
minBorrowRatio(view returns (uint256)
5000
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
claimAndSwapRewards(uint256 _minAmountOutreturns (uint256 _amountOut)
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.