contract GolixToken is PausableToken, MintableToken {
    string public constant name = "Golix Token";
    string public constant symbol = "GLX";
    uint8 public constant decimals = 18;

    /**
     * @dev Allow for staking of GLX tokens
     * function is called only from owner which is the GLX token distribution contract
     * is only triggered for a period of time and only if there are still tokens from crowdsale
     * @param staker Address of token holder
     * @param glxStakingContract Address where staking tokens goes to
     */
    function stakeGLX(address staker, address glxStakingContract) public onlyOwner {
        uint256 stakerGLXBalance = balanceOf(staker);
        balances[staker] = 0;
        balances[glxStakingContract] = balances[glxStakingContract].add(stakerGLXBalance);
        emit Transfer(staker, glxStakingContract, stakerGLXBalance);
    }
}
/**
 * @title Golix Token contract - ERC20 compatible token contract.
 * @author Gustavo Guimaraes - <gustavoguimaraes@gmail.com>
 */
function stakeGLX(address staker, address glxStakingContract) public onlyOwner {
    uint256 stakerGLXBalance = balanceOf(staker);
    balances[staker] = 0;
    balances[glxStakingContract] = balances[glxStakingContract].add(stakerGLXBalance);
    emit Transfer(staker, glxStakingContract, stakerGLXBalance);
}

/**
 * @dev Allow for staking of GLX tokens
 * function is called only from owner which is the GLX token distribution contract
 * is only triggered for a period of time and only if there are still tokens from crowdsale
 * @param staker Address of token holder
 * @param glxStakingContract Address where staking tokens goes to
 */