Contract 0xCC70db1aC810677c06D9CC1CDD8c953B12eDD3FA

 

TxHash Block Age From To Value [TxFee]
0x597fca70da9facfaf12aa8739b5b353ab8dc1ff30d4ea9f6b52104ba7f2c6c56722752318 hrs 41 mins ago0x70dbf64f87ba272306aa935f5f44980ad57885d4  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.4008 Ether0.000254412
0x8be66b322bf53443a836e4355c9034fc50eddcefd25b8d512428fba42db0f57c722751218 hrs 45 mins ago0x70dbf64f87ba272306aa935f5f44980ad57885d4  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000177344
0x32c67b846e7adb53e53f3c8bd44436e3227fc3844551178af12c6e264edaa116722716920 hrs 44 mins ago0xedef83171003220f52e2bf55dc10251a1505860d  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.0004057384
0x8f5e8d34ba5e40030efba7c31aee496b35a42eca4e9f3331a3b4541e3d73409172240261 day 14 hrs ago0x671b1aaf2e610901e0e95e4e862c5202fdbbe339  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000352816
0xffc957342dcd22e8e85286d4edd3f0730510e7f7306767096812ac70b291bdcc72237421 day 16 hrs ago0x571808146a00c01be8f70f5a0a3ae97102fcf78e  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.001808182
0x201407c33d39744645693b82a4dad8f0493ab05115e18422a00e679bf184268572235831 day 17 hrs ago0x6ec0ff94ee3b5202b92efd3a2be24b74b873e831  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.00022051
0x19db413ded3bc623bd5607abc9ff9cab84ed026c78c49a8845087df5b5fb25ff72234911 day 17 hrs ago0x2fca93811f6fd46a1b104700ea7638c2a2ff3c33  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.00132306
0xd9eff1ae2adf992c52328985b0ffd872ea1c20babf4acb3e5eaaa8b9a229f1ac72232981 day 18 hrs ago0x70dbf64f87ba272306aa935f5f44980ad57885d4  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.3966 Ether0.000445221
0x26836ea2d2974a8b8b7dc4aea0bd3c70bac5d23ccf0c8165ca63269a02e4ffcb72232951 day 18 hrs ago0x70dbf64f87ba272306aa935f5f44980ad57885d4  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000266016
0x28de48f97932a230db9feb8eb4ce35037a7606a44ed074373dabdf89e8e5bc3572227481 day 22 hrs ago0xf61487cee0224dab1e99cb7855270c3cf228b14c  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.0005578903
0xbd077278bf926afacacf2e414888de7aa683820b7f5de2f71720b7777df5b38072227431 day 22 hrs ago0x2de51e4bd9b5a43591c51cf8bb936708cc77047f  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.0005578903
0xa4d334f759ca7bcbe10f4e89c0fd6e2d472a2a8a49f289d07415cf911ecf4f1e72224901 day 23 hrs ago0xf4396e95230f14f745a8d19a69c0083a53036e84  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.24 Ether0.000731434516
0x7a78d7f715d4445cd65cfc62c255a173696bb03408c1ec54d105ed3e0895012072224851 day 23 hrs ago0xf4396e95230f14f745a8d19a69c0083a53036e84  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000509864011
0xb271dee1957613e77d869c69ec827d53ab4e87b1da05e8e588231a142f62683472219682 days 2 hrs ago0x9de4292542f87bac7f92dc5d7b2dc5aecb18e47d  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.0004057384
0x710f6dd52bbf62a39d9d55a82b897122177de6e0b05b4a60fe693e1d0b00a45172204362 days 11 hrs ago0x6e137a9faac68fb22c55063cc30499e826da1965  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000360913
0xc82aa8af67c50eb8ce99a5459e2a94c6733e8e3734ea42ce3e3d895f782ce82a72193722 days 17 hrs ago0xd1ce969c209e63137d6ec9946de49f5c45d630a1  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.00022051
0x20a3ea816c788cae503acdc7229b5ee8f8a97d23be31fada9b964afb4b49da5c72191452 days 19 hrs ago0x70dbf64f87ba272306aa935f5f44980ad57885d4  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.3925 Ether0.000254412
0x022c8ab38e2e6d3c5ab2dad788b795af9bdbc030fbf4c592c39bcf8f01ff1aea72191042 days 19 hrs ago0x70dbf64f87ba272306aa935f5f44980ad57885d4  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000177344
0xa262d182343d7e56397f8f1161a23163f6c90c77df85d186560367a5613724ee72181743 days 44 mins ago0xf4396e95230f14f745a8d19a69c0083a53036e84  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.25 Ether0.000512004141
0x44499a9567b7c1f83d1d45d9dc9771df06b35687420dfcc299bbfe9b0381faa272181713 days 45 mins ago0xf4396e95230f14f745a8d19a69c0083a53036e84  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000356904794
0xf14de3c77912f287823576f82f20d56507d1a06e5cd706915c3ba944eafabde372180413 days 1 hr ago0xd5ed5e9b73a93de7eb2743ad722facc005ec2658  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000130662
0x545d4344284cbe52257eddb788a18dd0dfb7b4d1c3c6065606a10a613f3bd20572180283 days 1 hr ago0xd5ed5e9b73a93de7eb2743ad722facc005ec2658  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000108885
0x98b29da93d0c16b16f9894664fe8d104daa424f33d3bddf98e9b67ae5700c66672163353 days 11 hrs ago0x66bccda4a465f8cfa915a71dda9e33fa7aa0f5a2  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000132306
0xfce45b2edbac4be9c4b926511dfdea8ace12004941576310f9364ed7d86c416472163063 days 11 hrs ago0x1f50ac229b4fc9ab226b8d1f151e1c3dfda08866  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000132306
0x8e13b28c05c95a6becfe547cd3f4b9a0bb8f861a5f6527c38d2e296e29125be672149423 days 19 hrs ago0x70dbf64f87ba272306aa935f5f44980ad57885d4  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.3884 Ether0.000190809
[ Download CSV Export 

Latest 25 Internal Transaction, Click here to view more Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0x597fca70da9facfaf12aa8739b5b353ab8dc1ff30d4ea9f6b52104ba7f2c6c56722752318 hrs 41 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xd9cd3bde6a31e2a46d6f8c6669bbc470ae338e360.006012 Ether
0x597fca70da9facfaf12aa8739b5b353ab8dc1ff30d4ea9f6b52104ba7f2c6c56722752318 hrs 41 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6c9033c1cd5b9129fd7d1b49947afca645c261530.006012 Ether
0x597fca70da9facfaf12aa8739b5b353ab8dc1ff30d4ea9f6b52104ba7f2c6c56722752318 hrs 41 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xe225b515f9e7ce922f18f99098f594969548e9b80.028056 Ether
0x8be66b322bf53443a836e4355c9034fc50eddcefd25b8d512428fba42db0f57c722751218 hrs 45 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x70dbf64f87ba272306aa935f5f44980ad57885d40.400842225 Ether
0x32c67b846e7adb53e53f3c8bd44436e3227fc3844551178af12c6e264edaa116722716920 hrs 44 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xedef83171003220f52e2bf55dc10251a1505860d0.0204 Ether
0x8f5e8d34ba5e40030efba7c31aee496b35a42eca4e9f3331a3b4541e3d73409172240261 day 14 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x671b1aaf2e610901e0e95e4e862c5202fdbbe3390.055954022935110311 Ether
0xffc957342dcd22e8e85286d4edd3f0730510e7f7306767096812ac70b291bdcc72237421 day 16 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x571808146a00c01be8f70f5a0a3ae97102fcf78e0.441 Ether
0x201407c33d39744645693b82a4dad8f0493ab05115e18422a00e679bf184268572235831 day 17 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6ec0ff94ee3b5202b92efd3a2be24b74b873e8310.0018 Ether
0x19db413ded3bc623bd5607abc9ff9cab84ed026c78c49a8845087df5b5fb25ff72234911 day 17 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x2fca93811f6fd46a1b104700ea7638c2a2ff3c330.0081 Ether
0xd9eff1ae2adf992c52328985b0ffd872ea1c20babf4acb3e5eaaa8b9a229f1ac72232981 day 18 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xd9cd3bde6a31e2a46d6f8c6669bbc470ae338e360.005949 Ether
0xd9eff1ae2adf992c52328985b0ffd872ea1c20babf4acb3e5eaaa8b9a229f1ac72232981 day 18 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6c9033c1cd5b9129fd7d1b49947afca645c261530.005949 Ether
0xd9eff1ae2adf992c52328985b0ffd872ea1c20babf4acb3e5eaaa8b9a229f1ac72232981 day 18 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xe225b515f9e7ce922f18f99098f594969548e9b80.027762 Ether
0x26836ea2d2974a8b8b7dc4aea0bd3c70bac5d23ccf0c8165ca63269a02e4ffcb72232951 day 18 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x70dbf64f87ba272306aa935f5f44980ad57885d40.396677925 Ether
0x28de48f97932a230db9feb8eb4ce35037a7606a44ed074373dabdf89e8e5bc3572227481 day 22 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xf61487cee0224dab1e99cb7855270c3cf228b14c0.006 Ether
0xbd077278bf926afacacf2e414888de7aa683820b7f5de2f71720b7777df5b38072227431 day 22 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x2de51e4bd9b5a43591c51cf8bb936708cc77047f0.012 Ether
0xa4d334f759ca7bcbe10f4e89c0fd6e2d472a2a8a49f289d07415cf911ecf4f1e72224901 day 23 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xd9cd3bde6a31e2a46d6f8c6669bbc470ae338e360.0036 Ether
0xa4d334f759ca7bcbe10f4e89c0fd6e2d472a2a8a49f289d07415cf911ecf4f1e72224901 day 23 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6c9033c1cd5b9129fd7d1b49947afca645c261530.0036 Ether
0xa4d334f759ca7bcbe10f4e89c0fd6e2d472a2a8a49f289d07415cf911ecf4f1e72224901 day 23 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xe225b515f9e7ce922f18f99098f594969548e9b80.0168 Ether
0x7a78d7f715d4445cd65cfc62c255a173696bb03408c1ec54d105ed3e0895012072224851 day 23 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xf4396e95230f14f745a8d19a69c0083a53036e840.252588 Ether
0xb271dee1957613e77d869c69ec827d53ab4e87b1da05e8e588231a142f62683472219682 days 2 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x9de4292542f87bac7f92dc5d7b2dc5aecb18e47d0.0176944 Ether
0x710f6dd52bbf62a39d9d55a82b897122177de6e0b05b4a60fe693e1d0b00a45172204362 days 11 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6e137a9faac68fb22c55063cc30499e826da19650.864 Ether
0xc82aa8af67c50eb8ce99a5459e2a94c6733e8e3734ea42ce3e3d895f782ce82a72193722 days 17 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xd1ce969c209e63137d6ec9946de49f5c45d630a10.015000003231481481 Ether
0x20a3ea816c788cae503acdc7229b5ee8f8a97d23be31fada9b964afb4b49da5c72191452 days 19 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xd9cd3bde6a31e2a46d6f8c6669bbc470ae338e360.0058875 Ether
0x20a3ea816c788cae503acdc7229b5ee8f8a97d23be31fada9b964afb4b49da5c72191452 days 19 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6c9033c1cd5b9129fd7d1b49947afca645c261530.0058875 Ether
0x20a3ea816c788cae503acdc7229b5ee8f8a97d23be31fada9b964afb4b49da5c72191452 days 19 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xe225b515f9e7ce922f18f99098f594969548e9b80.027475 Ether
[ Download CSV Export 
Contract Source Code Verified (Exact Match)
Contract Name: EthRV
Compiler Version: v0.4.25+commit.59dbf8f1
Optimization Enabled: Yes
Runs (Optimizer):  200


Contract Source Code
pragma solidity 0.4.25;


contract EthRV {
  using SafeMath for uint;

  struct Investor {
    uint deposit;
    uint paymentTime;
    uint withdrawal;
    uint boostStartup;
    bool isParticipant;
  }

  mapping (address => Investor) public investors;
  address public admin1Address;
  address public admin2Address;
  address public admin3Address;
  address public owner;
  uint public investmentsNumber;
  uint public investorsNumber;

  modifier onlyOwner() {
    require(msg.sender == owner, "access denied");
    _;
  }

  event OnRefLink(address indexed referral, uint referrarBonus, address indexed referrer,  uint referrerBonus, uint time);
  event OnNewInvestor(address indexed addr, uint time);
  event OnInvesment(address indexed addr, uint deposit, uint time);
  event OnBoostChanged(address indexed addr, bool isActive, uint time);
  event OnEarlyWithdrawal(address indexed addr, uint withdrawal, uint time);
  event OnDeleteInvestor(address indexed addr, uint time);
  event OnWithdraw(address indexed addr, uint withdrawal, uint time);
  event OnBoostBonus(address indexed addr, uint bonus, uint time);
  event OnNotEnoughBalance(uint time);

  constructor() public {
    owner = msg.sender;
    admin1Address = msg.sender;
    admin2Address = msg.sender;
    admin3Address = msg.sender;
  }

  function() external payable {
    if (msg.value == 0) {
      withdraw();
    } else if (msg.value == 0.0077777 ether) {
      boost();
    } else if (msg.value == 0.0088888 ether) {
      earlyWithdrawal();
    } else {
      deposit(bytes2address(msg.data));
    }
  }

  function disown() public onlyOwner {
    owner = address(0x0);
  }

  function setAdminsAddress(uint n, address addr) public onlyOwner {
    require(n >= 1 && n <= 3, "invalid number of admin`s address");
    if (n == 1) {
      admin1Address = addr;
    } else if (n == 2) {
      admin2Address = addr;
    } else {
      admin3Address = addr;
    }
  }

  function investorDividends(address investorAddr) public view returns(uint dividends, uint boostBonus) {
    return getDividends(investorAddr);
  }

  function withdraw() public {
    address investorAddr = msg.sender;
    (uint dividends, uint boostBonus) = getDividends(investorAddr);
    require(dividends > 0, "cannot to pay zero dividends");
    require(address(this).balance > 0, "fund is empty");
    uint withdrawal = dividends + boostBonus;

    // fund limit
    if (address(this).balance <= withdrawal) {
      emit OnNotEnoughBalance(now);
      withdrawal = address(this).balance;
    }

    Investor storage investor = investors[investorAddr];
    uint withdrawalLimit = investor.deposit * 200 / 100; // 200%
    uint totalWithdrawal = withdrawal + investor.withdrawal;

    // withdrawal limit - 200%
    if (totalWithdrawal >= withdrawalLimit) {
      withdrawal = withdrawalLimit.sub(investor.withdrawal);
      if (boostBonus > 0 ) {
        emit OnBoostBonus(investorAddr, boostBonus, now);
      }
      deleteInvestor(investorAddr);
    } else {
      // normal withdraw - dont use boostBonus
      if (withdrawal > dividends) {
        withdrawal = dividends;
      }
      investor.withdrawal += withdrawal;
      investor.paymentTime = now;
      if (investor.boostStartup > 0) {
        investor.boostStartup = 0;
        emit OnBoostChanged(investorAddr, false, now);
      }
    }

    investorAddr.transfer(withdrawal);
    emit OnWithdraw(investorAddr, withdrawal, now);
  }

  function earlyWithdrawal() public {
    address investorAddr = msg.sender;
    Investor storage investor = investors[investorAddr];
    require(investor.deposit > 0, "sender must be an investor");

    uint earlyWithdrawalLimit = investor.deposit * 70 / 100; // 70%
    require(earlyWithdrawalLimit > investor.withdrawal, "early withdraw only before 70% deposit`s withdrawal");

    uint withdrawal = earlyWithdrawalLimit.sub(investor.withdrawal); 
    investorAddr.transfer(withdrawal);
    emit OnEarlyWithdrawal(investorAddr, withdrawal, now);

    deleteInvestor(investorAddr);
  }

  function boost() public {
    Investor storage investor = investors[msg.sender];
    require(investor.deposit > 0, "sender must be an investor");
    require(investor.boostStartup == 0, "boost is already activated");
    investor.boostStartup = now;
    emit OnBoostChanged(msg.sender, true, now);
  }

  function deposit(address referrerAddr) public payable {
    uint depositAmount = msg.value;
    address investorAddr = msg.sender;
    require(isNotContract(investorAddr), "invest from contracts is not supported");
    require(depositAmount > 0, "deposit amount cannot be zero");

    admin1Address.send(depositAmount * 70 / 1000); //   7%
    admin2Address.send(depositAmount * 15 / 1000); // 1.5%
    admin3Address.send(depositAmount * 15 / 1000); // 1.5%

    Investor storage investor = investors[investorAddr];
    bool senderIsNotPaticipant = !investor.isParticipant;
    bool referrerIsParticipant = investors[referrerAddr].isParticipant;

    // ref link
    if (senderIsNotPaticipant && referrerIsParticipant && referrerAddr != investorAddr) {
      uint referrerBonus = depositAmount * 3 / 100; // 3%
      uint referralBonus = depositAmount * 1 / 100; // 1%
      referrerAddr.transfer(referrerBonus);
      investorAddr.transfer(referralBonus);
      emit OnRefLink(investorAddr, referralBonus, referrerAddr, referrerBonus, now);
    }

    if (investor.deposit == 0) {
      investorsNumber++;
      investor.isParticipant = true;
      emit OnNewInvestor(investorAddr, now);
    }

    investor.deposit += depositAmount;
    investor.paymentTime = now;

    investmentsNumber++;
    emit OnInvesment(investorAddr, depositAmount, now);
  }

  function getDividends(address investorAddr) internal view returns(uint dividends, uint boostBonus) {
    Investor storage investor = investors[investorAddr];
    if (investor.deposit == 0) {
      return (0, 0);
    }

    if (investor.boostStartup > 0) {
      uint boostDays = now.sub(investor.boostStartup).div(24 hours);
      boostBonus = boostDays * investor.deposit * 5 / 100000; // 0.005%
    }

    uint depositDays = now.sub(investor.paymentTime).div(24 hours);
    dividends = depositDays * investor.deposit * 1 / 100; // 1%

    uint depositAmountBonus;
    if (10 ether <= investor.deposit && investor.deposit <= 50 ether) {
      depositAmountBonus = depositDays * investor.deposit * 5 / 10000; // 0.05%
    } else if (50 ether < investor.deposit) {
      depositAmountBonus = depositDays * investor.deposit * 11 / 10000; // 0.11%
    }

    dividends += depositAmountBonus;
  }

  function isNotContract(address addr) internal view returns (bool) {
    uint length;
    assembly { length := extcodesize(addr) }
    return length == 0;
  }

  function bytes2address(bytes memory source) internal pure returns(address addr) {
    assembly { addr := mload(add(source, 0x14)) }
    return addr;
  }

  function deleteInvestor(address investorAddr) private {
    delete investors[investorAddr].deposit;
    delete investors[investorAddr].paymentTime;
    delete investors[investorAddr].withdrawal;
    delete investors[investorAddr].boostStartup;
    emit OnDeleteInvestor(investorAddr, now);
    investorsNumber--;
  }
}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that revert on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, reverts on overflow.
  */
  function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (_a == 0) {
      return 0;
    }

    uint256 c = _a * _b;
    require(c / _a == _b);

    return c;
  }

  /**
  * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
  */
  function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
    require(_b > 0); // Solidity only automatically asserts when dividing by 0
    uint256 c = _a / _b;
    // assert(_a == _b * c + _a % _b); // There is no case in which this doesn't hold

    return c;
  }

  /**
  * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 _a, uint256 _b) internal pure returns (uint256) {
    require(_b <= _a);
    uint256 c = _a - _b;

    return c;
  }

  /**
  * @dev Adds two numbers, reverts on overflow.
  */
  function add(uint256 _a, uint256 _b) internal pure returns (uint256) {
    uint256 c = _a + _b;
    require(c >= _a);

    return c;
  }

  /**
  * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
  * reverts when dividing by zero.
  */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}

