diff --git a/contracts/avalanche/connectors/aave/v2-to-v3-import/main.sol b/contracts/avalanche/connectors/aave/v2-to-v3-import/main.sol index f695c23f..7a2b60b0 100644 --- a/contracts/avalanche/connectors/aave/v2-to-v3-import/main.sol +++ b/contracts/avalanche/connectors/aave/v2-to-v3-import/main.sol @@ -110,6 +110,12 @@ contract _AaveV2ToV3MigrationResolver is _AaveHelper { ); } + /** + * @dev Import aave position . + * @notice Import EOA's aave V2 position to DSA's aave v3 position + * @param userAccount The address of the EOA from which aave position will be imported + * @param inputData The struct containing all the neccessary input data + */ function importAaveV2ToV3( address userAccount, ImportInputData memory inputData @@ -118,9 +124,14 @@ contract _AaveV2ToV3MigrationResolver is _AaveHelper { payable returns (string memory _eventName, bytes memory _eventParam) { - (_eventName, _eventParam) = _importAave(userAccount, inputData, false); + (_eventName, _eventParam) = _importAave(userAccount, inputData, true); } + /** + * @dev Migrate aave position . + * @notice Migrate DSA's aave V2 position to DSA's aave v3 position + * @param inputData The struct containing all the neccessary input data + */ function migrateAaveV2ToV3(ImportInputData memory inputData) external payable