โกFlashloans
IFlashLoanProvider
IFlashLoanProviderinterface IFlashLoanProvider {
function flashLoan(
address receiverAddress,
address[] calldata assets,
uint256[] calldata amounts,
bytes calldata params
) external;
}IFlashLoanReceiver
IFlashLoanReceiverinterface IFlashLoanReceiver {
function executeOperation(
address[] calldata assets,
uint256[] calldata amounts,
uint256[] calldata fees,
bytes calldata params
) external returns (bool);
}Last updated