ETH Price: $2,675.36 (+2.10%)

Token

NinjaHalloweenMintPass (NHMP)
 

Overview

Max Total Supply

3,538 NHMP

Holders

2,229

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 NHMP
0xb963eb1181b61c03d6a0e6c9660c8bc31aaf218a
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:
NinjaHalloweenMintPass

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : mint_ticket.sol
// SPDX-License-Identifier: MIT
// Copyright (c) 2022 Keisuke OHNO

/*

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

*/

pragma solidity >=0.7.0 <0.9.0;

import { Base64 } from 'base64-sol/base64.sol';
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";




//tokenURI interface
interface iTokenURI {
    function tokenURI(uint256 _tokenId) external view returns (string memory);
}

contract NinjaHalloweenMintPass is Ownable, AccessControl , ERC721A{

    constructor(
    ) ERC721A("NinjaHalloweenMintPass", "NHMP") {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(AIRDROP_ROLE      , msg.sender);
        setBaseURI("ipfs://QmUKhH8JaTMHX5CY2YJC1zgvV41WXuYCxDGpYbAN54MMP6/");
        setMerkleRoot(0x79a6c9af27b8b12c70c82960ed644c169ee530abd320df72bf014c1dc9ae36ff);
        _safeMint(0xdEcf4B112d4120B6998e5020a6B4819E490F7db6, 1);//atode kesu
    }


    //
    //withdraw section
    //

    address public constant withdrawAddress = 0xdEcf4B112d4120B6998e5020a6B4819E490F7db6;

    function withdraw() public onlyOwner {
        (bool os, ) = payable(withdrawAddress).call{value: address(this).balance}('');
        require(os);
    }


    //
    //mint section
    //

    uint256 public cost = 0;
    uint256 public maxSupply = 10000;
    uint256 public maxMintAmountPerTransaction = 10;
    uint256 public publicSaleMaxMintAmountPerAddress = 10;
    bool public paused = true;
    bool public onlyWhitelisted = true;
    bool public mintCount = true;
    mapping(address => uint256) public whitelistMintedAmount;
    mapping(address => uint256) public publicSaleMintedAmount;
    bytes32 public constant AIRDROP_ROLE = keccak256("AIRDROP_ROLE");

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract.");
        _;
    }
 
    //mint with merkle tree
    bytes32 public merkleRoot;
    function mint(uint256 _mintAmount , uint256 _maxMintAmount , bytes32[] calldata _merkleProof) public payable callerIsUser{
        require(!paused, "the contract is paused");
        require(0 < _mintAmount, "need to mint at least 1 NFT");
        require(_mintAmount <= maxMintAmountPerTransaction, "max mint amount per session exceeded");
        require(totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded");
        require(cost * _mintAmount <= msg.value, "insufficient funds");
        if(onlyWhitelisted == true) {
            bytes32 leaf = keccak256( abi.encodePacked(msg.sender, _maxMintAmount) );
            require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "user is not whitelisted");
            if(mintCount == true){
                require(_mintAmount <= _maxMintAmount - whitelistMintedAmount[msg.sender] , "max NFT per address exceeded");
                whitelistMintedAmount[msg.sender] += _mintAmount;
            }
        }else{
            if(mintCount == true){
                require(_mintAmount <= publicSaleMaxMintAmountPerAddress - publicSaleMintedAmount[msg.sender] , "max NFT per address exceeded");
                publicSaleMintedAmount[msg.sender] += _mintAmount;
            }
        }
        _safeMint(msg.sender, _mintAmount);
    }

    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }



    function airdropMint(address[] calldata _airdropAddresses , uint256[] memory _UserMintAmount) public {
        require(hasRole(AIRDROP_ROLE, msg.sender), "Caller is not a air dropper");
        uint256 _mintAmount = 0;
        for (uint256 i = 0; i < _UserMintAmount.length; i++) {
            _mintAmount += _UserMintAmount[i];
        }
        require(0 < _mintAmount , "need to mint at least 1 NFT");
        require(totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded");
        for (uint256 i = 0; i < _UserMintAmount.length; i++) {
            _safeMint(_airdropAddresses[i], _UserMintAmount[i] );
        }
    }

    function setMaxSupply(uint256 _maxSupply) public onlyOwner() {
        maxSupply = _maxSupply;
    }

    function setPublicSaleMaxMintAmountPerAddress(uint256 _publicSaleMaxMintAmountPerAddress) public onlyOwner() {
        publicSaleMaxMintAmountPerAddress = _publicSaleMaxMintAmountPerAddress;
    }

    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

    function setOnlyWhitelisted(bool _state) public onlyOwner {
        onlyWhitelisted = _state;
    }

    function setMaxMintAmountPerTransaction(uint256 _maxMintAmountPerTransaction) public onlyOwner {
        maxMintAmountPerTransaction = _maxMintAmountPerTransaction;
    }
  
    function pause(bool _state) public onlyOwner {
        paused = _state;
    }

    function setMintCount(bool _state) public onlyOwner {
        mintCount = _state;
    }
 


    //
    //URI section
    //

    string public baseURI;
    string public baseExtension = ".json";

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

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

    function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
        baseExtension = _newBaseExtension;
    }



    //
    //interface metadata
    //

    iTokenURI public interfaceOfTokenURI;
    bool public useInterfaceMetadata = false;

    function setInterfaceOfTokenURI(address _address) public onlyOwner() {
        interfaceOfTokenURI = iTokenURI(_address);
    }

    function setUseInterfaceMetadata(bool _useInterfaceMetadata) public onlyOwner() {
        useInterfaceMetadata = _useInterfaceMetadata;
    }


    //
    //single metadata
    //

    bool public useSingleMetadata = false;
    string public imageURI;
    string public metadataTitle;
    string public metadataDescription;
    string public metadataAttributes;

    //single image metadata
    function setUseSingleMetadata(bool _useSingleMetadata) public onlyOwner() {
        useSingleMetadata = _useSingleMetadata;
    }
    function setMetadataTitle(string memory _metadataTitle) public onlyOwner {
        metadataTitle = _metadataTitle;
    }
    function setMetadataDescription(string memory _metadataDescription) public onlyOwner {
        metadataDescription = _metadataDescription;
    }
    function setMetadataAttributes(string memory _metadataAttributes) public onlyOwner {
        metadataAttributes = _metadataAttributes;
    }
    function setImageURI(string memory _newImageURI) public onlyOwner {
        imageURI = _newImageURI;
    }

    //
    //token URI
    //

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        if (useInterfaceMetadata == true) {
            return interfaceOfTokenURI.tokenURI(tokenId);
        }
        if(useSingleMetadata == true){
            return string( abi.encodePacked( 'data:application/json;base64,' , Base64.encode(
                abi.encodePacked(
                    '{'
                        '"name":"' , metadataTitle ,'",' ,
                        '"description":"' , metadataDescription ,  '",' ,
                        '"image": "' , imageURI , '",' ,
                        '"attributes":[{"trait_type":"type","value":"' , metadataAttributes , '"}]',
                    '}'
                )
            ) ) );
        }
        return string(abi.encodePacked(ERC721A.tokenURI(1), baseExtension));
    }



    //
    //viewer section
    //

    function tokensOfOwner(address owner) public view returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }







    //
    //sbt section
    //

    bool public isSBT = false;

    function setIsSBT(bool _state) public onlyOwner {
        isSBT = _state;
    }

    function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity) internal virtual override{
        require( isSBT == false || from == address(0) || to == address(0x000000000000000000000000000000000000dEaD), "transfer is prohibited");
        super._beforeTokenTransfers(from, to, startTokenId, quantity);
    }

    function setApprovalForAll(address operator, bool approved) public virtual override {
        require( isSBT == false , "setApprovalForAll is prohibited");
        super.setApprovalForAll(operator, approved);
    }

    function approve(address to, uint256 tokenId) public payable virtual override {
        require( isSBT == false , "approve is prohibited");
        super.approve(to, tokenId);
    }


    //
    //override
    //

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

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }


}

File 2 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

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

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

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

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

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

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

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

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

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

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 4 of 12 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

