tokenbridge-contracts
tokenbridge-contracts copied to clipboard
Rework Sacrifice contract to user create2
Currently Sacrifice.sol contract is used to send native coins to an account in case if the account is a contract reverting at the moment of receiving assets. A new Sacrifice contract with a new address is created every time when this situation happens. It consumes storage. Consider to re-use the create2 call as so a contract with the same address is being created.