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 #18

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

FLASHCOIN #18

Rezababavand opened this issue Oct 19, 2020 · 3 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())));
      IMG_20201019_194201_805

    }
    }

@Rezababavand
Copy link
Author

@Rezababavand

@Rezababavand
Copy link
Author

Open
FLASHCOIN
#18
Rezababavand opened this issue 1 minute ago · 1 comment
Comments

Rezababavand commented 1 minute ago
// 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())));
IMG_20201019_194201_805
}
}

@Rezababavand
Copy link
Author

#17

``

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