Skip to content

Commit

Permalink
feat: add periphery contracts in src
Browse files Browse the repository at this point in the history
feat: add core dir in src
  • Loading branch information
andreivladbrg committed Jul 19, 2024
1 parent 199b3f8 commit ec3ddfb
Show file tree
Hide file tree
Showing 45 changed files with 1,539 additions and 36 deletions.
8 changes: 4 additions & 4 deletions script/DeployCore.s.sol
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { SablierV2LockupDynamic } from "../src/SablierV2LockupDynamic.sol";
import { SablierV2LockupLinear } from "../src/SablierV2LockupLinear.sol";
import { SablierV2LockupTranched } from "../src/SablierV2LockupTranched.sol";
import { SablierV2NFTDescriptor } from "../src/SablierV2NFTDescriptor.sol";
import { SablierV2LockupDynamic } from "../src/core/SablierV2LockupDynamic.sol";
import { SablierV2LockupLinear } from "../src/core/SablierV2LockupLinear.sol";
import { SablierV2LockupTranched } from "../src/core/SablierV2LockupTranched.sol";
import { SablierV2NFTDescriptor } from "../src/core/SablierV2NFTDescriptor.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
8 changes: 4 additions & 4 deletions script/DeployCore2.s.sol
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { ISablierV2NFTDescriptor } from "../src/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupDynamic } from "../src/SablierV2LockupDynamic.sol";
import { SablierV2LockupLinear } from "../src/SablierV2LockupLinear.sol";
import { SablierV2LockupTranched } from "../src/SablierV2LockupTranched.sol";
import { ISablierV2NFTDescriptor } from "../src/core/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupDynamic } from "../src/core/SablierV2LockupDynamic.sol";
import { SablierV2LockupLinear } from "../src/core/SablierV2LockupLinear.sol";
import { SablierV2LockupTranched } from "../src/core/SablierV2LockupTranched.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
8 changes: 4 additions & 4 deletions script/DeployDeterministicCore.s.sol
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { SablierV2LockupDynamic } from "../src/SablierV2LockupDynamic.sol";
import { SablierV2LockupLinear } from "../src/SablierV2LockupLinear.sol";
import { SablierV2LockupTranched } from "../src/SablierV2LockupTranched.sol";
import { SablierV2NFTDescriptor } from "../src/SablierV2NFTDescriptor.sol";
import { SablierV2LockupDynamic } from "../src/core/SablierV2LockupDynamic.sol";
import { SablierV2LockupLinear } from "../src/core/SablierV2LockupLinear.sol";
import { SablierV2LockupTranched } from "../src/core/SablierV2LockupTranched.sol";
import { SablierV2NFTDescriptor } from "../src/core/SablierV2NFTDescriptor.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
8 changes: 4 additions & 4 deletions script/DeployDeterministicCore2.s.sol
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { ISablierV2NFTDescriptor } from "../src/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupDynamic } from "../src/SablierV2LockupDynamic.sol";
import { SablierV2LockupLinear } from "../src/SablierV2LockupLinear.sol";
import { SablierV2LockupTranched } from "../src/SablierV2LockupTranched.sol";
import { ISablierV2NFTDescriptor } from "../src/core/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupDynamic } from "../src/core/SablierV2LockupDynamic.sol";
import { SablierV2LockupLinear } from "../src/core/SablierV2LockupLinear.sol";
import { SablierV2LockupTranched } from "../src/core/SablierV2LockupTranched.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
4 changes: 2 additions & 2 deletions script/DeployDeterministicLockupDynamic.s.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { ISablierV2NFTDescriptor } from "../src/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupDynamic } from "../src/SablierV2LockupDynamic.sol";
import { ISablierV2NFTDescriptor } from "../src/core/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupDynamic } from "../src/core/SablierV2LockupDynamic.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
4 changes: 2 additions & 2 deletions script/DeployDeterministicLockupLinear.s.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { ISablierV2NFTDescriptor } from "../src/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupLinear } from "../src/SablierV2LockupLinear.sol";
import { ISablierV2NFTDescriptor } from "../src/core/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupLinear } from "../src/core/SablierV2LockupLinear.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
4 changes: 2 additions & 2 deletions script/DeployDeterministicLockupTranched.s.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { ISablierV2NFTDescriptor } from "../src/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupTranched } from "../src/SablierV2LockupTranched.sol";
import { ISablierV2NFTDescriptor } from "../src/core/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupTranched } from "../src/core/SablierV2LockupTranched.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
2 changes: 1 addition & 1 deletion script/DeployDeterministicNFTDescriptor.s.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { SablierV2NFTDescriptor } from "../src/SablierV2NFTDescriptor.sol";
import { SablierV2NFTDescriptor } from "../src/core/SablierV2NFTDescriptor.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
4 changes: 2 additions & 2 deletions script/DeployLockupDynamic.s.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { ISablierV2NFTDescriptor } from "../src/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupDynamic } from "../src/SablierV2LockupDynamic.sol";
import { ISablierV2NFTDescriptor } from "../src/core/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupDynamic } from "../src/core/SablierV2LockupDynamic.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
4 changes: 2 additions & 2 deletions script/DeployLockupLinear.s.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { ISablierV2NFTDescriptor } from "../src/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupLinear } from "../src/SablierV2LockupLinear.sol";
import { ISablierV2NFTDescriptor } from "../src/core/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupLinear } from "../src/core/SablierV2LockupLinear.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
4 changes: 2 additions & 2 deletions script/DeployLockupTranched.s.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { ISablierV2NFTDescriptor } from "../src/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupTranched } from "../src/SablierV2LockupTranched.sol";
import { ISablierV2NFTDescriptor } from "../src/core/interfaces/ISablierV2NFTDescriptor.sol";
import { SablierV2LockupTranched } from "../src/core/SablierV2LockupTranched.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
2 changes: 1 addition & 1 deletion script/DeployNFTDescriptor.s.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.22 <0.9.0;

import { SablierV2NFTDescriptor } from "../src/SablierV2NFTDescriptor.sol";
import { SablierV2NFTDescriptor } from "../src/core/SablierV2NFTDescriptor.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
6 changes: 3 additions & 3 deletions script/GenerateSVG.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ pragma solidity >=0.8.22 <0.9.0;

import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";

import { NFTSVG } from "../src/libraries/NFTSVG.sol";
import { SVGElements } from "../src/libraries/SVGElements.sol";
import { SablierV2NFTDescriptor } from "../src/SablierV2NFTDescriptor.sol";
import { NFTSVG } from "../src/core/libraries/NFTSVG.sol";
import { SVGElements } from "../src/core/libraries/SVGElements.sol";
import { SablierV2NFTDescriptor } from "../src/core/SablierV2NFTDescriptor.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
6 changes: 3 additions & 3 deletions script/Init.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { ud60x18 } from "@prb/math/src/UD60x18.sol";

import { Solarray } from "solarray/src/Solarray.sol";

import { ISablierV2LockupDynamic } from "../src/interfaces/ISablierV2LockupDynamic.sol";
import { ISablierV2LockupLinear } from "../src/interfaces/ISablierV2LockupLinear.sol";
import { Broker, LockupDynamic, LockupLinear } from "../src/types/DataTypes.sol";
import { ISablierV2LockupDynamic } from "../src/core/interfaces/ISablierV2LockupDynamic.sol";
import { ISablierV2LockupLinear } from "../src/core/interfaces/ISablierV2LockupLinear.sol";
import { Broker, LockupDynamic, LockupLinear } from "../src/core/types/DataTypes.sol";

import { BaseScript } from "./Base.s.sol";

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit ec3ddfb

Please sign in to comment.