├── .gitattributes ├── .github ├── stale.yml └── workflows │ └── CI.yml ├── .gitignore ├── .mocharc.json ├── .prettierrc ├── .waffle.json ├── CITATION.cff ├── LICENSE ├── README.md ├── contracts ├── UniswapV2ERC20.sol ├── UniswapV2Factory.sol ├── UniswapV2Pair.sol ├── interfaces │ ├── IERC20.sol │ ├── IUniswapV2Callee.sol │ ├── IUniswapV2ERC20.sol │ ├── IUniswapV2Factory.sol │ └── IUniswapV2Pair.sol ├── libraries │ ├── Math.sol │ ├── SafeMath.sol │ └── UQ112x112.sol └── test │ └── ERC20.sol ├── package.json ├── test ├── UniswapV2ERC20.spec.ts ├── UniswapV2Factory.spec.ts ├── UniswapV2Pair.spec.ts └── shared │ ├── fixtures.ts │ └── utilities.ts ├── tsconfig.json └── yarn.lock /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/CI.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/.github/workflows/CI.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | build/ 3 | -------------------------------------------------------------------------------- /.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/.mocharc.json -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/.prettierrc -------------------------------------------------------------------------------- /.waffle.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/.waffle.json -------------------------------------------------------------------------------- /CITATION.cff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/CITATION.cff -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/README.md -------------------------------------------------------------------------------- /contracts/UniswapV2ERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/UniswapV2ERC20.sol -------------------------------------------------------------------------------- /contracts/UniswapV2Factory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/UniswapV2Factory.sol -------------------------------------------------------------------------------- /contracts/UniswapV2Pair.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/UniswapV2Pair.sol -------------------------------------------------------------------------------- /contracts/interfaces/IERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/interfaces/IERC20.sol -------------------------------------------------------------------------------- /contracts/interfaces/IUniswapV2Callee.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/interfaces/IUniswapV2Callee.sol -------------------------------------------------------------------------------- /contracts/interfaces/IUniswapV2ERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/interfaces/IUniswapV2ERC20.sol -------------------------------------------------------------------------------- /contracts/interfaces/IUniswapV2Factory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/interfaces/IUniswapV2Factory.sol -------------------------------------------------------------------------------- /contracts/interfaces/IUniswapV2Pair.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/interfaces/IUniswapV2Pair.sol -------------------------------------------------------------------------------- /contracts/libraries/Math.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/libraries/Math.sol -------------------------------------------------------------------------------- /contracts/libraries/SafeMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/libraries/SafeMath.sol -------------------------------------------------------------------------------- /contracts/libraries/UQ112x112.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/libraries/UQ112x112.sol -------------------------------------------------------------------------------- /contracts/test/ERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/contracts/test/ERC20.sol -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/package.json -------------------------------------------------------------------------------- /test/UniswapV2ERC20.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/test/UniswapV2ERC20.spec.ts -------------------------------------------------------------------------------- /test/UniswapV2Factory.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/test/UniswapV2Factory.spec.ts -------------------------------------------------------------------------------- /test/UniswapV2Pair.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/test/UniswapV2Pair.spec.ts -------------------------------------------------------------------------------- /test/shared/fixtures.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/test/shared/fixtures.ts -------------------------------------------------------------------------------- /test/shared/utilities.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/test/shared/utilities.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/retkets17/v2-core/HEAD/yarn.lock --------------------------------------------------------------------------------