Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #17 from bugout-dev/make-facets-independently-usable
Browse files Browse the repository at this point in the history
Made "TerminusFacet" usable as a self-contained smart contract
  • Loading branch information
zomglings authored Dec 24, 2021
2 parents 59580d2 + 016f114 commit bcec58b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contracts/terminus/TerminusFacet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bcec58b

Please sign in to comment.