Contract Overview
Balance: 607.289650188279884306 Ether
Ether Value: $57,868.63 (@ $95.29/ETH)
Transactions: 589 txns
Token Tracker: �y� cannot to pay zero dividends (�y� canno...)
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x65edc135ad8c92b9db3e08785041a48eedcb0822at txn 0xdbbe5d4b5c79d01ca7833398e73dc6cf910d61943f80fe64878c948fa4f08938
 Latest 25 transactions from a total of 589 transactions

TxHash Age From To Value [TxFee]
0x3e2abb29398b9ca87a4e58c332e73fd2007769067a49735027cefd602b7e6f9f2 hrs 26 mins ago0x6534b05b57243adbc8a3258d7590bb31f8a55358  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.0002116896
0x582b6ee4f01b730b2c0f8f3d47f01c9033886a7abad7204b909a422b874738353 hrs 11 mins ago0xa89f535e47ff7f2eeaffc28af3d35370f09c5b2f  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.38 Ether0.000508824
0x22f3c9d0d6288de88bdb3c1400ed6493a5e0257e2d7bc32b7cae443b2c4f0d813 hrs 12 mins ago0xa89f535e47ff7f2eeaffc28af3d35370f09c5b2f  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000352816
0x3f098c34fb9ff417715582643f4236d88d8622746e7fd22ead5268bf76a779ab3 hrs 48 mins ago0x1f50ac229b4fc9ab226b8d1f151e1c3dfda08866  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000176408
0xdf925f3b2c0bb63a5ebedfed3dd87ef4b659d42d18d30f6a80cd6bb992df32297 hrs 8 mins ago0xb35a740c42d04e0a9531a9b3982dc3b734787539  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.0077777 Ether0.000260322
0xa4e4eea5e6581093a348a159eea769fa5e279a797e8f75f17f600fd6e32c6efa7 hrs 11 mins ago0xb35a740c42d04e0a9531a9b3982dc3b734787539  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.2 Ether0.000381618
0x868d22065abbfe1ab2f52db54ef7850e0c0f2e7694a7b2ad3d6660539563fe937 hrs 15 mins ago0xb35a740c42d04e0a9531a9b3982dc3b734787539  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000354612
0x5c9f1b995decef615ac4895cb290a1400ca011afe0b7d44452bebcc84f4dde1111 hrs 30 mins ago0xf4396e95230f14f745a8d19a69c0083a53036e84  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.22 Ether0.0003052944
0xf9dd517338d550b1a33bf6270603ef5435ab57292bb7f9487a4377a6d1f2198211 hrs 35 mins ago0xf4396e95230f14f745a8d19a69c0083a53036e84  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000266016
0x56720ced3c84b9bb17279b56bf4fa3da8006ec94e9d6286bdc674eb114d5953320 hrs 50 mins ago0xf61487cee0224dab1e99cb7855270c3cf228b14c  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.00022340556
0xb9750ead10f7095ec832d8c3ea43a0858347f11bbaf21b6f85686a2b2240fa7b1 day 3 hrs ago0xa89f535e47ff7f2eeaffc28af3d35370f09c5b2f  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.028 Ether0.000508824
0x39035b83512a8b77378421060d5db26f8355466bde062e72ade3327c89a520851 day 3 hrs ago0xa89f535e47ff7f2eeaffc28af3d35370f09c5b2f  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0 Ether0.000352816
0xc6ff96ec508e9995eeda906f9248ee5497705c43fe5d687b773c1a195c7885921 day 7 hrs ago0x341c1c11a740da8a8631706a2919613055219a6c  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0x8c5006d95a04b54b3dfabc760b2a91210b1ab236a613acf8b76965b24fddd6391 day 7 hrs ago0xba03bdaa45d964afb602fccb5553db4e2b218d59  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0xc9fa871857527f163a07c3dc7ffa73455991f05df342eb62723c0921a3bb6a051 day 7 hrs ago0xa8f9ba46ce919c60c0182d55e3b91ac749bfecc0  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0xd000e9fafc2367099f29ca911c54b76d59edf24e100d8b3cd0cea930b6b85b941 day 7 hrs ago0xe9a8f2ce5f2fa1b854b6a6a85fe3ee1666319628  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0xa69b97290dd70549a78144e444daeed34c0658b4f3f7ebb1e2b445c7d2e9f0111 day 7 hrs ago0x939f4a1ac4f8d1695f92b046fb559a934473c46c  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0xcdcc4f3822fdecffd34ea60c4ff2643601b4c6a81c89a59f37209bef6a9e66261 day 7 hrs ago0x0879f5c41d27b990216b7a769c3ee3f6c3154668  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0x83f403e25ee0f459a288ad2b0541439dbde359500859a7d82e24002575b8ff7d1 day 7 hrs ago0xe5a2410d65ff3c2be31d55ebd323ad10ff6f486e  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0x1ceb9683ba5804bcacbc9574bc0048e821281178695016ac486e5923653f39631 day 7 hrs ago0x17b8e0777ad09ca307947b616cba7bded264293b  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0x114bb86f53e9df54fcb7e43d8d3f61c2b514c0b7dffaf514564e5e7d0a8d176c1 day 7 hrs ago0x02deb7999289bd9787531300f10c12d3e41fd877  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0x2336654c9e1b2e226a7f7e5c816c04a36bb38c36c3b7bf464e80d83e33f609ba1 day 7 hrs ago0xe1577eec1e440e8ddccd9ad2633fed42222e2216  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0x3d3639ef4de7f63472e45fc1e015473359fba9d53886456160414fc7a94ee73c1 day 7 hrs ago0x277952b945db7ae540862d031d4e468f0681b8c1  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0xb00c5c61e8a3c1ff8bc9319ea53ce4daac6f2db5dd6cf75f2f8ba4a9c1e8dca01 day 7 hrs ago0x54b4c303082639be3fc46918e1d28f51b3677a3a  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
0x19b874301870b6e08105506dde0edeab5f2dbce6f0d2b8bbf0496ed0311e50ca1 day 7 hrs ago0x68f8f86044f8fa12175b5e3fe4789001a2194582  IN   0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0.021569148069992 Ether0.0005425965
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0x3e2abb29398b9ca87a4e58c332e73fd2007769067a49735027cefd602b7e6f9f69107632 hrs 26 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6534b05b57243adbc8a3258d7590bb31f8a553580.0006 Ether
0x582b6ee4f01b730b2c0f8f3d47f01c9033886a7abad7204b909a422b8747383569105663 hrs 11 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xd9cd3bde6a31e2a46d6f8c6669bbc470ae338e360.0057 Ether
0x582b6ee4f01b730b2c0f8f3d47f01c9033886a7abad7204b909a422b8747383569105663 hrs 11 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6c9033c1cd5b9129fd7d1b49947afca645c261530.0057 Ether
0x582b6ee4f01b730b2c0f8f3d47f01c9033886a7abad7204b909a422b8747383569105663 hrs 11 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xe225b515f9e7ce922f18f99098f594969548e9b80.0266 Ether
0x22f3c9d0d6288de88bdb3c1400ed6493a5e0257e2d7bc32b7cae443b2c4f0d8169105583 hrs 12 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xa89f535e47ff7f2eeaffc28af3d35370f09c5b2f0.030122 Ether
0x3f098c34fb9ff417715582643f4236d88d8622746e7fd22ead5268bf76a779ab69104063 hrs 48 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x1f50ac229b4fc9ab226b8d1f151e1c3dfda088660.04 Ether
0xa4e4eea5e6581093a348a159eea769fa5e279a797e8f75f17f600fd6e32c6efa69095517 hrs 11 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xd9cd3bde6a31e2a46d6f8c6669bbc470ae338e360.003 Ether
0xa4e4eea5e6581093a348a159eea769fa5e279a797e8f75f17f600fd6e32c6efa69095517 hrs 11 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6c9033c1cd5b9129fd7d1b49947afca645c261530.003 Ether
0xa4e4eea5e6581093a348a159eea769fa5e279a797e8f75f17f600fd6e32c6efa69095517 hrs 11 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xe225b515f9e7ce922f18f99098f594969548e9b80.014 Ether
0x868d22065abbfe1ab2f52db54ef7850e0c0f2e7694a7b2ad3d6660539563fe9369095367 hrs 15 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xb35a740c42d04e0a9531a9b3982dc3b7347875390.336 Ether
0x5c9f1b995decef615ac4895cb290a1400ca011afe0b7d44452bebcc84f4dde11690853811 hrs 30 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xd9cd3bde6a31e2a46d6f8c6669bbc470ae338e360.0033 Ether
0x5c9f1b995decef615ac4895cb290a1400ca011afe0b7d44452bebcc84f4dde11690853811 hrs 30 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6c9033c1cd5b9129fd7d1b49947afca645c261530.0033 Ether
0x5c9f1b995decef615ac4895cb290a1400ca011afe0b7d44452bebcc84f4dde11690853811 hrs 30 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xe225b515f9e7ce922f18f99098f594969548e9b80.0154 Ether
0xf9dd517338d550b1a33bf6270603ef5435ab57292bb7f9487a4377a6d1f21982690852011 hrs 35 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xf4396e95230f14f745a8d19a69c0083a53036e840.1389675 Ether
0x56720ced3c84b9bb17279b56bf4fa3da8006ec94e9d6286bdc674eb114d59533690626420 hrs 50 mins ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xf61487cee0224dab1e99cb7855270c3cf228b14c0.034 Ether
0xb9750ead10f7095ec832d8c3ea43a0858347f11bbaf21b6f85686a2b2240fa7b69047091 day 3 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xd9cd3bde6a31e2a46d6f8c6669bbc470ae338e360.00042 Ether
0xb9750ead10f7095ec832d8c3ea43a0858347f11bbaf21b6f85686a2b2240fa7b69047091 day 3 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6c9033c1cd5b9129fd7d1b49947afca645c261530.00042 Ether
0xb9750ead10f7095ec832d8c3ea43a0858347f11bbaf21b6f85686a2b2240fa7b69047091 day 3 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xe225b515f9e7ce922f18f99098f594969548e9b80.00196 Ether
0x39035b83512a8b77378421060d5db26f8355466bde062e72ade3327c89a5208569047001 day 3 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xa89f535e47ff7f2eeaffc28af3d35370f09c5b2f0.029842 Ether
0xc6ff96ec508e9995eeda906f9248ee5497705c43fe5d687b773c1a195c78859269035841 day 7 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xd9cd3bde6a31e2a46d6f8c6669bbc470ae338e360.000323537221049891 Ether
0xc6ff96ec508e9995eeda906f9248ee5497705c43fe5d687b773c1a195c78859269035841 day 7 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6c9033c1cd5b9129fd7d1b49947afca645c261530.000323537221049891 Ether
0xc6ff96ec508e9995eeda906f9248ee5497705c43fe5d687b773c1a195c78859269035841 day 7 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xe225b515f9e7ce922f18f99098f594969548e9b80.001509840364899493 Ether
0x8c5006d95a04b54b3dfabc760b2a91210b1ab236a613acf8b76965b24fddd63969035841 day 7 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xd9cd3bde6a31e2a46d6f8c6669bbc470ae338e360.000323537221049891 Ether
0x8c5006d95a04b54b3dfabc760b2a91210b1ab236a613acf8b76965b24fddd63969035841 day 7 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0x6c9033c1cd5b9129fd7d1b49947afca645c261530.000323537221049891 Ether
0x8c5006d95a04b54b3dfabc760b2a91210b1ab236a613acf8b76965b24fddd63969035841 day 7 hrs ago0xcc70db1ac810677c06d9cc1cdd8c953b12edd3fa0xe225b515f9e7ce922f18f99098f594969548e9b80.001509840364899493 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact Match)
Contract Name: EthRV
Compiler Text: v0.4.25+commit.59dbf8f1
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

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 Switch To Opcodes View
608060405234801561001057600080fd5b506004805433600160a060020a031991821681179092556001805482168317905560028054821683179055600380549091169091179055611068806100566000396000f3006080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630482cfa881146101555780630fb599da1461018f57806319e25623146101c05780631e9bf0da146101d55780633ccfd60b146101ea57806349af9e7c146101ff5780635e77eec014610214578063653c3174146102385780636f7bc9be1461025f5780638da5cb5b146102ad5780639197b7cd146102c25780639ec6e054146102d7578063a66f42c0146102ec578063f340fa0114610301575b3415156100e3576100de610315565b610153565b34661ba1c6e5ab680014156100fa576100de6105c2565b34661f9451067ac0001415610111576100de6106cc565b61015361014e6000368080601f01602080910402602001604051908101604052809392919081815260200183838082843750610867945050505050565b61086e565b005b34801561016157600080fd5b50610176600160a060020a0360043516610be3565b6040805192835260208301919091528051918290030190f35b34801561019b57600080fd5b506101a4610bf8565b60408051600160a060020a039092168252519081900360200190f35b3480156101cc57600080fd5b506101a4610c07565b3480156101e157600080fd5b50610153610c16565b3480156101f657600080fd5b50610153610315565b34801561020b57600080fd5b506101a4610c97565b34801561022057600080fd5b50610153600435600160a060020a0360243516610ca6565b34801561024457600080fd5b5061024d610e2f565b60408051918252519081900360200190f35b34801561026b57600080fd5b50610280600160a060020a0360043516610e35565b60408051958652602086019490945284840192909252606084015215156080830152519081900360a00190f35b3480156102b957600080fd5b506101a4610e67565b3480156102ce57600080fd5b506101536106cc565b3480156102e357600080fd5b5061024d610e76565b3480156102f857600080fd5b506101536105c2565b610153600160a060020a036004351661086e565b336000808080808061032687610e7c565b909650945060008611610383576040805160e560020a62461bcd02815260206004820152601c60248201527f63616e6e6f7420746f20706179207a65726f206469766964656e647300000000604482015290519081900360640190fd5b60003031116103dc576040805160e560020a62461bcd02815260206004820152600d60248201527f66756e6420697320656d70747900000000000000000000000000000000000000604482015290519081900360640190fd5b858501935030318410610421576040805142815290517f4bc9b070b42d687df44b2bced54e9dc5f730da426d8bbe0dfdf4e229348b1bdb9181900360200190a1303193505b505050600160a060020a038416600090815260208190526040902080546002820154606460c8909202919091049083018181106104ca57600283015461046e90839063ffffffff610f8e16565b935060008511156104bc57604080518681524260208201528151600160a060020a038a16927fd6bba72cfdd019dac120a28d9c5b47a55253fc3d7a15e214638f4ab72f825d0a928290030190a25b6104c587610fa5565b610540565b858411156104d6578593505b6002830180548501905542600184015560038301546000101561054057600060038401819055604080519182524260208301528051600160a060020a038a16927f53ae0ebde6e4862a1b50a7500508fd6a928f2ad0428d2b8aa9bfd0b7eda125e192908290030190a25b604051600160a060020a0388169085156108fc029086906000818181858888f19350505050158015610576573d6000803e3d6000fd5b50604080518581524260208201528151600160a060020a038a16927f2062721aee90a8bb8a5f4bd9268516248f25c0d9eddeda19278dca76aaea84d3928290030190a250505050505050565b336000908152602081905260408120805490911061062a576040805160e560020a62461bcd02815260206004820152601a60248201527f73656e646572206d75737420626520616e20696e766573746f72000000000000604482015290519081900360640190fd5b600381015415610684576040805160e560020a62461bcd02815260206004820152601a60248201527f626f6f737420697320616c726561647920616374697661746564000000000000604482015290519081900360640190fd5b426003820181905560408051600181526020810192909252805133927f53ae0ebde6e4862a1b50a7500508fd6a928f2ad0428d2b8aa9bfd0b7eda125e192908290030190a250565b336000818152602081905260408120805490919081908110610738576040805160e560020a62461bcd02815260206004820152601a60248201527f73656e646572206d75737420626520616e20696e766573746f72000000000000604482015290519081900360640190fd5b82546064906046020491508260020154821115156107c6576040805160e560020a62461bcd02815260206004820152603360248201527f6561726c79207769746864726177206f6e6c79206265666f726520373025206460448201527f65706f7369746073207769746864726177616c00000000000000000000000000606482015290519081900360840190fd5b60028301546107dc90839063ffffffff610f8e16565b604051909150600160a060020a0385169082156108fc029083906000818181858888f19350505050158015610815573d6000803e3d6000fd5b50604080518281524260208201528151600160a060020a038716927fc2a65ccee1f24869c24110d00effa70494405c116f825f7c4bc9a8c4c61f52e6928290030190a261086184610fa5565b50505050565b6014015190565b343360008080808061087f86611014565b15156108fb576040805160e560020a62461bcd02815260206004820152602660248201527f696e766573742066726f6d20636f6e747261637473206973206e6f742073757060448201527f706f727465640000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b60008711610953576040805160e560020a62461bcd02815260206004820152601d60248201527f6465706f73697420616d6f756e742063616e6e6f74206265207a65726f000000604482015290519081900360640190fd5b600154604051600160a060020a03909116906103e860468a020480156108fc02916000818181858888f15050600254604051600160a060020a0390911693506103e8600f8c020480156108fc02935091506000818181858888f15050600354604051600160a060020a0390911693506103e8600f8c020480156108fc02935091506000818181858888f1505050600160a060020a03808916600090815260208190526040808220600480820154948f16845291909220015490985060ff918216159750169450859150508015610a265750825b8015610a44575085600160a060020a031688600160a060020a031614155b15610b195760646003880204915060648704905087600160a060020a03166108fc839081150290604051600060405180830381858888f19350505050158015610a91573d6000803e3d6000fd5b50604051600160a060020a0387169082156108fc029083906000818181858888f19350505050158015610ac8573d6000803e3d6000fd5b50604080518281526020810184905242818301529051600160a060020a03808b1692908916917f3c5c410adfbff31bca41d5057afa8ec961a887f3a3532131567939c5dcb7ceec9181900360600190a35b84541515610b7c5760068054600190810190915560048601805460ff19169091179055604080514281529051600160a060020a038816917f1c60e9994717b7a38e90d1375a1b49c38a4c8ce7a75da9a17cb79ac3e79188f2919081900360200190a25b8454870185554260018087018290556005805490910190556040805189815260208101929092528051600160a060020a038916927fdaa9a18108ac949df27ff6e414406ff7b98cb63e38a8ec8bd8d1f916656381cc92908290030190a25050505050505050565b600080610bef83610e7c565b91509150915091565b600154600160a060020a031681565b600254600160a060020a031681565b600454600160a060020a03163314610c78576040805160e560020a62461bcd02815260206004820152600d60248201527f6163636573732064656e69656400000000000000000000000000000000000000604482015290519081900360640190fd5b6004805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600160a060020a031681565b600454600160a060020a03163314610d08576040805160e560020a62461bcd02815260206004820152600d60248201527f6163636573732064656e69656400000000000000000000000000000000000000604482015290519081900360640190fd5b60018210158015610d1a575060038211155b1515610d96576040805160e560020a62461bcd02815260206004820152602160248201527f696e76616c6964206e756d626572206f662061646d696e60732061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8160011415610dcc576001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038316179055610e2b565b8160021415610e02576002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038316179055610e2b565b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5050565b60065481565b600060208190529081526040902080546001820154600283015460038401546004909401549293919290919060ff1685565b600454600160a060020a031681565b60055481565b600160a060020a038116600090815260208190526040812080548291908290819081901515610eb15760009550859450610f85565b600084600301541115610efb57610ee862015180610edc866003015442610f8e90919063ffffffff16565b9063ffffffff61101916565b8454909350620186a09084026005020494505b610f1962015180610edc866001015442610f8e90919063ffffffff16565b84546064828202049750909250678ac7230489e8000011801590610f47575083546802b5e3af16b188000010155b15610f5f578354612710908302600502049050610f80565b83546802b5e3af16b18800001015610f80578354612710908302600b020490505b948501945b50505050915091565b60008083831115610f9e57600080fd5b5050900390565b600160a060020a038116600081815260208181526040808320838155600181018490556002810184905560030192909255815142815291517fbc2d26651a09654ddcc793a5a4b05002aabb6680f39189afe97b7072230413429281900390910190a25060068054600019019055565b3b1590565b60008080831161102857600080fd5b828481151561103357fe5b049493505050505600a165627a7a72305820ae4086ee2e671ad34e39adfa5d542e7fc26afc96c5121ca69355290870611f830029

   Swarm Source:
bzzr://ae4086ee2e671ad34e39adfa5d542e7fc26afc96c5121ca69355290870611f83

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.