IFluidFlashLender
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
Name | Type | Description |
---|---|---|
receiver_ | IFlashBorrower | The 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_ | bytes | Arbitrary data structure, intended to contain user-defined parameters. |
Returns
Name | Type | Description |
---|---|---|
<none> | bool | 'true' if the flash loan are successful |