Contract 0xB2b5841DBeF766d4b521221732F9B618fCf34A87

  Note: Our ETH balance display is temporarily unavailable. Please check back later.
Txn Hash Method
Block
From
To
Value
0x363165babaadee759978cc1293f4723e88afccc0f10f34725b52be071d2e1d0aExecute82644002023-04-20 2:14:28456 days 43 mins ago0xa086ee70dd79e0ba801e7eb3cc6c6c5136dadf77 IN  0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH0.0003730305773
0x8eb21735201b598b880512a48fa87a0f3a07bc974c4a690c47723e26142a0cf8Execute82585932023-04-19 23:00:54456 days 3 hrs ago0xa086ee70dd79e0ba801e7eb3cc6c6c5136dadf77 IN  0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH0.0003213530543
0xbded2c6c4a43e44708fdcde6b9fb2b736fb47abd0c751f5e0e3a2983a8743c09Execute82583452023-04-19 22:52:38456 days 4 hrs ago0xa086ee70dd79e0ba801e7eb3cc6c6c5136dadf77 IN  0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH0.0003726208033
0xdf78bb9baeac2eb4e6eb7902b0b2cc1d150446bbe3f898bb66cf4558d50b42f4Execute82576402023-04-19 22:29:08456 days 4 hrs ago0xa086ee70dd79e0ba801e7eb3cc6c6c5136dadf77 IN  0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH0.0003215338573
0x895ee03af2a23e4a7ecd739c3d3e1fd7fb3618443dc715cf2e3495e96adf62d0Execute81261302023-04-16 21:25:28459 days 5 hrs ago0xa086ee70dd79e0ba801e7eb3cc6c6c5136dadf77 IN  0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH0.0000535355380.008100203
0x38a37d32bd1e9939f0d6266231f162cbbaf786b0a036bd5d0b668af8015a4d17Execute81252022023-04-16 20:54:32459 days 6 hrs ago0xa086ee70dd79e0ba801e7eb3cc6c6c5136dadf77 IN  0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH0.0000654932780.00360009
0x88182d1ed8183cce1737bd796a0a11b2370e806ba27473e96a8fa957950bee26Register Domain ...38439582023-01-02 14:26:25563 days 12 hrs ago0xe089566e6bf45e05c4805c13c4e57a982e945b4b IN  0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH0.0000001770730.000000001
0x89120a787ccb3ed6d0390b48447ac988f316a843fe5f5f863bee640e27d11d40Register Request...38439562023-01-02 14:26:25563 days 12 hrs ago0xe089566e6bf45e05c4805c13c4e57a982e945b4b IN  0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH0.0000002785160.000000001
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x8a591c52b78726b4470dc5ad55966a49d5a2d134a10dfaa1a71ba734534402cb118354182023-07-11 18:08:24373 days 8 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a87 0x8f75a3daead63cec46b43cae0ac546e6b659516d0 ETH
0x8a591c52b78726b4470dc5ad55966a49d5a2d134a10dfaa1a71ba734534402cb118354182023-07-11 18:08:24373 days 8 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a870x00000000000000000000000000000000000000010 ETH
0x8a591c52b78726b4470dc5ad55966a49d5a2d134a10dfaa1a71ba734534402cb118354182023-07-11 18:08:24373 days 8 hrs ago 0x0f48612d2517e47d72fec92a2fc6fd64ca6816e0 0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH
0xb493e9e1bf8aedc5c9dcd6f9dbfff25d50b390fb2043c0991b13c60d666764b6118348512023-07-11 17:49:30373 days 9 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a87 0x6bd452969aa7c22f62f4a110daff07645972376a0 ETH
0xb493e9e1bf8aedc5c9dcd6f9dbfff25d50b390fb2043c0991b13c60d666764b6118348512023-07-11 17:49:30373 days 9 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a870x00000000000000000000000000000000000000010 ETH
0xb493e9e1bf8aedc5c9dcd6f9dbfff25d50b390fb2043c0991b13c60d666764b6118348512023-07-11 17:49:30373 days 9 hrs ago 0x0f48612d2517e47d72fec92a2fc6fd64ca6816e0 0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH
0x2610a26460a67fc6a3c895b80dca6ff3de8de5975053ff3b073d188e8c1c82ff118335372023-07-11 17:05:42373 days 9 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a87 0x6bd452969aa7c22f62f4a110daff07645972376a0 ETH
0x2610a26460a67fc6a3c895b80dca6ff3de8de5975053ff3b073d188e8c1c82ff118335372023-07-11 17:05:42373 days 9 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a870x00000000000000000000000000000000000000010 ETH
0x2610a26460a67fc6a3c895b80dca6ff3de8de5975053ff3b073d188e8c1c82ff118335372023-07-11 17:05:42373 days 9 hrs ago 0x0f48612d2517e47d72fec92a2fc6fd64ca6816e0 0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH
0xea12d4be70581dcafc594062971e5fe901a034cb95a3af761adc921ce97def21118335182023-07-11 17:05:04373 days 9 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a87 0x6bd452969aa7c22f62f4a110daff07645972376a0 ETH
0xea12d4be70581dcafc594062971e5fe901a034cb95a3af761adc921ce97def21118335182023-07-11 17:05:04373 days 9 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a870x00000000000000000000000000000000000000010 ETH
0xea12d4be70581dcafc594062971e5fe901a034cb95a3af761adc921ce97def21118335182023-07-11 17:05:04373 days 9 hrs ago 0x0f48612d2517e47d72fec92a2fc6fd64ca6816e0 0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH
0xc863ac72aabc00dc9b0553ed783572e9437c399df130623b6549dbf75cd028bc118318712023-07-11 16:10:10373 days 10 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a87 0x8f75a3daead63cec46b43cae0ac546e6b659516d0 ETH
0xc863ac72aabc00dc9b0553ed783572e9437c399df130623b6549dbf75cd028bc118318712023-07-11 16:10:10373 days 10 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a870x00000000000000000000000000000000000000010 ETH
0xc863ac72aabc00dc9b0553ed783572e9437c399df130623b6549dbf75cd028bc118318712023-07-11 16:10:10373 days 10 hrs ago 0x0f48612d2517e47d72fec92a2fc6fd64ca6816e0 0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH
0x0611be32ff772b511e9126e122812c8fa74345a5ec8bd81a6a25dae182b59805117785242023-07-10 10:31:56374 days 16 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a87 0x6bd452969aa7c22f62f4a110daff07645972376a0 ETH
0x0611be32ff772b511e9126e122812c8fa74345a5ec8bd81a6a25dae182b59805117785242023-07-10 10:31:56374 days 16 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a870x00000000000000000000000000000000000000010 ETH
0x0611be32ff772b511e9126e122812c8fa74345a5ec8bd81a6a25dae182b59805117785242023-07-10 10:31:56374 days 16 hrs ago 0x0f48612d2517e47d72fec92a2fc6fd64ca6816e0 0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH
0xbaab8f3d4cf40803afcf15990c9af3fd6ff0a6277a545c7496c711e46dd31a4f117785012023-07-10 10:31:10374 days 16 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a87 0xb138839042354346973636f72af1d0d9810c8dde0 ETH
0xbaab8f3d4cf40803afcf15990c9af3fd6ff0a6277a545c7496c711e46dd31a4f117785012023-07-10 10:31:10374 days 16 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a870x00000000000000000000000000000000000000010 ETH
0xbaab8f3d4cf40803afcf15990c9af3fd6ff0a6277a545c7496c711e46dd31a4f117785012023-07-10 10:31:10374 days 16 hrs ago 0x0f48612d2517e47d72fec92a2fc6fd64ca6816e0 0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH
0x388e94bd3e7fa7a6eaabf8be241ad566ef169651ccc0df0cfb3b1168a9a3c700116818462023-07-08 4:49:20376 days 22 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a87 0x03e99b4d1a85aaa1e7ee62503b173374baf367ad0 ETH
0x388e94bd3e7fa7a6eaabf8be241ad566ef169651ccc0df0cfb3b1168a9a3c700116818462023-07-08 4:49:20376 days 22 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a870x00000000000000000000000000000000000000010 ETH
0x388e94bd3e7fa7a6eaabf8be241ad566ef169651ccc0df0cfb3b1168a9a3c700116818462023-07-08 4:49:20376 days 22 hrs ago 0x0f48612d2517e47d72fec92a2fc6fd64ca6816e0 0xb2b5841dbef766d4b521221732f9b618fcf34a870 ETH
0xc606078f252dca961e907e92f8dc178eab8337541f527fb6e975ca9ac37d692e116812072023-07-08 4:28:02376 days 22 hrs ago 0xb2b5841dbef766d4b521221732f9b618fcf34a87 0xb138839042354346973636f72af1d0d9810c8dde0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Forwarder

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
File 1 of 7 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

