add dvm && dpp admin control
This commit is contained in:
@@ -21,4 +21,25 @@ interface IDPP {
|
||||
address gasPriceSource,
|
||||
address tradePermissionManager
|
||||
) external;
|
||||
|
||||
//=========== admin ==========
|
||||
function setLpFeeRateModel(address newLpFeeRateModel) external;
|
||||
|
||||
function setMtFeeRateModel(address newMtFeeRateModel) external;
|
||||
|
||||
function setTradePermissionManager(address newTradePermissionManager) external;
|
||||
|
||||
function setMaintainer(address newMaintainer) external;
|
||||
|
||||
function setGasPriceSource(address newGasPriceLimitSource) external;
|
||||
|
||||
function setISource(address newISource) external;
|
||||
|
||||
function setKSource(address newKSource) external;
|
||||
|
||||
function setBuy(bool open) external;
|
||||
|
||||
function setSell(bool open) external;
|
||||
//==============================
|
||||
|
||||
}
|
||||
|
||||
13
contracts/DODOPrivatePool/intf/IDPPAdmin.sol
Normal file
13
contracts/DODOPrivatePool/intf/IDPPAdmin.sol
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
|
||||
Copyright 2020 DODO ZOO.
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
*/
|
||||
|
||||
pragma solidity 0.6.9;
|
||||
pragma experimental ABIEncoderV2;
|
||||
|
||||
interface IDPPAdmin {
|
||||
function init(address owner, address _dpp) external;
|
||||
}
|
||||
Reference in New Issue
Block a user