File 5 of 12 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // 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 {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    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.
     * And also called after one token has been burned.
     *
     * `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` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 6 of 12 : base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 7 of 12 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

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

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

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 8 of 12 : 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 9 of 12 : 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 10 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 12 of 12 : 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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"AIRDROP_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_airdropAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_UserMintAmount","type":"uint256[]"}],"name":"airdropMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imageURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"interfaceOfTokenURI","outputs":[{"internalType":"contract iTokenURI","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":"isSBT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataAttributes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataDescription","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataTitle","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintCount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMaxMintAmountPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicSaleMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newImageURI","type":"string"}],"name":"setImageURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setInterfaceOfTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setIsSBT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTransaction","type":"uint256"}],"name":"setMaxMintAmountPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_metadataAttributes","type":"string"}],"name":"setMetadataAttributes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_metadataDescription","type":"string"}],"name":"setMetadataDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_metadataTitle","type":"string"}],"name":"setMetadataTitle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setMintCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSaleMaxMintAmountPerAddress","type":"uint256"}],"name":"setPublicSaleMaxMintAmountPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_useInterfaceMetadata","type":"bool"}],"name":"setUseInterfaceMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_useSingleMetadata","type":"bool"}],"name":"setUseSingleMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"useInterfaceMetadata","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"useSingleMetadata","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526000600a55612710600b55600a600c55600a600d556001600e60006101000a81548160ff0219169083151502179055506001600e60016101000a81548160ff0219169083151502179055506001600e60026101000a81548160ff0219169083151502179055506040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060139080519060200190620000b792919062000baa565b5060006014806101000a81548160ff0219169083151502179055506000601460156101000a81548160ff0219169083151502179055506000601960006101000a81548160ff0219169083151502179055503480156200011557600080fd5b506040518060400160405280601681526020017f4e696e6a6148616c6c6f7765656e4d696e7450617373000000000000000000008152506040518060400160405280600481526020017f4e484d5000000000000000000000000000000000000000000000000000000000815250620001a262000196620002be60201b60201c565b620002c660201b60201c565b8160049080519060200190620001ba92919062000baa565b508060059080519060200190620001d392919062000baa565b50620001e46200038a60201b60201c565b6002819055505050620002016000801b336200039360201b60201c565b620002337f3a2f235c9daaf33349d300aadff2f15078a89df81bcfdd45ba11c8f816bddc6f336200039360201b60201c565b6200025d60405180606001604052806036815260200162006bd660369139620003a960201b60201c565b620002917f79a6c9af27b8b12c70c82960ed644c169ee530abd320df72bf014c1dc9ae36ff60001b620003d560201b60201c565b620002b873decf4b112d4120b6998e5020a6b4819e490f7db66001620003ef60201b60201c565b62000fa0565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006001905090565b620003a582826200041560201b60201c565b5050565b620003b96200050660201b60201c565b8060129080519060200190620003d192919062000baa565b5050565b620003e56200050660201b60201c565b8060118190555050565b620004118282604051806020016040528060008152506200059760201b60201c565b5050565b6200042782826200064960201b60201c565b6200050257600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620004a7620002be60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b62000516620002be60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200053c620006b460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000595576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200058c9062000dca565b60405180910390fd5b565b620005a98383620006dd60201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14620006445760006002549050600083820390505b620005f36000868380600101945086620008c760201b60201c565b6200062a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110620005d85781600254146200064157600080fd5b50505b505050565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006002549050600082141562000720576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b62000735600084838562000a3960201b60201c565b600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550620007c483620007a6600086600062000b2260201b60201c565b620007b78562000b5260201b60201c565b1762000b6260201b60201c565b6006600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146200086757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506200082a565b506000821415620008a4576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806002819055505050620008c2600084838562000b8d60201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620008f562000b9360201b60201c565b8786866040518563ffffffff1660e01b815260040162000919949392919062000d54565b602060405180830381600087803b1580156200093457600080fd5b505af19250505080156200096857506040513d601f19601f8201168201806040525081019062000965919062000c71565b60015b620009e6573d80600081146200099b576040519150601f19603f3d011682016040523d82523d6000602084013e620009a0565b606091505b50600081511415620009de576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60001515601960009054906101000a900460ff161515148062000a885750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b8062000ac1575061dead73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b62000b03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000afa9062000da8565b60405180910390fd5b62000b1c8484848462000b9b60201b620029d61760201c565b50505050565b60008060e883901c905060e862000b4186868462000ba160201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b50505050565b60009392505050565b82805462000bb89062000eb9565b90600052602060002090601f01602090048101928262000bdc576000855562000c28565b82601f1062000bf757805160ff191683800117855562000c28565b8280016001018555821562000c28579182015b8281111562000c2757825182559160200191906001019062000c0a565b5b50905062000c37919062000c3b565b5090565b5b8082111562000c5657600081600090555060010162000c3c565b5090565b60008151905062000c6b8162000f86565b92915050565b60006020828403121562000c8a5762000c8962000f1e565b5b600062000c9a8482850162000c5a565b91505092915050565b62000cae8162000e19565b82525050565b600062000cc18262000dec565b62000ccd818562000df7565b935062000cdf81856020860162000e83565b62000cea8162000f23565b840191505092915050565b600062000d0460168362000e08565b915062000d118262000f34565b602082019050919050565b600062000d2b60208362000e08565b915062000d388262000f5d565b602082019050919050565b62000d4e8162000e79565b82525050565b600060808201905062000d6b600083018762000ca3565b62000d7a602083018662000ca3565b62000d89604083018562000d43565b818103606083015262000d9d818462000cb4565b905095945050505050565b6000602082019050818103600083015262000dc38162000cf5565b9050919050565b6000602082019050818103600083015262000de58162000d1c565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000e268262000e59565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000ea357808201518184015260208101905062000e86565b8381111562000eb3576000848401525b50505050565b6000600282049050600182168062000ed257607f821691505b6020821081141562000ee95762000ee862000eef565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f7472616e736665722069732070726f6869626974656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b62000f918162000e2d565b811462000f9d57600080fd5b50565b615c268062000fb06000396000f3fe6080604052600436106103e45760003560e01c8063715018a611610208578063aabb9a8611610118578063d5abeb01116100ab578063e6d37b881161007a578063e6d37b8814610e79578063e985e9c514610e95578063f138abfa14610ed2578063f2fde38b14610efb578063fcd1aac914610f24576103e4565b8063d5abeb0114610dd1578063d6dfad7614610dfc578063da3ef23f14610e27578063ddecc4d014610e50576103e4565b8063bbb89744116100e7578063bbb8974414610d15578063c668286214610d40578063c87b56dd14610d6b578063d547741f14610da8576103e4565b8063aabb9a8614610c7a578063b5f94d0614610ca5578063b88d4fde14610cce578063ba6269c614610cea576103e4565b8063942c92731161019b5780639c70b5121161016a5780639c70b51214610b95578063a217fddf14610bc0578063a22cb46514610beb578063a58c12ae14610c14578063a9e2acd514610c51576103e4565b8063942c927314610aeb57806395d89b4114610b165780639659867e14610b41578063981eb34414610b6c576103e4565b8063877984cb116101d7578063877984cb14610a2f5780638da5cb5b14610a5a5780638e73cf0014610a8557806391d1485414610aae576103e4565b8063715018a61461098757806373ef64fd1461099e5780637cb64759146109c95780638462151c146109f2576103e4565b8063279a669e1161030357806344a0d68a116102965780636352211e116102655780636352211e146108905780636b8ee0ec146108cd5780636c0360eb146108f65780636f8b44b01461092157806370a082311461094a576103e4565b806344a0d68a146107ea57806355f804b314610813578063599487c31461083c5780635c975abb14610865576103e4565b80633c952764116102d25780633c952764146107635780633ccfd60b1461078c5780633cf40df3146107a357806342842e0e146107ce576103e4565b8063279a669e146106bd5780632eb4a7ab146106e65780632f2ff15d1461071157806336568abe1461073a576103e4565b806313faede61161037b5780631fac2a351161034a5780631fac2a35146105fe57806323b872dd1461063b57806323c0308514610657578063248a9ca314610680576103e4565b806313faede6146105525780631581b6001461057d57806318160ddd146105a85780631e0fbfa2146105d3576103e4565b806306fdde03116103b757806306fdde03146104a3578063081812fc146104ce578063095ea7b31461050b578063135d088d14610527576103e4565b806301340a32146103e957806301ffc9a71461041457806302329a291461045157806304787ca21461047a575b600080fd5b3480156103f557600080fd5b506103fe610f4d565b60405161040b9190614eb6565b60405180910390f35b34801561042057600080fd5b5061043b600480360381019061043691906144f8565b610fdb565b6040516104489190614e65565b60405180910390f35b34801561045d57600080fd5b506104786004803603810190610473919061445e565b610ffd565b005b34801561048657600080fd5b506104a1600480360381019061049c9190614552565b611022565b005b3480156104af57600080fd5b506104b8611044565b6040516104c59190614eb6565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f091906145e4565b6110d6565b6040516105029190614ddc565b60405180910390f35b610525600480360381019061052091906143a2565b611155565b005b34801561053357600080fd5b5061053c6111b9565b6040516105499190614eb6565b60405180910390f35b34801561055e57600080fd5b50610567611247565b60405161057491906150d8565b60405180910390f35b34801561058957600080fd5b5061059261124d565b60405161059f9190614ddc565b60405180910390f35b3480156105b457600080fd5b506105bd611265565b6040516105ca91906150d8565b60405180910390f35b3480156105df57600080fd5b506105e861127c565b6040516105f59190614e80565b60405180910390f35b34801561060a57600080fd5b506106256004803603810190610620919061421f565b6112a0565b60405161063291906150d8565b60405180910390f35b6106556004803603810190610650919061428c565b6112b8565b005b34801561066357600080fd5b5061067e6004803603810190610679919061421f565b6115dd565b005b34801561068c57600080fd5b506106a760048036038101906106a2919061448b565b611629565b6040516106b49190614e80565b60405180910390f35b3480156106c957600080fd5b506106e460048036038101906106df91906143e2565b611649565b005b3480156106f257600080fd5b506106fb611806565b6040516107089190614e80565b60405180910390f35b34801561071d57600080fd5b50610738600480360381019061073391906144b8565b61180c565b005b34801561074657600080fd5b50610761600480360381019061075c91906144b8565b61182d565b005b34801561076f57600080fd5b5061078a6004803603810190610785919061445e565b6118b0565b005b34801561079857600080fd5b506107a16118d5565b005b3480156107af57600080fd5b506107b861196a565b6040516107c59190614e65565b60405180910390f35b6107e860048036038101906107e3919061428c565b61197d565b005b3480156107f657600080fd5b50610811600480360381019061080c91906145e4565b61199d565b005b34801561081f57600080fd5b5061083a60048036038101906108359190614552565b6119af565b005b34801561084857600080fd5b50610863600480360381019061085e9190614552565b6119d1565b005b34801561087157600080fd5b5061087a6119f3565b6040516108879190614e65565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b291906145e4565b611a06565b6040516108c49190614ddc565b60405180910390f35b3480156108d957600080fd5b506108f460048036038101906108ef919061445e565b611a18565b005b34801561090257600080fd5b5061090b611a3d565b6040516109189190614eb6565b60405180910390f35b34801561092d57600080fd5b50610948600480360381019061094391906145e4565b611acb565b005b34801561095657600080fd5b50610971600480360381019061096c919061421f565b611add565b60405161097e91906150d8565b60405180910390f35b34801561099357600080fd5b5061099c611b96565b005b3480156109aa57600080fd5b506109b3611baa565b6040516109c091906150d8565b60405180910390f35b3480156109d557600080fd5b506109f060048036038101906109eb919061448b565b611bb0565b005b3480156109fe57600080fd5b50610a196004803603810190610a14919061421f565b611bc2565b604051610a269190614e43565b60405180910390f35b348015610a3b57600080fd5b50610a44611d0c565b604051610a519190614e9b565b60405180910390f35b348015610a6657600080fd5b50610a6f611d32565b604051610a7c9190614ddc565b60405180910390f35b348015610a9157600080fd5b50610aac6004803603810190610aa7919061445e565b611d5b565b005b348015610aba57600080fd5b50610ad56004803603810190610ad091906144b8565b611d80565b604051610ae29190614e65565b60405180910390f35b348015610af757600080fd5b50610b00611deb565b604051610b0d9190614eb6565b60405180910390f35b348015610b2257600080fd5b50610b2b611e79565b604051610b389190614eb6565b60405180910390f35b348015610b4d57600080fd5b50610b56611f0b565b604051610b639190614e65565b60405180910390f35b348015610b7857600080fd5b50610b936004803603810190610b8e9190614552565b611f1e565b005b348015610ba157600080fd5b50610baa611f40565b604051610bb79190614e65565b60405180910390f35b348015610bcc57600080fd5b50610bd5611f53565b604051610be29190614e80565b60405180910390f35b348015610bf757600080fd5b50610c126004803603810190610c0d9190614362565b611f5a565b005b348015610c2057600080fd5b50610c3b6004803603810190610c36919061421f565b611fbe565b604051610c4891906150d8565b60405180910390f35b348015610c5d57600080fd5b50610c786004803603810190610c7391906145e4565b611fd6565b005b348015610c8657600080fd5b50610c8f611fe8565b604051610c9c9190614eb6565b60405180910390f35b348015610cb157600080fd5b50610ccc6004803603810190610cc791906145e4565b612076565b005b610ce86004803603810190610ce391906142df565b612088565b005b348015610cf657600080fd5b50610cff6120fb565b604051610d0c9190614e65565b60405180910390f35b348015610d2157600080fd5b50610d2a61210c565b604051610d3791906150d8565b60405180910390f35b348015610d4c57600080fd5b50610d55612112565b604051610d629190614eb6565b60405180910390f35b348015610d7757600080fd5b50610d926004803603810190610d8d91906145e4565b6121a0565b604051610d9f9190614eb6565b60405180910390f35b348015610db457600080fd5b50610dcf6004803603810190610dca91906144b8565b61231b565b005b348015610ddd57600080fd5b50610de661233c565b604051610df391906150d8565b60405180910390f35b348015610e0857600080fd5b50610e11612342565b604051610e1e9190614e65565b60405180910390f35b348015610e3357600080fd5b50610e4e6004803603810190610e499190614552565b612355565b005b348015610e5c57600080fd5b50610e776004803603810190610e729190614552565b612377565b005b610e936004803603810190610e8e9190614611565b612399565b005b348015610ea157600080fd5b50610ebc6004803603810190610eb7919061424c565b612875565b604051610ec99190614e65565b60405180910390f35b348015610ede57600080fd5b50610ef96004803603810190610ef4919061445e565b612909565b005b348015610f0757600080fd5b50610f226004803603810190610f1d919061421f565b61292d565b005b348015610f3057600080fd5b50610f4b6004803603810190610f46919061445e565b6129b1565b005b60188054610f5a90615477565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8690615477565b8015610fd35780601f10610fa857610100808354040283529160200191610fd3565b820191906000526020600020905b815481529060010190602001808311610fb657829003601f168201915b505050505081565b6000610fe6826129dc565b80610ff65750610ff5826129dc565b5b9050919050565b611005612a6e565b80600e60006101000a81548160ff02191690831515021790555050565b61102a612a6e565b8060159080519060200190611040929190613e15565b5050565b60606004805461105390615477565b80601f016020809104026020016040519081016040528092919081815260200182805461107f90615477565b80156110cc5780601f106110a1576101008083540402835291602001916110cc565b820191906000526020600020905b8154815290600101906020018083116110af57829003601f168201915b5050505050905090565b60006110e182612aec565b611117576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60001515601960009054906101000a900460ff161515146111ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a290614ef8565b60405180910390fd5b6111b58282612b4b565b5050565b601580546111c690615477565b80601f01602080910402602001604051908101604052809291908181526020018280546111f290615477565b801561123f5780601f106112145761010080835404028352916020019161123f565b820191906000526020600020905b81548152906001019060200180831161122257829003601f168201915b505050505081565b600a5481565b73decf4b112d4120b6998e5020a6b4819e490f7db681565b600061126f612c8f565b6003546002540303905090565b7f3a2f235c9daaf33349d300aadff2f15078a89df81bcfdd45ba11c8f816bddc6f81565b600f6020528060005260406000206000915090505481565b60006112c382612c98565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461132a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061133684612d66565b9150915061134c8187611347612d8d565b612d95565b611398576113618661135c612d8d565b612875565b611397576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156113ff576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61140c8686866001612dd9565b801561141757600082555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506114e5856114c1888887612eb0565b7c020000000000000000000000000000000000000000000000000000000017612ed8565b600660008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561156d57600060018501905060006006600083815260200190815260200160002054141561156b57600254811461156a578360066000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115d58686866001612f03565b505050505050565b6115e5612a6e565b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060016000838152602001908152602001600020600101549050919050565b6116737f3a2f235c9daaf33349d300aadff2f15078a89df81bcfdd45ba11c8f816bddc6f33611d80565b6116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990614f98565b60405180910390fd5b6000805b82518110156116fa578281815181106116d2576116d16155de565b5b6020026020010151826116e59190615242565b915080806116f2906154da565b9150506116b6565b508060001061173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173590615098565b60405180910390fd5b600b548161174a611265565b6117549190615242565b1115611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c90614fb8565b60405180910390fd5b60005b82518110156117ff576117ec8585838181106117b7576117b66155de565b5b90506020020160208101906117cc919061421f565b8483815181106117df576117de6155de565b5b6020026020010151612f09565b80806117f7906154da565b915050611798565b5050505050565b60115481565b61181582611629565b61181e81612f27565b6118288383612f3b565b505050565b61183561301b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611899906150b8565b60405180910390fd5b6118ac8282613023565b5050565b6118b8612a6e565b80600e60016101000a81548160ff02191690831515021790555050565b6118dd612a6e565b600073decf4b112d4120b6998e5020a6b4819e490f7db673ffffffffffffffffffffffffffffffffffffffff164760405161191790614d8d565b60006040518083038185875af1925050503d8060008114611954576040519150601f19603f3d011682016040523d82523d6000602084013e611959565b606091505b505090508061196757600080fd5b50565b601960009054906101000a900460ff1681565b61199883838360405180602001604052806000815250612088565b505050565b6119a5612a6e565b80600a8190555050565b6119b7612a6e565b80601290805190602001906119cd929190613e15565b5050565b6119d9612a6e565b80601790805190602001906119ef929190613e15565b5050565b600e60009054906101000a900460ff1681565b6000611a1182612c98565b9050919050565b611a20612a6e565b80601460156101000a81548160ff02191690831515021790555050565b60128054611a4a90615477565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7690615477565b8015611ac35780601f10611a9857610100808354040283529160200191611ac3565b820191906000526020600020905b815481529060010190602001808311611aa657829003601f168201915b505050505081565b611ad3612a6e565b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b45576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611b9e612a6e565b611ba86000613105565b565b600d5481565b611bb8612a6e565b8060118190555050565b60606000806000611bd285611add565b905060008167ffffffffffffffff811115611bf057611bef61560d565b5b604051908082528060200260200182016040528015611c1e5781602001602082028036833780820191505090505b509050611c29613e9b565b6000611c33612c8f565b90505b838614611cfe57611c46816131c9565b9150816040015115611c5757611cf3565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c9757816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611cf25780838780600101985081518110611ce557611ce46155de565b5b6020026020010181815250505b5b806001019050611c36565b508195505050505050919050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d63612a6e565b80600e60026101000a81548160ff02191690831515021790555050565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60178054611df890615477565b80601f0160208091040260200160405190810160405280929190818152602001828054611e2490615477565b8015611e715780601f10611e4657610100808354040283529160200191611e71565b820191906000526020600020905b815481529060010190602001808311611e5457829003601f168201915b505050505081565b606060058054611e8890615477565b80601f0160208091040260200160405190810160405280929190818152602001828054611eb490615477565b8015611f015780601f10611ed657610100808354040283529160200191611f01565b820191906000526020600020905b815481529060010190602001808311611ee457829003601f168201915b5050505050905090565b600e60029054906101000a900460ff1681565b611f26612a6e565b8060169080519060200190611f3c929190613e15565b5050565b600e60019054906101000a900460ff1681565b6000801b81565b60001515601960009054906101000a900460ff16151514611fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa790614f38565b60405180910390fd5b611fba82826131f4565b5050565b60106020528060005260406000206000915090505481565b611fde612a6e565b80600c8190555050565b60168054611ff590615477565b80601f016020809104026020016040519081016040528092919081815260200182805461202190615477565b801561206e5780601f106120435761010080835404028352916020019161206e565b820191906000526020600020905b81548152906001019060200180831161205157829003601f168201915b505050505081565b61207e612a6e565b80600d8190555050565b6120938484846112b8565b60008373ffffffffffffffffffffffffffffffffffffffff163b146120f5576120be848484846132ff565b6120f4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60148054906101000a900460ff1681565b600c5481565b6013805461211f90615477565b80601f016020809104026020016040519081016040528092919081815260200182805461214b90615477565b80156121985780601f1061216d57610100808354040283529160200191612198565b820191906000526020600020905b81548152906001019060200180831161217b57829003601f168201915b505050505081565b60606001151560148054906101000a900460ff161515141561227357601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b815260040161221791906150d8565b60006040518083038186803b15801561222f57600080fd5b505afa158015612243573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061226c919061459b565b9050612316565b60011515601460159054906101000a900460ff16151514156122e7576122c160166017601560186040516020016122ad9493929190614cca565b60405160208183030381529060405261345f565b6040516020016122d19190614d6b565b6040516020818303038152906040529050612316565b6122f160016135d8565b6013604051602001612304929190614ca6565b60405160208183030381529060405290505b919050565b61232482611629565b61232d81612f27565b6123378383613023565b505050565b600b5481565b601460159054906101000a900460ff1681565b61235d612a6e565b8060139080519060200190612373929190613e15565b5050565b61237f612a6e565b8060189080519060200190612395929190613e15565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fe90614f18565b60405180910390fd5b600e60009054906101000a900460ff1615612457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244e90615038565b60405180910390fd5b8360001061249a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249190615098565b60405180910390fd5b600c548411156124df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d690614fd8565b60405180910390fd5b600b54846124eb611265565b6124f59190615242565b1115612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d90614fb8565b60405180910390fd5b3484600a5461254591906152c9565b1115612586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257d90615058565b60405180910390fd5b60011515600e60019054906101000a900460ff161515141561276257600033846040516020016125b7929190614c56565b60405160208183030381529060405280519060200120905061261d838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060115483613677565b61265c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265390615078565b60405180910390fd5b60011515600e60029054906101000a900460ff161515141561275c57600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846126c39190615323565b851115612705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fc90614f78565b60405180910390fd5b84600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127549190615242565b925050819055505b50612865565b60011515600e60029054906101000a900460ff161515141561286457601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d546127cb9190615323565b84111561280d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280490614f78565b60405180910390fd5b83601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461285c9190615242565b925050819055505b5b61286f3385612f09565b50505050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612911612a6e565b806014806101000a81548160ff02191690831515021790555050565b612935612a6e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299c90614f58565b60405180910390fd5b6129ae81613105565b50565b6129b9612a6e565b80601960006101000a81548160ff02191690831515021790555050565b50505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a3757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a675750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b612a7661301b565b73ffffffffffffffffffffffffffffffffffffffff16612a94611d32565b73ffffffffffffffffffffffffffffffffffffffff1614612aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae190615018565b60405180910390fd5b565b600081612af7612c8f565b11158015612b06575060025482105b8015612b44575060007c0100000000000000000000000000000000000000000000000000000000600660008581526020019081526020016000205416145b9050919050565b6000612b5682611a06565b90508073ffffffffffffffffffffffffffffffffffffffff16612b77612d8d565b73ffffffffffffffffffffffffffffffffffffffff1614612bda57612ba381612b9e612d8d565b612875565b612bd9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826008600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60008082905080612ca7612c8f565b11612d2f57600254811015612d2e5760006006600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612d2c575b6000811415612d22576006600083600190039350838152602001908152602001600020549050612cf7565b8092505050612d61565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006008600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b60001515601960009054906101000a900460ff1615151480612e275750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80612e5f575061dead73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b612e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9590614ff8565b60405180910390fd5b612eaa848484846129d6565b50505050565b60008060e883901c905060e8612ec786868461368e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612f23828260405180602001604052806000815250613697565b5050565b612f3881612f3361301b565b613735565b50565b612f458282611d80565b61301757600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612fbc61301b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b61302d8282611d80565b156131015760006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506130a661301b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6131d1613e9b565b6131ed60066000848152602001908152602001600020546137d2565b9050919050565b8060096000613201612d8d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166132ae612d8d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132f39190614e65565b60405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613325612d8d565b8786866040518563ffffffff1660e01b81526004016133479493929190614df7565b602060405180830381600087803b15801561336157600080fd5b505af192505050801561339257506040513d601f19601f8201168201806040525081019061338f9190614525565b60015b61340c573d80600081146133c2576040519150601f19603f3d011682016040523d82523d6000602084013e6133c7565b606091505b50600081511415613404576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082511415613482576040518060200160405280600081525090506135d3565b6000604051806060016040528060408152602001615bb160409139905060006003600285516134b19190615242565b6134bb9190615298565b60046134c791906152c9565b905060006020826134d89190615242565b67ffffffffffffffff8111156134f1576134f061560d565b5b6040519080825280601f01601f1916602001820160405280156135235781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015613592576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050613537565b6003895106600181146135ac57600281146135bc576135c7565b613d3d60f01b60028303526135c7565b603d60f81b60018303525b50505050508093505050505b919050565b60606135e382612aec565b613619576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613623613888565b9050600081511415613644576040518060200160405280600081525061366f565b8061364e8461391a565b60405160200161365f929190614c82565b6040516020818303038152906040525b915050919050565b6000826136848584613973565b1490509392505050565b60009392505050565b6136a183836139c9565b60008373ffffffffffffffffffffffffffffffffffffffff163b146137305760006002549050600083820390505b6136e260008683806001019450866132ff565b613718576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106136cf57816002541461372d57600080fd5b50505b505050565b61373f8282611d80565b6137ce576137648173ffffffffffffffffffffffffffffffffffffffff166014613b87565b6137728360001c6020613b87565b604051602001613783929190614da2565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137c59190614eb6565b60405180910390fd5b5050565b6137da613e9b565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60606012805461389790615477565b80601f01602080910402602001604051908101604052809291908181526020018280546138c390615477565b80156139105780601f106138e557610100808354040283529160200191613910565b820191906000526020600020905b8154815290600101906020018083116138f357829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561395e57600184039350600a81066030018453600a81049050806139595761395e565b613933565b50828103602084039350808452505050919050565b60008082905060005b84518110156139be576139a98286838151811061399c5761399b6155de565b5b6020026020010151613dc3565b915080806139b6906154da565b91505061397c565b508091505092915050565b600060025490506000821415613a0b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613a186000848385612dd9565b600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613a8f83613a806000866000612eb0565b613a8985613dee565b17612ed8565b6006600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613b3057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613af5565b506000821415613b6c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806002819055505050613b826000848385612f03565b505050565b606060006002836002613b9a91906152c9565b613ba49190615242565b67ffffffffffffffff811115613bbd57613bbc61560d565b5b6040519080825280601f01601f191660200182016040528015613bef5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613c2757613c266155de565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613c8b57613c8a6155de565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613ccb91906152c9565b613cd59190615242565b90505b6001811115613d75577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613d1757613d166155de565b5b1a60f81b828281518110613d2e57613d2d6155de565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613d6e9061544d565b9050613cd8565b5060008414613db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613db090614ed8565b60405180910390fd5b8091505092915050565b6000818310613ddb57613dd68284613dfe565b613de6565b613de58383613dfe565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b828054613e2190615477565b90600052602060002090601f016020900481019282613e435760008555613e8a565b82601f10613e5c57805160ff1916838001178555613e8a565b82800160010185558215613e8a579182015b82811115613e89578251825591602001919060010190613e6e565b5b509050613e979190613eea565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b80821115613f03576000816000905550600101613eeb565b5090565b6000613f1a613f1584615118565b6150f3565b90508083825260208201905082856020860282011115613f3d57613f3c615646565b5b60005b85811015613f6d5781613f53888261420a565b845260208401935060208301925050600181019050613f40565b5050509392505050565b6000613f8a613f8584615144565b6150f3565b905082815260208101848484011115613fa657613fa561564b565b5b613fb184828561540b565b509392505050565b6000613fcc613fc784615175565b6150f3565b905082815260208101848484011115613fe857613fe761564b565b5b613ff384828561540b565b509392505050565b600061400e61400984615175565b6150f3565b90508281526020810184848401111561402a5761402961564b565b5b61403584828561541a565b509392505050565b60008135905061404c81615b3d565b92915050565b60008083601f84011261406857614067615641565b5b8235905067ffffffffffffffff8111156140855761408461563c565b5b6020830191508360208202830111156140a1576140a0615646565b5b9250929050565b60008083601f8401126140be576140bd615641565b5b8235905067ffffffffffffffff8111156140db576140da61563c565b5b6020830191508360208202830111156140f7576140f6615646565b5b9250929050565b600082601f83011261411357614112615641565b5b8135614123848260208601613f07565b91505092915050565b60008135905061413b81615b54565b92915050565b60008135905061415081615b6b565b92915050565b60008135905061416581615b82565b92915050565b60008151905061417a81615b82565b92915050565b600082601f83011261419557614194615641565b5b81356141a5848260208601613f77565b91505092915050565b600082601f8301126141c3576141c2615641565b5b81356141d3848260208601613fb9565b91505092915050565b600082601f8301126141f1576141f0615641565b5b8151614201848260208601613ffb565b91505092915050565b60008135905061421981615b99565b92915050565b60006020828403121561423557614234615655565b5b60006142438482850161403d565b91505092915050565b6000806040838503121561426357614262615655565b5b60006142718582860161403d565b92505060206142828582860161403d565b9150509250929050565b6000806000606084860312156142a5576142a4615655565b5b60006142b38682870161403d565b93505060206142c48682870161403d565b92505060406142d58682870161420a565b9150509250925092565b600080600080608085870312156142f9576142f8615655565b5b60006143078782880161403d565b94505060206143188782880161403d565b93505060406143298782880161420a565b925050606085013567ffffffffffffffff81111561434a57614349615650565b5b61435687828801614180565b91505092959194509250565b6000806040838503121561437957614378615655565b5b60006143878582860161403d565b92505060206143988582860161412c565b9150509250929050565b600080604083850312156143b9576143b8615655565b5b60006143c78582860161403d565b92505060206143d88582860161420a565b9150509250929050565b6000806000604084860312156143fb576143fa615655565b5b600084013567ffffffffffffffff81111561441957614418615650565b5b61442586828701614052565b9350935050602084013567ffffffffffffffff81111561444857614447615650565b5b614454868287016140fe565b9150509250925092565b60006020828403121561447457614473615655565b5b60006144828482850161412c565b91505092915050565b6000602082840312156144a1576144a0615655565b5b60006144af84828501614141565b91505092915050565b600080604083850312156144cf576144ce615655565b5b60006144dd85828601614141565b92505060206144ee8582860161403d565b9150509250929050565b60006020828403121561450e5761450d615655565b5b600061451c84828501614156565b91505092915050565b60006020828403121561453b5761453a615655565b5b60006145498482850161416b565b91505092915050565b60006020828403121561456857614567615655565b5b600082013567ffffffffffffffff81111561458657614585615650565b5b614592848285016141ae565b91505092915050565b6000602082840312156145b1576145b0615655565b5b600082015167ffffffffffffffff8111156145cf576145ce615650565b5b6145db848285016141dc565b91505092915050565b6000602082840312156145fa576145f9615655565b5b60006146088482850161420a565b91505092915050565b6000806000806060858703121561462b5761462a615655565b5b60006146398782880161420a565b945050602061464a8782880161420a565b935050604085013567ffffffffffffffff81111561466b5761466a615650565b5b614677878288016140a8565b925092505092959194509250565b60006146918383614c21565b60208301905092915050565b6146a681615357565b82525050565b6146bd6146b882615357565b615523565b82525050565b60006146ce826151cb565b6146d881856151f9565b93506146e3836151a6565b8060005b838110156147145781516146fb8882614685565b9750614706836151ec565b9250506001810190506146e7565b5085935050505092915050565b61472a81615369565b82525050565b61473981615375565b82525050565b600061474a826151d6565b614754818561520a565b935061476481856020860161541a565b61476d8161565a565b840191505092915050565b614781816153d5565b82525050565b6000614792826151e1565b61479c8185615226565b93506147ac81856020860161541a565b6147b58161565a565b840191505092915050565b60006147cb826151e1565b6147d58185615237565b93506147e581856020860161541a565b80840191505092915050565b600081546147fe81615477565b6148088186615237565b94506001821660008114614823576001811461483457614867565b60ff19831686528186019350614867565b61483d856151b6565b60005b8381101561485f57815481890152600182019150602081019050614840565b838801955050505b50505092915050565b600061487d602083615226565b915061488882615678565b602082019050919050565b60006148a0601583615226565b91506148ab826156a1565b602082019050919050565b60006148c3600983615237565b91506148ce826156ca565b600982019050919050565b60006148e6601f83615226565b91506148f1826156f3565b602082019050919050565b6000614909601f83615226565b91506149148261571c565b602082019050919050565b600061492c600f83615237565b915061493782615745565b600f82019050919050565b600061494f602683615226565b915061495a8261576e565b604082019050919050565b6000614972600283615237565b915061497d826157bd565b600282019050919050565b6000614995601c83615226565b91506149a0826157e6565b602082019050919050565b60006149b8601b83615226565b91506149c38261580f565b602082019050919050565b60006149db600383615237565b91506149e682615838565b600382019050919050565b60006149fe601683615226565b9150614a0982615861565b602082019050919050565b6000614a21602483615226565b9150614a2c8261588a565b604082019050919050565b6000614a44600183615237565b9150614a4f826158d9565b600182019050919050565b6000614a67601683615226565b9150614a7282615902565b602082019050919050565b6000614a8a602083615226565b9150614a958261592b565b602082019050919050565b6000614aad601683615226565b9150614ab882615954565b602082019050919050565b6000614ad0601d83615237565b9150614adb8261597d565b601d82019050919050565b6000614af360008361521b565b9150614afe826159a6565b600082019050919050565b6000614b16601283615226565b9150614b21826159a9565b602082019050919050565b6000614b39601783615237565b9150614b44826159d2565b601782019050919050565b6000614b5c600a83615237565b9150614b67826159fb565b600a82019050919050565b6000614b7f602c83615237565b9150614b8a82615a24565b602c82019050919050565b6000614ba2601783615226565b9150614bad82615a73565b602082019050919050565b6000614bc5601b83615226565b9150614bd082615a9c565b602082019050919050565b6000614be8601183615237565b9150614bf382615ac5565b601182019050919050565b6000614c0b602f83615226565b9150614c1682615aee565b604082019050919050565b614c2a816153cb565b82525050565b614c39816153cb565b82525050565b614c50614c4b826153cb565b615547565b82525050565b6000614c6282856146ac565b601482019150614c728284614c3f565b6020820191508190509392505050565b6000614c8e82856147c0565b9150614c9a82846147c0565b91508190509392505050565b6000614cb282856147c0565b9150614cbe82846147f1565b91508190509392505050565b6000614cd5826148b6565b9150614ce182876147f1565b9150614cec82614965565b9150614cf78261491f565b9150614d0382866147f1565b9150614d0e82614965565b9150614d1982614b4f565b9150614d2582856147f1565b9150614d3082614965565b9150614d3b82614b72565b9150614d4782846147f1565b9150614d52826149ce565b9150614d5d82614a37565b915081905095945050505050565b6000614d7682614ac3565b9150614d8282846147c0565b915081905092915050565b6000614d9882614ae6565b9150819050919050565b6000614dad82614b2c565b9150614db982856147c0565b9150614dc482614bdb565b9150614dd082846147c0565b91508190509392505050565b6000602082019050614df1600083018461469d565b92915050565b6000608082019050614e0c600083018761469d565b614e19602083018661469d565b614e266040830185614c30565b8181036060830152614e38818461473f565b905095945050505050565b60006020820190508181036000830152614e5d81846146c3565b905092915050565b6000602082019050614e7a6000830184614721565b92915050565b6000602082019050614e956000830184614730565b92915050565b6000602082019050614eb06000830184614778565b92915050565b60006020820190508181036000830152614ed08184614787565b905092915050565b60006020820190508181036000830152614ef181614870565b9050919050565b60006020820190508181036000830152614f1181614893565b9050919050565b60006020820190508181036000830152614f31816148d9565b9050919050565b60006020820190508181036000830152614f51816148fc565b9050919050565b60006020820190508181036000830152614f7181614942565b9050919050565b60006020820190508181036000830152614f9181614988565b9050919050565b60006020820190508181036000830152614fb1816149ab565b9050919050565b60006020820190508181036000830152614fd1816149f1565b9050919050565b60006020820190508181036000830152614ff181614a14565b9050919050565b6000602082019050818103600083015261501181614a5a565b9050919050565b6000602082019050818103600083015261503181614a7d565b9050919050565b6000602082019050818103600083015261505181614aa0565b9050919050565b6000602082019050818103600083015261507181614b09565b9050919050565b6000602082019050818103600083015261509181614b95565b9050919050565b600060208201905081810360008301526150b181614bb8565b9050919050565b600060208201905081810360008301526150d181614bfe565b9050919050565b60006020820190506150ed6000830184614c30565b92915050565b60006150fd61510e565b905061510982826154a9565b919050565b6000604051905090565b600067ffffffffffffffff8211156151335761513261560d565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561515f5761515e61560d565b5b6151688261565a565b9050602081019050919050565b600067ffffffffffffffff8211156151905761518f61560d565b5b6151998261565a565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061524d826153cb565b9150615258836153cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561528d5761528c615551565b5b828201905092915050565b60006152a3826153cb565b91506152ae836153cb565b9250826152be576152bd615580565b5b828204905092915050565b60006152d4826153cb565b91506152df836153cb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561531857615317615551565b5b828202905092915050565b600061532e826153cb565b9150615339836153cb565b92508282101561534c5761534b615551565b5b828203905092915050565b6000615362826153ab565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006153e0826153e7565b9050919050565b60006153f2826153f9565b9050919050565b6000615404826153ab565b9050919050565b82818337600083830152505050565b60005b8381101561543857808201518184015260208101905061541d565b83811115615447576000848401525b50505050565b6000615458826153cb565b9150600082141561546c5761546b615551565b5b600182039050919050565b6000600282049050600182168061548f57607f821691505b602082108114156154a3576154a26155af565b5b50919050565b6154b28261565a565b810181811067ffffffffffffffff821117156154d1576154d061560d565b5b80604052505050565b60006154e5826153cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561551857615517615551565b5b600182019050919050565b600061552e82615535565b9050919050565b60006155408261566b565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f617070726f76652069732070726f686962697465640000000000000000000000600082015250565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f736574417070726f76616c466f72416c6c2069732070726f6869626974656400600082015250565b7f226465736372697074696f6e223a220000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f43616c6c6572206973206e6f742061206169722064726f707065720000000000600082015250565b7f227d5d0000000000000000000000000000000000000000000000000000000000600082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f7472616e736665722069732070726f6869626974656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2274797060008201527f65222c2276616c7565223a220000000000000000000000000000000000000000602082015250565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615b4681615357565b8114615b5157600080fd5b50565b615b5d81615369565b8114615b6857600080fd5b50565b615b7481615375565b8114615b7f57600080fd5b50565b615b8b8161537f565b8114615b9657600080fd5b50565b615ba2816153cb565b8114615bad57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212201f3eb6473beb43a3f59c5a10a7bfa860b0b06b53067e8483d17946a04a449a8f64736f6c63430008070033697066733a2f2f516d554b6848384a61544d485835435932594a43317a67765634315758755943784447705962414e35344d4d50362f

Deployed Bytecode

0x6080604052600436106103e45760003560e01c8063715018a611610208578063aabb9a8611610118578063d5abeb01116100ab578063e6d37b881161007a578063e6d37b8814610e79578063e985e9c514610e95578063f138abfa14610ed2578063f2fde38b14610efb578063fcd1aac914610f24576103e4565b8063d5abeb0114610dd1578063d6dfad7614610dfc578063da3ef23f14610e27578063ddecc4d014610e50576103e4565b8063bbb89744116100e7578063bbb8974414610d15578063c668286214610d40578063c87b56dd14610d6b578063d547741f14610da8576103e4565b8063aabb9a8614610c7a578063b5f94d0614610ca5578063b88d4fde14610cce578063ba6269c614610cea576103e4565b8063942c92731161019b5780639c70b5121161016a5780639c70b51214610b95578063a217fddf14610bc0578063a22cb46514610beb578063a58c12ae14610c14578063a9e2acd514610c51576103e4565b8063942c927314610aeb57806395d89b4114610b165780639659867e14610b41578063981eb34414610b6c576103e4565b8063877984cb116101d7578063877984cb14610a2f5780638da5cb5b14610a5a5780638e73cf0014610a8557806391d1485414610aae576103e4565b8063715018a61461098757806373ef64fd1461099e5780637cb64759146109c95780638462151c146109f2576103e4565b8063279a669e1161030357806344a0d68a116102965780636352211e116102655780636352211e146108905780636b8ee0ec146108cd5780636c0360eb146108f65780636f8b44b01461092157806370a082311461094a576103e4565b806344a0d68a146107ea57806355f804b314610813578063599487c31461083c5780635c975abb14610865576103e4565b80633c952764116102d25780633c952764146107635780633ccfd60b1461078c5780633cf40df3146107a357806342842e0e146107ce576103e4565b8063279a669e146106bd5780632eb4a7ab146106e65780632f2ff15d1461071157806336568abe1461073a576103e4565b806313faede61161037b5780631fac2a351161034a5780631fac2a35146105fe57806323b872dd1461063b57806323c0308514610657578063248a9ca314610680576103e4565b806313faede6146105525780631581b6001461057d57806318160ddd146105a85780631e0fbfa2146105d3576103e4565b806306fdde03116103b757806306fdde03146104a3578063081812fc146104ce578063095ea7b31461050b578063135d088d14610527576103e4565b806301340a32146103e957806301ffc9a71461041457806302329a291461045157806304787ca21461047a575b600080fd5b3480156103f557600080fd5b506103fe610f4d565b60405161040b9190614eb6565b60405180910390f35b34801561042057600080fd5b5061043b600480360381019061043691906144f8565b610fdb565b6040516104489190614e65565b60405180910390f35b34801561045d57600080fd5b506104786004803603810190610473919061445e565b610ffd565b005b34801561048657600080fd5b506104a1600480360381019061049c9190614552565b611022565b005b3480156104af57600080fd5b506104b8611044565b6040516104c59190614eb6565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f091906145e4565b6110d6565b6040516105029190614ddc565b60405180910390f35b610525600480360381019061052091906143a2565b611155565b005b34801561053357600080fd5b5061053c6111b9565b6040516105499190614eb6565b60405180910390f35b34801561055e57600080fd5b50610567611247565b60405161057491906150d8565b60405180910390f35b34801561058957600080fd5b5061059261124d565b60405161059f9190614ddc565b60405180910390f35b3480156105b457600080fd5b506105bd611265565b6040516105ca91906150d8565b60405180910390f35b3480156105df57600080fd5b506105e861127c565b6040516105f59190614e80565b60405180910390f35b34801561060a57600080fd5b506106256004803603810190610620919061421f565b6112a0565b60405161063291906150d8565b60405180910390f35b6106556004803603810190610650919061428c565b6112b8565b005b34801561066357600080fd5b5061067e6004803603810190610679919061421f565b6115dd565b005b34801561068c57600080fd5b506106a760048036038101906106a2919061448b565b611629565b6040516106b49190614e80565b60405180910390f35b3480156106c957600080fd5b506106e460048036038101906106df91906143e2565b611649565b005b3480156106f257600080fd5b506106fb611806565b6040516107089190614e80565b60405180910390f35b34801561071d57600080fd5b50610738600480360381019061073391906144b8565b61180c565b005b34801561074657600080fd5b50610761600480360381019061075c91906144b8565b61182d565b005b34801561076f57600080fd5b5061078a6004803603810190610785919061445e565b6118b0565b005b34801561079857600080fd5b506107a16118d5565b005b3480156107af57600080fd5b506107b861196a565b6040516107c59190614e65565b60405180910390f35b6107e860048036038101906107e3919061428c565b61197d565b005b3480156107f657600080fd5b50610811600480360381019061080c91906145e4565b61199d565b005b34801561081f57600080fd5b5061083a60048036038101906108359190614552565b6119af565b005b34801561084857600080fd5b50610863600480360381019061085e9190614552565b6119d1565b005b34801561087157600080fd5b5061087a6119f3565b6040516108879190614e65565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b291906145e4565b611a06565b6040516108c49190614ddc565b60405180910390f35b3480156108d957600080fd5b506108f460048036038101906108ef919061445e565b611a18565b005b34801561090257600080fd5b5061090b611a3d565b6040516109189190614eb6565b60405180910390f35b34801561092d57600080fd5b50610948600480360381019061094391906145e4565b611acb565b005b34801561095657600080fd5b50610971600480360381019061096c919061421f565b611add565b60405161097e91906150d8565b60405180910390f35b34801561099357600080fd5b5061099c611b96565b005b3480156109aa57600080fd5b506109b3611baa565b6040516109c091906150d8565b60405180910390f35b3480156109d557600080fd5b506109f060048036038101906109eb919061448b565b611bb0565b005b3480156109fe57600080fd5b50610a196004803603810190610a14919061421f565b611bc2565b604051610a269190614e43565b60405180910390f35b348015610a3b57600080fd5b50610a44611d0c565b604051610a519190614e9b565b60405180910390f35b348015610a6657600080fd5b50610a6f611d32565b604051610a7c9190614ddc565b60405180910390f35b348015610a9157600080fd5b50610aac6004803603810190610aa7919061445e565b611d5b565b005b348015610aba57600080fd5b50610ad56004803603810190610ad091906144b8565b611d80565b604051610ae29190614e65565b60405180910390f35b348015610af757600080fd5b50610b00611deb565b604051610b0d9190614eb6565b60405180910390f35b348015610b2257600080fd5b50610b2b611e79565b604051610b389190614eb6565b60405180910390f35b348015610b4d57600080fd5b50610b56611f0b565b604051610b639190614e65565b60405180910390f35b348015610b7857600080fd5b50610b936004803603810190610b8e9190614552565b611f1e565b005b348015610ba157600080fd5b50610baa611f40565b604051610bb79190614e65565b60405180910390f35b348015610bcc57600080fd5b50610bd5611f53565b604051610be29190614e80565b60405180910390f35b348015610bf757600080fd5b50610c126004803603810190610c0d9190614362565b611f5a565b005b348015610c2057600080fd5b50610c3b6004803603810190610c36919061421f565b611fbe565b604051610c4891906150d8565b60405180910390f35b348015610c5d57600080fd5b50610c786004803603810190610c7391906145e4565b611fd6565b005b348015610c8657600080fd5b50610c8f611fe8565b604051610c9c9190614eb6565b60405180910390f35b348015610cb157600080fd5b50610ccc6004803603810190610cc791906145e4565b612076565b005b610ce86004803603810190610ce391906142df565b612088565b005b348015610cf657600080fd5b50610cff6120fb565b604051610d0c9190614e65565b60405180910390f35b348015610d2157600080fd5b50610d2a61210c565b604051610d3791906150d8565b60405180910390f35b348015610d4c57600080fd5b50610d55612112565b604051610d629190614eb6565b60405180910390f35b348015610d7757600080fd5b50610d926004803603810190610d8d91906145e4565b6121a0565b604051610d9f9190614eb6565b60405180910390f35b348015610db457600080fd5b50610dcf6004803603810190610dca91906144b8565b61231b565b005b348015610ddd57600080fd5b50610de661233c565b604051610df391906150d8565b60405180910390f35b348015610e0857600080fd5b50610e11612342565b604051610e1e9190614e65565b60405180910390f35b348015610e3357600080fd5b50610e4e6004803603810190610e499190614552565b612355565b005b348015610e5c57600080fd5b50610e776004803603810190610e729190614552565b612377565b005b610e936004803603810190610e8e9190614611565b612399565b005b348015610ea157600080fd5b50610ebc6004803603810190610eb7919061424c565b612875565b604051610ec99190614e65565b60405180910390f35b348015610ede57600080fd5b50610ef96004803603810190610ef4919061445e565b612909565b005b348015610f0757600080fd5b50610f226004803603810190610f1d919061421f565b61292d565b005b348015610f3057600080fd5b50610f4b6004803603810190610f46919061445e565b6129b1565b005b60188054610f5a90615477565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8690615477565b8015610fd35780601f10610fa857610100808354040283529160200191610fd3565b820191906000526020600020905b815481529060010190602001808311610fb657829003601f168201915b505050505081565b6000610fe6826129dc565b80610ff65750610ff5826129dc565b5b9050919050565b611005612a6e565b80600e60006101000a81548160ff02191690831515021790555050565b61102a612a6e565b8060159080519060200190611040929190613e15565b5050565b60606004805461105390615477565b80601f016020809104026020016040519081016040528092919081815260200182805461107f90615477565b80156110cc5780601f106110a1576101008083540402835291602001916110cc565b820191906000526020600020905b8154815290600101906020018083116110af57829003601f168201915b5050505050905090565b60006110e182612aec565b611117576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60001515601960009054906101000a900460ff161515146111ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a290614ef8565b60405180910390fd5b6111b58282612b4b565b5050565b601580546111c690615477565b80601f01602080910402602001604051908101604052809291908181526020018280546111f290615477565b801561123f5780601f106112145761010080835404028352916020019161123f565b820191906000526020600020905b81548152906001019060200180831161122257829003601f168201915b505050505081565b600a5481565b73decf4b112d4120b6998e5020a6b4819e490f7db681565b600061126f612c8f565b6003546002540303905090565b7f3a2f235c9daaf33349d300aadff2f15078a89df81bcfdd45ba11c8f816bddc6f81565b600f6020528060005260406000206000915090505481565b60006112c382612c98565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461132a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061133684612d66565b9150915061134c8187611347612d8d565b612d95565b611398576113618661135c612d8d565b612875565b611397576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156113ff576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61140c8686866001612dd9565b801561141757600082555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506114e5856114c1888887612eb0565b7c020000000000000000000000000000000000000000000000000000000017612ed8565b600660008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561156d57600060018501905060006006600083815260200190815260200160002054141561156b57600254811461156a578360066000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115d58686866001612f03565b505050505050565b6115e5612a6e565b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060016000838152602001908152602001600020600101549050919050565b6116737f3a2f235c9daaf33349d300aadff2f15078a89df81bcfdd45ba11c8f816bddc6f33611d80565b6116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990614f98565b60405180910390fd5b6000805b82518110156116fa578281815181106116d2576116d16155de565b5b6020026020010151826116e59190615242565b915080806116f2906154da565b9150506116b6565b508060001061173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173590615098565b60405180910390fd5b600b548161174a611265565b6117549190615242565b1115611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c90614fb8565b60405180910390fd5b60005b82518110156117ff576117ec8585838181106117b7576117b66155de565b5b90506020020160208101906117cc919061421f565b8483815181106117df576117de6155de565b5b6020026020010151612f09565b80806117f7906154da565b915050611798565b5050505050565b60115481565b61181582611629565b61181e81612f27565b6118288383612f3b565b505050565b61183561301b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611899906150b8565b60405180910390fd5b6118ac8282613023565b5050565b6118b8612a6e565b80600e60016101000a81548160ff02191690831515021790555050565b6118dd612a6e565b600073decf4b112d4120b6998e5020a6b4819e490f7db673ffffffffffffffffffffffffffffffffffffffff164760405161191790614d8d565b60006040518083038185875af1925050503d8060008114611954576040519150601f19603f3d011682016040523d82523d6000602084013e611959565b606091505b505090508061196757600080fd5b50565b601960009054906101000a900460ff1681565b61199883838360405180602001604052806000815250612088565b505050565b6119a5612a6e565b80600a8190555050565b6119b7612a6e565b80601290805190602001906119cd929190613e15565b5050565b6119d9612a6e565b80601790805190602001906119ef929190613e15565b5050565b600e60009054906101000a900460ff1681565b6000611a1182612c98565b9050919050565b611a20612a6e565b80601460156101000a81548160ff02191690831515021790555050565b60128054611a4a90615477565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7690615477565b8015611ac35780601f10611a9857610100808354040283529160200191611ac3565b820191906000526020600020905b815481529060010190602001808311611aa657829003601f168201915b505050505081565b611ad3612a6e565b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b45576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611b9e612a6e565b611ba86000613105565b565b600d5481565b611bb8612a6e565b8060118190555050565b60606000806000611bd285611add565b905060008167ffffffffffffffff811115611bf057611bef61560d565b5b604051908082528060200260200182016040528015611c1e5781602001602082028036833780820191505090505b509050611c29613e9b565b6000611c33612c8f565b90505b838614611cfe57611c46816131c9565b9150816040015115611c5757611cf3565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c9757816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611cf25780838780600101985081518110611ce557611ce46155de565b5b6020026020010181815250505b5b806001019050611c36565b508195505050505050919050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d63612a6e565b80600e60026101000a81548160ff02191690831515021790555050565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60178054611df890615477565b80601f0160208091040260200160405190810160405280929190818152602001828054611e2490615477565b8015611e715780601f10611e4657610100808354040283529160200191611e71565b820191906000526020600020905b815481529060010190602001808311611e5457829003601f168201915b505050505081565b606060058054611e8890615477565b80601f0160208091040260200160405190810160405280929190818152602001828054611eb490615477565b8015611f015780601f10611ed657610100808354040283529160200191611f01565b820191906000526020600020905b815481529060010190602001808311611ee457829003601f168201915b5050505050905090565b600e60029054906101000a900460ff1681565b611f26612a6e565b8060169080519060200190611f3c929190613e15565b5050565b600e60019054906101000a900460ff1681565b6000801b81565b60001515601960009054906101000a900460ff16151514611fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa790614f38565b60405180910390fd5b611fba82826131f4565b5050565b60106020528060005260406000206000915090505481565b611fde612a6e565b80600c8190555050565b60168054611ff590615477565b80601f016020809104026020016040519081016040528092919081815260200182805461202190615477565b801561206e5780601f106120435761010080835404028352916020019161206e565b820191906000526020600020905b81548152906001019060200180831161205157829003601f168201915b505050505081565b61207e612a6e565b80600d8190555050565b6120938484846112b8565b60008373ffffffffffffffffffffffffffffffffffffffff163b146120f5576120be848484846132ff565b6120f4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60148054906101000a900460ff1681565b600c5481565b6013805461211f90615477565b80601f016020809104026020016040519081016040528092919081815260200182805461214b90615477565b80156121985780601f1061216d57610100808354040283529160200191612198565b820191906000526020600020905b81548152906001019060200180831161217b57829003601f168201915b505050505081565b60606001151560148054906101000a900460ff161515141561227357601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b815260040161221791906150d8565b60006040518083038186803b15801561222f57600080fd5b505afa158015612243573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061226c919061459b565b9050612316565b60011515601460159054906101000a900460ff16151514156122e7576122c160166017601560186040516020016122ad9493929190614cca565b60405160208183030381529060405261345f565b6040516020016122d19190614d6b565b6040516020818303038152906040529050612316565b6122f160016135d8565b6013604051602001612304929190614ca6565b60405160208183030381529060405290505b919050565b61232482611629565b61232d81612f27565b6123378383613023565b505050565b600b5481565b601460159054906101000a900460ff1681565b61235d612a6e565b8060139080519060200190612373929190613e15565b5050565b61237f612a6e565b8060189080519060200190612395929190613e15565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fe90614f18565b60405180910390fd5b600e60009054906101000a900460ff1615612457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244e90615038565b60405180910390fd5b8360001061249a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249190615098565b60405180910390fd5b600c548411156124df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d690614fd8565b60405180910390fd5b600b54846124eb611265565b6124f59190615242565b1115612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d90614fb8565b60405180910390fd5b3484600a5461254591906152c9565b1115612586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257d90615058565b60405180910390fd5b60011515600e60019054906101000a900460ff161515141561276257600033846040516020016125b7929190614c56565b60405160208183030381529060405280519060200120905061261d838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060115483613677565b61265c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265390615078565b60405180910390fd5b60011515600e60029054906101000a900460ff161515141561275c57600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846126c39190615323565b851115612705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fc90614f78565b60405180910390fd5b84600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127549190615242565b925050819055505b50612865565b60011515600e60029054906101000a900460ff161515141561286457601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d546127cb9190615323565b84111561280d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280490614f78565b60405180910390fd5b83601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461285c9190615242565b925050819055505b5b61286f3385612f09565b50505050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612911612a6e565b806014806101000a81548160ff02191690831515021790555050565b612935612a6e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299c90614f58565b60405180910390fd5b6129ae81613105565b50565b6129b9612a6e565b80601960006101000a81548160ff02191690831515021790555050565b50505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a3757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a675750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b612a7661301b565b73ffffffffffffffffffffffffffffffffffffffff16612a94611d32565b73ffffffffffffffffffffffffffffffffffffffff1614612aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae190615018565b60405180910390fd5b565b600081612af7612c8f565b11158015612b06575060025482105b8015612b44575060007c0100000000000000000000000000000000000000000000000000000000600660008581526020019081526020016000205416145b9050919050565b6000612b5682611a06565b90508073ffffffffffffffffffffffffffffffffffffffff16612b77612d8d565b73ffffffffffffffffffffffffffffffffffffffff1614612bda57612ba381612b9e612d8d565b612875565b612bd9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826008600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60008082905080612ca7612c8f565b11612d2f57600254811015612d2e5760006006600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612d2c575b6000811415612d22576006600083600190039350838152602001908152602001600020549050612cf7565b8092505050612d61565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006008600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b60001515601960009054906101000a900460ff1615151480612e275750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80612e5f575061dead73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b612e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9590614ff8565b60405180910390fd5b612eaa848484846129d6565b50505050565b60008060e883901c905060e8612ec786868461368e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612f23828260405180602001604052806000815250613697565b5050565b612f3881612f3361301b565b613735565b50565b612f458282611d80565b61301757600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612fbc61301b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b61302d8282611d80565b156131015760006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506130a661301b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6131d1613e9b565b6131ed60066000848152602001908152602001600020546137d2565b9050919050565b8060096000613201612d8d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166132ae612d8d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132f39190614e65565b60405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613325612d8d565b8786866040518563ffffffff1660e01b81526004016133479493929190614df7565b602060405180830381600087803b15801561336157600080fd5b505af192505050801561339257506040513d601f19601f8201168201806040525081019061338f9190614525565b60015b61340c573d80600081146133c2576040519150601f19603f3d011682016040523d82523d6000602084013e6133c7565b606091505b50600081511415613404576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082511415613482576040518060200160405280600081525090506135d3565b6000604051806060016040528060408152602001615bb160409139905060006003600285516134b19190615242565b6134bb9190615298565b60046134c791906152c9565b905060006020826134d89190615242565b67ffffffffffffffff8111156134f1576134f061560d565b5b6040519080825280601f01601f1916602001820160405280156135235781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015613592576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050613537565b6003895106600181146135ac57600281146135bc576135c7565b613d3d60f01b60028303526135c7565b603d60f81b60018303525b50505050508093505050505b919050565b60606135e382612aec565b613619576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613623613888565b9050600081511415613644576040518060200160405280600081525061366f565b8061364e8461391a565b60405160200161365f929190614c82565b6040516020818303038152906040525b915050919050565b6000826136848584613973565b1490509392505050565b60009392505050565b6136a183836139c9565b60008373ffffffffffffffffffffffffffffffffffffffff163b146137305760006002549050600083820390505b6136e260008683806001019450866132ff565b613718576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106136cf57816002541461372d57600080fd5b50505b505050565b61373f8282611d80565b6137ce576137648173ffffffffffffffffffffffffffffffffffffffff166014613b87565b6137728360001c6020613b87565b604051602001613783929190614da2565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137c59190614eb6565b60405180910390fd5b5050565b6137da613e9b565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60606012805461389790615477565b80601f01602080910402602001604051908101604052809291908181526020018280546138c390615477565b80156139105780601f106138e557610100808354040283529160200191613910565b820191906000526020600020905b8154815290600101906020018083116138f357829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561395e57600184039350600a81066030018453600a81049050806139595761395e565b613933565b50828103602084039350808452505050919050565b60008082905060005b84518110156139be576139a98286838151811061399c5761399b6155de565b5b6020026020010151613dc3565b915080806139b6906154da565b91505061397c565b508091505092915050565b600060025490506000821415613a0b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613a186000848385612dd9565b600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613a8f83613a806000866000612eb0565b613a8985613dee565b17612ed8565b6006600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613b3057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613af5565b506000821415613b6c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806002819055505050613b826000848385612f03565b505050565b606060006002836002613b9a91906152c9565b613ba49190615242565b67ffffffffffffffff811115613bbd57613bbc61560d565b5b6040519080825280601f01601f191660200182016040528015613bef5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613c2757613c266155de565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613c8b57613c8a6155de565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613ccb91906152c9565b613cd59190615242565b90505b6001811115613d75577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613d1757613d166155de565b5b1a60f81b828281518110613d2e57613d2d6155de565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613d6e9061544d565b9050613cd8565b5060008414613db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613db090614ed8565b60405180910390fd5b8091505092915050565b6000818310613ddb57613dd68284613dfe565b613de6565b613de58383613dfe565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b828054613e2190615477565b90600052602060002090601f016020900481019282613e435760008555613e8a565b82601f10613e5c57805160ff1916838001178555613e8a565b82800160010185558215613e8a579182015b82811115613e89578251825591602001919060010190613e6e565b5b509050613e979190613eea565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b80821115613f03576000816000905550600101613eeb565b5090565b6000613f1a613f1584615118565b6150f3565b90508083825260208201905082856020860282011115613f3d57613f3c615646565b5b60005b85811015613f6d5781613f53888261420a565b845260208401935060208301925050600181019050613f40565b5050509392505050565b6000613f8a613f8584615144565b6150f3565b905082815260208101848484011115613fa657613fa561564b565b5b613fb184828561540b565b509392505050565b6000613fcc613fc784615175565b6150f3565b905082815260208101848484011115613fe857613fe761564b565b5b613ff384828561540b565b509392505050565b600061400e61400984615175565b6150f3565b90508281526020810184848401111561402a5761402961564b565b5b61403584828561541a565b509392505050565b60008135905061404c81615b3d565b92915050565b60008083601f84011261406857614067615641565b5b8235905067ffffffffffffffff8111156140855761408461563c565b5b6020830191508360208202830111156140a1576140a0615646565b5b9250929050565b60008083601f8401126140be576140bd615641565b5b8235905067ffffffffffffffff8111156140db576140da61563c565b5b6020830191508360208202830111156140f7576140f6615646565b5b9250929050565b600082601f83011261411357614112615641565b5b8135614123848260208601613f07565b91505092915050565b60008135905061413b81615b54565b92915050565b60008135905061415081615b6b565b92915050565b60008135905061416581615b82565b92915050565b60008151905061417a81615b82565b92915050565b600082601f83011261419557614194615641565b5b81356141a5848260208601613f77565b91505092915050565b600082601f8301126141c3576141c2615641565b5b81356141d3848260208601613fb9565b91505092915050565b600082601f8301126141f1576141f0615641565b5b8151614201848260208601613ffb565b91505092915050565b60008135905061421981615b99565b92915050565b60006020828403121561423557614234615655565b5b60006142438482850161403d565b91505092915050565b6000806040838503121561426357614262615655565b5b60006142718582860161403d565b92505060206142828582860161403d565b9150509250929050565b6000806000606084860312156142a5576142a4615655565b5b60006142b38682870161403d565b93505060206142c48682870161403d565b92505060406142d58682870161420a565b9150509250925092565b600080600080608085870312156142f9576142f8615655565b5b60006143078782880161403d565b94505060206143188782880161403d565b93505060406143298782880161420a565b925050606085013567ffffffffffffffff81111561434a57614349615650565b5b61435687828801614180565b91505092959194509250565b6000806040838503121561437957614378615655565b5b60006143878582860161403d565b92505060206143988582860161412c565b9150509250929050565b600080604083850312156143b9576143b8615655565b5b60006143c78582860161403d565b92505060206143d88582860161420a565b9150509250929050565b6000806000604084860312156143fb576143fa615655565b5b600084013567ffffffffffffffff81111561441957614418615650565b5b61442586828701614052565b9350935050602084013567ffffffffffffffff81111561444857614447615650565b5b614454868287016140fe565b9150509250925092565b60006020828403121561447457614473615655565b5b60006144828482850161412c565b91505092915050565b6000602082840312156144a1576144a0615655565b5b60006144af84828501614141565b91505092915050565b600080604083850312156144cf576144ce615655565b5b60006144dd85828601614141565b92505060206144ee8582860161403d565b9150509250929050565b60006020828403121561450e5761450d615655565b5b600061451c84828501614156565b91505092915050565b60006020828403121561453b5761453a615655565b5b60006145498482850161416b565b91505092915050565b60006020828403121561456857614567615655565b5b600082013567ffffffffffffffff81111561458657614585615650565b5b614592848285016141ae565b91505092915050565b6000602082840312156145b1576145b0615655565b5b600082015167ffffffffffffffff8111156145cf576145ce615650565b5b6145db848285016141dc565b91505092915050565b6000602082840312156145fa576145f9615655565b5b60006146088482850161420a565b91505092915050565b6000806000806060858703121561462b5761462a615655565b5b60006146398782880161420a565b945050602061464a8782880161420a565b935050604085013567ffffffffffffffff81111561466b5761466a615650565b5b614677878288016140a8565b925092505092959194509250565b60006146918383614c21565b60208301905092915050565b6146a681615357565b82525050565b6146bd6146b882615357565b615523565b82525050565b60006146ce826151cb565b6146d881856151f9565b93506146e3836151a6565b8060005b838110156147145781516146fb8882614685565b9750614706836151ec565b9250506001810190506146e7565b5085935050505092915050565b61472a81615369565b82525050565b61473981615375565b82525050565b600061474a826151d6565b614754818561520a565b935061476481856020860161541a565b61476d8161565a565b840191505092915050565b614781816153d5565b82525050565b6000614792826151e1565b61479c8185615226565b93506147ac81856020860161541a565b6147b58161565a565b840191505092915050565b60006147cb826151e1565b6147d58185615237565b93506147e581856020860161541a565b80840191505092915050565b600081546147fe81615477565b6148088186615237565b94506001821660008114614823576001811461483457614867565b60ff19831686528186019350614867565b61483d856151b6565b60005b8381101561485f57815481890152600182019150602081019050614840565b838801955050505b50505092915050565b600061487d602083615226565b915061488882615678565b602082019050919050565b60006148a0601583615226565b91506148ab826156a1565b602082019050919050565b60006148c3600983615237565b91506148ce826156ca565b600982019050919050565b60006148e6601f83615226565b91506148f1826156f3565b602082019050919050565b6000614909601f83615226565b91506149148261571c565b602082019050919050565b600061492c600f83615237565b915061493782615745565b600f82019050919050565b600061494f602683615226565b915061495a8261576e565b604082019050919050565b6000614972600283615237565b915061497d826157bd565b600282019050919050565b6000614995601c83615226565b91506149a0826157e6565b602082019050919050565b60006149b8601b83615226565b91506149c38261580f565b602082019050919050565b60006149db600383615237565b91506149e682615838565b600382019050919050565b60006149fe601683615226565b9150614a0982615861565b602082019050919050565b6000614a21602483615226565b9150614a2c8261588a565b604082019050919050565b6000614a44600183615237565b9150614a4f826158d9565b600182019050919050565b6000614a67601683615226565b9150614a7282615902565b602082019050919050565b6000614a8a602083615226565b9150614a958261592b565b602082019050919050565b6000614aad601683615226565b9150614ab882615954565b602082019050919050565b6000614ad0601d83615237565b9150614adb8261597d565b601d82019050919050565b6000614af360008361521b565b9150614afe826159a6565b600082019050919050565b6000614b16601283615226565b9150614b21826159a9565b602082019050919050565b6000614b39601783615237565b9150614b44826159d2565b601782019050919050565b6000614b5c600a83615237565b9150614b67826159fb565b600a82019050919050565b6000614b7f602c83615237565b9150614b8a82615a24565b602c82019050919050565b6000614ba2601783615226565b9150614bad82615a73565b602082019050919050565b6000614bc5601b83615226565b9150614bd082615a9c565b602082019050919050565b6000614be8601183615237565b9150614bf382615ac5565b601182019050919050565b6000614c0b602f83615226565b9150614c1682615aee565b604082019050919050565b614c2a816153cb565b82525050565b614c39816153cb565b82525050565b614c50614c4b826153cb565b615547565b82525050565b6000614c6282856146ac565b601482019150614c728284614c3f565b6020820191508190509392505050565b6000614c8e82856147c0565b9150614c9a82846147c0565b91508190509392505050565b6000614cb282856147c0565b9150614cbe82846147f1565b91508190509392505050565b6000614cd5826148b6565b9150614ce182876147f1565b9150614cec82614965565b9150614cf78261491f565b9150614d0382866147f1565b9150614d0e82614965565b9150614d1982614b4f565b9150614d2582856147f1565b9150614d3082614965565b9150614d3b82614b72565b9150614d4782846147f1565b9150614d52826149ce565b9150614d5d82614a37565b915081905095945050505050565b6000614d7682614ac3565b9150614d8282846147c0565b915081905092915050565b6000614d9882614ae6565b9150819050919050565b6000614dad82614b2c565b9150614db982856147c0565b9150614dc482614bdb565b9150614dd082846147c0565b91508190509392505050565b6000602082019050614df1600083018461469d565b92915050565b6000608082019050614e0c600083018761469d565b614e19602083018661469d565b614e266040830185614c30565b8181036060830152614e38818461473f565b905095945050505050565b60006020820190508181036000830152614e5d81846146c3565b905092915050565b6000602082019050614e7a6000830184614721565b92915050565b6000602082019050614e956000830184614730565b92915050565b6000602082019050614eb06000830184614778565b92915050565b60006020820190508181036000830152614ed08184614787565b905092915050565b60006020820190508181036000830152614ef181614870565b9050919050565b60006020820190508181036000830152614f1181614893565b9050919050565b60006020820190508181036000830152614f31816148d9565b9050919050565b60006020820190508181036000830152614f51816148fc565b9050919050565b60006020820190508181036000830152614f7181614942565b9050919050565b60006020820190508181036000830152614f9181614988565b9050919050565b60006020820190508181036000830152614fb1816149ab565b9050919050565b60006020820190508181036000830152614fd1816149f1565b9050919050565b60006020820190508181036000830152614ff181614a14565b9050919050565b6000602082019050818103600083015261501181614a5a565b9050919050565b6000602082019050818103600083015261503181614a7d565b9050919050565b6000602082019050818103600083015261505181614aa0565b9050919050565b6000602082019050818103600083015261507181614b09565b9050919050565b6000602082019050818103600083015261509181614b95565b9050919050565b600060208201905081810360008301526150b181614bb8565b9050919050565b600060208201905081810360008301526150d181614bfe565b9050919050565b60006020820190506150ed6000830184614c30565b92915050565b60006150fd61510e565b905061510982826154a9565b919050565b6000604051905090565b600067ffffffffffffffff8211156151335761513261560d565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561515f5761515e61560d565b5b6151688261565a565b9050602081019050919050565b600067ffffffffffffffff8211156151905761518f61560d565b5b6151998261565a565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061524d826153cb565b9150615258836153cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561528d5761528c615551565b5b828201905092915050565b60006152a3826153cb565b91506152ae836153cb565b9250826152be576152bd615580565b5b828204905092915050565b60006152d4826153cb565b91506152df836153cb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561531857615317615551565b5b828202905092915050565b600061532e826153cb565b9150615339836153cb565b92508282101561534c5761534b615551565b5b828203905092915050565b6000615362826153ab565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006153e0826153e7565b9050919050565b60006153f2826153f9565b9050919050565b6000615404826153ab565b9050919050565b82818337600083830152505050565b60005b8381101561543857808201518184015260208101905061541d565b83811115615447576000848401525b50505050565b6000615458826153cb565b9150600082141561546c5761546b615551565b5b600182039050919050565b6000600282049050600182168061548f57607f821691505b602082108114156154a3576154a26155af565b5b50919050565b6154b28261565a565b810181811067ffffffffffffffff821117156154d1576154d061560d565b5b80604052505050565b60006154e5826153cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561551857615517615551565b5b600182019050919050565b600061552e82615535565b9050919050565b60006155408261566b565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f617070726f76652069732070726f686962697465640000000000000000000000600082015250565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f736574417070726f76616c466f72416c6c2069732070726f6869626974656400600082015250565b7f226465736372697074696f6e223a220000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f43616c6c6572206973206e6f742061206169722064726f707065720000000000600082015250565b7f227d5d0000000000000000000000000000000000000000000000000000000000600082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f7472616e736665722069732070726f6869626974656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2274797060008201527f65222c2276616c7565223a220000000000000000000000000000000000000000602082015250565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615b4681615357565b8114615b5157600080fd5b50565b615b5d81615369565b8114615b6857600080fd5b50565b615b7481615375565b8114615b7f57600080fd5b50565b615b8b8161537f565b8114615b9657600080fd5b50565b615ba2816153cb565b8114615bad57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212201f3eb6473beb43a3f59c5a10a7bfa860b0b06b53067e8483d17946a04a449a8f64736f6c63430008070033

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.