After starting to build LSD ๐ in week 7, 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: This is where all the depositing and redeeming takes place
Vault Stats Page: 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:

