ETH Price: $3,166.04 (+2.76%)

Token

Cosme (COSME)
 

Overview

Max Total Supply

1,500 COSME

Holders

613

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 COSME
0x21f0dfdf3534e87b4af29cf740deae7205955409
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:
CosmeComics

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-12-11
*/

/**
 *Submitted for verification at Etherscan.io on 2022-05-22
 */

// SPDX-License-Identifier: MIT

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);
}

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

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

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

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

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

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

/*
 * @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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @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() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
abstract contract ERC721 is
    Context,
    ERC2981,
    IERC721,
    IERC721Metadata,
    Ownable
{
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) internal _owners;

    // Mapping owner address to token count
    mapping(address => uint256) internal _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(
        uint256 tokenId
    ) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(
            owner != address(0),
            "ERC721: owner query for nonexistent token"
        );
        return owner;
    }

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(
        address operator,
        bool approved
    ) public virtual override {
        require(operator != _msgSender(), "ERC721: 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 virtual override {
        //solhint-disable-next-line max-line-length
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(
        address spender,
        uint256 tokenId
    ) internal view virtual returns (bool) {
        require(
            _exists(tokenId),
            "ERC721: operator query for nonexistent token"
        );
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner ||
            getApproved(tokenId) == spender ||
            ERC721.isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    function _batchMint(
        address to,
        uint256[] memory tokenIds
    ) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        _balances[to] += tokenIds.length;

        for (uint256 i; i < tokenIds.length; i++) {
            require(!_exists(tokenIds[i]), "ERC721: token already minted");

            _beforeTokenTransfer(address(0), to, tokenIds[i]);

            _owners[tokenIds[i]] = to;

            emit Transfer(address(0), to, tokenIds[i]);
        }
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(
            ERC721.ownerOf(tokenId) == from,
            "ERC721: transfer of token that is not own"
        );
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev 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(
                        "ERC721: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * 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 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++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(
        bytes32 a,
        bytes32 b
    ) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

interface VRFCoordinatorV2Interface {
    function getRequestConfig()
        external
        view
        returns (uint16, uint32, bytes32[] memory);

    function requestRandomWords(
        bytes32 keyHash,
        uint64 subId,
        uint16 minimumRequestConfirmations,
        uint32 callbackGasLimit,
        uint32 numWords
    ) external returns (uint256 requestId);

    function createSubscription() external returns (uint64 subId);

    function getSubscription(
        uint64 subId
    )
        external
        view
        returns (
            uint96 balance,
            uint64 reqCount,
            address owner,
            address[] memory consumers
        );

    function requestSubscriptionOwnerTransfer(
        uint64 subId,
        address newOwner
    ) external;

    function acceptSubscriptionOwnerTransfer(uint64 subId) external;

    function addConsumer(uint64 subId, address consumer) external;

    function removeConsumer(uint64 subId, address consumer) external;

    function cancelSubscription(uint64 subId, address to) external;

    function pendingRequestExists(uint64 subId) external view returns (bool);
}

abstract contract VRFConsumerBaseV2 {
    error OnlyCoordinatorCanFulfill(address have, address want);
    address private immutable vrfCoordinator;

    constructor(address _vrfCoordinator) {
        vrfCoordinator = _vrfCoordinator;
    }

    function fulfillRandomWords(
        uint256 requestId,
        uint256[] memory randomWords
    ) internal virtual;

    function rawFulfillRandomWords(
        uint256 requestId,
        uint256[] memory randomWords
    ) external {
        if (msg.sender != vrfCoordinator) {
            revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator);
        }
        fulfillRandomWords(requestId, randomWords);
    }
}

contract CosmeComics is ERC721, VRFConsumerBaseV2 {
    VRFCoordinatorV2Interface private COORDINATOR;
    using Strings for uint256;
    uint64 private s_subscriptionId = 564;
    bytes32 private s_keyHash =
        0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef;
    uint32 private CALLBACK_GAS_LIMIT = 100000;
    uint16 constant REQUEST_CONFIRMATIONS = 3;
    mapping(uint256 => uint256) public requestMap;
    mapping(uint256 => bool) public blockedToken;

    /**
     * @notice Allow owner to change VRF config
     */
    function setVRFConfig(
        uint64 sID,
        bytes32 keyHash,
        uint32 gasLimit
    ) external onlyOwner {
        s_subscriptionId = sID;
        s_keyHash = keyHash;
        CALLBACK_GAS_LIMIT = gasLimit;
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    modifier claimStarted() {
        require(startClaim, "You are too early");
        _;
    }

    bool public startClaim = false;
    bool public startPreSale = false;
    uint256 private claimPrice = 0.068 ether;
    uint256 private totalTokens = 1500;
    uint256 private totalMintedTokens = 0;
    uint128 private resNfts = 100;
    uint256 private totalReserved = 0;
    uint16 public currentStage = 0;

    mapping(address => uint256) private claimedTokensPreSale;
    mapping(address => uint256) private claimedTokensPublicSale;
    mapping(uint256 => uint16) public tokenStage;
    mapping(uint256 => uint256) internal tokenMap;
    mapping(uint16 => string) private baseURI;

    bytes32 public merkleRoot =
        0xbcc7b3368728ef5149db9e16de1d44fc7576cb22cdf60a5f0586b38c4e39edff;

    mapping(uint16 => uint16[]) private availableTokens;

    constructor() ERC721("Cosme", "COSME") VRFConsumerBaseV2(0x271682DEB8C4E0901D1a1550aD2e64D568E69909) {
        COORDINATOR = VRFCoordinatorV2Interface(0x271682DEB8C4E0901D1a1550aD2e64D568E69909);
        _setDefaultRoyalty(0xE0b632314A09561c3c4E35f247B6390dB9204De6, 500);
        baseURI[0] = "ipfs://QmcuRCBU1FFgniaYVdVZs4FPYS665C419suujvU6e6BeeH/?";
    }

    /**
     * @notice Allow owner to update the royalty fee
     */
    function setRoyaltyFee(address addr, uint96 fee) external onlyOwner {
        _setDefaultRoyalty(addr, fee);
    }

    /**
     * @dev Sets the claim price for each token
     */
    function setClaimPrice(uint256 _claimPrice) external onlyOwner {
        claimPrice = _claimPrice;
    }

    /**
     * @dev Set markle root
     */
    function setMarkleRoot(bytes32 _root) external onlyOwner {
        merkleRoot = _root;
    }

    /**
     * @dev toggle the claim start
     */
    function toggleClaimStart() external onlyOwner {
        startClaim = !startClaim;
    }

    /**
     * @dev toggle the claim start
     */
    function togglePreSale() external onlyOwner {
        startPreSale = !startPreSale;
    }

    /**
     * @dev Sets the current active stage
     */
    function setCurrentStage(uint16 _stage) external onlyOwner {
        currentStage = _stage;
    }

    /**
     * @dev Populates the available tokens
     */
    function addAvailableTokens(uint16 _stage) external onlyOwner {
        if (availableTokens[_stage].length == 0) {
            for (uint16 i = 1; i <= 1500; i++) {
                availableTokens[_stage].push(i);
            }
        }
    }

    function withdraw() external onlyOwner {
        uint256 totalBalance = address(this).balance;

        (bool devOk, ) = payable(0x974a394ea3d1EAbDAbb53aa0B102b8894f16c60b)
            .call{value: (totalBalance * 650) / 10000}("");
        require(devOk);

        (bool ownerOk, ) = payable(msg.sender).call{
            value: (totalBalance * 9350) / 10000
        }("");
        require(ownerOk);
    }

    /**
     * @dev See {ERC721}.
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI[0];
    }

    /**
     * @dev Sets the base URI for the API that provides the NFT data.
     */
    function setBaseTokenURI(
        uint16 _stage,
        string memory _uri
    ) external onlyOwner {
        baseURI[_stage] = _uri;
    }

    function tokenURI(
        uint256 tokenId
    ) public view virtual override returns (string memory) {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        return
            string(
                abi.encodePacked(
                    baseURI[tokenStage[tokenId]],
                    tokenMap[tokenId].toString()
                )
            );
    }

    /**
     * @dev Returns the claim price
     */
    function getClaimPrice() external view returns (uint256) {
        return claimPrice;
    }

    /**
     * @dev Returns the total supply
     */
    function totalSupply() external view virtual returns (uint256) {
        return totalMintedTokens;
    }

    // Private and Internal functions

    /**
     * @dev Returns a random available token to be claimed
     */
    function getTokenToBeClaimed(
        uint16 _stage,
        uint256 randomWord
    ) private returns (uint256) {
        uint256 random = randomWord % availableTokens[_stage].length;
        uint256 tokenId = uint256(availableTokens[_stage][random]);

        availableTokens[_stage][random] = availableTokens[_stage][
            availableTokens[_stage].length - 1
        ];
        availableTokens[_stage].pop();
        return tokenId;
    }

    /**
     * @dev Returns how many tokens are still available to be claimed in current Stage
     */
    function getAvailableTokens() external view returns (uint256) {
        return availableTokens[currentStage].length;
    }

    function walletOfOwner(
        address _owner
    ) public view returns (uint256[] memory) {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;

        while (ownedTokenIndex < ownerTokenCount && currentTokenId <= 1500) {
            if (_exists(currentTokenId)) {
                address currentTokenOwner = ownerOf(currentTokenId);

                if (currentTokenOwner == _owner) {
                    ownedTokenIds[ownedTokenIndex] = currentTokenId;

                    ownedTokenIndex++;
                }
            }
            currentTokenId++;
        }

        return ownedTokenIds;
    }

    /**
     * @dev Claim up to 2 tokens at once
     */
    function claimTokenWhitelist(
        bytes32[] calldata _merkleProof,
        uint256 amount
    ) external payable callerIsUser {
        require(startPreSale, "Presale not started yet ");
        require(
            claimedTokensPreSale[msg.sender] + amount <= 2,
            "You cannot claim more tokens"
        );
        require(
            totalMintedTokens + amount <= totalTokens,
            "No tokens left to be claimed"
        );
        require(
            msg.value >= claimPrice * amount,
            "Not enough Ether to claim a token"
        );

        claimedTokensPreSale[msg.sender] += amount;
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(
            MerkleProof.verify(_merkleProof, merkleRoot, leaf),
            "Invalid Proof."
        );
        uint256[] memory tokenIds = new uint256[](amount);
        for (uint256 i; i < amount; i++) {
            tokenIds[i] = ++totalMintedTokens;
            tokenStage[tokenIds[i]] = 0;
            tokenMap[tokenIds[i]] = tokenIds[i];
        }

        _batchMint(msg.sender, tokenIds);
    }

    /**
     * @dev Claim up to 4 tokens at once
     */
    function claimTokens(
        uint256 amount
    ) external payable callerIsUser claimStarted {
        require(
            msg.value >= claimPrice * amount,
            "Not enough Ether to claim the tokens"
        );
        require(
            claimedTokensPublicSale[msg.sender] + amount <= 4,
            "You cannot claim more tokens"
        );
        require(
            totalMintedTokens + amount <= totalTokens,
            "No tokens left to be claimed"
        );

        uint256[] memory tokenIds = new uint256[](amount);

        claimedTokensPublicSale[msg.sender] += amount;

        for (uint256 i; i < amount; i++) {
            tokenIds[i] = ++totalMintedTokens;
            tokenStage[tokenIds[i]] = 0;
            tokenMap[tokenIds[i]] = tokenIds[i];
        }

        _batchMint(msg.sender, tokenIds);
    }

    function swapToken(uint256 _id) external payable callerIsUser claimStarted {
        require(
            ownerOf(_id) == msg.sender,
            "You are not the owner of this token"
        );
        require(
            tokenStage[_id] < currentStage,
            "You are not eligible for current stage"
        );
        require(blockedToken[_id] == false, "You have requested already");
        require(
            availableTokens[currentStage].length >= 1,
            "swaping pfp not available"
        );
        if (tokenStage[_id] > 0) {
            require(
                msg.value >= claimPrice,
                "Not enough Ether to swap the PFP"
            );
        }
        uint256 s_requestId = COORDINATOR.requestRandomWords(
            s_keyHash,
            s_subscriptionId,
            REQUEST_CONFIRMATIONS,
            CALLBACK_GAS_LIMIT,
            1
        );
        requestMap[s_requestId] = _id;
        blockedToken[_id] = true;
    }

    function fulfillRandomWords(
        uint256 requestId,
        uint256[] memory randomWords
    ) internal override {
        uint256 _id = requestMap[requestId];
        tokenMap[_id] = getTokenToBeClaimed(currentStage, randomWords[0]);
        tokenStage[_id] = currentStage;
        blockedToken[_id] = false;
    }

    /**
     * Set 100 random Nfts aside for rewards and wages
     */
    function reserveNfts() external onlyOwner {
        require(
            totalMintedTokens + 20 <= totalTokens,
            "No tokens left to reserve"
        );
        require(
            totalReserved < resNfts,
            "100 Nfts have been already reserved, you can not reserve more"
        );
        uint256[] memory tokenIds = new uint256[](20);
        totalReserved += 20;

        for (uint256 i; i < 20; i++) {
            tokenIds[i] = ++totalMintedTokens;
            tokenStage[tokenIds[i]] = 0;
            tokenMap[tokenIds[i]] = tokenIds[i];
        }
        _batchMint(msg.sender, tokenIds);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":[{"internalType":"uint16","name":"_stage","type":"uint16"}],"name":"addAvailableTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"blockedToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimTokenWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"currentStage","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAvailableTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"requestMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserveNfts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"uint16","name":"_stage","type":"uint16"},{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimPrice","type":"uint256"}],"name":"setClaimPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_stage","type":"uint16"}],"name":"setCurrentStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMarkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint96","name":"fee","type":"uint96"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"sID","type":"uint64"},{"internalType":"bytes32","name":"keyHash","type":"bytes32"},{"internalType":"uint32","name":"gasLimit","type":"uint32"}],"name":"setVRFConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startPreSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"swapToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleClaimStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenStage","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260098054608d60a21b600160a01b600160e01b03199091161790557f8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef600a55600b805463ffffffff1916620186a0179055600e805461ffff1990811690915566f195a3c4ba0000600f556105dc60105560006011819055601280546001600160801b03191660641790556013556014805490911690557fbcc7b3368728ef5149db9e16de1d44fc7576cb22cdf60a5f0586b38c4e39edff601a55348015620000cb57600080fd5b5073271682deb8c4e0901d1a1550ad2e64d568e6990960405180604001604052806005815260200164436f736d6560d81b81525060405180604001604052806005815260200164434f534d4560d81b81525060006200012f6200026260201b60201c565b600280546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620001929060039060208501906200036b565b508051620001a89060049060208401906200036b565b50505060601b6001600160601b0319166080526009805473271682deb8c4e0901d1a1550ad2e64d568e699096001600160a01b03199091161790556200020573e0b632314a09561c3c4e35f247b6390db9204de66101f462000266565b60405180606001604052806037815260200162003ae860379139600080526019602090815281516200025b927fd2ac945fcc0096878c763e37d6929b78378c1a2defabde8ba7ee5ed1d6e7a5b29201906200036b565b506200044e565b3390565b6127106001600160601b0382161115620002da5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620003325760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620002d1565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b828054620003799062000411565b90600052602060002090601f0160209004810192826200039d5760008555620003e8565b82601f10620003b857805160ff1916838001178555620003e8565b82800160010185558215620003e8579182015b82811115620003e8578251825591602001919060010190620003cb565b50620003f6929150620003fa565b5090565b5b80821115620003f65760008155600101620003fb565b600181811c908216806200042657607f821691505b602082108114156200044857634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c6136746200047460003960008181610b410152610b8301526136746000f3fe60806040526004361061025c5760003560e01c806351f468c011610144578063a22cb465116100b6578063e35568cb1161007a578063e35568cb14610708578063e985e9c514610730578063ecbfc07714610779578063f2fde38b14610793578063fd3a0f34146107b3578063ff48c1c0146107d357600080fd5b8063a22cb46514610662578063b88d4fde14610682578063c469bff1146106a2578063c87b56dd146106d3578063ca3cb522146106f357600080fd5b8063715018a611610108578063715018a6146105ba57806372cd1fa5146105cf5780637d97c9d2146105ef57806381ac81031461060f5780638da5cb5b1461062f57806395d89b411461064d57600080fd5b806351f468c01461050d57806355dd574c1461052d5780635bf5d54c1461054c5780636352211e1461057a57806370a082311461059a57600080fd5b806323b872dd116101dd5780633f2578c6116101a15780633f2578c61461046757806342842e0e1461048757806342a3c3ae146104a7578063438b6300146104ba57806346e04a2f146104e75780634bbf3a7a146104fa57600080fd5b806323b872dd146103c85780632a55205a146103e85780632af11474146104275780632eb4a7ab1461043c5780633ccfd60b1461045257600080fd5b80630adc688f116102245780630adc688f1461032757806318160ddd146103475780631a735f18146103665780631fe543e31461039357806321f6d587146103b357600080fd5b806301ffc9a71461026157806303502b5a1461029657806306fdde03146102ad578063081812fc146102cf578063095ea7b314610307575b600080fd5b34801561026d57600080fd5b5061028161027c366004612fde565b610803565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab610864565b005b3480156102b957600080fd5b506102c26108ab565b60405161028d919061334e565b3480156102db57600080fd5b506102ef6102ea366004612fc5565b61093d565b6040516001600160a01b03909116815260200161028d565b34801561031357600080fd5b506102ab610322366004612ee9565b6109d2565b34801561033357600080fd5b506102ab610342366004613033565b610ae8565b34801561035357600080fd5b506011545b60405190815260200161028d565b34801561037257600080fd5b50610358610381366004612fc5565b600c6020526000908152604090205481565b34801561039f57600080fd5b506102ab6103ae3660046130ad565b610b36565b3480156103bf57600080fd5b50600f54610358565b3480156103d457600080fd5b506102ab6103e3366004612df6565b610bbe565b3480156103f457600080fd5b50610408610403366004613165565b610bef565b604080516001600160a01b03909316835260208301919091520161028d565b34801561043357600080fd5b506102ab610c9b565b34801561044857600080fd5b50610358601a5481565b34801561045e57600080fd5b506102ab610ee1565b34801561047357600080fd5b506102ab610482366004613018565b610ff6565b34801561049357600080fd5b506102ab6104a2366004612df6565b6110a4565b6102ab6104b5366004612f4b565b6110bf565b3480156104c657600080fd5b506104da6104d5366004612da1565b61147d565b60405161028d919061330a565b6102ab6104f5366004612fc5565b61157b565b6102ab610508366004612fc5565b611870565b34801561051957600080fd5b506102ab610528366004612fc5565b611bc7565b34801561053957600080fd5b50600e5461028190610100900460ff1681565b34801561055857600080fd5b506014546105679061ffff1681565b60405161ffff909116815260200161028d565b34801561058657600080fd5b506102ef610595366004612fc5565b611bf6565b3480156105a657600080fd5b506103586105b5366004612da1565b611c6d565b3480156105c657600080fd5b506102ab611cf4565b3480156105db57600080fd5b506102ab6105ea366004612f13565b611d68565b3480156105fb57600080fd5b506102ab61060a366004612fc5565b611d9c565b34801561061b57600080fd5b506102ab61062a366004613018565b611dcb565b34801561063b57600080fd5b506002546001600160a01b03166102ef565b34801561065957600080fd5b506102c2611e0d565b34801561066e57600080fd5b506102ab61067d366004612ead565b611e1c565b34801561068e57600080fd5b506102ab61069d366004612e32565b611ee1565b3480156106ae57600080fd5b506105676106bd366004612fc5565b60176020526000908152604090205461ffff1681565b3480156106df57600080fd5b506102c26106ee366004612fc5565b611f19565b3480156106ff57600080fd5b506102ab611ff3565b34801561071457600080fd5b5060145461ffff166000908152601b6020526040902054610358565b34801561073c57600080fd5b5061028161074b366004612dc3565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561078557600080fd5b50600e546102819060ff1681565b34801561079f57600080fd5b506102ab6107ae366004612da1565b61203a565b3480156107bf57600080fd5b506102ab6107ce366004613187565b612125565b3480156107df57600080fd5b506102816107ee366004612fc5565b600d6020526000908152604090205460ff1681565b60006001600160e01b031982166380ac58cd60e01b148061083457506001600160e01b03198216635b5e139f60e01b145b8061084f57506001600160e01b0319821663152a902d60e11b145b8061085e575061085e8261219b565b92915050565b6002546001600160a01b031633146108975760405162461bcd60e51b815260040161088e906133ea565b60405180910390fd5b600e805460ff19811660ff90911615179055565b6060600380546108ba9061352e565b80601f01602080910402602001604051908101604052809291908181526020018280546108e69061352e565b80156109335780601f1061090857610100808354040283529160200191610933565b820191906000526020600020905b81548152906001019060200180831161091657829003601f168201915b5050505050905090565b6000818152600560205260408120546001600160a01b03166109b65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161088e565b506000908152600760205260409020546001600160a01b031690565b60006109dd82611bf6565b9050806001600160a01b0316836001600160a01b03161415610a4b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161088e565b336001600160a01b0382161480610a675750610a67813361074b565b610ad95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161088e565b610ae383836121d0565b505050565b6002546001600160a01b03163314610b125760405162461bcd60e51b815260040161088e906133ea565b61ffff821660009081526019602090815260409091208251610ae392840190612c83565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610bb05760405163073e64fd60e21b81523360048201526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016602482015260440161088e565b610bba828261223e565b5050565b610bc833826122bf565b610be45760405162461bcd60e51b815260040161088e9061341f565b610ae38383836123b6565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c645750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610c83906001600160601b0316876134cc565b610c8d91906134b8565b915196919550909350505050565b6002546001600160a01b03163314610cc55760405162461bcd60e51b815260040161088e906133ea565b601054601154610cd69060146134a0565b1115610d245760405162461bcd60e51b815260206004820152601960248201527f4e6f20746f6b656e73206c65667420746f207265736572766500000000000000604482015260640161088e565b6012546013546fffffffffffffffffffffffffffffffff90911611610db15760405162461bcd60e51b815260206004820152603d60248201527f313030204e6674732068617665206265656e20616c726561647920726573657260448201527f7665642c20796f752063616e206e6f742072657365727665206d6f7265000000606482015260840161088e565b6040805160148082526102a082019092526000916020820161028080368337019050509050601460136000828254610de991906134a0565b90915550600090505b6014811015610ed357601160008154610e0a9061358b565b919050819055828281518110610e2257610e226135fc565b602002602001018181525050600060176000848481518110610e4657610e466135fc565b6020026020010151815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550818181518110610e8857610e886135fc565b602002602001015160186000848481518110610ea657610ea66135fc565b60200260200101518152602001908152602001600020819055508080610ecb9061358b565b915050610df2565b50610ede3382612556565b50565b6002546001600160a01b03163314610f0b5760405162461bcd60e51b815260040161088e906133ea565b47600073974a394ea3d1eabdabb53aa0b102b8894f16c60b612710610f328461028a6134cc565b610f3c91906134b8565b604051600081818185875af1925050503d8060008114610f78576040519150601f19603f3d011682016040523d82523d6000602084013e610f7d565b606091505b5050905080610f8b57600080fd5b600033612710610f9d856124866134cc565b610fa791906134b8565b604051600081818185875af1925050503d8060008114610fe3576040519150601f19603f3d011682016040523d82523d6000602084013e610fe8565b606091505b5050905080610ae357600080fd5b6002546001600160a01b031633146110205760405162461bcd60e51b815260040161088e906133ea565b61ffff81166000908152601b6020526040902054610ede5760015b6105dc8161ffff1611610bba5761ffff8083166000908152601b60209081526040822080546001810182559083529120601082040180548484166002600f909416939093026101000a92830292909302199092161790558061109c81613569565b91505061103b565b610ae383838360405180602001604052806000815250611ee1565b3233146110de5760405162461bcd60e51b815260040161088e906133b3565b600e54610100900460ff166111355760405162461bcd60e51b815260206004820152601860248201527f50726573616c65206e6f74207374617274656420796574200000000000000000604482015260640161088e565b336000908152601560205260409020546002906111539083906134a0565b11156111a15760405162461bcd60e51b815260206004820152601c60248201527f596f752063616e6e6f7420636c61696d206d6f726520746f6b656e7300000000604482015260640161088e565b601054816011546111b291906134a0565b11156112005760405162461bcd60e51b815260206004820152601c60248201527f4e6f20746f6b656e73206c65667420746f20626520636c61696d656400000000604482015260640161088e565b80600f5461120e91906134cc565b3410156112675760405162461bcd60e51b815260206004820152602160248201527f4e6f7420656e6f75676820457468657220746f20636c61696d206120746f6b656044820152603760f91b606482015260840161088e565b33600090815260156020526040812080548392906112869084906134a0565b90915550506040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061130584848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601a549150849050612745565b6113425760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210283937b7b31760911b604482015260640161088e565b6000826001600160401b0381111561135c5761135c613612565b604051908082528060200260200182016040528015611385578160200160208202803683370190505b50905060005b8381101561146b576011600081546113a29061358b565b9190508190558282815181106113ba576113ba6135fc565b6020026020010181815250506000601760008484815181106113de576113de6135fc565b6020026020010151815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550818181518110611420576114206135fc565b60200260200101516018600084848151811061143e5761143e6135fc565b602002602001015181526020019081526020016000208190555080806114639061358b565b91505061138b565b506114763382612556565b5050505050565b6060600061148a83611c6d565b90506000816001600160401b038111156114a6576114a6613612565b6040519080825280602002602001820160405280156114cf578160200160208202803683370190505b509050600160005b83811080156114e857506105dc8211155b15611571576000828152600560205260409020546001600160a01b03161561155f57600061151583611bf6565b9050866001600160a01b0316816001600160a01b0316141561155d5782848381518110611544576115446135fc565b6020908102919091010152816115598161358b565b9250505b505b816115698161358b565b9250506114d7565b5090949350505050565b32331461159a5760405162461bcd60e51b815260040161088e906133b3565b600e5460ff166115e05760405162461bcd60e51b8152602060048201526011602482015270596f752061726520746f6f206561726c7960781b604482015260640161088e565b80600f546115ee91906134cc565b3410156116495760405162461bcd60e51b8152602060048201526024808201527f4e6f7420656e6f75676820457468657220746f20636c61696d2074686520746f6044820152636b656e7360e01b606482015260840161088e565b336000908152601660205260409020546004906116679083906134a0565b11156116b55760405162461bcd60e51b815260206004820152601c60248201527f596f752063616e6e6f7420636c61696d206d6f726520746f6b656e7300000000604482015260640161088e565b601054816011546116c691906134a0565b11156117145760405162461bcd60e51b815260206004820152601c60248201527f4e6f20746f6b656e73206c65667420746f20626520636c61696d656400000000604482015260640161088e565b6000816001600160401b0381111561172e5761172e613612565b604051908082528060200260200182016040528015611757578160200160208202803683370190505b503360009081526016602052604081208054929350849290919061177c9084906134a0565b90915550600090505b828110156118655760116000815461179c9061358b565b9190508190558282815181106117b4576117b46135fc565b6020026020010181815250506000601760008484815181106117d8576117d86135fc565b6020026020010151815260200190815260200160002060006101000a81548161ffff021916908361ffff16021790555081818151811061181a5761181a6135fc565b602002602001015160186000848481518110611838576118386135fc565b6020026020010151815260200190815260200160002081905550808061185d9061358b565b915050611785565b50610bba3382612556565b32331461188f5760405162461bcd60e51b815260040161088e906133b3565b600e5460ff166118d55760405162461bcd60e51b8152602060048201526011602482015270596f752061726520746f6f206561726c7960781b604482015260640161088e565b336118df82611bf6565b6001600160a01b0316146119415760405162461bcd60e51b815260206004820152602360248201527f596f7520617265206e6f7420746865206f776e6572206f66207468697320746f60448201526235b2b760e91b606482015260840161088e565b60145460008281526017602052604090205461ffff9182169116106119b75760405162461bcd60e51b815260206004820152602660248201527f596f7520617265206e6f7420656c696769626c6520666f722063757272656e7460448201526520737461676560d01b606482015260840161088e565b6000818152600d602052604090205460ff1615611a165760405162461bcd60e51b815260206004820152601a60248201527f596f7520686176652072657175657374656420616c7265616479000000000000604482015260640161088e565b60145461ffff166000908152601b602052604090205460011115611a7c5760405162461bcd60e51b815260206004820152601960248201527f73776170696e6720706670206e6f7420617661696c61626c6500000000000000604482015260640161088e565b60008181526017602052604090205461ffff1615611ae657600f54341015611ae65760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f75676820457468657220746f20737761702074686520504650604482015260640161088e565b600954600a54600b546040516305d3b1d360e41b81526004810192909252600160a01b83046001600160401b031660248301526003604483015263ffffffff166064820152600160848201526000916001600160a01b031690635d3b1d309060a401602060405180830381600087803b158015611b6257600080fd5b505af1158015611b76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9a9190613094565b6000908152600c60209081526040808320859055938252600d905291909120805460ff1916600117905550565b6002546001600160a01b03163314611bf15760405162461bcd60e51b815260040161088e906133ea565b600f55565b6000818152600560205260408120546001600160a01b03168061085e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161088e565b60006001600160a01b038216611cd85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161088e565b506001600160a01b031660009081526006602052604090205490565b6002546001600160a01b03163314611d1e5760405162461bcd60e51b815260040161088e906133ea565b6002546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600280546001600160a01b0319169055565b6002546001600160a01b03163314611d925760405162461bcd60e51b815260040161088e906133ea565b610bba828261275b565b6002546001600160a01b03163314611dc65760405162461bcd60e51b815260040161088e906133ea565b601a55565b6002546001600160a01b03163314611df55760405162461bcd60e51b815260040161088e906133ea565b6014805461ffff191661ffff92909216919091179055565b6060600480546108ba9061352e565b6001600160a01b038216331415611e755760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161088e565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611eeb33836122bf565b611f075760405162461bcd60e51b815260040161088e9061341f565b611f1384848484612858565b50505050565b6000818152600560205260409020546060906001600160a01b0316611f985760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161088e565b60008281526017602090815260408083205461ffff16835260198252808320858452601890925290912054611fcc9061288b565b604051602001611fdd929190613226565b6040516020818303038152906040529050919050565b6002546001600160a01b0316331461201d5760405162461bcd60e51b815260040161088e906133ea565b600e805461ff001981166101009182900460ff1615909102179055565b6002546001600160a01b031633146120645760405162461bcd60e51b815260040161088e906133ea565b6001600160a01b0381166120c95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161088e565b6002546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600280546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b0316331461214f5760405162461bcd60e51b815260040161088e906133ea565b600980546001600160401b03909416600160a01b0267ffffffffffffffff60a01b1990941693909317909255600a55600b805463ffffffff90921663ffffffff19909216919091179055565b60006001600160e01b0319821663152a902d60e11b148061085e57506301ffc9a760e01b6001600160e01b031983161461085e565b600081815260076020526040902080546001600160a01b0319166001600160a01b038416908117909155819061220582611bf6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000828152600c60205260408120546014548351919261227b9261ffff9092169185919061226e5761226e6135fc565b6020026020010151612988565b60009182526018602090815260408084209290925560145460178252828420805461ffff191661ffff909216919091179055600d90529020805460ff191690555050565b6000818152600560205260408120546001600160a01b03166123385760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161088e565b600061234383611bf6565b9050806001600160a01b0316846001600160a01b0316148061237e5750836001600160a01b03166123738461093d565b6001600160a01b0316145b806123ae57506001600160a01b0380821660009081526008602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166123c982611bf6565b6001600160a01b0316146124315760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161088e565b6001600160a01b0382166124935760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161088e565b61249e6000826121d0565b6001600160a01b03831660009081526006602052604081208054600192906124c79084906134eb565b90915550506001600160a01b03821660009081526006602052604081208054600192906124f59084906134a0565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166125ac5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161088e565b80516001600160a01b038316600090815260066020526040812080549091906125d69084906134a0565b90915550600090505b8151811015610ae3576126228282815181106125fd576125fd6135fc565b60200260200101516000908152600560205260409020546001600160a01b0316151590565b1561266f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161088e565b612687600084848481518110611f1357611f136135fc565b826005600084848151811061269e5761269e6135fc565b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508181815181106126ea576126ea6135fc565b6020026020010151836001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48061273d8161358b565b9150506125df565b6000826127528584612b02565b14949350505050565b6127106001600160601b03821611156127c95760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840161088e565b6001600160a01b03821661281f5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640161088e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6128638484846123b6565b61286f84848484612b76565b611f135760405162461bcd60e51b815260040161088e90613361565b6060816128af5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128d957806128c38161358b565b91506128d29050600a836134b8565b91506128b3565b6000816001600160401b038111156128f3576128f3613612565b6040519080825280601f01601f19166020018201604052801561291d576020820181803683370190505b5090505b84156123ae576129326001836134eb565b915061293f600a866135a6565b61294a9060306134a0565b60f81b81838151811061295f5761295f6135fc565b60200101906001600160f81b031916908160001a905350612981600a866134b8565b9450612921565b61ffff82166000908152601b602052604081205481906129a890846135a6565b61ffff85166000908152601b6020526040812080549293509091839081106129d2576129d26135fc565b6000918252602080832060108304015461ffff8981168552601b90925260409093208054600f9093166002026101000a909304169250612a14906001906134eb565b81548110612a2457612a246135fc565b90600052602060002090601091828204019190066002029054906101000a900461ffff16601b60008761ffff1661ffff1681526020019081526020016000208381548110612a7457612a746135fc565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550601b60008661ffff1661ffff168152602001908152602001600020805480612acd57612acd6135e6565b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a0219169055905591505092915050565b600081815b8451811015612b6e576000858281518110612b2457612b246135fc565b60200260200101519050808311612b4a5760008381526020829052604090209250612b5b565b600081815260208490526040902092505b5080612b668161358b565b915050612b07565b509392505050565b60006001600160a01b0384163b15612c7857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612bba9033908990889088906004016132cd565b602060405180830381600087803b158015612bd457600080fd5b505af1925050508015612c04575060408051601f3d908101601f19168201909252612c0191810190612ffb565b60015b612c5e573d808015612c32576040519150601f19603f3d011682016040523d82523d6000602084013e612c37565b606091505b508051612c565760405162461bcd60e51b815260040161088e90613361565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506123ae565b506001949350505050565b828054612c8f9061352e565b90600052602060002090601f016020900481019282612cb15760008555612cf7565b82601f10612cca57805160ff1916838001178555612cf7565b82800160010185558215612cf7579182015b82811115612cf7578251825591602001919060010190612cdc565b50612d03929150612d07565b5090565b5b80821115612d035760008155600101612d08565b60006001600160401b03831115612d3557612d35613612565b612d48601f8401601f1916602001613470565b9050828152838383011115612d5c57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612d8a57600080fd5b919050565b803561ffff81168114612d8a57600080fd5b600060208284031215612db357600080fd5b612dbc82612d73565b9392505050565b60008060408385031215612dd657600080fd5b612ddf83612d73565b9150612ded60208401612d73565b90509250929050565b600080600060608486031215612e0b57600080fd5b612e1484612d73565b9250612e2260208501612d73565b9150604084013590509250925092565b60008060008060808587031215612e4857600080fd5b612e5185612d73565b9350612e5f60208601612d73565b92506040850135915060608501356001600160401b03811115612e8157600080fd5b8501601f81018713612e9257600080fd5b612ea187823560208401612d1c565b91505092959194509250565b60008060408385031215612ec057600080fd5b612ec983612d73565b915060208301358015158114612ede57600080fd5b809150509250929050565b60008060408385031215612efc57600080fd5b612f0583612d73565b946020939093013593505050565b60008060408385031215612f2657600080fd5b612f2f83612d73565b915060208301356001600160601b0381168114612ede57600080fd5b600080600060408486031215612f6057600080fd5b83356001600160401b0380821115612f7757600080fd5b818601915086601f830112612f8b57600080fd5b813581811115612f9a57600080fd5b8760208260051b8501011115612faf57600080fd5b6020928301989097509590910135949350505050565b600060208284031215612fd757600080fd5b5035919050565b600060208284031215612ff057600080fd5b8135612dbc81613628565b60006020828403121561300d57600080fd5b8151612dbc81613628565b60006020828403121561302a57600080fd5b612dbc82612d8f565b6000806040838503121561304657600080fd5b61304f83612d8f565b915060208301356001600160401b0381111561306a57600080fd5b8301601f8101851361307b57600080fd5b61308a85823560208401612d1c565b9150509250929050565b6000602082840312156130a657600080fd5b5051919050565b600080604083850312156130c057600080fd5b823591506020808401356001600160401b03808211156130df57600080fd5b818601915086601f8301126130f357600080fd5b81358181111561310557613105613612565b8060051b9150613116848301613470565b8181528481019084860184860187018b101561313157600080fd5b600095505b83861015613154578035835260019590950194918601918601613136565b508096505050505050509250929050565b6000806040838503121561317857600080fd5b50508035926020909101359150565b60008060006060848603121561319c57600080fd5b83356001600160401b03811681146131b357600080fd5b925060208401359150604084013563ffffffff811681146131d357600080fd5b809150509250925092565b600081518084526131f6816020860160208601613502565b601f01601f19169290920160200192915050565b6000815161321c818560208601613502565b9290920192915050565b600080845481600182811c91508083168061324257607f831692505b602080841082141561326257634e487b7160e01b86526022600452602486fd5b8180156132765760018114613287576132b4565b60ff198616895284890196506132b4565b60008b81526020902060005b868110156132ac5781548b820152908501908301613293565b505084890196505b5050505050506132c4818561320a565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613300908301846131de565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561334257835183529284019291840191600101613326565b50909695505050505050565b602081526000612dbc60208301846131de565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b038111828210171561349857613498613612565b604052919050565b600082198211156134b3576134b36135ba565b500190565b6000826134c7576134c76135d0565b500490565b60008160001904831182151516156134e6576134e66135ba565b500290565b6000828210156134fd576134fd6135ba565b500390565b60005b8381101561351d578181015183820152602001613505565b83811115611f135750506000910152565b600181811c9082168061354257607f821691505b6020821081141561356357634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415613581576135816135ba565b6001019392505050565b600060001982141561359f5761359f6135ba565b5060010190565b6000826135b5576135b56135d0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ede57600080fdfea2646970667358221220bfd2d217c435b24f3dcb2494a86e1d67471eb96c1a22c76aa392ec735a97b51464736f6c63430008070033697066733a2f2f516d637552434255314646676e6961595664565a733446505953363635433431397375756a7655366536426565482f3f

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806351f468c011610144578063a22cb465116100b6578063e35568cb1161007a578063e35568cb14610708578063e985e9c514610730578063ecbfc07714610779578063f2fde38b14610793578063fd3a0f34146107b3578063ff48c1c0146107d357600080fd5b8063a22cb46514610662578063b88d4fde14610682578063c469bff1146106a2578063c87b56dd146106d3578063ca3cb522146106f357600080fd5b8063715018a611610108578063715018a6146105ba57806372cd1fa5146105cf5780637d97c9d2146105ef57806381ac81031461060f5780638da5cb5b1461062f57806395d89b411461064d57600080fd5b806351f468c01461050d57806355dd574c1461052d5780635bf5d54c1461054c5780636352211e1461057a57806370a082311461059a57600080fd5b806323b872dd116101dd5780633f2578c6116101a15780633f2578c61461046757806342842e0e1461048757806342a3c3ae146104a7578063438b6300146104ba57806346e04a2f146104e75780634bbf3a7a146104fa57600080fd5b806323b872dd146103c85780632a55205a146103e85780632af11474146104275780632eb4a7ab1461043c5780633ccfd60b1461045257600080fd5b80630adc688f116102245780630adc688f1461032757806318160ddd146103475780631a735f18146103665780631fe543e31461039357806321f6d587146103b357600080fd5b806301ffc9a71461026157806303502b5a1461029657806306fdde03146102ad578063081812fc146102cf578063095ea7b314610307575b600080fd5b34801561026d57600080fd5b5061028161027c366004612fde565b610803565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab610864565b005b3480156102b957600080fd5b506102c26108ab565b60405161028d919061334e565b3480156102db57600080fd5b506102ef6102ea366004612fc5565b61093d565b6040516001600160a01b03909116815260200161028d565b34801561031357600080fd5b506102ab610322366004612ee9565b6109d2565b34801561033357600080fd5b506102ab610342366004613033565b610ae8565b34801561035357600080fd5b506011545b60405190815260200161028d565b34801561037257600080fd5b50610358610381366004612fc5565b600c6020526000908152604090205481565b34801561039f57600080fd5b506102ab6103ae3660046130ad565b610b36565b3480156103bf57600080fd5b50600f54610358565b3480156103d457600080fd5b506102ab6103e3366004612df6565b610bbe565b3480156103f457600080fd5b50610408610403366004613165565b610bef565b604080516001600160a01b03909316835260208301919091520161028d565b34801561043357600080fd5b506102ab610c9b565b34801561044857600080fd5b50610358601a5481565b34801561045e57600080fd5b506102ab610ee1565b34801561047357600080fd5b506102ab610482366004613018565b610ff6565b34801561049357600080fd5b506102ab6104a2366004612df6565b6110a4565b6102ab6104b5366004612f4b565b6110bf565b3480156104c657600080fd5b506104da6104d5366004612da1565b61147d565b60405161028d919061330a565b6102ab6104f5366004612fc5565b61157b565b6102ab610508366004612fc5565b611870565b34801561051957600080fd5b506102ab610528366004612fc5565b611bc7565b34801561053957600080fd5b50600e5461028190610100900460ff1681565b34801561055857600080fd5b506014546105679061ffff1681565b60405161ffff909116815260200161028d565b34801561058657600080fd5b506102ef610595366004612fc5565b611bf6565b3480156105a657600080fd5b506103586105b5366004612da1565b611c6d565b3480156105c657600080fd5b506102ab611cf4565b3480156105db57600080fd5b506102ab6105ea366004612f13565b611d68565b3480156105fb57600080fd5b506102ab61060a366004612fc5565b611d9c565b34801561061b57600080fd5b506102ab61062a366004613018565b611dcb565b34801561063b57600080fd5b506002546001600160a01b03166102ef565b34801561065957600080fd5b506102c2611e0d565b34801561066e57600080fd5b506102ab61067d366004612ead565b611e1c565b34801561068e57600080fd5b506102ab61069d366004612e32565b611ee1565b3480156106ae57600080fd5b506105676106bd366004612fc5565b60176020526000908152604090205461ffff1681565b3480156106df57600080fd5b506102c26106ee366004612fc5565b611f19565b3480156106ff57600080fd5b506102ab611ff3565b34801561071457600080fd5b5060145461ffff166000908152601b6020526040902054610358565b34801561073c57600080fd5b5061028161074b366004612dc3565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561078557600080fd5b50600e546102819060ff1681565b34801561079f57600080fd5b506102ab6107ae366004612da1565b61203a565b3480156107bf57600080fd5b506102ab6107ce366004613187565b612125565b3480156107df57600080fd5b506102816107ee366004612fc5565b600d6020526000908152604090205460ff1681565b60006001600160e01b031982166380ac58cd60e01b148061083457506001600160e01b03198216635b5e139f60e01b145b8061084f57506001600160e01b0319821663152a902d60e11b145b8061085e575061085e8261219b565b92915050565b6002546001600160a01b031633146108975760405162461bcd60e51b815260040161088e906133ea565b60405180910390fd5b600e805460ff19811660ff90911615179055565b6060600380546108ba9061352e565b80601f01602080910402602001604051908101604052809291908181526020018280546108e69061352e565b80156109335780601f1061090857610100808354040283529160200191610933565b820191906000526020600020905b81548152906001019060200180831161091657829003601f168201915b5050505050905090565b6000818152600560205260408120546001600160a01b03166109b65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161088e565b506000908152600760205260409020546001600160a01b031690565b60006109dd82611bf6565b9050806001600160a01b0316836001600160a01b03161415610a4b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161088e565b336001600160a01b0382161480610a675750610a67813361074b565b610ad95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161088e565b610ae383836121d0565b505050565b6002546001600160a01b03163314610b125760405162461bcd60e51b815260040161088e906133ea565b61ffff821660009081526019602090815260409091208251610ae392840190612c83565b336001600160a01b037f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699091614610bb05760405163073e64fd60e21b81523360048201526001600160a01b037f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990916602482015260440161088e565b610bba828261223e565b5050565b610bc833826122bf565b610be45760405162461bcd60e51b815260040161088e9061341f565b610ae38383836123b6565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c645750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610c83906001600160601b0316876134cc565b610c8d91906134b8565b915196919550909350505050565b6002546001600160a01b03163314610cc55760405162461bcd60e51b815260040161088e906133ea565b601054601154610cd69060146134a0565b1115610d245760405162461bcd60e51b815260206004820152601960248201527f4e6f20746f6b656e73206c65667420746f207265736572766500000000000000604482015260640161088e565b6012546013546fffffffffffffffffffffffffffffffff90911611610db15760405162461bcd60e51b815260206004820152603d60248201527f313030204e6674732068617665206265656e20616c726561647920726573657260448201527f7665642c20796f752063616e206e6f742072657365727665206d6f7265000000606482015260840161088e565b6040805160148082526102a082019092526000916020820161028080368337019050509050601460136000828254610de991906134a0565b90915550600090505b6014811015610ed357601160008154610e0a9061358b565b919050819055828281518110610e2257610e226135fc565b602002602001018181525050600060176000848481518110610e4657610e466135fc565b6020026020010151815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550818181518110610e8857610e886135fc565b602002602001015160186000848481518110610ea657610ea66135fc565b60200260200101518152602001908152602001600020819055508080610ecb9061358b565b915050610df2565b50610ede3382612556565b50565b6002546001600160a01b03163314610f0b5760405162461bcd60e51b815260040161088e906133ea565b47600073974a394ea3d1eabdabb53aa0b102b8894f16c60b612710610f328461028a6134cc565b610f3c91906134b8565b604051600081818185875af1925050503d8060008114610f78576040519150601f19603f3d011682016040523d82523d6000602084013e610f7d565b606091505b5050905080610f8b57600080fd5b600033612710610f9d856124866134cc565b610fa791906134b8565b604051600081818185875af1925050503d8060008114610fe3576040519150601f19603f3d011682016040523d82523d6000602084013e610fe8565b606091505b5050905080610ae357600080fd5b6002546001600160a01b031633146110205760405162461bcd60e51b815260040161088e906133ea565b61ffff81166000908152601b6020526040902054610ede5760015b6105dc8161ffff1611610bba5761ffff8083166000908152601b60209081526040822080546001810182559083529120601082040180548484166002600f909416939093026101000a92830292909302199092161790558061109c81613569565b91505061103b565b610ae383838360405180602001604052806000815250611ee1565b3233146110de5760405162461bcd60e51b815260040161088e906133b3565b600e54610100900460ff166111355760405162461bcd60e51b815260206004820152601860248201527f50726573616c65206e6f74207374617274656420796574200000000000000000604482015260640161088e565b336000908152601560205260409020546002906111539083906134a0565b11156111a15760405162461bcd60e51b815260206004820152601c60248201527f596f752063616e6e6f7420636c61696d206d6f726520746f6b656e7300000000604482015260640161088e565b601054816011546111b291906134a0565b11156112005760405162461bcd60e51b815260206004820152601c60248201527f4e6f20746f6b656e73206c65667420746f20626520636c61696d656400000000604482015260640161088e565b80600f5461120e91906134cc565b3410156112675760405162461bcd60e51b815260206004820152602160248201527f4e6f7420656e6f75676820457468657220746f20636c61696d206120746f6b656044820152603760f91b606482015260840161088e565b33600090815260156020526040812080548392906112869084906134a0565b90915550506040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061130584848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601a549150849050612745565b6113425760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210283937b7b31760911b604482015260640161088e565b6000826001600160401b0381111561135c5761135c613612565b604051908082528060200260200182016040528015611385578160200160208202803683370190505b50905060005b8381101561146b576011600081546113a29061358b565b9190508190558282815181106113ba576113ba6135fc565b6020026020010181815250506000601760008484815181106113de576113de6135fc565b6020026020010151815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550818181518110611420576114206135fc565b60200260200101516018600084848151811061143e5761143e6135fc565b602002602001015181526020019081526020016000208190555080806114639061358b565b91505061138b565b506114763382612556565b5050505050565b6060600061148a83611c6d565b90506000816001600160401b038111156114a6576114a6613612565b6040519080825280602002602001820160405280156114cf578160200160208202803683370190505b509050600160005b83811080156114e857506105dc8211155b15611571576000828152600560205260409020546001600160a01b03161561155f57600061151583611bf6565b9050866001600160a01b0316816001600160a01b0316141561155d5782848381518110611544576115446135fc565b6020908102919091010152816115598161358b565b9250505b505b816115698161358b565b9250506114d7565b5090949350505050565b32331461159a5760405162461bcd60e51b815260040161088e906133b3565b600e5460ff166115e05760405162461bcd60e51b8152602060048201526011602482015270596f752061726520746f6f206561726c7960781b604482015260640161088e565b80600f546115ee91906134cc565b3410156116495760405162461bcd60e51b8152602060048201526024808201527f4e6f7420656e6f75676820457468657220746f20636c61696d2074686520746f6044820152636b656e7360e01b606482015260840161088e565b336000908152601660205260409020546004906116679083906134a0565b11156116b55760405162461bcd60e51b815260206004820152601c60248201527f596f752063616e6e6f7420636c61696d206d6f726520746f6b656e7300000000604482015260640161088e565b601054816011546116c691906134a0565b11156117145760405162461bcd60e51b815260206004820152601c60248201527f4e6f20746f6b656e73206c65667420746f20626520636c61696d656400000000604482015260640161088e565b6000816001600160401b0381111561172e5761172e613612565b604051908082528060200260200182016040528015611757578160200160208202803683370190505b503360009081526016602052604081208054929350849290919061177c9084906134a0565b90915550600090505b828110156118655760116000815461179c9061358b565b9190508190558282815181106117b4576117b46135fc565b6020026020010181815250506000601760008484815181106117d8576117d86135fc565b6020026020010151815260200190815260200160002060006101000a81548161ffff021916908361ffff16021790555081818151811061181a5761181a6135fc565b602002602001015160186000848481518110611838576118386135fc565b6020026020010151815260200190815260200160002081905550808061185d9061358b565b915050611785565b50610bba3382612556565b32331461188f5760405162461bcd60e51b815260040161088e906133b3565b600e5460ff166118d55760405162461bcd60e51b8152602060048201526011602482015270596f752061726520746f6f206561726c7960781b604482015260640161088e565b336118df82611bf6565b6001600160a01b0316146119415760405162461bcd60e51b815260206004820152602360248201527f596f7520617265206e6f7420746865206f776e6572206f66207468697320746f60448201526235b2b760e91b606482015260840161088e565b60145460008281526017602052604090205461ffff9182169116106119b75760405162461bcd60e51b815260206004820152602660248201527f596f7520617265206e6f7420656c696769626c6520666f722063757272656e7460448201526520737461676560d01b606482015260840161088e565b6000818152600d602052604090205460ff1615611a165760405162461bcd60e51b815260206004820152601a60248201527f596f7520686176652072657175657374656420616c7265616479000000000000604482015260640161088e565b60145461ffff166000908152601b602052604090205460011115611a7c5760405162461bcd60e51b815260206004820152601960248201527f73776170696e6720706670206e6f7420617661696c61626c6500000000000000604482015260640161088e565b60008181526017602052604090205461ffff1615611ae657600f54341015611ae65760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f75676820457468657220746f20737761702074686520504650604482015260640161088e565b600954600a54600b546040516305d3b1d360e41b81526004810192909252600160a01b83046001600160401b031660248301526003604483015263ffffffff166064820152600160848201526000916001600160a01b031690635d3b1d309060a401602060405180830381600087803b158015611b6257600080fd5b505af1158015611b76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9a9190613094565b6000908152600c60209081526040808320859055938252600d905291909120805460ff1916600117905550565b6002546001600160a01b03163314611bf15760405162461bcd60e51b815260040161088e906133ea565b600f55565b6000818152600560205260408120546001600160a01b03168061085e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161088e565b60006001600160a01b038216611cd85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161088e565b506001600160a01b031660009081526006602052604090205490565b6002546001600160a01b03163314611d1e5760405162461bcd60e51b815260040161088e906133ea565b6002546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600280546001600160a01b0319169055565b6002546001600160a01b03163314611d925760405162461bcd60e51b815260040161088e906133ea565b610bba828261275b565b6002546001600160a01b03163314611dc65760405162461bcd60e51b815260040161088e906133ea565b601a55565b6002546001600160a01b03163314611df55760405162461bcd60e51b815260040161088e906133ea565b6014805461ffff191661ffff92909216919091179055565b6060600480546108ba9061352e565b6001600160a01b038216331415611e755760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161088e565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611eeb33836122bf565b611f075760405162461bcd60e51b815260040161088e9061341f565b611f1384848484612858565b50505050565b6000818152600560205260409020546060906001600160a01b0316611f985760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161088e565b60008281526017602090815260408083205461ffff16835260198252808320858452601890925290912054611fcc9061288b565b604051602001611fdd929190613226565b6040516020818303038152906040529050919050565b6002546001600160a01b0316331461201d5760405162461bcd60e51b815260040161088e906133ea565b600e805461ff001981166101009182900460ff1615909102179055565b6002546001600160a01b031633146120645760405162461bcd60e51b815260040161088e906133ea565b6001600160a01b0381166120c95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161088e565b6002546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600280546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b0316331461214f5760405162461bcd60e51b815260040161088e906133ea565b600980546001600160401b03909416600160a01b0267ffffffffffffffff60a01b1990941693909317909255600a55600b805463ffffffff90921663ffffffff19909216919091179055565b60006001600160e01b0319821663152a902d60e11b148061085e57506301ffc9a760e01b6001600160e01b031983161461085e565b600081815260076020526040902080546001600160a01b0319166001600160a01b038416908117909155819061220582611bf6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000828152600c60205260408120546014548351919261227b9261ffff9092169185919061226e5761226e6135fc565b6020026020010151612988565b60009182526018602090815260408084209290925560145460178252828420805461ffff191661ffff909216919091179055600d90529020805460ff191690555050565b6000818152600560205260408120546001600160a01b03166123385760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161088e565b600061234383611bf6565b9050806001600160a01b0316846001600160a01b0316148061237e5750836001600160a01b03166123738461093d565b6001600160a01b0316145b806123ae57506001600160a01b0380821660009081526008602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166123c982611bf6565b6001600160a01b0316146124315760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161088e565b6001600160a01b0382166124935760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161088e565b61249e6000826121d0565b6001600160a01b03831660009081526006602052604081208054600192906124c79084906134eb565b90915550506001600160a01b03821660009081526006602052604081208054600192906124f59084906134a0565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166125ac5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161088e565b80516001600160a01b038316600090815260066020526040812080549091906125d69084906134a0565b90915550600090505b8151811015610ae3576126228282815181106125fd576125fd6135fc565b60200260200101516000908152600560205260409020546001600160a01b0316151590565b1561266f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161088e565b612687600084848481518110611f1357611f136135fc565b826005600084848151811061269e5761269e6135fc565b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508181815181106126ea576126ea6135fc565b6020026020010151836001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48061273d8161358b565b9150506125df565b6000826127528584612b02565b14949350505050565b6127106001600160601b03821611156127c95760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840161088e565b6001600160a01b03821661281f5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640161088e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6128638484846123b6565b61286f84848484612b76565b611f135760405162461bcd60e51b815260040161088e90613361565b6060816128af5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128d957806128c38161358b565b91506128d29050600a836134b8565b91506128b3565b6000816001600160401b038111156128f3576128f3613612565b6040519080825280601f01601f19166020018201604052801561291d576020820181803683370190505b5090505b84156123ae576129326001836134eb565b915061293f600a866135a6565b61294a9060306134a0565b60f81b81838151811061295f5761295f6135fc565b60200101906001600160f81b031916908160001a905350612981600a866134b8565b9450612921565b61ffff82166000908152601b602052604081205481906129a890846135a6565b61ffff85166000908152601b6020526040812080549293509091839081106129d2576129d26135fc565b6000918252602080832060108304015461ffff8981168552601b90925260409093208054600f9093166002026101000a909304169250612a14906001906134eb565b81548110612a2457612a246135fc565b90600052602060002090601091828204019190066002029054906101000a900461ffff16601b60008761ffff1661ffff1681526020019081526020016000208381548110612a7457612a746135fc565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550601b60008661ffff1661ffff168152602001908152602001600020805480612acd57612acd6135e6565b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a0219169055905591505092915050565b600081815b8451811015612b6e576000858281518110612b2457612b246135fc565b60200260200101519050808311612b4a5760008381526020829052604090209250612b5b565b600081815260208490526040902092505b5080612b668161358b565b915050612b07565b509392505050565b60006001600160a01b0384163b15612c7857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612bba9033908990889088906004016132cd565b602060405180830381600087803b158015612bd457600080fd5b505af1925050508015612c04575060408051601f3d908101601f19168201909252612c0191810190612ffb565b60015b612c5e573d808015612c32576040519150601f19603f3d011682016040523d82523d6000602084013e612c37565b606091505b508051612c565760405162461bcd60e51b815260040161088e90613361565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506123ae565b506001949350505050565b828054612c8f9061352e565b90600052602060002090601f016020900481019282612cb15760008555612cf7565b82601f10612cca57805160ff1916838001178555612cf7565b82800160010185558215612cf7579182015b82811115612cf7578251825591602001919060010190612cdc565b50612d03929150612d07565b5090565b5b80821115612d035760008155600101612d08565b60006001600160401b03831115612d3557612d35613612565b612d48601f8401601f1916602001613470565b9050828152838383011115612d5c57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612d8a57600080fd5b919050565b803561ffff81168114612d8a57600080fd5b600060208284031215612db357600080fd5b612dbc82612d73565b9392505050565b60008060408385031215612dd657600080fd5b612ddf83612d73565b9150612ded60208401612d73565b90509250929050565b600080600060608486031215612e0b57600080fd5b612e1484612d73565b9250612e2260208501612d73565b9150604084013590509250925092565b60008060008060808587031215612e4857600080fd5b612e5185612d73565b9350612e5f60208601612d73565b92506040850135915060608501356001600160401b03811115612e8157600080fd5b8501601f81018713612e9257600080fd5b612ea187823560208401612d1c565b91505092959194509250565b60008060408385031215612ec057600080fd5b612ec983612d73565b915060208301358015158114612ede57600080fd5b809150509250929050565b60008060408385031215612efc57600080fd5b612f0583612d73565b946020939093013593505050565b60008060408385031215612f2657600080fd5b612f2f83612d73565b915060208301356001600160601b0381168114612ede57600080fd5b600080600060408486031215612f6057600080fd5b83356001600160401b0380821115612f7757600080fd5b818601915086601f830112612f8b57600080fd5b813581811115612f9a57600080fd5b8760208260051b8501011115612faf57600080fd5b6020928301989097509590910135949350505050565b600060208284031215612fd757600080fd5b5035919050565b600060208284031215612ff057600080fd5b8135612dbc81613628565b60006020828403121561300d57600080fd5b8151612dbc81613628565b60006020828403121561302a57600080fd5b612dbc82612d8f565b6000806040838503121561304657600080fd5b61304f83612d8f565b915060208301356001600160401b0381111561306a57600080fd5b8301601f8101851361307b57600080fd5b61308a85823560208401612d1c565b9150509250929050565b6000602082840312156130a657600080fd5b5051919050565b600080604083850312156130c057600080fd5b823591506020808401356001600160401b03808211156130df57600080fd5b818601915086601f8301126130f357600080fd5b81358181111561310557613105613612565b8060051b9150613116848301613470565b8181528481019084860184860187018b101561313157600080fd5b600095505b83861015613154578035835260019590950194918601918601613136565b508096505050505050509250929050565b6000806040838503121561317857600080fd5b50508035926020909101359150565b60008060006060848603121561319c57600080fd5b83356001600160401b03811681146131b357600080fd5b925060208401359150604084013563ffffffff811681146131d357600080fd5b809150509250925092565b600081518084526131f6816020860160208601613502565b601f01601f19169290920160200192915050565b6000815161321c818560208601613502565b9290920192915050565b600080845481600182811c91508083168061324257607f831692505b602080841082141561326257634e487b7160e01b86526022600452602486fd5b8180156132765760018114613287576132b4565b60ff198616895284890196506132b4565b60008b81526020902060005b868110156132ac5781548b820152908501908301613293565b505084890196505b5050505050506132c4818561320a565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613300908301846131de565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561334257835183529284019291840191600101613326565b50909695505050505050565b602081526000612dbc60208301846131de565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b038111828210171561349857613498613612565b604052919050565b600082198211156134b3576134b36135ba565b500190565b6000826134c7576134c76135d0565b500490565b60008160001904831182151516156134e6576134e66135ba565b500290565b6000828210156134fd576134fd6135ba565b500390565b60005b8381101561351d578181015183820152602001613505565b83811115611f135750506000910152565b600181811c9082168061354257607f821691505b6020821081141561356357634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415613581576135816135ba565b6001019392505050565b600060001982141561359f5761359f6135ba565b5060010190565b6000826135b5576135b56135d0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ede57600080fdfea2646970667358221220bfd2d217c435b24f3dcb2494a86e1d67471eb96c1a22c76aa392ec735a97b51464736f6c63430008070033

