14 lines
405 B
Solidity
14 lines
405 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
import {IERC3156FlashBorrower} from "../patched/interfaces/IERC3156FlashBorrower.sol";
|
|
|
|
pragma solidity ^0.8.20;
|
|
|
|
contract ERC3156FlashBorrowerHarness is IERC3156FlashBorrower {
|
|
bytes32 somethingToReturn;
|
|
|
|
function onFlashLoan(address, address, uint256, uint256, bytes calldata) external view override returns (bytes32) {
|
|
return somethingToReturn;
|
|
}
|
|
}
|