├── .github └── workflows │ └── test.yml ├── .gitignore ├── .gitmodules ├── .vscode └── settings.json ├── README.md ├── foundry.toml ├── remappings.txt ├── src ├── Attacker.sol ├── ERC20.sol ├── IUniswapV2.sol ├── LendingProtocol.sol ├── SqrtMath.sol └── UniswapV2Factory.sol └── test └── CTF.t.sol /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/.gitmodules -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/README.md -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/foundry.toml -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/remappings.txt -------------------------------------------------------------------------------- /src/Attacker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/src/Attacker.sol -------------------------------------------------------------------------------- /src/ERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/src/ERC20.sol -------------------------------------------------------------------------------- /src/IUniswapV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/src/IUniswapV2.sol -------------------------------------------------------------------------------- /src/LendingProtocol.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/src/LendingProtocol.sol -------------------------------------------------------------------------------- /src/SqrtMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/src/SqrtMath.sol -------------------------------------------------------------------------------- /src/UniswapV2Factory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/src/UniswapV2Factory.sol -------------------------------------------------------------------------------- /test/CTF.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrToph/ctf-lending/HEAD/test/CTF.t.sol --------------------------------------------------------------------------------