File 2 of 7 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 3 of 7 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 4 of 7 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 5 of 7 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 6 of 7 : Forwarder.sol
pragma solidity ^0.8.0;
pragma abicoder v2;

// solhint-disable not-rely-on-time
// SPDX-License-Identifier: GPL-3.0-only

import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

import "./IForwarder.sol";

/**
 * @title The Forwarder Implementation
 * @notice This implementation of the `IForwarder` interface uses ERC-712 signatures and stored nonces for verification.
 */
contract Forwarder is IForwarder, ERC165 {
    using ECDSA for bytes32;

    address private constant DRY_RUN_ADDRESS = 0x0000000000000000000000000000000000000000;

    string public constant GENERIC_PARAMS = "address from,address to,uint256 value,uint256 gas,uint256 nonce,bytes data,uint256 validUntilTime";

    string public constant EIP712_DOMAIN_TYPE = "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)";

    mapping(bytes32 => bool) public typeHashes;
    mapping(bytes32 => bool) public domains;

    // Nonces of senders, used to prevent replay attacks
    mapping(address => uint256) private nonces;

    // solhint-disable-next-line no-empty-blocks
    receive() external payable {}

    /// @inheritdoc IForwarder
    function getNonce(address from)
    public view override
    returns (uint256) {
        return nonces[from];
    }

    constructor() {
        string memory requestType = string(abi.encodePacked("ForwardRequest(", GENERIC_PARAMS, ")"));
        registerRequestTypeInternal(requestType);
    }

    /// @inheritdoc IERC165
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IForwarder).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /// @inheritdoc IForwarder
    function verify(
        ForwardRequest calldata req,
        bytes32 domainSeparator,
        bytes32 requestTypeHash,
        bytes calldata suffixData,
        bytes calldata sig)
    external override view {
        _verifyNonce(req);
        _verifySig(req, domainSeparator, requestTypeHash, suffixData, sig);
    }

    /// @inheritdoc IForwarder
    function execute(
        ForwardRequest calldata req,
        bytes32 domainSeparator,
        bytes32 requestTypeHash,
        bytes calldata suffixData,
        bytes calldata sig
    )
    external payable
    override
    returns (bool success, bytes memory ret) {
        _verifySig(req, domainSeparator, requestTypeHash, suffixData, sig);
        _verifyAndUpdateNonce(req);

        require(req.validUntilTime == 0 || req.validUntilTime > block.timestamp, "FWD: request expired");

        uint256 gasForTransfer = 0;
        if ( req.value != 0 ) {
            gasForTransfer = 40000; //buffer in case we need to move eth after the transaction.
        }
        bytes memory callData = abi.encodePacked(req.data, req.from);
        require(gasleft()*63/64 >= req.gas + gasForTransfer, "FWD: insufficient gas");
        // solhint-disable-next-line avoid-low-level-calls
        (success,ret) = req.to.call{gas : req.gas, value : req.value}(callData);

        if ( req.value != 0 && address(this).balance>0 ) {
            // can't fail: req.from signed (off-chain) the request, so it must be an EOA...
            payable(req.from).transfer(address(this).balance);
        }

        return (success,ret);
    }

    function _verifyNonce(ForwardRequest calldata req) internal view {
        require(nonces[req.from] == req.nonce, "FWD: nonce mismatch");
    }

    function _verifyAndUpdateNonce(ForwardRequest calldata req) internal {
        require(nonces[req.from]++ == req.nonce, "FWD: nonce mismatch");
    }

    /// @inheritdoc IForwarder
    function registerRequestType(string calldata typeName, string calldata typeSuffix) external override {

        for (uint256 i = 0; i < bytes(typeName).length; i++) {
            bytes1 c = bytes(typeName)[i];
            require(c != "(" && c != ")", "FWD: invalid typename");
        }

        string memory requestType = string(abi.encodePacked(typeName, "(", GENERIC_PARAMS, ",", typeSuffix));
        registerRequestTypeInternal(requestType);
    }

    /// @inheritdoc IForwarder
    function registerDomainSeparator(string calldata name, string calldata version) external override {
        uint256 chainId;
        /* solhint-disable-next-line no-inline-assembly */
        assembly { chainId := chainid() }

        bytes memory domainValue = abi.encode(
            keccak256(bytes(EIP712_DOMAIN_TYPE)),
            keccak256(bytes(name)),
            keccak256(bytes(version)),
            chainId,
            address(this));

        bytes32 domainHash = keccak256(domainValue);

        domains[domainHash] = true;
        emit DomainRegistered(domainHash, domainValue);
    }

    function registerRequestTypeInternal(string memory requestType) internal {

        bytes32 requestTypehash = keccak256(bytes(requestType));
        typeHashes[requestTypehash] = true;
        emit RequestTypeRegistered(requestTypehash, requestType);
    }

    function _verifySig(
        ForwardRequest calldata req,
        bytes32 domainSeparator,
        bytes32 requestTypeHash,
        bytes calldata suffixData,
        bytes calldata sig)
    internal
    virtual
    view
    {
        require(domains[domainSeparator], "FWD: unregistered domain sep.");
        require(typeHashes[requestTypeHash], "FWD: unregistered typehash");
        bytes32 digest = keccak256(abi.encodePacked(
                "\x19\x01", domainSeparator,
                keccak256(_getEncoded(req, requestTypeHash, suffixData))
            ));
        // solhint-disable-next-line avoid-tx-origin
        require(tx.origin == DRY_RUN_ADDRESS || digest.recover(sig) == req.from, "FWD: signature mismatch");
    }

    /**
     * @notice Creates a byte array that is a valid ABI encoding of a request of a `RequestType` type. See `execute()`.
     */
    function _getEncoded(
        ForwardRequest calldata req,
        bytes32 requestTypeHash,
        bytes calldata suffixData
    )
    public
    pure
    returns (
        bytes memory
    ) {
        // we use encodePacked since we append suffixData as-is, not as dynamic param.
        // still, we must make sure all first params are encoded as abi.encode()
        // would encode them - as 256-bit-wide params.
        return abi.encodePacked(
            requestTypeHash,
            uint256(uint160(req.from)),
            uint256(uint160(req.to)),
            req.value,
            req.gas,
            req.nonce,
            keccak256(req.data),
            req.validUntilTime,
            suffixData
        );
    }
}

