Merge branch 'spark-import' of github.com:Instadapp/dsa-connectors into spark-import

This commit is contained in:
carlos53093 2024-02-08 17:01:11 -05:00
commit fec3516938
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ abstract contract Helper is DSMath, Basic {
/**
* @dev Spark Lending Pool Provider
*/
SparkPoolProviderInterface internal constant sparkProvider =
SparkPoolProviderInterface internal constant sparkPoolProvider =
SparkPoolProviderInterface(0x02C3eA4e34C0cBd694D2adFa2c690EECbC1793eE);
/**

View File

@ -24,7 +24,7 @@ contract SparkImportResolver is SparkHelpers {
ImportData memory data;
SparkInterface spark = SparkInterface(sparkProvider.getPool());
SparkInterface spark = SparkInterface(sparkPoolProvider.getPool());
data = getBorrowAmounts(userAccount, spark, inputData, data);
data = getSupplyAmounts(userAccount, inputData, data);
@ -105,7 +105,7 @@ contract SparkImportResolver is SparkHelpers {
ImportData memory data;
SparkInterface spark = SparkInterface(sparkProvider.getPool());
SparkInterface spark = SparkInterface(sparkPoolProvider.getPool());
data = getBorrowAmounts(userAccount, spark, inputData, data);
data = getSupplyAmounts(userAccount, inputData, data);
@ -205,5 +205,5 @@ contract SparkImportResolver is SparkHelpers {
}
contract ConnectV2SparkImport is SparkImportResolver {
string public constant name = "Spark-import-v1.1";
string public constant name = "Spark-import-v1.0";
}