20 lines
550 B
Solidity
20 lines
550 B
Solidity
// SPDX-License-Identifier: Proprietary
|
|
pragma solidity ^0.7.2;
|
|
|
|
import "./LibControl.sol";
|
|
import "./IControl.sol";
|
|
|
|
contract ControlFacet is IControl {
|
|
function creator() external override view returns (address) {
|
|
return LibControl.controlStorage().creator;
|
|
}
|
|
|
|
function mothership() external override view returns (address) {
|
|
return address(LibControl.controlStorage().mothership);
|
|
}
|
|
|
|
function changeCreator(address payable _newCreator) external override {
|
|
LibControl.changeCreator(_newCreator);
|
|
}
|
|
}
|