mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
18 lines
484 B
Solidity
18 lines
484 B
Solidity
|
// SPDX-License-Identifier: agpl-3.0
|
||
|
pragma solidity 0.6.12;
|
||
|
pragma experimental ABIEncoderV2;
|
||
|
|
||
|
import {Ownable} from '../../dependencies/openzeppelin/contracts/Ownable.sol';
|
||
|
import {IERC20} from '../../dependencies/openzeppelin/contracts/IERC20.sol';
|
||
|
|
||
|
contract MockParaSwapTokenTransferProxy is Ownable {
|
||
|
function transferFrom(
|
||
|
address token,
|
||
|
address from,
|
||
|
address to,
|
||
|
uint256 amount
|
||
|
) external onlyOwner {
|
||
|
IERC20(token).transferFrom(from, to, amount);
|
||
|
}
|
||
|
}
|