File 7 of 7 : IForwarder.sol
pragma solidity >=0.7.6;
pragma abicoder v2;

// SPDX-License-Identifier: GPL-3.0-only

import "@openzeppelin/contracts/interfaces/IERC165.sol";

/**
 * @title The Forwarder Interface
 * @notice The contracts implementing this interface take a role of authorization, authentication and replay protection
 * for contracts that choose to trust a `Forwarder`, instead of relying on a mechanism built into the Ethereum protocol.
 *
 * @notice if the `Forwarder` contract decides that an incoming `ForwardRequest` is valid, it must append 20 bytes that
 * represent the caller to the `data` field of the request and send this new data to the target address (the `to` field)
 *
 * :warning: **Warning** :warning: The Forwarder can have a full control over a `Recipient` contract.
 * Any vulnerability in a `Forwarder` implementation can make all of its `Recipient` contracts susceptible!
 * Recipient contracts should only trust forwarders that passed through security audit,
 * otherwise they are susceptible to identity theft.
 */
interface IForwarder is IERC165 {

    /**
     * @notice A representation of a request for a `Forwarder` to send `data` on behalf of a `from` to a target (`to`).
     */
    struct ForwardRequest {
        address from;
        address to;
        uint256 value;
        uint256 gas;
        uint256 nonce;
        bytes data;
        uint256 validUntilTime;
    }

