0

Lets assume this highly hypothetical scenario.

For some reason I issue a token and do the airdrop overnight, just to realize that there is a spelling error in the token symbol/ticker after 8hr. Is it possible to revert it, recover the loss and do it again?

How about sending large sums of EOS to someone by making a coding error in a smart contract ?

1 Answer 1

1

Custom token balance is stored on table on your smart contract. SO I think this way should works.

  1. Provide method to empty table to get ram back.( all users have received airdrop will be rollbacked)
  2. Update your smart contract and deploy it.
2
  • Thanks, any code example ? Jul 11, 2018 at 13:01
  • Yes, you need to upgrade your contract, add an empty method to clear all the data to get ram back, if you don't care about the cost, you don't need to upgrade it, and create a new token instead.
    – Jimmy Guo
    Jul 12, 2018 at 2:59

Your Answer

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

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