├── .env.example ├── .gas-snapshot ├── .gitattributes ├── .github └── workflows │ └── CI.yml ├── .gitignore ├── .gitmodules ├── .husky ├── .gitignore └── pre-commit ├── .prettierignore ├── .prettierrc.json ├── .solhint.json ├── README.md ├── deploy ├── arbitrum.sh ├── common.sh ├── goerli.sh ├── mainnet.sh ├── optimism.sh └── polygon.sh ├── deployments ├── arbitrum.json ├── goerli.json ├── mainnet.json ├── optimism.json └── polygon.json ├── foundry.toml ├── images └── bunni-logo.png ├── package.json ├── script └── Deploy.s.sol └── src ├── BunniHub.sol ├── BunniLens.sol ├── BunniMigrator.sol ├── BunniToken.sol ├── base └── Structs.sol ├── interfaces ├── IBunniHub.sol ├── IBunniLens.sol ├── IBunniMigrator.sol ├── IBunniToken.sol ├── IERC20.sol └── ILiquidityManagement.sol ├── lib ├── ERC20.sol └── SafeTransferLib.sol ├── tests ├── BunniHub.t.sol ├── BunniMigrator.t.sol ├── lib │ └── UniswapDeployer.sol └── mocks │ └── ERC20Mock.sol └── uniswap └── LiquidityManagement.sol /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/.env.example -------------------------------------------------------------------------------- /.gas-snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/.gas-snapshot -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity -------------------------------------------------------------------------------- /.github/workflows/CI.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/.github/workflows/CI.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | out 3 | .env 4 | .DS_Store 5 | .vscode 6 | cache 7 | broadcast -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/.gitmodules -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | package-lock.json -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/.solhint.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/README.md -------------------------------------------------------------------------------- /deploy/arbitrum.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/deploy/arbitrum.sh -------------------------------------------------------------------------------- /deploy/common.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/deploy/common.sh -------------------------------------------------------------------------------- /deploy/goerli.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/deploy/goerli.sh -------------------------------------------------------------------------------- /deploy/mainnet.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/deploy/mainnet.sh -------------------------------------------------------------------------------- /deploy/optimism.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/deploy/optimism.sh -------------------------------------------------------------------------------- /deploy/polygon.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/deploy/polygon.sh -------------------------------------------------------------------------------- /deployments/arbitrum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/deployments/arbitrum.json -------------------------------------------------------------------------------- /deployments/goerli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/deployments/goerli.json -------------------------------------------------------------------------------- /deployments/mainnet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/deployments/mainnet.json -------------------------------------------------------------------------------- /deployments/optimism.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/deployments/optimism.json -------------------------------------------------------------------------------- /deployments/polygon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/deployments/polygon.json -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/foundry.toml -------------------------------------------------------------------------------- /images/bunni-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/images/bunni-logo.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/package.json -------------------------------------------------------------------------------- /script/Deploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/script/Deploy.s.sol -------------------------------------------------------------------------------- /src/BunniHub.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/BunniHub.sol -------------------------------------------------------------------------------- /src/BunniLens.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/BunniLens.sol -------------------------------------------------------------------------------- /src/BunniMigrator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/BunniMigrator.sol -------------------------------------------------------------------------------- /src/BunniToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/BunniToken.sol -------------------------------------------------------------------------------- /src/base/Structs.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/base/Structs.sol -------------------------------------------------------------------------------- /src/interfaces/IBunniHub.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/interfaces/IBunniHub.sol -------------------------------------------------------------------------------- /src/interfaces/IBunniLens.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/interfaces/IBunniLens.sol -------------------------------------------------------------------------------- /src/interfaces/IBunniMigrator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/interfaces/IBunniMigrator.sol -------------------------------------------------------------------------------- /src/interfaces/IBunniToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/interfaces/IBunniToken.sol -------------------------------------------------------------------------------- /src/interfaces/IERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/interfaces/IERC20.sol -------------------------------------------------------------------------------- /src/interfaces/ILiquidityManagement.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/interfaces/ILiquidityManagement.sol -------------------------------------------------------------------------------- /src/lib/ERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/lib/ERC20.sol -------------------------------------------------------------------------------- /src/lib/SafeTransferLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/lib/SafeTransferLib.sol -------------------------------------------------------------------------------- /src/tests/BunniHub.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/tests/BunniHub.t.sol -------------------------------------------------------------------------------- /src/tests/BunniMigrator.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/tests/BunniMigrator.t.sol -------------------------------------------------------------------------------- /src/tests/lib/UniswapDeployer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/tests/lib/UniswapDeployer.sol -------------------------------------------------------------------------------- /src/tests/mocks/ERC20Mock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/tests/mocks/ERC20Mock.sol -------------------------------------------------------------------------------- /src/uniswap/LiquidityManagement.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZeframLou/bunni/HEAD/src/uniswap/LiquidityManagement.sol --------------------------------------------------------------------------------