LockZap

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xc77533c0 at 17791400
Slot
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

No balances found for "LockZap"

No transactions found for "LockZap"


Functions
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 _tokenInaddress _tokenOutview returns (bytes)
getVDebtToken(address _assetview returns (address)
State-modifying
initialize(address _rndtPoolHelperaddress _uniRouteraddress _lendingPooladdress _wethaddress _rdntAddruint256 _ethLPRatioaddress _aaveOracle
pause(
quoteFromToken(address _tokenuint256 _rdntInreturns (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 _tokenInaddress _tokenOutbytes _route
transferOwnership(address newOwner
unpause(
withdrawLockedETH(address touint256 value
zap(bool _borrowaddress _assetuint256 _assetAmtuint256 _rdntAmtuint256 _lockTypeIndexuint256 _slippagepayable returns (uint256)
zapFromVesting(bool _borrowaddress _assetuint256 _assetAmtuint256 _lockTypeIndexuint256 _slippagepayable returns (uint256)
zapOnBehalf(bool _borrowaddress _assetuint256 _assetAmtuint256 _rdntAmtaddress _onBehalfuint256 _slippagepayable returns (uint256)
Events
EthLPRatioUpdated(uint256 _ethLPRatio
Initialized(uint8 version
MfdUpdated(address indexed _mfdAddr
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
PoolHelperUpdated(address indexed _poolHelper
PriceProviderUpdated(address indexed _provider
RoutesUniV3Updated(address indexed _tokenInaddress indexed _tokenOutbytes _route
UniRouterUpdated(address indexed _uniRouter
UniV3QuoterUpdated(address indexed _uniV3Quoter
Unpaused(address account
Zapped(bool _borrowuint256 _ethAmtuint256 _rdntAmtaddress indexed _fromaddress indexed _onBehalfuint256 _lockTypeIndex
Constructor
constructor(
Fallback and receive
receive(
Errors
AddressZero(
AmountZero(
ETHTransferFailed(
EthTransferFailed(
InsufficientETH(
InvalidLockLength(
InvalidRatio(
InvalidZapETHSource(
ReceivedETHOnAlternativeAssetZap(
SlippageTooHigh(
SpecifiedSlippageExceedLimit(
SwapFailed(address assetuint256 amount
WrongRoute(address fromTokenaddress toToken