From 04a7a1ddaceaff5891bbfd570b3b32ad0a63d17f Mon Sep 17 00:00:00 2001 From: Tina Zheng Date: Wed, 22 Nov 2023 12:55:01 -0500 Subject: [PATCH] put using .. for in contract header --- contracts/base/PeripheryPayments.sol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/base/PeripheryPayments.sol b/contracts/base/PeripheryPayments.sol index cfaffb3e..9bce10e8 100644 --- a/contracts/base/PeripheryPayments.sol +++ b/contracts/base/PeripheryPayments.sol @@ -6,14 +6,14 @@ import {Currency, CurrencyLibrary} from "@uniswap/v4-core/contracts/types/Curren import {SafeTransferLib} from "solmate/utils/SafeTransferLib.sol"; import {IPeripheryPayments} from "../interfaces/IPeripheryPayments.sol"; -using CurrencyLibrary for Currency; -using SafeTransferLib for address; -using SafeTransferLib for ERC20; - error InsufficientToken(); error NativeTokenTransferFrom(); abstract contract PeripheryPayments is IPeripheryPayments { + using CurrencyLibrary for Currency; + using SafeTransferLib for address; + using SafeTransferLib for ERC20; + /// @inheritdoc IPeripheryPayments function sweepToken(Currency currency, uint256 amountMinimum, address recipient) public payable override { uint256 balanceCurrency = currency.balanceOfSelf();