This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
// using the latest version | |
pragma solidity >=0.7.0 < 0.9.0; | |
import "hardhat/console.sol"; | |
// vulnerable Bank | |
contract Bank { | |
/*Contract that stores user balances. This is the vulnerable contract. This contract contains | |
the basic actions necessary to interact with its users, such as: get balance, add to balance, | |
and withdraw balance */ |