ETH Price: $3,338.01 (-0.16%)

Token

Gromlins (GRMLNS)
 

Overview

Max Total Supply

2,222 GRMLNS

Holders

967

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 GRMLNS
0x73aa04fff4eda34bee079ecca53822904e1415ba
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:
Gromlins

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-10-31
*/

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


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

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

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

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

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

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

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

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

/**
 * @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 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}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    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) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _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(ERC165, IERC165) returns (bool) {
        return
        interfaceId == type(IERC721).interfaceId ||
        interfaceId == type(IERC721Metadata).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 See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

        require(
            _msgSender() == owner || 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 || 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);
    }

    /**
     * @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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    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` and `to` are never both zero.
     *
     * 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 {}
}

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

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

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

    /**
     * @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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

/**
 * @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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
    unchecked {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
    unchecked {
        if (b > a) return (false, 0);
        return (true, a - b);
    }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
    unchecked {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
    unchecked {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
    unchecked {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
    unchecked {
        require(b <= a, errorMessage);
        return a - b;
    }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
    unchecked {
        require(b > 0, errorMessage);
        return a / b;
    }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
    unchecked {
        require(b > 0, errorMessage);
        return a % b;
    }
    }
}

contract Gromlins is ERC721Enumerable, Ownable {
    using SafeMath for uint256;
    using Address for address;

    uint256 public maxMintPerTx = 20;
    uint256 public maxPublicMintPerWallet = 1;

    bool public revealed = false;
    string private baseURI;
    string public suffixURI;

    uint256 public maxSupply;
    uint256 public priceForPrivate = 0 ether;
    uint256 public priceForPublic = 0 ether;

    bool public privateSaleActive = false;
    bool public publicSaleActive = false;

    mapping (address => uint256) public whitelistForPrivate;

    mapping (address => uint256) public publicMinted;


    constructor() ERC721("Gromlins", "GRMLNS") {
        maxSupply = 10000;
    }

    function airdrop(uint256 numberOfMints, address wallet) public onlyOwner {
        uint256 supply = totalSupply();
        require(supply.add(numberOfMints) <= maxSupply, "Airdrop would exceed max supply of tokens");
        for (uint256 i = 0; i < numberOfMints; i++) {
            _safeMint(wallet, supply + 1 + i);
        }
    }

    function airdrops(uint256 numberOfMints, address[] calldata wallets) public onlyOwner {
        uint256 supply = totalSupply();
        require(supply.add(numberOfMints.mul(wallets.length)) <= maxSupply, "Airdrop would exceed max supply of tokens");
        for (uint256 j = 0; j < wallets.length; j++) {
            for (uint256 i = 0; i < numberOfMints; i++) {
                _safeMint(wallets[j], supply + 1 + i + j * numberOfMints);
            }
        }
    }

    function mintForMarketing(uint256 numberOfMints) public onlyOwner {
        uint256 supply = totalSupply();
        require(supply.add(numberOfMints) <= maxSupply, "Mint would exceed max supply of tokens");
        for (uint256 i = 0; i < numberOfMints; i++) {
            _safeMint(msg.sender, supply + 1 + i);
        }
    }

    function mintPrivate(uint256 numberOfMints) public payable {
        uint256 supply = totalSupply();
        uint256 reserved = whitelistForPrivate[msg.sender];
        require(privateSaleActive, "Private sale must be active to mint");
        require(numberOfMints > 0 && numberOfMints <= maxMintPerTx, "Invalid purchase amount");
        require(reserved > 0, "No tokens reserved for this address");
        require(numberOfMints <= reserved, "Can't mint more than reserved");
        require(supply.add(numberOfMints) <= maxSupply, "Purchase would exceed max supply of tokens");
        require(priceForPrivate.mul(numberOfMints) <= msg.value, "Ether value sent is not correct");
        whitelistForPrivate[msg.sender] = reserved - numberOfMints;

        for(uint256 i; i < numberOfMints; i++) {
            _safeMint(msg.sender, supply + 1 + i);
        }
    }

    function mintPublic(uint256 numberOfMints) public payable {
        uint256 supply = totalSupply();
        require(publicSaleActive, "Public sale must be active to mint");
        require(numberOfMints > 0 && numberOfMints <= maxMintPerTx, "Invalid purchase amount");
        require(supply.add(numberOfMints) <= maxSupply, "Purchase would exceed max supply of tokens");
        require(priceForPublic.mul(numberOfMints) <= msg.value, "Ether value sent is not correct");
        require(publicMinted[msg.sender] + numberOfMints <= maxPublicMintPerWallet, "Too many mint for this wallet");

        publicMinted[msg.sender] += numberOfMints;

        for(uint256 i; i < numberOfMints; i++) {
            _safeMint(msg.sender, supply + 1 + i);
        }

    }

    function maxMintForAddress(address wallet) public view returns (uint256) {
        if (publicSaleActive) {
            if (maxPublicMintPerWallet >= publicMinted[wallet]) {
                return maxPublicMintPerWallet - publicMinted[wallet];
            }
            return 0;
        }
        return privateSaleActive ? whitelistForPrivate[wallet] : 0;
    }

    function setWhitelistForPrivate(address[] calldata addresses, uint256[] calldata amountToMint) public onlyOwner {
        require(addresses.length == amountToMint.length, "Invalid parameters");
        for (uint256 i; i < addresses.length; i++) {
            whitelistForPrivate[addresses[i]] = amountToMint[i];
        }
    }

    function walletOfOwner(address owner) external view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(owner, i);
        }
        return tokensId;
    }

    function withdraw() public onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function setPrivateSale(bool active) public onlyOwner {
        privateSaleActive = active;
    }

    function setPublicSale(bool active) public onlyOwner {
        publicSaleActive = active;
    }

    function setPriceForPublic(uint256 newPrice) public onlyOwner {
        priceForPublic = newPrice;
    }

    function setPriceForPrivate(uint256 newPrice) public onlyOwner {
        priceForPrivate = newPrice;
    }

    function setMaxPublicMintPerWallet(uint256 newMaxPublicMintPerWallet) public onlyOwner {
        maxPublicMintPerWallet = newMaxPublicMintPerWallet;
    }

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

    function setSuffixURI(string memory suffixUri) public onlyOwner {
        suffixURI = suffixUri;
    }

    function setRevealed(bool newRevealed) public onlyOwner {
        revealed = newRevealed;
    }

    function setMaxMintPerTx(uint256 newMaxMintPerTx) public onlyOwner {
        maxMintPerTx = newMaxMintPerTx;
    }

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

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

        string memory base = _baseURI();
        if(!revealed){
            return bytes(base).length > 0 ? string(abi.encodePacked(base)) : "";
        }
        return bytes(base).length > 0 ? string(abi.encodePacked(base, uint2str(tokenId), suffixURI)) : "";
    }

    function uint2str(uint _i) private pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len;
        while (_i != 0) {
            k = k-1;
            uint8 temp = (48 + uint8(_i - _i / 10 * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"},{"internalType":"address","name":"wallet","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"},{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"airdrops","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":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"maxMintForAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMintPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mintForMarketing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mintPrivate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceForPrivate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceForPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxMintPerTx","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxPublicMintPerWallet","type":"uint256"}],"name":"setMaxPublicMintPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPriceForPrivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPriceForPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setPrivateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newRevealed","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"suffixUri","type":"string"}],"name":"setSuffixURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amountToMint","type":"uint256[]"}],"name":"setWhitelistForPrivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"suffixURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistForPrivate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526014600b556001600c55600d805460ff19169055600060118190556012556013805461ffff191690553480156200003a57600080fd5b50604080518082018252600881526747726f6d6c696e7360c01b60208083019182528351808501909452600684526547524d4c4e5360d01b90840152815191929162000089916000916200011e565b5080516200009f9060019060208401906200011e565b505050620000bc620000b6620000c860201b60201c565b620000cc565b61271060105562000201565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012c90620001c4565b90600052602060002090601f0160209004810192826200015057600085556200019b565b82601f106200016b57805160ff19168380011785556200019b565b828001600101855582156200019b579182015b828111156200019b5782518255916020019190600101906200017e565b50620001a9929150620001ad565b5090565b5b80821115620001a95760008155600101620001ae565b600181811c90821680620001d957607f821691505b60208210811415620001fb57634e487b7160e01b600052602260045260246000fd5b50919050565b612f8380620002116000396000f3fe6080604052600436106102925760003560e01c8063715018a61161015a578063b88d4fde116100c1578063de7fcb1d1161007a578063de7fcb1d146107c2578063e0a80853146107d8578063e7c57bc8146107f8578063e985e9c514610818578063efd0cbf914610861578063f2fde38b1461087457600080fd5b8063b88d4fde1461070d578063bc63f02e1461072d578063bc8893b41461074d578063c06fd11b1461076c578063c87b56dd1461078c578063d5abeb01146107ac57600080fd5b806395d89b411161011357806395d89b411461066d578063993847d114610682578063a0310afb146106a2578063a22cb465146106b8578063abd1a559146106d8578063b3bcea48146106f857600080fd5b8063715018a6146105c457806372dab0c0146105d9578063857c4b62146105ec5780638be18e57146106025780638c4384b6146106225780638da5cb5b1461064f57600080fd5b80633267838f116101fe57806355f804b3116101b757806355f804b31461050457806359bc841b146105245780635aca1bb614610544578063616cdb1e146105645780636352211e1461058457806370a08231146105a457600080fd5b80633267838f146104485780633ccfd60b1461046857806342842e0e1461047d578063438b63001461049d5780634f6ccce7146104ca57806351830227146104ea57600080fd5b80631015805b116102505780631015805b1461038c57806318160ddd146103b957806323b872dd146103ce5780632a237bb6146103ee5780632ab254f5146104085780632f745c591461042857600080fd5b80621d18051461029757806301ffc9a7146102c057806306fdde03146102f0578063081812fc1461031257806308400f251461034a578063095ea7b31461036c575b600080fd5b3480156102a357600080fd5b506102ad60125481565b6040519081526020015b60405180910390f35b3480156102cc57600080fd5b506102e06102db3660046129b2565b610894565b60405190151581526020016102b7565b3480156102fc57600080fd5b506103056108bf565b6040516102b79190612c4a565b34801561031e57600080fd5b5061033261032d366004612a35565b610951565b6040516001600160a01b0390911681526020016102b7565b34801561035657600080fd5b5061036a610365366004612a35565b6109eb565b005b34801561037857600080fd5b5061036a610387366004612901565b610a1a565b34801561039857600080fd5b506102ad6103a73660046127d1565b60156020526000908152604090205481565b3480156103c557600080fd5b506008546102ad565b3480156103da57600080fd5b5061036a6103e936600461281f565b610b30565b3480156103fa57600080fd5b506013546102e09060ff1681565b34801561041457600080fd5b5061036a610423366004612a35565b610b61565b34801561043457600080fd5b506102ad610443366004612901565b610c3f565b34801561045457600080fd5b5061036a610463366004612a35565b610cd5565b34801561047457600080fd5b5061036a610d04565b34801561048957600080fd5b5061036a61049836600461281f565b610d5d565b3480156104a957600080fd5b506104bd6104b83660046127d1565b610d78565b6040516102b79190612c06565b3480156104d657600080fd5b506102ad6104e5366004612a35565b610e1a565b3480156104f657600080fd5b50600d546102e09060ff1681565b34801561051057600080fd5b5061036a61051f3660046129ec565b610ead565b34801561053057600080fd5b5061036a61053f36600461292b565b610eee565b34801561055057600080fd5b5061036a61055f366004612997565b610fde565b34801561057057600080fd5b5061036a61057f366004612a35565b611022565b34801561059057600080fd5b5061033261059f366004612a35565b611051565b3480156105b057600080fd5b506102ad6105bf3660046127d1565b6110c8565b3480156105d057600080fd5b5061036a61114f565b61036a6105e7366004612a35565b611185565b3480156105f857600080fd5b506102ad600c5481565b34801561060e57600080fd5b5061036a61061d3660046129ec565b6113dc565b34801561062e57600080fd5b506102ad61063d3660046127d1565b60146020526000908152604090205481565b34801561065b57600080fd5b50600a546001600160a01b0316610332565b34801561067957600080fd5b50610305611419565b34801561068e57600080fd5b5061036a61069d366004612997565b611428565b3480156106ae57600080fd5b506102ad60115481565b3480156106c457600080fd5b5061036a6106d33660046128d7565b611465565b3480156106e457600080fd5b5061036a6106f3366004612a35565b61152a565b34801561070457600080fd5b50610305611559565b34801561071957600080fd5b5061036a61072836600461285b565b6115e7565b34801561073957600080fd5b5061036a610748366004612a4e565b611619565b34801561075957600080fd5b506013546102e090610100900460ff1681565b34801561077857600080fd5b5061036a610787366004612a71565b6116a9565b34801561079857600080fd5b506103056107a7366004612a35565b61179b565b3480156107b857600080fd5b506102ad60105481565b3480156107ce57600080fd5b506102ad600b5481565b3480156107e457600080fd5b5061036a6107f3366004612997565b6118b3565b34801561080457600080fd5b506102ad6108133660046127d1565b6118f0565b34801561082457600080fd5b506102e06108333660046127ec565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61036a61086f366004612a35565b61197f565b34801561088057600080fd5b5061036a61088f3660046127d1565b611b8d565b60006001600160e01b0319821663780e9d6360e01b14806108b957506108b982611c25565b92915050565b6060600080546108ce90612e89565b80601f01602080910402602001604051908101604052809291908181526020018280546108fa90612e89565b80156109475780601f1061091c57610100808354040283529160200191610947565b820191906000526020600020905b81548152906001019060200180831161092a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109cf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600a546001600160a01b03163314610a155760405162461bcd60e51b81526004016109c690612d42565b601255565b6000610a2582611051565b9050806001600160a01b0316836001600160a01b03161415610a935760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109c6565b336001600160a01b0382161480610aaf5750610aaf8133610833565b610b215760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109c6565b610b2b8383611c75565b505050565b610b3a3382611ce3565b610b565760405162461bcd60e51b81526004016109c690612d77565b610b2b838383611dda565b600a546001600160a01b03163314610b8b5760405162461bcd60e51b81526004016109c690612d42565b6000610b9660085490565b601054909150610ba68284611f85565b1115610c035760405162461bcd60e51b815260206004820152602660248201527f4d696e7420776f756c6420657863656564206d617820737570706c79206f6620604482015265746f6b656e7360d01b60648201526084016109c6565b60005b82811015610b2b57610c2d3382610c1e856001612dc8565b610c289190612dc8565b611f91565b80610c3781612ec4565b915050610c06565b6000610c4a836110c8565b8210610cac5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109c6565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610cff5760405162461bcd60e51b81526004016109c690612d42565b600c55565b600a546001600160a01b03163314610d2e5760405162461bcd60e51b81526004016109c690612d42565b60405133904780156108fc02916000818181858888f19350505050158015610d5a573d6000803e3d6000fd5b50565b610b2b838383604051806020016040528060008152506115e7565b60606000610d85836110c8565b905060008167ffffffffffffffff811115610da257610da2612f21565b604051908082528060200260200182016040528015610dcb578160200160208202803683370190505b50905060005b82811015610e1257610de38582610c3f565b828281518110610df557610df5612f0b565b602090810291909101015280610e0a81612ec4565b915050610dd1565b509392505050565b6000610e2560085490565b8210610e885760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109c6565b60088281548110610e9b57610e9b612f0b565b90600052602060002001549050919050565b600a546001600160a01b03163314610ed75760405162461bcd60e51b81526004016109c690612d42565b8051610eea90600e90602084019061264a565b5050565b600a546001600160a01b03163314610f185760405162461bcd60e51b81526004016109c690612d42565b828114610f5c5760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420706172616d657465727360701b60448201526064016109c6565b60005b83811015610fd757828282818110610f7957610f79612f0b565b9050602002013560146000878785818110610f9657610f96612f0b565b9050602002016020810190610fab91906127d1565b6001600160a01b0316815260208101919091526040016000205580610fcf81612ec4565b915050610f5f565b5050505050565b600a546001600160a01b031633146110085760405162461bcd60e51b81526004016109c690612d42565b601380549115156101000261ff0019909216919091179055565b600a546001600160a01b0316331461104c5760405162461bcd60e51b81526004016109c690612d42565b600b55565b6000818152600260205260408120546001600160a01b0316806108b95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109c6565b60006001600160a01b0382166111335760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109c6565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111795760405162461bcd60e51b81526004016109c690612d42565b6111836000611fab565b565b600061119060085490565b336000908152601460205260409020546013549192509060ff166112025760405162461bcd60e51b815260206004820152602360248201527f507269766174652073616c65206d7573742062652061637469766520746f206d6044820152621a5b9d60ea1b60648201526084016109c6565b6000831180156112145750600b548311155b61125a5760405162461bcd60e51b8152602060048201526017602482015276125b9d985b1a59081c1d5c98da185cd948185b5bdd5b9d604a1b60448201526064016109c6565b600081116112b65760405162461bcd60e51b815260206004820152602360248201527f4e6f20746f6b656e7320726573657276656420666f722074686973206164647260448201526265737360e81b60648201526084016109c6565b808311156113065760405162461bcd60e51b815260206004820152601d60248201527f43616e2774206d696e74206d6f7265207468616e20726573657276656400000060448201526064016109c6565b6010546113138385611f85565b11156113315760405162461bcd60e51b81526004016109c690612cf8565b60115434906113409085611ffd565b111561138e5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016109c6565b6113988382612e46565b336000908152601460205260408120919091555b838110156113d6576113c43382610c1e866001612dc8565b806113ce81612ec4565b9150506113ac565b50505050565b600a546001600160a01b031633146114065760405162461bcd60e51b81526004016109c690612d42565b8051610eea90600f90602084019061264a565b6060600180546108ce90612e89565b600a546001600160a01b031633146114525760405162461bcd60e51b81526004016109c690612d42565b6013805460ff1916911515919091179055565b6001600160a01b0382163314156114be5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109c6565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146115545760405162461bcd60e51b81526004016109c690612d42565b601155565b600f805461156690612e89565b80601f016020809104026020016040519081016040528092919081815260200182805461159290612e89565b80156115df5780601f106115b4576101008083540402835291602001916115df565b820191906000526020600020905b8154815290600101906020018083116115c257829003601f168201915b505050505081565b6115f13383611ce3565b61160d5760405162461bcd60e51b81526004016109c690612d77565b6113d684848484612009565b600a546001600160a01b031633146116435760405162461bcd60e51b81526004016109c690612d42565b600061164e60085490565b60105490915061165e8285611f85565b111561167c5760405162461bcd60e51b81526004016109c690612caf565b60005b838110156113d6576116978382610c1e856001612dc8565b806116a181612ec4565b91505061167f565b600a546001600160a01b031633146116d35760405162461bcd60e51b81526004016109c690612d42565b60006116de60085490565b6010549091506116f86116f18685611ffd565b8390611f85565b11156117165760405162461bcd60e51b81526004016109c690612caf565b60005b82811015610fd75760005b858110156117885761177685858481811061174157611741612f0b565b905060200201602081019061175691906127d1565b6117608885612e27565b8361176c876001612dc8565b610c1e9190612dc8565b8061178081612ec4565b915050611724565b508061179381612ec4565b915050611719565b6000818152600260205260409020546060906001600160a01b031661181a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109c6565b600061182461203c565b600d5490915060ff1661187757600081511161184f5760405180602001604052806000815250611870565b806040516020016118609190612ae9565b6040516020818303038152906040525b9392505050565b60008151116118955760405180602001604052806000815250611870565b8061189f8461204b565b600f60405160200161186093929190612b05565b600a546001600160a01b031633146118dd5760405162461bcd60e51b81526004016109c690612d42565b600d805460ff1916911515919091179055565b601354600090610100900460ff1615611952576001600160a01b038216600090815260156020526040902054600c541061194a576001600160a01b038216600090815260156020526040902054600c546108b99190612e46565b506000919050565b60135460ff166119635760006108b9565b506001600160a01b031660009081526014602052604090205490565b600061198a60085490565b601354909150610100900460ff166119ef5760405162461bcd60e51b815260206004820152602260248201527f5075626c69632073616c65206d7573742062652061637469766520746f206d696044820152611b9d60f21b60648201526084016109c6565b600082118015611a015750600b548211155b611a475760405162461bcd60e51b8152602060048201526017602482015276125b9d985b1a59081c1d5c98da185cd948185b5bdd5b9d604a1b60448201526064016109c6565b601054611a548284611f85565b1115611a725760405162461bcd60e51b81526004016109c690612cf8565b6012543490611a819084611ffd565b1115611acf5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016109c6565b600c5433600090815260156020526040902054611aed908490612dc8565b1115611b3b5760405162461bcd60e51b815260206004820152601d60248201527f546f6f206d616e79206d696e7420666f7220746869732077616c6c657400000060448201526064016109c6565b3360009081526015602052604081208054849290611b5a908490612dc8565b90915550600090505b82811015610b2b57611b7b3382610c1e856001612dc8565b80611b8581612ec4565b915050611b63565b600a546001600160a01b03163314611bb75760405162461bcd60e51b81526004016109c690612d42565b6001600160a01b038116611c1c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c6565b610d5a81611fab565b60006001600160e01b031982166380ac58cd60e01b1480611c5657506001600160e01b03198216635b5e139f60e01b145b806108b957506301ffc9a760e01b6001600160e01b03198316146108b9565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611caa82611051565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611d5c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109c6565b6000611d6783611051565b9050806001600160a01b0316846001600160a01b03161480611da25750836001600160a01b0316611d9784610951565b6001600160a01b0316145b80611dd257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611ded82611051565b6001600160a01b031614611e555760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109c6565b6001600160a01b038216611eb75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109c6565b611ec2838383612174565b611ecd600082611c75565b6001600160a01b0383166000908152600360205260408120805460019290611ef6908490612e46565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f24908490612dc8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006118708284612dc8565b610eea82826040518060200160405280600081525061222c565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006118708284612e27565b612014848484611dda565b6120208484848461225f565b6113d65760405162461bcd60e51b81526004016109c690612c5d565b6060600e80546108ce90612e89565b60608161206f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612099578061208381612ec4565b91506120929050600a83612e05565b9150612073565b60008167ffffffffffffffff8111156120b4576120b4612f21565b6040519080825280601f01601f1916602001820160405280156120de576020820181803683370190505b509050815b851561216b576120f4600182612e46565b90506000612103600a88612e05565b61210e90600a612e27565b6121189088612e46565b612123906030612de0565b905060008160f81b90508084848151811061214057612140612f0b565b60200101906001600160f81b031916908160001a905350612162600a89612e05565b975050506120e3565b50949350505050565b6001600160a01b0383166121cf576121ca81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6121f2565b816001600160a01b0316836001600160a01b0316146121f2576121f2838261236c565b6001600160a01b03821661220957610b2b81612409565b826001600160a01b0316826001600160a01b031614610b2b57610b2b82826124b8565b61223683836124fc565b612243600084848461225f565b610b2b5760405162461bcd60e51b81526004016109c690612c5d565b60006001600160a01b0384163b1561236157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906122a3903390899088908890600401612bc9565b602060405180830381600087803b1580156122bd57600080fd5b505af19250505080156122ed575060408051601f3d908101601f191682019092526122ea918101906129cf565b60015b612347573d80801561231b576040519150601f19603f3d011682016040523d82523d6000602084013e612320565b606091505b50805161233f5760405162461bcd60e51b81526004016109c690612c5d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dd2565b506001949350505050565b60006001612379846110c8565b6123839190612e46565b6000838152600760205260409020549091508082146123d6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061241b90600190612e46565b6000838152600960205260408120546008805493945090928490811061244357612443612f0b565b90600052602060002001549050806008838154811061246457612464612f0b565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061249c5761249c612ef5565b6001900381819060005260206000200160009055905550505050565b60006124c3836110c8565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166125525760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109c6565b6000818152600260205260409020546001600160a01b0316156125b75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109c6565b6125c360008383612174565b6001600160a01b03821660009081526003602052604081208054600192906125ec908490612dc8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461265690612e89565b90600052602060002090601f01602090048101928261267857600085556126be565b82601f1061269157805160ff19168380011785556126be565b828001600101855582156126be579182015b828111156126be5782518255916020019190600101906126a3565b506126ca9291506126ce565b5090565b5b808211156126ca57600081556001016126cf565b600067ffffffffffffffff808411156126fe576126fe612f21565b604051601f8501601f19908116603f0116810190828211818310171561272657612726612f21565b8160405280935085815286868601111561273f57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461277057600080fd5b919050565b60008083601f84011261278757600080fd5b50813567ffffffffffffffff81111561279f57600080fd5b6020830191508360208260051b85010111156127ba57600080fd5b9250929050565b8035801515811461277057600080fd5b6000602082840312156127e357600080fd5b61187082612759565b600080604083850312156127ff57600080fd5b61280883612759565b915061281660208401612759565b90509250929050565b60008060006060848603121561283457600080fd5b61283d84612759565b925061284b60208501612759565b9150604084013590509250925092565b6000806000806080858703121561287157600080fd5b61287a85612759565b935061288860208601612759565b925060408501359150606085013567ffffffffffffffff8111156128ab57600080fd5b8501601f810187136128bc57600080fd5b6128cb878235602084016126e3565b91505092959194509250565b600080604083850312156128ea57600080fd5b6128f383612759565b9150612816602084016127c1565b6000806040838503121561291457600080fd5b61291d83612759565b946020939093013593505050565b6000806000806040858703121561294157600080fd5b843567ffffffffffffffff8082111561295957600080fd5b61296588838901612775565b9096509450602087013591508082111561297e57600080fd5b5061298b87828801612775565b95989497509550505050565b6000602082840312156129a957600080fd5b611870826127c1565b6000602082840312156129c457600080fd5b813561187081612f37565b6000602082840312156129e157600080fd5b815161187081612f37565b6000602082840312156129fe57600080fd5b813567ffffffffffffffff811115612a1557600080fd5b8201601f81018413612a2657600080fd5b611dd2848235602084016126e3565b600060208284031215612a4757600080fd5b5035919050565b60008060408385031215612a6157600080fd5b8235915061281660208401612759565b600080600060408486031215612a8657600080fd5b83359250602084013567ffffffffffffffff811115612aa457600080fd5b612ab086828701612775565b9497909650939450505050565b60008151808452612ad5816020860160208601612e5d565b601f01601f19169290920160200192915050565b60008251612afb818460208701612e5d565b9190910192915050565b600084516020612b188285838a01612e5d565b855191840191612b2b8184848a01612e5d565b8554920191600090600181811c9080831680612b4857607f831692505b858310811415612b6657634e487b7160e01b85526022600452602485fd5b808015612b7a5760018114612b8b57612bb8565b60ff19851688528388019550612bb8565b60008b81526020902060005b85811015612bb05781548a820152908401908801612b97565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612bfc90830184612abd565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612c3e57835183529284019291840191600101612c22565b50909695505050505050565b6020815260006118706020830184612abd565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526029908201527f41697264726f7020776f756c6420657863656564206d617820737570706c79206040820152686f6620746f6b656e7360b81b606082015260800190565b6020808252602a908201527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015269206f6620746f6b656e7360b01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612ddb57612ddb612edf565b500190565b600060ff821660ff84168060ff03821115612dfd57612dfd612edf565b019392505050565b600082612e2257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612e4157612e41612edf565b500290565b600082821015612e5857612e58612edf565b500390565b60005b83811015612e78578181015183820152602001612e60565b838111156113d65750506000910152565b600181811c90821680612e9d57607f821691505b60208210811415612ebe57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612ed857612ed8612edf565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d5a57600080fdfea2646970667358221220ae94898b0c63715fd901f27f82b831659c1e2c5b1147c3e0db12d585919438e664736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102925760003560e01c8063715018a61161015a578063b88d4fde116100c1578063de7fcb1d1161007a578063de7fcb1d146107c2578063e0a80853146107d8578063e7c57bc8146107f8578063e985e9c514610818578063efd0cbf914610861578063f2fde38b1461087457600080fd5b8063b88d4fde1461070d578063bc63f02e1461072d578063bc8893b41461074d578063c06fd11b1461076c578063c87b56dd1461078c578063d5abeb01146107ac57600080fd5b806395d89b411161011357806395d89b411461066d578063993847d114610682578063a0310afb146106a2578063a22cb465146106b8578063abd1a559146106d8578063b3bcea48146106f857600080fd5b8063715018a6146105c457806372dab0c0146105d9578063857c4b62146105ec5780638be18e57146106025780638c4384b6146106225780638da5cb5b1461064f57600080fd5b80633267838f116101fe57806355f804b3116101b757806355f804b31461050457806359bc841b146105245780635aca1bb614610544578063616cdb1e146105645780636352211e1461058457806370a08231146105a457600080fd5b80633267838f146104485780633ccfd60b1461046857806342842e0e1461047d578063438b63001461049d5780634f6ccce7146104ca57806351830227146104ea57600080fd5b80631015805b116102505780631015805b1461038c57806318160ddd146103b957806323b872dd146103ce5780632a237bb6146103ee5780632ab254f5146104085780632f745c591461042857600080fd5b80621d18051461029757806301ffc9a7146102c057806306fdde03146102f0578063081812fc1461031257806308400f251461034a578063095ea7b31461036c575b600080fd5b3480156102a357600080fd5b506102ad60125481565b6040519081526020015b60405180910390f35b3480156102cc57600080fd5b506102e06102db3660046129b2565b610894565b60405190151581526020016102b7565b3480156102fc57600080fd5b506103056108bf565b6040516102b79190612c4a565b34801561031e57600080fd5b5061033261032d366004612a35565b610951565b6040516001600160a01b0390911681526020016102b7565b34801561035657600080fd5b5061036a610365366004612a35565b6109eb565b005b34801561037857600080fd5b5061036a610387366004612901565b610a1a565b34801561039857600080fd5b506102ad6103a73660046127d1565b60156020526000908152604090205481565b3480156103c557600080fd5b506008546102ad565b3480156103da57600080fd5b5061036a6103e936600461281f565b610b30565b3480156103fa57600080fd5b506013546102e09060ff1681565b34801561041457600080fd5b5061036a610423366004612a35565b610b61565b34801561043457600080fd5b506102ad610443366004612901565b610c3f565b34801561045457600080fd5b5061036a610463366004612a35565b610cd5565b34801561047457600080fd5b5061036a610d04565b34801561048957600080fd5b5061036a61049836600461281f565b610d5d565b3480156104a957600080fd5b506104bd6104b83660046127d1565b610d78565b6040516102b79190612c06565b3480156104d657600080fd5b506102ad6104e5366004612a35565b610e1a565b3480156104f657600080fd5b50600d546102e09060ff1681565b34801561051057600080fd5b5061036a61051f3660046129ec565b610ead565b34801561053057600080fd5b5061036a61053f36600461292b565b610eee565b34801561055057600080fd5b5061036a61055f366004612997565b610fde565b34801561057057600080fd5b5061036a61057f366004612a35565b611022565b34801561059057600080fd5b5061033261059f366004612a35565b611051565b3480156105b057600080fd5b506102ad6105bf3660046127d1565b6110c8565b3480156105d057600080fd5b5061036a61114f565b61036a6105e7366004612a35565b611185565b3480156105f857600080fd5b506102ad600c5481565b34801561060e57600080fd5b5061036a61061d3660046129ec565b6113dc565b34801561062e57600080fd5b506102ad61063d3660046127d1565b60146020526000908152604090205481565b34801561065b57600080fd5b50600a546001600160a01b0316610332565b34801561067957600080fd5b50610305611419565b34801561068e57600080fd5b5061036a61069d366004612997565b611428565b3480156106ae57600080fd5b506102ad60115481565b3480156106c457600080fd5b5061036a6106d33660046128d7565b611465565b3480156106e457600080fd5b5061036a6106f3366004612a35565b61152a565b34801561070457600080fd5b50610305611559565b34801561071957600080fd5b5061036a61072836600461285b565b6115e7565b34801561073957600080fd5b5061036a610748366004612a4e565b611619565b34801561075957600080fd5b506013546102e090610100900460ff1681565b34801561077857600080fd5b5061036a610787366004612a71565b6116a9565b34801561079857600080fd5b506103056107a7366004612a35565b61179b565b3480156107b857600080fd5b506102ad60105481565b3480156107ce57600080fd5b506102ad600b5481565b3480156107e457600080fd5b5061036a6107f3366004612997565b6118b3565b34801561080457600080fd5b506102ad6108133660046127d1565b6118f0565b34801561082457600080fd5b506102e06108333660046127ec565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61036a61086f366004612a35565b61197f565b34801561088057600080fd5b5061036a61088f3660046127d1565b611b8d565b60006001600160e01b0319821663780e9d6360e01b14806108b957506108b982611c25565b92915050565b6060600080546108ce90612e89565b80601f01602080910402602001604051908101604052809291908181526020018280546108fa90612e89565b80156109475780601f1061091c57610100808354040283529160200191610947565b820191906000526020600020905b81548152906001019060200180831161092a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109cf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600a546001600160a01b03163314610a155760405162461bcd60e51b81526004016109c690612d42565b601255565b6000610a2582611051565b9050806001600160a01b0316836001600160a01b03161415610a935760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109c6565b336001600160a01b0382161480610aaf5750610aaf8133610833565b610b215760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109c6565b610b2b8383611c75565b505050565b610b3a3382611ce3565b610b565760405162461bcd60e51b81526004016109c690612d77565b610b2b838383611dda565b600a546001600160a01b03163314610b8b5760405162461bcd60e51b81526004016109c690612d42565b6000610b9660085490565b601054909150610ba68284611f85565b1115610c035760405162461bcd60e51b815260206004820152602660248201527f4d696e7420776f756c6420657863656564206d617820737570706c79206f6620604482015265746f6b656e7360d01b60648201526084016109c6565b60005b82811015610b2b57610c2d3382610c1e856001612dc8565b610c289190612dc8565b611f91565b80610c3781612ec4565b915050610c06565b6000610c4a836110c8565b8210610cac5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109c6565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610cff5760405162461bcd60e51b81526004016109c690612d42565b600c55565b600a546001600160a01b03163314610d2e5760405162461bcd60e51b81526004016109c690612d42565b60405133904780156108fc02916000818181858888f19350505050158015610d5a573d6000803e3d6000fd5b50565b610b2b838383604051806020016040528060008152506115e7565b60606000610d85836110c8565b905060008167ffffffffffffffff811115610da257610da2612f21565b604051908082528060200260200182016040528015610dcb578160200160208202803683370190505b50905060005b82811015610e1257610de38582610c3f565b828281518110610df557610df5612f0b565b602090810291909101015280610e0a81612ec4565b915050610dd1565b509392505050565b6000610e2560085490565b8210610e885760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109c6565b60088281548110610e9b57610e9b612f0b565b90600052602060002001549050919050565b600a546001600160a01b03163314610ed75760405162461bcd60e51b81526004016109c690612d42565b8051610eea90600e90602084019061264a565b5050565b600a546001600160a01b03163314610f185760405162461bcd60e51b81526004016109c690612d42565b828114610f5c5760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420706172616d657465727360701b60448201526064016109c6565b60005b83811015610fd757828282818110610f7957610f79612f0b565b9050602002013560146000878785818110610f9657610f96612f0b565b9050602002016020810190610fab91906127d1565b6001600160a01b0316815260208101919091526040016000205580610fcf81612ec4565b915050610f5f565b5050505050565b600a546001600160a01b031633146110085760405162461bcd60e51b81526004016109c690612d42565b601380549115156101000261ff0019909216919091179055565b600a546001600160a01b0316331461104c5760405162461bcd60e51b81526004016109c690612d42565b600b55565b6000818152600260205260408120546001600160a01b0316806108b95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109c6565b60006001600160a01b0382166111335760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109c6565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111795760405162461bcd60e51b81526004016109c690612d42565b6111836000611fab565b565b600061119060085490565b336000908152601460205260409020546013549192509060ff166112025760405162461bcd60e51b815260206004820152602360248201527f507269766174652073616c65206d7573742062652061637469766520746f206d6044820152621a5b9d60ea1b60648201526084016109c6565b6000831180156112145750600b548311155b61125a5760405162461bcd60e51b8152602060048201526017602482015276125b9d985b1a59081c1d5c98da185cd948185b5bdd5b9d604a1b60448201526064016109c6565b600081116112b65760405162461bcd60e51b815260206004820152602360248201527f4e6f20746f6b656e7320726573657276656420666f722074686973206164647260448201526265737360e81b60648201526084016109c6565b808311156113065760405162461bcd60e51b815260206004820152601d60248201527f43616e2774206d696e74206d6f7265207468616e20726573657276656400000060448201526064016109c6565b6010546113138385611f85565b11156113315760405162461bcd60e51b81526004016109c690612cf8565b60115434906113409085611ffd565b111561138e5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016109c6565b6113988382612e46565b336000908152601460205260408120919091555b838110156113d6576113c43382610c1e866001612dc8565b806113ce81612ec4565b9150506113ac565b50505050565b600a546001600160a01b031633146114065760405162461bcd60e51b81526004016109c690612d42565b8051610eea90600f90602084019061264a565b6060600180546108ce90612e89565b600a546001600160a01b031633146114525760405162461bcd60e51b81526004016109c690612d42565b6013805460ff1916911515919091179055565b6001600160a01b0382163314156114be5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109c6565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146115545760405162461bcd60e51b81526004016109c690612d42565b601155565b600f805461156690612e89565b80601f016020809104026020016040519081016040528092919081815260200182805461159290612e89565b80156115df5780601f106115b4576101008083540402835291602001916115df565b820191906000526020600020905b8154815290600101906020018083116115c257829003601f168201915b505050505081565b6115f13383611ce3565b61160d5760405162461bcd60e51b81526004016109c690612d77565b6113d684848484612009565b600a546001600160a01b031633146116435760405162461bcd60e51b81526004016109c690612d42565b600061164e60085490565b60105490915061165e8285611f85565b111561167c5760405162461bcd60e51b81526004016109c690612caf565b60005b838110156113d6576116978382610c1e856001612dc8565b806116a181612ec4565b91505061167f565b600a546001600160a01b031633146116d35760405162461bcd60e51b81526004016109c690612d42565b60006116de60085490565b6010549091506116f86116f18685611ffd565b8390611f85565b11156117165760405162461bcd60e51b81526004016109c690612caf565b60005b82811015610fd75760005b858110156117885761177685858481811061174157611741612f0b565b905060200201602081019061175691906127d1565b6117608885612e27565b8361176c876001612dc8565b610c1e9190612dc8565b8061178081612ec4565b915050611724565b508061179381612ec4565b915050611719565b6000818152600260205260409020546060906001600160a01b031661181a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109c6565b600061182461203c565b600d5490915060ff1661187757600081511161184f5760405180602001604052806000815250611870565b806040516020016118609190612ae9565b6040516020818303038152906040525b9392505050565b60008151116118955760405180602001604052806000815250611870565b8061189f8461204b565b600f60405160200161186093929190612b05565b600a546001600160a01b031633146118dd5760405162461bcd60e51b81526004016109c690612d42565b600d805460ff1916911515919091179055565b601354600090610100900460ff1615611952576001600160a01b038216600090815260156020526040902054600c541061194a576001600160a01b038216600090815260156020526040902054600c546108b99190612e46565b506000919050565b60135460ff166119635760006108b9565b506001600160a01b031660009081526014602052604090205490565b600061198a60085490565b601354909150610100900460ff166119ef5760405162461bcd60e51b815260206004820152602260248201527f5075626c69632073616c65206d7573742062652061637469766520746f206d696044820152611b9d60f21b60648201526084016109c6565b600082118015611a015750600b548211155b611a475760405162461bcd60e51b8152602060048201526017602482015276125b9d985b1a59081c1d5c98da185cd948185b5bdd5b9d604a1b60448201526064016109c6565b601054611a548284611f85565b1115611a725760405162461bcd60e51b81526004016109c690612cf8565b6012543490611a819084611ffd565b1115611acf5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016109c6565b600c5433600090815260156020526040902054611aed908490612dc8565b1115611b3b5760405162461bcd60e51b815260206004820152601d60248201527f546f6f206d616e79206d696e7420666f7220746869732077616c6c657400000060448201526064016109c6565b3360009081526015602052604081208054849290611b5a908490612dc8565b90915550600090505b82811015610b2b57611b7b3382610c1e856001612dc8565b80611b8581612ec4565b915050611b63565b600a546001600160a01b03163314611bb75760405162461bcd60e51b81526004016109c690612d42565b6001600160a01b038116611c1c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c6565b610d5a81611fab565b60006001600160e01b031982166380ac58cd60e01b1480611c5657506001600160e01b03198216635b5e139f60e01b145b806108b957506301ffc9a760e01b6001600160e01b03198316146108b9565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611caa82611051565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611d5c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109c6565b6000611d6783611051565b9050806001600160a01b0316846001600160a01b03161480611da25750836001600160a01b0316611d9784610951565b6001600160a01b0316145b80611dd257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611ded82611051565b6001600160a01b031614611e555760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109c6565b6001600160a01b038216611eb75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109c6565b611ec2838383612174565b611ecd600082611c75565b6001600160a01b0383166000908152600360205260408120805460019290611ef6908490612e46565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f24908490612dc8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006118708284612dc8565b610eea82826040518060200160405280600081525061222c565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006118708284612e27565b612014848484611dda565b6120208484848461225f565b6113d65760405162461bcd60e51b81526004016109c690612c5d565b6060600e80546108ce90612e89565b60608161206f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612099578061208381612ec4565b91506120929050600a83612e05565b9150612073565b60008167ffffffffffffffff8111156120b4576120b4612f21565b6040519080825280601f01601f1916602001820160405280156120de576020820181803683370190505b509050815b851561216b576120f4600182612e46565b90506000612103600a88612e05565b61210e90600a612e27565b6121189088612e46565b612123906030612de0565b905060008160f81b90508084848151811061214057612140612f0b565b60200101906001600160f81b031916908160001a905350612162600a89612e05565b975050506120e3565b50949350505050565b6001600160a01b0383166121cf576121ca81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6121f2565b816001600160a01b0316836001600160a01b0316146121f2576121f2838261236c565b6001600160a01b03821661220957610b2b81612409565b826001600160a01b0316826001600160a01b031614610b2b57610b2b82826124b8565b61223683836124fc565b612243600084848461225f565b610b2b5760405162461bcd60e51b81526004016109c690612c5d565b60006001600160a01b0384163b1561236157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906122a3903390899088908890600401612bc9565b602060405180830381600087803b1580156122bd57600080fd5b505af19250505080156122ed575060408051601f3d908101601f191682019092526122ea918101906129cf565b60015b612347573d80801561231b576040519150601f19603f3d011682016040523d82523d6000602084013e612320565b606091505b50805161233f5760405162461bcd60e51b81526004016109c690612c5d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dd2565b506001949350505050565b60006001612379846110c8565b6123839190612e46565b6000838152600760205260409020549091508082146123d6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061241b90600190612e46565b6000838152600960205260408120546008805493945090928490811061244357612443612f0b565b90600052602060002001549050806008838154811061246457612464612f0b565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061249c5761249c612ef5565b6001900381819060005260206000200160009055905550505050565b60006124c3836110c8565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166125525760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109c6565b6000818152600260205260409020546001600160a01b0316156125b75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109c6565b6125c360008383612174565b6001600160a01b03821660009081526003602052604081208054600192906125ec908490612dc8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461265690612e89565b90600052602060002090601f01602090048101928261267857600085556126be565b82601f1061269157805160ff19168380011785556126be565b828001600101855582156126be579182015b828111156126be5782518255916020019190600101906126a3565b506126ca9291506126ce565b5090565b5b808211156126ca57600081556001016126cf565b600067ffffffffffffffff808411156126fe576126fe612f21565b604051601f8501601f19908116603f0116810190828211818310171561272657612726612f21565b8160405280935085815286868601111561273f57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461277057600080fd5b919050565b60008083601f84011261278757600080fd5b50813567ffffffffffffffff81111561279f57600080fd5b6020830191508360208260051b85010111156127ba57600080fd5b9250929050565b8035801515811461277057600080fd5b6000602082840312156127e357600080fd5b61187082612759565b600080604083850312156127ff57600080fd5b61280883612759565b915061281660208401612759565b90509250929050565b60008060006060848603121561283457600080fd5b61283d84612759565b925061284b60208501612759565b9150604084013590509250925092565b6000806000806080858703121561287157600080fd5b61287a85612759565b935061288860208601612759565b925060408501359150606085013567ffffffffffffffff8111156128ab57600080fd5b8501601f810187136128bc57600080fd5b6128cb878235602084016126e3565b91505092959194509250565b600080604083850312156128ea57600080fd5b6128f383612759565b9150612816602084016127c1565b6000806040838503121561291457600080fd5b61291d83612759565b946020939093013593505050565b6000806000806040858703121561294157600080fd5b843567ffffffffffffffff8082111561295957600080fd5b61296588838901612775565b9096509450602087013591508082111561297e57600080fd5b5061298b87828801612775565b95989497509550505050565b6000602082840312156129a957600080fd5b611870826127c1565b6000602082840312156129c457600080fd5b813561187081612f37565b6000602082840312156129e157600080fd5b815161187081612f37565b6000602082840312156129fe57600080fd5b813567ffffffffffffffff811115612a1557600080fd5b8201601f81018413612a2657600080fd5b611dd2848235602084016126e3565b600060208284031215612a4757600080fd5b5035919050565b60008060408385031215612a6157600080fd5b8235915061281660208401612759565b600080600060408486031215612a8657600080fd5b83359250602084013567ffffffffffffffff811115612aa457600080fd5b612ab086828701612775565b9497909650939450505050565b60008151808452612ad5816020860160208601612e5d565b601f01601f19169290920160200192915050565b60008251612afb818460208701612e5d565b9190910192915050565b600084516020612b188285838a01612e5d565b855191840191612b2b8184848a01612e5d565b8554920191600090600181811c9080831680612b4857607f831692505b858310811415612b6657634e487b7160e01b85526022600452602485fd5b808015612b7a5760018114612b8b57612bb8565b60ff19851688528388019550612bb8565b60008b81526020902060005b85811015612bb05781548a820152908401908801612b97565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612bfc90830184612abd565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612c3e57835183529284019291840191600101612c22565b50909695505050505050565b6020815260006118706020830184612abd565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526029908201527f41697264726f7020776f756c6420657863656564206d617820737570706c79206040820152686f6620746f6b656e7360b81b606082015260800190565b6020808252602a908201527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015269206f6620746f6b656e7360b01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612ddb57612ddb612edf565b500190565b600060ff821660ff84168060ff03821115612dfd57612dfd612edf565b019392505050565b600082612e2257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612e4157612e41612edf565b500290565b600082821015612e5857612e58612edf565b500390565b60005b83811015612e78578181015183820152602001612e60565b838111156113d65750506000910152565b600181811c90821680612e9d57607f821691505b60208210811415612ebe57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612ed857612ed8612edf565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d5a57600080fdfea2646970667358221220ae94898b0c63715fd901f27f82b831659c1e2c5b1147c3e0db12d585919438e664736f6c63430008070033

Deployed Bytecode Sourcemap

48698:6944:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49082:39;;;;;;;;;;;;;;;;;;;21615:25:1;;;21603:2;21588:18;49082:39:0;;;;;;;;33646:224;;;;;;;;;;-1:-1:-1;33646:224:0;;;;;:::i;:::-;;:::i;:::-;;;9797:14:1;;9790:22;9772:41;;9760:2;9745:18;33646:224:0;9632:187:1;20778:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22337:221::-;;;;;;;;;;-1:-1:-1;22337:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8458:32:1;;;8440:51;;8428:2;8413:18;22337:221:0;8294:203:1;53666:106:0;;;;;;;;;;-1:-1:-1;53666:106:0;;;;;:::i;:::-;;:::i;:::-;;21860:411;;;;;;;;;;-1:-1:-1;21860:411:0;;;;;:::i;:::-;;:::i;49283:48::-;;;;;;;;;;-1:-1:-1;49283:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;34286:113;;;;;;;;;;-1:-1:-1;34374:10:0;:17;34286:113;;23227:339;;;;;;;;;;-1:-1:-1;23227:339:0;;;;;:::i;:::-;;:::i;49130:37::-;;;;;;;;;;-1:-1:-1;49130:37:0;;;;;;;;50259:333;;;;;;;;;;-1:-1:-1;50259:333:0;;;;;:::i;:::-;;:::i;33954:256::-;;;;;;;;;;-1:-1:-1;33954:256:0;;;;;:::i;:::-;;:::i;53896:156::-;;;;;;;;;;-1:-1:-1;53896:156:0;;;;;:::i;:::-;;:::i;53339:107::-;;;;;;;;;;;;;:::i;23637:185::-;;;;;;;;;;-1:-1:-1;23637:185:0;;;;;:::i;:::-;;:::i;52988:343::-;;;;;;;;;;-1:-1:-1;52988:343:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;34476:233::-;;;;;;;;;;-1:-1:-1;34476:233:0;;;;;:::i;:::-;;:::i;48908:28::-;;;;;;;;;;-1:-1:-1;48908:28:0;;;;;;;;54060:88;;;;;;;;;;-1:-1:-1;54060:88:0;;;;;:::i;:::-;;:::i;52648:332::-;;;;;;;;;;-1:-1:-1;52648:332:0;;;;;:::i;:::-;;:::i;53561:97::-;;;;;;;;;;-1:-1:-1;53561:97:0;;;;;:::i;:::-;;:::i;54373:116::-;;;;;;;;;;-1:-1:-1;54373:116:0;;;;;:::i;:::-;;:::i;20472:239::-;;;;;;;;;;-1:-1:-1;20472:239:0;;;;;:::i;:::-;;:::i;20202:208::-;;;;;;;;;;-1:-1:-1;20202:208:0;;;;;:::i;:::-;;:::i;41355:94::-;;;;;;;;;;;;;:::i;50600:881::-;;;;;;:::i;:::-;;:::i;48858:41::-;;;;;;;;;;;;;;;;54156:104;;;;;;;;;;-1:-1:-1;54156:104:0;;;;;:::i;:::-;;:::i;49219:55::-;;;;;;;;;;-1:-1:-1;49219:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;40704:87;;;;;;;;;;-1:-1:-1;40777:6:0;;-1:-1:-1;;;;;40777:6:0;40704:87;;20947:104;;;;;;;;;;;;;:::i;53454:99::-;;;;;;;;;;-1:-1:-1;53454:99:0;;;;;:::i;:::-;;:::i;49035:40::-;;;;;;;;;;;;;;;;22630:295;;;;;;;;;;-1:-1:-1;22630:295:0;;;;;:::i;:::-;;:::i;53780:108::-;;;;;;;;;;-1:-1:-1;53780:108:0;;;;;:::i;:::-;;:::i;48972:23::-;;;;;;;;;;;;;:::i;23893:328::-;;;;;;;;;;-1:-1:-1;23893:328:0;;;;;:::i;:::-;;:::i;49429:339::-;;;;;;;;;;-1:-1:-1;49429:339:0;;;;;:::i;:::-;;:::i;49174:36::-;;;;;;;;;;-1:-1:-1;49174:36:0;;;;;;;;;;;49776:475;;;;;;;;;;-1:-1:-1;49776:475:0;;;;;:::i;:::-;;:::i;54605:452::-;;;;;;;;;;-1:-1:-1;54605:452:0;;;;;:::i;:::-;;:::i;49004:24::-;;;;;;;;;;;;;;;;48819:32;;;;;;;;;;;;;;;;54268:97;;;;;;;;;;-1:-1:-1;54268:97:0;;;;;:::i;:::-;;:::i;52270:370::-;;;;;;;;;;-1:-1:-1;52270:370:0;;;;;:::i;:::-;;:::i;22996:164::-;;;;;;;;;;-1:-1:-1;22996:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;23117:25:0;;;23093:4;23117:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22996:164;51489:773;;;;;;:::i;:::-;;:::i;41604:192::-;;;;;;;;;;-1:-1:-1;41604:192:0;;;;;:::i;:::-;;:::i;33646:224::-;33748:4;-1:-1:-1;;;;;;33772:50:0;;-1:-1:-1;;;33772:50:0;;:90;;;33826:36;33850:11;33826:23;:36::i;:::-;33765:97;33646:224;-1:-1:-1;;33646:224:0:o;20778:100::-;20832:13;20865:5;20858:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20778:100;:::o;22337:221::-;22413:7;25820:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25820:16:0;22433:73;;;;-1:-1:-1;;;22433:73:0;;17317:2:1;22433:73:0;;;17299:21:1;17356:2;17336:18;;;17329:30;17395:34;17375:18;;;17368:62;-1:-1:-1;;;17446:18:1;;;17439:42;17498:19;;22433:73:0;;;;;;;;;-1:-1:-1;22526:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22526:24:0;;22337:221::o;53666:106::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;53739:14:::1;:25:::0;53666:106::o;21860:411::-;21941:13;21957:23;21972:7;21957:14;:23::i;:::-;21941:39;;22005:5;-1:-1:-1;;;;;21999:11:0;:2;-1:-1:-1;;;;;21999:11:0;;;21991:57;;;;-1:-1:-1;;;21991:57:0;;18917:2:1;21991:57:0;;;18899:21:1;18956:2;18936:18;;;18929:30;18995:34;18975:18;;;18968:62;-1:-1:-1;;;19046:18:1;;;19039:31;19087:19;;21991:57:0;18715:397:1;21991:57:0;15637:10;-1:-1:-1;;;;;22083:21:0;;;;:62;;-1:-1:-1;22108:37:0;22125:5;15637:10;22996:164;:::i;22108:37::-;22061:168;;;;-1:-1:-1;;;22061:168:0;;14542:2:1;22061:168:0;;;14524:21:1;14581:2;14561:18;;;14554:30;14620:34;14600:18;;;14593:62;14691:26;14671:18;;;14664:54;14735:19;;22061:168:0;14340:420:1;22061:168:0;22242:21;22251:2;22255:7;22242:8;:21::i;:::-;21930:341;21860:411;;:::o;23227:339::-;23422:41;15637:10;23455:7;23422:18;:41::i;:::-;23414:103;;;;-1:-1:-1;;;23414:103:0;;;;;;;:::i;:::-;23530:28;23540:4;23546:2;23550:7;23530:9;:28::i;50259:333::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;50336:14:::1;50353:13;34374:10:::0;:17;;34286:113;50353:13:::1;50414:9;::::0;50336:30;;-1:-1:-1;50385:25:0::1;50336:30:::0;50396:13;50385:10:::1;:25::i;:::-;:38;;50377:89;;;::::0;-1:-1:-1;;;50377:89:0;;21264:2:1;50377:89:0::1;::::0;::::1;21246:21:1::0;21303:2;21283:18;;;21276:30;21342:34;21322:18;;;21315:62;-1:-1:-1;;;21393:18:1;;;21386:36;21439:19;;50377:89:0::1;21062:402:1::0;50377:89:0::1;50482:9;50477:108;50501:13;50497:1;:17;50477:108;;;50536:37;50546:10;50571:1:::0;50558:10:::1;:6:::0;50567:1:::1;50558:10;:::i;:::-;:14;;;;:::i;:::-;50536:9;:37::i;:::-;50516:3:::0;::::1;::::0;::::1;:::i;:::-;;;;50477:108;;33954:256:::0;34051:7;34087:23;34104:5;34087:16;:23::i;:::-;34079:5;:31;34071:87;;;;-1:-1:-1;;;34071:87:0;;11011:2:1;34071:87:0;;;10993:21:1;11050:2;11030:18;;;11023:30;11089:34;11069:18;;;11062:62;-1:-1:-1;;;11140:18:1;;;11133:41;11191:19;;34071:87:0;10809:407:1;34071:87:0;-1:-1:-1;;;;;;34176:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;33954:256::o;53896:156::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;53994:22:::1;:50:::0;53896:156::o;53339:107::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;53387:51:::1;::::0;53395:10:::1;::::0;53416:21:::1;53387:51:::0;::::1;;;::::0;::::1;::::0;;;53416:21;53395:10;53387:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;53339:107::o:0;23637:185::-;23775:39;23792:4;23798:2;23802:7;23775:39;;;;;;;;;;;;:16;:39::i;52988:343::-;53048:16;53077:18;53098:16;53108:5;53098:9;:16::i;:::-;53077:37;;53127:25;53169:10;53155:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53155:25:0;;53127:53;;53196:9;53191:107;53211:10;53207:1;:14;53191:107;;;53257:29;53277:5;53284:1;53257:19;:29::i;:::-;53243:8;53252:1;53243:11;;;;;;;;:::i;:::-;;;;;;;;;;:43;53223:3;;;;:::i;:::-;;;;53191:107;;;-1:-1:-1;53315:8:0;52988:343;-1:-1:-1;;;52988:343:0:o;34476:233::-;34551:7;34587:30;34374:10;:17;;34286:113;34587:30;34579:5;:38;34571:95;;;;-1:-1:-1;;;34571:95:0;;20141:2:1;34571:95:0;;;20123:21:1;20180:2;20160:18;;;20153:30;20219:34;20199:18;;;20192:62;-1:-1:-1;;;20270:18:1;;;20263:42;20322:19;;34571:95:0;19939:408:1;34571:95:0;34684:10;34695:5;34684:17;;;;;;;;:::i;:::-;;;;;;;;;34677:24;;34476:233;;;:::o;54060:88::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;54127:13;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;;54060:88:::0;:::o;52648:332::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;52779:39;;::::1;52771:70;;;::::0;-1:-1:-1;;;52771:70:0;;16609:2:1;52771:70:0::1;::::0;::::1;16591:21:1::0;16648:2;16628:18;;;16621:30;-1:-1:-1;;;16667:18:1;;;16660:48;16725:18;;52771:70:0::1;16407:342:1::0;52771:70:0::1;52857:9;52852:121;52868:20:::0;;::::1;52852:121;;;52946:12;;52959:1;52946:15;;;;;;;:::i;:::-;;;;;;;52910:19;:33;52930:9;;52940:1;52930:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;52910:33:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;52910:33:0;:51;52890:3;::::1;::::0;::::1;:::i;:::-;;;;52852:121;;;;52648:332:::0;;;;:::o;53561:97::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;53625:16:::1;:25:::0;;;::::1;;;;-1:-1:-1::0;;53625:25:0;;::::1;::::0;;;::::1;::::0;;53561:97::o;54373:116::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;54451:12:::1;:30:::0;54373:116::o;20472:239::-;20544:7;20580:16;;;:7;:16;;;;;;-1:-1:-1;;;;;20580:16:0;20615:19;20607:73;;;;-1:-1:-1;;;20607:73:0;;15788:2:1;20607:73:0;;;15770:21:1;15827:2;15807:18;;;15800:30;15866:34;15846:18;;;15839:62;-1:-1:-1;;;15917:18:1;;;15910:39;15966:19;;20607:73:0;15586:405:1;20202:208:0;20274:7;-1:-1:-1;;;;;20302:19:0;;20294:74;;;;-1:-1:-1;;;20294:74:0;;15377:2:1;20294:74:0;;;15359:21:1;15416:2;15396:18;;;15389:30;15455:34;15435:18;;;15428:62;-1:-1:-1;;;15506:18:1;;;15499:40;15556:19;;20294:74:0;15175:406:1;20294:74:0;-1:-1:-1;;;;;;20386:16:0;;;;;:9;:16;;;;;;;20202:208::o;41355:94::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;41420:21:::1;41438:1;41420:9;:21::i;:::-;41355:94::o:0;50600:881::-;50670:14;50687:13;34374:10;:17;;34286:113;50687:13;50750:10;50711:16;50730:31;;;:19;:31;;;;;;50780:17;;50670:30;;-1:-1:-1;50730:31:0;50780:17;;50772:65;;;;-1:-1:-1;;;50772:65:0;;19737:2:1;50772:65:0;;;19719:21:1;19776:2;19756:18;;;19749:30;19815:34;19795:18;;;19788:62;-1:-1:-1;;;19866:18:1;;;19859:33;19909:19;;50772:65:0;19535:399:1;50772:65:0;50872:1;50856:13;:17;:50;;;;;50894:12;;50877:13;:29;;50856:50;50848:86;;;;-1:-1:-1;;;50848:86:0;;20912:2:1;50848:86:0;;;20894:21:1;20951:2;20931:18;;;20924:30;-1:-1:-1;;;20970:18:1;;;20963:53;21033:18;;50848:86:0;20710:347:1;50848:86:0;50964:1;50953:8;:12;50945:60;;;;-1:-1:-1;;;50945:60:0;;14138:2:1;50945:60:0;;;14120:21:1;14177:2;14157:18;;;14150:30;14216:34;14196:18;;;14189:62;-1:-1:-1;;;14267:18:1;;;14260:33;14310:19;;50945:60:0;13936:399:1;50945:60:0;51041:8;51024:13;:25;;51016:67;;;;-1:-1:-1;;;51016:67:0;;10653:2:1;51016:67:0;;;10635:21:1;10692:2;10672:18;;;10665:30;10731:31;10711:18;;;10704:59;10780:18;;51016:67:0;10451:353:1;51016:67:0;51131:9;;51102:25;:6;51113:13;51102:10;:25::i;:::-;:38;;51094:93;;;;-1:-1:-1;;;51094:93:0;;;;;;;:::i;:::-;51206:15;;51244:9;;51206:34;;51226:13;51206:19;:34::i;:::-;:47;;51198:91;;;;-1:-1:-1;;;51198:91:0;;13365:2:1;51198:91:0;;;13347:21:1;13404:2;13384:18;;;13377:30;13443:33;13423:18;;;13416:61;13494:18;;51198:91:0;13163:355:1;51198:91:0;51334:24;51345:13;51334:8;:24;:::i;:::-;51320:10;51300:31;;;;:19;:31;;;;;:58;;;;51371:103;51390:13;51386:1;:17;51371:103;;;51425:37;51435:10;51460:1;51447:10;:6;51456:1;51447:10;:::i;51425:37::-;51405:3;;;;:::i;:::-;;;;51371:103;;;;50659:822;;50600:881;:::o;54156:104::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;54231:21;;::::1;::::0;:9:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;20947:104::-:0;21003:13;21036:7;21029:14;;;;;:::i;53454:99::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;53519:17:::1;:26:::0;;-1:-1:-1;;53519:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;53454:99::o;22630:295::-;-1:-1:-1;;;;;22733:24:0;;15637:10;22733:24;;22725:62;;;;-1:-1:-1;;;22725:62:0;;13011:2:1;22725:62:0;;;12993:21:1;13050:2;13030:18;;;13023:30;13089:27;13069:18;;;13062:55;13134:18;;22725:62:0;12809:349:1;22725:62:0;15637:10;22800:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;22800:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;22800:53:0;;;;;;;;;;22869:48;;9772:41:1;;;22800:42:0;;15637:10;22869:48;;9745:18:1;22869:48:0;;;;;;;22630:295;;:::o;53780:108::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;53854:15:::1;:26:::0;53780:108::o;48972:23::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23893:328::-;24068:41;15637:10;24101:7;24068:18;:41::i;:::-;24060:103;;;;-1:-1:-1;;;24060:103:0;;;;;;;:::i;:::-;24174:39;24188:4;24194:2;24198:7;24207:5;24174:13;:39::i;49429:339::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;49513:14:::1;49530:13;34374:10:::0;:17;;34286:113;49530:13:::1;49591:9;::::0;49513:30;;-1:-1:-1;49562:25:0::1;49513:30:::0;49573:13;49562:10:::1;:25::i;:::-;:38;;49554:92;;;;-1:-1:-1::0;;;49554:92:0::1;;;;;;;:::i;:::-;49662:9;49657:104;49681:13;49677:1;:17;49657:104;;;49716:33;49726:6:::0;49747:1;49734:10:::1;:6:::0;49743:1:::1;49734:10;:::i;49716:33::-;49696:3:::0;::::1;::::0;::::1;:::i;:::-;;;;49657:104;;49776:475:::0;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;49873:14:::1;49890:13;34374:10:::0;:17;;34286:113;49890:13:::1;49971:9;::::0;49873:30;;-1:-1:-1;49922:45:0::1;49933:33;:13:::0;49951:7;49933:17:::1;:33::i;:::-;49922:6:::0;;:10:::1;:45::i;:::-;:58;;49914:112;;;;-1:-1:-1::0;;;49914:112:0::1;;;;;;;:::i;:::-;50042:9;50037:207;50057:18:::0;;::::1;50037:207;;;50102:9;50097:136;50121:13;50117:1;:17;50097:136;;;50160:57;50170:7;;50178:1;50170:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;50199:17;50203:13:::0;50199:1;:17:::1;:::i;:::-;50195:1:::0;50182:10:::1;:6:::0;50191:1:::1;50182:10;:::i;:::-;:14;;;;:::i;50160:57::-;50136:3:::0;::::1;::::0;::::1;:::i;:::-;;;;50097:136;;;-1:-1:-1::0;50077:3:0;::::1;::::0;::::1;:::i;:::-;;;;50037:207;;54605:452:::0;25796:4;25820:16;;;:7;:16;;;;;;54678:13;;-1:-1:-1;;;;;25820:16:0;54704:76;;;;-1:-1:-1;;;54704:76:0;;18501:2:1;54704:76:0;;;18483:21:1;18540:2;18520:18;;;18513:30;18579:34;18559:18;;;18552:62;-1:-1:-1;;;18630:18:1;;;18623:45;18685:19;;54704:76:0;18299:411:1;54704:76:0;54793:18;54814:10;:8;:10::i;:::-;54839:8;;54793:31;;-1:-1:-1;54839:8:0;;54835:107;;54891:1;54876:4;54870:18;:22;:60;;;;;;;;;;;;;;;;;54919:4;54902:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;54870:60;54863:67;54605:452;-1:-1:-1;;;54605:452:0:o;54835:107::-;54980:1;54965:4;54959:18;:22;:90;;;;;;;;;;;;;;;;;55008:4;55014:17;55023:7;55014:8;:17::i;:::-;55033:9;54991:52;;;;;;;;;;:::i;54268:97::-;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;54335:8:::1;:22:::0;;-1:-1:-1;;54335:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;54268:97::o;52270:370::-;52358:16;;52334:7;;52358:16;;;;;52354:210;;;-1:-1:-1;;;;;52421:20:0;;;;;;:12;:20;;;;;;52395:22;;:46;52391:139;;-1:-1:-1;;;;;52494:20:0;;;;;;:12;:20;;;;;;52469:22;;:45;;52494:20;52469:45;:::i;52391:139::-;-1:-1:-1;52551:1:0;;52270:370;-1:-1:-1;52270:370:0:o;52354:210::-;52581:17;;;;:51;;52631:1;52581:51;;;-1:-1:-1;;;;;;52601:27:0;;;;;:19;:27;;;;;;;52270:370::o;51489:773::-;51558:14;51575:13;34374:10;:17;;34286:113;51575:13;51607:16;;51558:30;;-1:-1:-1;51607:16:0;;;;;51599:63;;;;-1:-1:-1;;;51599:63:0;;10250:2:1;51599:63:0;;;10232:21:1;10289:2;10269:18;;;10262:30;10328:34;10308:18;;;10301:62;-1:-1:-1;;;10379:18:1;;;10372:32;10421:19;;51599:63:0;10048:398:1;51599:63:0;51697:1;51681:13;:17;:50;;;;;51719:12;;51702:13;:29;;51681:50;51673:86;;;;-1:-1:-1;;;51673:86:0;;20912:2:1;51673:86:0;;;20894:21:1;20951:2;20931:18;;;20924:30;-1:-1:-1;;;20970:18:1;;;20963:53;21033:18;;51673:86:0;20710:347:1;51673:86:0;51807:9;;51778:25;:6;51789:13;51778:10;:25::i;:::-;:38;;51770:93;;;;-1:-1:-1;;;51770:93:0;;;;;;;:::i;:::-;51882:14;;51919:9;;51882:33;;51901:13;51882:18;:33::i;:::-;:46;;51874:90;;;;-1:-1:-1;;;51874:90:0;;13365:2:1;51874:90:0;;;13347:21:1;13404:2;13384:18;;;13377:30;13443:33;13423:18;;;13416:61;13494:18;;51874:90:0;13163:355:1;51874:90:0;52027:22;;51996:10;51983:24;;;;:12;:24;;;;;;:40;;52010:13;;51983:40;:::i;:::-;:66;;51975:108;;;;-1:-1:-1;;;51975:108:0;;20554:2:1;51975:108:0;;;20536:21:1;20593:2;20573:18;;;20566:30;20632:31;20612:18;;;20605:59;20681:18;;51975:108:0;20352:353:1;51975:108:0;52109:10;52096:24;;;;:12;:24;;;;;:41;;52124:13;;52096:24;:41;;52124:13;;52096:41;:::i;:::-;;;;-1:-1:-1;52154:9:0;;-1:-1:-1;52150:103:0;52169:13;52165:1;:17;52150:103;;;52204:37;52214:10;52239:1;52226:10;:6;52235:1;52226:10;:::i;52204:37::-;52184:3;;;;:::i;:::-;;;;52150:103;;41604:192;40777:6;;-1:-1:-1;;;;;40777:6:0;15637:10;40924:23;40916:68;;;;-1:-1:-1;;;40916:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;41693:22:0;::::1;41685:73;;;::::0;-1:-1:-1;;;41685:73:0;;11842:2:1;41685:73:0::1;::::0;::::1;11824:21:1::0;11881:2;11861:18;;;11854:30;11920:34;11900:18;;;11893:62;-1:-1:-1;;;11971:18:1;;;11964:36;12017:19;;41685:73:0::1;11640:402:1::0;41685:73:0::1;41769:19;41779:8;41769:9;:19::i;19845:293::-:0;19947:4;-1:-1:-1;;;;;;19980:40:0;;-1:-1:-1;;;19980:40:0;;:101;;-1:-1:-1;;;;;;;20033:48:0;;-1:-1:-1;;;20033:48:0;19980:101;:150;;;-1:-1:-1;;;;;;;;;;18563:40:0;;;20094:36;18454:157;29713:174;29788:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;29788:29:0;-1:-1:-1;;;;;29788:29:0;;;;;;;;:24;;29842:23;29788:24;29842:14;:23::i;:::-;-1:-1:-1;;;;;29833:46:0;;;;;;;;;;;29713:174;;:::o;26025:348::-;26118:4;25820:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25820:16:0;26135:73;;;;-1:-1:-1;;;26135:73:0;;13725:2:1;26135:73:0;;;13707:21:1;13764:2;13744:18;;;13737:30;13803:34;13783:18;;;13776:62;-1:-1:-1;;;13854:18:1;;;13847:42;13906:19;;26135:73:0;13523:408:1;26135:73:0;26219:13;26235:23;26250:7;26235:14;:23::i;:::-;26219:39;;26288:5;-1:-1:-1;;;;;26277:16:0;:7;-1:-1:-1;;;;;26277:16:0;;:51;;;;26321:7;-1:-1:-1;;;;;26297:31:0;:20;26309:7;26297:11;:20::i;:::-;-1:-1:-1;;;;;26297:31:0;;26277:51;:87;;;-1:-1:-1;;;;;;23117:25:0;;;23093:4;23117:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;26332:32;26269:96;26025:348;-1:-1:-1;;;;26025:348:0:o;29017:578::-;29176:4;-1:-1:-1;;;;;29149:31:0;:23;29164:7;29149:14;:23::i;:::-;-1:-1:-1;;;;;29149:31:0;;29141:85;;;;-1:-1:-1;;;29141:85:0;;18091:2:1;29141:85:0;;;18073:21:1;18130:2;18110:18;;;18103:30;18169:34;18149:18;;;18142:62;-1:-1:-1;;;18220:18:1;;;18213:39;18269:19;;29141:85:0;17889:405:1;29141:85:0;-1:-1:-1;;;;;29245:16:0;;29237:65;;;;-1:-1:-1;;;29237:65:0;;12606:2:1;29237:65:0;;;12588:21:1;12645:2;12625:18;;;12618:30;12684:34;12664:18;;;12657:62;-1:-1:-1;;;12735:18:1;;;12728:34;12779:19;;29237:65:0;12404:400:1;29237:65:0;29315:39;29336:4;29342:2;29346:7;29315:20;:39::i;:::-;29419:29;29436:1;29440:7;29419:8;:29::i;:::-;-1:-1:-1;;;;;29461:15:0;;;;;;:9;:15;;;;;:20;;29480:1;;29461:15;:20;;29480:1;;29461:20;:::i;:::-;;;;-1:-1:-1;;;;;;;29492:13:0;;;;;;:9;:13;;;;;:18;;29509:1;;29492:13;:18;;29509:1;;29492:18;:::i;:::-;;;;-1:-1:-1;;29521:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29521:21:0;-1:-1:-1;;;;;29521:21:0;;;;;;;;;29560:27;;29521:16;;29560:27;;;;;;;29017:578;;;:::o;44581:98::-;44639:7;44666:5;44670:1;44666;:5;:::i;26715:110::-;26791:26;26801:2;26805:7;26791:26;;;;;;;;;;;;:9;:26::i;41804:173::-;41879:6;;;-1:-1:-1;;;;;41896:17:0;;;-1:-1:-1;;;;;;41896:17:0;;;;;;;41929:40;;41879:6;;;41896:17;41879:6;;41929:40;;41860:16;;41929:40;41849:128;41804:173;:::o;45319:98::-;45377:7;45404:5;45408:1;45404;:5;:::i;25103:315::-;25260:28;25270:4;25276:2;25280:7;25260:9;:28::i;:::-;25307:48;25330:4;25336:2;25340:7;25349:5;25307:22;:48::i;:::-;25299:111;;;;-1:-1:-1;;;25299:111:0;;;;;;;:::i;54497:100::-;54549:13;54582:7;54575:14;;;;;:::i;55065:572::-;55114:27;55158:7;55154:50;;-1:-1:-1;;55182:10:0;;;;;;;;;;;;-1:-1:-1;;;55182:10:0;;;;;55065:572::o;55154:50::-;55223:2;55214:6;55255:69;55262:6;;55255:69;;55285:5;;;;:::i;:::-;;-1:-1:-1;55305:7:0;;-1:-1:-1;55310:2:0;55305:7;;:::i;:::-;;;55255:69;;;55334:17;55364:3;55354:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55354:14:0;-1:-1:-1;55334:34:0;-1:-1:-1;55388:3:0;55402:198;55409:7;;55402:198;;55437:3;55439:1;55437;:3;:::i;:::-;55433:7;-1:-1:-1;55455:10:0;55485:7;55490:2;55485;:7;:::i;:::-;:12;;55495:2;55485:12;:::i;:::-;55480:17;;:2;:17;:::i;:::-;55469:29;;:2;:29;:::i;:::-;55455:44;;55514:9;55533:4;55526:12;;55514:24;;55563:2;55553:4;55558:1;55553:7;;;;;;;;:::i;:::-;;;;:12;-1:-1:-1;;;;;55553:12:0;;;;;;;;-1:-1:-1;55580:8:0;55586:2;55580:8;;:::i;:::-;;;55418:182;;55402:198;;;-1:-1:-1;55624:4:0;55065:572;-1:-1:-1;;;;55065:572:0:o;35322:589::-;-1:-1:-1;;;;;35528:18:0;;35524:187;;35563:40;35595:7;36738:10;:17;;36711:24;;;;:15;:24;;;;;:44;;;36766:24;;;;;;;;;;;;36634:164;35563:40;35524:187;;;35633:2;-1:-1:-1;;;;;35625:10:0;:4;-1:-1:-1;;;;;35625:10:0;;35621:90;;35652:47;35685:4;35691:7;35652:32;:47::i;:::-;-1:-1:-1;;;;;35725:16:0;;35721:183;;35758:45;35795:7;35758:36;:45::i;35721:183::-;35831:4;-1:-1:-1;;;;;35825:10:0;:2;-1:-1:-1;;;;;35825:10:0;;35821:83;;35852:40;35880:2;35884:7;35852:27;:40::i;27052:321::-;27182:18;27188:2;27192:7;27182:5;:18::i;:::-;27233:54;27264:1;27268:2;27272:7;27281:5;27233:22;:54::i;:::-;27211:154;;;;-1:-1:-1;;;27211:154:0;;;;;;;:::i;30452:799::-;30607:4;-1:-1:-1;;;;;30628:13:0;;8009:20;8057:8;30624:620;;30664:72;;-1:-1:-1;;;30664:72:0;;-1:-1:-1;;;;;30664:36:0;;;;;:72;;15637:10;;30715:4;;30721:7;;30730:5;;30664:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30664:72:0;;;;;;;;-1:-1:-1;;30664:72:0;;;;;;;;;;;;:::i;:::-;;;30660:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30906:13:0;;30902:272;;30949:60;;-1:-1:-1;;;30949:60:0;;;;;;;:::i;30902:272::-;31124:6;31118:13;31109:6;31105:2;31101:15;31094:38;30660:529;-1:-1:-1;;;;;;30787:51:0;-1:-1:-1;;;30787:51:0;;-1:-1:-1;30780:58:0;;30624:620;-1:-1:-1;31228:4:0;30452:799;;;;;;:::o;37425:988::-;37691:22;37741:1;37716:22;37733:4;37716:16;:22::i;:::-;:26;;;;:::i;:::-;37753:18;37774:26;;;:17;:26;;;;;;37691:51;;-1:-1:-1;37907:28:0;;;37903:328;;-1:-1:-1;;;;;37974:18:0;;37952:19;37974:18;;;:12;:18;;;;;;;;:34;;;;;;;;;38025:30;;;;;;:44;;;38142:30;;:17;:30;;;;;:43;;;37903:328;-1:-1:-1;38327:26:0;;;;:17;:26;;;;;;;;38320:33;;;-1:-1:-1;;;;;38371:18:0;;;;;:12;:18;;;;;:34;;;;;;;38364:41;37425:988::o;38708:1079::-;38986:10;:17;38961:22;;38986:21;;39006:1;;38986:21;:::i;:::-;39018:18;39039:24;;;:15;:24;;;;;;39412:10;:26;;38961:46;;-1:-1:-1;39039:24:0;;38961:46;;39412:26;;;;;;:::i;:::-;;;;;;;;;39390:48;;39476:11;39451:10;39462;39451:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;39556:28;;;:15;:28;;;;;;;:41;;;39728:24;;;;;39721:31;39763:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;38779:1008;;;38708:1079;:::o;36212:221::-;36297:14;36314:20;36331:2;36314:16;:20::i;:::-;-1:-1:-1;;;;;36345:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;36390:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;36212:221:0:o;27709:382::-;-1:-1:-1;;;;;27789:16:0;;27781:61;;;;-1:-1:-1;;;27781:61:0;;16956:2:1;27781:61:0;;;16938:21:1;;;16975:18;;;16968:30;17034:34;17014:18;;;17007:62;17086:18;;27781:61:0;16754:356:1;27781:61:0;25796:4;25820:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25820:16:0;:30;27853:58;;;;-1:-1:-1;;;27853:58:0;;12249:2:1;27853:58:0;;;12231:21:1;12288:2;12268:18;;;12261:30;12327;12307:18;;;12300:58;12375:18;;27853:58:0;12047:352:1;27853:58:0;27924:45;27953:1;27957:2;27961:7;27924:20;:45::i;:::-;-1:-1:-1;;;;;27982:13:0;;;;;;:9;:13;;;;;:18;;27999:1;;27982:13;:18;;27999:1;;27982:18;:::i;:::-;;;;-1:-1:-1;;28011:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28011:21:0;-1:-1:-1;;;;;28011:21:0;;;;;;;;28050:33;;28011:16;;;28050:33;;28011:16;;28050:33;27709:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:367::-;891:8;901:6;955:3;948:4;940:6;936:17;932:27;922:55;;973:1;970;963:12;922:55;-1:-1:-1;996:20:1;;1039:18;1028:30;;1025:50;;;1071:1;1068;1061:12;1025:50;1108:4;1100:6;1096:17;1084:29;;1168:3;1161:4;1151:6;1148:1;1144:14;1136:6;1132:27;1128:38;1125:47;1122:67;;;1185:1;1182;1175:12;1122:67;828:367;;;;;:::o;1200:160::-;1265:20;;1321:13;;1314:21;1304:32;;1294:60;;1350:1;1347;1340:12;1365:186;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;1516:29;1535:9;1516:29;:::i;1556:260::-;1624:6;1632;1685:2;1673:9;1664:7;1660:23;1656:32;1653:52;;;1701:1;1698;1691:12;1653:52;1724:29;1743:9;1724:29;:::i;:::-;1714:39;;1772:38;1806:2;1795:9;1791:18;1772:38;:::i;:::-;1762:48;;1556:260;;;;;:::o;1821:328::-;1898:6;1906;1914;1967:2;1955:9;1946:7;1942:23;1938:32;1935:52;;;1983:1;1980;1973:12;1935:52;2006:29;2025:9;2006:29;:::i;:::-;1996:39;;2054:38;2088:2;2077:9;2073:18;2054:38;:::i;:::-;2044:48;;2139:2;2128:9;2124:18;2111:32;2101:42;;1821:328;;;;;:::o;2154:666::-;2249:6;2257;2265;2273;2326:3;2314:9;2305:7;2301:23;2297:33;2294:53;;;2343:1;2340;2333:12;2294:53;2366:29;2385:9;2366:29;:::i;:::-;2356:39;;2414:38;2448:2;2437:9;2433:18;2414:38;:::i;:::-;2404:48;;2499:2;2488:9;2484:18;2471:32;2461:42;;2554:2;2543:9;2539:18;2526:32;2581:18;2573:6;2570:30;2567:50;;;2613:1;2610;2603:12;2567:50;2636:22;;2689:4;2681:13;;2677:27;-1:-1:-1;2667:55:1;;2718:1;2715;2708:12;2667:55;2741:73;2806:7;2801:2;2788:16;2783:2;2779;2775:11;2741:73;:::i;:::-;2731:83;;;2154:666;;;;;;;:::o;2825:254::-;2890:6;2898;2951:2;2939:9;2930:7;2926:23;2922:32;2919:52;;;2967:1;2964;2957:12;2919:52;2990:29;3009:9;2990:29;:::i;:::-;2980:39;;3038:35;3069:2;3058:9;3054:18;3038:35;:::i;3084:254::-;3152:6;3160;3213:2;3201:9;3192:7;3188:23;3184:32;3181:52;;;3229:1;3226;3219:12;3181:52;3252:29;3271:9;3252:29;:::i;:::-;3242:39;3328:2;3313:18;;;;3300:32;;-1:-1:-1;;;3084:254:1:o;3343:773::-;3465:6;3473;3481;3489;3542:2;3530:9;3521:7;3517:23;3513:32;3510:52;;;3558:1;3555;3548:12;3510:52;3598:9;3585:23;3627:18;3668:2;3660:6;3657:14;3654:34;;;3684:1;3681;3674:12;3654:34;3723:70;3785:7;3776:6;3765:9;3761:22;3723:70;:::i;:::-;3812:8;;-1:-1:-1;3697:96:1;-1:-1:-1;3900:2:1;3885:18;;3872:32;;-1:-1:-1;3916:16:1;;;3913:36;;;3945:1;3942;3935:12;3913:36;;3984:72;4048:7;4037:8;4026:9;4022:24;3984:72;:::i;:::-;3343:773;;;;-1:-1:-1;4075:8:1;-1:-1:-1;;;;3343:773:1:o;4121:180::-;4177:6;4230:2;4218:9;4209:7;4205:23;4201:32;4198:52;;;4246:1;4243;4236:12;4198:52;4269:26;4285:9;4269:26;:::i;4306:245::-;4364:6;4417:2;4405:9;4396:7;4392:23;4388:32;4385:52;;;4433:1;4430;4423:12;4385:52;4472:9;4459:23;4491:30;4515:5;4491:30;:::i;4556:249::-;4625:6;4678:2;4666:9;4657:7;4653:23;4649:32;4646:52;;;4694:1;4691;4684:12;4646:52;4726:9;4720:16;4745:30;4769:5;4745:30;:::i;4810:450::-;4879:6;4932:2;4920:9;4911:7;4907:23;4903:32;4900:52;;;4948:1;4945;4938:12;4900:52;4988:9;4975:23;5021:18;5013:6;5010:30;5007:50;;;5053:1;5050;5043:12;5007:50;5076:22;;5129:4;5121:13;;5117:27;-1:-1:-1;5107:55:1;;5158:1;5155;5148:12;5107:55;5181:73;5246:7;5241:2;5228:16;5223:2;5219;5215:11;5181:73;:::i;5265:180::-;5324:6;5377:2;5365:9;5356:7;5352:23;5348:32;5345:52;;;5393:1;5390;5383:12;5345:52;-1:-1:-1;5416:23:1;;5265:180;-1:-1:-1;5265:180:1:o;5450:254::-;5518:6;5526;5579:2;5567:9;5558:7;5554:23;5550:32;5547:52;;;5595:1;5592;5585:12;5547:52;5631:9;5618:23;5608:33;;5660:38;5694:2;5683:9;5679:18;5660:38;:::i;5709:505::-;5804:6;5812;5820;5873:2;5861:9;5852:7;5848:23;5844:32;5841:52;;;5889:1;5886;5879:12;5841:52;5925:9;5912:23;5902:33;;5986:2;5975:9;5971:18;5958:32;6013:18;6005:6;6002:30;5999:50;;;6045:1;6042;6035:12;5999:50;6084:70;6146:7;6137:6;6126:9;6122:22;6084:70;:::i;:::-;5709:505;;6173:8;;-1:-1:-1;6058:96:1;;-1:-1:-1;;;;5709:505:1:o;6219:257::-;6260:3;6298:5;6292:12;6325:6;6320:3;6313:19;6341:63;6397:6;6390:4;6385:3;6381:14;6374:4;6367:5;6363:16;6341:63;:::i;:::-;6458:2;6437:15;-1:-1:-1;;6433:29:1;6424:39;;;;6465:4;6420:50;;6219:257;-1:-1:-1;;6219:257:1:o;6481:276::-;6612:3;6650:6;6644:13;6666:53;6712:6;6707:3;6700:4;6692:6;6688:17;6666:53;:::i;:::-;6735:16;;;;;6481:276;-1:-1:-1;;6481:276:1:o;6762:1527::-;6986:3;7024:6;7018:13;7050:4;7063:51;7107:6;7102:3;7097:2;7089:6;7085:15;7063:51;:::i;:::-;7177:13;;7136:16;;;;7199:55;7177:13;7136:16;7221:15;;;7199:55;:::i;:::-;7343:13;;7276:20;;;7316:1;;7403;7425:18;;;;7478;;;;7505:93;;7583:4;7573:8;7569:19;7557:31;;7505:93;7646:2;7636:8;7633:16;7613:18;7610:40;7607:167;;;-1:-1:-1;;;7673:33:1;;7729:4;7726:1;7719:15;7759:4;7680:3;7747:17;7607:167;7790:18;7817:110;;;;7941:1;7936:328;;;;7783:481;;7817:110;-1:-1:-1;;7852:24:1;;7838:39;;7897:20;;;;-1:-1:-1;7817:110:1;;7936:328;21724:1;21717:14;;;21761:4;21748:18;;8031:1;8045:169;8059:8;8056:1;8053:15;8045:169;;;8141:14;;8126:13;;;8119:37;8184:16;;;;8076:10;;8045:169;;;8049:3;;8245:8;8238:5;8234:20;8227:27;;7783:481;-1:-1:-1;8280:3:1;;6762:1527;-1:-1:-1;;;;;;;;;;;6762:1527:1:o;8502:488::-;-1:-1:-1;;;;;8771:15:1;;;8753:34;;8823:15;;8818:2;8803:18;;8796:43;8870:2;8855:18;;8848:34;;;8918:3;8913:2;8898:18;;8891:31;;;8696:4;;8939:45;;8964:19;;8956:6;8939:45;:::i;:::-;8931:53;8502:488;-1:-1:-1;;;;;;8502:488:1:o;8995:632::-;9166:2;9218:21;;;9288:13;;9191:18;;;9310:22;;;9137:4;;9166:2;9389:15;;;;9363:2;9348:18;;;9137:4;9432:169;9446:6;9443:1;9440:13;9432:169;;;9507:13;;9495:26;;9576:15;;;;9541:12;;;;9468:1;9461:9;9432:169;;;-1:-1:-1;9618:3:1;;8995:632;-1:-1:-1;;;;;;8995:632:1:o;9824:219::-;9973:2;9962:9;9955:21;9936:4;9993:44;10033:2;10022:9;10018:18;10010:6;9993:44;:::i;11221:414::-;11423:2;11405:21;;;11462:2;11442:18;;;11435:30;11501:34;11496:2;11481:18;;11474:62;-1:-1:-1;;;11567:2:1;11552:18;;11545:48;11625:3;11610:19;;11221:414::o;14765:405::-;14967:2;14949:21;;;15006:2;14986:18;;;14979:30;15045:34;15040:2;15025:18;;15018:62;-1:-1:-1;;;15111:2:1;15096:18;;15089:39;15160:3;15145:19;;14765:405::o;15996:406::-;16198:2;16180:21;;;16237:2;16217:18;;;16210:30;16276:34;16271:2;16256:18;;16249:62;-1:-1:-1;;;16342:2:1;16327:18;;16320:40;16392:3;16377:19;;15996:406::o;17528:356::-;17730:2;17712:21;;;17749:18;;;17742:30;17808:34;17803:2;17788:18;;17781:62;17875:2;17860:18;;17528:356::o;19117:413::-;19319:2;19301:21;;;19358:2;19338:18;;;19331:30;19397:34;19392:2;19377:18;;19370:62;-1:-1:-1;;;19463:2:1;19448:18;;19441:47;19520:3;19505:19;;19117:413::o;21777:128::-;21817:3;21848:1;21844:6;21841:1;21838:13;21835:39;;;21854:18;;:::i;:::-;-1:-1:-1;21890:9:1;;21777:128::o;21910:204::-;21948:3;21984:4;21981:1;21977:12;22016:4;22013:1;22009:12;22051:3;22045:4;22041:14;22036:3;22033:23;22030:49;;;22059:18;;:::i;:::-;22095:13;;21910:204;-1:-1:-1;;;21910:204:1:o;22119:217::-;22159:1;22185;22175:132;;22229:10;22224:3;22220:20;22217:1;22210:31;22264:4;22261:1;22254:15;22292:4;22289:1;22282:15;22175:132;-1:-1:-1;22321:9:1;;22119:217::o;22341:168::-;22381:7;22447:1;22443;22439:6;22435:14;22432:1;22429:21;22424:1;22417:9;22410:17;22406:45;22403:71;;;22454:18;;:::i;:::-;-1:-1:-1;22494:9:1;;22341:168::o;22514:125::-;22554:4;22582:1;22579;22576:8;22573:34;;;22587:18;;:::i;:::-;-1:-1:-1;22624:9:1;;22514:125::o;22644:258::-;22716:1;22726:113;22740:6;22737:1;22734:13;22726:113;;;22816:11;;;22810:18;22797:11;;;22790:39;22762:2;22755:10;22726:113;;;22857:6;22854:1;22851:13;22848:48;;;-1:-1:-1;;22892:1:1;22874:16;;22867:27;22644:258::o;22907:380::-;22986:1;22982:12;;;;23029;;;23050:61;;23104:4;23096:6;23092:17;23082:27;;23050:61;23157:2;23149:6;23146:14;23126:18;23123:38;23120:161;;;23203:10;23198:3;23194:20;23191:1;23184:31;23238:4;23235:1;23228:15;23266:4;23263:1;23256:15;23120:161;;22907:380;;;:::o;23292:135::-;23331:3;-1:-1:-1;;23352:17:1;;23349:43;;;23372:18;;:::i;:::-;-1:-1:-1;23419:1:1;23408:13;;23292:135::o;23432:127::-;23493:10;23488:3;23484:20;23481:1;23474:31;23524:4;23521:1;23514:15;23548:4;23545:1;23538:15;23564:127;23625:10;23620:3;23616:20;23613:1;23606:31;23656:4;23653:1;23646:15;23680:4;23677:1;23670:15;23696:127;23757:10;23752:3;23748:20;23745:1;23738:31;23788:4;23785:1;23778:15;23812:4;23809:1;23802:15;23828:127;23889:10;23884:3;23880:20;23877:1;23870:31;23920:4;23917:1;23910:15;23944:4;23941:1;23934:15;23960:131;-1:-1:-1;;;;;;24034:32:1;;24024:43;;24014:71;;24081:1;24078;24071:12

Swarm Source

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