MATIC Price: $0.356391 (-20.98%)
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Sign In602215172024-08-05 11:53:5019 secs ago1722858830IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0091532281.46698896
Sign In602215102024-08-05 11:53:3633 secs ago1722858816IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0098550987.72323121
Sign In602214662024-08-05 11:52:022 mins ago1722858722IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0131455299.29772677
Sign In602214662024-08-05 11:52:022 mins ago1722858722IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0105503979.70201126
Sign In602214572024-08-05 11:51:442 mins ago1722858704IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0096111185.57895062
Sign In602214572024-08-05 11:51:442 mins ago1722858704IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0096152285.57895062
Sign In602214412024-08-05 11:51:102 mins ago1722858670IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01185048105.47355045
Sign In602214412024-08-05 11:51:102 mins ago1722858670IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01187166105.66212793
Sign In602214392024-08-05 11:51:043 mins ago1722858664IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0106097694.43070911
Sign In602214382024-08-05 11:51:023 mins ago1722858662IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01185048105.47355045
Sign In602214372024-08-05 11:51:003 mins ago1722858660IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0114909102.29502654
Sign In602214372024-08-05 11:51:003 mins ago1722858660IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0127474796.29965445
Sign In602214372024-08-05 11:51:003 mins ago1722858660IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0108363896.45800377
Sign In602214372024-08-05 11:51:003 mins ago1722858660IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0108685896.73428703
Sign In602214352024-08-05 11:50:563 mins ago1722858656IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01392581123.94480197
Sign In602214352024-08-05 11:50:563 mins ago1722858656IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0132352199.98424656
Sign In602214342024-08-05 11:50:543 mins ago1722858654IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01140418101.50136779
Sign In602214222024-08-05 11:50:283 mins ago1722858628IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01204352107.19171582
Sign In602214112024-08-05 11:50:064 mins ago1722858606IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01205699107.31157742
Sign In602214072024-08-05 11:49:564 mins ago1722858596IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01411228125.61783978
Sign In602214062024-08-05 11:49:544 mins ago1722858594IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01256928111.88307327
Sign In602213882024-08-05 11:49:164 mins ago1722858556IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01457318129.70660178
Sign In602213812024-08-05 11:49:025 mins ago1722858542IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01913386144.54505992
Sign In602213772024-08-05 11:48:545 mins ago1722858534IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.0152991136.16751329
Sign In602213772024-08-05 11:48:545 mins ago1722858534IN
0xA0627ab0...32C8A0Dd1
0 MATIC0.01529583136.16751329
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
XplusMark

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
Yes with 9999 runs

Other Settings:
paris EvmVersion, MIT license
File 1 of 7 : XplusMark.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract XplusMark is Ownable{

    using ECDSA for bytes32;

    event SignInRecord(uint256 bizId,uint256 timestamp,SignInMode mode,address handler);
    event RelayerChanged(address indexed oldRelayer, address indexed newRelayer);
    event Refused(uint256 indexed bizId);

    modifier onlyRelayer() {
        require(msg.sender == relayer, "XPLUS Mark: relayer only");
        _;
    }

    enum SignInMode{ NORMAL, AMEND }

    struct SignInData {
        uint256 bizId;
        uint256 timestamp;
        SignInMode mode;
    }

    uint256 public currentChainId;

    address public relayer;

    mapping(address => SignInData[]) private _signInRecords;

    mapping(uint256 => bool) private _opBlacklist;

    bytes32 public DOMAIN_SEPARATOR; // For EIP-712

    bytes32 public constant SIGN_IN_TYPE_HASH = keccak256(
        "signIn(uint256 bizId,uint256 destChainId,uint256 timestamp,uint8 mode,address handler)"
    );

    constructor(address _relayer){
        _init(_relayer);
    }

    function setRelayer(address _relayer) external onlyOwner {
        _setRelayer(_relayer);
    }

    function signIn(
        uint256 bizId,
        uint256 destChainId,
        uint256 timestamp,
        SignInMode mode,
        bytes memory signature
    ) external {
        require(bizId > 0, "XPLUS Mark: wrong bizId");
        require(!_opBlacklist[bizId],"XPLUS Mark: rejected operation");
        require(destChainId == currentChainId, "XPLUS Mark: wrong chain");
        require(timestamp < block.timestamp, "XPLUS Mark: must be less than the current block timestamp");
        require((SignInMode.NORMAL == mode && timestamp == 0) ||
            (SignInMode.AMEND == mode && timestamp > 0), "XPLUS Mark: invalid input");

        // Verify EIP-712 signature
        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                DOMAIN_SEPARATOR,
                keccak256(
                    abi.encode(
                        SIGN_IN_TYPE_HASH,
                        bizId,
                        destChainId,
                        timestamp,
                        mode,
                        msg.sender
                    )
                )
            )
        );
        address recoveredAddress = digest.recover(signature);
        require(recoveredAddress == relayer, "XPLUS Mark: invalid signature");

        SignInData memory signInData = SignInData({
        bizId: bizId,
        timestamp: SignInMode.NORMAL == mode ? block.timestamp : timestamp,
        mode: mode
        });
        _signInRecords[msg.sender].push(signInData);
        _refuse(bizId);
        emit SignInRecord(signInData.bizId,signInData.timestamp,signInData.mode,msg.sender);
    }

    function refuse(uint256 bizId) external onlyRelayer{
        _refuse(bizId);
    }

    function _refuse(uint256 bizId) private{
        require(bizId > 0, "XPLUS Mark: wrong bizId");
        require(!_opBlacklist[bizId],"XPLUS Mark: already refused");
        _opBlacklist[bizId] = true;
        emit Refused(bizId);
    }

    function _setRelayer(address _relayer) private {
        require(_relayer != address(0), "XPLUS Mark: zero address");
        require(_relayer != relayer, "XPLUS Mark: relayer not changed");

        address oldRelayer = relayer;
        relayer = _relayer;

        emit RelayerChanged(oldRelayer, relayer);
    }

    function _init(address _relayer) private {
        _setRelayer(_relayer);
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        currentChainId = chainId;
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes("XPLUS")),
                keccak256(bytes("1")),
                chainId,
                address(this)
            )
        );
    }

    function isRefused(uint256 bizId) external view returns(bool){
        return _opBlacklist[bizId];
    }

    function signInCount(address handler) external view returns(uint256){
        return _signInRecords[handler].length;
    }

    function getSignInRecords(address handler, uint256 startIndex, uint256 maxSize) external view returns(SignInData[] memory){
        uint256 len = _signInRecords[handler].length;
        require(len > 0 && startIndex < len, "XPLUS Mark: invalid input");
        uint256 endIndex = len - startIndex > maxSize ? maxSize + startIndex :  len;
        SignInData[] memory slicedArray = new SignInData[](endIndex - startIndex);
        for (uint i = startIndex; i < endIndex; i++) {
            slicedArray[i - startIndex] = _signInRecords[handler][i];
        }
        return slicedArray;
    }

}

