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); - } + } }