Files
2023-08-30 12:59:29 +03:00

11 lines
300 B
Solidity

// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
contract MockProtocol {
function interact(address token, uint256 amount) external {
IERC20(token).transferFrom(msg.sender, address(this), amount);
}
}