From 70d073288a3628a6219cc4b8ad0a3476ec1d1283 Mon Sep 17 00:00:00 2001 From: Adam Gall Date: Fri, 1 Nov 2024 11:45:49 -0400 Subject: [PATCH] Rename (and move file) IDecentAutonomousAdmin to IDecentVersion --- .../IDecentAutonomousAdmin.sol => IDecentVersion.sol} | 2 +- .../interfaces/autonomous-admin/IDecentAutonomousAdminV1.sol | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename contracts/interfaces/{autonomous-admin/IDecentAutonomousAdmin.sol => IDecentVersion.sol} (76%) diff --git a/contracts/interfaces/autonomous-admin/IDecentAutonomousAdmin.sol b/contracts/interfaces/IDecentVersion.sol similarity index 76% rename from contracts/interfaces/autonomous-admin/IDecentAutonomousAdmin.sol rename to contracts/interfaces/IDecentVersion.sol index e6195eb..29ec7f9 100644 --- a/contracts/interfaces/autonomous-admin/IDecentAutonomousAdmin.sol +++ b/contracts/interfaces/IDecentVersion.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT pragma solidity >=0.8.28; -interface IDecentAutonomousAdmin { +interface IDecentVersion { function version() external view returns (uint32); } diff --git a/contracts/interfaces/autonomous-admin/IDecentAutonomousAdminV1.sol b/contracts/interfaces/autonomous-admin/IDecentAutonomousAdminV1.sol index 0f221fc..5943615 100644 --- a/contracts/interfaces/autonomous-admin/IDecentAutonomousAdminV1.sol +++ b/contracts/interfaces/autonomous-admin/IDecentAutonomousAdminV1.sol @@ -1,10 +1,10 @@ // SPDX-License-Identifier: MIT pragma solidity 0.8.28; -import {IDecentAutonomousAdmin} from "./IDecentAutonomousAdmin.sol"; +import {IDecentVersion} from "../IDecentVersion.sol"; import {IHats} from "../hats/IHats.sol"; -interface IDecentAutonomousAdminV1 is IDecentAutonomousAdmin { +interface IDecentAutonomousAdminV1 is IDecentVersion { error NotCurrentWearer(); struct TriggerStartArgs {