update factory
This commit is contained in:
@@ -34,8 +34,8 @@ contract DVMFactory is InitializableOwnable {
|
||||
// ============ Templates ============
|
||||
|
||||
address public immutable _CLONE_FACTORY_;
|
||||
address public immutable _DEFAULT_MAINTAINER_;
|
||||
address public immutable _DEFAULT_MT_FEE_RATE_MODEL_;
|
||||
address public _DEFAULT_MAINTAINER_;
|
||||
address public _DVM_TEMPLATE_;
|
||||
|
||||
// ============ Registry ============
|
||||
@@ -101,6 +101,10 @@ contract DVMFactory is InitializableOwnable {
|
||||
function updateDvmTemplate(address _newDVMTemplate) external onlyOwner {
|
||||
_DVM_TEMPLATE_ = _newDVMTemplate;
|
||||
}
|
||||
|
||||
function updateDefaultMaintainer(address _newMaintainer) external onlyOwner {
|
||||
_DEFAULT_MAINTAINER_ = _newMaintainer;
|
||||
}
|
||||
|
||||
function addPoolByAdmin(
|
||||
address creator,
|
||||
|
||||
Reference in New Issue
Block a user