ETH Price: $3,139.98 (-0.73%)

Contract

0x4FB663c1616BFE80b5b6d5a214eFa81d5A121801
 

Overview

ETH Balance

1.46446104370076075 ETH

Eth Value

$4,598.37 (@ $3,139.98/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Reset Beneficiar...153967942022-08-23 13:17:13814 days ago1661260633IN
0x4FB663c1...d5A121801
0 ETH0.0002441910.39032432
Transfer76935902019-05-04 9:03:272021 days ago1556960607IN
0x4FB663c1...d5A121801
0 ETH0.000361125
Transfer75793112019-04-16 13:56:212039 days ago1555422981IN
0x4FB663c1...d5A121801
0 ETH0.000361125
Transfer75583002019-04-13 7:33:562042 days ago1555140836IN
0x4FB663c1...d5A121801
0 ETH0.000361125
Transfer75473192019-04-11 14:39:332044 days ago1554993573IN
0x4FB663c1...d5A121801
0.01 ETH0.000436125
Perform Payouts53604092018-04-01 10:26:482419 days ago1522578408IN
0x4FB663c1...d5A121801
0 ETH0.000020.1
Transfer53222382018-03-26 0:40:442425 days ago1522024844IN
0x4FB663c1...d5A121801
0.0015 ETH0.00034894
Transfer53179492018-03-25 7:31:102426 days ago1521963070IN
0x4FB663c1...d5A121801
0.015 ETH0.000174452
Reset Beneficiar...44380392017-10-27 7:45:042575 days ago1509090304IN
0x4FB663c1...d5A121801
0 ETH0.00009164.2
Transfer43678192017-10-15 11:36:362587 days ago1508067396IN
0x4FB663c1...d5A121801
0.001 ETH0.0018317221
Transfer43364402017-10-04 14:57:202598 days ago1507129040IN
0x4FB663c1...d5A121801
0.003 ETH0.00044121
Transfer43363862017-10-04 14:32:462598 days ago1507127566IN
0x4FB663c1...d5A121801
0.001 ETH0.001744520
Transfer43363722017-10-04 14:25:022598 days ago1507127102IN
0x4FB663c1...d5A121801
0.01 ETH0.00044121
Perform Payouts42234122017-08-31 12:40:462632 days ago1504183246IN
0x4FB663c1...d5A121801
0 ETH0.0030334535
Perform Payouts42140592017-08-28 21:08:142634 days ago1503954494IN
0x4FB663c1...d5A121801
0 ETH0.031977345
Transfer42115412017-08-28 3:33:592635 days ago1503891239IN
0x4FB663c1...d5A121801
0.132239 ETH0.0021958325.17443251
Change Admin38156552017-06-03 20:52:202720 days ago1496523140IN
0x4FB663c1...d5A121801
0 ETH0.000489821
Add Beneficiary37696462017-05-26 8:10:242729 days ago1495786224IN
0x4FB663c1...d5A121801
0 ETH0.000465620
Perform Payouts37541862017-05-23 12:02:172732 days ago1495540937IN
0x4FB663c1...d5A121801
0 ETH0.0006321
Transfer37512112017-05-22 22:39:132732 days ago1495492753IN
0x4FB663c1...d5A121801
0.005 ETH0.0019189522
Change Admin37309412017-05-19 5:23:492736 days ago1495171429IN
0x4FB663c1...d5A121801
0 ETH0.0004664820
Change Admin37309382017-05-19 5:22:272736 days ago1495171347IN
0x4FB663c1...d5A121801
0 ETH0.0004408820
Perform Payouts37285512017-05-18 19:05:352737 days ago1495134335IN
0x4FB663c1...d5A121801
0 ETH0.000820
Perform Payouts37273892017-05-18 13:57:422737 days ago1495115862IN
0x4FB663c1...d5A121801
0 ETH0.0012
Perform Payouts37273742017-05-18 13:53:482737 days ago1495115628IN
0x4FB663c1...d5A121801
0 ETH0.000173342
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.00264 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.033 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.03343413 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.0165 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.0165 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.0033 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.24553782 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.24552383 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.00033 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.00429 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.0033 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.099 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.0066 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.0066 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.01716 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.0033 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.02690752 ETH
53604092018-04-01 10:26:482419 days ago1522578408
0x4FB663c1...d5A121801
0.02690752 ETH
45564032017-11-15 9:11:252556 days ago1510737085
0x4FB663c1...d5A121801
0.02660227 ETH
42234122017-08-31 12:40:462632 days ago1504183246
0x4FB663c1...d5A121801
0.0066 ETH
42234122017-08-31 12:40:462632 days ago1504183246
0x4FB663c1...d5A121801
0.0066 ETH
42234122017-08-31 12:40:462632 days ago1504183246
0x4FB663c1...d5A121801
0.01716 ETH
42234122017-08-31 12:40:462632 days ago1504183246
0x4FB663c1...d5A121801
0.0033 ETH
42234122017-08-31 12:40:462632 days ago1504183246
0x4FB663c1...d5A121801
0.02656527 ETH
42234122017-08-31 12:40:462632 days ago1504183246
0x4FB663c1...d5A121801
0.02656527 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HYIP

Compiler Version
v0.4.8+commit.60cc1668

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-04-18
*/

pragma solidity ^0.4.2;

contract HYIP {
	
	/* CONTRACT SETUP */

	uint constant PAYOUT_INTERVAL = 1 days;

	/* NB: Solidity doesn't support fixed or floats yet, so we use promille instead of percent */	
	uint constant BENEFICIARIES_INTEREST = 37;
	uint constant INVESTORS_INTEREST = 33;
	uint constant INTEREST_DENOMINATOR = 1000;

	/* DATA TYPES */

	/* the payout happend */
	event Payout(uint paidPeriods, uint investors, uint beneficiaries);
	
	/* Investor struct: describes a single investor */
	struct Investor
	{	
		address etherAddress;
		uint deposit;
		uint investmentTime;
	}

	/* FUNCTION MODIFIERS */
	modifier adminOnly { if (msg.sender == m_admin) _; }

	/* VARIABLE DECLARATIONS */

	/* the contract owner, the only address that can change beneficiaries */
	address private m_admin;

	/* the time of last payout */
	uint private m_latestPaidTime;

	/* Array of investors */
	Investor[] private m_investors;

	/* Array of beneficiaries */
	address[] private m_beneficiaries;
	
	/* PUBLIC FUNCTIONS */

	/* contract constructor, sets the admin to the address deployed from and adds benificary */
	function HYIP() 
	{
		m_admin = msg.sender;
		m_latestPaidTime = now;		
	}

	/* fallback function: called when the contract received plain ether */
	function() payable
	{
		addInvestor();
	}

	function Invest() payable
	{
		addInvestor();	
	}

	function status() constant returns (uint bank, uint investorsCount, uint beneficiariesCount, uint unpaidTime, uint unpaidIntervals)
	{
		bank = this.balance;
		investorsCount = m_investors.length;
		beneficiariesCount = m_beneficiaries.length;
		unpaidTime = now - m_latestPaidTime;
		unpaidIntervals = unpaidTime / PAYOUT_INTERVAL;
	}


	/* checks if it's time to make payouts. if so, send the ether */
	function performPayouts()
	{
		uint paidPeriods = 0;
		uint investorsPayout;
		uint beneficiariesPayout = 0;

		while(m_latestPaidTime + PAYOUT_INTERVAL < now)
		{						
			uint idx;

			/* pay the beneficiaries */		
			if(m_beneficiaries.length > 0) 
			{
				beneficiariesPayout = (this.balance * BENEFICIARIES_INTEREST) / INTEREST_DENOMINATOR;
				uint eachBeneficiaryPayout = beneficiariesPayout / m_beneficiaries.length;  
				for(idx = 0; idx < m_beneficiaries.length; idx++)
				{
					if(!m_beneficiaries[idx].send(eachBeneficiaryPayout))
						throw;				
				}
			}

			/* pay the investors  */
			/* we use reverse iteration here */
			for (idx = m_investors.length; idx-- > 0; )
			{
				if(m_investors[idx].investmentTime > m_latestPaidTime + PAYOUT_INTERVAL)
					continue;
				uint payout = (m_investors[idx].deposit * INVESTORS_INTEREST) / INTEREST_DENOMINATOR;
				if(!m_investors[idx].etherAddress.send(payout))
					throw;
				investorsPayout += payout;	
			}
			
			/* save the latest paid time */
			m_latestPaidTime += PAYOUT_INTERVAL;
			paidPeriods++;
		}
			
		/* emit the Payout event */
		Payout(paidPeriods, investorsPayout, beneficiariesPayout);
	}

	/* PRIVATE FUNCTIONS */
	function addInvestor() private 
	{
		m_investors.push(Investor(msg.sender, msg.value, now));
	}

	/* ADMIN FUNCTIONS */

	/* pass the admin rights to another address */
	function changeAdmin(address newAdmin) adminOnly 
	{
		m_admin = newAdmin;
	}

	/* add one more benificiary to the list */
	function addBeneficiary(address beneficiary) adminOnly
	{
		m_beneficiaries.push(beneficiary);
	}


	/* reset beneficiary list */
	function resetBeneficiaryList() adminOnly
	{
		delete m_beneficiaries;
	}
	
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"status","outputs":[{"name":"bank","type":"uint256"},{"name":"investorsCount","type":"uint256"},{"name":"beneficiariesCount","type":"uint256"},{"name":"unpaidTime","type":"uint256"},{"name":"unpaidIntervals","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"addBeneficiary","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"resetBeneficiaryList","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"Invest","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[],"name":"performPayouts","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"paidPeriods","type":"uint256"},{"indexed":false,"name":"investors","type":"uint256"},{"indexed":false,"name":"beneficiaries","type":"uint256"}],"name":"Payout","type":"event"}]

606060405234610000575b60008054600160a060020a03191633600160a060020a0316179055426001555b5b61053d8061003a6000396000f3006060604052361561005c5763ffffffff60e060020a600035041663200d2ed2811461006d5780635926651d146100a557806361c76231146100c05780638f283970146100cf578063c0819961146100ea578063f0ba96ff146100f4575b61006b5b610068610103565b5b565b005b346100005761007a6101c3565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b346100005761006b600160a060020a03600435166101ea565b005b346100005761006b61027a565b005b346100005761006b600160a060020a03600435166102e7565b005b61006b610060565b005b346100005761006b61032a565b005b600280548060010182818154818355818115116101655760030281600302836000526020600020918201910161016591905b80821115610161578054600160a060020a03191681556000600182018190556002820155600301610135565b5090565b5b505050916000526020600020906003020160005b5060408051606081018252600160a060020a033316808252346020830181905242929093018290528354600160a060020a0319161783556001830191909155600290910155505b565b60025460035460015430600160a060020a03163192919042036201518081045b9091929394565b60005433600160a060020a03908116911614156102755760038054806001018281815481835581811511610243576000838152602090206102439181019083015b80821115610161576000815560010161022b565b5090565b5b505050916000526020600020900160005b8154600160a060020a038086166101009390930a92830292021916179055505b5b5b50565b60005433600160a060020a03908116911614156100685760038054600080835591909152610275907fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b908101905b80821115610161576000815560010161022b565b5090565b5b505b5b5b565b60005433600160a060020a03908116911614156102755760008054600160a060020a031916600160a060020a0383161790555b5b5b50565b610068610103565b5b565b600080808080805b42620151806001540110156104c85760035460009011156103dd576003546103e8602530600160a060020a0316310204945084811561000057049150600092505b6003548310156103dd57600383815481101561000057906000526020600020900160005b90546040516101009290920a9004600160a060020a0316906108fc8415029084906000818181858888f1935050505015156103d157610000565b5b600190920191610373565b5b60025492505b60001983019260009011156104b3576201518060015401600284815481101561000057906000526020600020906003020160005b50600201541115610428576104ae565b6103e86021600285815481101561000057906000526020600020906003020160005b506001015402811561000057049050600283815481101561000057906000526020600020906003020160005b5054604051600160a060020a039091169082156108fc029083906000818181858888f1935050505015156104a957610000565b938401935b6103e4565b60018054620151800181559590950194610332565b604080518781526020810187905280820186905290517fc8be76c1b18e6f688cdb6f785d69442c4f00222e1884d39e40e761aab9e0f2949181900360600190a15b5050505050505600a165627a7a723058207ffe85bf72ed867907f434968de0e501a2c429e04ae2eabac222d163f95565eb0029

Deployed Bytecode

0x6060604052361561005c5763ffffffff60e060020a600035041663200d2ed2811461006d5780635926651d146100a557806361c76231146100c05780638f283970146100cf578063c0819961146100ea578063f0ba96ff146100f4575b61006b5b610068610103565b5b565b005b346100005761007a6101c3565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b346100005761006b600160a060020a03600435166101ea565b005b346100005761006b61027a565b005b346100005761006b600160a060020a03600435166102e7565b005b61006b610060565b005b346100005761006b61032a565b005b600280548060010182818154818355818115116101655760030281600302836000526020600020918201910161016591905b80821115610161578054600160a060020a03191681556000600182018190556002820155600301610135565b5090565b5b505050916000526020600020906003020160005b5060408051606081018252600160a060020a033316808252346020830181905242929093018290528354600160a060020a0319161783556001830191909155600290910155505b565b60025460035460015430600160a060020a03163192919042036201518081045b9091929394565b60005433600160a060020a03908116911614156102755760038054806001018281815481835581811511610243576000838152602090206102439181019083015b80821115610161576000815560010161022b565b5090565b5b505050916000526020600020900160005b8154600160a060020a038086166101009390930a92830292021916179055505b5b5b50565b60005433600160a060020a03908116911614156100685760038054600080835591909152610275907fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b908101905b80821115610161576000815560010161022b565b5090565b5b505b5b5b565b60005433600160a060020a03908116911614156102755760008054600160a060020a031916600160a060020a0383161790555b5b5b50565b610068610103565b5b565b600080808080805b42620151806001540110156104c85760035460009011156103dd576003546103e8602530600160a060020a0316310204945084811561000057049150600092505b6003548310156103dd57600383815481101561000057906000526020600020900160005b90546040516101009290920a9004600160a060020a0316906108fc8415029084906000818181858888f1935050505015156103d157610000565b5b600190920191610373565b5b60025492505b60001983019260009011156104b3576201518060015401600284815481101561000057906000526020600020906003020160005b50600201541115610428576104ae565b6103e86021600285815481101561000057906000526020600020906003020160005b506001015402811561000057049050600283815481101561000057906000526020600020906003020160005b5054604051600160a060020a039091169082156108fc029083906000818181858888f1935050505015156104a957610000565b938401935b6103e4565b60018054620151800181559590950194610332565b604080518781526020810187905280820186905290517fc8be76c1b18e6f688cdb6f785d69442c4f00222e1884d39e40e761aab9e0f2949181900360600190a15b5050505050505600a165627a7a723058207ffe85bf72ed867907f434968de0e501a2c429e04ae2eabac222d163f95565eb0029

Swarm Source

bzzr://7ffe85bf72ed867907f434968de0e501a2c429e04ae2eabac222d163f95565eb

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.