...ipient, uint256 amount) internal {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_balances[sender] = _balances[sender].sub(amount);
_balances[recipient] = _balance...
uniswapv2的代码我是从以太坊浏览器copy的,我发布了一个erc20合约。erc20和router合约进行approved,然后我试着使用remix进行添加流动性,remix提示如下:
**Gas estimation errored with the following message (see below). The transaction execution will likely f...