From 016f114fa3e01ec927c42ecc65b7fcf57aaea190 Mon Sep 17 00:00:00 2001 From: Neeraj Kashyap Date: Fri, 24 Dec 2021 06:22:09 -0800 Subject: [PATCH] Made "TerminusFacet" usable as a self-contained smart contract --- contracts/terminus/TerminusFacet.sol | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contracts/terminus/TerminusFacet.sol b/contracts/terminus/TerminusFacet.sol index f6087a2..1e6db9c 100644 --- a/contracts/terminus/TerminusFacet.sol +++ b/contracts/terminus/TerminusFacet.sol @@ -26,7 +26,10 @@ import "./LibTerminus.sol"; import "../diamond/libraries/LibDiamond.sol"; contract TerminusFacet is ERC1155WithTerminusStorage { - constructor() {} + constructor() { + LibTerminus.TerminusStorage storage ts = LibTerminus.terminusStorage(); + ts.controller = msg.sender; + } event PoolMintBatch( uint256 indexed id,