Sponsored:   Ubex.com - Additional 17% of tokens are available for purchase! Trading on exchanges already started.
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 25 txns
 Latest 25 txns

TxHash Age From To Value [TxFee]
0x9a2021be1f50cd70c80eacd8f4d98cf632a5ede7f813f2049dea28b80ebae323370 days 15 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000151
0x558d11fcb0c5e667ea77790b5044a51acf3bbf05d4bc943d0e1bdd1bd5bf6fc7370 days 15 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.00015036
0x311842a13af0f13a6fef524cc9402cea8ada75832a644d029e802dbb9f886a7e370 days 15 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000861885
0x6488770d4b95126b5978ac757c025b8ddb78a510177fe409b35c163f5d85b67d370 days 15 hrs ago0x1d858dfbff7d2557e86a92e7a5593981bea12c94  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000092964
0xa9fbcc3dd81acc8e4cab19875fd35aeb1288ab5554dda6cb41d05abc6401d926370 days 15 hrs ago0x1d858dfbff7d2557e86a92e7a5593981bea12c94  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000190185
0xeb3381634814ae3e0b2689e24a8eae841406a5850bd91f4c36bc2e70063d28a3371 days 14 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000862205
0x2cd18a97b49c7d1d696730c3988ee5b183ec3627ed2e4ff0d667d4ca5bcc5e55371 days 14 hrs ago0x1d858dfbff7d2557e86a92e7a5593981bea12c94  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000116011
0xfd8ec433bf6728fa9964debc163cd8d5e157264f8c24e8d1d109a1d70dc27c27371 days 14 hrs ago0x1d858dfbff7d2557e86a92e7a5593981bea12c94  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000190185
0xfb0e79fb845b2c6fb02869c92583a6dc7e29f0b4171a1621b94e7e318b46afb6371 days 15 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf19 Ether0.00011272
0x7835a54c77c2cbd2e5454ca38c5ccb01d78a927d505bf16660ef4ff04b7900e2371 days 15 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf1 Ether0.00011272
0x58da3d181b02c41ba4ffcbebed0381ae42979e601d4fda6856dc127dc6010aaf373 days 13 mins ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000861885
0x854654c968a84c5c5efc1061e60e0736086d4a745c4fc6e63666f0f523698d85373 days 14 mins ago0x1d858dfbff7d2557e86a92e7a5593981bea12c94  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000092964
0x506c772592dc4c9f9527cd32855d99b6aa3d3e4960cd6bb1ae89a825f35f873d373 days 19 mins ago0x1d858dfbff7d2557e86a92e7a5593981bea12c94  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000190185
0x87118f8c5763e149146e9ff631e6988f7910653f8c36df7ce0187c6d7f226c6a373 days 1 hr ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.0015
0xb367eb85a49437fbd8e50e3cb49be633c8e34c078284a77cdc05703b812c9c15373 days 11 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000937205
0x061feeecf332f7723152de71c972742b49823bad7c8e6c4c14df9861710455bd373 days 11 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf14 Ether0.00011272
0x0ef906524281e3fbb62e5b048fb7e9e749539196ec85bd65f2a3a053288e1cd7373 days 11 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf1 Ether0.00011272
0xe4070c7aa4efdcbfc537877cd48a9f69617d7d787e18ec5ba5e0a128b26e82b1373 days 12 hrs ago0x1d858dfbff7d2557e86a92e7a5593981bea12c94  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000092964
0xdcf7338d9c3ef35bdfabb02de431d36a82a0f55514c306be291433d128d51aad373 days 12 hrs ago0x1d858dfbff7d2557e86a92e7a5593981bea12c94  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.000190185
0x818f28f0709805bfbfea7bf067cb807141ab79052e7d7e94fba234f6fb57f4d2374 days 13 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.00085947
0x37688ebc987a7901abbdf31830fd7539c81cb16e930abb31cb6986c4c25962de375 days 3 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf5 Ether0.00011272
0x3d4e5704adac4f0966982a6d7a3fbcf7cd2111ffd52d65c5a0308ecfebc4376f375 days 3 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.00014301
0xae03d6b4e9ca2f4f7b5d1b68efb5793664faff1bf9afe917c6053bc499030c50375 days 3 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.00014301
0x24f0fb2529954fefcd6f8df35b3c6a0ab72d646148d93f6a2dc8023ecb6027db375 days 3 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN   0x8dc46946d5e56a780ee21ee6029af675a46e39bf0 Ether0.00014301
0x036d659db9fdf488618276b45fe98dedea84153f5c07d0acbd4e00a62f158b13375 days 3 hrs ago0x42abdd654de6aba2d157a1ba39245ea596eb9717  IN    Contract Creation0 Ether0.002917565
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 11 Internal Transactions

