if I understand correctly, this line allows the owner to adjust the fee afterward, so in the worst case, a rugpull is possible.

function setTaxFeePercent(uint256 taxFee) external onlyOwner() {
    _taxFee = taxFee;}

And if I understand it further correctly, this function serves as a protection mechanism, which is pretty two-sided.

I have read that there are better protections than how Safemoon does. How do I find out something like this, and what are they?

I'm just learning Solidity, and I'm very grateful for suggestions.

(Edited because I forgot the hey)

1 Answer 1


Good question indeed, I think the best solution we have right now is Decentralized Autonomous Organization (DAO). These kind of changes should be managed by DAO through proposal based decision making.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.