The PR implements a contract to make silo to silo transfers of the ERC20 tokens that are bridged from near.
The main public functions to interact with the contract:
registerToken(IEvmErc20 token) // To register the token address
storageDeposit(IEvmErc20 token, uint128 storageDepositAmount) // To do the storage deposit
ftTransferCallToNear(IEvmErc20 token, uint128 amount, string receiverId, string calldata message) // To initiate the silo to silo transfer
withdraw(IEvmErc20 token) // To do a refund if the transfer failed
The PR implements a contract to make silo to silo transfers of the ERC20 tokens that are bridged from near. The main public functions to interact with the contract:
To deploy the contract on testnet run:
To upgrade the contract on testnet run: