/** * Converts all incoming ethereum to tokens for the caller, and passes down the referral addy (if any) */ function buy(address _referredBy) public payable returns(uint256) { require(msg.value >= .1 ether); if(savedReferrals_[msg.sender] == 0x0000000000000000000000000000000000000000){ savedReferrals_[msg.sender] = _referredBy; }else{ _referredBy = savedReferrals_[msg.sender]; // This line is completely bogus } purchaseTokens(msg.value, savedReferrals_[msg.sender]); } /* He seems to be saving just one referral address per address for all times. I thinks that's the idea. Then he completely separates the referrals dividends from the customer's dividends with several different functions Also, they charge development fees for some things and others no. I'm still trying to understand what the whole concept is... */
0.4.18