update cpV2

This commit is contained in:
owen05
2021-12-13 10:34:27 +08:00
parent e271a0bdea
commit 2f1d5eae4a
3 changed files with 6 additions and 4 deletions

View File

@@ -103,6 +103,8 @@ contract CP is CPVesting {
_TOTAL_BASE_ = _BASE_TOKEN_.balanceOf(address(this));
require(switches.length == 2, "SWITCHES_LENGTH_WRONG");
_IS_OVERCAP_STOP = switches[0];
_IS_OPEN_TWAP_ = switches[1];