short demo using a front end>> How to swap your ETH into ENS LP on zAMM and start farming for LP rewards:
ross
ross23.7. klo 03.29
I have officially written my most insane DeFi contract... { zENS } Send ETH to ens.zamm.eth. This then autoswaps on Univ3 with half the ETH, and migrates this as ETH/ENS liquidity into a zAMM fungible LP. Zero calldata. Slippage is checked with sstore4/:z.
on: You will always get the best onchain rate for ENS. The app tells you if swapping on zAMM gets you more ENS for ETH. If not, it recommends Univ3 swap, and migrates your liquidity into zAMM. Where you can stake that LP.
fixed something to do with price mismatch between uni and zamm, should be good now
9,47K