Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashcoin #17

Open
Rezababavand opened this issue Oct 19, 2020 · 2 comments
Open

Flashcoin #17

Rezababavand opened this issue Oct 19, 2020 · 2 comments

Comments

@Rezababavand
Copy link

// 0.5.1-c8a2
// Enable optimization
pragma solidity ^0.5.0;

import "./ERC20.sol";
import "./ERC20Detailed.sol";

/**

  • @title SimpleToken

  • @dev Very simple ERC20 Token example, where all tokens are pre-assigned to the creator.

  • Note they can later distribute these tokens as they wish using transfer and other

  • ERC20 functions.
    */
    contract Token is ERC20, ERC20Detailed {

    /**

    • @dev Constructor that gives msg.sender all of existing tokens.
      */
      constructor () public ERC20Detailed("FLASHCOIN", "FSN", 14) {
      _mint(msg.sender, 30000000 * (10 ** uint256(decimals())));
      }
      }
@Rezababavand
Copy link
Author

Flashcoin

@Rezababavand
Copy link
Author

Uploading IMG_20201019_194201_805.jpg…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant