21 lines
520 B
Solidity
21 lines
520 B
Solidity
// 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;
|
|
}
|
|
}
|