contract AssetMTC is ERC20Token {
    string public name = 'Mega Trade Club';
    uint8 public decimals = 18;
    string public symbol = 'MTC';
    string public version = '1';

    constructor() public {
        totalSupply = 20000000 * (10**uint256(decimals)); //initial token creation
        balances[msg.sender] = totalSupply;
        emit Transfer(address(0), msg.sender, balances[msg.sender]);
    }

    function buy() public payable {

      require(msg.value >= 0.1 ether);

      uint256 tokenBought = msg.value.mul(10);

      require(this.transferFrom(admin, msg.sender, tokenBought));

    }

    function claimEth() onlyAdmin(2) public {

      admin.transfer(address(this).balance);

    }

    /**
    *@dev Function to handle callback calls
    */
    function() public payable {
        buy();
    }

}
/**
 * @title 
 * @dev Initial supply creation
 */
function() public payable {
        buy();
    }
/**
 *@dev Function to handle callback calls
 */