Skip to content

Commit

Permalink
refactor: remove duplicated interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
rndquu committed Nov 24, 2023
1 parent 0ecb8c6 commit 628aee4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 390 deletions.
2 changes: 1 addition & 1 deletion packages/contracts/foundry.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[profile.default]
src = 'src/dollar'
src = 'src'
test = 'test'
out = 'out'
libs = ['lib']
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/src/old/TWAPOracle.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.3;

import "./interfaces/IMetaPool.sol";
import "../dollar/interfaces/IMetaPool.sol";

contract TWAPOracle {
address public immutable pool;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

import "./interfaces/IUbiquityAlgorithmicDollar.sol";
import "./interfaces/ICurveFactory.sol";
import "./interfaces/IMetaPool.sol";
import "../dollar/interfaces/ICurveFactory.sol";
import "../dollar/interfaces/IMetaPool.sol";

import "./TWAPOracle.sol";

Expand Down
107 changes: 0 additions & 107 deletions packages/contracts/src/old/interfaces/ICurveFactory.sol

This file was deleted.

Loading

0 comments on commit 628aee4

Please sign in to comment.