Skip to content

Commit

Permalink
feat: implement relative import (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangerousfood authored Nov 21, 2023
1 parent b180bb2 commit 67e3177
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/BNPLHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 5 additions & 5 deletions src/Custodian.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
12 changes: 6 additions & 6 deletions src/Starport.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 67e3177

Please sign in to comment.