Skip to content

Commit

Permalink
Merge pull request #1232 from morpho-labs/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
MerlinEgalite authored Aug 14, 2022
2 parents 3669fef + ee357c2 commit e429980
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 34 deletions.
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "lib/data-structures"]
path = lib/data-structures
url = https://github.com/morpho-labs/data-structures
[submodule "lib/aave-v3-core"]
path = lib/aave-v3-core
url = https://github.com/aave/aave-v3-core
Expand All @@ -13,6 +10,9 @@
[submodule "lib/solmate"]
path = lib/solmate
url = https://github.com/Rari-Capital/solmate
[submodule "lib/morpho-data-structures"]
path = lib/morpho-data-structures
url = https://github.com/morpho-dao/morpho-data-structures
[submodule "lib/morpho-utils"]
path = lib/morpho-utils
url = https://github.com/morpho-labs/morpho-utils
url = https://github.com/morpho-dao/morpho-utils
6 changes: 3 additions & 3 deletions contracts/aave-v2/InterestRatesManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ pragma solidity 0.8.13;

import "./interfaces/aave/IAToken.sol";

import "@morpho-labs/morpho-utils/math/PercentageMath.sol";
import "@morpho-labs/morpho-utils/math/WadRayMath.sol";
import "@morpho-labs/morpho-utils/math/Math.sol";
import "@morpho-dao/morpho-utils/math/PercentageMath.sol";
import "@morpho-dao/morpho-utils/math/WadRayMath.sol";
import "@morpho-dao/morpho-utils/math/Math.sol";

import "./MorphoStorage.sol";

Expand Down
8 changes: 4 additions & 4 deletions contracts/aave-v2/Lens.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import "./interfaces/IMorpho.sol";

import {ReserveConfiguration} from "./libraries/aave/ReserveConfiguration.sol";
import "@rari-capital/solmate/src/utils/SafeTransferLib.sol";
import "@morpho-labs/data-structures/contracts/HeapOrdering.sol";
import "@morpho-labs/morpho-utils/math/PercentageMath.sol";
import "@morpho-labs/morpho-utils/math/WadRayMath.sol";
import "@morpho-labs/morpho-utils/math/Math.sol";
import "@morpho-dao/morpho-data-structures/HeapOrdering.sol";
import "@morpho-dao/morpho-utils/math/PercentageMath.sol";
import "@morpho-dao/morpho-utils/math/WadRayMath.sol";
import "@morpho-dao/morpho-utils/math/Math.sol";

/// @title Lens.
/// @author Morpho Labs.
Expand Down
2 changes: 1 addition & 1 deletion contracts/aave-v2/MorphoStorage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "./interfaces/IInterestRatesManager.sol";
import "./interfaces/IIncentivesVault.sol";
import "./interfaces/IRewardsManager.sol";

import "@morpho-labs/data-structures/contracts/HeapOrdering.sol";
import "@morpho-dao/morpho-data-structures/HeapOrdering.sol";
import "./libraries/Types.sol";

import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol";
Expand Down
8 changes: 4 additions & 4 deletions contracts/aave-v2/MorphoUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import "./interfaces/aave/IPriceOracleGetter.sol";
import "./interfaces/aave/IAToken.sol";

import "./libraries/aave/ReserveConfiguration.sol";
import "@morpho-labs/morpho-utils/DelegateCall.sol";
import "@morpho-labs/morpho-utils/math/PercentageMath.sol";
import "@morpho-labs/morpho-utils/math/WadRayMath.sol";
import "@morpho-labs/morpho-utils/math/Math.sol";
import "@morpho-dao/morpho-utils/DelegateCall.sol";
import "@morpho-dao/morpho-utils/math/PercentageMath.sol";
import "@morpho-dao/morpho-utils/math/WadRayMath.sol";
import "@morpho-dao/morpho-utils/math/Math.sol";

import "./MorphoStorage.sol";

Expand Down
6 changes: 3 additions & 3 deletions contracts/aave-v3/InterestRatesManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ pragma solidity 0.8.10;

import "@aave/core-v3/contracts/interfaces/IAToken.sol";

import "@morpho-labs/morpho-utils/math/PercentageMath.sol";
import "@morpho-labs/morpho-utils/math/WadRayMath.sol";
import "@morpho-labs/morpho-utils/math/Math.sol";
import "@morpho-dao/morpho-utils/math/PercentageMath.sol";
import "@morpho-dao/morpho-utils/math/WadRayMath.sol";
import "@morpho-dao/morpho-utils/math/Math.sol";

import "./MorphoStorage.sol";

