Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N-06 Explicit imports #424

Merged
merged 3 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/FixedRateRewardsSource.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pragma solidity 0.8.10;

import {Governable} from "./Governable.sol";
import {Initializable} from "./upgrades/Initializable.sol";
import "OpenZeppelin/[email protected]/contracts/token/ERC20/IERC20.sol";
import {IERC20} from "OpenZeppelin/[email protected]/contracts/token/ERC20/IERC20.sol";

contract FixedRateRewardsSource is Governable, Initializable {
error UnauthorizedCaller();
Expand Down
5 changes: 3 additions & 2 deletions contracts/Migrator.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

import "OpenZeppelin/[email protected]/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "./Governable.sol";
import {ERC20Burnable} from
"OpenZeppelin/[email protected]/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import {Governable} from "./Governable.sol";

interface IStaking {
function delegates(address staker) external view returns (address);
Expand Down
Loading