/unifap-v2

Port of uniswap-v2 with foundry tests

Primary LanguageSolidityGNU Affero General Public License v3.0AGPL-3.0

UniFap-V2

Port of uniswap-v2-core and uniswap-v2-periphery without fee structure with foundry tests.

These contracts are inspired from amazing blog posts of Programming Uniswap. Please do look at it.

Tree

├── SETUP.md
├── src
│  ├── interfaces
│  │  ├── IERC20.sol
│  │  ├── IUnifapV2Factory.sol
│  │  └── IUnifapV2Pair.sol
│  ├── libraries
│  │  ├── Math.sol
│  │  ├── UnifapV2Library.sol
│  │  └── UQ112x112.sol
│  ├── test
│  │  ├── UnifapV2Factory.t.sol
│  │  ├── UnifapV2Pair.t.sol
│  │  ├── UnifapV2Router.t.sol
│  │  └── utils
│  ├── UnifapV2Factory.sol
│  ├── UnifapV2Pair.sol
│  └── UnifapV2Router.sol

Acknowledgements

Disclaimer

These smart contracts are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the user interface or the smart contracts. They have not been audited and as such there can be no assurance they will work as intended, and users may experience delays, failures, errors, omissions, loss of transmitted information or loss of funds. The creators are not liable for any of the foregoing. Users should proceed with caution and use at their own risk.