Leverager
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "Leverager"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Leverager"
ABI
ABI objects
Getter at block 23073263
API_ETH_MOCK_ADDRESS() view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
INTEREST_RATE_MODE() view returns (uint256)
2
MAX_MARGIN() view returns (uint256)
10
MAX_REASONABLE_FEE() view returns (uint256)
100
RATIO_DIVISOR() view returns (uint256)
10000
TWO_POW_16() view returns (uint256)
65536
ZAP_MARGIN_ESTIMATION() view returns (uint256)
6
aaveOracle() view returns (address)
0x0000000000000000000000000000000000000000
eligibilityDataProvider() view returns (address)
0x0000000000000000000000000000000000000000
feePercent() view returns (uint256)
0
lendingPool() view returns (address)
0x0000000000000000000000000000000000000000
lockZap() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
treasury() view returns (address)
0x0000000000000000000000000000000000000000
weth() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getConfiguration(address asset) view returns (struct DataTypesReserveConfigurationMap)
getVDebtToken(address asset) view returns (address)
ltv(address asset) view returns (uint256)
wethToZap(address user) view returns (uint256)
wethToZapEstimation(address user, address asset, uint256 amount, uint256 borrowRatio, uint256 loopCount) view returns (uint256)
State-modifying
Events initialize(address _lendingPool, address _rewardEligibleDataProvider, address _aaveOracle, address _lockZap, address _weth, uint256 _feePercent, address _treasury)
loop(address asset, uint256 amount, uint256 interestRateMode, uint256 borrowRatio, uint256 loopCount, bool isBorrow)
loopETH(uint256 interestRateMode, uint256 borrowRatio, uint256 loopCount) payable
loopETHFromBorrow(uint256 interestRateMode, uint256 amount, uint256 borrowRatio, uint256 loopCount)
renounceOwnership()
setFeePercent(uint256 _feePercent)
setLockZap(address _lockZap)
setTreasury(address _treasury)
transferOwnership(address newOwner)
zapWETHWithBorrow(uint256 amount, address borrower) returns (uint256 liquidity)
FeePercentUpdated(uint256 indexed _feePercent)
Initialized(uint8 version)
LockZapUpdated(address indexed _lockZap)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
TreasuryUpdated(address indexed _treasury)
constructor()
fallback()
receive()
AddressZero()
ETHTransferFailed()
EthTransferFailed()
FallbackNotAllowed()
InsufficientPermission()
InvalidLoopCount()
InvalidRatio()
MarginTooHigh()
ReceiveNotAllowed()