Created
May 27, 2020 23:17
-
-
Save danimesq/9e393b4f620b0806dc97e4cf12017027 to your computer and use it in GitHub Desktop.
Source-code of PersonalTokens.io, source of DANIMESQ token
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 "https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-solidity/v2.0.0/contracts/token/ERC20/ERC20.sol"; | |
import "https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-solidity/v2.0.0/contracts/token/ERC20/ERC20Detailed.sol"; | |
/** | |
* @title PersonalToken | |
* @dev Personal Token contract. | |
*/ | |
contract PersonalToken is ERC20, ERC20Detailed { | |
/** | |
* @dev Mints all tokens to given accounts. | |
*/ | |
constructor(string _name, string _symbol, address _keeper, address _treasurer) public ERC20Detailed(_name, _symbol, 4) { | |
uint256 totalSupply = 210000000000; | |
uint256 deposit = 2100000000; | |
_mint(_keeper, deposit); | |
_mint(_treasurer, (totalSupply - deposit)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment