Skip to content

Commit

Permalink
fix: removing unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffywu committed Oct 5, 2023
1 parent 98948e7 commit b2a8e56
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 300 deletions.
139 changes: 0 additions & 139 deletions contracts/global/DateTime.sol

This file was deleted.

30 changes: 0 additions & 30 deletions contracts/mocks/euler/MockEuler.sol

This file was deleted.

3 changes: 1 addition & 2 deletions contracts/trading/TradingModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import {TradingUtils} from "./TradingUtils.sol";

import {IERC20} from "../utils/TokenUtils.sol";
import {NotionalProxy} from "../../interfaces/notional/NotionalProxy.sol";
import {ITradingModule} from "../../interfaces/trading/ITradingModule.sol";
import "../../interfaces/trading/IVaultExchange.sol";
import {ITradingModule, Trade, TradeType, DexId} from "../../interfaces/trading/ITradingModule.sol";
import "../../interfaces/chainlink/AggregatorV2V3Interface.sol";

/// @notice TradingModule is meant to be an upgradeable contract deployed to help Strategy Vaults
Expand Down
1 change: 0 additions & 1 deletion contracts/trading/TradingUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ pragma solidity 0.8.17;
import {Deployments} from "../global/Deployments.sol";
import {Constants} from "../global/Constants.sol";
import {TokenUtils, IERC20} from "../utils/TokenUtils.sol";
import "../../interfaces/trading/IVaultExchange.sol";
import "../../interfaces/trading/ITradingModule.sol";
import {nProxy} from "../proxy/nProxy.sol";

Expand Down
32 changes: 0 additions & 32 deletions contracts/utils/EulerFlashLiquidator.sol

This file was deleted.

2 changes: 0 additions & 2 deletions contracts/utils/FlashLiquidatorBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ pragma solidity 0.8.17;

import {NotionalProxy} from "../../interfaces/notional/NotionalProxy.sol";
import {IStrategyVault} from "../../interfaces/notional/IStrategyVault.sol";
import {CErc20Interface} from "../../interfaces/compound/CErc20Interface.sol";
import {CEtherInterface} from "../../interfaces/compound/CEtherInterface.sol";
import {WETH9} from "../../interfaces/WETH9.sol";
import {TokenUtils, IERC20} from "../utils/TokenUtils.sol";
import {Constants} from "../global/Constants.sol";
Expand Down
17 changes: 0 additions & 17 deletions interfaces/compound/CErc20Interface.sol

This file was deleted.

6 changes: 0 additions & 6 deletions interfaces/compound/CEtherInterface.sol

This file was deleted.

26 changes: 0 additions & 26 deletions interfaces/compound/CTokenInterface.sol

This file was deleted.

6 changes: 0 additions & 6 deletions interfaces/euler/IEulerDToken.sol

This file was deleted.

6 changes: 0 additions & 6 deletions interfaces/euler/IEulerFlashLoanReceiver.sol

This file was deleted.

7 changes: 0 additions & 7 deletions interfaces/euler/IEulerMarkets.sol

This file was deleted.

26 changes: 0 additions & 26 deletions interfaces/trading/IVaultExchange.sol

This file was deleted.

0 comments on commit b2a8e56

Please sign in to comment.