ETH Price: $2,718.84 (+12.24%)
 

Overview

TokenID

63

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

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:
FloatBoys

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : FloatBoys.sol
// SPDX-License-Identifier: MIT
/*     
    _    _             _                _           
    | \ | |           | |              | |          
    |  \| |   ___     | |        __ _  | |__    ___ 
    | . ` |  / _ \    | |       / _` | | '_ \  / __|
    | |\  | | (_) |   | |____  | (_| | | |_) | \__ \
    |_| \_|  \___/    |______|  \__,_| |_.__/  |___/ 
*/

pragma solidity ^0.8.19;
import "https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";

contract FloatBoys is ERC721A, Ownable, ERC2981 {
    using Strings for uint256;

    uint256 public constant MAX_SUPPLY = 6969;
    uint256 public constant MAX_FREE_MINT = 1;
    uint256 public constant MAX_WHITELIST_MINT = 3;
    uint256 public constant MAX_PUBLIC_MINT = 6;

    uint256 public WHITELIST_MINT_PRICE = 0.005 ether;
    uint256 public PUBLIC_MINT_PRICE = 0.0069 ether;

    string public contractURI;
    string public baseTokenUri;
    string public placeholderTokenUri;

    bool public isRevealed;
    bool public freeMintSale;
    bool public publicSale;
    bool public whiteListSale;

    bytes32 public merkleRootWl;
    bytes32 public merkleRootFree;

    mapping(address => uint256) public totalPublicMint;
    mapping(address => uint256) public totalWhitelistMint;
    mapping(address => uint256) public totalFreeMint;

    constructor(
        string memory _contractURI,
        string memory _placeholderTokenUri,
        bytes32 _merkleRootWl,
        bytes32 _merkleRootFree,
        uint96 _royaltyFeesInBips,        
        address _teamAddress
    ) ERC721A("Float Boys", "FLOAT") {
        setRoyaltyInfo(_teamAddress, _royaltyFeesInBips);
        contractURI = _contractURI;
        merkleRootWl = _merkleRootWl;
        merkleRootFree = _merkleRootFree;
        placeholderTokenUri = _placeholderTokenUri;
        _mint(_teamAddress, 100);
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "Cannot be called by a contract");
        _;
    }

    function publicMint(uint256 _quantity) external payable callerIsUser {
        require(publicSale, "Not Yet Active");
        require(
            msg.value >= _quantity * PUBLIC_MINT_PRICE,
            "Insufficient payment"
        );
        require(
            (totalSupply() + _quantity) <= MAX_SUPPLY,
            "Cannot mint beyond max supply"
        );
        require(
            (totalPublicMint[msg.sender] + _quantity) <= MAX_PUBLIC_MINT,
            "Cannot mint beyond max limit"
        );
        totalPublicMint[msg.sender] += _quantity;
        _mint(msg.sender, _quantity);
    }

    function whitelistMint(bytes32[] memory _merkleProof, uint256 _quantity)
        external
        payable
        callerIsUser
    {
        require(whiteListSale, "Not Yet Active");
        require(
            msg.value >= _quantity * WHITELIST_MINT_PRICE,
            "Insufficient payment"
        );
        require(
            isValidMerkleProof(_merkleProof, msg.sender, merkleRootWl),
            "You are not whitelisted"
        );
        require(
            (totalSupply() + _quantity) <= MAX_SUPPLY,
            "Cannot mint beyond max supply"
        );
        require(
            (totalWhitelistMint[msg.sender] + _quantity) <= MAX_WHITELIST_MINT,
            "Cannot mint beyond whitelist max limit"
        );
        totalWhitelistMint[msg.sender] += _quantity;
        _mint(msg.sender, _quantity);
    }

    function freeMint(bytes32[] memory _merkleProof) external callerIsUser {
        require(freeMintSale, "Not Yet Active");
        require(
            isValidMerkleProof(_merkleProof, msg.sender, merkleRootFree),
            "You are not on Free Mint 69"
        );
        require(
            (totalSupply() + 1) <= MAX_SUPPLY,
            "Cannot mint beyond max supply"
        );
        require(
            (totalFreeMint[msg.sender] + 1) <= MAX_FREE_MINT,
            "Cannot mint beyond max limit"
        );
        totalFreeMint[msg.sender] += 1;
        _mint(msg.sender, 1);
    }

    function isValidMerkleProof(
        bytes32[] memory proof,
        address _addr,
        bytes32 _merkleRoot
    ) public pure returns (bool) {
        bytes32 sender = keccak256(abi.encodePacked(_addr));
        return MerkleProof.verify(proof, _merkleRoot, sender);
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata URI query for nonexistent token"
        );

        uint256 trueId = tokenId + 1;

        if (!isRevealed) {
            return placeholderTokenUri;
        }
        return
            bytes(baseTokenUri).length > 0
                ? string(
                    abi.encodePacked(baseTokenUri, trueId.toString(), ".json")
                )
                : "";
    }

    function setTokenUri(string memory _baseTokenUri) external onlyOwner {
        baseTokenUri = _baseTokenUri;
    }

    function setMerkleRoot(bool _wl, bytes32 _merkleRoot) external onlyOwner {
        if (_wl) {
            merkleRootWl = _merkleRoot;
        } else {
            merkleRootFree = _merkleRoot;
        }
    }

    function getWlMerkleRoot() external view returns (bytes32) {
        return merkleRootWl;
    }

    function getFreeMerkleRoot() external view returns (bytes32) {
        return merkleRootFree;
    }

    function toggleWhiteListSale() external onlyOwner {
        whiteListSale = !whiteListSale;
    }

    function togglePublicSale() external onlyOwner {
        publicSale = !publicSale;
    }

    function toggleFreeMintSale() external onlyOwner {
        freeMintSale = !freeMintSale;
    }

    function toggleReveal() external onlyOwner {
        isRevealed = !isRevealed;
    }

    function setRoyaltyInfo(address _receiver, uint96 _royaltyFeesInBips)
        public
        onlyOwner
    {
        _setDefaultRoyalty(_receiver, _royaltyFeesInBips);
    }

    function setContractURI(string calldata _contractURI) public onlyOwner {
        contractURI = _contractURI;
    }

    function withdraw() public onlyOwner {
        address _owner = owner();
        
        uint256 amount = address(this).balance;
        (bool sent, ) = _owner.call{value: amount}("");
        require(sent, "Failed to send Ether");
    }

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

File 3 of 11 : 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 4 of 11 : 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 5 of 11 : 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 6 of 11 : 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 7 of 11 : 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 11 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 9 of 11 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

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

