ETH Price: $2,873.37 (-5.83%)
Gas: 1 Gwei

Token

CodeArtBear (CAB)
 

Overview

Max Total Supply

1,501 CAB

Holders

603

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 CAB
0x60ddb78E0e92DcF3d325C4b8E60945C81C055d77
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:
CodeArtBear

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-11-07
*/

// SPDX-License-Identifier: MIT
// File: CodeArtBear_flat.sol


// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// 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: @openzeppelin/contracts/utils/Strings.sol


// 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: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

    /**
     * @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 have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



/**
 * @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: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/utils/Context.sol


// 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: contracts/ERC721A.sol



pragma solidity ^0.8.0;









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

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 1;

  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

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

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

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

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

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721A: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    _approve(to, tokenId, owner);
  }

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

    return _tokenApprovals[tokenId];
  }

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

    _operatorApprovals[_msgSender()][operator] = approved;
    emit ApprovalForAll(_msgSender(), operator, approved);
  }

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

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

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: transfer to non ERC721Receiver implementer"
    );
  }

  /**
   * @dev Returns whether `tokenId` exists.
   *
   * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
   *
   * Tokens start existing when they are minted (`_mint`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

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

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

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

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

    uint256 updatedIndex = startTokenId;

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

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

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `tokenId` token must be owned by `from`.
   *
   * Emits a {Transfer} event.
   */
  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

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

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

    _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

  uint256 public nextOwnerToExplicitlySet = 0;

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

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

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
   * transferred to `to`.
   * - When `from` is zero, `tokenId` will be minted for `to`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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: contracts/CodeArtBear.sol


/*
-CODE-------------  -ART--------------  -OFFLINE----------
@@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@
@@@@@@              @@@@@@@    @@@@@@@  @@@@@@@    @@@@@@@
@@@@@@              @@@@@@@    @@@@@@@  @@@@@@@    @@@@@@@
@@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@  @@@@@@      @@@@@@  @@@@@@@@@@@@@@@@@@ 
------------------  ------------------  ------------------
 */

pragma solidity ^0.8.0;








