Source Code
Overview
ETH Balance
0.001425796931114519 ETH
Eth Value
$2.78 (@ $1,950.68/ETH)Latest 25 from a total of 161 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Reinvest Profit | 7875580 | 2460 days ago | IN | 0 ETH | 0.00013369 | ||||
| Reinvest Profit | 7685665 | 2490 days ago | IN | 0 ETH | 0.00010026 | ||||
| Withdraw | 7685453 | 2490 days ago | IN | 0 ETH | 0.00010566 | ||||
| Withdraw | 7685446 | 2490 days ago | IN | 0 ETH | 0.00010566 | ||||
| Reinvest Profit | 7685292 | 2490 days ago | IN | 0 ETH | 0.00010026 | ||||
| Reinvest Profit | 7685052 | 2490 days ago | IN | 0 ETH | 0.00010026 | ||||
| Withdraw | 7679837 | 2491 days ago | IN | 0 ETH | 0.00010566 | ||||
| Reinvest Profit | 7679507 | 2491 days ago | IN | 0 ETH | 0.00010026 | ||||
| Reinvest Profit | 7678395 | 2491 days ago | IN | 0 ETH | 0.00010026 | ||||
| Withdraw | 7674944 | 2492 days ago | IN | 0 ETH | 0.00010566 | ||||
| Reinvest Profit | 7674794 | 2492 days ago | IN | 0 ETH | 0.00010026 | ||||
| Reinvest Profit | 7673957 | 2492 days ago | IN | 0 ETH | 0.00010026 | ||||
| Withdraw Affilia... | 7673949 | 2492 days ago | IN | 0 ETH | 0.00033176 | ||||
| Reinvest Profit | 7472944 | 2523 days ago | IN | 0 ETH | 0.00006684 | ||||
| Invest ETH | 7472798 | 2523 days ago | IN | 0.0185 ETH | 0.00011928 | ||||
| Reinvest Profit | 7472626 | 2523 days ago | IN | 0 ETH | 0.00006684 | ||||
| Reinvest Profit | 7472513 | 2523 days ago | IN | 0 ETH | 0.00006684 | ||||
| Reinvest Profit | 7472410 | 2523 days ago | IN | 0 ETH | 0.00006684 | ||||
| Invest ETH | 7472015 | 2523 days ago | IN | 0.01 ETH | 0.00015171 | ||||
| Reinvest Profit | 6931747 | 2622 days ago | IN | 0 ETH | 0.00066846 | ||||
| Reinvest Profit | 6856781 | 2634 days ago | IN | 0 ETH | 0.00036765 | ||||
| Withdraw | 6854508 | 2635 days ago | IN | 0 ETH | 0.00070446 | ||||
| Reinvest Profit | 6854483 | 2635 days ago | IN | 0 ETH | 0.00066846 | ||||
| Withdraw | 6853981 | 2635 days ago | IN | 0 ETH | 0.00070446 | ||||
| Withdraw | 6853813 | 2635 days ago | IN | 0 ETH | 0.00070446 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 7685453 | 2490 days ago | 0.00027267 ETH | ||||
| - | 7685446 | 2490 days ago | 0.00467773 ETH | ||||
| - | 7679837 | 2491 days ago | 0.00831822 ETH | ||||
| - | 7674944 | 2492 days ago | 0.00359266 ETH | ||||
| - | 7673949 | 2492 days ago | 0.012975 ETH | ||||
| - | 7472798 | 2523 days ago | 0.00007077 ETH | ||||
| - | 6854508 | 2635 days ago | 0.00184496 ETH | ||||
| - | 6853981 | 2635 days ago | 0.01111102 ETH | ||||
| - | 6853813 | 2635 days ago | 0.00665611 ETH | ||||
| - | 6849233 | 2635 days ago | 0.10308825 ETH | ||||
| - | 6847330 | 2636 days ago | 0.07525869 ETH | ||||
| - | 6834748 | 2638 days ago | 0.03046103 ETH | ||||
| Transfer | 6797503 | 2644 days ago | 0.00012989 ETH | ||||
| Transfer | 6499389 | 2693 days ago | 0.004 ETH | ||||
| Transfer | 6498255 | 2693 days ago | 0.004 ETH | ||||
| Transfer | 6471108 | 2697 days ago | 0.01101954 ETH | ||||
| Transfer | 6468962 | 2698 days ago | 0.01707554 ETH | ||||
| Transfer | 6465678 | 2698 days ago | 0.00343624 ETH | ||||
| Transfer | 6464984 | 2698 days ago | 0.00470973 ETH | ||||
| Transfer | 6464083 | 2699 days ago | 0.00654404 ETH | ||||
| Transfer | 6462798 | 2699 days ago | 0.01275927 ETH | ||||
| Transfer | 6460297 | 2699 days ago | 0.01501328 ETH | ||||
| Transfer | 6459741 | 2699 days ago | 0.00099911 ETH | ||||
| Transfer | 6459500 | 2699 days ago | 0.00020174 ETH | ||||
| Transfer | 6459409 | 2699 days ago | 0.00005491 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Divs4D
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2018-09-25
*/
pragma solidity ^0.4.18;
/*
__/\\\\\\\\\\\\_____/\\\\\\\\\\\__/\\\________/\\\_____/\\\\\\\\\\\_________________________________
_\/\\\////////\\\__\/////\\\///__\/\\\_______\/\\\___/\\\/////////\\\_______________________________
_\/\\\______\//\\\_____\/\\\_____\//\\\______/\\\___\//\\\______\///________________________________
_\/\\\_______\/\\\_____\/\\\______\//\\\____/\\\_____\////\\\_______________________________________
_\/\\\_______\/\\\_____\/\\\_______\//\\\__/\\\_________\////\\\____________________________________
_\/\\\_______\/\\\_____\/\\\________\//\\\/\\\_____________\////\\\_________________________________
_\/\\\_______/\\\______\/\\\_________\//\\\\\_______/\\\______\//\\\________________________________
_\/\\\\\\\\\\\\/____/\\\\\\\\\\\______\//\\\_______\///\\\\\\\\\\\/_________________________________
_\////////////_____\///////////________\///__________\///////////___________________________________
__________________________________________________________________________/\\\_____/\\\\\\\\\\\\____
________________________________________________________________________/\\\\\____\/\\\////////\\\__
______________________________________________________________________/\\\/\\\____\/\\\______\//\\\_
____________________________________________________________________/\\\/\/\\\____\/\\\_______\/\\\_
__________________________________________________________________/\\\/__\/\\\____\/\\\_______\/\\\_
________________________________________________________________/\\\\\\\\\\\\\\\\_\/\\\_______\/\\\_
_______________________________________________________________\///////////\\\//__\/\\\_______/\\\__
_________________________________________________________________________\/\\\____\/\\\\\\\\\\\\/___
_________________________________________________________________________\///_____\////////////_____
* www.Divs4D.com
* 25% return every 24 hours
* ROI in 4 days
* 5% Referral commision
*/
contract Divs4D{
mapping (address => uint256) public investedETH;
mapping (address => uint256) public lastInvest;
mapping (address => uint256) public affiliateCommision;
address dev = 0xF5c47144e20B78410f40429d78E7A18a2A429D0e;
address promoter = 0xC7a4Bf373476e265fC1b428CC4110E83aE32e8A3;
function investETH(address referral) public payable {
require(msg.value >= 0.01 ether);
if(getProfit(msg.sender) > 0){
uint256 profit = getProfit(msg.sender);
lastInvest[msg.sender] = now;
msg.sender.transfer(profit);
}
uint256 amount = msg.value;
uint256 commision = SafeMath.div(amount, 20);
if(referral != msg.sender && referral != 0x1 && referral != dev && referral != promoter){
affiliateCommision[referral] = SafeMath.add(affiliateCommision[referral], commision);
}
affiliateCommision[dev] = SafeMath.add(affiliateCommision[dev], commision);
affiliateCommision[promoter] = SafeMath.add(affiliateCommision[promoter], commision);
investedETH[msg.sender] = SafeMath.add(investedETH[msg.sender], amount);
lastInvest[msg.sender] = now;
}
function withdraw() public{
uint256 profit = getProfit(msg.sender);
require(profit > 0);
lastInvest[msg.sender] = now;
msg.sender.transfer(profit);
}
function getProfitFromSender() public view returns(uint256){
return getProfit(msg.sender);
}
function getProfit(address customer) public view returns(uint256){
uint256 secondsPassed = SafeMath.sub(now, lastInvest[customer]);
return SafeMath.div(SafeMath.mul(secondsPassed, investedETH[customer]), 345600);
}
function reinvestProfit() public {
uint256 profit = getProfit(msg.sender);
require(profit > 0);
lastInvest[msg.sender] = now;
investedETH[msg.sender] = SafeMath.add(investedETH[msg.sender], profit);
}
function getAffiliateCommision() public view returns(uint256){
return affiliateCommision[msg.sender];
}
function withdrawAffiliateCommision() public {
require(affiliateCommision[msg.sender] > 0);
uint256 commision = affiliateCommision[msg.sender];
affiliateCommision[msg.sender] = 0;
msg.sender.transfer(commision);
}
function getInvested() public view returns(uint256){
return investedETH[msg.sender];
}
function getBalance() public view returns(uint256){
return this.balance;
}
function min(uint256 a, uint256 b) private pure returns (uint256) {
return a < b ? a : b;
}
function max(uint256 a, uint256 b) private pure returns (uint256) {
return a > b ? a : b;
}
}
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
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;
}
/**
* @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b <= a);
return a - b;
}
/**
* @dev Adds two numbers, throws on overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getAffiliateCommision","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"affiliateCommision","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getProfitFromSender","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"referral","type":"address"}],"name":"investETH","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"lastInvest","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getInvested","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"customer","type":"address"}],"name":"getProfit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"investedETH","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"reinvestProfit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAffiliateCommision","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
606060405260038054600160a060020a031990811673f5c47144e20b78410f40429d78e7a18a2a429d0e179091556004805490911673c7a4bf373476e265fc1b428cc4110e83ae32e8a3179055341561005757600080fd5b61068e806100666000396000f3006060604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166312065fe081146100be5780633ccfd60b146100e357806343c6e10d146100f85780635c5f02651461010b5780635f3619b11461012a5780637a99ba4f1461013d5780637be0051014610151578063befc3e2b14610170578063c600e1dc14610183578063d86479df146101a2578063e3b61135146101c1578063f09dd7c6146101d4575b600080fd5b34156100c957600080fd5b6100d16101e7565b60405190815260200160405180910390f35b34156100ee57600080fd5b6100f66101f5565b005b341561010357600080fd5b6100d1610256565b341561011657600080fd5b6100d1600160a060020a0360043516610272565b341561013557600080fd5b6100d1610284565b6100f6600160a060020a0360043516610294565b341561015c57600080fd5b6100d1600160a060020a036004351661047e565b341561017b57600080fd5b6100d1610490565b341561018e57600080fd5b6100d1600160a060020a03600435166104ac565b34156101ad57600080fd5b6100d1600160a060020a0360043516610515565b34156101cc57600080fd5b6100f6610527565b34156101df57600080fd5b6100f661058c565b600160a060020a0330163190565b6000610200336104ac565b90506000811161020f57600080fd5b600160a060020a0333166000818152600160205260409081902042905582156108fc0290839051600060405180830381858888f19350505050151561025357600080fd5b50565b600160a060020a03331660009081526002602052604090205490565b60026020526000908152604090205481565b600061028f336104ac565b905090565b60008080662386f26fc100003410156102ac57600080fd5b60006102b7336104ac565b111561030e576102c6336104ac565b600160a060020a033316600081815260016020526040908190204290559194509084156108fc0290859051600060405180830381858888f19350505050151561030e57600080fd5b34915061031c8260146105fa565b905033600160a060020a031684600160a060020a03161415801561034a575083600160a060020a0316600114155b80156103645750600354600160a060020a03858116911614155b801561037e5750600454600160a060020a03858116911614155b156103c057600160a060020a0384166000908152600260205260409020546103a69082610616565b600160a060020a0385166000908152600260205260409020555b600354600160a060020a03166000908152600260205260409020546103e59082610616565b600354600160a060020a03908116600090815260026020526040808220939093556004549091168152205461041a9082610616565b600454600160a060020a039081166000908152600260209081526040808320949094553390921681529081905220546104539083610616565b600160a060020a03331660009081526020818152604080832093909355600190522042905550505050565b60016020526000908152604090205481565b600160a060020a03331660009081526020819052604090205490565b600160a060020a03811660009081526001602052604081205481906104d2904290610625565b905061050e6105058260008087600160a060020a0316600160a060020a0316815260200190815260200160002054610637565b620546006105fa565b9392505050565b60006020819052908152604090205481565b6000610532336104ac565b90506000811161054157600080fd5b600160a060020a0333166000908152600160209081526040808320429055908290529020546105709082610616565b600160a060020a03331660009081526020819052604090205550565b600160a060020a0333166000908152600260205260408120548190116105b157600080fd5b50600160a060020a033316600081815260026020526040808220805492905590919082156108fc0290839051600060405180830381858888f19350505050151561025357600080fd5b600080828481151561060857fe5b0490508091505b5092915050565b60008282018381101561050e57fe5b60008282111561063157fe5b50900390565b60008083151561064a576000915061060f565b5082820282848281151561065a57fe5b041461050e57fe00a165627a7a7230582062929259cc9d6475245f68ceaeb92be04141c5e963cb9e45a00aa3a9be3ff8a50029
Deployed Bytecode
0x6060604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166312065fe081146100be5780633ccfd60b146100e357806343c6e10d146100f85780635c5f02651461010b5780635f3619b11461012a5780637a99ba4f1461013d5780637be0051014610151578063befc3e2b14610170578063c600e1dc14610183578063d86479df146101a2578063e3b61135146101c1578063f09dd7c6146101d4575b600080fd5b34156100c957600080fd5b6100d16101e7565b60405190815260200160405180910390f35b34156100ee57600080fd5b6100f66101f5565b005b341561010357600080fd5b6100d1610256565b341561011657600080fd5b6100d1600160a060020a0360043516610272565b341561013557600080fd5b6100d1610284565b6100f6600160a060020a0360043516610294565b341561015c57600080fd5b6100d1600160a060020a036004351661047e565b341561017b57600080fd5b6100d1610490565b341561018e57600080fd5b6100d1600160a060020a03600435166104ac565b34156101ad57600080fd5b6100d1600160a060020a0360043516610515565b34156101cc57600080fd5b6100f6610527565b34156101df57600080fd5b6100f661058c565b600160a060020a0330163190565b6000610200336104ac565b90506000811161020f57600080fd5b600160a060020a0333166000818152600160205260409081902042905582156108fc0290839051600060405180830381858888f19350505050151561025357600080fd5b50565b600160a060020a03331660009081526002602052604090205490565b60026020526000908152604090205481565b600061028f336104ac565b905090565b60008080662386f26fc100003410156102ac57600080fd5b60006102b7336104ac565b111561030e576102c6336104ac565b600160a060020a033316600081815260016020526040908190204290559194509084156108fc0290859051600060405180830381858888f19350505050151561030e57600080fd5b34915061031c8260146105fa565b905033600160a060020a031684600160a060020a03161415801561034a575083600160a060020a0316600114155b80156103645750600354600160a060020a03858116911614155b801561037e5750600454600160a060020a03858116911614155b156103c057600160a060020a0384166000908152600260205260409020546103a69082610616565b600160a060020a0385166000908152600260205260409020555b600354600160a060020a03166000908152600260205260409020546103e59082610616565b600354600160a060020a03908116600090815260026020526040808220939093556004549091168152205461041a9082610616565b600454600160a060020a039081166000908152600260209081526040808320949094553390921681529081905220546104539083610616565b600160a060020a03331660009081526020818152604080832093909355600190522042905550505050565b60016020526000908152604090205481565b600160a060020a03331660009081526020819052604090205490565b600160a060020a03811660009081526001602052604081205481906104d2904290610625565b905061050e6105058260008087600160a060020a0316600160a060020a0316815260200190815260200160002054610637565b620546006105fa565b9392505050565b60006020819052908152604090205481565b6000610532336104ac565b90506000811161054157600080fd5b600160a060020a0333166000908152600160209081526040808320429055908290529020546105709082610616565b600160a060020a03331660009081526020819052604090205550565b600160a060020a0333166000908152600260205260408120548190116105b157600080fd5b50600160a060020a033316600081815260026020526040808220805492905590919082156108fc0290839051600060405180830381858888f19350505050151561025357600080fd5b600080828481151561060857fe5b0490508091505b5092915050565b60008282018381101561050e57fe5b60008282111561063157fe5b50900390565b60008083151561064a576000915061060f565b5082820282848281151561065a57fe5b041461050e57fe00a165627a7a7230582062929259cc9d6475245f68ceaeb92be04141c5e963cb9e45a00aa3a9be3ff8a50029
Swarm Source
bzzr://62929259cc9d6475245f68ceaeb92be04141c5e963cb9e45a00aa3a9be3ff8a5
Loading...
Loading
Loading...
Loading
Net Worth in USD
$2.78
Net Worth in ETH
0.001427
Token Allocations
ETH
100.00%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $1,951.91 | 0.0014258 | $2.78 |
Loading...
Loading
Loading...
Loading
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.