diff --git a/contracts/mainnet/connectors/compound-import/main.sol b/contracts/mainnet/connectors/compound-import/main.sol index 62923ec5..9ae13f30 100644 --- a/contracts/mainnet/connectors/compound-import/main.sol +++ b/contracts/mainnet/connectors/compound-import/main.sol @@ -2,15 +2,15 @@ pragma solidity ^0.7.6; pragma experimental ABIEncoderV2; +/** + * @title Compound-Import. + * @dev Lending & Borrowing. + */ + import { TokenInterface, AccountInterface } from "../../common/interfaces.sol"; import { CompoundHelper } from "./helpers.sol"; import { Events } from "./events.sol"; -// 1. Get info for all the assets the user has supplied as collateral and the assets he borrowed. -// 2. Using the flash loan funds, pay back the user's debt in the EOA account. -// 3. After paying the debt, transfer the user's tokens from EOA to DSA. -// 4. Then borrow debt of same tokens but include flash loan fee in it. - contract CompoundImportResolver is CompoundHelper { /** * @notice this function performs the import of user's Compound positions into its DSA