mirror of
https://github.com/chaintool-py/eth-erc20.git
synced 2024-11-22 17:56:48 +01:00
Add visibility to constructor
This commit is contained in:
parent
eb2b89b13e
commit
84852e1a03
File diff suppressed because one or more lines are too long
@ -18,7 +18,7 @@ contract GiftableToken {
|
|||||||
event TransferFrom(address indexed _from, address indexed _to, address indexed _spender, uint256 _value);
|
event TransferFrom(address indexed _from, address indexed _to, address indexed _spender, uint256 _value);
|
||||||
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
|
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
|
||||||
|
|
||||||
constructor(string memory _name, string memory _symbol, uint8 _decimals) {
|
constructor(string memory _name, string memory _symbol, uint8 _decimals) public {
|
||||||
owner = msg.sender;
|
owner = msg.sender;
|
||||||
name = _name;
|
name = _name;
|
||||||
symbol = _symbol;
|
symbol = _symbol;
|
||||||
|
Loading…
Reference in New Issue
Block a user