ETH Price: $2,410.29 (-2.89%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00
Transaction Hash
Method
Block
From
To
Transfer From209835152024-10-17 6:32:4718 days ago1729146767IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.000848719.99552782
Transfer From209770022024-10-16 8:42:4719 days ago1729068167IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.0009389111.0578406
Withdraw208292232024-09-25 17:50:5940 days ago1727286659IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.0007303723.63657402
Safe Transfer Fr...208292202024-09-25 17:50:2340 days ago1727286623IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.0022358825.49387197
Presale Mint NFT208292192024-09-25 17:50:1140 days ago1727286611IN
0x18c9Ba77...8Bd0c7aAe
0.2 ETH0.0053722825.83986354
Withdraw208289252024-09-25 16:50:4740 days ago1727283047IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.0010080132.62192889
Safe Transfer Fr...208289152024-09-25 16:48:4740 days ago1727282927IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.0030385834.64628576
Presale Mint NFT208289142024-09-25 16:48:3540 days ago1727282915IN
0x18c9Ba77...8Bd0c7aAe
0.2 ETH0.007253934.8810819
Transfer From207382152024-09-13 0:49:5953 days ago1726188599IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.000209242.46473147
Set Approval For...206937582024-09-06 19:51:5959 days ago1725652319IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.000319336.83249976
Set Approval For...206937392024-09-06 19:48:1159 days ago1725652091IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.000329967.07273852
Set Approval For...205410432024-08-16 11:58:3580 days ago1723809515IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.000069931.49906415
Set Approval For...205383832024-08-16 3:05:1180 days ago1723777511IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.000086431.84929747
Set Approval For...205181702024-08-13 7:19:4783 days ago1723533587IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.000048091.02896923
Set Approval For...203686722024-07-23 10:36:11104 days ago1721730971IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.000262855.62417925
Set Approval For...202225892024-07-03 1:05:35125 days ago1719968735IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.00011232.4035653
Set Approval For...202208972024-07-02 19:24:35125 days ago1719948275IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.000164443.52479487
Withdraw201258522024-06-19 12:41:47138 days ago1718800907IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.0003657111.83552978
Safe Transfer Fr...201258492024-06-19 12:41:11138 days ago1718800871IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.0010991112.5322387
Presale Mint NFT201258482024-06-19 12:40:59138 days ago1718800859IN
0x18c9Ba77...8Bd0c7aAe
0.2 ETH0.0027100713.03302072
Withdraw201258392024-06-19 12:39:11138 days ago1718800751IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.000411213.30758884
Safe Transfer Fr...201258362024-06-19 12:38:35138 days ago1718800715IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.0012111213.80934969
Presale Mint NFT201258352024-06-19 12:38:23138 days ago1718800703IN
0x18c9Ba77...8Bd0c7aAe
0.2 ETH0.002758613.2670409
Withdraw201258282024-06-19 12:36:59138 days ago1718800619IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.000420713.61515574
Safe Transfer Fr...201258252024-06-19 12:36:23138 days ago1718800583IN
0x18c9Ba77...8Bd0c7aAe
0 ETH0.0011992413.6739231
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
208292232024-09-25 17:50:5940 days ago1727286659
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
208289252024-09-25 16:50:4740 days ago1727283047
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
201258522024-06-19 12:41:47138 days ago1718800907
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
201258392024-06-19 12:39:11138 days ago1718800751
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
201258282024-06-19 12:36:59138 days ago1718800619
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
201258182024-06-19 12:34:47138 days ago1718800487
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
201187092024-06-18 12:42:11139 days ago1718714531
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
201186872024-06-18 12:37:47139 days ago1718714267
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
200255662024-06-05 12:15:47152 days ago1717589747
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
200255562024-06-05 12:13:47152 days ago1717589627
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
200255422024-06-05 12:10:59152 days ago1717589459
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
199183032024-05-21 12:32:35167 days ago1716294755
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
199182692024-05-21 12:25:47167 days ago1716294347
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
198621842024-05-13 16:07:11175 days ago1715616431
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
197323472024-04-25 12:21:35193 days ago1714047695
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
197323352024-04-25 12:19:11193 days ago1714047551
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
196750702024-04-17 12:03:23201 days ago1713355403
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
196696102024-04-16 17:44:11202 days ago1713289451
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
196610422024-04-15 12:55:11203 days ago1713185711
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
196609952024-04-15 12:45:35203 days ago1713185135
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
195681832024-04-02 12:42:35216 days ago1712061755
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
195681722024-04-02 12:40:23216 days ago1712061623
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
195681602024-04-02 12:37:59216 days ago1712061479
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
195681412024-04-02 12:34:11216 days ago1712061251
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
195681292024-04-02 12:31:35216 days ago1712061095
0x18c9Ba77...8Bd0c7aAe
0.2 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CollectivePass

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 21 : CollectivePass.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";

contract CollectivePass is ERC721Enumerable, Pausable, AccessControl, ERC2981 {
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    // Number of tokens minted per address
    mapping(address => uint) public addrTokensMinted;
    // Mapping for presale address consumed.
    mapping(address => bool) public presaleAddConsumed;

    // BaseURI
    string public baseURI;

    // Roles
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant TREASURY_ROLE = keccak256("TREASURY_ROLE");

    // Mint timing managers
    uint256 public publicMintDate;
    uint256 public presaleListMintDate;

    // Royalty Information
    address royaltyFeeReceiver = 0xa6C73A99A95B96d55f974e77ce8E358143B92F08;
    uint96 royaltyFee = 1000;

    // Reserved Amount
    uint public reservedNFTs = 250;
    Counters.Counter private _reservedNFTsMinted;

    // The max number of NFTs in the collection
    uint public constant MAX_SUPPLY = 987;
    Counters.Counter private _tokenIds;

    // The mint price for the collection
    uint public constant price = 0.2 ether;
    // The maximum number of NFTs per wallet
    uint public maxPerWallet = 1;

    // Merkleroot for presale list
    bytes32 public presaleMerkleRoot;


    constructor(uint256 _publicMintDate, uint256 _presaleListMintDate, string memory _name,
        string memory _symbol, string memory _initBaseURI) ERC721(_name, _symbol) {
        // Grant all the base roles
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(PAUSER_ROLE, msg.sender);
        _grantRole(MINTER_ROLE, msg.sender);
        _grantRole(TREASURY_ROLE, msg.sender);

        // Set the mint dates
        publicMintDate = _publicMintDate;
        presaleListMintDate = _presaleListMintDate;

        // Set default royalties
        _setDefaultRoyalty(royaltyFeeReceiver, royaltyFee);
        setBaseURI(_initBaseURI);
    }

    // Token URI Functions
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    function setBaseURI(string memory _newBaseURI) public onlyRole(MINTER_ROLE) {
        baseURI = _newBaseURI;
    }

    // Override tokenURI so they all have the same metadata
    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId),"Not Found");
        return string(abi.encodePacked(_baseURI()));
    }

    // Update the royalty information if required if required.
    function setDefaultRoyalty(address _royaltyFeeReceiverAddress, uint96 _royaltyFee) public onlyRole(MINTER_ROLE) {
        royaltyFeeReceiver = _royaltyFeeReceiverAddress;
        royaltyFee = _royaltyFee;
        _setDefaultRoyalty(royaltyFeeReceiver, royaltyFee);
    }

    // Update the Merkle Root
    function setMerkleRoot(bytes32 _root) public onlyRole(MINTER_ROLE) {
        presaleMerkleRoot = _root;
    }

    // Update the max per wallet
    function setMaxPerWallet(uint _number) public onlyRole(MINTER_ROLE) {
        maxPerWallet = _number;
    }

    // Update the Public Mint date
    function setPublicMintDate(uint256 _date) public onlyRole(MINTER_ROLE) {
        publicMintDate = _date;
    }

    // Update the presale list mint date
    function setPresaleListMintDate(uint256 _date) public onlyRole(MINTER_ROLE) {
        presaleListMintDate = _date;
    }

    // Pause the mint for any reason
    function pause() public onlyRole(PAUSER_ROLE) {
        _pause();
    }

    // Unpause the mint if paused
    function unpause() public onlyRole(PAUSER_ROLE) {
        _unpause();
    }

    // Returns the ids of the NFTs owned by the wallet address
    function tokensOfOwner(address _owner) external view returns (uint[] memory) {
        uint tokenCount = balanceOf(_owner);
        uint[] memory tokensId = new uint256[](tokenCount);

        for (uint i = 0; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

    // Mint Presale NFT
    function presaleMintNFT(bytes32[] calldata _merkleProof) public payable {
        // Check whether the address has already minted their allowlist NFT
        require(!presaleAddConsumed[msg.sender], "Already minted for allowlist");
        // Check whether the wallet is part of the merkleroot
        require(MerkleProof.verify(_merkleProof, presaleMerkleRoot, keccak256(abi.encodePacked(msg.sender))), "Not on allowlist");
        // Check that enough ETH was sent
        require(msg.value >= price, "Not enough ETH");
        // Mint Single NFT to the address requested
        _mintSingleNFT();
        // Consume the wallet from the presale list
        presaleAddConsumed[msg.sender] = true;
        addrTokensMinted[msg.sender] += 1;
    }

    // Public Sale Mint Function
    function mintNFT() public payable {
        // Ensure that the wallet doesn't mint more tokens than allowed
        require(addrTokensMinted[msg.sender] + 1 <= maxPerWallet, "Hit max token limit");
        // Calculate the total supply taking into account the reservedNFTs
        uint totalMinted = _tokenIds.current() + reservedNFTs;
        // Check that the public sale is open.
        require(block.timestamp >= publicMintDate, "Public sale not yet open");
        // Check that the collection is not sold out.
        require(totalMinted.add(1) <= MAX_SUPPLY, "Collection sold out");
        // Make sure the tx is sending enough ETH.
        require(msg.value >= price, "Not enough ETH");
        // Mint the NFT
        _mintSingleNFT();
        // Set the number of tokens minted for the address.
        addrTokensMinted[msg.sender] += 1;
    }

    // Common function to mint an NFT to the requesting address
    function _mintSingleNFT() private {
        // Get the current tokenId
        uint256 tokenId = _tokenIds.current();
        // Mint the token for the sender of the message
        _safeMint(msg.sender, tokenId);
        // Increment the tokenId for the sale.
        _tokenIds.increment();
    }

    // Common function to mint an NFT to the given address
    function _mintSingleNFTToAddress(address to) private {
        // Get the current tokenId
        uint256 tokenId = _tokenIds.current();
        // Mint the token for the wallet requested in the sender address
        _safeMint(to, tokenId);
        // Increment the tokenId for the sale.
        _tokenIds.increment();
    }
    
    // Airdrop NFTs Function
    // This is an admin only functionality to be able to mint for wallets.
    function airdropNfts(address[] calldata walletAddresses) public onlyRole(MINTER_ROLE) {
        // Get the current number of reserved NFTs minted.
        uint totalMinted = _reservedNFTsMinted.current();
        // Check that the number of reservedNFTs is not greater than the reservation amount
        require(totalMinted.add(walletAddresses.length) <= reservedNFTs, "Not enough to airdrop");
        // Mint for each of the wallets
        for (uint i = 0; i < walletAddresses.length; i++) {
            // Mint the NFT to the address requested
            _mintSingleNFTToAddress(walletAddresses[i]);
            // Increment the reservedNFTs by 1
            _reservedNFTsMinted.increment();
        }
    }

    // Withdraw the ether in the contract
    // Admin only function to be able to withdraw the money from the contract
    function withdraw() public payable onlyRole(TREASURY_ROLE) {
        // Get the balance of the contract
        uint balance = address(this).balance;
        // The balance must be more than none.
        require(balance > 0, "No ETH to withdraw");
        // Widthdraw the funds to the requesting wallet
        (bool success, ) = (msg.sender).call{value: balance}("");
        // If it didn't succeed, return failure
        require(success, "Failed");
    }

    // Reserve NFTs to be minted for free to the current wallet.
    function reserveNFTs(uint _count) public onlyRole(MINTER_ROLE) {
        // Get the current number of reserved NFTs that are minted
        uint totalMinted = _reservedNFTsMinted.current();

        // Check that there are still enough reserved NFTs to make the reservation
        require(totalMinted.add(_count) <= reservedNFTs, "Not enough to reserve");

        // For each of the requested NFTs
        for (uint i = 0; i < _count; i++) {
            // Mint Single NFT to requesting address
            _mintSingleNFT();
            // Increment the number of minted reserved NFTs
            _reservedNFTsMinted.increment();
        }
    }

    // Required Overrides
    function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize)
        internal
        whenNotPaused
        override
    {
        super._beforeTokenTransfer(from, to, tokenId, batchSize);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721Enumerable, AccessControl, ERC2981)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 21 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 21 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 4 of 21 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 5 of 21 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 6 of 21 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 7 of 21 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _ownerOf(tokenId) != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId, 1);

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}