Contract ABI
[{"constant":true,"inputs":[{"name":"investorAddr","type":"address"}],"name":"investorDividends","outputs":[{"name":"dividends","type":"uint256"},{"name":"boostBonus","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"admin1Address","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"admin2Address","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"disown","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"admin3Address","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"n","type":"uint256"},{"name":"addr","type":"address"}],"name":"setAdminsAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"investorsNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"investors","outputs":[{"name":"deposit","type":"uint256"},{"name":"paymentTime","type":"uint256"},{"name":"withdrawal","type":"uint256"},{"name":"boostStartup","type":"uint256"},{"name":"isParticipant","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"earlyWithdrawal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"investmentsNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"boost","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"referrerAddr","type":"address"}],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"referral","type":"address"},{"indexed":false,"name":"referrarBonus","type":"uint256"},{"indexed":true,"name":"referrer","type":"address"},{"indexed":false,"name":"referrerBonus","type":"uint256"},{"indexed":false,"name":"time","type":"uint256"}],"name":"OnRefLink","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"},{"indexed":false,"name":"time","type":"uint256"}],"name":"OnNewInvestor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"},{"indexed":false,"name":"deposit","type":"uint256"},{"indexed":false,"name":"time","type":"uint256"}],"name":"OnInvesment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"},{"indexed":false,"name":"isActive","type":"bool"},{"indexed":false,"name":"time","type":"uint256"}],"name":"OnBoostChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"},{"indexed":false,"name":"withdrawal","type":"uint256"},{"indexed":false,"name":"time","type":"uint256"}],"name":"OnEarlyWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"},{"indexed":false,"name":"time","type":"uint256"}],"name":"OnDeleteInvestor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"},{"indexed":false,"name":"withdrawal","type":"uint256"},{"indexed":false,"name":"time","type":"uint256"}],"name":"OnWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"},{"indexed":false,"name":"bonus","type":"uint256"},{"indexed":false,"name":"time","type":"uint256"}],"name":"OnBoostBonus","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"time","type":"uint256"}],"name":"OnNotEnoughBalance","type":"event"}]

