Latest 25 transactions from a total of 13487 transactions

TxHash Age From To Value [TxFee]
0xbfcf702ff2565457fdda41f441f8016a49e74b8f7854dabd235a20d4ecda6068531 days 15 hrs ago0x59b3e7027b614e54899c510001d75947b9879b36  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00149318
0x4e399a3adafcda8fe928a11c4b05dce4a2525358b44a10cbb11ffb09bf383284534 days 13 hrs ago0x008311788dff04e3c0426a3eb19622b2035ba49d  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00100142
0x5a3a86340aa335bb4dc0cb39f7e2925d295cb2e44126b0988bba853ca353900d535 days 14 hrs ago0x001ee1b9b78de26879ac9db3854ce1430b339bee  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.0010027
0x6685b14f5ce39bab33b7f313f32420a99e4568cd2dea843588a0ca15343da983540 days 9 hrs ago0x000397dfd32afaae870e6b5fb44154fd43e43224  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00119446
0x6536c3095ee638e55918914af284cfc04ca6465d4c7c7982754358024d16ef5c540 days 11 hrs ago0x47314ee7c583b169ff87b1585711f17099b167ae  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.0011919
0xc026216236132f79a3e9420cee28b0d49a5600b24c6953139cdd90475b00aa42540 days 13 hrs ago0x000d91cf263a11f9bfcee3752e5b03fc1196ce98  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00119446
0x622acb0e728d1c33e47d9a9229f418917828c7ab5000dc8ba006fa28cd657473540 days 15 hrs ago0x9bed7fd11ef2efa7899f757a8d422c1fd028610c  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00100398
0xddb395c9bbb3ec04a7393f487b88a3b572c0834b8a5d6e0b3cf8972f61c693b5540 days 15 hrs ago0x25511699c252eea2678266857c98f459df97b77c  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00100398
0xdb1c779239dda4d973ef759f4c33a963e3bdfe3978a1a20d64f9e2dd5255bd01541 days 14 hrs ago0x25511699c252eea2678266857c98f459df97b77c  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00100398
0xc08bd924b432e054975530c2a9cf8d5be71f819355cc87b8aba943878a1e9e88541 days 18 hrs ago0xfadc801b8b7ff0030f36ba700359d30bb12786e4  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00051344
0xbe13156bb7822b9af6246a9ea6e4e8d9690fcadef4e4ae6a4f41472adb63b73c541 days 18 hrs ago0xfadc801b8b7ff0030f36ba700359d30bb12786e4  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.0013027
0xf96ea0d46e5a9a2592a76f40401f57a8f7c0b69b4137742c167f6f30b6027873541 days 18 hrs ago0x9bed7fd11ef2efa7899f757a8d422c1fd028610c  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00100398
0xc714686d5acab38a5ac09d152561cef631367687329638d993e59364ca0f1d1e542 days 14 hrs ago0x001ee1b9b78de26879ac9db3854ce1430b339bee  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.0010027
0x213374c7535b16625fc650533c9d70caaa74e19abce6c25281bba62711d058a0542 days 14 hrs ago0xfadc801b8b7ff0030f36ba700359d30bb12786e4  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00051472
0x2a185499c41c4dabdb85290a8cfe768f7b813d0d50fe0571a85ae94237262495542 days 14 hrs ago0xfadc801b8b7ff0030f36ba700359d30bb12786e4  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00051472
0xb4bce1a9e8fdfb7c20bd0b3051f8fc58b1730535f61445fee218bfc4ad4a5136542 days 14 hrs ago0xfadc801b8b7ff0030f36ba700359d30bb12786e4  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00051472
0x20f18e220fe5c7ec321108dadb09a870048615b67d8875a57aee6299a8d59273542 days 14 hrs ago0xfadc801b8b7ff0030f36ba700359d30bb12786e4  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00051472
0x286a50971a79fabc246a149bfbb04835f46726808cd2ee4c4a9e3df6494a1843542 days 16 hrs ago0x25511699c252eea2678266857c98f459df97b77c  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00100398
0x2e24addb87d3fcde2b07b06e2f07de1e9a8887b88c78806164b014a621bd7016542 days 16 hrs ago0x9bed7fd11ef2efa7899f757a8d422c1fd028610c  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00100398
0x63cf79d6b20c3f0d5c9d2df1cea1652e7843098ed715790b164b3705145c2f48542 days 17 hrs ago0xfadc801b8b7ff0030f36ba700359d30bb12786e4  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00051472
0x3eecba70ba236e8ae43fdaf7da3fdd596da686606316c6b19f10d79cd14a465e542 days 17 hrs ago0xfadc801b8b7ff0030f36ba700359d30bb12786e4  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00051472
0x5f39d1ed4c9f73e07932feaff0859bb73cd5fbf877d827d19d3e386f1f77bcbb542 days 17 hrs ago0xfadc801b8b7ff0030f36ba700359d30bb12786e4  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00051472
0x6964978878d0ffaf341d7b66e0e321f6ca49cb7a0057982f59ef493bcc33d788542 days 17 hrs ago0x9598decbb5d01099f4564efc3aca9c6e51beb339  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.0010027
0x5934646b58251806280559026e72178f66415473c232cc3d0f011caecbe4d02a542 days 18 hrs ago0xdf260f32e41c23060d3016978e79eb23d1aaf643  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.0010027
0x22d01b98f2a5ee29bf0bd0733eb0daa311bb5eb4ca7c6233599e68fd3f5c1fc2542 days 20 hrs ago0x00a7a84e8ceafe0165801ab2c0e148c58cf289a0  IN   0x1ed4eab14a09ba2f334d9ed579a5ee4ae57aec450 Ether0.00148934
[ 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), NestedArrayFunctionCallDecoder (medium-severity), ZeroFunctionSelector (very low-severity), DelegateCallReturnValue (low-severity), ECRecoverMalformedInput (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Verified Source Code for Contract 0xa647336e0b4eaddcee11fe6c13e9163ad2700d6d
Contract Name: EndpointRegistry
Compiler Version: v0.4.13+commit.fb4cb1a
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.11;

contract EndpointRegistry{
    event AddressRegistered(address indexed eth_address, string socket);

    // Mapping of Ethereum Addresses => SocketEndpoints
    mapping (address => string) address_to_socket;
    // Mapping of SocketEndpoints => Ethereum Addresses
    mapping (string => address) socket_to_address;
    // list of all the Registered Addresses , still not used.
    address[] eth_addresses;

    modifier noEmptyString(string str)
    {
        require(equals(str, "") != true);
        _;
    }

    /*
     * @notice Registers the Ethereum Address to the Endpoint socket.
     * @dev Registers the Ethereum Address to the Endpoint socket.
     * @param string of socket in this format "127.0.0.1:40001"
     */
    function registerEndpoint(string socket) noEmptyString(socket)
    {
        string storage old_socket = address_to_socket[msg.sender];

        // Compare if the new socket matches the old one, if it does just return
        if (equals(old_socket, socket)) {
            return;
        }

        // Put the ethereum address 0 in front of the old_socket,old_socket:0x0
        socket_to_address[old_socket] = address(0);
        address_to_socket[msg.sender] = socket;
        socket_to_address[socket] = msg.sender;
        AddressRegistered(msg.sender, socket);
    }

    /*
     * @notice Finds the socket if given an Ethereum Address
     * @dev Finds the socket if given an Ethereum Address
     * @param An eth_address which is a 20 byte Ethereum Address
     * @return A socket which the current Ethereum Address is using.
     */
    function findEndpointByAddress(address eth_address) constant returns (string socket)
    {
        return address_to_socket[eth_address];
    }

    /*
     * @notice Finds Ethreum Address if given an existing socket address
     * @dev Finds Ethreum Address if given an existing socket address
     * @param string of socket in this format "127.0.0.1:40001"
     * @return An ethereum address
     */
    function findAddressByEndpoint(string socket) constant returns (address eth_address)
    {
        return socket_to_address[socket];
    }

    function equals(string a, string b) internal constant returns (bool result)
    {
        if (sha3(a) == sha3(b)) {
            return true;
        }

        return false;
    }
}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"eth_address","type":"address"}],"name":"findEndpointByAddress","outputs":[{"name":"socket","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"socket","type":"string"}],"name":"registerEndpoint","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"socket","type":"string"}],"name":"findAddressByEndpoint","outputs":[{"name":"eth_address","type":"address"}],"payable":false,"type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"eth_address","type":"address"},{"indexed":false,"name":"socket","type":"string"}],"name":"AddressRegistered","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b5b6107908061001f6000396000f300606060405263ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663028a582e811461005357806308b5a85a146100ea578063460123cf1461013d575b600080fd5b341561005e57600080fd5b610072600160a060020a03600435166101aa565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100af5780820151818401525b602001610096565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156100f557600080fd5b61013b60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061027795505050505050565b005b341561014857600080fd5b61018e60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061056195505050505050565b604051600160a060020a03909116815260200160405180910390f35b6101b26106b2565b60008083600160a060020a0316600160a060020a031681526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561026a5780601f1061023f5761010080835404028352916020019161026a565b820191906000526020600020905b81548152906001019060200180831161024d57829003601f168201915b505050505090505b919050565b600081610292816020604051908101604052600081526105dc565b1515600114156102a157600080fd5b60008033600160a060020a0316600160a060020a03168152602001908152602001600020915061036a828054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561035f5780601f106103345761010080835404028352916020019161035f565b820191906000526020600020905b81548152906001019060200180831161034257829003601f168201915b5050505050846105dc565b156103745761055b565b600060018360405180828054600181600116156101000203166002900480156103d45780601f106103b25761010080835404028352918201916103d4565b820191906000526020600020905b8154815290600101906020018083116103c0575b50509283525050602001604051908190039020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039283161790553316600090815260208190526040902083805161042f9291602001906106c4565b50336001846040518082805190602001908083835b6020831061046457805182525b601f199092019160209182019101610444565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051908190039020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392831617905533167f3a62a9d7855df5303e50b0440124304fefafde7f677fc33787b784fc92cfa6188460405160208082528190810183818151815260200191508051906020019080838360005b838110156105205780820151818401525b602001610507565b50505050905090810190601f16801561054d5780820380516001836020036101000a031916815260200191505b509250505060405180910390a25b5b505050565b60006001826040518082805190602001908083835b6020831061059657805182525b601f199092019160209182019101610576565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902054600160a060020a031690505b919050565b6000816040518082805190602001908083835b6020831061060f57805182525b601f1990920191602091820191016105ef565b6001836020036101000a0380198251168184511617909252505050919091019250604091505051908190039020836040518082805190602001908083835b6020831061066d57805182525b601f19909201916020918201910161064d565b6001836020036101000a038019825116818451161790925250505091909101925060409150505190819003902014156106a8575060016106ac565b5060005b92915050565b60206040519081016040526000815290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061070557805160ff1916838001178555610732565b82800160010185558215610732579182015b82811115610732578251825591602001919060010190610717565b5b5061073f929150610743565b5090565b61076191905b8082111561073f5760008155600101610749565b5090565b905600a165627a7a72305820bd319af3ec5d1b3d153e1c88a79736517173b8173f92c7ce9d5f8bb8ecb297760029

   Swarm Source:
bzzr://bd319af3ec5d1b3d153e1c88a79736517173b8173f92c7ce9d5f8bb8ecb29776

 

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