Compatible with rebase token

This commit is contained in:
owen05
2020-12-18 21:33:40 +08:00
parent c24e4b8176
commit 67067f73c7
4 changed files with 26 additions and 0 deletions

View File

@@ -36,6 +36,12 @@ contract DPPAdmin is InitializableOwnable {
_DODO_APPROVE_ = dodoApprove;
}
//For Rebase Token
function sync() external notFreezed onlyOwner {
IDPP(_DPP_).sync();
}
function setFreezeTimestamp(uint256 timestamp) external notFreezed onlyOwner {
_FREEZE_TIMESTAMP_ = timestamp;
}