Created
October 8, 2018 11:40
-
-
Save buddies2705/7c5c63bb53621ad029aeeee0d72f0eb8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
import "openzeppelin-solidity/contracts/token/ERC20/DetailedERC20.sol"; | |
import "openzeppelin-solidity/contracts/token/ERC20/StandardToken.sol"; | |
import "openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol"; | |
/** | |
* @title DetailedERC20 token | |
* @dev The decimals are only for visualization purposes. | |
* All the operations are done using the smallest and indivisible token unit, | |
* just as on Ethereum all the operations are done in wei. | |
*/ | |
contract ExampleToken is StandardToken, MintableToken, DetailedERC20 { | |
//We inherited the DetailedERC20 | |
constructor(string _name, string _symbol, uint8 _decimals) | |
DetailedERC20(_name, _symbol, _decimals) | |
public { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment