Since the minting and burning is all virtual, PolygonERC20Wrapper does not need to implement the full ERC20, but can just implement the needed functions for the bridge functionality and emit a burn event (transfer to 0 address) when needed.
Impact
Save gas and complexity.
The only issue might be if Polygon for some reason declines to map it, but I see no reason for them to do so.
Handle
kenzo
Vulnerability details
Since the minting and burning is all virtual, PolygonERC20Wrapper does not need to implement the full ERC20, but can just implement the needed functions for the bridge functionality and emit a burn event (transfer to 0 address) when needed.
Impact
Save gas and complexity.
The only issue might be if Polygon for some reason declines to map it, but I see no reason for them to do so.