POL Price: $0.70686 (-0.51%)
 

Overview

Max Total Supply

92,002 BVTR

Holders

86,479

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
Blockvatar: BVTR Token
Balance
2 BVTR
0x397a7f59cC8e47854Df20116fF0c0AA370371c49
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Blockvatar is a free, globally unique CC0 NFT avatar on the Polygon blockchain.

Contract Source Code Verified (Exact Match)

Contract Name:
Blockvatar

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : Blockvatar.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;

import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

/*
 ________  ___       ________  ________  ___  __    ___      ___ ________  _________  ________  ________
|\   __  \|\  \     |\   __  \|\   ____\|\  \|\  \ |\  \    /  /|\   __  \|\___   ___\\   __  \|\   __  \
\ \  \|\ /\ \  \    \ \  \|\  \ \  \___|\ \  \/  /|\ \  \  /  / | \  \|\  \|___ \  \_\ \  \|\  \ \  \|\  \
 \ \   __  \ \  \    \ \  \\\  \ \  \    \ \   ___  \ \  \/  / / \ \   __  \   \ \  \ \ \   __  \ \   _  _\
  \ \  \|\  \ \  \____\ \  \\\  \ \  \____\ \  \\ \  \ \    / /   \ \  \ \  \   \ \  \ \ \  \ \  \ \  \\  \|
   \ \_______\ \_______\ \_______\ \_______\ \__\\ \__\ \__/ /     \ \__\ \__\   \ \__\ \ \__\ \__\ \__\\ _\
    \|_______|\|_______|\|_______|\|_______|\|__| \|__|\|__|/       \|__|\|__|    \|__|  \|__|\|__|\|__|\|__|

*/

/// @custom:security-contact [email protected]
contract Blockvatar is ERC721, ERC2981, ERC721Pausable, AccessControl {
    using Counters for Counters.Counter;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    Counters.Counter private _tokenIdCounter;
    string private _baseTokenURI;
    bool private _claimable;
    uint256 public mintPrice = 10 ether;
    address public royaltyReceiver;
    uint96 public royaltyFee = 1000; // In BPS. 1000 = 10%
    mapping(address => bool) public claimed;

    event Claim(address indexed by, uint256 indexed tokenId);

    constructor(
        string memory name,
        string memory symbol,
        string memory baseTokenURI,
        address minter
    ) ERC721(name, symbol) {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(PAUSER_ROLE, msg.sender);
        _grantRole(MINTER_ROLE, minter);
        _tokenIdCounter.increment();
        _baseTokenURI = baseTokenURI;
        royaltyReceiver = minter;

        _setDefaultRoyalty(minter, royaltyFee);

        // Reserve the first 3 for OG
        for (uint256 i = 0; i < 3; i++) {
            uint256 tokenId = _tokenIdCounter.current();

            _tokenIdCounter.increment();
            _safeMint(msg.sender, tokenId);
        }
    }

    function _baseURI() internal view override returns (string memory) {
        return _baseTokenURI;
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

    function pause() public onlyRole(PAUSER_ROLE) {
        _pause();
    }

    function unpause() public onlyRole(PAUSER_ROLE) {
        _unpause();
    }

    function setClaimable(bool value) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _claimable = value;
    }

    function setBaseTokenURI(string memory uri)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        _baseTokenURI = uri;
    }

    function setRoyaltyInfo(address receiver, uint96 fee)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        require(hasRole(MINTER_ROLE, receiver), "Receiver must be a minter");

        royaltyReceiver = receiver;
        royaltyFee = fee;
        _setDefaultRoyalty(receiver, fee);
    }

    function hasBlockvatar(address account) public view returns (bool) {
        return balanceOf(account) > 0;
    }

    function totalSupply() public view returns (uint256) {
        return _tokenIdCounter.current() - 1;
    }

    function setMintPrice(uint256 price) external onlyRole(DEFAULT_ADMIN_ROLE) {
        mintPrice = price;
    }

    function claimFreeBlockvatar(address to) external onlyRole(MINTER_ROLE) {
        require(!claimed[to], "Already claimed");
        uint256 tokenId = _tokenIdCounter.current();

        claimed[to] = true;
        _tokenIdCounter.increment();
        _safeMint(to, tokenId);

        emit Claim(to, tokenId);
    }

    function claimBlockvatar() external {
        require(_claimable, "Claim disabled");
        require(!claimed[msg.sender], "Already claimed");
        uint256 tokenId = _tokenIdCounter.current();

        claimed[msg.sender] = true;
        _tokenIdCounter.increment();
        _safeMint(msg.sender, tokenId);

        emit Claim(msg.sender, tokenId);
    }

    function mintBlockvatar(address to) external payable {
        require(msg.value >= mintPrice, "Insufficient funds to mint");
        uint256 tokenId = _tokenIdCounter.current();

        _tokenIdCounter.increment();
        _safeMint(to, tokenId);
    }

    function withdrawFunds() external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(address(this).balance > 0, "No funds to withdraw");
        // solhint-disable-next-line avoid-low-level-calls
        (bool succeed, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(succeed, "Failed to withdraw funds");
    }
}

File 2 of 18 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

File 3 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _balances[to] += 1;
        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 4 of 18 : ERC721Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Pausable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

File 5 of 18 : 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 6 of 18 : 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 7 of 18 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 8 of 18 : 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 9 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

File 10 of 18 : 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 11 of 18 : 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 12 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 14 of 18 : 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 15 of 18 : 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 16 of 18 : 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);
    }
}

