Overview
ETH Balance
0.000051946002067184 ETH
Eth Value
$0.13 (@ $2,454.92/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 317 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 6533427 | 2208 days ago | IN | 0 ETH | 0.00011583 | ||||
Withdraw | 6532661 | 2208 days ago | IN | 0 ETH | 0.00015289 | ||||
Withdraw | 6520153 | 2210 days ago | IN | 0 ETH | 0.00013127 | ||||
Withdraw | 6513529 | 2211 days ago | IN | 0 ETH | 0.00164 | ||||
Withdraw | 6513488 | 2212 days ago | IN | 0 ETH | 0.00164 | ||||
Withdraw | 6513331 | 2212 days ago | IN | 0 ETH | 0.0003645 | ||||
Withdraw Stock | 6513313 | 2212 days ago | IN | 0 ETH | 0.00002187 | ||||
Withdraw | 6512733 | 2212 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6511764 | 2212 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw Stock | 6511686 | 2212 days ago | IN | 0 ETH | 0.00004374 | ||||
Withdraw Stock | 6510516 | 2212 days ago | IN | 0 ETH | 0.00006561 | ||||
Buy | 6510509 | 2212 days ago | IN | 0.01 ETH | 0.00047708 | ||||
Withdraw | 6510495 | 2212 days ago | IN | 0 ETH | 0.000486 | ||||
Withdraw | 6510493 | 2212 days ago | IN | 0 ETH | 0.000972 | ||||
Withdraw | 6510465 | 2212 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6510238 | 2212 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6510135 | 2212 days ago | IN | 0 ETH | 0.00034749 | ||||
Withdraw | 6509899 | 2212 days ago | IN | 0 ETH | 0.0002187 | ||||
Withdraw | 6509894 | 2212 days ago | IN | 0 ETH | 0.00034749 | ||||
Withdraw | 6509125 | 2212 days ago | IN | 0 ETH | 0.00008494 | ||||
Buy | 6504520 | 2213 days ago | IN | 0.01 ETH | 0.00047708 | ||||
Withdraw | 6504510 | 2213 days ago | IN | 0 ETH | 0.0002187 | ||||
Buy | 6504498 | 2213 days ago | IN | 0.01 ETH | 0.00047708 | ||||
Withdraw Stock | 6504482 | 2213 days ago | IN | 0 ETH | 0.00006561 | ||||
Withdraw | 6503239 | 2213 days ago | IN | 0 ETH | 0.0002187 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
6533427 | 2208 days ago | 0.0003 ETH | ||||
6532661 | 2208 days ago | 0.004905 ETH | ||||
6520153 | 2210 days ago | 0.00432333 ETH | ||||
6510509 | 2212 days ago | 0.0005 ETH | ||||
6510509 | 2212 days ago | 0.0005 ETH | ||||
6510135 | 2212 days ago | 0.00906233 ETH | ||||
6509894 | 2212 days ago | 0.00589066 ETH | ||||
6509125 | 2212 days ago | 0.00250666 ETH | ||||
6504520 | 2213 days ago | 0.0005 ETH | ||||
6504520 | 2213 days ago | 0.0005 ETH | ||||
6504498 | 2213 days ago | 0.0005 ETH | ||||
6504498 | 2213 days ago | 0.0005 ETH | ||||
6502624 | 2213 days ago | 0.00062166 ETH | ||||
6501054 | 2214 days ago | 0.002485 ETH | ||||
6500705 | 2214 days ago | 0.01455 ETH | ||||
6499647 | 2214 days ago | 0.00996 ETH | ||||
6498652 | 2214 days ago | 0.0005 ETH | ||||
6498652 | 2214 days ago | 0.0005 ETH | ||||
6496834 | 2214 days ago | 0.0005 ETH | ||||
6496834 | 2214 days ago | 0.0005 ETH | ||||
6496415 | 2214 days ago | 0.00666666 ETH | ||||
6495866 | 2214 days ago | 0.00065496 ETH | ||||
6495866 | 2214 days ago | 0.00065496 ETH | ||||
6495715 | 2214 days ago | 0.00014283 ETH | ||||
6495712 | 2214 days ago | 0.00028566 ETH |
Loading...
Loading
Contract Name:
TwelveHourRush
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-28 */ pragma solidity ^0.4.24; /** * 12HourRush website:http://12HourRush.com Discord:https://discordapp.com/invite/tey5cG Twitter:https://twitter.com/TwelveHourRush */ contract TwelveHourRush{ using SafeMath for uint256; mapping(address => uint256) investments; mapping(address => uint256) joined; mapping(address => uint256) withdrawals; mapping(address => uint256) referrer; uint256 public minimum = 10000000000000000; uint256 public step = 12; address public ownerWallet; address public owner; address public bountyManager; address promoter = 0x4c3B215a24fCd7dd34d4EDF098A5d8609FfEBD63; 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(address _bountyManager) public { owner = msg.sender; ownerWallet = msg.sender; bountyManager = _bountyManager; } /** * @dev Modifiers */ modifier onlyOwner() { require(msg.sender == owner); _; } modifier onlyBountyManager() { require(msg.sender == bountyManager); _; } /** * @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 () external payable { require(msg.value >= minimum); 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.div(100).mul(5)); promoter.transfer(msg.value.div(100).mul(5)); 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(720); 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]; } /** * @dev Updates referrer balance * @param _hunter The address of the referrer * @param _amount An uint256 representing the referral earnings. */ function updateReferral(address _hunter, uint256 _amount) onlyBountyManager public { referrer[_hunter] = referrer[_hunter].add(_amount); } } /** * @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":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":"bountyManager","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"checkBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_hunter","type":"address"},{"name":"_amount","type":"uint256"}],"name":"updateReferral","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"step","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_bountyManager","type":"address"}],"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
6080604052662386f26fc10000600455600c60055560098054600160a060020a031916734c3b215a24fcd7dd34d4edf098a5d8609ffebd6317905534801561004657600080fd5b5060405160208061090f83398101604052516007805433600160a060020a0319918216811790925560068054821690921790915560088054909116600160a060020a0390921691909117905561086e806100a16000396000f3006080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630c19f80e81146102325780633ccfd60b1461026557806352d6804d1461028e5780636d435421146102a3578063835c1154146102cc5780638da5cb5b146102ed5780639335dcb71461031e578063943dfef1146103335780639d9fcc7214610348578063b36b9ffd14610369578063c71daccb1461037e578063d3cde1a514610393578063e25fe175146103b7578063f8b2cb4f146103cc575b6004543410156100de57600080fd5b336000908152602081905260408120541115610112576100fc6103ed565b1561011257336000908152600260205260408120555b33600090815260208190526040902054610132903463ffffffff6104d416565b33600090815260208181526040808320939093556001905220429055600654600160a060020a03166108fc61017f600561017334606463ffffffff6104ee16565b9063ffffffff61050516565b6040518115909202916000818181858888f193505050501580156101a7573d6000803e3d6000fd5b50600954600160a060020a03166108fc6101cd600561017334606463ffffffff6104ee16565b6040518115909202916000818181858888f193505050501580156101f5573d6000803e3d6000fd5b506040805133815234602082015281517fd90d253a9de34d2fdd5a75ae49ea17fcb43af32fc8ea08cc6d2341991dd3872e929181900390910190a1005b34801561023e57600080fd5b50610253600160a060020a0360043516610530565b60408051918252519081900360200190f35b34801561027157600080fd5b5061027a6103ed565b604080519115158252519081900360200190f35b34801561029a57600080fd5b5061025361054b565b3480156102af57600080fd5b506102ca600160a060020a0360043581169060243516610551565b005b3480156102d857600080fd5b50610253600160a060020a03600435166105f2565b3480156102f957600080fd5b5061030261060d565b60408051600160a060020a039092168252519081900360200190f35b34801561032a57600080fd5b5061030261061c565b34801561033f57600080fd5b506102ca61062b565b34801561035457600080fd5b50610253600160a060020a03600435166106c6565b34801561037557600080fd5b506103026106e1565b34801561038a57600080fd5b506102536106f0565b34801561039f57600080fd5b506102ca600160a060020a0360043516602435610700565b3480156103c357600080fd5b50610253610760565b3480156103d857600080fd5b50610253600160a060020a0360043516610766565b336000908152600160205260408120548190811061040a57600080fd5b61041333610766565b905030318110156104cb5760008111156104c25733600090815260026020526040902054610447908263ffffffff6104d416565b33600081815260026020526040808220939093559151909183156108fc02918491818181858888f19350505050158015610485573d6000803e3d6000fd5b50604080513381526020810183905281517f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364929181900390910190a15b600191506104d0565b600091505b5090565b6000828201838110156104e357fe5b8091505b5092915050565b60008082848115156104fc57fe5b04949350505050565b60008083151561051857600091506104e7565b5082820282848281151561052857fe5b04146104e357fe5b600160a060020a031660009081526003602052604090205490565b60045481565b600754600160a060020a0316331461056857600080fd5b600160a060020a038216151561057d57600080fd5b600754604051600160a060020a038085169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360078054600160a060020a0393841673ffffffffffffffffffffffffffffffffffffffff199182161790915560068054929093169116179055565b600160a060020a031660009081526020819052604090205490565b600754600160a060020a031681565b600654600160a060020a031681565b600061063633610530565b60045490915081106106c35730318110156106c357336000818152600360205260408082208290555183156108fc0291849190818181858888f19350505050158015610686573d6000803e3d6000fd5b50604080513381526020810183905281517f4cc4e2a1284006914465e82a99bce908c3ad5b5d4b08fbef40faf68169cee2a8929181900390910190a15b50565b600160a060020a031660009081526002602052604090205490565b600854600160a060020a031681565b60006106fb33610766565b905090565b600854600160a060020a0316331461071757600080fd5b600160a060020a038216600090815260036020526040902054610740908263ffffffff6104d416565b600160a060020a0390921660009081526003602052604090209190915550565b60055481565b600160a060020a03811660009081526001602052604081205481908190819081906107ab90603c9061079f90429063ffffffff61083016565b9063ffffffff6104ee16565b600554600160a060020a0388166000908152602081905260409020549195506107e19160649161079f919063ffffffff61050516565b92506107f96102d061079f858763ffffffff61050516565b600160a060020a03871660009081526002602052604090205490925061082690839063ffffffff61083016565b9695505050505050565b60008282111561083c57fe5b509003905600a165627a7a723058205f99dba8284c3f6837a4ae1889a6406fbf486d76878125bd252c53fb9c6ccfaf00290000000000000000000000004c3b215a24fcd7dd34d4edf098a5d8609ffebd63
Deployed Bytecode
0x6080604052600436106100cf5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630c19f80e81146102325780633ccfd60b1461026557806352d6804d1461028e5780636d435421146102a3578063835c1154146102cc5780638da5cb5b146102ed5780639335dcb71461031e578063943dfef1146103335780639d9fcc7214610348578063b36b9ffd14610369578063c71daccb1461037e578063d3cde1a514610393578063e25fe175146103b7578063f8b2cb4f146103cc575b6004543410156100de57600080fd5b336000908152602081905260408120541115610112576100fc6103ed565b1561011257336000908152600260205260408120555b33600090815260208190526040902054610132903463ffffffff6104d416565b33600090815260208181526040808320939093556001905220429055600654600160a060020a03166108fc61017f600561017334606463ffffffff6104ee16565b9063ffffffff61050516565b6040518115909202916000818181858888f193505050501580156101a7573d6000803e3d6000fd5b50600954600160a060020a03166108fc6101cd600561017334606463ffffffff6104ee16565b6040518115909202916000818181858888f193505050501580156101f5573d6000803e3d6000fd5b506040805133815234602082015281517fd90d253a9de34d2fdd5a75ae49ea17fcb43af32fc8ea08cc6d2341991dd3872e929181900390910190a1005b34801561023e57600080fd5b50610253600160a060020a0360043516610530565b60408051918252519081900360200190f35b34801561027157600080fd5b5061027a6103ed565b604080519115158252519081900360200190f35b34801561029a57600080fd5b5061025361054b565b3480156102af57600080fd5b506102ca600160a060020a0360043581169060243516610551565b005b3480156102d857600080fd5b50610253600160a060020a03600435166105f2565b3480156102f957600080fd5b5061030261060d565b60408051600160a060020a039092168252519081900360200190f35b34801561032a57600080fd5b5061030261061c565b34801561033f57600080fd5b506102ca61062b565b34801561035457600080fd5b50610253600160a060020a03600435166106c6565b34801561037557600080fd5b506103026106e1565b34801561038a57600080fd5b506102536106f0565b34801561039f57600080fd5b506102ca600160a060020a0360043516602435610700565b3480156103c357600080fd5b50610253610760565b3480156103d857600080fd5b50610253600160a060020a0360043516610766565b336000908152600160205260408120548190811061040a57600080fd5b61041333610766565b905030318110156104cb5760008111156104c25733600090815260026020526040902054610447908263ffffffff6104d416565b33600081815260026020526040808220939093559151909183156108fc02918491818181858888f19350505050158015610485573d6000803e3d6000fd5b50604080513381526020810183905281517f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364929181900390910190a15b600191506104d0565b600091505b5090565b6000828201838110156104e357fe5b8091505b5092915050565b60008082848115156104fc57fe5b04949350505050565b60008083151561051857600091506104e7565b5082820282848281151561052857fe5b04146104e357fe5b600160a060020a031660009081526003602052604090205490565b60045481565b600754600160a060020a0316331461056857600080fd5b600160a060020a038216151561057d57600080fd5b600754604051600160a060020a038085169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360078054600160a060020a0393841673ffffffffffffffffffffffffffffffffffffffff199182161790915560068054929093169116179055565b600160a060020a031660009081526020819052604090205490565b600754600160a060020a031681565b600654600160a060020a031681565b600061063633610530565b60045490915081106106c35730318110156106c357336000818152600360205260408082208290555183156108fc0291849190818181858888f19350505050158015610686573d6000803e3d6000fd5b50604080513381526020810183905281517f4cc4e2a1284006914465e82a99bce908c3ad5b5d4b08fbef40faf68169cee2a8929181900390910190a15b50565b600160a060020a031660009081526002602052604090205490565b600854600160a060020a031681565b60006106fb33610766565b905090565b600854600160a060020a0316331461071757600080fd5b600160a060020a038216600090815260036020526040902054610740908263ffffffff6104d416565b600160a060020a0390921660009081526003602052604090209190915550565b60055481565b600160a060020a03811660009081526001602052604081205481908190819081906107ab90603c9061079f90429063ffffffff61083016565b9063ffffffff6104ee16565b600554600160a060020a0388166000908152602081905260409020549195506107e19160649161079f919063ffffffff61050516565b92506107f96102d061079f858763ffffffff61050516565b600160a060020a03871660009081526002602052604090205490925061082690839063ffffffff61083016565b9695505050505050565b60008282111561083c57fe5b509003905600a165627a7a723058205f99dba8284c3f6837a4ae1889a6406fbf486d76878125bd252c53fb9c6ccfaf0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004c3b215a24fcd7dd34d4edf098a5d8609ffebd63
-----Decoded View---------------
Arg [0] : _bountyManager (address): 0x4c3B215a24fCd7dd34d4EDF098A5d8609FfEBD63
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004c3b215a24fcd7dd34d4edf098a5d8609ffebd63
Swarm Source
bzzr://5f99dba8284c3f6837a4ae1889a6406fbf486d76878125bd252c53fb9c6ccfaf
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $2,454.92 | 0.00005195 | $0.127523 |
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.