From 30194d1bd6f25e6ee66348c28818629860753156 Mon Sep 17 00:00:00 2001 From: DhairyaSethi <55102840+DhairyaSethi@users.noreply.github.com> Date: Fri, 3 Jan 2025 16:15:40 +0530 Subject: [PATCH] chore: use existing IOwnable --- .../AaveV3Arbitrum_GHOCCIP151Upgrade_20241209.t.sol | 2 +- .../AaveV3Ethereum_GHOCCIP151Upgrade_20241209.t.sol | 2 +- src/interfaces/IOwnable.sol | 8 -------- 3 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 src/interfaces/IOwnable.sol diff --git a/src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Arbitrum_GHOCCIP151Upgrade_20241209.t.sol b/src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Arbitrum_GHOCCIP151Upgrade_20241209.t.sol index 064c998e6..1ae30e0df 100644 --- a/src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Arbitrum_GHOCCIP151Upgrade_20241209.t.sol +++ b/src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Arbitrum_GHOCCIP151Upgrade_20241209.t.sol @@ -18,7 +18,7 @@ import {IGhoToken} from 'src/interfaces/IGhoToken.sol'; import {IGhoAaveSteward} from 'src/interfaces/IGhoAaveSteward.sol'; import {IGhoBucketSteward} from 'src/interfaces/IGhoBucketSteward.sol'; import {IGhoCcipSteward} from 'src/interfaces/IGhoCcipSteward.sol'; -import {IOwnable} from 'src/interfaces/IOwnable.sol'; +import {IOwnable} from 'aave-address-book/common/IOwnable.sol'; import {DataTypes, IDefaultInterestRateStrategyV2} from 'aave-address-book/AaveV3.sol'; import {ReserveConfiguration} from 'aave-v3-origin/contracts/protocol/libraries/configuration/ReserveConfiguration.sol'; diff --git a/src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Ethereum_GHOCCIP151Upgrade_20241209.t.sol b/src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Ethereum_GHOCCIP151Upgrade_20241209.t.sol index 6a2835035..8779bb283 100644 --- a/src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Ethereum_GHOCCIP151Upgrade_20241209.t.sol +++ b/src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Ethereum_GHOCCIP151Upgrade_20241209.t.sol @@ -17,7 +17,7 @@ import {ITokenAdminRegistry} from 'src/interfaces/ccip/ITokenAdminRegistry.sol'; import {IGhoToken} from 'src/interfaces/IGhoToken.sol'; import {IGhoAaveSteward} from 'src/interfaces/IGhoAaveSteward.sol'; import {IGhoCcipSteward} from 'src/interfaces/IGhoCcipSteward.sol'; -import {IOwnable} from 'src/interfaces/IOwnable.sol'; +import {IOwnable} from 'aave-address-book/common/IOwnable.sol'; import {DataTypes, IDefaultInterestRateStrategyV2} from 'aave-address-book/AaveV3.sol'; import {ReserveConfiguration} from 'aave-v3-origin/contracts/protocol/libraries/configuration/ReserveConfiguration.sol'; diff --git a/src/interfaces/IOwnable.sol b/src/interfaces/IOwnable.sol deleted file mode 100644 index a02af3dd1..000000000 --- a/src/interfaces/IOwnable.sol +++ /dev/null @@ -1,8 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; - -interface IOwnable { - /// @notice Returns the owner of the contract. - /// @dev This method is named to match with the OpenZeppelin Ownable contract. - function owner() external view returns (address); -}