Latest 25 transactions from a total of 1650 transactions

TxHash Age From To Value [TxFee]
0x23678299c4b7e64f56961059b0aae770a2eceeb0ffe871e2eb60452d39d526677 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0x3ec0c98766bd514577a1b8b8a1be25ee283b27bb3f68fa946b2017c7316058061 hr 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0x0ef4e5df97dbe86303ed6eff8e9fbe31eff7fa92d78d6f0c46e6dfdba9cccf1c2 hrs 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000028041
0xf0f5e2b6e3323eb911b7d6441c9ce14b82f82db4f66b6b38e2272b0b88b2f65f3 hrs 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0xc5351eafe6a605522e46a4b46c44f211fd9738708262111dd3b171040e5a38884 hrs 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000028041
0xb81f6420cb1aaeb4aa3e6fcc5626136ecae32452476f6368fcb933bd74952b8e5 hrs 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0x0517d461f79eec11b3e91d4af90bc1795f7a910aba5415c65f34f0d16829a4046 hrs 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000028041
0xf9e17ca010376549044de231f0ed21b91f6570d6c8b6867bcae7896fa6d0b1a77 hrs 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000028041
0x326bb641cdf8ded0f7489bb2a47df8e76a2c5683d25186d2959cc85ce55f855d8 hrs 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0xcab77beceb672d5b0fd6b77199a32a4338fdd73694084ec9088a81bad8c3da949 hrs 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0xc316b5134a5695219a50584bce4ae99e2a7b7eae6f7bb33bd8be9a12c845f7b210 hrs 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0x992ea55085f0d49f1c54e611386ef521c069f2bc54e12c0bdb068922f354418122 hrs 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0xab6f17c6efc65c85c5efdfc7af4ece940a7de1cff331aa4cfaa02ac5dd230b7f23 hrs 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000028041
0x37f917e433bdaee2011521fc049b87813cc119e828165e130242af6b99dd64d41 day 7 mins ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0x351aa7ad5db21b0905f02e9470e2c36afa66f13e9f1263f27a74b750e818c4c01 day 1 hr ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000028041
0xa25fbdf30a5e98e69d41616b130f78645a22aa3d7a6994adc40c6e707b1defbe1 day 2 hrs ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000028041
0xb7ac56d41d651f55b5b24953a6a2aa6356c8971356c8277d8097350d80b53e201 day 3 hrs ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0x833522d6781e43fb2571970164ce17b482c54a281f582dbe9bef9b9c2bb47a5c1 day 4 hrs ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000028041
0xdcacf7f4692c276d61b1750a0f3d8f8569ac5bf5d3591636ce8a3eae72ff91021 day 5 hrs ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000028041
0x8b562edebcef9132fbae512a66043471e48816805524b73e53e1706a16aa6aee1 day 6 hrs ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0xb4dabe5a1375fe226a2e63ae48c117a8f67daeb2b3cc8805b9c24a16338b88361 day 7 hrs ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000028041
0x6b1a785155fcdb3f79315a5de940d6d33b3a211a22550bd21aea91196bb2ce2c1 day 8 hrs ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0xc2703144adecebd8a683512048a7fb920dd6f588f9a5ad6e47ff0300633f8dc01 day 9 hrs ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0x4b6f5f347f377ee32cdf851db9f9227cb11754ed86b6bf433f2f57bccb452da71 day 10 hrs ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
0xb991eca9feb9d4beaa7b0cd7062197234aad86c82e04ce6e34e9ab931bffbe841 day 11 hrs ago0x195a07037e97cd576ce320bc7fbfbb41d8898b01  IN   0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether0.000027977
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 12 Internal Transactions

ParentTxHash Block Age From To Value
0x125c73adb8487fc3cb5213e699d06830f233a3e3387f9f7210ac69134b129bee346089342 days 3 hrs ago0xfd2aac70bef2b387abe92e26b42fc0dfc485b8f00x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
0x1f4e450efdee6033e0e1fdc14ddb51f2cd62fbb4cd75631e2646976e6b57c4e5346084042 days 3 hrs ago0xfd2aac70bef2b387abe92e26b42fc0dfc485b8f00x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
0x38037862192dc6e7686da862c6e81dec1cb41e1ac4a97477ba0f2d48090be343344241645 days 8 hrs ago0x2f6ca62a89b13aee3aeba2304ac40f4d68cb0a5f0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
0x97464c5d46058e7eee7d72b1064d82061131b99758ef110fc4fd53ff1d4542d9342682848 days 1 hr ago0x2f6ca62a89b13aee3aeba2304ac40f4d68cb0a5f0x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
0xc58d0d66f71f2ac9fe885474e37dfd3df16da4c607402b0ccfeae5a645fb77f8342584148 days 5 hrs ago0x96d594a9f1eb5468e39a8e876c3ec18930eed9f70x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
0xd13f9d6711ef2ff771cdca8292420f0ac6a42b4bf1dd460e2b93bc2c9241480e342077649 days 2 hrs ago0x96d594a9f1eb5468e39a8e876c3ec18930eed9f70x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
0x6dac7e5604eefa68e1bdef57143c2d9fcdaa9420ac294bc7d256a2ee8487bf41342073649 days 2 hrs ago0x96d594a9f1eb5468e39a8e876c3ec18930eed9f70x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
0x4de574fdfaa9be4a285cc479aba779139153df4b98840dc9827188b8035819bc342073149 days 2 hrs ago0x96d594a9f1eb5468e39a8e876c3ec18930eed9f70x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
0x6afb672b4f27232a422c8b51046e26cb78600fe3d2fb30837efd19a097fd473f342068949 days 3 hrs ago0x96d594a9f1eb5468e39a8e876c3ec18930eed9f70x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
0x1a2d372a06dc20f1f254538b67efa5c4e7534cd7bd68f279234699c38f9cee91342038949 days 4 hrs ago0x96d594a9f1eb5468e39a8e876c3ec18930eed9f70x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
0xc29d160998abe9b87aded380c384535d55c7ac8da4afd9bad87d902ccdad47b9342028349 days 4 hrs ago0x96d594a9f1eb5468e39a8e876c3ec18930eed9f70x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
0x9ee6c1c48540d216de6d6c8b87f44972a70afd21787209fd841e717c1b971e18342015449 days 5 hrs ago0x96d594a9f1eb5468e39a8e876c3ec18930eed9f70x7ce662974fbb9b590c60dbf99f078120405ff0b90 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
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