From e56fede0b432a6673d7b7ebb6e3f6a0f0ae96349 Mon Sep 17 00:00:00 2001 From: David Colon <38386583+Da-Colon@users.noreply.github.com> Date: Sat, 19 Oct 2024 20:29:26 -0400 Subject: [PATCH] make factoryFriendly --- contracts/DecentAutonomousAdmin.sol | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contracts/DecentAutonomousAdmin.sol b/contracts/DecentAutonomousAdmin.sol index f8fb712a..31030b5b 100644 --- a/contracts/DecentAutonomousAdmin.sol +++ b/contracts/DecentAutonomousAdmin.sol @@ -4,10 +4,11 @@ pragma solidity 0.8.28; import {IHats} from "./interfaces/hats/full/IHats.sol"; import {IHatsElectionEligibility} from "./interfaces/hats/full/IHatsElectionEligibility.sol"; import {ISablierV2Lockup} from "./interfaces/sablier/full/ISablierV2Lockup.sol"; +import {FactoryFriendly} from "@gnosis.pm/zodiac/contracts/factory/FactoryFriendly.sol"; -contract DecentAutonomousAdmin { +contract DecentAutonomousAdmin is FactoryFriendly { string public constant NAME = "DecentAutonomousAdmin"; - string public version_ = "0.1.0"; + string public constant version_ = "0.1.0"; struct SablierStreamInfo { uint256 streamId; @@ -23,7 +24,7 @@ contract DecentAutonomousAdmin { // ////////////////////////////////////////////////////////////// // initializer // ////////////////////////////////////////////////////////////// - function setUp() public {} + function setUp(bytes memory initializeParams) public override initializer {} // ////////////////////////////////////////////////////////////// // Public Functions