Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
0xakame committed Dec 6, 2024
1 parent 9c5d9dc commit 53ad06c
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion contracts/router/ActionCallbackV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
pragma solidity ^0.8.0;

import "../interfaces/IPActionCallbackV3.sol";
import "../core/libraries/Errors.sol";
import "./base/CallbackHelper.sol";

import "../core/libraries/TokenHelper.sol";
Expand Down
4 changes: 1 addition & 3 deletions contracts/router/ActionSimple.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ import {IPPrincipalToken} from "../interfaces/IPPrincipalToken.sol";
import {IPActionSimple} from "../interfaces/IPActionSimple.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

import {TokenHelper} from "../core/libraries/TokenHelper.sol";
import {PYIndexLib, IPYieldToken, PYIndex} from "../core/StandardizedYield/PYIndex.sol";
import {MarketState} from "../core/Market/MarketMathCore.sol";
import {PMath} from "../core/libraries/math/PMath.sol";

import {CallbackHelper} from "./base/CallbackHelper.sol";
import {MarketApproxPtInLibOnchain, MarketApproxPtOutLibOnchain} from "./math/MarketApproxLibOnchain.sol";
import {TokenInput, TokenOutput} from "../interfaces/IPAllActionTypeV3.sol";
import {TokenInput} from "../interfaces/IPAllActionTypeV3.sol";
import {ActionBase} from "./base/ActionBase.sol";

contract ActionSimple is ActionBase, IPActionSimple {
Expand Down
1 change: 0 additions & 1 deletion contracts/router/base/ActionBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "../../interfaces/IPAllActionTypeV3.sol";
import "../../interfaces/IPMarket.sol";
import "../../router/math/MarketApproxLib.sol";

import "../../core/libraries/Errors.sol";
import "../swap-aggregator/IPSwapAggregator.sol";
import "./CallbackHelper.sol";

Expand Down
1 change: 0 additions & 1 deletion contracts/router/base/CallbackHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ pragma solidity ^0.8.0;

import "../../interfaces/IPYieldToken.sol";
import "../../interfaces/IPPrincipalToken.sol";
import "../../interfaces/IStandardizedYield.sol";

abstract contract CallbackHelper {
enum ActionType {
Expand Down
2 changes: 0 additions & 2 deletions contracts/router/swap-aggregator/PendleSwap.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ pragma solidity ^0.8.17;

import "../../core/libraries/TokenHelper.sol";
import "./IPSwapAggregator.sol";
import "./kyberswap/l1-contracts/InputScalingHelper.sol";
import "./kyberswap/l2-contracts/InputScalingHelperL2.sol";

contract PendleSwap is IPSwapAggregator, TokenHelper {
using Address for address;
Expand Down

0 comments on commit 53ad06c

Please sign in to comment.