Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 439 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 6429196 | 2271 days ago | IN | 0 ETH | 0.00085371 | ||||
Withdraw | 6416733 | 2273 days ago | IN | 0 ETH | 0.00066007 | ||||
Withdraw | 6415416 | 2273 days ago | IN | 0 ETH | 0.00045641 | ||||
Withdraw | 6413764 | 2273 days ago | IN | 0 ETH | 0.00068601 | ||||
Withdraw | 6411876 | 2273 days ago | IN | 0 ETH | 0.00045822 | ||||
Withdraw | 6410856 | 2274 days ago | IN | 0 ETH | 0.00069147 | ||||
Withdraw | 6409148 | 2274 days ago | IN | 0 ETH | 0.00072196 | ||||
Withdraw | 6407308 | 2274 days ago | IN | 0 ETH | 0.00043629 | ||||
Withdraw | 6406207 | 2274 days ago | IN | 0 ETH | 0.00042623 | ||||
Withdraw | 6406003 | 2274 days ago | IN | 0 ETH | 0.00063163 | ||||
Withdraw | 6405480 | 2274 days ago | IN | 0 ETH | 0.00049666 | ||||
Withdraw | 6405118 | 2275 days ago | IN | 0 ETH | 0.00057421 | ||||
Withdraw | 6404049 | 2275 days ago | IN | 0 ETH | 0.00052806 | ||||
Withdraw | 6403932 | 2275 days ago | IN | 0 ETH | 0.00085733 | ||||
Withdraw | 6403710 | 2275 days ago | IN | 0 ETH | 0.0012113 | ||||
Withdraw | 6403395 | 2275 days ago | IN | 0 ETH | 0.00132015 | ||||
Withdraw | 6403369 | 2275 days ago | IN | 0 ETH | 0.00031554 | ||||
Withdraw | 6402902 | 2275 days ago | IN | 0 ETH | 0.00042672 | ||||
Withdraw | 6402788 | 2275 days ago | IN | 0 ETH | 0.00033567 | ||||
Withdraw | 6402756 | 2275 days ago | IN | 0 ETH | 0.00038598 | ||||
Withdraw | 6402743 | 2275 days ago | IN | 0 ETH | 0.00062653 | ||||
Withdraw | 6402677 | 2275 days ago | IN | 0 ETH | 0.00042623 | ||||
Withdraw | 6402520 | 2275 days ago | IN | 0 ETH | 0.00028491 | ||||
Withdraw | 6402513 | 2275 days ago | IN | 0 ETH | 0.00028491 | ||||
Withdraw | 6402509 | 2275 days ago | IN | 0 ETH | 0.00032561 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
6401827 | 2275 days ago | 0.01425 ETH | ||||
6401819 | 2275 days ago | 0.00075 ETH | ||||
6401440 | 2275 days ago | 0.09646666 ETH | ||||
6401437 | 2275 days ago | 0.07833333 ETH | ||||
6401420 | 2275 days ago | 0.0092 ETH | ||||
6399990 | 2275 days ago | 0.52655866 ETH | ||||
6399990 | 2275 days ago | 0.03333333 ETH | ||||
6399990 | 2275 days ago | 0.06666666 ETH | ||||
6399988 | 2275 days ago | 0.7 ETH | ||||
6399988 | 2275 days ago | 0.00031666 ETH | ||||
6399988 | 2275 days ago | 0.12533333 ETH | ||||
6399988 | 2275 days ago | 0.00083333 ETH | ||||
6399988 | 2275 days ago | 0.00083333 ETH | ||||
6399988 | 2275 days ago | 0.00083333 ETH | ||||
6399988 | 2275 days ago | 0.00083333 ETH | ||||
6399988 | 2275 days ago | 0.00083333 ETH | ||||
6399988 | 2275 days ago | 0.00083333 ETH | ||||
6399988 | 2275 days ago | 0.00083333 ETH | ||||
6399988 | 2275 days ago | 0.00083333 ETH | ||||
6399988 | 2275 days ago | 0.00083333 ETH | ||||
6399988 | 2275 days ago | 0.00083333 ETH | ||||
6399988 | 2275 days ago | 0.01666666 ETH | ||||
6399988 | 2275 days ago | 6.43333333 ETH | ||||
6399988 | 2275 days ago | 0.006 ETH | ||||
6399988 | 2275 days ago | 0.03333333 ETH |
Loading...
Loading
Contract Name:
DoubleROI
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-09-26 */ pragma solidity ^0.4.24; /** Double% Earn 10% per hour, double your %ROI every hour you HODL! First hour: 10% Second hour: 20% Third hour: 40% ...etc... */ contract DoubleROI { using SafeMath for uint256; mapping(address => uint256) investments; mapping(address => uint256) joined; mapping(address => uint256) referrer; uint256 public step = 2400; uint256 public minimum = 10 finney; uint256 public maximum = 5 ether; uint256 public stakingRequirement = 0.5 ether; address public ownerWallet; address public owner; event Invest(address investor, uint256 amount); event Withdraw(address investor, uint256 amount); event Bounty(address hunter, uint256 amount); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Сonstructor Sets the original roles of the contract */ constructor() public { owner = msg.sender; ownerWallet = msg.sender; } /** * @dev Modifiers */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. * @param newOwnerWallet The address to transfer ownership to. */ function transferOwnership(address newOwner, address newOwnerWallet) public onlyOwner { require(newOwner != address(0)); emit OwnershipTransferred(owner, newOwner); owner = newOwner; ownerWallet = newOwnerWallet; } /** * @dev Investments */ function () public payable { buy(0x0); } function buy(address _referredBy) public payable { require(msg.value >= minimum); require(msg.value <= maximum); address _customerAddress = msg.sender; if( // is this a referred purchase? _referredBy != 0x0000000000000000000000000000000000000000 && // no cheating! _referredBy != _customerAddress && // does the referrer have at least X whole tokens? // i.e is the referrer a godly chad masternode investments[_referredBy] >= stakingRequirement ){ // wealth redistribution referrer[_referredBy] = referrer[_referredBy].add(msg.value.mul(5).div(100)); } if (investments[msg.sender] > 0){ withdraw(); } investments[msg.sender] = investments[msg.sender].add(msg.value); joined[msg.sender] = block.timestamp; ownerWallet.transfer(msg.value.mul(5).div(100)); emit Invest(msg.sender, msg.value); } /** * @dev Evaluate current balance * @param _address Address of investor */ function getBalance(address _address) view public returns (uint256) { uint256 minutesCount = now.sub(joined[_address]).div(1 minutes); // update roi multiplier // 10% flat during first hour // 20% flat during second hour // 40% flat during third hour uint256 userROIMultiplier = 2**(minutesCount / 60); uint256 percent; uint256 balance; for(uint i=1; i<userROIMultiplier; i=i*2){ // add each percent - // first hour is 10% // second hour is 20% // third hour is 40% // etc - add all these up percent = investments[_address].mul(step).div(1000) * i; balance += percent.mul(60).div(1440); } // Finally, add the balance for the current multiplier percent = investments[_address].mul(step).div(1000) * userROIMultiplier; balance += percent.mul(minutesCount % 60).div(1440); return balance; } /** * @dev Withdraw dividends from contract */ function withdraw() public returns (bool){ require(joined[msg.sender] > 0); uint256 balance = getBalance(msg.sender); // Reset ROI mulitplier of user joined[msg.sender] = block.timestamp; if (address(this).balance > balance){ if (balance > 0){ msg.sender.transfer(balance); emit Withdraw(msg.sender, balance); } return true; } else { if (balance > 0) { msg.sender.transfer(address(this).balance); emit Withdraw(msg.sender, balance); } return true; } } /** * @dev Bounty reward */ function bounty() public { uint256 refBalance = checkReferral(msg.sender); if(refBalance >= minimum) { if (address(this).balance > refBalance) { referrer[msg.sender] = 0; msg.sender.transfer(refBalance); emit Bounty(msg.sender, refBalance); } } } /** * @dev Gets balance of the sender address. * @return An uint256 representing the amount owned by the msg.sender. */ function checkBalance() public view returns (uint256) { return getBalance(msg.sender); } /** * @dev Gets investments of the specified address. * @param _investor The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function checkInvestments(address _investor) public view returns (uint256) { return investments[_investor]; } /** * @dev Gets referrer balance of the specified address. * @param _hunter The address of the referrer * @return An uint256 representing the referral earnings. */ function checkReferral(address _hunter) public view returns (uint256) { return referrer[_hunter]; } } /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { 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; } 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; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"_hunter","type":"address"}],"name":"checkReferral","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maximum","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minimum","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakingRequirement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"},{"name":"newOwnerWallet","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_investor","type":"address"}],"name":"checkInvestments","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ownerWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"bounty","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"checkBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"step","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_referredBy","type":"address"}],"name":"buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"investor","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Invest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"investor","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"hunter","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Bounty","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
6080604052610960600355662386f26fc10000600455674563918244f400006005556706f05b59d3b2000060065534801561003957600080fd5b506008805433600160a060020a031991821681179092556007805490911690911790556108998061006b6000396000f3006080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630c19f80e81146100db5780633ccfd60b1461010e57806352342f131461013757806352d6804d1461014c57806356d399e8146101615780636d43542114610176578063835c11541461019d5780638da5cb5b146101be5780639335dcb7146101ef578063943dfef114610204578063c71daccb14610219578063e25fe1751461022e578063f088d54714610243578063f8b2cb4f14610257575b6100d96000610278565b005b3480156100e757600080fd5b506100fc600160a060020a036004351661043c565b60408051918252519081900360200190f35b34801561011a57600080fd5b50610123610457565b604080519115158252519081900360200190f35b34801561014357600080fd5b506100fc610550565b34801561015857600080fd5b506100fc610556565b34801561016d57600080fd5b506100fc61055c565b34801561018257600080fd5b506100d9600160a060020a0360043581169060243516610562565b3480156101a957600080fd5b506100fc600160a060020a0360043516610603565b3480156101ca57600080fd5b506101d361061e565b60408051600160a060020a039092168252519081900360200190f35b3480156101fb57600080fd5b506101d361062d565b34801561021057600080fd5b506100d961063c565b34801561022557600080fd5b506100fc6106d7565b34801561023a57600080fd5b506100fc6106e7565b6100d9600160a060020a0360043516610278565b34801561026357600080fd5b506100fc600160a060020a03600435166106ed565b60045460009034101561028a57600080fd5b60055434111561029957600080fd5b5033600160a060020a038216158015906102c5575080600160a060020a031682600160a060020a031614155b80156102eb5750600654600160a060020a03831660009081526020819052604090205410155b156103545761033a610315606461030934600563ffffffff6107ff16565b9063ffffffff61083516565b600160a060020a0384166000908152600260205260409020549063ffffffff61084c16565b600160a060020a0383166000908152600260205260409020555b33600090815260208190526040812054111561037457610372610457565b505b33600090815260208190526040902054610394903463ffffffff61084c16565b33600090815260208181526040808320939093556001905220429055600754600160a060020a03166108fc6103d5606461030934600563ffffffff6107ff16565b6040518115909202916000818181858888f193505050501580156103fd573d6000803e3d6000fd5b506040805133815234602082015281517fd90d253a9de34d2fdd5a75ae49ea17fcb43af32fc8ea08cc6d2341991dd3872e929181900390910190a15050565b600160a060020a031660009081526002602052604090205490565b336000908152600160205260408120548190811061047457600080fd5b61047d336106ed565b3360009081526001602052604090204290559050303181101561051657600081111561050d57604051339082156108fc029083906000818181858888f193505050501580156104d0573d6000803e3d6000fd5b50604080513381526020810183905281517f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364929181900390910190a15b6001915061054c565b600081111561050d576040513390303180156108fc02916000818181858888f193505050501580156104d0573d6000803e3d6000fd5b5090565b60055481565b60045481565b60065481565b600854600160a060020a0316331461057957600080fd5b600160a060020a038216151561058e57600080fd5b600854604051600160a060020a038085169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360088054600160a060020a0393841673ffffffffffffffffffffffffffffffffffffffff199182161790915560078054929093169116179055565b600160a060020a031660009081526020819052604090205490565b600854600160a060020a031681565b600754600160a060020a031681565b60006106473361043c565b60045490915081106106d45730318110156106d457336000818152600260205260408082208290555183156108fc0291849190818181858888f19350505050158015610697573d6000803e3d6000fd5b50604080513381526020810183905281517f4cc4e2a1284006914465e82a99bce908c3ad5b5d4b08fbef40faf68169cee2a8929181900390910190a15b50565b60006106e2336106ed565b905090565b60035481565b600080600080600080610733603c610309600160008b600160a060020a0316600160a060020a03168152602001908152602001600020544261085b90919063ffffffff16565b945050603c840460020a925060015b838110156107a657600354600160a060020a0388166000908152602081905260409020548291610780916103e891610309919063ffffffff6107ff16565b02925061079a6105a061030985603c63ffffffff6107ff16565b90910190600202610742565b600354600160a060020a03881660009081526020819052604090205485916107dc916103e891610309919063ffffffff6107ff16565b0292506107f26105a061030985603c89066107ff565b9091019695505050505050565b600080831515610812576000915061082e565b5082820282848281151561082257fe5b041461082a57fe5b8091505b5092915050565b600080828481151561084357fe5b04949350505050565b60008282018381101561082a57fe5b60008282111561086757fe5b509003905600a165627a7a723058202b23a19af4fb3fb536e509d038e4a802b83976721d229f8ecba375eb60ae67ef0029
Deployed Bytecode
0x6080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630c19f80e81146100db5780633ccfd60b1461010e57806352342f131461013757806352d6804d1461014c57806356d399e8146101615780636d43542114610176578063835c11541461019d5780638da5cb5b146101be5780639335dcb7146101ef578063943dfef114610204578063c71daccb14610219578063e25fe1751461022e578063f088d54714610243578063f8b2cb4f14610257575b6100d96000610278565b005b3480156100e757600080fd5b506100fc600160a060020a036004351661043c565b60408051918252519081900360200190f35b34801561011a57600080fd5b50610123610457565b604080519115158252519081900360200190f35b34801561014357600080fd5b506100fc610550565b34801561015857600080fd5b506100fc610556565b34801561016d57600080fd5b506100fc61055c565b34801561018257600080fd5b506100d9600160a060020a0360043581169060243516610562565b3480156101a957600080fd5b506100fc600160a060020a0360043516610603565b3480156101ca57600080fd5b506101d361061e565b60408051600160a060020a039092168252519081900360200190f35b3480156101fb57600080fd5b506101d361062d565b34801561021057600080fd5b506100d961063c565b34801561022557600080fd5b506100fc6106d7565b34801561023a57600080fd5b506100fc6106e7565b6100d9600160a060020a0360043516610278565b34801561026357600080fd5b506100fc600160a060020a03600435166106ed565b60045460009034101561028a57600080fd5b60055434111561029957600080fd5b5033600160a060020a038216158015906102c5575080600160a060020a031682600160a060020a031614155b80156102eb5750600654600160a060020a03831660009081526020819052604090205410155b156103545761033a610315606461030934600563ffffffff6107ff16565b9063ffffffff61083516565b600160a060020a0384166000908152600260205260409020549063ffffffff61084c16565b600160a060020a0383166000908152600260205260409020555b33600090815260208190526040812054111561037457610372610457565b505b33600090815260208190526040902054610394903463ffffffff61084c16565b33600090815260208181526040808320939093556001905220429055600754600160a060020a03166108fc6103d5606461030934600563ffffffff6107ff16565b6040518115909202916000818181858888f193505050501580156103fd573d6000803e3d6000fd5b506040805133815234602082015281517fd90d253a9de34d2fdd5a75ae49ea17fcb43af32fc8ea08cc6d2341991dd3872e929181900390910190a15050565b600160a060020a031660009081526002602052604090205490565b336000908152600160205260408120548190811061047457600080fd5b61047d336106ed565b3360009081526001602052604090204290559050303181101561051657600081111561050d57604051339082156108fc029083906000818181858888f193505050501580156104d0573d6000803e3d6000fd5b50604080513381526020810183905281517f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364929181900390910190a15b6001915061054c565b600081111561050d576040513390303180156108fc02916000818181858888f193505050501580156104d0573d6000803e3d6000fd5b5090565b60055481565b60045481565b60065481565b600854600160a060020a0316331461057957600080fd5b600160a060020a038216151561058e57600080fd5b600854604051600160a060020a038085169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360088054600160a060020a0393841673ffffffffffffffffffffffffffffffffffffffff199182161790915560078054929093169116179055565b600160a060020a031660009081526020819052604090205490565b600854600160a060020a031681565b600754600160a060020a031681565b60006106473361043c565b60045490915081106106d45730318110156106d457336000818152600260205260408082208290555183156108fc0291849190818181858888f19350505050158015610697573d6000803e3d6000fd5b50604080513381526020810183905281517f4cc4e2a1284006914465e82a99bce908c3ad5b5d4b08fbef40faf68169cee2a8929181900390910190a15b50565b60006106e2336106ed565b905090565b60035481565b600080600080600080610733603c610309600160008b600160a060020a0316600160a060020a03168152602001908152602001600020544261085b90919063ffffffff16565b945050603c840460020a925060015b838110156107a657600354600160a060020a0388166000908152602081905260409020548291610780916103e891610309919063ffffffff6107ff16565b02925061079a6105a061030985603c63ffffffff6107ff16565b90910190600202610742565b600354600160a060020a03881660009081526020819052604090205485916107dc916103e891610309919063ffffffff6107ff16565b0292506107f26105a061030985603c89066107ff565b9091019695505050505050565b600080831515610812576000915061082e565b5082820282848281151561082257fe5b041461082a57fe5b8091505b5092915050565b600080828481151561084357fe5b04949350505050565b60008282018381101561082a57fe5b60008282111561086757fe5b509003905600a165627a7a723058202b23a19af4fb3fb536e509d038e4a802b83976721d229f8ecba375eb60ae67ef0029
Swarm Source
bzzr://2b23a19af4fb3fb536e509d038e4a802b83976721d229f8ecba375eb60ae67ef
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.