Skip to content

Commit

Permalink
move Dispatch out of /modules
Browse files Browse the repository at this point in the history
  • Loading branch information
dglowinski committed Mar 21, 2024
1 parent 49966fa commit f4ee8bc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions src/EVault/modules/Dispatch.sol → src/EVault/Dispatch.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

pragma solidity ^0.8.0;

import {Base} from "../shared/Base.sol";

import {TokenModule} from "./Token.sol";
import {VaultModule} from "./Vault.sol";
import {BorrowingModule} from "./Borrowing.sol";
import {LiquidationModule} from "./Liquidation.sol";
import {InitializeModule} from "./Initialize.sol";
import {BalanceForwarderModule} from "./BalanceForwarder.sol";
import {GovernanceModule} from "./Governance.sol";
import {RiskManagerModule} from "./RiskManager.sol";

import "../shared/Constants.sol";
import {Base} from "./shared/Base.sol";

import {TokenModule} from "./modules/Token.sol";
import {VaultModule} from "./modules/Vault.sol";
import {BorrowingModule} from "./modules/Borrowing.sol";
import {LiquidationModule} from "./modules/Liquidation.sol";
import {InitializeModule} from "./modules/Initialize.sol";
import {BalanceForwarderModule} from "./modules/BalanceForwarder.sol";
import {GovernanceModule} from "./modules/Governance.sol";
import {RiskManagerModule} from "./modules/RiskManager.sol";

import "./shared/Constants.sol";

abstract contract Dispatch is
Base,
Expand Down
2 changes: 1 addition & 1 deletion src/EVault/EVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pragma solidity ^0.8.0;

import {Dispatch} from "./modules/Dispatch.sol";
import {Dispatch} from "./Dispatch.sol";

contract EVault is Dispatch {
constructor(Integrations memory integrations, DeployedModules memory modules) Dispatch(integrations, modules) {}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/evault/EVaultTestBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {GenericFactory} from "src/GenericFactory/GenericFactory.sol";
import {EVault} from "src/EVault/EVault.sol";
import {ProtocolConfig} from "src/ProtocolConfig/ProtocolConfig.sol";

import {Dispatch} from "src/EVault/modules/Dispatch.sol";
import {Dispatch} from "src/EVault/Dispatch.sol";

import {Initialize} from "src/EVault/modules/Initialize.sol";
import {Token} from "src/EVault/modules/Token.sol";
Expand Down

0 comments on commit f4ee8bc

Please sign in to comment.