Latest 25 transactions from a total of 793 transactions

TxHash Age From To Value [TxFee]
0x93718e4659db6fc44c4eb06b7ada0ceb7271ee405aaa2c03be0f020b4d97757f24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x15a41d2c61ee2c09ce75bd10095779826cce6ae8f29381e786db980751f4493a1 hr 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x5b97cc82277da1c0de6699511759374522dcaf74018088fb483bf783a41c105b2 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x941c03df571af790aeaee52fc68959e3587f4e3fc5345845aa612c288997a1433 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0xd0f2997c0dcade21d6b01ff4a6c02c77bd419d1955820b70bea5406eee5439444 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x21627ced74428e490fe47da587293279117a34a0d3a5698a5762e25d36dd007c5 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0xb5a61c82f242901f79eef285919106c7174eb544a8f4b04588356173c0f3789d6 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0xa4e44f26e6bbb53e5193ede4b7c71218a308fff22a47c7aa7cb0ab98d7c146787 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0xb06ef00666b4a28380ca1cabaccb941f22c5b8399d2934a98359a056620a285c8 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0xb01c47cdf12edcd1fe08fd4f34773da726151203ee82566233f8ba250b4f4a9a9 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x051767fa14e0ab106d90b9feacfce768c29efa64fbc7d5a82b311059b88c4e9910 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x7f1b1594743c87be946282860adfd60851daf43e04f52fe418fffe6bdde619ba11 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0xd60687cf40699f589f0b38a738c9c642b0d87af08e3c80906aa2288c651674ac12 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0xbc3def475d30c9e0e5846769e8d5b898247a2d87f44950a1c82959b733f4a34513 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x2fe9e5d64e2a70e6d1f3943a6486dcf663b45c7f21761ba3e9dbb43bc79d184214 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028041
0xe18d51d3acf9386a3ab1506ecccf4a82b78b8253a583ad794404b74dcf35a65215 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x8df47acaa6bbf263d7f0ef524b9fe764c744e7861939a2ebe7074511215f93ac16 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x66a9311baff190b6e041b955252dd3814424c8de711fbe8adbe0c5ee2d4e3e8817 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x21d6835851e5ea490e1ebda0e11091d3083ddb4596500d0dd0b0fd1436c4a1cc18 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0xe28587410dff26527d0858d6dcad61aeb32f6062a6a34c6a2e5673393cbc563519 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x2bb89fb896783b478bf788172a9421a7f41fd8fe084daaee492de2f65ea7262820 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x2853e1fc8d23704e1d1e1c5a95ab4f6f8d9258054fb969e7f76eecb4b0d38f1a21 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0xf1da7b917a59edb78ecb204312f916c4c7a97b5fdc83d163489b649c6766440722 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0xe7a047f0f89d6c6957159f980a6e0d7e0593396273f9eacffaa2d7e75bd8fa0923 hrs 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
0x024b06daaa312d847177655558338533d8988537ce55e1c25f23e3e598d749e81 day 24 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x24051b4f96726eaadce6c577d8c20ab7157fc4eb0 Ether0.000028105
[ 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) SolidityCompiler Bugs.

Contract Source Code Verified (Similar Match)
Note: Displaying Similar Match Verified Source Code At Contract 0x7ce662974fbb9b590c60dbf99f078120405ff0b9(Excluding Constructor Arguments if any)
Contract Name: Lighthouse
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;

// Searcher is an interface for contracts that want to be notified of incoming data
//
contract Searcher {

    // poke is called when new data arrives
    //
    function poke() public;

    // this is called to ensure that only valid Searchers can be added to the Lighthouse - returns an arbitrarily chosen number
    //
    function identify() external pure returns(uint) {
        return 0xda4b055; 
    }
}

// for operation of this contract see the readme file.
//
contract Lighthouse {
    
    address public auth = msg.sender; // ownable model. No real value in making it transferrable.

    Searcher seeker;                  // a single contract that can be notified of data changes

    uint value;                       // holds all the data bit fiddled into a single 32 byte word.

    uint maxAge;                      // if non zero, sets a limit to data validity

    // admin functions
    
    modifier onlyAuth {
        require(auth == msg.sender, "Unauthorised access");
        _;
    }

    function changeAuth(address newAuth) public onlyAuth {
        auth = newAuth;
    }

    function changeSearcher(Searcher newSeeker) public onlyAuth {
        seeker = newSeeker;
        require(seeker.identify() == 0xda4b055,"invalid searcher");
    }

    function setMaxAge(uint newMaxAge) public onlyAuth {
        maxAge = newMaxAge;
    }
    
    function notTooLongSinceUpdated() public view returns (bool) {
        uint since = now - ((value >> 128) & 
        0x000000000000000000000000000000000000000000000000ffffffffffffffff);
        return (since < maxAge) || (maxAge == 0);
    }
    
    function peekData() external view returns (uint128 v,bool b) {
        v = uint128(value);
        b = notTooLongSinceUpdated() && value != 0;
        return;
    }
    
    function peekUpdated()  external view returns (uint32 v,bool b) {
        uint v2 = value >> 128;
        v = uint32(v2);
        b = notTooLongSinceUpdated() && value != 0;
        return;
    }
    
    function peekLastNonce() external view returns (uint32 v,bool b) {
        uint v2 = value >> 192;
        v = uint32(v2);
        b = notTooLongSinceUpdated() && value != 0;
        return;
    }

    function peek() external view returns (bytes32 v ,bool ok) {
        v = bytes32(value & 0x00000000000000000000000000000000ffffffffffffffffffffffffffffffff);
        ok = notTooLongSinceUpdated() && value != 0;
        return;
    }
    
    function read() external view returns (bytes32 x) {
        require(notTooLongSinceUpdated() && value != 0, "Invalid data stored");
        return bytes32(value & 0x00000000000000000000000000000000ffffffffffffffffffffffffffffffff);
    }
    
    function write(uint  DataValue, uint nonce) external onlyAuth {
        require ((DataValue >> 128) == 0, "Value too large");
        require ((nonce >> 32) == 0, "Nonce too large");
        value = DataValue + (nonce << 192) + (now << 128) ;
        if (address(seeker) != address(0)) {
            seeker.poke();
        }
    }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"newAuth","type":"address"}],"name":"changeAuth","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"peekData","outputs":[{"name":"v","type":"uint128"},{"name":"b","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"read","outputs":[{"name":"x","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"peek","outputs":[{"name":"v","type":"bytes32"},{"name":"ok","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newMaxAge","type":"uint256"}],"name":"setMaxAge","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"DataValue","type":"uint256"},{"name":"nonce","type":"uint256"}],"name":"write","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"peekUpdated","outputs":[{"name":"v","type":"uint32"},{"name":"b","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"peekLastNonce","outputs":[{"name":"v","type":"uint32"},{"name":"b","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newSeeker","type":"address"}],"name":"changeSearcher","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"auth","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"notTooLongSinceUpdated","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"}]

  Contract Creation Code Switch To Opcodes View
