├── .gitattributes ├── .gitignore ├── .vscode └── settings.json ├── README.md ├── contracts ├── DefiLoans.sol ├── FixedPriceTrader.sol ├── FixedPriceTraderEZMode.sol ├── IDefiLoans.sol ├── IFixedPriceTrader.sol ├── IMiniSwapExchange.sol ├── JesusCoin.sol ├── Migrations.sol ├── MiniSwapExchange.sol └── MiniSwapFactory.sol ├── migrations ├── 1_initial_migration.js └── 2_deploy.js ├── package.json ├── scripts ├── scenario1.js ├── scenario2.js └── scenario3.js └── truffle-config.js /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/README.md -------------------------------------------------------------------------------- /contracts/DefiLoans.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/contracts/DefiLoans.sol -------------------------------------------------------------------------------- /contracts/FixedPriceTrader.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/contracts/FixedPriceTrader.sol -------------------------------------------------------------------------------- /contracts/FixedPriceTraderEZMode.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/contracts/FixedPriceTraderEZMode.sol -------------------------------------------------------------------------------- /contracts/IDefiLoans.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/contracts/IDefiLoans.sol -------------------------------------------------------------------------------- /contracts/IFixedPriceTrader.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/contracts/IFixedPriceTrader.sol -------------------------------------------------------------------------------- /contracts/IMiniSwapExchange.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/contracts/IMiniSwapExchange.sol -------------------------------------------------------------------------------- /contracts/JesusCoin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/contracts/JesusCoin.sol -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /contracts/MiniSwapExchange.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/contracts/MiniSwapExchange.sol -------------------------------------------------------------------------------- /contracts/MiniSwapFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/contracts/MiniSwapFactory.sol -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/2_deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/migrations/2_deploy.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/package.json -------------------------------------------------------------------------------- /scripts/scenario1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/scripts/scenario1.js -------------------------------------------------------------------------------- /scripts/scenario2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/scripts/scenario2.js -------------------------------------------------------------------------------- /scripts/scenario3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/scripts/scenario3.js -------------------------------------------------------------------------------- /truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muellerberndt/defi-hacking-playground/HEAD/truffle-config.js --------------------------------------------------------------------------------