IMorphoFlashLoanCallback
Title: IMorphoFlashLoanCallback
Callback interface for Morpho flash loan receivers.
Functions
onMorphoFlashLoan
Called by Morpho during flash loan execution.
function onMorphoFlashLoan(
uint256 assets,
bytes calldata data
) external;
Parameters
| Name | Type | Description |
|---|---|---|
assets | uint256 | Amount of tokens borrowed. |
data | bytes | Arbitrary data passed through from flashLoan call. |