David Truong

David Truong

Collateral Swap

Status: Available on mainnet, but un-maintained
Link | Explainer

The first mainnet collateral swap - swapping the collateral in a debt position to another asset, in one transaction.

This would allow a DeFi users to swap a debt position to a safer debt position, if the price of their collateral was volatile on the down side.

The 'alpha' dapp allowed users to swap collateral for MakerDAO vaults, using Aave flash loans and Uniswap v1 DEX. Users could also release the underlying collateral, using some of the existing collateral to payback the outstanding debt.