Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0.00217612 ETH
Eth Value
$6.13 (@ $2,815.38/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 13 from a total of 13 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 6732930 | 2269 days ago | IN | 0 ETH | 0.00012849 | ||||
Transfer | 6716793 | 2271 days ago | IN | 0 ETH | 0.00012852 | ||||
Transfer | 6699380 | 2274 days ago | IN | 0 ETH | 0.00008568 | ||||
Transfer | 6653675 | 2282 days ago | IN | 0 ETH | 0.00175644 | ||||
Transfer | 6531641 | 2302 days ago | IN | 0.04 ETH | 0.00016336 | ||||
Transfer | 6531617 | 2302 days ago | IN | 0 ETH | 0.00017352 | ||||
Transfer | 6512435 | 2305 days ago | IN | 0.01 ETH | 0.00017821 | ||||
Transfer | 6478094 | 2310 days ago | IN | 0.00000112 ETH | 0.00027481 | ||||
Transfer | 6478086 | 2310 days ago | IN | 0.1 ETH | 0.00118528 | ||||
Transfer | 6478063 | 2310 days ago | IN | 0.00000112 ETH | 0.0005495 | ||||
Transfer | 6478026 | 2310 days ago | IN | 3 ETH | 0.00065347 | ||||
Transfer | 6478000 | 2310 days ago | IN | 2 ETH | 0.00106928 | ||||
Transfer | 6469766 | 2312 days ago | IN | 0.01 ETH | 0.00057642 |
Latest 18 internal transactions
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
6716793 | 2271 days ago | 0.0085 ETH | ||||
6699380 | 2274 days ago | 0.022375 ETH | ||||
6653675 | 2282 days ago | 0.059875 ETH | ||||
6531641 | 2302 days ago | 0.0004 ETH | ||||
6531641 | 2302 days ago | 0.0032 ETH | ||||
6531617 | 2302 days ago | 0.001875 ETH | ||||
6512435 | 2305 days ago | 0.0001 ETH | ||||
6512435 | 2305 days ago | 0.0008 ETH | ||||
6478094 | 2310 days ago | 4.6 ETH | ||||
6478086 | 2310 days ago | 0.001 ETH | ||||
6478086 | 2310 days ago | 0.008 ETH | ||||
6478086 | 2310 days ago | 0.0008 ETH | ||||
6478026 | 2310 days ago | 0.03 ETH | ||||
6478026 | 2310 days ago | 0.24 ETH | ||||
6478000 | 2310 days ago | 0.02 ETH | ||||
6478000 | 2310 days ago | 0.16 ETH | ||||
6469766 | 2312 days ago | 0.0001 ETH | ||||
6469766 | 2312 days ago | 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
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
608060405260038054600160a060020a03199081167315e3aad84394012f450d7a6965f2f4c59ca7071a1790915560048054909116736c3607d37a000d7879f02b98c59376c7dac91151179055600860058190556001600655610e1060075560fa905561012c60095561015e600a55610177600b55683635c9adc5dea00000600c5568878678326eac900000600d5569010f0cf064dd59200000600e556000600f8190556010553480156100b257600080fd5b50610923806100c26000396000f3006080604052600436106100cf5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663297d669c81146100f45780632a804efe1461011b57806335b903a814610130578063556c1a71146101455780636b46c8c31461017657806377e1a9fc1461018b578063957ad393146101a0578063aa66bfb9146101b5578063b67ee4df146101d6578063c1b05490146101eb578063c72b5e4f14610200578063d1260edd14610215578063d145b19814610236578063f68c3c941461024b575b34650104c533c00014156100ea576100e561026c565b6100f2565b6100f2610424565b005b34801561010057600080fd5b50610109610593565b60408051918252519081900360200190f35b34801561012757600080fd5b50610109610599565b34801561013c57600080fd5b5061010961059f565b34801561015157600080fd5b5061015a6105a5565b60408051600160a060020a039092168252519081900360200190f35b34801561018257600080fd5b506101096105b4565b34801561019757600080fd5b5061015a610636565b3480156101ac57600080fd5b50610109610645565b3480156101c157600080fd5b50610109600160a060020a036004351661064b565b3480156101e257600080fd5b5061010961065d565b3480156101f757600080fd5b50610109610663565b34801561020c57600080fd5b50610109610669565b34801561022157600080fd5b50610109600160a060020a03600435166106da565b34801561024257600080fd5b506101096106ec565b34801561025757600080fd5b50610109600160a060020a03600435166106f2565b3360009081526020819052604081205481106102d2576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f736974206e6f7420666f756e64000000000000000000000000000000604482015290519081900360640190fd5b600554336000908152602081905260409020546103429161030c91606491610300919063ffffffff61070416565b9063ffffffff61072f16565b3360009081526002602090815260408083205491839052909120546103369163ffffffff61074616565b9063ffffffff61074616565b3360009081526020819052604090205490915081106103d0576040805160e560020a62461bcd028152602060048201526024808201527f596f75206861766520616c72656164792072657061696420796f75722064657060448201527f6f73697400000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b336000818152602081815260408083208390556001825280832083905560029091528082208290555183156108fc0291849190818181858888f19350505050158015610420573d6000803e3d6000fd5b5050565b6000803411156105885733600090815260208190526040902054151561044e57600f805460010190555b3360009081526020819052604081205411801561048b5750600754336000908152600160205260409020546104889163ffffffff61075816565b42115b1561049857610498610767565b336000908152602081905260409020546104b8903463ffffffff61075816565b33600090815260208181526040808320939093556001905220429055600354600554600160a060020a03909116906108fc906104fc90606490610300903490610704565b6040518115909202916000818181858888f19350505050158015610524573d6000803e3d6000fd5b5061053f60646103006006543461070490919063ffffffff16565b6010805482019055600454604051919250600160a060020a03169082156108fc029083906000818181858888f19350505050158015610582573d6000803e3d6000fd5b50610590565b610590610767565b50565b60095481565b60085481565b600e5481565b600354600160a060020a031681565b60008060008060006105c4610669565b336000908152602081905260409020549094506105f090620186a090610300908763ffffffff61070416565b6007543360009081526001602052604090205491945061061b9161030090429063ffffffff61074616565b915061062d838363ffffffff61070416565b95945050505050565b600454600160a060020a031681565b600c5481565b60016020526000908152604090205481565b600d5481565b600b5481565b600c546000903031908110156106835760085491506106d6565b600c5481101580156106965750600d5481105b156106a55760095491506106d6565b600d5481101580156106b85750600e5481105b156106c757600a5491506106d6565b600e5481106106d657600b5491505b5090565b60006020819052908152604090205481565b600a5481565b60026020526000908152604090205481565b6000828202831580610720575082848281151561071d57fe5b04145b151561072857fe5b9392505050565b600080828481151561073d57fe5b04949350505050565b60008282111561075257fe5b50900390565b60008282018381101561072857fe5b3360009081526020819052604081205481106107cd576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f736974206e6f7420666f756e64000000000000000000000000000000604482015290519081900360640190fd5b600754336000908152600160205260409020546107ef9163ffffffff61075816565b421015610846576040805160e560020a62461bcd02815260206004820152601760248201527f546f6f2066617374207061796f75742072657175657374000000000000000000604482015290519081900360640190fd5b3360009081526002602081815260408084205491849052909220546108709163ffffffff61070416565b1161089f5733600090815260208181526040808320839055600182528083208390556002909152812055610590565b6108a76105b4565b336000818152600160209081526040808320429055600290915280822080548501905551929350909183156108fc0291849190818181858888f19350505050158015610420573d6000803e3d6000fd00a165627a7a72305820d121dbf36146c028c90df6982123e78e3e61aa65887016cbc0916e0637405ffe0029
Deployed Bytecode
0x6080604052600436106100cf5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663297d669c81146100f45780632a804efe1461011b57806335b903a814610130578063556c1a71146101455780636b46c8c31461017657806377e1a9fc1461018b578063957ad393146101a0578063aa66bfb9146101b5578063b67ee4df146101d6578063c1b05490146101eb578063c72b5e4f14610200578063d1260edd14610215578063d145b19814610236578063f68c3c941461024b575b34650104c533c00014156100ea576100e561026c565b6100f2565b6100f2610424565b005b34801561010057600080fd5b50610109610593565b60408051918252519081900360200190f35b34801561012757600080fd5b50610109610599565b34801561013c57600080fd5b5061010961059f565b34801561015157600080fd5b5061015a6105a5565b60408051600160a060020a039092168252519081900360200190f35b34801561018257600080fd5b506101096105b4565b34801561019757600080fd5b5061015a610636565b3480156101ac57600080fd5b50610109610645565b3480156101c157600080fd5b50610109600160a060020a036004351661064b565b3480156101e257600080fd5b5061010961065d565b3480156101f757600080fd5b50610109610663565b34801561020c57600080fd5b50610109610669565b34801561022157600080fd5b50610109600160a060020a03600435166106da565b34801561024257600080fd5b506101096106ec565b34801561025757600080fd5b50610109600160a060020a03600435166106f2565b3360009081526020819052604081205481106102d2576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f736974206e6f7420666f756e64000000000000000000000000000000604482015290519081900360640190fd5b600554336000908152602081905260409020546103429161030c91606491610300919063ffffffff61070416565b9063ffffffff61072f16565b3360009081526002602090815260408083205491839052909120546103369163ffffffff61074616565b9063ffffffff61074616565b3360009081526020819052604090205490915081106103d0576040805160e560020a62461bcd028152602060048201526024808201527f596f75206861766520616c72656164792072657061696420796f75722064657060448201527f6f73697400000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b336000818152602081815260408083208390556001825280832083905560029091528082208290555183156108fc0291849190818181858888f19350505050158015610420573d6000803e3d6000fd5b5050565b6000803411156105885733600090815260208190526040902054151561044e57600f805460010190555b3360009081526020819052604081205411801561048b5750600754336000908152600160205260409020546104889163ffffffff61075816565b42115b1561049857610498610767565b336000908152602081905260409020546104b8903463ffffffff61075816565b33600090815260208181526040808320939093556001905220429055600354600554600160a060020a03909116906108fc906104fc90606490610300903490610704565b6040518115909202916000818181858888f19350505050158015610524573d6000803e3d6000fd5b5061053f60646103006006543461070490919063ffffffff16565b6010805482019055600454604051919250600160a060020a03169082156108fc029083906000818181858888f19350505050158015610582573d6000803e3d6000fd5b50610590565b610590610767565b50565b60095481565b60085481565b600e5481565b600354600160a060020a031681565b60008060008060006105c4610669565b336000908152602081905260409020549094506105f090620186a090610300908763ffffffff61070416565b6007543360009081526001602052604090205491945061061b9161030090429063ffffffff61074616565b915061062d838363ffffffff61070416565b95945050505050565b600454600160a060020a031681565b600c5481565b60016020526000908152604090205481565b600d5481565b600b5481565b600c546000903031908110156106835760085491506106d6565b600c5481101580156106965750600d5481105b156106a55760095491506106d6565b600d5481101580156106b85750600e5481105b156106c757600a5491506106d6565b600e5481106106d657600b5491505b5090565b60006020819052908152604090205481565b600a5481565b60026020526000908152604090205481565b6000828202831580610720575082848281151561071d57fe5b04145b151561072857fe5b9392505050565b600080828481151561073d57fe5b04949350505050565b60008282111561075257fe5b50900390565b60008282018381101561072857fe5b3360009081526020819052604081205481106107cd576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f736974206e6f7420666f756e64000000000000000000000000000000604482015290519081900360640190fd5b600754336000908152600160205260409020546107ef9163ffffffff61075816565b421015610846576040805160e560020a62461bcd02815260206004820152601760248201527f546f6f2066617374207061796f75742072657175657374000000000000000000604482015290519081900360640190fd5b3360009081526002602081815260408084205491849052909220546108709163ffffffff61070416565b1161089f5733600090815260208181526040808320839055600182528083208390556002909152812055610590565b6108a76105b4565b336000818152600160209081526040808320429055600290915280822080548501905551929350909183156108fc0291849190818181858888f19350505050158015610420573d6000803e3d6000fd00a165627a7a72305820d121dbf36146c028c90df6982123e78e3e61aa65887016cbc0916e0637405ffe0029
Swarm Source
bzzr://d121dbf36146c028c90df6982123e78e3e61aa65887016cbc0916e0637405ffe
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $2,815.38 | 0.00217612 | $6.13 |
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.