From b0973ba25148dbcfc06644401cb8e27618dd7785 Mon Sep 17 00:00:00 2001 From: Flocqst Date: Wed, 5 Jun 2024 18:31:05 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Basic=20ERC4626=20Vault?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/KSXVault.sol | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/KSXVault.sol b/src/KSXVault.sol index 81ec107..c0f8eae 100644 --- a/src/KSXVault.sol +++ b/src/KSXVault.sol @@ -1,11 +1,14 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.25; -import "@openzeppelin/contracts/token/ERC20/extensions/ERC4626.sol"; +import { ERC4626 } from "@openzeppelin/contracts/token/ERC20/extensions/ERC4626.sol"; +import { ERC20, IERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; /// @title Kwenta Example Contract -/// @notice Responsible for counting +/// @notice KSX ERC4626 Vault /// @author Flocqst (florian@kwenta.io) contract KSXVault is ERC4626 { - + constructor(address _token) ERC4626(IERC20(_token)) ERC20("KSX Vault", "KSX") { + + } }