add twap switch

This commit is contained in:
owen05
2021-01-19 17:10:46 +08:00
parent 059778b27b
commit 8b683af08f
34 changed files with 519 additions and 174 deletions

View File

@@ -78,7 +78,8 @@ contract DPPFactory is InitializableOwnable {
address quoteToken,
uint256 lpFeeRate,
uint256 k,
uint256 i
uint256 i,
bool isOpenTwap
) external {
{
address _dppAddress = dppAddress;
@@ -96,7 +97,8 @@ contract DPPFactory is InitializableOwnable {
lpFeeRate,
_DEFAULT_MT_FEE_RATE_MODEL_,
k,
i
i,
isOpenTwap
);
}