# WEEK 8 @EIF 3.0

By [Kevin](https://paragraph.com/@kevin-49) · 2023-04-06

---

After starting to build LSD 💊 in [week 7](https://mirror.xyz/0x662C2e2F9C98150C20DDCe35df42f17b11C671df/Ua4zhiqibOH9cxxNXkhPyjdPD3ZAhoOC5WZ0tqG4IyM), this week concluded with LSD 💊 being deployed on polygon mainnet 🚀

The contracts were finalized and the frontend for the application was build this week.

There are two main contracts the core contract which is an ERC 4626 and a wrapper contract which has functions that consider slippage and a few gateway functions. Gateway functions are helpful in cases where user is willing to either invest or withdraw in matic instead of wmatic which is the vaults main asset.

The frontend was build using scaffold-eth hooks in nextjs. The cool part of the scaffold-eth hooks is that it has an inbuild polling system that will automatically fetch and update the new data after every `pollingInterval` which I have currently set to be 30 seconds. The frontend consists of two main pages:

*   [Home Page](https://lsd-kevinjoshi46b.vercel.app/): This is where all the depositing and redeeming takes place
    
*   [Vault Stats Page](https://lsd-kevinjoshi46b.vercel.app/vault-stats): This is where all the stats related to how the vault is currently performing is displayed
    

Feel free to explore and invest in LSD 💊🙌

Some important links:

*   [Deployed Webapp](https://lsd-kevinjoshi46b.vercel.app/)
    
*     
    
*   [Devfolio Project Submission](https://devfolio.co/projects/lsd-26e0)
    
*   [Source Code](https://github.com/kevinjoshi46b/lsd)

---

*Originally published on [Kevin](https://paragraph.com/@kevin-49/week-8-eif-3-0)*
