From 71ebf221635968ed72a2a456419dd88d927f6286 Mon Sep 17 00:00:00 2001 From: Eduardo Melo Date: Wed, 18 Sep 2024 12:38:12 -0300 Subject: [PATCH] Remove contracts/mocks/MaliciousERC20.sol from the PR --- contracts/mocks/MaliciousERC20.sol | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 contracts/mocks/MaliciousERC20.sol diff --git a/contracts/mocks/MaliciousERC20.sol b/contracts/mocks/MaliciousERC20.sol deleted file mode 100644 index 247cb64..0000000 --- a/contracts/mocks/MaliciousERC20.sol +++ /dev/null @@ -1,22 +0,0 @@ -// SPDX-License-Identifier: CC0-1.0 - -pragma solidity ^0.8.9; - -import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; - -contract MaliciousERC20 is ERC20 { - constructor() ERC20("MaliciousToken", "MTK") {} - - function transferFrom( - address sender, - address recipient, - uint256 amount - ) public override returns (bool) { - return false; - } - - // Mint function for testing purposes - function mint(address to, uint256 amount) external { - _mint(to, amount); - } -}