File 17 of 18 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 18 of 18 : 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;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address","name":"minter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"by","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimBlockvatar","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"claimFreeBlockvatar","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"hasBlockvatar","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintBlockvatar","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[],"name":"royaltyFee","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setClaimable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"fee","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052678ac7230489e80000600d556103e8600e60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055503480156200005057600080fd5b506040516200615538038062006155833981810160405281019062000076919062000dae565b838381600090805190602001906200009092919062000afc565b508060019080519060200190620000a992919062000afc565b5050506000600860006101000a81548160ff021916908315150217905550620000dc6000801b336200025060201b60201c565b6200010e7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200025060201b60201c565b620001407f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6826200025060201b60201c565b62000157600a6200034260201b62001a5a1760201c565b81600b90805190602001906200016f92919062000afc565b5080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001dd81600e60149054906101000a90046bffffffffffffffffffffffff166200035860201b60201c565b60005b60038110156200024557600062000203600a620004fc60201b62001a701760201c565b90506200021c600a6200034260201b62001a5a1760201c565b6200022e33826200050a60201b60201c565b5080806200023c9062000eb6565b915050620001e0565b505050505062001457565b6200026282826200053060201b60201c565b6200033e5760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002e36200059b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6001816000016000828254019250508190555050565b62000368620005a360201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620003c9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003c09062000f8b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200043c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004339062000ffd565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081600001549050919050565b6200052c828260405180602001604052806000815250620005ad60201b60201c565b5050565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6000612710905090565b620005bf83836200061b60201b60201c565b620005d460008484846200081560201b60201c565b62000616576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200060d9062001095565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200068e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006859062001107565b60405180910390fd5b6200069f81620009bf60201b60201c565b15620006e2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006d99062001179565b60405180910390fd5b620006f66000838362000a2b60201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200074891906200119b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620008116000838362000a4860201b60201c565b5050565b6000620008438473ffffffffffffffffffffffffffffffffffffffff1662000a4d60201b62001a7e1760201c565b15620009b2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620008756200059b60201b60201c565b8786866040518563ffffffff1660e01b815260040162000899949392919062001277565b6020604051808303816000875af1925050508015620008d857506040513d601f19601f82011682018060405250810190620008d5919062001328565b60015b62000961573d80600081146200090b576040519150601f19603f3d011682016040523d82523d6000602084013e62000910565b606091505b5060008151141562000959576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009509062001095565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050620009b7565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b62000a4383838362000a7060201b62001aa11760201c565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b62000a8883838362000ae060201b62001af91760201c565b62000a9862000ae560201b60201c565b1562000adb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000ad290620013d0565b60405180910390fd5b505050565b505050565b6000600860009054906101000a900460ff16905090565b82805462000b0a9062001421565b90600052602060002090601f01602090048101928262000b2e576000855562000b7a565b82601f1062000b4957805160ff191683800117855562000b7a565b8280016001018555821562000b7a579182015b8281111562000b7957825182559160200191906001019062000b5c565b5b50905062000b89919062000b8d565b5090565b5b8082111562000ba857600081600090555060010162000b8e565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000c158262000bca565b810181811067ffffffffffffffff8211171562000c375762000c3662000bdb565b5b80604052505050565b600062000c4c62000bac565b905062000c5a828262000c0a565b919050565b600067ffffffffffffffff82111562000c7d5762000c7c62000bdb565b5b62000c888262000bca565b9050602081019050919050565b60005b8381101562000cb557808201518184015260208101905062000c98565b8381111562000cc5576000848401525b50505050565b600062000ce262000cdc8462000c5f565b62000c40565b90508281526020810184848401111562000d015762000d0062000bc5565b5b62000d0e84828562000c95565b509392505050565b600082601f83011262000d2e5762000d2d62000bc0565b5b815162000d4084826020860162000ccb565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000d768262000d49565b9050919050565b62000d888162000d69565b811462000d9457600080fd5b50565b60008151905062000da88162000d7d565b92915050565b6000806000806080858703121562000dcb5762000dca62000bb6565b5b600085015167ffffffffffffffff81111562000dec5762000deb62000bbb565b5b62000dfa8782880162000d16565b945050602085015167ffffffffffffffff81111562000e1e5762000e1d62000bbb565b5b62000e2c8782880162000d16565b935050604085015167ffffffffffffffff81111562000e505762000e4f62000bbb565b5b62000e5e8782880162000d16565b925050606062000e718782880162000d97565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b600062000ec38262000eac565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000ef95762000ef862000e7d565b5b600182019050919050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000f73602a8362000f04565b915062000f808262000f15565b604082019050919050565b6000602082019050818103600083015262000fa68162000f64565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000fe560198362000f04565b915062000ff28262000fad565b602082019050919050565b60006020820190508181036000830152620010188162000fd6565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006200107d60328362000f04565b91506200108a826200101f565b604082019050919050565b60006020820190508181036000830152620010b0816200106e565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000620010ef60208362000f04565b9150620010fc82620010b7565b602082019050919050565b600060208201905081810360008301526200112281620010e0565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062001161601c8362000f04565b91506200116e8262001129565b602082019050919050565b60006020820190508181036000830152620011948162001152565b9050919050565b6000620011a88262000eac565b9150620011b58362000eac565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620011ed57620011ec62000e7d565b5b828201905092915050565b620012038162000d69565b82525050565b620012148162000eac565b82525050565b600081519050919050565b600082825260208201905092915050565b600062001243826200121a565b6200124f818562001225565b93506200126181856020860162000c95565b6200126c8162000bca565b840191505092915050565b60006080820190506200128e6000830187620011f8565b6200129d6020830186620011f8565b620012ac604083018562001209565b8181036060830152620012c0818462001236565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6200130281620012cb565b81146200130e57600080fd5b50565b6000815190506200132281620012f7565b92915050565b60006020828403121562001341576200134062000bb6565b5b6000620013518482850162001311565b91505092915050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b6000620013b8602b8362000f04565b9150620013c5826200135a565b604082019050919050565b60006020820190508181036000830152620013eb81620013a9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200143a57607f821691505b60208210811415620014515762001450620013f2565b5b50919050565b614cee80620014676000396000f3fe6080604052600436106102305760003560e01c80636d94a00a1161012e578063b88d4fde116100ab578063d53913931161006f578063d53913931461082b578063d547741f14610856578063e63ab1e91461087f578063e985e9c5146108aa578063f4a0a528146108e757610230565b8063b88d4fde14610746578063b8997a971461076f578063c5c4dde31461079a578063c87b56dd146107b1578063c884ef83146107ee57610230565b80639fbc8713116100f25780639fbc871314610682578063a217fddf146106ad578063a22cb465146106d8578063aaa7d96014610701578063ae241fb11461071d57610230565b80636d94a00a1461058957806370a08231146105c65780638456cb591461060357806391d148541461061a57806395d89b411461065757610230565b80632a55205a116101bc5780633f4ba83a116101805780633f4ba83a146104b657806342842e0e146104cd5780635c975abb146104f65780636352211e146105215780636817c76c1461055e57610230565b80632a55205a146103d45780632f2ff15d1461041257806330176e131461043b57806336568abe14610464578063378c93ad1461048d57610230565b8063095ea7b311610203578063095ea7b31461030357806318160ddd1461032c57806323b872dd1461035757806324600fc314610380578063248a9ca31461039757610230565b806301ffc9a71461023557806302fa7c471461027257806306fdde031461029b578063081812fc146102c6575b600080fd5b34801561024157600080fd5b5061025c600480360381019061025791906131ec565b610910565b6040516102699190613234565b60405180910390f35b34801561027e57600080fd5b50610299600480360381019061029491906132f1565b610922565b005b3480156102a757600080fd5b506102b0610a21565b6040516102bd91906133ca565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e89190613422565b610ab3565b6040516102fa919061345e565b60405180910390f35b34801561030f57600080fd5b5061032a60048036038101906103259190613479565b610b38565b005b34801561033857600080fd5b50610341610c50565b60405161034e91906134c8565b60405180910390f35b34801561036357600080fd5b5061037e600480360381019061037991906134e3565b610c6d565b005b34801561038c57600080fd5b50610395610ccd565b005b3480156103a357600080fd5b506103be60048036038101906103b9919061356c565b610dd5565b6040516103cb91906135a8565b60405180910390f35b3480156103e057600080fd5b506103fb60048036038101906103f691906135c3565b610df5565b604051610409929190613603565b60405180910390f35b34801561041e57600080fd5b506104396004803603810190610434919061362c565b610fe0565b005b34801561044757600080fd5b50610462600480360381019061045d91906137a1565b611009565b005b34801561047057600080fd5b5061048b6004803603810190610486919061362c565b611039565b005b34801561049957600080fd5b506104b460048036038101906104af9190613816565b6110bc565b005b3480156104c257600080fd5b506104cb6110ef565b005b3480156104d957600080fd5b506104f460048036038101906104ef91906134e3565b61112c565b005b34801561050257600080fd5b5061050b61114c565b6040516105189190613234565b60405180910390f35b34801561052d57600080fd5b5061054860048036038101906105439190613422565b611163565b604051610555919061345e565b60405180910390f35b34801561056a57600080fd5b50610573611215565b60405161058091906134c8565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab9190613843565b61121b565b6040516105bd9190613234565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190613843565b61122f565b6040516105fa91906134c8565b60405180910390f35b34801561060f57600080fd5b506106186112e7565b005b34801561062657600080fd5b50610641600480360381019061063c919061362c565b611324565b60405161064e9190613234565b60405180910390f35b34801561066357600080fd5b5061066c61138f565b60405161067991906133ca565b60405180910390f35b34801561068e57600080fd5b50610697611421565b6040516106a4919061345e565b60405180910390f35b3480156106b957600080fd5b506106c2611447565b6040516106cf91906135a8565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190613870565b61144e565b005b61071b60048036038101906107169190613843565b611464565b005b34801561072957600080fd5b50610744600480360381019061073f9190613843565b6114cf565b005b34801561075257600080fd5b5061076d60048036038101906107689190613951565b611651565b005b34801561077b57600080fd5b506107846116b3565b60405161079191906139e3565b60405180910390f35b3480156107a657600080fd5b506107af6116d1565b005b3480156107bd57600080fd5b506107d860048036038101906107d39190613422565b61186e565b6040516107e591906133ca565b60405180910390f35b3480156107fa57600080fd5b5061081560048036038101906108109190613843565b611915565b6040516108229190613234565b60405180910390f35b34801561083757600080fd5b50610840611935565b60405161084d91906135a8565b60405180910390f35b34801561086257600080fd5b5061087d6004803603810190610878919061362c565b611959565b005b34801561088b57600080fd5b50610894611982565b6040516108a191906135a8565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc91906139fe565b6119a6565b6040516108de9190613234565b60405180910390f35b3480156108f357600080fd5b5061090e60048036038101906109099190613422565b611a3a565b005b600061091b82611afe565b9050919050565b6000801b61093781610932611b78565b611b80565b6109617f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a684611324565b6109a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099790613a8a565b60405180910390fd5b82600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600e60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550610a1c8383611c1d565b505050565b606060008054610a3090613ad9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5c90613ad9565b8015610aa95780601f10610a7e57610100808354040283529160200191610aa9565b820191906000526020600020905b815481529060010190602001808311610a8c57829003601f168201915b5050505050905090565b6000610abe82611db3565b610afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af490613b7d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b4382611163565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bab90613c0f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bd3611b78565b73ffffffffffffffffffffffffffffffffffffffff161480610c025750610c0181610bfc611b78565b6119a6565b5b610c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3890613ca1565b60405180910390fd5b610c4b8383611e1f565b505050565b60006001610c5e600a611a70565b610c689190613cf0565b905090565b610c7e610c78611b78565b82611ed8565b610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb490613d96565b60405180910390fd5b610cc8838383611fb6565b505050565b6000801b610ce281610cdd611b78565b611b80565b60004711610d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1c90613e02565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610d4b90613e53565b60006040518083038185875af1925050503d8060008114610d88576040519150601f19603f3d011682016040523d82523d6000602084013e610d8d565b606091505b5050905080610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc890613eb4565b60405180910390fd5b5050565b600060096000838152602001908152602001600020600101549050919050565b6000806000600760008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610f8b5760066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610f9561221d565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610fc19190613ed4565b610fcb9190613f5d565b90508160000151819350935050509250929050565b610fe982610dd5565b610ffa81610ff5611b78565b611b80565b6110048383612227565b505050565b6000801b61101e81611019611b78565b611b80565b81600b90805190602001906110349291906130dd565b505050565b611041611b78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a590614000565b60405180910390fd5b6110b88282612308565b5050565b6000801b6110d1816110cc611b78565b611b80565b81600c60006101000a81548160ff0219169083151502179055505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6111218161111c611b78565b611b80565b6111296123ea565b50565b61114783838360405180602001604052806000815250611651565b505050565b6000600860009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561120c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120390614092565b60405180910390fd5b80915050919050565b600d5481565b6000806112278361122f565b119050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129790614124565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61131981611314611b78565b611b80565b61132161248c565b50565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461139e90613ad9565b80601f01602080910402602001604051908101604052809291908181526020018280546113ca90613ad9565b80156114175780601f106113ec57610100808354040283529160200191611417565b820191906000526020600020905b8154815290600101906020018083116113fa57829003601f168201915b5050505050905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000801b81565b611460611459611b78565b838361252f565b5050565b600d543410156114a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a090614190565b60405180910390fd5b60006114b5600a611a70565b90506114c1600a611a5a565b6114cb828261269c565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611501816114fc611b78565b611b80565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561158e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611585906141fc565b60405180910390fd5b600061159a600a611a70565b90506001600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115fe600a611a5a565b611608838261269c565b808373ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d460405160405180910390a3505050565b61166261165c611b78565b83611ed8565b6116a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169890613d96565b60405180910390fd5b6116ad848484846126ba565b50505050565b600e60149054906101000a90046bffffffffffffffffffffffff1681565b600c60009054906101000a900460ff16611720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171790614268565b60405180910390fd5b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156117ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a4906141fc565b60405180910390fd5b60006117b9600a611a70565b90506001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061181d600a611a5a565b611827338261269c565b803373ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d460405160405180910390a350565b606061187982611db3565b6118b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118af906142fa565b60405180910390fd5b60006118c2612716565b905060008151116118e2576040518060200160405280600081525061190d565b806118ec846127a8565b6040516020016118fd929190614356565b6040516020818303038152906040525b915050919050565b600f6020528060005260406000206000915054906101000a900460ff1681565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61196282610dd5565b6119738161196e611b78565b611b80565b61197d8383612308565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b611a4f81611a4a611b78565b611b80565b81600d819055505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b611aac838383611af9565b611ab461114c565b15611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb906143ec565b60405180910390fd5b505050565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b715750611b7082612909565b5b9050919050565b600033905090565b611b8a8282611324565b611c1957611baf8173ffffffffffffffffffffffffffffffffffffffff166014612983565b611bbd8360001c6020612983565b604051602001611bce9291906144a4565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1091906133ca565b60405180910390fd5b5050565b611c2561221d565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7a90614550565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cea906145bc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e9283611163565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ee382611db3565b611f22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f199061464e565b60405180910390fd5b6000611f2d83611163565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f9c57508373ffffffffffffffffffffffffffffffffffffffff16611f8484610ab3565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fad5750611fac81856119a6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fd682611163565b73ffffffffffffffffffffffffffffffffffffffff161461202c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612023906146e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561209c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209390614772565b60405180910390fd5b6120a7838383612bbf565b6120b2600082611e1f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121029190613cf0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121599190614792565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612218838383612bcf565b505050565b6000612710905090565b6122318282611324565b6123045760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122a9611b78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6123128282611324565b156123e65760006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061238b611b78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6123f261114c565b612431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242890614834565b60405180910390fd5b6000600860006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612475611b78565b604051612482919061345e565b60405180910390a1565b61249461114c565b156124d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cb906148a0565b60405180910390fd5b6001600860006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612518611b78565b604051612525919061345e565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561259e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125959061490c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161268f9190613234565b60405180910390a3505050565b6126b6828260405180602001604052806000815250612bd4565b5050565b6126c5848484611fb6565b6126d184848484612c2f565b612710576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127079061499e565b60405180910390fd5b50505050565b6060600b805461272590613ad9565b80601f016020809104026020016040519081016040528092919081815260200182805461275190613ad9565b801561279e5780601f106127735761010080835404028352916020019161279e565b820191906000526020600020905b81548152906001019060200180831161278157829003601f168201915b5050505050905090565b606060008214156127f0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612904565b600082905060005b6000821461282257808061280b906149be565b915050600a8261281b9190613f5d565b91506127f8565b60008167ffffffffffffffff81111561283e5761283d613676565b5b6040519080825280601f01601f1916602001820160405280156128705781602001600182028036833780820191505090505b5090505b600085146128fd576001826128899190613cf0565b9150600a856128989190614a07565b60306128a49190614792565b60f81b8183815181106128ba576128b9614a38565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128f69190613f5d565b9450612874565b8093505050505b919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061297c575061297b82612db7565b5b9050919050565b6060600060028360026129969190613ed4565b6129a09190614792565b67ffffffffffffffff8111156129b9576129b8613676565b5b6040519080825280601f01601f1916602001820160405280156129eb5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612a2357612a22614a38565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a8757612a86614a38565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612ac79190613ed4565b612ad19190614792565b90505b6001811115612b71577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612b1357612b12614a38565b5b1a60f81b828281518110612b2a57612b29614a38565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612b6a90614a67565b9050612ad4565b5060008414612bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bac90614add565b60405180910390fd5b8091505092915050565b612bca838383611aa1565b505050565b505050565b612bde8383612e99565b612beb6000848484612c2f565b612c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c219061499e565b60405180910390fd5b505050565b6000612c508473ffffffffffffffffffffffffffffffffffffffff16611a7e565b15612daa578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c79611b78565b8786866040518563ffffffff1660e01b8152600401612c9b9493929190614b52565b6020604051808303816000875af1925050508015612cd757506040513d601f19601f82011682018060405250810190612cd49190614bb3565b60015b612d5a573d8060008114612d07576040519150601f19603f3d011682016040523d82523d6000602084013e612d0c565b606091505b50600081511415612d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d499061499e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612daf565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e8257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e925750612e9182613073565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0090614c2c565b60405180910390fd5b612f1281611db3565b15612f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4990614c98565b60405180910390fd5b612f5e60008383612bbf565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fae9190614792565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461306f60008383612bcf565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546130e990613ad9565b90600052602060002090601f01602090048101928261310b5760008555613152565b82601f1061312457805160ff1916838001178555613152565b82800160010185558215613152579182015b82811115613151578251825591602001919060010190613136565b5b50905061315f9190613163565b5090565b5b8082111561317c576000816000905550600101613164565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131c981613194565b81146131d457600080fd5b50565b6000813590506131e6816131c0565b92915050565b6000602082840312156132025761320161318a565b5b6000613210848285016131d7565b91505092915050565b60008115159050919050565b61322e81613219565b82525050565b60006020820190506132496000830184613225565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061327a8261324f565b9050919050565b61328a8161326f565b811461329557600080fd5b50565b6000813590506132a781613281565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6132ce816132ad565b81146132d957600080fd5b50565b6000813590506132eb816132c5565b92915050565b600080604083850312156133085761330761318a565b5b600061331685828601613298565b9250506020613327858286016132dc565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561336b578082015181840152602081019050613350565b8381111561337a576000848401525b50505050565b6000601f19601f8301169050919050565b600061339c82613331565b6133a6818561333c565b93506133b681856020860161334d565b6133bf81613380565b840191505092915050565b600060208201905081810360008301526133e48184613391565b905092915050565b6000819050919050565b6133ff816133ec565b811461340a57600080fd5b50565b60008135905061341c816133f6565b92915050565b6000602082840312156134385761343761318a565b5b60006134468482850161340d565b91505092915050565b6134588161326f565b82525050565b6000602082019050613473600083018461344f565b92915050565b600080604083850312156134905761348f61318a565b5b600061349e85828601613298565b92505060206134af8582860161340d565b9150509250929050565b6134c2816133ec565b82525050565b60006020820190506134dd60008301846134b9565b92915050565b6000806000606084860312156134fc576134fb61318a565b5b600061350a86828701613298565b935050602061351b86828701613298565b925050604061352c8682870161340d565b9150509250925092565b6000819050919050565b61354981613536565b811461355457600080fd5b50565b60008135905061356681613540565b92915050565b6000602082840312156135825761358161318a565b5b600061359084828501613557565b91505092915050565b6135a281613536565b82525050565b60006020820190506135bd6000830184613599565b92915050565b600080604083850312156135da576135d961318a565b5b60006135e88582860161340d565b92505060206135f98582860161340d565b9150509250929050565b6000604082019050613618600083018561344f565b61362560208301846134b9565b9392505050565b600080604083850312156136435761364261318a565b5b600061365185828601613557565b925050602061366285828601613298565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136ae82613380565b810181811067ffffffffffffffff821117156136cd576136cc613676565b5b80604052505050565b60006136e0613180565b90506136ec82826136a5565b919050565b600067ffffffffffffffff82111561370c5761370b613676565b5b61371582613380565b9050602081019050919050565b82818337600083830152505050565b600061374461373f846136f1565b6136d6565b9050828152602081018484840111156137605761375f613671565b5b61376b848285613722565b509392505050565b600082601f8301126137885761378761366c565b5b8135613798848260208601613731565b91505092915050565b6000602082840312156137b7576137b661318a565b5b600082013567ffffffffffffffff8111156137d5576137d461318f565b5b6137e184828501613773565b91505092915050565b6137f381613219565b81146137fe57600080fd5b50565b600081359050613810816137ea565b92915050565b60006020828403121561382c5761382b61318a565b5b600061383a84828501613801565b91505092915050565b6000602082840312156138595761385861318a565b5b600061386784828501613298565b91505092915050565b600080604083850312156138875761388661318a565b5b600061389585828601613298565b92505060206138a685828601613801565b9150509250929050565b600067ffffffffffffffff8211156138cb576138ca613676565b5b6138d482613380565b9050602081019050919050565b60006138f46138ef846138b0565b6136d6565b9050828152602081018484840111156139105761390f613671565b5b61391b848285613722565b509392505050565b600082601f8301126139385761393761366c565b5b81356139488482602086016138e1565b91505092915050565b6000806000806080858703121561396b5761396a61318a565b5b600061397987828801613298565b945050602061398a87828801613298565b935050604061399b8782880161340d565b925050606085013567ffffffffffffffff8111156139bc576139bb61318f565b5b6139c887828801613923565b91505092959194509250565b6139dd816132ad565b82525050565b60006020820190506139f860008301846139d4565b92915050565b60008060408385031215613a1557613a1461318a565b5b6000613a2385828601613298565b9250506020613a3485828601613298565b9150509250929050565b7f5265636569766572206d7573742062652061206d696e74657200000000000000600082015250565b6000613a7460198361333c565b9150613a7f82613a3e565b602082019050919050565b60006020820190508181036000830152613aa381613a67565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613af157607f821691505b60208210811415613b0557613b04613aaa565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613b67602c8361333c565b9150613b7282613b0b565b604082019050919050565b60006020820190508181036000830152613b9681613b5a565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bf960218361333c565b9150613c0482613b9d565b604082019050919050565b60006020820190508181036000830152613c2881613bec565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613c8b60388361333c565b9150613c9682613c2f565b604082019050919050565b60006020820190508181036000830152613cba81613c7e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613cfb826133ec565b9150613d06836133ec565b925082821015613d1957613d18613cc1565b5b828203905092915050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613d8060318361333c565b9150613d8b82613d24565b604082019050919050565b60006020820190508181036000830152613daf81613d73565b9050919050565b7f4e6f2066756e647320746f207769746864726177000000000000000000000000600082015250565b6000613dec60148361333c565b9150613df782613db6565b602082019050919050565b60006020820190508181036000830152613e1b81613ddf565b9050919050565b600081905092915050565b50565b6000613e3d600083613e22565b9150613e4882613e2d565b600082019050919050565b6000613e5e82613e30565b9150819050919050565b7f4661696c656420746f2077697468647261772066756e64730000000000000000600082015250565b6000613e9e60188361333c565b9150613ea982613e68565b602082019050919050565b60006020820190508181036000830152613ecd81613e91565b9050919050565b6000613edf826133ec565b9150613eea836133ec565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f2357613f22613cc1565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f68826133ec565b9150613f73836133ec565b925082613f8357613f82613f2e565b5b828204905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613fea602f8361333c565b9150613ff582613f8e565b604082019050919050565b6000602082019050818103600083015261401981613fdd565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061407c60298361333c565b915061408782614020565b604082019050919050565b600060208201905081810360008301526140ab8161406f565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061410e602a8361333c565b9150614119826140b2565b604082019050919050565b6000602082019050818103600083015261413d81614101565b9050919050565b7f496e73756666696369656e742066756e647320746f206d696e74000000000000600082015250565b600061417a601a8361333c565b915061418582614144565b602082019050919050565b600060208201905081810360008301526141a98161416d565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b60006141e6600f8361333c565b91506141f1826141b0565b602082019050919050565b60006020820190508181036000830152614215816141d9565b9050919050565b7f436c61696d2064697361626c6564000000000000000000000000000000000000600082015250565b6000614252600e8361333c565b915061425d8261421c565b602082019050919050565b6000602082019050818103600083015261428181614245565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006142e4602f8361333c565b91506142ef82614288565b604082019050919050565b60006020820190508181036000830152614313816142d7565b9050919050565b600081905092915050565b600061433082613331565b61433a818561431a565b935061434a81856020860161334d565b80840191505092915050565b60006143628285614325565b915061436e8284614325565b91508190509392505050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b60006143d6602b8361333c565b91506143e18261437a565b604082019050919050565b60006020820190508181036000830152614405816143c9565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061444260178361431a565b915061444d8261440c565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061448e60118361431a565b915061449982614458565b601182019050919050565b60006144af82614435565b91506144bb8285614325565b91506144c682614481565b91506144d28284614325565b91508190509392505050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600061453a602a8361333c565b9150614545826144de565b604082019050919050565b600060208201905081810360008301526145698161452d565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006145a660198361333c565b91506145b182614570565b602082019050919050565b600060208201905081810360008301526145d581614599565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614638602c8361333c565b9150614643826145dc565b604082019050919050565b600060208201905081810360008301526146678161462b565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006146ca60258361333c565b91506146d58261466e565b604082019050919050565b600060208201905081810360008301526146f9816146bd565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061475c60248361333c565b915061476782614700565b604082019050919050565b6000602082019050818103600083015261478b8161474f565b9050919050565b600061479d826133ec565b91506147a8836133ec565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147dd576147dc613cc1565b5b828201905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061481e60148361333c565b9150614829826147e8565b602082019050919050565b6000602082019050818103600083015261484d81614811565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061488a60108361333c565b915061489582614854565b602082019050919050565b600060208201905081810360008301526148b98161487d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006148f660198361333c565b9150614901826148c0565b602082019050919050565b60006020820190508181036000830152614925816148e9565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061498860328361333c565b91506149938261492c565b604082019050919050565b600060208201905081810360008301526149b78161497b565b9050919050565b60006149c9826133ec565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149fc576149fb613cc1565b5b600182019050919050565b6000614a12826133ec565b9150614a1d836133ec565b925082614a2d57614a2c613f2e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614a72826133ec565b91506000821415614a8657614a85613cc1565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614ac760208361333c565b9150614ad282614a91565b602082019050919050565b60006020820190508181036000830152614af681614aba565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614b2482614afd565b614b2e8185614b08565b9350614b3e81856020860161334d565b614b4781613380565b840191505092915050565b6000608082019050614b67600083018761344f565b614b74602083018661344f565b614b8160408301856134b9565b8181036060830152614b938184614b19565b905095945050505050565b600081519050614bad816131c0565b92915050565b600060208284031215614bc957614bc861318a565b5b6000614bd784828501614b9e565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614c1660208361333c565b9150614c2182614be0565b602082019050919050565b60006020820190508181036000830152614c4581614c09565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614c82601c8361333c565b9150614c8d82614c4c565b602082019050919050565b60006020820190508181036000830152614cb181614c75565b905091905056fea2646970667358221220e147179a1b2724c332663f33f478f5d1a7670cdb71dc615739f66f650b61210664736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000069fabde6be2bcfa0476d9957dde185e9a98c815d000000000000000000000000000000000000000000000000000000000000000a426c6f636b76617461720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044256545200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a68747470733a2f2f6170692e626c6f636b74697a656e2e636f6d2f76312f626c6f636b7661746172732f00000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102305760003560e01c80636d94a00a1161012e578063b88d4fde116100ab578063d53913931161006f578063d53913931461082b578063d547741f14610856578063e63ab1e91461087f578063e985e9c5146108aa578063f4a0a528146108e757610230565b8063b88d4fde14610746578063b8997a971461076f578063c5c4dde31461079a578063c87b56dd146107b1578063c884ef83146107ee57610230565b80639fbc8713116100f25780639fbc871314610682578063a217fddf146106ad578063a22cb465146106d8578063aaa7d96014610701578063ae241fb11461071d57610230565b80636d94a00a1461058957806370a08231146105c65780638456cb591461060357806391d148541461061a57806395d89b411461065757610230565b80632a55205a116101bc5780633f4ba83a116101805780633f4ba83a146104b657806342842e0e146104cd5780635c975abb146104f65780636352211e146105215780636817c76c1461055e57610230565b80632a55205a146103d45780632f2ff15d1461041257806330176e131461043b57806336568abe14610464578063378c93ad1461048d57610230565b8063095ea7b311610203578063095ea7b31461030357806318160ddd1461032c57806323b872dd1461035757806324600fc314610380578063248a9ca31461039757610230565b806301ffc9a71461023557806302fa7c471461027257806306fdde031461029b578063081812fc146102c6575b600080fd5b34801561024157600080fd5b5061025c600480360381019061025791906131ec565b610910565b6040516102699190613234565b60405180910390f35b34801561027e57600080fd5b50610299600480360381019061029491906132f1565b610922565b005b3480156102a757600080fd5b506102b0610a21565b6040516102bd91906133ca565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e89190613422565b610ab3565b6040516102fa919061345e565b60405180910390f35b34801561030f57600080fd5b5061032a60048036038101906103259190613479565b610b38565b005b34801561033857600080fd5b50610341610c50565b60405161034e91906134c8565b60405180910390f35b34801561036357600080fd5b5061037e600480360381019061037991906134e3565b610c6d565b005b34801561038c57600080fd5b50610395610ccd565b005b3480156103a357600080fd5b506103be60048036038101906103b9919061356c565b610dd5565b6040516103cb91906135a8565b60405180910390f35b3480156103e057600080fd5b506103fb60048036038101906103f691906135c3565b610df5565b604051610409929190613603565b60405180910390f35b34801561041e57600080fd5b506104396004803603810190610434919061362c565b610fe0565b005b34801561044757600080fd5b50610462600480360381019061045d91906137a1565b611009565b005b34801561047057600080fd5b5061048b6004803603810190610486919061362c565b611039565b005b34801561049957600080fd5b506104b460048036038101906104af9190613816565b6110bc565b005b3480156104c257600080fd5b506104cb6110ef565b005b3480156104d957600080fd5b506104f460048036038101906104ef91906134e3565b61112c565b005b34801561050257600080fd5b5061050b61114c565b6040516105189190613234565b60405180910390f35b34801561052d57600080fd5b5061054860048036038101906105439190613422565b611163565b604051610555919061345e565b60405180910390f35b34801561056a57600080fd5b50610573611215565b60405161058091906134c8565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab9190613843565b61121b565b6040516105bd9190613234565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190613843565b61122f565b6040516105fa91906134c8565b60405180910390f35b34801561060f57600080fd5b506106186112e7565b005b34801561062657600080fd5b50610641600480360381019061063c919061362c565b611324565b60405161064e9190613234565b60405180910390f35b34801561066357600080fd5b5061066c61138f565b60405161067991906133ca565b60405180910390f35b34801561068e57600080fd5b50610697611421565b6040516106a4919061345e565b60405180910390f35b3480156106b957600080fd5b506106c2611447565b6040516106cf91906135a8565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190613870565b61144e565b005b61071b60048036038101906107169190613843565b611464565b005b34801561072957600080fd5b50610744600480360381019061073f9190613843565b6114cf565b005b34801561075257600080fd5b5061076d60048036038101906107689190613951565b611651565b005b34801561077b57600080fd5b506107846116b3565b60405161079191906139e3565b60405180910390f35b3480156107a657600080fd5b506107af6116d1565b005b3480156107bd57600080fd5b506107d860048036038101906107d39190613422565b61186e565b6040516107e591906133ca565b60405180910390f35b3480156107fa57600080fd5b5061081560048036038101906108109190613843565b611915565b6040516108229190613234565b60405180910390f35b34801561083757600080fd5b50610840611935565b60405161084d91906135a8565b60405180910390f35b34801561086257600080fd5b5061087d6004803603810190610878919061362c565b611959565b005b34801561088b57600080fd5b50610894611982565b6040516108a191906135a8565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc91906139fe565b6119a6565b6040516108de9190613234565b60405180910390f35b3480156108f357600080fd5b5061090e60048036038101906109099190613422565b611a3a565b005b600061091b82611afe565b9050919050565b6000801b61093781610932611b78565b611b80565b6109617f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a684611324565b6109a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099790613a8a565b60405180910390fd5b82600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600e60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550610a1c8383611c1d565b505050565b606060008054610a3090613ad9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5c90613ad9565b8015610aa95780601f10610a7e57610100808354040283529160200191610aa9565b820191906000526020600020905b815481529060010190602001808311610a8c57829003601f168201915b5050505050905090565b6000610abe82611db3565b610afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af490613b7d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b4382611163565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bab90613c0f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bd3611b78565b73ffffffffffffffffffffffffffffffffffffffff161480610c025750610c0181610bfc611b78565b6119a6565b5b610c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3890613ca1565b60405180910390fd5b610c4b8383611e1f565b505050565b60006001610c5e600a611a70565b610c689190613cf0565b905090565b610c7e610c78611b78565b82611ed8565b610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb490613d96565b60405180910390fd5b610cc8838383611fb6565b505050565b6000801b610ce281610cdd611b78565b611b80565b60004711610d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1c90613e02565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610d4b90613e53565b60006040518083038185875af1925050503d8060008114610d88576040519150601f19603f3d011682016040523d82523d6000602084013e610d8d565b606091505b5050905080610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc890613eb4565b60405180910390fd5b5050565b600060096000838152602001908152602001600020600101549050919050565b6000806000600760008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610f8b5760066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610f9561221d565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610fc19190613ed4565b610fcb9190613f5d565b90508160000151819350935050509250929050565b610fe982610dd5565b610ffa81610ff5611b78565b611b80565b6110048383612227565b505050565b6000801b61101e81611019611b78565b611b80565b81600b90805190602001906110349291906130dd565b505050565b611041611b78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a590614000565b60405180910390fd5b6110b88282612308565b5050565b6000801b6110d1816110cc611b78565b611b80565b81600c60006101000a81548160ff0219169083151502179055505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6111218161111c611b78565b611b80565b6111296123ea565b50565b61114783838360405180602001604052806000815250611651565b505050565b6000600860009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561120c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120390614092565b60405180910390fd5b80915050919050565b600d5481565b6000806112278361122f565b119050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129790614124565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61131981611314611b78565b611b80565b61132161248c565b50565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461139e90613ad9565b80601f01602080910402602001604051908101604052809291908181526020018280546113ca90613ad9565b80156114175780601f106113ec57610100808354040283529160200191611417565b820191906000526020600020905b8154815290600101906020018083116113fa57829003601f168201915b5050505050905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000801b81565b611460611459611b78565b838361252f565b5050565b600d543410156114a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a090614190565b60405180910390fd5b60006114b5600a611a70565b90506114c1600a611a5a565b6114cb828261269c565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611501816114fc611b78565b611b80565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561158e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611585906141fc565b60405180910390fd5b600061159a600a611a70565b90506001600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115fe600a611a5a565b611608838261269c565b808373ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d460405160405180910390a3505050565b61166261165c611b78565b83611ed8565b6116a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169890613d96565b60405180910390fd5b6116ad848484846126ba565b50505050565b600e60149054906101000a90046bffffffffffffffffffffffff1681565b600c60009054906101000a900460ff16611720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171790614268565b60405180910390fd5b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156117ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a4906141fc565b60405180910390fd5b60006117b9600a611a70565b90506001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061181d600a611a5a565b611827338261269c565b803373ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d460405160405180910390a350565b606061187982611db3565b6118b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118af906142fa565b60405180910390fd5b60006118c2612716565b905060008151116118e2576040518060200160405280600081525061190d565b806118ec846127a8565b6040516020016118fd929190614356565b6040516020818303038152906040525b915050919050565b600f6020528060005260406000206000915054906101000a900460ff1681565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61196282610dd5565b6119738161196e611b78565b611b80565b61197d8383612308565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b611a4f81611a4a611b78565b611b80565b81600d819055505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b611aac838383611af9565b611ab461114c565b15611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb906143ec565b60405180910390fd5b505050565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b715750611b7082612909565b5b9050919050565b600033905090565b611b8a8282611324565b611c1957611baf8173ffffffffffffffffffffffffffffffffffffffff166014612983565b611bbd8360001c6020612983565b604051602001611bce9291906144a4565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1091906133ca565b60405180910390fd5b5050565b611c2561221d565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7a90614550565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cea906145bc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e9283611163565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ee382611db3565b611f22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f199061464e565b60405180910390fd5b6000611f2d83611163565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f9c57508373ffffffffffffffffffffffffffffffffffffffff16611f8484610ab3565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fad5750611fac81856119a6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fd682611163565b73ffffffffffffffffffffffffffffffffffffffff161461202c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612023906146e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561209c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209390614772565b60405180910390fd5b6120a7838383612bbf565b6120b2600082611e1f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121029190613cf0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121599190614792565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612218838383612bcf565b505050565b6000612710905090565b6122318282611324565b6123045760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122a9611b78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6123128282611324565b156123e65760006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061238b611b78565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6123f261114c565b612431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242890614834565b60405180910390fd5b6000600860006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612475611b78565b604051612482919061345e565b60405180910390a1565b61249461114c565b156124d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cb906148a0565b60405180910390fd5b6001600860006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612518611b78565b604051612525919061345e565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561259e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125959061490c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161268f9190613234565b60405180910390a3505050565b6126b6828260405180602001604052806000815250612bd4565b5050565b6126c5848484611fb6565b6126d184848484612c2f565b612710576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127079061499e565b60405180910390fd5b50505050565b6060600b805461272590613ad9565b80601f016020809104026020016040519081016040528092919081815260200182805461275190613ad9565b801561279e5780601f106127735761010080835404028352916020019161279e565b820191906000526020600020905b81548152906001019060200180831161278157829003601f168201915b5050505050905090565b606060008214156127f0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612904565b600082905060005b6000821461282257808061280b906149be565b915050600a8261281b9190613f5d565b91506127f8565b60008167ffffffffffffffff81111561283e5761283d613676565b5b6040519080825280601f01601f1916602001820160405280156128705781602001600182028036833780820191505090505b5090505b600085146128fd576001826128899190613cf0565b9150600a856128989190614a07565b60306128a49190614792565b60f81b8183815181106128ba576128b9614a38565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128f69190613f5d565b9450612874565b8093505050505b919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061297c575061297b82612db7565b5b9050919050565b6060600060028360026129969190613ed4565b6129a09190614792565b67ffffffffffffffff8111156129b9576129b8613676565b5b6040519080825280601f01601f1916602001820160405280156129eb5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612a2357612a22614a38565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612a8757612a86614a38565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612ac79190613ed4565b612ad19190614792565b90505b6001811115612b71577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612b1357612b12614a38565b5b1a60f81b828281518110612b2a57612b29614a38565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612b6a90614a67565b9050612ad4565b5060008414612bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bac90614add565b60405180910390fd5b8091505092915050565b612bca838383611aa1565b505050565b505050565b612bde8383612e99565b612beb6000848484612c2f565b612c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c219061499e565b60405180910390fd5b505050565b6000612c508473ffffffffffffffffffffffffffffffffffffffff16611a7e565b15612daa578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c79611b78565b8786866040518563ffffffff1660e01b8152600401612c9b9493929190614b52565b6020604051808303816000875af1925050508015612cd757506040513d601f19601f82011682018060405250810190612cd49190614bb3565b60015b612d5a573d8060008114612d07576040519150601f19603f3d011682016040523d82523d6000602084013e612d0c565b606091505b50600081511415612d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d499061499e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612daf565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e8257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e925750612e9182613073565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0090614c2c565b60405180910390fd5b612f1281611db3565b15612f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4990614c98565b60405180910390fd5b612f5e60008383612bbf565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fae9190614792565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461306f60008383612bcf565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546130e990613ad9565b90600052602060002090601f01602090048101928261310b5760008555613152565b82601f1061312457805160ff1916838001178555613152565b82800160010185558215613152579182015b82811115613151578251825591602001919060010190613136565b5b50905061315f9190613163565b5090565b5b8082111561317c576000816000905550600101613164565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131c981613194565b81146131d457600080fd5b50565b6000813590506131e6816131c0565b92915050565b6000602082840312156132025761320161318a565b5b6000613210848285016131d7565b91505092915050565b60008115159050919050565b61322e81613219565b82525050565b60006020820190506132496000830184613225565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061327a8261324f565b9050919050565b61328a8161326f565b811461329557600080fd5b50565b6000813590506132a781613281565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6132ce816132ad565b81146132d957600080fd5b50565b6000813590506132eb816132c5565b92915050565b600080604083850312156133085761330761318a565b5b600061331685828601613298565b9250506020613327858286016132dc565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561336b578082015181840152602081019050613350565b8381111561337a576000848401525b50505050565b6000601f19601f8301169050919050565b600061339c82613331565b6133a6818561333c565b93506133b681856020860161334d565b6133bf81613380565b840191505092915050565b600060208201905081810360008301526133e48184613391565b905092915050565b6000819050919050565b6133ff816133ec565b811461340a57600080fd5b50565b60008135905061341c816133f6565b92915050565b6000602082840312156134385761343761318a565b5b60006134468482850161340d565b91505092915050565b6134588161326f565b82525050565b6000602082019050613473600083018461344f565b92915050565b600080604083850312156134905761348f61318a565b5b600061349e85828601613298565b92505060206134af8582860161340d565b9150509250929050565b6134c2816133ec565b82525050565b60006020820190506134dd60008301846134b9565b92915050565b6000806000606084860312156134fc576134fb61318a565b5b600061350a86828701613298565b935050602061351b86828701613298565b925050604061352c8682870161340d565b9150509250925092565b6000819050919050565b61354981613536565b811461355457600080fd5b50565b60008135905061356681613540565b92915050565b6000602082840312156135825761358161318a565b5b600061359084828501613557565b91505092915050565b6135a281613536565b82525050565b60006020820190506135bd6000830184613599565b92915050565b600080604083850312156135da576135d961318a565b5b60006135e88582860161340d565b92505060206135f98582860161340d565b9150509250929050565b6000604082019050613618600083018561344f565b61362560208301846134b9565b9392505050565b600080604083850312156136435761364261318a565b5b600061365185828601613557565b925050602061366285828601613298565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136ae82613380565b810181811067ffffffffffffffff821117156136cd576136cc613676565b5b80604052505050565b60006136e0613180565b90506136ec82826136a5565b919050565b600067ffffffffffffffff82111561370c5761370b613676565b5b61371582613380565b9050602081019050919050565b82818337600083830152505050565b600061374461373f846136f1565b6136d6565b9050828152602081018484840111156137605761375f613671565b5b61376b848285613722565b509392505050565b600082601f8301126137885761378761366c565b5b8135613798848260208601613731565b91505092915050565b6000602082840312156137b7576137b661318a565b5b600082013567ffffffffffffffff8111156137d5576137d461318f565b5b6137e184828501613773565b91505092915050565b6137f381613219565b81146137fe57600080fd5b50565b600081359050613810816137ea565b92915050565b60006020828403121561382c5761382b61318a565b5b600061383a84828501613801565b91505092915050565b6000602082840312156138595761385861318a565b5b600061386784828501613298565b91505092915050565b600080604083850312156138875761388661318a565b5b600061389585828601613298565b92505060206138a685828601613801565b9150509250929050565b600067ffffffffffffffff8211156138cb576138ca613676565b5b6138d482613380565b9050602081019050919050565b60006138f46138ef846138b0565b6136d6565b9050828152602081018484840111156139105761390f613671565b5b61391b848285613722565b509392505050565b600082601f8301126139385761393761366c565b5b81356139488482602086016138e1565b91505092915050565b6000806000806080858703121561396b5761396a61318a565b5b600061397987828801613298565b945050602061398a87828801613298565b935050604061399b8782880161340d565b925050606085013567ffffffffffffffff8111156139bc576139bb61318f565b5b6139c887828801613923565b91505092959194509250565b6139dd816132ad565b82525050565b60006020820190506139f860008301846139d4565b92915050565b60008060408385031215613a1557613a1461318a565b5b6000613a2385828601613298565b9250506020613a3485828601613298565b9150509250929050565b7f5265636569766572206d7573742062652061206d696e74657200000000000000600082015250565b6000613a7460198361333c565b9150613a7f82613a3e565b602082019050919050565b60006020820190508181036000830152613aa381613a67565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613af157607f821691505b60208210811415613b0557613b04613aaa565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613b67602c8361333c565b9150613b7282613b0b565b604082019050919050565b60006020820190508181036000830152613b9681613b5a565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bf960218361333c565b9150613c0482613b9d565b604082019050919050565b60006020820190508181036000830152613c2881613bec565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613c8b60388361333c565b9150613c9682613c2f565b604082019050919050565b60006020820190508181036000830152613cba81613c7e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613cfb826133ec565b9150613d06836133ec565b925082821015613d1957613d18613cc1565b5b828203905092915050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613d8060318361333c565b9150613d8b82613d24565b604082019050919050565b60006020820190508181036000830152613daf81613d73565b9050919050565b7f4e6f2066756e647320746f207769746864726177000000000000000000000000600082015250565b6000613dec60148361333c565b9150613df782613db6565b602082019050919050565b60006020820190508181036000830152613e1b81613ddf565b9050919050565b600081905092915050565b50565b6000613e3d600083613e22565b9150613e4882613e2d565b600082019050919050565b6000613e5e82613e30565b9150819050919050565b7f4661696c656420746f2077697468647261772066756e64730000000000000000600082015250565b6000613e9e60188361333c565b9150613ea982613e68565b602082019050919050565b60006020820190508181036000830152613ecd81613e91565b9050919050565b6000613edf826133ec565b9150613eea836133ec565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f2357613f22613cc1565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f68826133ec565b9150613f73836133ec565b925082613f8357613f82613f2e565b5b828204905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613fea602f8361333c565b9150613ff582613f8e565b604082019050919050565b6000602082019050818103600083015261401981613fdd565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061407c60298361333c565b915061408782614020565b604082019050919050565b600060208201905081810360008301526140ab8161406f565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061410e602a8361333c565b9150614119826140b2565b604082019050919050565b6000602082019050818103600083015261413d81614101565b9050919050565b7f496e73756666696369656e742066756e647320746f206d696e74000000000000600082015250565b600061417a601a8361333c565b915061418582614144565b602082019050919050565b600060208201905081810360008301526141a98161416d565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b60006141e6600f8361333c565b91506141f1826141b0565b602082019050919050565b60006020820190508181036000830152614215816141d9565b9050919050565b7f436c61696d2064697361626c6564000000000000000000000000000000000000600082015250565b6000614252600e8361333c565b915061425d8261421c565b602082019050919050565b6000602082019050818103600083015261428181614245565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006142e4602f8361333c565b91506142ef82614288565b604082019050919050565b60006020820190508181036000830152614313816142d7565b9050919050565b600081905092915050565b600061433082613331565b61433a818561431a565b935061434a81856020860161334d565b80840191505092915050565b60006143628285614325565b915061436e8284614325565b91508190509392505050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b60006143d6602b8361333c565b91506143e18261437a565b604082019050919050565b60006020820190508181036000830152614405816143c9565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061444260178361431a565b915061444d8261440c565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061448e60118361431a565b915061449982614458565b601182019050919050565b60006144af82614435565b91506144bb8285614325565b91506144c682614481565b91506144d28284614325565b91508190509392505050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600061453a602a8361333c565b9150614545826144de565b604082019050919050565b600060208201905081810360008301526145698161452d565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006145a660198361333c565b91506145b182614570565b602082019050919050565b600060208201905081810360008301526145d581614599565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614638602c8361333c565b9150614643826145dc565b604082019050919050565b600060208201905081810360008301526146678161462b565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006146ca60258361333c565b91506146d58261466e565b604082019050919050565b600060208201905081810360008301526146f9816146bd565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061475c60248361333c565b915061476782614700565b604082019050919050565b6000602082019050818103600083015261478b8161474f565b9050919050565b600061479d826133ec565b91506147a8836133ec565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147dd576147dc613cc1565b5b828201905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061481e60148361333c565b9150614829826147e8565b602082019050919050565b6000602082019050818103600083015261484d81614811565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061488a60108361333c565b915061489582614854565b602082019050919050565b600060208201905081810360008301526148b98161487d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006148f660198361333c565b9150614901826148c0565b602082019050919050565b60006020820190508181036000830152614925816148e9565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061498860328361333c565b91506149938261492c565b604082019050919050565b600060208201905081810360008301526149b78161497b565b9050919050565b60006149c9826133ec565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149fc576149fb613cc1565b5b600182019050919050565b6000614a12826133ec565b9150614a1d836133ec565b925082614a2d57614a2c613f2e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614a72826133ec565b91506000821415614a8657614a85613cc1565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614ac760208361333c565b9150614ad282614a91565b602082019050919050565b60006020820190508181036000830152614af681614aba565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614b2482614afd565b614b2e8185614b08565b9350614b3e81856020860161334d565b614b4781613380565b840191505092915050565b6000608082019050614b67600083018761344f565b614b74602083018661344f565b614b8160408301856134b9565b8181036060830152614b938184614b19565b905095945050505050565b600081519050614bad816131c0565b92915050565b600060208284031215614bc957614bc861318a565b5b6000614bd784828501614b9e565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614c1660208361333c565b9150614c2182614be0565b602082019050919050565b60006020820190508181036000830152614c4581614c09565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614c82601c8361333c565b9150614c8d82614c4c565b602082019050919050565b60006020820190508181036000830152614cb181614c75565b905091905056fea2646970667358221220e147179a1b2724c332663f33f478f5d1a7670cdb71dc615739f66f650b61210664736f6c634300080c0033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000069fabde6be2bcfa0476d9957dde185e9a98c815d000000000000000000000000000000000000000000000000000000000000000a426c6f636b76617461720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044256545200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a68747470733a2f2f6170692e626c6f636b74697a656e2e636f6d2f76312f626c6f636b7661746172732f00000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Blockvatar
Arg [1] : symbol (string): BVTR
Arg [2] : baseTokenURI (string): https://api.blocktizen.com/v1/blockvatars/
Arg [3] : minter (address): 0x69FABdE6bE2BCfA0476D9957Dde185E9A98c815d

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 00000000000000000000000069fabde6be2bcfa0476d9957dde185e9a98c815d
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 426c6f636b766174617200000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4256545200000000000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000002a
Arg [9] : 68747470733a2f2f6170692e626c6f636b74697a656e2e636f6d2f76312f626c
Arg [10] : 6f636b7661746172732f00000000000000000000000000000000000000000000


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.