ParentTxHash Block Age From To Value
0x9a2021be1f50cd70c80eacd8f4d98cf632a5ede7f813f2049dea28b80ebae3234147952370 days 15 hrs ago0x8dc46946d5e56a780ee21ee6029af675a46e39bf0x42abdd654de6aba2d157a1ba39245ea596eb971736.883 Ether
0x558d11fcb0c5e667ea77790b5044a51acf3bbf05d4bc943d0e1bdd1bd5bf6fc74147945370 days 15 hrs ago0x8dc46946d5e56a780ee21ee6029af675a46e39bf0x42abdd654de6aba2d157a1ba39245ea596eb97171 Ether
0x311842a13af0f13a6fef524cc9402cea8ada75832a644d029e802dbb9f886a7e4147920370 days 15 hrs ago0x8dc46946d5e56a780ee21ee6029af675a46e39bf0xc0adf1ccc703a0a3393892600883a1a91a4e38de5 Ether
0x6488770d4b95126b5978ac757c025b8ddb78a510177fe409b35c163f5d85b67d4147899370 days 15 hrs ago0xc0adf1ccc703a0a3393892600883a1a91a4e38de0x8dc46946d5e56a780ee21ee6029af675a46e39bf26.071 Ether
0xeb3381634814ae3e0b2689e24a8eae841406a5850bd91f4c36bc2e70063d28a34143992371 days 14 hrs ago0x8dc46946d5e56a780ee21ee6029af675a46e39bf0xc0adf1ccc703a0a3393892600883a1a91a4e38de25 Ether
0x2cd18a97b49c7d1d696730c3988ee5b183ec3627ed2e4ff0d667d4ca5bcc5e554143954371 days 14 hrs ago0xc0adf1ccc703a0a3393892600883a1a91a4e38de0x8dc46946d5e56a780ee21ee6029af675a46e39bf2.268 Ether
0x58da3d181b02c41ba4ffcbebed0381ae42979e601d4fda6856dc127dc6010aaf4138334373 days 13 mins ago0x8dc46946d5e56a780ee21ee6029af675a46e39bf0xc0adf1ccc703a0a3393892600883a1a91a4e38de2.5 Ether
0x854654c968a84c5c5efc1061e60e0736086d4a745c4fc6e63666f0f523698d854138332373 days 14 mins ago0xc0adf1ccc703a0a3393892600883a1a91a4e38de0x8dc46946d5e56a780ee21ee6029af675a46e39bf21.296 Ether
0xb367eb85a49437fbd8e50e3cb49be633c8e34c078284a77cdc05703b812c9c154136354373 days 11 hrs ago0x8dc46946d5e56a780ee21ee6029af675a46e39bf0xc0adf1ccc703a0a3393892600883a1a91a4e38de20 Ether
0xe4070c7aa4efdcbfc537877cd48a9f69617d7d787e18ec5ba5e0a128b26e82b14136305373 days 12 hrs ago0xc0adf1ccc703a0a3393892600883a1a91a4e38de0x8dc46946d5e56a780ee21ee6029af675a46e39bf5.748 Ether
0x818f28f0709805bfbfea7bf067cb807141ab79052e7d7e94fba234f6fb57f4d24132027374 days 13 hrs ago0x8dc46946d5e56a780ee21ee6029af675a46e39bf0xc0adf1ccc703a0a3393892600883a1a91a4e38de5 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to NestedArrayFunctionCallDecoder (medium-severity), ZeroFunctionSelector (very low-severity), DelegateCallReturnValue (low-severity) Solidity compiler bugs.

Contract Source Code Verified (Exact match)
Contract Name: LotteryAdmin
Compiler Version: v0.4.14+commit.c2215d46
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.13;

contract EthereumLottery {
    function admin() constant returns (address);
    function needsInitialization() constant returns (bool);
    function initLottery(uint _jackpot, uint _numTickets,
                         uint _ticketPrice, int _durationInBlocks) payable;
    function needsFinalization() constant returns (bool);
    function finalizeLottery(uint _steps);
}

contract LotteryAdmin {
    address public owner;
    address public admin;
    address public proposedOwner;

    address public ethereumLottery;

    event Deposit(address indexed _from, uint _value);

    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }

    modifier onlyAdminOrOwner {
        require(msg.sender == owner || msg.sender == admin);
        _;
    }

    function LotteryAdmin(address _ethereumLottery) {
        owner = msg.sender;
        admin = msg.sender;
        ethereumLottery = _ethereumLottery;
    }

    function () payable {
        Deposit(msg.sender, msg.value);
    }

    function needsAdministration() constant returns (bool) {
        if (EthereumLottery(ethereumLottery).admin() != address(this)) {
            return false;
        }

        return EthereumLottery(ethereumLottery).needsFinalization();
    }

    function administrate(uint _steps) {
        EthereumLottery(ethereumLottery).finalizeLottery(_steps);
    }

    function initLottery(uint _jackpot, uint _numTickets,
                         uint _ticketPrice, int _durationInBlocks)
             onlyAdminOrOwner {
        EthereumLottery(ethereumLottery).initLottery.value(_jackpot)(
            _jackpot, _numTickets, _ticketPrice, _durationInBlocks);
    }

    function withdraw(uint _value) onlyOwner {
        owner.transfer(_value);
    }

    function setLottery(address _ethereumLottery) onlyOwner {
        ethereumLottery = _ethereumLottery;
    }

    function setAdmin(address _admin) onlyOwner {
        admin = _admin;
    }

    function proposeOwner(address _owner) onlyOwner {
        proposedOwner = _owner;
    }

    function acceptOwnership() {
        require(proposedOwner != 0);
        require(msg.sender == proposedOwner);
        owner = proposedOwner;
    }

    function destruct() onlyOwner {
        selfdestruct(owner);
    }
}

    Contract ABI  
