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 {