Liquidity ZAP Contract
Address
Init Function
Parameter
Description
token
Address of the token from LP pair.
WETH
Address of WETH.
tokenWethPair
Address of the LP pair.
Initializes LP addresses.
ZAP and unZAP Functions
Adds liquidity taking only ETH tokens.
Adds liquidity taking only Tokens.
Unzaps LP to respective Token and ETH amounts.
Unzaps LP to ETH only.
Unzaps LP to Token only.
Read-Only Functions
Returns how many LP tokens is user able to get with given ETH amount.
Last updated