ETH Price: $3,260.63 (-0.54%)
 

Overview

ETH Balance

1.82 ETH

Eth Value

$5,934.35 (@ $3,260.63/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw216292012025-01-15 10:11:238 days ago1736935883IN
0xB668BDBB...62a1aB58c
0 ETH0.00014573.4129331
Withdraw216291902025-01-15 10:09:118 days ago1736935751IN
0xB668BDBB...62a1aB58c
0 ETH0.000155793.65025439
Withdraw216291692025-01-15 10:04:598 days ago1736935499IN
0xB668BDBB...62a1aB58c
0 ETH0.000193984.54247071
Withdraw216291572025-01-15 10:02:358 days ago1736935355IN
0xB668BDBB...62a1aB58c
0 ETH0.000192484.50734389
Withdraw216291412025-01-15 9:59:118 days ago1736935151IN
0xB668BDBB...62a1aB58c
0 ETH0.000193384.52843535
Withdraw216291252025-01-15 9:55:598 days ago1736934959IN
0xB668BDBB...62a1aB58c
0 ETH0.000210444.9279657
Withdraw216291132025-01-15 9:53:358 days ago1736934815IN
0xB668BDBB...62a1aB58c
0 ETH0.000214155.01613816
Withdraw216291012025-01-15 9:51:118 days ago1736934671IN
0xB668BDBB...62a1aB58c
0 ETH0.000205944.82390655
Withdraw216290752025-01-15 9:45:598 days ago1736934359IN
0xB668BDBB...62a1aB58c
0 ETH0.000182984.28486591
Withdraw216212672025-01-14 7:35:599 days ago1736840159IN
0xB668BDBB...62a1aB58c
0 ETH0.000123272.88736201
Withdraw216212492025-01-14 7:32:239 days ago1736839943IN
0xB668BDBB...62a1aB58c
0 ETH0.000120312.81804027
Withdraw216212422025-01-14 7:30:599 days ago1736839859IN
0xB668BDBB...62a1aB58c
0 ETH0.000125442.93751974
Withdraw216212352025-01-14 7:29:359 days ago1736839775IN
0xB668BDBB...62a1aB58c
0 ETH0.000114172.67427132
Withdraw215652942025-01-06 12:02:4717 days ago1736164967IN
0xB668BDBB...62a1aB58c
0 ETH0.000368188.62156846
Withdraw215652842025-01-06 12:00:4717 days ago1736164847IN
0xB668BDBB...62a1aB58c
0 ETH0.0004335710.15281106
Withdraw215652642025-01-06 11:56:4717 days ago1736164607IN
0xB668BDBB...62a1aB58c
0 ETH0.0004331310.14258337
Withdraw215652332025-01-06 11:50:2317 days ago1736164223IN
0xB668BDBB...62a1aB58c
0 ETH0.000425579.96540055
Withdraw215645242025-01-06 9:27:1117 days ago1736155631IN
0xB668BDBB...62a1aB58c
0 ETH0.000379068.8763918
Withdraw215644602025-01-06 9:14:2317 days ago1736154863IN
0xB668BDBB...62a1aB58c
0 ETH0.000422949.9067561
Withdraw215644412025-01-06 9:10:3517 days ago1736154635IN
0xB668BDBB...62a1aB58c
0 ETH0.000390639.14722293
Withdraw215644282025-01-06 9:07:5917 days ago1736154479IN
0xB668BDBB...62a1aB58c
0 ETH0.000381318.92903328
Withdraw215644162025-01-06 9:05:3517 days ago1736154335IN
0xB668BDBB...62a1aB58c
0 ETH0.000382438.95529792
Withdraw215643792025-01-06 8:58:1117 days ago1736153891IN
0xB668BDBB...62a1aB58c
0 ETH0.000316527.41196313
Withdraw215643692025-01-06 8:56:1117 days ago1736153771IN
0xB668BDBB...62a1aB58c
0 ETH0.000350858.21570587
Withdraw215431772025-01-03 9:51:4720 days ago1735897907IN
0xB668BDBB...62a1aB58c
0 ETH0.0005010211.73211754
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
216292012025-01-15 10:11:238 days ago1736935883
0xB668BDBB...62a1aB58c
0.15 ETH
216291902025-01-15 10:09:118 days ago1736935751
0xB668BDBB...62a1aB58c
0.05 ETH
216291692025-01-15 10:04:598 days ago1736935499
0xB668BDBB...62a1aB58c
0.1 ETH
216291572025-01-15 10:02:358 days ago1736935355
0xB668BDBB...62a1aB58c
0.1 ETH
216291412025-01-15 9:59:118 days ago1736935151
0xB668BDBB...62a1aB58c
0.15 ETH
216291252025-01-15 9:55:598 days ago1736934959
0xB668BDBB...62a1aB58c
0.15 ETH
216291132025-01-15 9:53:358 days ago1736934815
0xB668BDBB...62a1aB58c
0.1 ETH
216291012025-01-15 9:51:118 days ago1736934671
0xB668BDBB...62a1aB58c
0.05 ETH
216290752025-01-15 9:45:598 days ago1736934359
0xB668BDBB...62a1aB58c
0.1 ETH
216212672025-01-14 7:35:599 days ago1736840159
0xB668BDBB...62a1aB58c
0.1 ETH
216212492025-01-14 7:32:239 days ago1736839943
0xB668BDBB...62a1aB58c
0.15 ETH
216212422025-01-14 7:30:599 days ago1736839859
0xB668BDBB...62a1aB58c
0.15 ETH
216212352025-01-14 7:29:359 days ago1736839775
0xB668BDBB...62a1aB58c
0.05 ETH
215652942025-01-06 12:02:4717 days ago1736164967
0xB668BDBB...62a1aB58c
0.1 ETH
215652842025-01-06 12:00:4717 days ago1736164847
0xB668BDBB...62a1aB58c
0.15 ETH
215652642025-01-06 11:56:4717 days ago1736164607
0xB668BDBB...62a1aB58c
0.15 ETH
215652332025-01-06 11:50:2317 days ago1736164223
0xB668BDBB...62a1aB58c
0.25 ETH
215645242025-01-06 9:27:1117 days ago1736155631
0xB668BDBB...62a1aB58c
0.15 ETH
215644602025-01-06 9:14:2317 days ago1736154863
0xB668BDBB...62a1aB58c
0.1 ETH
215644412025-01-06 9:10:3517 days ago1736154635
0xB668BDBB...62a1aB58c
0.15 ETH
215644282025-01-06 9:07:5917 days ago1736154479
0xB668BDBB...62a1aB58c
0.1 ETH
215644162025-01-06 9:05:3517 days ago1736154335
0xB668BDBB...62a1aB58c
0.1 ETH
215643792025-01-06 8:58:1117 days ago1736153891
0xB668BDBB...62a1aB58c
0.1 ETH
215643692025-01-06 8:56:1117 days ago1736153771
0xB668BDBB...62a1aB58c
0.1 ETH
215431772025-01-03 9:51:4720 days ago1735897907
0xB668BDBB...62a1aB58c
0.1 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
XPSRDeposit

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : XPSRDeposit.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.20;

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

contract XPSRDeposit is Ownable, ReentrancyGuard {
    using ECDSA for bytes32;

    address private signerAddress = 0xc2a37c5a28fbBc3Ac62232767ba9485Fb8e2BA43;
    bool public isDepositLive = false;
    bool public isWithdrawLive = false;
    uint256 public depositEnd = 1730898000;
    uint256 public minimumDeposit = 0.01 ether;
    uint256 public xpsrPrice;
    uint256 public xpsrVault;

    mapping(address => uint256) public totalDeposit;

    struct SnapshotData {
        address _address;
        uint256 _totalSpot;
    }

    event DepositToggled(address indexed _from, bool _value);
    event WithdrawToggled(address indexed _from, bool _value);
    event DepositEndChanged(
        address indexed _from,
        uint256 _newTimestamp,
        uint256 _oldTimestamp
    );
    event MinimumDepositChanged(address indexed _from, uint256 _value);
    event SignerAddressChanged(
        address indexed _from,
        address _to,
        address _oldAddress
    );
    event XpsrDeposited(address indexed _from, uint256 _value);
    event XpsrPriceChanged(
        address indexed _from,
        uint256 _newPrice,
        uint256 _oldPrice
    );

    constructor(address _deployer) {
        transferOwnership(_deployer);
    }

    modifier checkSigned(
        address _address,
        uint256 _value,
        uint256 _nonce,
        bytes32 _messageHash,
        bytes memory _signature
    ) {
        require(
            _messageHash ==
                ECDSA.toEthSignedMessageHash(
                    hashPacked(_address, _nonce, _value)
                ),
            "Invalid message hash"
        );
        require(
            signerAddress == ECDSA.recover(_messageHash, _signature),
            "Invalid signature"
        );
        _;
    }

    function toggleDeposit() external onlyOwner {
        isDepositLive = !isDepositLive;
        emit DepositToggled(msg.sender, isDepositLive);
    }

    function toggleWithdraw() external onlyOwner {
        isWithdrawLive = !isWithdrawLive;
        emit WithdrawToggled(msg.sender, isWithdrawLive);
    }

    function setMinimumDeposit(uint256 _minimumDeposit) external onlyOwner {
        minimumDeposit = _minimumDeposit;
        emit MinimumDepositChanged(msg.sender, minimumDeposit);
    }

    function xpsrDeposit(
        uint256 _nonce,
        bytes32 _msgHash,
        bytes memory _signature
    )
        external
        payable
        checkSigned(msg.sender, msg.value, _nonce, _msgHash, _signature)
    {
        require(
            isDepositLive && block.timestamp < depositEnd,
            "Deposit is not live yet"
        );
        require(
            msg.value >= minimumDeposit,
            "Fund cant be lower than minimum deposit!"
        );
        totalDeposit[msg.sender] = totalDeposit[msg.sender] + msg.value;
        emit XpsrDeposited(msg.sender, msg.value);
    }

    function snapshotDeposit(SnapshotData[] calldata _listData)
        external
        onlyOwner
    {
        require(
            !isDepositLive && block.timestamp > depositEnd,
            "Deposit is still live"
        );
        for (uint256 i = 0; i < _listData.length; i++) {
            uint256 currentDeposit = totalDeposit[_listData[i]._address];
            uint256 nftPrice = _listData[i]._totalSpot * xpsrPrice;
            require(
                totalDeposit[_listData[i]._address] >= nftPrice,
                "Total deposit below nft price"
            );
            xpsrVault = xpsrVault + nftPrice;
            totalDeposit[_listData[i]._address] = currentDeposit - nftPrice;
        }
    }

    function setXpsrPrice(uint256 _newPrice) external onlyOwner {
        uint256 oldPrice = xpsrPrice;
        xpsrPrice = _newPrice;
        emit XpsrPriceChanged(msg.sender, xpsrPrice, oldPrice);
    }

    function setDepositEnd(uint256 _newTimestamp) external onlyOwner {
        uint256 oldTimestamp = depositEnd;
        depositEnd = _newTimestamp;
        emit DepositEndChanged(msg.sender, depositEnd, oldTimestamp);
    }

    function setSignerAddress(address _newSigner) external onlyOwner {
        require(_newSigner != address(0), "Address is not valid!");
        address oldAddress = signerAddress;
        signerAddress = _newSigner;
        emit SignerAddressChanged(msg.sender, signerAddress, oldAddress);
    }

    function withdraw(
        uint256 _nonce,
        uint256 _value,
        bytes32 _msgHash,
        bytes memory _signature
    )
        external
        nonReentrant
        checkSigned(msg.sender, _value, _nonce, _msgHash, _signature)
    {
        require(isWithdrawLive, "Withdraw phase is not live yet");
        require(totalDeposit[msg.sender] > 0, "You have no balance");
        require(totalDeposit[msg.sender] == _value, "Balance is not match");
        uint256 balanceAvailable = totalDeposit[msg.sender];
        delete totalDeposit[msg.sender];
        (bool succ, ) = payable(msg.sender).call{value: balanceAvailable}("");
        require(succ, "transfer failed");
    }

    function withdrawVault() external onlyOwner nonReentrant {
        require(isWithdrawLive, "Withdraw phase is not live yet");
        require(xpsrVault > 0, "Vault have no balance");
        uint256 vaultAvailable = xpsrVault;
        delete xpsrVault;
        (bool succ, ) = payable(msg.sender).call{value: vaultAvailable}("");
        require(succ, "transfer failed");
    }

    function hashPacked(
        address _address,
        uint256 _nonce,
        uint256 _valueDeposit
    ) private pure returns (bytes32) {
        bytes memory hashData = abi.encodePacked(
            _address,
            _nonce,
            _valueDeposit
        );
        bytes32 hash = keccak256(hashData);
        return hash;
    }
}

File 2 of 8 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 3 of 8 : 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 4 of 8 : 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 5 of 8 : 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 6 of 8 : 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 7 of 8 : 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 8 of 8 : 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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_deployer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_newTimestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_oldTimestamp","type":"uint256"}],"name":"DepositEndChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"DepositToggled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"MinimumDepositChanged","type":"event"},{"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":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"address","name":"_oldAddress","type":"address"}],"name":"SignerAddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"WithdrawToggled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"XpsrDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_newPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_oldPrice","type":"uint256"}],"name":"XpsrPriceChanged","type":"event"},{"inputs":[],"name":"depositEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isDepositLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWithdrawLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTimestamp","type":"uint256"}],"name":"setDepositEnd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumDeposit","type":"uint256"}],"name":"setMinimumDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newSigner","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setXpsrPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_totalSpot","type":"uint256"}],"internalType":"struct XPSRDeposit.SnapshotData[]","name":"_listData","type":"tuple[]"}],"name":"snapshotDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes32","name":"_msgHash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"bytes32","name":"_msgHash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"xpsrDeposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"xpsrPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xpsrVault","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405273c2a37c5a28fbbc3ac62232767ba9485fb8e2ba4360025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f600260146101000a81548160ff0219169083151502179055505f600260156101000a81548160ff02191690831515021790555063672b6850600355662386f26fc10000600455348015620000ab575f80fd5b5060405162002ba538038062002ba58339818101604052810190620000d191906200038a565b620000f1620000e56200011060201b60201c565b6200011760201b60201c565b600180819055506200010981620001d860201b60201c565b50620004cc565b5f33905090565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001e86200026d60201b60201c565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000259576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000250906200043e565b60405180910390fd5b6200026a816200011760201b60201c565b50565b6200027d6200011060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002a3620002fe60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002fc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f390620004ac565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620003548262000329565b9050919050565b620003668162000348565b811462000371575f80fd5b50565b5f8151905062000384816200035b565b92915050565b5f60208284031215620003a257620003a162000325565b5b5f620003b18482850162000374565b91505092915050565b5f82825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f62000426602683620003ba565b91506200043382620003ca565b604082019050919050565b5f6020820190508181035f830152620004578162000418565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f62000494602083620003ba565b9150620004a1826200045e565b602082019050919050565b5f6020820190508181035f830152620004c58162000486565b9050919050565b6126cb80620004da5f395ff3fe60806040526004361061011e575f3560e01c80638da5cb5b1161009f578063c5ed307311610063578063c5ed30731461036c578063d0d0ed0514610394578063e78ec42e146103aa578063f282671d146103d2578063f2fde38b146103e85761011e565b80638da5cb5b146102b0578063921eeb4b146102da57806399b6f607146102f0578063a2b510921461031a578063b794652c146103445761011e565b806355975d5a116100e657806355975d5a14610202578063574bb74a1461022c578063636bfbab14610254578063715018a61461027e57806373f29142146102945761011e565b8063046dc166146101225780630b86e1f31461014a5780631084e812146101745780631f1f5c44146101b0578063201ce58d146101da575b5f80fd5b34801561012d575f80fd5b50610148600480360381019061014391906117a2565b610410565b005b348015610155575f80fd5b5061015e610560565b60405161016b91906117e7565b60405180910390f35b34801561017f575f80fd5b5061019a600480360381019061019591906117a2565b610573565b6040516101a79190611818565b60405180910390f35b3480156101bb575f80fd5b506101c4610588565b6040516101d19190611818565b60405180910390f35b3480156101e5575f80fd5b5061020060048036038101906101fb919061185b565b61058e565b005b34801561020d575f80fd5b506102166105f9565b6040516102239190611818565b60405180910390f35b348015610237575f80fd5b50610252600480360381019061024d91906118e7565b6105ff565b005b34801561025f575f80fd5b50610268610855565b6040516102759190611818565b60405180910390f35b348015610289575f80fd5b5061029261085b565b005b6102ae60048036038101906102a99190611a9d565b61086e565b005b3480156102bb575f80fd5b506102c4610ae2565b6040516102d19190611b18565b60405180910390f35b3480156102e5575f80fd5b506102ee610b09565b005b3480156102fb575f80fd5b50610304610b9a565b6040516103119190611818565b60405180910390f35b348015610325575f80fd5b5061032e610ba0565b60405161033b91906117e7565b60405180910390f35b34801561034f575f80fd5b5061036a6004803603810190610365919061185b565b610bb3565b005b348015610377575f80fd5b50610392600480360381019061038d9190611b31565b610c1e565b005b34801561039f575f80fd5b506103a8610fa2565b005b3480156103b5575f80fd5b506103d060048036038101906103cb919061185b565b611104565b005b3480156103dd575f80fd5b506103e6611166565b005b3480156103f3575f80fd5b5061040e600480360381019061040991906117a2565b6111f7565b005b610418611279565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047d90611c0b565b60405180910390fd5b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff167f7f79a758079c8ff715826ba9a371c85dd9a922cfa735519ecbb8f5bee614a2b460025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683604051610554929190611c29565b60405180910390a25050565b600260149054906101000a900460ff1681565b6007602052805f5260405f205f915090505481565b60055481565b610596611279565b5f6005549050816005819055503373ffffffffffffffffffffffffffffffffffffffff167fe3eda2fa5b8c9bb9d9eeaed1c37ad7d0d221595c380538f02a4ac8cc100e62ad600554836040516105ed929190611c50565b60405180910390a25050565b60065481565b610607611279565b600260149054906101000a900460ff16158015610625575060035442115b610664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065b90611cc1565b60405180910390fd5b5f5b82829050811015610850575f60075f85858581811061068857610687611cdf565b5b9050604002015f01602081019061069f91906117a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f6005548585858181106106f2576106f1611cdf565b5b905060400201602001356107069190611d39565b90508060075f87878781811061071f5761071e611cdf565b5b9050604002015f01602081019061073691906117a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410156107b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a890611dc4565b60405180910390fd5b806006546107bf9190611de2565b60068190555080826107d19190611e15565b60075f8787878181106107e7576107e6611cdf565b5b9050604002015f0160208101906107fe91906117a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505050808061084890611e48565b915050610666565b505050565b60045481565b610863611279565b61086c5f6112f7565b565b33348484846108866108818685876113b8565b6113f7565b82146108c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108be90611ed9565b60405180910390fd5b6108d1828261142a565b73ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461095f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095690611f41565b60405180910390fd5b600260149054906101000a900460ff16801561097c575060035442105b6109bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b290611fa9565b60405180910390fd5b600454341015610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f790612037565b60405180910390fd5b3460075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610a499190611de2565b60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055503373ffffffffffffffffffffffffffffffffffffffff167f5bd99bbe95bfc6574f43870b28ef3b3be98f14f3d557649dfa9ed7edf7e878f534604051610ad09190611818565b60405180910390a25050505050505050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b11611279565b600260149054906101000a900460ff1615600260146101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f1808c9e64923f1752585fc234adc44e3c35a9df4a8e73edf8acc68ba00e0c198600260149054906101000a900460ff16604051610b9091906117e7565b60405180910390a2565b60035481565b600260159054906101000a900460ff1681565b610bbb611279565b5f6003549050816003819055503373ffffffffffffffffffffffffffffffffffffffff167fc82089e5fcd698a2b91b61e1c86a66c7430cd3e81498e51f478e63283179b6d260035483604051610c12929190611c50565b60405180910390a25050565b610c2661144f565b3383858484610c3e610c398685876113b8565b6113f7565b8214610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7690611ed9565b60405180910390fd5b610c89828261142a565b73ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0e90611f41565b60405180910390fd5b600260159054906101000a900460ff16610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d9061209f565b60405180910390fd5b5f60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205411610de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddc90612107565b60405180910390fd5b8760075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205414610e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5b9061216f565b60405180910390fd5b5f60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905060075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f90555f3373ffffffffffffffffffffffffffffffffffffffff1682604051610f0a906121ba565b5f6040518083038185875af1925050503d805f8114610f44576040519150601f19603f3d011682016040523d82523d5f602084013e610f49565b606091505b5050905080610f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8490612218565b60405180910390fd5b50505050505050610f9c61149e565b50505050565b610faa611279565b610fb261144f565b600260159054906101000a900460ff16611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff89061209f565b60405180910390fd5b5f60065411611045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103c90612280565b60405180910390fd5b5f600654905060065f90555f3373ffffffffffffffffffffffffffffffffffffffff1682604051611075906121ba565b5f6040518083038185875af1925050503d805f81146110af576040519150601f19603f3d011682016040523d82523d5f602084013e6110b4565b606091505b50509050806110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ef90612218565b60405180910390fd5b505061110261149e565b565b61110c611279565b806004819055503373ffffffffffffffffffffffffffffffffffffffff167f1741c56051c6914d62f27a27c166aab32d3041022abe88a646a0c3e3316ea6a560045460405161115b9190611818565b60405180910390a250565b61116e611279565b600260159054906101000a900460ff1615600260156101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167ffcec7f9023178051be60302256e44366750a6ddf83c4f7162121547b0ece81b7600260159054906101000a900460ff166040516111ed91906117e7565b60405180910390a2565b6111ff611279565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361126d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112649061230e565b60405180910390fd5b611276816112f7565b50565b6112816114a7565b73ffffffffffffffffffffffffffffffffffffffff1661129f610ae2565b73ffffffffffffffffffffffffffffffffffffffff16146112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90612376565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f808484846040516020016113cf939291906123f9565b60405160208183030381529060405290505f8180519060200120905080925050509392505050565b5f7f19457468657265756d205369676e6564204d6573736167653a0a3332000000005f5281601c52603c5f209050919050565b5f805f61143785856114ae565b91509150611444816114fa565b819250505092915050565b600260015403611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b9061247f565b60405180910390fd5b6002600181905550565b60018081905550565b5f33905090565b5f8060418351036114eb575f805f602086015192506040860151915060608601515f1a90506114df8782858561165f565b945094505050506114f3565b5f6002915091505b9250929050565b5f600481111561150d5761150c61249d565b5b8160048111156115205761151f61249d565b5b031561165c576001600481111561153a5761153961249d565b5b81600481111561154d5761154c61249d565b5b0361158d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158490612514565b60405180910390fd5b600260048111156115a1576115a061249d565b5b8160048111156115b4576115b361249d565b5b036115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb9061257c565b60405180910390fd5b600360048111156116085761160761249d565b5b81600481111561161b5761161a61249d565b5b0361165b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116529061260a565b60405180910390fd5b5b50565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0835f1c1115611697575f60039150915061172e565b5f6001878787876040515f81526020016040526040516116ba9493929190612652565b6020604051602081039080840390855afa1580156116da573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611726575f6001925092505061172e565b805f92509250505b94509492505050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61177182611748565b9050919050565b61178181611767565b811461178b575f80fd5b50565b5f8135905061179c81611778565b92915050565b5f602082840312156117b7576117b6611740565b5b5f6117c48482850161178e565b91505092915050565b5f8115159050919050565b6117e1816117cd565b82525050565b5f6020820190506117fa5f8301846117d8565b92915050565b5f819050919050565b61181281611800565b82525050565b5f60208201905061182b5f830184611809565b92915050565b61183a81611800565b8114611844575f80fd5b50565b5f8135905061185581611831565b92915050565b5f602082840312156118705761186f611740565b5b5f61187d84828501611847565b91505092915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126118a7576118a6611886565b5b8235905067ffffffffffffffff8111156118c4576118c361188a565b5b6020830191508360408202830111156118e0576118df61188e565b5b9250929050565b5f80602083850312156118fd576118fc611740565b5b5f83013567ffffffffffffffff81111561191a57611919611744565b5b61192685828601611892565b92509250509250929050565b5f819050919050565b61194481611932565b811461194e575f80fd5b50565b5f8135905061195f8161193b565b92915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6119af82611969565b810181811067ffffffffffffffff821117156119ce576119cd611979565b5b80604052505050565b5f6119e0611737565b90506119ec82826119a6565b919050565b5f67ffffffffffffffff821115611a0b57611a0a611979565b5b611a1482611969565b9050602081019050919050565b828183375f83830152505050565b5f611a41611a3c846119f1565b6119d7565b905082815260208101848484011115611a5d57611a5c611965565b5b611a68848285611a21565b509392505050565b5f82601f830112611a8457611a83611886565b5b8135611a94848260208601611a2f565b91505092915050565b5f805f60608486031215611ab457611ab3611740565b5b5f611ac186828701611847565b9350506020611ad286828701611951565b925050604084013567ffffffffffffffff811115611af357611af2611744565b5b611aff86828701611a70565b9150509250925092565b611b1281611767565b82525050565b5f602082019050611b2b5f830184611b09565b92915050565b5f805f8060808587031215611b4957611b48611740565b5b5f611b5687828801611847565b9450506020611b6787828801611847565b9350506040611b7887828801611951565b925050606085013567ffffffffffffffff811115611b9957611b98611744565b5b611ba587828801611a70565b91505092959194509250565b5f82825260208201905092915050565b7f41646472657373206973206e6f742076616c69642100000000000000000000005f82015250565b5f611bf5601583611bb1565b9150611c0082611bc1565b602082019050919050565b5f6020820190508181035f830152611c2281611be9565b9050919050565b5f604082019050611c3c5f830185611b09565b611c496020830184611b09565b9392505050565b5f604082019050611c635f830185611809565b611c706020830184611809565b9392505050565b7f4465706f736974206973207374696c6c206c69766500000000000000000000005f82015250565b5f611cab601583611bb1565b9150611cb682611c77565b602082019050919050565b5f6020820190508181035f830152611cd881611c9f565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611d4382611800565b9150611d4e83611800565b9250828202611d5c81611800565b91508282048414831517611d7357611d72611d0c565b5b5092915050565b7f546f74616c206465706f7369742062656c6f77206e66742070726963650000005f82015250565b5f611dae601d83611bb1565b9150611db982611d7a565b602082019050919050565b5f6020820190508181035f830152611ddb81611da2565b9050919050565b5f611dec82611800565b9150611df783611800565b9250828201905080821115611e0f57611e0e611d0c565b5b92915050565b5f611e1f82611800565b9150611e2a83611800565b9250828203905081811115611e4257611e41611d0c565b5b92915050565b5f611e5282611800565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e8457611e83611d0c565b5b600182019050919050565b7f496e76616c6964206d65737361676520686173680000000000000000000000005f82015250565b5f611ec3601483611bb1565b9150611ece82611e8f565b602082019050919050565b5f6020820190508181035f830152611ef081611eb7565b9050919050565b7f496e76616c6964207369676e61747572650000000000000000000000000000005f82015250565b5f611f2b601183611bb1565b9150611f3682611ef7565b602082019050919050565b5f6020820190508181035f830152611f5881611f1f565b9050919050565b7f4465706f736974206973206e6f74206c697665207965740000000000000000005f82015250565b5f611f93601783611bb1565b9150611f9e82611f5f565b602082019050919050565b5f6020820190508181035f830152611fc081611f87565b9050919050565b7f46756e642063616e74206265206c6f776572207468616e206d696e696d756d205f8201527f6465706f73697421000000000000000000000000000000000000000000000000602082015250565b5f612021602883611bb1565b915061202c82611fc7565b604082019050919050565b5f6020820190508181035f83015261204e81612015565b9050919050565b7f5769746864726177207068617365206973206e6f74206c6976652079657400005f82015250565b5f612089601e83611bb1565b915061209482612055565b602082019050919050565b5f6020820190508181035f8301526120b68161207d565b9050919050565b7f596f752068617665206e6f2062616c616e6365000000000000000000000000005f82015250565b5f6120f1601383611bb1565b91506120fc826120bd565b602082019050919050565b5f6020820190508181035f83015261211e816120e5565b9050919050565b7f42616c616e6365206973206e6f74206d617463680000000000000000000000005f82015250565b5f612159601483611bb1565b915061216482612125565b602082019050919050565b5f6020820190508181035f8301526121868161214d565b9050919050565b5f81905092915050565b50565b5f6121a55f8361218d565b91506121b082612197565b5f82019050919050565b5f6121c48261219a565b9150819050919050565b7f7472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f612202600f83611bb1565b915061220d826121ce565b602082019050919050565b5f6020820190508181035f83015261222f816121f6565b9050919050565b7f5661756c742068617665206e6f2062616c616e636500000000000000000000005f82015250565b5f61226a601583611bb1565b915061227582612236565b602082019050919050565b5f6020820190508181035f8301526122978161225e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6122f8602683611bb1565b91506123038261229e565b604082019050919050565b5f6020820190508181035f830152612325816122ec565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612360602083611bb1565b915061236b8261232c565b602082019050919050565b5f6020820190508181035f83015261238d81612354565b9050919050565b5f8160601b9050919050565b5f6123aa82612394565b9050919050565b5f6123bb826123a0565b9050919050565b6123d36123ce82611767565b6123b1565b82525050565b5f819050919050565b6123f36123ee82611800565b6123d9565b82525050565b5f61240482866123c2565b60148201915061241482856123e2565b60208201915061242482846123e2565b602082019150819050949350505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f612469601f83611bb1565b915061247482612435565b602082019050919050565b5f6020820190508181035f8301526124968161245d565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b7f45434453413a20696e76616c6964207369676e617475726500000000000000005f82015250565b5f6124fe601883611bb1565b9150612509826124ca565b602082019050919050565b5f6020820190508181035f83015261252b816124f2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e677468005f82015250565b5f612566601f83611bb1565b915061257182612532565b602082019050919050565b5f6020820190508181035f8301526125938161255a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c5f8201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b5f6125f4602283611bb1565b91506125ff8261259a565b604082019050919050565b5f6020820190508181035f830152612621816125e8565b9050919050565b61263181611932565b82525050565b5f60ff82169050919050565b61264c81612637565b82525050565b5f6080820190506126655f830187612628565b6126726020830186612643565b61267f6040830185612628565b61268c6060830184612628565b9594505050505056fea26469706673582212202be787c31049e874701429d5e4a1dcf505b428fc4cffc2ada1e4e47a036d190b64736f6c63430008140033000000000000000000000000cc9b5d0fac5c2b9bed68341c79c23d34a8e72a9c

Deployed Bytecode

0x60806040526004361061011e575f3560e01c80638da5cb5b1161009f578063c5ed307311610063578063c5ed30731461036c578063d0d0ed0514610394578063e78ec42e146103aa578063f282671d146103d2578063f2fde38b146103e85761011e565b80638da5cb5b146102b0578063921eeb4b146102da57806399b6f607146102f0578063a2b510921461031a578063b794652c146103445761011e565b806355975d5a116100e657806355975d5a14610202578063574bb74a1461022c578063636bfbab14610254578063715018a61461027e57806373f29142146102945761011e565b8063046dc166146101225780630b86e1f31461014a5780631084e812146101745780631f1f5c44146101b0578063201ce58d146101da575b5f80fd5b34801561012d575f80fd5b50610148600480360381019061014391906117a2565b610410565b005b348015610155575f80fd5b5061015e610560565b60405161016b91906117e7565b60405180910390f35b34801561017f575f80fd5b5061019a600480360381019061019591906117a2565b610573565b6040516101a79190611818565b60405180910390f35b3480156101bb575f80fd5b506101c4610588565b6040516101d19190611818565b60405180910390f35b3480156101e5575f80fd5b5061020060048036038101906101fb919061185b565b61058e565b005b34801561020d575f80fd5b506102166105f9565b6040516102239190611818565b60405180910390f35b348015610237575f80fd5b50610252600480360381019061024d91906118e7565b6105ff565b005b34801561025f575f80fd5b50610268610855565b6040516102759190611818565b60405180910390f35b348015610289575f80fd5b5061029261085b565b005b6102ae60048036038101906102a99190611a9d565b61086e565b005b3480156102bb575f80fd5b506102c4610ae2565b6040516102d19190611b18565b60405180910390f35b3480156102e5575f80fd5b506102ee610b09565b005b3480156102fb575f80fd5b50610304610b9a565b6040516103119190611818565b60405180910390f35b348015610325575f80fd5b5061032e610ba0565b60405161033b91906117e7565b60405180910390f35b34801561034f575f80fd5b5061036a6004803603810190610365919061185b565b610bb3565b005b348015610377575f80fd5b50610392600480360381019061038d9190611b31565b610c1e565b005b34801561039f575f80fd5b506103a8610fa2565b005b3480156103b5575f80fd5b506103d060048036038101906103cb919061185b565b611104565b005b3480156103dd575f80fd5b506103e6611166565b005b3480156103f3575f80fd5b5061040e600480360381019061040991906117a2565b6111f7565b005b610418611279565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047d90611c0b565b60405180910390fd5b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff167f7f79a758079c8ff715826ba9a371c85dd9a922cfa735519ecbb8f5bee614a2b460025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683604051610554929190611c29565b60405180910390a25050565b600260149054906101000a900460ff1681565b6007602052805f5260405f205f915090505481565b60055481565b610596611279565b5f6005549050816005819055503373ffffffffffffffffffffffffffffffffffffffff167fe3eda2fa5b8c9bb9d9eeaed1c37ad7d0d221595c380538f02a4ac8cc100e62ad600554836040516105ed929190611c50565b60405180910390a25050565b60065481565b610607611279565b600260149054906101000a900460ff16158015610625575060035442115b610664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065b90611cc1565b60405180910390fd5b5f5b82829050811015610850575f60075f85858581811061068857610687611cdf565b5b9050604002015f01602081019061069f91906117a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f6005548585858181106106f2576106f1611cdf565b5b905060400201602001356107069190611d39565b90508060075f87878781811061071f5761071e611cdf565b5b9050604002015f01602081019061073691906117a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410156107b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a890611dc4565b60405180910390fd5b806006546107bf9190611de2565b60068190555080826107d19190611e15565b60075f8787878181106107e7576107e6611cdf565b5b9050604002015f0160208101906107fe91906117a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505050808061084890611e48565b915050610666565b505050565b60045481565b610863611279565b61086c5f6112f7565b565b33348484846108866108818685876113b8565b6113f7565b82146108c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108be90611ed9565b60405180910390fd5b6108d1828261142a565b73ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461095f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095690611f41565b60405180910390fd5b600260149054906101000a900460ff16801561097c575060035442105b6109bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b290611fa9565b60405180910390fd5b600454341015610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f790612037565b60405180910390fd5b3460075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610a499190611de2565b60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055503373ffffffffffffffffffffffffffffffffffffffff167f5bd99bbe95bfc6574f43870b28ef3b3be98f14f3d557649dfa9ed7edf7e878f534604051610ad09190611818565b60405180910390a25050505050505050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b11611279565b600260149054906101000a900460ff1615600260146101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f1808c9e64923f1752585fc234adc44e3c35a9df4a8e73edf8acc68ba00e0c198600260149054906101000a900460ff16604051610b9091906117e7565b60405180910390a2565b60035481565b600260159054906101000a900460ff1681565b610bbb611279565b5f6003549050816003819055503373ffffffffffffffffffffffffffffffffffffffff167fc82089e5fcd698a2b91b61e1c86a66c7430cd3e81498e51f478e63283179b6d260035483604051610c12929190611c50565b60405180910390a25050565b610c2661144f565b3383858484610c3e610c398685876113b8565b6113f7565b8214610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7690611ed9565b60405180910390fd5b610c89828261142a565b73ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0e90611f41565b60405180910390fd5b600260159054906101000a900460ff16610d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5d9061209f565b60405180910390fd5b5f60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205411610de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddc90612107565b60405180910390fd5b8760075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205414610e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5b9061216f565b60405180910390fd5b5f60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905060075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f90555f3373ffffffffffffffffffffffffffffffffffffffff1682604051610f0a906121ba565b5f6040518083038185875af1925050503d805f8114610f44576040519150601f19603f3d011682016040523d82523d5f602084013e610f49565b606091505b5050905080610f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8490612218565b60405180910390fd5b50505050505050610f9c61149e565b50505050565b610faa611279565b610fb261144f565b600260159054906101000a900460ff16611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff89061209f565b60405180910390fd5b5f60065411611045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103c90612280565b60405180910390fd5b5f600654905060065f90555f3373ffffffffffffffffffffffffffffffffffffffff1682604051611075906121ba565b5f6040518083038185875af1925050503d805f81146110af576040519150601f19603f3d011682016040523d82523d5f602084013e6110b4565b606091505b50509050806110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ef90612218565b60405180910390fd5b505061110261149e565b565b61110c611279565b806004819055503373ffffffffffffffffffffffffffffffffffffffff167f1741c56051c6914d62f27a27c166aab32d3041022abe88a646a0c3e3316ea6a560045460405161115b9190611818565b60405180910390a250565b61116e611279565b600260159054906101000a900460ff1615600260156101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167ffcec7f9023178051be60302256e44366750a6ddf83c4f7162121547b0ece81b7600260159054906101000a900460ff166040516111ed91906117e7565b60405180910390a2565b6111ff611279565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361126d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112649061230e565b60405180910390fd5b611276816112f7565b50565b6112816114a7565b73ffffffffffffffffffffffffffffffffffffffff1661129f610ae2565b73ffffffffffffffffffffffffffffffffffffffff16146112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90612376565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f808484846040516020016113cf939291906123f9565b60405160208183030381529060405290505f8180519060200120905080925050509392505050565b5f7f19457468657265756d205369676e6564204d6573736167653a0a3332000000005f5281601c52603c5f209050919050565b5f805f61143785856114ae565b91509150611444816114fa565b819250505092915050565b600260015403611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b9061247f565b60405180910390fd5b6002600181905550565b60018081905550565b5f33905090565b5f8060418351036114eb575f805f602086015192506040860151915060608601515f1a90506114df8782858561165f565b945094505050506114f3565b5f6002915091505b9250929050565b5f600481111561150d5761150c61249d565b5b8160048111156115205761151f61249d565b5b031561165c576001600481111561153a5761153961249d565b5b81600481111561154d5761154c61249d565b5b0361158d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158490612514565b60405180910390fd5b600260048111156115a1576115a061249d565b5b8160048111156115b4576115b361249d565b5b036115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb9061257c565b60405180910390fd5b600360048111156116085761160761249d565b5b81600481111561161b5761161a61249d565b5b0361165b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116529061260a565b60405180910390fd5b5b50565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0835f1c1115611697575f60039150915061172e565b5f6001878787876040515f81526020016040526040516116ba9493929190612652565b6020604051602081039080840390855afa1580156116da573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611726575f6001925092505061172e565b805f92509250505b94509492505050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61177182611748565b9050919050565b61178181611767565b811461178b575f80fd5b50565b5f8135905061179c81611778565b92915050565b5f602082840312156117b7576117b6611740565b5b5f6117c48482850161178e565b91505092915050565b5f8115159050919050565b6117e1816117cd565b82525050565b5f6020820190506117fa5f8301846117d8565b92915050565b5f819050919050565b61181281611800565b82525050565b5f60208201905061182b5f830184611809565b92915050565b61183a81611800565b8114611844575f80fd5b50565b5f8135905061185581611831565b92915050565b5f602082840312156118705761186f611740565b5b5f61187d84828501611847565b91505092915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126118a7576118a6611886565b5b8235905067ffffffffffffffff8111156118c4576118c361188a565b5b6020830191508360408202830111156118e0576118df61188e565b5b9250929050565b5f80602083850312156118fd576118fc611740565b5b5f83013567ffffffffffffffff81111561191a57611919611744565b5b61192685828601611892565b92509250509250929050565b5f819050919050565b61194481611932565b811461194e575f80fd5b50565b5f8135905061195f8161193b565b92915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6119af82611969565b810181811067ffffffffffffffff821117156119ce576119cd611979565b5b80604052505050565b5f6119e0611737565b90506119ec82826119a6565b919050565b5f67ffffffffffffffff821115611a0b57611a0a611979565b5b611a1482611969565b9050602081019050919050565b828183375f83830152505050565b5f611a41611a3c846119f1565b6119d7565b905082815260208101848484011115611a5d57611a5c611965565b5b611a68848285611a21565b509392505050565b5f82601f830112611a8457611a83611886565b5b8135611a94848260208601611a2f565b91505092915050565b5f805f60608486031215611ab457611ab3611740565b5b5f611ac186828701611847565b9350506020611ad286828701611951565b925050604084013567ffffffffffffffff811115611af357611af2611744565b5b611aff86828701611a70565b9150509250925092565b611b1281611767565b82525050565b5f602082019050611b2b5f830184611b09565b92915050565b5f805f8060808587031215611b4957611b48611740565b5b5f611b5687828801611847565b9450506020611b6787828801611847565b9350506040611b7887828801611951565b925050606085013567ffffffffffffffff811115611b9957611b98611744565b5b611ba587828801611a70565b91505092959194509250565b5f82825260208201905092915050565b7f41646472657373206973206e6f742076616c69642100000000000000000000005f82015250565b5f611bf5601583611bb1565b9150611c0082611bc1565b602082019050919050565b5f6020820190508181035f830152611c2281611be9565b9050919050565b5f604082019050611c3c5f830185611b09565b611c496020830184611b09565b9392505050565b5f604082019050611c635f830185611809565b611c706020830184611809565b9392505050565b7f4465706f736974206973207374696c6c206c69766500000000000000000000005f82015250565b5f611cab601583611bb1565b9150611cb682611c77565b602082019050919050565b5f6020820190508181035f830152611cd881611c9f565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611d4382611800565b9150611d4e83611800565b9250828202611d5c81611800565b91508282048414831517611d7357611d72611d0c565b5b5092915050565b7f546f74616c206465706f7369742062656c6f77206e66742070726963650000005f82015250565b5f611dae601d83611bb1565b9150611db982611d7a565b602082019050919050565b5f6020820190508181035f830152611ddb81611da2565b9050919050565b5f611dec82611800565b9150611df783611800565b9250828201905080821115611e0f57611e0e611d0c565b5b92915050565b5f611e1f82611800565b9150611e2a83611800565b9250828203905081811115611e4257611e41611d0c565b5b92915050565b5f611e5282611800565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e8457611e83611d0c565b5b600182019050919050565b7f496e76616c6964206d65737361676520686173680000000000000000000000005f82015250565b5f611ec3601483611bb1565b9150611ece82611e8f565b602082019050919050565b5f6020820190508181035f830152611ef081611eb7565b9050919050565b7f496e76616c6964207369676e61747572650000000000000000000000000000005f82015250565b5f611f2b601183611bb1565b9150611f3682611ef7565b602082019050919050565b5f6020820190508181035f830152611f5881611f1f565b9050919050565b7f4465706f736974206973206e6f74206c697665207965740000000000000000005f82015250565b5f611f93601783611bb1565b9150611f9e82611f5f565b602082019050919050565b5f6020820190508181035f830152611fc081611f87565b9050919050565b7f46756e642063616e74206265206c6f776572207468616e206d696e696d756d205f8201527f6465706f73697421000000000000000000000000000000000000000000000000602082015250565b5f612021602883611bb1565b915061202c82611fc7565b604082019050919050565b5f6020820190508181035f83015261204e81612015565b9050919050565b7f5769746864726177207068617365206973206e6f74206c6976652079657400005f82015250565b5f612089601e83611bb1565b915061209482612055565b602082019050919050565b5f6020820190508181035f8301526120b68161207d565b9050919050565b7f596f752068617665206e6f2062616c616e6365000000000000000000000000005f82015250565b5f6120f1601383611bb1565b91506120fc826120bd565b602082019050919050565b5f6020820190508181035f83015261211e816120e5565b9050919050565b7f42616c616e6365206973206e6f74206d617463680000000000000000000000005f82015250565b5f612159601483611bb1565b915061216482612125565b602082019050919050565b5f6020820190508181035f8301526121868161214d565b9050919050565b5f81905092915050565b50565b5f6121a55f8361218d565b91506121b082612197565b5f82019050919050565b5f6121c48261219a565b9150819050919050565b7f7472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f612202600f83611bb1565b915061220d826121ce565b602082019050919050565b5f6020820190508181035f83015261222f816121f6565b9050919050565b7f5661756c742068617665206e6f2062616c616e636500000000000000000000005f82015250565b5f61226a601583611bb1565b915061227582612236565b602082019050919050565b5f6020820190508181035f8301526122978161225e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6122f8602683611bb1565b91506123038261229e565b604082019050919050565b5f6020820190508181035f830152612325816122ec565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612360602083611bb1565b915061236b8261232c565b602082019050919050565b5f6020820190508181035f83015261238d81612354565b9050919050565b5f8160601b9050919050565b5f6123aa82612394565b9050919050565b5f6123bb826123a0565b9050919050565b6123d36123ce82611767565b6123b1565b82525050565b5f819050919050565b6123f36123ee82611800565b6123d9565b82525050565b5f61240482866123c2565b60148201915061241482856123e2565b60208201915061242482846123e2565b602082019150819050949350505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f612469601f83611bb1565b915061247482612435565b602082019050919050565b5f6020820190508181035f8301526124968161245d565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b7f45434453413a20696e76616c6964207369676e617475726500000000000000005f82015250565b5f6124fe601883611bb1565b9150612509826124ca565b602082019050919050565b5f6020820190508181035f83015261252b816124f2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e677468005f82015250565b5f612566601f83611bb1565b915061257182612532565b602082019050919050565b5f6020820190508181035f8301526125938161255a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c5f8201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b5f6125f4602283611bb1565b91506125ff8261259a565b604082019050919050565b5f6020820190508181035f830152612621816125e8565b9050919050565b61263181611932565b82525050565b5f60ff82169050919050565b61264c81612637565b82525050565b5f6080820190506126655f830187612628565b6126726020830186612643565b61267f6040830185612628565b61268c6060830184612628565b9594505050505056fea26469706673582212202be787c31049e874701429d5e4a1dcf505b428fc4cffc2ada1e4e47a036d190b64736f6c63430008140033

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

000000000000000000000000cc9b5d0fac5c2b9bed68341c79c23d34a8e72a9c

-----Decoded View---------------
Arg [0] : _deployer (address): 0xCC9B5D0FAC5c2B9bEd68341C79c23D34A8e72A9c

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000cc9b5d0fac5c2b9bed68341c79c23d34a8e72a9c


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  ]
[ 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.