Skip to content

Commit

Permalink
feat: consolidate dependencies to 1 file
Browse files Browse the repository at this point in the history
  • Loading branch information
CheyenneAtapour committed Jul 20, 2024
1 parent cd06a01 commit d358066
Show file tree
Hide file tree
Showing 24 changed files with 1,115 additions and 1,190 deletions.
4 changes: 1 addition & 3 deletions src/contracts/misc/ArbGhoSteward.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
pragma solidity ^0.8.10;

import {Ownable} from '@openzeppelin/contracts/access/Ownable.sol';
import {IOwnable} from './mocks/IOwnable.sol';
import {EnumerableSet} from '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import {IPoolAddressesProvider} from '@aave/core-v3/contracts/interfaces/IPoolAddressesProvider.sol';
import {IPoolConfigurator} from '@aave/core-v3/contracts/interfaces/IPoolConfigurator.sol';
Expand All @@ -16,8 +15,7 @@ import {IGsm} from '../facilitators/gsm/interfaces/IGsm.sol';
import {IGsmFeeStrategy} from '../facilitators/gsm/feeStrategy/interfaces/IGsmFeeStrategy.sol';
import {IGhoToken} from '../gho/interfaces/IGhoToken.sol';
import {IArbGhoSteward} from './interfaces/IArbGhoSteward.sol';
import {UpgradeableBurnMintTokenPool} from './mocks/UpgradeableBurnMintTokenPool.sol';
import {RateLimiter} from './mocks/RateLimiter.sol';
import {IOwnable, RateLimiter, UpgradeableBurnMintTokenPool} from './mocks/Dependencies.sol';

/**
* @title ArbGhoSteward
Expand Down
3 changes: 1 addition & 2 deletions src/contracts/misc/GhoStewardV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import {IGsm} from '../facilitators/gsm/interfaces/IGsm.sol';
import {IGsmFeeStrategy} from '../facilitators/gsm/feeStrategy/interfaces/IGsmFeeStrategy.sol';
import {IGhoToken} from '../gho/interfaces/IGhoToken.sol';
import {IGhoStewardV2} from './interfaces/IGhoStewardV2.sol';
import {UpgradeableLockReleaseTokenPool} from './mocks/UpgradeableLockReleaseTokenPool.sol';
import {RateLimiter} from './mocks/RateLimiter.sol';
import {UpgradeableLockReleaseTokenPool, RateLimiter} from './mocks/Dependencies.sol';

/**
* @title GhoStewardV2
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/misc/interfaces/IArbGhoSteward.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

import {RateLimiter} from '../mocks/RateLimiter.sol';
import {RateLimiter} from '../mocks/Dependencies.sol';

/**
* @title IGhoStewardV2
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/misc/interfaces/IGhoStewardV2.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

import {RateLimiter} from '../mocks/RateLimiter.sol';
import {RateLimiter} from '../mocks/Dependencies.sol';

/**
* @title IGhoStewardV2
Expand Down
38 changes: 0 additions & 38 deletions src/contracts/misc/mocks/Client.sol

This file was deleted.

10 changes: 0 additions & 10 deletions src/contracts/misc/mocks/ConfirmedOwner.sol

This file was deleted.

65 changes: 0 additions & 65 deletions src/contracts/misc/mocks/ConfirmedOwnerWithProposal.sol

This file was deleted.

Loading

0 comments on commit d358066

Please sign in to comment.