Post
Topic
Board Service Announcements (Altcoins)
Re: [ETH] Smart Revshare
by
gkucmierz
on 12/04/2016, 18:37:17 UTC
Heeeey BetGod... You mastermind you Wink

!WARNING SUSPICIOUS CODE!

Code in question:

Code:
 // calculate ROI based on investor value
  function calculateROI() internal returns (uint8) {
    if (msg.value <=   1 ether) return 110; // 110%
    if (msg.value <=  10 ether) return 120; // 120%
    if (msg.value <= 100 ether) return 130; // 130%
    return 0;
  }

I am not trying to hide it.

It is very clear visible in code.

If your investment is 100 ether + 1 wei or more than your ROI => 0

This is limit which is here to not block whole system too early and let it work for months.

EDIT:

I did updated the page to make it clear -> http://jsfiddle.net/ju0bss7f/9/embedded/result/