contract SuperWalletToken is StandardToken, Owned
{
    // metadata
    string public constant name = "Super Wallet Token";
    string public constant symbol = "SW";
    string public version = "1.0";
    uint256 public constant decimals = 8;
    bool public disabled;
    // constructor
    function SuperWalletToken() public 
    {
        uint256 amount = 84000000*100000000;
        totalSupply = amount;
        balances[msg.sender] = amount;
    }

    function getTotalSupply() external view returns(uint256) 
    {
        return totalSupply;
    }
    //在数据迁移时,需要先停止ATM交易
    function setDisabled(bool flag) external onlyOwner {
        disabled = flag;
    }
    function transfer(address _to, uint256 _value) public returns (bool success) {
        require(!disabled);
        return super.transfer(_to, _value);
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(!disabled);
        return super.transferFrom(_from, _to, _value);
    }

    function kill() external onlyOwner {
        selfdestruct(owner);
    }

}
function SuperWalletToken() public 
    {
        uint256 amount = 84000000*100000000;
        totalSupply = amount;
        balances[msg.sender] = amount;
    }
// constructor