[{"constant":false,"inputs":[],"name":"destruct","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ethereumLottery","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_steps","type":"uint256"}],"name":"administrate","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_jackpot","type":"uint256"},{"name":"_numTickets","type":"uint256"},{"name":"_ticketPrice","type":"uint256"},{"name":"_durationInBlocks","type":"int256"}],"name":"initLottery","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"proposeOwner","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"proposedOwner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"needsAdministration","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_ethereumLottery","type":"address"}],"name":"setLottery","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"inputs":[{"name":"_ethereumLottery","type":"address"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Deposit","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b60405160208061073c833981016040528080519150505b60008054600160a060020a03338116600160a060020a0319928316811790935560018054831690931790925560038054928416929091169190911790555b505b6106c7806100756000396000f300606060405236156100a95763ffffffff60e060020a6000350416632b68b9c681146100ea5780632e1a7d4d146100ff578063704b6c02146101175780637826bfa81461013857806379ba5097146101675780638da5cb5b1461017c57806394081387146101ab578063b105126f146101c3578063b5ed298a146101e4578063d153b60c14610205578063e1a27ad314610234578063f298083b1461025b578063f851a4401461027c575b5b33600160a060020a03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c3460405190815260200160405180910390a25b005b34156100f557600080fd5b6100e86102ab565b005b341561010a57600080fd5b6100e86004356102d7565b005b341561012257600080fd5b6100e8600160a060020a036004351661032a565b005b341561014357600080fd5b61014b610372565b604051600160a060020a03909116815260200160405180910390f35b341561017257600080fd5b6100e8610381565b005b341561018757600080fd5b61014b6103e5565b604051600160a060020a03909116815260200160405180910390f35b34156101b657600080fd5b6100e86004356103f4565b005b34156101ce57600080fd5b6100e8600435602435604435606435610454565b005b34156101ef57600080fd5b6100e8600160a060020a0360043516610504565b005b341561021057600080fd5b61014b61054c565b604051600160a060020a03909116815260200160405180910390f35b341561023f57600080fd5b61024761055b565b604051901515815260200160405180910390f35b341561026657600080fd5b6100e8600160a060020a0360043516610644565b005b341561028757600080fd5b61014b61068c565b604051600160a060020a03909116815260200160405180910390f35b60005433600160a060020a039081169116146102c657600080fd5b600054600160a060020a0316ff5b5b565b60005433600160a060020a039081169116146102f257600080fd5b600054600160a060020a031681156108fc0282604051600060405180830381858888f19350505050151561032557600080fd5b5b5b50565b60005433600160a060020a0390811691161461034557600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600354600160a060020a031681565b600254600160a060020a0316151561039857600080fd5b60025433600160a060020a039081169116146103b357600080fd5b6002546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b600054600160a060020a031681565b600354600160a060020a031663ea7f7a598260405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b151561043c57600080fd5b6102c65a03f1151561044d57600080fd5b5050505b50565b60005433600160a060020a039081169116148061047f575060015433600160a060020a039081169116145b151561048a57600080fd5b600354600160a060020a031663b105126f858086868660405160e060020a63ffffffff881602815260048101949094526024840192909252604483015260648201526084016000604051808303818588803b15156104e757600080fd5b6125ee5a03f115156104f857600080fd5b505050505b5b50505050565b60005433600160a060020a0390811691161461051f57600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600254600160a060020a031681565b600354600090600160a060020a03308116911663f851a44083604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156105a957600080fd5b6102c65a03f115156105ba57600080fd5b50505060405180519050600160a060020a03161415156105dc57506000610641565b600354600160a060020a031663bca7e96b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561062457600080fd5b6102c65a03f1151561063557600080fd5b50505060405180519150505b90565b60005433600160a060020a0390811691161461065f57600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600154600160a060020a0316815600a165627a7a723058200690e4b5a6bd7d5d3c517ad3b9678be532d051bfd5a268122109c9a43e0b30e40029000000000000000000000000c0adf1ccc703a0a3393892600883a1a91a4e38de

    Constructor Arguments (ABI-encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c0adf1ccc703a0a3393892600883a1a91a4e38de

-----Decoded View---------------
Found 1 constructor arguments :
Arg [0] : 000000000000000000000000c0adf1ccc703a0a3393892600883a1a91a4e38de


   Swarm Source:
bzzr://0690e4b5a6bd7d5d3c517ad3b9678be532d051bfd5a268122109c9a43e0b30e4

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.