ETH Price: $3,083.53 (-1.14%)
Gas: 2 Gwei

Token

ShangHai Qing (SHQ)
 

Overview

Max Total Supply

1,000 SHQ

Holders

650

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
yihaotian.eth
Balance
2 SHQ
0xE8c8f12cCB61fD25EcC5E391E99f69a971526C99
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
ShangHaiQingNFT

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

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

import "./ERC721A.sol";

contract ShangHaiQingNFT is ERC721A, Ownable, ReentrancyGuard {
    using ECDSA for bytes32;

    enum Status {
        Pending,
        PreSale,
        PublicSale,
        Finished
    }

    Status public status;

    string private _uri;
    address  private _signer;
    mapping(address => uint256) private _publicNumberMinted;

    uint256 public immutable maxTotalSupply;
    uint256 public immutable PreMaxMint;
    uint256 public immutable PublicMaxMint;

    event PaymentReleased(address to, uint256 amount);

    constructor(string memory initURI, address signer) ERC721A("ShangHai Qing", "SHQ", 3) {
        _uri = initURI;
        maxTotalSupply = 1000;
        PreMaxMint = 2;
        PublicMaxMint = 1;
        _signer = signer;
    }

    function _hash(string calldata salt, address _address) internal view returns (bytes32)
    {
        return keccak256(abi.encode(salt, address(this), _address));
    }

    function _verify(bytes32 hash, bytes memory token) internal view returns (bool)
    {
        return _signer == _recover(hash, token);
    }

    function _recover(bytes32 hash, bytes memory token) internal pure returns (address)
    {
        return hash.toEthSignedMessageHash().recover(token);
    }

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

    function setURI(string memory newuri) public virtual onlyOwner{
        _uri = newuri;
    }

    function mint(string calldata salt, bytes calldata token) external{
        require(status == Status.PublicSale, "SHQE006");
        require(_verify(_hash(salt, msg.sender), token), "SHQE001");
        require(publicNumberMinted(msg.sender) + PublicMaxMint <= PublicMaxMint, "SHQE008");
        _safeMint(msg.sender,PublicMaxMint);
        _publicNumberMinted[msg.sender] = _publicNumberMinted[msg.sender] + 1;
    }

    function preSaleMint(
        uint256 num,
        string calldata salt,
        bytes calldata token
    ) external{
        require(status == Status.PreSale, "SHQE006");
        require(num > 0 && num <= PreMaxMint, "SHQE002");
        require(_verify(_hash(salt, msg.sender), token), "SHQE001");
        require(numberMinted(msg.sender) + num <= PreMaxMint, "SHQE008");
        _safeMint(msg.sender,num);
    }

    function setStatus(Status _status) external onlyOwner {
        status = _status;
    }

    function setSigner(address signer) external onlyOwner {
        _signer = signer;
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function publicNumberMinted(address owner) public view returns (uint256) {
        require(
            owner != address(0),
            "ERC721A: number minted query for the zero address"
        );
        return _publicNumberMinted[owner];
    }

    function release() public virtual nonReentrant onlyOwner{
        require(address(this).balance > 0, "SHQE005");
        Address.sendValue(payable(owner()), address(this).balance);
        emit PaymentReleased(owner(), address(this).balance);
    }
}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 3 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 4 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

File 5 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creators: locationtba.eth, 2pmflow.eth

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
Context,
ERC165,
IERC721,
IERC721Metadata,
IERC721Enumerable
{
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 private currentIndex = 0;

    uint256 internal immutable maxBatchSize;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) private _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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
     * `maxBatchSize` refers to how much a minter can mint at a time.
     */
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxBatchSize_
    ) {
        require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
        _name = name_;
        _symbol = symbol_;
        maxBatchSize = maxBatchSize_;
    }

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

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
    {
        require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert("ERC721A: unable to get token of owner by index");
    }

    /**
     * @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 ||
        interfaceId == type(IERC721Enumerable).interfaceId ||
        super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(
            owner != address(0),
            "ERC721A: number minted query for the zero address"
        );
        return uint256(_addressData[owner].numberMinted);
    }

    function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
    {
        require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

        uint256 lowestTokenToCheck;
        if (tokenId >= maxBatchSize) {
            lowestTokenToCheck = tokenId - maxBatchSize + 1;
        }

        for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0)) {
                return ownership;
            }
        }

        revert("ERC721A: unable to determine the owner of token");
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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 override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, "ERC721A: approval to current owner");

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), "ERC721A: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, "");
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` cannot be larger than the max batch size.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), "ERC721A: mint to the zero address");
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), "ERC721A: token already minted");
        require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        AddressData memory addressData = _addressData[to];
        _addressData[to] = AddressData(
            addressData.balance + uint128(quantity),
            addressData.numberMinted + uint128(quantity)
        );
        _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            require(
                _checkOnERC721Received(address(0), to, updatedIndex, _data),
                "ERC721A: transfer to non ERC721Receiver implementer"
            );
            updatedIndex++;
        }

        currentIndex = updatedIndex;
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
        getApproved(tokenId) == _msgSender() ||
        isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(
            isApprovedOrOwner,
            "ERC721A: transfer caller is not owner nor approved"
        );

        require(
            prevOwnership.addr == from,
            "ERC721A: transfer from incorrect owner"
        );
        require(to != address(0), "ERC721A: transfer to the zero address");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        _addressData[from].balance -= 1;
        _addressData[to].balance += 1;
        _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId] = TokenOwnership(
                    prevOwnership.addr,
                    prevOwnership.startTimestamp
                );
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

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

    uint256 public nextOwnerToExplicitlySet = 0;

    /**
     * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
     */
    function _setOwnersExplicit(uint256 quantity) internal {
        uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
        require(quantity > 0, "quantity must be nonzero");
        uint256 endIndex = oldNextOwnerToSet + quantity - 1;
        if (endIndex > currentIndex - 1) {
            endIndex = currentIndex - 1;
        }
        // We know if the last one in the group exists, all in the group exist, due to serial ordering.
        require(_exists(endIndex), "not enough minted yet for this cleanup");
        for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
            if (_ownerships[i].addr == address(0)) {
                TokenOwnership memory ownership = ownershipOf(i);
                _ownerships[i] = TokenOwnership(
                    ownership.addr,
                    ownership.startTimestamp
                );
            }
        }
        nextOwnerToExplicitlySet = endIndex + 1;
    }

    /**
     * @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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721A: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 6 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 7 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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);
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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":"initURI","type":"string"},{"internalType":"address","name":"signer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":"PreMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PublicMaxMint","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":[{"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":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"salt","type":"string"},{"internalType":"bytes","name":"token","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"string","name":"salt","type":"string"},{"internalType":"bytes","name":"token","type":"bytes"}],"name":"preSaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"publicNumberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"release","outputs":[],"stateMutability":"nonpayable","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":"address","name":"signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum ShangHaiQingNFT.Status","name":"_status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"enum ShangHaiQingNFT.Status","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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"}]

6101006040526000805560006007553480156200001b57600080fd5b5060405162005ef738038062005ef78339818101604052810190620000419190620003df565b6040518060400160405280600d81526020017f5368616e674861692051696e67000000000000000000000000000000000000008152506040518060400160405280600381526020017f5348510000000000000000000000000000000000000000000000000000000000815250600360008111620000f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ec9062000460565b60405180910390fd5b82600190805190602001906200010d929190620002a6565b50816002908051906020019062000126929190620002a6565b5080608081815250505050506200015262000146620001d860201b60201c565b620001e060201b60201c565b600160098190555081600b908051906020019062000172929190620002a6565b506103e860a08181525050600260c08181525050600160e0818152505080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620006a0565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002b4906200055c565b90600052602060002090601f016020900481019282620002d8576000855562000324565b82601f10620002f357805160ff191683800117855562000324565b8280016001018555821562000324579182015b828111156200032357825182559160200191906001019062000306565b5b50905062000333919062000337565b5090565b5b808211156200035257600081600090555060010162000338565b5090565b60006200036d6200036784620004ab565b62000482565b9050828152602081018484840111156200038657600080fd5b6200039384828562000526565b509392505050565b600081519050620003ac8162000686565b92915050565b600082601f830112620003c457600080fd5b8151620003d684826020860162000356565b91505092915050565b60008060408385031215620003f357600080fd5b600083015167ffffffffffffffff8111156200040e57600080fd5b6200041c85828601620003b2565b92505060206200042f858286016200039b565b9150509250929050565b600062000448602783620004e1565b9150620004558262000637565b604082019050919050565b600060208201905081810360008301526200047b8162000439565b9050919050565b60006200048e620004a1565b90506200049c828262000592565b919050565b6000604051905090565b600067ffffffffffffffff821115620004c957620004c8620005f7565b5b620004d48262000626565b9050602081019050919050565b600082825260208201905092915050565b6000620004ff8262000506565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200054657808201518184015260208101905062000529565b8381111562000556576000848401525b50505050565b600060028204905060018216806200057557607f821691505b602082108114156200058c576200058b620005c8565b5b50919050565b6200059d8262000626565b810181811067ffffffffffffffff82111715620005bf57620005be620005f7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b6200069181620004f2565b81146200069d57600080fd5b50565b60805160a05160c05160e0516157ec6200070b6000396000818161112201528181611143015281816111bc0152611a710152600081816109f101528181610aec0152611aad01526000610cb80152600081816124530152818161247c0152612d6101526157ec6000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80636c19e7831161010f578063c87b56dd116100a2578063dc33e68111610071578063dc33e68114610591578063e31768e5146105c1578063e985e9c5146105df578063f2fde38b1461060f576101f0565b8063c87b56dd146104f5578063ced8d70014610525578063d2ce364f14610555578063d7224ba014610573576101f0565b80638da5cb5b116100de5780638da5cb5b1461048157806395d89b411461049f578063a22cb465146104bd578063b88d4fde146104d9576101f0565b80636c19e7831461042157806370a082311461043d578063715018a61461046d57806386d1a69f14610477576101f0565b806323b872dd1161018757806342842e0e1161015657806342842e0e146103895780634737576e146103a55780634f6ccce7146103c15780636352211e146103f1576101f0565b806323b872dd146103035780632ab4d0521461031f5780632e49d78b1461033d5780632f745c5914610359576101f0565b806308460042116101c3578063084600421461028f578063095ea7b3146102ab57806318160ddd146102c7578063200d2ed2146102e5576101f0565b806301ffc9a7146101f557806302fe53051461022557806306fdde0314610241578063081812fc1461025f575b600080fd5b61020f600480360381019061020a9190613b8a565b61062b565b60405161021c9190614466565b60405180910390f35b61023f600480360381019061023a9190613c7a565b610775565b005b61024961080b565b6040516102569190614521565b60405180910390f35b61027960048036038101906102749190613cbb565b61089d565b60405161028691906143d6565b60405180910390f35b6102a960048036038101906102a49190613ce4565b610922565b005b6102c560048036038101906102c09190613b4e565b610b71565b005b6102cf610c8a565b6040516102dc9190614963565b60405180910390f35b6102ed610c93565b6040516102fa91906144c6565b60405180910390f35b61031d60048036038101906103189190613a48565b610ca6565b005b610327610cb6565b6040516103349190614963565b60405180910390f35b61035760048036038101906103529190613bdc565b610cda565b005b610373600480360381019061036e9190613b4e565b610da9565b6040516103809190614963565b60405180910390f35b6103a3600480360381019061039e9190613a48565b610fa7565b005b6103bf60048036038101906103ba9190613c05565b610fc7565b005b6103db60048036038101906103d69190613cbb565b611275565b6040516103e89190614963565b60405180910390f35b61040b60048036038101906104069190613cbb565b6112c8565b60405161041891906143d6565b60405180910390f35b61043b600480360381019061043691906139e3565b6112de565b005b610457600480360381019061045291906139e3565b61139e565b6040516104649190614963565b60405180910390f35b610475611487565b005b61047f61150f565b005b610489611677565b60405161049691906143d6565b60405180910390f35b6104a76116a1565b6040516104b49190614521565b60405180910390f35b6104d760048036038101906104d29190613b12565b611733565b005b6104f360048036038101906104ee9190613a97565b6118b4565b005b61050f600480360381019061050a9190613cbb565b611910565b60405161051c9190614521565b60405180910390f35b61053f600480360381019061053a91906139e3565b6119b7565b60405161054c9190614963565b60405180910390f35b61055d611a6f565b60405161056a9190614963565b60405180910390f35b61057b611a93565b6040516105889190614963565b60405180910390f35b6105ab60048036038101906105a691906139e3565b611a99565b6040516105b89190614963565b60405180910390f35b6105c9611aab565b6040516105d69190614963565b60405180910390f35b6105f960048036038101906105f49190613a0c565b611acf565b6040516106069190614466565b60405180910390f35b610629600480360381019061062491906139e3565b611b63565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106f657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061075e57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061076e575061076d82611c5b565b5b9050919050565b61077d611cc5565b73ffffffffffffffffffffffffffffffffffffffff1661079b611677565b73ffffffffffffffffffffffffffffffffffffffff16146107f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e8906147c3565b60405180910390fd5b80600b9080519060200190610807929190613724565b5050565b60606001805461081a90614cc0565b80601f016020809104026020016040519081016040528092919081815260200182805461084690614cc0565b80156108935780601f1061086857610100808354040283529160200191610893565b820191906000526020600020905b81548152906001019060200180831161087657829003601f168201915b5050505050905090565b60006108a882611ccd565b6108e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108de90614923565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6001600381111561095c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600a60009054906101000a900460ff1660038111156109a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90614643565b60405180910390fd5b600085118015610a1457507f00000000000000000000000000000000000000000000000000000000000000008511155b610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a90614623565b60405180910390fd5b610aab610a61858533611cda565b83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611d12565b610aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae190614583565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000085610b1533611a99565b610b1f9190614a99565b1115610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b57906147a3565b60405180910390fd5b610b6a3386611d76565b5050505050565b6000610b7c826112c8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be490614843565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c0c611cc5565b73ffffffffffffffffffffffffffffffffffffffff161480610c3b5750610c3a81610c35611cc5565b611acf565b5b610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190614723565b60405180910390fd5b610c85838383611d94565b505050565b60008054905090565b600a60009054906101000a900460ff1681565b610cb1838383611e46565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610ce2611cc5565b73ffffffffffffffffffffffffffffffffffffffff16610d00611677565b73ffffffffffffffffffffffffffffffffffffffff1614610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d906147c3565b60405180910390fd5b80600a60006101000a81548160ff02191690836003811115610da1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b6000610db48361139e565b8210610df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dec90614563565b60405180910390fd5b6000610dff610c8a565b905060008060005b83811015610f65576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610ef957806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f515786841415610f42578195505050505050610fa1565b8380610f4d90614d23565b9450505b508080610f5d90614d23565b915050610e07565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f98906148c3565b60405180910390fd5b92915050565b610fc2838383604051806020016040528060008152506118b4565b505050565b60026003811115611001577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600a60009054906101000a900460ff166003811115611049577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108090614643565b60405180910390fd5b6110e1611097858533611cda565b83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611d12565b611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790614583565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061116b336119b7565b6111759190614a99565b11156111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad906147a3565b60405180910390fd5b6111e0337f0000000000000000000000000000000000000000000000000000000000000000611d76565b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461122c9190614a99565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b600061127f610c8a565b82106112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b790614663565b60405180910390fd5b819050919050565b60006112d3826123ff565b600001519050919050565b6112e6611cc5565b73ffffffffffffffffffffffffffffffffffffffff16611304611677565b73ffffffffffffffffffffffffffffffffffffffff161461135a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611351906147c3565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561140f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140690614743565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61148f611cc5565b73ffffffffffffffffffffffffffffffffffffffff166114ad611677565b73ffffffffffffffffffffffffffffffffffffffff1614611503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fa906147c3565b60405180910390fd5b61150d6000612602565b565b60026009541415611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c906148e3565b60405180910390fd5b6002600981905550611565611cc5565b73ffffffffffffffffffffffffffffffffffffffff16611583611677565b73ffffffffffffffffffffffffffffffffffffffff16146115d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d0906147c3565b60405180910390fd5b6000471161161c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611613906145e3565b60405180910390fd5b61162d611627611677565b476126c8565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056611656611677565b4760405161166592919061443d565b60405180910390a16001600981905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546116b090614cc0565b80601f01602080910402602001604051908101604052809291908181526020018280546116dc90614cc0565b80156117295780601f106116fe57610100808354040283529160200191611729565b820191906000526020600020905b81548152906001019060200180831161170c57829003601f168201915b5050505050905090565b61173b611cc5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a090614803565b60405180910390fd5b80600660006117b6611cc5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611863611cc5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118a89190614466565b60405180910390a35050565b6118bf848484611e46565b6118cb848484846127bc565b61190a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190190614863565b60405180910390fd5b50505050565b606061191b82611ccd565b61195a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611951906147e3565b60405180910390fd5b6000611964612953565b9050600081511161198457604051806020016040528060008152506119af565b8061198e846129e5565b60405160200161199f929190614377565b6040516020818303038152906040525b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1f906146a3565b60405180910390fd5b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60075481565b6000611aa482612b92565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b6b611cc5565b73ffffffffffffffffffffffffffffffffffffffff16611b89611677565b73ffffffffffffffffffffffffffffffffffffffff1614611bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd6906147c3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c46906145c3565b60405180910390fd5b611c5881612602565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000805482109050919050565b600083833084604051602001611cf394939291906144e1565b6040516020818303038152906040528051906020012090509392505050565b6000611d1e8383612c7b565b73ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b611d90828260405180602001604052806000815250612ca0565b5050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611e51826123ff565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611e78611cc5565b73ffffffffffffffffffffffffffffffffffffffff161480611ed45750611e9d611cc5565b73ffffffffffffffffffffffffffffffffffffffff16611ebc8461089d565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ef05750611eef8260000151611eea611cc5565b611acf565b5b905080611f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2990614823565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9b90614783565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b90614683565b60405180910390fd5b612021858585600161317f565b6120316000848460000151611d94565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661209f9190614b20565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166121439190614a53565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846122499190614a99565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561238f576122bf81611ccd565b1561238e576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123f78686866001613185565b505050505050565b6124076137aa565b61241082611ccd565b61244f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244690614603565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106124b35760017f0000000000000000000000000000000000000000000000000000000000000000846124a69190614b54565b6124b09190614a99565b90505b60008390505b8181106125c1576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146125ad578093505050506125fd565b5080806125b990614c96565b9150506124b9565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f490614903565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8047101561270b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270290614703565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612731906143c1565b60006040518083038185875af1925050503d806000811461276e576040519150601f19603f3d011682016040523d82523d6000602084013e612773565b606091505b50509050806127b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ae906146c3565b60405180910390fd5b505050565b60006127dd8473ffffffffffffffffffffffffffffffffffffffff1661318b565b15612946578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612806611cc5565b8786866040518563ffffffff1660e01b815260040161282894939291906143f1565b602060405180830381600087803b15801561284257600080fd5b505af192505050801561287357506040513d601f19601f820116820180604052508101906128709190613bb3565b60015b6128f6573d80600081146128a3576040519150601f19603f3d011682016040523d82523d6000602084013e6128a8565b606091505b506000815114156128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e590614863565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061294b565b600190505b949350505050565b6060600b805461296290614cc0565b80601f016020809104026020016040519081016040528092919081815260200182805461298e90614cc0565b80156129db5780601f106129b0576101008083540402835291602001916129db565b820191906000526020600020905b8154815290600101906020018083116129be57829003601f168201915b5050505050905090565b60606000821415612a2d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b8d565b600082905060005b60008214612a5f578080612a4890614d23565b915050600a82612a589190614aef565b9150612a35565b60008167ffffffffffffffff811115612aa1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ad35781602001600182028036833780820191505090505b5090505b60008514612b8657600182612aec9190614b54565b9150600a85612afb9190614d76565b6030612b079190614a99565b60f81b818381518110612b43577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b7f9190614aef565b9450612ad7565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfa906146a3565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6000612c9882612c8a8561319e565b6131ce90919063ffffffff16565b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0d906148a3565b60405180910390fd5b612d1f81611ccd565b15612d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5690614883565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115612dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db990614943565b60405180910390fd5b612dcf600085838661317f565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151612ecc9190614a53565b6fffffffffffffffffffffffffffffffff168152602001858360200151612ef39190614a53565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561316257818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461310260008884886127bc565b613141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313890614863565b60405180910390fd5b818061314c90614d23565b925050808061315a90614d23565b915050613091565b50806000819055506131776000878588613185565b505050505050565b50505050565b50505050565b600080823b905060008111915050919050565b6000816040516020016131b1919061439b565b604051602081830303815290604052805190602001209050919050565b60008060006131dd85856131f5565b915091506131ea81613278565b819250505092915050565b6000806041835114156132375760008060006020860151925060408601519150606086015160001a905061322b878285856135c9565b94509450505050613271565b60408351141561326857600080602085015191506040850151905061325d8683836136d6565b935093505050613271565b60006002915091505b9250929050565b600060048111156132b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156132eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156132f6576135c6565b60016004811115613330577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613369577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156133aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a190614543565b60405180910390fd5b600260048111156133e4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561341d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561345e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613455906145a3565b60405180910390fd5b60036004811115613498577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156134d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613512576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613509906146e3565b60405180910390fd5b60048081111561354b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613584577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156135c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135bc90614763565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156136045760006003915091506136cd565b601b8560ff161415801561361c5750601c8560ff1614155b1561362e5760006004915091506136cd565b6000600187878787604051600081526020016040526040516136539493929190614481565b6020604051602081039080840390855afa158015613675573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156136c4576000600192509250506136cd565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613716878288856135c9565b935093505050935093915050565b82805461373090614cc0565b90600052602060002090601f0160209004810192826137525760008555613799565b82601f1061376b57805160ff1916838001178555613799565b82800160010185558215613799579182015b8281111561379857825182559160200191906001019061377d565b5b5090506137a691906137e4565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156137fd5760008160009055506001016137e5565b5090565b600061381461380f846149a3565b61497e565b90508281526020810184848401111561382c57600080fd5b613837848285614c54565b509392505050565b600061385261384d846149d4565b61497e565b90508281526020810184848401111561386a57600080fd5b613875848285614c54565b509392505050565b60008135905061388c8161574a565b92915050565b6000813590506138a181615761565b92915050565b6000813590506138b681615778565b92915050565b6000815190506138cb81615778565b92915050565b60008083601f8401126138e357600080fd5b8235905067ffffffffffffffff8111156138fc57600080fd5b60208301915083600182028301111561391457600080fd5b9250929050565b600082601f83011261392c57600080fd5b813561393c848260208601613801565b91505092915050565b6000813590506139548161578f565b92915050565b60008083601f84011261396c57600080fd5b8235905067ffffffffffffffff81111561398557600080fd5b60208301915083600182028301111561399d57600080fd5b9250929050565b600082601f8301126139b557600080fd5b81356139c584826020860161383f565b91505092915050565b6000813590506139dd8161579f565b92915050565b6000602082840312156139f557600080fd5b6000613a038482850161387d565b91505092915050565b60008060408385031215613a1f57600080fd5b6000613a2d8582860161387d565b9250506020613a3e8582860161387d565b9150509250929050565b600080600060608486031215613a5d57600080fd5b6000613a6b8682870161387d565b9350506020613a7c8682870161387d565b9250506040613a8d868287016139ce565b9150509250925092565b60008060008060808587031215613aad57600080fd5b6000613abb8782880161387d565b9450506020613acc8782880161387d565b9350506040613add878288016139ce565b925050606085013567ffffffffffffffff811115613afa57600080fd5b613b068782880161391b565b91505092959194509250565b60008060408385031215613b2557600080fd5b6000613b338582860161387d565b9250506020613b4485828601613892565b9150509250929050565b60008060408385031215613b6157600080fd5b6000613b6f8582860161387d565b9250506020613b80858286016139ce565b9150509250929050565b600060208284031215613b9c57600080fd5b6000613baa848285016138a7565b91505092915050565b600060208284031215613bc557600080fd5b6000613bd3848285016138bc565b91505092915050565b600060208284031215613bee57600080fd5b6000613bfc84828501613945565b91505092915050565b60008060008060408587031215613c1b57600080fd5b600085013567ffffffffffffffff811115613c3557600080fd5b613c418782880161395a565b9450945050602085013567ffffffffffffffff811115613c6057600080fd5b613c6c878288016138d1565b925092505092959194509250565b600060208284031215613c8c57600080fd5b600082013567ffffffffffffffff811115613ca657600080fd5b613cb2848285016139a4565b91505092915050565b600060208284031215613ccd57600080fd5b6000613cdb848285016139ce565b91505092915050565b600080600080600060608688031215613cfc57600080fd5b6000613d0a888289016139ce565b955050602086013567ffffffffffffffff811115613d2757600080fd5b613d338882890161395a565b9450945050604086013567ffffffffffffffff811115613d5257600080fd5b613d5e888289016138d1565b92509250509295509295909350565b613d7681614b88565b82525050565b613d8581614b9a565b82525050565b613d9481614ba6565b82525050565b613dab613da682614ba6565b614d6c565b82525050565b6000613dbc82614a05565b613dc68185614a1b565b9350613dd6818560208601614c63565b613ddf81614e92565b840191505092915050565b613df381614c42565b82525050565b6000613e058385614a37565b9350613e12838584614c54565b613e1b83614e92565b840190509392505050565b6000613e3182614a10565b613e3b8185614a37565b9350613e4b818560208601614c63565b613e5481614e92565b840191505092915050565b6000613e6a82614a10565b613e748185614a48565b9350613e84818560208601614c63565b80840191505092915050565b6000613e9d601883614a37565b9150613ea882614ea3565b602082019050919050565b6000613ec0602283614a37565b9150613ecb82614ecc565b604082019050919050565b6000613ee3600783614a37565b9150613eee82614f1b565b602082019050919050565b6000613f06601f83614a37565b9150613f1182614f44565b602082019050919050565b6000613f29601c83614a48565b9150613f3482614f6d565b601c82019050919050565b6000613f4c602683614a37565b9150613f5782614f96565b604082019050919050565b6000613f6f600783614a37565b9150613f7a82614fe5565b602082019050919050565b6000613f92602a83614a37565b9150613f9d8261500e565b604082019050919050565b6000613fb5600783614a37565b9150613fc08261505d565b602082019050919050565b6000613fd8600783614a37565b9150613fe382615086565b602082019050919050565b6000613ffb602383614a37565b9150614006826150af565b604082019050919050565b600061401e602583614a37565b9150614029826150fe565b604082019050919050565b6000614041603183614a37565b915061404c8261514d565b604082019050919050565b6000614064603a83614a37565b915061406f8261519c565b604082019050919050565b6000614087602283614a37565b9150614092826151eb565b604082019050919050565b60006140aa601d83614a37565b91506140b58261523a565b602082019050919050565b60006140cd603983614a37565b91506140d882615263565b604082019050919050565b60006140f0602b83614a37565b91506140fb826152b2565b604082019050919050565b6000614113602283614a37565b915061411e82615301565b604082019050919050565b6000614136602683614a37565b915061414182615350565b604082019050919050565b6000614159600783614a37565b91506141648261539f565b602082019050919050565b600061417c602083614a37565b9150614187826153c8565b602082019050919050565b600061419f602f83614a37565b91506141aa826153f1565b604082019050919050565b60006141c2601a83614a37565b91506141cd82615440565b602082019050919050565b60006141e5603283614a37565b91506141f082615469565b604082019050919050565b6000614208602283614a37565b9150614213826154b8565b604082019050919050565b600061422b600083614a2c565b915061423682615507565b600082019050919050565b600061424e603383614a37565b91506142598261550a565b604082019050919050565b6000614271601d83614a37565b915061427c82615559565b602082019050919050565b6000614294602183614a37565b915061429f82615582565b604082019050919050565b60006142b7602e83614a37565b91506142c2826155d1565b604082019050919050565b60006142da601f83614a37565b91506142e582615620565b602082019050919050565b60006142fd602f83614a37565b915061430882615649565b604082019050919050565b6000614320602d83614a37565b915061432b82615698565b604082019050919050565b6000614343602283614a37565b915061434e826156e7565b604082019050919050565b61436281614c2b565b82525050565b61437181614c35565b82525050565b60006143838285613e5f565b915061438f8284613e5f565b91508190509392505050565b60006143a682613f1c565b91506143b28284613d9a565b60208201915081905092915050565b60006143cc8261421e565b9150819050919050565b60006020820190506143eb6000830184613d6d565b92915050565b60006080820190506144066000830187613d6d565b6144136020830186613d6d565b6144206040830185614359565b81810360608301526144328184613db1565b905095945050505050565b60006040820190506144526000830185613d6d565b61445f6020830184614359565b9392505050565b600060208201905061447b6000830184613d7c565b92915050565b60006080820190506144966000830187613d8b565b6144a36020830186614368565b6144b06040830185613d8b565b6144bd6060830184613d8b565b95945050505050565b60006020820190506144db6000830184613dea565b92915050565b600060608201905081810360008301526144fc818688613df9565b905061450b6020830185613d6d565b6145186040830184613d6d565b95945050505050565b6000602082019050818103600083015261453b8184613e26565b905092915050565b6000602082019050818103600083015261455c81613e90565b9050919050565b6000602082019050818103600083015261457c81613eb3565b9050919050565b6000602082019050818103600083015261459c81613ed6565b9050919050565b600060208201905081810360008301526145bc81613ef9565b9050919050565b600060208201905081810360008301526145dc81613f3f565b9050919050565b600060208201905081810360008301526145fc81613f62565b9050919050565b6000602082019050818103600083015261461c81613f85565b9050919050565b6000602082019050818103600083015261463c81613fa8565b9050919050565b6000602082019050818103600083015261465c81613fcb565b9050919050565b6000602082019050818103600083015261467c81613fee565b9050919050565b6000602082019050818103600083015261469c81614011565b9050919050565b600060208201905081810360008301526146bc81614034565b9050919050565b600060208201905081810360008301526146dc81614057565b9050919050565b600060208201905081810360008301526146fc8161407a565b9050919050565b6000602082019050818103600083015261471c8161409d565b9050919050565b6000602082019050818103600083015261473c816140c0565b9050919050565b6000602082019050818103600083015261475c816140e3565b9050919050565b6000602082019050818103600083015261477c81614106565b9050919050565b6000602082019050818103600083015261479c81614129565b9050919050565b600060208201905081810360008301526147bc8161414c565b9050919050565b600060208201905081810360008301526147dc8161416f565b9050919050565b600060208201905081810360008301526147fc81614192565b9050919050565b6000602082019050818103600083015261481c816141b5565b9050919050565b6000602082019050818103600083015261483c816141d8565b9050919050565b6000602082019050818103600083015261485c816141fb565b9050919050565b6000602082019050818103600083015261487c81614241565b9050919050565b6000602082019050818103600083015261489c81614264565b9050919050565b600060208201905081810360008301526148bc81614287565b9050919050565b600060208201905081810360008301526148dc816142aa565b9050919050565b600060208201905081810360008301526148fc816142cd565b9050919050565b6000602082019050818103600083015261491c816142f0565b9050919050565b6000602082019050818103600083015261493c81614313565b9050919050565b6000602082019050818103600083015261495c81614336565b9050919050565b60006020820190506149786000830184614359565b92915050565b6000614988614999565b90506149948282614cf2565b919050565b6000604051905090565b600067ffffffffffffffff8211156149be576149bd614e63565b5b6149c782614e92565b9050602081019050919050565b600067ffffffffffffffff8211156149ef576149ee614e63565b5b6149f882614e92565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a5e82614bef565b9150614a6983614bef565b9250826fffffffffffffffffffffffffffffffff03821115614a8e57614a8d614da7565b5b828201905092915050565b6000614aa482614c2b565b9150614aaf83614c2b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ae457614ae3614da7565b5b828201905092915050565b6000614afa82614c2b565b9150614b0583614c2b565b925082614b1557614b14614dd6565b5b828204905092915050565b6000614b2b82614bef565b9150614b3683614bef565b925082821015614b4957614b48614da7565b5b828203905092915050565b6000614b5f82614c2b565b9150614b6a83614c2b565b925082821015614b7d57614b7c614da7565b5b828203905092915050565b6000614b9382614c0b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614bea82615736565b919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614c4d82614bdc565b9050919050565b82818337600083830152505050565b60005b83811015614c81578082015181840152602081019050614c66565b83811115614c90576000848401525b50505050565b6000614ca182614c2b565b91506000821415614cb557614cb4614da7565b5b600182039050919050565b60006002820490506001821680614cd857607f821691505b60208210811415614cec57614ceb614e34565b5b50919050565b614cfb82614e92565b810181811067ffffffffffffffff82111715614d1a57614d19614e63565b5b80604052505050565b6000614d2e82614c2b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d6157614d60614da7565b5b600182019050919050565b6000819050919050565b6000614d8182614c2b565b9150614d8c83614c2b565b925082614d9c57614d9b614dd6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f5348514530303100000000000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5348514530303500000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f5348514530303200000000000000000000000000000000000000000000000000600082015250565b7f5348514530303600000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f5348514530303800000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6004811061574757615746614e05565b5b50565b61575381614b88565b811461575e57600080fd5b50565b61576a81614b9a565b811461577557600080fd5b50565b61578181614bb0565b811461578c57600080fd5b50565b6004811061579c57600080fd5b50565b6157a881614c2b565b81146157b357600080fd5b5056fea26469706673582212200feafae71e304dbb38974055a1c832c870ff6a44c9c7adecbb5e0fa18681f0ea64736f6c634300080400330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000801b0a5303f77ca5e2e51f366819fcabcf9617d9000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f697066732e696f2f697066732f62616679626569616d696575637836647061356e3270616569787837697372673434676562336d6c6a7266357762773361753466767676626f35612f000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80636c19e7831161010f578063c87b56dd116100a2578063dc33e68111610071578063dc33e68114610591578063e31768e5146105c1578063e985e9c5146105df578063f2fde38b1461060f576101f0565b8063c87b56dd146104f5578063ced8d70014610525578063d2ce364f14610555578063d7224ba014610573576101f0565b80638da5cb5b116100de5780638da5cb5b1461048157806395d89b411461049f578063a22cb465146104bd578063b88d4fde146104d9576101f0565b80636c19e7831461042157806370a082311461043d578063715018a61461046d57806386d1a69f14610477576101f0565b806323b872dd1161018757806342842e0e1161015657806342842e0e146103895780634737576e146103a55780634f6ccce7146103c15780636352211e146103f1576101f0565b806323b872dd146103035780632ab4d0521461031f5780632e49d78b1461033d5780632f745c5914610359576101f0565b806308460042116101c3578063084600421461028f578063095ea7b3146102ab57806318160ddd146102c7578063200d2ed2146102e5576101f0565b806301ffc9a7146101f557806302fe53051461022557806306fdde0314610241578063081812fc1461025f575b600080fd5b61020f600480360381019061020a9190613b8a565b61062b565b60405161021c9190614466565b60405180910390f35b61023f600480360381019061023a9190613c7a565b610775565b005b61024961080b565b6040516102569190614521565b60405180910390f35b61027960048036038101906102749190613cbb565b61089d565b60405161028691906143d6565b60405180910390f35b6102a960048036038101906102a49190613ce4565b610922565b005b6102c560048036038101906102c09190613b4e565b610b71565b005b6102cf610c8a565b6040516102dc9190614963565b60405180910390f35b6102ed610c93565b6040516102fa91906144c6565b60405180910390f35b61031d60048036038101906103189190613a48565b610ca6565b005b610327610cb6565b6040516103349190614963565b60405180910390f35b61035760048036038101906103529190613bdc565b610cda565b005b610373600480360381019061036e9190613b4e565b610da9565b6040516103809190614963565b60405180910390f35b6103a3600480360381019061039e9190613a48565b610fa7565b005b6103bf60048036038101906103ba9190613c05565b610fc7565b005b6103db60048036038101906103d69190613cbb565b611275565b6040516103e89190614963565b60405180910390f35b61040b60048036038101906104069190613cbb565b6112c8565b60405161041891906143d6565b60405180910390f35b61043b600480360381019061043691906139e3565b6112de565b005b610457600480360381019061045291906139e3565b61139e565b6040516104649190614963565b60405180910390f35b610475611487565b005b61047f61150f565b005b610489611677565b60405161049691906143d6565b60405180910390f35b6104a76116a1565b6040516104b49190614521565b60405180910390f35b6104d760048036038101906104d29190613b12565b611733565b005b6104f360048036038101906104ee9190613a97565b6118b4565b005b61050f600480360381019061050a9190613cbb565b611910565b60405161051c9190614521565b60405180910390f35b61053f600480360381019061053a91906139e3565b6119b7565b60405161054c9190614963565b60405180910390f35b61055d611a6f565b60405161056a9190614963565b60405180910390f35b61057b611a93565b6040516105889190614963565b60405180910390f35b6105ab60048036038101906105a691906139e3565b611a99565b6040516105b89190614963565b60405180910390f35b6105c9611aab565b6040516105d69190614963565b60405180910390f35b6105f960048036038101906105f49190613a0c565b611acf565b6040516106069190614466565b60405180910390f35b610629600480360381019061062491906139e3565b611b63565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106f657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061075e57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061076e575061076d82611c5b565b5b9050919050565b61077d611cc5565b73ffffffffffffffffffffffffffffffffffffffff1661079b611677565b73ffffffffffffffffffffffffffffffffffffffff16146107f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e8906147c3565b60405180910390fd5b80600b9080519060200190610807929190613724565b5050565b60606001805461081a90614cc0565b80601f016020809104026020016040519081016040528092919081815260200182805461084690614cc0565b80156108935780601f1061086857610100808354040283529160200191610893565b820191906000526020600020905b81548152906001019060200180831161087657829003601f168201915b5050505050905090565b60006108a882611ccd565b6108e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108de90614923565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6001600381111561095c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600a60009054906101000a900460ff1660038111156109a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90614643565b60405180910390fd5b600085118015610a1457507f00000000000000000000000000000000000000000000000000000000000000028511155b610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a90614623565b60405180910390fd5b610aab610a61858533611cda565b83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611d12565b610aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae190614583565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000285610b1533611a99565b610b1f9190614a99565b1115610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b57906147a3565b60405180910390fd5b610b6a3386611d76565b5050505050565b6000610b7c826112c8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be490614843565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c0c611cc5565b73ffffffffffffffffffffffffffffffffffffffff161480610c3b5750610c3a81610c35611cc5565b611acf565b5b610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190614723565b60405180910390fd5b610c85838383611d94565b505050565b60008054905090565b600a60009054906101000a900460ff1681565b610cb1838383611e46565b505050565b7f00000000000000000000000000000000000000000000000000000000000003e881565b610ce2611cc5565b73ffffffffffffffffffffffffffffffffffffffff16610d00611677565b73ffffffffffffffffffffffffffffffffffffffff1614610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d906147c3565b60405180910390fd5b80600a60006101000a81548160ff02191690836003811115610da1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b6000610db48361139e565b8210610df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dec90614563565b60405180910390fd5b6000610dff610c8a565b905060008060005b83811015610f65576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610ef957806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f515786841415610f42578195505050505050610fa1565b8380610f4d90614d23565b9450505b508080610f5d90614d23565b915050610e07565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f98906148c3565b60405180910390fd5b92915050565b610fc2838383604051806020016040528060008152506118b4565b505050565b60026003811115611001577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600a60009054906101000a900460ff166003811115611049577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108090614643565b60405180910390fd5b6110e1611097858533611cda565b83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611d12565b611120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111790614583565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000017f000000000000000000000000000000000000000000000000000000000000000161116b336119b7565b6111759190614a99565b11156111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad906147a3565b60405180910390fd5b6111e0337f0000000000000000000000000000000000000000000000000000000000000001611d76565b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461122c9190614a99565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b600061127f610c8a565b82106112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b790614663565b60405180910390fd5b819050919050565b60006112d3826123ff565b600001519050919050565b6112e6611cc5565b73ffffffffffffffffffffffffffffffffffffffff16611304611677565b73ffffffffffffffffffffffffffffffffffffffff161461135a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611351906147c3565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561140f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140690614743565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61148f611cc5565b73ffffffffffffffffffffffffffffffffffffffff166114ad611677565b73ffffffffffffffffffffffffffffffffffffffff1614611503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fa906147c3565b60405180910390fd5b61150d6000612602565b565b60026009541415611555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154c906148e3565b60405180910390fd5b6002600981905550611565611cc5565b73ffffffffffffffffffffffffffffffffffffffff16611583611677565b73ffffffffffffffffffffffffffffffffffffffff16146115d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d0906147c3565b60405180910390fd5b6000471161161c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611613906145e3565b60405180910390fd5b61162d611627611677565b476126c8565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056611656611677565b4760405161166592919061443d565b60405180910390a16001600981905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546116b090614cc0565b80601f01602080910402602001604051908101604052809291908181526020018280546116dc90614cc0565b80156117295780601f106116fe57610100808354040283529160200191611729565b820191906000526020600020905b81548152906001019060200180831161170c57829003601f168201915b5050505050905090565b61173b611cc5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a090614803565b60405180910390fd5b80600660006117b6611cc5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611863611cc5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118a89190614466565b60405180910390a35050565b6118bf848484611e46565b6118cb848484846127bc565b61190a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190190614863565b60405180910390fd5b50505050565b606061191b82611ccd565b61195a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611951906147e3565b60405180910390fd5b6000611964612953565b9050600081511161198457604051806020016040528060008152506119af565b8061198e846129e5565b60405160200161199f929190614377565b6040516020818303038152906040525b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1f906146a3565b60405180910390fd5b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f000000000000000000000000000000000000000000000000000000000000000181565b60075481565b6000611aa482612b92565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000281565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b6b611cc5565b73ffffffffffffffffffffffffffffffffffffffff16611b89611677565b73ffffffffffffffffffffffffffffffffffffffff1614611bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd6906147c3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c46906145c3565b60405180910390fd5b611c5881612602565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000805482109050919050565b600083833084604051602001611cf394939291906144e1565b6040516020818303038152906040528051906020012090509392505050565b6000611d1e8383612c7b565b73ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b611d90828260405180602001604052806000815250612ca0565b5050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611e51826123ff565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611e78611cc5565b73ffffffffffffffffffffffffffffffffffffffff161480611ed45750611e9d611cc5565b73ffffffffffffffffffffffffffffffffffffffff16611ebc8461089d565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ef05750611eef8260000151611eea611cc5565b611acf565b5b905080611f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2990614823565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9b90614783565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b90614683565b60405180910390fd5b612021858585600161317f565b6120316000848460000151611d94565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661209f9190614b20565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166121439190614a53565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846122499190614a99565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561238f576122bf81611ccd565b1561238e576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123f78686866001613185565b505050505050565b6124076137aa565b61241082611ccd565b61244f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244690614603565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000383106124b35760017f0000000000000000000000000000000000000000000000000000000000000003846124a69190614b54565b6124b09190614a99565b90505b60008390505b8181106125c1576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146125ad578093505050506125fd565b5080806125b990614c96565b9150506124b9565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f490614903565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8047101561270b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270290614703565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612731906143c1565b60006040518083038185875af1925050503d806000811461276e576040519150601f19603f3d011682016040523d82523d6000602084013e612773565b606091505b50509050806127b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ae906146c3565b60405180910390fd5b505050565b60006127dd8473ffffffffffffffffffffffffffffffffffffffff1661318b565b15612946578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612806611cc5565b8786866040518563ffffffff1660e01b815260040161282894939291906143f1565b602060405180830381600087803b15801561284257600080fd5b505af192505050801561287357506040513d601f19601f820116820180604052508101906128709190613bb3565b60015b6128f6573d80600081146128a3576040519150601f19603f3d011682016040523d82523d6000602084013e6128a8565b606091505b506000815114156128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e590614863565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061294b565b600190505b949350505050565b6060600b805461296290614cc0565b80601f016020809104026020016040519081016040528092919081815260200182805461298e90614cc0565b80156129db5780601f106129b0576101008083540402835291602001916129db565b820191906000526020600020905b8154815290600101906020018083116129be57829003601f168201915b5050505050905090565b60606000821415612a2d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b8d565b600082905060005b60008214612a5f578080612a4890614d23565b915050600a82612a589190614aef565b9150612a35565b60008167ffffffffffffffff811115612aa1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ad35781602001600182028036833780820191505090505b5090505b60008514612b8657600182612aec9190614b54565b9150600a85612afb9190614d76565b6030612b079190614a99565b60f81b818381518110612b43577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b7f9190614aef565b9450612ad7565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfa906146a3565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6000612c9882612c8a8561319e565b6131ce90919063ffffffff16565b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0d906148a3565b60405180910390fd5b612d1f81611ccd565b15612d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5690614883565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000003831115612dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db990614943565b60405180910390fd5b612dcf600085838661317f565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151612ecc9190614a53565b6fffffffffffffffffffffffffffffffff168152602001858360200151612ef39190614a53565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561316257818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461310260008884886127bc565b613141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313890614863565b60405180910390fd5b818061314c90614d23565b925050808061315a90614d23565b915050613091565b50806000819055506131776000878588613185565b505050505050565b50505050565b50505050565b600080823b905060008111915050919050565b6000816040516020016131b1919061439b565b604051602081830303815290604052805190602001209050919050565b60008060006131dd85856131f5565b915091506131ea81613278565b819250505092915050565b6000806041835114156132375760008060006020860151925060408601519150606086015160001a905061322b878285856135c9565b94509450505050613271565b60408351141561326857600080602085015191506040850151905061325d8683836136d6565b935093505050613271565b60006002915091505b9250929050565b600060048111156132b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156132eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156132f6576135c6565b60016004811115613330577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613369577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156133aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a190614543565b60405180910390fd5b600260048111156133e4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561341d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561345e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613455906145a3565b60405180910390fd5b60036004811115613498577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156134d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613512576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613509906146e3565b60405180910390fd5b60048081111561354b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613584577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156135c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135bc90614763565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156136045760006003915091506136cd565b601b8560ff161415801561361c5750601c8560ff1614155b1561362e5760006004915091506136cd565b6000600187878787604051600081526020016040526040516136539493929190614481565b6020604051602081039080840390855afa158015613675573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156136c4576000600192509250506136cd565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613716878288856135c9565b935093505050935093915050565b82805461373090614cc0565b90600052602060002090601f0160209004810192826137525760008555613799565b82601f1061376b57805160ff1916838001178555613799565b82800160010185558215613799579182015b8281111561379857825182559160200191906001019061377d565b5b5090506137a691906137e4565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156137fd5760008160009055506001016137e5565b5090565b600061381461380f846149a3565b61497e565b90508281526020810184848401111561382c57600080fd5b613837848285614c54565b509392505050565b600061385261384d846149d4565b61497e565b90508281526020810184848401111561386a57600080fd5b613875848285614c54565b509392505050565b60008135905061388c8161574a565b92915050565b6000813590506138a181615761565b92915050565b6000813590506138b681615778565b92915050565b6000815190506138cb81615778565b92915050565b60008083601f8401126138e357600080fd5b8235905067ffffffffffffffff8111156138fc57600080fd5b60208301915083600182028301111561391457600080fd5b9250929050565b600082601f83011261392c57600080fd5b813561393c848260208601613801565b91505092915050565b6000813590506139548161578f565b92915050565b60008083601f84011261396c57600080fd5b8235905067ffffffffffffffff81111561398557600080fd5b60208301915083600182028301111561399d57600080fd5b9250929050565b600082601f8301126139b557600080fd5b81356139c584826020860161383f565b91505092915050565b6000813590506139dd8161579f565b92915050565b6000602082840312156139f557600080fd5b6000613a038482850161387d565b91505092915050565b60008060408385031215613a1f57600080fd5b6000613a2d8582860161387d565b9250506020613a3e8582860161387d565b9150509250929050565b600080600060608486031215613a5d57600080fd5b6000613a6b8682870161387d565b9350506020613a7c8682870161387d565b9250506040613a8d868287016139ce565b9150509250925092565b60008060008060808587031215613aad57600080fd5b6000613abb8782880161387d565b9450506020613acc8782880161387d565b9350506040613add878288016139ce565b925050606085013567ffffffffffffffff811115613afa57600080fd5b613b068782880161391b565b91505092959194509250565b60008060408385031215613b2557600080fd5b6000613b338582860161387d565b9250506020613b4485828601613892565b9150509250929050565b60008060408385031215613b6157600080fd5b6000613b6f8582860161387d565b9250506020613b80858286016139ce565b9150509250929050565b600060208284031215613b9c57600080fd5b6000613baa848285016138a7565b91505092915050565b600060208284031215613bc557600080fd5b6000613bd3848285016138bc565b91505092915050565b600060208284031215613bee57600080fd5b6000613bfc84828501613945565b91505092915050565b60008060008060408587031215613c1b57600080fd5b600085013567ffffffffffffffff811115613c3557600080fd5b613c418782880161395a565b9450945050602085013567ffffffffffffffff811115613c6057600080fd5b613c6c878288016138d1565b925092505092959194509250565b600060208284031215613c8c57600080fd5b600082013567ffffffffffffffff811115613ca657600080fd5b613cb2848285016139a4565b91505092915050565b600060208284031215613ccd57600080fd5b6000613cdb848285016139ce565b91505092915050565b600080600080600060608688031215613cfc57600080fd5b6000613d0a888289016139ce565b955050602086013567ffffffffffffffff811115613d2757600080fd5b613d338882890161395a565b9450945050604086013567ffffffffffffffff811115613d5257600080fd5b613d5e888289016138d1565b92509250509295509295909350565b613d7681614b88565b82525050565b613d8581614b9a565b82525050565b613d9481614ba6565b82525050565b613dab613da682614ba6565b614d6c565b82525050565b6000613dbc82614a05565b613dc68185614a1b565b9350613dd6818560208601614c63565b613ddf81614e92565b840191505092915050565b613df381614c42565b82525050565b6000613e058385614a37565b9350613e12838584614c54565b613e1b83614e92565b840190509392505050565b6000613e3182614a10565b613e3b8185614a37565b9350613e4b818560208601614c63565b613e5481614e92565b840191505092915050565b6000613e6a82614a10565b613e748185614a48565b9350613e84818560208601614c63565b80840191505092915050565b6000613e9d601883614a37565b9150613ea882614ea3565b602082019050919050565b6000613ec0602283614a37565b9150613ecb82614ecc565b604082019050919050565b6000613ee3600783614a37565b9150613eee82614f1b565b602082019050919050565b6000613f06601f83614a37565b9150613f1182614f44565b602082019050919050565b6000613f29601c83614a48565b9150613f3482614f6d565b601c82019050919050565b6000613f4c602683614a37565b9150613f5782614f96565b604082019050919050565b6000613f6f600783614a37565b9150613f7a82614fe5565b602082019050919050565b6000613f92602a83614a37565b9150613f9d8261500e565b604082019050919050565b6000613fb5600783614a37565b9150613fc08261505d565b602082019050919050565b6000613fd8600783614a37565b9150613fe382615086565b602082019050919050565b6000613ffb602383614a37565b9150614006826150af565b604082019050919050565b600061401e602583614a37565b9150614029826150fe565b604082019050919050565b6000614041603183614a37565b915061404c8261514d565b604082019050919050565b6000614064603a83614a37565b915061406f8261519c565b604082019050919050565b6000614087602283614a37565b9150614092826151eb565b604082019050919050565b60006140aa601d83614a37565b91506140b58261523a565b602082019050919050565b60006140cd603983614a37565b91506140d882615263565b604082019050919050565b60006140f0602b83614a37565b91506140fb826152b2565b604082019050919050565b6000614113602283614a37565b915061411e82615301565b604082019050919050565b6000614136602683614a37565b915061414182615350565b604082019050919050565b6000614159600783614a37565b91506141648261539f565b602082019050919050565b600061417c602083614a37565b9150614187826153c8565b602082019050919050565b600061419f602f83614a37565b91506141aa826153f1565b604082019050919050565b60006141c2601a83614a37565b91506141cd82615440565b602082019050919050565b60006141e5603283614a37565b91506141f082615469565b604082019050919050565b6000614208602283614a37565b9150614213826154b8565b604082019050919050565b600061422b600083614a2c565b915061423682615507565b600082019050919050565b600061424e603383614a37565b91506142598261550a565b604082019050919050565b6000614271601d83614a37565b915061427c82615559565b602082019050919050565b6000614294602183614a37565b915061429f82615582565b604082019050919050565b60006142b7602e83614a37565b91506142c2826155d1565b604082019050919050565b60006142da601f83614a37565b91506142e582615620565b602082019050919050565b60006142fd602f83614a37565b915061430882615649565b604082019050919050565b6000614320602d83614a37565b915061432b82615698565b604082019050919050565b6000614343602283614a37565b915061434e826156e7565b604082019050919050565b61436281614c2b565b82525050565b61437181614c35565b82525050565b60006143838285613e5f565b915061438f8284613e5f565b91508190509392505050565b60006143a682613f1c565b91506143b28284613d9a565b60208201915081905092915050565b60006143cc8261421e565b9150819050919050565b60006020820190506143eb6000830184613d6d565b92915050565b60006080820190506144066000830187613d6d565b6144136020830186613d6d565b6144206040830185614359565b81810360608301526144328184613db1565b905095945050505050565b60006040820190506144526000830185613d6d565b61445f6020830184614359565b9392505050565b600060208201905061447b6000830184613d7c565b92915050565b60006080820190506144966000830187613d8b565b6144a36020830186614368565b6144b06040830185613d8b565b6144bd6060830184613d8b565b95945050505050565b60006020820190506144db6000830184613dea565b92915050565b600060608201905081810360008301526144fc818688613df9565b905061450b6020830185613d6d565b6145186040830184613d6d565b95945050505050565b6000602082019050818103600083015261453b8184613e26565b905092915050565b6000602082019050818103600083015261455c81613e90565b9050919050565b6000602082019050818103600083015261457c81613eb3565b9050919050565b6000602082019050818103600083015261459c81613ed6565b9050919050565b600060208201905081810360008301526145bc81613ef9565b9050919050565b600060208201905081810360008301526145dc81613f3f565b9050919050565b600060208201905081810360008301526145fc81613f62565b9050919050565b6000602082019050818103600083015261461c81613f85565b9050919050565b6000602082019050818103600083015261463c81613fa8565b9050919050565b6000602082019050818103600083015261465c81613fcb565b9050919050565b6000602082019050818103600083015261467c81613fee565b9050919050565b6000602082019050818103600083015261469c81614011565b9050919050565b600060208201905081810360008301526146bc81614034565b9050919050565b600060208201905081810360008301526146dc81614057565b9050919050565b600060208201905081810360008301526146fc8161407a565b9050919050565b6000602082019050818103600083015261471c8161409d565b9050919050565b6000602082019050818103600083015261473c816140c0565b9050919050565b6000602082019050818103600083015261475c816140e3565b9050919050565b6000602082019050818103600083015261477c81614106565b9050919050565b6000602082019050818103600083015261479c81614129565b9050919050565b600060208201905081810360008301526147bc8161414c565b9050919050565b600060208201905081810360008301526147dc8161416f565b9050919050565b600060208201905081810360008301526147fc81614192565b9050919050565b6000602082019050818103600083015261481c816141b5565b9050919050565b6000602082019050818103600083015261483c816141d8565b9050919050565b6000602082019050818103600083015261485c816141fb565b9050919050565b6000602082019050818103600083015261487c81614241565b9050919050565b6000602082019050818103600083015261489c81614264565b9050919050565b600060208201905081810360008301526148bc81614287565b9050919050565b600060208201905081810360008301526148dc816142aa565b9050919050565b600060208201905081810360008301526148fc816142cd565b9050919050565b6000602082019050818103600083015261491c816142f0565b9050919050565b6000602082019050818103600083015261493c81614313565b9050919050565b6000602082019050818103600083015261495c81614336565b9050919050565b60006020820190506149786000830184614359565b92915050565b6000614988614999565b90506149948282614cf2565b919050565b6000604051905090565b600067ffffffffffffffff8211156149be576149bd614e63565b5b6149c782614e92565b9050602081019050919050565b600067ffffffffffffffff8211156149ef576149ee614e63565b5b6149f882614e92565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a5e82614bef565b9150614a6983614bef565b9250826fffffffffffffffffffffffffffffffff03821115614a8e57614a8d614da7565b5b828201905092915050565b6000614aa482614c2b565b9150614aaf83614c2b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ae457614ae3614da7565b5b828201905092915050565b6000614afa82614c2b565b9150614b0583614c2b565b925082614b1557614b14614dd6565b5b828204905092915050565b6000614b2b82614bef565b9150614b3683614bef565b925082821015614b4957614b48614da7565b5b828203905092915050565b6000614b5f82614c2b565b9150614b6a83614c2b565b925082821015614b7d57614b7c614da7565b5b828203905092915050565b6000614b9382614c0b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614bea82615736565b919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614c4d82614bdc565b9050919050565b82818337600083830152505050565b60005b83811015614c81578082015181840152602081019050614c66565b83811115614c90576000848401525b50505050565b6000614ca182614c2b565b91506000821415614cb557614cb4614da7565b5b600182039050919050565b60006002820490506001821680614cd857607f821691505b60208210811415614cec57614ceb614e34565b5b50919050565b614cfb82614e92565b810181811067ffffffffffffffff82111715614d1a57614d19614e63565b5b80604052505050565b6000614d2e82614c2b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d6157614d60614da7565b5b600182019050919050565b6000819050919050565b6000614d8182614c2b565b9150614d8c83614c2b565b925082614d9c57614d9b614dd6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f5348514530303100000000000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5348514530303500000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f5348514530303200000000000000000000000000000000000000000000000000600082015250565b7f5348514530303600000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f5348514530303800000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6004811061574757615746614e05565b5b50565b61575381614b88565b811461575e57600080fd5b50565b61576a81614b9a565b811461577557600080fd5b50565b61578181614bb0565b811461578c57600080fd5b50565b6004811061579c57600080fd5b50565b6157a881614c2b565b81146157b357600080fd5b5056fea26469706673582212200feafae71e304dbb38974055a1c832c870ff6a44c9c7adecbb5e0fa18681f0ea64736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000801b0a5303f77ca5e2e51f366819fcabcf9617d9000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f697066732e696f2f697066732f62616679626569616d696575637836647061356e3270616569787837697372673434676562336d6c6a7266357762773361753466767676626f35612f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initURI (string): https://ipfs.io/ipfs/bafybeiamieucx6dpa5n2paeixx7isrg44geb3mljrf5wbw3au4fvvvbo5a/
Arg [1] : signer (address): 0x801B0a5303F77Ca5e2E51f366819fcABcF9617D9

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000801b0a5303f77ca5e2e51f366819fcabcf9617d9
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [3] : 68747470733a2f2f697066732e696f2f697066732f62616679626569616d6965
Arg [4] : 75637836647061356e3270616569787837697372673434676562336d6c6a7266
Arg [5] : 357762773361753466767676626f35612f000000000000000000000000000000


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

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