tokenbridge-contracts
tokenbridge-contracts copied to clipboard
Support of metatransactions on Foreign chain by erc20-to-native bridge
The DAI token has support of the permit
call. So, it makes sense to extended the erc20-to-native (both the vanilla bridge and the extension for AMB) functionality to allow using of metatransactions: some contract can provide a message signed by the user to the bridge contract and the corresponding amount of tokens can be permitted and transferred by the bridge contract.