4779878e27582ba76801c086ad36920d6b313e48
...are now consistent with how we do it in contracts moved downcast helpers to Math clearer error names
Uniswap v2 Smart Contracts
Local Development
The following assumes the use of node@^10.
Clone Repository
git clone https://github.com/Uniswap/uniswap-v2.git
cd uniswap-v2
Install Dependencies
yarn
Compile Contracts and Run Tests
yarn compile
yarn test
Implementation References
contracts/libraries/Math.sol
OpenZeppelin
dapp-bin
https://github.com/ethereum/dapp-bin/pull/50
contracts/libraries/SafeMath{128,256}.sol
OpenZeppelin
contracts/implementations/ERC20.sol
OpenZeppelin
Dai
https://github.com/makerdao/dss/blob/b1fdcfc9b2ab7961bf2ce7ab4008bfcec1c73a88/src/dai.sol
Description
Languages
Solidity
53.7%
TypeScript
46.3%