Contract 0xa11e4ed59dc94e69612f3111942626ed513cb172

 

Contract Overview

Balance:
10 wei

EtherValue:
Less Than $0.01 (@ $142.52/ETH)
TxHash Block Age From To Value [TxFee]
0xdbea4258831cac4ee42c00c603ab7d05a52d0ae28661f6e9634b6288587a9c585826771243 days 23 hrs ago0xa631df70186f24ad3b6c004846f00a7f1da98d22 IN  0xa11e4ed59dc94e69612f3111942626ed513cb1720.0085654 Ether0.000126684
0x1c88aa1d84f943864945b10f3d1096728598b050a6db5a7e7be61e99f008544d5826729244 days 10 mins ago0x303eeab5c350cc8517823efab0a8b8672644ce02 IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000083666
0x7ad98aa915c112ccb3c2e34781af84453450be385b4d8dbc27753afb04c9aa8f5826710244 days 14 mins ago0x303eeab5c350cc8517823efab0a8b8672644ce02 IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000094572
0xabf57ccfffcf76145093bebd8d96682005832297fdc960f8bdbd1ca71906f8a25826700244 days 17 mins ago0x303eeab5c350cc8517823efab0a8b8672644ce02 IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000064572
0x09924869e07018e64dd3c996f89b9cc59a40074b7bbe7e76fc01fab67c71f7f94181297548 days 19 hrs ago0x3eb479c71d71e7c05507793497394d66623b9013 IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000563493
0x460d2d3e4d41f0663570526c44d08e33720a386f629e8fb09bbaf30f44dd2fb54181296548 days 19 hrs ago0x3eb479c71d71e7c05507793497394d66623b9013 IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000563493
0xf7e1c1a036294caab723f515310d41db11e6d122b565bf742851bb1dc520db1b4181296548 days 19 hrs ago0x3eb479c71d71e7c05507793497394d66623b9013 IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000563493
0x4741a90bdc1c36a4dbece37444644ad4bd9de6892a8bcdf3b43f5bcc24a9f45f4181296548 days 19 hrs ago0x3eb479c71d71e7c05507793497394d66623b9013 IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000878493
0x7ae5ee88c5a5c91225852d4ff5baa99cedadf4f47ddbdb44a766444ac6837d644181295548 days 19 hrs ago0x3eb479c71d71e7c05507793497394d66623b9013 IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000678006
0xa70a83946b5c69c02588c373485cfec462b20b1c4cbfe41d748715804c371a554181279548 days 19 hrs ago0xf2e00894504a6b8855c281dd1c97cc0afc243c3c IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000563493
0x9cc1897179a9db6437009fbb3baaf8372d589df9c0176c4f241b59166501a5404181274548 days 19 hrs ago0xf2e00894504a6b8855c281dd1c97cc0afc243c3c IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000563493
0x4724d50fedcbad357b537cb90ecdb2938614d24bfe035ee569e8b06c4b1286ce4181274548 days 19 hrs ago0xf2e00894504a6b8855c281dd1c97cc0afc243c3c IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000563493
0x3ddb22e587801959e8fd3625a318f40e000cc9f9fc5fe4ef181676aee28242934181274548 days 19 hrs ago0xf2e00894504a6b8855c281dd1c97cc0afc243c3c IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000563493
0x8efbec228a372350f196fb5d6b8aea96cfb6498d0710ddc54002083bd78bf6ef4181274548 days 19 hrs ago0xf2e00894504a6b8855c281dd1c97cc0afc243c3c IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000563493
0x2728f58b75ceb75f4bffc322ff44b1cbe66ab975c1b13f6d96dd1ca94d9424a44181274548 days 19 hrs ago0xf2e00894504a6b8855c281dd1c97cc0afc243c3c IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000563493
0xde9894b32dd4d85ceb88d9a66199a54870d0ec961711ecb118927cc8c3212f244181272548 days 19 hrs ago0xf2e00894504a6b8855c281dd1c97cc0afc243c3c IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000878493
0x101ece99fda9aca891cb93a9478868504f823afcebfaafcaaf6f6a1b523d29724181268548 days 19 hrs ago0xf2e00894504a6b8855c281dd1c97cc0afc243c3c IN  0xa11e4ed59dc94e69612f3111942626ed513cb17210 wei0.000993006
0x1390f59f80321e75a880a883e3aaa27904ab423c57c227c7780a5f552eb7eceb4181248548 days 19 hrs ago0x0a15233b7e896e960845819e6a10f4481a3aea6f IN  Contract Creation0 Ether0.004772859
[ Download CSV Export 

Latest 8 Internal Transactions Internal Transactions as a result of Contract Execution

[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), NestedArrayFunctionCallDecoder (medium-severity), ZeroFunctionSelector (very low-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: EtherLotto
Compiler Version: v0.4.15+commit.bbb8e64f
Optimization Enabled: No
Runs (Optimizer):  200


Contract Source Code
pragma solidity ^0.4.15;

/// @title Ethereum Lottery Game.

contract EtherLotto {

    // Amount of ether needed for participating in the lottery.
    uint constant TICKET_AMOUNT = 10;

    // Fixed amount fee for each lottery game.
    uint constant FEE_AMOUNT = 1;

    // Address where fee is sent.
    address public bank;

    // Public jackpot that each participant can win (minus fee).
    uint public pot;

    // Lottery constructor sets bank account from the smart-contract owner.
    function EtherLotto() {
        bank = msg.sender;
    }

    // Public function for playing lottery. Each time this function
    // is invoked, the sender has an oportunity for winning pot.
    function play() payable {

        // Participants must spend some fixed ether before playing lottery.
        assert(msg.value == TICKET_AMOUNT);

        // Increase pot for each participant.
        pot += msg.value;

        // Compute some *almost random* value for selecting winner from current transaction.
        var random = uint(sha3(block.timestamp)) % 2;

        // Distribution: 50% of participants will be winners.
        if (random == 0) {

            // Send fee to bank account.
            bank.transfer(FEE_AMOUNT);

            // Send jackpot to winner.
            msg.sender.transfer(pot - FEE_AMOUNT);

            // Restart jackpot.
            pot = 0;
        }
    }

}

Contract ABI
[{"constant":true,"inputs":[],"name":"pot","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"bank","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"play","outputs":[],"payable":true,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"}]

Contract Creation Code
6060604052341561000f57600080fd5b5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b610235806100616000396000f30060606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680634ba2363a1461005457806376cdb03b1461007d57806393e84cd9146100d2575b600080fd5b341561005f57600080fd5b6100676100dc565b6040518082815260200191505060405180910390f35b341561008857600080fd5b6100906100e2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100da610107565b005b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600a3414151561011557fe5b346001600082825401925050819055506002426040518082815260200191505060405180910390206001900481151561014a57fe5b0690506000811415610205576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60019081150290604051600060405180830381858888f1935050505015156101b857600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc60018054039081150290604051600060405180830381858888f1935050505015156101fc57600080fd5b60006001819055505b5b505600a165627a7a7230582021347d94582729878eb74356b7b81bc6ccc1b141e4f978349ae1e9166c1f8cd90029


   Swarm Source:
bzzr://21347d94582729878eb74356b7b81bc6ccc1b141e4f978349ae1e9166c1f8cd9
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.