ETH Price: $3,255.00 (-0.88%)
Gas: 2 Gwei

Contract

0xca57e5D6218AeB093D76372B51Ba355CfB3C6Cd0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Register Request...136199072021-11-15 10:51:02986 days ago1636973462IN
0xca57e5D6...CfB3C6Cd0
0 ETH0.00607017105.97739299
Register Domain ...135365832021-11-02 8:49:43999 days ago1635842983IN
0xca57e5D6...CfB3C6Cd0
0 ETH0.00574701115.18672008
Register Request...135365762021-11-02 8:48:41999 days ago1635842921IN
0xca57e5D6...CfB3C6Cd0
0 ETH0.00866178151.22353615
0x60806040134093972021-10-13 10:10:021019 days ago1634119802IN
 Create: AcceptsContractSignaturesForwarder
0 ETH0.1333802101.7084119

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
204035372024-07-28 7:25:2313 hrs ago1722151523
0xca57e5D6...CfB3C6Cd0
0 ETH
204035372024-07-28 7:25:2313 hrs ago1722151523
0xca57e5D6...CfB3C6Cd0
0 ETH
204035372024-07-28 7:25:2313 hrs ago1722151523
0xca57e5D6...CfB3C6Cd0
0 ETH
204002532024-07-27 20:24:4724 hrs ago1722111887
0xca57e5D6...CfB3C6Cd0
0 ETH
204002532024-07-27 20:24:4724 hrs ago1722111887
0xca57e5D6...CfB3C6Cd0
0 ETH
204002532024-07-27 20:24:4724 hrs ago1722111887
0xca57e5D6...CfB3C6Cd0
0 ETH
204002422024-07-27 20:22:3524 hrs ago1722111755
0xca57e5D6...CfB3C6Cd0
0 ETH
204002422024-07-27 20:22:3524 hrs ago1722111755
0xca57e5D6...CfB3C6Cd0
0 ETH
204002422024-07-27 20:22:3524 hrs ago1722111755
0xca57e5D6...CfB3C6Cd0
0 ETH
203989292024-07-27 15:57:5929 hrs ago1722095879
0xca57e5D6...CfB3C6Cd0
0 ETH
203989292024-07-27 15:57:5929 hrs ago1722095879
0xca57e5D6...CfB3C6Cd0
0 ETH
203989292024-07-27 15:57:5929 hrs ago1722095879
0xca57e5D6...CfB3C6Cd0
0 ETH
203981572024-07-27 13:22:4731 hrs ago1722086567
0xca57e5D6...CfB3C6Cd0
0 ETH
203981572024-07-27 13:22:4731 hrs ago1722086567
0xca57e5D6...CfB3C6Cd0
0 ETH
203981572024-07-27 13:22:4731 hrs ago1722086567
0xca57e5D6...CfB3C6Cd0
0 ETH
203981342024-07-27 13:18:1132 hrs ago1722086291
0xca57e5D6...CfB3C6Cd0
0 ETH
203981342024-07-27 13:18:1132 hrs ago1722086291
0xca57e5D6...CfB3C6Cd0
0 ETH
203981342024-07-27 13:18:1132 hrs ago1722086291
0xca57e5D6...CfB3C6Cd0
0 ETH
203941902024-07-27 0:05:5945 hrs ago1722038759
0xca57e5D6...CfB3C6Cd0
0 ETH
203941902024-07-27 0:05:5945 hrs ago1722038759
0xca57e5D6...CfB3C6Cd0
0 ETH
203941902024-07-27 0:05:5945 hrs ago1722038759
0xca57e5D6...CfB3C6Cd0
0 ETH
203941872024-07-27 0:05:2345 hrs ago1722038723
0xca57e5D6...CfB3C6Cd0
0 ETH
203941872024-07-27 0:05:2345 hrs ago1722038723
0xca57e5D6...CfB3C6Cd0
0 ETH
203941872024-07-27 0:05:2345 hrs ago1722038723
0xca57e5D6...CfB3C6Cd0
0 ETH
203912162024-07-26 14:07:232 days ago1722002843
0xca57e5D6...CfB3C6Cd0
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AcceptsContractSignaturesForwarder

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : AcceptsContractSignaturesForwarder.sol
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.8.7;
pragma abicoder v2;

import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/interfaces/IERC1271.sol";
import "@opengsn/contracts/src/forwarder/IForwarder.sol";

