Overview
ETH Balance
0.001280833333333338 ETH
Eth Value
$3.42 (@ $2,671.19/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 103 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 6419889 | 2329 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6418762 | 2329 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6415012 | 2329 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6413871 | 2330 days ago | IN | 0 ETH | 0.00048249 | ||||
Withdraw | 6413595 | 2330 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6413595 | 2330 days ago | IN | 0 ETH | 0.0002187 | ||||
Buy | 6413355 | 2330 days ago | IN | 0.01 ETH | 0.00065141 | ||||
Withdraw | 6412053 | 2330 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6411543 | 2330 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6411519 | 2330 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6411494 | 2330 days ago | IN | 0 ETH | 0.0002187 | ||||
Buy | 6411382 | 2330 days ago | IN | 0.02 ETH | 0.00058803 | ||||
Withdraw | 6411273 | 2330 days ago | IN | 0 ETH | 0.0005361 | ||||
Withdraw | 6411217 | 2330 days ago | IN | 0 ETH | 0.000243 | ||||
Buy | 6410991 | 2330 days ago | IN | 0.01 ETH | 0.00045153 | ||||
Buy | 6410966 | 2330 days ago | IN | 0.01 ETH | 0.00079616 | ||||
Withdraw | 6410938 | 2330 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6410891 | 2330 days ago | IN | 0 ETH | 0.00048249 | ||||
Withdraw | 6410732 | 2330 days ago | IN | 0 ETH | 0.00048249 | ||||
Buy | 6410711 | 2330 days ago | IN | 0.03 ETH | 0.00108568 | ||||
Withdraw | 6410582 | 2330 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6410569 | 2330 days ago | IN | 0 ETH | 0.0002187 | ||||
Buy | 6410238 | 2330 days ago | IN | 0.01 ETH | 0.00070869 | ||||
Buy | 6410195 | 2330 days ago | IN | 0.01 ETH | 0.00065265 | ||||
Withdraw | 6410151 | 2330 days ago | IN | 0 ETH | 0.00064332 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
6413871 | 2330 days ago | 0.01033333 ETH | ||||
6413355 | 2330 days ago | 0.001 ETH | ||||
6411382 | 2330 days ago | 0.002 ETH | ||||
6411382 | 2330 days ago | 0.02075 ETH | ||||
6411273 | 2330 days ago | 0.00516666 ETH | ||||
6410991 | 2330 days ago | 0.001 ETH | ||||
6410991 | 2330 days ago | 0.01083333 ETH | ||||
6410966 | 2330 days ago | 0.001 ETH | ||||
6410891 | 2330 days ago | 0.01175 ETH | ||||
6410732 | 2330 days ago | 0.021 ETH | ||||
6410711 | 2330 days ago | 0.003 ETH | ||||
6410238 | 2330 days ago | 0.001 ETH | ||||
6410195 | 2330 days ago | 0.001 ETH | ||||
6410195 | 2330 days ago | 0.011 ETH | ||||
6410151 | 2330 days ago | 0.01733333 ETH | ||||
6410116 | 2330 days ago | 0.001 ETH | ||||
6409934 | 2330 days ago | 0.0036075 ETH | ||||
6409875 | 2330 days ago | 0.006105 ETH | ||||
6409806 | 2330 days ago | 0.02625 ETH | ||||
6409791 | 2330 days ago | 0.0025 ETH | ||||
6409791 | 2330 days ago | 0.00875 ETH | ||||
6409791 | 2330 days ago | 0.0119325 ETH | ||||
6409651 | 2330 days ago | 0.001 ETH | ||||
6409618 | 2330 days ago | 0.0052725 ETH | ||||
6409581 | 2330 days ago | 0.001 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Percent1200
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-25 */ pragma solidity ^0.4.25; /** * */ contract Percent1200 { using SafeMath for uint256; mapping(address => uint256) investments; mapping(address => uint256) joined; mapping(address => uint256) withdrawals; mapping(address => uint256) referrer; uint256 public step = 100; uint256 public minimum = 10 finney; uint256 public stakingRequirement = 2 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); 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){ if (withdraw()){ withdrawals[msg.sender] = 0; } } investments[msg.sender] = investments[msg.sender].add(msg.value); joined[msg.sender] = block.timestamp; ownerWallet.transfer(msg.value.mul(10).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); uint256 percent = investments[_address].mul(step).div(100); uint256 different = percent.mul(minutesCount).div(120); uint256 balance = different.sub(withdrawals[_address]); return balance; } /** * @dev Withdraw dividends from contract */ function withdraw() public returns (bool){ require(joined[msg.sender] > 0); uint256 balance = getBalance(msg.sender); if (address(this).balance > balance){ if (balance > 0){ withdrawals[msg.sender] = withdrawals[msg.sender].add(balance); msg.sender.transfer(balance); emit Withdraw(msg.sender, balance); } return true; } else { return false; } } /** * @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 withdrawals 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 checkWithdrawals(address _investor) public view returns (uint256) { return withdrawals[_investor]; } /** * @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":"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":"_investor","type":"address"}],"name":"checkWithdrawals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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
60806040526064600455662386f26fc10000600555671bc16d674ec8000060065534801561002c57600080fd5b506008805433600160a060020a031991821681179092556007805490911690911790556108588061005e6000396000f3006080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630c19f80e81146100db5780633ccfd60b1461010e57806352d6804d1461013757806356d399e81461014c5780636d43542114610161578063835c1154146101885780638da5cb5b146101a95780639335dcb7146101da578063943dfef1146101ef5780639d9fcc7214610204578063c71daccb14610225578063e25fe1751461023a578063f088d5471461024f578063f8b2cb4f14610263575b6100d96000610284565b005b3480156100e757600080fd5b506100fc600160a060020a036004351661044d565b60408051918252519081900360200190f35b34801561011a57600080fd5b50610123610468565b604080519115158252519081900360200190f35b34801561014357600080fd5b506100fc61054f565b34801561015857600080fd5b506100fc610555565b34801561016d57600080fd5b506100d9600160a060020a036004358116906024351661055b565b34801561019457600080fd5b506100fc600160a060020a03600435166105fc565b3480156101b557600080fd5b506101be610617565b60408051600160a060020a039092168252519081900360200190f35b3480156101e657600080fd5b506101be610626565b3480156101fb57600080fd5b506100d9610635565b34801561021057600080fd5b506100fc600160a060020a03600435166106d0565b34801561023157600080fd5b506100fc6106eb565b34801561024657600080fd5b506100fc6106fb565b6100d9600160a060020a0360043516610284565b34801561026f57600080fd5b506100fc600160a060020a0360043516610701565b60055460009034101561029657600080fd5b5033600160a060020a038216158015906102c2575080600160a060020a031682600160a060020a031614155b80156102e85750600654600160a060020a03831660009081526020819052604090205410155b1561035157610337610312606461030634600563ffffffff6107be16565b9063ffffffff6107f416565b600160a060020a0384166000908152600360205260409020549063ffffffff61080b16565b600160a060020a0383166000908152600360205260409020555b3360009081526020819052604081205411156103855761036f610468565b1561038557336000908152600260205260408120555b336000908152602081905260409020546103a5903463ffffffff61080b16565b33600090815260208181526040808320939093556001905220429055600754600160a060020a03166108fc6103e6606461030634600a63ffffffff6107be16565b6040518115909202916000818181858888f1935050505015801561040e573d6000803e3d6000fd5b506040805133815234602082015281517fd90d253a9de34d2fdd5a75ae49ea17fcb43af32fc8ea08cc6d2341991dd3872e929181900390910190a15050565b600160a060020a031660009081526003602052604090205490565b336000908152600160205260408120548190811061048557600080fd5b61048e33610701565b9050303181101561054657600081111561053d57336000908152600260205260409020546104c2908263ffffffff61080b16565b33600081815260026020526040808220939093559151909183156108fc02918491818181858888f19350505050158015610500573d6000803e3d6000fd5b50604080513381526020810183905281517f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364929181900390910190a15b6001915061054b565b600091505b5090565b60055481565b60065481565b600854600160a060020a0316331461057257600080fd5b600160a060020a038216151561058757600080fd5b600854604051600160a060020a038085169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360088054600160a060020a0393841673ffffffffffffffffffffffffffffffffffffffff199182161790915560078054929093169116179055565b600160a060020a031660009081526020819052604090205490565b600854600160a060020a031681565b600754600160a060020a031681565b60006106403361044d565b60055490915081106106cd5730318110156106cd57336000818152600360205260408082208290555183156108fc0291849190818181858888f19350505050158015610690573d6000803e3d6000fd5b50604080513381526020810183905281517f4cc4e2a1284006914465e82a99bce908c3ad5b5d4b08fbef40faf68169cee2a8929181900390910190a15b50565b600160a060020a031660009081526002602052604090205490565b60006106f633610701565b905090565b60045481565b600160a060020a038116600090815260016020526040812054819081908190819061073a90603c9061030690429063ffffffff61081a16565b600454600160a060020a03881660009081526020819052604090205491955061077091606491610306919063ffffffff6107be16565b92506107876078610306858763ffffffff6107be16565b600160a060020a0387166000908152600260205260409020549092506107b490839063ffffffff61081a16565b9695505050505050565b6000808315156107d157600091506107ed565b508282028284828115156107e157fe5b04146107e957fe5b8091505b5092915050565b600080828481151561080257fe5b04949350505050565b6000828201838110156107e957fe5b60008282111561082657fe5b509003905600a165627a7a723058202700ccf68640f3d53dc5fea587637c085e9ccecff43ea31f96e0f01ab55ae9ee0029
Deployed Bytecode
0x6080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630c19f80e81146100db5780633ccfd60b1461010e57806352d6804d1461013757806356d399e81461014c5780636d43542114610161578063835c1154146101885780638da5cb5b146101a95780639335dcb7146101da578063943dfef1146101ef5780639d9fcc7214610204578063c71daccb14610225578063e25fe1751461023a578063f088d5471461024f578063f8b2cb4f14610263575b6100d96000610284565b005b3480156100e757600080fd5b506100fc600160a060020a036004351661044d565b60408051918252519081900360200190f35b34801561011a57600080fd5b50610123610468565b604080519115158252519081900360200190f35b34801561014357600080fd5b506100fc61054f565b34801561015857600080fd5b506100fc610555565b34801561016d57600080fd5b506100d9600160a060020a036004358116906024351661055b565b34801561019457600080fd5b506100fc600160a060020a03600435166105fc565b3480156101b557600080fd5b506101be610617565b60408051600160a060020a039092168252519081900360200190f35b3480156101e657600080fd5b506101be610626565b3480156101fb57600080fd5b506100d9610635565b34801561021057600080fd5b506100fc600160a060020a03600435166106d0565b34801561023157600080fd5b506100fc6106eb565b34801561024657600080fd5b506100fc6106fb565b6100d9600160a060020a0360043516610284565b34801561026f57600080fd5b506100fc600160a060020a0360043516610701565b60055460009034101561029657600080fd5b5033600160a060020a038216158015906102c2575080600160a060020a031682600160a060020a031614155b80156102e85750600654600160a060020a03831660009081526020819052604090205410155b1561035157610337610312606461030634600563ffffffff6107be16565b9063ffffffff6107f416565b600160a060020a0384166000908152600360205260409020549063ffffffff61080b16565b600160a060020a0383166000908152600360205260409020555b3360009081526020819052604081205411156103855761036f610468565b1561038557336000908152600260205260408120555b336000908152602081905260409020546103a5903463ffffffff61080b16565b33600090815260208181526040808320939093556001905220429055600754600160a060020a03166108fc6103e6606461030634600a63ffffffff6107be16565b6040518115909202916000818181858888f1935050505015801561040e573d6000803e3d6000fd5b506040805133815234602082015281517fd90d253a9de34d2fdd5a75ae49ea17fcb43af32fc8ea08cc6d2341991dd3872e929181900390910190a15050565b600160a060020a031660009081526003602052604090205490565b336000908152600160205260408120548190811061048557600080fd5b61048e33610701565b9050303181101561054657600081111561053d57336000908152600260205260409020546104c2908263ffffffff61080b16565b33600081815260026020526040808220939093559151909183156108fc02918491818181858888f19350505050158015610500573d6000803e3d6000fd5b50604080513381526020810183905281517f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364929181900390910190a15b6001915061054b565b600091505b5090565b60055481565b60065481565b600854600160a060020a0316331461057257600080fd5b600160a060020a038216151561058757600080fd5b600854604051600160a060020a038085169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360088054600160a060020a0393841673ffffffffffffffffffffffffffffffffffffffff199182161790915560078054929093169116179055565b600160a060020a031660009081526020819052604090205490565b600854600160a060020a031681565b600754600160a060020a031681565b60006106403361044d565b60055490915081106106cd5730318110156106cd57336000818152600360205260408082208290555183156108fc0291849190818181858888f19350505050158015610690573d6000803e3d6000fd5b50604080513381526020810183905281517f4cc4e2a1284006914465e82a99bce908c3ad5b5d4b08fbef40faf68169cee2a8929181900390910190a15b50565b600160a060020a031660009081526002602052604090205490565b60006106f633610701565b905090565b60045481565b600160a060020a038116600090815260016020526040812054819081908190819061073a90603c9061030690429063ffffffff61081a16565b600454600160a060020a03881660009081526020819052604090205491955061077091606491610306919063ffffffff6107be16565b92506107876078610306858763ffffffff6107be16565b600160a060020a0387166000908152600260205260409020549092506107b490839063ffffffff61081a16565b9695505050505050565b6000808315156107d157600091506107ed565b508282028284828115156107e157fe5b04146107e957fe5b8091505b5092915050565b600080828481151561080257fe5b04949350505050565b6000828201838110156107e957fe5b60008282111561082657fe5b509003905600a165627a7a723058202700ccf68640f3d53dc5fea587637c085e9ccecff43ea31f96e0f01ab55ae9ee0029
Swarm Source
bzzr://2700ccf68640f3d53dc5fea587637c085e9ccecff43ea31f96e0f01ab55ae9ee
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,671.19 | 0.00128083 | $3.42 |
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.