LockZap

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x3f8b0f69 at 6313724
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 23179666
BASE_PERCENT(view returns (uint256)
100
MAX_SLIPPAGE(view returns (uint256)
9500
RATIO_DIVISOR(view returns (uint256)
10000
REFERRAL_CODE(view returns (uint16)
0
VARIABLE_INTEREST_RATE_MODE(view returns (uint256)
2
getPoolHelper(view returns (address)
0x0000000000000000000000000000000000000000
getUniRouter(view returns (address)
0x0000000000000000000000000000000000000000
mfd(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x0000000000000000000000000000000000000000
paused(view returns (bool)
false
poolHelper(view returns (address)
0x0000000000000000000000000000000000000000
uniRouter(view returns (address)
0x0000000000000000000000000000000000000000
weth(view returns (address)
0x0000000000000000000000000000000000000000
xenAddr(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
quoteFromToken(address _tokenuint256 _amountview returns (uint256)
State-modifying
initialize(address _xenPoolHelperaddress _uniRouteraddress _wethaddress _xenAddr
pause(
renounceOwnership(
setMfd(address _mfdAddr
setPoolHelper(address _poolHelper
setUniRouter(address _uniRouter
transferOwnership(address newOwner
unpause(
withdrawLockedETH(address touint256 value
zap(bool _borrowaddress _assetuint256 _assetAmtuint256 _xenAmtuint256 _lockTypeIndexuint256 _slippagepayable returns (uint256)
zapOnBehalf(bool _borrowaddress _assetuint256 _assetAmtuint256 _xenAmtaddress _onBehalfuint256 _slippagepayable returns (uint256)
Events
Initialized(uint8 version
MfdUpdated(address indexed _mfdAddr
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
PoolHelperUpdated(address indexed _poolHelper
UniRouterUpdated(address indexed _uniRouter
Unpaused(address account
Zapped(bool _borrowuint256 _ethAmtuint256 _xenAmtaddress indexed _fromaddress indexed _onBehalfuint256 _lockTypeIndex
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AddressZero(
AmountZero(
ETHTransferFailed(
EthTransferFailed(
InsufficientETH(
InvalidLockLength(
InvalidRatio(
InvalidZapETHSource(
ReceivedETHOnAlternativeAssetZap(
SlippageTooHigh(
SpecifiedSlippageExceedLimit(