function onFlashLoan(address sender, address token, uint256 amount, uint256 fee, bytes data) external nonpayable
The flashloan callback.
fee needs to repayed to msg.sender before this call returns.
|sender||address||The address of the invoker of this flashloan.|
|token||address||The address of the token that is loaned.|
|amount||uint256||of the |
|fee||uint256||The fee that needs to be paid on top for this loan. Needs to be the same as |
|data||bytes||Additional data that was passed to the flashloan function.|