Hi everyone, I am trying to develop a vault contract for our game and have one question.
will following can overflow/undeflow

depositVal - (depositVal.mul(20).div(100))

I am using uint256 for depositVal. Also safemath library for uint256

Jan 9, 2022, 12:49 AM

© 2024 Draquery.com All rights reserved.