Commit 12c9e3b7 authored by Maurelian's avatar Maurelian

chore(ctb): Update semver and import path

parent abd752e2
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pragma solidity 0.8.15; pragma solidity 0.8.15;
import { Semver } from "../universal/Semver.sol"; import { ISemver } from "src/universal/ISemver.sol";
contract DelayedVetoable is Semver { contract DelayedVetoable is ISemver {
/// @notice Error for when attempting to forward too early. /// @notice Error for when attempting to forward too early.
error ForwardingEarly(); error ForwardingEarly();
...@@ -58,13 +58,16 @@ contract DelayedVetoable is Semver { ...@@ -58,13 +58,16 @@ contract DelayedVetoable is Semver {
} }
} }
/// @notice Semantic version.
/// @custom:semver 0.0.1 /// @custom:semver 0.0.1
string public constant version = "0.0.1";
/// @notice Sets the target admin during contract deployment. /// @notice Sets the target admin during contract deployment.
/// @param vetoer_ Address of the vetoer. /// @param vetoer_ Address of the vetoer.
/// @param initiator_ Address of the initiator. /// @param initiator_ Address of the initiator.
/// @param target_ Address of the target. /// @param target_ Address of the target.
/// @param delay_ Address of the delay. /// @param delay_ Address of the delay.
constructor(address vetoer_, address initiator_, address target_, uint256 delay_) Semver(0, 0, 1) { constructor(address vetoer_, address initiator_, address target_, uint256 delay_) {
_vetoer = vetoer_; _vetoer = vetoer_;
_initiator = initiator_; _initiator = initiator_;
_target = target_; _target = target_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment