1

As for example, Is it okay to add modifiers in transfer function in ERC20

3

There's nothing against that, as modifiers aren't part of the interface you expose. Depending on your modifiers though, it's pretty easy to make any number of integrations impossible (e.g. if you have a whitelist'ed address modifier, the token probably wont be tradeable on exchanges)

  • By "whitelist'ed address modifier" do you mean explicit privileges for addresses using a modifier ? – CryptoScroller Jan 19 '19 at 10:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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