🔰Flash Loans
Cheap, fixed fee flash loans leveraging liquidity from any pod
Fees
Execute Flash Loan
/**
* @notice execute a flash loan from an index fund contract
* @param recipient, address of the wallet/contract to receive borrowed funds
* @param token, token in the index fund to borrow
* @param amount, amount of tokens to borrow
* @param data, any arbitrary data to send to the callback, use abi.encode()
*/
function flash(
address recipient,
address token,
uint256 amount,
bytes calldata data
) external;Flash Loan Receiver Interface
Last updated