fix erc1155 && erc20

This commit is contained in:
owen05
2021-05-06 14:58:53 +08:00
parent ab0451066f
commit 11814c230d
6 changed files with 19 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ contract InitializableMintableERC20 is InitializableOwnable {
string public symbol;
uint256 public totalSupply;
mapping(address => uint256) balances;
mapping(address => uint256) internal balances;
mapping(address => mapping(address => uint256)) internal allowed;
event Transfer(address indexed from, address indexed to, uint256 amount);