You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
519 B
21 lines
519 B
3 years ago
|
// SPDX-License-Identifier: MIT
|
||
|
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC3156FlashBorrower.sol)
|
||
|
|
||
|
import "../munged/interfaces/IERC3156FlashBorrower.sol";
|
||
|
|
||
|
pragma solidity ^0.8.0;
|
||
|
|
||
|
contract IERC3156FlashBorrowerHarness is IERC3156FlashBorrower {
|
||
|
bytes32 somethingToReturn;
|
||
|
|
||
|
function onFlashLoan(
|
||
|
address initiator,
|
||
|
address token,
|
||
|
uint256 amount,
|
||
|
uint256 fee,
|
||
|
bytes calldata data
|
||
|
) external override returns (bytes32){
|
||
|
return somethingToReturn;
|
||
|
}
|
||
|
}
|