Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 586 Bytes

File metadata and controls

19 lines (10 loc) · 586 Bytes

Phantasm Contracts

An complete and thoroughly tested implementation of the Phantasm Protocol (v1)

Using Foundry because it seems cool

Contracts and their Specs

Phantasm Manager

The role of the Phantasm Manager is primarily in accounting, to keep track of all open positions, their ownership, and their Health.

Aave Implementation

Allow Phantasm Manager to control debt, and lend money through the Aave protocol.

Uniswap Spookyswap Implementation

Facilitate the trading through the Spookyswap protocol so Phantasm Manager can buy more collateral