Skip to content

Flashcoin #17

@Rezababavand

Description

@Rezababavand

// 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())));
      }
      }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions