File tree Expand file tree Collapse file tree 9 files changed +43
-38
lines changed Expand file tree Collapse file tree 9 files changed +43
-38
lines changed Original file line number Diff line number Diff line change 2
2
3
3
pragma solidity ^ 0.7.6 ;
4
4
5
- import "@openzeppelin/contracts/utils/Address.sol " ;
6
- import "@openzeppelin/contracts/math/SafeMath.sol " ;
7
- import "@openzeppelin/contracts/proxy/Clones.sol " ;
8
-
9
- import "../bancor/BancorFormula.sol " ;
10
- import "../upgrades/GraphUpgradeable.sol " ;
11
- import "../utils/TokenUtils.sol " ;
12
-
13
- import "./CurationStorage.sol " ;
14
- import "./ICuration.sol " ;
15
- import "./GraphCurationToken.sol " ;
5
+ import { Address } from "@openzeppelin/contracts/utils/Address.sol " ;
6
+ import { SafeMath } from "@openzeppelin/contracts/math/SafeMath.sol " ;
7
+ import { Clones } from "@openzeppelin/contracts/proxy/Clones.sol " ;
8
+
9
+ import { BancorFormula } from "../bancor/BancorFormula.sol " ;
10
+ import { GraphUpgradeable } from "../upgrades/GraphUpgradeable.sol " ;
11
+ import { TokenUtils } from "../utils/TokenUtils.sol " ;
12
+ import { IRewardsManager } from "../rewards/IRewardsManager.sol " ;
13
+ import { Managed } from "../governance/Managed.sol " ;
14
+ import { IGraphToken } from "../token/IGraphToken.sol " ;
15
+ import { CurationV1Storage } from "./CurationStorage.sol " ;
16
+ import { ICuration } from "./ICuration.sol " ;
17
+ import { IGraphCurationToken } from "./IGraphCurationToken.sol " ;
18
+ import { GraphCurationToken } from "./GraphCurationToken.sol " ;
16
19
17
20
/**
18
21
* @title Curation contract
Original file line number Diff line number Diff line change 2
2
3
3
pragma solidity ^ 0.7.6 ;
4
4
5
- import "../governance/Managed.sol " ;
5
+ import { ICuration } from "./ICuration.sol " ;
6
+ import { IGraphCurationToken } from "./IGraphCurationToken.sol " ;
7
+ import { Managed } from "../governance/Managed.sol " ;
6
8
7
9
abstract contract CurationV1Storage is Managed , ICuration {
8
10
// -- Pool --
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ pragma solidity ^0.7.6;
4
4
5
5
import { Initializable } from "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol " ;
6
6
7
- import "../upgrades/GraphUpgradeable.sol " ;
8
- import "../governance/Managed.sol " ;
9
- import "../token/IGraphToken.sol " ;
7
+ import { GraphUpgradeable } from "../upgrades/GraphUpgradeable.sol " ;
8
+ import { Managed } from "../governance/Managed.sol " ;
9
+ import { IGraphToken } from "../token/IGraphToken.sol " ;
10
10
11
11
/**
12
12
* @title Bridge Escrow
Original file line number Diff line number Diff line change 2
2
3
3
pragma solidity ^ 0.7.6 ;
4
4
5
- import "../upgrades/GraphUpgradeable.sol " ;
6
- import "../arbitrum/ITokenGateway.sol " ;
7
- import "../governance/Pausable.sol " ;
8
- import "../governance/Managed.sol " ;
5
+ import { GraphUpgradeable } from "../upgrades/GraphUpgradeable.sol " ;
6
+ import { ITokenGateway } from "../arbitrum/ITokenGateway.sol " ;
7
+ import { Pausable } from "../governance/Pausable.sol " ;
8
+ import { Managed } from "../governance/Managed.sol " ;
9
9
10
10
/**
11
11
* @title L1/L2 Graph Token Gateway
Original file line number Diff line number Diff line change 2
2
3
3
pragma solidity ^ 0.7.6 ;
4
4
5
- import "./IController.sol " ;
6
- import "./IManaged.sol " ;
7
- import "./Governed.sol " ;
8
- import "./Pausable.sol " ;
5
+ import { IController } from "./IController.sol " ;
6
+ import { IManaged } from "./IManaged.sol " ;
7
+ import { Governed } from "./Governed.sol " ;
8
+ import { Pausable } from "./Pausable.sol " ;
9
9
10
10
/**
11
11
* @title Graph Controller contract
Original file line number Diff line number Diff line change 2
2
3
3
pragma solidity ^ 0.7.6 ;
4
4
5
- import "./IController.sol " ;
5
+ import { IController } from "./IController.sol " ;
6
6
7
- import "../curation/ICuration.sol " ;
8
- import "../epochs/IEpochManager.sol " ;
9
- import "../rewards/IRewardsManager.sol " ;
10
- import "../staking/IStaking.sol " ;
11
- import "../token/IGraphToken.sol " ;
12
- import "../arbitrum/ITokenGateway.sol " ;
7
+ import { ICuration } from "../curation/ICuration.sol " ;
8
+ import { IEpochManager } from "../epochs/IEpochManager.sol " ;
9
+ import { IRewardsManager } from "../rewards/IRewardsManager.sol " ;
10
+ import { IStaking } from "../staking/IStaking.sol " ;
11
+ import { IGraphToken } from "../token/IGraphToken.sol " ;
12
+ import { ITokenGateway } from "../arbitrum/ITokenGateway.sol " ;
13
13
14
- import "./IManaged.sol " ;
14
+ import { IManaged } from "./IManaged.sol " ;
15
15
16
16
/**
17
17
* @title Graph Managed contract
Original file line number Diff line number Diff line change 2
2
3
3
pragma solidity ^ 0.7.6 ;
4
4
5
- import "@openzeppelin/contracts/utils/Address.sol " ;
5
+ import { Address } from "@openzeppelin/contracts/utils/Address.sol " ;
6
6
7
- import "./GraphProxyStorage.sol " ;
7
+ import { GraphProxyStorage } from "./GraphProxyStorage.sol " ;
8
8
9
- import "./IGraphProxy.sol " ;
9
+ import { IGraphProxy } from "./IGraphProxy.sol " ;
10
10
11
11
/**
12
12
* @title Graph Proxy
Original file line number Diff line number Diff line change 2
2
3
3
pragma solidity ^ 0.7.6 ;
4
4
5
- import "../governance/Governed.sol " ;
5
+ import { Governed } from "../governance/Governed.sol " ;
6
6
7
- import "./IGraphProxy.sol " ;
8
- import "./GraphUpgradeable.sol " ;
7
+ import { IGraphProxy } from "./IGraphProxy.sol " ;
8
+ import { GraphUpgradeable } from "./GraphUpgradeable.sol " ;
9
9
10
10
/**
11
11
* @title GraphProxyAdmin
Original file line number Diff line number Diff line change 2
2
3
3
pragma solidity ^ 0.7.6 ;
4
4
5
- import "./IGraphProxy.sol " ;
5
+ import { IGraphProxy } from "./IGraphProxy.sol " ;
6
6
7
7
/**
8
8
* @title Graph Upgradeable
You can’t perform that action at this time.
0 commit comments