Create detailed ERC20 interface
This commit is contained in:
15
contracts/token/DetailedERC20.sol
Normal file
15
contracts/token/DetailedERC20.sol
Normal file
@ -0,0 +1,15 @@
|
||||
pragma solidity ^0.4.11;
|
||||
|
||||
import './ERC20.sol';
|
||||
|
||||
contract DetailedERC20 is ERC20 {
|
||||
string public name;
|
||||
string public symbol;
|
||||
uint8 public decimals;
|
||||
|
||||
function DetailedERC20(string _name, string _symbol, uint8 _decimals) {
|
||||
name = _name;
|
||||
symbol = _symbol;
|
||||
decimals = _decimals;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user