ETH Price: $3,401.34 (+2.57%)

Token

Haunted House (HH)
 

Overview

Max Total Supply

5,555 HH

Holders

1,280

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x9a171e40e43a66ba7a5180e6452fa66fc56dc86a
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GhostCastle

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : GhostCastle.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

contract GhostCastle is ERC1155, AccessControl {
    bytes32 public constant MAINTAIN_ROLE = keccak256("MAINTAIN_ROLE");
    bytes32 public constant WITHDRAW_ROLE = keccak256("WITHDRAW_ROLE");

    using Counters for Counters.Counter;
    using ECDSA for bytes32;
    Counters.Counter private _mintedCounter;
    mapping(uint256 => bool) public mintedToken;

    uint256 public constant TOTAL_SUPPLY = 5555;

    IERC721 private _weirdoGhostGang;

    address[] public payees = [0x870e2EdC0f87730c49Ae21B6f43aeE4a636b7C72, 0x0921d663401D11CE92A8B3b7B559B52bB05291C3];
    address private constant SIGNER = 0x0Ac584A240fbae9e6403c569A7cE29fC5C4d8912;

    event Withdraw(uint256);

    constructor(address weirdoGhostGangAddress) ERC1155("https://nft.may.social/nft-metadata/1/{id}") {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(MAINTAIN_ROLE, msg.sender);
        _grantRole(WITHDRAW_ROLE, msg.sender);
        _weirdoGhostGang = IERC721(weirdoGhostGangAddress);
        _mint(msg.sender, 0, 1, "0");
    }

    function setURI(string memory newuri) public onlyRole(MAINTAIN_ROLE) {
        _setURI(newuri);
    }

    function mint(uint256 wggTokenId, bytes memory sign) external {
        require(Address.isContract(msg.sender) == false, "mint: Prohibit contract calls");
        require(!mintedToken[wggTokenId], "mint: This token has minted");
        require(_mintedCounter.current() + 1 <= TOTAL_SUPPLY, "mint: Mint would exceed max supply");
        require(_weirdoGhostGang.ownerOf(wggTokenId) == msg.sender, "mint: This token is not yours");

        bytes32 digest = keccak256(abi.encodePacked(wggTokenId));
        require(digest.recover(sign) == SIGNER, "mint: Invalid signer");

        _mintedCounter.increment();
        uint256 tokenId = 1 + random() % 3;
        _mint(msg.sender, tokenId, 1, "0");
        mintedToken[wggTokenId] = true;
    }

    function random() private view returns (uint256) {
        return uint256(
            keccak256(
                abi.encodePacked(
                    block.timestamp
                    + block.difficulty
                    + uint256(keccak256(abi.encodePacked(block.coinbase))) / block.timestamp
                    + block.gaslimit
                    + uint256(keccak256(abi.encodePacked(msg.sender))) / block.timestamp
                    + block.number
                )
            )
        );
    }

    function hasMinted(uint256[] calldata tokenIds) external view returns (bool[] memory){
        bool[] memory ret = new bool[](tokenIds.length);
        for (uint256 i = 0; i < tokenIds.length; i++) {
            ret[i] = mintedToken[tokenIds[i]];
        }
        return ret;
    }

    function mintedCount() external view returns (uint256){
        return _mintedCounter.current();
    }

    function withdraw() external onlyRole(WITHDRAW_ROLE) {
        uint256 balance = address(this).balance / 2;
        for (uint256 i = 0; i < payees.length; i++) {
            (bool sent,) = payees[i].call{value : balance}("");
            require(sent, "withdraw: Failed to send Ether");
        }

        emit Withdraw(balance);
    }

    function name() public pure returns (string memory) {
        return "Haunted House";
    }

    function symbol() public pure returns (string memory) {
        return "HH";
    }

    function totalSupply() external pure returns (uint256){
        return TOTAL_SUPPLY;
    }

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

File 2 of 15 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 3 of 15 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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, _msgSender());
        _;
    }

    /**
     * @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 `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(uint160(account), 20),
                        " 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.
     */
    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.
     */
    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`.
     */
    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.
     *
     * [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.
     */
    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.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 4 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

File 5 of 15 : 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 6 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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 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);

    /**
     * @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;
}

File 7 of 15 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 8 of 15 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 of 15 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 10 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"weirdoGhostGangAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAINTAIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAW_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"hasMinted","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","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":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"wggTokenId","type":"uint256"},{"internalType":"bytes","name":"sign","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"payees","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"newuri","type":"string"}],"name":"setURI","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":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052604051806040016040528073870e2edc0f87730c49ae21b6f43aee4a636b7c7273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001730921d663401d11ce92a8b3b7b559b52bb05291c373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506007906002620000ab92919062000803565b50348015620000b957600080fd5b5060405162005d1d38038062005d1d8339818101604052810190620000df9190620009b6565b6040518060600160405280602a815260200162005cf3602a91396200010a816200021760201b60201c565b50620001206000801b336200023360201b60201c565b620001527f27878d6fd2352e8c530d873016f67bb748d79859c781b7c2453cc2caffa896ff336200023360201b60201c565b620001847f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec336200023360201b60201c565b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200021033600060016040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152506200032560201b60201c565b506200107a565b80600290805190602001906200022f92919062000892565b5050565b620002458282620004ea60201b60201c565b620003215760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002c66200055560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141562000398576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200038f9062000a6f565b60405180910390fd5b6000620003aa6200055560201b60201c565b9050620003e381600087620003c5886200055d60201b60201c565b620003d6886200055d60201b60201c565b87620005de60201b60201c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000444919062000aca565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051620004c492919062000b38565b60405180910390a4620004e381600087878787620005e660201b60201c565b5050505050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b60606000600167ffffffffffffffff8111156200057f576200057e62000b65565b5b604051908082528060200260200182016040528015620005ae5781602001602082028036833780820191505090505b5090508281600081518110620005c957620005c862000b94565b5b60200260200101818152505080915050919050565b505050505050565b620006128473ffffffffffffffffffffffffffffffffffffffff16620007e060201b620012a11760201c565b15620007d8578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016200065b95949392919062000c78565b6020604051808303816000875af19250505080156200069a57506040513d601f19601f8201168201806040525081019062000697919062000d39565b60015b6200074c57620006a962000d78565b806308c379a014156200070d5750620006c162000dd3565b80620006ce57506200070f565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000704919062000ec1565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007439062000f5b565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614620007d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007cd9062000ff3565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280548282559060005260206000209081019282156200087f579160200282015b828111156200087e5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000824565b5b5090506200088e919062000923565b5090565b828054620008a09062001044565b90600052602060002090601f016020900481019282620008c4576000855562000910565b82601f10620008df57805160ff191683800117855562000910565b8280016001018555821562000910579182015b828111156200090f578251825591602001919060010190620008f2565b5b5090506200091f919062000923565b5090565b5b808211156200093e57600081600090555060010162000924565b5090565b6000604051905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200097e8262000951565b9050919050565b620009908162000971565b81146200099c57600080fd5b50565b600081519050620009b08162000985565b92915050565b600060208284031215620009cf57620009ce6200094c565b5b6000620009df848285016200099f565b91505092915050565b600082825260208201905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600062000a57602183620009e8565b915062000a6482620009f9565b604082019050919050565b6000602082019050818103600083015262000a8a8162000a48565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000ad78262000a91565b915062000ae48362000a91565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000b1c5762000b1b62000a9b565b5b828201905092915050565b62000b328162000a91565b82525050565b600060408201905062000b4f600083018562000b27565b62000b5e602083018462000b27565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b62000bce8162000971565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101562000c1057808201518184015260208101905062000bf3565b8381111562000c20576000848401525b50505050565b6000601f19601f8301169050919050565b600062000c448262000bd4565b62000c50818562000bdf565b935062000c6281856020860162000bf0565b62000c6d8162000c26565b840191505092915050565b600060a08201905062000c8f600083018862000bc3565b62000c9e602083018762000bc3565b62000cad604083018662000b27565b62000cbc606083018562000b27565b818103608083015262000cd0818462000c37565b90509695505050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62000d138162000cdc565b811462000d1f57600080fd5b50565b60008151905062000d338162000d08565b92915050565b60006020828403121562000d525762000d516200094c565b5b600062000d628482850162000d22565b91505092915050565b60008160e01c9050919050565b600060033d111562000d9a5760046000803e62000d9760005162000d6b565b90505b90565b62000da88262000c26565b810181811067ffffffffffffffff8211171562000dca5762000dc962000b65565b5b80604052505050565b600060443d101562000de55762000e72565b62000def62000942565b60043d036004823e80513d602482011167ffffffffffffffff8211171562000e1957505062000e72565b808201805167ffffffffffffffff81111562000e39575050505062000e72565b80602083010160043d03850181111562000e5857505050505062000e72565b62000e698260200185018662000d9d565b82955050505050505b90565b600081519050919050565b600062000e8d8262000e75565b62000e998185620009e8565b935062000eab81856020860162000bf0565b62000eb68162000c26565b840191505092915050565b6000602082019050818103600083015262000edd818462000e80565b905092915050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600062000f43603483620009e8565b915062000f508262000ee5565b604082019050919050565b6000602082019050818103600083015262000f768162000f34565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600062000fdb602883620009e8565b915062000fe88262000f7d565b604082019050919050565b600060208201905081810360008301526200100e8162000fcc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200105d57607f821691505b6020821081141562001074576200107362001015565b5b50919050565b614c69806200108a6000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c80634e1273f4116100f9578063cf721b1511610097578063e02023a111610071578063e02023a1146104cd578063e985e9c5146104eb578063f0103d591461051b578063f242432a1461054b576101a8565b8063cf721b1514610477578063d547741f14610495578063db7fd408146104b1576101a8565b806391d14854116100d357806391d14854146103ef57806395d89b411461041f578063a217fddf1461043d578063a22cb4651461045b576101a8565b80634e1273f41461037157806363037b0c146103a1578063902d55a5146103d1576101a8565b806318160ddd116101665780632eb2c2d6116101405780632eb2c2d6146103135780632f2ff15d1461032f57806336568abe1461034b5780633ccfd60b14610367576101a8565b806318160ddd1461029557806322ffd2ea146102b3578063248a9ca3146102e3576101a8565b8062fdd58e146101ad57806301ffc9a7146101dd57806302fe53051461020d578063066b57ef1461022957806306fdde03146102475780630e89341c14610265575b600080fd5b6101c760048036038101906101c29190612c3d565b610567565b6040516101d49190612c8c565b60405180910390f35b6101f760048036038101906101f29190612cff565b610630565b6040516102049190612d47565b60405180910390f35b61022760048036038101906102229190612ea8565b610642565b005b610231610681565b60405161023e9190612f0a565b60405180910390f35b61024f6106a5565b60405161025c9190612fad565b60405180910390f35b61027f600480360381019061027a9190612fcf565b6106e2565b60405161028c9190612fad565b60405180910390f35b61029d610776565b6040516102aa9190612c8c565b60405180910390f35b6102cd60048036038101906102c8919061305c565b610780565b6040516102da9190613167565b60405180910390f35b6102fd60048036038101906102f891906131b5565b61085d565b60405161030a9190612f0a565b60405180910390f35b61032d60048036038101906103289190613346565b61087d565b005b61034960048036038101906103449190613415565b61091e565b005b61036560048036038101906103609190613415565b610947565b005b61036f6109ca565b005b61038b60048036038101906103869190613518565b610b57565b604051610398919061364e565b60405180910390f35b6103bb60048036038101906103b69190612fcf565b610c70565b6040516103c8919061367f565b60405180910390f35b6103d9610caf565b6040516103e69190612c8c565b60405180910390f35b61040960048036038101906104049190613415565b610cb5565b6040516104169190612d47565b60405180910390f35b610427610d20565b6040516104349190612fad565b60405180910390f35b610445610d5d565b6040516104529190612f0a565b60405180910390f35b610475600480360381019061047091906136c6565b610d64565b005b61047f610d7a565b60405161048c9190612c8c565b60405180910390f35b6104af60048036038101906104aa9190613415565b610d8b565b005b6104cb60048036038101906104c69190613706565b610db4565b005b6104d5611128565b6040516104e29190612f0a565b60405180910390f35b61050560048036038101906105009190613762565b61114c565b6040516105129190612d47565b60405180910390f35b61053560048036038101906105309190612fcf565b6111e0565b6040516105429190612d47565b60405180910390f35b610565600480360381019061056091906137a2565b611200565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105cf906138ab565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061063b826112c4565b9050919050565b7f27878d6fd2352e8c530d873016f67bb748d79859c781b7c2453cc2caffa896ff6106748161066f61133e565b611346565b61067d826113e3565b5050565b7f27878d6fd2352e8c530d873016f67bb748d79859c781b7c2453cc2caffa896ff81565b60606040518060400160405280600d81526020017f4861756e74656420486f75736500000000000000000000000000000000000000815250905090565b6060600280546106f1906138fa565b80601f016020809104026020016040519081016040528092919081815260200182805461071d906138fa565b801561076a5780601f1061073f5761010080835404028352916020019161076a565b820191906000526020600020905b81548152906001019060200180831161074d57829003601f168201915b50505050509050919050565b60006115b3905090565b606060008383905067ffffffffffffffff8111156107a1576107a0612d7d565b5b6040519080825280602002602001820160405280156107cf5781602001602082028036833780820191505090505b50905060005b8484905081101561085257600560008686848181106107f7576107f661392c565b5b90506020020135815260200190815260200160002060009054906101000a900460ff1682828151811061082d5761082c61392c565b5b602002602001019015159081151581525050808061084a9061398a565b9150506107d5565b508091505092915050565b600060036000838152602001908152602001600020600101549050919050565b61088561133e565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108cb57506108ca856108c561133e565b61114c565b5b61090a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090190613a45565b60405180910390fd5b61091785858585856113fd565b5050505050565b6109278261085d565b6109388161093361133e565b611346565b6109428383611711565b505050565b61094f61133e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b390613ad7565b60405180910390fd5b6109c682826117f2565b5050565b7f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec6109fc816109f761133e565b611346565b6000600247610a0b9190613b26565b905060005b600780549050811015610b1b57600060078281548110610a3357610a3261392c565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610a8190613b88565b60006040518083038185875af1925050503d8060008114610abe576040519150601f19603f3d011682016040523d82523d6000602084013e610ac3565b606091505b5050905080610b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afe90613be9565b60405180910390fd5b508080610b139061398a565b915050610a10565b507f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d81604051610b4b9190612c8c565b60405180910390a15050565b60608151835114610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9490613c7b565b60405180910390fd5b6000835167ffffffffffffffff811115610bba57610bb9612d7d565b5b604051908082528060200260200182016040528015610be85781602001602082028036833780820191505090505b50905060005b8451811015610c6557610c35858281518110610c0d57610c0c61392c565b5b6020026020010151858381518110610c2857610c2761392c565b5b6020026020010151610567565b828281518110610c4857610c4761392c565b5b60200260200101818152505080610c5e9061398a565b9050610bee565b508091505092915050565b60078181548110610c8057600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115b381565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606040518060400160405280600281526020017f4848000000000000000000000000000000000000000000000000000000000000815250905090565b6000801b81565b610d76610d6f61133e565b83836118d4565b5050565b6000610d866004611a41565b905090565b610d948261085d565b610da581610da061133e565b611346565b610daf83836117f2565b505050565b60001515610dc1336112a1565b151514610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613ce7565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900460ff1615610e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5b90613d53565b60405180910390fd5b6115b36001610e736004611a41565b610e7d9190613d73565b1115610ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb590613e3b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610f309190612c8c565b602060405180830381865afa158015610f4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f719190613e70565b73ffffffffffffffffffffffffffffffffffffffff1614610fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbe90613ee9565b60405180910390fd5b600082604051602001610fda9190613f2a565b604051602081830303815290604052805190602001209050730ac584a240fbae9e6403c569a7ce29fc5c4d891273ffffffffffffffffffffffffffffffffffffffff166110308383611a4f90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614611086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107d90613f91565b60405180910390fd5b6110906004611a76565b6000600361109c611a8c565b6110a69190613fb1565b60016110b29190613d73565b90506110f6338260016040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250611b5c565b60016005600086815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b7f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60056020528060005260406000206000915054906101000a900460ff1681565b61120861133e565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061124e575061124d8561124861133e565b61114c565b5b61128d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128490614054565b60405180910390fd5b61129a8585858585611cf2565b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611337575061133682611f74565b5b9050919050565b600033905090565b6113508282610cb5565b6113df576113758173ffffffffffffffffffffffffffffffffffffffff166014612056565b6113838360001c6020612056565b604051602001611394929190614148565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d69190612fad565b60405180910390fd5b5050565b80600290805190602001906113f9929190612af2565b5050565b8151835114611441576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611438906141f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156114b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a890614286565b60405180910390fd5b60006114bb61133e565b90506114cb818787878787612292565b60005b845181101561167c5760008582815181106114ec576114eb61392c565b5b60200260200101519050600085838151811061150b5761150a61392c565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a390614318565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116619190613d73565b92505081905550505050806116759061398a565b90506114ce565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516116f3929190614338565b60405180910390a461170981878787878761229a565b505050505050565b61171b8282610cb5565b6117ee5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061179361133e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6117fc8282610cb5565b156118d05760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061187561133e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a906143e1565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a349190612d47565b60405180910390a3505050565b600081600001549050919050565b6000806000611a5e8585612472565b91509150611a6b816124f5565b819250505092915050565b6001816000016000828254019250508190555050565b6000434233604051602001611aa19190614449565b6040516020818303038152906040528051906020012060001c611ac49190613b26565b454241604051602001611ad7919061449f565b6040516020818303038152906040528051906020012060001c611afa9190613b26565b4442611b069190613d73565b611b109190613d73565b611b1a9190613d73565b611b249190613d73565b611b2e9190613d73565b604051602001611b3e9190613f2a565b6040516020818303038152906040528051906020012060001c905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc39061452c565b60405180910390fd5b6000611bd661133e565b9050611bf781600087611be8886126ca565b611bf1886126ca565b87612292565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c569190613d73565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611cd492919061454c565b60405180910390a4611ceb81600087878787612744565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5990614286565b60405180910390fd5b6000611d6c61133e565b9050611d8c818787611d7d886126ca565b611d86886126ca565b87612292565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1a90614318565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ed89190613d73565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611f5592919061454c565b60405180910390a4611f6b828888888888612744565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061203f57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061204f575061204e8261291c565b5b9050919050565b6060600060028360026120699190614575565b6120739190613d73565b67ffffffffffffffff81111561208c5761208b612d7d565b5b6040519080825280601f01601f1916602001820160405280156120be5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106120f6576120f561392c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061215a5761215961392c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261219a9190614575565b6121a49190613d73565b90505b6001811115612244577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106121e6576121e561392c565b5b1a60f81b8282815181106121fd576121fc61392c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061223d906145cf565b90506121a7565b5060008414612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f90614645565b60405180910390fd5b8091505092915050565b505050505050565b6122b98473ffffffffffffffffffffffffffffffffffffffff166112a1565b1561246a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016122ff9594939291906146ba565b6020604051808303816000875af192505050801561233b57506040513d601f19601f820116820180604052508101906123389190614737565b60015b6123e157612347614771565b806308c379a014156123a4575061235c614793565b8061236757506123a6565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239b9190612fad565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d89061489b565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245f9061492d565b60405180910390fd5b505b505050505050565b6000806041835114156124b45760008060006020860151925060408601519150606086015160001a90506124a887828585612986565b945094505050506124ee565b6040835114156124e55760008060208501519150604085015190506124da868383612a93565b9350935050506124ee565b60006002915091505b9250929050565b600060048111156125095761250861494d565b5b81600481111561251c5761251b61494d565b5b1415612527576126c7565b6001600481111561253b5761253a61494d565b5b81600481111561254e5761254d61494d565b5b141561258f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612586906149c8565b60405180910390fd5b600260048111156125a3576125a261494d565b5b8160048111156125b6576125b561494d565b5b14156125f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ee90614a34565b60405180910390fd5b6003600481111561260b5761260a61494d565b5b81600481111561261e5761261d61494d565b5b141561265f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265690614ac6565b60405180910390fd5b6004808111156126725761267161494d565b5b8160048111156126855761268461494d565b5b14156126c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bd90614b58565b60405180910390fd5b5b50565b60606000600167ffffffffffffffff8111156126e9576126e8612d7d565b5b6040519080825280602002602001820160405280156127175781602001602082028036833780820191505090505b509050828160008151811061272f5761272e61392c565b5b60200260200101818152505080915050919050565b6127638473ffffffffffffffffffffffffffffffffffffffff166112a1565b15612914578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016127a9959493929190614b78565b6020604051808303816000875af19250505080156127e557506040513d601f19601f820116820180604052508101906127e29190614737565b60015b61288b576127f1614771565b806308c379a0141561284e5750612806614793565b806128115750612850565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128459190612fad565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128829061489b565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612912576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129099061492d565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156129c1576000600391509150612a8a565b601b8560ff16141580156129d95750601c8560ff1614155b156129eb576000600491509150612a8a565b600060018787878760405160008152602001604052604051612a109493929190614bee565b6020604051602081039080840390855afa158015612a32573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a8157600060019250925050612a8a565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c612ad69190613d73565b9050612ae487828885612986565b935093505050935093915050565b828054612afe906138fa565b90600052602060002090601f016020900481019282612b205760008555612b67565b82601f10612b3957805160ff1916838001178555612b67565b82800160010185558215612b67579182015b82811115612b66578251825591602001919060010190612b4b565b5b509050612b749190612b78565b5090565b5b80821115612b91576000816000905550600101612b79565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bd482612ba9565b9050919050565b612be481612bc9565b8114612bef57600080fd5b50565b600081359050612c0181612bdb565b92915050565b6000819050919050565b612c1a81612c07565b8114612c2557600080fd5b50565b600081359050612c3781612c11565b92915050565b60008060408385031215612c5457612c53612b9f565b5b6000612c6285828601612bf2565b9250506020612c7385828601612c28565b9150509250929050565b612c8681612c07565b82525050565b6000602082019050612ca16000830184612c7d565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612cdc81612ca7565b8114612ce757600080fd5b50565b600081359050612cf981612cd3565b92915050565b600060208284031215612d1557612d14612b9f565b5b6000612d2384828501612cea565b91505092915050565b60008115159050919050565b612d4181612d2c565b82525050565b6000602082019050612d5c6000830184612d38565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612db582612d6c565b810181811067ffffffffffffffff82111715612dd457612dd3612d7d565b5b80604052505050565b6000612de7612b95565b9050612df38282612dac565b919050565b600067ffffffffffffffff821115612e1357612e12612d7d565b5b612e1c82612d6c565b9050602081019050919050565b82818337600083830152505050565b6000612e4b612e4684612df8565b612ddd565b905082815260208101848484011115612e6757612e66612d67565b5b612e72848285612e29565b509392505050565b600082601f830112612e8f57612e8e612d62565b5b8135612e9f848260208601612e38565b91505092915050565b600060208284031215612ebe57612ebd612b9f565b5b600082013567ffffffffffffffff811115612edc57612edb612ba4565b5b612ee884828501612e7a565b91505092915050565b6000819050919050565b612f0481612ef1565b82525050565b6000602082019050612f1f6000830184612efb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f5f578082015181840152602081019050612f44565b83811115612f6e576000848401525b50505050565b6000612f7f82612f25565b612f898185612f30565b9350612f99818560208601612f41565b612fa281612d6c565b840191505092915050565b60006020820190508181036000830152612fc78184612f74565b905092915050565b600060208284031215612fe557612fe4612b9f565b5b6000612ff384828501612c28565b91505092915050565b600080fd5b600080fd5b60008083601f84011261301c5761301b612d62565b5b8235905067ffffffffffffffff81111561303957613038612ffc565b5b60208301915083602082028301111561305557613054613001565b5b9250929050565b6000806020838503121561307357613072612b9f565b5b600083013567ffffffffffffffff81111561309157613090612ba4565b5b61309d85828601613006565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6130de81612d2c565b82525050565b60006130f083836130d5565b60208301905092915050565b6000602082019050919050565b6000613114826130a9565b61311e81856130b4565b9350613129836130c5565b8060005b8381101561315a57815161314188826130e4565b975061314c836130fc565b92505060018101905061312d565b5085935050505092915050565b600060208201905081810360008301526131818184613109565b905092915050565b61319281612ef1565b811461319d57600080fd5b50565b6000813590506131af81613189565b92915050565b6000602082840312156131cb576131ca612b9f565b5b60006131d9848285016131a0565b91505092915050565b600067ffffffffffffffff8211156131fd576131fc612d7d565b5b602082029050602081019050919050565b600061322161321c846131e2565b612ddd565b9050808382526020820190506020840283018581111561324457613243613001565b5b835b8181101561326d57806132598882612c28565b845260208401935050602081019050613246565b5050509392505050565b600082601f83011261328c5761328b612d62565b5b813561329c84826020860161320e565b91505092915050565b600067ffffffffffffffff8211156132c0576132bf612d7d565b5b6132c982612d6c565b9050602081019050919050565b60006132e96132e4846132a5565b612ddd565b90508281526020810184848401111561330557613304612d67565b5b613310848285612e29565b509392505050565b600082601f83011261332d5761332c612d62565b5b813561333d8482602086016132d6565b91505092915050565b600080600080600060a0868803121561336257613361612b9f565b5b600061337088828901612bf2565b955050602061338188828901612bf2565b945050604086013567ffffffffffffffff8111156133a2576133a1612ba4565b5b6133ae88828901613277565b935050606086013567ffffffffffffffff8111156133cf576133ce612ba4565b5b6133db88828901613277565b925050608086013567ffffffffffffffff8111156133fc576133fb612ba4565b5b61340888828901613318565b9150509295509295909350565b6000806040838503121561342c5761342b612b9f565b5b600061343a858286016131a0565b925050602061344b85828601612bf2565b9150509250929050565b600067ffffffffffffffff8211156134705761346f612d7d565b5b602082029050602081019050919050565b600061349461348f84613455565b612ddd565b905080838252602082019050602084028301858111156134b7576134b6613001565b5b835b818110156134e057806134cc8882612bf2565b8452602084019350506020810190506134b9565b5050509392505050565b600082601f8301126134ff576134fe612d62565b5b813561350f848260208601613481565b91505092915050565b6000806040838503121561352f5761352e612b9f565b5b600083013567ffffffffffffffff81111561354d5761354c612ba4565b5b613559858286016134ea565b925050602083013567ffffffffffffffff81111561357a57613579612ba4565b5b61358685828601613277565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6135c581612c07565b82525050565b60006135d783836135bc565b60208301905092915050565b6000602082019050919050565b60006135fb82613590565b613605818561359b565b9350613610836135ac565b8060005b8381101561364157815161362888826135cb565b9750613633836135e3565b925050600181019050613614565b5085935050505092915050565b6000602082019050818103600083015261366881846135f0565b905092915050565b61367981612bc9565b82525050565b60006020820190506136946000830184613670565b92915050565b6136a381612d2c565b81146136ae57600080fd5b50565b6000813590506136c08161369a565b92915050565b600080604083850312156136dd576136dc612b9f565b5b60006136eb85828601612bf2565b92505060206136fc858286016136b1565b9150509250929050565b6000806040838503121561371d5761371c612b9f565b5b600061372b85828601612c28565b925050602083013567ffffffffffffffff81111561374c5761374b612ba4565b5b61375885828601613318565b9150509250929050565b6000806040838503121561377957613778612b9f565b5b600061378785828601612bf2565b925050602061379885828601612bf2565b9150509250929050565b600080600080600060a086880312156137be576137bd612b9f565b5b60006137cc88828901612bf2565b95505060206137dd88828901612bf2565b94505060406137ee88828901612c28565b93505060606137ff88828901612c28565b925050608086013567ffffffffffffffff8111156138205761381f612ba4565b5b61382c88828901613318565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613895602b83612f30565b91506138a082613839565b604082019050919050565b600060208201905081810360008301526138c481613888565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061391257607f821691505b60208210811415613926576139256138cb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061399582612c07565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139c8576139c761395b565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613a2f603283612f30565b9150613a3a826139d3565b604082019050919050565b60006020820190508181036000830152613a5e81613a22565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613ac1602f83612f30565b9150613acc82613a65565b604082019050919050565b60006020820190508181036000830152613af081613ab4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b3182612c07565b9150613b3c83612c07565b925082613b4c57613b4b613af7565b5b828204905092915050565b600081905092915050565b50565b6000613b72600083613b57565b9150613b7d82613b62565b600082019050919050565b6000613b9382613b65565b9150819050919050565b7f77697468647261773a204661696c656420746f2073656e642045746865720000600082015250565b6000613bd3601e83612f30565b9150613bde82613b9d565b602082019050919050565b60006020820190508181036000830152613c0281613bc6565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613c65602983612f30565b9150613c7082613c09565b604082019050919050565b60006020820190508181036000830152613c9481613c58565b9050919050565b7f6d696e743a2050726f686962697420636f6e74726163742063616c6c73000000600082015250565b6000613cd1601d83612f30565b9150613cdc82613c9b565b602082019050919050565b60006020820190508181036000830152613d0081613cc4565b9050919050565b7f6d696e743a205468697320746f6b656e20686173206d696e7465640000000000600082015250565b6000613d3d601b83612f30565b9150613d4882613d07565b602082019050919050565b60006020820190508181036000830152613d6c81613d30565b9050919050565b6000613d7e82612c07565b9150613d8983612c07565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613dbe57613dbd61395b565b5b828201905092915050565b7f6d696e743a204d696e7420776f756c6420657863656564206d6178207375707060008201527f6c79000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e25602283612f30565b9150613e3082613dc9565b604082019050919050565b60006020820190508181036000830152613e5481613e18565b9050919050565b600081519050613e6a81612bdb565b92915050565b600060208284031215613e8657613e85612b9f565b5b6000613e9484828501613e5b565b91505092915050565b7f6d696e743a205468697320746f6b656e206973206e6f7420796f757273000000600082015250565b6000613ed3601d83612f30565b9150613ede82613e9d565b602082019050919050565b60006020820190508181036000830152613f0281613ec6565b9050919050565b6000819050919050565b613f24613f1f82612c07565b613f09565b82525050565b6000613f368284613f13565b60208201915081905092915050565b7f6d696e743a20496e76616c6964207369676e6572000000000000000000000000600082015250565b6000613f7b601483612f30565b9150613f8682613f45565b602082019050919050565b60006020820190508181036000830152613faa81613f6e565b9050919050565b6000613fbc82612c07565b9150613fc783612c07565b925082613fd757613fd6613af7565b5b828206905092915050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b600061403e602983612f30565b915061404982613fe2565b604082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006140b5601783614074565b91506140c08261407f565b601782019050919050565b60006140d682612f25565b6140e08185614074565b93506140f0818560208601612f41565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614132601183614074565b915061413d826140fc565b601182019050919050565b6000614153826140a8565b915061415f82856140cb565b915061416a82614125565b915061417682846140cb565b91508190509392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006141de602883612f30565b91506141e982614182565b604082019050919050565b6000602082019050818103600083015261420d816141d1565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614270602583612f30565b915061427b82614214565b604082019050919050565b6000602082019050818103600083015261429f81614263565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614302602a83612f30565b915061430d826142a6565b604082019050919050565b60006020820190508181036000830152614331816142f5565b9050919050565b6000604082019050818103600083015261435281856135f0565b9050818103602083015261436681846135f0565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006143cb602983612f30565b91506143d68261436f565b604082019050919050565b600060208201905081810360008301526143fa816143be565b9050919050565b60008160601b9050919050565b600061441982614401565b9050919050565b600061442b8261440e565b9050919050565b61444361443e82612bc9565b614420565b82525050565b60006144558284614432565b60148201915081905092915050565b600061446f82612ba9565b9050919050565b60006144818261440e565b9050919050565b61449961449482614464565b614476565b82525050565b60006144ab8284614488565b60148201915081905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614516602183612f30565b9150614521826144ba565b604082019050919050565b6000602082019050818103600083015261454581614509565b9050919050565b60006040820190506145616000830185612c7d565b61456e6020830184612c7d565b9392505050565b600061458082612c07565b915061458b83612c07565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145c4576145c361395b565b5b828202905092915050565b60006145da82612c07565b915060008214156145ee576145ed61395b565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061462f602083612f30565b915061463a826145f9565b602082019050919050565b6000602082019050818103600083015261465e81614622565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061468c82614665565b6146968185614670565b93506146a6818560208601612f41565b6146af81612d6c565b840191505092915050565b600060a0820190506146cf6000830188613670565b6146dc6020830187613670565b81810360408301526146ee81866135f0565b9050818103606083015261470281856135f0565b905081810360808301526147168184614681565b90509695505050505050565b60008151905061473181612cd3565b92915050565b60006020828403121561474d5761474c612b9f565b5b600061475b84828501614722565b91505092915050565b60008160e01c9050919050565b600060033d11156147905760046000803e61478d600051614764565b90505b90565b600060443d10156147a357614826565b6147ab612b95565b60043d036004823e80513d602482011167ffffffffffffffff821117156147d3575050614826565b808201805167ffffffffffffffff8111156147f15750505050614826565b80602083010160043d03850181111561480e575050505050614826565b61481d82602001850186612dac565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614885603483612f30565b915061489082614829565b604082019050919050565b600060208201905081810360008301526148b481614878565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614917602883612f30565b9150614922826148bb565b604082019050919050565b600060208201905081810360008301526149468161490a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006149b2601883612f30565b91506149bd8261497c565b602082019050919050565b600060208201905081810360008301526149e1816149a5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614a1e601f83612f30565b9150614a29826149e8565b602082019050919050565b60006020820190508181036000830152614a4d81614a11565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ab0602283612f30565b9150614abb82614a54565b604082019050919050565b60006020820190508181036000830152614adf81614aa3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b42602283612f30565b9150614b4d82614ae6565b604082019050919050565b60006020820190508181036000830152614b7181614b35565b9050919050565b600060a082019050614b8d6000830188613670565b614b9a6020830187613670565b614ba76040830186612c7d565b614bb46060830185612c7d565b8181036080830152614bc68184614681565b90509695505050505050565b600060ff82169050919050565b614be881614bd2565b82525050565b6000608082019050614c036000830187612efb565b614c106020830186614bdf565b614c1d6040830185612efb565b614c2a6060830184612efb565b9594505050505056fea2646970667358221220a10829573c82169688b7f5d43ec3248b91d82b8ac72d53e137100d11393e21a764736f6c634300080a003368747470733a2f2f6e66742e6d61792e736f6369616c2f6e66742d6d657461646174612f312f7b69647d0000000000000000000000009401518f4ebba857baa879d9f76e1cc8b31ed197

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a85760003560e01c80634e1273f4116100f9578063cf721b1511610097578063e02023a111610071578063e02023a1146104cd578063e985e9c5146104eb578063f0103d591461051b578063f242432a1461054b576101a8565b8063cf721b1514610477578063d547741f14610495578063db7fd408146104b1576101a8565b806391d14854116100d357806391d14854146103ef57806395d89b411461041f578063a217fddf1461043d578063a22cb4651461045b576101a8565b80634e1273f41461037157806363037b0c146103a1578063902d55a5146103d1576101a8565b806318160ddd116101665780632eb2c2d6116101405780632eb2c2d6146103135780632f2ff15d1461032f57806336568abe1461034b5780633ccfd60b14610367576101a8565b806318160ddd1461029557806322ffd2ea146102b3578063248a9ca3146102e3576101a8565b8062fdd58e146101ad57806301ffc9a7146101dd57806302fe53051461020d578063066b57ef1461022957806306fdde03146102475780630e89341c14610265575b600080fd5b6101c760048036038101906101c29190612c3d565b610567565b6040516101d49190612c8c565b60405180910390f35b6101f760048036038101906101f29190612cff565b610630565b6040516102049190612d47565b60405180910390f35b61022760048036038101906102229190612ea8565b610642565b005b610231610681565b60405161023e9190612f0a565b60405180910390f35b61024f6106a5565b60405161025c9190612fad565b60405180910390f35b61027f600480360381019061027a9190612fcf565b6106e2565b60405161028c9190612fad565b60405180910390f35b61029d610776565b6040516102aa9190612c8c565b60405180910390f35b6102cd60048036038101906102c8919061305c565b610780565b6040516102da9190613167565b60405180910390f35b6102fd60048036038101906102f891906131b5565b61085d565b60405161030a9190612f0a565b60405180910390f35b61032d60048036038101906103289190613346565b61087d565b005b61034960048036038101906103449190613415565b61091e565b005b61036560048036038101906103609190613415565b610947565b005b61036f6109ca565b005b61038b60048036038101906103869190613518565b610b57565b604051610398919061364e565b60405180910390f35b6103bb60048036038101906103b69190612fcf565b610c70565b6040516103c8919061367f565b60405180910390f35b6103d9610caf565b6040516103e69190612c8c565b60405180910390f35b61040960048036038101906104049190613415565b610cb5565b6040516104169190612d47565b60405180910390f35b610427610d20565b6040516104349190612fad565b60405180910390f35b610445610d5d565b6040516104529190612f0a565b60405180910390f35b610475600480360381019061047091906136c6565b610d64565b005b61047f610d7a565b60405161048c9190612c8c565b60405180910390f35b6104af60048036038101906104aa9190613415565b610d8b565b005b6104cb60048036038101906104c69190613706565b610db4565b005b6104d5611128565b6040516104e29190612f0a565b60405180910390f35b61050560048036038101906105009190613762565b61114c565b6040516105129190612d47565b60405180910390f35b61053560048036038101906105309190612fcf565b6111e0565b6040516105429190612d47565b60405180910390f35b610565600480360381019061056091906137a2565b611200565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105cf906138ab565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061063b826112c4565b9050919050565b7f27878d6fd2352e8c530d873016f67bb748d79859c781b7c2453cc2caffa896ff6106748161066f61133e565b611346565b61067d826113e3565b5050565b7f27878d6fd2352e8c530d873016f67bb748d79859c781b7c2453cc2caffa896ff81565b60606040518060400160405280600d81526020017f4861756e74656420486f75736500000000000000000000000000000000000000815250905090565b6060600280546106f1906138fa565b80601f016020809104026020016040519081016040528092919081815260200182805461071d906138fa565b801561076a5780601f1061073f5761010080835404028352916020019161076a565b820191906000526020600020905b81548152906001019060200180831161074d57829003601f168201915b50505050509050919050565b60006115b3905090565b606060008383905067ffffffffffffffff8111156107a1576107a0612d7d565b5b6040519080825280602002602001820160405280156107cf5781602001602082028036833780820191505090505b50905060005b8484905081101561085257600560008686848181106107f7576107f661392c565b5b90506020020135815260200190815260200160002060009054906101000a900460ff1682828151811061082d5761082c61392c565b5b602002602001019015159081151581525050808061084a9061398a565b9150506107d5565b508091505092915050565b600060036000838152602001908152602001600020600101549050919050565b61088561133e565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108cb57506108ca856108c561133e565b61114c565b5b61090a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090190613a45565b60405180910390fd5b61091785858585856113fd565b5050505050565b6109278261085d565b6109388161093361133e565b611346565b6109428383611711565b505050565b61094f61133e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b390613ad7565b60405180910390fd5b6109c682826117f2565b5050565b7f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec6109fc816109f761133e565b611346565b6000600247610a0b9190613b26565b905060005b600780549050811015610b1b57600060078281548110610a3357610a3261392c565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610a8190613b88565b60006040518083038185875af1925050503d8060008114610abe576040519150601f19603f3d011682016040523d82523d6000602084013e610ac3565b606091505b5050905080610b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afe90613be9565b60405180910390fd5b508080610b139061398a565b915050610a10565b507f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d81604051610b4b9190612c8c565b60405180910390a15050565b60608151835114610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9490613c7b565b60405180910390fd5b6000835167ffffffffffffffff811115610bba57610bb9612d7d565b5b604051908082528060200260200182016040528015610be85781602001602082028036833780820191505090505b50905060005b8451811015610c6557610c35858281518110610c0d57610c0c61392c565b5b6020026020010151858381518110610c2857610c2761392c565b5b6020026020010151610567565b828281518110610c4857610c4761392c565b5b60200260200101818152505080610c5e9061398a565b9050610bee565b508091505092915050565b60078181548110610c8057600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115b381565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606040518060400160405280600281526020017f4848000000000000000000000000000000000000000000000000000000000000815250905090565b6000801b81565b610d76610d6f61133e565b83836118d4565b5050565b6000610d866004611a41565b905090565b610d948261085d565b610da581610da061133e565b611346565b610daf83836117f2565b505050565b60001515610dc1336112a1565b151514610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613ce7565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900460ff1615610e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5b90613d53565b60405180910390fd5b6115b36001610e736004611a41565b610e7d9190613d73565b1115610ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb590613e3b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610f309190612c8c565b602060405180830381865afa158015610f4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f719190613e70565b73ffffffffffffffffffffffffffffffffffffffff1614610fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbe90613ee9565b60405180910390fd5b600082604051602001610fda9190613f2a565b604051602081830303815290604052805190602001209050730ac584a240fbae9e6403c569a7ce29fc5c4d891273ffffffffffffffffffffffffffffffffffffffff166110308383611a4f90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614611086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107d90613f91565b60405180910390fd5b6110906004611a76565b6000600361109c611a8c565b6110a69190613fb1565b60016110b29190613d73565b90506110f6338260016040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250611b5c565b60016005600086815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b7f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60056020528060005260406000206000915054906101000a900460ff1681565b61120861133e565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061124e575061124d8561124861133e565b61114c565b5b61128d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128490614054565b60405180910390fd5b61129a8585858585611cf2565b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611337575061133682611f74565b5b9050919050565b600033905090565b6113508282610cb5565b6113df576113758173ffffffffffffffffffffffffffffffffffffffff166014612056565b6113838360001c6020612056565b604051602001611394929190614148565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d69190612fad565b60405180910390fd5b5050565b80600290805190602001906113f9929190612af2565b5050565b8151835114611441576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611438906141f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156114b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a890614286565b60405180910390fd5b60006114bb61133e565b90506114cb818787878787612292565b60005b845181101561167c5760008582815181106114ec576114eb61392c565b5b60200260200101519050600085838151811061150b5761150a61392c565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a390614318565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116619190613d73565b92505081905550505050806116759061398a565b90506114ce565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516116f3929190614338565b60405180910390a461170981878787878761229a565b505050505050565b61171b8282610cb5565b6117ee5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061179361133e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6117fc8282610cb5565b156118d05760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061187561133e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a906143e1565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a349190612d47565b60405180910390a3505050565b600081600001549050919050565b6000806000611a5e8585612472565b91509150611a6b816124f5565b819250505092915050565b6001816000016000828254019250508190555050565b6000434233604051602001611aa19190614449565b6040516020818303038152906040528051906020012060001c611ac49190613b26565b454241604051602001611ad7919061449f565b6040516020818303038152906040528051906020012060001c611afa9190613b26565b4442611b069190613d73565b611b109190613d73565b611b1a9190613d73565b611b249190613d73565b611b2e9190613d73565b604051602001611b3e9190613f2a565b6040516020818303038152906040528051906020012060001c905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc39061452c565b60405180910390fd5b6000611bd661133e565b9050611bf781600087611be8886126ca565b611bf1886126ca565b87612292565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c569190613d73565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611cd492919061454c565b60405180910390a4611ceb81600087878787612744565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5990614286565b60405180910390fd5b6000611d6c61133e565b9050611d8c818787611d7d886126ca565b611d86886126ca565b87612292565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1a90614318565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ed89190613d73565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611f5592919061454c565b60405180910390a4611f6b828888888888612744565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061203f57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061204f575061204e8261291c565b5b9050919050565b6060600060028360026120699190614575565b6120739190613d73565b67ffffffffffffffff81111561208c5761208b612d7d565b5b6040519080825280601f01601f1916602001820160405280156120be5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106120f6576120f561392c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061215a5761215961392c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261219a9190614575565b6121a49190613d73565b90505b6001811115612244577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106121e6576121e561392c565b5b1a60f81b8282815181106121fd576121fc61392c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061223d906145cf565b90506121a7565b5060008414612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f90614645565b60405180910390fd5b8091505092915050565b505050505050565b6122b98473ffffffffffffffffffffffffffffffffffffffff166112a1565b1561246a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016122ff9594939291906146ba565b6020604051808303816000875af192505050801561233b57506040513d601f19601f820116820180604052508101906123389190614737565b60015b6123e157612347614771565b806308c379a014156123a4575061235c614793565b8061236757506123a6565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239b9190612fad565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d89061489b565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245f9061492d565b60405180910390fd5b505b505050505050565b6000806041835114156124b45760008060006020860151925060408601519150606086015160001a90506124a887828585612986565b945094505050506124ee565b6040835114156124e55760008060208501519150604085015190506124da868383612a93565b9350935050506124ee565b60006002915091505b9250929050565b600060048111156125095761250861494d565b5b81600481111561251c5761251b61494d565b5b1415612527576126c7565b6001600481111561253b5761253a61494d565b5b81600481111561254e5761254d61494d565b5b141561258f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612586906149c8565b60405180910390fd5b600260048111156125a3576125a261494d565b5b8160048111156125b6576125b561494d565b5b14156125f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ee90614a34565b60405180910390fd5b6003600481111561260b5761260a61494d565b5b81600481111561261e5761261d61494d565b5b141561265f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265690614ac6565b60405180910390fd5b6004808111156126725761267161494d565b5b8160048111156126855761268461494d565b5b14156126c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bd90614b58565b60405180910390fd5b5b50565b60606000600167ffffffffffffffff8111156126e9576126e8612d7d565b5b6040519080825280602002602001820160405280156127175781602001602082028036833780820191505090505b509050828160008151811061272f5761272e61392c565b5b60200260200101818152505080915050919050565b6127638473ffffffffffffffffffffffffffffffffffffffff166112a1565b15612914578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016127a9959493929190614b78565b6020604051808303816000875af19250505080156127e557506040513d601f19601f820116820180604052508101906127e29190614737565b60015b61288b576127f1614771565b806308c379a0141561284e5750612806614793565b806128115750612850565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128459190612fad565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128829061489b565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612912576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129099061492d565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156129c1576000600391509150612a8a565b601b8560ff16141580156129d95750601c8560ff1614155b156129eb576000600491509150612a8a565b600060018787878760405160008152602001604052604051612a109493929190614bee565b6020604051602081039080840390855afa158015612a32573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a8157600060019250925050612a8a565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c612ad69190613d73565b9050612ae487828885612986565b935093505050935093915050565b828054612afe906138fa565b90600052602060002090601f016020900481019282612b205760008555612b67565b82601f10612b3957805160ff1916838001178555612b67565b82800160010185558215612b67579182015b82811115612b66578251825591602001919060010190612b4b565b5b509050612b749190612b78565b5090565b5b80821115612b91576000816000905550600101612b79565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bd482612ba9565b9050919050565b612be481612bc9565b8114612bef57600080fd5b50565b600081359050612c0181612bdb565b92915050565b6000819050919050565b612c1a81612c07565b8114612c2557600080fd5b50565b600081359050612c3781612c11565b92915050565b60008060408385031215612c5457612c53612b9f565b5b6000612c6285828601612bf2565b9250506020612c7385828601612c28565b9150509250929050565b612c8681612c07565b82525050565b6000602082019050612ca16000830184612c7d565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612cdc81612ca7565b8114612ce757600080fd5b50565b600081359050612cf981612cd3565b92915050565b600060208284031215612d1557612d14612b9f565b5b6000612d2384828501612cea565b91505092915050565b60008115159050919050565b612d4181612d2c565b82525050565b6000602082019050612d5c6000830184612d38565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612db582612d6c565b810181811067ffffffffffffffff82111715612dd457612dd3612d7d565b5b80604052505050565b6000612de7612b95565b9050612df38282612dac565b919050565b600067ffffffffffffffff821115612e1357612e12612d7d565b5b612e1c82612d6c565b9050602081019050919050565b82818337600083830152505050565b6000612e4b612e4684612df8565b612ddd565b905082815260208101848484011115612e6757612e66612d67565b5b612e72848285612e29565b509392505050565b600082601f830112612e8f57612e8e612d62565b5b8135612e9f848260208601612e38565b91505092915050565b600060208284031215612ebe57612ebd612b9f565b5b600082013567ffffffffffffffff811115612edc57612edb612ba4565b5b612ee884828501612e7a565b91505092915050565b6000819050919050565b612f0481612ef1565b82525050565b6000602082019050612f1f6000830184612efb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f5f578082015181840152602081019050612f44565b83811115612f6e576000848401525b50505050565b6000612f7f82612f25565b612f898185612f30565b9350612f99818560208601612f41565b612fa281612d6c565b840191505092915050565b60006020820190508181036000830152612fc78184612f74565b905092915050565b600060208284031215612fe557612fe4612b9f565b5b6000612ff384828501612c28565b91505092915050565b600080fd5b600080fd5b60008083601f84011261301c5761301b612d62565b5b8235905067ffffffffffffffff81111561303957613038612ffc565b5b60208301915083602082028301111561305557613054613001565b5b9250929050565b6000806020838503121561307357613072612b9f565b5b600083013567ffffffffffffffff81111561309157613090612ba4565b5b61309d85828601613006565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6130de81612d2c565b82525050565b60006130f083836130d5565b60208301905092915050565b6000602082019050919050565b6000613114826130a9565b61311e81856130b4565b9350613129836130c5565b8060005b8381101561315a57815161314188826130e4565b975061314c836130fc565b92505060018101905061312d565b5085935050505092915050565b600060208201905081810360008301526131818184613109565b905092915050565b61319281612ef1565b811461319d57600080fd5b50565b6000813590506131af81613189565b92915050565b6000602082840312156131cb576131ca612b9f565b5b60006131d9848285016131a0565b91505092915050565b600067ffffffffffffffff8211156131fd576131fc612d7d565b5b602082029050602081019050919050565b600061322161321c846131e2565b612ddd565b9050808382526020820190506020840283018581111561324457613243613001565b5b835b8181101561326d57806132598882612c28565b845260208401935050602081019050613246565b5050509392505050565b600082601f83011261328c5761328b612d62565b5b813561329c84826020860161320e565b91505092915050565b600067ffffffffffffffff8211156132c0576132bf612d7d565b5b6132c982612d6c565b9050602081019050919050565b60006132e96132e4846132a5565b612ddd565b90508281526020810184848401111561330557613304612d67565b5b613310848285612e29565b509392505050565b600082601f83011261332d5761332c612d62565b5b813561333d8482602086016132d6565b91505092915050565b600080600080600060a0868803121561336257613361612b9f565b5b600061337088828901612bf2565b955050602061338188828901612bf2565b945050604086013567ffffffffffffffff8111156133a2576133a1612ba4565b5b6133ae88828901613277565b935050606086013567ffffffffffffffff8111156133cf576133ce612ba4565b5b6133db88828901613277565b925050608086013567ffffffffffffffff8111156133fc576133fb612ba4565b5b61340888828901613318565b9150509295509295909350565b6000806040838503121561342c5761342b612b9f565b5b600061343a858286016131a0565b925050602061344b85828601612bf2565b9150509250929050565b600067ffffffffffffffff8211156134705761346f612d7d565b5b602082029050602081019050919050565b600061349461348f84613455565b612ddd565b905080838252602082019050602084028301858111156134b7576134b6613001565b5b835b818110156134e057806134cc8882612bf2565b8452602084019350506020810190506134b9565b5050509392505050565b600082601f8301126134ff576134fe612d62565b5b813561350f848260208601613481565b91505092915050565b6000806040838503121561352f5761352e612b9f565b5b600083013567ffffffffffffffff81111561354d5761354c612ba4565b5b613559858286016134ea565b925050602083013567ffffffffffffffff81111561357a57613579612ba4565b5b61358685828601613277565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6135c581612c07565b82525050565b60006135d783836135bc565b60208301905092915050565b6000602082019050919050565b60006135fb82613590565b613605818561359b565b9350613610836135ac565b8060005b8381101561364157815161362888826135cb565b9750613633836135e3565b925050600181019050613614565b5085935050505092915050565b6000602082019050818103600083015261366881846135f0565b905092915050565b61367981612bc9565b82525050565b60006020820190506136946000830184613670565b92915050565b6136a381612d2c565b81146136ae57600080fd5b50565b6000813590506136c08161369a565b92915050565b600080604083850312156136dd576136dc612b9f565b5b60006136eb85828601612bf2565b92505060206136fc858286016136b1565b9150509250929050565b6000806040838503121561371d5761371c612b9f565b5b600061372b85828601612c28565b925050602083013567ffffffffffffffff81111561374c5761374b612ba4565b5b61375885828601613318565b9150509250929050565b6000806040838503121561377957613778612b9f565b5b600061378785828601612bf2565b925050602061379885828601612bf2565b9150509250929050565b600080600080600060a086880312156137be576137bd612b9f565b5b60006137cc88828901612bf2565b95505060206137dd88828901612bf2565b94505060406137ee88828901612c28565b93505060606137ff88828901612c28565b925050608086013567ffffffffffffffff8111156138205761381f612ba4565b5b61382c88828901613318565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613895602b83612f30565b91506138a082613839565b604082019050919050565b600060208201905081810360008301526138c481613888565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061391257607f821691505b60208210811415613926576139256138cb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061399582612c07565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139c8576139c761395b565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613a2f603283612f30565b9150613a3a826139d3565b604082019050919050565b60006020820190508181036000830152613a5e81613a22565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613ac1602f83612f30565b9150613acc82613a65565b604082019050919050565b60006020820190508181036000830152613af081613ab4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b3182612c07565b9150613b3c83612c07565b925082613b4c57613b4b613af7565b5b828204905092915050565b600081905092915050565b50565b6000613b72600083613b57565b9150613b7d82613b62565b600082019050919050565b6000613b9382613b65565b9150819050919050565b7f77697468647261773a204661696c656420746f2073656e642045746865720000600082015250565b6000613bd3601e83612f30565b9150613bde82613b9d565b602082019050919050565b60006020820190508181036000830152613c0281613bc6565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613c65602983612f30565b9150613c7082613c09565b604082019050919050565b60006020820190508181036000830152613c9481613c58565b9050919050565b7f6d696e743a2050726f686962697420636f6e74726163742063616c6c73000000600082015250565b6000613cd1601d83612f30565b9150613cdc82613c9b565b602082019050919050565b60006020820190508181036000830152613d0081613cc4565b9050919050565b7f6d696e743a205468697320746f6b656e20686173206d696e7465640000000000600082015250565b6000613d3d601b83612f30565b9150613d4882613d07565b602082019050919050565b60006020820190508181036000830152613d6c81613d30565b9050919050565b6000613d7e82612c07565b9150613d8983612c07565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613dbe57613dbd61395b565b5b828201905092915050565b7f6d696e743a204d696e7420776f756c6420657863656564206d6178207375707060008201527f6c79000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e25602283612f30565b9150613e3082613dc9565b604082019050919050565b60006020820190508181036000830152613e5481613e18565b9050919050565b600081519050613e6a81612bdb565b92915050565b600060208284031215613e8657613e85612b9f565b5b6000613e9484828501613e5b565b91505092915050565b7f6d696e743a205468697320746f6b656e206973206e6f7420796f757273000000600082015250565b6000613ed3601d83612f30565b9150613ede82613e9d565b602082019050919050565b60006020820190508181036000830152613f0281613ec6565b9050919050565b6000819050919050565b613f24613f1f82612c07565b613f09565b82525050565b6000613f368284613f13565b60208201915081905092915050565b7f6d696e743a20496e76616c6964207369676e6572000000000000000000000000600082015250565b6000613f7b601483612f30565b9150613f8682613f45565b602082019050919050565b60006020820190508181036000830152613faa81613f6e565b9050919050565b6000613fbc82612c07565b9150613fc783612c07565b925082613fd757613fd6613af7565b5b828206905092915050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b600061403e602983612f30565b915061404982613fe2565b604082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006140b5601783614074565b91506140c08261407f565b601782019050919050565b60006140d682612f25565b6140e08185614074565b93506140f0818560208601612f41565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614132601183614074565b915061413d826140fc565b601182019050919050565b6000614153826140a8565b915061415f82856140cb565b915061416a82614125565b915061417682846140cb565b91508190509392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006141de602883612f30565b91506141e982614182565b604082019050919050565b6000602082019050818103600083015261420d816141d1565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614270602583612f30565b915061427b82614214565b604082019050919050565b6000602082019050818103600083015261429f81614263565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614302602a83612f30565b915061430d826142a6565b604082019050919050565b60006020820190508181036000830152614331816142f5565b9050919050565b6000604082019050818103600083015261435281856135f0565b9050818103602083015261436681846135f0565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006143cb602983612f30565b91506143d68261436f565b604082019050919050565b600060208201905081810360008301526143fa816143be565b9050919050565b60008160601b9050919050565b600061441982614401565b9050919050565b600061442b8261440e565b9050919050565b61444361443e82612bc9565b614420565b82525050565b60006144558284614432565b60148201915081905092915050565b600061446f82612ba9565b9050919050565b60006144818261440e565b9050919050565b61449961449482614464565b614476565b82525050565b60006144ab8284614488565b60148201915081905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614516602183612f30565b9150614521826144ba565b604082019050919050565b6000602082019050818103600083015261454581614509565b9050919050565b60006040820190506145616000830185612c7d565b61456e6020830184612c7d565b9392505050565b600061458082612c07565b915061458b83612c07565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145c4576145c361395b565b5b828202905092915050565b60006145da82612c07565b915060008214156145ee576145ed61395b565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061462f602083612f30565b915061463a826145f9565b602082019050919050565b6000602082019050818103600083015261465e81614622565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061468c82614665565b6146968185614670565b93506146a6818560208601612f41565b6146af81612d6c565b840191505092915050565b600060a0820190506146cf6000830188613670565b6146dc6020830187613670565b81810360408301526146ee81866135f0565b9050818103606083015261470281856135f0565b905081810360808301526147168184614681565b90509695505050505050565b60008151905061473181612cd3565b92915050565b60006020828403121561474d5761474c612b9f565b5b600061475b84828501614722565b91505092915050565b60008160e01c9050919050565b600060033d11156147905760046000803e61478d600051614764565b90505b90565b600060443d10156147a357614826565b6147ab612b95565b60043d036004823e80513d602482011167ffffffffffffffff821117156147d3575050614826565b808201805167ffffffffffffffff8111156147f15750505050614826565b80602083010160043d03850181111561480e575050505050614826565b61481d82602001850186612dac565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614885603483612f30565b915061489082614829565b604082019050919050565b600060208201905081810360008301526148b481614878565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614917602883612f30565b9150614922826148bb565b604082019050919050565b600060208201905081810360008301526149468161490a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006149b2601883612f30565b91506149bd8261497c565b602082019050919050565b600060208201905081810360008301526149e1816149a5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614a1e601f83612f30565b9150614a29826149e8565b602082019050919050565b60006020820190508181036000830152614a4d81614a11565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ab0602283612f30565b9150614abb82614a54565b604082019050919050565b60006020820190508181036000830152614adf81614aa3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b42602283612f30565b9150614b4d82614ae6565b604082019050919050565b60006020820190508181036000830152614b7181614b35565b9050919050565b600060a082019050614b8d6000830188613670565b614b9a6020830187613670565b614ba76040830186612c7d565b614bb46060830185612c7d565b8181036080830152614bc68184614681565b90509695505050505050565b600060ff82169050919050565b614be881614bd2565b82525050565b6000608082019050614c036000830187612efb565b614c106020830186614bdf565b614c1d6040830185612efb565b614c2a6060830184612efb565b9594505050505056fea2646970667358221220a10829573c82169688b7f5d43ec3248b91d82b8ac72d53e137100d11393e21a764736f6c634300080a0033

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

0000000000000000000000009401518f4ebba857baa879d9f76e1cc8b31ed197

-----Decoded View---------------
Arg [0] : weirdoGhostGangAddress (address): 0x9401518f4EBBA857BAA879D9f76E1Cc8b31ed197

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009401518f4ebba857baa879d9f76e1cc8b31ed197


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.