    event DomainRegistered(bytes32 indexed domainSeparator, bytes domainValue);

    event RequestTypeRegistered(bytes32 indexed typeHash, string typeStr);

    /**
     * @param from The address of a sender.
     * @return The nonce for this address.
     */
    function getNonce(address from)
    external view
    returns(uint256);

    /**
     * @notice Verify the transaction is valid and can be executed.
     * Implementations must validate the signature and the nonce of the request are correct.
     * Does not revert and returns successfully if the input is valid.
     * Reverts if any validation has failed. For instance, if either signature or nonce are incorrect.
     * Reverts if `domainSeparator` or `requestTypeHash` are not registered as well.
     */
    function verify(
        ForwardRequest calldata forwardRequest,
        bytes32 domainSeparator,
        bytes32 requestTypeHash,
        bytes calldata suffixData,
        bytes calldata signature
    ) external view;

    /**
     * @notice Executes a transaction specified by the `ForwardRequest`.
     * The transaction is first verified and then executed.
     * The success flag and returned bytes array of the `CALL` are returned as-is.
     *
     * This method would revert only in case of a verification error.
     *
     * All the target errors are reported using the returned success flag and returned bytes array.
     *
     * @param forwardRequest All requested transaction parameters.
     * @param domainSeparator The domain used when signing this request.
     * @param requestTypeHash The request type used when signing this request.
     * @param suffixData The ABI-encoded extension data for the current `RequestType` used when signing this request.
     * @param signature The client signature to be validated.
     *
     * @return success The success flag of the underlying `CALL` to the target address.
     * @return ret The byte array returned by the underlying `CALL` to the target address.
     */
    function execute(
        ForwardRequest calldata forwardRequest,
        bytes32 domainSeparator,
        bytes32 requestTypeHash,
        bytes calldata suffixData,
        bytes calldata signature
    )
    external payable
    returns (bool success, bytes memory ret);

    /**
     * @notice Register a new Request typehash.
     *
     * @notice This is necessary for the Forwarder to be able to verify the signatures conforming to the ERC-712.
     *
     * @param typeName The name of the request type.
     * @param typeSuffix Any extra data after the generic params. Must contain add at least one param.
     * The generic ForwardRequest type is always registered by the constructor.
     */
    function registerRequestType(string calldata typeName, string calldata typeSuffix) external;

