Skip to content

An ERC 4626, liquid & leverage staking based yield generating vault πŸ“ˆ

Notifications You must be signed in to change notification settings

kevinjoshi46b/lsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LSD πŸ’Š

LSD is a liquid staking and leverage staking based yield generating vault. You can deposit your matic and receive LSD tokens which will appreciate in value w.r.t. matic over time πŸ“ˆ LSD internally uses Stader, Aave & Balancer as well as the whole project is build using scaffold-eth 2 πŸ—οΈ
For more details here is a short video explanation: Introducing LSD πŸ’Š

Contracts

LSD.sol: This is the core ERC4626 based contract
LSDWrapper.sol: This contract contains additional function for slippage and gateway (i.e. if user wishes to invest matic instead of wmatic or receive matic instead of wmatic they can use these gateway functions)

Running this project

  1. Clone the repository
  2. Run the following command from the root of the project
yarn install
yarn start

If you don't wish to interact with the polygon mainnet follow the steps below:

  1. Clone the repository
  2. In the scaffold.config.ts file change the targetNetwork property to chains.hardhat
  3. Run the following command from the root of the project
yarn install
yarn fork
yarn deploy
yarn start

Images

Desktop

Desktop Deposit On Home Page

Desktop Redeem On Home Page

Desktop Vault Stats Page

Mobile Devices

Mobile Deposit On Home Page Mobile Redeem On Home Page Mobile Vault Stats Page 1 Mobile Vault Stats Page 2