DPPOracleAdmin version 1.1.1
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user