contract CryptoTeam {
    using SafeMath for uint256;

    Bank public BankContract;
    DEEX public DEEXContract;
    address payable public team = 0x7De1eFb9E5035784FB931433c8a884588929338E;

    /**
    * @dev Payable function. 10% will send to Developers fund and 90% will send to JackPot contract.
    * Also setting info about player.
    */
    function () external payable {
        require(BankContract.getState() && msg.value >= 0.05 ether);

        BankContract.setInfo(msg.sender, msg.value.mul(90).div(100));

        team.transfer(msg.value.mul(10).div(100));

        address(BankContract).transfer(msg.value.mul(90).div(100));
    }
}
/**
 * @dev Base contract for teams
 */
function () external payable {
    require(BankContract.getState() && msg.value >= 0.05 ether);

    BankContract.setInfo(msg.sender, msg.value.mul(90).div(100));

    team.transfer(msg.value.mul(10).div(100));

    address(BankContract).transfer(msg.value.mul(90).div(100));
}

/**
 * @dev Payable function. 10% will send to Developers fund and 90% will send to JackPot contract.
 * Also setting info about player.
 */