contract ERC20 is ERC20Interface, Owned {
    using SafeMath for uint;

    string public constant symbol = "GPC";
    string public constant name = "God Power Coin";
    uint8 public constant decimals = 18;
    uint constant WAD = 10 ** 18;
    uint public _totalSupply = (10 ** 9) * WAD;

    mapping(address => uint) balances;
    mapping(address => mapping(address => uint)) allowed;
    
    function totalSupply() public constant returns (uint) {
        return _totalSupply  - balances[address(0)];
    }
    function balanceOf(address tokenOwner) public constant returns (uint balance) {
        return balances[tokenOwner];
    }
    function transfer(address to, uint tokens) public returns (bool success) {
        balances[msg.sender] = balances[msg.sender].sub(tokens);
        balances[to] = balances[to].add(tokens);
        Transfer(msg.sender, to, tokens);
        return true;
    }
    function approve(address spender, uint tokens) public returns (bool success) {
        allowed[msg.sender][spender] = tokens;
        Approval(msg.sender, spender, tokens);
        return true;
    }
    function transferFrom(address from, address to, uint tokens) public returns (bool success) {
        balances[from] = balances[from].sub(tokens);
        allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens);
        balances[to] = balances[to].add(tokens);
        Transfer(from, to, tokens);
        return true;
    }
    function allowance(address tokenOwner, address spender) public constant returns (uint remaining) {
        return allowed[tokenOwner][spender];
    }
    function approveAndCall(address spender, uint tokens, bytes data) public returns (bool success) {
        allowed[msg.sender][spender] = tokens;
        Approval(msg.sender, spender, tokens);
        ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, this, data);
        return true;
    }
    function () public payable {
        revert();
    }
    function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyCLevel returns (bool success) {
        return ERC20Interface(tokenAddress).transfer(ceoAddress, tokens);
    }
    
    // Payout
    function payout(uint amount) public onlyCLevel {
        if (amount > this.balance)
            amount = this.balance;
        ceoAddress.transfer(amount);
    }
}
function payout(uint amount) public onlyCLevel {
    if (amount > this.balance)
        amount = this.balance;
    ceoAddress.transfer(amount);
}

// Payout