    /**
     * @notice Register a new domain separator.
     *
     * @notice This is necessary for the Forwarder to be able to verify the signatures conforming to the ERC-712.
     *
     * @notice The domain separator must have the following fields: `name`, `version`, `chainId`, `verifyingContract`.
     * The `chainId` is the current network's `chainId`, and the `verifyingContract` is this Forwarder's address.
     * This method accepts the domain name and version to create and register the domain separator value.
     * @param name The domain's display name.
     * @param version The domain/protocol version.
     */
    function registerDomainSeparator(string calldata name, string calldata version) external;
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"domainSeparator","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"domainValue","type":"bytes"}],"name":"DomainRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"typeHash","type":"bytes32"},{"indexed":false,"internalType":"string","name":"typeStr","type":"string"}],"name":"RequestTypeRegistered","type":"event"},{"inputs":[],"name":"EIP712_DOMAIN_TYPE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GENERIC_PARAMS","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gas","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"validUntilTime","type":"uint256"}],"internalType":"struct IForwarder.ForwardRequest","name":"req","type":"tuple"},{"internalType":"bytes32","name":"requestTypeHash","type":"bytes32"},{"internalType":"bytes","name":"suffixData","type":"bytes"}],"name":"_getEncoded","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"domains","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gas","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"validUntilTime","type":"uint256"}],"internalType":"struct IForwarder.ForwardRequest","name":"req","type":"tuple"},{"internalType":"bytes32","name":"domainSeparator","type":"bytes32"},{"internalType":"bytes32","name":"requestTypeHash","type":"bytes32"},{"internalType":"bytes","name":"suffixData","type":"bytes"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"execute","outputs":[{"internalType":"bool","name":"success","type":"bool"},{"internalType":"bytes","name":"ret","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"}],"name":"registerDomainSeparator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"typeName","type":"string"},{"internalType":"string","name":"typeSuffix","type":"string"}],"name":"registerRequestType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"typeHashes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"gas","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"validUntilTime","type":"uint256"}],"internalType":"struct IForwarder.ForwardRequest","name":"req","type":"tuple"},{"internalType":"bytes32","name":"domainSeparator","type":"bytes32"},{"internalType":"bytes32","name":"requestTypeHash","type":"bytes32"},{"internalType":"bytes","name":"suffixData","type":"bytes"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"verify","outputs":[],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060006040518060a00160405280606181526020016200150b60619139604051602001620000409190620000c8565b60408051601f1981840301815291905290506200005d8162000064565b5062000174565b8051602080830191909120600081815291829052604091829020805460ff19166001179055905181907f64d6bce64323458c44643c51fe45113efc882082f7b7fd5f09f0d69d2eedb20290620000bc9085906200010c565b60405180910390a25050565b6e08cdee4eec2e4c8a4cae2eacae6e85608b1b815260008251620000f481600f85016020870162000141565b602960f81b600f939091019283015250601001919050565b60208152600082518060208401526200012d81604085016020870162000141565b601f01601f19169190910160400192915050565b60005b838110156200015e57818101518382015260200162000144565b838111156200016e576000848401525b50505050565b61138780620001846000396000f3fe6080604052600436106100a05760003560e01c8063ad9f99c711610064578063ad9f99c714610199578063c3f28abd146101b9578063c722f177146101ce578063d9210be5146101fe578063e024dc7f1461021e578063e2b62f2d1461023f57600080fd5b806301ffc9a7146100ac578063066a310c146100e157806321fe98df146101035780632d0335ab146101335780639c7b45921461017757600080fd5b366100a757005b600080fd5b3480156100b857600080fd5b506100cc6100c7366004610e84565b61025f565b60405190151581526020015b60405180910390f35b3480156100ed57600080fd5b506100f6610296565b6040516100d8919061115e565b34801561010f57600080fd5b506100cc61011e366004610e6b565b60006020819052908152604090205460ff1681565b34801561013f57600080fd5b5061016961014e366004610e3b565b6001600160a01b031660009081526002602052604090205490565b6040519081526020016100d8565b34801561018357600080fd5b50610197610192366004610eae565b6102b2565b005b3480156101a557600080fd5b506101976101b4366004610f1a565b6103a9565b3480156101c557600080fd5b506100f66103ca565b3480156101da57600080fd5b506100cc6101e9366004610e6b565b60016020526000908152604090205460ff1681565b34801561020a57600080fd5b50610197610219366004610eae565b6103e6565b61023161022c366004610f1a565b6104e9565b6040516100d892919061113b565b34801561024b57600080fd5b506100f661025a366004610fc2565b610700565b60006001600160e01b031982166309788f9960e21b148061029057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6040518060a001604052806061815260200161129f6061913981565b60004690506000604051806080016040528060528152602001611300605291398051906020012086866040516102e9929190611097565b60405180910390208585604051610301929190611097565b6040805191829003822060208301949094528101919091526060810191909152608081018390523060a082015260c00160408051601f198184030181528282528051602080830191909120600081815260019283905293909320805460ff1916909117905592509081907f4bc68689cbe89a4a6333a3ab0a70093874da3e5bfb71e93102027f3f073687d89061039890859061115e565b60405180910390a250505050505050565b6103b28761079a565b6103c187878787878787610817565b50505050505050565b6040518060800160405280605281526020016113006052913981565b60005b8381101561049457600085858381811061040557610405611288565b909101356001600160f81b031916915050600560fb1b81148015906104385750602960f81b6001600160f81b0319821614155b6104815760405162461bcd60e51b81526020600482015260156024820152744657443a20696e76616c696420747970656e616d6560581b60448201526064015b60405180910390fd5b508061048c81611241565b9150506103e9565b50600084846040518060a001604052806061815260200161129f6061913985856040516020016104c89594939291906110e9565b60405160208183030381529060405290506104e2816109e9565b5050505050565b600060606104fc89898989898989610817565b61050589610a4b565b60c089013515806105195750428960c00135115b61055c5760405162461bcd60e51b81526020600482015260146024820152731195d10e881c995c5d595cdd08195e1c1a5c995960621b6044820152606401610478565b600060408a01351561056d5750619c405b600061057c60a08c018c611171565b61058960208e018e610e3b565b60405160200161059b939291906110a7565b60408051601f1981840301815291905290506105bb8260608d01356111b8565b60405a6105c990603f6111f2565b6105d391906111d0565b10156106195760405162461bcd60e51b81526020600482015260156024820152744657443a20696e73756666696369656e742067617360581b6044820152606401610478565b61062960408c0160208d01610e3b565b6001600160a01b03168b606001358c604001358360405161064a91906110cd565b600060405180830381858888f193505050503d8060008114610688576040519150601f19603f3d011682016040523d82523d6000602084013e61068d565b606091505b50909450925060408b0135158015906106a65750600047115b156106f2576106b860208c018c610e3b565b6001600160a01b03166108fc479081150290604051600060405180830381858888f193505050501580156106f0573d6000803e3d6000fd5b505b505097509795505050505050565b6060836107106020870187610e3b565b6001600160a01b03166107296040880160208901610e3b565b6001600160a01b03166040880135606089013560808a013561074e60a08c018c611171565b60405161075c929190611097565b6040519081900381206107819796959493929160c08e0135908c908c90602001611045565b6040516020818303038152906040529050949350505050565b6080810135600260006107b06020850185610e3b565b6001600160a01b03166001600160a01b0316815260200190815260200160002054146108145760405162461bcd60e51b815260206004820152601360248201527208cae887440dcdedcc6ca40dad2e6dac2e8c6d606b1b6044820152606401610478565b50565b60008681526001602052604090205460ff166108755760405162461bcd60e51b815260206004820152601d60248201527f4657443a20756e7265676973746572656420646f6d61696e207365702e0000006044820152606401610478565b60008581526020819052604090205460ff166108d35760405162461bcd60e51b815260206004820152601a60248201527f4657443a20756e726567697374657265642074797065686173680000000000006044820152606401610478565b6000866108e289888888610700565b805160209182012060405161090e93920161190160f01b81526002810192909252602282015260420190565b60408051601f1981840301815291905280516020909101209050321580610993575061093d6020890189610e3b565b6001600160a01b031661098884848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508693925050610acf9050565b6001600160a01b0316145b6109df5760405162461bcd60e51b815260206004820152601760248201527f4657443a207369676e6174757265206d69736d617463680000000000000000006044820152606401610478565b5050505050505050565b8051602080830191909120600081815291829052604091829020805460ff19166001179055905181907f64d6bce64323458c44643c51fe45113efc882082f7b7fd5f09f0d69d2eedb20290610a3f90859061115e565b60405180910390a25050565b608081013560026000610a616020850185610e3b565b6001600160a01b0316815260208101919091526040016000908120805491610a8883611241565b91905055146108145760405162461bcd60e51b815260206004820152601360248201527208cae887440dcdedcc6ca40dad2e6dac2e8c6d606b1b6044820152606401610478565b6000806000610ade8585610af3565b91509150610aeb81610b39565b509392505050565b600080825160411415610b2a5760208301516040840151606085015160001a610b1e87828585610cf4565b94509450505050610b32565b506000905060025b9250929050565b6000816004811115610b4d57610b4d611272565b1415610b565750565b6001816004811115610b6a57610b6a611272565b1415610bb85760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610478565b6002816004811115610bcc57610bcc611272565b1415610c1a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610478565b6003816004811115610c2e57610c2e611272565b1415610c875760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610478565b6004816004811115610c9b57610c9b611272565b14156108145760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610478565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610d2b5750600090506003610dd8565b8460ff16601b14158015610d4357508460ff16601c14155b15610d545750600090506004610dd8565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610da8573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610dd157600060019250925050610dd8565b9150600090505b94509492505050565b60008083601f840112610df357600080fd5b50813567ffffffffffffffff811115610e0b57600080fd5b602083019150836020828501011115610b3257600080fd5b600060e08284031215610e3557600080fd5b50919050565b600060208284031215610e4d57600080fd5b81356001600160a01b0381168114610e6457600080fd5b9392505050565b600060208284031215610e7d57600080fd5b5035919050565b600060208284031215610e9657600080fd5b81356001600160e01b031981168114610e6457600080fd5b60008060008060408587031215610ec457600080fd5b843567ffffffffffffffff80821115610edc57600080fd5b610ee888838901610de1565b90965094506020870135915080821115610f0157600080fd5b50610f0e87828801610de1565b95989497509550505050565b600080600080600080600060a0888a031215610f3557600080fd5b873567ffffffffffffffff80821115610f4d57600080fd5b610f598b838c01610e23565b985060208a0135975060408a0135965060608a0135915080821115610f7d57600080fd5b610f898b838c01610de1565b909650945060808a0135915080821115610fa257600080fd5b50610faf8a828b01610de1565b989b979a50959850939692959293505050565b60008060008060608587031215610fd857600080fd5b843567ffffffffffffffff80821115610ff057600080fd5b610ffc88838901610e23565b9550602087013594506040870135915080821115610f0157600080fd5b60008151808452611031816020860160208601611211565b601f01601f19169290920160200192915050565b8a81528960208201528860408201528760608201528660808201528560a08201528460c08201528360e082015260006101008385828501376000929093019092019081529a9950505050505050505050565b8183823760009101908152919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600082516110df818460208701611211565b9190910192915050565b84868237600085820160008152600560fb1b81528551611110816001840160208a01611211565b600b60fa1b600192909101918201528385600283013760009301600201928352509095945050505050565b82151581526040602082015260006111566040830184611019565b949350505050565b602081526000610e646020830184611019565b6000808335601e1984360301811261118857600080fd5b83018035915067ffffffffffffffff8211156111a357600080fd5b602001915036819003821315610b3257600080fd5b600082198211156111cb576111cb61125c565b500190565b6000826111ed57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561120c5761120c61125c565b500290565b60005b8381101561122c578181015183820152602001611214565b8381111561123b576000848401525b50505050565b60006000198214156112555761125561125c565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fdfe616464726573732066726f6d2c6164647265737320746f2c75696e743235362076616c75652c75696e74323536206761732c75696e74323536206e6f6e63652c627974657320646174612c75696e743235362076616c6964556e74696c54696d65454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429a2646970667358221220c9faef29879a51a69ac336c694ef5fc30ef7b9f1d96e50ca2a58b714f035aeb364736f6c63430008070033616464726573732066726f6d2c6164647265737320746f2c75696e743235362076616c75652c75696e74323536206761732c75696e74323536206e6f6e63652c627974657320646174612c75696e743235362076616c6964556e74696c54696d65

