ETH Price: $2,140.06 (-0.98%)

Contract

0x55Aa079E2Fb0C8b68A0a08eFbff3F1aA5472f1a2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw63304332018-09-14 13:34:452748 days ago1536932085IN
0x55Aa079E...A5472f1a2
0 ETH0.000148685
Transfer63304112018-09-14 13:28:412748 days ago1536931721IN
0x55Aa079E...A5472f1a2
0.09 ETH0.000206615
Invest62105782018-08-25 10:53:362768 days ago1535194416IN
0x55Aa079E...A5472f1a2
0.00777 ETH0.000245615

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer63304332018-09-14 13:34:452748 days ago1536932085
0x55Aa079E...A5472f1a2
0.09 ETH
Transfer62105782018-08-25 10:53:362768 days ago1535194416
0x55Aa079E...A5472f1a2
0.00777 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WannabeSmartInvestor

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.21;

contract WannabeSmartInvestor {
    
    address private owner;
    mapping(address => uint) public incomeFrom;

    constructor() public {
        owner = msg.sender;
    }
    
    function invest(address _to, uint _gas) public payable {
        require(msg.sender == owner);
        require(_to.call.gas(_gas).value(msg.value)());
    }
    
    function withdraw() public {
        require(msg.sender == owner);
        owner.transfer(address(this).balance);
    }

    function () public payable {
        incomeFrom[msg.sender] = incomeFrom[msg.sender] + msg.value;
    }     

}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_gas","type":"uint256"}],"name":"invest","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"incomeFrom","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b5060008054600160a060020a031916331790556101f6806100326000396000f3006080604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633ccfd60b811461006d578063b9b8c24614610084578063c96206de146100a8575b336000908152600160205260409020805434019055005b34801561007957600080fd5b506100826100e8565b005b61008273ffffffffffffffffffffffffffffffffffffffff60043516602435610157565b3480156100b457600080fd5b506100d673ffffffffffffffffffffffffffffffffffffffff600435166101b8565b60408051918252519081900360200190f35b60005473ffffffffffffffffffffffffffffffffffffffff16331461010c57600080fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff90911691303180156108fc02929091818181858888f19350505050158015610154573d6000803e3d6000fd5b50565b60005473ffffffffffffffffffffffffffffffffffffffff16331461017b57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff168134604051600060405180830381858888f1935050505015156101b457600080fd5b5050565b600160205260009081526040902054815600a165627a7a72305820f9f78af9ebdec61a35180001d597c3946f62439434715182ac6205a2494199780029

Deployed Bytecode

0x6080604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633ccfd60b811461006d578063b9b8c24614610084578063c96206de146100a8575b336000908152600160205260409020805434019055005b34801561007957600080fd5b506100826100e8565b005b61008273ffffffffffffffffffffffffffffffffffffffff60043516602435610157565b3480156100b457600080fd5b506100d673ffffffffffffffffffffffffffffffffffffffff600435166101b8565b60408051918252519081900360200190f35b60005473ffffffffffffffffffffffffffffffffffffffff16331461010c57600080fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff90911691303180156108fc02929091818181858888f19350505050158015610154573d6000803e3d6000fd5b50565b60005473ffffffffffffffffffffffffffffffffffffffff16331461017b57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff168134604051600060405180830381858888f1935050505015156101b457600080fd5b5050565b600160205260009081526040902054815600a165627a7a72305820f9f78af9ebdec61a35180001d597c3946f62439434715182ac6205a2494199780029

Swarm Source

bzzr://f9f78af9ebdec61a35180001d597c3946f62439434715182ac6205a249419978

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.