import { EthereumTransactionTypeExtended } from '../../types'; import { LPBorrowParamsType, LPDepositParamsType, LPLiquidationCall, LPRepayParamsType, LPRepayWithCollateral, LPSetUsageAsCollateral, LPSwapBorrowRateMode, LPSwapCollateral, LPWithdrawParamsType, LPFlashLiquidation } from '../../types/LendingPoolMethodTypes'; export default interface LendingPoolInterface { deposit: (args: LPDepositParamsType) => Promise; withdraw: (args: LPWithdrawParamsType) => Promise; borrow: (args: LPBorrowParamsType) => Promise; repay: (args: LPRepayParamsType) => Promise; swapBorrowRateMode: (args: LPSwapBorrowRateMode) => Promise; setUsageAsCollateral: (args: LPSetUsageAsCollateral) => Promise; liquidationCall: (args: LPLiquidationCall) => Promise; swapCollateral: (args: LPSwapCollateral) => Promise; repayWithCollateral: (args: LPRepayWithCollateral) => Promise; flashLiquidation(args: LPFlashLiquidation): Promise; }