Locking token in event of hack

I working on a BEP20 token, I have a question about locking a token in users wallet in event of hack.

If a portion of tokens are hacked and transferred into a different wallet

  1. Can we block the token from trading ?
  2. Can we lock the token in the user's wallet ?

any seniors can help ?

Hi, welcome to the community! :wave:

You can block these accounts if your token has some functions like isBlackList. IIRC, USDT has such function, you can have a look.

1 Like