Add unregtoken to remove an already registered token. It is not necessary for it do anything special with any funds already collected for that token (the erc20 contract can basically take it for itself).
Add unit tests that show unregistering a registered token that was already used, verifying that interaction with that token is no longer possible after unregistering, and then re-registering the same token and demonstrating that it can be used again.
Add
unregtoken
to remove an already registered token. It is not necessary for it do anything special with any funds already collected for that token (the erc20 contract can basically take it for itself).Add unit tests that show unregistering a registered token that was already used, verifying that interaction with that token is no longer possible after unregistering, and then re-registering the same token and demonstrating that it can be used again.