The PR adds a possibility to mirror previously deployed ERC-20 contracts on the main Aurora contract. The transaction mirror_erc20_token is allowed in the Silo mode only.
mirror_erc20_token accepts parameters serialised with borsh.
get(set)_erc20_metadata accepts parameters serialised with JSON.
Performance / NEAR gas cost considerations
There are no changes in the performance/gas consumption.
Description
The PR adds a possibility to mirror previously deployed ERC-20 contracts on the main Aurora contract. The transaction
mirror_erc20_token
is allowed in the Silo mode only.mirror_erc20_token
accepts parameters serialised with borsh.get(set)_erc20_metadata
accepts parameters serialised with JSON.Performance / NEAR gas cost considerations
There are no changes in the performance/gas consumption.
Testing
The corresponding test has been added.