ETH Price: $2,815.38 (+8.96%)
 

Overview

ETH Balance

0.00217612 ETH

Eth Value

$6.13 (@ $2,815.38/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer67329302018-11-19 10:12:222269 days ago1542622342IN
0xF574E861...c393e1429
0 ETH0.000128493
Transfer67167932018-11-16 18:56:452271 days ago1542394605IN
0xF574E861...c393e1429
0 ETH0.000128523
Transfer66993802018-11-13 22:33:372274 days ago1542148417IN
0xF574E861...c393e1429
0 ETH0.000085682
Transfer66536752018-11-06 10:58:202282 days ago1541501900IN
0xF574E861...c393e1429
0 ETH0.0017564441
Transfer65316412018-10-17 11:37:572302 days ago1539776277IN
0xF574E861...c393e1429
0.04 ETH0.000163363
Transfer65316172018-10-17 11:33:052302 days ago1539775985IN
0xF574E861...c393e1429
0 ETH0.000173523
Transfer65124352018-10-14 8:20:592305 days ago1539505259IN
0xF574E861...c393e1429
0.01 ETH0.000178212
Transfer64780942018-10-08 18:30:062310 days ago1539023406IN
0xF574E861...c393e1429
0.00000112 ETH0.0002748112
Transfer64780862018-10-08 18:28:002310 days ago1539023280IN
0xF574E861...c393e1429
0.1 ETH0.0011852813
Transfer64780632018-10-08 18:23:282310 days ago1539023008IN
0xF574E861...c393e1429
0.00000112 ETH0.000549512
Transfer64780262018-10-08 18:16:492310 days ago1539022609IN
0xF574E861...c393e1429
3 ETH0.0006534712
Transfer64780002018-10-08 18:09:552310 days ago1539022195IN
0xF574E861...c393e1429
2 ETH0.0010692812
Transfer64697662018-10-07 10:21:002312 days ago1538907660IN
0xF574E861...c393e1429
0.01 ETH0.000576424

Latest 18 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
67167932018-11-16 18:56:452271 days ago1542394605
0xF574E861...c393e1429
0.0085 ETH
66993802018-11-13 22:33:372274 days ago1542148417
0xF574E861...c393e1429
0.022375 ETH
66536752018-11-06 10:58:202282 days ago1541501900
0xF574E861...c393e1429
0.059875 ETH
65316412018-10-17 11:37:572302 days ago1539776277
0xF574E861...c393e1429
0.0004 ETH
65316412018-10-17 11:37:572302 days ago1539776277
0xF574E861...c393e1429
0.0032 ETH
65316172018-10-17 11:33:052302 days ago1539775985
0xF574E861...c393e1429
0.001875 ETH
65124352018-10-14 8:20:592305 days ago1539505259
0xF574E861...c393e1429
0.0001 ETH
65124352018-10-14 8:20:592305 days ago1539505259
0xF574E861...c393e1429
0.0008 ETH
64780942018-10-08 18:30:062310 days ago1539023406
0xF574E861...c393e1429
4.6 ETH
64780862018-10-08 18:28:002310 days ago1539023280
0xF574E861...c393e1429
0.001 ETH
64780862018-10-08 18:28:002310 days ago1539023280
0xF574E861...c393e1429
0.008 ETH
64780862018-10-08 18:28:002310 days ago1539023280
0xF574E861...c393e1429
0.0008 ETH
64780262018-10-08 18:16:492310 days ago1539022609
0xF574E861...c393e1429
0.03 ETH
64780262018-10-08 18:16:492310 days ago1539022609
0xF574E861...c393e1429
0.24 ETH
64780002018-10-08 18:09:552310 days ago1539022195
0xF574E861...c393e1429
0.02 ETH
64780002018-10-08 18:09:552310 days ago1539022195
0xF574E861...c393e1429
0.16 ETH
64697662018-10-07 10:21:002312 days ago1538907660
0xF574E861...c393e1429
0.0001 ETH
64697662018-10-07 10:21:002312 days ago1538907660
0xF574E861...c393e1429
0.0008 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
X2invest

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-10-07
*/

pragma solidity 0.4 .25;

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

    function mul(uint256 a, uint256 b) internal pure returns(uint256) {
        uint256 c = a * b;
        assert(a == 0 || c / a == b);
        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns(uint256) {
        // assert(b > 0); // Solidity automatically throws 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;
    }

    function sub(uint256 a, uint256 b) internal pure returns(uint256) {
        assert(b <= a);
        return a - b;
    }

    function add(uint256 a, uint256 b) internal pure returns(uint256) {
        uint256 c = a + b;
        assert(c >= a);
        return c;
    }

}

/**
The development of the contract is entirely owned by the X2invest campaign, any copying of the source code is not legal.
*/
contract X2invest {
    //use of library of safe mathematical operations    
    using SafeMath
    for uint;
    // array containing information about beneficiaries
    mapping(address => uint) public userDeposit;
    //array containing information about the time of payment
    mapping(address => uint) public userTime;
    //array containing information on interest paid
    mapping(address => uint) public persentWithdraw;
    //fund fo transfer percent
    address public projectFund = 0x15e3aAD84394012f450d7A6965f2f4C59Ca7071a;
    //wallet for a charitable foundation
    address public charityFund = 0x6c3607D37A000d7879F02b98c59376c7DAc91151;
    //percentage deducted to the advertising fund
    uint projectPercent = 8;
    //percent for a charitable foundation
    uint charityPercent = 1;
    //time through which you can take dividends
    uint chargingTime = 1 hours;
    //start persent 0.25% per hour
    uint public startPercent = 250;
    uint public lowPersent = 300;
    uint public middlePersent = 350;
    uint public highPersent = 375;
    //interest rate increase steps
    uint public stepLow = 1000 ether;
    uint public stepMiddle = 2500 ether;
    uint public stepHigh = 5000 ether;
    uint countOfInvestors = 0;
    uint countOfCharity = 0;

    modifier isIssetUser() {
        require(userDeposit[msg.sender] > 0, "Deposit not found");
        _;
    }

    modifier timePayment() {
        require(now >= userTime[msg.sender].add(chargingTime), "Too fast payout request");
        _;
    }

    //return of interest on the deposit
    function collectPercent() isIssetUser timePayment internal {
        //if the user received 200% or more of his contribution, delete the user
        if ((userDeposit[msg.sender].mul(2)) <= persentWithdraw[msg.sender]) {
            userDeposit[msg.sender] = 0;
            userTime[msg.sender] = 0;
            persentWithdraw[msg.sender] = 0;
        } else {
            uint payout = payoutAmount();
            userTime[msg.sender] = now;
            persentWithdraw[msg.sender] += payout;
            msg.sender.transfer(payout);
        }
    }

    //calculation of the current interest rate on the deposit
    function persentRate() public view returns(uint) {
        //get contract balance
        uint balance = address(this).balance;
        //calculate persent rate
        if (balance < stepLow) {
            return (startPercent);
        }
        if (balance >= stepLow && balance < stepMiddle) {
            return (lowPersent);
        }
        if (balance >= stepMiddle && balance < stepHigh) {
            return (middlePersent);
        }
        if (balance >= stepHigh) {
            return (highPersent);
        }
    }

    //refund of the amount available for withdrawal on deposit
    function payoutAmount() public view returns(uint) {
        uint persent = persentRate();
        uint rate = userDeposit[msg.sender].mul(persent).div(100000);
        uint interestRate = now.sub(userTime[msg.sender]).div(chargingTime);
        uint withdrawalAmount = rate.mul(interestRate);
        return (withdrawalAmount);
    }

    //make a contribution to the system
    function makeDeposit() private {
        if (msg.value > 0) {
            if (userDeposit[msg.sender] == 0) {
                countOfInvestors += 1;
            }
            if (userDeposit[msg.sender] > 0 && now > userTime[msg.sender].add(chargingTime)) {
                collectPercent();
            }
            userDeposit[msg.sender] = userDeposit[msg.sender].add(msg.value);
            userTime[msg.sender] = now;
            //sending money for advertising
            projectFund.transfer(msg.value.mul(projectPercent).div(100));
            //sending money to charity
            uint charityMoney = msg.value.mul(charityPercent).div(100);
            countOfCharity+=charityMoney;
            charityFund.transfer(charityMoney);
        } else {
            collectPercent();
        }
    }

    //return of deposit balance
    function returnDeposit() isIssetUser private {
        //userDeposit-persentWithdraw-(userDeposit*8/100)
        uint withdrawalAmount = userDeposit[msg.sender].sub(persentWithdraw[msg.sender]).sub(userDeposit[msg.sender].mul(projectPercent).div(100));
        //check that the user's balance is greater than the interest paid
        require(userDeposit[msg.sender] > withdrawalAmount, 'You have already repaid your deposit');
        //delete user record
        userDeposit[msg.sender] = 0;
        userTime[msg.sender] = 0;
        persentWithdraw[msg.sender] = 0;
        msg.sender.transfer(withdrawalAmount);
    }

    function() external payable {
        //refund of remaining funds when transferring to a contract 0.00000112 ether
        if (msg.value == 0.00000112 ether) {
            returnDeposit();
        } else {
            makeDeposit();
        }
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"lowPersent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stepHigh","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"projectFund","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"payoutAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"charityFund","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stepLow","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"userTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stepMiddle","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"highPersent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"persentRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"userDeposit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"middlePersent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"persentWithdraw","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

608060405260038054600160a060020a03199081167315e3aad84394012f450d7a6965f2f4c59ca7071a1790915560048054909116736c3607d37a000d7879f02b98c59376c7dac91151179055600860058190556001600655610e1060075560fa905561012c60095561015e600a55610177600b55683635c9adc5dea00000600c5568878678326eac900000600d5569010f0cf064dd59200000600e556000600f8190556010553480156100b257600080fd5b50610923806100c26000396000f3006080604052600436106100cf5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663297d669c81146100f45780632a804efe1461011b57806335b903a814610130578063556c1a71146101455780636b46c8c31461017657806377e1a9fc1461018b578063957ad393146101a0578063aa66bfb9146101b5578063b67ee4df146101d6578063c1b05490146101eb578063c72b5e4f14610200578063d1260edd14610215578063d145b19814610236578063f68c3c941461024b575b34650104c533c00014156100ea576100e561026c565b6100f2565b6100f2610424565b005b34801561010057600080fd5b50610109610593565b60408051918252519081900360200190f35b34801561012757600080fd5b50610109610599565b34801561013c57600080fd5b5061010961059f565b34801561015157600080fd5b5061015a6105a5565b60408051600160a060020a039092168252519081900360200190f35b34801561018257600080fd5b506101096105b4565b34801561019757600080fd5b5061015a610636565b3480156101ac57600080fd5b50610109610645565b3480156101c157600080fd5b50610109600160a060020a036004351661064b565b3480156101e257600080fd5b5061010961065d565b3480156101f757600080fd5b50610109610663565b34801561020c57600080fd5b50610109610669565b34801561022157600080fd5b50610109600160a060020a03600435166106da565b34801561024257600080fd5b506101096106ec565b34801561025757600080fd5b50610109600160a060020a03600435166106f2565b3360009081526020819052604081205481106102d2576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f736974206e6f7420666f756e64000000000000000000000000000000604482015290519081900360640190fd5b600554336000908152602081905260409020546103429161030c91606491610300919063ffffffff61070416565b9063ffffffff61072f16565b3360009081526002602090815260408083205491839052909120546103369163ffffffff61074616565b9063ffffffff61074616565b3360009081526020819052604090205490915081106103d0576040805160e560020a62461bcd028152602060048201526024808201527f596f75206861766520616c72656164792072657061696420796f75722064657060448201527f6f73697400000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b336000818152602081815260408083208390556001825280832083905560029091528082208290555183156108fc0291849190818181858888f19350505050158015610420573d6000803e3d6000fd5b5050565b6000803411156105885733600090815260208190526040902054151561044e57600f805460010190555b3360009081526020819052604081205411801561048b5750600754336000908152600160205260409020546104889163ffffffff61075816565b42115b1561049857610498610767565b336000908152602081905260409020546104b8903463ffffffff61075816565b33600090815260208181526040808320939093556001905220429055600354600554600160a060020a03909116906108fc906104fc90606490610300903490610704565b6040518115909202916000818181858888f19350505050158015610524573d6000803e3d6000fd5b5061053f60646103006006543461070490919063ffffffff16565b6010805482019055600454604051919250600160a060020a03169082156108fc029083906000818181858888f19350505050158015610582573d6000803e3d6000fd5b50610590565b610590610767565b50565b60095481565b60085481565b600e5481565b600354600160a060020a031681565b60008060008060006105c4610669565b336000908152602081905260409020549094506105f090620186a090610300908763ffffffff61070416565b6007543360009081526001602052604090205491945061061b9161030090429063ffffffff61074616565b915061062d838363ffffffff61070416565b95945050505050565b600454600160a060020a031681565b600c5481565b60016020526000908152604090205481565b600d5481565b600b5481565b600c546000903031908110156106835760085491506106d6565b600c5481101580156106965750600d5481105b156106a55760095491506106d6565b600d5481101580156106b85750600e5481105b156106c757600a5491506106d6565b600e5481106106d657600b5491505b5090565b60006020819052908152604090205481565b600a5481565b60026020526000908152604090205481565b6000828202831580610720575082848281151561071d57fe5b04145b151561072857fe5b9392505050565b600080828481151561073d57fe5b04949350505050565b60008282111561075257fe5b50900390565b60008282018381101561072857fe5b3360009081526020819052604081205481106107cd576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f736974206e6f7420666f756e64000000000000000000000000000000604482015290519081900360640190fd5b600754336000908152600160205260409020546107ef9163ffffffff61075816565b421015610846576040805160e560020a62461bcd02815260206004820152601760248201527f546f6f2066617374207061796f75742072657175657374000000000000000000604482015290519081900360640190fd5b3360009081526002602081815260408084205491849052909220546108709163ffffffff61070416565b1161089f5733600090815260208181526040808320839055600182528083208390556002909152812055610590565b6108a76105b4565b336000818152600160209081526040808320429055600290915280822080548501905551929350909183156108fc0291849190818181858888f19350505050158015610420573d6000803e3d6000fd00a165627a7a72305820d121dbf36146c028c90df6982123e78e3e61aa65887016cbc0916e0637405ffe0029

Deployed Bytecode

0x6080604052600436106100cf5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663297d669c81146100f45780632a804efe1461011b57806335b903a814610130578063556c1a71146101455780636b46c8c31461017657806377e1a9fc1461018b578063957ad393146101a0578063aa66bfb9146101b5578063b67ee4df146101d6578063c1b05490146101eb578063c72b5e4f14610200578063d1260edd14610215578063d145b19814610236578063f68c3c941461024b575b34650104c533c00014156100ea576100e561026c565b6100f2565b6100f2610424565b005b34801561010057600080fd5b50610109610593565b60408051918252519081900360200190f35b34801561012757600080fd5b50610109610599565b34801561013c57600080fd5b5061010961059f565b34801561015157600080fd5b5061015a6105a5565b60408051600160a060020a039092168252519081900360200190f35b34801561018257600080fd5b506101096105b4565b34801561019757600080fd5b5061015a610636565b3480156101ac57600080fd5b50610109610645565b3480156101c157600080fd5b50610109600160a060020a036004351661064b565b3480156101e257600080fd5b5061010961065d565b3480156101f757600080fd5b50610109610663565b34801561020c57600080fd5b50610109610669565b34801561022157600080fd5b50610109600160a060020a03600435166106da565b34801561024257600080fd5b506101096106ec565b34801561025757600080fd5b50610109600160a060020a03600435166106f2565b3360009081526020819052604081205481106102d2576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f736974206e6f7420666f756e64000000000000000000000000000000604482015290519081900360640190fd5b600554336000908152602081905260409020546103429161030c91606491610300919063ffffffff61070416565b9063ffffffff61072f16565b3360009081526002602090815260408083205491839052909120546103369163ffffffff61074616565b9063ffffffff61074616565b3360009081526020819052604090205490915081106103d0576040805160e560020a62461bcd028152602060048201526024808201527f596f75206861766520616c72656164792072657061696420796f75722064657060448201527f6f73697400000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b336000818152602081815260408083208390556001825280832083905560029091528082208290555183156108fc0291849190818181858888f19350505050158015610420573d6000803e3d6000fd5b5050565b6000803411156105885733600090815260208190526040902054151561044e57600f805460010190555b3360009081526020819052604081205411801561048b5750600754336000908152600160205260409020546104889163ffffffff61075816565b42115b1561049857610498610767565b336000908152602081905260409020546104b8903463ffffffff61075816565b33600090815260208181526040808320939093556001905220429055600354600554600160a060020a03909116906108fc906104fc90606490610300903490610704565b6040518115909202916000818181858888f19350505050158015610524573d6000803e3d6000fd5b5061053f60646103006006543461070490919063ffffffff16565b6010805482019055600454604051919250600160a060020a03169082156108fc029083906000818181858888f19350505050158015610582573d6000803e3d6000fd5b50610590565b610590610767565b50565b60095481565b60085481565b600e5481565b600354600160a060020a031681565b60008060008060006105c4610669565b336000908152602081905260409020549094506105f090620186a090610300908763ffffffff61070416565b6007543360009081526001602052604090205491945061061b9161030090429063ffffffff61074616565b915061062d838363ffffffff61070416565b95945050505050565b600454600160a060020a031681565b600c5481565b60016020526000908152604090205481565b600d5481565b600b5481565b600c546000903031908110156106835760085491506106d6565b600c5481101580156106965750600d5481105b156106a55760095491506106d6565b600d5481101580156106b85750600e5481105b156106c757600a5491506106d6565b600e5481106106d657600b5491505b5090565b60006020819052908152604090205481565b600a5481565b60026020526000908152604090205481565b6000828202831580610720575082848281151561071d57fe5b04145b151561072857fe5b9392505050565b600080828481151561073d57fe5b04949350505050565b60008282111561075257fe5b50900390565b60008282018381101561072857fe5b3360009081526020819052604081205481106107cd576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f736974206e6f7420666f756e64000000000000000000000000000000604482015290519081900360640190fd5b600754336000908152600160205260409020546107ef9163ffffffff61075816565b421015610846576040805160e560020a62461bcd02815260206004820152601760248201527f546f6f2066617374207061796f75742072657175657374000000000000000000604482015290519081900360640190fd5b3360009081526002602081815260408084205491849052909220546108709163ffffffff61070416565b1161089f5733600090815260208181526040808320839055600182528083208390556002909152812055610590565b6108a76105b4565b336000818152600160209081526040808320429055600290915280822080548501905551929350909183156108fc0291849190818181858888f19350505050158015610420573d6000803e3d6000fd00a165627a7a72305820d121dbf36146c028c90df6982123e78e3e61aa65887016cbc0916e0637405ffe0029

Swarm Source

bzzr://d121dbf36146c028c90df6982123e78e3e61aa65887016cbc0916e0637405ffe

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.