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
return
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,
newI,
newK,
@@ -137,6 +137,6 @@ contract DPPOracleAdmin is InitializableOwnable {
// ============ Admin Version Control ============
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,
address mtFeeRateModel,
uint256 k,
address i, //oracle address
bool isOpenTWAP
uint256 i,
address o,
bool isOpenTWAP,
bool isOracleEnabled
) external;
function _MT_FEE_RATE_MODEL_() external returns (address);