Calling ether of these in my contract does the same thing. What is the difference then?
ERC20(tokenAddress).transferFrom(msg.sender, address(this), amount);
IERC20(tokenAddress).transferFrom(msg.sender, address(this), amount);
I thought IERC20 was just the interface so I would have to implement the function myself. But both transfer the token between addresses.
Could I have a caching problem, or do they actually do the same thing?