e5b8db9df1659d320c1c0bb5ce7c04c6d14c9c42
add initialization function to exchanges add mint function in erc20
Uniswap v2 Smart Contracts
Local Development
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/SafeMath.sol
OpenZeppelin
contracts/libraries/Math.sol
OpenZeppelin
dapp-bin
https://github.com/ethereum/dapp-bin/blob/11f05fc9e3f31a00d57982bc2f65ef2654f1b569/library/math.sol#L28 via https://github.com/ethereum/dapp-bin/pull/50
contracts/implementations/ERC20.sol
OpenZeppelin
Dai
https://github.com/makerdao/dss/blob/b1fdcfc9b2ab7961bf2ce7ab4008bfcec1c73a88/src/dai.sol
Description
Languages
Solidity
53.7%
TypeScript
46.3%