IOsTokenFlashLoanRecipient
Author: StakeWise
Interface for OsTokenFlashLoanRecipient contract
Functions
receiveFlashLoan
Receive flash loan hook
function receiveFlashLoan(uint256 osTokenShares, bytes memory userData) external;
Parameters
Name | Type | Description |
---|---|---|
osTokenShares | uint256 | The osToken flash loan amount |
userData | bytes | Arbitrary data passed to the hook |