Contract Creation Code
608060405234801561001057600080fd5b506004805433600160a060020a031991821681179092556001805482168317905560028054821683179055600380549091169091179055611068806100566000396000f3006080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630482cfa881146101555780630fb599da1461018f57806319e25623146101c05780631e9bf0da146101d55780633ccfd60b146101ea57806349af9e7c146101ff5780635e77eec014610214578063653c3174146102385780636f7bc9be1461025f5780638da5cb5b146102ad5780639197b7cd146102c25780639ec6e054146102d7578063a66f42c0146102ec578063f340fa0114610301575b3415156100e3576100de610315565b610153565b34661ba1c6e5ab680014156100fa576100de6105c2565b34661f9451067ac0001415610111576100de6106cc565b61015361014e6000368080601f01602080910402602001604051908101604052809392919081815260200183838082843750610867945050505050565b61086e565b005b34801561016157600080fd5b50610176600160a060020a0360043516610be3565b6040805192835260208301919091528051918290030190f35b34801561019b57600080fd5b506101a4610bf8565b60408051600160a060020a039092168252519081900360200190f35b3480156101cc57600080fd5b506101a4610c07565b3480156101e157600080fd5b50610153610c16565b3480156101f657600080fd5b50610153610315565b34801561020b57600080fd5b506101a4610c97565b34801561022057600080fd5b50610153600435600160a060020a0360243516610ca6565b34801561024457600080fd5b5061024d610e2f565b60408051918252519081900360200190f35b34801561026b57600080fd5b50610280600160a060020a0360043516610e35565b60408051958652602086019490945284840192909252606084015215156080830152519081900360a00190f35b3480156102b957600080fd5b506101a4610e67565b3480156102ce57600080fd5b506101536106cc565b3480156102e357600080fd5b5061024d610e76565b3480156102f857600080fd5b506101536105c2565b610153600160a060020a036004351661086e565b336000808080808061032687610e7c565b909650945060008611610383576040805160e560020a62461bcd02815260206004820152601c60248201527f63616e6e6f7420746f20706179207a65726f206469766964656e647300000000604482015290519081900360640190fd5b60003031116103dc576040805160e560020a62461bcd02815260206004820152600d60248201527f66756e6420697320656d70747900000000000000000000000000000000000000604482015290519081900360640190fd5b858501935030318410610421576040805142815290517f4bc9b070b42d687df44b2bced54e9dc5f730da426d8bbe0dfdf4e229348b1bdb9181900360200190a1303193505b505050600160a060020a038416600090815260208190526040902080546002820154606460c8909202919091049083018181106104ca57600283015461046e90839063ffffffff610f8e16565b935060008511156104bc57604080518681524260208201528151600160a060020a038a16927fd6bba72cfdd019dac120a28d9c5b47a55253fc3d7a15e214638f4ab72f825d0a928290030190a25b6104c587610fa5565b610540565b858411156104d6578593505b6002830180548501905542600184015560038301546000101561054057600060038401819055604080519182524260208301528051600160a060020a038a16927f53ae0ebde6e4862a1b50a7500508fd6a928f2ad0428d2b8aa9bfd0b7eda125e192908290030190a25b604051600160a060020a0388169085156108fc029086906000818181858888f19350505050158015610576573d6000803e3d6000fd5b50604080518581524260208201528151600160a060020a038a16927f2062721aee90a8bb8a5f4bd9268516248f25c0d9eddeda19278dca76aaea84d3928290030190a250505050505050565b336000908152602081905260408120805490911061062a576040805160e560020a62461bcd02815260206004820152601a60248201527f73656e646572206d75737420626520616e20696e766573746f72000000000000604482015290519081900360640190fd5b600381015415610684576040805160e560020a62461bcd02815260206004820152601a60248201527f626f6f737420697320616c726561647920616374697661746564000000000000604482015290519081900360640190fd5b426003820181905560408051600181526020810192909252805133927f53ae0ebde6e4862a1b50a7500508fd6a928f2ad0428d2b8aa9bfd0b7eda125e192908290030190a250565b336000818152602081905260408120805490919081908110610738576040805160e560020a62461bcd02815260206004820152601a60248201527f73656e646572206d75737420626520616e20696e766573746f72000000000000604482015290519081900360640190fd5b82546064906046020491508260020154821115156107c6576040805160e560020a62461bcd02815260206004820152603360248201527f6561726c79207769746864726177206f6e6c79206265666f726520373025206460448201527f65706f7369746073207769746864726177616c00000000000000000000000000606482015290519081900360840190fd5b60028301546107dc90839063ffffffff610f8e16565b604051909150600160a060020a0385169082156108fc029083906000818181858888f19350505050158015610815573d6000803e3d6000fd5b50604080518281524260208201528151600160a060020a038716927fc2a65ccee1f24869c24110d00effa70494405c116f825f7c4bc9a8c4c61f52e6928290030190a261086184610fa5565b50505050565b6014015190565b343360008080808061087f86611014565b15156108fb576040805160e560020a62461bcd02815260206004820152602660248201527f696e766573742066726f6d20636f6e747261637473206973206e6f742073757060448201527f706f727465640000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b60008711610953576040805160e560020a62461bcd02815260206004820152601d60248201527f6465706f73697420616d6f756e742063616e6e6f74206265207a65726f000000604482015290519081900360640190fd5b600154604051600160a060020a03909116906103e860468a020480156108fc02916000818181858888f15050600254604051600160a060020a0390911693506103e8600f8c020480156108fc02935091506000818181858888f15050600354604051600160a060020a0390911693506103e8600f8c020480156108fc02935091506000818181858888f1505050600160a060020a03808916600090815260208190526040808220600480820154948f16845291909220015490985060ff918216159750169450859150508015610a265750825b8015610a44575085600160a060020a031688600160a060020a031614155b15610b195760646003880204915060648704905087600160a060020a03166108fc839081150290604051600060405180830381858888f19350505050158015610a91573d6000803e3d6000fd5b50604051600160a060020a0387169082156108fc029083906000818181858888f19350505050158015610ac8573d6000803e3d6000fd5b50604080518281526020810184905242818301529051600160a060020a03808b1692908916917f3c5c410adfbff31bca41d5057afa8ec961a887f3a3532131567939c5dcb7ceec9181900360600190a35b84541515610b7c5760068054600190810190915560048601805460ff19169091179055604080514281529051600160a060020a038816917f1c60e9994717b7a38e90d1375a1b49c38a4c8ce7a75da9a17cb79ac3e79188f2919081900360200190a25b8454870185554260018087018290556005805490910190556040805189815260208101929092528051600160a060020a038916927fdaa9a18108ac949df27ff6e414406ff7b98cb63e38a8ec8bd8d1f916656381cc92908290030190a25050505050505050565b600080610bef83610e7c565b91509150915091565b600154600160a060020a031681565b600254600160a060020a031681565b600454600160a060020a03163314610c78576040805160e560020a62461bcd02815260206004820152600d60248201527f6163636573732064656e69656400000000000000000000000000000000000000604482015290519081900360640190fd5b6004805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600160a060020a031681565b600454600160a060020a03163314610d08576040805160e560020a62461bcd02815260206004820152600d60248201527f6163636573732064656e69656400000000000000000000000000000000000000604482015290519081900360640190fd5b60018210158015610d1a575060038211155b1515610d96576040805160e560020a62461bcd02815260206004820152602160248201527f696e76616c6964206e756d626572206f662061646d696e60732061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8160011415610dcc576001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038316179055610e2b565b8160021415610e02576002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038316179055610e2b565b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5050565b60065481565b600060208190529081526040902080546001820154600283015460038401546004909401549293919290919060ff1685565b600454600160a060020a031681565b60055481565b600160a060020a038116600090815260208190526040812080548291908290819081901515610eb15760009550859450610f85565b600084600301541115610efb57610ee862015180610edc866003015442610f8e90919063ffffffff16565b9063ffffffff61101916565b8454909350620186a09084026005020494505b610f1962015180610edc866001015442610f8e90919063ffffffff16565b84546064828202049750909250678ac7230489e8000011801590610f47575083546802b5e3af16b188000010155b15610f5f578354612710908302600502049050610f80565b83546802b5e3af16b18800001015610f80578354612710908302600b020490505b948501945b50505050915091565b60008083831115610f9e57600080fd5b5050900390565b600160a060020a038116600081815260208181526040808320838155600181018490556002810184905560030192909255815142815291517fbc2d26651a09654ddcc793a5a4b05002aabb6680f39189afe97b7072230413429281900390910190a25060068054600019019055565b3b1590565b60008080831161102857600080fd5b828481151561103357fe5b049493505050505600a165627a7a72305820ae4086ee2e671ad34e39adfa5d542e7fc26afc96c5121ca69355290870611f830029


   Swarm Source:
bzzr://ae4086ee2e671ad34e39adfa5d542e7fc26afc96c5121ca69355290870611f83
Block Age transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.