├── .env.example ├── .gitignore ├── .npmignore ├── .prettierignore ├── .prettierrc ├── .solhint.json ├── .solhintignore ├── LICENSE ├── README.md ├── contracts ├── BadRNG.sol ├── LiquidityPoolAsOracle.sol ├── MetamorphicContract.sol ├── Reentrancy.sol ├── Vault.sol └── test │ └── fuzzing │ ├── VaultFuzzTest.sol │ └── config.yaml ├── hardhat.config.js ├── helper-functions.js ├── helper-hardhat-config.js ├── images └── impact.png ├── package.json └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | hardhat.config.js 2 | scripts 3 | test 4 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/.prettierrc -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/.solhint.json -------------------------------------------------------------------------------- /.solhintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | contracts/test -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/README.md -------------------------------------------------------------------------------- /contracts/BadRNG.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/contracts/BadRNG.sol -------------------------------------------------------------------------------- /contracts/LiquidityPoolAsOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/contracts/LiquidityPoolAsOracle.sol -------------------------------------------------------------------------------- /contracts/MetamorphicContract.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/contracts/MetamorphicContract.sol -------------------------------------------------------------------------------- /contracts/Reentrancy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/contracts/Reentrancy.sol -------------------------------------------------------------------------------- /contracts/Vault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/contracts/Vault.sol -------------------------------------------------------------------------------- /contracts/test/fuzzing/VaultFuzzTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/contracts/test/fuzzing/VaultFuzzTest.sol -------------------------------------------------------------------------------- /contracts/test/fuzzing/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/contracts/test/fuzzing/config.yaml -------------------------------------------------------------------------------- /hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/hardhat.config.js -------------------------------------------------------------------------------- /helper-functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/helper-functions.js -------------------------------------------------------------------------------- /helper-hardhat-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/helper-hardhat-config.js -------------------------------------------------------------------------------- /images/impact.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/images/impact.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/package.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-security-fcc/HEAD/yarn.lock --------------------------------------------------------------------------------