Contract Overview
Balance: 0 Ether
Transactions: 31242 txns
 Latest 25 transactions from a total of 31242 transactions

TxHash Age From To Value [TxFee]
0x725ca57b10680df07d4575ee9fda152f3af79507cdee45aec7046b8fb4f22e4b1 hr 56 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000181318
0x47650c253e21057553a6351048d02b473f3acfa01ba709a22895234cc775d3e73 hrs 17 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000293173
0xe948bddb375ecac9bf3f99e1a00bc8b44216b58519d5b760640fb182ecc617893 hrs 47 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000293237
0x6e89a9df20d9eece64be8df7a45e8965cfdf47519e9194a6c70d18d5f889c14a3 hrs 56 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000181126
0x2878e4af228aeca88d8a91748bcdaec575b6ab8fbfcb0b6039c2305e248e7efd3 hrs 59 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000064083
0x10c36b83f5d62f8108d7bdbaedd158dc374bcc26ba2a91927e66dfb14f5300024 hrs 6 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.00021119
0xb07577aacbbd5f70e5de72aeb3eba36b41c643037f14452976f7bfd84101cf394 hrs 7 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000055707
0x06d42125779c9b20ad663531106ab622a3e6f3b7fb128ecab1e226b89d0f256b5 hrs 11 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000091234
0x210346367b8113b6a4397691560c585a8ad85d7cf24da3ee65e69e3dcd12887c5 hrs 19 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000080936
0xbe7adea3f1742cbc5ab3221a2a00d9d65470fc3485e46a49985fa9aa97ea35145 hrs 35 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000058441
0x175f12e202f374c0152a8d52251948a29149c8de14d885290049b21697abfef06 hrs 57 mins ago0x97b31fe4ff3e7c2e58f8a98cf13cb0925459d81c  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000057195
0x6860b3350e73a34014d16e86a32a3eeae4adbdd5cba43cd8b3ea6a6bf0b04d888 hrs 34 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000100712
0x7c2d44383f72d71e4dbe0e33c032e47e49aa0db5cac2466ad6df2b39f86b442e8 hrs 37 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000959467
0x0b6b65f6ef21e4a6bb3db7dc25107ab0ebd9ca4652b8c23f4c66ad212ff7ab3c22 hrs 24 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000293685
0xb7ba3c2869c2660cb049813bc3e5eba60d8f1b0654ce8d75bb301f58b42712b722 hrs 29 mins ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000211318
0x0251cf61b4fbd72f8be5f43658803827d4edd61d179067288a80ed57ef56cabc1 day 19 hrs ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000100503
0x255df64361588a039d9e7cf10af4065ef39ebc16c4359f87aaa5be8827242d234 days 1 hr ago0x97b31fe4ff3e7c2e58f8a98cf13cb0925459d81c  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000057195
0xe2b2ebfdbce35e72029f6b72cf139c0120a96755c27b962360123a203b8e74c65 days 4 hrs ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000100567
0x95438033e0a358990f3b7ba60359491a1dbb85fb8cbb74369517f051773fc4355 days 4 hrs ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000100439
0x8bd24de0010095ff8314df0246be69705a034d16c30664afaa2a0bfd7ad81e4d5 days 4 hrs ago0x97b31fe4ff3e7c2e58f8a98cf13cb0925459d81c  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000057195
0x79aaeb7e8682ea4969c6782e9cb4a73503114d5c513536a4b9c39cdc9c32fded5 days 10 hrs ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000196318
0x654e94cdd16363beaaa3847d943a4b7e3c62ae84550975554a112be60b081a325 days 10 hrs ago0x97b31fe4ff3e7c2e58f8a98cf13cb0925459d81c  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000057195
0x802ea88d7c21787e12fa4c7b95520873f6f1b3530ead6ecc12fdc78796e959015 days 10 hrs ago0x97b31fe4ff3e7c2e58f8a98cf13cb0925459d81c  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000057195
0x47473e555cfe1d08d052094b9f1cdd5c74d4555367e7d6993747795e03f1067e5 days 17 hrs ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000085503
0xa6e251f0c94f8adbac75bb0a8a6a2b318a8d9743eed70bbe1d879164228ab9e55 days 17 hrs ago0xdcc2be5333c68481cb95a700b601202785abd469  IN   0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310 Ether0.000105984
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0x725ca57b10680df07d4575ee9fda152f3af79507cdee45aec7046b8fb4f22e4b37309361 hr 56 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x47650c253e21057553a6351048d02b473f3acfa01ba709a22895234cc775d3e737306133 hrs 17 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0xe948bddb375ecac9bf3f99e1a00bc8b44216b58519d5b760640fb182ecc6178937304923 hrs 47 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x6e89a9df20d9eece64be8df7a45e8965cfdf47519e9194a6c70d18d5f889c14a37304573 hrs 56 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x2878e4af228aeca88d8a91748bcdaec575b6ab8fbfcb0b6039c2305e248e7efd37304433 hrs 59 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x10c36b83f5d62f8108d7bdbaedd158dc374bcc26ba2a91927e66dfb14f53000237304164 hrs 6 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0xb07577aacbbd5f70e5de72aeb3eba36b41c643037f14452976f7bfd84101cf3937304114 hrs 7 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x06d42125779c9b20ad663531106ab622a3e6f3b7fb128ecab1e226b89d0f256b37301565 hrs 11 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x210346367b8113b6a4397691560c585a8ad85d7cf24da3ee65e69e3dcd12887c37301265 hrs 19 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0xbe7adea3f1742cbc5ab3221a2a00d9d65470fc3485e46a49985fa9aa97ea351437300605 hrs 35 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x175f12e202f374c0152a8d52251948a29149c8de14d885290049b21697abfef037297336 hrs 57 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x6860b3350e73a34014d16e86a32a3eeae4adbdd5cba43cd8b3ea6a6bf0b04d8837293448 hrs 34 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x7c2d44383f72d71e4dbe0e33c032e47e49aa0db5cac2466ad6df2b39f86b442e37293328 hrs 37 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x0b6b65f6ef21e4a6bb3db7dc25107ab0ebd9ca4652b8c23f4c66ad212ff7ab3c372602622 hrs 24 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0xb7ba3c2869c2660cb049813bc3e5eba60d8f1b0654ce8d75bb301f58b42712b7372600522 hrs 29 mins ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x0251cf61b4fbd72f8be5f43658803827d4edd61d179067288a80ed57ef56cabc37210271 day 19 hrs ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x255df64361588a039d9e7cf10af4065ef39ebc16c4359f87aaa5be8827242d2337080304 days 1 hr ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0xe2b2ebfdbce35e72029f6b72cf139c0120a96755c27b962360123a203b8e74c637015745 days 4 hrs ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x95438033e0a358990f3b7ba60359491a1dbb85fb8cbb74369517f051773fc43537015675 days 4 hrs ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x8bd24de0010095ff8314df0246be69705a034d16c30664afaa2a0bfd7ad81e4d37014655 days 4 hrs ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x79aaeb7e8682ea4969c6782e9cb4a73503114d5c513536a4b9c39cdc9c32fded37000465 days 10 hrs ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x654e94cdd16363beaaa3847d943a4b7e3c62ae84550975554a112be60b081a3237000435 days 10 hrs ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x802ea88d7c21787e12fa4c7b95520873f6f1b3530ead6ecc12fdc78796e9590137000375 days 10 hrs ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0x47473e555cfe1d08d052094b9f1cdd5c74d4555367e7d6993747795e03f1067e36985065 days 17 hrs ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
0xa6e251f0c94f8adbac75bb0a8a6a2b318a8d9743eed70bbe1d879164228ab9e536984805 days 17 hrs ago0xda8c6dce9e9a85e6f9df7b09b2354da44cb483310x87ea811785c4bd30fc104c2543cf8ed90f7eeec70 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), NestedArrayFunctionCallDecoder (medium-severity), ZeroFunctionSelector (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: TxRelay
Compiler Text: v0.4.15+commit.bbb8e64f
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity 0.4.15;


// This contract is meant as a "singleton" forwarding contract.
// Eventually, it will be able to forward any transaction to
// Any contract that is built to accept it.
contract TxRelay {

    // Note: This is a local nonce.
    // Different from the nonce defined w/in protocol.
    mapping(address => uint) nonce;

    // This mapping specifies a whitelist of allowed senders for transactions.
    // There can be one whitelist per ethereum account, which is the owner of that
    // whitelist. Users can specify which whitelist they want to use when signing
    // a transaction. They can use their own whitelist, a whitelist belonging
    // to another account, or skip using a whitelist by specifying the zero address.
    mapping(address => mapping(address => bool)) public whitelist;

    /*
     * @dev Relays meta transactions
     * @param sigV, sigR, sigS ECDSA signature on some data to be forwarded
     * @param destination Location the meta-tx should be forwarded to
     * @param data The bytes necessary to call the function in the destination contract.
     * Note: The first encoded argument in data must be address of the signer. This means
     * that all functions called from this relay must take an address as the first parameter.
     */
    function relayMetaTx(
        uint8 sigV,
        bytes32 sigR,
        bytes32 sigS,
        address destination,
        bytes data,
        address listOwner
    ) public {

        // only allow senders from the whitelist specified by the user,
        // 0x0 means no whitelist.
        require(listOwner == 0x0 || whitelist[listOwner][msg.sender]);

        address claimedSender = getAddress(data);
        // use EIP 191
        // 0x19 :: version :: relay :: whitelistOwner :: nonce :: destination :: data
        bytes32 h = keccak256(byte(0x19), byte(0), this, listOwner, nonce[claimedSender], destination, data);
        address addressFromSig = ecrecover(h, sigV, sigR, sigS);

        require(claimedSender == addressFromSig);

        nonce[claimedSender]++; //if we are going to do tx, update nonce

        require(destination.call(data));
    }

    /*
     * @dev Gets an address encoded as the first argument in transaction data
     * @param b The byte array that should have an address as first argument
     * @returns a The address retrieved from the array
     (Optimization based on work by tjade273)
     */
    function getAddress(bytes b) public constant returns (address a) {
        if (b.length < 36) return address(0);
        assembly {
            let mask := 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            a := and(mask, mload(add(b, 36)))
            // 36 is the offset of the first parameter of the data, if encoded properly.
            // 32 bytes for the length of the bytes array, and 4 bytes for the function signature.
        }
    }

    /*
     * @dev Returns the local nonce of an account.
     * @param add The address to return the nonce for.
     * @return The specific-to-this-contract nonce of the address provided
     */
    function getNonce(address add) public constant returns (uint) {
        return nonce[add];
    }

    /*
     * @dev Adds a number of addresses to a specific whitelist. Only
     * the owner of a whitelist can add to it.
     * @param sendersToUpdate the addresses to add to the whitelist
     */
    function addToWhitelist(address[] sendersToUpdate) public {
        updateWhitelist(sendersToUpdate, true);
    }

    /*
     * @dev Removes a number of addresses from a specific whitelist. Only
     * the owner of a whitelist can remove from it.
     * @param sendersToUpdate the addresses to add to the whitelist
     */
    function removeFromWhitelist(address[] sendersToUpdate) public {
        updateWhitelist(sendersToUpdate, false);
    }

    /*
     * @dev Internal logic to update a whitelist
     * @param sendersToUpdate the addresses to add to the whitelist
     * @param newStatus whether to add or remove addresses
     */
    function updateWhitelist(address[] sendersToUpdate, bool newStatus) private {
        for (uint i = 0; i < sendersToUpdate.length; i++) {
            whitelist[msg.sender][sendersToUpdate[i]] = newStatus;
        }
    }
}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"add","type":"address"}],"name":"getNonce","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"sendersToUpdate","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"sendersToUpdate","type":"address[]"}],"name":"addToWhitelist","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"whitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"sigV","type":"uint8"},{"name":"sigR","type":"bytes32"},{"name":"sigS","type":"bytes32"},{"name":"destination","type":"address"},{"name":"data","type":"bytes"},{"name":"listOwner","type":"address"}],"name":"relayMetaTx","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"b","type":"bytes"}],"name":"getAddress","outputs":[{"name":"a","type":"address"}],"payable":false,"type":"function"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b5b6106338061001f6000396000f300606060405236156100755763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d0335ab811461007a578063548db174146100ab5780637f649783146100fc578063b092145e1461014d578063c3f44c0a14610186578063c47cf5de14610203575b600080fd5b341561008557600080fd5b610099600160a060020a0360043516610270565b60405190815260200160405180910390f35b34156100b657600080fd5b6100fa600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061028f95505050505050565b005b341561010757600080fd5b6100fa600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061029e95505050505050565b005b341561015857600080fd5b610172600160a060020a03600435811690602435166102ad565b604051901515815260200160405180910390f35b341561019157600080fd5b6100fa6004803560ff1690602480359160443591606435600160a060020a0316919060a49060843590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965050509235600160a060020a031692506102cd915050565b005b341561020e57600080fd5b61025460046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061056a95505050505050565b604051600160a060020a03909116815260200160405180910390f35b600160a060020a0381166000908152602081905260409020545b919050565b61029a816000610594565b5b50565b61029a816001610594565b5b50565b600160209081526000928352604080842090915290825290205460ff1681565b60008080600160a060020a038416158061030d5750600160a060020a038085166000908152600160209081526040808320339094168352929052205460ff165b151561031857600080fd5b6103218561056a565b600160a060020a038116600090815260208190526040808220549295507f19000000000000000000000000000000000000000000000000000000000000009230918891908b908b90517fff000000000000000000000000000000000000000000000000000000000000008089168252871660018201526c01000000000000000000000000600160a060020a038088168202600284015286811682026016840152602a8301869052841602604a820152605e810182805190602001908083835b6020831061040057805182525b601f1990920191602091820191016103e0565b6001836020036101000a0380198251168184511617909252505050919091019850604097505050505050505051809103902091506001828a8a8a6040516000815260200160405260006040516020015260405193845260ff90921660208085019190915260408085019290925260608401929092526080909201915160208103908084039060008661646e5a03f1151561049957600080fd5b5050602060405103519050600160a060020a03838116908216146104bc57600080fd5b600160a060020a0380841660009081526020819052604090819020805460010190559087169086905180828051906020019080838360005b8381101561050d5780820151818401525b6020016104f4565b50505050905090810190601f16801561053a5780820380516001836020036101000a031916815260200191505b5091505060006040518083038160008661646e5a03f1915050151561055e57600080fd5b5b505050505050505050565b600060248251101561057e5750600061028a565b600160a060020a0360248301511690505b919050565b60005b825181101561060157600160a060020a033316600090815260016020526040812083918584815181106105c657fe5b90602001906020020151600160a060020a031681526020810191909152604001600020805460ff19169115159190911790555b600101610597565b5b5050505600a165627a7a72305820babe4e3dee27c779650515a647ff5ee018d1bc6894a1a85e516709c7187bfd6f0029

   Swarm Source:
bzzr://babe4e3dee27c779650515a647ff5ee018d1bc6894a1a85e516709c7187bfd6f

 

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