contract AcceptsContractSignaturesForwarder is IForwarder {
    string public constant GENERIC_PARAMS =
        "address from,address to,uint256 value,uint256 gas,uint256 nonce,bytes data,uint256 validUntil";
    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;
    mapping(address => uint256) private nonces;

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

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

    function verify(
        ForwardRequest calldata req,
        bytes32 domainSeparator,
        bytes32 requestTypeHash,
        bytes calldata suffixData,
        bytes calldata sig
    ) external view override {
        require(req.value == 0, "FWD: forwarder does not allow calls with value");
        _verifyNonce(req);
        _verifySig(req, domainSeparator, requestTypeHash, suffixData, sig);
    }

    function execute(
        ForwardRequest calldata req,
        bytes32 domainSeparator,
        bytes32 requestTypeHash,
        bytes calldata suffixData,
        bytes calldata sig
    ) external payable override returns (bool success, bytes memory ret) {
        require(
            req.value == 0 && msg.value == 0,
            "FWD: forwarder does not allow calls with value"
        );
        _verifySig(req, domainSeparator, requestTypeHash, suffixData, sig);
        _verifyAndUpdateNonce(req);

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

        bytes memory callData = abi.encodePacked(req.data, req.from);
        require((gasleft() * 63) / 64 >= req.gas, "FWD: insufficient gas");

        // solhint-disable-next-line avoid-low-level-calls
        (success, ret) = req.to.call{gas: req.gas}(callData);

        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");
    }

    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);
    }

    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 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))
            )
        );
        require(isValidSignature(req.from, digest, sig), "FWD: signature mismatch");
    }

    function isValidSignature(
        address signer,
        bytes32 hash,
        bytes memory signature
    ) internal view returns (bool) {
        if (Address.isContract(signer)) {
            try IERC1271(signer).isValidSignature(hash, signature) returns (bytes4 magicValue) {
                return magicValue == IERC1271.isValidSignature.selector;
            } catch {
                return false;
            }
        } else {
            return ECDSA.recover(hash, signature) == signer;
        }
    }

    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.validUntil,
                suffixData
            );
    }
}

File 2 of 5 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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 {
    /**
     * @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.
     *
     * 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]
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        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.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return recover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return recover(hash, r, vs);
        } else {
            revert("ECDSA: invalid signature length");
        }
    }

    /**
     * @dev Overload of {ECDSA-recover} 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.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return recover(hash, v, r, s);
    }

    /**
     * @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) {
        // 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 (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): 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.
        require(
            uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,
            "ECDSA: invalid signature 's' value"
        );
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @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 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 3 of 5 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 4 of 5 : IERC1271.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC1271 standard signature validation method for
 * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].
 *
 * _Available since v4.1._
 */
interface IERC1271 {
    /**
     * @dev Should return whether the signature provided is valid for the provided data
     * @param hash      Hash of the data to be signed
     * @param signature Signature byte array associated with _data
     */
    function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);
}

File 5 of 5 : IForwarder.sol
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity >=0.7.6;
pragma abicoder v2;

interface IForwarder {

    struct ForwardRequest {
        address from;
        address to;
        uint256 value;
        uint256 gas;
        uint256 nonce;
        bytes data;
        uint256 validUntil;
    }

    event DomainRegistered(bytes32 indexed domainSeparator, bytes domainValue);

    event RequestTypeRegistered(bytes32 indexed typeHash, string typeStr);

    function getNonce(address from)
    external view
    returns(uint256);

    /**
     * verify the transaction would execute.
     * validate the signature and the nonce of the request.
     * revert if either signature or nonce are incorrect.
     * also revert if domainSeparator or requestTypeHash are not registered.
     */
    function verify(
        ForwardRequest calldata forwardRequest,
        bytes32 domainSeparator,
        bytes32 requestTypeHash,
        bytes calldata suffixData,
        bytes calldata signature
    ) external view;

    /**
     * execute a transaction
     * @param forwardRequest - all transaction parameters
     * @param domainSeparator - domain used when signing this request
     * @param requestTypeHash - request type used when signing this request.
     * @param suffixData - the extension data used when signing this request.
     * @param signature - signature to validate.
     *
     * the transaction is verified, and then executed.
     * the success and ret of "call" are returned.
     * This method would revert only verification errors. target errors
     * are reported using the returned "success" and ret string
     */
    function execute(
        ForwardRequest calldata forwardRequest,
        bytes32 domainSeparator,
        bytes32 requestTypeHash,
        bytes calldata suffixData,
        bytes calldata signature
    )
    external payable
    returns (bool success, bytes memory ret);

