Ghost testnet
The LTV Vault is an implementation of an EIP-4626 vault designed for leveraging WETH (Wrapped ETH) deposits to generate yield over time. Users can deposit WETH, hold for a few months, and earn more WETH through a leveraged strategy utilizing the Magic ETH (MAE) token.
The vault borrows WETH and use MagicETH as collateral in the HodlMyBeer Lending protocol and follows the design principles outlined in the research paper: LTV: Curatorless Leveraged Tokenized Vault with a Constant Target Loan-To-Value Ratio
Components
LTV Vault
The LTV Vault is a smart contract that accepts WETH and MagicETH deposits. The vault borrows WETH and keeps MagicETH tokens as collateral in target LTV ratio in HodlMyBeer Lending Protocol. Users can deposit WETH and MagicETH into the vault and receive more WETH and MagicETH after a certain period.
Source code: LTV Vault
Ghost Testnet branch: ghost-testnet
Actual (v0.1.1) tag: ghost_v0.1.1
WETH (Wrapped Testnet ETH)
WETH is the wrapped version of ETH available on the Sepolia Testnet. Users can obtain testnet ETH from various faucets, such as:
User can tranform Sepolia ETH to WETH using the WETH contract
Magic ETH (MAE)
Magic ETH (MAE) is a testnet asset that mimics real-world Liquid Staking Tokens (LSTs) such as Rocket Pool ETH (rETH) or Lido Staked ETH (stETH). MAE accrues value over time, making it an effective asset for yield strategies.
Source code: Magic ETH
Spooky Oracle
The Spooky Oracle provides the real-time redemption price of Magic ETH (MAE) and feeds this data into the LTV Vault. It is maintained by the LTV Protocol Team to ensure accurate pricing for yield calculations and leverage adjustments.
Source code: Spooky Oracle
HodlMyBeer Lending Protocol
The HodlMyBeer Lending Protocol is a dummy lending system that supports an isolated WETH-to-MAE pool. The LTV Vault interacts with this protocol to borrow WETH and provide MagicETH as collateral and execute leveraged yield strategies.
Source code: HodlMyBeer Lending Protocol
How to Use
- Obtain ETH from the Sepolia Testnet faucets.
- Transform ETH to WETH using the WETH contract.
- Deposit WETH into the LTV Vault.
- Wait for the yield generation period to end.
- Withdraw your WETH or MagicETH from the LTV Vault.
Contract Addresses
Name | Source Code | Address |
---|---|---|
LTV Vault | Source code | 0xe2a7f267124ac3e4131f27b9159c78c521a44f3c |
Magic ETH | Source code | 0x8f7b2044f9aa6fbf495c1cc3bde120df9032ae43 |
Spooky Oracle | Source code | 0x6074d1d4022521147db1fad7bacc486b35a64df3 |
HodlMyBeer Lending Protocol | Source code | 0x1dcd756db287354c4607d5d57621cdfb4456e2d4 |
Versions
v0.1.1
Actual (v0.1.1) tag: ghost_v0.1.1
Deployed contract implementation: 0x95fe6151ad668984b1c7b193866302b41b90887a
v0.1.0
Previous (v0.1.0) tag: ghost_v0.1.0
Deployed contract implementation: 0xeb81c4fe3d8e3c146a25bf9ea2309977071b6490