608060405260008054600160a060020a0319163317905534801561002257600080fd5b50610838806100326000396000f3006080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166322969eac81146100b3578063420b81f6146100d657806357de26a41461011757806359e02dd71461013e5780635ae28fc91461016c5780639c0e3f7a14610184578063bdf384a81461019f578063becfbf69146101d4578063d6e848ac146101e9578063de9375f21461020a578063e2f906321461023b575b600080fd5b3480156100bf57600080fd5b506100d4600160a060020a0360043516610264565b005b3480156100e257600080fd5b506100eb6102e3565b604080516fffffffffffffffffffffffffffffffff909316835290151560208301528051918290030190f35b34801561012357600080fd5b5061012c610303565b60408051918252519081900360200190f35b34801561014a57600080fd5b50610153610389565b6040805192835290151560208301528051918290030190f35b34801561017857600080fd5b506100d46004356103a8565b34801561019057600080fd5b506100d46004356024356103fd565b3480156101ab57600080fd5b506101b46105e3565b6040805163ffffffff909316835290151560208301528051918290030190f35b3480156101e057600080fd5b506101b4610619565b3480156101f557600080fd5b506100d4600160a060020a0360043516610643565b34801561021657600080fd5b5061021f6107a0565b60408051600160a060020a039092168252519081900360200190f35b34801561024757600080fd5b506102506107af565b604080519115158252519081900360200190f35b600054600160a060020a031633146102b4576040805160e560020a62461bcd02815260206004820152601360248201526000805160206107ed833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60025460006102f06107af565b80156102fd575060025415155b90509091565b600061030d6107af565b801561031a575060025415155b1515610370576040805160e560020a62461bcd02815260206004820152601360248201527f496e76616c696420646174612073746f72656400000000000000000000000000604482015290519081900360640190fd5b506002546fffffffffffffffffffffffffffffffff1690565b6002546fffffffffffffffffffffffffffffffff1660006102f06107af565b600054600160a060020a031633146103f8576040805160e560020a62461bcd02815260206004820152601360248201526000805160206107ed833981519152604482015290519081900360640190fd5b600355565b600054600160a060020a0316331461044d576040805160e560020a62461bcd02815260206004820152601360248201526000805160206107ed833981519152604482015290519081900360640190fd5b7001000000000000000000000000000000008204156104b6576040805160e560020a62461bcd02815260206004820152600f60248201527f56616c756520746f6f206c617267650000000000000000000000000000000000604482015290519081900360640190fd5b640100000000810415610513576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f6e636520746f6f206c617267650000000000000000000000000000000000604482015290519081900360640190fd5b780100000000000000000000000000000000000000000000000081028201700100000000000000000000000000000000420201600255600154600160a060020a0316156105df57600160009054906101000a9004600160a060020a0316600160a060020a031663181783586040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b1580156105c657600080fd5b505af11580156105da573d6000803e3d6000fd5b505050505b5050565b60025470010000000000000000000000000000000090046000816106056107af565b8015610612575060025415155b9150509091565b600254780100000000000000000000000000000000000000000000000090046000816106056107af565b600054600160a060020a03163314610693576040805160e560020a62461bcd02815260206004820152601360248201526000805160206107ed833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055604080517feeb728660000000000000000000000000000000000000000000000000000000081529051929091169163eeb72866916004808201926020929091908290030181600087803b15801561071757600080fd5b505af115801561072b573d6000803e3d6000fd5b505050506040513d602081101561074157600080fd5b5051630da4b0551461079d576040805160e560020a62461bcd02815260206004820152601060248201527f696e76616c696420736561726368657200000000000000000000000000000000604482015290519081900360640190fd5b50565b600054600160a060020a031681565b600254600354600091700100000000000000000000000000000000900467ffffffffffffffff164203908110806107e65750600354155b915050905600556e617574686f72697365642061636365737300000000000000000000000000a165627a7a723058205bea76f02b3b7737af8de9580cc158bf164f4422efafc17d77a5846cea77b8260029

   Swarm Source:
bzzr://5bea76f02b3b7737af8de9580cc158bf164f4422efafc17d77a5846cea77b826

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward