add advanced dpp

This commit is contained in:
owen05
2021-03-01 21:13:33 +08:00
parent 25525f87ee
commit d1d815b6f4
4 changed files with 222 additions and 1 deletions

View File

@@ -42,4 +42,19 @@ interface IDPP {
uint256 minBaseReserve,
uint256 minQuoteReserve
) external returns (bool);
//========== advanced ========
function tuneParameters(
uint256 newLpFeeRate,
uint256 newI,
uint256 newK,
uint256 minBaseReserve,
uint256 minQuoteReserve
) external returns (bool);
function tunePrice(
uint256 newI,
uint256 minBaseReserve,
uint256 minQuoteReserve
) external returns (bool);
}