LockZap
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
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
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "LockZap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LockZap"
ABI
ABI objects
Getter at block 23941288
BASE_PERCENT() view returns (uint256)
100
MAX_SLIPPAGE() view returns (uint256)
9500
MIN_UNIV3_ROUTE_LENGTH() view returns (uint256)
43
RATIO_DIVISOR() view returns (uint256)
10000
REFERRAL_CODE() view returns (uint16)
0
UNIV3_NEXT_OFFSET() view returns (uint256)
23
VARIABLE_INTEREST_RATE_MODE() view returns (uint256)
2
aaveOracle() view returns (address)
0x0000000000000000000000000000000000000000
ethLPRatio() view returns (uint256)
0
getPoolHelper() view returns (address)
0x0000000000000000000000000000000000000000
getUniRouter() view returns (address)
0x0000000000000000000000000000000000000000
lendingPool() view returns (address)
0x0000000000000000000000000000000000000000
mfd() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
poolHelper() view returns (address)
0x0000000000000000000000000000000000000000
priceProvider() view returns (address)
0x0000000000000000000000000000000000000000
rdntAddr() view returns (address)
0x0000000000000000000000000000000000000000
uniRouter() view returns (address)
0x0000000000000000000000000000000000000000
uniV3Quoter() view returns (address)
0x0000000000000000000000000000000000000000
weth() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getUniV3Route(address _tokenIn, address _tokenOut) view returns (bytes)
getVDebtToken(address _asset) view returns (address)
State-modifying
Events initialize(address _rndtPoolHelper, address _uniRouter, address _lendingPool, address _weth, address _rdntAddr, uint256 _ethLPRatio, address _aaveOracle)
pause()
quoteFromToken(address _token, uint256 _rdntIn) returns (uint256)
renounceOwnership()
setAaveOracle(address _aaveOracle)
setEthLPRatio(uint256 _ethLPRatio)
setMfd(address _mfdAddr)
setPoolHelper(address _poolHelper)
setPriceProvider(address _provider)
setUniRouter(address _uniRouter)
setUniV3Quoter(address _uniV3Quoter)
setUniV3Route(address _tokenIn, address _tokenOut, bytes _route)
transferOwnership(address newOwner)
unpause()
withdrawLockedETH(address to, uint256 value)
zap(bool _borrow, address _asset, uint256 _assetAmt, uint256 _rdntAmt, uint256 _lockTypeIndex, uint256 _slippage) payable returns (uint256)
zapFromVesting(bool _borrow, address _asset, uint256 _assetAmt, uint256 _lockTypeIndex, uint256 _slippage) payable returns (uint256)
zapOnBehalf(bool _borrow, address _asset, uint256 _assetAmt, uint256 _rdntAmt, address _onBehalf, uint256 _slippage) payable returns (uint256)
EthLPRatioUpdated(uint256 _ethLPRatio)
Initialized(uint8 version)
MfdUpdated(address indexed _mfdAddr)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
PoolHelperUpdated(address indexed _poolHelper)
PriceProviderUpdated(address indexed _provider)
RoutesUniV3Updated(address indexed _tokenIn, address indexed _tokenOut, bytes _route)
UniRouterUpdated(address indexed _uniRouter)
UniV3QuoterUpdated(address indexed _uniV3Quoter)
Unpaused(address account)
Zapped(bool _borrow, uint256 _ethAmt, uint256 _rdntAmt, address indexed _from, address indexed _onBehalf, uint256 _lockTypeIndex)
constructor()
receive()
AddressZero()
AmountZero()
ETHTransferFailed()
EthTransferFailed()
InsufficientETH()
InvalidLockLength()
InvalidRatio()
InvalidZapETHSource()
ReceivedETHOnAlternativeAssetZap()
SlippageTooHigh()
SpecifiedSlippageExceedLimit()
SwapFailed(address asset, uint256 amount)
WrongRoute(address fromToken, address toToken)