contract CodeArtBear is ERC721A, Ownable, ReentrancyGuard, ERC2981{
    uint256 public tokenCount;
    uint256 public prePrice = 0.01 ether;
    uint256 public pubPrice = 0.02 ether;
    uint256 public batchSize = 100;
    uint256 public mintLimit = 3;
    uint256 public _totalSupply = 1500;
    bool public preSaleStart = false;
    bool public pubSaleStart = false;
    mapping(address => uint256) public minted; 
    bytes32 public merkleRoot;

    address public royaltyAddress;
    uint96 public royaltyFee = 1000;
    
    bool public revealed;
    string public baseURI;
    string public notRevealedURI;

    constructor() ERC721A("CodeArtBear", "CAB",batchSize, _totalSupply) {
        tokenCount = 0;
        royaltyAddress = msg.sender;
        _setDefaultRoyalty(msg.sender, royaltyFee);
    }

    function ownerMint(uint256 _mintAmount, address to) external onlyOwner {
        require((_mintAmount + tokenCount) <= (_totalSupply), "too many already minted before patner mint");
        _safeMint(to, _mintAmount);
        tokenCount += _mintAmount;
    }

    function preMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable nonReentrant {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        
        require(mintLimit >= _mintAmount, "limit over");
        require(mintLimit >= minted[msg.sender] + _mintAmount, "You have no Mint left");
        require(msg.value >= prePrice * _mintAmount, "Value sent is not correct");
        require((_mintAmount + tokenCount) <= (_totalSupply), "Sorry. No more NFTs");
        require(preSaleStart, "Sale Paused");
        require(MerkleProof.verify(_merkleProof, merkleRoot, leaf),"Invalid Merkle Proof");
        
        minted[msg.sender] += _mintAmount;
        _safeMint(msg.sender, _mintAmount);
        tokenCount += _mintAmount;
    }
    
    function pubMint(uint256 _mintAmount) public payable nonReentrant {
        require(mintLimit >= _mintAmount, "limit over");
        require(mintLimit >= minted[msg.sender] + _mintAmount, "You have no Mint left");
        require(msg.value >= pubPrice * _mintAmount, "Value sent is not correct");
        require((_mintAmount + tokenCount) <= (_totalSupply), "Sorry. No more NFTs");
        require(pubSaleStart, "Sale Paused");

        minted[msg.sender] += _mintAmount;
        _safeMint(msg.sender, _mintAmount);
        tokenCount += _mintAmount;
    }
    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }
    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }
    function setHiddenURI(string memory _newHiddenURI) public onlyOwner {
        notRevealedURI = _newHiddenURI;
    }
    function switchReveal() public onlyOwner {
        revealed = !revealed;
    }
    function tokenURI(uint256 _tokenId) public view virtual override(ERC721A) returns (string memory) {
        require(_exists(_tokenId), "URI query for nonexistent token");
        if(revealed == false) {
            return notRevealedURI;
        }
        return string(abi.encodePacked(_baseURI(), Strings.toString(_tokenId), ".json"));
    }

    function withdrawRevenueShare() external onlyOwner {
        uint256 sendAmount = address(this).balance;
        address artist = payable(0x2E84aA395A462a9313fA4a3AF627de0Ae4f0EeA8);
        address engineer1 = payable(0xE7159308F1D50Beb0Fe76735ADD6e4a936Dc8597);
        address engineer2 = payable(0x2064f95A4537a7e9ce364384F55A2F4bBA3F0346);
        bool success;
        
        (success, ) = artist.call{value: (sendAmount * 800/1000)}("");
        require(success, "Failed to withdraw Ether");
        (success, ) = engineer1.call{value: (sendAmount * 100/1000)}("");
        require(success, "Failed to withdraw Ether");
        (success, ) = engineer2.call{value: (sendAmount * 100/1000)}("");
        require(success, "Failed to withdraw Ether");
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }
    function switchPreSale(bool _state) external onlyOwner {
        preSaleStart = _state;
    }
    function switchPubSale(bool _state) external onlyOwner {
        pubSaleStart = _state;
    }
    function setLimit(uint256 newLimit) external onlyOwner {
        mintLimit = newLimit;
    }
    function walletOfOwner(address _address) public view returns (uint256[] memory) {
        uint256 ownerTokenCount = balanceOf(_address);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_address, i);
        }
        return tokenIds;
    }
    //set Default Royalty._feeNumerator 500 = 5% Royalty
    function setRoyaltyFee(uint96 _feeNumerator) external onlyOwner {
        royaltyFee = _feeNumerator;
        _setDefaultRoyalty(royaltyAddress, royaltyFee);
    }
    //Change the royalty address where royalty payouts are sent
    function setRoyaltyAddress(address _royaltyAddress) external onlyOwner {
        royaltyAddress = _royaltyAddress;
        _setDefaultRoyalty(royaltyAddress, royaltyFee);
    }
  
    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC721A, ERC2981) returns (bool) {
        // Supports the following `interfaceId`s:
        // - IERC165: 0x01ffc9a7
        // - IERC721: 0x80ac58cd
        // - IERC721Metadata: 0x5b5e139f
        // - IERC2981: 0x2a55205a
        return
            ERC721A.supportsInterface(interfaceId) ||
            ERC2981.supportsInterface(interfaceId);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"batchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","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":"_mintAmount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"prePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"pubMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pubPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pubSaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFee","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newHiddenURI","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"}],"name":"setRoyaltyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setRoyaltyFee","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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"switchPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"switchPubSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"switchReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawRevenueShare","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405260016000908155600755662386f26fc10000600d5566470de4df820000600e556064600f5560036010556105dc6011556012805461ffff19169055601580546001600160a01b0316607d60a31b1790553480156200006157600080fd5b506040518060400160405280600b81526020016a21b7b232a0b93a2132b0b960a91b8152506040518060400160405280600381526020016221a0a160e91b815250600f5460115460008111620001155760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001775760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b60648201526084016200010c565b83516200018c9060019060208701906200034f565b508251620001a29060029060208601906200034f565b5060a09190915260805250620001ba905033620001fc565b60016009556000600c55601580546001600160a01b0319163390811791829055620001f6916001600160601b03600160a01b909104166200024e565b62000432565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620002be5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016200010c565b6001600160a01b038216620003165760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200010c565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b8280546200035d90620003f5565b90600052602060002090601f016020900481019282620003815760008555620003cc565b82601f106200039c57805160ff1916838001178555620003cc565b82800160010185558215620003cc579182015b82811115620003cc578251825591602001919060010190620003af565b50620003da929150620003de565b5090565b5b80821115620003da5760008155600101620003df565b600181811c908216806200040a57607f821691505b602082108114156200042c57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516130a262000463600039600081816121fc0152818161222601526126930152600050506130a26000f3fe6080604052600436106102c95760003560e01c8063715018a611610175578063bbaac02f116100dc578063d7224ba011610095578063e985e9c51161006f578063e985e9c514610870578063ec5a2d45146108b9578063f2fde38b146108ce578063f4daaba1146108ee57600080fd5b8063d7224ba014610824578063e0b0b2fb1461083a578063e567cad61461085a57600080fd5b8063bbaac02f1461077c578063bddb7be71461079c578063c1d9df8d146107b2578063c87b56dd146107c5578063cfd9480b146107e5578063d52c57e01461080457600080fd5b80639f181b5e1161012e5780639f181b5e146106b2578063a22cb465146106c8578063aa38cd32146106e8578063ad2f852a146106fd578063b88d4fde1461071d578063b8997a971461073d57600080fd5b8063715018a61461061f57806372250380146106345780637cb64759146106495780638da5cb5b1461066957806395d89b4114610687578063996517cf1461069c57600080fd5b80632f745c591161023457806351830227116101ed5780635a546223116101c75780635a546223146105b75780636352211e146105ca5780636c0360eb146105ea57806370a08231146105ff57600080fd5b8063518302271461055d578063546a367d1461057757806355f804b31461059757600080fd5b80632f745c591461049a57806331faafb4146104ba5780633eaaf86b146104da57806342842e0e146104f0578063438b6300146105105780634f6ccce71461053d57600080fd5b806318160ddd1161028657806318160ddd146103b95780631e7269c5146103d857806323b872dd1461040557806327ea6f2b146104255780632a55205a146104455780632eb4a7ab1461048457600080fd5b806301ffc9a7146102ce57806306d254da1461030357806306fdde0314610325578063081812fc14610347578063095ea7b31461037f5780630d5624b31461039f575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612ba3565b610904565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b5061032361031e366004612a15565b610924565b005b34801561033157600080fd5b5061033a610967565b6040516102fa9190612dff565b34801561035357600080fd5b50610367610362366004612b8a565b6109f9565b6040516001600160a01b0390911681526020016102fa565b34801561038b57600080fd5b5061032361039a366004612b45565b610a89565b3480156103ab57600080fd5b506012546102ee9060ff1681565b3480156103c557600080fd5b506000545b6040519081526020016102fa565b3480156103e457600080fd5b506103ca6103f3366004612a15565b60136020526000908152604090205481565b34801561041157600080fd5b50610323610420366004612a63565b610ba1565b34801561043157600080fd5b50610323610440366004612b8a565b610bac565b34801561045157600080fd5b50610465610460366004612cc8565b610bb9565b604080516001600160a01b0390931683526020830191909152016102fa565b34801561049057600080fd5b506103ca60145481565b3480156104a657600080fd5b506103ca6104b5366004612b45565b610c65565b3480156104c657600080fd5b506103236104d5366004612cea565b610dd3565b3480156104e657600080fd5b506103ca60115481565b3480156104fc57600080fd5b5061032361050b366004612a63565b610e14565b34801561051c57600080fd5b5061053061052b366004612a15565b610e2f565b6040516102fa9190612dbb565b34801561054957600080fd5b506103ca610558366004612b8a565b610ed1565b34801561056957600080fd5b506016546102ee9060ff1681565b34801561058357600080fd5b50610323610592366004612b6f565b610f33565b3480156105a357600080fd5b506103236105b2366004612bdd565b610f4e565b6103236105c5366004612c49565b610f6d565b3480156105d657600080fd5b506103676105e5366004612b8a565b611263565b3480156105f657600080fd5b5061033a611275565b34801561060b57600080fd5b506103ca61061a366004612a15565b611303565b34801561062b57600080fd5b50610323611394565b34801561064057600080fd5b5061033a6113a8565b34801561065557600080fd5b50610323610664366004612b8a565b6113b5565b34801561067557600080fd5b506008546001600160a01b0316610367565b34801561069357600080fd5b5061033a6113c2565b3480156106a857600080fd5b506103ca60105481565b3480156106be57600080fd5b506103ca600c5481565b3480156106d457600080fd5b506103236106e3366004612b1b565b6113d1565b3480156106f457600080fd5b50610323611496565b34801561070957600080fd5b50601554610367906001600160a01b031681565b34801561072957600080fd5b50610323610738366004612a9f565b611671565b34801561074957600080fd5b5060155461076490600160a01b90046001600160601b031681565b6040516001600160601b0390911681526020016102fa565b34801561078857600080fd5b50610323610797366004612bdd565b6116aa565b3480156107a857600080fd5b506103ca600e5481565b6103236107c0366004612b8a565b6116c5565b3480156107d157600080fd5b5061033a6107e0366004612b8a565b611900565b3480156107f157600080fd5b506012546102ee90610100900460ff1681565b34801561081057600080fd5b5061032361081f366004612c26565b611a2d565b34801561083057600080fd5b506103ca60075481565b34801561084657600080fd5b50610323610855366004612b6f565b611acb565b34801561086657600080fd5b506103ca600d5481565b34801561087c57600080fd5b506102ee61088b366004612a30565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156108c557600080fd5b50610323611aed565b3480156108da57600080fd5b506103236108e9366004612a15565b611b09565b3480156108fa57600080fd5b506103ca600f5481565b600061090f82611b7f565b8061091e575061091e82611bea565b92915050565b61092c611c0f565b601580546001600160a01b0319166001600160a01b0383169081179182905561096491600160a01b90046001600160601b0316611c69565b50565b60606001805461097690612f94565b80601f01602080910402602001604051908101604052809291908181526020018280546109a290612f94565b80156109ef5780601f106109c4576101008083540402835291602001916109ef565b820191906000526020600020905b8154815290600101906020018083116109d257829003601f168201915b5050505050905090565b6000610a06826000541190565b610a6d5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610a9482611263565b9050806001600160a01b0316836001600160a01b03161415610b035760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610a64565b336001600160a01b0382161480610b1f5750610b1f813361088b565b610b915760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610a64565b610b9c838383611d66565b505050565b610b9c838383611dc2565b610bb4611c0f565b601055565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c2e575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610c4d906001600160601b031687612ef3565b610c579190612edf565b915196919550909350505050565b6000610c7083611303565b8210610cc95760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610a64565b600080549080805b83811015610d73576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610d2457805192505b876001600160a01b0316836001600160a01b03161415610d605786841415610d525750935061091e92505050565b83610d5c81612fcf565b9450505b5080610d6b81612fcf565b915050610cd1565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610a64565b610ddb611c0f565b601580546001600160a01b03908116600160a01b6001600160601b03858116820283811795869055610964959416909217920416611c69565b610b9c83838360405180602001604052806000815250611671565b60606000610e3c83611303565b905060008167ffffffffffffffff811115610e5957610e59613040565b604051908082528060200260200182016040528015610e82578160200160208202803683370190505b50905060005b82811015610ec957610e9a8582610c65565b828281518110610eac57610eac61302a565b602090810291909101015280610ec181612fcf565b915050610e88565b509392505050565b600080548210610f2f5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610a64565b5090565b610f3b611c0f565b6012805460ff1916911515919091179055565b610f56611c0f565b8051610f699060179060208401906128e3565b5050565b60026009541415610fc05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a64565b60026009556040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905083601054101561103d5760405162461bcd60e51b815260206004820152600a6024820152693634b6b4ba1037bb32b960b11b6044820152606401610a64565b33600090815260136020526040902054611058908590612ec7565b60105410156110a15760405162461bcd60e51b8152602060048201526015602482015274165bdd481a185d99481b9bc8135a5b9d081b19599d605a1b6044820152606401610a64565b83600d546110af9190612ef3565b3410156110fa5760405162461bcd60e51b815260206004820152601960248201527815985b1d59481cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b6044820152606401610a64565b601154600c5461110a9086612ec7565b111561114e5760405162461bcd60e51b8152602060048201526013602482015272536f7272792e204e6f206d6f7265204e46547360681b6044820152606401610a64565b60125460ff1661118e5760405162461bcd60e51b815260206004820152600b60248201526a14d85b194814185d5cd95960aa1b6044820152606401610a64565b6111cf83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601454915084905061214a565b6112125760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21026b2b935b63290283937b7b360611b6044820152606401610a64565b3360009081526013602052604081208054869290611231908490612ec7565b9091555061124190503385612160565b83600c60008282546112539190612ec7565b9091555050600160095550505050565b600061126e8261217a565b5192915050565b6017805461128290612f94565b80601f01602080910402602001604051908101604052809291908181526020018280546112ae90612f94565b80156112fb5780601f106112d0576101008083540402835291602001916112fb565b820191906000526020600020905b8154815290600101906020018083116112de57829003601f168201915b505050505081565b60006001600160a01b03821661136f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610a64565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b61139c611c0f565b6113a66000612324565b565b6018805461128290612f94565b6113bd611c0f565b601455565b60606002805461097690612f94565b6001600160a01b03821633141561142a5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610a64565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61149e611c0f565b47732e84aa395a462a9313fa4a3af627de0ae4f0eea873e7159308f1d50beb0fe76735add6e4a936dc8597732064f95a4537a7e9ce364384f55a2f4bba3f03466000836103e86114f087610320612ef3565b6114fa9190612edf565b604051600081818185875af1925050503d8060008114611536576040519150601f19603f3d011682016040523d82523d6000602084013e61153b565b606091505b5050809150508061155e5760405162461bcd60e51b8152600401610a6490612e12565b6001600160a01b0383166103e8611576876064612ef3565b6115809190612edf565b604051600081818185875af1925050503d80600081146115bc576040519150601f19603f3d011682016040523d82523d6000602084013e6115c1565b606091505b505080915050806115e45760405162461bcd60e51b8152600401610a6490612e12565b6001600160a01b0382166103e86115fc876064612ef3565b6116069190612edf565b604051600081818185875af1925050503d8060008114611642576040519150601f19603f3d011682016040523d82523d6000602084013e611647565b606091505b5050809150508061166a5760405162461bcd60e51b8152600401610a6490612e12565b5050505050565b61167c848484611dc2565b61168884848484612376565b6116a45760405162461bcd60e51b8152600401610a6490612e49565b50505050565b6116b2611c0f565b8051610f699060189060208401906128e3565b600260095414156117185760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a64565b600260095560105481111561175c5760405162461bcd60e51b815260206004820152600a6024820152693634b6b4ba1037bb32b960b11b6044820152606401610a64565b33600090815260136020526040902054611777908290612ec7565b60105410156117c05760405162461bcd60e51b8152602060048201526015602482015274165bdd481a185d99481b9bc8135a5b9d081b19599d605a1b6044820152606401610a64565b80600e546117ce9190612ef3565b3410156118195760405162461bcd60e51b815260206004820152601960248201527815985b1d59481cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b6044820152606401610a64565b601154600c546118299083612ec7565b111561186d5760405162461bcd60e51b8152602060048201526013602482015272536f7272792e204e6f206d6f7265204e46547360681b6044820152606401610a64565b601254610100900460ff166118b25760405162461bcd60e51b815260206004820152600b60248201526a14d85b194814185d5cd95960aa1b6044820152606401610a64565b33600090815260136020526040812080548392906118d1908490612ec7565b909155506118e190503382612160565b80600c60008282546118f39190612ec7565b9091555050600160095550565b606061190d826000541190565b6119595760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610a64565b60165460ff166119f5576018805461197090612f94565b80601f016020809104026020016040519081016040528092919081815260200182805461199c90612f94565b80156119e95780601f106119be576101008083540402835291602001916119e9565b820191906000526020600020905b8154815290600101906020018083116119cc57829003601f168201915b50505050509050919050565b6119fd612484565b611a0683612493565b604051602001611a17929190612d3f565b6040516020818303038152906040529050919050565b611a35611c0f565b601154600c54611a459084612ec7565b1115611aa65760405162461bcd60e51b815260206004820152602a60248201527f746f6f206d616e7920616c7265616479206d696e746564206265666f72652070604482015269185d1b995c881b5a5b9d60b21b6064820152608401610a64565b611ab08183612160565b81600c6000828254611ac29190612ec7565b90915550505050565b611ad3611c0f565b601280549115156101000261ff0019909216919091179055565b611af5611c0f565b6016805460ff19811660ff90911615179055565b611b11611c0f565b6001600160a01b038116611b765760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a64565b61096481612324565b60006001600160e01b031982166380ac58cd60e01b1480611bb057506001600160e01b03198216635b5e139f60e01b145b80611bcb57506001600160e01b0319821663780e9d6360e01b145b8061091e57506301ffc9a760e01b6001600160e01b031983161461091e565b60006001600160e01b0319821663152a902d60e11b148061091e575061091e82611b7f565b6008546001600160a01b031633146113a65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a64565b6127106001600160601b0382161115611cd75760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610a64565b6001600160a01b038216611d2d5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a64565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611dcd8261217a565b80519091506000906001600160a01b0316336001600160a01b03161480611e04575033611df9846109f9565b6001600160a01b0316145b80611e1657508151611e16903361088b565b905080611e805760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610a64565b846001600160a01b031682600001516001600160a01b031614611ef45760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610a64565b6001600160a01b038416611f585760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610a64565b611f686000848460000151611d66565b6001600160a01b0385166000908152600460205260408120805460019290611f9a9084906001600160801b0316612f12565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092611fe691859116612e9c565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561206e846001612ec7565b6000818152600360205260409020549091506001600160a01b031661210057612098816000541190565b156121005760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000826121578584612591565b14949350505050565b610f698282604051806020016040528060008152506125d6565b6040805180820190915260008082526020820152612199826000541190565b6121f85760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610a64565b60007f000000000000000000000000000000000000000000000000000000000000000083106122595761224b7f000000000000000000000000000000000000000000000000000000000000000084612f3a565b612256906001612ec7565b90505b825b8181106122c3576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156122b057949350505050565b50806122bb81612f7d565b91505061225b565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610a64565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561247857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123ba903390899088908890600401612d7e565b602060405180830381600087803b1580156123d457600080fd5b505af1925050508015612404575060408051601f3d908101601f1916820190925261240191810190612bc0565b60015b61245e573d808015612432576040519150601f19603f3d011682016040523d82523d6000602084013e612437565b606091505b5080516124565760405162461bcd60e51b8152600401610a6490612e49565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061247c565b5060015b949350505050565b60606017805461097690612f94565b6060816124b75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156124e157806124cb81612fcf565b91506124da9050600a83612edf565b91506124bb565b60008167ffffffffffffffff8111156124fc576124fc613040565b6040519080825280601f01601f191660200182016040528015612526576020820181803683370190505b5090505b841561247c5761253b600183612f3a565b9150612548600a86612fea565b612553906030612ec7565b60f81b8183815181106125685761256861302a565b60200101906001600160f81b031916908160001a90535061258a600a86612edf565b945061252a565b600081815b8451811015610ec9576125c2828683815181106125b5576125b561302a565b60200260200101516128b1565b9150806125ce81612fcf565b915050612596565b6000546001600160a01b0384166126395760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a64565b612644816000541190565b156126915760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610a64565b7f000000000000000000000000000000000000000000000000000000000000000083111561270c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610a64565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612768908790612e9c565b6001600160801b031681526020018583602001516127869190612e9c565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156128a65760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461286a6000888488612376565b6128865760405162461bcd60e51b8152600401610a6490612e49565b8161289081612fcf565b925050808061289e90612fcf565b91505061281d565b506000819055612142565b60008183106128cd5760008281526020849052604090206128dc565b60008381526020839052604090205b9392505050565b8280546128ef90612f94565b90600052602060002090601f0160209004810192826129115760008555612957565b82601f1061292a57805160ff1916838001178555612957565b82800160010185558215612957579182015b8281111561295757825182559160200191906001019061293c565b50610f2f9291505b80821115610f2f576000815560010161295f565b600067ffffffffffffffff8084111561298e5761298e613040565b604051601f8501601f19908116603f011681019082821181831017156129b6576129b6613040565b816040528093508581528686860111156129cf57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114612a0057600080fd5b919050565b80358015158114612a0057600080fd5b600060208284031215612a2757600080fd5b6128dc826129e9565b60008060408385031215612a4357600080fd5b612a4c836129e9565b9150612a5a602084016129e9565b90509250929050565b600080600060608486031215612a7857600080fd5b612a81846129e9565b9250612a8f602085016129e9565b9150604084013590509250925092565b60008060008060808587031215612ab557600080fd5b612abe856129e9565b9350612acc602086016129e9565b925060408501359150606085013567ffffffffffffffff811115612aef57600080fd5b8501601f81018713612b0057600080fd5b612b0f87823560208401612973565b91505092959194509250565b60008060408385031215612b2e57600080fd5b612b37836129e9565b9150612a5a60208401612a05565b60008060408385031215612b5857600080fd5b612b61836129e9565b946020939093013593505050565b600060208284031215612b8157600080fd5b6128dc82612a05565b600060208284031215612b9c57600080fd5b5035919050565b600060208284031215612bb557600080fd5b81356128dc81613056565b600060208284031215612bd257600080fd5b81516128dc81613056565b600060208284031215612bef57600080fd5b813567ffffffffffffffff811115612c0657600080fd5b8201601f81018413612c1757600080fd5b61247c84823560208401612973565b60008060408385031215612c3957600080fd5b82359150612a5a602084016129e9565b600080600060408486031215612c5e57600080fd5b83359250602084013567ffffffffffffffff80821115612c7d57600080fd5b818601915086601f830112612c9157600080fd5b813581811115612ca057600080fd5b8760208260051b8501011115612cb557600080fd5b6020830194508093505050509250925092565b60008060408385031215612cdb57600080fd5b50508035926020909101359150565b600060208284031215612cfc57600080fd5b81356001600160601b03811681146128dc57600080fd5b60008151808452612d2b816020860160208601612f51565b601f01601f19169290920160200192915050565b60008351612d51818460208801612f51565b835190830190612d65818360208801612f51565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612db190830184612d13565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612df357835183529284019291840191600101612dd7565b50909695505050505050565b6020815260006128dc6020830184612d13565b60208082526018908201527f4661696c656420746f2077697468647261772045746865720000000000000000604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60006001600160801b03808316818516808303821115612ebe57612ebe612ffe565b01949350505050565b60008219821115612eda57612eda612ffe565b500190565b600082612eee57612eee613014565b500490565b6000816000190483118215151615612f0d57612f0d612ffe565b500290565b60006001600160801b0383811690831681811015612f3257612f32612ffe565b039392505050565b600082821015612f4c57612f4c612ffe565b500390565b60005b83811015612f6c578181015183820152602001612f54565b838111156116a45750506000910152565b600081612f8c57612f8c612ffe565b506000190190565b600181811c90821680612fa857607f821691505b60208210811415612fc957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612fe357612fe3612ffe565b5060010190565b600082612ff957612ff9613014565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461096457600080fdfea2646970667358221220b3f7f4a17a7bc8c376a573bfadd46b2b6f9b627f4e7dddc1e14a3705fe6688e664736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102c95760003560e01c8063715018a611610175578063bbaac02f116100dc578063d7224ba011610095578063e985e9c51161006f578063e985e9c514610870578063ec5a2d45146108b9578063f2fde38b146108ce578063f4daaba1146108ee57600080fd5b8063d7224ba014610824578063e0b0b2fb1461083a578063e567cad61461085a57600080fd5b8063bbaac02f1461077c578063bddb7be71461079c578063c1d9df8d146107b2578063c87b56dd146107c5578063cfd9480b146107e5578063d52c57e01461080457600080fd5b80639f181b5e1161012e5780639f181b5e146106b2578063a22cb465146106c8578063aa38cd32146106e8578063ad2f852a146106fd578063b88d4fde1461071d578063b8997a971461073d57600080fd5b8063715018a61461061f57806372250380146106345780637cb64759146106495780638da5cb5b1461066957806395d89b4114610687578063996517cf1461069c57600080fd5b80632f745c591161023457806351830227116101ed5780635a546223116101c75780635a546223146105b75780636352211e146105ca5780636c0360eb146105ea57806370a08231146105ff57600080fd5b8063518302271461055d578063546a367d1461057757806355f804b31461059757600080fd5b80632f745c591461049a57806331faafb4146104ba5780633eaaf86b146104da57806342842e0e146104f0578063438b6300146105105780634f6ccce71461053d57600080fd5b806318160ddd1161028657806318160ddd146103b95780631e7269c5146103d857806323b872dd1461040557806327ea6f2b146104255780632a55205a146104455780632eb4a7ab1461048457600080fd5b806301ffc9a7146102ce57806306d254da1461030357806306fdde0314610325578063081812fc14610347578063095ea7b31461037f5780630d5624b31461039f575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612ba3565b610904565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b5061032361031e366004612a15565b610924565b005b34801561033157600080fd5b5061033a610967565b6040516102fa9190612dff565b34801561035357600080fd5b50610367610362366004612b8a565b6109f9565b6040516001600160a01b0390911681526020016102fa565b34801561038b57600080fd5b5061032361039a366004612b45565b610a89565b3480156103ab57600080fd5b506012546102ee9060ff1681565b3480156103c557600080fd5b506000545b6040519081526020016102fa565b3480156103e457600080fd5b506103ca6103f3366004612a15565b60136020526000908152604090205481565b34801561041157600080fd5b50610323610420366004612a63565b610ba1565b34801561043157600080fd5b50610323610440366004612b8a565b610bac565b34801561045157600080fd5b50610465610460366004612cc8565b610bb9565b604080516001600160a01b0390931683526020830191909152016102fa565b34801561049057600080fd5b506103ca60145481565b3480156104a657600080fd5b506103ca6104b5366004612b45565b610c65565b3480156104c657600080fd5b506103236104d5366004612cea565b610dd3565b3480156104e657600080fd5b506103ca60115481565b3480156104fc57600080fd5b5061032361050b366004612a63565b610e14565b34801561051c57600080fd5b5061053061052b366004612a15565b610e2f565b6040516102fa9190612dbb565b34801561054957600080fd5b506103ca610558366004612b8a565b610ed1565b34801561056957600080fd5b506016546102ee9060ff1681565b34801561058357600080fd5b50610323610592366004612b6f565b610f33565b3480156105a357600080fd5b506103236105b2366004612bdd565b610f4e565b6103236105c5366004612c49565b610f6d565b3480156105d657600080fd5b506103676105e5366004612b8a565b611263565b3480156105f657600080fd5b5061033a611275565b34801561060b57600080fd5b506103ca61061a366004612a15565b611303565b34801561062b57600080fd5b50610323611394565b34801561064057600080fd5b5061033a6113a8565b34801561065557600080fd5b50610323610664366004612b8a565b6113b5565b34801561067557600080fd5b506008546001600160a01b0316610367565b34801561069357600080fd5b5061033a6113c2565b3480156106a857600080fd5b506103ca60105481565b3480156106be57600080fd5b506103ca600c5481565b3480156106d457600080fd5b506103236106e3366004612b1b565b6113d1565b3480156106f457600080fd5b50610323611496565b34801561070957600080fd5b50601554610367906001600160a01b031681565b34801561072957600080fd5b50610323610738366004612a9f565b611671565b34801561074957600080fd5b5060155461076490600160a01b90046001600160601b031681565b6040516001600160601b0390911681526020016102fa565b34801561078857600080fd5b50610323610797366004612bdd565b6116aa565b3480156107a857600080fd5b506103ca600e5481565b6103236107c0366004612b8a565b6116c5565b3480156107d157600080fd5b5061033a6107e0366004612b8a565b611900565b3480156107f157600080fd5b506012546102ee90610100900460ff1681565b34801561081057600080fd5b5061032361081f366004612c26565b611a2d565b34801561083057600080fd5b506103ca60075481565b34801561084657600080fd5b50610323610855366004612b6f565b611acb565b34801561086657600080fd5b506103ca600d5481565b34801561087c57600080fd5b506102ee61088b366004612a30565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156108c557600080fd5b50610323611aed565b3480156108da57600080fd5b506103236108e9366004612a15565b611b09565b3480156108fa57600080fd5b506103ca600f5481565b600061090f82611b7f565b8061091e575061091e82611bea565b92915050565b61092c611c0f565b601580546001600160a01b0319166001600160a01b0383169081179182905561096491600160a01b90046001600160601b0316611c69565b50565b60606001805461097690612f94565b80601f01602080910402602001604051908101604052809291908181526020018280546109a290612f94565b80156109ef5780601f106109c4576101008083540402835291602001916109ef565b820191906000526020600020905b8154815290600101906020018083116109d257829003601f168201915b5050505050905090565b6000610a06826000541190565b610a6d5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610a9482611263565b9050806001600160a01b0316836001600160a01b03161415610b035760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610a64565b336001600160a01b0382161480610b1f5750610b1f813361088b565b610b915760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610a64565b610b9c838383611d66565b505050565b610b9c838383611dc2565b610bb4611c0f565b601055565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c2e575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610c4d906001600160601b031687612ef3565b610c579190612edf565b915196919550909350505050565b6000610c7083611303565b8210610cc95760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610a64565b600080549080805b83811015610d73576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610d2457805192505b876001600160a01b0316836001600160a01b03161415610d605786841415610d525750935061091e92505050565b83610d5c81612fcf565b9450505b5080610d6b81612fcf565b915050610cd1565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610a64565b610ddb611c0f565b601580546001600160a01b03908116600160a01b6001600160601b03858116820283811795869055610964959416909217920416611c69565b610b9c83838360405180602001604052806000815250611671565b60606000610e3c83611303565b905060008167ffffffffffffffff811115610e5957610e59613040565b604051908082528060200260200182016040528015610e82578160200160208202803683370190505b50905060005b82811015610ec957610e9a8582610c65565b828281518110610eac57610eac61302a565b602090810291909101015280610ec181612fcf565b915050610e88565b509392505050565b600080548210610f2f5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610a64565b5090565b610f3b611c0f565b6012805460ff1916911515919091179055565b610f56611c0f565b8051610f699060179060208401906128e3565b5050565b60026009541415610fc05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a64565b60026009556040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905083601054101561103d5760405162461bcd60e51b815260206004820152600a6024820152693634b6b4ba1037bb32b960b11b6044820152606401610a64565b33600090815260136020526040902054611058908590612ec7565b60105410156110a15760405162461bcd60e51b8152602060048201526015602482015274165bdd481a185d99481b9bc8135a5b9d081b19599d605a1b6044820152606401610a64565b83600d546110af9190612ef3565b3410156110fa5760405162461bcd60e51b815260206004820152601960248201527815985b1d59481cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b6044820152606401610a64565b601154600c5461110a9086612ec7565b111561114e5760405162461bcd60e51b8152602060048201526013602482015272536f7272792e204e6f206d6f7265204e46547360681b6044820152606401610a64565b60125460ff1661118e5760405162461bcd60e51b815260206004820152600b60248201526a14d85b194814185d5cd95960aa1b6044820152606401610a64565b6111cf83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601454915084905061214a565b6112125760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21026b2b935b63290283937b7b360611b6044820152606401610a64565b3360009081526013602052604081208054869290611231908490612ec7565b9091555061124190503385612160565b83600c60008282546112539190612ec7565b9091555050600160095550505050565b600061126e8261217a565b5192915050565b6017805461128290612f94565b80601f01602080910402602001604051908101604052809291908181526020018280546112ae90612f94565b80156112fb5780601f106112d0576101008083540402835291602001916112fb565b820191906000526020600020905b8154815290600101906020018083116112de57829003601f168201915b505050505081565b60006001600160a01b03821661136f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610a64565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b61139c611c0f565b6113a66000612324565b565b6018805461128290612f94565b6113bd611c0f565b601455565b60606002805461097690612f94565b6001600160a01b03821633141561142a5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610a64565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61149e611c0f565b47732e84aa395a462a9313fa4a3af627de0ae4f0eea873e7159308f1d50beb0fe76735add6e4a936dc8597732064f95a4537a7e9ce364384f55a2f4bba3f03466000836103e86114f087610320612ef3565b6114fa9190612edf565b604051600081818185875af1925050503d8060008114611536576040519150601f19603f3d011682016040523d82523d6000602084013e61153b565b606091505b5050809150508061155e5760405162461bcd60e51b8152600401610a6490612e12565b6001600160a01b0383166103e8611576876064612ef3565b6115809190612edf565b604051600081818185875af1925050503d80600081146115bc576040519150601f19603f3d011682016040523d82523d6000602084013e6115c1565b606091505b505080915050806115e45760405162461bcd60e51b8152600401610a6490612e12565b6001600160a01b0382166103e86115fc876064612ef3565b6116069190612edf565b604051600081818185875af1925050503d8060008114611642576040519150601f19603f3d011682016040523d82523d6000602084013e611647565b606091505b5050809150508061166a5760405162461bcd60e51b8152600401610a6490612e12565b5050505050565b61167c848484611dc2565b61168884848484612376565b6116a45760405162461bcd60e51b8152600401610a6490612e49565b50505050565b6116b2611c0f565b8051610f699060189060208401906128e3565b600260095414156117185760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a64565b600260095560105481111561175c5760405162461bcd60e51b815260206004820152600a6024820152693634b6b4ba1037bb32b960b11b6044820152606401610a64565b33600090815260136020526040902054611777908290612ec7565b60105410156117c05760405162461bcd60e51b8152602060048201526015602482015274165bdd481a185d99481b9bc8135a5b9d081b19599d605a1b6044820152606401610a64565b80600e546117ce9190612ef3565b3410156118195760405162461bcd60e51b815260206004820152601960248201527815985b1d59481cd95b9d081a5cc81b9bdd0818dbdc9c9958dd603a1b6044820152606401610a64565b601154600c546118299083612ec7565b111561186d5760405162461bcd60e51b8152602060048201526013602482015272536f7272792e204e6f206d6f7265204e46547360681b6044820152606401610a64565b601254610100900460ff166118b25760405162461bcd60e51b815260206004820152600b60248201526a14d85b194814185d5cd95960aa1b6044820152606401610a64565b33600090815260136020526040812080548392906118d1908490612ec7565b909155506118e190503382612160565b80600c60008282546118f39190612ec7565b9091555050600160095550565b606061190d826000541190565b6119595760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610a64565b60165460ff166119f5576018805461197090612f94565b80601f016020809104026020016040519081016040528092919081815260200182805461199c90612f94565b80156119e95780601f106119be576101008083540402835291602001916119e9565b820191906000526020600020905b8154815290600101906020018083116119cc57829003601f168201915b50505050509050919050565b6119fd612484565b611a0683612493565b604051602001611a17929190612d3f565b6040516020818303038152906040529050919050565b611a35611c0f565b601154600c54611a459084612ec7565b1115611aa65760405162461bcd60e51b815260206004820152602a60248201527f746f6f206d616e7920616c7265616479206d696e746564206265666f72652070604482015269185d1b995c881b5a5b9d60b21b6064820152608401610a64565b611ab08183612160565b81600c6000828254611ac29190612ec7565b90915550505050565b611ad3611c0f565b601280549115156101000261ff0019909216919091179055565b611af5611c0f565b6016805460ff19811660ff90911615179055565b611b11611c0f565b6001600160a01b038116611b765760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a64565b61096481612324565b60006001600160e01b031982166380ac58cd60e01b1480611bb057506001600160e01b03198216635b5e139f60e01b145b80611bcb57506001600160e01b0319821663780e9d6360e01b145b8061091e57506301ffc9a760e01b6001600160e01b031983161461091e565b60006001600160e01b0319821663152a902d60e11b148061091e575061091e82611b7f565b6008546001600160a01b031633146113a65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a64565b6127106001600160601b0382161115611cd75760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610a64565b6001600160a01b038216611d2d5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a64565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611dcd8261217a565b80519091506000906001600160a01b0316336001600160a01b03161480611e04575033611df9846109f9565b6001600160a01b0316145b80611e1657508151611e16903361088b565b905080611e805760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610a64565b846001600160a01b031682600001516001600160a01b031614611ef45760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610a64565b6001600160a01b038416611f585760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610a64565b611f686000848460000151611d66565b6001600160a01b0385166000908152600460205260408120805460019290611f9a9084906001600160801b0316612f12565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092611fe691859116612e9c565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561206e846001612ec7565b6000818152600360205260409020549091506001600160a01b031661210057612098816000541190565b156121005760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000826121578584612591565b14949350505050565b610f698282604051806020016040528060008152506125d6565b6040805180820190915260008082526020820152612199826000541190565b6121f85760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610a64565b60007f000000000000000000000000000000000000000000000000000000000000006483106122595761224b7f000000000000000000000000000000000000000000000000000000000000006484612f3a565b612256906001612ec7565b90505b825b8181106122c3576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156122b057949350505050565b50806122bb81612f7d565b91505061225b565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610a64565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561247857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123ba903390899088908890600401612d7e565b602060405180830381600087803b1580156123d457600080fd5b505af1925050508015612404575060408051601f3d908101601f1916820190925261240191810190612bc0565b60015b61245e573d808015612432576040519150601f19603f3d011682016040523d82523d6000602084013e612437565b606091505b5080516124565760405162461bcd60e51b8152600401610a6490612e49565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061247c565b5060015b949350505050565b60606017805461097690612f94565b6060816124b75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156124e157806124cb81612fcf565b91506124da9050600a83612edf565b91506124bb565b60008167ffffffffffffffff8111156124fc576124fc613040565b6040519080825280601f01601f191660200182016040528015612526576020820181803683370190505b5090505b841561247c5761253b600183612f3a565b9150612548600a86612fea565b612553906030612ec7565b60f81b8183815181106125685761256861302a565b60200101906001600160f81b031916908160001a90535061258a600a86612edf565b945061252a565b600081815b8451811015610ec9576125c2828683815181106125b5576125b561302a565b60200260200101516128b1565b9150806125ce81612fcf565b915050612596565b6000546001600160a01b0384166126395760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a64565b612644816000541190565b156126915760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610a64565b7f000000000000000000000000000000000000000000000000000000000000006483111561270c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610a64565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612768908790612e9c565b6001600160801b031681526020018583602001516127869190612e9c565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156128a65760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461286a6000888488612376565b6128865760405162461bcd60e51b8152600401610a6490612e49565b8161289081612fcf565b925050808061289e90612fcf565b91505061281d565b506000819055612142565b60008183106128cd5760008281526020849052604090206128dc565b60008381526020839052604090205b9392505050565b8280546128ef90612f94565b90600052602060002090601f0160209004810192826129115760008555612957565b82601f1061292a57805160ff1916838001178555612957565b82800160010185558215612957579182015b8281111561295757825182559160200191906001019061293c565b50610f2f9291505b80821115610f2f576000815560010161295f565b600067ffffffffffffffff8084111561298e5761298e613040565b604051601f8501601f19908116603f011681019082821181831017156129b6576129b6613040565b816040528093508581528686860111156129cf57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114612a0057600080fd5b919050565b80358015158114612a0057600080fd5b600060208284031215612a2757600080fd5b6128dc826129e9565b60008060408385031215612a4357600080fd5b612a4c836129e9565b9150612a5a602084016129e9565b90509250929050565b600080600060608486031215612a7857600080fd5b612a81846129e9565b9250612a8f602085016129e9565b9150604084013590509250925092565b60008060008060808587031215612ab557600080fd5b612abe856129e9565b9350612acc602086016129e9565b925060408501359150606085013567ffffffffffffffff811115612aef57600080fd5b8501601f81018713612b0057600080fd5b612b0f87823560208401612973565b91505092959194509250565b60008060408385031215612b2e57600080fd5b612b37836129e9565b9150612a5a60208401612a05565b60008060408385031215612b5857600080fd5b612b61836129e9565b946020939093013593505050565b600060208284031215612b8157600080fd5b6128dc82612a05565b600060208284031215612b9c57600080fd5b5035919050565b600060208284031215612bb557600080fd5b81356128dc81613056565b600060208284031215612bd257600080fd5b81516128dc81613056565b600060208284031215612bef57600080fd5b813567ffffffffffffffff811115612c0657600080fd5b8201601f81018413612c1757600080fd5b61247c84823560208401612973565b60008060408385031215612c3957600080fd5b82359150612a5a602084016129e9565b600080600060408486031215612c5e57600080fd5b83359250602084013567ffffffffffffffff80821115612c7d57600080fd5b818601915086601f830112612c9157600080fd5b813581811115612ca057600080fd5b8760208260051b8501011115612cb557600080fd5b6020830194508093505050509250925092565b60008060408385031215612cdb57600080fd5b50508035926020909101359150565b600060208284031215612cfc57600080fd5b81356001600160601b03811681146128dc57600080fd5b60008151808452612d2b816020860160208601612f51565b601f01601f19169290920160200192915050565b60008351612d51818460208801612f51565b835190830190612d65818360208801612f51565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612db190830184612d13565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612df357835183529284019291840191600101612dd7565b50909695505050505050565b6020815260006128dc6020830184612d13565b60208082526018908201527f4661696c656420746f2077697468647261772045746865720000000000000000604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60006001600160801b03808316818516808303821115612ebe57612ebe612ffe565b01949350505050565b60008219821115612eda57612eda612ffe565b500190565b600082612eee57612eee613014565b500490565b6000816000190483118215151615612f0d57612f0d612ffe565b500290565b60006001600160801b0383811690831681811015612f3257612f32612ffe565b039392505050565b600082821015612f4c57612f4c612ffe565b500390565b60005b83811015612f6c578181015183820152602001612f54565b838111156116a45750506000910152565b600081612f8c57612f8c612ffe565b506000190190565b600181811c90821680612fa857607f821691505b60208210811415612fc957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612fe357612fe3612ffe565b5060010190565b600082612ff957612ff9613014565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461096457600080fdfea2646970667358221220b3f7f4a17a7bc8c376a573bfadd46b2b6f9b627f4e7dddc1e14a3705fe6688e664736f6c63430008070033