Deployed Bytecode Sourcemap

46063:10916:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28626:380;;;;;;;;;;-1:-1:-1;28626:380:0;;;;;:::i;:::-;;:::i;:::-;;;11660:14:1;;11653:22;11635:41;;11623:2;11608:18;28626:380:0;;;;;;;;48826:90;;;;;;;;;;;;;:::i;:::-;;29752:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;30819:274::-;;;;;;;;;;-1:-1:-1;30819:274:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;9733:32:1;;;9715:51;;9703:2;9688:18;30819:274:0;9569:203:1;30318:435:0;;;;;;;;;;-1:-1:-1;30318:435:0;;;;;:::i;:::-;;:::i;50241:145::-;;;;;;;;;;-1:-1:-1;50241:145:0;;;;;:::i;:::-;;:::i;51058:106::-;;;;;;;;;;-1:-1:-1;51139:17:0;;51058:106;;;11833:25:1;;;11821:2;11806:18;51058:106:0;11687:177:1;46455:45:0;;;;;;;;;;-1:-1:-1;46455:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;45750:306;;;;;;;;;;-1:-1:-1;45750:306:0;;;;;:::i;:::-;;:::i;50901:93::-;;;;;;;;;;-1:-1:-1;50976:10:0;;50901:93;;31812:376;;;;;;;;;;-1:-1:-1;31812:376:0;;;;;:::i;:::-;;:::i;15245:480::-;;;;;;;;;;-1:-1:-1;15245:480:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;10771:32:1;;;10753:51;;10835:2;10820:18;;10813:34;;;;10726:18;15245:480:0;10579:274:1;56336:640:0;;;;;;;;;;;;;:::i;47704:103::-;;;;;;;;;;;;;;;;49563:417;;;;;;;;;;;;;:::i;49307:248::-;;;;;;;;;;-1:-1:-1;49307:248:0;;;;;:::i;:::-;;:::i;32259:185::-;;;;;;;;;;-1:-1:-1;32259:185:0;;;;;:::i;:::-;;:::i;52838:1137::-;;;;;;:::i;:::-;;:::i;51995:775::-;;;;;;;;;;-1:-1:-1;51995:775:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;54043:863::-;;;;;;:::i;:::-;;:::i;54914:1005::-;;;;;;:::i;:::-;;:::i;48509:106::-;;;;;;;;;;-1:-1:-1;48509:106:0;;;;;:::i;:::-;;:::i;47136:32::-;;;;;;;;;;-1:-1:-1;47136:32:0;;;;;;;;;;;47383:30;;;;;;;;;;-1:-1:-1;47383:30:0;;;;;;;;;;;25555:6:1;25543:19;;;25525:38;;25513:2;25498:18;47383:30:0;25381:188:1;29393:292:0;;;;;;;;;;-1:-1:-1;29393:292:0;;;;;:::i;:::-;;:::i;29070:261::-;;;;;;;;;;-1:-1:-1;29070:261:0;;;;;:::i;:::-;;:::i;26761:148::-;;;;;;;;;;;;;:::i;48318:116::-;;;;;;;;;;-1:-1:-1;48318:116:0;;;;;:::i;:::-;;:::i;48670:94::-;;;;;;;;;;-1:-1:-1;48670:94:0;;;;;:::i;:::-;;:::i;49138:99::-;;;;;;;;;;-1:-1:-1;49138:99:0;;;;;:::i;:::-;;:::i;26110:87::-;;;;;;;;;;-1:-1:-1;26183:6:0;;-1:-1:-1;;;;;26183:6:0;26110:87;;29921:104;;;;;;;;;;;;;:::i;31165:320::-;;;;;;;;;;-1:-1:-1;31165:320:0;;;;;:::i;:::-;;:::i;32515:365::-;;;;;;;;;;-1:-1:-1;32515:365:0;;;;;:::i;:::-;;:::i;47551:44::-;;;;;;;;;;-1:-1:-1;47551:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;50394:444;;;;;;;;;;-1:-1:-1;50394:444:0;;;;;:::i;:::-;;:::i;48978:91::-;;;;;;;;;;;;;:::i;51863:124::-;;;;;;;;;;-1:-1:-1;51959:12:0;;;;51916:7;51943:29;;;:15;:29;;;;;:36;51863:124;;31556:189;;;;;;;;;;-1:-1:-1;31556:189:0;;;;;:::i;:::-;-1:-1:-1;;;;;31702:25:0;;;31678:4;31702:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31556:189;47099:30;;;;;;;;;;-1:-1:-1;47099:30:0;;;;;;;;27064:281;;;;;;;;;;-1:-1:-1;27064:281:0;;;;;:::i;:::-;;:::i;46627:232::-;;;;;;;;;;-1:-1:-1;46627:232:0;;;;;:::i;:::-;;:::i;46507:44::-;;;;;;;;;;-1:-1:-1;46507:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;28626:380;28745:4;-1:-1:-1;;;;;;28782:40:0;;-1:-1:-1;;;28782:40:0;;:105;;-1:-1:-1;;;;;;;28839:48:0;;-1:-1:-1;;;28839:48:0;28782:105;:163;;;-1:-1:-1;;;;;;;28904:41:0;;-1:-1:-1;;;28904:41:0;28782:163;:216;;;;28962:36;28986:11;28962:23;:36::i;:::-;28762:236;28626:380;-1:-1:-1;;28626:380:0:o;48826:90::-;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;;;;;;;;;48898:10:::1;::::0;;-1:-1:-1;;48884:24:0;::::1;48898:10;::::0;;::::1;48897:11;48884:24;::::0;;48826:90::o;29752:100::-;29806:13;29839:5;29832:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29752:100;:::o;30819:274::-;30911:7;34516:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34516:16:0;30931:110;;;;-1:-1:-1;;;30931:110:0;;20049:2:1;30931:110:0;;;20031:21:1;20088:2;20068:18;;;20061:30;20127:34;20107:18;;;20100:62;-1:-1:-1;;;20178:18:1;;;20171:42;20230:19;;30931:110:0;19847:408:1;30931:110:0;-1:-1:-1;31061:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31061:24:0;;30819:274::o;30318:435::-;30399:13;30415:23;30430:7;30415:14;:23::i;:::-;30399:39;;30463:5;-1:-1:-1;;;;;30457:11:0;:2;-1:-1:-1;;;;;30457:11:0;;;30449:57;;;;-1:-1:-1;;;30449:57:0;;22405:2:1;30449:57:0;;;22387:21:1;22444:2;22424:18;;;22417:30;22483:34;22463:18;;;22456:62;-1:-1:-1;;;22534:18:1;;;22527:31;22575:19;;30449:57:0;22203:397:1;30449:57:0;4383:10;-1:-1:-1;;;;;30541:21:0;;;;:86;;-1:-1:-1;30583:44:0;30607:5;4383:10;31556:189;:::i;30583:44::-;30519:192;;;;-1:-1:-1;;;30519:192:0;;17689:2:1;30519:192:0;;;17671:21:1;17728:2;17708:18;;;17701:30;17767:34;17747:18;;;17740:62;17838:26;17818:18;;;17811:54;17882:19;;30519:192:0;17487:420:1;30519:192:0;30724:21;30733:2;30737:7;30724:8;:21::i;:::-;30388:365;30318:435;;:::o;50241:145::-;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;50356:15:::1;::::0;::::1;;::::0;;;:7:::1;:15;::::0;;;;;;;:22;;::::1;::::0;;::::1;::::0;::::1;:::i;45750:306::-:0;45879:10;-1:-1:-1;;;;;45893:14:0;45879:28;;45875:121;;45931:53;;-1:-1:-1;;;45931:53:0;;45957:10;45931:53;;;9989:34:1;-1:-1:-1;;;;;45969:14:0;10059:15:1;10039:18;;;10032:43;9924:18;;45931:53:0;9777:304:1;45875:121:0;46006:42;46025:9;46036:11;46006:18;:42::i;:::-;45750:306;;:::o;31812:376::-;32021:41;4383:10;32054:7;32021:18;:41::i;:::-;31999:140;;;;-1:-1:-1;;;31999:140:0;;;;;;;:::i;:::-;32152:28;32162:4;32168:2;32172:7;32152:9;:28::i;15245:480::-;15367:7;15425:27;;;:17;:27;;;;;;;;15396:56;;;;;;;;;-1:-1:-1;;;;;15396:56:0;;;;;-1:-1:-1;;;15396:56:0;;;-1:-1:-1;;;;;15396:56:0;;;;;;;;15367:7;;15465:92;;-1:-1:-1;15516:29:0;;;;;;;;;-1:-1:-1;15516:29:0;-1:-1:-1;;;;;15516:29:0;;;;-1:-1:-1;;;15516:29:0;;-1:-1:-1;;;;;15516:29:0;;;;;15465:92;15607:23;;;;15569:21;;16091:5;;15594:36;;-1:-1:-1;;;;;15594:36:0;:10;:36;:::i;:::-;15593:71;;;;:::i;:::-;15685:16;;;;;-1:-1:-1;15245:480:0;;-1:-1:-1;;;;15245:480:0:o;56336:640::-;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;56437:11:::1;::::0;56411:17:::1;::::0;:22:::1;::::0;56431:2:::1;56411:22;:::i;:::-;:37;;56389:112;;;::::0;-1:-1:-1;;;56389:112:0;;25229:2:1;56389:112:0::1;::::0;::::1;25211:21:1::0;25268:2;25248:18;;;25241:30;25307:27;25287:18;;;25280:55;25352:18;;56389:112:0::1;25027:349:1::0;56389:112:0::1;56550:7;::::0;56534:13:::1;::::0;56550:7:::1;::::0;;::::1;-1:-1:-1::0;56512:134:0::1;;;::::0;-1:-1:-1;;;56512:134:0;;24041:2:1;56512:134:0::1;::::0;::::1;24023:21:1::0;24080:2;24060:18;;;24053:30;24119:34;24099:18;;;24092:62;24190:31;24170:18;;;24163:59;24239:19;;56512:134:0::1;23839:425:1::0;56512:134:0::1;56685:17;::::0;;56699:2:::1;56685:17:::0;;;;;::::1;::::0;;;56657:25:::1;::::0;56685:17:::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;56685:17:0::1;56657:45;;56730:2;56713:13;;:19;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;56750:9:0::1;::::0;-1:-1:-1;56745:181:0::1;56765:2;56761:1;:6;56745:181;;;56805:17;;56803:19;;;;;:::i;:::-;;;;;;;56789:8;56798:1;56789:11;;;;;;;;:::i;:::-;;;;;;:33;;;::::0;::::1;56863:1;56837:10;:23;56848:8;56857:1;56848:11;;;;;;;;:::i;:::-;;;;;;;56837:23;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;56903:8;56912:1;56903:11;;;;;;;;:::i;:::-;;;;;;;56879:8;:21;56888:8;56897:1;56888:11;;;;;;;;:::i;:::-;;;;;;;56879:21;;;;;;;;;;;:35;;;;56769:3;;;;;:::i;:::-;;;;56745:181;;;;56936:32;56947:10;56959:8;56936:10;:32::i;:::-;56378:598;56336:640::o:0;49563:417::-;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;49636:21:::1;49613:20;49695:42;49788:5;49766:18;49636:21:::0;49781:3:::1;49766:18;:::i;:::-;49765:28;;;;:::i;:::-;49687:111;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49670:128;;;49817:5;49809:14;;;::::0;::::1;;49837:12;49863:10;49925:5;49902:19;:12:::0;49917:4:::1;49902:19;:::i;:::-;49901:29;;;;:::i;:::-;49855:90;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49836:109;;;49964:7;49956:16;;;::::0;::::1;49307:248:::0;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;49384:23:::1;::::0;::::1;;::::0;;;:15:::1;:23;::::0;;;;:30;49380:168:::1;;49452:1;49436:101;49460:4;49455:1;:9;;;49436:101;;49490:23;::::0;;::::1;;::::0;;;:15:::1;:23;::::0;;;;;;:31;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;::::1;;::::0;;;;::::1;;::::0;;;;;;;::::1;;;::::0;;::::1;::::0;;;::::1;;::::0;;::::1;;::::0;;49519:1;49466:3:::1;49519:1:::0;49466:3:::1;:::i;:::-;;;;49436:101;;32259:185:::0;32397:39;32414:4;32420:2;32424:7;32397:39;;;;;;;;;;;;:16;:39::i;52838:1137::-;46910:9;46923:10;46910:23;46902:66;;;;-1:-1:-1;;;46902:66:0;;;;;;;:::i;:::-;52990:12:::1;::::0;::::1;::::0;::::1;;;52982:49;;;::::0;-1:-1:-1;;;52982:49:0;;13210:2:1;52982:49:0::1;::::0;::::1;13192:21:1::0;13249:2;13229:18;;;13222:30;13288:26;13268:18;;;13261:54;13332:18;;52982:49:0::1;13008:348:1::0;52982:49:0::1;53085:10;53064:32;::::0;;;:20:::1;:32;::::0;;;;;53109:1:::1;::::0;53064:41:::1;::::0;53099:6;;53064:41:::1;:::i;:::-;:46;;53042:124;;;::::0;-1:-1:-1;;;53042:124:0;;16217:2:1;53042:124:0::1;::::0;::::1;16199:21:1::0;16256:2;16236:18;;;16229:30;16295;16275:18;;;16268:58;16343:18;;53042:124:0::1;16015:352:1::0;53042:124:0::1;53229:11;;53219:6;53199:17;;:26;;;;:::i;:::-;:41;;53177:119;;;::::0;-1:-1:-1;;;53177:119:0;;13982:2:1;53177:119:0::1;::::0;::::1;13964:21:1::0;14021:2;14001:18;;;13994:30;14060;14040:18;;;14033:58;14108:18;;53177:119:0::1;13780:352:1::0;53177:119:0::1;53355:6;53342:10;;:19;;;;:::i;:::-;53329:9;:32;;53307:115;;;::::0;-1:-1:-1;;;53307:115:0;;20462:2:1;53307:115:0::1;::::0;::::1;20444:21:1::0;20501:2;20481:18;;;20474:30;20540:34;20520:18;;;20513:62;-1:-1:-1;;;20591:18:1;;;20584:31;20632:19;;53307:115:0::1;20260:397:1::0;53307:115:0::1;53456:10;53435:32;::::0;;;:20:::1;:32;::::0;;;;:42;;53471:6;;53435:32;:42:::1;::::0;53471:6;;53435:42:::1;:::i;:::-;::::0;;;-1:-1:-1;;53513:28:0::1;::::0;-1:-1:-1;;53530:10:0::1;8095:2:1::0;8091:15;8087:53;53513:28:0::1;::::0;::::1;8075:66:1::0;53488:12:0::1;::::0;8157::1;;53513:28:0::1;;;;;;;;;;;;53503:39;;;;;;53488:54;;53575:50;53594:12;;53575:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;53608:10:0::1;::::0;;-1:-1:-1;53620:4:0;;-1:-1:-1;53575:18:0::1;:50::i;:::-;53553:114;;;::::0;-1:-1:-1;;;53553:114:0;;16987:2:1;53553:114:0::1;::::0;::::1;16969:21:1::0;17026:2;17006:18;;;16999:30;-1:-1:-1;;;17045:18:1;;;17038:44;17099:18;;53553:114:0::1;16785:338:1::0;53553:114:0::1;53678:25;53720:6;-1:-1:-1::0;;;;;53706:21:0::1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;53706:21:0::1;;53678:49;;53743:9;53738:185;53758:6;53754:1;:10;53738:185;;;53802:17;;53800:19;;;;;:::i;:::-;;;;;;;53786:8;53795:1;53786:11;;;;;;;;:::i;:::-;;;;;;:33;;;::::0;::::1;53860:1;53834:10;:23;53845:8;53854:1;53845:11;;;;;;;;:::i;:::-;;;;;;;53834:23;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;53900:8;53909:1;53900:11;;;;;;;;:::i;:::-;;;;;;;53876:8;:21;53885:8;53894:1;53885:11;;;;;;;;:::i;:::-;;;;;;;53876:21;;;;;;;;;;;:35;;;;53766:3;;;;;:::i;:::-;;;;53738:185;;;;53935:32;53946:10;53958:8;53935:10;:32::i;:::-;52971:1004;;52838:1137:::0;;;:::o;51995:775::-;52071:16;52100:23;52126:17;52136:6;52126:9;:17::i;:::-;52100:43;;52154:30;52201:15;-1:-1:-1;;;;;52187:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52187:30:0;-1:-1:-1;52154:63:0;-1:-1:-1;52253:1:0;52228:22;52305:425;52330:15;52312;:33;:59;;;;;52367:4;52349:14;:22;;52312:59;52305:425;;;34492:4;34516:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34516:16:0;:30;52388:300;;52436:25;52464:23;52472:14;52464:7;:23::i;:::-;52436:51;;52533:6;-1:-1:-1;;;;;52512:27:0;:17;-1:-1:-1;;;;;52512:27:0;;52508:165;;;52597:14;52564:13;52578:15;52564:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;52636:17;;;;:::i;:::-;;;;52508:165;52417:271;52388:300;52702:16;;;;:::i;:::-;;;;52305:425;;;-1:-1:-1;52749:13:0;;51995:775;-1:-1:-1;;;;51995:775:0:o;54043:863::-;46910:9;46923:10;46910:23;46902:66;;;;-1:-1:-1;;;46902:66:0;;;;;;;:::i;:::-;47039:10:::1;::::0;::::1;;47031:40;;;::::0;-1:-1:-1;;;47031:40:0;;18114:2:1;47031:40:0::1;::::0;::::1;18096:21:1::0;18153:2;18133:18;;;18126:30;-1:-1:-1;;;18172:18:1;;;18165:47;18229:18;;47031:40:0::1;17912:341:1::0;47031:40:0::1;54198:6:::2;54185:10;;:19;;;;:::i;:::-;54172:9;:32;;54150:118;;;::::0;-1:-1:-1;;;54150:118:0;;22807:2:1;54150:118:0::2;::::0;::::2;22789:21:1::0;22846:2;22826:18;;;22819:30;22885:34;22865:18;;;22858:62;-1:-1:-1;;;22936:18:1;;;22929:34;22980:19;;54150:118:0::2;22605:400:1::0;54150:118:0::2;54325:10;54301:35;::::0;;;:23:::2;:35;::::0;;;;;54349:1:::2;::::0;54301:44:::2;::::0;54339:6;;54301:44:::2;:::i;:::-;:49;;54279:127;;;::::0;-1:-1:-1;;;54279:127:0;;16217:2:1;54279:127:0::2;::::0;::::2;16199:21:1::0;16256:2;16236:18;;;16229:30;16295;16275:18;;;16268:58;16343:18;;54279:127:0::2;16015:352:1::0;54279:127:0::2;54469:11;;54459:6;54439:17;;:26;;;;:::i;:::-;:41;;54417:119;;;::::0;-1:-1:-1;;;54417:119:0;;13982:2:1;54417:119:0::2;::::0;::::2;13964:21:1::0;14021:2;14001:18;;;13994:30;14060;14040:18;;;14033:58;14108:18;;54417:119:0::2;13780:352:1::0;54417:119:0::2;54549:25;54591:6;-1:-1:-1::0;;;;;54577:21:0::2;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;54577:21:0::2;-1:-1:-1::0;54635:10:0::2;54611:35;::::0;;;:23:::2;:35;::::0;;;;:45;;54549:49;;-1:-1:-1;54650:6:0;;54611:35;;;:45:::2;::::0;54650:6;;54611:45:::2;:::i;:::-;::::0;;;-1:-1:-1;54674:9:0::2;::::0;-1:-1:-1;54669:185:0::2;54689:6;54685:1;:10;54669:185;;;54733:17;;54731:19;;;;;:::i;:::-;;;;;;;54717:8;54726:1;54717:11;;;;;;;;:::i;:::-;;;;;;:33;;;::::0;::::2;54791:1;54765:10;:23;54776:8;54785:1;54776:11;;;;;;;;:::i;:::-;;;;;;;54765:23;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;54831:8;54840:1;54831:11;;;;;;;;:::i;:::-;;;;;;;54807:8;:21;54816:8;54825:1;54816:11;;;;;;;;:::i;:::-;;;;;;;54807:21;;;;;;;;;;;:35;;;;54697:3;;;;;:::i;:::-;;;;54669:185;;;;54866:32;54877:10;54889:8;54866:10;:32::i;54914:1005::-:0;46910:9;46923:10;46910:23;46902:66;;;;-1:-1:-1;;;46902:66:0;;;;;;;:::i;:::-;47039:10:::1;::::0;::::1;;47031:40;;;::::0;-1:-1:-1;;;47031:40:0;;18114:2:1;47031:40:0::1;::::0;::::1;18096:21:1::0;18153:2;18133:18;;;18126:30;-1:-1:-1;;;18172:18:1;;;18165:47;18229:18;;47031:40:0::1;17912:341:1::0;47031:40:0::1;55038:10:::2;55022:12;55030:3:::0;55022:7:::2;:12::i;:::-;-1:-1:-1::0;;;;;55022:26:0::2;;55000:111;;;::::0;-1:-1:-1;;;55000:111:0;;24471:2:1;55000:111:0::2;::::0;::::2;24453:21:1::0;24510:2;24490:18;;;24483:30;24549:34;24529:18;;;24522:62;-1:-1:-1;;;24600:18:1;;;24593:33;24643:19;;55000:111:0::2;24269:399:1::0;55000:111:0::2;55162:12;::::0;::::2;55144:15:::0;;;:10:::2;:15;::::0;;;;;55162:12:::2;::::0;;::::2;55144:15:::0;::::2;:30;55122:118;;;::::0;-1:-1:-1;;;55122:118:0;;19281:2:1;55122:118:0::2;::::0;::::2;19263:21:1::0;19320:2;19300:18;;;19293:30;19359:34;19339:18;;;19332:62;-1:-1:-1;;;19410:18:1;;;19403:36;19456:19;;55122:118:0::2;19079:402:1::0;55122:118:0::2;55259:17;::::0;;;:12:::2;:17;::::0;;;;;::::2;;:26;55251:65;;;::::0;-1:-1:-1;;;55251:65:0;;15103:2:1;55251:65:0::2;::::0;::::2;15085:21:1::0;15142:2;15122:18;;;15115:30;15181:28;15161:18;;;15154:56;15227:18;;55251:65:0::2;14901:350:1::0;55251:65:0::2;55365:12;::::0;::::2;;55349:29;::::0;;;:15:::2;:29;::::0;;;;:36;55389:1:::2;-1:-1:-1::0;55349:41:0::2;55327:116;;;::::0;-1:-1:-1;;;55327:116:0;;22051:2:1;55327:116:0::2;::::0;::::2;22033:21:1::0;22090:2;22070:18;;;22063:30;22129:27;22109:18;;;22102:55;22174:18;;55327:116:0::2;21849:349:1::0;55327:116:0::2;55476:1;55458:15:::0;;;:10:::2;:15;::::0;;;;;::::2;;:19:::0;55454:169:::2;;55533:10;;55520:9;:23;;55494:117;;;::::0;-1:-1:-1;;;55494:117:0;;12849:2:1;55494:117:0::2;::::0;::::2;12831:21:1::0;;;12868:18;;;12861:30;12927:34;12907:18;;;12900:62;12979:18;;55494:117:0::2;12647:356:1::0;55494:117:0::2;55655:11;::::0;55700:9:::2;::::0;55791:18:::2;::::0;55655:181:::2;::::0;-1:-1:-1;;;55655:181:0;;::::2;::::0;::::2;12129:25:1::0;;;;-1:-1:-1;;;55724:16:0;::::2;-1:-1:-1::0;;;;;55724:16:0::2;12170:18:1::0;;;12163:59;46447:1:0::2;12238:18:1::0;;;12231:47;55791:18:0::2;;12323::1::0;;;12316:43;55655:11:0;12375:19:1;;;12368:44;55633:19:0::2;::::0;-1:-1:-1;;;;;55655:11:0::2;::::0;:30:::2;::::0;12101:19:1;;55655:181:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55847:23;::::0;;;:10:::2;:23;::::0;;;;;;;:29;;;55887:17;;;:12:::2;:17:::0;;;;;;:24;;-1:-1:-1;;55887:24:0::2;55907:4;55887:24;::::0;;-1:-1:-1;54914:1005:0:o;48509:106::-;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;48583:10:::1;:24:::0;48509:106::o;29393:292::-;29481:7;29517:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29517:16:0;29566:19;29544:110;;;;-1:-1:-1;;;29544:110:0;;18871:2:1;29544:110:0;;;18853:21:1;18910:2;18890:18;;;18883:30;18949:34;18929:18;;;18922:62;-1:-1:-1;;;19000:18:1;;;18993:39;19049:19;;29544:110:0;18669:405:1;29070:261:0;29158:7;-1:-1:-1;;;;;29200:19:0;;29178:111;;;;-1:-1:-1;;;29178:111:0;;18460:2:1;29178:111:0;;;18442:21:1;18499:2;18479:18;;;18472:30;18538:34;18518:18;;;18511:62;-1:-1:-1;;;18589:18:1;;;18582:40;18639:19;;29178:111:0;18258:406:1;29178:111:0;-1:-1:-1;;;;;;29307:16:0;;;;;:9;:16;;;;;;;29070:261::o;26761:148::-;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;26852:6:::1;::::0;26831:40:::1;::::0;26868:1:::1;::::0;-1:-1:-1;;;;;26852:6:0::1;::::0;26831:40:::1;::::0;26868:1;;26831:40:::1;26882:6;:19:::0;;-1:-1:-1;;;;;;26882:19:0::1;::::0;;26761:148::o;48318:116::-;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;48397:29:::1;48416:4;48422:3;48397:18;:29::i;48670:94::-:0;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;48738:10:::1;:18:::0;48670:94::o;49138:99::-;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;49208:12:::1;:21:::0;;-1:-1:-1;;49208:21:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;49138:99::o;29921:104::-;29977:13;30010:7;30003:14;;;;;:::i;31165:320::-;-1:-1:-1;;;;;31293:24:0;;4383:10;31293:24;;31285:62;;;;-1:-1:-1;;;31285:62:0;;15863:2:1;31285:62:0;;;15845:21:1;15902:2;15882:18;;;15875:30;15941:27;15921:18;;;15914:55;15986:18;;31285:62:0;15661:349:1;31285:62:0;4383:10;31360:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;31360:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;31360:53:0;;;;;;;;;;31429:48;;11635:41:1;;;31360:42:0;;4383:10;31429:48;;11608:18:1;31429:48:0;;;;;;;31165:320;;:::o;32515:365::-;32704:41;4383:10;32737:7;32704:18;:41::i;:::-;32682:140;;;;-1:-1:-1;;;32682:140:0;;;;;;;:::i;:::-;32833:39;32847:4;32853:2;32857:7;32866:5;32833:13;:39::i;:::-;32515:365;;;;:::o;50394:444::-;34492:4;34516:16;;;:7;:16;;;;;;50483:13;;-1:-1:-1;;;;;34516:16:0;50509:113;;;;-1:-1:-1;;;50509:113:0;;21635:2:1;50509:113:0;;;21617:21:1;21674:2;21654:18;;;21647:30;21713:34;21693:18;;;21686:62;-1:-1:-1;;;21764:18:1;;;21757:45;21819:19;;50509:113:0;21433:411:1;50509:113:0;50717:28;50725:19;;;:10;:19;;;;;;;;;;;50717:28;;:7;:28;;;;;50768:17;;;:8;:17;;;;;;;:28;;:26;:28::i;:::-;50678:137;;;;;;;;;:::i;:::-;;;;;;;;;;;;;50633:197;;50394:444;;;:::o;48978:91::-;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;49049:12:::1;::::0;;-1:-1:-1;;49033:28:0;::::1;49049:12;::::0;;;::::1;;;49048:13;49033:28:::0;;::::1;;::::0;;48978:91::o;27064:281::-;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27167:22:0;::::1;27145:110;;;::::0;-1:-1:-1;;;27145:110:0;;14339:2:1;27145:110:0::1;::::0;::::1;14321:21:1::0;14378:2;14358:18;;;14351:30;14417:34;14397:18;;;14390:62;-1:-1:-1;;;14468:18:1;;;14461:36;14514:19;;27145:110:0::1;14137:402:1::0;27145:110:0::1;27292:6;::::0;27271:38:::1;::::0;-1:-1:-1;;;;;27271:38:0;;::::1;::::0;27292:6:::1;::::0;27271:38:::1;::::0;27292:6:::1;::::0;27271:38:::1;27320:6;:17:::0;;-1:-1:-1;;;;;;27320:17:0::1;-1:-1:-1::0;;;;;27320:17:0;;;::::1;::::0;;;::::1;::::0;;27064:281::o;46627:232::-;26183:6;;-1:-1:-1;;;;;26183:6:0;4383:10;26330:23;26322:68;;;;-1:-1:-1;;;26322:68:0;;;;;;;:::i;:::-;46759:16:::1;:22:::0;;-1:-1:-1;;;;;46759:22:0;;::::1;-1:-1:-1::0;;;46759:22:0::1;-1:-1:-1::0;;;;46759:22:0;;::::1;::::0;;;::::1;::::0;;;46792:9:::1;:19:::0;46822:18:::1;:29:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;46822:29:0;;::::1;::::0;;;::::1;::::0;;46627:232::o;14933:257::-;15051:4;-1:-1:-1;;;;;;15088:41:0;;-1:-1:-1;;;15088:41:0;;:94;;-1:-1:-1;;;;;;;;;;1707:40:0;;;15146:36;1582:173;39083:174;39158:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;39158:29:0;-1:-1:-1;;;;;39158:29:0;;;;;;;;:24;;39212:23;39158:24;39212:14;:23::i;:::-;-1:-1:-1;;;;;39203:46:0;;;;;;;;;;;39083:174;;:::o;55927:327::-;56058:11;56072:21;;;:10;:21;;;;;;56140:12;;56154:14;;56072:21;;56120:49;;56140:12;;;;;56154:11;;56058;56154:14;;;;:::i;:::-;;;;;;;56120:19;:49::i;:::-;56104:13;;;;:8;:13;;;;;;;;:65;;;;56198:12;;56180:10;:15;;;;;:30;;-1:-1:-1;;56180:30:0;56198:12;;;;56180:30;;;;;;56221:12;:17;;;;:25;;-1:-1:-1;;56221:25:0;;;-1:-1:-1;;55927:327:0:o;34721:443::-;34839:4;34516:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34516:16:0;34856:110;;;;-1:-1:-1;;;34856:110:0;;16574:2:1;34856:110:0;;;16556:21:1;16613:2;16593:18;;;16586:30;16652:34;16632:18;;;16625:62;-1:-1:-1;;;16703:18:1;;;16696:42;16755:19;;34856:110:0;16372:408:1;34856:110:0;34977:13;34993:23;35008:7;34993:14;:23::i;:::-;34977:39;;35046:5;-1:-1:-1;;;;;35035:16:0;:7;-1:-1:-1;;;;;35035:16:0;;:64;;;;35092:7;-1:-1:-1;;;;;35068:31:0;:20;35080:7;35068:11;:20::i;:::-;-1:-1:-1;;;;;35068:31:0;;35035:64;:120;;;-1:-1:-1;;;;;;31702:25:0;;;31678:4;31702:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;35116:39;35027:129;34721:443;-1:-1:-1;;;;34721:443:0:o;38350:615::-;38523:4;-1:-1:-1;;;;;38496:31:0;:23;38511:7;38496:14;:23::i;:::-;-1:-1:-1;;;;;38496:31:0;;38474:122;;;;-1:-1:-1;;;38474:122:0;;21225:2:1;38474:122:0;;;21207:21:1;21264:2;21244:18;;;21237:30;21303:34;21283:18;;;21276:62;-1:-1:-1;;;21354:18:1;;;21347:39;21403:19;;38474:122:0;21023:405:1;38474:122:0;-1:-1:-1;;;;;38615:16:0;;38607:65;;;;-1:-1:-1;;;38607:65:0;;15458:2:1;38607:65:0;;;15440:21:1;15497:2;15477:18;;;15470:30;15536:34;15516:18;;;15509:62;-1:-1:-1;;;15587:18:1;;;15580:34;15631:19;;38607:65:0;15256:400:1;38607:65:0;38789:29;38806:1;38810:7;38789:8;:29::i;:::-;-1:-1:-1;;;;;38831:15:0;;;;;;:9;:15;;;;;:20;;38850:1;;38831:15;:20;;38850:1;;38831:20;:::i;:::-;;;;-1:-1:-1;;;;;;;38862:13:0;;;;;;:9;:13;;;;;:18;;38879:1;;38862:13;:18;;38879:1;;38862:18;:::i;:::-;;;;-1:-1:-1;;38891:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;38891:21:0;-1:-1:-1;;;;;38891:21:0;;;;;;;;;38930:27;;38891:16;;38930:27;;;;;;;38350:615;;;:::o;36890:534::-;-1:-1:-1;;;;;37010:16:0;;37002:61;;;;-1:-1:-1;;;37002:61:0;;19688:2:1;37002:61:0;;;19670:21:1;;;19707:18;;;19700:30;19766:34;19746:18;;;19739:62;19818:18;;37002:61:0;19486:356:1;37002:61:0;37091:15;;-1:-1:-1;;;;;37074:13:0;;;;;;:9;:13;;;;;:32;;:13;;;:32;;37091:15;;37074:32;:::i;:::-;;;;-1:-1:-1;37124:9:0;;-1:-1:-1;37119:298:0;37139:8;:15;37135:1;:19;37119:298;;;37185:20;37193:8;37202:1;37193:11;;;;;;;;:::i;:::-;;;;;;;34492:4;34516:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34516:16:0;:30;;;34427:127;37185:20;37184:21;37176:62;;;;-1:-1:-1;;;37176:62:0;;14746:2:1;37176:62:0;;;14728:21:1;14785:2;14765:18;;;14758:30;14824;14804:18;;;14797:58;14872:18;;37176:62:0;14544:352:1;37176:62:0;37255:49;37284:1;37288:2;37292:8;37301:1;37292:11;;;;;;;;:::i;37255:49::-;37344:2;37321:7;:20;37329:8;37338:1;37329:11;;;;;;;;:::i;:::-;;;;;;;37321:20;;;;;;;;;;;;:25;;;;;-1:-1:-1;;;;;37321:25:0;;;;;-1:-1:-1;;;;;37321:25:0;;;;;;37393:8;37402:1;37393:11;;;;;;;;:::i;:::-;;;;;;;37389:2;-1:-1:-1;;;;;37368:37:0;37385:1;-1:-1:-1;;;;;37368:37:0;;;;;;;;;;;37156:3;;;;:::i;:::-;;;;37119:298;;42653:190;42778:4;42831;42802:25;42815:5;42822:4;42802:12;:25::i;:::-;:33;;42653:190;-1:-1:-1;;;;42653:190:0:o;16375:394::-;16091:5;-1:-1:-1;;;;;16517:33:0;;;;16495:125;;;;-1:-1:-1;;;16495:125:0;;23630:2:1;16495:125:0;;;23612:21:1;23669:2;23649:18;;;23642:30;23708:34;23688:18;;;23681:62;-1:-1:-1;;;23759:18:1;;;23752:40;23809:19;;16495:125:0;23428:406:1;16495:125:0;-1:-1:-1;;;;;16639:22:0;;16631:60;;;;-1:-1:-1;;;16631:60:0;;24875:2:1;16631:60:0;;;24857:21:1;24914:2;24894:18;;;24887:30;24953:27;24933:18;;;24926:55;24998:18;;16631:60:0;24673:349:1;16631:60:0;16726:35;;;;;;;;;-1:-1:-1;;;;;16726:35:0;;;;;;-1:-1:-1;;;;;16726:35:0;;;;;;;;;;-1:-1:-1;;;16704:57:0;;;;-1:-1:-1;16704:57:0;16375:394::o;33762:352::-;33919:28;33929:4;33935:2;33939:7;33919:9;:28::i;:::-;33980:48;34003:4;34009:2;34013:7;34022:5;33980:22;:48::i;:::-;33958:148;;;;-1:-1:-1;;;33958:148:0;;;;;;;:::i;1984:723::-;2040:13;2261:10;2257:53;;-1:-1:-1;;2288:10:0;;;;;;;;;;;;-1:-1:-1;;;2288:10:0;;;;;1984:723::o;2257:53::-;2335:5;2320:12;2376:78;2383:9;;2376:78;;2409:8;;;;:::i;:::-;;-1:-1:-1;2432:10:0;;-1:-1:-1;2440:2:0;2432:10;;:::i;:::-;;;2376:78;;;2464:19;2496:6;-1:-1:-1;;;;;2486:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2486:17:0;;2464:39;;2514:154;2521:10;;2514:154;;2548:11;2558:1;2548:11;;:::i;:::-;;-1:-1:-1;2617:10:0;2625:2;2617:5;:10;:::i;:::-;2604:24;;:2;:24;:::i;:::-;2591:39;;2574:6;2581;2574:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;2574:56:0;;;;;;;;-1:-1:-1;2645:11:0;2654:2;2645:11;;:::i;:::-;;;2514:154;;51291:458;51447:23;;;51397:7;51447:23;;;:15;:23;;;;;:30;51397:7;;51434:43;;:10;:43;:::i;:::-;51514:23;;;51488:15;51514:23;;;:15;:23;;;;;:31;;51417:60;;-1:-1:-1;51488:15:0;;51417:60;;51514:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;51593:23;;;;;:15;:23;;;;;;;51631:30;;51514:31;;;;;;;;;;;;;-1:-1:-1;51631:34:0;;51664:1;;51631:34;:::i;:::-;51593:83;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;51559:15;:23;51575:6;51559:23;;;;;;;;;;;;;;;51583:6;51559:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:117;;;;;;;;;;;;;;;;;;51687:15;:23;51703:6;51687:23;;;;;;;;;;;;;;;:29;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;51687:29:0;;;;;;;;;;;;;;;;;;;;;;;;51734:7;-1:-1:-1;;51291:458:0;;;;:::o;43204:700::-;43312:7;43355:4;43312:7;43370:497;43394:5;:12;43390:1;:16;43370:497;;;43428:20;43451:5;43457:1;43451:8;;;;;;;;:::i;:::-;;;;;;;43428:31;;43494:12;43478;:28;43474:382;;44005:13;44055:15;;;44091:4;44084:15;;;44138:4;44122:21;;43606:57;;43474:382;;;44005:13;44055:15;;;44091:4;44084:15;;;44138:4;44122:21;;43783:57;;43474:382;-1:-1:-1;43408:3:0;;;;:::i;:::-;;;;43370:497;;;-1:-1:-1;43884:12:0;43204:700;-1:-1:-1;;;43204:700:0:o;39822:1053::-;39977:4;-1:-1:-1;;;;;39998:13:0;;5712:20;5760:8;39994:874;;40051:175;;-1:-1:-1;;;40051:175:0;;-1:-1:-1;;;;;40051:36:0;;;;;:175;;4383:10;;40145:4;;40172:7;;40202:5;;40051:175;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40051:175:0;;;;;;;;-1:-1:-1;;40051:175:0;;;;;;;;;;;;:::i;:::-;;;40030:783;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40413:13:0;;40409:389;;40456:108;;-1:-1:-1;;;40456:108:0;;;;;;;:::i;40409:389::-;40748:6;40742:13;40733:6;40729:2;40725:15;40718:38;40030:783;-1:-1:-1;;;;;;40290:55:0;-1:-1:-1;;;40290:55:0;;-1:-1:-1;40283:62:0;;39994:874;-1:-1:-1;40852:4:0;39822:1053;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;-1:-1:-1;;;;;104:6:1;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:159::-;670:20;;730:6;719:18;;709:29;;699:57;;752:1;749;742:12;767:186;826:6;879:2;867:9;858:7;854:23;850:32;847:52;;;895:1;892;885:12;847:52;918:29;937:9;918:29;:::i;:::-;908:39;767:186;-1:-1:-1;;;767:186:1:o;958:260::-;1026:6;1034;1087:2;1075:9;1066:7;1062:23;1058:32;1055:52;;;1103:1;1100;1093:12;1055:52;1126:29;1145:9;1126:29;:::i;:::-;1116:39;;1174:38;1208:2;1197:9;1193:18;1174:38;:::i;:::-;1164:48;;958:260;;;;;:::o;1223:328::-;1300:6;1308;1316;1369:2;1357:9;1348:7;1344:23;1340:32;1337:52;;;1385:1;1382;1375:12;1337:52;1408:29;1427:9;1408:29;:::i;:::-;1398:39;;1456:38;1490:2;1479:9;1475:18;1456:38;:::i;:::-;1446:48;;1541:2;1530:9;1526:18;1513:32;1503:42;;1223:328;;;;;:::o;1556:666::-;1651:6;1659;1667;1675;1728:3;1716:9;1707:7;1703:23;1699:33;1696:53;;;1745:1;1742;1735:12;1696:53;1768:29;1787:9;1768:29;:::i;:::-;1758:39;;1816:38;1850:2;1839:9;1835:18;1816:38;:::i;:::-;1806:48;;1901:2;1890:9;1886:18;1873:32;1863:42;;1956:2;1945:9;1941:18;1928:32;-1:-1:-1;;;;;1975:6:1;1972:30;1969:50;;;2015:1;2012;2005:12;1969:50;2038:22;;2091:4;2083:13;;2079:27;-1:-1:-1;2069:55:1;;2120:1;2117;2110:12;2069:55;2143:73;2208:7;2203:2;2190:16;2185:2;2181;2177:11;2143:73;:::i;:::-;2133:83;;;1556:666;;;;;;;:::o;2227:347::-;2292:6;2300;2353:2;2341:9;2332:7;2328:23;2324:32;2321:52;;;2369:1;2366;2359:12;2321:52;2392:29;2411:9;2392:29;:::i;:::-;2382:39;;2471:2;2460:9;2456:18;2443:32;2518:5;2511:13;2504:21;2497:5;2494:32;2484:60;;2540:1;2537;2530:12;2484:60;2563:5;2553:15;;;2227:347;;;;;:::o;2579:254::-;2647:6;2655;2708:2;2696:9;2687:7;2683:23;2679:32;2676:52;;;2724:1;2721;2714:12;2676:52;2747:29;2766:9;2747:29;:::i;:::-;2737:39;2823:2;2808:18;;;;2795:32;;-1:-1:-1;;;2579:254:1:o;2838:366::-;2905:6;2913;2966:2;2954:9;2945:7;2941:23;2937:32;2934:52;;;2982:1;2979;2972:12;2934:52;3005:29;3024:9;3005:29;:::i;:::-;2995:39;;3084:2;3073:9;3069:18;3056:32;-1:-1:-1;;;;;3121:5:1;3117:38;3110:5;3107:49;3097:77;;3170:1;3167;3160:12;3209:689;3304:6;3312;3320;3373:2;3361:9;3352:7;3348:23;3344:32;3341:52;;;3389:1;3386;3379:12;3341:52;3429:9;3416:23;-1:-1:-1;;;;;3499:2:1;3491:6;3488:14;3485:34;;;3515:1;3512;3505:12;3485:34;3553:6;3542:9;3538:22;3528:32;;3598:7;3591:4;3587:2;3583:13;3579:27;3569:55;;3620:1;3617;3610:12;3569:55;3660:2;3647:16;3686:2;3678:6;3675:14;3672:34;;;3702:1;3699;3692:12;3672:34;3757:7;3750:4;3740:6;3737:1;3733:14;3729:2;3725:23;3721:34;3718:47;3715:67;;;3778:1;3775;3768:12;3715:67;3809:4;3801:13;;;;3833:6;;-1:-1:-1;3871:20:1;;;;3858:34;;3209:689;-1:-1:-1;;;;3209:689:1:o;3903:180::-;3962:6;4015:2;4003:9;3994:7;3990:23;3986:32;3983:52;;;4031:1;4028;4021:12;3983:52;-1:-1:-1;4054:23:1;;3903:180;-1:-1:-1;3903:180:1:o;4088:245::-;4146:6;4199:2;4187:9;4178:7;4174:23;4170:32;4167:52;;;4215:1;4212;4205:12;4167:52;4254:9;4241:23;4273:30;4297:5;4273:30;:::i;4338:249::-;4407:6;4460:2;4448:9;4439:7;4435:23;4431:32;4428:52;;;4476:1;4473;4466:12;4428:52;4508:9;4502:16;4527:30;4551:5;4527:30;:::i;4592:184::-;4650:6;4703:2;4691:9;4682:7;4678:23;4674:32;4671:52;;;4719:1;4716;4709:12;4671:52;4742:28;4760:9;4742:28;:::i;4781:522::-;4858:6;4866;4919:2;4907:9;4898:7;4894:23;4890:32;4887:52;;;4935:1;4932;4925:12;4887:52;4958:28;4976:9;4958:28;:::i;:::-;4948:38;;5037:2;5026:9;5022:18;5009:32;-1:-1:-1;;;;;5056:6:1;5053:30;5050:50;;;5096:1;5093;5086:12;5050:50;5119:22;;5172:4;5164:13;;5160:27;-1:-1:-1;5150:55:1;;5201:1;5198;5191:12;5150:55;5224:73;5289:7;5284:2;5271:16;5266:2;5262;5258:11;5224:73;:::i;:::-;5214:83;;;4781:522;;;;;:::o;5493:184::-;5563:6;5616:2;5604:9;5595:7;5591:23;5587:32;5584:52;;;5632:1;5629;5622:12;5584:52;-1:-1:-1;5655:16:1;;5493:184;-1:-1:-1;5493:184:1:o;5682:1025::-;5775:6;5783;5836:2;5824:9;5815:7;5811:23;5807:32;5804:52;;;5852:1;5849;5842:12;5804:52;5888:9;5875:23;5865:33;;5917:2;5970;5959:9;5955:18;5942:32;-1:-1:-1;;;;;6034:2:1;6026:6;6023:14;6020:34;;;6050:1;6047;6040:12;6020:34;6088:6;6077:9;6073:22;6063:32;;6133:7;6126:4;6122:2;6118:13;6114:27;6104:55;;6155:1;6152;6145:12;6104:55;6191:2;6178:16;6213:2;6209;6206:10;6203:36;;;6219:18;;:::i;:::-;6265:2;6262:1;6258:10;6248:20;;6288:28;6312:2;6308;6304:11;6288:28;:::i;:::-;6350:15;;;6381:12;;;;6413:11;;;6443;;;6439:20;;6436:33;-1:-1:-1;6433:53:1;;;6482:1;6479;6472:12;6433:53;6504:1;6495:10;;6514:163;6528:2;6525:1;6522:9;6514:163;;;6585:17;;6573:30;;6546:1;6539:9;;;;;6623:12;;;;6655;;6514:163;;;6518:3;6696:5;6686:15;;;;;;;;5682:1025;;;;;:::o;6712:248::-;6780:6;6788;6841:2;6829:9;6820:7;6816:23;6812:32;6809:52;;;6857:1;6854;6847:12;6809:52;-1:-1:-1;;6880:23:1;;;6950:2;6935:18;;;6922:32;;-1:-1:-1;6712:248:1:o;6965:524::-;7040:6;7048;7056;7109:2;7097:9;7088:7;7084:23;7080:32;7077:52;;;7125:1;7122;7115:12;7077:52;7164:9;7151:23;-1:-1:-1;;;;;7207:5:1;7203:30;7196:5;7193:41;7183:69;;7248:1;7245;7238:12;7183:69;7271:5;-1:-1:-1;7323:2:1;7308:18;;7295:32;;-1:-1:-1;7379:2:1;7364:18;;7351:32;7427:10;7414:24;;7402:37;;7392:65;;7453:1;7450;7443:12;7392:65;7476:7;7466:17;;;6965:524;;;;;:::o;7494:257::-;7535:3;7573:5;7567:12;7600:6;7595:3;7588:19;7616:63;7672:6;7665:4;7660:3;7656:14;7649:4;7642:5;7638:16;7616:63;:::i;:::-;7733:2;7712:15;-1:-1:-1;;7708:29:1;7699:39;;;;7740:4;7695:50;;7494:257;-1:-1:-1;;7494:257:1:o;7756:185::-;7798:3;7836:5;7830:12;7851:52;7896:6;7891:3;7884:4;7877:5;7873:16;7851:52;:::i;:::-;7919:16;;;;;7756:185;-1:-1:-1;;7756:185:1:o;8180:1174::-;8356:3;8385:1;8418:6;8412:13;8448:3;8470:1;8498:9;8494:2;8490:18;8480:28;;8558:2;8547:9;8543:18;8580;8570:61;;8624:4;8616:6;8612:17;8602:27;;8570:61;8650:2;8698;8690:6;8687:14;8667:18;8664:38;8661:165;;;-1:-1:-1;;;8725:33:1;;8781:4;8778:1;8771:15;8811:4;8732:3;8799:17;8661:165;8842:18;8869:104;;;;8987:1;8982:320;;;;8835:467;;8869:104;-1:-1:-1;;8902:24:1;;8890:37;;8947:16;;;;-1:-1:-1;8869:104:1;;8982:320;26109:1;26102:14;;;26146:4;26133:18;;9077:1;9091:165;9105:6;9102:1;9099:13;9091:165;;;9183:14;;9170:11;;;9163:35;9226:16;;;;9120:10;;9091:165;;;9095:3;;9285:6;9280:3;9276:16;9269:23;;8835:467;;;;;;;9318:30;9344:3;9336:6;9318:30;:::i;:::-;9311:37;8180:1174;-1:-1:-1;;;;;8180:1174:1:o;10086:488::-;-1:-1:-1;;;;;10355:15:1;;;10337:34;;10407:15;;10402:2;10387:18;;10380:43;10454:2;10439:18;;10432:34;;;10502:3;10497:2;10482:18;;10475:31;;;10280:4;;10523:45;;10548:19;;10540:6;10523:45;:::i;:::-;10515:53;10086:488;-1:-1:-1;;;;;;10086:488:1:o;10858:632::-;11029:2;11081:21;;;11151:13;;11054:18;;;11173:22;;;11000:4;;11029:2;11252:15;;;;11226:2;11211:18;;;11000:4;11295:169;11309:6;11306:1;11303:13;11295:169;;;11370:13;;11358:26;;11439:15;;;;11404:12;;;;11331:1;11324:9;11295:169;;;-1:-1:-1;11481:3:1;;10858:632;-1:-1:-1;;;;;;10858:632:1:o;12423:219::-;12572:2;12561:9;12554:21;12535:4;12592:44;12632:2;12621:9;12617:18;12609:6;12592:44;:::i;13361:414::-;13563:2;13545:21;;;13602:2;13582:18;;;13575:30;13641:34;13636:2;13621:18;;13614:62;-1:-1:-1;;;13707:2:1;13692:18;;13685:48;13765:3;13750:19;;13361:414::o;17128:354::-;17330:2;17312:21;;;17369:2;17349:18;;;17342:30;17408:32;17403:2;17388:18;;17381:60;17473:2;17458:18;;17128:354::o;20662:356::-;20864:2;20846:21;;;20883:18;;;20876:30;20942:34;20937:2;20922:18;;20915:62;21009:2;20994:18;;20662:356::o;23010:413::-;23212:2;23194:21;;;23251:2;23231:18;;;23224:30;23290:34;23285:2;23270:18;;23263:62;-1:-1:-1;;;23356:2:1;23341:18;;23334:47;23413:3;23398:19;;23010:413::o;25756:275::-;25827:2;25821:9;25892:2;25873:13;;-1:-1:-1;;25869:27:1;25857:40;;-1:-1:-1;;;;;25912:34:1;;25948:22;;;25909:62;25906:88;;;25974:18;;:::i;:::-;26010:2;26003:22;25756:275;;-1:-1:-1;25756:275:1:o;26162:128::-;26202:3;26233:1;26229:6;26226:1;26223:13;26220:39;;;26239:18;;:::i;:::-;-1:-1:-1;26275:9:1;;26162:128::o;26295:120::-;26335:1;26361;26351:35;;26366:18;;:::i;:::-;-1:-1:-1;26400:9:1;;26295:120::o;26420:168::-;26460:7;26526:1;26522;26518:6;26514:14;26511:1;26508:21;26503:1;26496:9;26489:17;26485:45;26482:71;;;26533:18;;:::i;:::-;-1:-1:-1;26573:9:1;;26420:168::o;26593:125::-;26633:4;26661:1;26658;26655:8;26652:34;;;26666:18;;:::i;:::-;-1:-1:-1;26703:9:1;;26593:125::o;26723:258::-;26795:1;26805:113;26819:6;26816:1;26813:13;26805:113;;;26895:11;;;26889:18;26876:11;;;26869:39;26841:2;26834:10;26805:113;;;26936:6;26933:1;26930:13;26927:48;;;-1:-1:-1;;26971:1:1;26953:16;;26946:27;26723:258::o;26986:380::-;27065:1;27061:12;;;;27108;;;27129:61;;27183:4;27175:6;27171:17;27161:27;;27129:61;27236:2;27228:6;27225:14;27205:18;27202:38;27199:161;;;27282:10;27277:3;27273:20;27270:1;27263:31;27317:4;27314:1;27307:15;27345:4;27342:1;27335:15;27199:161;;26986:380;;;:::o;27371:197::-;27409:3;27437:6;27478:2;27471:5;27467:14;27505:2;27496:7;27493:15;27490:41;;;27511:18;;:::i;:::-;27560:1;27547:15;;27371:197;-1:-1:-1;;;27371:197:1:o;27573:135::-;27612:3;-1:-1:-1;;27633:17:1;;27630:43;;;27653:18;;:::i;:::-;-1:-1:-1;27700:1:1;27689:13;;27573:135::o;27713:112::-;27745:1;27771;27761:35;;27776:18;;:::i;:::-;-1:-1:-1;27810:9:1;;27713:112::o;27830:127::-;27891:10;27886:3;27882:20;27879:1;27872:31;27922:4;27919:1;27912:15;27946:4;27943:1;27936:15;27962:127;28023:10;28018:3;28014:20;28011:1;28004:31;28054:4;28051:1;28044:15;28078:4;28075:1;28068:15;28094:127;28155:10;28150:3;28146:20;28143:1;28136:31;28186:4;28183:1;28176:15;28210:4;28207:1;28200:15;28226:127;28287:10;28282:3;28278:20;28275:1;28268:31;28318:4;28315:1;28308:15;28342:4;28339:1;28332:15;28358:127;28419:10;28414:3;28410:20;28407:1;28400:31;28450:4;28447:1;28440:15;28474:4;28471:1;28464:15;28490:131;-1:-1:-1;;;;;;28564:32:1;;28554:43;;28544:71;;28611:1;28608;28601:12

Swarm Source

ipfs://bfd2d217c435b24f3dcb2494a86e1d67471eb96c1a22c76aa392ec735a97b514
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.