eosnetworkfoundation / evm-bridge-contracts

Contracts to support the trustless bridge of the EOS EVM
Other
1 stars 2 forks source link

add unregtoken action for emergency purpose #31

Closed taokayan closed 1 year ago

taokayan commented 1 year ago

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.