Deployed Bytecode

0x6080604052600436106100a05760003560e01c8063ad9f99c711610064578063ad9f99c714610199578063c3f28abd146101b9578063c722f177146101ce578063d9210be5146101fe578063e024dc7f1461021e578063e2b62f2d1461023f57600080fd5b806301ffc9a7146100ac578063066a310c146100e157806321fe98df146101035780632d0335ab146101335780639c7b45921461017757600080fd5b366100a757005b600080fd5b3480156100b857600080fd5b506100cc6100c7366004610e84565b61025f565b60405190151581526020015b60405180910390f35b3480156100ed57600080fd5b506100f6610296565b6040516100d8919061115e565b34801561010f57600080fd5b506100cc61011e366004610e6b565b60006020819052908152604090205460ff1681565b34801561013f57600080fd5b5061016961014e366004610e3b565b6001600160a01b031660009081526002602052604090205490565b6040519081526020016100d8565b34801561018357600080fd5b50610197610192366004610eae565b6102b2565b005b3480156101a557600080fd5b506101976101b4366004610f1a565b6103a9565b3480156101c557600080fd5b506100f66103ca565b3480156101da57600080fd5b506100cc6101e9366004610e6b565b60016020526000908152604090205460ff1681565b34801561020a57600080fd5b50610197610219366004610eae565b6103e6565b61023161022c366004610f1a565b6104e9565b6040516100d892919061113b565b34801561024b57600080fd5b506100f661025a366004610fc2565b610700565b60006001600160e01b031982166309788f9960e21b148061029057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6040518060a001604052806061815260200161129f6061913981565b60004690506000604051806080016040528060528152602001611300605291398051906020012086866040516102e9929190611097565b60405180910390208585604051610301929190611097565b6040805191829003822060208301949094528101919091526060810191909152608081018390523060a082015260c00160408051601f198184030181528282528051602080830191909120600081815260019283905293909320805460ff1916909117905592509081907f4bc68689cbe89a4a6333a3ab0a70093874da3e5bfb71e93102027f3f073687d89061039890859061115e565b60405180910390a250505050505050565b6103b28761079a565b6103c187878787878787610817565b50505050505050565b6040518060800160405280605281526020016113006052913981565b60005b8381101561049457600085858381811061040557610405611288565b909101356001600160f81b031916915050600560fb1b81148015906104385750602960f81b6001600160f81b0319821614155b6104815760405162461bcd60e51b81526020600482015260156024820152744657443a20696e76616c696420747970656e616d6560581b60448201526064015b60405180910390fd5b508061048c81611241565b9150506103e9565b50600084846040518060a001604052806061815260200161129f6061913985856040516020016104c89594939291906110e9565b60405160208183030381529060405290506104e2816109e9565b5050505050565b600060606104fc89898989898989610817565b61050589610a4b565b60c089013515806105195750428960c00135115b61055c5760405162461bcd60e51b81526020600482015260146024820152731195d10e881c995c5d595cdd08195e1c1a5c995960621b6044820152606401610478565b600060408a01351561056d5750619c405b600061057c60a08c018c611171565b61058960208e018e610e3b565b60405160200161059b939291906110a7565b60408051601f1981840301815291905290506105bb8260608d01356111b8565b60405a6105c990603f6111f2565b6105d391906111d0565b10156106195760405162461bcd60e51b81526020600482015260156024820152744657443a20696e73756666696369656e742067617360581b6044820152606401610478565b61062960408c0160208d01610e3b565b6001600160a01b03168b606001358c604001358360405161064a91906110cd565b600060405180830381858888f193505050503d8060008114610688576040519150601f19603f3d011682016040523d82523d6000602084013e61068d565b606091505b50909450925060408b0135158015906106a65750600047115b156106f2576106b860208c018c610e3b565b6001600160a01b03166108fc479081150290604051600060405180830381858888f193505050501580156106f0573d6000803e3d6000fd5b505b505097509795505050505050565b6060836107106020870187610e3b565b6001600160a01b03166107296040880160208901610e3b565b6001600160a01b03166040880135606089013560808a013561074e60a08c018c611171565b60405161075c929190611097565b6040519081900381206107819796959493929160c08e0135908c908c90602001611045565b6040516020818303038152906040529050949350505050565b6080810135600260006107b06020850185610e3b565b6001600160a01b03166001600160a01b0316815260200190815260200160002054146108145760405162461bcd60e51b815260206004820152601360248201527208cae887440dcdedcc6ca40dad2e6dac2e8c6d606b1b6044820152606401610478565b50565b60008681526001602052604090205460ff166108755760405162461bcd60e51b815260206004820152601d60248201527f4657443a20756e7265676973746572656420646f6d61696e207365702e0000006044820152606401610478565b60008581526020819052604090205460ff166108d35760405162461bcd60e51b815260206004820152601a60248201527f4657443a20756e726567697374657265642074797065686173680000000000006044820152606401610478565b6000866108e289888888610700565b805160209182012060405161090e93920161190160f01b81526002810192909252602282015260420190565b60408051601f1981840301815291905280516020909101209050321580610993575061093d6020890189610e3b565b6001600160a01b031661098884848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508693925050610acf9050565b6001600160a01b0316145b6109df5760405162461bcd60e51b815260206004820152601760248201527f4657443a207369676e6174757265206d69736d617463680000000000000000006044820152606401610478565b5050505050505050565b8051602080830191909120600081815291829052604091829020805460ff19166001179055905181907f64d6bce64323458c44643c51fe45113efc882082f7b7fd5f09f0d69d2eedb20290610a3f90859061115e565b60405180910390a25050565b608081013560026000610a616020850185610e3b565b6001600160a01b0316815260208101919091526040016000908120805491610a8883611241565b91905055146108145760405162461bcd60e51b815260206004820152601360248201527208cae887440dcdedcc6ca40dad2e6dac2e8c6d606b1b6044820152606401610478565b6000806000610ade8585610af3565b91509150610aeb81610b39565b509392505050565b600080825160411415610b2a5760208301516040840151606085015160001a610b1e87828585610cf4565b94509450505050610b32565b506000905060025b9250929050565b6000816004811115610b4d57610b4d611272565b1415610b565750565b6001816004811115610b6a57610b6a611272565b1415610bb85760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610478565b6002816004811115610bcc57610bcc611272565b1415610c1a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610478565b6003816004811115610c2e57610c2e611272565b1415610c875760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610478565b6004816004811115610c9b57610c9b611272565b14156108145760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610478565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610d2b5750600090506003610dd8565b8460ff16601b14158015610d4357508460ff16601c14155b15610d545750600090506004610dd8565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610da8573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610dd157600060019250925050610dd8565b9150600090505b94509492505050565b60008083601f840112610df357600080fd5b50813567ffffffffffffffff811115610e0b57600080fd5b602083019150836020828501011115610b3257600080fd5b600060e08284031215610e3557600080fd5b50919050565b600060208284031215610e4d57600080fd5b81356001600160a01b0381168114610e6457600080fd5b9392505050565b600060208284031215610e7d57600080fd5b5035919050565b600060208284031215610e9657600080fd5b81356001600160e01b031981168114610e6457600080fd5b60008060008060408587031215610ec457600080fd5b843567ffffffffffffffff80821115610edc57600080fd5b610ee888838901610de1565b90965094506020870135915080821115610f0157600080fd5b50610f0e87828801610de1565b95989497509550505050565b600080600080600080600060a0888a031215610f3557600080fd5b873567ffffffffffffffff80821115610f4d57600080fd5b610f598b838c01610e23565b985060208a0135975060408a0135965060608a0135915080821115610f7d57600080fd5b610f898b838c01610de1565b909650945060808a0135915080821115610fa257600080fd5b50610faf8a828b01610de1565b989b979a50959850939692959293505050565b60008060008060608587031215610fd857600080fd5b843567ffffffffffffffff80821115610ff057600080fd5b610ffc88838901610e23565b9550602087013594506040870135915080821115610f0157600080fd5b60008151808452611031816020860160208601611211565b601f01601f19169290920160200192915050565b8a81528960208201528860408201528760608201528660808201528560a08201528460c08201528360e082015260006101008385828501376000929093019092019081529a9950505050505050505050565b8183823760009101908152919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600082516110df818460208701611211565b9190910192915050565b84868237600085820160008152600560fb1b81528551611110816001840160208a01611211565b600b60fa1b600192909101918201528385600283013760009301600201928352509095945050505050565b82151581526040602082015260006111566040830184611019565b949350505050565b602081526000610e646020830184611019565b6000808335601e1984360301811261118857600080fd5b83018035915067ffffffffffffffff8211156111a357600080fd5b602001915036819003821315610b3257600080fd5b600082198211156111cb576111cb61125c565b500190565b6000826111ed57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561120c5761120c61125c565b500290565b60005b8381101561122c578181015183820152602001611214565b8381111561123b576000848401525b50505050565b60006000198214156112555761125561125c565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fdfe616464726573732066726f6d2c6164647265737320746f2c75696e743235362076616c75652c75696e74323536206761732c75696e74323536206e6f6e63652c627974657320646174612c75696e743235362076616c6964556e74696c54696d65454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429a2646970667358221220c9faef29879a51a69ac336c694ef5fc30ef7b9f1d96e50ca2a58b714f035aeb364736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading