/dinoswap

A Uniswap Fork enabling ERC20 to ERC20 trades

Primary LanguageJavaScript

Dinoswap

A fork of Uniswap contracts. Stub: missing test coverage.

  • Swap ERC20s for ERC20s
  • Flash borrowing
  • Support for custom fees and price formulas

Installation

  • yarn install
  • install solc. protip: build from source and flag no cvc4
  • yarn test
  • yarn t to test without recompiling

TODO

  • Add contract for low-slippage formula for stable pairs
  • Consider adding CToken accounting to keep reserves equal in value
  • Tests, events, etc

Model

model

Contributions Welcome