From 029b4951e791472531daee199b1310d0a333df25 Mon Sep 17 00:00:00 2001 From: mingda Date: Sun, 7 Feb 2021 15:35:12 +0800 Subject: [PATCH] getDODOWithdrawFeeRatio --- contracts/DODOToken/vDODOToken.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contracts/DODOToken/vDODOToken.sol b/contracts/DODOToken/vDODOToken.sol index b61f030..97cb4e1 100644 --- a/contracts/DODOToken/vDODOToken.sol +++ b/contracts/DODOToken/vDODOToken.sol @@ -299,6 +299,10 @@ contract vDODOToken is InitializableOwnable { withdrawFeeDodoAmount = withdrawFeeDodoAmount.sub(burnDodoAmount); } + function getDODOWithdrawFeeRatio() public view returns (uint256 feeRatio) { + feeRatio = IDODOCirculationHelper(_DODO_CIRCULATION_HELPER_).getDodoWithdrawFeeRatio(); + } + // ============ Internal Functions ============ function _updateAlpha() internal {