update factory
This commit is contained in:
@@ -24,9 +24,9 @@ contract DPPFactory is InitializableOwnable {
|
||||
// ============ Templates ============
|
||||
|
||||
address public immutable _CLONE_FACTORY_;
|
||||
address public immutable _DEFAULT_MAINTAINER_;
|
||||
address public immutable _DEFAULT_MT_FEE_RATE_MODEL_;
|
||||
address public immutable _DODO_APPROVE_PROXY_;
|
||||
address public _DEFAULT_MAINTAINER_;
|
||||
address public _DPP_TEMPLATE_;
|
||||
address public _DPP_ADMIN_TEMPLATE_;
|
||||
|
||||
@@ -123,6 +123,10 @@ contract DPPFactory is InitializableOwnable {
|
||||
_DPP_ADMIN_TEMPLATE_ = _newDPPAdminTemplate;
|
||||
}
|
||||
|
||||
function updateDefaultMaintainer(address _newMaintainer) external onlyOwner {
|
||||
_DEFAULT_MAINTAINER_ = _newMaintainer;
|
||||
}
|
||||
|
||||
function updateDppTemplate(address _newDPPTemplate) external onlyOwner {
|
||||
_DPP_TEMPLATE_ = _newDPPTemplate;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user