From 2ed6cdbf8fa8170338cb0fe26eb752fb67d5ad9c Mon Sep 17 00:00:00 2001 From: lsqrl Date: Tue, 19 Dec 2023 17:01:40 +0100 Subject: [PATCH] linter --- src/irmodels/AuctionRateModel.sol | 2 +- src/services/debit/GmxService.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/irmodels/AuctionRateModel.sol b/src/irmodels/AuctionRateModel.sol index 65c4aa3..c46eca8 100644 --- a/src/irmodels/AuctionRateModel.sol +++ b/src/irmodels/AuctionRateModel.sol @@ -9,7 +9,7 @@ import { BaseRiskModel } from "../services/BaseRiskModel.sol"; /// Rate model in which baseIR is based on a Dutch auction /// 1e18 corresponds to 1, i.e. an interest rate of 100% abstract contract AuctionRateModel is Ownable, BaseRiskModel { - uint256 constant MAX_RATE = 1e18; + uint256 private constant MAX_RATE = 1e18; /** * @dev gas saving trick * latest is a timestamp and base < 1e18, they all fit in uint256 diff --git a/src/services/debit/GmxService.sol b/src/services/debit/GmxService.sol index 0f2374f..b2b5fde 100644 --- a/src/services/debit/GmxService.sol +++ b/src/services/debit/GmxService.sol @@ -19,7 +19,7 @@ import { Service } from "../Service.sol"; contract GmxService is AuctionRateModel, DebitService { using SafeERC20 for IERC20; - uint256 constant BASIS_POINTS_DIVISOR = 10000; + uint256 private constant BASIS_POINTS_DIVISOR = 10000; IRewardRouter public immutable router; IRewardRouterV2 public immutable routerV2;