From 2bd299f86f99b0f8c3912248434ecce471485a2d Mon Sep 17 00:00:00 2001 From: Daniel Von Fange Date: Wed, 22 May 2024 18:41:25 -0400 Subject: [PATCH] Explicit imports --- contracts/FixedRateRewardsSource.sol | 2 +- contracts/Migrator.sol | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/contracts/FixedRateRewardsSource.sol b/contracts/FixedRateRewardsSource.sol index c3491c7f..77530c4c 100644 --- a/contracts/FixedRateRewardsSource.sol +++ b/contracts/FixedRateRewardsSource.sol @@ -3,7 +3,7 @@ pragma solidity 0.8.10; import {Governable} from "./Governable.sol"; import {Initializable} from "./upgrades/Initializable.sol"; -import "OpenZeppelin/openzeppelin-contracts@4.6.0/contracts/token/ERC20/IERC20.sol"; +import {IERC20} from "OpenZeppelin/openzeppelin-contracts@4.6.0/contracts/token/ERC20/IERC20.sol"; contract FixedRateRewardsSource is Governable, Initializable { error UnauthorizedCaller(); diff --git a/contracts/Migrator.sol b/contracts/Migrator.sol index cf827c04..1e5075a0 100644 --- a/contracts/Migrator.sol +++ b/contracts/Migrator.sol @@ -1,8 +1,9 @@ // SPDX-License-Identifier: MIT pragma solidity 0.8.10; -import "OpenZeppelin/openzeppelin-contracts@4.6.0/contracts/token/ERC20/extensions/ERC20Burnable.sol"; -import "./Governable.sol"; +import {ERC20Burnable} from + "OpenZeppelin/openzeppelin-contracts@4.6.0/contracts/token/ERC20/extensions/ERC20Burnable.sol"; +import {Governable} from "./Governable.sol"; interface IStaking { function delegates(address staker) external view returns (address);