add todo && smartSwap event update

This commit is contained in:
owen05
2020-11-20 11:05:41 +08:00
parent 93c2270076
commit 857e4fc01a
9 changed files with 30 additions and 10 deletions

View File

@@ -50,7 +50,9 @@ contract DPPVault is DPPStorage {
_checkStatus();
}
//TODO: Route queryfunc 以及 withdraw and reset
// todo 这里需要考虑怎么一个tx同时更新k i 和 fee并reset
//TODO: 修改feerate等
function reset() public onlyOwner {
_BASE_TARGET_ = _BASE_TOKEN_.balanceOf(address(this));
_QUOTE_TARGET_ = _QUOTE_TOKEN_.balanceOf(address(this));
@@ -67,6 +69,7 @@ contract DPPVault is DPPStorage {
// ============ Assets Transfer ============
//TODO确定Amount后内部调用
function withdraw(
address to,
uint256 baseAmount,