Skip to content

Commit

Permalink
remap clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipp Makarov authored and Filipp Makarov committed Nov 25, 2024
1 parent 998df6e commit 1db07d1
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 8 deletions.
4 changes: 2 additions & 2 deletions contracts/token/oracles/TwapOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ pragma solidity ^0.8.27;

import { IOracle } from "../../interfaces/oracles/IOracle.sol";
import { IERC20Metadata } from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import { OracleLibrary } from "@uniswap/v3-periphery/libraries/OracleLibrary.sol";
import { IUniswapV3PoolImmutables } from "@uniswap/v3-core/interfaces/pool/IUniswapV3PoolImmutables.sol";
import { OracleLibrary } from "@uniswap/v3-periphery/contracts/libraries/OracleLibrary.sol";
import { IUniswapV3PoolImmutables } from "@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol";

contract TwapOracle is IOracle {
/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
Expand Down
1 change: 0 additions & 1 deletion contracts/token/swaps/Uniswapper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ pragma solidity ^0.8.27;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
//import "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol";
import "@uniswap/v3-periphery/contracts/interfaces/IPeripheryPayments.sol";

interface ISwapRouter {
Expand Down
6 changes: 1 addition & 5 deletions remappings.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/
@openzeppelin/=node_modules/@openzeppelin/contracts
@openzeppelin/contracts/contracts/=node_modules/@openzeppelin/contracts/
@openzeppelin/contracts/=node_modules/@openzeppelin/contracts
@prb/test/=node_modules/@prb/test/
@nexus/=node_modules/nexus/
forge-std/=lib/forge-std/src/
Expand All @@ -9,8 +7,6 @@ account-abstraction/=node_modules/account-abstraction/contracts/
@modulekit/=node_modules/modulekit/src/
sentinellist/=node_modules/sentinellist/src/
solady/=node_modules/solady/src/
@uniswap/v3-periphery/=node_modules/@uniswap/v3-periphery/contracts
@uniswap/v3-core/=node_modules/@uniswap/v3-core/contracts/
@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts
@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/
solady/src/=node_modules/solady/src/
Expand Down
24 changes: 24 additions & 0 deletions remappings.txt.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/
@openzeppelin/=node_modules/@openzeppelin/contracts
@openzeppelin/contracts/contracts/=node_modules/@openzeppelin/contracts/
@prb/test/=node_modules/@prb/test/
@nexus/=node_modules/nexus/
forge-std/=lib/forge-std/src/
account-abstraction/=node_modules/account-abstraction/contracts/
@ERC4337/account-abstraction=node_modules/account-abstraction/
@modulekit/=node_modules/modulekit/src/
sentinellist/=node_modules/sentinellist/src/
solady/=node_modules/solady/src/
@uniswap/v3-periphery/=node_modules/@uniswap/v3-periphery/contracts
@uniswap/v3-core/=node_modules/@uniswap/v3-core/contracts/
@uniswap/v3-periphery/contracts/=node_modules/@uniswap/v3-periphery/contracts
@uniswap/v3-core/contracts/=node_modules/@uniswap/v3-core/contracts/
solady/src/=node_modules/solady/src/
excessively-safe-call/=node_modules/excessively-safe-call/src/
modulekit/=node_modules/@rhinestone/modulekit/src/
module-bases/=node_modules/module-bases/src/
erc7579/=node_modules/erc7579/src/
kernel/=node_modules/@zerodev/kernel/src/
@safe-global/=node_modules/@safe-global/
solarray/=node_modules/solarray/src/
erc7739Validator/=node_modules/erc7739-validator-base/src/

0 comments on commit 1db07d1

Please sign in to comment.