mirror of
https://github.com/luxfi/eoa-contracts.git
synced 2026-10-30 16:58:32 +00:00
11 lines
300 B
Solidity
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);
|
|
}
|
|
}
|