From e73f438608cb08afa8095acb57babd4f229ebe95 Mon Sep 17 00:00:00 2001 From: Flocqst Date: Thu, 6 Jun 2024 18:31:43 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20forge=20fmt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/KSXVault.sol | 12 +++++++----- test/KSXVault.t.sol | 14 +++++++------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/KSXVault.sol b/src/KSXVault.sol index c0f8eae..4993b24 100644 --- a/src/KSXVault.sol +++ b/src/KSXVault.sol @@ -1,14 +1,16 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.25; -import { ERC4626 } from "@openzeppelin/contracts/token/ERC20/extensions/ERC4626.sol"; -import { ERC20, IERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.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 KSX ERC4626 Vault /// @author Flocqst (florian@kwenta.io) contract KSXVault is ERC4626 { - constructor(address _token) ERC4626(IERC20(_token)) ERC20("KSX Vault", "KSX") { - - } + constructor(address _token) + ERC4626(IERC20(_token)) + ERC20("KSX Vault", "KSX") + {} } diff --git a/test/KSXVault.t.sol b/test/KSXVault.t.sol index dcbbe6e..a980305 100644 --- a/test/KSXVault.t.sol +++ b/test/KSXVault.t.sol @@ -2,19 +2,19 @@ pragma solidity 0.8.25; import {Test} from "forge-std/Test.sol"; -import { KSXVault } from "../src/KSXVault.sol"; -import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; +import {KSXVault} from "../src/KSXVault.sol"; +import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract KSXVaultTest is Test { - function setUp() public { - - } + function setUp() public {} } contract MockERC20 is ERC20 { - constructor (string memory name_, string memory symbol_) ERC20(name_, symbol_) {} + constructor(string memory name_, string memory symbol_) + ERC20(name_, symbol_) + {} function mint(address to, uint256 amount) external { _mint(to, amount); - } + } }