-
Notifications
You must be signed in to change notification settings - Fork 14
/
IDeploymentController.sol
41 lines (26 loc) · 1.38 KB
/
IDeploymentController.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// SPDX-License-Identifier: GPL-3.0
// Docgen-SOLC: 0.8.15
pragma solidity ^0.8.15;
import { ICloneFactory } from "./ICloneFactory.sol";
import { ICloneRegistry } from "./ICloneRegistry.sol";
import { IPermissionRegistry } from "./IPermissionRegistry.sol";
import { ITemplateRegistry, Template } from "./ITemplateRegistry.sol";
interface IDeploymentController is ICloneFactory, ICloneRegistry {
function templateCategoryExists(bytes32 templateCategory) external view returns (bool);
function templateExists(bytes32 templateId) external view returns (bool);
function addTemplate(
bytes32 templateCategory,
bytes32 templateId,
Template memory template
) external;
function addTemplateCategory(bytes32 templateCategory) external;
function toggleTemplateEndorsement(bytes32 templateCategory, bytes32 templateId) external;
function getTemplate(bytes32 templateCategory, bytes32 templateId) external view returns (Template memory);
function nominateNewDependencyOwner(address _owner) external;
function acceptDependencyOwnership() external;
function cloneFactory() external view returns (ICloneFactory);
function cloneRegistry() external view returns (ICloneRegistry);
function templateRegistry() external view returns (ITemplateRegistry);
function PermissionRegistry() external view returns (IPermissionRegistry);
function addClone(address clone) external;
}