Skip to content

Commit

Permalink
Merge branch 'spark-import' of github.com:Instadapp/dsa-connectors in…
Browse files Browse the repository at this point in the history
…to spark-import
  • Loading branch information
furyXsol committed Feb 8, 2024
2 parents efe134e + a424144 commit fec3516
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/mainnet/connectors/spark-import/helpers.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/**
Expand Down
6 changes: 3 additions & 3 deletions contracts/mainnet/connectors/spark-import/main.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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";
}

0 comments on commit fec3516

Please sign in to comment.