mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
feat: minor update
This commit is contained in:
parent
30975805e0
commit
a424144a74
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user