File 2 of 7 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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 // Deprecated in v4.8
    }

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

    /**
     * @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 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 message) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32")
            mstore(0x1c, hash)
            message := keccak256(0x00, 0x3c)
        }
    }

    /**
     * @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 data) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, "\x19\x01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            data := keccak256(ptr, 0x42)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Data with intended validator, created from a
     * `validator` and `data` according to the version 0 of EIP-191.
     *
     * See {recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x00", validator, data));
    }
}

File 3 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _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);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 6 of 7 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 7 of 7 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 9999
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "remappings": [],
  "evmVersion": "paris"
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_relayer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"bizId","type":"uint256"}],"name":"Refused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldRelayer","type":"address"},{"indexed":true,"internalType":"address","name":"newRelayer","type":"address"}],"name":"RelayerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"bizId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"enum XplusMark.SignInMode","name":"mode","type":"uint8"},{"indexed":false,"internalType":"address","name":"handler","type":"address"}],"name":"SignInRecord","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SIGN_IN_TYPE_HASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"handler","type":"address"},{"internalType":"uint256","name":"startIndex","type":"uint256"},{"internalType":"uint256","name":"maxSize","type":"uint256"}],"name":"getSignInRecords","outputs":[{"components":[{"internalType":"uint256","name":"bizId","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"enum XplusMark.SignInMode","name":"mode","type":"uint8"}],"internalType":"struct XplusMark.SignInData[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"bizId","type":"uint256"}],"name":"isRefused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"bizId","type":"uint256"}],"name":"refuse","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"relayer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_relayer","type":"address"}],"name":"setRelayer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"bizId","type":"uint256"},{"internalType":"uint256","name":"destChainId","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"enum XplusMark.SignInMode","name":"mode","type":"uint8"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"signIn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"handler","type":"address"}],"name":"signInCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620016e1380380620016e1833981016040819052620000349162000296565b6200003f3362000051565b6200004a81620000a1565b50620002c8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620000ac8162000188565b466001818155604080518082018252600581526458504c555360d81b60209182015281518083018352928352603160f81b9281019290925280517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f928101929092527fde80186679288fdbee05235c13b81fb8a30c445706cbc1d3cfd0018d34be72f7908201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018290523060a082015260c00160408051601f1981840301815291905280516020909101206005555050565b6001600160a01b038116620001e45760405162461bcd60e51b815260206004820152601860248201527f58504c5553204d61726b3a207a65726f2061646472657373000000000000000060448201526064015b60405180910390fd5b6002546001600160a01b0390811690821603620002445760405162461bcd60e51b815260206004820152601f60248201527f58504c5553204d61726b3a2072656c61796572206e6f74206368616e676564006044820152606401620001db565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f18f08848c5694a025f9966c34ff2367f32a1a8275663b282ee01f4338b04549090600090a35050565b600060208284031215620002a957600080fd5b81516001600160a01b0381168114620002c157600080fd5b9392505050565b61140980620002d86000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c8063749725a41161008c57806386a4a08f1161006657806386a4a08f146102075780638da5cb5b1461022e578063a60a07b21461024c578063f2fde38b1461025f57600080fd5b8063749725a41461018f5780638406c079146101af57806385e2e3cf146101f457600080fd5b80636774721a116100bd5780636774721a1461014b5780636cbadbfa1461017e578063715018a61461018757600080fd5b80630e3d643a146100e45780633644e5151461012d5780636548e9bc14610136575b600080fd5b61011a6100f2366004611051565b73ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b6040519081526020015b60405180910390f35b61011a60055481565b610149610144366004611051565b610272565b005b61016e610159366004611073565b60009081526004602052604090205460ff1690565b6040519015158152602001610124565b61011a60015481565b610149610286565b6101a261019d36600461108c565b61029a565b6040516101249190611129565b6002546101cf9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6101496102023660046111bb565b610485565b61011a7f22feea428fbcd06936bf3ea1ff3a2534211c03a3d67e7efcf70ad9c45f23353881565b60005473ffffffffffffffffffffffffffffffffffffffff166101cf565b61014961025a366004611073565b6108fd565b61014961026d366004611051565b61096d565b61027a610a07565b61028381610a6e565b50565b61028e610a07565b6102986000610bb3565b565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604090205460609080158015906102d157508084105b6103225760405162461bcd60e51b815260206004820152601960248201527f58504c5553204d61726b3a20696e76616c696420696e7075740000000000000060448201526064015b60405180910390fd5b60008361032f86846112ed565b1161033a5781610344565b6103448585611300565b9050600061035286836112ed565b67ffffffffffffffff81111561036a5761036a61118c565b6040519080825280602002602001820160405280156103a357816020015b610390610ff7565b8152602001906001900390816103885790505b509050855b8281101561047a5773ffffffffffffffffffffffffffffffffffffffff881660009081526003602052604090208054829081106103e7576103e7611313565b906000526020600020906003020160405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff166001811115610438576104386110bf565b6001811115610449576104496110bf565b9052508261045789846112ed565b8151811061046757610467611313565b60209081029190910101526001016103a8565b509695505050505050565b600085116104d55760405162461bcd60e51b815260206004820152601760248201527f58504c5553204d61726b3a2077726f6e672062697a49640000000000000000006044820152606401610319565b60008581526004602052604090205460ff16156105345760405162461bcd60e51b815260206004820152601e60248201527f58504c5553204d61726b3a2072656a6563746564206f7065726174696f6e00006044820152606401610319565b60015484146105855760405162461bcd60e51b815260206004820152601760248201527f58504c5553204d61726b3a2077726f6e6720636861696e0000000000000000006044820152606401610319565b4283106105fa5760405162461bcd60e51b815260206004820152603960248201527f58504c5553204d61726b3a206d757374206265206c657373207468616e20746860448201527f652063757272656e7420626c6f636b2074696d657374616d70000000000000006064820152608401610319565b81600181111561060c5761060c6110bf565b158015610617575082155b8061063e575081600181111561062f5761062f6110bf565b600114801561063e5750600083115b61068a5760405162461bcd60e51b815260206004820152601960248201527f58504c5553204d61726b3a20696e76616c696420696e707574000000000000006044820152606401610319565b60006005547f22feea428fbcd06936bf3ea1ff3a2534211c03a3d67e7efcf70ad9c45f23353887878787336040516020016106ca96959493929190611342565b604051602081830303815290604052805190602001206040516020016107229291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190528051602090910120905060006107668284610c28565b60025490915073ffffffffffffffffffffffffffffffffffffffff8083169116146107d35760405162461bcd60e51b815260206004820152601d60248201527f58504c5553204d61726b3a20696e76616c6964207369676e61747572650000006044820152606401610319565b600060405180606001604052808981526020018660018111156107f8576107f86110bf565b156108035787610805565b425b815260200186600181111561081c5761081c6110bf565b90523360009081526003602081815260408084208054600181810183559186529483902086519590940290930193845590840151838301558301516002830180549495508594919290917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690838181111561089a5761089a6110bf565b021790555050506108aa88610c4e565b7f70acfd7a183c383525976e234f01a1b1b378799d3ceac082438d51d1c756734e816000015182602001518360400151336040516108eb9493929190611393565b60405180910390a15050505050505050565b60025473ffffffffffffffffffffffffffffffffffffffff1633146109645760405162461bcd60e51b815260206004820152601860248201527f58504c5553204d61726b3a2072656c61796572206f6e6c7900000000000000006044820152606401610319565b61028381610c4e565b610975610a07565b73ffffffffffffffffffffffffffffffffffffffff81166109fe5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610319565b61028381610bb3565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610319565b73ffffffffffffffffffffffffffffffffffffffff8116610ad15760405162461bcd60e51b815260206004820152601860248201527f58504c5553204d61726b3a207a65726f206164647265737300000000000000006044820152606401610319565b60025473ffffffffffffffffffffffffffffffffffffffff90811690821603610b3c5760405162461bcd60e51b815260206004820152601f60248201527f58504c5553204d61726b3a2072656c61796572206e6f74206368616e676564006044820152606401610319565b6002805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f18f08848c5694a025f9966c34ff2367f32a1a8275663b282ee01f4338b04549090600090a35050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806000610c378585610d5e565b91509150610c4481610da3565b5090505b92915050565b60008111610c9e5760405162461bcd60e51b815260206004820152601760248201527f58504c5553204d61726b3a2077726f6e672062697a49640000000000000000006044820152606401610319565b60008181526004602052604090205460ff1615610cfd5760405162461bcd60e51b815260206004820152601b60248201527f58504c5553204d61726b3a20616c7265616479207265667573656400000000006044820152606401610319565b60008181526004602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f590a51514d0080f6eb5d11921efcecd78518db251823115a2e2c0d450bf4175591a250565b6000808251604103610d945760208301516040840151606085015160001a610d8887828585610f08565b94509450505050610d9c565b506000905060025b9250929050565b6000816004811115610db757610db76110bf565b03610dbf5750565b6001816004811115610dd357610dd36110bf565b03610e205760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610319565b6002816004811115610e3457610e346110bf565b03610e815760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610319565b6003816004811115610e9557610e956110bf565b036102835760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610319565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610f3f5750600090506003610fee565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610f93573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116610fe757600060019250925050610fee565b9150600090505b94509492505050565b6040518060600160405280600081526020016000815260200160006001811115611023576110236110bf565b905290565b803573ffffffffffffffffffffffffffffffffffffffff8116811461104c57600080fd5b919050565b60006020828403121561106357600080fd5b61106c82611028565b9392505050565b60006020828403121561108557600080fd5b5035919050565b6000806000606084860312156110a157600080fd5b6110aa84611028565b95602085013595506040909401359392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60028110611125577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9052565b602080825282518282018190526000919060409081850190868401855b8281101561117f57815180518552868101518786015285015161116b868601826110ee565b506060939093019290850190600101611146565b5091979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080600080600060a086880312156111d357600080fd5b8535945060208601359350604086013592506060860135600281106111f757600080fd5b9150608086013567ffffffffffffffff8082111561121457600080fd5b818801915088601f83011261122857600080fd5b81358181111561123a5761123a61118c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156112805761128061118c565b816040528281528b602084870101111561129957600080fd5b8260208601602083013760006020848301015280955050505050509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810381811115610c4857610c486112be565b80820180821115610c4857610c486112be565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060c08201905087825286602083015285604083015284606083015261136c60808301856110ee565b73ffffffffffffffffffffffffffffffffffffffff831660a0830152979650505050505050565b84815260208101849052608081016113ae60408301856110ee565b73ffffffffffffffffffffffffffffffffffffffff831660608301529594505050505056fea26469706673582212204c36cf45294b63b001601fe3c7e6a1f71877e55866ca0f78159d70a565759c7564736f6c634300081600330000000000000000000000003752279204a3c2c03ad8e01829081d95056ce6cc

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100df5760003560e01c8063749725a41161008c57806386a4a08f1161006657806386a4a08f146102075780638da5cb5b1461022e578063a60a07b21461024c578063f2fde38b1461025f57600080fd5b8063749725a41461018f5780638406c079146101af57806385e2e3cf146101f457600080fd5b80636774721a116100bd5780636774721a1461014b5780636cbadbfa1461017e578063715018a61461018757600080fd5b80630e3d643a146100e45780633644e5151461012d5780636548e9bc14610136575b600080fd5b61011a6100f2366004611051565b73ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b6040519081526020015b60405180910390f35b61011a60055481565b610149610144366004611051565b610272565b005b61016e610159366004611073565b60009081526004602052604090205460ff1690565b6040519015158152602001610124565b61011a60015481565b610149610286565b6101a261019d36600461108c565b61029a565b6040516101249190611129565b6002546101cf9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610124565b6101496102023660046111bb565b610485565b61011a7f22feea428fbcd06936bf3ea1ff3a2534211c03a3d67e7efcf70ad9c45f23353881565b60005473ffffffffffffffffffffffffffffffffffffffff166101cf565b61014961025a366004611073565b6108fd565b61014961026d366004611051565b61096d565b61027a610a07565b61028381610a6e565b50565b61028e610a07565b6102986000610bb3565b565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604090205460609080158015906102d157508084105b6103225760405162461bcd60e51b815260206004820152601960248201527f58504c5553204d61726b3a20696e76616c696420696e7075740000000000000060448201526064015b60405180910390fd5b60008361032f86846112ed565b1161033a5781610344565b6103448585611300565b9050600061035286836112ed565b67ffffffffffffffff81111561036a5761036a61118c565b6040519080825280602002602001820160405280156103a357816020015b610390610ff7565b8152602001906001900390816103885790505b509050855b8281101561047a5773ffffffffffffffffffffffffffffffffffffffff881660009081526003602052604090208054829081106103e7576103e7611313565b906000526020600020906003020160405180606001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff166001811115610438576104386110bf565b6001811115610449576104496110bf565b9052508261045789846112ed565b8151811061046757610467611313565b60209081029190910101526001016103a8565b509695505050505050565b600085116104d55760405162461bcd60e51b815260206004820152601760248201527f58504c5553204d61726b3a2077726f6e672062697a49640000000000000000006044820152606401610319565b60008581526004602052604090205460ff16156105345760405162461bcd60e51b815260206004820152601e60248201527f58504c5553204d61726b3a2072656a6563746564206f7065726174696f6e00006044820152606401610319565b60015484146105855760405162461bcd60e51b815260206004820152601760248201527f58504c5553204d61726b3a2077726f6e6720636861696e0000000000000000006044820152606401610319565b4283106105fa5760405162461bcd60e51b815260206004820152603960248201527f58504c5553204d61726b3a206d757374206265206c657373207468616e20746860448201527f652063757272656e7420626c6f636b2074696d657374616d70000000000000006064820152608401610319565b81600181111561060c5761060c6110bf565b158015610617575082155b8061063e575081600181111561062f5761062f6110bf565b600114801561063e5750600083115b61068a5760405162461bcd60e51b815260206004820152601960248201527f58504c5553204d61726b3a20696e76616c696420696e707574000000000000006044820152606401610319565b60006005547f22feea428fbcd06936bf3ea1ff3a2534211c03a3d67e7efcf70ad9c45f23353887878787336040516020016106ca96959493929190611342565b604051602081830303815290604052805190602001206040516020016107229291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190528051602090910120905060006107668284610c28565b60025490915073ffffffffffffffffffffffffffffffffffffffff8083169116146107d35760405162461bcd60e51b815260206004820152601d60248201527f58504c5553204d61726b3a20696e76616c6964207369676e61747572650000006044820152606401610319565b600060405180606001604052808981526020018660018111156107f8576107f86110bf565b156108035787610805565b425b815260200186600181111561081c5761081c6110bf565b90523360009081526003602081815260408084208054600181810183559186529483902086519590940290930193845590840151838301558301516002830180549495508594919290917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690838181111561089a5761089a6110bf565b021790555050506108aa88610c4e565b7f70acfd7a183c383525976e234f01a1b1b378799d3ceac082438d51d1c756734e816000015182602001518360400151336040516108eb9493929190611393565b60405180910390a15050505050505050565b60025473ffffffffffffffffffffffffffffffffffffffff1633146109645760405162461bcd60e51b815260206004820152601860248201527f58504c5553204d61726b3a2072656c61796572206f6e6c7900000000000000006044820152606401610319565b61028381610c4e565b610975610a07565b73ffffffffffffffffffffffffffffffffffffffff81166109fe5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610319565b61028381610bb3565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610319565b73ffffffffffffffffffffffffffffffffffffffff8116610ad15760405162461bcd60e51b815260206004820152601860248201527f58504c5553204d61726b3a207a65726f206164647265737300000000000000006044820152606401610319565b60025473ffffffffffffffffffffffffffffffffffffffff90811690821603610b3c5760405162461bcd60e51b815260206004820152601f60248201527f58504c5553204d61726b3a2072656c61796572206e6f74206368616e676564006044820152606401610319565b6002805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f18f08848c5694a025f9966c34ff2367f32a1a8275663b282ee01f4338b04549090600090a35050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806000610c378585610d5e565b91509150610c4481610da3565b5090505b92915050565b60008111610c9e5760405162461bcd60e51b815260206004820152601760248201527f58504c5553204d61726b3a2077726f6e672062697a49640000000000000000006044820152606401610319565b60008181526004602052604090205460ff1615610cfd5760405162461bcd60e51b815260206004820152601b60248201527f58504c5553204d61726b3a20616c7265616479207265667573656400000000006044820152606401610319565b60008181526004602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555182917f590a51514d0080f6eb5d11921efcecd78518db251823115a2e2c0d450bf4175591a250565b6000808251604103610d945760208301516040840151606085015160001a610d8887828585610f08565b94509450505050610d9c565b506000905060025b9250929050565b6000816004811115610db757610db76110bf565b03610dbf5750565b6001816004811115610dd357610dd36110bf565b03610e205760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610319565b6002816004811115610e3457610e346110bf565b03610e815760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610319565b6003816004811115610e9557610e956110bf565b036102835760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610319565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610f3f5750600090506003610fee565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610f93573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116610fe757600060019250925050610fee565b9150600090505b94509492505050565b6040518060600160405280600081526020016000815260200160006001811115611023576110236110bf565b905290565b803573ffffffffffffffffffffffffffffffffffffffff8116811461104c57600080fd5b919050565b60006020828403121561106357600080fd5b61106c82611028565b9392505050565b60006020828403121561108557600080fd5b5035919050565b6000806000606084860312156110a157600080fd5b6110aa84611028565b95602085013595506040909401359392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60028110611125577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9052565b602080825282518282018190526000919060409081850190868401855b8281101561117f57815180518552868101518786015285015161116b868601826110ee565b506060939093019290850190600101611146565b5091979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080600080600060a086880312156111d357600080fd5b8535945060208601359350604086013592506060860135600281106111f757600080fd5b9150608086013567ffffffffffffffff8082111561121457600080fd5b818801915088601f83011261122857600080fd5b81358181111561123a5761123a61118c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156112805761128061118c565b816040528281528b602084870101111561129957600080fd5b8260208601602083013760006020848301015280955050505050509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810381811115610c4857610c486112be565b80820180821115610c4857610c486112be565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060c08201905087825286602083015285604083015284606083015261136c60808301856110ee565b73ffffffffffffffffffffffffffffffffffffffff831660a0830152979650505050505050565b84815260208101849052608081016113ae60408301856110ee565b73ffffffffffffffffffffffffffffffffffffffff831660608301529594505050505056fea26469706673582212204c36cf45294b63b001601fe3c7e6a1f71877e55866ca0f78159d70a565759c7564736f6c63430008160033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000003752279204a3c2c03ad8e01829081d95056ce6cc

-----Decoded View---------------
Arg [0] : _relayer (address): 0x3752279204A3c2C03ad8e01829081d95056ce6cC

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003752279204a3c2c03ad8e01829081d95056ce6cc


Deployed Bytecode Sourcemap

180:4904:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4349:124;;;;;;:::i;:::-;4435:23;;4409:7;4435:23;;;:14;:23;;;;;:30;;4349:124;;;;552:25:7;;;540:2;525:18;4349:124:6;;;;;;;;927:31;;;;;;1221:97;;;;;;:::i;:::-;;:::i;:::-;;4235:106;;;;;;:::i;:::-;4291:4;4314:19;;;:12;:19;;;;;;;;;4235:106;;;;1120:14:7;;1113:22;1095:41;;1083:2;1068:18;4235:106:6;955:187:7;740:29:6;;;;;;1824:101:0;;;:::i;4481:598:6:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;778:22::-;;;;;;;;;;;;3058:42:7;3046:55;;;3028:74;;3016:2;3001:18;778:22:6;2882:226:7;1326:1670:6;;;;;;:::i;:::-;;:::i;982:159::-;;1026:115;982:159;;1201:85:0;1247:7;1273:6;;;1201:85;;3004:84:6;;;;;;:::i;:::-;;:::i;2074:198:0:-;;;;;;:::i;:::-;;:::i;1221:97:6:-;1094:13:0;:11;:13::i;:::-;1289:21:6::1;1301:8;1289:11;:21::i;:::-;1221:97:::0;:::o;1824:101:0:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;4481:598:6:-;4628:23;;;4614:11;4628:23;;;:14;:23;;;;;:30;4583:19;;4677:7;;;;;:27;;;4701:3;4688:10;:16;4677:27;4669:65;;;;-1:-1:-1;;;4669:65:6;;4854:2:7;4669:65:6;;;4836:21:7;4893:2;4873:18;;;4866:30;4932:27;4912:18;;;4905:55;4977:18;;4669:65:6;;;;;;;;;4745:16;4783:7;4764:16;4770:10;4764:3;:16;:::i;:::-;:26;:56;;4817:3;4764:56;;;4793:20;4803:10;4793:7;:20;:::i;:::-;4745:75;-1:-1:-1;4831:31:6;4882:21;4893:10;4745:75;4882:21;:::i;:::-;4865:39;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;4831:73:6;-1:-1:-1;4929:10:6;4915:128;4945:8;4941:1;:12;4915:128;;;5005:23;;;;;;;:14;:23;;;;;:26;;5029:1;;5005:26;;;;;;:::i;:::-;;;;;;;;;;;4975:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;-1:-1:-1;4975:11:6;4987:14;4991:10;4987:1;:14;:::i;:::-;4975:27;;;;;;;;:::i;:::-;;;;;;;;;;:56;4955:3;;4915:128;;;-1:-1:-1;5060:11:6;4481:598;-1:-1:-1;;;;;;4481:598:6:o;1326:1670::-;1526:1;1518:5;:9;1510:45;;;;-1:-1:-1;;;1510:45:6;;5849:2:7;1510:45:6;;;5831:21:7;5888:2;5868:18;;;5861:30;5927:25;5907:18;;;5900:53;5970:18;;1510:45:6;5647:347:7;1510:45:6;1575:19;;;;:12;:19;;;;;;;;1574:20;1566:62;;;;-1:-1:-1;;;1566:62:6;;6201:2:7;1566:62:6;;;6183:21:7;6240:2;6220:18;;;6213:30;6279:32;6259:18;;;6252:60;6329:18;;1566:62:6;5999:354:7;1566:62:6;1662:14;;1647:11;:29;1639:65;;;;-1:-1:-1;;;1639:65:6;;6560:2:7;1639:65:6;;;6542:21:7;6599:2;6579:18;;;6572:30;6638:25;6618:18;;;6611:53;6681:18;;1639:65:6;6358:347:7;1639:65:6;1735:15;1723:9;:27;1715:97;;;;-1:-1:-1;;;1715:97:6;;6912:2:7;1715:97:6;;;6894:21:7;6951:2;6931:18;;;6924:30;6990:34;6970:18;;;6963:62;7061:27;7041:18;;;7034:55;7106:19;;1715:97:6;6710:421:7;1715:97:6;1853:4;1832:25;;;;;;;;:::i;:::-;;:43;;;;-1:-1:-1;1861:14:6;;1832:43;1831:105;;;;1914:4;1894:24;;;;;;;;:::i;:::-;:16;:24;:41;;;;;1934:1;1922:9;:13;1894:41;1823:143;;;;-1:-1:-1;;;1823:143:6;;4854:2:7;1823:143:6;;;4836:21:7;4893:2;4873:18;;;4866:30;4932:27;4912:18;;;4905:55;4977:18;;1823:143:6;4652:349:7;1823:143:6;2016:14;2121:16;;1026:115;2269:5;2301:11;2339:9;2375:4;2406:10;2188:251;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2156:302;;;;;;2057:416;;;;;;;;8028:66:7;8016:79;;8120:1;8111:11;;8104:27;;;;8156:2;8147:12;;8140:28;8193:2;8184:12;;7758:444;2057:416:6;;;;;;;;;;;;;;2033:451;;2057:416;2033:451;;;;;-1:-1:-1;2495:24:6;2522:25;2033:451;2537:9;2522:14;:25::i;:::-;2586:7;;2495:52;;-1:-1:-1;2586:7:6;2566:27;;;2586:7;;2566:27;2558:69;;;;-1:-1:-1;;;2558:69:6;;8409:2:7;2558:69:6;;;8391:21:7;8448:2;8428:18;;;8421:30;8487:31;8467:18;;;8460:59;8536:18;;2558:69:6;8207:353:7;2558:69:6;2640:28;2671:144;;;;;;;;2700:5;2671:144;;;;2748:4;2727:25;;;;;;;;:::i;:::-;;:55;;2773:9;2727:55;;;2755:15;2727:55;2671:144;;;;2799:4;2671:144;;;;;;;;:::i;:::-;;;2841:10;2826:26;;;;:14;:26;;;;;;;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2640:175;;-1:-1:-1;2640:175:6;;2826:43;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;2880:14;2888:5;2880:7;:14::i;:::-;2910:78;2923:10;:16;;;2940:10;:20;;;2961:10;:15;;;2977:10;2910:78;;;;;;;;;:::i;:::-;;;;;;;;1499:1497;;;1326:1670;;;;;:::o;3004:84::-;524:7;;;;510:10;:21;502:58;;;;-1:-1:-1;;;502:58:6;;9245:2:7;502:58:6;;;9227:21:7;9284:2;9264:18;;;9257:30;9323:26;9303:18;;;9296:54;9367:18;;502:58:6;9043:348:7;502:58:6;3066:14:::1;3074:5;3066:7;:14::i;2074:198:0:-:0;1094:13;:11;:13::i;:::-;2162:22:::1;::::0;::::1;2154:73;;;::::0;-1:-1:-1;;;2154:73:0;;9598:2:7;2154:73:0::1;::::0;::::1;9580:21:7::0;9637:2;9617:18;;;9610:30;9676:34;9656:18;;;9649:62;9747:8;9727:18;;;9720:36;9773:19;;2154:73:0::1;9396:402:7::0;2154:73:0::1;2237:28;2256:8;2237:18;:28::i;1359:130::-:0;1247:7;1273:6;1422:23;1273:6;719:10:1;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;10005:2:7;1414:68:0;;;9987:21:7;;;10024:18;;;10017:30;10083:34;10063:18;;;10056:62;10135:18;;1414:68:0;9803:356:7;3344:322:6;3410:22;;;3402:59;;;;-1:-1:-1;;;3402:59:6;;10366:2:7;3402:59:6;;;10348:21:7;10405:2;10385:18;;;10378:30;10444:26;10424:18;;;10417:54;10488:18;;3402:59:6;10164:348:7;3402:59:6;3492:7;;;;;;3480:19;;;;3472:63;;;;-1:-1:-1;;;3472:63:6;;10719:2:7;3472:63:6;;;10701:21:7;10758:2;10738:18;;;10731:30;10797:33;10777:18;;;10770:61;10848:18;;3472:63:6;10517:355:7;3472:63:6;3569:7;;;;3587:18;;;;;;;;;;;3623:35;;3569:7;;;3587:18;3569:7;;3623:35;;3548:18;;3623:35;3391:275;3344:322;:::o;2426:187:0:-;2499:16;2518:6;;;2534:17;;;;;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;3661:227:3:-;3739:7;3759:17;3778:18;3800:27;3811:4;3817:9;3800:10;:27::i;:::-;3758:69;;;;3837:18;3849:5;3837:11;:18::i;:::-;-1:-1:-1;3872:9:3;-1:-1:-1;3661:227:3;;;;;:::o;3096:240:6:-;3162:1;3154:5;:9;3146:45;;;;-1:-1:-1;;;3146:45:6;;5849:2:7;3146:45:6;;;5831:21:7;5888:2;5868:18;;;5861:30;5927:25;5907:18;;;5900:53;5970:18;;3146:45:6;5647:347:7;3146:45:6;3211:19;;;;:12;:19;;;;;;;;3210:20;3202:59;;;;-1:-1:-1;;;3202:59:6;;11079:2:7;3202:59:6;;;11061:21:7;11118:2;11098:18;;;11091:30;11157:29;11137:18;;;11130:57;11204:18;;3202:59:6;10877:351:7;3202:59:6;3272:19;;;;:12;:19;;;;;;:26;;;;3294:4;3272:26;;;3314:14;3285:5;;3314:14;;;3096:240;:::o;2145:730:3:-;2226:7;2235:12;2263:9;:16;2283:2;2263:22;2259:610;;2599:4;2584:20;;2578:27;2648:4;2633:20;;2627:27;2705:4;2690:20;;2684:27;2301:9;2676:36;2746:25;2757:4;2676:36;2578:27;2627;2746:10;:25::i;:::-;2739:32;;;;;;;;;2259:610;-1:-1:-1;2818:1:3;;-1:-1:-1;2822:35:3;2259:610;2145:730;;;;;:::o;570:511::-;647:20;638:5;:29;;;;;;;;:::i;:::-;;634:441;;570:511;:::o;634:441::-;743:29;734:5;:38;;;;;;;;:::i;:::-;;730:345;;788:34;;-1:-1:-1;;;788:34:3;;11435:2:7;788:34:3;;;11417:21:7;11474:2;11454:18;;;11447:30;11513:26;11493:18;;;11486:54;11557:18;;788:34:3;11233:348:7;730:345:3;852:35;843:5;:44;;;;;;;;:::i;:::-;;839:236;;903:41;;-1:-1:-1;;;903:41:3;;11788:2:7;903:41:3;;;11770:21:7;11827:2;11807:18;;;11800:30;11866:33;11846:18;;;11839:61;11917:18;;903:41:3;11586:355:7;839:236:3;974:30;965:5;:39;;;;;;;;:::i;:::-;;961:114;;1020:44;;-1:-1:-1;;;1020:44:3;;12148:2:7;1020:44:3;;;12130:21:7;12187:2;12167:18;;;12160:30;12226:34;12206:18;;;12199:62;12297:4;12277:18;;;12270:32;12319:19;;1020:44:3;11946:398:7;5009:1456:3;5097:7;;6021:66;6008:79;;6004:161;;;-1:-1:-1;6119:1:3;;-1:-1:-1;6123:30:3;6103:51;;6004:161;6276:24;;;6259:14;6276:24;;;;;;;;;12576:25:7;;;12649:4;12637:17;;12617:18;;;12610:45;;;;12671:18;;;12664:34;;;12714:18;;;12707:34;;;6276:24:3;;12548:19:7;;6276:24:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6276:24:3;;;;;;-1:-1:-1;;6314:20:3;;;6310:101;;6366:1;6370:29;6350:50;;;;;;;6310:101;6429:6;-1:-1:-1;6437:20:3;;-1:-1:-1;5009:1456:3;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;14:196:7:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;:::-;356:39;215:186;-1:-1:-1;;;215:186:7:o;770:180::-;829:6;882:2;870:9;861:7;857:23;853:32;850:52;;;898:1;895;888:12;850:52;-1:-1:-1;921:23:7;;770:180;-1:-1:-1;770:180:7:o;1147:322::-;1224:6;1232;1240;1293:2;1281:9;1272:7;1268:23;1264:32;1261:52;;;1309:1;1306;1299:12;1261:52;1332:29;1351:9;1332:29;:::i;:::-;1322:39;1408:2;1393:18;;1380:32;;-1:-1:-1;1459:2:7;1444:18;;;1431:32;;1147:322;-1:-1:-1;;;1147:322:7:o;1474:184::-;1526:77;1523:1;1516:88;1623:4;1620:1;1613:15;1647:4;1644:1;1637:15;1663:295;1745:1;1738:5;1735:12;1725:200;;1781:77;1778:1;1771:88;1882:4;1879:1;1872:15;1910:4;1907:1;1900:15;1725:200;1934:18;;1663:295::o;1963:914::-;2190:2;2242:21;;;2312:13;;2215:18;;;2334:22;;;2161:4;;2190:2;2375;;2393:18;;;;2434:15;;;2161:4;2477:374;2491:6;2488:1;2485:13;2477:374;;;2550:13;;2588:9;;2576:22;;2638:11;;;2632:18;2618:12;;;2611:40;2690:11;;2684:18;2715:54;2756:12;;;2684:18;2715:54;:::i;:::-;-1:-1:-1;2798:4:7;2789:14;;;;;2826:15;;;;2513:1;2506:9;2477:374;;;-1:-1:-1;2868:3:7;;1963:914;-1:-1:-1;;;;;;;1963:914:7:o;3113:184::-;3165:77;3162:1;3155:88;3262:4;3259:1;3252:15;3286:4;3283:1;3276:15;3302:1345;3421:6;3429;3437;3445;3453;3506:3;3494:9;3485:7;3481:23;3477:33;3474:53;;;3523:1;3520;3513:12;3474:53;3559:9;3546:23;3536:33;;3616:2;3605:9;3601:18;3588:32;3578:42;;3667:2;3656:9;3652:18;3639:32;3629:42;;3721:2;3710:9;3706:18;3693:32;3754:1;3747:5;3744:12;3734:40;;3770:1;3767;3760:12;3734:40;3793:5;-1:-1:-1;3849:3:7;3834:19;;3821:33;3873:18;3903:14;;;3900:34;;;3930:1;3927;3920:12;3900:34;3968:6;3957:9;3953:22;3943:32;;4013:7;4006:4;4002:2;3998:13;3994:27;3984:55;;4035:1;4032;4025:12;3984:55;4071:2;4058:16;4093:2;4089;4086:10;4083:36;;;4099:18;;:::i;:::-;4233:2;4227:9;4295:4;4287:13;;4138:66;4283:22;;;4307:2;4279:31;4275:40;4263:53;;;4331:18;;;4351:22;;;4328:46;4325:72;;;4377:18;;:::i;:::-;4417:10;4413:2;4406:22;4452:2;4444:6;4437:18;4492:7;4487:2;4482;4478;4474:11;4470:20;4467:33;4464:53;;;4513:1;4510;4503:12;4464:53;4569:2;4564;4560;4556:11;4551:2;4543:6;4539:15;4526:46;4614:1;4609:2;4604;4596:6;4592:15;4588:24;4581:35;4635:6;4625:16;;;;;;;3302:1345;;;;;;;;:::o;5006:184::-;5058:77;5055:1;5048:88;5155:4;5152:1;5145:15;5179:4;5176:1;5169:15;5195:128;5262:9;;;5283:11;;;5280:37;;;5297:18;;:::i;5328:125::-;5393:9;;;5414:10;;;5411:36;;;5427:18;;:::i;5458:184::-;5510:77;5507:1;5500:88;5607:4;5604:1;5597:15;5631:4;5628:1;5621:15;7136:617;7381:4;7423:3;7412:9;7408:19;7400:27;;7454:6;7443:9;7436:25;7497:6;7492:2;7481:9;7477:18;7470:34;7540:6;7535:2;7524:9;7520:18;7513:34;7583:6;7578:2;7567:9;7563:18;7556:34;7599:55;7649:3;7638:9;7634:19;7626:6;7599:55;:::i;:::-;7703:42;7695:6;7691:55;7685:3;7674:9;7670:19;7663:84;7136:617;;;;;;;;;:::o;8565:473::-;8809:25;;;8865:2;8850:18;;8843:34;;;8796:3;8781:19;;8886:54;8936:2;8921:18;;8913:6;8886:54;:::i;:::-;8988:42;8980:6;8976:55;8971:2;8960:9;8956:18;8949:83;8565:473;;;;;;;:::o

Swarm Source

ipfs://4c36cf45294b63b001601fe3c7e6a1f71877e55866ca0f78159d70a565759c75

Block Transaction 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
[ 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.