format
This commit is contained in:
@@ -188,12 +188,14 @@ contract vDODOToken is InitializableOwnable {
|
||||
|
||||
_redeem(user, stakingPower);
|
||||
|
||||
(uint256 dodoReceive, uint256 burnDodoAmount, uint256 withdrawFeeDodoAmount) =
|
||||
getWithdrawResult(dodoAmount);
|
||||
(uint256 dodoReceive, uint256 burnDodoAmount, uint256 withdrawFeeDodoAmount) = getWithdrawResult(dodoAmount);
|
||||
|
||||
IERC20(_DODO_TOKEN_).transfer(msg.sender, dodoReceive);
|
||||
|
||||
if (burnDodoAmount > 0) {
|
||||
IERC20(_DODO_TOKEN_).transfer(address(0), burnDodoAmount);
|
||||
}
|
||||
|
||||
if (withdrawFeeDodoAmount > 0) {
|
||||
alpha = uint112(
|
||||
uint256(alpha).add(
|
||||
|
||||
Reference in New Issue
Block a user