fix DVM test

This commit is contained in:
mingda
2020-11-20 19:55:32 +08:00
parent 047d7f1d94
commit 8ba1a24e1a
5 changed files with 45 additions and 33 deletions

View File

@@ -88,4 +88,14 @@ contract DVMStorage is InitializableOwnable, ReentrancyGuard {
function setSell(bool open) external onlyOwner {
_SELLING_CLOSE_ = !open;
}
// ============ View Functions ============
function getLpFeeRate(address trader) external view returns (uint256 feeRate) {
return _LP_FEE_RATE_MODEL_.getFeeRate(trader);
}
function getMtFeeRate(address trader) external view returns (uint256 feeRate) {
return _MT_FEE_RATE_MODEL_.getFeeRate(trader);
}
}