Deployed Bytecode Sourcemap

57763:5759:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63064:453;;;;;;;;;;-1:-1:-1;63064:453:0;;;;;:::i;:::-;;:::i;:::-;;;9112:14:1;;9105:22;9087:41;;9075:2;9060:18;63064:453:0;;;;;;;;62875:179;;;;;;;;;;-1:-1:-1;62875:179:0;;;;;:::i;:::-;;:::i;:::-;;43794:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;45319:204::-;;;;;;;;;;-1:-1:-1;45319:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7494:32:1;;;7476:51;;7464:2;7449:18;45319:204:0;7330:203:1;44882:379:0;;;;;;;;;;-1:-1:-1;44882:379:0;;;;;:::i;:::-;;:::i;58067:32::-;;;;;;;;;;-1:-1:-1;58067:32:0;;;;;;;;40629:94;;;;;;;;;;-1:-1:-1;40682:7:0;40705:12;40629:94;;;9285:25:1;;;9273:2;9258:18;40629:94:0;9139:177:1;58145:41:0;;;;;;;;;;-1:-1:-1;58145:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;46169:142;;;;;;;;;;-1:-1:-1;46169:142:0;;;;;:::i;:::-;;:::i;62110:94::-;;;;;;;;;;-1:-1:-1;62110:94:0;;;;;:::i;:::-;;:::i;32164:442::-;;;;;;;;;;-1:-1:-1;32164:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;8223:32:1;;;8205:51;;8287:2;8272:18;;8265:34;;;;8178:18;32164:442:0;8031:274:1;58194:25:0;;;;;;;;;;;;;;;;41260:744;;;;;;;;;;-1:-1:-1;41260:744:0;;;;;:::i;:::-;;:::i;62638:166::-;;;;;;;;;;-1:-1:-1;62638:166:0;;;;;:::i;:::-;;:::i;58026:34::-;;;;;;;;;;;;;;;;46374:157;;;;;;;;;;-1:-1:-1;46374:157:0;;;;;:::i;:::-;;:::i;62210:364::-;;;;;;;;;;-1:-1:-1;62210:364:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;40792:177::-;;;;;;;;;;-1:-1:-1;40792:177:0;;;;;:::i;:::-;;:::i;58308:20::-;;;;;;;;;;-1:-1:-1;58308:20:0;;;;;;;;61908:95;;;;;;;;;;-1:-1:-1;61908:95:0;;;;;:::i;:::-;;:::i;60337:104::-;;;;;;;;;;-1:-1:-1;60337:104:0;;;;;:::i;:::-;;:::i;58870:776::-;;;;;;:::i;:::-;;:::i;43617:118::-;;;;;;;;;;-1:-1:-1;43617:118:0;;;;;:::i;:::-;;:::i;58335:21::-;;;;;;;;;;;;;:::i;42494:211::-;;;;;;;;;;-1:-1:-1;42494:211:0;;;;;:::i;:::-;;:::i;56253:103::-;;;;;;;;;;;;;:::i;58363:28::-;;;;;;;;;;;;;:::i;61796:106::-;;;;;;;;;;-1:-1:-1;61796:106:0;;;;;:::i;:::-;;:::i;55605:87::-;;;;;;;;;;-1:-1:-1;55678:6:0;;-1:-1:-1;;;;;55678:6:0;55605:87;;43949:98;;;;;;;;;;;;;:::i;57991:28::-;;;;;;;;;;;;;;;;57836:25;;;;;;;;;;;;;;;;45587:274;;;;;;;;;;-1:-1:-1;45587:274:0;;;;;:::i;:::-;;:::i;61013:775::-;;;;;;;;;;;;;:::i;58228:29::-;;;;;;;;;;-1:-1:-1;58228:29:0;;;;-1:-1:-1;;;;;58228:29:0;;;46594:311;;;;;;;;;;-1:-1:-1;46594:311:0;;;;;:::i;:::-;;:::i;58264:31::-;;;;;;;;;;-1:-1:-1;58264:31:0;;;;-1:-1:-1;;;58264:31:0;;-1:-1:-1;;;;;58264:31:0;;;;;;-1:-1:-1;;;;;21860:39:1;;;21842:58;;21830:2;21815:18;58264:31:0;21698:208:1;60447:117:0;;;;;;;;;;-1:-1:-1;60447:117:0;;;;;:::i;:::-;;:::i;57911:36::-;;;;;;;;;;;;;;;;59658:567;;;;;;:::i;:::-;;:::i;60656:349::-;;;;;;;;;;-1:-1:-1;60656:349:0;;;;;:::i;:::-;;:::i;58106:32::-;;;;;;;;;;-1:-1:-1;58106:32:0;;;;;;;;;;;58600:262;;;;;;;;;;-1:-1:-1;58600:262:0;;;;;:::i;:::-;;:::i;51009:43::-;;;;;;;;;;;;;;;;62009:95;;;;;;;;;;-1:-1:-1;62009:95:0;;;;;:::i;:::-;;:::i;57868:36::-;;;;;;;;;;;;;;;;45924:186;;;;;;;;;;-1:-1:-1;45924:186:0;;;;;:::i;:::-;-1:-1:-1;;;;;46069:25:0;;;46046:4;46069:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45924:186;60570:80;;;;;;;;;;;;;:::i;56511:201::-;;;;;;;;;;-1:-1:-1;56511:201:0;;;;;:::i;:::-;;:::i;57954:30::-;;;;;;;;;;;;;;;;63064:453;63183:4;63416:38;63442:11;63416:25;:38::i;:::-;:93;;;;63471:38;63497:11;63471:25;:38::i;:::-;63396:113;63064:453;-1:-1:-1;;63064:453:0:o;62875:179::-;55491:13;:11;:13::i;:::-;62957:14:::1;:32:::0;;-1:-1:-1;;;;;;62957:32:0::1;-1:-1:-1::0;;;;;62957:32:0;::::1;::::0;;::::1;::::0;;;;63000:46:::1;::::0;-1:-1:-1;;;63035:10:0;::::1;-1:-1:-1::0;;;;;63035:10:0::1;63000:18;:46::i;:::-;62875:179:::0;:::o;43794:94::-;43848:13;43877:5;43870:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43794:94;:::o;45319:204::-;45387:7;45411:16;45419:7;47201:4;47231:12;-1:-1:-1;47221:22:0;47144:105;45411:16;45403:74;;;;-1:-1:-1;;;45403:74:0;;20547:2:1;45403:74:0;;;20529:21:1;20586:2;20566:18;;;20559:30;20625:34;20605:18;;;20598:62;-1:-1:-1;;;20676:18:1;;;20669:43;20729:19;;45403:74:0;;;;;;;;;-1:-1:-1;45493:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;45493:24:0;;45319:204::o;44882:379::-;44951:13;44967:24;44983:7;44967:15;:24::i;:::-;44951:40;;45012:5;-1:-1:-1;;;;;45006:11:0;:2;-1:-1:-1;;;;;45006:11:0;;;44998:58;;;;-1:-1:-1;;;44998:58:0;;16674:2:1;44998:58:0;;;16656:21:1;16713:2;16693:18;;;16686:30;16752:34;16732:18;;;16725:62;-1:-1:-1;;;16803:18:1;;;16796:32;16845:19;;44998:58:0;16472:398:1;44998:58:0;38179:10;-1:-1:-1;;;;;45081:21:0;;;;:62;;-1:-1:-1;45106:37:0;45123:5;38179:10;45924:186;:::i;45106:37::-;45065:153;;;;-1:-1:-1;;;45065:153:0;;12549:2:1;45065:153:0;;;12531:21:1;12588:2;12568:18;;;12561:30;12627:34;12607:18;;;12600:62;12698:27;12678:18;;;12671:55;12743:19;;45065:153:0;12347:421:1;45065:153:0;45227:28;45236:2;45240:7;45249:5;45227:8;:28::i;:::-;44944:317;44882:379;;:::o;46169:142::-;46277:28;46287:4;46293:2;46297:7;46277:9;:28::i;62110:94::-;55491:13;:11;:13::i;:::-;62176:9:::1;:20:::0;62110:94::o;32164:442::-;32261:7;32319:27;;;:17;:27;;;;;;;;32290:56;;;;;;;;;-1:-1:-1;;;;;32290:56:0;;;;;-1:-1:-1;;;32290:56:0;;;-1:-1:-1;;;;;32290:56:0;;;;;;;;32261:7;;32359:92;;-1:-1:-1;32410:29:0;;;;;;;;;32420:19;32410:29;-1:-1:-1;;;;;32410:29:0;;;;-1:-1:-1;;;32410:29:0;;-1:-1:-1;;;;;32410:29:0;;;;;32359:92;32501:23;;;;32463:21;;32972:5;;32488:36;;-1:-1:-1;;;;;32488:36:0;:10;:36;:::i;:::-;32487:58;;;;:::i;:::-;32566:16;;;;;-1:-1:-1;32164:442:0;;-1:-1:-1;;;;32164:442:0:o;41260:744::-;41369:7;41404:16;41414:5;41404:9;:16::i;:::-;41396:5;:24;41388:71;;;;-1:-1:-1;;;41388:71:0;;9747:2:1;41388:71:0;;;9729:21:1;9786:2;9766:18;;;9759:30;9825:34;9805:18;;;9798:62;-1:-1:-1;;;9876:18:1;;;9869:32;9918:19;;41388:71:0;9545:398:1;41388:71:0;41466:22;40705:12;;;41466:22;;41586:350;41610:14;41606:1;:18;41586:350;;;41640:31;41674:14;;;:11;:14;;;;;;;;;41640:48;;;;;;;;;-1:-1:-1;;;;;41640:48:0;;;;;-1:-1:-1;;;41640:48:0;;;;;;;;;;;;41701:28;41697:89;;41762:14;;;-1:-1:-1;41697:89:0;41819:5;-1:-1:-1;;;;;41798:26:0;:17;-1:-1:-1;;;;;41798:26:0;;41794:135;;;41856:5;41841:11;:20;41837:59;;;-1:-1:-1;41883:1:0;-1:-1:-1;41876:8:0;;-1:-1:-1;;;41876:8:0;41837:59;41906:13;;;;:::i;:::-;;;;41794:135;-1:-1:-1;41626:3:0;;;;:::i;:::-;;;;41586:350;;;-1:-1:-1;41942:56:0;;-1:-1:-1;;;41942:56:0;;18668:2:1;41942:56:0;;;18650:21:1;18707:2;18687:18;;;18680:30;18746:34;18726:18;;;18719:62;-1:-1:-1;;;18797:18:1;;;18790:44;18851:19;;41942:56:0;18466:410:1;62638:166:0;55491:13;:11;:13::i;:::-;62713:10:::1;:26:::0;;-1:-1:-1;;;;;62713:26:0;;::::1;-1:-1:-1::0;;;;;;;;62713:26:0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;62750:46:::1;::::0;62769:14;;;;;;62785:10:::1;;62750:18;:46::i;46374:157::-:0;46486:39;46503:4;46509:2;46513:7;46486:39;;;;;;;;;;;;:16;:39::i;62210:364::-;62272:16;62301:23;62327:19;62337:8;62327:9;:19::i;:::-;62301:45;;62357:25;62399:15;62385:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62385:30:0;;62357:58;;62431:9;62426:115;62446:15;62442:1;:19;62426:115;;;62497:32;62517:8;62527:1;62497:19;:32::i;:::-;62483:8;62492:1;62483:11;;;;;;;;:::i;:::-;;;;;;;;;;:46;62463:3;;;;:::i;:::-;;;;62426:115;;;-1:-1:-1;62558:8:0;62210:364;-1:-1:-1;;;62210:364:0:o;40792:177::-;40859:7;40705:12;;40883:5;:21;40875:69;;;;-1:-1:-1;;;40875:69:0;;11739:2:1;40875:69:0;;;11721:21:1;11778:2;11758:18;;;11751:30;11817:34;11797:18;;;11790:62;-1:-1:-1;;;11868:18:1;;;11861:33;11911:19;;40875:69:0;11537:399:1;40875:69:0;-1:-1:-1;40958:5:0;40792:177::o;61908:95::-;55491:13;:11;:13::i;:::-;61974:12:::1;:21:::0;;-1:-1:-1;;61974:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;61908:95::o;60337:104::-;55491:13;:11;:13::i;:::-;60412:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;60337:104:::0;:::o;58870:776::-;36473:1;37071:7;;:19;;37063:63;;;;-1:-1:-1;;;37063:63:0;;19771:2:1;37063:63:0;;;19753:21:1;19810:2;19790:18;;;19783:30;19849:33;19829:18;;;19822:61;19900:18;;37063:63:0;19569:355:1;37063:63:0;36473:1;37204:7;:18;59005:28:::1;::::0;-1:-1:-1;;59022:10:0::1;6393:2:1::0;6389:15;6385:53;59005:28:0::1;::::0;::::1;6373:66:1::0;58980:12:0::1;::::0;6455::1;;59005:28:0::1;;;;;;;;;;;;58995:39;;;;;;58980:54;;59076:11;59063:9;;:24;;59055:47;;;::::0;-1:-1:-1;;;59055:47:0;;19083:2:1;59055:47:0::1;::::0;::::1;19065:21:1::0;19122:2;19102:18;;;19095:30;-1:-1:-1;;;19141:18:1;;;19134:40;19191:18;;59055:47:0::1;18881:334:1::0;59055:47:0::1;59141:10;59134:18;::::0;;;:6:::1;:18;::::0;;;;;:32:::1;::::0;59155:11;;59134:32:::1;:::i;:::-;59121:9;;:45;;59113:79;;;::::0;-1:-1:-1;;;59113:79:0;;15197:2:1;59113:79:0::1;::::0;::::1;15179:21:1::0;15236:2;15216:18;;;15209:30;-1:-1:-1;;;15255:18:1;;;15248:51;15316:18;;59113:79:0::1;14995:345:1::0;59113:79:0::1;59235:11;59224:8;;:22;;;;:::i;:::-;59211:9;:35;;59203:73;;;::::0;-1:-1:-1;;;59203:73:0;;12975:2:1;59203:73:0::1;::::0;::::1;12957:21:1::0;13014:2;12994:18;;;12987:30;-1:-1:-1;;;13033:18:1;;;13026:55;13098:18;;59203:73:0::1;12773:349:1::0;59203:73:0::1;59326:12;::::0;59310:10:::1;::::0;59296:24:::1;::::0;:11;:24:::1;:::i;:::-;59295:44;;59287:76;;;::::0;-1:-1:-1;;;59287:76:0;;14488:2:1;59287:76:0::1;::::0;::::1;14470:21:1::0;14527:2;14507:18;;;14500:30;-1:-1:-1;;;14546:18:1;;;14539:49;14605:18;;59287:76:0::1;14286:343:1::0;59287:76:0::1;59382:12;::::0;::::1;;59374:36;;;::::0;-1:-1:-1;;;59374:36:0;;13741:2:1;59374:36:0::1;::::0;::::1;13723:21:1::0;13780:2;13760:18;;;13753:30;-1:-1:-1;;;13799:18:1;;;13792:41;13850:18;;59374:36:0::1;13539:335:1::0;59374:36:0::1;59429:50;59448:12;;59429:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;59462:10:0::1;::::0;;-1:-1:-1;59474:4:0;;-1:-1:-1;59429:18:0::1;:50::i;:::-;59421:82;;;::::0;-1:-1:-1;;;59421:82:0;;19422:2:1;59421:82:0::1;::::0;::::1;19404:21:1::0;19461:2;19441:18;;;19434:30;-1:-1:-1;;;19480:18:1;;;19473:50;19540:18;;59421:82:0::1;19220:344:1::0;59421:82:0::1;59531:10;59524:18;::::0;;;:6:::1;:18;::::0;;;;:33;;59546:11;;59524:18;:33:::1;::::0;59546:11;;59524:33:::1;:::i;:::-;::::0;;;-1:-1:-1;59568:34:0::1;::::0;-1:-1:-1;59578:10:0::1;59590:11:::0;59568:9:::1;:34::i;:::-;59627:11;59613:10;;:25;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;36429:1:0;37383:7;:22;-1:-1:-1;;;;58870:776:0:o;43617:118::-;43681:7;43704:20;43716:7;43704:11;:20::i;:::-;:25;;43617:118;-1:-1:-1;;43617:118:0:o;58335:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42494:211::-;42558:7;-1:-1:-1;;;;;42582:19:0;;42574:75;;;;-1:-1:-1;;;42574:75:0;;13329:2:1;42574:75:0;;;13311:21:1;13368:2;13348:18;;;13341:30;13407:34;13387:18;;;13380:62;-1:-1:-1;;;13458:18:1;;;13451:41;13509:19;;42574:75:0;13127:407:1;42574:75:0;-1:-1:-1;;;;;;42671:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;42671:27:0;;42494:211::o;56253:103::-;55491:13;:11;:13::i;:::-;56318:30:::1;56345:1;56318:18;:30::i;:::-;56253:103::o:0;58363:28::-;;;;;;;:::i;61796:106::-;55491:13;:11;:13::i;:::-;61870:10:::1;:24:::0;61796:106::o;43949:98::-;44005:13;44034:7;44027:14;;;;;:::i;45587:274::-;-1:-1:-1;;;;;45678:24:0;;38179:10;45678:24;;45670:63;;;;-1:-1:-1;;;45670:63:0;;15547:2:1;45670:63:0;;;15529:21:1;15586:2;15566:18;;;15559:30;15625:28;15605:18;;;15598:56;15671:18;;45670:63:0;15345:350:1;45670:63:0;38179:10;45742:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;45742:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;45742:53:0;;;;;;;;;;45807:48;;9087:41:1;;;45742:42:0;;38179:10;45807:48;;9060:18:1;45807:48:0;;;;;;;45587:274;;:::o;61013:775::-;55491:13;:11;:13::i;:::-;61096:21:::1;61153:42;61235;61317;61075:18;61153:42:::0;61455:4:::1;61438:16;61096:21:::0;61451:3:::1;61438:16;:::i;:::-;:21;;;;:::i;:::-;61418:47;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61404:61;;;;;61484:7;61476:44;;;;-1:-1:-1::0;;;61476:44:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;61545:14:0;::::1;61585:4;61568:16;:10:::0;61581:3:::1;61568:16;:::i;:::-;:21;;;;:::i;:::-;61545:50;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61531:64;;;;;61614:7;61606:44;;;;-1:-1:-1::0;;;61606:44:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;61675:14:0;::::1;61715:4;61698:16;:10:::0;61711:3:::1;61698:16;:::i;:::-;:21;;;;:::i;:::-;61675:50;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61661:64;;;;;61744:7;61736:44;;;;-1:-1:-1::0;;;61736:44:0::1;;;;;;;:::i;:::-;61064:724;;;;;61013:775::o:0;46594:311::-;46731:28;46741:4;46747:2;46751:7;46731:9;:28::i;:::-;46782:48;46805:4;46811:2;46815:7;46824:5;46782:22;:48::i;:::-;46766:133;;;;-1:-1:-1;;;46766:133:0;;;;;;;:::i;:::-;46594:311;;;;:::o;60447:117::-;55491:13;:11;:13::i;:::-;60526:30;;::::1;::::0;:14:::1;::::0;:30:::1;::::0;::::1;::::0;::::1;:::i;59658:567::-:0;36473:1;37071:7;;:19;;37063:63;;;;-1:-1:-1;;;37063:63:0;;19771:2:1;37063:63:0;;;19753:21:1;19810:2;19790:18;;;19783:30;19849:33;19829:18;;;19822:61;19900:18;;37063:63:0;19569:355:1;37063:63:0;36473:1;37204:7;:18;59743:9:::1;::::0;:24;-1:-1:-1;59743:24:0::1;59735:47;;;::::0;-1:-1:-1;;;59735:47:0;;19083:2:1;59735:47:0::1;::::0;::::1;19065:21:1::0;19122:2;19102:18;;;19095:30;-1:-1:-1;;;19141:18:1;;;19134:40;19191:18;;59735:47:0::1;18881:334:1::0;59735:47:0::1;59821:10;59814:18;::::0;;;:6:::1;:18;::::0;;;;;:32:::1;::::0;59835:11;;59814:32:::1;:::i;:::-;59801:9;;:45;;59793:79;;;::::0;-1:-1:-1;;;59793:79:0;;15197:2:1;59793:79:0::1;::::0;::::1;15179:21:1::0;15236:2;15216:18;;;15209:30;-1:-1:-1;;;15255:18:1;;;15248:51;15316:18;;59793:79:0::1;14995:345:1::0;59793:79:0::1;59915:11;59904:8;;:22;;;;:::i;:::-;59891:9;:35;;59883:73;;;::::0;-1:-1:-1;;;59883:73:0;;12975:2:1;59883:73:0::1;::::0;::::1;12957:21:1::0;13014:2;12994:18;;;12987:30;-1:-1:-1;;;13033:18:1;;;13026:55;13098:18;;59883:73:0::1;12773:349:1::0;59883:73:0::1;60006:12;::::0;59990:10:::1;::::0;59976:24:::1;::::0;:11;:24:::1;:::i;:::-;59975:44;;59967:76;;;::::0;-1:-1:-1;;;59967:76:0;;14488:2:1;59967:76:0::1;::::0;::::1;14470:21:1::0;14527:2;14507:18;;;14500:30;-1:-1:-1;;;14546:18:1;;;14539:49;14605:18;;59967:76:0::1;14286:343:1::0;59967:76:0::1;60062:12;::::0;::::1;::::0;::::1;;;60054:36;;;::::0;-1:-1:-1;;;60054:36:0;;13741:2:1;60054:36:0::1;::::0;::::1;13723:21:1::0;13780:2;13760:18;;;13753:30;-1:-1:-1;;;13799:18:1;;;13792:41;13850:18;;60054:36:0::1;13539:335:1::0;60054:36:0::1;60110:10;60103:18;::::0;;;:6:::1;:18;::::0;;;;:33;;60125:11;;60103:18;:33:::1;::::0;60125:11;;60103:33:::1;:::i;:::-;::::0;;;-1:-1:-1;60147:34:0::1;::::0;-1:-1:-1;60157:10:0::1;60169:11:::0;60147:9:::1;:34::i;:::-;60206:11;60192:10;;:25;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;36429:1:0;37383:7;:22;-1:-1:-1;59658:567:0:o;60656:349::-;60739:13;60773:17;60781:8;47201:4;47231:12;-1:-1:-1;47221:22:0;47144:105;60773:17;60765:61;;;;-1:-1:-1;;;60765:61:0;;10561:2:1;60765:61:0;;;10543:21:1;10600:2;10580:18;;;10573:30;10639:33;10619:18;;;10612:61;10690:18;;60765:61:0;10359:355:1;60765:61:0;60840:8;;;;60837:70;;60881:14;60874:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60656:349;;;:::o;60837:70::-;60948:10;:8;:10::i;:::-;60960:26;60977:8;60960:16;:26::i;:::-;60931:65;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60917:80;;60656:349;;;:::o;58600:262::-;55491:13;:11;:13::i;:::-;58721:12:::1;::::0;58705:10:::1;::::0;58691:24:::1;::::0;:11;:24:::1;:::i;:::-;58690:44;;58682:99;;;::::0;-1:-1:-1;;;58682:99:0;;10150:2:1;58682:99:0::1;::::0;::::1;10132:21:1::0;10189:2;10169:18;;;10162:30;10228:34;10208:18;;;10201:62;-1:-1:-1;;;10279:18:1;;;10272:40;10329:19;;58682:99:0::1;9948:406:1::0;58682:99:0::1;58792:26;58802:2;58806:11;58792:9;:26::i;:::-;58843:11;58829:10;;:25;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;58600:262:0:o;62009:95::-;55491:13;:11;:13::i;:::-;62075:12:::1;:21:::0;;;::::1;;;;-1:-1:-1::0;;62075:21:0;;::::1;::::0;;;::::1;::::0;;62009:95::o;60570:80::-;55491:13;:11;:13::i;:::-;60634:8:::1;::::0;;-1:-1:-1;;60622:20:0;::::1;60634:8;::::0;;::::1;60633:9;60622:20;::::0;;60570:80::o;56511:201::-;55491:13;:11;:13::i;:::-;-1:-1:-1;;;;;56600:22:0;::::1;56592:73;;;::::0;-1:-1:-1;;;56592:73:0;;10921:2:1;56592:73:0::1;::::0;::::1;10903:21:1::0;10960:2;10940:18;;;10933:30;10999:34;10979:18;;;10972:62;-1:-1:-1;;;11050:18:1;;;11043:36;11096:19;;56592:73:0::1;10719:402:1::0;56592:73:0::1;56676:28;56695:8;56676:18;:28::i;42068:370::-:0;42195:4;-1:-1:-1;;;;;;42225:40:0;;-1:-1:-1;;;42225:40:0;;:99;;-1:-1:-1;;;;;;;42276:48:0;;-1:-1:-1;;;42276:48:0;42225:99;:160;;;-1:-1:-1;;;;;;;42335:50:0;;-1:-1:-1;;;42335:50:0;42225:160;:207;;;-1:-1:-1;;;;;;;;;;29555:40:0;;;42396:36;29446:157;31894:215;31996:4;-1:-1:-1;;;;;;32020:41:0;;-1:-1:-1;;;32020:41:0;;:81;;;32065:36;32089:11;32065:23;:36::i;55770:132::-;55678:6;;-1:-1:-1;;;;;55678:6:0;38179:10;55834:23;55826:68;;;;-1:-1:-1;;;55826:68:0;;14836:2:1;55826:68:0;;;14818:21:1;;;14855:18;;;14848:30;14914:34;14894:18;;;14887:62;14966:18;;55826:68:0;14634:356:1;33256:332:0;32972:5;-1:-1:-1;;;;;33359:33:0;;;;33351:88;;;;-1:-1:-1;;;33351:88:0;;18257:2:1;33351:88:0;;;18239:21:1;18296:2;18276:18;;;18269:30;18335:34;18315:18;;;18308:62;-1:-1:-1;;;18386:18:1;;;18379:40;18436:19;;33351:88:0;18055:406:1;33351:88:0;-1:-1:-1;;;;;33458:22:0;;33450:60;;;;-1:-1:-1;;;33450:60:0;;20961:2:1;33450:60:0;;;20943:21:1;21000:2;20980:18;;;20973:30;21039:27;21019:18;;;21012:55;21084:18;;33450:60:0;20759:349:1;33450:60:0;33545:35;;;;;;;;;-1:-1:-1;;;;;33545:35:0;;;;;;-1:-1:-1;;;;;33545:35:0;;;;;;;;;;-1:-1:-1;;;33523:57:0;;;;:19;:57;33256:332::o;50831:172::-;50928:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;50928:29:0;-1:-1:-1;;;;;50928:29:0;;;;;;;;;50969:28;;50928:24;;50969:28;;;;;;;50831:172;;;:::o;49196:1529::-;49293:35;49331:20;49343:7;49331:11;:20::i;:::-;49402:18;;49293:58;;-1:-1:-1;49360:22:0;;-1:-1:-1;;;;;49386:34:0;38179:10;-1:-1:-1;;;;;49386:34:0;;:81;;;-1:-1:-1;38179:10:0;49431:20;49443:7;49431:11;:20::i;:::-;-1:-1:-1;;;;;49431:36:0;;49386:81;:142;;;-1:-1:-1;49495:18:0;;49478:50;;38179:10;45924:186;:::i;49478:50::-;49360:169;;49554:17;49538:101;;;;-1:-1:-1;;;49538:101:0;;15902:2:1;49538:101:0;;;15884:21:1;15941:2;15921:18;;;15914:30;15980:34;15960:18;;;15953:62;-1:-1:-1;;;16031:18:1;;;16024:48;16089:19;;49538:101:0;15700:414:1;49538:101:0;49686:4;-1:-1:-1;;;;;49664:26:0;:13;:18;;;-1:-1:-1;;;;;49664:26:0;;49648:98;;;;-1:-1:-1;;;49648:98:0;;14081:2:1;49648:98:0;;;14063:21:1;14120:2;14100:18;;;14093:30;14159:34;14139:18;;;14132:62;-1:-1:-1;;;14210:18:1;;;14203:36;14256:19;;49648:98:0;13879:402:1;49648:98:0;-1:-1:-1;;;;;49761:16:0;;49753:66;;;;-1:-1:-1;;;49753:66:0;;12143:2:1;49753:66:0;;;12125:21:1;12182:2;12162:18;;;12155:30;12221:34;12201:18;;;12194:62;-1:-1:-1;;;12272:18:1;;;12265:35;12317:19;;49753:66:0;11941:401:1;49753:66:0;49928:49;49945:1;49949:7;49958:13;:18;;;49928:8;:49::i;:::-;-1:-1:-1;;;;;49986:18:0;;;;;;:12;:18;;;;;:31;;50016:1;;49986:18;:31;;50016:1;;-1:-1:-1;;;;;49986:31:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;49986:31:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;50024:16:0;;-1:-1:-1;50024:16:0;;;:12;:16;;;;;:29;;-1:-1:-1;;;50024:16:0;;:29;;-1:-1:-1;;50024:29:0;;:::i;:::-;;;-1:-1:-1;;;;;50024:29:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50083:43:0;;;;;;;;-1:-1:-1;;;;;50083:43:0;;;;;;50109:15;50083:43;;;;;;;;;-1:-1:-1;50060:20:0;;;:11;:20;;;;;;:66;;;;;;;;;-1:-1:-1;;;50060:66:0;-1:-1:-1;;;;;;50060:66:0;;;;;;;;;;;50376:11;50072:7;-1:-1:-1;50376:11:0;:::i;:::-;50439:1;50398:24;;;:11;:24;;;;;:29;50354:33;;-1:-1:-1;;;;;;50398:29:0;50394:236;;50456:20;50464:11;47201:4;47231:12;-1:-1:-1;47221:22:0;47144:105;50456:20;50452:171;;;50516:97;;;;;;;;50543:18;;-1:-1:-1;;;;;50516:97:0;;;;;;50574:28;;;;50516:97;;;;;;;;;;-1:-1:-1;50489:24:0;;;:11;:24;;;;;;;:124;;;;;;;;;-1:-1:-1;;;50489:124:0;-1:-1:-1;;;;;;50489:124:0;;;;;;;;;;;;50452:171;50662:7;50658:2;-1:-1:-1;;;;;50643:27:0;50652:4;-1:-1:-1;;;;;50643:27:0;;;;;;;;;;;50677:42;49286:1439;;;49196:1529;;;:::o;1287:190::-;1412:4;1465;1436:25;1449:5;1456:4;1436:12;:25::i;:::-;:33;;1287:190;-1:-1:-1;;;;1287:190:0:o;47255:98::-;47320:27;47330:2;47334:8;47320:27;;;;;;;;;;;;:9;:27::i;42957:606::-;-1:-1:-1;;;;;;;;;;;;;;;;;43074:16:0;43082:7;47201:4;47231:12;-1:-1:-1;47221:22:0;47144:105;43074:16;43066:71;;;;-1:-1:-1;;;43066:71:0;;11328:2:1;43066:71:0;;;11310:21:1;11367:2;11347:18;;;11340:30;11406:34;11386:18;;;11379:62;-1:-1:-1;;;11457:18:1;;;11450:40;11507:19;;43066:71:0;11126:406:1;43066:71:0;43146:26;43194:12;43183:7;:23;43179:93;;43238:22;43248:12;43238:7;:22;:::i;:::-;:26;;43263:1;43238:26;:::i;:::-;43217:47;;43179:93;43300:7;43280:212;43317:18;43309:4;:26;43280:212;;43354:31;43388:17;;;:11;:17;;;;;;;;;43354:51;;;;;;;;;-1:-1:-1;;;;;43354:51:0;;;;;-1:-1:-1;;;43354:51:0;;;;;;;;;;;;43418:28;43414:71;;43466:9;42957:606;-1:-1:-1;;;;42957:606:0:o;43414:71::-;-1:-1:-1;43337:6:0;;;;:::i;:::-;;;;43280:212;;;-1:-1:-1;43500:57:0;;-1:-1:-1;;;43500:57:0;;20131:2:1;43500:57:0;;;20113:21:1;20170:2;20150:18;;;20143:30;20209:34;20189:18;;;20182:62;-1:-1:-1;;;20260:18:1;;;20253:45;20315:19;;43500:57:0;19929:411:1;56872:191:0;56965:6;;;-1:-1:-1;;;;;56982:17:0;;;-1:-1:-1;;;;;;56982:17:0;;;;;;;57015:40;;56965:6;;;56982:17;56965:6;;57015:40;;56946:16;;57015:40;56935:128;56872:191;:::o;52546:690::-;52683:4;-1:-1:-1;;;;;52700:13:0;;12818:19;:23;52696:535;;52739:72;;-1:-1:-1;;;52739:72:0;;-1:-1:-1;;;;;52739:36:0;;;;;:72;;38179:10;;52790:4;;52796:7;;52805:5;;52739:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52739:72:0;;;;;;;;-1:-1:-1;;52739:72:0;;;;;;;;;;;;:::i;:::-;;;52726:464;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52970:13:0;;52966:215;;53003:61;;-1:-1:-1;;;53003:61:0;;;;;;;:::i;52966:215::-;53149:6;53143:13;53134:6;53130:2;53126:15;53119:38;52726:464;-1:-1:-1;;;;;;52861:55:0;-1:-1:-1;;;52861:55:0;;-1:-1:-1;52854:62:0;;52696:535;-1:-1:-1;53219:4:0;52696:535;52546:690;;;;;;:::o;60231:100::-;60283:13;60316:7;60309:14;;;;;:::i;9223:723::-;9279:13;9500:10;9496:53;;-1:-1:-1;;9527:10:0;;;;;;;;;;;;-1:-1:-1;;;9527:10:0;;;;;9223:723::o;9496:53::-;9574:5;9559:12;9615:78;9622:9;;9615:78;;9648:8;;;;:::i;:::-;;-1:-1:-1;9671:10:0;;-1:-1:-1;9679:2:0;9671:10;;:::i;:::-;;;9615:78;;;9703:19;9735:6;9725:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9725:17:0;;9703:39;;9753:154;9760:10;;9753:154;;9787:11;9797:1;9787:11;;:::i;:::-;;-1:-1:-1;9856:10:0;9864:2;9856:5;:10;:::i;:::-;9843:24;;:2;:24;:::i;:::-;9830:39;;9813:6;9820;9813:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;9813:56:0;;;;;;;;-1:-1:-1;9884:11:0;9893:2;9884:11;;:::i;:::-;;;9753:154;;2154:296;2237:7;2280:4;2237:7;2295:118;2319:5;:12;2315:1;:16;2295:118;;;2368:33;2378:12;2392:5;2398:1;2392:8;;;;;;;;:::i;:::-;;;;;;;2368:9;:33::i;:::-;2353:48;-1:-1:-1;2333:3:0;;;;:::i;:::-;;;;2295:118;;47692:1272;47797:20;47820:12;-1:-1:-1;;;;;47847:16:0;;47839:62;;;;-1:-1:-1;;;47839:62:0;;17855:2:1;47839:62:0;;;17837:21:1;17894:2;17874:18;;;17867:30;17933:34;17913:18;;;17906:62;-1:-1:-1;;;17984:18:1;;;17977:31;18025:19;;47839:62:0;17653:397:1;47839:62:0;48038:21;48046:12;47201:4;47231:12;-1:-1:-1;47221:22:0;47144:105;48038:21;48037:22;48029:64;;;;-1:-1:-1;;;48029:64:0;;17497:2:1;48029:64:0;;;17479:21:1;17536:2;17516:18;;;17509:30;17575:31;17555:18;;;17548:59;17624:18;;48029:64:0;17295:353:1;48029:64:0;48120:12;48108:8;:24;;48100:71;;;;-1:-1:-1;;;48100:71:0;;21315:2:1;48100:71:0;;;21297:21:1;21354:2;21334:18;;;21327:30;21393:34;21373:18;;;21366:62;-1:-1:-1;;;21444:18:1;;;21437:32;21486:19;;48100:71:0;21113:398:1;48100:71:0;-1:-1:-1;;;;;48283:16:0;;48250:30;48283:16;;;:12;:16;;;;;;;;;48250:49;;;;;;;;;-1:-1:-1;;;;;48250:49:0;;;;;-1:-1:-1;;;48250:49:0;;;;;;;;;;;48325:119;;;;;;;;48345:19;;48250:49;;48325:119;;;48345:39;;48375:8;;48345:39;:::i;:::-;-1:-1:-1;;;;;48325:119:0;;;;;48428:8;48393:11;:24;;;:44;;;;:::i;:::-;-1:-1:-1;;;;;48325:119:0;;;;;;-1:-1:-1;;;;;48306:16:0;;;;;;;:12;:16;;;;;;;;:138;;;;;;;;-1:-1:-1;;;48306:138:0;;;;;;;;;;;;48479:43;;;;;;;;;;;48505:15;48479:43;;;;;;;;48451:25;;;:11;:25;;;;;;:71;;;;;;;;;-1:-1:-1;;;48451:71:0;-1:-1:-1;;;;;;48451:71:0;;;;;;;;;;;;;;;;;;48463:12;;48575:281;48599:8;48595:1;:12;48575:281;;;48628:38;;48653:12;;-1:-1:-1;;;;;48628:38:0;;;48645:1;;48628:38;;48645:1;;48628:38;48693:59;48724:1;48728:2;48732:12;48746:5;48693:22;:59::i;:::-;48675:150;;;;-1:-1:-1;;;48675:150:0;;;;;;;:::i;:::-;48834:14;;;;:::i;:::-;;;;48609:3;;;;;:::i;:::-;;;;48575:281;;;-1:-1:-1;48864:12:0;:27;;;48898:60;46594:311;8361:149;8424:7;8455:1;8451;:5;:51;;8586:13;8680:15;;;8716:4;8709:15;;;8763:4;8747:21;;8451:51;;;8586:13;8680:15;;;8716:4;8709:15;;;8763:4;8747:21;;8459:20;8444:58;8361:149;-1:-1:-1;;;8361:149:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:180::-;3215:6;3268:2;3256:9;3247:7;3243:23;3239:32;3236:52;;;3284:1;3281;3274:12;3236:52;-1:-1:-1;3307:23:1;;3156:180;-1:-1:-1;3156:180:1:o;3341:245::-;3399:6;3452:2;3440:9;3431:7;3427:23;3423:32;3420:52;;;3468:1;3465;3458:12;3420:52;3507:9;3494:23;3526:30;3550:5;3526:30;:::i;3591:249::-;3660:6;3713:2;3701:9;3692:7;3688:23;3684:32;3681:52;;;3729:1;3726;3719:12;3681:52;3761:9;3755:16;3780:30;3804:5;3780:30;:::i;3845:450::-;3914:6;3967:2;3955:9;3946:7;3942:23;3938:32;3935:52;;;3983:1;3980;3973:12;3935:52;4023:9;4010:23;4056:18;4048:6;4045:30;4042:50;;;4088:1;4085;4078:12;4042:50;4111:22;;4164:4;4156:13;;4152:27;-1:-1:-1;4142:55:1;;4193:1;4190;4183:12;4142:55;4216:73;4281:7;4276:2;4263:16;4258:2;4254;4250:11;4216:73;:::i;4485:254::-;4553:6;4561;4614:2;4602:9;4593:7;4589:23;4585:32;4582:52;;;4630:1;4627;4620:12;4582:52;4666:9;4653:23;4643:33;;4695:38;4729:2;4718:9;4714:18;4695:38;:::i;4744:683::-;4839:6;4847;4855;4908:2;4896:9;4887:7;4883:23;4879:32;4876:52;;;4924:1;4921;4914:12;4876:52;4960:9;4947:23;4937:33;;5021:2;5010:9;5006:18;4993:32;5044:18;5085:2;5077:6;5074:14;5071:34;;;5101:1;5098;5091:12;5071:34;5139:6;5128:9;5124:22;5114:32;;5184:7;5177:4;5173:2;5169:13;5165:27;5155:55;;5206:1;5203;5196:12;5155:55;5246:2;5233:16;5272:2;5264:6;5261:14;5258:34;;;5288:1;5285;5278:12;5258:34;5341:7;5336:2;5326:6;5323:1;5319:14;5315:2;5311:23;5307:32;5304:45;5301:65;;;5362:1;5359;5352:12;5301:65;5393:2;5389;5385:11;5375:21;;5415:6;5405:16;;;;;4744:683;;;;;:::o;5432:248::-;5500:6;5508;5561:2;5549:9;5540:7;5536:23;5532:32;5529:52;;;5577:1;5574;5567:12;5529:52;-1:-1:-1;;5600:23:1;;;5670:2;5655:18;;;5642:32;;-1:-1:-1;5432:248:1:o;5685:292::-;5743:6;5796:2;5784:9;5775:7;5771:23;5767:32;5764:52;;;5812:1;5809;5802:12;5764:52;5851:9;5838:23;-1:-1:-1;;;;;5894:5:1;5890:38;5883:5;5880:49;5870:77;;5943:1;5940;5933:12;5982:257;6023:3;6061:5;6055:12;6088:6;6083:3;6076:19;6104:63;6160:6;6153:4;6148:3;6144:14;6137:4;6130:5;6126:16;6104:63;:::i;:::-;6221:2;6200:15;-1:-1:-1;;6196:29:1;6187:39;;;;6228:4;6183:50;;5982:257;-1:-1:-1;;5982:257:1:o;6478:637::-;6758:3;6796:6;6790:13;6812:53;6858:6;6853:3;6846:4;6838:6;6834:17;6812:53;:::i;:::-;6928:13;;6887:16;;;;6950:57;6928:13;6887:16;6984:4;6972:17;;6950:57;:::i;:::-;-1:-1:-1;;;7029:20:1;;7058:22;;;7107:1;7096:13;;6478:637;-1:-1:-1;;;;6478:637:1:o;7538:488::-;-1:-1:-1;;;;;7807:15:1;;;7789:34;;7859:15;;7854:2;7839:18;;7832:43;7906:2;7891:18;;7884:34;;;7954:3;7949:2;7934:18;;7927:31;;;7732:4;;7975:45;;8000:19;;7992:6;7975:45;:::i;:::-;7967:53;7538:488;-1:-1:-1;;;;;;7538:488:1:o;8310:632::-;8481:2;8533:21;;;8603:13;;8506:18;;;8625:22;;;8452:4;;8481:2;8704:15;;;;8678:2;8663:18;;;8452:4;8747:169;8761:6;8758:1;8755:13;8747:169;;;8822:13;;8810:26;;8891:15;;;;8856:12;;;;8783:1;8776:9;8747:169;;;-1:-1:-1;8933:3:1;;8310:632;-1:-1:-1;;;;;;8310:632:1:o;9321:219::-;9470:2;9459:9;9452:21;9433:4;9490:44;9530:2;9519:9;9515:18;9507:6;9490:44;:::i;16119:348::-;16321:2;16303:21;;;16360:2;16340:18;;;16333:30;16399:26;16394:2;16379:18;;16372:54;16458:2;16443:18;;16119:348::o;16875:415::-;17077:2;17059:21;;;17116:2;17096:18;;;17089:30;17155:34;17150:2;17135:18;;17128:62;-1:-1:-1;;;17221:2:1;17206:18;;17199:49;17280:3;17265:19;;16875:415::o;21911:253::-;21951:3;-1:-1:-1;;;;;22040:2:1;22037:1;22033:10;22070:2;22067:1;22063:10;22101:3;22097:2;22093:12;22088:3;22085:21;22082:47;;;22109:18;;:::i;:::-;22145:13;;21911:253;-1:-1:-1;;;;21911:253:1:o;22169:128::-;22209:3;22240:1;22236:6;22233:1;22230:13;22227:39;;;22246:18;;:::i;:::-;-1:-1:-1;22282:9:1;;22169:128::o;22302:120::-;22342:1;22368;22358:35;;22373:18;;:::i;:::-;-1:-1:-1;22407:9:1;;22302:120::o;22427:168::-;22467:7;22533:1;22529;22525:6;22521:14;22518:1;22515:21;22510:1;22503:9;22496:17;22492:45;22489:71;;;22540:18;;:::i;:::-;-1:-1:-1;22580:9:1;;22427:168::o;22600:246::-;22640:4;-1:-1:-1;;;;;22753:10:1;;;;22723;;22775:12;;;22772:38;;;22790:18;;:::i;:::-;22827:13;;22600:246;-1:-1:-1;;;22600:246:1:o;22851:125::-;22891:4;22919:1;22916;22913:8;22910:34;;;22924:18;;:::i;:::-;-1:-1:-1;22961:9:1;;22851:125::o;22981:258::-;23053:1;23063:113;23077:6;23074:1;23071:13;23063:113;;;23153:11;;;23147:18;23134:11;;;23127:39;23099:2;23092:10;23063:113;;;23194:6;23191:1;23188:13;23185:48;;;-1:-1:-1;;23229:1:1;23211:16;;23204:27;22981:258::o;23244:136::-;23283:3;23311:5;23301:39;;23320:18;;:::i;:::-;-1:-1:-1;;;23356:18:1;;23244:136::o;23385:380::-;23464:1;23460:12;;;;23507;;;23528:61;;23582:4;23574:6;23570:17;23560:27;;23528:61;23635:2;23627:6;23624:14;23604:18;23601:38;23598:161;;;23681:10;23676:3;23672:20;23669:1;23662:31;23716:4;23713:1;23706:15;23744:4;23741:1;23734:15;23598:161;;23385:380;;;:::o;23770:135::-;23809:3;-1:-1:-1;;23830:17:1;;23827:43;;;23850:18;;:::i;:::-;-1:-1:-1;23897:1:1;23886:13;;23770:135::o;23910:112::-;23942:1;23968;23958:35;;23973:18;;:::i;:::-;-1:-1:-1;24007:9:1;;23910:112::o;24027:127::-;24088:10;24083:3;24079:20;24076:1;24069:31;24119:4;24116:1;24109:15;24143:4;24140:1;24133:15;24159:127;24220:10;24215:3;24211:20;24208:1;24201:31;24251:4;24248:1;24241:15;24275:4;24272:1;24265:15;24291:127;24352:10;24347:3;24343:20;24340:1;24333:31;24383:4;24380:1;24373:15;24407:4;24404:1;24397:15;24423:127;24484:10;24479:3;24475:20;24472:1;24465:31;24515:4;24512:1;24505:15;24539:4;24536:1;24529:15;24555:131;-1:-1:-1;;;;;;24629:32:1;;24619:43;;24609:71;;24676:1;24673;24666:12

Swarm Source

ipfs://b3f7f4a17a7bc8c376a573bfadd46b2b6f9b627f4e7dddc1e14a3705fe6688e6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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