IFluidFlashLender

Git Source

Inherits:IERC3156FlashLender

Functions

flashLoanMultiple

Initiate a flash loan with multiple tokens.

function flashLoanMultiple(
    IFlashBorrower receiver_,
    Structs.AddressUint256[] calldata tokensWithAmounts_,
    bytes calldata data_
) external returns (bool);

Parameters

NameTypeDescription
receiver_IFlashBorrowerThe receiver of the tokens in the loan, and the receiver of the callback.
tokensWithAmounts_Structs.AddressUint256[]An array of token addresses and loan amounts.
data_bytesArbitrary data structure, intended to contain user-defined parameters.

Returns

NameTypeDescription
<none>bool'true' if the flash loan are successful