0.01%, because of '.div(10**18)' ?
=========================================
function setMaxTxAmount(uint256 maxTxAmount) external onlyOwner() {
require(maxTxAmount >= (_tTotal.mul(1).div(10000)).div(10**18), "amount must be greater than 0.01% of the total supply");
_maxTxAmount = maxTxAmount;
}
this is a horribly written bit of code
yes i know, i have colegue of mine that ask me this but i am not quite sure in the answer
Обсуждают сегодня