Expand Down
8 changes: 4 additions & 4 deletions contracts/aave-v3/Lens.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import {IPool} from "./interfaces/aave/IPool.sol";
import "./interfaces/IMorpho.sol";

import "./libraries/aave/ReserveConfiguration.sol";
import {PercentageMath} from "@morpho-labs/morpho-utils/math/PercentageMath.sol";
import {WadRayMath} from "@morpho-labs/morpho-utils/math/WadRayMath.sol";
import {PercentageMath} from "@morpho-dao/morpho-utils/math/PercentageMath.sol";
import {WadRayMath} from "@morpho-dao/morpho-utils/math/WadRayMath.sol";
import "@rari-capital/solmate/src/utils/SafeTransferLib.sol";
import "@morpho-labs/data-structures/contracts/HeapOrdering.sol";
import "@morpho-labs/morpho-utils/math/Math.sol";
import "@morpho-dao/morpho-data-structures/HeapOrdering.sol";
import "@morpho-dao/morpho-utils/math/Math.sol";

/// @title Lens.
/// @author Morpho Labs.
Expand Down
2 changes: 1 addition & 1 deletion contracts/aave-v3/MorphoStorage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "./interfaces/IInterestRatesManager.sol";
import "./interfaces/IIncentivesVault.sol";
import "./interfaces/IRewardsManager.sol";

import "@morpho-labs/data-structures/contracts/HeapOrdering.sol";
import "@morpho-dao/morpho-data-structures/HeapOrdering.sol";
import "./libraries/Types.sol";

import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol";
Expand Down
8 changes: 4 additions & 4 deletions contracts/aave-v3/MorphoUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import "@aave/core-v3/contracts/interfaces/IPriceOracleGetter.sol";
import "@aave/core-v3/contracts/interfaces/IAToken.sol";

import "./libraries/aave/ReserveConfiguration.sol";
import "@morpho-labs/morpho-utils/DelegateCall.sol";
import "@morpho-labs/morpho-utils/math/PercentageMath.sol";
import "@morpho-labs/morpho-utils/math/WadRayMath.sol";
import "@morpho-labs/morpho-utils/math/Math.sol";
import "@morpho-dao/morpho-utils/DelegateCall.sol";
import "@morpho-dao/morpho-utils/math/PercentageMath.sol";
import "@morpho-dao/morpho-utils/math/WadRayMath.sol";
import "@morpho-dao/morpho-utils/math/Math.sol";

import "./MorphoStorage.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/compound/MorphoUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity 0.8.13;
import "@rari-capital/solmate/src/utils/SafeTransferLib.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "./libraries/CompoundMath.sol";
import "@morpho-labs/morpho-utils/DelegateCall.sol";
import "@morpho-dao/morpho-utils/DelegateCall.sol";

import "./MorphoStorage.sol";

Expand Down
4 changes: 2 additions & 2 deletions remappings.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@forge-std/=lib/forge-std/src/
@morpho-labs/morpho-utils/=lib/morpho-utils/src/
@morpho-labs/data-structures/=lib/data-structures/
@morpho-dao/morpho-utils/=lib/morpho-utils/src/
@morpho-dao/morpho-data-structures/=lib/morpho-data-structures/contracts/
@rari-capital/solmate/=lib/solmate/

@aave/core-v3/=lib/aave-v3-core/
Expand Down
2 changes: 1 addition & 1 deletion test-foundry/aave-v2/setup/TestSetup.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol";

import {ReserveConfiguration} from "@contracts/aave-v2/libraries/aave/ReserveConfiguration.sol";
import "@rari-capital/solmate/src/utils/SafeTransferLib.sol";
import "@morpho-labs/morpho-utils/math/WadRayMath.sol";
import "@morpho-dao/morpho-utils/math/WadRayMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@contracts/aave-v2/libraries/Types.sol";

Expand Down
2 changes: 1 addition & 1 deletion test-foundry/aave-v2/setup/Utils.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GNU AGPLv3
pragma solidity 0.8.13;

import "@morpho-labs/morpho-utils/math/WadRayMath.sol";
import "@morpho-dao/morpho-utils/math/WadRayMath.sol";

import "@forge-std/Test.sol";

Expand Down
2 changes: 1 addition & 1 deletion test-foundry/fuzzing/aave-v2/setup/TestSetupFuzzing.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.so
import "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol";

import "@rari-capital/solmate/src/utils/SafeTransferLib.sol";
import "@morpho-labs/morpho-utils/math/WadRayMath.sol";
import "@morpho-dao/morpho-utils/math/WadRayMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@contracts/aave-v2/libraries/Types.sol";

Expand Down

0 comments on commit e429980

Please sign in to comment.