Skip to content

Instantly share code, notes, and snippets.

@buddies2705
Created October 8, 2018 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buddies2705/7c5c63bb53621ad029aeeee0d72f0eb8 to your computer and use it in GitHub Desktop.
Save buddies2705/7c5c63bb53621ad029aeeee0d72f0eb8 to your computer and use it in GitHub Desktop.
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