Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 568 Bytes

File metadata and controls

24 lines (15 loc) · 568 Bytes

Solidity API

IFlashLiquidationCallback

Interface specifying flash liquidation callback contract.

execute

function execute(bytes data) external

Function to be executed during a flash liquidation.

This function is called by the lending pool. This contains any logic such as swap liquidated collateral tokens for asset tokens and return asset tokens to pool.

Parameters

Name Type Description
data bytes encoded data parameter containing all information required by the function call.