Skip to content

decaswap-labs/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

description
Overview of DECASWAP

DECASWAP AMM

DECASWAP allows users to add assets into pools and earn passive yield paid in USDC. There are two types of LPs - Pool LPs, as well as a Global LP of all pools at the same time. The system controls the virtual balances of the paired asset - D Liquidity Units; which cannot be bought or held directly. Any asset can be added to the system.

Pools use THORChain's continuous liquidity design with streaming swaps that allow it to be capital efficient; as well supporting limit orders - “price conditional swaps”. A public keeper function is exposed allowing anyone to process the streaming swap queue and claim fees. Opposite direction swaps are matched outside the swap queue. Due to this, and the fact that the swap queue cannot be re-ordered, most forms of MEV are avoided.

An early-liquidation dynamic-interest lending scheme is supported with 50% LTV loans from pool collateral, borrowing from THORChain's liquidity synthetic's idea. The collateral can be liquidated for a small fee below a liquidation price, set around 101% of Collateral Value.

There is an asset DECA, of which pool LPs are entitled to 10% of System Income. DECA Pool LPs also control some protocol parameters, in particular the DECAMINT, a reserve that streams DECA rewards to LPs.

DECASWAP borrows much of THORChain's novel ideas and imports them to the EVM. DECASWAP is built by a co-founder of THORChain.

  1. Continuous Liquidity
  2. Streaming Swaps
  3. Price Conditional Swaps
  4. Global LP
  5. Liquidity Synthetics
  6. Lending Scheme via Mint

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published