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

  1. Obtain ETH from the Sepolia Testnet faucets.
  2. Transform ETH to WETH using the WETH contract.
  3. Deposit WETH into the LTV Vault.
  4. Wait for the yield generation period to end.
  5. Withdraw your WETH or MagicETH from the LTV Vault.

Pico UI

A minimal and lightweight frontend for interacting with the ghost testnet vaults.

Source code: https://github.com/ltvprotocol/pico_ui Detailed documentation: Pico UI Docs

Contract Addresses

Versions

v0.1.5

Actual (v0.1.5) tag: ghost_v0.1.5

Core Contracts

NameAddress
Implementation0x850381Ee6363e05630692cEF49e815B320F72B8c

Modules

NameAddress
ERC20 Module0x93889Ffe70ec6F772458b8D2e40C0377266F6Bef
Borrow Vault Module0x64d5acf4db65ae30723b96e5fb455bc2c66f9798
Collateral Vault Module0xe1F7EC39C820f10B9C114202FACA82c63fC131eB
Low-Level Rebalance Module0x6cb72186a8F7a305F4262af19BD0a2b6b80594DF
Auction Module0x9bDF7EBf76741D3948116e39a883693D64Dc9fd5
Administration Module0xcE5BCE6d3C3f983F4ca61b5e4efeE8e225a7D9c2
Initialize Module0x599484fda8E1e3d69ca480AcFc77C2Ea36D0f0Bb
Modules Provider0xd843c8d41a2c78B24af7155Ea407940a002604d9

Connectors

NameAddress
Whitelist Registry0x0000000000000000000000000000000000000000
Vault Balance Connector0xA9D5d9b37278E5440bFbC31c0841ae77143aE943
Slippage Connector0x96e905b396546b01C7C8c6DaFaD08e694C3d963C
Oracle Connector0x79928E57C139BbDa14AEbcBe568d9a4B17bBcA00
Lending Connector0x899645f1AF07511e112f737027BCF13F122aa5A6

v0.1.1

Previous (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