feat: minor update

This commit is contained in:
Shriya Tyagi 2024-02-09 01:16:32 +04:00
parent 30975805e0
commit a424144a74
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";
}