Overview
ETH Balance
1.46446104370076075 ETH
Eth Value
$4,598.37 (@ $3,139.98/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 91 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Reset Beneficiar... | 15396794 | 814 days ago | IN | 0 ETH | 0.00024419 | ||||
Transfer | 7693590 | 2021 days ago | IN | 0 ETH | 0.00036112 | ||||
Transfer | 7579311 | 2039 days ago | IN | 0 ETH | 0.00036112 | ||||
Transfer | 7558300 | 2042 days ago | IN | 0 ETH | 0.00036112 | ||||
Transfer | 7547319 | 2044 days ago | IN | 0.01 ETH | 0.00043612 | ||||
Perform Payouts | 5360409 | 2419 days ago | IN | 0 ETH | 0.00002 | ||||
Transfer | 5322238 | 2425 days ago | IN | 0.0015 ETH | 0.0003489 | ||||
Transfer | 5317949 | 2426 days ago | IN | 0.015 ETH | 0.00017445 | ||||
Reset Beneficiar... | 4438039 | 2575 days ago | IN | 0 ETH | 0.0000916 | ||||
Transfer | 4367819 | 2587 days ago | IN | 0.001 ETH | 0.00183172 | ||||
Transfer | 4336440 | 2598 days ago | IN | 0.003 ETH | 0.000441 | ||||
Transfer | 4336386 | 2598 days ago | IN | 0.001 ETH | 0.0017445 | ||||
Transfer | 4336372 | 2598 days ago | IN | 0.01 ETH | 0.000441 | ||||
Perform Payouts | 4223412 | 2632 days ago | IN | 0 ETH | 0.00303345 | ||||
Perform Payouts | 4214059 | 2634 days ago | IN | 0 ETH | 0.03197734 | ||||
Transfer | 4211541 | 2635 days ago | IN | 0.132239 ETH | 0.00219583 | ||||
Change Admin | 3815655 | 2720 days ago | IN | 0 ETH | 0.0004898 | ||||
Add Beneficiary | 3769646 | 2729 days ago | IN | 0 ETH | 0.0004656 | ||||
Perform Payouts | 3754186 | 2732 days ago | IN | 0 ETH | 0.00063 | ||||
Transfer | 3751211 | 2732 days ago | IN | 0.005 ETH | 0.00191895 | ||||
Change Admin | 3730941 | 2736 days ago | IN | 0 ETH | 0.00046648 | ||||
Change Admin | 3730938 | 2736 days ago | IN | 0 ETH | 0.00044088 | ||||
Perform Payouts | 3728551 | 2737 days ago | IN | 0 ETH | 0.0008 | ||||
Perform Payouts | 3727389 | 2737 days ago | IN | 0 ETH | 0.001 | ||||
Perform Payouts | 3727374 | 2737 days ago | IN | 0 ETH | 0.00017334 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
5360409 | 2419 days ago | 0.00264 ETH | ||||
5360409 | 2419 days ago | 0.033 ETH | ||||
5360409 | 2419 days ago | 0.03343413 ETH | ||||
5360409 | 2419 days ago | 0.0165 ETH | ||||
5360409 | 2419 days ago | 0.0165 ETH | ||||
5360409 | 2419 days ago | 0.0033 ETH | ||||
5360409 | 2419 days ago | 0.24553782 ETH | ||||
5360409 | 2419 days ago | 0.24552383 ETH | ||||
5360409 | 2419 days ago | 0.00033 ETH | ||||
5360409 | 2419 days ago | 0.00429 ETH | ||||
5360409 | 2419 days ago | 0.0033 ETH | ||||
5360409 | 2419 days ago | 0.099 ETH | ||||
5360409 | 2419 days ago | 0.0066 ETH | ||||
5360409 | 2419 days ago | 0.0066 ETH | ||||
5360409 | 2419 days ago | 0.01716 ETH | ||||
5360409 | 2419 days ago | 0.0033 ETH | ||||
5360409 | 2419 days ago | 0.02690752 ETH | ||||
5360409 | 2419 days ago | 0.02690752 ETH | ||||
4556403 | 2556 days ago | 0.02660227 ETH | ||||
4223412 | 2632 days ago | 0.0066 ETH | ||||
4223412 | 2632 days ago | 0.0066 ETH | ||||
4223412 | 2632 days ago | 0.01716 ETH | ||||
4223412 | 2632 days ago | 0.0033 ETH | ||||
4223412 | 2632 days ago | 0.02656527 ETH | ||||
4223412 | 2632 days ago | 0.02656527 ETH |
Loading...
Loading
Contract Name:
HYIP
Compiler Version
v0.4.8+commit.60cc1668
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
606060405234610000575b60008054600160a060020a03191633600160a060020a0316179055426001555b5b61053d8061003a6000396000f3006060604052361561005c5763ffffffff60e060020a600035041663200d2ed2811461006d5780635926651d146100a557806361c76231146100c05780638f283970146100cf578063c0819961146100ea578063f0ba96ff146100f4575b61006b5b610068610103565b5b565b005b346100005761007a6101c3565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b346100005761006b600160a060020a03600435166101ea565b005b346100005761006b61027a565b005b346100005761006b600160a060020a03600435166102e7565b005b61006b610060565b005b346100005761006b61032a565b005b600280548060010182818154818355818115116101655760030281600302836000526020600020918201910161016591905b80821115610161578054600160a060020a03191681556000600182018190556002820155600301610135565b5090565b5b505050916000526020600020906003020160005b5060408051606081018252600160a060020a033316808252346020830181905242929093018290528354600160a060020a0319161783556001830191909155600290910155505b565b60025460035460015430600160a060020a03163192919042036201518081045b9091929394565b60005433600160a060020a03908116911614156102755760038054806001018281815481835581811511610243576000838152602090206102439181019083015b80821115610161576000815560010161022b565b5090565b5b505050916000526020600020900160005b8154600160a060020a038086166101009390930a92830292021916179055505b5b5b50565b60005433600160a060020a03908116911614156100685760038054600080835591909152610275907fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b908101905b80821115610161576000815560010161022b565b5090565b5b505b5b5b565b60005433600160a060020a03908116911614156102755760008054600160a060020a031916600160a060020a0383161790555b5b5b50565b610068610103565b5b565b600080808080805b42620151806001540110156104c85760035460009011156103dd576003546103e8602530600160a060020a0316310204945084811561000057049150600092505b6003548310156103dd57600383815481101561000057906000526020600020900160005b90546040516101009290920a9004600160a060020a0316906108fc8415029084906000818181858888f1935050505015156103d157610000565b5b600190920191610373565b5b60025492505b60001983019260009011156104b3576201518060015401600284815481101561000057906000526020600020906003020160005b50600201541115610428576104ae565b6103e86021600285815481101561000057906000526020600020906003020160005b506001015402811561000057049050600283815481101561000057906000526020600020906003020160005b5054604051600160a060020a039091169082156108fc029083906000818181858888f1935050505015156104a957610000565b938401935b6103e4565b60018054620151800181559590950194610332565b604080518781526020810187905280820186905290517fc8be76c1b18e6f688cdb6f785d69442c4f00222e1884d39e40e761aab9e0f2949181900360600190a15b5050505050505600a165627a7a723058207ffe85bf72ed867907f434968de0e501a2c429e04ae2eabac222d163f95565eb0029
Deployed Bytecode
0x6060604052361561005c5763ffffffff60e060020a600035041663200d2ed2811461006d5780635926651d146100a557806361c76231146100c05780638f283970146100cf578063c0819961146100ea578063f0ba96ff146100f4575b61006b5b610068610103565b5b565b005b346100005761007a6101c3565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b346100005761006b600160a060020a03600435166101ea565b005b346100005761006b61027a565b005b346100005761006b600160a060020a03600435166102e7565b005b61006b610060565b005b346100005761006b61032a565b005b600280548060010182818154818355818115116101655760030281600302836000526020600020918201910161016591905b80821115610161578054600160a060020a03191681556000600182018190556002820155600301610135565b5090565b5b505050916000526020600020906003020160005b5060408051606081018252600160a060020a033316808252346020830181905242929093018290528354600160a060020a0319161783556001830191909155600290910155505b565b60025460035460015430600160a060020a03163192919042036201518081045b9091929394565b60005433600160a060020a03908116911614156102755760038054806001018281815481835581811511610243576000838152602090206102439181019083015b80821115610161576000815560010161022b565b5090565b5b505050916000526020600020900160005b8154600160a060020a038086166101009390930a92830292021916179055505b5b5b50565b60005433600160a060020a03908116911614156100685760038054600080835591909152610275907fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b908101905b80821115610161576000815560010161022b565b5090565b5b505b5b5b565b60005433600160a060020a03908116911614156102755760008054600160a060020a031916600160a060020a0383161790555b5b5b50565b610068610103565b5b565b600080808080805b42620151806001540110156104c85760035460009011156103dd576003546103e8602530600160a060020a0316310204945084811561000057049150600092505b6003548310156103dd57600383815481101561000057906000526020600020900160005b90546040516101009290920a9004600160a060020a0316906108fc8415029084906000818181858888f1935050505015156103d157610000565b5b600190920191610373565b5b60025492505b60001983019260009011156104b3576201518060015401600284815481101561000057906000526020600020906003020160005b50600201541115610428576104ae565b6103e86021600285815481101561000057906000526020600020906003020160005b506001015402811561000057049050600283815481101561000057906000526020600020906003020160005b5054604051600160a060020a039091169082156108fc029083906000818181858888f1935050505015156104a957610000565b938401935b6103e4565b60018054620151800181559590950194610332565b604080518781526020810187905280820186905290517fc8be76c1b18e6f688cdb6f785d69442c4f00222e1884d39e40e761aab9e0f2949181900360600190a15b5050505050505600a165627a7a723058207ffe85bf72ed867907f434968de0e501a2c429e04ae2eabac222d163f95565eb0029
Swarm Source
bzzr://7ffe85bf72ed867907f434968de0e501a2c429e04ae2eabac222d163f95565eb
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,139.98 | 1.4645 | $4,598.37 |
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.