IERC3156FlashLender
Interface for ERC-3156 flash lenders.
See https://eips.ethereum.org/EIPS/eip-3156.
Functions
maxFlashLoan
function maxFlashLoan(address asset) external view returns (uint256);
flashFee
function flashFee(address asset, uint256 amount) external view returns (uint256);
flashLoan
function flashLoan(
IERC3156FlashBorrower receiver,
address asset,
uint256 amount,
bytes calldata data
)
external
returns (bool);