Daniel Robinson 7bf29e9bdc contracts: split swapInput into two functions
This refactors the ERC20-ERC20 contract to split swapInput into two public functions, with the shared logic in a single private function. This reduces the amount of branching, and is likely to make further changes (such as caching reserve balances and recording accumulator values for the oracle) easier.
2019-10-01 12:17:13 -07:00
2019-08-29 16:26:59 -04:00
2019-08-28 16:31:10 -04:00
2019-08-28 16:31:10 -04:00
2019-08-29 16:26:59 -04:00
2019-08-29 17:48:14 -04:00
2019-08-29 16:26:59 -04:00

Installation:

  1. Clone Uniswap
$ git clone https://github.com/Uniswap/uniswap-v2
$ cd uniswap-v2
  1. Install dependencies
yarn
  1. Run tests
yarn test
Description
No description provided
Readme 1,019 KiB
Languages
Solidity 53.7%
TypeScript 46.3%