mirror of
https://github.com/th30d4y/OpenLearnX.git
synced 2026-05-26 19:26:33 +00:00
14 lines
375 B
Solidity
14 lines
375 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
import "../patched/interfaces/IERC3156FlashBorrower.sol";
|
|
|
|
pragma solidity ^0.8.0;
|
|
|
|
contract ERC3156FlashBorrowerHarness is IERC3156FlashBorrower {
|
|
bytes32 somethingToReturn;
|
|
|
|
function onFlashLoan(address, address, uint256, uint256, bytes calldata) external view override returns (bytes32) {
|
|
return somethingToReturn;
|
|
}
|
|
}
|