Open think-in-universe opened 3 years ago
https://github.com/aurora-is-near/rainbow-token-connector/pull/73 will add the functionality to update metadata from a trusted services and https://github.com/aurora-is-near/rainbow-token-connector/pull/71 from trustless parties.
Description
We have some cases that the bridge token's NEP141 metadata (e.g. symbol, name, icon, decimals, etc.) needs to be customized when the token is bridged from an ERC20 token ETH.
While
set_metadata
is only allowed by thebridge token factory
, it might be helpful under some circumstances for the account who deployed the token to be able to set metadata.However, this may bring some confusion or security risks, if attackers try to create mismatched pairs to mislead users.
Please review whether this is possible from frontend and connectors.