...guaranties that the admin can never withdraw more funds than: the 90% of the funds invested during the ICO.
Sorry if I understood wrong but; targeted ICO amount is 200K ETH so right after the ICO completed the admins can withdraw 180K ETH and it's OK?
In order to answer your question. The Admin cannot withdraw more than the 90 % of the raised sum and the funds waiting to be withdrawn as a wins.
Investors and winners funds are always protected. I will demonstrate Admin withdraws on the following examples.
Let's assume that there was 200 000 ETH raised during the ICO - 100 % goal. 90 % of the raised sum - 180 000 ETH will be allocated to the Jackpot. 10 % will be allocated to the marketing fund.
Scenario 1: During the first week contract earns 1000 ETH the contract balance is 181 000 ETH after the first week. Admin will be able to withdraw 0.25 % of the Jackpor value - 452.5 ETH
Scenario 2: During the first week contract earns 100 ETH the contract balance is 180 100 ETH after the first week. 0.25 % of this sum equals 450.25 ETH but Admin will be able to withdraw only 100 ETH. so after his withdraw the contract balance will equal 180 000 ETH - 90 % of the raised sum. Because he cannot withdraw funds that are reserved for Token redeem and wins payouts.
Scenario 3: During the first week contract loses 1000 ETH the contract balance is 179 000 ETH after the first week. Admin won't be able to withdraw any funds.
I hope that this will clear the Admin withdraw rules. Remember that the Investors and winers funds are always protected. Please see also my posts above.
Thanks for the clarification and detailed examples. Now it's clear to me.