DPPOracleAdmin version 1.1.1

This commit is contained in:
tracy
2022-07-19 23:21:02 +08:00
parent 44a57c30bc
commit 31b2aaf849
2 changed files with 6 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ contract DPPOracleAdmin is InitializableOwnable {
); // only allow owner directly call or operator call via DODODppProxy ); // only allow owner directly call or operator call via DODODppProxy
return return
IDPPOracle(_DPP_).reset( IDPPOracle(_DPP_).reset(
_OWNER_, //only support asset transfer out to owner msg.sender, //only support asset transfer to msg.sender (_OWNER_ or allowed proxy)
newLpFeeRate, newLpFeeRate,
newI, newI,
newK, newK,
@@ -137,6 +137,6 @@ contract DPPOracleAdmin is InitializableOwnable {
// ============ Admin Version Control ============ // ============ Admin Version Control ============
function version() external pure returns (string memory) { function version() external pure returns (string memory) {
return "DPPOracle Admin 1.1.0"; return "DPPOracle Admin 1.1.1";
} }
} }

View File

@@ -17,8 +17,10 @@ interface IDPPOracle {
uint256 lpFeeRate, uint256 lpFeeRate,
address mtFeeRateModel, address mtFeeRateModel,
uint256 k, uint256 k,
address i, //oracle address uint256 i,
bool isOpenTWAP address o,
bool isOpenTWAP,
bool isOracleEnabled
) external; ) external;
function _MT_FEE_RATE_MODEL_() external returns (address); function _MT_FEE_RATE_MODEL_() external returns (address);