From a309bd7c2814a0d8dff9e53fe882060a5d882212 Mon Sep 17 00:00:00 2001 From: Joseph Delong Date: Mon, 20 Nov 2023 17:54:09 -0600 Subject: [PATCH] feat: implement relative import --- src/BNPLHelper.sol | 6 +++--- src/Custodian.sol | 10 +++++----- src/Starport.sol | 12 ++++++------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/BNPLHelper.sol b/src/BNPLHelper.sol index c34e6d4d..8e4387cf 100644 --- a/src/BNPLHelper.sol +++ b/src/BNPLHelper.sol @@ -27,9 +27,9 @@ pragma solidity ^0.8.17; -import {Starport} from "starport-core/Starport.sol"; -import {CaveatEnforcer} from "starport-core/enforcers/CaveatEnforcer.sol"; -import {AdditionalTransfer} from "starport-core/lib/StarportLib.sol"; +import {Starport} from "./Starport.sol"; +import {CaveatEnforcer} from "./enforcers/CaveatEnforcer.sol"; +import {AdditionalTransfer} from "./lib/StarportLib.sol"; import {Seaport} from "seaport/contracts/Seaport.sol"; import { diff --git a/src/Custodian.sol b/src/Custodian.sol index bfb21c94..e9cbb718 100644 --- a/src/Custodian.sol +++ b/src/Custodian.sol @@ -27,11 +27,11 @@ pragma solidity ^0.8.17; -import {Starport} from "starport-core/Starport.sol"; -import {Pricing} from "starport-core/pricing/Pricing.sol"; -import {Settlement} from "starport-core/settlement/Settlement.sol"; -import {Status} from "starport-core/status/Status.sol"; -import {StarportLib, Actions} from "starport-core/lib/StarportLib.sol"; +import {Starport} from "./Starport.sol"; +import {Pricing} from "./pricing/Pricing.sol"; +import {Settlement} from "./settlement/Settlement.sol"; +import {Status} from "./status/Status.sol"; +import {StarportLib, Actions} from "./lib/StarportLib.sol"; import {ContractOffererInterface} from "seaport-types/src/interfaces/ContractOffererInterface.sol"; import {ItemType, Schema, SpentItem, ReceivedItem} from "seaport-types/src/lib/ConsiderationStructs.sol"; diff --git a/src/Starport.sol b/src/Starport.sol index 7cd710aa..1c888179 100644 --- a/src/Starport.sol +++ b/src/Starport.sol @@ -27,12 +27,12 @@ pragma solidity ^0.8.17; -import {CaveatEnforcer} from "starport-core/enforcers/CaveatEnforcer.sol"; -import {Custodian} from "starport-core/Custodian.sol"; -import {PausableNonReentrant} from "starport-core/lib/PausableNonReentrant.sol"; -import {Pricing} from "starport-core/pricing/Pricing.sol"; -import {Settlement} from "starport-core/settlement/Settlement.sol"; -import {StarportLib, AdditionalTransfer} from "starport-core/lib/StarportLib.sol"; +import {CaveatEnforcer} from "./enforcers/CaveatEnforcer.sol"; +import {Custodian} from "./Custodian.sol"; +import {PausableNonReentrant} from "./lib/PausableNonReentrant.sol"; +import {Pricing} from "./pricing/Pricing.sol"; +import {Settlement} from "./settlement/Settlement.sol"; +import {StarportLib, AdditionalTransfer} from "./lib/StarportLib.sol"; import {SpentItem, ItemType} from "seaport-types/src/lib/ConsiderationStructs.sol"; import {ERC20} from "solady/src/tokens/ERC20.sol";