File 10 of 11 : 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 11 of 11 : 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":[{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"string","name":"_placeholderTokenUri","type":"string"},{"internalType":"bytes32","name":"_merkleRootWl","type":"bytes32"},{"internalType":"bytes32","name":"_merkleRootFree","type":"bytes32"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"},{"internalType":"address","name":"_teamAddress","type":"address"}],"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":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_FREE_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WHITELIST_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFreeMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWlMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"isValidMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"merkleRootFree","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootWl","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeholderTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_wl","type":"bool"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenUri","type":"string"}],"name":"setTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleFreeMintSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhiteListSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalPublicMint","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":"","type":"address"}],"name":"totalWhitelistMint","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":"whiteListSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526611c37937e08000600b556618838370f34000600c553480156200002757600080fd5b50604051620058ea380380620058ea83398181016040528101906200004d9190620009bc565b6040518060400160405280600a81526020017f466c6f617420426f7973000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f464c4f41540000000000000000000000000000000000000000000000000000008152508160029081620000ca919062000ce1565b508060039081620000dc919062000ce1565b50620000ed6200017860201b60201c565b600081905550505062000115620001096200017d60201b60201c565b6200018560201b60201c565b6200012781836200024b60201b60201c565b85600d908162000138919062000ce1565b50836011819055508260128190555084600f908162000158919062000ce1565b506200016c8160646200027160201b60201c565b50505050505062000f55565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025b6200045860201b60201c565b6200026d8282620004e960201b60201c565b5050565b60008054905060008203620002b2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620002c760008483856200068c60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555062000356836200033860008660006200069260201b60201c565b6200034985620006c260201b60201c565b17620006d260201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114620003f957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050620003bc565b506000820362000435576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050620004536000848385620006fd60201b60201c565b505050565b620004686200017d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200048e6200070360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004e7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004de9062000e29565b60405180910390fd5b565b620004f96200072d60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156200055a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005519062000ec1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620005cc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005c39062000f33565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b50505050565b60008060e883901c905060e8620006b18686846200073760201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000612710905090565b60009392505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620007a9826200075e565b810181811067ffffffffffffffff82111715620007cb57620007ca6200076f565b5b80604052505050565b6000620007e062000740565b9050620007ee82826200079e565b919050565b600067ffffffffffffffff8211156200081157620008106200076f565b5b6200081c826200075e565b9050602081019050919050565b60005b83811015620008495780820151818401526020810190506200082c565b60008484015250505050565b60006200086c6200086684620007f3565b620007d4565b9050828152602081018484840111156200088b576200088a62000759565b5b6200089884828562000829565b509392505050565b600082601f830112620008b857620008b762000754565b5b8151620008ca84826020860162000855565b91505092915050565b6000819050919050565b620008e881620008d3565b8114620008f457600080fd5b50565b6000815190506200090881620008dd565b92915050565b60006bffffffffffffffffffffffff82169050919050565b62000931816200090e565b81146200093d57600080fd5b50565b600081519050620009518162000926565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009848262000957565b9050919050565b620009968162000977565b8114620009a257600080fd5b50565b600081519050620009b6816200098b565b92915050565b60008060008060008060c08789031215620009dc57620009db6200074a565b5b600087015167ffffffffffffffff811115620009fd57620009fc6200074f565b5b62000a0b89828a01620008a0565b965050602087015167ffffffffffffffff81111562000a2f5762000a2e6200074f565b5b62000a3d89828a01620008a0565b955050604062000a5089828a01620008f7565b945050606062000a6389828a01620008f7565b935050608062000a7689828a0162000940565b92505060a062000a8989828a01620009a5565b9150509295509295509295565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000ae957607f821691505b60208210810362000aff5762000afe62000aa1565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000b697fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000b2a565b62000b75868362000b2a565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000bc262000bbc62000bb68462000b8d565b62000b97565b62000b8d565b9050919050565b6000819050919050565b62000bde8362000ba1565b62000bf662000bed8262000bc9565b84845462000b37565b825550505050565b600090565b62000c0d62000bfe565b62000c1a81848462000bd3565b505050565b5b8181101562000c425762000c3660008262000c03565b60018101905062000c20565b5050565b601f82111562000c915762000c5b8162000b05565b62000c668462000b1a565b8101602085101562000c76578190505b62000c8e62000c858562000b1a565b83018262000c1f565b50505b505050565b600082821c905092915050565b600062000cb66000198460080262000c96565b1980831691505092915050565b600062000cd1838362000ca3565b9150826002028217905092915050565b62000cec8262000a96565b67ffffffffffffffff81111562000d085762000d076200076f565b5b62000d14825462000ad0565b62000d2182828562000c46565b600060209050601f83116001811462000d59576000841562000d44578287015190505b62000d50858262000cc3565b86555062000dc0565b601f19841662000d698662000b05565b60005b8281101562000d935784890151825560018201915060208501945060208101905062000d6c565b8683101562000db3578489015162000daf601f89168262000ca3565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000e1160208362000dc8565b915062000e1e8262000dd9565b602082019050919050565b6000602082019050818103600083015262000e448162000e02565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000ea9602a8362000dc8565b915062000eb68262000e4b565b604082019050919050565b6000602082019050818103600083015262000edc8162000e9a565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000f1b60198362000dc8565b915062000f288262000ee3565b602082019050919050565b6000602082019050818103600083015262000f4e8162000f0c565b9050919050565b6149858062000f656000396000f3fe6080604052600436106102e45760003560e01c80635b8ad429116101905780638da5cb5b116100dc578063c08dfd3c11610095578063e8a3d4851161006f578063e8a3d48514610aa5578063e985e9c514610ad0578063ef8319cd14610b0d578063f2fde38b14610b38576102e4565b8063c08dfd3c14610a26578063c87b56dd14610a51578063e222c7f914610a8e576102e4565b80638da5cb5b14610937578063938e3d7b1461096257806395d89b411461098b578063a22cb465146109b6578063aca9938d146109df578063b88d4fde14610a0a576102e4565b8063715018a61161014957806388d15d501161012357806388d15d501461088f578063891084a3146108b857806389ba959c146108f55780638bb64a8c14610920576102e4565b8063715018a6146108225780637a0101a21461083957806386a173ee14610864576102e4565b80635b8ad429146107105780636352211e1461072757806365f1309714610764578063695a213e1461078f5780636bde2627146107ba57806370a08231146107e5576102e4565b806323b872dd1161024f57806335cf36751161020857806342842e0e116101e257806342842e0e146106755780634cf5f7a4146106915780635412650f146106bc57806354214f69146106e5576102e4565b806335cf3675146106085780633ccfd60b1461063357806341cda2031461064a576102e4565b806323b872dd146105205780632904e6d91461053c5780632a55205a146105585780632db115441461059657806332cb6b0c146105b257806333bc1c5c146105dd576102e4565b8063095ea7b3116102a1578063095ea7b31461041d5780630d9c3678146104395780631782ce6b1461047657806318160ddd146104a15780631895e40c146104cc5780631c16521c146104e3576102e4565b806301ffc9a7146102e957806302fa7c47146103265780630345e3cb1461034f5780630675b7c61461038c57806306fdde03146103b5578063081812fc146103e0575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190613026565b610b61565b60405161031d919061306e565b60405180910390f35b34801561033257600080fd5b5061034d6004803603810190610348919061312b565b610b73565b005b34801561035b57600080fd5b506103766004803603810190610371919061316b565b610b89565b60405161038391906131b1565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae9190613312565b610ba1565b005b3480156103c157600080fd5b506103ca610bbc565b6040516103d791906133da565b60405180910390f35b3480156103ec57600080fd5b5061040760048036038101906104029190613428565b610c4e565b6040516104149190613464565b60405180910390f35b6104376004803603810190610432919061347f565b610ccd565b005b34801561044557600080fd5b50610460600480360381019061045b91906135bd565b610e11565b60405161046d919061306e565b60405180910390f35b34801561048257600080fd5b5061048b610e52565b604051610498919061363b565b60405180910390f35b3480156104ad57600080fd5b506104b6610e5c565b6040516104c391906131b1565b60405180910390f35b3480156104d857600080fd5b506104e1610e73565b005b3480156104ef57600080fd5b5061050a6004803603810190610505919061316b565b610ea7565b60405161051791906131b1565b60405180910390f35b61053a60048036038101906105359190613656565b610ebf565b005b610556600480360381019061055191906136a9565b6111e1565b005b34801561056457600080fd5b5061057f600480360381019061057a9190613705565b611483565b60405161058d929190613745565b60405180910390f35b6105b060048036038101906105ab9190613428565b61166d565b005b3480156105be57600080fd5b506105c76118c2565b6040516105d491906131b1565b60405180910390f35b3480156105e957600080fd5b506105f26118c8565b6040516105ff919061306e565b60405180910390f35b34801561061457600080fd5b5061061d6118db565b60405161062a919061306e565b60405180910390f35b34801561063f57600080fd5b506106486118ee565b005b34801561065657600080fd5b5061065f6119b8565b60405161066c91906131b1565b60405180910390f35b61068f600480360381019061068a9190613656565b6119bd565b005b34801561069d57600080fd5b506106a66119dd565b6040516106b391906133da565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de919061379a565b611a6b565b005b3480156106f157600080fd5b506106fa611a91565b604051610707919061306e565b60405180910390f35b34801561071c57600080fd5b50610725611aa4565b005b34801561073357600080fd5b5061074e60048036038101906107499190613428565b611ad8565b60405161075b9190613464565b60405180910390f35b34801561077057600080fd5b50610779611aea565b60405161078691906131b1565b60405180910390f35b34801561079b57600080fd5b506107a4611aef565b6040516107b1919061363b565b60405180910390f35b3480156107c657600080fd5b506107cf611af9565b6040516107dc91906131b1565b60405180910390f35b3480156107f157600080fd5b5061080c6004803603810190610807919061316b565b611aff565b60405161081991906131b1565b60405180910390f35b34801561082e57600080fd5b50610837611bb7565b005b34801561084557600080fd5b5061084e611bcb565b60405161085b91906133da565b60405180910390f35b34801561087057600080fd5b50610879611c59565b604051610886919061306e565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b191906137da565b611c6c565b005b3480156108c457600080fd5b506108df60048036038101906108da919061316b565b611ec0565b6040516108ec91906131b1565b60405180910390f35b34801561090157600080fd5b5061090a611ed8565b604051610917919061363b565b60405180910390f35b34801561092c57600080fd5b50610935611ede565b005b34801561094357600080fd5b5061094c611f12565b6040516109599190613464565b60405180910390f35b34801561096e57600080fd5b506109896004803603810190610984919061387e565b611f3c565b005b34801561099757600080fd5b506109a0611f5a565b6040516109ad91906133da565b60405180910390f35b3480156109c257600080fd5b506109dd60048036038101906109d891906138cb565b611fec565b005b3480156109eb57600080fd5b506109f46120f7565b604051610a0191906131b1565b60405180910390f35b610a246004803603810190610a1f91906139ac565b6120fd565b005b348015610a3257600080fd5b50610a3b612170565b604051610a4891906131b1565b60405180910390f35b348015610a5d57600080fd5b50610a786004803603810190610a739190613428565b612175565b604051610a8591906133da565b60405180910390f35b348015610a9a57600080fd5b50610aa36122d7565b005b348015610ab157600080fd5b50610aba61230b565b604051610ac791906133da565b60405180910390f35b348015610adc57600080fd5b50610af76004803603810190610af29190613a2f565b612399565b604051610b04919061306e565b60405180910390f35b348015610b1957600080fd5b50610b2261242d565b604051610b2f919061363b565b60405180910390f35b348015610b4457600080fd5b50610b5f6004803603810190610b5a919061316b565b612433565b005b6000610b6c826124b6565b9050919050565b610b7b612530565b610b8582826125ae565b5050565b60146020528060005260406000206000915090505481565b610ba9612530565b80600e9081610bb89190613c7b565b5050565b606060028054610bcb90613a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf790613a9e565b8015610c445780601f10610c1957610100808354040283529160200191610c44565b820191906000526020600020905b815481529060010190602001808311610c2757829003601f168201915b5050505050905090565b6000610c5982612743565b610c8f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cd882611ad8565b90508073ffffffffffffffffffffffffffffffffffffffff16610cf96127a2565b73ffffffffffffffffffffffffffffffffffffffff1614610d5c57610d2581610d206127a2565b612399565b610d5b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60008083604051602001610e259190613d95565b604051602081830303815290604052805190602001209050610e488584836127aa565b9150509392505050565b6000601154905090565b6000610e666127c1565b6001546000540303905090565b610e7b612530565b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b60136020528060005260406000206000915090505481565b6000610eca826127c6565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f31576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f3d84612892565b91509150610f538187610f4e6127a2565b6128b9565b610f9f57610f6886610f636127a2565b612399565b610f9e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611005576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61101286868660016128fd565b801561101d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506110eb856110c7888887612903565b7c02000000000000000000000000000000000000000000000000000000001761292b565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611171576000600185019050600060046000838152602001908152602001600020540361116f57600054811461116e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46111d98686866001612956565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690613dfc565b60405180910390fd5b601060039054906101000a900460ff1661129e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129590613e68565b60405180910390fd5b600b54816112ac9190613eb7565b3410156112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e590613f45565b60405180910390fd5b6112fb8233601154610e11565b61133a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133190613fb1565b60405180910390fd5b611b3981611346610e5c565b6113509190613fd1565b1115611391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138890614051565b60405180910390fd5b600381601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113de9190613fd1565b111561141f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611416906140e3565b60405180910390fd5b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461146e9190613fd1565b9250508190555061147f338261295c565b5050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036116185760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000611622612b17565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661164e9190613eb7565b6116589190614132565b90508160000151819350935050509250929050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d290613dfc565b60405180910390fd5b601060029054906101000a900460ff1661172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190613e68565b60405180910390fd5b600c54816117389190613eb7565b34101561177a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177190613f45565b60405180910390fd5b611b3981611786610e5c565b6117909190613fd1565b11156117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890614051565b60405180910390fd5b600681601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461181e9190613fd1565b111561185f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611856906141af565b60405180910390fd5b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ae9190613fd1565b925050819055506118bf338261295c565b50565b611b3981565b601060029054906101000a900460ff1681565b601060019054906101000a900460ff1681565b6118f6612530565b6000611900611f12565b9050600047905060008273ffffffffffffffffffffffffffffffffffffffff168260405161192d90614200565b60006040518083038185875af1925050503d806000811461196a576040519150601f19603f3d011682016040523d82523d6000602084013e61196f565b606091505b50509050806119b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119aa90614261565b60405180910390fd5b505050565b600181565b6119d8838383604051806020016040528060008152506120fd565b505050565b600f80546119ea90613a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a1690613a9e565b8015611a635780601f10611a3857610100808354040283529160200191611a63565b820191906000526020600020905b815481529060010190602001808311611a4657829003601f168201915b505050505081565b611a73612530565b8115611a855780601181905550611a8d565b806012819055505b5050565b601060009054906101000a900460ff1681565b611aac612530565b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6000611ae3826127c6565b9050919050565b600681565b6000601254905090565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b66576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611bbf612530565b611bc96000612b21565b565b600e8054611bd890613a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0490613a9e565b8015611c515780601f10611c2657610100808354040283529160200191611c51565b820191906000526020600020905b815481529060010190602001808311611c3457829003601f168201915b505050505081565b601060039054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd190613dfc565b60405180910390fd5b601060019054906101000a900460ff16611d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2090613e68565b60405180910390fd5b611d368133601254610e11565b611d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6c906142cd565b60405180910390fd5b611b396001611d82610e5c565b611d8c9190613fd1565b1115611dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc490614051565b60405180910390fd5b600180601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e1a9190613fd1565b1115611e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e52906141af565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eab9190613fd1565b92505081905550611ebd33600161295c565b50565b60156020528060005260406000206000915090505481565b60125481565b611ee6612530565b601060039054906101000a900460ff1615601060036101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611f44612530565b8181600d9182611f559291906142f8565b505050565b606060038054611f6990613a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054611f9590613a9e565b8015611fe25780601f10611fb757610100808354040283529160200191611fe2565b820191906000526020600020905b815481529060010190602001808311611fc557829003601f168201915b5050505050905090565b8060076000611ff96127a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120a66127a2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120eb919061306e565b60405180910390a35050565b600b5481565b612108848484610ebf565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461216a5761213384848484612be7565b612169576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600381565b606061218082612743565b6121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b69061443a565b60405180910390fd5b60006001836121ce9190613fd1565b9050601060009054906101000a900460ff1661227757600f80546121f190613a9e565b80601f016020809104026020016040519081016040528092919081815260200182805461221d90613a9e565b801561226a5780601f1061223f5761010080835404028352916020019161226a565b820191906000526020600020905b81548152906001019060200180831161224d57829003601f168201915b50505050509150506122d2565b6000600e805461228690613a9e565b9050116122a257604051806020016040528060008152506122ce565b600e6122ad82612d37565b6040516020016122be929190614565565b6040516020818303038152906040525b9150505b919050565b6122df612530565b601060029054906101000a900460ff1615601060026101000a81548160ff021916908315150217905550565b600d805461231890613a9e565b80601f016020809104026020016040519081016040528092919081815260200182805461234490613a9e565b80156123915780601f1061236657610100808354040283529160200191612391565b820191906000526020600020905b81548152906001019060200180831161237457829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60115481565b61243b612530565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036124aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a190614606565b60405180910390fd5b6124b381612b21565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612529575061252882612e97565b5b9050919050565b612538612f01565b73ffffffffffffffffffffffffffffffffffffffff16612556611f12565b73ffffffffffffffffffffffffffffffffffffffff16146125ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a390614672565b60405180910390fd5b565b6125b6612b17565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b90614704565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267a90614770565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008161274e6127c1565b1115801561275d575060005482105b801561279b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6000826127b78584612f09565b1490509392505050565b600090565b600080829050806127d56127c1565b1161285b5760005481101561285a5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612858575b6000810361284e576004600083600190039350838152602001908152602001600020549050612824565b809250505061288d565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861291a868684612f5f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000805490506000820361299c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129a960008483856128fd565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612a2083612a116000866000612903565b612a1a85612f68565b1761292b565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612ac157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612a86565b5060008203612afc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612b126000848385612956565b505050565b6000612710905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c0d6127a2565b8786866040518563ffffffff1660e01b8152600401612c2f94939291906147e5565b6020604051808303816000875af1925050508015612c6b57506040513d601f19601f82011682018060405250810190612c689190614846565b60015b612ce4573d8060008114612c9b576040519150601f19603f3d011682016040523d82523d6000602084013e612ca0565b606091505b506000815103612cdc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612d7e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e92565b600082905060005b60008214612db0578080612d9990614873565b915050600a82612da99190614132565b9150612d86565b60008167ffffffffffffffff811115612dcc57612dcb6131e7565b5b6040519080825280601f01601f191660200182016040528015612dfe5781602001600182028036833780820191505090505b5090505b60008514612e8b57600182612e1791906148bb565b9150600a85612e2691906148ef565b6030612e329190613fd1565b60f81b818381518110612e4857612e47614920565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e849190614132565b9450612e02565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008082905060005b8451811015612f5457612f3f82868381518110612f3257612f31614920565b5b6020026020010151612f78565b91508080612f4c90614873565b915050612f12565b508091505092915050565b60009392505050565b60006001821460e11b9050919050565b6000818310612f9057612f8b8284612fa3565b612f9b565b612f9a8383612fa3565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61300381612fce565b811461300e57600080fd5b50565b60008135905061302081612ffa565b92915050565b60006020828403121561303c5761303b612fc4565b5b600061304a84828501613011565b91505092915050565b60008115159050919050565b61306881613053565b82525050565b6000602082019050613083600083018461305f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130b482613089565b9050919050565b6130c4816130a9565b81146130cf57600080fd5b50565b6000813590506130e1816130bb565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613108816130e7565b811461311357600080fd5b50565b600081359050613125816130ff565b92915050565b6000806040838503121561314257613141612fc4565b5b6000613150858286016130d2565b925050602061316185828601613116565b9150509250929050565b60006020828403121561318157613180612fc4565b5b600061318f848285016130d2565b91505092915050565b6000819050919050565b6131ab81613198565b82525050565b60006020820190506131c660008301846131a2565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61321f826131d6565b810181811067ffffffffffffffff8211171561323e5761323d6131e7565b5b80604052505050565b6000613251612fba565b905061325d8282613216565b919050565b600067ffffffffffffffff82111561327d5761327c6131e7565b5b613286826131d6565b9050602081019050919050565b82818337600083830152505050565b60006132b56132b084613262565b613247565b9050828152602081018484840111156132d1576132d06131d1565b5b6132dc848285613293565b509392505050565b600082601f8301126132f9576132f86131cc565b5b81356133098482602086016132a2565b91505092915050565b60006020828403121561332857613327612fc4565b5b600082013567ffffffffffffffff81111561334657613345612fc9565b5b613352848285016132e4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561339557808201518184015260208101905061337a565b60008484015250505050565b60006133ac8261335b565b6133b68185613366565b93506133c6818560208601613377565b6133cf816131d6565b840191505092915050565b600060208201905081810360008301526133f481846133a1565b905092915050565b61340581613198565b811461341057600080fd5b50565b600081359050613422816133fc565b92915050565b60006020828403121561343e5761343d612fc4565b5b600061344c84828501613413565b91505092915050565b61345e816130a9565b82525050565b60006020820190506134796000830184613455565b92915050565b6000806040838503121561349657613495612fc4565b5b60006134a4858286016130d2565b92505060206134b585828601613413565b9150509250929050565b600067ffffffffffffffff8211156134da576134d96131e7565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b613503816134f0565b811461350e57600080fd5b50565b600081359050613520816134fa565b92915050565b6000613539613534846134bf565b613247565b9050808382526020820190506020840283018581111561355c5761355b6134eb565b5b835b8181101561358557806135718882613511565b84526020840193505060208101905061355e565b5050509392505050565b600082601f8301126135a4576135a36131cc565b5b81356135b4848260208601613526565b91505092915050565b6000806000606084860312156135d6576135d5612fc4565b5b600084013567ffffffffffffffff8111156135f4576135f3612fc9565b5b6136008682870161358f565b9350506020613611868287016130d2565b925050604061362286828701613511565b9150509250925092565b613635816134f0565b82525050565b6000602082019050613650600083018461362c565b92915050565b60008060006060848603121561366f5761366e612fc4565b5b600061367d868287016130d2565b935050602061368e868287016130d2565b925050604061369f86828701613413565b9150509250925092565b600080604083850312156136c0576136bf612fc4565b5b600083013567ffffffffffffffff8111156136de576136dd612fc9565b5b6136ea8582860161358f565b92505060206136fb85828601613413565b9150509250929050565b6000806040838503121561371c5761371b612fc4565b5b600061372a85828601613413565b925050602061373b85828601613413565b9150509250929050565b600060408201905061375a6000830185613455565b61376760208301846131a2565b9392505050565b61377781613053565b811461378257600080fd5b50565b6000813590506137948161376e565b92915050565b600080604083850312156137b1576137b0612fc4565b5b60006137bf85828601613785565b92505060206137d085828601613511565b9150509250929050565b6000602082840312156137f0576137ef612fc4565b5b600082013567ffffffffffffffff81111561380e5761380d612fc9565b5b61381a8482850161358f565b91505092915050565b600080fd5b60008083601f84011261383e5761383d6131cc565b5b8235905067ffffffffffffffff81111561385b5761385a613823565b5b602083019150836001820283011115613877576138766134eb565b5b9250929050565b6000806020838503121561389557613894612fc4565b5b600083013567ffffffffffffffff8111156138b3576138b2612fc9565b5b6138bf85828601613828565b92509250509250929050565b600080604083850312156138e2576138e1612fc4565b5b60006138f0858286016130d2565b925050602061390185828601613785565b9150509250929050565b600067ffffffffffffffff821115613926576139256131e7565b5b61392f826131d6565b9050602081019050919050565b600061394f61394a8461390b565b613247565b90508281526020810184848401111561396b5761396a6131d1565b5b613976848285613293565b509392505050565b600082601f830112613993576139926131cc565b5b81356139a384826020860161393c565b91505092915050565b600080600080608085870312156139c6576139c5612fc4565b5b60006139d4878288016130d2565b94505060206139e5878288016130d2565b93505060406139f687828801613413565b925050606085013567ffffffffffffffff811115613a1757613a16612fc9565b5b613a238782880161397e565b91505092959194509250565b60008060408385031215613a4657613a45612fc4565b5b6000613a54858286016130d2565b9250506020613a65858286016130d2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ab657607f821691505b602082108103613ac957613ac8613a6f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613b317fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613af4565b613b3b8683613af4565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613b78613b73613b6e84613198565b613b53565b613198565b9050919050565b6000819050919050565b613b9283613b5d565b613ba6613b9e82613b7f565b848454613b01565b825550505050565b600090565b613bbb613bae565b613bc6818484613b89565b505050565b5b81811015613bea57613bdf600082613bb3565b600181019050613bcc565b5050565b601f821115613c2f57613c0081613acf565b613c0984613ae4565b81016020851015613c18578190505b613c2c613c2485613ae4565b830182613bcb565b50505b505050565b600082821c905092915050565b6000613c5260001984600802613c34565b1980831691505092915050565b6000613c6b8383613c41565b9150826002028217905092915050565b613c848261335b565b67ffffffffffffffff811115613c9d57613c9c6131e7565b5b613ca78254613a9e565b613cb2828285613bee565b600060209050601f831160018114613ce55760008415613cd3578287015190505b613cdd8582613c5f565b865550613d45565b601f198416613cf386613acf565b60005b82811015613d1b57848901518255600182019150602085019450602081019050613cf6565b86831015613d385784890151613d34601f891682613c41565b8355505b6001600288020188555050505b505050505050565b60008160601b9050919050565b6000613d6582613d4d565b9050919050565b6000613d7782613d5a565b9050919050565b613d8f613d8a826130a9565b613d6c565b82525050565b6000613da18284613d7e565b60148201915081905092915050565b7f43616e6e6f742062652063616c6c6564206279206120636f6e74726163740000600082015250565b6000613de6601e83613366565b9150613df182613db0565b602082019050919050565b60006020820190508181036000830152613e1581613dd9565b9050919050565b7f4e6f742059657420416374697665000000000000000000000000000000000000600082015250565b6000613e52600e83613366565b9150613e5d82613e1c565b602082019050919050565b60006020820190508181036000830152613e8181613e45565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ec282613198565b9150613ecd83613198565b9250828202613edb81613198565b91508282048414831517613ef257613ef1613e88565b5b5092915050565b7f496e73756666696369656e74207061796d656e74000000000000000000000000600082015250565b6000613f2f601483613366565b9150613f3a82613ef9565b602082019050919050565b60006020820190508181036000830152613f5e81613f22565b9050919050565b7f596f7520617265206e6f742077686974656c6973746564000000000000000000600082015250565b6000613f9b601783613366565b9150613fa682613f65565b602082019050919050565b60006020820190508181036000830152613fca81613f8e565b9050919050565b6000613fdc82613198565b9150613fe783613198565b9250828201905080821115613fff57613ffe613e88565b5b92915050565b7f43616e6e6f74206d696e74206265796f6e64206d617820737570706c79000000600082015250565b600061403b601d83613366565b915061404682614005565b602082019050919050565b6000602082019050818103600083015261406a8161402e565b9050919050565b7f43616e6e6f74206d696e74206265796f6e642077686974656c697374206d617860008201527f206c696d69740000000000000000000000000000000000000000000000000000602082015250565b60006140cd602683613366565b91506140d882614071565b604082019050919050565b600060208201905081810360008301526140fc816140c0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061413d82613198565b915061414883613198565b92508261415857614157614103565b5b828204905092915050565b7f43616e6e6f74206d696e74206265796f6e64206d6178206c696d697400000000600082015250565b6000614199601c83613366565b91506141a482614163565b602082019050919050565b600060208201905081810360008301526141c88161418c565b9050919050565b600081905092915050565b50565b60006141ea6000836141cf565b91506141f5826141da565b600082019050919050565b600061420b826141dd565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b600061424b601483613366565b915061425682614215565b602082019050919050565b6000602082019050818103600083015261427a8161423e565b9050919050565b7f596f7520617265206e6f74206f6e2046726565204d696e742036390000000000600082015250565b60006142b7601b83613366565b91506142c282614281565b602082019050919050565b600060208201905081810360008301526142e6816142aa565b9050919050565b600082905092915050565b61430283836142ed565b67ffffffffffffffff81111561431b5761431a6131e7565b5b6143258254613a9e565b614330828285613bee565b6000601f83116001811461435f576000841561434d578287013590505b6143578582613c5f565b8655506143bf565b601f19841661436d86613acf565b60005b8281101561439557848901358255600182019150602085019450602081019050614370565b868310156143b257848901356143ae601f891682613c41565b8355505b6001600288020188555050505b50505050505050565b7f4552433732314d657461646174612055524920717565727920666f72206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614424602e83613366565b915061442f826143c8565b604082019050919050565b6000602082019050818103600083015261445381614417565b9050919050565b600081905092915050565b6000815461447281613a9e565b61447c818661445a565b9450600182166000811461449757600181146144ac576144df565b60ff19831686528115158202860193506144df565b6144b585613acf565b60005b838110156144d7578154818901526001820191506020810190506144b8565b838801955050505b50505092915050565b60006144f38261335b565b6144fd818561445a565b935061450d818560208601613377565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061454f60058361445a565b915061455a82614519565b600582019050919050565b60006145718285614465565b915061457d82846144e8565b915061458882614542565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145f0602683613366565b91506145fb82614594565b604082019050919050565b6000602082019050818103600083015261461f816145e3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061465c602083613366565b915061466782614626565b602082019050919050565b6000602082019050818103600083015261468b8161464f565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006146ee602a83613366565b91506146f982614692565b604082019050919050565b6000602082019050818103600083015261471d816146e1565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061475a601983613366565b915061476582614724565b602082019050919050565b600060208201905081810360008301526147898161474d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006147b782614790565b6147c1818561479b565b93506147d1818560208601613377565b6147da816131d6565b840191505092915050565b60006080820190506147fa6000830187613455565b6148076020830186613455565b61481460408301856131a2565b818103606083015261482681846147ac565b905095945050505050565b60008151905061484081612ffa565b92915050565b60006020828403121561485c5761485b612fc4565b5b600061486a84828501614831565b91505092915050565b600061487e82613198565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036148b0576148af613e88565b5b600182019050919050565b60006148c682613198565b91506148d183613198565b92508282039050818111156148e9576148e8613e88565b5b92915050565b60006148fa82613198565b915061490583613198565b92508261491557614914614103565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220d73e9ce94da5170f75787c494d2c02102ea1c2487984306d54510bb1d1b4989d64736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000140b7328570743655bc48ff572373a618e1aaa20c1cc24a2032b207f8537b12164710ed18821c8ea7b25969a733ba1c42db97c7e8fa02c3919eba5d04f6b70da4aa00000000000000000000000000000000000000000000000000000000000001f40000000000000000000000004c900a390d7ce84eed0c8268aa0436280dd3b8370000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696364347532337a6c377679746c6a6b676d6c636a627a33626934733361743535657469346e36746675636e7434353768366464610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b72656966677a70696a6667667435783478676864703675626c7563637a677777336c6363696964697874667961326e32657a6a6b726869000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102e45760003560e01c80635b8ad429116101905780638da5cb5b116100dc578063c08dfd3c11610095578063e8a3d4851161006f578063e8a3d48514610aa5578063e985e9c514610ad0578063ef8319cd14610b0d578063f2fde38b14610b38576102e4565b8063c08dfd3c14610a26578063c87b56dd14610a51578063e222c7f914610a8e576102e4565b80638da5cb5b14610937578063938e3d7b1461096257806395d89b411461098b578063a22cb465146109b6578063aca9938d146109df578063b88d4fde14610a0a576102e4565b8063715018a61161014957806388d15d501161012357806388d15d501461088f578063891084a3146108b857806389ba959c146108f55780638bb64a8c14610920576102e4565b8063715018a6146108225780637a0101a21461083957806386a173ee14610864576102e4565b80635b8ad429146107105780636352211e1461072757806365f1309714610764578063695a213e1461078f5780636bde2627146107ba57806370a08231146107e5576102e4565b806323b872dd1161024f57806335cf36751161020857806342842e0e116101e257806342842e0e146106755780634cf5f7a4146106915780635412650f146106bc57806354214f69146106e5576102e4565b806335cf3675146106085780633ccfd60b1461063357806341cda2031461064a576102e4565b806323b872dd146105205780632904e6d91461053c5780632a55205a146105585780632db115441461059657806332cb6b0c146105b257806333bc1c5c146105dd576102e4565b8063095ea7b3116102a1578063095ea7b31461041d5780630d9c3678146104395780631782ce6b1461047657806318160ddd146104a15780631895e40c146104cc5780631c16521c146104e3576102e4565b806301ffc9a7146102e957806302fa7c47146103265780630345e3cb1461034f5780630675b7c61461038c57806306fdde03146103b5578063081812fc146103e0575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190613026565b610b61565b60405161031d919061306e565b60405180910390f35b34801561033257600080fd5b5061034d6004803603810190610348919061312b565b610b73565b005b34801561035b57600080fd5b506103766004803603810190610371919061316b565b610b89565b60405161038391906131b1565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae9190613312565b610ba1565b005b3480156103c157600080fd5b506103ca610bbc565b6040516103d791906133da565b60405180910390f35b3480156103ec57600080fd5b5061040760048036038101906104029190613428565b610c4e565b6040516104149190613464565b60405180910390f35b6104376004803603810190610432919061347f565b610ccd565b005b34801561044557600080fd5b50610460600480360381019061045b91906135bd565b610e11565b60405161046d919061306e565b60405180910390f35b34801561048257600080fd5b5061048b610e52565b604051610498919061363b565b60405180910390f35b3480156104ad57600080fd5b506104b6610e5c565b6040516104c391906131b1565b60405180910390f35b3480156104d857600080fd5b506104e1610e73565b005b3480156104ef57600080fd5b5061050a6004803603810190610505919061316b565b610ea7565b60405161051791906131b1565b60405180910390f35b61053a60048036038101906105359190613656565b610ebf565b005b610556600480360381019061055191906136a9565b6111e1565b005b34801561056457600080fd5b5061057f600480360381019061057a9190613705565b611483565b60405161058d929190613745565b60405180910390f35b6105b060048036038101906105ab9190613428565b61166d565b005b3480156105be57600080fd5b506105c76118c2565b6040516105d491906131b1565b60405180910390f35b3480156105e957600080fd5b506105f26118c8565b6040516105ff919061306e565b60405180910390f35b34801561061457600080fd5b5061061d6118db565b60405161062a919061306e565b60405180910390f35b34801561063f57600080fd5b506106486118ee565b005b34801561065657600080fd5b5061065f6119b8565b60405161066c91906131b1565b60405180910390f35b61068f600480360381019061068a9190613656565b6119bd565b005b34801561069d57600080fd5b506106a66119dd565b6040516106b391906133da565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de919061379a565b611a6b565b005b3480156106f157600080fd5b506106fa611a91565b604051610707919061306e565b60405180910390f35b34801561071c57600080fd5b50610725611aa4565b005b34801561073357600080fd5b5061074e60048036038101906107499190613428565b611ad8565b60405161075b9190613464565b60405180910390f35b34801561077057600080fd5b50610779611aea565b60405161078691906131b1565b60405180910390f35b34801561079b57600080fd5b506107a4611aef565b6040516107b1919061363b565b60405180910390f35b3480156107c657600080fd5b506107cf611af9565b6040516107dc91906131b1565b60405180910390f35b3480156107f157600080fd5b5061080c6004803603810190610807919061316b565b611aff565b60405161081991906131b1565b60405180910390f35b34801561082e57600080fd5b50610837611bb7565b005b34801561084557600080fd5b5061084e611bcb565b60405161085b91906133da565b60405180910390f35b34801561087057600080fd5b50610879611c59565b604051610886919061306e565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b191906137da565b611c6c565b005b3480156108c457600080fd5b506108df60048036038101906108da919061316b565b611ec0565b6040516108ec91906131b1565b60405180910390f35b34801561090157600080fd5b5061090a611ed8565b604051610917919061363b565b60405180910390f35b34801561092c57600080fd5b50610935611ede565b005b34801561094357600080fd5b5061094c611f12565b6040516109599190613464565b60405180910390f35b34801561096e57600080fd5b506109896004803603810190610984919061387e565b611f3c565b005b34801561099757600080fd5b506109a0611f5a565b6040516109ad91906133da565b60405180910390f35b3480156109c257600080fd5b506109dd60048036038101906109d891906138cb565b611fec565b005b3480156109eb57600080fd5b506109f46120f7565b604051610a0191906131b1565b60405180910390f35b610a246004803603810190610a1f91906139ac565b6120fd565b005b348015610a3257600080fd5b50610a3b612170565b604051610a4891906131b1565b60405180910390f35b348015610a5d57600080fd5b50610a786004803603810190610a739190613428565b612175565b604051610a8591906133da565b60405180910390f35b348015610a9a57600080fd5b50610aa36122d7565b005b348015610ab157600080fd5b50610aba61230b565b604051610ac791906133da565b60405180910390f35b348015610adc57600080fd5b50610af76004803603810190610af29190613a2f565b612399565b604051610b04919061306e565b60405180910390f35b348015610b1957600080fd5b50610b2261242d565b604051610b2f919061363b565b60405180910390f35b348015610b4457600080fd5b50610b5f6004803603810190610b5a919061316b565b612433565b005b6000610b6c826124b6565b9050919050565b610b7b612530565b610b8582826125ae565b5050565b60146020528060005260406000206000915090505481565b610ba9612530565b80600e9081610bb89190613c7b565b5050565b606060028054610bcb90613a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf790613a9e565b8015610c445780601f10610c1957610100808354040283529160200191610c44565b820191906000526020600020905b815481529060010190602001808311610c2757829003601f168201915b5050505050905090565b6000610c5982612743565b610c8f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cd882611ad8565b90508073ffffffffffffffffffffffffffffffffffffffff16610cf96127a2565b73ffffffffffffffffffffffffffffffffffffffff1614610d5c57610d2581610d206127a2565b612399565b610d5b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60008083604051602001610e259190613d95565b604051602081830303815290604052805190602001209050610e488584836127aa565b9150509392505050565b6000601154905090565b6000610e666127c1565b6001546000540303905090565b610e7b612530565b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b60136020528060005260406000206000915090505481565b6000610eca826127c6565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f31576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f3d84612892565b91509150610f538187610f4e6127a2565b6128b9565b610f9f57610f6886610f636127a2565b612399565b610f9e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611005576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61101286868660016128fd565b801561101d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506110eb856110c7888887612903565b7c02000000000000000000000000000000000000000000000000000000001761292b565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611171576000600185019050600060046000838152602001908152602001600020540361116f57600054811461116e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46111d98686866001612956565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690613dfc565b60405180910390fd5b601060039054906101000a900460ff1661129e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129590613e68565b60405180910390fd5b600b54816112ac9190613eb7565b3410156112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e590613f45565b60405180910390fd5b6112fb8233601154610e11565b61133a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133190613fb1565b60405180910390fd5b611b3981611346610e5c565b6113509190613fd1565b1115611391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138890614051565b60405180910390fd5b600381601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113de9190613fd1565b111561141f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611416906140e3565b60405180910390fd5b80601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461146e9190613fd1565b9250508190555061147f338261295c565b5050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036116185760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000611622612b17565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661164e9190613eb7565b6116589190614132565b90508160000151819350935050509250929050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d290613dfc565b60405180910390fd5b601060029054906101000a900460ff1661172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190613e68565b60405180910390fd5b600c54816117389190613eb7565b34101561177a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177190613f45565b60405180910390fd5b611b3981611786610e5c565b6117909190613fd1565b11156117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890614051565b60405180910390fd5b600681601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461181e9190613fd1565b111561185f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611856906141af565b60405180910390fd5b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ae9190613fd1565b925050819055506118bf338261295c565b50565b611b3981565b601060029054906101000a900460ff1681565b601060019054906101000a900460ff1681565b6118f6612530565b6000611900611f12565b9050600047905060008273ffffffffffffffffffffffffffffffffffffffff168260405161192d90614200565b60006040518083038185875af1925050503d806000811461196a576040519150601f19603f3d011682016040523d82523d6000602084013e61196f565b606091505b50509050806119b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119aa90614261565b60405180910390fd5b505050565b600181565b6119d8838383604051806020016040528060008152506120fd565b505050565b600f80546119ea90613a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a1690613a9e565b8015611a635780601f10611a3857610100808354040283529160200191611a63565b820191906000526020600020905b815481529060010190602001808311611a4657829003601f168201915b505050505081565b611a73612530565b8115611a855780601181905550611a8d565b806012819055505b5050565b601060009054906101000a900460ff1681565b611aac612530565b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6000611ae3826127c6565b9050919050565b600681565b6000601254905090565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b66576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611bbf612530565b611bc96000612b21565b565b600e8054611bd890613a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0490613a9e565b8015611c515780601f10611c2657610100808354040283529160200191611c51565b820191906000526020600020905b815481529060010190602001808311611c3457829003601f168201915b505050505081565b601060039054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd190613dfc565b60405180910390fd5b601060019054906101000a900460ff16611d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2090613e68565b60405180910390fd5b611d368133601254610e11565b611d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6c906142cd565b60405180910390fd5b611b396001611d82610e5c565b611d8c9190613fd1565b1115611dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc490614051565b60405180910390fd5b600180601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e1a9190613fd1565b1115611e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e52906141af565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eab9190613fd1565b92505081905550611ebd33600161295c565b50565b60156020528060005260406000206000915090505481565b60125481565b611ee6612530565b601060039054906101000a900460ff1615601060036101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611f44612530565b8181600d9182611f559291906142f8565b505050565b606060038054611f6990613a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054611f9590613a9e565b8015611fe25780601f10611fb757610100808354040283529160200191611fe2565b820191906000526020600020905b815481529060010190602001808311611fc557829003601f168201915b5050505050905090565b8060076000611ff96127a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120a66127a2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120eb919061306e565b60405180910390a35050565b600b5481565b612108848484610ebf565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461216a5761213384848484612be7565b612169576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600381565b606061218082612743565b6121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b69061443a565b60405180910390fd5b60006001836121ce9190613fd1565b9050601060009054906101000a900460ff1661227757600f80546121f190613a9e565b80601f016020809104026020016040519081016040528092919081815260200182805461221d90613a9e565b801561226a5780601f1061223f5761010080835404028352916020019161226a565b820191906000526020600020905b81548152906001019060200180831161224d57829003601f168201915b50505050509150506122d2565b6000600e805461228690613a9e565b9050116122a257604051806020016040528060008152506122ce565b600e6122ad82612d37565b6040516020016122be929190614565565b6040516020818303038152906040525b9150505b919050565b6122df612530565b601060029054906101000a900460ff1615601060026101000a81548160ff021916908315150217905550565b600d805461231890613a9e565b80601f016020809104026020016040519081016040528092919081815260200182805461234490613a9e565b80156123915780601f1061236657610100808354040283529160200191612391565b820191906000526020600020905b81548152906001019060200180831161237457829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60115481565b61243b612530565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036124aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a190614606565b60405180910390fd5b6124b381612b21565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612529575061252882612e97565b5b9050919050565b612538612f01565b73ffffffffffffffffffffffffffffffffffffffff16612556611f12565b73ffffffffffffffffffffffffffffffffffffffff16146125ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a390614672565b60405180910390fd5b565b6125b6612b17565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b90614704565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267a90614770565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008161274e6127c1565b1115801561275d575060005482105b801561279b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6000826127b78584612f09565b1490509392505050565b600090565b600080829050806127d56127c1565b1161285b5760005481101561285a5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612858575b6000810361284e576004600083600190039350838152602001908152602001600020549050612824565b809250505061288d565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861291a868684612f5f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000805490506000820361299c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129a960008483856128fd565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612a2083612a116000866000612903565b612a1a85612f68565b1761292b565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612ac157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612a86565b5060008203612afc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612b126000848385612956565b505050565b6000612710905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c0d6127a2565b8786866040518563ffffffff1660e01b8152600401612c2f94939291906147e5565b6020604051808303816000875af1925050508015612c6b57506040513d601f19601f82011682018060405250810190612c689190614846565b60015b612ce4573d8060008114612c9b576040519150601f19603f3d011682016040523d82523d6000602084013e612ca0565b606091505b506000815103612cdc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612d7e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e92565b600082905060005b60008214612db0578080612d9990614873565b915050600a82612da99190614132565b9150612d86565b60008167ffffffffffffffff811115612dcc57612dcb6131e7565b5b6040519080825280601f01601f191660200182016040528015612dfe5781602001600182028036833780820191505090505b5090505b60008514612e8b57600182612e1791906148bb565b9150600a85612e2691906148ef565b6030612e329190613fd1565b60f81b818381518110612e4857612e47614920565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e849190614132565b9450612e02565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008082905060005b8451811015612f5457612f3f82868381518110612f3257612f31614920565b5b6020026020010151612f78565b91508080612f4c90614873565b915050612f12565b508091505092915050565b60009392505050565b60006001821460e11b9050919050565b6000818310612f9057612f8b8284612fa3565b612f9b565b612f9a8383612fa3565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61300381612fce565b811461300e57600080fd5b50565b60008135905061302081612ffa565b92915050565b60006020828403121561303c5761303b612fc4565b5b600061304a84828501613011565b91505092915050565b60008115159050919050565b61306881613053565b82525050565b6000602082019050613083600083018461305f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130b482613089565b9050919050565b6130c4816130a9565b81146130cf57600080fd5b50565b6000813590506130e1816130bb565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613108816130e7565b811461311357600080fd5b50565b600081359050613125816130ff565b92915050565b6000806040838503121561314257613141612fc4565b5b6000613150858286016130d2565b925050602061316185828601613116565b9150509250929050565b60006020828403121561318157613180612fc4565b5b600061318f848285016130d2565b91505092915050565b6000819050919050565b6131ab81613198565b82525050565b60006020820190506131c660008301846131a2565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61321f826131d6565b810181811067ffffffffffffffff8211171561323e5761323d6131e7565b5b80604052505050565b6000613251612fba565b905061325d8282613216565b919050565b600067ffffffffffffffff82111561327d5761327c6131e7565b5b613286826131d6565b9050602081019050919050565b82818337600083830152505050565b60006132b56132b084613262565b613247565b9050828152602081018484840111156132d1576132d06131d1565b5b6132dc848285613293565b509392505050565b600082601f8301126132f9576132f86131cc565b5b81356133098482602086016132a2565b91505092915050565b60006020828403121561332857613327612fc4565b5b600082013567ffffffffffffffff81111561334657613345612fc9565b5b613352848285016132e4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561339557808201518184015260208101905061337a565b60008484015250505050565b60006133ac8261335b565b6133b68185613366565b93506133c6818560208601613377565b6133cf816131d6565b840191505092915050565b600060208201905081810360008301526133f481846133a1565b905092915050565b61340581613198565b811461341057600080fd5b50565b600081359050613422816133fc565b92915050565b60006020828403121561343e5761343d612fc4565b5b600061344c84828501613413565b91505092915050565b61345e816130a9565b82525050565b60006020820190506134796000830184613455565b92915050565b6000806040838503121561349657613495612fc4565b5b60006134a4858286016130d2565b92505060206134b585828601613413565b9150509250929050565b600067ffffffffffffffff8211156134da576134d96131e7565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b613503816134f0565b811461350e57600080fd5b50565b600081359050613520816134fa565b92915050565b6000613539613534846134bf565b613247565b9050808382526020820190506020840283018581111561355c5761355b6134eb565b5b835b8181101561358557806135718882613511565b84526020840193505060208101905061355e565b5050509392505050565b600082601f8301126135a4576135a36131cc565b5b81356135b4848260208601613526565b91505092915050565b6000806000606084860312156135d6576135d5612fc4565b5b600084013567ffffffffffffffff8111156135f4576135f3612fc9565b5b6136008682870161358f565b9350506020613611868287016130d2565b925050604061362286828701613511565b9150509250925092565b613635816134f0565b82525050565b6000602082019050613650600083018461362c565b92915050565b60008060006060848603121561366f5761366e612fc4565b5b600061367d868287016130d2565b935050602061368e868287016130d2565b925050604061369f86828701613413565b9150509250925092565b600080604083850312156136c0576136bf612fc4565b5b600083013567ffffffffffffffff8111156136de576136dd612fc9565b5b6136ea8582860161358f565b92505060206136fb85828601613413565b9150509250929050565b6000806040838503121561371c5761371b612fc4565b5b600061372a85828601613413565b925050602061373b85828601613413565b9150509250929050565b600060408201905061375a6000830185613455565b61376760208301846131a2565b9392505050565b61377781613053565b811461378257600080fd5b50565b6000813590506137948161376e565b92915050565b600080604083850312156137b1576137b0612fc4565b5b60006137bf85828601613785565b92505060206137d085828601613511565b9150509250929050565b6000602082840312156137f0576137ef612fc4565b5b600082013567ffffffffffffffff81111561380e5761380d612fc9565b5b61381a8482850161358f565b91505092915050565b600080fd5b60008083601f84011261383e5761383d6131cc565b5b8235905067ffffffffffffffff81111561385b5761385a613823565b5b602083019150836001820283011115613877576138766134eb565b5b9250929050565b6000806020838503121561389557613894612fc4565b5b600083013567ffffffffffffffff8111156138b3576138b2612fc9565b5b6138bf85828601613828565b92509250509250929050565b600080604083850312156138e2576138e1612fc4565b5b60006138f0858286016130d2565b925050602061390185828601613785565b9150509250929050565b600067ffffffffffffffff821115613926576139256131e7565b5b61392f826131d6565b9050602081019050919050565b600061394f61394a8461390b565b613247565b90508281526020810184848401111561396b5761396a6131d1565b5b613976848285613293565b509392505050565b600082601f830112613993576139926131cc565b5b81356139a384826020860161393c565b91505092915050565b600080600080608085870312156139c6576139c5612fc4565b5b60006139d4878288016130d2565b94505060206139e5878288016130d2565b93505060406139f687828801613413565b925050606085013567ffffffffffffffff811115613a1757613a16612fc9565b5b613a238782880161397e565b91505092959194509250565b60008060408385031215613a4657613a45612fc4565b5b6000613a54858286016130d2565b9250506020613a65858286016130d2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ab657607f821691505b602082108103613ac957613ac8613a6f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613b317fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613af4565b613b3b8683613af4565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613b78613b73613b6e84613198565b613b53565b613198565b9050919050565b6000819050919050565b613b9283613b5d565b613ba6613b9e82613b7f565b848454613b01565b825550505050565b600090565b613bbb613bae565b613bc6818484613b89565b505050565b5b81811015613bea57613bdf600082613bb3565b600181019050613bcc565b5050565b601f821115613c2f57613c0081613acf565b613c0984613ae4565b81016020851015613c18578190505b613c2c613c2485613ae4565b830182613bcb565b50505b505050565b600082821c905092915050565b6000613c5260001984600802613c34565b1980831691505092915050565b6000613c6b8383613c41565b9150826002028217905092915050565b613c848261335b565b67ffffffffffffffff811115613c9d57613c9c6131e7565b5b613ca78254613a9e565b613cb2828285613bee565b600060209050601f831160018114613ce55760008415613cd3578287015190505b613cdd8582613c5f565b865550613d45565b601f198416613cf386613acf565b60005b82811015613d1b57848901518255600182019150602085019450602081019050613cf6565b86831015613d385784890151613d34601f891682613c41565b8355505b6001600288020188555050505b505050505050565b60008160601b9050919050565b6000613d6582613d4d565b9050919050565b6000613d7782613d5a565b9050919050565b613d8f613d8a826130a9565b613d6c565b82525050565b6000613da18284613d7e565b60148201915081905092915050565b7f43616e6e6f742062652063616c6c6564206279206120636f6e74726163740000600082015250565b6000613de6601e83613366565b9150613df182613db0565b602082019050919050565b60006020820190508181036000830152613e1581613dd9565b9050919050565b7f4e6f742059657420416374697665000000000000000000000000000000000000600082015250565b6000613e52600e83613366565b9150613e5d82613e1c565b602082019050919050565b60006020820190508181036000830152613e8181613e45565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ec282613198565b9150613ecd83613198565b9250828202613edb81613198565b91508282048414831517613ef257613ef1613e88565b5b5092915050565b7f496e73756666696369656e74207061796d656e74000000000000000000000000600082015250565b6000613f2f601483613366565b9150613f3a82613ef9565b602082019050919050565b60006020820190508181036000830152613f5e81613f22565b9050919050565b7f596f7520617265206e6f742077686974656c6973746564000000000000000000600082015250565b6000613f9b601783613366565b9150613fa682613f65565b602082019050919050565b60006020820190508181036000830152613fca81613f8e565b9050919050565b6000613fdc82613198565b9150613fe783613198565b9250828201905080821115613fff57613ffe613e88565b5b92915050565b7f43616e6e6f74206d696e74206265796f6e64206d617820737570706c79000000600082015250565b600061403b601d83613366565b915061404682614005565b602082019050919050565b6000602082019050818103600083015261406a8161402e565b9050919050565b7f43616e6e6f74206d696e74206265796f6e642077686974656c697374206d617860008201527f206c696d69740000000000000000000000000000000000000000000000000000602082015250565b60006140cd602683613366565b91506140d882614071565b604082019050919050565b600060208201905081810360008301526140fc816140c0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061413d82613198565b915061414883613198565b92508261415857614157614103565b5b828204905092915050565b7f43616e6e6f74206d696e74206265796f6e64206d6178206c696d697400000000600082015250565b6000614199601c83613366565b91506141a482614163565b602082019050919050565b600060208201905081810360008301526141c88161418c565b9050919050565b600081905092915050565b50565b60006141ea6000836141cf565b91506141f5826141da565b600082019050919050565b600061420b826141dd565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b600061424b601483613366565b915061425682614215565b602082019050919050565b6000602082019050818103600083015261427a8161423e565b9050919050565b7f596f7520617265206e6f74206f6e2046726565204d696e742036390000000000600082015250565b60006142b7601b83613366565b91506142c282614281565b602082019050919050565b600060208201905081810360008301526142e6816142aa565b9050919050565b600082905092915050565b61430283836142ed565b67ffffffffffffffff81111561431b5761431a6131e7565b5b6143258254613a9e565b614330828285613bee565b6000601f83116001811461435f576000841561434d578287013590505b6143578582613c5f565b8655506143bf565b601f19841661436d86613acf565b60005b8281101561439557848901358255600182019150602085019450602081019050614370565b868310156143b257848901356143ae601f891682613c41565b8355505b6001600288020188555050505b50505050505050565b7f4552433732314d657461646174612055524920717565727920666f72206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614424602e83613366565b915061442f826143c8565b604082019050919050565b6000602082019050818103600083015261445381614417565b9050919050565b600081905092915050565b6000815461447281613a9e565b61447c818661445a565b9450600182166000811461449757600181146144ac576144df565b60ff19831686528115158202860193506144df565b6144b585613acf565b60005b838110156144d7578154818901526001820191506020810190506144b8565b838801955050505b50505092915050565b60006144f38261335b565b6144fd818561445a565b935061450d818560208601613377565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061454f60058361445a565b915061455a82614519565b600582019050919050565b60006145718285614465565b915061457d82846144e8565b915061458882614542565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145f0602683613366565b91506145fb82614594565b604082019050919050565b6000602082019050818103600083015261461f816145e3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061465c602083613366565b915061466782614626565b602082019050919050565b6000602082019050818103600083015261468b8161464f565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006146ee602a83613366565b91506146f982614692565b604082019050919050565b6000602082019050818103600083015261471d816146e1565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061475a601983613366565b915061476582614724565b602082019050919050565b600060208201905081810360008301526147898161474d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006147b782614790565b6147c1818561479b565b93506147d1818560208601613377565b6147da816131d6565b840191505092915050565b60006080820190506147fa6000830187613455565b6148076020830186613455565b61481460408301856131a2565b818103606083015261482681846147ac565b905095945050505050565b60008151905061484081612ffa565b92915050565b60006020828403121561485c5761485b612fc4565b5b600061486a84828501614831565b91505092915050565b600061487e82613198565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036148b0576148af613e88565b5b600182019050919050565b60006148c682613198565b91506148d183613198565b92508282039050818111156148e9576148e8613e88565b5b92915050565b60006148fa82613198565b915061490583613198565b92508261491557614914614103565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220d73e9ce94da5170f75787c494d2c02102ea1c2487984306d54510bb1d1b4989d64736f6c63430008130033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000140b7328570743655bc48ff572373a618e1aaa20c1cc24a2032b207f8537b12164710ed18821c8ea7b25969a733ba1c42db97c7e8fa02c3919eba5d04f6b70da4aa00000000000000000000000000000000000000000000000000000000000001f40000000000000000000000004c900a390d7ce84eed0c8268aa0436280dd3b8370000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696364347532337a6c377679746c6a6b676d6c636a627a33626934733361743535657469346e36746675636e7434353768366464610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b72656966677a70696a6667667435783478676864703675626c7563637a677777336c6363696964697874667961326e32657a6a6b726869000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _contractURI (string): ipfs://bafkreicd4u23zl7vytljkgmlcjbz3bi4s3at55eti4n6tfucnt457h6dda
Arg [1] : _placeholderTokenUri (string): ipfs://bafkreifgzpijfgft5x4xghdp6ublucczgww3lcciidixtfya2n2ezjkrhi
Arg [2] : _merkleRootWl (bytes32): 0xb7328570743655bc48ff572373a618e1aaa20c1cc24a2032b207f8537b121647
Arg [3] : _merkleRootFree (bytes32): 0x10ed18821c8ea7b25969a733ba1c42db97c7e8fa02c3919eba5d04f6b70da4aa
Arg [4] : _royaltyFeesInBips (uint96): 500
Arg [5] : _teamAddress (address): 0x4C900A390D7Ce84EeD0c8268Aa0436280DD3b837

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : b7328570743655bc48ff572373a618e1aaa20c1cc24a2032b207f8537b121647
Arg [3] : 10ed18821c8ea7b25969a733ba1c42db97c7e8fa02c3919eba5d04f6b70da4aa
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [5] : 0000000000000000000000004c900a390d7ce84eed0c8268aa0436280dd3b837
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [7] : 697066733a2f2f6261666b7265696364347532337a6c377679746c6a6b676d6c
Arg [8] : 636a627a33626934733361743535657469346e36746675636e74343537683664
Arg [9] : 6461000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [11] : 697066733a2f2f6261666b72656966677a70696a666766743578347867686470
Arg [12] : 3675626c7563637a677777336c6363696964697874667961326e32657a6a6b72
Arg [13] : 6869000000000000000000000000000000000000000000000000000000000000


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

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