From 2a96043e61a41bbe30f757318d05b66a57e9be25 Mon Sep 17 00:00:00 2001 From: ryanycw Date: Thu, 24 Oct 2024 23:14:32 +0800 Subject: [PATCH] build: init modules --- src/NonFungiblePosVault.sol | 8 +++----- src/modules/EnterSubmodule.sol | 1 + src/modules/ExitSubmodule.sol | 1 + src/modules/OperationSubmodule.sol | 1 + src/modules/VaultSubmodule.sol | 0 5 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 src/modules/VaultSubmodule.sol diff --git a/src/NonFungiblePosVault.sol b/src/NonFungiblePosVault.sol index ae1a80b..ad93221 100644 --- a/src/NonFungiblePosVault.sol +++ b/src/NonFungiblePosVault.sol @@ -1,8 +1,6 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.8.25; +pragma solidity 0.8.25; +import {SolidStateDiamond} from "@solidstate/contracts/proxy/diamond/SolidStateDiamond.sol"; - -contract NonFungiblePosVault { - -} \ No newline at end of file +contract NonFungiblePosVault is SolidStateDiamond { } diff --git a/src/modules/EnterSubmodule.sol b/src/modules/EnterSubmodule.sol index e69de29..8b13789 100644 --- a/src/modules/EnterSubmodule.sol +++ b/src/modules/EnterSubmodule.sol @@ -0,0 +1 @@ + diff --git a/src/modules/ExitSubmodule.sol b/src/modules/ExitSubmodule.sol index e69de29..8b13789 100644 --- a/src/modules/ExitSubmodule.sol +++ b/src/modules/ExitSubmodule.sol @@ -0,0 +1 @@ + diff --git a/src/modules/OperationSubmodule.sol b/src/modules/OperationSubmodule.sol index e69de29..8b13789 100644 --- a/src/modules/OperationSubmodule.sol +++ b/src/modules/OperationSubmodule.sol @@ -0,0 +1 @@ + diff --git a/src/modules/VaultSubmodule.sol b/src/modules/VaultSubmodule.sol new file mode 100644 index 0000000..e69de29