File 8 of 21 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 9 of 21 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 10 of 21 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 11 of 21 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 12 of 21 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 13 of 21 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 14 of 21 : 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 15 of 21 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 16 of 21 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 19 of 21 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 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 10, 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 * 8) < value ? 1 : 0);
        }
    }
}

File 20 of 21 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

pragma solidity ^0.8.0;

import "./math/Math.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 `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);
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_publicMintDate","type":"uint256"},{"internalType":"uint256","name":"_presaleListMintDate","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addrTokensMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"walletAddresses","type":"address[]"}],"name":"airdropNfts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleAddConsumed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleListMintDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"presaleMintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"reserveNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyFeeReceiverAddress","type":"address"},{"internalType":"uint96","name":"_royaltyFee","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_date","type":"uint256"}],"name":"setPresaleListMintDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_date","type":"uint256"}],"name":"setPublicMintDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

608060405273a6c73a99a95b96d55f974e77ce8e358143b92f08601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103e8601360146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060fa6014556001601755348015620000a357600080fd5b50604051620072f1380380620072f18339818101604052810190620000c9919062000ab7565b82828160009081620000dc919062000ddd565b508060019081620000ee919062000ddd565b5050506000600a60006101000a81548160ff021916908315150217905550620001216000801b336200022f60201b60201c565b620001537f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200022f60201b60201c565b620001857f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200022f60201b60201c565b620001b77fe1dcbdb91df27212a29bc27177c840cf2f819ecf2187432e1fac86c2dd5dfca9336200022f60201b60201c565b846011819055508360128190555062000213601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601360149054906101000a90046bffffffffffffffffffffffff166200032160201b60201c565b6200022481620004c460201b60201c565b5050505050620012ec565b6200024182826200050c60201b60201c565b6200031d576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002c26200057760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b620003316200057f60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000392576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003899062000f4b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000404576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003fb9062000fbd565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600c60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620004f6816200058960201b60201c565b816010908162000507919062000ddd565b505050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6000612710905090565b620005aa816200059e6200057760201b60201c565b620005ad60201b60201c565b50565b620005bf82826200050c60201b60201c565b6200065557620005da816200065960201b620021b71760201c565b620005f58360001c60206200068e60201b620021e41760201c565b60405160200162000608929190620010c1565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200064c919062001144565b60405180910390fd5b5050565b6060620006878273ffffffffffffffffffffffffffffffffffffffff16601460ff166200068e60201b60201c565b9050919050565b606060006002836002620006a3919062001197565b620006af9190620011e2565b67ffffffffffffffff811115620006cb57620006ca62000953565b5b6040519080825280601f01601f191660200182016040528015620006fe5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106200073957620007386200121d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110620007a0576200079f6200121d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002620007e2919062001197565b620007ee9190620011e2565b90505b600181111562000898577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106200083457620008336200121d565b5b1a60f81b8282815181106200084e576200084d6200121d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508062000890906200124c565b9050620007f1565b5060008414620008df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008d690620012ca565b60405180910390fd5b8091505092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6200091281620008fd565b81146200091e57600080fd5b50565b600081519050620009328162000907565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200098d8262000942565b810181811067ffffffffffffffff82111715620009af57620009ae62000953565b5b80604052505050565b6000620009c4620008e9565b9050620009d2828262000982565b919050565b600067ffffffffffffffff821115620009f557620009f462000953565b5b62000a008262000942565b9050602081019050919050565b60005b8381101562000a2d57808201518184015260208101905062000a10565b60008484015250505050565b600062000a5062000a4a84620009d7565b620009b8565b90508281526020810184848401111562000a6f5762000a6e6200093d565b5b62000a7c84828562000a0d565b509392505050565b600082601f83011262000a9c5762000a9b62000938565b5b815162000aae84826020860162000a39565b91505092915050565b600080600080600060a0868803121562000ad65762000ad5620008f3565b5b600062000ae68882890162000921565b955050602062000af98882890162000921565b945050604086015167ffffffffffffffff81111562000b1d5762000b1c620008f8565b5b62000b2b8882890162000a84565b935050606086015167ffffffffffffffff81111562000b4f5762000b4e620008f8565b5b62000b5d8882890162000a84565b925050608086015167ffffffffffffffff81111562000b815762000b80620008f8565b5b62000b8f8882890162000a84565b9150509295509295909350565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000bef57607f821691505b60208210810362000c055762000c0462000ba7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000c6f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000c30565b62000c7b868362000c30565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000cbe62000cb862000cb284620008fd565b62000c93565b620008fd565b9050919050565b6000819050919050565b62000cda8362000c9d565b62000cf262000ce98262000cc5565b84845462000c3d565b825550505050565b600090565b62000d0962000cfa565b62000d1681848462000ccf565b505050565b5b8181101562000d3e5762000d3260008262000cff565b60018101905062000d1c565b5050565b601f82111562000d8d5762000d578162000c0b565b62000d628462000c20565b8101602085101562000d72578190505b62000d8a62000d818562000c20565b83018262000d1b565b50505b505050565b600082821c905092915050565b600062000db26000198460080262000d92565b1980831691505092915050565b600062000dcd838362000d9f565b9150826002028217905092915050565b62000de88262000b9c565b67ffffffffffffffff81111562000e045762000e0362000953565b5b62000e10825462000bd6565b62000e1d82828562000d42565b600060209050601f83116001811462000e55576000841562000e40578287015190505b62000e4c858262000dbf565b86555062000ebc565b601f19841662000e658662000c0b565b60005b8281101562000e8f5784890151825560018201915060208501945060208101905062000e68565b8683101562000eaf578489015162000eab601f89168262000d9f565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000f33602a8362000ec4565b915062000f408262000ed5565b604082019050919050565b6000602082019050818103600083015262000f668162000f24565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000fa560198362000ec4565b915062000fb28262000f6d565b602082019050919050565b6000602082019050818103600083015262000fd88162000f96565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006200102260178362000fdf565b91506200102f8262000fea565b601782019050919050565b6000620010478262000b9c565b62001053818562000fdf565b93506200106581856020860162000a0d565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000620010a960118362000fdf565b9150620010b68262001071565b601182019050919050565b6000620010ce8262001013565b9150620010dc82856200103a565b9150620010e9826200109a565b9150620010f782846200103a565b91508190509392505050565b6000620011108262000b9c565b6200111c818562000ec4565b93506200112e81856020860162000a0d565b620011398162000942565b840191505092915050565b6000602082019050818103600083015262001160818462001103565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620011a482620008fd565b9150620011b183620008fd565b9250828202620011c181620008fd565b91508282048414831517620011db57620011da62001168565b5b5092915050565b6000620011ef82620008fd565b9150620011fc83620008fd565b925082820190508082111562001217576200121662001168565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006200125982620008fd565b9150600082036200126f576200126e62001168565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000620012b260208362000ec4565b9150620012bf826200127a565b602082019050919050565b60006020820190508181036000830152620012e581620012a3565b9050919050565b615ff580620012fc6000396000f3fe6080604052600436106102e45760003560e01c80635c975abb11610190578063b88d4fde116100dc578063e268e4d311610095578063e985e9c51161006f578063e985e9c514610b12578063ef8d192314610b4f578063f09e97b514610b8c578063f356749d14610bb5576102e4565b8063e268e4d314610aa2578063e565232014610acb578063e63ab1e914610ae7576102e4565b8063b88d4fde14610994578063bc7df091146109bd578063c87b56dd146109e6578063d11a57ec14610a23578063d539139314610a4e578063d547741f14610a79576102e4565b80638462151c11610149578063a035b1fe11610123578063a035b1fe146108ea578063a217fddf14610915578063a22cb46514610940578063b58be57214610969576102e4565b80638462151c1461084557806391d148541461088257806395d89b41146108bf576102e4565b80635c975abb146107355780636352211e146107605780636c0360eb1461079d57806370a08231146107c85780637cb64759146108055780638456cb591461082e576102e4565b8063248a9ca31161024f57806336568abe1161020857806342842e0e116101e257806342842e0e1461067b578063453c2310146106a45780634f6ccce7146106cf57806355f804b31461070c576102e4565b806336568abe146106315780633ccfd60b1461065a5780633f4ba83a14610664576102e4565b8063248a9ca3146104e857806328f814e8146105255780632a55205a146105625780632f2ff15d146105a05780632f745c59146105c957806332cb6b0c14610606576102e4565b806314f710fe116102a157806314f710fe1461040b57806318160ddd146104155780631ee34fab1461044057806321e73b2d1461046957806322212e2b1461049457806323b872dd146104bf576102e4565b806301ffc9a7146102e957806304634d8d1461032657806306fdde031461034f578063074a130d1461037a578063081812fc146103a5578063095ea7b3146103e2575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190613f2a565b610bde565b60405161031d9190613f72565b60405180910390f35b34801561033257600080fd5b5061034d6004803603810190610348919061402f565b610bf0565b005b34801561035b57600080fd5b50610364610cd7565b60405161037191906140ff565b60405180910390f35b34801561038657600080fd5b5061038f610d69565b60405161039c919061413a565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c79190614181565b610d6f565b6040516103d991906141bd565b60405180910390f35b3480156103ee57600080fd5b50610409600480360381019061040491906141d8565b610db5565b005b610413610ecc565b005b34801561042157600080fd5b5061042a6110c1565b604051610437919061413a565b60405180910390f35b34801561044c57600080fd5b5061046760048036038101906104629190614181565b6110ce565b005b34801561047557600080fd5b5061047e611103565b60405161048b919061413a565b60405180910390f35b3480156104a057600080fd5b506104a9611109565b6040516104b69190614231565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e1919061424c565b61110f565b005b3480156104f457600080fd5b5061050f600480360381019061050a91906142cb565b61116f565b60405161051c9190614231565b60405180910390f35b34801561053157600080fd5b5061054c600480360381019061054791906142f8565b61118f565b6040516105599190613f72565b60405180910390f35b34801561056e57600080fd5b5061058960048036038101906105849190614325565b6111af565b604051610597929190614365565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c2919061438e565b611399565b005b3480156105d557600080fd5b506105f060048036038101906105eb91906141d8565b6113ba565b6040516105fd919061413a565b60405180910390f35b34801561061257600080fd5b5061061b61145f565b604051610628919061413a565b60405180910390f35b34801561063d57600080fd5b506106586004803603810190610653919061438e565b611465565b005b6106626114e8565b005b34801561067057600080fd5b5061067961160b565b005b34801561068757600080fd5b506106a2600480360381019061069d919061424c565b611640565b005b3480156106b057600080fd5b506106b9611660565b6040516106c6919061413a565b60405180910390f35b3480156106db57600080fd5b506106f660048036038101906106f19190614181565b611666565b604051610703919061413a565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e9190614503565b6116d7565b005b34801561074157600080fd5b5061074a611715565b6040516107579190613f72565b60405180910390f35b34801561076c57600080fd5b5061078760048036038101906107829190614181565b61172c565b60405161079491906141bd565b60405180910390f35b3480156107a957600080fd5b506107b26117b2565b6040516107bf91906140ff565b60405180910390f35b3480156107d457600080fd5b506107ef60048036038101906107ea91906142f8565b611840565b6040516107fc919061413a565b60405180910390f35b34801561081157600080fd5b5061082c600480360381019061082791906142cb565b6118f7565b005b34801561083a57600080fd5b5061084361192c565b005b34801561085157600080fd5b5061086c600480360381019061086791906142f8565b611961565b604051610879919061460a565b60405180910390f35b34801561088e57600080fd5b506108a960048036038101906108a4919061438e565b611a0f565b6040516108b69190613f72565b60405180910390f35b3480156108cb57600080fd5b506108d4611a7a565b6040516108e191906140ff565b60405180910390f35b3480156108f657600080fd5b506108ff611b0c565b60405161090c919061413a565b60405180910390f35b34801561092157600080fd5b5061092a611b18565b6040516109379190614231565b60405180910390f35b34801561094c57600080fd5b5061096760048036038101906109629190614658565b611b1f565b005b34801561097557600080fd5b5061097e611b35565b60405161098b919061413a565b60405180910390f35b3480156109a057600080fd5b506109bb60048036038101906109b69190614739565b611b3b565b005b3480156109c957600080fd5b506109e460048036038101906109df9190614181565b611b9d565b005b3480156109f257600080fd5b50610a0d6004803603810190610a089190614181565b611c62565b604051610a1a91906140ff565b60405180910390f35b348015610a2f57600080fd5b50610a38611cda565b604051610a459190614231565b60405180910390f35b348015610a5a57600080fd5b50610a63611cfe565b604051610a709190614231565b60405180910390f35b348015610a8557600080fd5b50610aa06004803603810190610a9b919061438e565b611d22565b005b348015610aae57600080fd5b50610ac96004803603810190610ac49190614181565b611d43565b005b610ae56004803603810190610ae0919061481c565b611d78565b005b348015610af357600080fd5b50610afc611fbe565b604051610b099190614231565b60405180910390f35b348015610b1e57600080fd5b50610b396004803603810190610b349190614869565b611fe2565b604051610b469190613f72565b60405180910390f35b348015610b5b57600080fd5b50610b766004803603810190610b7191906142f8565b612076565b604051610b83919061413a565b60405180910390f35b348015610b9857600080fd5b50610bb36004803603810190610bae9190614181565b61208e565b005b348015610bc157600080fd5b50610bdc6004803603810190610bd791906148ff565b6120c3565b005b6000610be982612420565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610c1a8161249a565b82601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601360146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550610cd2601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601360149054906101000a90046bffffffffffffffffffffffff166124ae565b505050565b606060008054610ce69061497b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d129061497b565b8015610d5f5780601f10610d3457610100808354040283529160200191610d5f565b820191906000526020600020905b815481529060010190602001808311610d4257829003601f168201915b5050505050905090565b60115481565b6000610d7a82612643565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dc08261172c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2790614a1e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e4f61268e565b73ffffffffffffffffffffffffffffffffffffffff161480610e7e5750610e7d81610e7861268e565b611fe2565b5b610ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb490614ab0565b60405180910390fd5b610ec78383612696565b505050565b6017546001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f1b9190614aff565b1115610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390614b7f565b60405180910390fd5b6000601454610f6b601661274f565b610f759190614aff565b9050601154421015610fbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb390614beb565b60405180910390fd5b6103db610fd360018361275d90919063ffffffff16565b1115611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b90614c57565b60405180910390fd5b6702c68af0bb14000034101561105f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105690614cc3565b60405180910390fd5b611067612773565b6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110b79190614aff565b9250508190555050565b6000600880549050905090565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66110f88161249a565b816011819055505050565b60125481565b60185481565b61112061111a61268e565b82612798565b61115f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115690614d55565b60405180910390fd5b61116a83838361282d565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b600f6020528060005260406000206000915054906101000a900460ff1681565b6000806000600d60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361134457600c6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061134e612b26565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661137a9190614d75565b6113849190614de6565b90508160000151819350935050509250929050565b6113a28261116f565b6113ab8161249a565b6113b58383612b30565b505050565b60006113c583611840565b8210611406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fd90614e89565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6103db81565b61146d61268e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190614f1b565b60405180910390fd5b6114e48282612c11565b5050565b7fe1dcbdb91df27212a29bc27177c840cf2f819ecf2187432e1fac86c2dd5dfca96115128161249a565b60004790506000811161155a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155190614f87565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff168260405161158090614fd8565b60006040518083038185875af1925050503d80600081146115bd576040519150601f19603f3d011682016040523d82523d6000602084013e6115c2565b606091505b5050905080611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd90615039565b60405180910390fd5b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6116358161249a565b61163d612cf3565b50565b61165b83838360405180602001604052806000815250611b3b565b505050565b60175481565b60006116706110c1565b82106116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a8906150cb565b60405180910390fd5b600882815481106116c5576116c46150eb565b5b90600052602060002001549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66117018161249a565b816010908161171091906152c6565b505050565b6000600a60009054906101000a900460ff16905090565b60008061173883612d56565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a0906153e4565b60405180910390fd5b80915050919050565b601080546117bf9061497b565b80601f01602080910402602001604051908101604052809291908181526020018280546117eb9061497b565b80156118385780601f1061180d57610100808354040283529160200191611838565b820191906000526020600020905b81548152906001019060200180831161181b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a790615476565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66119218161249a565b816018819055505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6119568161249a565b61195e612d93565b50565b6060600061196e83611840565b905060008167ffffffffffffffff81111561198c5761198b6143d8565b5b6040519080825280602002602001820160405280156119ba5781602001602082028036833780820191505090505b50905060005b82811015611a04576119d285826113ba565b8282815181106119e5576119e46150eb565b5b60200260200101818152505080806119fc90615496565b9150506119c0565b508092505050919050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611a899061497b565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab59061497b565b8015611b025780601f10611ad757610100808354040283529160200191611b02565b820191906000526020600020905b815481529060010190602001808311611ae557829003601f168201915b5050505050905090565b6702c68af0bb14000081565b6000801b81565b611b31611b2a61268e565b8383612df6565b5050565b60145481565b611b4c611b4661268e565b83612798565b611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8290614d55565b60405180910390fd5b611b9784848484612f62565b50505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611bc78161249a565b6000611bd3601561274f565b9050601454611beb848361275d90919063ffffffff16565b1115611c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c239061552a565b60405180910390fd5b60005b83811015611c5c57611c3f612773565b611c496015612fbe565b8080611c5490615496565b915050611c2f565b50505050565b6060611c6d82612fd4565b611cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca390615596565b60405180910390fd5b611cb4613015565b604051602001611cc491906155f2565b6040516020818303038152906040529050919050565b7fe1dcbdb91df27212a29bc27177c840cf2f819ecf2187432e1fac86c2dd5dfca981565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611d2b8261116f565b611d348161249a565b611d3e8383612c11565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611d6d8161249a565b816017819055505050565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc90615655565b60405180910390fd5b611e79828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060185433604051602001611e5e91906156bd565b604051602081830303815290604052805190602001206130a7565b611eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaf90615724565b60405180910390fd5b6702c68af0bb140000341015611f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efa90614cc3565b60405180910390fd5b611f0b612773565b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fb39190614aff565b925050819055505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e6020528060005260406000206000915090505481565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66120b88161249a565b816012819055505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66120ed8161249a565b60006120f9601561274f565b9050601454612114858590508361275d90919063ffffffff16565b1115612155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214c90615790565b60405180910390fd5b60005b848490508110156121b057612193858583818110612179576121786150eb565b5b905060200201602081019061218e91906142f8565b6130be565b61219d6015612fbe565b80806121a890615496565b915050612158565b5050505050565b60606121dd8273ffffffffffffffffffffffffffffffffffffffff16601460ff166121e4565b9050919050565b6060600060028360026121f79190614d75565b6122019190614aff565b67ffffffffffffffff81111561221a576122196143d8565b5b6040519080825280601f01601f19166020018201604052801561224c5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612284576122836150eb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106122e8576122e76150eb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026123289190614d75565b6123329190614aff565b90505b60018111156123d2577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612374576123736150eb565b5b1a60f81b82828151811061238b5761238a6150eb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806123cb906157b0565b9050612335565b5060008414612416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240d90615825565b60405180910390fd5b8091505092915050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124935750612492826130e4565b5b9050919050565b6124ab816124a661268e565b61315e565b50565b6124b6612b26565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b906158b7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257a90615923565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600c60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b61264c81612fd4565b61268b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612682906153e4565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127098361172c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000818361276b9190614aff565b905092915050565b600061277f601661274f565b905061278b33826131e3565b6127956016612fbe565b50565b6000806127a48361172c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127e657506127e58185611fe2565b5b8061282457508373ffffffffffffffffffffffffffffffffffffffff1661280c84610d6f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661284d8261172c565b73ffffffffffffffffffffffffffffffffffffffff16146128a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289a906159b5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612912576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290990615a47565b60405180910390fd5b61291f8383836001613201565b8273ffffffffffffffffffffffffffffffffffffffff1661293f8261172c565b73ffffffffffffffffffffffffffffffffffffffff1614612995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298c906159b5565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b21838383600161321b565b505050565b6000612710905090565b612b3a8282611a0f565b612c0d576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612bb261268e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612c1b8282611a0f565b15612cef576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612c9461268e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612cfb613221565b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612d3f61268e565b604051612d4c91906141bd565b60405180910390a1565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b612d9b61326a565b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612ddf61268e565b604051612dec91906141bd565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5b90615ab3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f559190613f72565b60405180910390a3505050565b612f6d84848461282d565b612f79848484846132b4565b612fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612faf90615b45565b60405180910390fd5b50505050565b6001816000016000828254019250508190555050565b60008073ffffffffffffffffffffffffffffffffffffffff16612ff683612d56565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060601080546130249061497b565b80601f01602080910402602001604051908101604052809291908181526020018280546130509061497b565b801561309d5780601f106130725761010080835404028352916020019161309d565b820191906000526020600020905b81548152906001019060200180831161308057829003601f168201915b5050505050905090565b6000826130b4858461343b565b1490509392505050565b60006130ca601661274f565b90506130d682826131e3565b6130e06016612fbe565b5050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613157575061315682613491565b5b9050919050565b6131688282611a0f565b6131df57613175816121b7565b6131838360001c60206121e4565b604051602001613194929190615bfd565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d691906140ff565b60405180910390fd5b5050565b6131fd82826040518060200160405280600081525061350b565b5050565b61320961326a565b61321584848484613566565b50505050565b50505050565b613229611715565b613268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325f90615c83565b60405180910390fd5b565b613272611715565b156132b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a990615cef565b60405180910390fd5b565b60006132d58473ffffffffffffffffffffffffffffffffffffffff166136c4565b1561342e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132fe61268e565b8786866040518563ffffffff1660e01b81526004016133209493929190615d64565b6020604051808303816000875af192505050801561335c57506040513d601f19601f820116820180604052508101906133599190615dc5565b60015b6133de573d806000811461338c576040519150601f19603f3d011682016040523d82523d6000602084013e613391565b606091505b5060008151036133d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133cd90615b45565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613433565b600190505b949350505050565b60008082905060005b84518110156134865761347182868381518110613464576134636150eb565b5b60200260200101516136e7565b9150808061347e90615496565b915050613444565b508091505092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613504575061350382613712565b5b9050919050565b61351583836137f4565b61352260008484846132b4565b613561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355890615b45565b60405180910390fd5b505050565b61357284848484613a11565b60018111156135b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ad90615e64565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036135fd576135f881613b37565b61363c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461363b5761363a8582613b80565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361367e5761367981613ced565b6136bd565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146136bc576136bb8482613dbe565b5b5b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008183106136ff576136fa8284613e3d565b61370a565b6137098383613e3d565b5b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806137dd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806137ed57506137ec82613e54565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161385a90615ed0565b60405180910390fd5b61386c81612fd4565b156138ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138a390615f3c565b60405180910390fd5b6138ba600083836001613201565b6138c381612fd4565b15613903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138fa90615f3c565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a0d60008383600161321b565b5050565b6001811115613b3157600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614613aa55780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a9d9190615f5c565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613b305780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b289190614aff565b925050819055505b5b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613b8d84611840565b613b979190615f5c565b9050600060076000848152602001908152602001600020549050818114613c7c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d019190615f5c565b9050600060096000848152602001908152602001600020549050600060088381548110613d3157613d306150eb565b5b906000526020600020015490508060088381548110613d5357613d526150eb565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613da257613da1615f90565b5b6001900381819060005260206000200160009055905550505050565b6000613dc983611840565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f0781613ed2565b8114613f1257600080fd5b50565b600081359050613f2481613efe565b92915050565b600060208284031215613f4057613f3f613ec8565b5b6000613f4e84828501613f15565b91505092915050565b60008115159050919050565b613f6c81613f57565b82525050565b6000602082019050613f876000830184613f63565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613fb882613f8d565b9050919050565b613fc881613fad565b8114613fd357600080fd5b50565b600081359050613fe581613fbf565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61400c81613feb565b811461401757600080fd5b50565b60008135905061402981614003565b92915050565b6000806040838503121561404657614045613ec8565b5b600061405485828601613fd6565b92505060206140658582860161401a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140a957808201518184015260208101905061408e565b60008484015250505050565b6000601f19601f8301169050919050565b60006140d18261406f565b6140db818561407a565b93506140eb81856020860161408b565b6140f4816140b5565b840191505092915050565b6000602082019050818103600083015261411981846140c6565b905092915050565b6000819050919050565b61413481614121565b82525050565b600060208201905061414f600083018461412b565b92915050565b61415e81614121565b811461416957600080fd5b50565b60008135905061417b81614155565b92915050565b60006020828403121561419757614196613ec8565b5b60006141a58482850161416c565b91505092915050565b6141b781613fad565b82525050565b60006020820190506141d260008301846141ae565b92915050565b600080604083850312156141ef576141ee613ec8565b5b60006141fd85828601613fd6565b925050602061420e8582860161416c565b9150509250929050565b6000819050919050565b61422b81614218565b82525050565b60006020820190506142466000830184614222565b92915050565b60008060006060848603121561426557614264613ec8565b5b600061427386828701613fd6565b935050602061428486828701613fd6565b92505060406142958682870161416c565b9150509250925092565b6142a881614218565b81146142b357600080fd5b50565b6000813590506142c58161429f565b92915050565b6000602082840312156142e1576142e0613ec8565b5b60006142ef848285016142b6565b91505092915050565b60006020828403121561430e5761430d613ec8565b5b600061431c84828501613fd6565b91505092915050565b6000806040838503121561433c5761433b613ec8565b5b600061434a8582860161416c565b925050602061435b8582860161416c565b9150509250929050565b600060408201905061437a60008301856141ae565b614387602083018461412b565b9392505050565b600080604083850312156143a5576143a4613ec8565b5b60006143b3858286016142b6565b92505060206143c485828601613fd6565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614410826140b5565b810181811067ffffffffffffffff8211171561442f5761442e6143d8565b5b80604052505050565b6000614442613ebe565b905061444e8282614407565b919050565b600067ffffffffffffffff82111561446e5761446d6143d8565b5b614477826140b5565b9050602081019050919050565b82818337600083830152505050565b60006144a66144a184614453565b614438565b9050828152602081018484840111156144c2576144c16143d3565b5b6144cd848285614484565b509392505050565b600082601f8301126144ea576144e96143ce565b5b81356144fa848260208601614493565b91505092915050565b60006020828403121561451957614518613ec8565b5b600082013567ffffffffffffffff81111561453757614536613ecd565b5b614543848285016144d5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61458181614121565b82525050565b60006145938383614578565b60208301905092915050565b6000602082019050919050565b60006145b78261454c565b6145c18185614557565b93506145cc83614568565b8060005b838110156145fd5781516145e48882614587565b97506145ef8361459f565b9250506001810190506145d0565b5085935050505092915050565b6000602082019050818103600083015261462481846145ac565b905092915050565b61463581613f57565b811461464057600080fd5b50565b6000813590506146528161462c565b92915050565b6000806040838503121561466f5761466e613ec8565b5b600061467d85828601613fd6565b925050602061468e85828601614643565b9150509250929050565b600067ffffffffffffffff8211156146b3576146b26143d8565b5b6146bc826140b5565b9050602081019050919050565b60006146dc6146d784614698565b614438565b9050828152602081018484840111156146f8576146f76143d3565b5b614703848285614484565b509392505050565b600082601f8301126147205761471f6143ce565b5b81356147308482602086016146c9565b91505092915050565b6000806000806080858703121561475357614752613ec8565b5b600061476187828801613fd6565b945050602061477287828801613fd6565b93505060406147838782880161416c565b925050606085013567ffffffffffffffff8111156147a4576147a3613ecd565b5b6147b08782880161470b565b91505092959194509250565b600080fd5b600080fd5b60008083601f8401126147dc576147db6143ce565b5b8235905067ffffffffffffffff8111156147f9576147f86147bc565b5b602083019150836020820283011115614815576148146147c1565b5b9250929050565b6000806020838503121561483357614832613ec8565b5b600083013567ffffffffffffffff81111561485157614850613ecd565b5b61485d858286016147c6565b92509250509250929050565b600080604083850312156148805761487f613ec8565b5b600061488e85828601613fd6565b925050602061489f85828601613fd6565b9150509250929050565b60008083601f8401126148bf576148be6143ce565b5b8235905067ffffffffffffffff8111156148dc576148db6147bc565b5b6020830191508360208202830111156148f8576148f76147c1565b5b9250929050565b6000806020838503121561491657614915613ec8565b5b600083013567ffffffffffffffff81111561493457614933613ecd565b5b614940858286016148a9565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061499357607f821691505b6020821081036149a6576149a561494c565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a0860218361407a565b9150614a13826149ac565b604082019050919050565b60006020820190508181036000830152614a37816149fb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614a9a603d8361407a565b9150614aa582614a3e565b604082019050919050565b60006020820190508181036000830152614ac981614a8d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b0a82614121565b9150614b1583614121565b9250828201905080821115614b2d57614b2c614ad0565b5b92915050565b7f486974206d617820746f6b656e206c696d697400000000000000000000000000600082015250565b6000614b6960138361407a565b9150614b7482614b33565b602082019050919050565b60006020820190508181036000830152614b9881614b5c565b9050919050565b7f5075626c69632073616c65206e6f7420796574206f70656e0000000000000000600082015250565b6000614bd560188361407a565b9150614be082614b9f565b602082019050919050565b60006020820190508181036000830152614c0481614bc8565b9050919050565b7f436f6c6c656374696f6e20736f6c64206f757400000000000000000000000000600082015250565b6000614c4160138361407a565b9150614c4c82614c0b565b602082019050919050565b60006020820190508181036000830152614c7081614c34565b9050919050565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b6000614cad600e8361407a565b9150614cb882614c77565b602082019050919050565b60006020820190508181036000830152614cdc81614ca0565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614d3f602d8361407a565b9150614d4a82614ce3565b604082019050919050565b60006020820190508181036000830152614d6e81614d32565b9050919050565b6000614d8082614121565b9150614d8b83614121565b9250828202614d9981614121565b91508282048414831517614db057614daf614ad0565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614df182614121565b9150614dfc83614121565b925082614e0c57614e0b614db7565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614e73602b8361407a565b9150614e7e82614e17565b604082019050919050565b60006020820190508181036000830152614ea281614e66565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614f05602f8361407a565b9150614f1082614ea9565b604082019050919050565b60006020820190508181036000830152614f3481614ef8565b9050919050565b7f4e6f2045544820746f2077697468647261770000000000000000000000000000600082015250565b6000614f7160128361407a565b9150614f7c82614f3b565b602082019050919050565b60006020820190508181036000830152614fa081614f64565b9050919050565b600081905092915050565b50565b6000614fc2600083614fa7565b9150614fcd82614fb2565b600082019050919050565b6000614fe382614fb5565b9150819050919050565b7f4661696c65640000000000000000000000000000000000000000000000000000600082015250565b600061502360068361407a565b915061502e82614fed565b602082019050919050565b6000602082019050818103600083015261505281615016565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006150b5602c8361407a565b91506150c082615059565b604082019050919050565b600060208201905081810360008301526150e4816150a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261517c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261513f565b615186868361513f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006151c36151be6151b984614121565b61519e565b614121565b9050919050565b6000819050919050565b6151dd836151a8565b6151f16151e9826151ca565b84845461514c565b825550505050565b600090565b6152066151f9565b6152118184846151d4565b505050565b5b818110156152355761522a6000826151fe565b600181019050615217565b5050565b601f82111561527a5761524b8161511a565b6152548461512f565b81016020851015615263578190505b61527761526f8561512f565b830182615216565b50505b505050565b600082821c905092915050565b600061529d6000198460080261527f565b1980831691505092915050565b60006152b6838361528c565b9150826002028217905092915050565b6152cf8261406f565b67ffffffffffffffff8111156152e8576152e76143d8565b5b6152f2825461497b565b6152fd828285615239565b600060209050601f831160018114615330576000841561531e578287015190505b61532885826152aa565b865550615390565b601f19841661533e8661511a565b60005b8281101561536657848901518255600182019150602085019450602081019050615341565b86831015615383578489015161537f601f89168261528c565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006153ce60188361407a565b91506153d982615398565b602082019050919050565b600060208201905081810360008301526153fd816153c1565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061546060298361407a565b915061546b82615404565b604082019050919050565b6000602082019050818103600083015261548f81615453565b9050919050565b60006154a182614121565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036154d3576154d2614ad0565b5b600182019050919050565b7f4e6f7420656e6f75676820746f20726573657276650000000000000000000000600082015250565b600061551460158361407a565b915061551f826154de565b602082019050919050565b6000602082019050818103600083015261554381615507565b9050919050565b7f4e6f7420466f756e640000000000000000000000000000000000000000000000600082015250565b600061558060098361407a565b915061558b8261554a565b602082019050919050565b600060208201905081810360008301526155af81615573565b9050919050565b600081905092915050565b60006155cc8261406f565b6155d681856155b6565b93506155e681856020860161408b565b80840191505092915050565b60006155fe82846155c1565b915081905092915050565b7f416c7265616479206d696e74656420666f7220616c6c6f776c69737400000000600082015250565b600061563f601c8361407a565b915061564a82615609565b602082019050919050565b6000602082019050818103600083015261566e81615632565b9050919050565b60008160601b9050919050565b600061568d82615675565b9050919050565b600061569f82615682565b9050919050565b6156b76156b282613fad565b615694565b82525050565b60006156c982846156a6565b60148201915081905092915050565b7f4e6f74206f6e20616c6c6f776c69737400000000000000000000000000000000600082015250565b600061570e60108361407a565b9150615719826156d8565b602082019050919050565b6000602082019050818103600083015261573d81615701565b9050919050565b7f4e6f7420656e6f75676820746f2061697264726f700000000000000000000000600082015250565b600061577a60158361407a565b915061578582615744565b602082019050919050565b600060208201905081810360008301526157a98161576d565b9050919050565b60006157bb82614121565b9150600082036157ce576157cd614ad0565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061580f60208361407a565b915061581a826157d9565b602082019050919050565b6000602082019050818103600083015261583e81615802565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006158a1602a8361407a565b91506158ac82615845565b604082019050919050565b600060208201905081810360008301526158d081615894565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061590d60198361407a565b9150615918826158d7565b602082019050919050565b6000602082019050818103600083015261593c81615900565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061599f60258361407a565b91506159aa82615943565b604082019050919050565b600060208201905081810360008301526159ce81615992565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615a3160248361407a565b9150615a3c826159d5565b604082019050919050565b60006020820190508181036000830152615a6081615a24565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615a9d60198361407a565b9150615aa882615a67565b602082019050919050565b60006020820190508181036000830152615acc81615a90565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615b2f60328361407a565b9150615b3a82615ad3565b604082019050919050565b60006020820190508181036000830152615b5e81615b22565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000615b9b6017836155b6565b9150615ba682615b65565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000615be76011836155b6565b9150615bf282615bb1565b601182019050919050565b6000615c0882615b8e565b9150615c1482856155c1565b9150615c1f82615bda565b9150615c2b82846155c1565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000615c6d60148361407a565b9150615c7882615c37565b602082019050919050565b60006020820190508181036000830152615c9c81615c60565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615cd960108361407a565b9150615ce482615ca3565b602082019050919050565b60006020820190508181036000830152615d0881615ccc565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615d3682615d0f565b615d408185615d1a565b9350615d5081856020860161408b565b615d59816140b5565b840191505092915050565b6000608082019050615d7960008301876141ae565b615d8660208301866141ae565b615d93604083018561412b565b8181036060830152615da58184615d2b565b905095945050505050565b600081519050615dbf81613efe565b92915050565b600060208284031215615ddb57615dda613ec8565b5b6000615de984828501615db0565b91505092915050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000615e4e60358361407a565b9150615e5982615df2565b604082019050919050565b60006020820190508181036000830152615e7d81615e41565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615eba60208361407a565b9150615ec582615e84565b602082019050919050565b60006020820190508181036000830152615ee981615ead565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615f26601c8361407a565b9150615f3182615ef0565b602082019050919050565b60006020820190508181036000830152615f5581615f19565b9050919050565b6000615f6782614121565b9150615f7283614121565b9250828203905081811115615f8a57615f89614ad0565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220603bddde28b4b3b35c4d8f131ae1ee644c7be2bdf18b60bad5bde17e3061924364736f6c634300081100330000000000000000000000000000000000000000000000000000000063ca9e600000000000000000000000000000000000000000000000000000000063cac89000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000d53594b59204b657973746f6e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000653594b594b5900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d53446656414d6753756a6d615135335577526333674b447948394770766b334e6f56623733514a726e7879560000000000000000000000

