LockZap
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
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 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 _token, uint256 _amount) view returns (uint256)
State-modifying
Events initialize(address _xenPoolHelper, address _uniRouter, address _weth, address _xenAddr)
pause()
renounceOwnership()
setMfd(address _mfdAddr)
setPoolHelper(address _poolHelper)
setUniRouter(address _uniRouter)
transferOwnership(address newOwner)
unpause()
withdrawLockedETH(address to, uint256 value)
zap(bool _borrow, address _asset, uint256 _assetAmt, uint256 _xenAmt, uint256 _lockTypeIndex, uint256 _slippage) payable returns (uint256)
zapOnBehalf(bool _borrow, address _asset, uint256 _assetAmt, uint256 _xenAmt, address _onBehalf, uint256 _slippage) payable returns (uint256)
Initialized(uint8 version)
MfdUpdated(address indexed _mfdAddr)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
PoolHelperUpdated(address indexed _poolHelper)
UniRouterUpdated(address indexed _uniRouter)
Unpaused(address account)
Zapped(bool _borrow, uint256 _ethAmt, uint256 _xenAmt, address indexed _from, address indexed _onBehalf, uint256 _lockTypeIndex)
This contract contains no constructor objects.
receive()
AddressZero()
AmountZero()
ETHTransferFailed()
EthTransferFailed()
InsufficientETH()
InvalidLockLength()
InvalidRatio()
InvalidZapETHSource()
ReceivedETHOnAlternativeAssetZap()
SlippageTooHigh()
SpecifiedSlippageExceedLimit()