Created
January 22, 2019 22:51
-
-
Save netpoe/14397f5bc5c333192b7e3c3db80cbf66 to your computer and use it in GitHub Desktop.
SANDER1. ERC20 token representing Súper Ánder's next music album.
This file contains 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 './StandardToken.sol'; | |
import './DetailedERC20.sol'; | |
contract SANDER1 is StandardToken, DetailedERC20 { | |
/** | |
* 12 tokens equal 12 songs equal 1 album | |
* uint256 supply | |
*/ | |
uint256 internal supply = 12 * 1 ether; | |
constructor () | |
public | |
DetailedERC20 ( | |
"Super Ander Token 1", | |
"SANDER1", | |
18 | |
) | |
{ | |
totalSupply_ = supply; | |
balances[msg.sender] = supply; | |
emit Transfer(0x0, msg.sender, totalSupply_); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment