ETH Price: $3,869.02 (+0.89%)

Deathbats Club (DBC)
 

Overview

TokenID

2208

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Deathbats Club is a collection of 10,000 unique Deathbat NFT’s, made popular by Avenged Sevenfold, flying around the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Deathbats

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Deathbats.sol
// SPDX-License-Identifier: MIT
/******
 ______   _______  _______ _________          ______   _______ _________ _______
(  __  \ (  ____ \(  ___  )\__   __/|\     /|(  ___ \ (  ___  )\__   __/(  ____ \
| (  \  )| (    \/| (   ) |   ) (   | )   ( || (   ) )| (   ) |   ) (   | (    \/
| |   ) || (__    | (___) |   | |   | (___) || (__/ / | (___) |   | |   | (_____
| |   | ||  __)   |  ___  |   | |   |  ___  ||  __ (  |  ___  |   | |   (_____  )
| |   ) || (      | (   ) |   | |   | (   ) || (  \ \ | (   ) |   | |         ) |
| (__/  )| (____/\| )   ( |   | |   | )   ( || )___) )| )   ( |   | |   /\____) |
(______/ (_______/|/     \|   )_(   |/     \||/ \___/ |/     \|   )_(   \_______)

.....................,,...,.............................      ............,..,......,,.................,,.,,,,,,,...,...
........................,,....................   (@@@@@@@@@@@@@%%%%%/   .....................,,........,...,,,,,,,,.,...
..................,....,,,,,,,,.,.,.......  @@@@@@@@@@@@@@@@@@@@@@@@@@%%%%.  .......,.,,..,,,,,........,,,,,,,,,,,,..,..
.............,,,,,.,,,.,,,,,,..,,..,,.. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%%  ......   %%%%%%%%%%%%%   ,,,,,,,,.,..,..
..............,,,,,,,,,,,,.,.,...... .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%%% ....... %%%%..%        %%   ,,,.......
.............,..,,,,,,,,,,,..,...,  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%% ..  .%  %  %   %.        %% ...,....
..............,,,,,,,,.,,,,,,,,., @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%%%%       %   %%    %         % .,,,,,
.........,.....,,,,,,,,.,,.,,,,, @@@@@@@@@@@@@@@@@@@@@%%   @@@@@@@@@@@@@@@@@@@@@@@%%%%      %.    %     %         % ,,,,
................,,,,,,.   %%  ,  @@@@@@@@@@@@@@@@@%%% ,@@@@@@@@@@@@@@@@@@@@@@@#    %%%%     %/     %                  .,
........,,,,,,,.,.  %%..%%%% ., @@@@@@@@@@@@@@@&%%% @@@@@         %  @@@@@@        /%  .    %       %   .    ..,.,.,. .,
........,..,.,  %%    %  % ( %% @@@@@@@@@@@@@@@%%%. @@@%           .%  @@            %%     %    ...  ........,,,.,,....
,....,.,,.,. %%     %   #  %    @@@@@@@@@@@@@@%%%%% @@@       %@    %%, @     (@@    %%%    %  ,,.................,,,...
........,  %.     %   .%   %.    @@@@@@@@%%%%%%%%%%  @@             %% @@            %%% .,.  ,,.,..,..,.........,,.....
,,...,.  %       %    %     %    .@@@@@%%%%%%%%%%%%% (@@/          %% @@/@          %%  %  ..,....,..,...,.,.....,,.....
.....  %%       .    %/     %      @@@@%%%%,   /%%%  @@@@@@         @@  %% (@        @@@@%% ...................,........
.... %%        ,     %       %      @@@@. @@@@@@@@@@@@@@@@@@@@@@@@@@       %( @@@@@@@@@@%%  ................,..,.,.,....
.., %%        %      %       %/   ,,, #@@@@@@@  @@@@@@@@@@@( @@@@@@         %% @@@@@%%%%  ..............................
.. %%                  ,,,,,    ,,,,,,,,,  ,, ,,,.        ,, .@@@@@           @@@%  .,,.................................
.. %    .,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,    .,,,,,,. %%%%%@%%       *    ,,.,,,,.............,.................
. ,  ..........,,,,,,,,,,,,,,,,,,,,,,,,,,, #@@@ .@@&%# ,,,,,, .@@@%  @@%% @@% @@&% .,.,.................................
.   ..............,,,,,,,,,,,,,,,,,,,,,,,,  @@@@@%%%  ,,,,,,,.@@@@% @@@@% @@&% @@%( ....,,..............................
. ...................,..,,.,,,,,,,,,,,,,,,,,,  @@%.,,,,,,,,,, @@@@  .@@@  @&       ...,,,...............................
......................,....,,,,,,,,,,,,,,,,,,, ,@@% ,,,,,,,,,                    .......................................
..........................,.,,,,,,,,,,,,,,,,,,, @@@%  ,,,,,, @@@%/ @@@%. @@% %@@% ......................................
.........,..................,,...,..,,,,,,,,,,,, @@@@%%%*  .% @@%% @@@% @@@% @@%........................................
...............................,.......,,,,,,,,,, @@@@@@@@@@@%%.  %  .#    *    * ......................................
........................,................,,,,,,,,,,  (@@@@ %@@@@@@@@@@  @@@@@@@%  ,.....................................
.................................................,,.....,,,,,  @@@@@%% @@@@@@@%  .......................................
...........................................,.............,,.,,,.     ....     ........................................
******/
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract Deathbats is ERC721Enumerable, Ownable {

    uint256 public constant MAX_BATS = 10000;
    uint256 public constant PRICE = 0.08 ether;
    uint256 public constant RESERVED_BATS = 705;
    uint256 public constant MAX_MINT = 3;

    mapping(address => uint256) public totalMinted;
    string public baseURI;
    bool public baseURIFinal;
    bool public publicSaleActive;
    bool public presaleActive;

    bytes32 private _presaleMerkleRoot;
    mapping(address => bool) private _operatorBlocked;

    event BaseURIChanged(string baseURI);
    event PermanentURI(string _value, uint256 indexed _id);

    constructor(string memory _initialBaseURI) ERC721("Deathbats Club", "DBC")  {
        baseURI = _initialBaseURI;
    }

    function setBaseURI(string memory _newBaseURI) external onlyOwner {
        require(!baseURIFinal, "Base URL is unchangeable");
        baseURI = _newBaseURI;
        emit BaseURIChanged(baseURI);
    }

    function finalizeBaseURI() external onlyOwner {
        baseURIFinal = true;
    }

    function emitPermanent(uint256 tokenId) external onlyOwner {
        require(baseURIFinal, "Base URL must be finalized first");
        emit PermanentURI(tokenURI(tokenId), tokenId);
    }

    function togglePresaleActive() external onlyOwner {
        presaleActive = !presaleActive;
    }

    function togglePublicSaleActive() external onlyOwner {
        publicSaleActive = !publicSaleActive;
    }

    function setPresaleMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        _presaleMerkleRoot = _merkleRoot;
    }

    function setOperatorBlocked(address operator, bool blocked) external onlyOwner {
        _operatorBlocked[operator] = blocked;
    }

    function isOperatorBlocked(address operator) public view onlyOwner returns (bool) {
        return _operatorBlocked[operator];
    }

    function withdraw(address _to, uint256 _amount) external onlyOwner {
        (bool success,) = _to.call{value : _amount}("");
        require(success, "Failed to withdraw Ether");
    }

    function mintReserved(address _to, uint256 _batCount) external onlyOwner {
        require(totalMinted[msg.sender] + _batCount <= RESERVED_BATS, "All Reserved Bats have been minted");
        _mintBat(_to, _batCount);
    }

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

    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool){
        if (_operatorBlocked[operator]) {
            return false;
        }
        return super.isApprovedForAll(owner, operator);
    }

    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (_operatorBlocked[_msgSender()]) {
            return address(0);
        }
        return super.getApproved(tokenId);
    }

    function _verifyPresaleEligible(address _account, uint8 _maxAllowed, bytes32[] calldata _merkleProof) private view returns (bool) {
        bytes32 node = keccak256(abi.encodePacked(_account, _maxAllowed));
        return MerkleProof.verify(_merkleProof, _presaleMerkleRoot, node);
    }

    function mintBatPresale(uint256 _batCount, uint8 _maxAllowed, bytes32[] calldata _merkleProof) external payable {
        require(presaleActive && !publicSaleActive, "Presale sale is not active");
        require(_verifyPresaleEligible(msg.sender, _maxAllowed, _merkleProof), "Address not found in presale allow list");
        require(totalMinted[msg.sender] + _batCount <= uint256(_maxAllowed), "Purchase exceeds max presale mint count");
        require(PRICE * _batCount == msg.value, "ETH amount is incorrect");

        _mintBat(msg.sender, _batCount);
    }

    function mintBat(uint256 _batCount) external payable {
        require(publicSaleActive, "Public sale is not active");
        require(totalMinted[msg.sender] + _batCount <= MAX_MINT, "Purchase exceeds max mint count");
        require(PRICE * _batCount == msg.value, "ETH amount is incorrect");

        _mintBat(msg.sender, _batCount);
    }

    function _mintBat(address _to, uint256 _batCount) private {
        uint256 totalSupply = totalSupply();
        require(totalSupply + _batCount <= MAX_BATS, "All Bats have been minted.");
        require(_batCount > 0, "Must mint at least one bat");

        for (uint256 i = 1; i <= _batCount; i++) {
            totalMinted[msg.sender] += 1;
            _safeMint(_to, totalSupply + i);
        }
    }
}

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

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

File 3 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

    /**
     * @dev 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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

File 5 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

File 6 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

File 7 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 8 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 10 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 11 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 12 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 14 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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":"_initialBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","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"},{"inputs":[],"name":"MAX_BATS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_BATS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIFinal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"emitPermanent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"operator","type":"address"}],"name":"isOperatorBlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_batCount","type":"uint256"}],"name":"mintBat","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_batCount","type":"uint256"},{"internalType":"uint8","name":"_maxAllowed","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintBatPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_batCount","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"blocked","type":"bool"}],"name":"setOperatorBlocked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setPresaleMerkleRoot","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":[],"name":"togglePresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620057ed380380620057ed833981810160405281019062000037919062000307565b6040518060400160405280600e81526020017f44656174686261747320436c75620000000000000000000000000000000000008152506040518060400160405280600381526020017f44424300000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb929190620001e5565b508060019080519060200190620000d4929190620001e5565b505050620000f7620000eb6200011760201b60201c565b6200011f60201b60201c565b80600c90805190602001906200010f929190620001e5565b5050620004bc565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f390620003e1565b90600052602060002090601f01602090048101928262000217576000855562000263565b82601f106200023257805160ff191683800117855562000263565b8280016001018555821562000263579182015b828111156200026257825182559160200191906001019062000245565b5b50905062000272919062000276565b5090565b5b808211156200029157600081600090555060010162000277565b5090565b6000620002ac620002a68462000375565b6200034c565b905082815260208101848484011115620002c557600080fd5b620002d2848285620003ab565b509392505050565b600082601f830112620002ec57600080fd5b8151620002fe84826020860162000295565b91505092915050565b6000602082840312156200031a57600080fd5b600082015167ffffffffffffffff8111156200033557600080fd5b6200034384828501620002da565b91505092915050565b6000620003586200036b565b905062000366828262000417565b919050565b6000604051905090565b600067ffffffffffffffff8211156200039357620003926200047c565b5b6200039e82620004ab565b9050602081019050919050565b60005b83811015620003cb578082015181840152602081019050620003ae565b83811115620003db576000848401525b50505050565b60006002820490506001821680620003fa57607f821691505b602082108114156200041157620004106200044d565b5b50919050565b6200042282620004ab565b810181811067ffffffffffffffff821117156200044457620004436200047c565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61532180620004cc6000396000f3fe60806040526004361061023a5760003560e01c80636c0360eb1161012e57806397c9aa94116100ab578063e985e9c51161006f578063e985e9c514610840578063f0292a031461087d578063f2fde38b146108a8578063f3fef3a3146108d1578063f6771a0f146108fa5761023a565b806397c9aa941461075d578063a22cb46514610786578063b88d4fde146107af578063bc8893b4146107d8578063c87b56dd146108035761023a565b80637de55fe1116100f25780637de55fe11461069c57806389b0649b146106c55780638d859f3e146106dc5780638da5cb5b1461070757806395d89b41146107325761023a565b80636c0360eb146105b55780636ebc7fc0146105e057806370a082311461061d578063715018a61461065a5780637a55deae146106715761023a565b806337c3fdbc116101bc5780635362f03a116101805780635362f03a146104ec57806355f804b3146105085780636352211e14610531578063647432a91461056e57806369128d7c1461058a5761023a565b806337c3fdbc1461041b57806342842e0e146104325780634333adc61461045b5780634f6ccce71461048457806353135ca0146104c15761023a565b80630c894cfe116102035780630c894cfe1461034a57806318160ddd1461036157806323b872dd1461038c57806328d7b276146103b55780632f745c59146103de5761023a565b80623d47901461023f57806301ffc9a71461027c57806306fdde03146102b9578063081812fc146102e4578063095ea7b314610321575b600080fd5b34801561024b57600080fd5b506102666004803603810190610261919061383e565b610925565b604051610273919061461f565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190613a0e565b61093d565b6040516102b09190614200565b60405180910390f35b3480156102c557600080fd5b506102ce6109b7565b6040516102db919061421b565b60405180910390f35b3480156102f057600080fd5b5061030b60048036038101906103069190613aa1565b610a49565b6040516103189190614199565b60405180910390f35b34801561032d57600080fd5b50610348600480360381019061034391906139a9565b610abe565b005b34801561035657600080fd5b5061035f610bd6565b005b34801561036d57600080fd5b50610376610c7e565b604051610383919061461f565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae91906138a3565b610c8b565b005b3480156103c157600080fd5b506103dc60048036038101906103d791906139e5565b610ceb565b005b3480156103ea57600080fd5b50610405600480360381019061040091906139a9565b610d71565b604051610412919061461f565b60405180910390f35b34801561042757600080fd5b50610430610e16565b005b34801561043e57600080fd5b50610459600480360381019061045491906138a3565b610eaf565b005b34801561046757600080fd5b50610482600480360381019061047d9190613aa1565b610ecf565b005b34801561049057600080fd5b506104ab60048036038101906104a69190613aa1565b610fdd565b6040516104b8919061461f565b60405180910390f35b3480156104cd57600080fd5b506104d6611074565b6040516104e39190614200565b60405180910390f35b61050660048036038101906105019190613aa1565b611087565b005b34801561051457600080fd5b5061052f600480360381019061052a9190613a60565b6111c6565b005b34801561053d57600080fd5b5061055860048036038101906105539190613aa1565b6112e4565b6040516105659190614199565b60405180910390f35b61058860048036038101906105839190613aca565b611396565b005b34801561059657600080fd5b5061059f61153e565b6040516105ac919061461f565b60405180910390f35b3480156105c157600080fd5b506105ca611544565b6040516105d7919061421b565b60405180910390f35b3480156105ec57600080fd5b506106076004803603810190610602919061383e565b6115d2565b6040516106149190614200565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f919061383e565b6116a4565b604051610651919061461f565b60405180910390f35b34801561066657600080fd5b5061066f61175c565b005b34801561067d57600080fd5b506106866117e4565b6040516106939190614200565b60405180910390f35b3480156106a857600080fd5b506106c360048036038101906106be91906139a9565b6117f7565b005b3480156106d157600080fd5b506106da611910565b005b3480156106e857600080fd5b506106f16119b8565b6040516106fe919061461f565b60405180910390f35b34801561071357600080fd5b5061071c6119c4565b6040516107299190614199565b60405180910390f35b34801561073e57600080fd5b506107476119ee565b604051610754919061421b565b60405180910390f35b34801561076957600080fd5b50610784600480360381019061077f919061396d565b611a80565b005b34801561079257600080fd5b506107ad60048036038101906107a8919061396d565b611b57565b005b3480156107bb57600080fd5b506107d660048036038101906107d191906138f2565b611b6d565b005b3480156107e457600080fd5b506107ed611bcf565b6040516107fa9190614200565b60405180910390f35b34801561080f57600080fd5b5061082a60048036038101906108259190613aa1565b611be2565b604051610837919061421b565b60405180910390f35b34801561084c57600080fd5b5061086760048036038101906108629190613867565b611c89565b6040516108749190614200565b60405180910390f35b34801561088957600080fd5b50610892611cf9565b60405161089f919061461f565b60405180910390f35b3480156108b457600080fd5b506108cf60048036038101906108ca919061383e565b611cfe565b005b3480156108dd57600080fd5b506108f860048036038101906108f391906139a9565b611df6565b005b34801561090657600080fd5b5061090f611f23565b60405161091c919061461f565b60405180910390f35b600b6020528060005260406000206000915090505481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b057506109af82611f29565b5b9050919050565b6060600080546109c690614906565b80601f01602080910402602001604051908101604052809291908181526020018280546109f290614906565b8015610a3f5780601f10610a1457610100808354040283529160200191610a3f565b820191906000526020600020905b815481529060010190602001808311610a2257829003601f168201915b5050505050905090565b6000600f6000610a5761200b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610aad5760009050610ab9565b610ab682612013565b90505b919050565b6000610ac9826112e4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b319061453f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b5961200b565b73ffffffffffffffffffffffffffffffffffffffff161480610b885750610b8781610b8261200b565b611c89565b5b610bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbe9061437f565b60405180910390fd5b610bd18383612098565b505050565b610bde61200b565b73ffffffffffffffffffffffffffffffffffffffff16610bfc6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c499061449f565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b6000600880549050905090565b610c9c610c9661200b565b82612151565b610cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd29061457f565b60405180910390fd5b610ce683838361222f565b505050565b610cf361200b565b73ffffffffffffffffffffffffffffffffffffffff16610d116119c4565b73ffffffffffffffffffffffffffffffffffffffff1614610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e9061449f565b60405180910390fd5b80600e8190555050565b6000610d7c836116a4565b8210610dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db49061427f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e1e61200b565b73ffffffffffffffffffffffffffffffffffffffff16610e3c6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614610e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e899061449f565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b610eca83838360405180602001604052806000815250611b6d565b505050565b610ed761200b565b73ffffffffffffffffffffffffffffffffffffffff16610ef56119c4565b73ffffffffffffffffffffffffffffffffffffffff1614610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f429061449f565b60405180910390fd5b600d60009054906101000a900460ff16610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f91906144ff565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207610fc583611be2565b604051610fd2919061421b565b60405180910390a250565b6000610fe7610c7e565b8210611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101f906145bf565b60405180910390fd5b60088281548110611062577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600d60029054906101000a900460ff1681565b600d60019054906101000a900460ff166110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd906143df565b60405180910390fd5b600381600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111239190614724565b1115611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115b9061425f565b60405180910390fd5b348167011c37937e08000061117991906147ab565b146111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b09061443f565b60405180910390fd5b6111c3338261248b565b50565b6111ce61200b565b73ffffffffffffffffffffffffffffffffffffffff166111ec6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611242576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112399061449f565b60405180910390fd5b600d60009054906101000a900460ff1615611292576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611289906142ff565b60405180910390fd5b80600c90805190602001906112a89291906135ee565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6600c6040516112d9919061423d565b60405180910390a150565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561138d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611384906143bf565b60405180910390fd5b80915050919050565b600d60029054906101000a900460ff1680156113bf5750600d60019054906101000a900460ff16155b6113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f5906143ff565b60405180910390fd5b61140a338484846125bd565b611449576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611440906145df565b60405180910390fd5b8260ff1684600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114989190614724565b11156114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d09061459f565b60405180910390fd5b348467011c37937e0800006114ee91906147ab565b1461152e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115259061443f565b60405180910390fd5b611538338561248b565b50505050565b61271081565b600c805461155190614906565b80601f016020809104026020016040519081016040528092919081815260200182805461157d90614906565b80156115ca5780601f1061159f576101008083540402835291602001916115ca565b820191906000526020600020905b8154815290600101906020018083116115ad57829003601f168201915b505050505081565b60006115dc61200b565b73ffffffffffffffffffffffffffffffffffffffff166115fa6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611650576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116479061449f565b60405180910390fd5b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170c9061439f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61176461200b565b73ffffffffffffffffffffffffffffffffffffffff166117826119c4565b73ffffffffffffffffffffffffffffffffffffffff16146117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf9061449f565b60405180910390fd5b6117e26000612644565b565b600d60009054906101000a900460ff1681565b6117ff61200b565b73ffffffffffffffffffffffffffffffffffffffff1661181d6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a9061449f565b60405180910390fd5b6102c181600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118c19190614724565b1115611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f9906145ff565b60405180910390fd5b61190c828261248b565b5050565b61191861200b565b73ffffffffffffffffffffffffffffffffffffffff166119366119c4565b73ffffffffffffffffffffffffffffffffffffffff161461198c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119839061449f565b60405180910390fd5b600d60029054906101000a900460ff1615600d60026101000a81548160ff021916908315150217905550565b67011c37937e08000081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546119fd90614906565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2990614906565b8015611a765780601f10611a4b57610100808354040283529160200191611a76565b820191906000526020600020905b815481529060010190602001808311611a5957829003601f168201915b5050505050905090565b611a8861200b565b73ffffffffffffffffffffffffffffffffffffffff16611aa66119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af39061449f565b60405180910390fd5b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b611b69611b6261200b565b838361270a565b5050565b611b7e611b7861200b565b83612151565b611bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb49061457f565b60405180910390fd5b611bc984848484612877565b50505050565b600d60019054906101000a900460ff1681565b6060611bed826128d3565b611c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c23906144df565b60405180910390fd5b6000611c3661293f565b90506000815111611c565760405180602001604052806000815250611c81565b80611c60846129d1565b604051602001611c71929190614160565b6040516020818303038152906040525b915050919050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611ce65760009050611cf3565b611cf08383612b7e565b90505b92915050565b600381565b611d0661200b565b73ffffffffffffffffffffffffffffffffffffffff16611d246119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d719061449f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de1906142bf565b60405180910390fd5b611df381612644565b50565b611dfe61200b565b73ffffffffffffffffffffffffffffffffffffffff16611e1c6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e699061449f565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611e9890614184565b60006040518083038185875af1925050503d8060008114611ed5576040519150601f19603f3d011682016040523d82523d6000602084013e611eda565b606091505b5050905080611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f159061451f565b60405180910390fd5b505050565b6102c181565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ff457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612004575061200382612c12565b5b9050919050565b600033905090565b600061201e826128d3565b61205d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120549061447f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661210b836112e4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061215c826128d3565b61219b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121929061435f565b60405180910390fd5b60006121a6836112e4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061221557508373ffffffffffffffffffffffffffffffffffffffff166121fd84610a49565b73ffffffffffffffffffffffffffffffffffffffff16145b8061222657506122258185611c89565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661224f826112e4565b73ffffffffffffffffffffffffffffffffffffffff16146122a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229c906144bf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230c9061431f565b60405180910390fd5b612320838383612c7c565b61232b600082612098565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461237b9190614805565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123d29190614724565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612495610c7e565b905061271082826124a69190614724565b11156124e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124de9061445f565b60405180910390fd5b6000821161252a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125219061455f565b60405180910390fd5b6000600190505b8281116125b7576001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125889190614724565b925050819055506125a484828461259f9190614724565b612d90565b80806125af90614969565b915050612531565b50505050565b60008085856040516020016125d3929190614108565b604051602081830303815290604052805190602001209050612639848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5483612dae565b915050949350505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612779576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127709061433f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161286a9190614200565b60405180910390a3505050565b61288284848461222f565b61288e84848484612dc5565b6128cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c49061429f565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600c805461294e90614906565b80601f016020809104026020016040519081016040528092919081815260200182805461297a90614906565b80156129c75780601f1061299c576101008083540402835291602001916129c7565b820191906000526020600020905b8154815290600101906020018083116129aa57829003601f168201915b5050505050905090565b60606000821415612a19576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b79565b600082905060005b60008214612a4b578080612a3490614969565b915050600a82612a44919061477a565b9150612a21565b60008167ffffffffffffffff811115612a8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612abf5781602001600182028036833780820191505090505b5090505b60008514612b7257600182612ad89190614805565b9150600a85612ae791906149f2565b6030612af39190614724565b60f81b818381518110612b2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b6b919061477a565b9450612ac3565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c87838383612f5c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cca57612cc581612f61565b612d09565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d0857612d078382612faa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d4c57612d4781613117565b612d8b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d8a57612d89828261325a565b5b5b505050565b612daa8282604051806020016040528060008152506132d9565b5050565b600082612dbb8584613334565b1490509392505050565b6000612de68473ffffffffffffffffffffffffffffffffffffffff1661340d565b15612f4f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e0f61200b565b8786866040518563ffffffff1660e01b8152600401612e3194939291906141b4565b602060405180830381600087803b158015612e4b57600080fd5b505af1925050508015612e7c57506040513d601f19601f82011682018060405250810190612e799190613a37565b60015b612eff573d8060008114612eac576040519150601f19603f3d011682016040523d82523d6000602084013e612eb1565b606091505b50600081511415612ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eee9061429f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f54565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612fb7846116a4565b612fc19190614805565b90506000600760008481526020019081526020016000205490508181146130a6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061312b9190614805565b9050600060096000848152602001908152602001600020549050600060088381548110613181577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106131c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061323e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613265836116a4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6132e38383613420565b6132f06000848484612dc5565b61332f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133269061429f565b60405180910390fd5b505050565b60008082905060005b8451811015613402576000858281518110613381577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116133c25782816040516020016133a5929190614134565b6040516020818303038152906040528051906020012092506133ee565b80836040516020016133d5929190614134565b6040516020818303038152906040528051906020012092505b5080806133fa90614969565b91505061333d565b508091505092915050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613490576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134879061441f565b60405180910390fd5b613499816128d3565b156134d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d0906142df565b60405180910390fd5b6134e560008383612c7c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135359190614724565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546135fa90614906565b90600052602060002090601f01602090048101928261361c5760008555613663565b82601f1061363557805160ff1916838001178555613663565b82800160010185558215613663579182015b82811115613662578251825591602001919060010190613647565b5b5090506136709190613674565b5090565b5b8082111561368d576000816000905550600101613675565b5090565b60006136a461369f8461465f565b61463a565b9050828152602081018484840111156136bc57600080fd5b6136c78482856148c4565b509392505050565b60006136e26136dd84614690565b61463a565b9050828152602081018484840111156136fa57600080fd5b6137058482856148c4565b509392505050565b60008135905061371c81615261565b92915050565b60008083601f84011261373457600080fd5b8235905067ffffffffffffffff81111561374d57600080fd5b60208301915083602082028301111561376557600080fd5b9250929050565b60008135905061377b81615278565b92915050565b6000813590506137908161528f565b92915050565b6000813590506137a5816152a6565b92915050565b6000815190506137ba816152a6565b92915050565b600082601f8301126137d157600080fd5b81356137e1848260208601613691565b91505092915050565b600082601f8301126137fb57600080fd5b813561380b8482602086016136cf565b91505092915050565b600081359050613823816152bd565b92915050565b600081359050613838816152d4565b92915050565b60006020828403121561385057600080fd5b600061385e8482850161370d565b91505092915050565b6000806040838503121561387a57600080fd5b60006138888582860161370d565b92505060206138998582860161370d565b9150509250929050565b6000806000606084860312156138b857600080fd5b60006138c68682870161370d565b93505060206138d78682870161370d565b92505060406138e886828701613814565b9150509250925092565b6000806000806080858703121561390857600080fd5b60006139168782880161370d565b94505060206139278782880161370d565b935050604061393887828801613814565b925050606085013567ffffffffffffffff81111561395557600080fd5b613961878288016137c0565b91505092959194509250565b6000806040838503121561398057600080fd5b600061398e8582860161370d565b925050602061399f8582860161376c565b9150509250929050565b600080604083850312156139bc57600080fd5b60006139ca8582860161370d565b92505060206139db85828601613814565b9150509250929050565b6000602082840312156139f757600080fd5b6000613a0584828501613781565b91505092915050565b600060208284031215613a2057600080fd5b6000613a2e84828501613796565b91505092915050565b600060208284031215613a4957600080fd5b6000613a57848285016137ab565b91505092915050565b600060208284031215613a7257600080fd5b600082013567ffffffffffffffff811115613a8c57600080fd5b613a98848285016137ea565b91505092915050565b600060208284031215613ab357600080fd5b6000613ac184828501613814565b91505092915050565b60008060008060608587031215613ae057600080fd5b6000613aee87828801613814565b9450506020613aff87828801613829565b935050604085013567ffffffffffffffff811115613b1c57600080fd5b613b2887828801613722565b925092505092959194509250565b613b3f81614839565b82525050565b613b56613b5182614839565b6149b2565b82525050565b613b658161484b565b82525050565b613b7c613b7782614857565b6149c4565b82525050565b6000613b8d826146d6565b613b9781856146ec565b9350613ba78185602086016148d3565b613bb081614adf565b840191505092915050565b6000613bc6826146e1565b613bd08185614708565b9350613be08185602086016148d3565b613be981614adf565b840191505092915050565b6000613bff826146e1565b613c098185614719565b9350613c198185602086016148d3565b80840191505092915050565b60008154613c3281614906565b613c3c8186614708565b94506001821660008114613c575760018114613c6957613c9c565b60ff1983168652602086019350613c9c565b613c72856146c1565b60005b83811015613c9457815481890152600182019150602081019050613c75565b808801955050505b50505092915050565b6000613cb2601f83614708565b9150613cbd82614b0a565b602082019050919050565b6000613cd5602b83614708565b9150613ce082614b33565b604082019050919050565b6000613cf8603283614708565b9150613d0382614b82565b604082019050919050565b6000613d1b602683614708565b9150613d2682614bd1565b604082019050919050565b6000613d3e601c83614708565b9150613d4982614c20565b602082019050919050565b6000613d61601883614708565b9150613d6c82614c49565b602082019050919050565b6000613d84602483614708565b9150613d8f82614c72565b604082019050919050565b6000613da7601983614708565b9150613db282614cc1565b602082019050919050565b6000613dca602c83614708565b9150613dd582614cea565b604082019050919050565b6000613ded603883614708565b9150613df882614d39565b604082019050919050565b6000613e10602a83614708565b9150613e1b82614d88565b604082019050919050565b6000613e33602983614708565b9150613e3e82614dd7565b604082019050919050565b6000613e56601983614708565b9150613e6182614e26565b602082019050919050565b6000613e79601a83614708565b9150613e8482614e4f565b602082019050919050565b6000613e9c602083614708565b9150613ea782614e78565b602082019050919050565b6000613ebf601783614708565b9150613eca82614ea1565b602082019050919050565b6000613ee2601a83614708565b9150613eed82614eca565b602082019050919050565b6000613f05602c83614708565b9150613f1082614ef3565b604082019050919050565b6000613f28602083614708565b9150613f3382614f42565b602082019050919050565b6000613f4b602983614708565b9150613f5682614f6b565b604082019050919050565b6000613f6e602f83614708565b9150613f7982614fba565b604082019050919050565b6000613f91602083614708565b9150613f9c82615009565b602082019050919050565b6000613fb4601883614708565b9150613fbf82615032565b602082019050919050565b6000613fd7602183614708565b9150613fe28261505b565b604082019050919050565b6000613ffa601a83614708565b9150614005826150aa565b602082019050919050565b600061401d6000836146fd565b9150614028826150d3565b600082019050919050565b6000614040603183614708565b915061404b826150d6565b604082019050919050565b6000614063602783614708565b915061406e82615125565b604082019050919050565b6000614086602c83614708565b915061409182615174565b604082019050919050565b60006140a9602783614708565b91506140b4826151c3565b604082019050919050565b60006140cc602283614708565b91506140d782615212565b604082019050919050565b6140eb816148ad565b82525050565b6141026140fd826148b7565b6149e0565b82525050565b60006141148285613b45565b60148201915061412482846140f1565b6001820191508190509392505050565b60006141408285613b6b565b6020820191506141508284613b6b565b6020820191508190509392505050565b600061416c8285613bf4565b91506141788284613bf4565b91508190509392505050565b600061418f82614010565b9150819050919050565b60006020820190506141ae6000830184613b36565b92915050565b60006080820190506141c96000830187613b36565b6141d66020830186613b36565b6141e360408301856140e2565b81810360608301526141f58184613b82565b905095945050505050565b60006020820190506142156000830184613b5c565b92915050565b600060208201905081810360008301526142358184613bbb565b905092915050565b600060208201905081810360008301526142578184613c25565b905092915050565b6000602082019050818103600083015261427881613ca5565b9050919050565b6000602082019050818103600083015261429881613cc8565b9050919050565b600060208201905081810360008301526142b881613ceb565b9050919050565b600060208201905081810360008301526142d881613d0e565b9050919050565b600060208201905081810360008301526142f881613d31565b9050919050565b6000602082019050818103600083015261431881613d54565b9050919050565b6000602082019050818103600083015261433881613d77565b9050919050565b6000602082019050818103600083015261435881613d9a565b9050919050565b6000602082019050818103600083015261437881613dbd565b9050919050565b6000602082019050818103600083015261439881613de0565b9050919050565b600060208201905081810360008301526143b881613e03565b9050919050565b600060208201905081810360008301526143d881613e26565b9050919050565b600060208201905081810360008301526143f881613e49565b9050919050565b6000602082019050818103600083015261441881613e6c565b9050919050565b6000602082019050818103600083015261443881613e8f565b9050919050565b6000602082019050818103600083015261445881613eb2565b9050919050565b6000602082019050818103600083015261447881613ed5565b9050919050565b6000602082019050818103600083015261449881613ef8565b9050919050565b600060208201905081810360008301526144b881613f1b565b9050919050565b600060208201905081810360008301526144d881613f3e565b9050919050565b600060208201905081810360008301526144f881613f61565b9050919050565b6000602082019050818103600083015261451881613f84565b9050919050565b6000602082019050818103600083015261453881613fa7565b9050919050565b6000602082019050818103600083015261455881613fca565b9050919050565b6000602082019050818103600083015261457881613fed565b9050919050565b6000602082019050818103600083015261459881614033565b9050919050565b600060208201905081810360008301526145b881614056565b9050919050565b600060208201905081810360008301526145d881614079565b9050919050565b600060208201905081810360008301526145f88161409c565b9050919050565b60006020820190508181036000830152614618816140bf565b9050919050565b600060208201905061463460008301846140e2565b92915050565b6000614644614655565b90506146508282614938565b919050565b6000604051905090565b600067ffffffffffffffff82111561467a57614679614ab0565b5b61468382614adf565b9050602081019050919050565b600067ffffffffffffffff8211156146ab576146aa614ab0565b5b6146b482614adf565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061472f826148ad565b915061473a836148ad565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561476f5761476e614a23565b5b828201905092915050565b6000614785826148ad565b9150614790836148ad565b9250826147a05761479f614a52565b5b828204905092915050565b60006147b6826148ad565b91506147c1836148ad565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147fa576147f9614a23565b5b828202905092915050565b6000614810826148ad565b915061481b836148ad565b92508282101561482e5761482d614a23565b5b828203905092915050565b60006148448261488d565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156148f15780820151818401526020810190506148d6565b83811115614900576000848401525b50505050565b6000600282049050600182168061491e57607f821691505b6020821081141561493257614931614a81565b5b50919050565b61494182614adf565b810181811067ffffffffffffffff821117156149605761495f614ab0565b5b80604052505050565b6000614974826148ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149a7576149a6614a23565b5b600182019050919050565b60006149bd826149ce565b9050919050565b6000819050919050565b60006149d982614afd565b9050919050565b60006149eb82614af0565b9050919050565b60006149fd826148ad565b9150614a08836148ad565b925082614a1857614a17614a52565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160601b9050919050565b7f50757263686173652065786365656473206d6178206d696e7420636f756e7400600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f426173652055524c20697320756e6368616e676561626c650000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f50726573616c652073616c65206973206e6f7420616374697665000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b7f416c6c20426174732068617665206265656e206d696e7465642e000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f426173652055524c206d7573742062652066696e616c697a6564206669727374600082015250565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e6520626174000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f50757263686173652065786365656473206d61782070726573616c65206d696e60008201527f7420636f756e7400000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f41646472657373206e6f7420666f756e6420696e2070726573616c6520616c6c60008201527f6f77206c69737400000000000000000000000000000000000000000000000000602082015250565b7f416c6c20526573657276656420426174732068617665206265656e206d696e7460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b61526a81614839565b811461527557600080fd5b50565b6152818161484b565b811461528c57600080fd5b50565b61529881614857565b81146152a357600080fd5b50565b6152af81614861565b81146152ba57600080fd5b50565b6152c6816148ad565b81146152d157600080fd5b50565b6152dd816148b7565b81146152e857600080fd5b5056fea26469706673582212200408edaf9e9564040ce5e8b30b29a2103e4096ecc275e1fc9a5ada93e8fd728b64736f6c634300080400330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002c68747470733a2f2f6176656e676564736576656e666f6c642e696f2f6465617468626174732f746f6b656e2f0000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061023a5760003560e01c80636c0360eb1161012e57806397c9aa94116100ab578063e985e9c51161006f578063e985e9c514610840578063f0292a031461087d578063f2fde38b146108a8578063f3fef3a3146108d1578063f6771a0f146108fa5761023a565b806397c9aa941461075d578063a22cb46514610786578063b88d4fde146107af578063bc8893b4146107d8578063c87b56dd146108035761023a565b80637de55fe1116100f25780637de55fe11461069c57806389b0649b146106c55780638d859f3e146106dc5780638da5cb5b1461070757806395d89b41146107325761023a565b80636c0360eb146105b55780636ebc7fc0146105e057806370a082311461061d578063715018a61461065a5780637a55deae146106715761023a565b806337c3fdbc116101bc5780635362f03a116101805780635362f03a146104ec57806355f804b3146105085780636352211e14610531578063647432a91461056e57806369128d7c1461058a5761023a565b806337c3fdbc1461041b57806342842e0e146104325780634333adc61461045b5780634f6ccce71461048457806353135ca0146104c15761023a565b80630c894cfe116102035780630c894cfe1461034a57806318160ddd1461036157806323b872dd1461038c57806328d7b276146103b55780632f745c59146103de5761023a565b80623d47901461023f57806301ffc9a71461027c57806306fdde03146102b9578063081812fc146102e4578063095ea7b314610321575b600080fd5b34801561024b57600080fd5b506102666004803603810190610261919061383e565b610925565b604051610273919061461f565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190613a0e565b61093d565b6040516102b09190614200565b60405180910390f35b3480156102c557600080fd5b506102ce6109b7565b6040516102db919061421b565b60405180910390f35b3480156102f057600080fd5b5061030b60048036038101906103069190613aa1565b610a49565b6040516103189190614199565b60405180910390f35b34801561032d57600080fd5b50610348600480360381019061034391906139a9565b610abe565b005b34801561035657600080fd5b5061035f610bd6565b005b34801561036d57600080fd5b50610376610c7e565b604051610383919061461f565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae91906138a3565b610c8b565b005b3480156103c157600080fd5b506103dc60048036038101906103d791906139e5565b610ceb565b005b3480156103ea57600080fd5b50610405600480360381019061040091906139a9565b610d71565b604051610412919061461f565b60405180910390f35b34801561042757600080fd5b50610430610e16565b005b34801561043e57600080fd5b50610459600480360381019061045491906138a3565b610eaf565b005b34801561046757600080fd5b50610482600480360381019061047d9190613aa1565b610ecf565b005b34801561049057600080fd5b506104ab60048036038101906104a69190613aa1565b610fdd565b6040516104b8919061461f565b60405180910390f35b3480156104cd57600080fd5b506104d6611074565b6040516104e39190614200565b60405180910390f35b61050660048036038101906105019190613aa1565b611087565b005b34801561051457600080fd5b5061052f600480360381019061052a9190613a60565b6111c6565b005b34801561053d57600080fd5b5061055860048036038101906105539190613aa1565b6112e4565b6040516105659190614199565b60405180910390f35b61058860048036038101906105839190613aca565b611396565b005b34801561059657600080fd5b5061059f61153e565b6040516105ac919061461f565b60405180910390f35b3480156105c157600080fd5b506105ca611544565b6040516105d7919061421b565b60405180910390f35b3480156105ec57600080fd5b506106076004803603810190610602919061383e565b6115d2565b6040516106149190614200565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f919061383e565b6116a4565b604051610651919061461f565b60405180910390f35b34801561066657600080fd5b5061066f61175c565b005b34801561067d57600080fd5b506106866117e4565b6040516106939190614200565b60405180910390f35b3480156106a857600080fd5b506106c360048036038101906106be91906139a9565b6117f7565b005b3480156106d157600080fd5b506106da611910565b005b3480156106e857600080fd5b506106f16119b8565b6040516106fe919061461f565b60405180910390f35b34801561071357600080fd5b5061071c6119c4565b6040516107299190614199565b60405180910390f35b34801561073e57600080fd5b506107476119ee565b604051610754919061421b565b60405180910390f35b34801561076957600080fd5b50610784600480360381019061077f919061396d565b611a80565b005b34801561079257600080fd5b506107ad60048036038101906107a8919061396d565b611b57565b005b3480156107bb57600080fd5b506107d660048036038101906107d191906138f2565b611b6d565b005b3480156107e457600080fd5b506107ed611bcf565b6040516107fa9190614200565b60405180910390f35b34801561080f57600080fd5b5061082a60048036038101906108259190613aa1565b611be2565b604051610837919061421b565b60405180910390f35b34801561084c57600080fd5b5061086760048036038101906108629190613867565b611c89565b6040516108749190614200565b60405180910390f35b34801561088957600080fd5b50610892611cf9565b60405161089f919061461f565b60405180910390f35b3480156108b457600080fd5b506108cf60048036038101906108ca919061383e565b611cfe565b005b3480156108dd57600080fd5b506108f860048036038101906108f391906139a9565b611df6565b005b34801561090657600080fd5b5061090f611f23565b60405161091c919061461f565b60405180910390f35b600b6020528060005260406000206000915090505481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b057506109af82611f29565b5b9050919050565b6060600080546109c690614906565b80601f01602080910402602001604051908101604052809291908181526020018280546109f290614906565b8015610a3f5780601f10610a1457610100808354040283529160200191610a3f565b820191906000526020600020905b815481529060010190602001808311610a2257829003601f168201915b5050505050905090565b6000600f6000610a5761200b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610aad5760009050610ab9565b610ab682612013565b90505b919050565b6000610ac9826112e4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b319061453f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b5961200b565b73ffffffffffffffffffffffffffffffffffffffff161480610b885750610b8781610b8261200b565b611c89565b5b610bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbe9061437f565b60405180910390fd5b610bd18383612098565b505050565b610bde61200b565b73ffffffffffffffffffffffffffffffffffffffff16610bfc6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c499061449f565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b6000600880549050905090565b610c9c610c9661200b565b82612151565b610cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd29061457f565b60405180910390fd5b610ce683838361222f565b505050565b610cf361200b565b73ffffffffffffffffffffffffffffffffffffffff16610d116119c4565b73ffffffffffffffffffffffffffffffffffffffff1614610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e9061449f565b60405180910390fd5b80600e8190555050565b6000610d7c836116a4565b8210610dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db49061427f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e1e61200b565b73ffffffffffffffffffffffffffffffffffffffff16610e3c6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614610e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e899061449f565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b610eca83838360405180602001604052806000815250611b6d565b505050565b610ed761200b565b73ffffffffffffffffffffffffffffffffffffffff16610ef56119c4565b73ffffffffffffffffffffffffffffffffffffffff1614610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f429061449f565b60405180910390fd5b600d60009054906101000a900460ff16610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f91906144ff565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207610fc583611be2565b604051610fd2919061421b565b60405180910390a250565b6000610fe7610c7e565b8210611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101f906145bf565b60405180910390fd5b60088281548110611062577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600d60029054906101000a900460ff1681565b600d60019054906101000a900460ff166110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd906143df565b60405180910390fd5b600381600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111239190614724565b1115611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115b9061425f565b60405180910390fd5b348167011c37937e08000061117991906147ab565b146111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b09061443f565b60405180910390fd5b6111c3338261248b565b50565b6111ce61200b565b73ffffffffffffffffffffffffffffffffffffffff166111ec6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611242576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112399061449f565b60405180910390fd5b600d60009054906101000a900460ff1615611292576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611289906142ff565b60405180910390fd5b80600c90805190602001906112a89291906135ee565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6600c6040516112d9919061423d565b60405180910390a150565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561138d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611384906143bf565b60405180910390fd5b80915050919050565b600d60029054906101000a900460ff1680156113bf5750600d60019054906101000a900460ff16155b6113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f5906143ff565b60405180910390fd5b61140a338484846125bd565b611449576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611440906145df565b60405180910390fd5b8260ff1684600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114989190614724565b11156114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d09061459f565b60405180910390fd5b348467011c37937e0800006114ee91906147ab565b1461152e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115259061443f565b60405180910390fd5b611538338561248b565b50505050565b61271081565b600c805461155190614906565b80601f016020809104026020016040519081016040528092919081815260200182805461157d90614906565b80156115ca5780601f1061159f576101008083540402835291602001916115ca565b820191906000526020600020905b8154815290600101906020018083116115ad57829003601f168201915b505050505081565b60006115dc61200b565b73ffffffffffffffffffffffffffffffffffffffff166115fa6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611650576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116479061449f565b60405180910390fd5b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170c9061439f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61176461200b565b73ffffffffffffffffffffffffffffffffffffffff166117826119c4565b73ffffffffffffffffffffffffffffffffffffffff16146117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf9061449f565b60405180910390fd5b6117e26000612644565b565b600d60009054906101000a900460ff1681565b6117ff61200b565b73ffffffffffffffffffffffffffffffffffffffff1661181d6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a9061449f565b60405180910390fd5b6102c181600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118c19190614724565b1115611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f9906145ff565b60405180910390fd5b61190c828261248b565b5050565b61191861200b565b73ffffffffffffffffffffffffffffffffffffffff166119366119c4565b73ffffffffffffffffffffffffffffffffffffffff161461198c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119839061449f565b60405180910390fd5b600d60029054906101000a900460ff1615600d60026101000a81548160ff021916908315150217905550565b67011c37937e08000081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546119fd90614906565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2990614906565b8015611a765780601f10611a4b57610100808354040283529160200191611a76565b820191906000526020600020905b815481529060010190602001808311611a5957829003601f168201915b5050505050905090565b611a8861200b565b73ffffffffffffffffffffffffffffffffffffffff16611aa66119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af39061449f565b60405180910390fd5b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b611b69611b6261200b565b838361270a565b5050565b611b7e611b7861200b565b83612151565b611bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb49061457f565b60405180910390fd5b611bc984848484612877565b50505050565b600d60019054906101000a900460ff1681565b6060611bed826128d3565b611c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c23906144df565b60405180910390fd5b6000611c3661293f565b90506000815111611c565760405180602001604052806000815250611c81565b80611c60846129d1565b604051602001611c71929190614160565b6040516020818303038152906040525b915050919050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611ce65760009050611cf3565b611cf08383612b7e565b90505b92915050565b600381565b611d0661200b565b73ffffffffffffffffffffffffffffffffffffffff16611d246119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d719061449f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de1906142bf565b60405180910390fd5b611df381612644565b50565b611dfe61200b565b73ffffffffffffffffffffffffffffffffffffffff16611e1c6119c4565b73ffffffffffffffffffffffffffffffffffffffff1614611e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e699061449f565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611e9890614184565b60006040518083038185875af1925050503d8060008114611ed5576040519150601f19603f3d011682016040523d82523d6000602084013e611eda565b606091505b5050905080611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f159061451f565b60405180910390fd5b505050565b6102c181565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ff457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612004575061200382612c12565b5b9050919050565b600033905090565b600061201e826128d3565b61205d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120549061447f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661210b836112e4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061215c826128d3565b61219b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121929061435f565b60405180910390fd5b60006121a6836112e4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061221557508373ffffffffffffffffffffffffffffffffffffffff166121fd84610a49565b73ffffffffffffffffffffffffffffffffffffffff16145b8061222657506122258185611c89565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661224f826112e4565b73ffffffffffffffffffffffffffffffffffffffff16146122a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229c906144bf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230c9061431f565b60405180910390fd5b612320838383612c7c565b61232b600082612098565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461237b9190614805565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123d29190614724565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612495610c7e565b905061271082826124a69190614724565b11156124e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124de9061445f565b60405180910390fd5b6000821161252a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125219061455f565b60405180910390fd5b6000600190505b8281116125b7576001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125889190614724565b925050819055506125a484828461259f9190614724565b612d90565b80806125af90614969565b915050612531565b50505050565b60008085856040516020016125d3929190614108565b604051602081830303815290604052805190602001209050612639848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5483612dae565b915050949350505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612779576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127709061433f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161286a9190614200565b60405180910390a3505050565b61288284848461222f565b61288e84848484612dc5565b6128cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c49061429f565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600c805461294e90614906565b80601f016020809104026020016040519081016040528092919081815260200182805461297a90614906565b80156129c75780601f1061299c576101008083540402835291602001916129c7565b820191906000526020600020905b8154815290600101906020018083116129aa57829003601f168201915b5050505050905090565b60606000821415612a19576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b79565b600082905060005b60008214612a4b578080612a3490614969565b915050600a82612a44919061477a565b9150612a21565b60008167ffffffffffffffff811115612a8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612abf5781602001600182028036833780820191505090505b5090505b60008514612b7257600182612ad89190614805565b9150600a85612ae791906149f2565b6030612af39190614724565b60f81b818381518110612b2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b6b919061477a565b9450612ac3565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c87838383612f5c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cca57612cc581612f61565b612d09565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d0857612d078382612faa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d4c57612d4781613117565b612d8b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d8a57612d89828261325a565b5b5b505050565b612daa8282604051806020016040528060008152506132d9565b5050565b600082612dbb8584613334565b1490509392505050565b6000612de68473ffffffffffffffffffffffffffffffffffffffff1661340d565b15612f4f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e0f61200b565b8786866040518563ffffffff1660e01b8152600401612e3194939291906141b4565b602060405180830381600087803b158015612e4b57600080fd5b505af1925050508015612e7c57506040513d601f19601f82011682018060405250810190612e799190613a37565b60015b612eff573d8060008114612eac576040519150601f19603f3d011682016040523d82523d6000602084013e612eb1565b606091505b50600081511415612ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eee9061429f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f54565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612fb7846116a4565b612fc19190614805565b90506000600760008481526020019081526020016000205490508181146130a6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061312b9190614805565b9050600060096000848152602001908152602001600020549050600060088381548110613181577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106131c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061323e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613265836116a4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6132e38383613420565b6132f06000848484612dc5565b61332f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133269061429f565b60405180910390fd5b505050565b60008082905060005b8451811015613402576000858281518110613381577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116133c25782816040516020016133a5929190614134565b6040516020818303038152906040528051906020012092506133ee565b80836040516020016133d5929190614134565b6040516020818303038152906040528051906020012092505b5080806133fa90614969565b91505061333d565b508091505092915050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613490576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134879061441f565b60405180910390fd5b613499816128d3565b156134d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d0906142df565b60405180910390fd5b6134e560008383612c7c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135359190614724565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546135fa90614906565b90600052602060002090601f01602090048101928261361c5760008555613663565b82601f1061363557805160ff1916838001178555613663565b82800160010185558215613663579182015b82811115613662578251825591602001919060010190613647565b5b5090506136709190613674565b5090565b5b8082111561368d576000816000905550600101613675565b5090565b60006136a461369f8461465f565b61463a565b9050828152602081018484840111156136bc57600080fd5b6136c78482856148c4565b509392505050565b60006136e26136dd84614690565b61463a565b9050828152602081018484840111156136fa57600080fd5b6137058482856148c4565b509392505050565b60008135905061371c81615261565b92915050565b60008083601f84011261373457600080fd5b8235905067ffffffffffffffff81111561374d57600080fd5b60208301915083602082028301111561376557600080fd5b9250929050565b60008135905061377b81615278565b92915050565b6000813590506137908161528f565b92915050565b6000813590506137a5816152a6565b92915050565b6000815190506137ba816152a6565b92915050565b600082601f8301126137d157600080fd5b81356137e1848260208601613691565b91505092915050565b600082601f8301126137fb57600080fd5b813561380b8482602086016136cf565b91505092915050565b600081359050613823816152bd565b92915050565b600081359050613838816152d4565b92915050565b60006020828403121561385057600080fd5b600061385e8482850161370d565b91505092915050565b6000806040838503121561387a57600080fd5b60006138888582860161370d565b92505060206138998582860161370d565b9150509250929050565b6000806000606084860312156138b857600080fd5b60006138c68682870161370d565b93505060206138d78682870161370d565b92505060406138e886828701613814565b9150509250925092565b6000806000806080858703121561390857600080fd5b60006139168782880161370d565b94505060206139278782880161370d565b935050604061393887828801613814565b925050606085013567ffffffffffffffff81111561395557600080fd5b613961878288016137c0565b91505092959194509250565b6000806040838503121561398057600080fd5b600061398e8582860161370d565b925050602061399f8582860161376c565b9150509250929050565b600080604083850312156139bc57600080fd5b60006139ca8582860161370d565b92505060206139db85828601613814565b9150509250929050565b6000602082840312156139f757600080fd5b6000613a0584828501613781565b91505092915050565b600060208284031215613a2057600080fd5b6000613a2e84828501613796565b91505092915050565b600060208284031215613a4957600080fd5b6000613a57848285016137ab565b91505092915050565b600060208284031215613a7257600080fd5b600082013567ffffffffffffffff811115613a8c57600080fd5b613a98848285016137ea565b91505092915050565b600060208284031215613ab357600080fd5b6000613ac184828501613814565b91505092915050565b60008060008060608587031215613ae057600080fd5b6000613aee87828801613814565b9450506020613aff87828801613829565b935050604085013567ffffffffffffffff811115613b1c57600080fd5b613b2887828801613722565b925092505092959194509250565b613b3f81614839565b82525050565b613b56613b5182614839565b6149b2565b82525050565b613b658161484b565b82525050565b613b7c613b7782614857565b6149c4565b82525050565b6000613b8d826146d6565b613b9781856146ec565b9350613ba78185602086016148d3565b613bb081614adf565b840191505092915050565b6000613bc6826146e1565b613bd08185614708565b9350613be08185602086016148d3565b613be981614adf565b840191505092915050565b6000613bff826146e1565b613c098185614719565b9350613c198185602086016148d3565b80840191505092915050565b60008154613c3281614906565b613c3c8186614708565b94506001821660008114613c575760018114613c6957613c9c565b60ff1983168652602086019350613c9c565b613c72856146c1565b60005b83811015613c9457815481890152600182019150602081019050613c75565b808801955050505b50505092915050565b6000613cb2601f83614708565b9150613cbd82614b0a565b602082019050919050565b6000613cd5602b83614708565b9150613ce082614b33565b604082019050919050565b6000613cf8603283614708565b9150613d0382614b82565b604082019050919050565b6000613d1b602683614708565b9150613d2682614bd1565b604082019050919050565b6000613d3e601c83614708565b9150613d4982614c20565b602082019050919050565b6000613d61601883614708565b9150613d6c82614c49565b602082019050919050565b6000613d84602483614708565b9150613d8f82614c72565b604082019050919050565b6000613da7601983614708565b9150613db282614cc1565b602082019050919050565b6000613dca602c83614708565b9150613dd582614cea565b604082019050919050565b6000613ded603883614708565b9150613df882614d39565b604082019050919050565b6000613e10602a83614708565b9150613e1b82614d88565b604082019050919050565b6000613e33602983614708565b9150613e3e82614dd7565b604082019050919050565b6000613e56601983614708565b9150613e6182614e26565b602082019050919050565b6000613e79601a83614708565b9150613e8482614e4f565b602082019050919050565b6000613e9c602083614708565b9150613ea782614e78565b602082019050919050565b6000613ebf601783614708565b9150613eca82614ea1565b602082019050919050565b6000613ee2601a83614708565b9150613eed82614eca565b602082019050919050565b6000613f05602c83614708565b9150613f1082614ef3565b604082019050919050565b6000613f28602083614708565b9150613f3382614f42565b602082019050919050565b6000613f4b602983614708565b9150613f5682614f6b565b604082019050919050565b6000613f6e602f83614708565b9150613f7982614fba565b604082019050919050565b6000613f91602083614708565b9150613f9c82615009565b602082019050919050565b6000613fb4601883614708565b9150613fbf82615032565b602082019050919050565b6000613fd7602183614708565b9150613fe28261505b565b604082019050919050565b6000613ffa601a83614708565b9150614005826150aa565b602082019050919050565b600061401d6000836146fd565b9150614028826150d3565b600082019050919050565b6000614040603183614708565b915061404b826150d6565b604082019050919050565b6000614063602783614708565b915061406e82615125565b604082019050919050565b6000614086602c83614708565b915061409182615174565b604082019050919050565b60006140a9602783614708565b91506140b4826151c3565b604082019050919050565b60006140cc602283614708565b91506140d782615212565b604082019050919050565b6140eb816148ad565b82525050565b6141026140fd826148b7565b6149e0565b82525050565b60006141148285613b45565b60148201915061412482846140f1565b6001820191508190509392505050565b60006141408285613b6b565b6020820191506141508284613b6b565b6020820191508190509392505050565b600061416c8285613bf4565b91506141788284613bf4565b91508190509392505050565b600061418f82614010565b9150819050919050565b60006020820190506141ae6000830184613b36565b92915050565b60006080820190506141c96000830187613b36565b6141d66020830186613b36565b6141e360408301856140e2565b81810360608301526141f58184613b82565b905095945050505050565b60006020820190506142156000830184613b5c565b92915050565b600060208201905081810360008301526142358184613bbb565b905092915050565b600060208201905081810360008301526142578184613c25565b905092915050565b6000602082019050818103600083015261427881613ca5565b9050919050565b6000602082019050818103600083015261429881613cc8565b9050919050565b600060208201905081810360008301526142b881613ceb565b9050919050565b600060208201905081810360008301526142d881613d0e565b9050919050565b600060208201905081810360008301526142f881613d31565b9050919050565b6000602082019050818103600083015261431881613d54565b9050919050565b6000602082019050818103600083015261433881613d77565b9050919050565b6000602082019050818103600083015261435881613d9a565b9050919050565b6000602082019050818103600083015261437881613dbd565b9050919050565b6000602082019050818103600083015261439881613de0565b9050919050565b600060208201905081810360008301526143b881613e03565b9050919050565b600060208201905081810360008301526143d881613e26565b9050919050565b600060208201905081810360008301526143f881613e49565b9050919050565b6000602082019050818103600083015261441881613e6c565b9050919050565b6000602082019050818103600083015261443881613e8f565b9050919050565b6000602082019050818103600083015261445881613eb2565b9050919050565b6000602082019050818103600083015261447881613ed5565b9050919050565b6000602082019050818103600083015261449881613ef8565b9050919050565b600060208201905081810360008301526144b881613f1b565b9050919050565b600060208201905081810360008301526144d881613f3e565b9050919050565b600060208201905081810360008301526144f881613f61565b9050919050565b6000602082019050818103600083015261451881613f84565b9050919050565b6000602082019050818103600083015261453881613fa7565b9050919050565b6000602082019050818103600083015261455881613fca565b9050919050565b6000602082019050818103600083015261457881613fed565b9050919050565b6000602082019050818103600083015261459881614033565b9050919050565b600060208201905081810360008301526145b881614056565b9050919050565b600060208201905081810360008301526145d881614079565b9050919050565b600060208201905081810360008301526145f88161409c565b9050919050565b60006020820190508181036000830152614618816140bf565b9050919050565b600060208201905061463460008301846140e2565b92915050565b6000614644614655565b90506146508282614938565b919050565b6000604051905090565b600067ffffffffffffffff82111561467a57614679614ab0565b5b61468382614adf565b9050602081019050919050565b600067ffffffffffffffff8211156146ab576146aa614ab0565b5b6146b482614adf565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061472f826148ad565b915061473a836148ad565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561476f5761476e614a23565b5b828201905092915050565b6000614785826148ad565b9150614790836148ad565b9250826147a05761479f614a52565b5b828204905092915050565b60006147b6826148ad565b91506147c1836148ad565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147fa576147f9614a23565b5b828202905092915050565b6000614810826148ad565b915061481b836148ad565b92508282101561482e5761482d614a23565b5b828203905092915050565b60006148448261488d565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156148f15780820151818401526020810190506148d6565b83811115614900576000848401525b50505050565b6000600282049050600182168061491e57607f821691505b6020821081141561493257614931614a81565b5b50919050565b61494182614adf565b810181811067ffffffffffffffff821117156149605761495f614ab0565b5b80604052505050565b6000614974826148ad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149a7576149a6614a23565b5b600182019050919050565b60006149bd826149ce565b9050919050565b6000819050919050565b60006149d982614afd565b9050919050565b60006149eb82614af0565b9050919050565b60006149fd826148ad565b9150614a08836148ad565b925082614a1857614a17614a52565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160601b9050919050565b7f50757263686173652065786365656473206d6178206d696e7420636f756e7400600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f426173652055524c20697320756e6368616e676561626c650000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f50726573616c652073616c65206973206e6f7420616374697665000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b7f416c6c20426174732068617665206265656e206d696e7465642e000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f426173652055524c206d7573742062652066696e616c697a6564206669727374600082015250565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e6520626174000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f50757263686173652065786365656473206d61782070726573616c65206d696e60008201527f7420636f756e7400000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f41646472657373206e6f7420666f756e6420696e2070726573616c6520616c6c60008201527f6f77206c69737400000000000000000000000000000000000000000000000000602082015250565b7f416c6c20526573657276656420426174732068617665206265656e206d696e7460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b61526a81614839565b811461527557600080fd5b50565b6152818161484b565b811461528c57600080fd5b50565b61529881614857565b81146152a357600080fd5b50565b6152af81614861565b81146152ba57600080fd5b50565b6152c6816148ad565b81146152d157600080fd5b50565b6152dd816148b7565b81146152e857600080fd5b5056fea26469706673582212200408edaf9e9564040ce5e8b30b29a2103e4096ecc275e1fc9a5ada93e8fd728b64736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002c68747470733a2f2f6176656e676564736576656e666f6c642e696f2f6465617468626174732f746f6b656e2f0000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initialBaseURI (string): https://avengedsevenfold.io/deathbats/token/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002c
Arg [2] : 68747470733a2f2f6176656e676564736576656e666f6c642e696f2f64656174
Arg [3] : 68626174732f746f6b656e2f0000000000000000000000000000000000000000


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