Deployed Bytecode

0x6080604052600436106102e45760003560e01c80635c975abb11610190578063b88d4fde116100dc578063e268e4d311610095578063e985e9c51161006f578063e985e9c514610b12578063ef8d192314610b4f578063f09e97b514610b8c578063f356749d14610bb5576102e4565b8063e268e4d314610aa2578063e565232014610acb578063e63ab1e914610ae7576102e4565b8063b88d4fde14610994578063bc7df091146109bd578063c87b56dd146109e6578063d11a57ec14610a23578063d539139314610a4e578063d547741f14610a79576102e4565b80638462151c11610149578063a035b1fe11610123578063a035b1fe146108ea578063a217fddf14610915578063a22cb46514610940578063b58be57214610969576102e4565b80638462151c1461084557806391d148541461088257806395d89b41146108bf576102e4565b80635c975abb146107355780636352211e146107605780636c0360eb1461079d57806370a08231146107c85780637cb64759146108055780638456cb591461082e576102e4565b8063248a9ca31161024f57806336568abe1161020857806342842e0e116101e257806342842e0e1461067b578063453c2310146106a45780634f6ccce7146106cf57806355f804b31461070c576102e4565b806336568abe146106315780633ccfd60b1461065a5780633f4ba83a14610664576102e4565b8063248a9ca3146104e857806328f814e8146105255780632a55205a146105625780632f2ff15d146105a05780632f745c59146105c957806332cb6b0c14610606576102e4565b806314f710fe116102a157806314f710fe1461040b57806318160ddd146104155780631ee34fab1461044057806321e73b2d1461046957806322212e2b1461049457806323b872dd146104bf576102e4565b806301ffc9a7146102e957806304634d8d1461032657806306fdde031461034f578063074a130d1461037a578063081812fc146103a5578063095ea7b3146103e2575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190613f2a565b610bde565b60405161031d9190613f72565b60405180910390f35b34801561033257600080fd5b5061034d6004803603810190610348919061402f565b610bf0565b005b34801561035b57600080fd5b50610364610cd7565b60405161037191906140ff565b60405180910390f35b34801561038657600080fd5b5061038f610d69565b60405161039c919061413a565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c79190614181565b610d6f565b6040516103d991906141bd565b60405180910390f35b3480156103ee57600080fd5b50610409600480360381019061040491906141d8565b610db5565b005b610413610ecc565b005b34801561042157600080fd5b5061042a6110c1565b604051610437919061413a565b60405180910390f35b34801561044c57600080fd5b5061046760048036038101906104629190614181565b6110ce565b005b34801561047557600080fd5b5061047e611103565b60405161048b919061413a565b60405180910390f35b3480156104a057600080fd5b506104a9611109565b6040516104b69190614231565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e1919061424c565b61110f565b005b3480156104f457600080fd5b5061050f600480360381019061050a91906142cb565b61116f565b60405161051c9190614231565b60405180910390f35b34801561053157600080fd5b5061054c600480360381019061054791906142f8565b61118f565b6040516105599190613f72565b60405180910390f35b34801561056e57600080fd5b5061058960048036038101906105849190614325565b6111af565b604051610597929190614365565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c2919061438e565b611399565b005b3480156105d557600080fd5b506105f060048036038101906105eb91906141d8565b6113ba565b6040516105fd919061413a565b60405180910390f35b34801561061257600080fd5b5061061b61145f565b604051610628919061413a565b60405180910390f35b34801561063d57600080fd5b506106586004803603810190610653919061438e565b611465565b005b6106626114e8565b005b34801561067057600080fd5b5061067961160b565b005b34801561068757600080fd5b506106a2600480360381019061069d919061424c565b611640565b005b3480156106b057600080fd5b506106b9611660565b6040516106c6919061413a565b60405180910390f35b3480156106db57600080fd5b506106f660048036038101906106f19190614181565b611666565b604051610703919061413a565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e9190614503565b6116d7565b005b34801561074157600080fd5b5061074a611715565b6040516107579190613f72565b60405180910390f35b34801561076c57600080fd5b5061078760048036038101906107829190614181565b61172c565b60405161079491906141bd565b60405180910390f35b3480156107a957600080fd5b506107b26117b2565b6040516107bf91906140ff565b60405180910390f35b3480156107d457600080fd5b506107ef60048036038101906107ea91906142f8565b611840565b6040516107fc919061413a565b60405180910390f35b34801561081157600080fd5b5061082c600480360381019061082791906142cb565b6118f7565b005b34801561083a57600080fd5b5061084361192c565b005b34801561085157600080fd5b5061086c600480360381019061086791906142f8565b611961565b604051610879919061460a565b60405180910390f35b34801561088e57600080fd5b506108a960048036038101906108a4919061438e565b611a0f565b6040516108b69190613f72565b60405180910390f35b3480156108cb57600080fd5b506108d4611a7a565b6040516108e191906140ff565b60405180910390f35b3480156108f657600080fd5b506108ff611b0c565b60405161090c919061413a565b60405180910390f35b34801561092157600080fd5b5061092a611b18565b6040516109379190614231565b60405180910390f35b34801561094c57600080fd5b5061096760048036038101906109629190614658565b611b1f565b005b34801561097557600080fd5b5061097e611b35565b60405161098b919061413a565b60405180910390f35b3480156109a057600080fd5b506109bb60048036038101906109b69190614739565b611b3b565b005b3480156109c957600080fd5b506109e460048036038101906109df9190614181565b611b9d565b005b3480156109f257600080fd5b50610a0d6004803603810190610a089190614181565b611c62565b604051610a1a91906140ff565b60405180910390f35b348015610a2f57600080fd5b50610a38611cda565b604051610a459190614231565b60405180910390f35b348015610a5a57600080fd5b50610a63611cfe565b604051610a709190614231565b60405180910390f35b348015610a8557600080fd5b50610aa06004803603810190610a9b919061438e565b611d22565b005b348015610aae57600080fd5b50610ac96004803603810190610ac49190614181565b611d43565b005b610ae56004803603810190610ae0919061481c565b611d78565b005b348015610af357600080fd5b50610afc611fbe565b604051610b099190614231565b60405180910390f35b348015610b1e57600080fd5b50610b396004803603810190610b349190614869565b611fe2565b604051610b469190613f72565b60405180910390f35b348015610b5b57600080fd5b50610b766004803603810190610b7191906142f8565b612076565b604051610b83919061413a565b60405180910390f35b348015610b9857600080fd5b50610bb36004803603810190610bae9190614181565b61208e565b005b348015610bc157600080fd5b50610bdc6004803603810190610bd791906148ff565b6120c3565b005b6000610be982612420565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610c1a8161249a565b82601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601360146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550610cd2601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601360149054906101000a90046bffffffffffffffffffffffff166124ae565b505050565b606060008054610ce69061497b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d129061497b565b8015610d5f5780601f10610d3457610100808354040283529160200191610d5f565b820191906000526020600020905b815481529060010190602001808311610d4257829003601f168201915b5050505050905090565b60115481565b6000610d7a82612643565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dc08261172c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2790614a1e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e4f61268e565b73ffffffffffffffffffffffffffffffffffffffff161480610e7e5750610e7d81610e7861268e565b611fe2565b5b610ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb490614ab0565b60405180910390fd5b610ec78383612696565b505050565b6017546001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f1b9190614aff565b1115610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390614b7f565b60405180910390fd5b6000601454610f6b601661274f565b610f759190614aff565b9050601154421015610fbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb390614beb565b60405180910390fd5b6103db610fd360018361275d90919063ffffffff16565b1115611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b90614c57565b60405180910390fd5b6702c68af0bb14000034101561105f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105690614cc3565b60405180910390fd5b611067612773565b6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110b79190614aff565b9250508190555050565b6000600880549050905090565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66110f88161249a565b816011819055505050565b60125481565b60185481565b61112061111a61268e565b82612798565b61115f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115690614d55565b60405180910390fd5b61116a83838361282d565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b600f6020528060005260406000206000915054906101000a900460ff1681565b6000806000600d60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361134457600c6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061134e612b26565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661137a9190614d75565b6113849190614de6565b90508160000151819350935050509250929050565b6113a28261116f565b6113ab8161249a565b6113b58383612b30565b505050565b60006113c583611840565b8210611406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fd90614e89565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6103db81565b61146d61268e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d190614f1b565b60405180910390fd5b6114e48282612c11565b5050565b7fe1dcbdb91df27212a29bc27177c840cf2f819ecf2187432e1fac86c2dd5dfca96115128161249a565b60004790506000811161155a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155190614f87565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff168260405161158090614fd8565b60006040518083038185875af1925050503d80600081146115bd576040519150601f19603f3d011682016040523d82523d6000602084013e6115c2565b606091505b5050905080611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd90615039565b60405180910390fd5b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6116358161249a565b61163d612cf3565b50565b61165b83838360405180602001604052806000815250611b3b565b505050565b60175481565b60006116706110c1565b82106116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a8906150cb565b60405180910390fd5b600882815481106116c5576116c46150eb565b5b90600052602060002001549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66117018161249a565b816010908161171091906152c6565b505050565b6000600a60009054906101000a900460ff16905090565b60008061173883612d56565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a0906153e4565b60405180910390fd5b80915050919050565b601080546117bf9061497b565b80601f01602080910402602001604051908101604052809291908181526020018280546117eb9061497b565b80156118385780601f1061180d57610100808354040283529160200191611838565b820191906000526020600020905b81548152906001019060200180831161181b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a790615476565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66119218161249a565b816018819055505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6119568161249a565b61195e612d93565b50565b6060600061196e83611840565b905060008167ffffffffffffffff81111561198c5761198b6143d8565b5b6040519080825280602002602001820160405280156119ba5781602001602082028036833780820191505090505b50905060005b82811015611a04576119d285826113ba565b8282815181106119e5576119e46150eb565b5b60200260200101818152505080806119fc90615496565b9150506119c0565b508092505050919050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611a899061497b565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab59061497b565b8015611b025780601f10611ad757610100808354040283529160200191611b02565b820191906000526020600020905b815481529060010190602001808311611ae557829003601f168201915b5050505050905090565b6702c68af0bb14000081565b6000801b81565b611b31611b2a61268e565b8383612df6565b5050565b60145481565b611b4c611b4661268e565b83612798565b611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8290614d55565b60405180910390fd5b611b9784848484612f62565b50505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611bc78161249a565b6000611bd3601561274f565b9050601454611beb848361275d90919063ffffffff16565b1115611c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c239061552a565b60405180910390fd5b60005b83811015611c5c57611c3f612773565b611c496015612fbe565b8080611c5490615496565b915050611c2f565b50505050565b6060611c6d82612fd4565b611cac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca390615596565b60405180910390fd5b611cb4613015565b604051602001611cc491906155f2565b6040516020818303038152906040529050919050565b7fe1dcbdb91df27212a29bc27177c840cf2f819ecf2187432e1fac86c2dd5dfca981565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611d2b8261116f565b611d348161249a565b611d3e8383612c11565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611d6d8161249a565b816017819055505050565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc90615655565b60405180910390fd5b611e79828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060185433604051602001611e5e91906156bd565b604051602081830303815290604052805190602001206130a7565b611eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaf90615724565b60405180910390fd5b6702c68af0bb140000341015611f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efa90614cc3565b60405180910390fd5b611f0b612773565b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fb39190614aff565b925050819055505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e6020528060005260406000206000915090505481565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66120b88161249a565b816012819055505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66120ed8161249a565b60006120f9601561274f565b9050601454612114858590508361275d90919063ffffffff16565b1115612155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214c90615790565b60405180910390fd5b60005b848490508110156121b057612193858583818110612179576121786150eb565b5b905060200201602081019061218e91906142f8565b6130be565b61219d6015612fbe565b80806121a890615496565b915050612158565b5050505050565b60606121dd8273ffffffffffffffffffffffffffffffffffffffff16601460ff166121e4565b9050919050565b6060600060028360026121f79190614d75565b6122019190614aff565b67ffffffffffffffff81111561221a576122196143d8565b5b6040519080825280601f01601f19166020018201604052801561224c5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612284576122836150eb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106122e8576122e76150eb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026123289190614d75565b6123329190614aff565b90505b60018111156123d2577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612374576123736150eb565b5b1a60f81b82828151811061238b5761238a6150eb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806123cb906157b0565b9050612335565b5060008414612416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240d90615825565b60405180910390fd5b8091505092915050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124935750612492826130e4565b5b9050919050565b6124ab816124a661268e565b61315e565b50565b6124b6612b26565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b906158b7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257a90615923565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600c60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b61264c81612fd4565b61268b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612682906153e4565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166127098361172c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000818361276b9190614aff565b905092915050565b600061277f601661274f565b905061278b33826131e3565b6127956016612fbe565b50565b6000806127a48361172c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127e657506127e58185611fe2565b5b8061282457508373ffffffffffffffffffffffffffffffffffffffff1661280c84610d6f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661284d8261172c565b73ffffffffffffffffffffffffffffffffffffffff16146128a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289a906159b5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612912576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290990615a47565b60405180910390fd5b61291f8383836001613201565b8273ffffffffffffffffffffffffffffffffffffffff1661293f8261172c565b73ffffffffffffffffffffffffffffffffffffffff1614612995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298c906159b5565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b21838383600161321b565b505050565b6000612710905090565b612b3a8282611a0f565b612c0d576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612bb261268e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612c1b8282611a0f565b15612cef576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612c9461268e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612cfb613221565b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612d3f61268e565b604051612d4c91906141bd565b60405180910390a1565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b612d9b61326a565b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612ddf61268e565b604051612dec91906141bd565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5b90615ab3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f559190613f72565b60405180910390a3505050565b612f6d84848461282d565b612f79848484846132b4565b612fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612faf90615b45565b60405180910390fd5b50505050565b6001816000016000828254019250508190555050565b60008073ffffffffffffffffffffffffffffffffffffffff16612ff683612d56565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060601080546130249061497b565b80601f01602080910402602001604051908101604052809291908181526020018280546130509061497b565b801561309d5780601f106130725761010080835404028352916020019161309d565b820191906000526020600020905b81548152906001019060200180831161308057829003601f168201915b5050505050905090565b6000826130b4858461343b565b1490509392505050565b60006130ca601661274f565b90506130d682826131e3565b6130e06016612fbe565b5050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613157575061315682613491565b5b9050919050565b6131688282611a0f565b6131df57613175816121b7565b6131838360001c60206121e4565b604051602001613194929190615bfd565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d691906140ff565b60405180910390fd5b5050565b6131fd82826040518060200160405280600081525061350b565b5050565b61320961326a565b61321584848484613566565b50505050565b50505050565b613229611715565b613268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325f90615c83565b60405180910390fd5b565b613272611715565b156132b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a990615cef565b60405180910390fd5b565b60006132d58473ffffffffffffffffffffffffffffffffffffffff166136c4565b1561342e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132fe61268e565b8786866040518563ffffffff1660e01b81526004016133209493929190615d64565b6020604051808303816000875af192505050801561335c57506040513d601f19601f820116820180604052508101906133599190615dc5565b60015b6133de573d806000811461338c576040519150601f19603f3d011682016040523d82523d6000602084013e613391565b606091505b5060008151036133d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133cd90615b45565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613433565b600190505b949350505050565b60008082905060005b84518110156134865761347182868381518110613464576134636150eb565b5b60200260200101516136e7565b9150808061347e90615496565b915050613444565b508091505092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613504575061350382613712565b5b9050919050565b61351583836137f4565b61352260008484846132b4565b613561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355890615b45565b60405180910390fd5b505050565b61357284848484613a11565b60018111156135b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ad90615e64565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036135fd576135f881613b37565b61363c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461363b5761363a8582613b80565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361367e5761367981613ced565b6136bd565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146136bc576136bb8482613dbe565b5b5b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008183106136ff576136fa8284613e3d565b61370a565b6137098383613e3d565b5b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806137dd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806137ed57506137ec82613e54565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161385a90615ed0565b60405180910390fd5b61386c81612fd4565b156138ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138a390615f3c565b60405180910390fd5b6138ba600083836001613201565b6138c381612fd4565b15613903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138fa90615f3c565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a0d60008383600161321b565b5050565b6001811115613b3157600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614613aa55780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a9d9190615f5c565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613b305780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b289190614aff565b925050819055505b5b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613b8d84611840565b613b979190615f5c565b9050600060076000848152602001908152602001600020549050818114613c7c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d019190615f5c565b9050600060096000848152602001908152602001600020549050600060088381548110613d3157613d306150eb565b5b906000526020600020015490508060088381548110613d5357613d526150eb565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613da257613da1615f90565b5b6001900381819060005260206000200160009055905550505050565b6000613dc983611840565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f0781613ed2565b8114613f1257600080fd5b50565b600081359050613f2481613efe565b92915050565b600060208284031215613f4057613f3f613ec8565b5b6000613f4e84828501613f15565b91505092915050565b60008115159050919050565b613f6c81613f57565b82525050565b6000602082019050613f876000830184613f63565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613fb882613f8d565b9050919050565b613fc881613fad565b8114613fd357600080fd5b50565b600081359050613fe581613fbf565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61400c81613feb565b811461401757600080fd5b50565b60008135905061402981614003565b92915050565b6000806040838503121561404657614045613ec8565b5b600061405485828601613fd6565b92505060206140658582860161401a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140a957808201518184015260208101905061408e565b60008484015250505050565b6000601f19601f8301169050919050565b60006140d18261406f565b6140db818561407a565b93506140eb81856020860161408b565b6140f4816140b5565b840191505092915050565b6000602082019050818103600083015261411981846140c6565b905092915050565b6000819050919050565b61413481614121565b82525050565b600060208201905061414f600083018461412b565b92915050565b61415e81614121565b811461416957600080fd5b50565b60008135905061417b81614155565b92915050565b60006020828403121561419757614196613ec8565b5b60006141a58482850161416c565b91505092915050565b6141b781613fad565b82525050565b60006020820190506141d260008301846141ae565b92915050565b600080604083850312156141ef576141ee613ec8565b5b60006141fd85828601613fd6565b925050602061420e8582860161416c565b9150509250929050565b6000819050919050565b61422b81614218565b82525050565b60006020820190506142466000830184614222565b92915050565b60008060006060848603121561426557614264613ec8565b5b600061427386828701613fd6565b935050602061428486828701613fd6565b92505060406142958682870161416c565b9150509250925092565b6142a881614218565b81146142b357600080fd5b50565b6000813590506142c58161429f565b92915050565b6000602082840312156142e1576142e0613ec8565b5b60006142ef848285016142b6565b91505092915050565b60006020828403121561430e5761430d613ec8565b5b600061431c84828501613fd6565b91505092915050565b6000806040838503121561433c5761433b613ec8565b5b600061434a8582860161416c565b925050602061435b8582860161416c565b9150509250929050565b600060408201905061437a60008301856141ae565b614387602083018461412b565b9392505050565b600080604083850312156143a5576143a4613ec8565b5b60006143b3858286016142b6565b92505060206143c485828601613fd6565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614410826140b5565b810181811067ffffffffffffffff8211171561442f5761442e6143d8565b5b80604052505050565b6000614442613ebe565b905061444e8282614407565b919050565b600067ffffffffffffffff82111561446e5761446d6143d8565b5b614477826140b5565b9050602081019050919050565b82818337600083830152505050565b60006144a66144a184614453565b614438565b9050828152602081018484840111156144c2576144c16143d3565b5b6144cd848285614484565b509392505050565b600082601f8301126144ea576144e96143ce565b5b81356144fa848260208601614493565b91505092915050565b60006020828403121561451957614518613ec8565b5b600082013567ffffffffffffffff81111561453757614536613ecd565b5b614543848285016144d5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61458181614121565b82525050565b60006145938383614578565b60208301905092915050565b6000602082019050919050565b60006145b78261454c565b6145c18185614557565b93506145cc83614568565b8060005b838110156145fd5781516145e48882614587565b97506145ef8361459f565b9250506001810190506145d0565b5085935050505092915050565b6000602082019050818103600083015261462481846145ac565b905092915050565b61463581613f57565b811461464057600080fd5b50565b6000813590506146528161462c565b92915050565b6000806040838503121561466f5761466e613ec8565b5b600061467d85828601613fd6565b925050602061468e85828601614643565b9150509250929050565b600067ffffffffffffffff8211156146b3576146b26143d8565b5b6146bc826140b5565b9050602081019050919050565b60006146dc6146d784614698565b614438565b9050828152602081018484840111156146f8576146f76143d3565b5b614703848285614484565b509392505050565b600082601f8301126147205761471f6143ce565b5b81356147308482602086016146c9565b91505092915050565b6000806000806080858703121561475357614752613ec8565b5b600061476187828801613fd6565b945050602061477287828801613fd6565b93505060406147838782880161416c565b925050606085013567ffffffffffffffff8111156147a4576147a3613ecd565b5b6147b08782880161470b565b91505092959194509250565b600080fd5b600080fd5b60008083601f8401126147dc576147db6143ce565b5b8235905067ffffffffffffffff8111156147f9576147f86147bc565b5b602083019150836020820283011115614815576148146147c1565b5b9250929050565b6000806020838503121561483357614832613ec8565b5b600083013567ffffffffffffffff81111561485157614850613ecd565b5b61485d858286016147c6565b92509250509250929050565b600080604083850312156148805761487f613ec8565b5b600061488e85828601613fd6565b925050602061489f85828601613fd6565b9150509250929050565b60008083601f8401126148bf576148be6143ce565b5b8235905067ffffffffffffffff8111156148dc576148db6147bc565b5b6020830191508360208202830111156148f8576148f76147c1565b5b9250929050565b6000806020838503121561491657614915613ec8565b5b600083013567ffffffffffffffff81111561493457614933613ecd565b5b614940858286016148a9565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061499357607f821691505b6020821081036149a6576149a561494c565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a0860218361407a565b9150614a13826149ac565b604082019050919050565b60006020820190508181036000830152614a37816149fb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614a9a603d8361407a565b9150614aa582614a3e565b604082019050919050565b60006020820190508181036000830152614ac981614a8d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b0a82614121565b9150614b1583614121565b9250828201905080821115614b2d57614b2c614ad0565b5b92915050565b7f486974206d617820746f6b656e206c696d697400000000000000000000000000600082015250565b6000614b6960138361407a565b9150614b7482614b33565b602082019050919050565b60006020820190508181036000830152614b9881614b5c565b9050919050565b7f5075626c69632073616c65206e6f7420796574206f70656e0000000000000000600082015250565b6000614bd560188361407a565b9150614be082614b9f565b602082019050919050565b60006020820190508181036000830152614c0481614bc8565b9050919050565b7f436f6c6c656374696f6e20736f6c64206f757400000000000000000000000000600082015250565b6000614c4160138361407a565b9150614c4c82614c0b565b602082019050919050565b60006020820190508181036000830152614c7081614c34565b9050919050565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b6000614cad600e8361407a565b9150614cb882614c77565b602082019050919050565b60006020820190508181036000830152614cdc81614ca0565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614d3f602d8361407a565b9150614d4a82614ce3565b604082019050919050565b60006020820190508181036000830152614d6e81614d32565b9050919050565b6000614d8082614121565b9150614d8b83614121565b9250828202614d9981614121565b91508282048414831517614db057614daf614ad0565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614df182614121565b9150614dfc83614121565b925082614e0c57614e0b614db7565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614e73602b8361407a565b9150614e7e82614e17565b604082019050919050565b60006020820190508181036000830152614ea281614e66565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614f05602f8361407a565b9150614f1082614ea9565b604082019050919050565b60006020820190508181036000830152614f3481614ef8565b9050919050565b7f4e6f2045544820746f2077697468647261770000000000000000000000000000600082015250565b6000614f7160128361407a565b9150614f7c82614f3b565b602082019050919050565b60006020820190508181036000830152614fa081614f64565b9050919050565b600081905092915050565b50565b6000614fc2600083614fa7565b9150614fcd82614fb2565b600082019050919050565b6000614fe382614fb5565b9150819050919050565b7f4661696c65640000000000000000000000000000000000000000000000000000600082015250565b600061502360068361407a565b915061502e82614fed565b602082019050919050565b6000602082019050818103600083015261505281615016565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006150b5602c8361407a565b91506150c082615059565b604082019050919050565b600060208201905081810360008301526150e4816150a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261517c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261513f565b615186868361513f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006151c36151be6151b984614121565b61519e565b614121565b9050919050565b6000819050919050565b6151dd836151a8565b6151f16151e9826151ca565b84845461514c565b825550505050565b600090565b6152066151f9565b6152118184846151d4565b505050565b5b818110156152355761522a6000826151fe565b600181019050615217565b5050565b601f82111561527a5761524b8161511a565b6152548461512f565b81016020851015615263578190505b61527761526f8561512f565b830182615216565b50505b505050565b600082821c905092915050565b600061529d6000198460080261527f565b1980831691505092915050565b60006152b6838361528c565b9150826002028217905092915050565b6152cf8261406f565b67ffffffffffffffff8111156152e8576152e76143d8565b5b6152f2825461497b565b6152fd828285615239565b600060209050601f831160018114615330576000841561531e578287015190505b61532885826152aa565b865550615390565b601f19841661533e8661511a565b60005b8281101561536657848901518255600182019150602085019450602081019050615341565b86831015615383578489015161537f601f89168261528c565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006153ce60188361407a565b91506153d982615398565b602082019050919050565b600060208201905081810360008301526153fd816153c1565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061546060298361407a565b915061546b82615404565b604082019050919050565b6000602082019050818103600083015261548f81615453565b9050919050565b60006154a182614121565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036154d3576154d2614ad0565b5b600182019050919050565b7f4e6f7420656e6f75676820746f20726573657276650000000000000000000000600082015250565b600061551460158361407a565b915061551f826154de565b602082019050919050565b6000602082019050818103600083015261554381615507565b9050919050565b7f4e6f7420466f756e640000000000000000000000000000000000000000000000600082015250565b600061558060098361407a565b915061558b8261554a565b602082019050919050565b600060208201905081810360008301526155af81615573565b9050919050565b600081905092915050565b60006155cc8261406f565b6155d681856155b6565b93506155e681856020860161408b565b80840191505092915050565b60006155fe82846155c1565b915081905092915050565b7f416c7265616479206d696e74656420666f7220616c6c6f776c69737400000000600082015250565b600061563f601c8361407a565b915061564a82615609565b602082019050919050565b6000602082019050818103600083015261566e81615632565b9050919050565b60008160601b9050919050565b600061568d82615675565b9050919050565b600061569f82615682565b9050919050565b6156b76156b282613fad565b615694565b82525050565b60006156c982846156a6565b60148201915081905092915050565b7f4e6f74206f6e20616c6c6f776c69737400000000000000000000000000000000600082015250565b600061570e60108361407a565b9150615719826156d8565b602082019050919050565b6000602082019050818103600083015261573d81615701565b9050919050565b7f4e6f7420656e6f75676820746f2061697264726f700000000000000000000000600082015250565b600061577a60158361407a565b915061578582615744565b602082019050919050565b600060208201905081810360008301526157a98161576d565b9050919050565b60006157bb82614121565b9150600082036157ce576157cd614ad0565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061580f60208361407a565b915061581a826157d9565b602082019050919050565b6000602082019050818103600083015261583e81615802565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006158a1602a8361407a565b91506158ac82615845565b604082019050919050565b600060208201905081810360008301526158d081615894565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061590d60198361407a565b9150615918826158d7565b602082019050919050565b6000602082019050818103600083015261593c81615900565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061599f60258361407a565b91506159aa82615943565b604082019050919050565b600060208201905081810360008301526159ce81615992565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615a3160248361407a565b9150615a3c826159d5565b604082019050919050565b60006020820190508181036000830152615a6081615a24565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615a9d60198361407a565b9150615aa882615a67565b602082019050919050565b60006020820190508181036000830152615acc81615a90565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615b2f60328361407a565b9150615b3a82615ad3565b604082019050919050565b60006020820190508181036000830152615b5e81615b22565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000615b9b6017836155b6565b9150615ba682615b65565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000615be76011836155b6565b9150615bf282615bb1565b601182019050919050565b6000615c0882615b8e565b9150615c1482856155c1565b9150615c1f82615bda565b9150615c2b82846155c1565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000615c6d60148361407a565b9150615c7882615c37565b602082019050919050565b60006020820190508181036000830152615c9c81615c60565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615cd960108361407a565b9150615ce482615ca3565b602082019050919050565b60006020820190508181036000830152615d0881615ccc565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615d3682615d0f565b615d408185615d1a565b9350615d5081856020860161408b565b615d59816140b5565b840191505092915050565b6000608082019050615d7960008301876141ae565b615d8660208301866141ae565b615d93604083018561412b565b8181036060830152615da58184615d2b565b905095945050505050565b600081519050615dbf81613efe565b92915050565b600060208284031215615ddb57615dda613ec8565b5b6000615de984828501615db0565b91505092915050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000615e4e60358361407a565b9150615e5982615df2565b604082019050919050565b60006020820190508181036000830152615e7d81615e41565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615eba60208361407a565b9150615ec582615e84565b602082019050919050565b60006020820190508181036000830152615ee981615ead565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615f26601c8361407a565b9150615f3182615ef0565b602082019050919050565b60006020820190508181036000830152615f5581615f19565b9050919050565b6000615f6782614121565b9150615f7283614121565b9250828203905081811115615f8a57615f89614ad0565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220603bddde28b4b3b35c4d8f131ae1ee644c7be2bdf18b60bad5bde17e3061924364736f6c63430008110033

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

0000000000000000000000000000000000000000000000000000000063ca9e600000000000000000000000000000000000000000000000000000000063cac89000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000d53594b59204b657973746f6e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000653594b594b5900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d53446656414d6753756a6d615135335577526333674b447948394770766b334e6f56623733514a726e7879560000000000000000000000

-----Decoded View---------------
Arg [0] : _publicMintDate (uint256): 1674223200
Arg [1] : _presaleListMintDate (uint256): 1674234000
Arg [2] : _name (string): SYKY Keystone
Arg [3] : _symbol (string): SYKYKY
Arg [4] : _initBaseURI (string): ipfs://QmSDfVAMgSujmaQ53UwRc3gKDyH9Gpvk3NoVb73QJrnxyV

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000063ca9e60
Arg [1] : 0000000000000000000000000000000000000000000000000000000063cac890
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [6] : 53594b59204b657973746f6e6500000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [8] : 53594b594b590000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [10] : 697066733a2f2f516d53446656414d6753756a6d615135335577526333674b44
Arg [11] : 7948394770766b334e6f56623733514a726e7879560000000000000000000000


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.