From 7fbc3e506e73acb3ee2b51c47937c237e2bd6021 Mon Sep 17 00:00:00 2001 From: fudongbai <296179868@qq.com> Date: Fri, 11 Sep 2020 11:13:45 +0800 Subject: [PATCH] change filed of _name, _symbol, _decimal visibility to private --- contracts/bep20_template/BEP20Token.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/bep20_template/BEP20Token.template b/contracts/bep20_template/BEP20Token.template index d17ab5a3..301e7eae 100644 --- a/contracts/bep20_template/BEP20Token.template +++ b/contracts/bep20_template/BEP20Token.template @@ -344,9 +344,9 @@ contract BEP20Token is Context, IBEP20, Ownable { mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; - uint8 public _decimals; - string public _symbol; - string public _name; + uint8 private _decimals; + string private _symbol; + string private _name; constructor() public { _name = {{TOKEN_NAME}};