    /**
     * Register a new Request typehash.
     * @param typeName - the name of the request type.
     * @param typeSuffix - any extra data after the generic params.
     *  (must add at least one param. The generic ForwardRequest type is always registered by the constructor)
     */
    function registerRequestType(string calldata typeName, string calldata typeSuffix) external;

    /**
     * Register a new domain separator.
     * 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.
     * This method is given 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
{
  "optimizer": {
    "enabled": true,
    "runs": 200,
    "details": {
      "yul": false
    }
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

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":"validUntil","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":"validUntil","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":"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":"validUntil","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"}]

60806040523480156200001157600080fd5b5060006040518060800160405280605d8152602001620017db605d913960405160200162000040919062000122565b60408051601f1981840301815291905290506200005d8162000064565b50620001a3565b8051602080830191909120600081815291829052604091829020805460ff19166001179055905181907f64d6bce64323458c44643c51fe45113efc882082f7b7fd5f09f0d69d2eedb20290620000bc9085906200015d565b60405180910390a25050565b6000620000d3825190565b808452602084019350620000ec81856020860162000170565b601f01601f19169290920192915050565b600062000108825190565b6200011881856020860162000170565b9290920192915050565b6e08cdee4eec2e4c8a4cae2eacae6e85608b1b8152600f016000620001488284620000fd565b602960f81b81529150600182015b9392505050565b60208082528101620001568184620000c8565b60005b838110156200018d57818101518382015260200162000173565b838111156200019d576000848401525b50505050565b61162880620001b36000396000f3fe6080604052600436106100915760003560e01c8063c3f28abd11610059578063c3f28abd14610183578063c722f17714610198578063d9210be5146101c8578063e024dc7f146101e8578063e2b62f2d1461020957600080fd5b8063066a310c1461009657806321fe98df146100c15780632d0335ab146100fe5780639c7b459214610141578063ad9f99c714610163575b600080fd5b3480156100a257600080fd5b506100ab610229565b6040516100b891906112f3565b60405180910390f35b3480156100cd57600080fd5b506100f16100dc366004610bb5565b60006020819052908152604090205460ff1681565b6040516100b89190611240565b34801561010a57600080fd5b50610134610119366004610b8c565b6001600160a01b031660009081526002602052604090205490565b6040516100b891906113c4565b34801561014d57600080fd5b5061016161015c366004610bf7565b610245565b005b34801561016f57600080fd5b5061016161017e366004610c70565b610327565b34801561018f57600080fd5b506100ab610373565b3480156101a457600080fd5b506100f16101b3366004610bb5565b60016020526000908152604090205460ff1681565b3480156101d457600080fd5b506101616101e3366004610bf7565b61038f565b6101fb6101f6366004610c70565b610465565b6040516100b892919061124e565b34801561021557600080fd5b506100ab610224366004610d41565b6105d8565b6040518060800160405280605d8152602001611544605d913981565b600046905060006040518060800160405280605281526020016115a16052913980519060200120868660405161027c92919061118b565b6040518091039020858560405161029492919061118b565b6040519081900381206102af9392918690309060200161126e565b60408051601f198184030181528282528051602080830191909120600081815260019283905293909320805460ff1916909117905592509081907f4bc68689cbe89a4a6333a3ab0a70093874da3e5bfb71e93102027f3f073687d8906103169085906112f3565b60405180910390a250505050505050565b6040870135156103525760405162461bcd60e51b815260040161034990611324565b60405180910390fd5b61035b87610672565b61036a878787878787876106c9565b50505050505050565b6040518060800160405280605281526020016115a16052913981565b60005b838110156104105760008585838181106103ae576103ae611503565b909101356001600160f81b031916915050600560fb1b81148015906103e15750602960f81b6001600160f81b0319821614155b6103fd5760405162461bcd60e51b8152600401610349906113a4565b5080610408816114b1565b915050610392565b50600084846040518060800160405280605d8152602001611544605d913985856040516020016104449594939291906111c8565b604051602081830303815290604052905061045e816107d7565b5050505050565b600060606040890135158015610479575034155b6104955760405162461bcd60e51b815260040161034990611324565b6104a4898989898989896106c9565b6104ad89610839565b60c089013515806104c15750438960c00135115b6104dd5760405162461bcd60e51b815260040161034990611384565b60006104ec60a08b018b6113d2565b6104f960208d018d610b8c565b60405160200161050b93929190611198565b6040516020818303038152906040529050896060013560405a61052f90603f611445565b6105399190611431565b10156105575760405162461bcd60e51b815260040161034990611374565b61056760408b0160208c01610b8c565b6001600160a01b03168a606001358260405161058391906111bc565b60006040518083038160008787f1925050503d80600081146105c1576040519150601f19603f3d011682016040523d82523d6000602084013e6105c6565b606091505b50909b909a5098505050505050505050565b6060836105e86020870187610b8c565b6001600160a01b03166106016040880160208901610b8c565b6001600160a01b03166040880135606089013560808a013561062660a08c018c6113d2565b60405161063492919061118b565b6040519081900381206106599796959493929160c08e0135908c908c906020016110ee565b6040516020818303038152906040529050949350505050565b6080810135600260006106886020850185610b8c565b6001600160a01b03166001600160a01b0316815260200190815260200160002054146106c65760405162461bcd60e51b815260040161034990611364565b50565b60008681526001602052604090205460ff166106f75760405162461bcd60e51b815260040161034990611394565b60008581526020819052604090205460ff166107255760405162461bcd60e51b8152600401610349906113b4565b600086610734898888886105d8565b805160209182012060405161074a93920161120f565b60408051601f19818403018152919052805160209182012091506107b190610774908a018a610b8c565b8285858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061089792505050565b6107cd5760405162461bcd60e51b815260040161034990611354565b5050505050505050565b8051602080830191909120600081815291829052604091829020805460ff19166001179055905181907f64d6bce64323458c44643c51fe45113efc882082f7b7fd5f09f0d69d2eedb2029061082d9085906112f3565b60405180910390a25050565b60808101356002600061084f6020850185610b8c565b6001600160a01b0316815260208101919091526040016000908120805491610876836114b1565b91905055146106c65760405162461bcd60e51b815260040161034990611364565b6000833b1561093c57604051630b135d3f60e11b81526001600160a01b03851690631626ba7e906108ce90869086906004016112b0565b60206040518083038186803b1580156108e657600080fd5b505afa925050508015610916575060408051601f3d908101601f1916820190925261091391810190610bd6565b60015b6109225750600061095d565b6001600160e01b031916630b135d3f60e11b14905061095d565b836001600160a01b03166109508484610964565b6001600160a01b03161490505b9392505050565b60008151604114156109985760208201516040830151606084015160001a61098e868285856109de565b93505050506109d8565b8151604014156109c057602082015160408301516109b7858383610ad4565b925050506109d8565b60405162461bcd60e51b815260040161034990611314565b92915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115610a205760405162461bcd60e51b815260040161034990611334565b8360ff16601b1480610a3557508360ff16601c145b610a515760405162461bcd60e51b815260040161034990611344565b600060018686868660405160008152602001604052604051610a7694939291906112be565b6020604051602081039080840390855afa158015610a98573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610acb5760405162461bcd60e51b815260040161034990611304565b95945050505050565b60006001600160ff1b03821660ff83901c601b01610af4868287856109de565b9695505050505050565b80356109d881611519565b80356109d88161152d565b80516109d881611533565b60008083601f840112610b3457610b34600080fd5b50813567ffffffffffffffff811115610b4f57610b4f600080fd5b602083019150836001820283011115610b6a57610b6a600080fd5b9250929050565b600060e08284031215610b8657610b86600080fd5b50919050565b600060208284031215610ba157610ba1600080fd5b6000610bad8484610afe565b949350505050565b600060208284031215610bca57610bca600080fd5b6000610bad8484610b09565b600060208284031215610beb57610beb600080fd5b6000610bad8484610b14565b60008060008060408587031215610c1057610c10600080fd5b843567ffffffffffffffff811115610c2a57610c2a600080fd5b610c3687828801610b1f565b9450945050602085013567ffffffffffffffff811115610c5857610c58600080fd5b610c6487828801610b1f565b95989497509550505050565b600080600080600080600060a0888a031215610c8e57610c8e600080fd5b873567ffffffffffffffff811115610ca857610ca8600080fd5b610cb48a828b01610b71565b9750506020610cc58a828b01610b09565b9650506040610cd68a828b01610b09565b955050606088013567ffffffffffffffff811115610cf657610cf6600080fd5b610d028a828b01610b1f565b9450945050608088013567ffffffffffffffff811115610d2457610d24600080fd5b610d308a828b01610b1f565b925092505092959891949750929550565b60008060008060608587031215610d5a57610d5a600080fd5b843567ffffffffffffffff811115610d7457610d74600080fd5b610d8087828801610b71565b9450506020610d9187828801610b09565b935050604085013567ffffffffffffffff811115610c5857610c58600080fd5b610dba81611464565b82525050565b610dba610dcc82611464565b6114c5565b801515610dba565b80610dba565b6000610dec838584611475565b50500190565b6000610dfc825190565b808452602084019350610e13818560208601611481565b601f01601f19169290920192915050565b6000610e2e825190565b610e3c818560208601611481565b9290920192915050565b601881526000602082017f45434453413a20696e76616c6964207369676e61747572650000000000000000815291505b5060200190565b601f81526000602082017f45434453413a20696e76616c6964207369676e6174757265206c656e6774680081529150610e76565b600b60fa1b815260005b5060010190565b602e81526000602082017f4657443a20666f7277617264657220646f6573206e6f7420616c6c6f7720636181526d6c6c7320776974682076616c756560901b602082015291505b5060400190565b600560fb1b81526000610ebb565b602281526000602082017f45434453413a20696e76616c6964207369676e6174757265202773272076616c815261756560f01b60208201529150610f09565b602281526000602082017f45434453413a20696e76616c6964207369676e6174757265202776272076616c815261756560f01b60208201529150610f09565b601781526000602082017f4657443a207369676e6174757265206d69736d6174636800000000000000000081529150610e76565b601381526000602082017208cae887440dcdedcc6ca40dad2e6dac2e8c6d606b1b81529150610e76565b60158152600060208201744657443a20696e73756666696369656e742067617360581b81529150610e76565b60148152600060208201731195d10e881c995c5d595cdd08195e1c1a5c995960621b81529150610e76565b601d81526000602082017f4657443a20756e7265676973746572656420646f6d61696e207365702e00000081529150610e76565b60158152600060208201744657443a20696e76616c696420747970656e616d6560581b81529150610e76565b601a81526000602082017f4657443a20756e7265676973746572656420747970656861736800000000000081529150610e76565b60ff8116610dba565b60006110fa828d610dd9565b60208201915061110a828c610dd9565b60208201915061111a828b610dd9565b60208201915061112a828a610dd9565b60208201915061113a8289610dd9565b60208201915061114a8288610dd9565b60208201915061115a8287610dd9565b60208201915061116a8286610dd9565b60208201915061117b828486610ddf565b9c9b505050505050505050505050565b6000610bad828486610ddf565b60006111a5828587610ddf565b91506111b18284610dc0565b506014019392505050565b600061095d8284610e24565b60006111d5828789610ddf565b91506111e082610f10565b91506111ec8286610e24565b91506111f782610eb1565b9150611204828486610ddf565b979650505050505050565b61190160f01b815260020160006112268285610dd9565b6020820191506112368284610dd9565b5060200192915050565b602081016109d88284610dd1565b6040810161125c8285610dd1565b8181036020830152610bad8184610df2565b60a0810161127c8288610dd9565b6112896020830187610dd9565b6112966040830186610dd9565b6112a36060830185610dd9565b610af46080830184610db1565b6040810161125c8285610dd9565b608081016112cc8287610dd9565b6112d960208301866110e5565b6112e66040830185610dd9565b610acb6060830184610dd9565b6020808252810161095d8184610df2565b602080825281016109d881610e46565b602080825281016109d881610e7d565b602080825281016109d881610ec2565b602080825281016109d881610f1e565b602080825281016109d881610f5d565b602080825281016109d881610f9c565b602080825281016109d881610fd0565b602080825281016109d881610ffa565b602080825281016109d881611026565b602080825281016109d881611051565b602080825281016109d881611085565b602080825281016109d8816110b1565b602081016109d88284610dd9565b6000808335601e19368590030181126113ed576113ed600080fd5b80840192508235915067ffffffffffffffff82111561140e5761140e600080fd5b60208301925060018202360383131561142957611429600080fd5b509250929050565b600082611440576114406114ed565b500490565b600081600019048311821515161561145f5761145f6114d7565b500290565b60006001600160a01b0382166109d8565b82818337506000910152565b60005b8381101561149c578181015183820152602001611484565b838111156114ab576000848401525b50505050565b6000600019821415610ebb57610ebb6114d7565b60006109d88260006109d88260601b90565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b61152281611464565b81146106c657600080fd5b80611522565b6001600160e01b0319811661152256fe616464726573732066726f6d2c6164647265737320746f2c75696e743235362076616c75652c75696e74323536206761732c75696e74323536206e6f6e63652c627974657320646174612c75696e743235362076616c6964556e74696c454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429a2646970667358221220aec70c4098c0f6a0f603128a5036e17971aee67a2fc2a1100077b422dd048dce64736f6c63430008070033616464726573732066726f6d2c6164647265737320746f2c75696e743235362076616c75652c75696e74323536206761732c75696e74323536206e6f6e63652c627974657320646174612c75696e743235362076616c6964556e74696c

Deployed Bytecode

0x6080604052600436106100915760003560e01c8063c3f28abd11610059578063c3f28abd14610183578063c722f17714610198578063d9210be5146101c8578063e024dc7f146101e8578063e2b62f2d1461020957600080fd5b8063066a310c1461009657806321fe98df146100c15780632d0335ab146100fe5780639c7b459214610141578063ad9f99c714610163575b600080fd5b3480156100a257600080fd5b506100ab610229565b6040516100b891906112f3565b60405180910390f35b3480156100cd57600080fd5b506100f16100dc366004610bb5565b60006020819052908152604090205460ff1681565b6040516100b89190611240565b34801561010a57600080fd5b50610134610119366004610b8c565b6001600160a01b031660009081526002602052604090205490565b6040516100b891906113c4565b34801561014d57600080fd5b5061016161015c366004610bf7565b610245565b005b34801561016f57600080fd5b5061016161017e366004610c70565b610327565b34801561018f57600080fd5b506100ab610373565b3480156101a457600080fd5b506100f16101b3366004610bb5565b60016020526000908152604090205460ff1681565b3480156101d457600080fd5b506101616101e3366004610bf7565b61038f565b6101fb6101f6366004610c70565b610465565b6040516100b892919061124e565b34801561021557600080fd5b506100ab610224366004610d41565b6105d8565b6040518060800160405280605d8152602001611544605d913981565b600046905060006040518060800160405280605281526020016115a16052913980519060200120868660405161027c92919061118b565b6040518091039020858560405161029492919061118b565b6040519081900381206102af9392918690309060200161126e565b60408051601f198184030181528282528051602080830191909120600081815260019283905293909320805460ff1916909117905592509081907f4bc68689cbe89a4a6333a3ab0a70093874da3e5bfb71e93102027f3f073687d8906103169085906112f3565b60405180910390a250505050505050565b6040870135156103525760405162461bcd60e51b815260040161034990611324565b60405180910390fd5b61035b87610672565b61036a878787878787876106c9565b50505050505050565b6040518060800160405280605281526020016115a16052913981565b60005b838110156104105760008585838181106103ae576103ae611503565b909101356001600160f81b031916915050600560fb1b81148015906103e15750602960f81b6001600160f81b0319821614155b6103fd5760405162461bcd60e51b8152600401610349906113a4565b5080610408816114b1565b915050610392565b50600084846040518060800160405280605d8152602001611544605d913985856040516020016104449594939291906111c8565b604051602081830303815290604052905061045e816107d7565b5050505050565b600060606040890135158015610479575034155b6104955760405162461bcd60e51b815260040161034990611324565b6104a4898989898989896106c9565b6104ad89610839565b60c089013515806104c15750438960c00135115b6104dd5760405162461bcd60e51b815260040161034990611384565b60006104ec60a08b018b6113d2565b6104f960208d018d610b8c565b60405160200161050b93929190611198565b6040516020818303038152906040529050896060013560405a61052f90603f611445565b6105399190611431565b10156105575760405162461bcd60e51b815260040161034990611374565b61056760408b0160208c01610b8c565b6001600160a01b03168a606001358260405161058391906111bc565b60006040518083038160008787f1925050503d80600081146105c1576040519150601f19603f3d011682016040523d82523d6000602084013e6105c6565b606091505b50909b909a5098505050505050505050565b6060836105e86020870187610b8c565b6001600160a01b03166106016040880160208901610b8c565b6001600160a01b03166040880135606089013560808a013561062660a08c018c6113d2565b60405161063492919061118b565b6040519081900381206106599796959493929160c08e0135908c908c906020016110ee565b6040516020818303038152906040529050949350505050565b6080810135600260006106886020850185610b8c565b6001600160a01b03166001600160a01b0316815260200190815260200160002054146106c65760405162461bcd60e51b815260040161034990611364565b50565b60008681526001602052604090205460ff166106f75760405162461bcd60e51b815260040161034990611394565b60008581526020819052604090205460ff166107255760405162461bcd60e51b8152600401610349906113b4565b600086610734898888886105d8565b805160209182012060405161074a93920161120f565b60408051601f19818403018152919052805160209182012091506107b190610774908a018a610b8c565b8285858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061089792505050565b6107cd5760405162461bcd60e51b815260040161034990611354565b5050505050505050565b8051602080830191909120600081815291829052604091829020805460ff19166001179055905181907f64d6bce64323458c44643c51fe45113efc882082f7b7fd5f09f0d69d2eedb2029061082d9085906112f3565b60405180910390a25050565b60808101356002600061084f6020850185610b8c565b6001600160a01b0316815260208101919091526040016000908120805491610876836114b1565b91905055146106c65760405162461bcd60e51b815260040161034990611364565b6000833b1561093c57604051630b135d3f60e11b81526001600160a01b03851690631626ba7e906108ce90869086906004016112b0565b60206040518083038186803b1580156108e657600080fd5b505afa925050508015610916575060408051601f3d908101601f1916820190925261091391810190610bd6565b60015b6109225750600061095d565b6001600160e01b031916630b135d3f60e11b14905061095d565b836001600160a01b03166109508484610964565b6001600160a01b03161490505b9392505050565b60008151604114156109985760208201516040830151606084015160001a61098e868285856109de565b93505050506109d8565b8151604014156109c057602082015160408301516109b7858383610ad4565b925050506109d8565b60405162461bcd60e51b815260040161034990611314565b92915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115610a205760405162461bcd60e51b815260040161034990611334565b8360ff16601b1480610a3557508360ff16601c145b610a515760405162461bcd60e51b815260040161034990611344565b600060018686868660405160008152602001604052604051610a7694939291906112be565b6020604051602081039080840390855afa158015610a98573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610acb5760405162461bcd60e51b815260040161034990611304565b95945050505050565b60006001600160ff1b03821660ff83901c601b01610af4868287856109de565b9695505050505050565b80356109d881611519565b80356109d88161152d565b80516109d881611533565b60008083601f840112610b3457610b34600080fd5b50813567ffffffffffffffff811115610b4f57610b4f600080fd5b602083019150836001820283011115610b6a57610b6a600080fd5b9250929050565b600060e08284031215610b8657610b86600080fd5b50919050565b600060208284031215610ba157610ba1600080fd5b6000610bad8484610afe565b949350505050565b600060208284031215610bca57610bca600080fd5b6000610bad8484610b09565b600060208284031215610beb57610beb600080fd5b6000610bad8484610b14565b60008060008060408587031215610c1057610c10600080fd5b843567ffffffffffffffff811115610c2a57610c2a600080fd5b610c3687828801610b1f565b9450945050602085013567ffffffffffffffff811115610c5857610c58600080fd5b610c6487828801610b1f565b95989497509550505050565b600080600080600080600060a0888a031215610c8e57610c8e600080fd5b873567ffffffffffffffff811115610ca857610ca8600080fd5b610cb48a828b01610b71565b9750506020610cc58a828b01610b09565b9650506040610cd68a828b01610b09565b955050606088013567ffffffffffffffff811115610cf657610cf6600080fd5b610d028a828b01610b1f565b9450945050608088013567ffffffffffffffff811115610d2457610d24600080fd5b610d308a828b01610b1f565b925092505092959891949750929550565b60008060008060608587031215610d5a57610d5a600080fd5b843567ffffffffffffffff811115610d7457610d74600080fd5b610d8087828801610b71565b9450506020610d9187828801610b09565b935050604085013567ffffffffffffffff811115610c5857610c58600080fd5b610dba81611464565b82525050565b610dba610dcc82611464565b6114c5565b801515610dba565b80610dba565b6000610dec838584611475565b50500190565b6000610dfc825190565b808452602084019350610e13818560208601611481565b601f01601f19169290920192915050565b6000610e2e825190565b610e3c818560208601611481565b9290920192915050565b601881526000602082017f45434453413a20696e76616c6964207369676e61747572650000000000000000815291505b5060200190565b601f81526000602082017f45434453413a20696e76616c6964207369676e6174757265206c656e6774680081529150610e76565b600b60fa1b815260005b5060010190565b602e81526000602082017f4657443a20666f7277617264657220646f6573206e6f7420616c6c6f7720636181526d6c6c7320776974682076616c756560901b602082015291505b5060400190565b600560fb1b81526000610ebb565b602281526000602082017f45434453413a20696e76616c6964207369676e6174757265202773272076616c815261756560f01b60208201529150610f09565b602281526000602082017f45434453413a20696e76616c6964207369676e6174757265202776272076616c815261756560f01b60208201529150610f09565b601781526000602082017f4657443a207369676e6174757265206d69736d6174636800000000000000000081529150610e76565b601381526000602082017208cae887440dcdedcc6ca40dad2e6dac2e8c6d606b1b81529150610e76565b60158152600060208201744657443a20696e73756666696369656e742067617360581b81529150610e76565b60148152600060208201731195d10e881c995c5d595cdd08195e1c1a5c995960621b81529150610e76565b601d81526000602082017f4657443a20756e7265676973746572656420646f6d61696e207365702e00000081529150610e76565b60158152600060208201744657443a20696e76616c696420747970656e616d6560581b81529150610e76565b601a81526000602082017f4657443a20756e7265676973746572656420747970656861736800000000000081529150610e76565b60ff8116610dba565b60006110fa828d610dd9565b60208201915061110a828c610dd9565b60208201915061111a828b610dd9565b60208201915061112a828a610dd9565b60208201915061113a8289610dd9565b60208201915061114a8288610dd9565b60208201915061115a8287610dd9565b60208201915061116a8286610dd9565b60208201915061117b828486610ddf565b9c9b505050505050505050505050565b6000610bad828486610ddf565b60006111a5828587610ddf565b91506111b18284610dc0565b506014019392505050565b600061095d8284610e24565b60006111d5828789610ddf565b91506111e082610f10565b91506111ec8286610e24565b91506111f782610eb1565b9150611204828486610ddf565b979650505050505050565b61190160f01b815260020160006112268285610dd9565b6020820191506112368284610dd9565b5060200192915050565b602081016109d88284610dd1565b6040810161125c8285610dd1565b8181036020830152610bad8184610df2565b60a0810161127c8288610dd9565b6112896020830187610dd9565b6112966040830186610dd9565b6112a36060830185610dd9565b610af46080830184610db1565b6040810161125c8285610dd9565b608081016112cc8287610dd9565b6112d960208301866110e5565b6112e66040830185610dd9565b610acb6060830184610dd9565b6020808252810161095d8184610df2565b602080825281016109d881610e46565b602080825281016109d881610e7d565b602080825281016109d881610ec2565b602080825281016109d881610f1e565b602080825281016109d881610f5d565b602080825281016109d881610f9c565b602080825281016109d881610fd0565b602080825281016109d881610ffa565b602080825281016109d881611026565b602080825281016109d881611051565b602080825281016109d881611085565b602080825281016109d8816110b1565b602081016109d88284610dd9565b6000808335601e19368590030181126113ed576113ed600080fd5b80840192508235915067ffffffffffffffff82111561140e5761140e600080fd5b60208301925060018202360383131561142957611429600080fd5b509250929050565b600082611440576114406114ed565b500490565b600081600019048311821515161561145f5761145f6114d7565b500290565b60006001600160a01b0382166109d8565b82818337506000910152565b60005b8381101561149c578181015183820152602001611484565b838111156114ab576000848401525b50505050565b6000600019821415610ebb57610ebb6114d7565b60006109d88260006109d88260601b90565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b61152281611464565b81146106c657600080fd5b80611522565b6001600160e01b0319811661152256fe616464726573732066726f6d2c6164647265737320746f2c75696e743235362076616c75652c75696e74323536206761732c75696e74323536206e6f6e63652c627974657320646174612c75696e743235362076616c6964556e74696c454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429a2646970667358221220aec70c4098c0f6a0f603128a5036e17971aee67a2fc2a1100077b422dd048dce64736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.