Skip to main content

IOsTokenFlashLoanRecipient

Git Source

Author: StakeWise

Interface for OsTokenFlashLoanRecipient contract

Functions

receiveFlashLoan

Receive flash loan hook

function receiveFlashLoan(uint256 osTokenShares, bytes memory userData) external;

Parameters

NameTypeDescription
osTokenSharesuint256The osToken flash loan amount
userDatabytesArbitrary data passed to the hook