ETH Price: $3,619.99 (+8.94%)

Token

The GOAT Society Season 2 (GSII)
 

Overview

Max Total Supply

1,507 GSII

Holders

380

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 GSII
0x1848c33f7e4be33f60b19b23c15671c52896c168
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:
Goat

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity Multiple files format)

File 6 of 13: Goat.sol
/**
 *Submitted for verification at Etherscan.io on 2022-02-12
 */

// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol
/**
 * @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;
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol
/**
 * @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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol
/**
 * @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 {}
}

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

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _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);
    }
}

contract Goat is ERC721Enumerable, Ownable {
    using Strings for uint256;

    string public baseURI;
    string public baseExtension = ".json";
    string public notRevealedUri;
    uint256 public cost = 0.075 ether;
    uint256 public maxSupply = 7010;
    uint256 public maxMintAmount = 6;
    bool public paused = true;
    bool public revealed = false;
    address payable community =
        payable(0x7a984C84F0FafadaAb7D0395e6abe560E26Ff370);
    address payable brian = payable(0x978328eD70B8A145e17a5D11f3A28543022a769B);
    address payable zach = payable(0x824fb326C426dFB0fC27B804ed3Cbd7ED1E78308);
    address payable shawn = payable(0x70Ea92404568E0053Ef24737840B9f4f8F8c1595);
    address payable sathya =
        payable(0x63bFdd398b74c208EDB8a7e45910d0AAC4858D6A);
    uint256 communityPercentage = 33500;
    uint256 brianPercentage = 1000;
    uint256 zachPercentage = 21000;
    uint256 shawnPercentage = 42000;
    uint256 sathyaPercentage = 2500;
    uint256 baseDivisor = 100000;

    constructor() ERC721("The GOAT Society Season 2", "GSII") {
        setNotRevealedURI(
            "ipfs://QmUq6uuepiZPUJYJWJA2kCvaMpPJoVSznFWs9LRM1FNgrd"
        );
    }

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

    // public
    function mint(uint256 _mintAmount) public payable {
        uint256 supply = totalSupply();
        require(_mintAmount > 0, "need to mint at least 1 NFT");
        require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded");
        if (msg.sender != owner()) {
            require(!paused, "the contract is paused");
            require(
                _mintAmount <= maxMintAmount,
                "max mint amount per session exceeded"
            );
            require(msg.value >= cost * _mintAmount, "insufficient funds");
        }

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

    function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }

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

        if (revealed == false) {
            return notRevealedUri;
        }

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

    //only owner
    function reveal() public onlyOwner {
        revealed = true;
    }

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

    function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner {
        maxMintAmount = _newmaxMintAmount;
    }

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

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

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

    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    function pause(bool _state) public onlyOwner {
        paused = _state;
    }

    function withdraw() public payable onlyOwner {
        uint256 totalBalance = address(this).balance;
        (bool cp, ) = payable(community).call{
            value: (totalBalance / baseDivisor) * communityPercentage
        }("");
        require(cp);
        (bool sp, ) = payable(brian).call{
            value: (totalBalance / baseDivisor) * brianPercentage
        }("");
        require(sp);
        (bool zp, ) = payable(zach).call{
            value: (totalBalance / baseDivisor) * zachPercentage
        }("");
        require(zp);
        (bool shp, ) = payable(shawn).call{
            value: (totalBalance / baseDivisor) * shawnPercentage
        }("");
        require(shp);
        (bool sap, ) = payable(sathya).call{
            value: (totalBalance / baseDivisor) * sathyaPercentage
        }("");
        require(sap);
    }
}

File 1 of 13: Address.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

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

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

File 2 of 13: Context.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

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

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

File 3 of 13: ERC165.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

import './IERC165.sol';

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

File 4 of 13: ERC721.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;
import './Address.sol';
import './Strings.sol';
import './Context.sol';
import './ERC165.sol';
import './IERC721.sol';
import './IERC721Metadata.sol';
import './IERC721Receiver.sol';

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

File 5 of 13: ERC721Enumerable.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

import './ERC721.sol';
import './IERC721Enumerable.sol';
/**
 * @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();
    }
}

File 7 of 13: IERC165.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

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

File 8 of 13: IERC721.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

import './IERC165.sol';

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol
/**
 * @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;
}

File 9 of 13: IERC721Enumerable.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;
import './IERC721.sol';
/**
 * @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);
}

File 10 of 13: IERC721Metadata.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

import './IERC721.sol';


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

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

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

File 11 of 13: IERC721Receiver.sol
// SPDX-License-Identifier: GPL-3.0

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

File 12 of 13: Ownable.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _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);
    }
}

File 13 of 13: Strings.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

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

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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","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":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60c06040526005608081905264173539b7b760d91b60a09081526200002891600c9190620002b7565b5067010a741a46278000600e55611b62600f55600660105560118054757a984c84f0fafadaab7d0395e6abe560e26ff3700000610100600160b01b031960ff1990921660011791909116179055601280546001600160a01b031990811673978328ed70b8a145e17a5d11f3a28543022a769b1790915560138054821673824fb326c426dfb0fc27b804ed3cbd7ed1e783081790556014805482167370ea92404568e0053ef24737840b9f4f8f8c1595179055601580549091167363bfdd398b74c208edb8a7e45910d0aac4858d6a1790556182dc6016556103e860175561520860185561a4106019556109c4601a55620186a0601b553480156200012b57600080fd5b50604080518082018252601981527f54686520474f415420536f636965747920536561736f6e2032000000000000006020808301918252835180850190945260048452634753494960e01b9084015281519192916200018d91600091620002b7565b508051620001a3906001906020840190620002b7565b505050620001c0620001ba620001ea60201b60201c565b620001ee565b620001e460405180606001604052806035815260200162002e476035913962000240565b620003cf565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200024a620001ea565b6001600160a01b03166200025d620002a8565b6001600160a01b0316146200028f5760405162461bcd60e51b815260040162000286906200035d565b60405180910390fd5b8051620002a490600d906020840190620002b7565b5050565b600a546001600160a01b031690565b828054620002c59062000392565b90600052602060002090601f016020900481019282620002e9576000855562000334565b82601f106200030457805160ff191683800117855562000334565b8280016001018555821562000334579182015b828111156200033457825182559160200191906001019062000317565b506200034292915062000346565b5090565b5b8082111562000342576000815560010162000347565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600281046001821680620003a757607f821691505b60208210811415620003c957634e487b7160e01b600052602260045260246000fd5b50919050565b612a6880620003df6000396000f3fe6080604052600436106102255760003560e01c80636352211e11610123578063a22cb465116100ab578063d5abeb011161006f578063d5abeb01146105e2578063da3ef23f146105f7578063e985e9c514610617578063f2c4ce1e14610637578063f2fde38b1461065757610225565b8063a22cb46514610558578063a475b5dd14610578578063b88d4fde1461058d578063c6682862146105ad578063c87b56dd146105c257610225565b8063715018a6116100f2578063715018a6146104e65780637f00c7a6146104fb5780638da5cb5b1461051b57806395d89b4114610530578063a0712d681461054557610225565b80636352211e146104715780636c0360eb146104915780636f8b44b0146104a657806370a08231146104c657610225565b806323b872dd116101b157806344a0d68a1161017557806344a0d68a146103e75780634f6ccce714610407578063518302271461042757806355f804b31461043c5780635c975abb1461045c57610225565b806323b872dd146103525780632f745c59146103725780633ccfd60b1461039257806342842e0e1461039a578063438b6300146103ba57610225565b8063081c8c44116101f8578063081c8c44146102d1578063095ea7b3146102e657806313faede61461030657806318160ddd14610328578063239c70ae1461033d57610225565b806301ffc9a71461022a57806302329a291461026057806306fdde0314610282578063081812fc146102a4575b600080fd5b34801561023657600080fd5b5061024a61024536600461208f565b610677565b60405161025791906122ab565b60405180910390f35b34801561026c57600080fd5b5061028061027b366004612075565b6106a4565b005b34801561028e57600080fd5b506102976106ff565b60405161025791906122b6565b3480156102b057600080fd5b506102c46102bf36600461210d565b610791565b6040516102579190612216565b3480156102dd57600080fd5b506102976107d4565b3480156102f257600080fd5b5061028061030136600461204c565b610862565b34801561031257600080fd5b5061031b6108fa565b60405161025791906128cd565b34801561033457600080fd5b5061031b610900565b34801561034957600080fd5b5061031b610906565b34801561035e57600080fd5b5061028061036d366004611f6f565b61090c565b34801561037e57600080fd5b5061031b61038d36600461204c565b610944565b610280610996565b3480156103a657600080fd5b506102806103b5366004611f6f565b610c88565b3480156103c657600080fd5b506103da6103d5366004611f23565b610ca3565b6040516102579190612267565b3480156103f357600080fd5b5061028061040236600461210d565b610d61565b34801561041357600080fd5b5061031b61042236600461210d565b610da5565b34801561043357600080fd5b5061024a610e00565b34801561044857600080fd5b506102806104573660046120c7565b610e0e565b34801561046857600080fd5b5061024a610e64565b34801561047d57600080fd5b506102c461048c36600461210d565b610e6d565b34801561049d57600080fd5b50610297610ea2565b3480156104b257600080fd5b506102806104c136600461210d565b610eaf565b3480156104d257600080fd5b5061031b6104e1366004611f23565b610ef3565b3480156104f257600080fd5b50610280610f37565b34801561050757600080fd5b5061028061051636600461210d565b610f82565b34801561052757600080fd5b506102c4610fc6565b34801561053c57600080fd5b50610297610fd5565b61028061055336600461210d565b610fe4565b34801561056457600080fd5b50610280610573366004612023565b6110fc565b34801561058457600080fd5b506102806111ca565b34801561059957600080fd5b506102806105a8366004611faa565b61121a565b3480156105b957600080fd5b50610297611259565b3480156105ce57600080fd5b506102976105dd36600461210d565b611266565b3480156105ee57600080fd5b5061031b61138d565b34801561060357600080fd5b506102806106123660046120c7565b611393565b34801561062357600080fd5b5061024a610632366004611f3d565b6113e5565b34801561064357600080fd5b506102806106523660046120c7565b611413565b34801561066357600080fd5b50610280610672366004611f23565b611465565b60006001600160e01b0319821663780e9d6360e01b148061069c575061069c826114d6565b90505b919050565b6106ac611516565b6001600160a01b03166106bd610fc6565b6001600160a01b0316146106ec5760405162461bcd60e51b81526004016106e39061268f565b60405180910390fd5b6011805460ff1916911515919091179055565b60606000805461070e90612970565b80601f016020809104026020016040519081016040528092919081815260200182805461073a90612970565b80156107875780601f1061075c57610100808354040283529160200191610787565b820191906000526020600020905b81548152906001019060200180831161076a57829003601f168201915b5050505050905090565b600061079c8261151a565b6107b85760405162461bcd60e51b81526004016106e390612643565b506000908152600460205260409020546001600160a01b031690565b600d80546107e190612970565b80601f016020809104026020016040519081016040528092919081815260200182805461080d90612970565b801561085a5780601f1061082f5761010080835404028352916020019161085a565b820191906000526020600020905b81548152906001019060200180831161083d57829003601f168201915b505050505081565b600061086d82610e6d565b9050806001600160a01b0316836001600160a01b031614156108a15760405162461bcd60e51b81526004016106e39061278c565b806001600160a01b03166108b3611516565b6001600160a01b031614806108cf57506108cf81610632611516565b6108eb5760405162461bcd60e51b81526004016106e3906124aa565b6108f58383611537565b505050565b600e5481565b60085490565b60105481565b61091d610917611516565b826115a5565b6109395760405162461bcd60e51b81526004016106e3906127f9565b6108f583838361162a565b600061094f83610ef3565b821061096d5760405162461bcd60e51b81526004016106e3906122c9565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61099e611516565b6001600160a01b03166109af610fc6565b6001600160a01b0316146109d55760405162461bcd60e51b81526004016106e39061268f565b601154601654601b544792600092620100009091046001600160a01b0316916109fe90856128fa565b610a08919061290e565b604051610a1490612213565b60006040518083038185875af1925050503d8060008114610a51576040519150601f19603f3d011682016040523d82523d6000602084013e610a56565b606091505b5050905080610a6457600080fd5b601254601754601b546000926001600160a01b03169190610a8590866128fa565b610a8f919061290e565b604051610a9b90612213565b60006040518083038185875af1925050503d8060008114610ad8576040519150601f19603f3d011682016040523d82523d6000602084013e610add565b606091505b5050905080610aeb57600080fd5b601354601854601b546000926001600160a01b03169190610b0c90876128fa565b610b16919061290e565b604051610b2290612213565b60006040518083038185875af1925050503d8060008114610b5f576040519150601f19603f3d011682016040523d82523d6000602084013e610b64565b606091505b5050905080610b7257600080fd5b601454601954601b546000926001600160a01b03169190610b9390886128fa565b610b9d919061290e565b604051610ba990612213565b60006040518083038185875af1925050503d8060008114610be6576040519150601f19603f3d011682016040523d82523d6000602084013e610beb565b606091505b5050905080610bf957600080fd5b601554601a54601b546000926001600160a01b03169190610c1a90896128fa565b610c24919061290e565b604051610c3090612213565b60006040518083038185875af1925050503d8060008114610c6d576040519150601f19603f3d011682016040523d82523d6000602084013e610c72565b606091505b5050905080610c8057600080fd5b505050505050565b6108f58383836040518060200160405280600081525061121a565b60606000610cb083610ef3565b905060008167ffffffffffffffff811115610cdb57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d04578160200160208202803683370190505b50905060005b82811015610d5957610d1c8582610944565b828281518110610d3c57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610d51816129ab565b915050610d0a565b509392505050565b610d69611516565b6001600160a01b0316610d7a610fc6565b6001600160a01b031614610da05760405162461bcd60e51b81526004016106e39061268f565b600e55565b6000610daf610900565b8210610dcd5760405162461bcd60e51b81526004016106e39061284a565b60088281548110610dee57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b601154610100900460ff1681565b610e16611516565b6001600160a01b0316610e27610fc6565b6001600160a01b031614610e4d5760405162461bcd60e51b81526004016106e39061268f565b8051610e6090600b906020840190611df3565b5050565b60115460ff1681565b6000818152600260205260408120546001600160a01b03168061069c5760405162461bcd60e51b81526004016106e390612551565b600b80546107e190612970565b610eb7611516565b6001600160a01b0316610ec8610fc6565b6001600160a01b031614610eee5760405162461bcd60e51b81526004016106e39061268f565b600f55565b60006001600160a01b038216610f1b5760405162461bcd60e51b81526004016106e390612507565b506001600160a01b031660009081526003602052604090205490565b610f3f611516565b6001600160a01b0316610f50610fc6565b6001600160a01b031614610f765760405162461bcd60e51b81526004016106e39061268f565b610f806000611757565b565b610f8a611516565b6001600160a01b0316610f9b610fc6565b6001600160a01b031614610fc15760405162461bcd60e51b81526004016106e39061268f565b601055565b600a546001600160a01b031690565b60606001805461070e90612970565b6000610fee610900565b9050600082116110105760405162461bcd60e51b81526004016106e390612896565b600f5461101d83836128e2565b111561103b5760405162461bcd60e51b81526004016106e39061259a565b611043610fc6565b6001600160a01b0316336001600160a01b0316146110cd5760115460ff161561107e5760405162461bcd60e51b81526004016106e3906126c4565b6010548211156110a05760405162461bcd60e51b81526004016106e3906125ca565b81600e546110ae919061290e565b3410156110cd5760405162461bcd60e51b81526004016106e3906127cd565b60015b8281116108f5576110ea336110e583856128e2565b6117a9565b806110f4816129ab565b9150506110d0565b611104611516565b6001600160a01b0316826001600160a01b031614156111355760405162461bcd60e51b81526004016106e390612427565b8060056000611142611516565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611186611516565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111be91906122ab565b60405180910390a35050565b6111d2611516565b6001600160a01b03166111e3610fc6565b6001600160a01b0316146112095760405162461bcd60e51b81526004016106e39061268f565b6011805461ff001916610100179055565b61122b611225611516565b836115a5565b6112475760405162461bcd60e51b81526004016106e3906127f9565b611253848484846117c3565b50505050565b600c80546107e190612970565b60606112718261151a565b61128d5760405162461bcd60e51b81526004016106e39061273d565b601154610100900460ff1661132e57600d80546112a990612970565b80601f01602080910402602001604051908101604052809291908181526020018280546112d590612970565b80156113225780601f106112f757610100808354040283529160200191611322565b820191906000526020600020905b81548152906001019060200180831161130557829003601f168201915b5050505050905061069f565b60006113386117f6565b905060008151116113585760405180602001604052806000815250611386565b8061136284611805565b600c60405160200161137693929190612151565b6040516020818303038152906040525b9392505050565b600f5481565b61139b611516565b6001600160a01b03166113ac610fc6565b6001600160a01b0316146113d25760405162461bcd60e51b81526004016106e39061268f565b8051610e6090600c906020840190611df3565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61141b611516565b6001600160a01b031661142c610fc6565b6001600160a01b0316146114525760405162461bcd60e51b81526004016106e39061268f565b8051610e6090600d906020840190611df3565b61146d611516565b6001600160a01b031661147e610fc6565b6001600160a01b0316146114a45760405162461bcd60e51b81526004016106e39061268f565b6001600160a01b0381166114ca5760405162461bcd60e51b81526004016106e390612366565b6114d381611757565b50565b60006001600160e01b031982166380ac58cd60e01b148061150757506001600160e01b03198216635b5e139f60e01b145b8061069c575061069c82611920565b3390565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061156c82610e6d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115b08261151a565b6115cc5760405162461bcd60e51b81526004016106e39061245e565b60006115d783610e6d565b9050806001600160a01b0316846001600160a01b031614806116125750836001600160a01b031661160784610791565b6001600160a01b0316145b80611622575061162281856113e5565b949350505050565b826001600160a01b031661163d82610e6d565b6001600160a01b0316146116635760405162461bcd60e51b81526004016106e3906126f4565b6001600160a01b0382166116895760405162461bcd60e51b81526004016106e3906123e3565b611694838383611939565b61169f600082611537565b6001600160a01b03831660009081526003602052604081208054600192906116c890849061292d565b90915550506001600160a01b03821660009081526003602052604081208054600192906116f69084906128e2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e608282604051806020016040528060008152506119c2565b6117ce84848461162a565b6117da848484846119f5565b6112535760405162461bcd60e51b81526004016106e390612314565b6060600b805461070e90612970565b60608161182a57506040805180820190915260018152600360fc1b602082015261069f565b8160005b8115611854578061183e816129ab565b915061184d9050600a836128fa565b915061182e565b60008167ffffffffffffffff81111561187d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156118a7576020820181803683370190505b5090505b8415611622576118bc60018361292d565b91506118c9600a866129c6565b6118d49060306128e2565b60f81b8183815181106118f757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611919600a866128fa565b94506118ab565b6001600160e01b031981166301ffc9a760e01b14919050565b6119448383836108f5565b6001600160a01b0383166119605761195b81611b10565b611983565b816001600160a01b0316836001600160a01b031614611983576119838382611b54565b6001600160a01b03821661199f5761199a81611bf1565b6108f5565b826001600160a01b0316826001600160a01b0316146108f5576108f58282611cca565b6119cc8383611d0e565b6119d960008484846119f5565b6108f55760405162461bcd60e51b81526004016106e390612314565b6000611a09846001600160a01b0316611ded565b15611b0557836001600160a01b031663150b7a02611a25611516565b8786866040518563ffffffff1660e01b8152600401611a47949392919061222a565b602060405180830381600087803b158015611a6157600080fd5b505af1925050508015611a91575060408051601f3d908101601f19168201909252611a8e918101906120ab565b60015b611aeb573d808015611abf576040519150601f19603f3d011682016040523d82523d6000602084013e611ac4565b606091505b508051611ae35760405162461bcd60e51b81526004016106e390612314565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611622565b506001949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001611b6184610ef3565b611b6b919061292d565b600083815260076020526040902054909150808214611bbe576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611c039060019061292d565b60008381526009602052604081205460088054939450909284908110611c3957634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611c6857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611cae57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611cd583610ef3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611d345760405162461bcd60e51b81526004016106e39061260e565b611d3d8161151a565b15611d5a5760405162461bcd60e51b81526004016106e3906123ac565b611d6660008383611939565b6001600160a01b0382166000908152600360205260408120805460019290611d8f9084906128e2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b828054611dff90612970565b90600052602060002090601f016020900481019282611e215760008555611e67565b82601f10611e3a57805160ff1916838001178555611e67565b82800160010185558215611e67579182015b82811115611e67578251825591602001919060010190611e4c565b50611e73929150611e77565b5090565b5b80821115611e735760008155600101611e78565b600067ffffffffffffffff80841115611ea757611ea7612a06565b604051601f8501601f191681016020018281118282101715611ecb57611ecb612a06565b604052848152915081838501861015611ee357600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461069f57600080fd5b8035801515811461069f57600080fd5b600060208284031215611f34578081fd5b61138682611efc565b60008060408385031215611f4f578081fd5b611f5883611efc565b9150611f6660208401611efc565b90509250929050565b600080600060608486031215611f83578081fd5b611f8c84611efc565b9250611f9a60208501611efc565b9150604084013590509250925092565b60008060008060808587031215611fbf578081fd5b611fc885611efc565b9350611fd660208601611efc565b925060408501359150606085013567ffffffffffffffff811115611ff8578182fd5b8501601f81018713612008578182fd5b61201787823560208401611e8c565b91505092959194509250565b60008060408385031215612035578182fd5b61203e83611efc565b9150611f6660208401611f13565b6000806040838503121561205e578182fd5b61206783611efc565b946020939093013593505050565b600060208284031215612086578081fd5b61138682611f13565b6000602082840312156120a0578081fd5b813561138681612a1c565b6000602082840312156120bc578081fd5b815161138681612a1c565b6000602082840312156120d8578081fd5b813567ffffffffffffffff8111156120ee578182fd5b8201601f810184136120fe578182fd5b61162284823560208401611e8c565b60006020828403121561211e578081fd5b5035919050565b6000815180845261213d816020860160208601612944565b601f01601f19169290920160200192915050565b6000845160206121648285838a01612944565b8551918401916121778184848a01612944565b855492019183906002810460018083168061219357607f831692505b8583108114156121b157634e487b7160e01b88526022600452602488fd5b8080156121c557600181146121d657612202565b60ff19851688528388019550612202565b6121df8b6128d6565b895b858110156121fa5781548a8201529084019088016121e1565b505083880195505b50939b9a5050505050505050505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061225d90830184612125565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561229f57835183529284019291840191600101612283565b50909695505050505050565b901515815260200190565b6000602082526113866020830184612125565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252601690820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b604082015260600190565b60208082526024908201527f6d6178206d696e7420616d6f756e74207065722073657373696f6e20657863656040820152631959195960e21b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601690820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b602080825260129082015271696e73756666696369656e742066756e647360701b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252601b908201527f6e65656420746f206d696e74206174206c656173742031204e46540000000000604082015260600190565b90815260200190565b60009081526020902090565b600082198211156128f5576128f56129da565b500190565b600082612909576129096129f0565b500490565b6000816000190483118215151615612928576129286129da565b500290565b60008282101561293f5761293f6129da565b500390565b60005b8381101561295f578181015183820152602001612947565b838111156112535750506000910152565b60028104600182168061298457607f821691505b602082108114156129a557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129bf576129bf6129da565b5060010190565b6000826129d5576129d56129f0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146114d357600080fdfea26469706673582212209cb6e1b17694ae272205c2638fe7dfb383114299b5c75f5ab1c13bd3a0ad80f664736f6c63430008000033697066733a2f2f516d55713675756570695a50554a594a574a41326b4376614d70504a6f56537a6e465773394c524d31464e677264

Deployed Bytecode

0x6080604052600436106102255760003560e01c80636352211e11610123578063a22cb465116100ab578063d5abeb011161006f578063d5abeb01146105e2578063da3ef23f146105f7578063e985e9c514610617578063f2c4ce1e14610637578063f2fde38b1461065757610225565b8063a22cb46514610558578063a475b5dd14610578578063b88d4fde1461058d578063c6682862146105ad578063c87b56dd146105c257610225565b8063715018a6116100f2578063715018a6146104e65780637f00c7a6146104fb5780638da5cb5b1461051b57806395d89b4114610530578063a0712d681461054557610225565b80636352211e146104715780636c0360eb146104915780636f8b44b0146104a657806370a08231146104c657610225565b806323b872dd116101b157806344a0d68a1161017557806344a0d68a146103e75780634f6ccce714610407578063518302271461042757806355f804b31461043c5780635c975abb1461045c57610225565b806323b872dd146103525780632f745c59146103725780633ccfd60b1461039257806342842e0e1461039a578063438b6300146103ba57610225565b8063081c8c44116101f8578063081c8c44146102d1578063095ea7b3146102e657806313faede61461030657806318160ddd14610328578063239c70ae1461033d57610225565b806301ffc9a71461022a57806302329a291461026057806306fdde0314610282578063081812fc146102a4575b600080fd5b34801561023657600080fd5b5061024a61024536600461208f565b610677565b60405161025791906122ab565b60405180910390f35b34801561026c57600080fd5b5061028061027b366004612075565b6106a4565b005b34801561028e57600080fd5b506102976106ff565b60405161025791906122b6565b3480156102b057600080fd5b506102c46102bf36600461210d565b610791565b6040516102579190612216565b3480156102dd57600080fd5b506102976107d4565b3480156102f257600080fd5b5061028061030136600461204c565b610862565b34801561031257600080fd5b5061031b6108fa565b60405161025791906128cd565b34801561033457600080fd5b5061031b610900565b34801561034957600080fd5b5061031b610906565b34801561035e57600080fd5b5061028061036d366004611f6f565b61090c565b34801561037e57600080fd5b5061031b61038d36600461204c565b610944565b610280610996565b3480156103a657600080fd5b506102806103b5366004611f6f565b610c88565b3480156103c657600080fd5b506103da6103d5366004611f23565b610ca3565b6040516102579190612267565b3480156103f357600080fd5b5061028061040236600461210d565b610d61565b34801561041357600080fd5b5061031b61042236600461210d565b610da5565b34801561043357600080fd5b5061024a610e00565b34801561044857600080fd5b506102806104573660046120c7565b610e0e565b34801561046857600080fd5b5061024a610e64565b34801561047d57600080fd5b506102c461048c36600461210d565b610e6d565b34801561049d57600080fd5b50610297610ea2565b3480156104b257600080fd5b506102806104c136600461210d565b610eaf565b3480156104d257600080fd5b5061031b6104e1366004611f23565b610ef3565b3480156104f257600080fd5b50610280610f37565b34801561050757600080fd5b5061028061051636600461210d565b610f82565b34801561052757600080fd5b506102c4610fc6565b34801561053c57600080fd5b50610297610fd5565b61028061055336600461210d565b610fe4565b34801561056457600080fd5b50610280610573366004612023565b6110fc565b34801561058457600080fd5b506102806111ca565b34801561059957600080fd5b506102806105a8366004611faa565b61121a565b3480156105b957600080fd5b50610297611259565b3480156105ce57600080fd5b506102976105dd36600461210d565b611266565b3480156105ee57600080fd5b5061031b61138d565b34801561060357600080fd5b506102806106123660046120c7565b611393565b34801561062357600080fd5b5061024a610632366004611f3d565b6113e5565b34801561064357600080fd5b506102806106523660046120c7565b611413565b34801561066357600080fd5b50610280610672366004611f23565b611465565b60006001600160e01b0319821663780e9d6360e01b148061069c575061069c826114d6565b90505b919050565b6106ac611516565b6001600160a01b03166106bd610fc6565b6001600160a01b0316146106ec5760405162461bcd60e51b81526004016106e39061268f565b60405180910390fd5b6011805460ff1916911515919091179055565b60606000805461070e90612970565b80601f016020809104026020016040519081016040528092919081815260200182805461073a90612970565b80156107875780601f1061075c57610100808354040283529160200191610787565b820191906000526020600020905b81548152906001019060200180831161076a57829003601f168201915b5050505050905090565b600061079c8261151a565b6107b85760405162461bcd60e51b81526004016106e390612643565b506000908152600460205260409020546001600160a01b031690565b600d80546107e190612970565b80601f016020809104026020016040519081016040528092919081815260200182805461080d90612970565b801561085a5780601f1061082f5761010080835404028352916020019161085a565b820191906000526020600020905b81548152906001019060200180831161083d57829003601f168201915b505050505081565b600061086d82610e6d565b9050806001600160a01b0316836001600160a01b031614156108a15760405162461bcd60e51b81526004016106e39061278c565b806001600160a01b03166108b3611516565b6001600160a01b031614806108cf57506108cf81610632611516565b6108eb5760405162461bcd60e51b81526004016106e3906124aa565b6108f58383611537565b505050565b600e5481565b60085490565b60105481565b61091d610917611516565b826115a5565b6109395760405162461bcd60e51b81526004016106e3906127f9565b6108f583838361162a565b600061094f83610ef3565b821061096d5760405162461bcd60e51b81526004016106e3906122c9565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61099e611516565b6001600160a01b03166109af610fc6565b6001600160a01b0316146109d55760405162461bcd60e51b81526004016106e39061268f565b601154601654601b544792600092620100009091046001600160a01b0316916109fe90856128fa565b610a08919061290e565b604051610a1490612213565b60006040518083038185875af1925050503d8060008114610a51576040519150601f19603f3d011682016040523d82523d6000602084013e610a56565b606091505b5050905080610a6457600080fd5b601254601754601b546000926001600160a01b03169190610a8590866128fa565b610a8f919061290e565b604051610a9b90612213565b60006040518083038185875af1925050503d8060008114610ad8576040519150601f19603f3d011682016040523d82523d6000602084013e610add565b606091505b5050905080610aeb57600080fd5b601354601854601b546000926001600160a01b03169190610b0c90876128fa565b610b16919061290e565b604051610b2290612213565b60006040518083038185875af1925050503d8060008114610b5f576040519150601f19603f3d011682016040523d82523d6000602084013e610b64565b606091505b5050905080610b7257600080fd5b601454601954601b546000926001600160a01b03169190610b9390886128fa565b610b9d919061290e565b604051610ba990612213565b60006040518083038185875af1925050503d8060008114610be6576040519150601f19603f3d011682016040523d82523d6000602084013e610beb565b606091505b5050905080610bf957600080fd5b601554601a54601b546000926001600160a01b03169190610c1a90896128fa565b610c24919061290e565b604051610c3090612213565b60006040518083038185875af1925050503d8060008114610c6d576040519150601f19603f3d011682016040523d82523d6000602084013e610c72565b606091505b5050905080610c8057600080fd5b505050505050565b6108f58383836040518060200160405280600081525061121a565b60606000610cb083610ef3565b905060008167ffffffffffffffff811115610cdb57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d04578160200160208202803683370190505b50905060005b82811015610d5957610d1c8582610944565b828281518110610d3c57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610d51816129ab565b915050610d0a565b509392505050565b610d69611516565b6001600160a01b0316610d7a610fc6565b6001600160a01b031614610da05760405162461bcd60e51b81526004016106e39061268f565b600e55565b6000610daf610900565b8210610dcd5760405162461bcd60e51b81526004016106e39061284a565b60088281548110610dee57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b601154610100900460ff1681565b610e16611516565b6001600160a01b0316610e27610fc6565b6001600160a01b031614610e4d5760405162461bcd60e51b81526004016106e39061268f565b8051610e6090600b906020840190611df3565b5050565b60115460ff1681565b6000818152600260205260408120546001600160a01b03168061069c5760405162461bcd60e51b81526004016106e390612551565b600b80546107e190612970565b610eb7611516565b6001600160a01b0316610ec8610fc6565b6001600160a01b031614610eee5760405162461bcd60e51b81526004016106e39061268f565b600f55565b60006001600160a01b038216610f1b5760405162461bcd60e51b81526004016106e390612507565b506001600160a01b031660009081526003602052604090205490565b610f3f611516565b6001600160a01b0316610f50610fc6565b6001600160a01b031614610f765760405162461bcd60e51b81526004016106e39061268f565b610f806000611757565b565b610f8a611516565b6001600160a01b0316610f9b610fc6565b6001600160a01b031614610fc15760405162461bcd60e51b81526004016106e39061268f565b601055565b600a546001600160a01b031690565b60606001805461070e90612970565b6000610fee610900565b9050600082116110105760405162461bcd60e51b81526004016106e390612896565b600f5461101d83836128e2565b111561103b5760405162461bcd60e51b81526004016106e39061259a565b611043610fc6565b6001600160a01b0316336001600160a01b0316146110cd5760115460ff161561107e5760405162461bcd60e51b81526004016106e3906126c4565b6010548211156110a05760405162461bcd60e51b81526004016106e3906125ca565b81600e546110ae919061290e565b3410156110cd5760405162461bcd60e51b81526004016106e3906127cd565b60015b8281116108f5576110ea336110e583856128e2565b6117a9565b806110f4816129ab565b9150506110d0565b611104611516565b6001600160a01b0316826001600160a01b031614156111355760405162461bcd60e51b81526004016106e390612427565b8060056000611142611516565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611186611516565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111be91906122ab565b60405180910390a35050565b6111d2611516565b6001600160a01b03166111e3610fc6565b6001600160a01b0316146112095760405162461bcd60e51b81526004016106e39061268f565b6011805461ff001916610100179055565b61122b611225611516565b836115a5565b6112475760405162461bcd60e51b81526004016106e3906127f9565b611253848484846117c3565b50505050565b600c80546107e190612970565b60606112718261151a565b61128d5760405162461bcd60e51b81526004016106e39061273d565b601154610100900460ff1661132e57600d80546112a990612970565b80601f01602080910402602001604051908101604052809291908181526020018280546112d590612970565b80156113225780601f106112f757610100808354040283529160200191611322565b820191906000526020600020905b81548152906001019060200180831161130557829003601f168201915b5050505050905061069f565b60006113386117f6565b905060008151116113585760405180602001604052806000815250611386565b8061136284611805565b600c60405160200161137693929190612151565b6040516020818303038152906040525b9392505050565b600f5481565b61139b611516565b6001600160a01b03166113ac610fc6565b6001600160a01b0316146113d25760405162461bcd60e51b81526004016106e39061268f565b8051610e6090600c906020840190611df3565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61141b611516565b6001600160a01b031661142c610fc6565b6001600160a01b0316146114525760405162461bcd60e51b81526004016106e39061268f565b8051610e6090600d906020840190611df3565b61146d611516565b6001600160a01b031661147e610fc6565b6001600160a01b0316146114a45760405162461bcd60e51b81526004016106e39061268f565b6001600160a01b0381166114ca5760405162461bcd60e51b81526004016106e390612366565b6114d381611757565b50565b60006001600160e01b031982166380ac58cd60e01b148061150757506001600160e01b03198216635b5e139f60e01b145b8061069c575061069c82611920565b3390565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061156c82610e6d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115b08261151a565b6115cc5760405162461bcd60e51b81526004016106e39061245e565b60006115d783610e6d565b9050806001600160a01b0316846001600160a01b031614806116125750836001600160a01b031661160784610791565b6001600160a01b0316145b80611622575061162281856113e5565b949350505050565b826001600160a01b031661163d82610e6d565b6001600160a01b0316146116635760405162461bcd60e51b81526004016106e3906126f4565b6001600160a01b0382166116895760405162461bcd60e51b81526004016106e3906123e3565b611694838383611939565b61169f600082611537565b6001600160a01b03831660009081526003602052604081208054600192906116c890849061292d565b90915550506001600160a01b03821660009081526003602052604081208054600192906116f69084906128e2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e608282604051806020016040528060008152506119c2565b6117ce84848461162a565b6117da848484846119f5565b6112535760405162461bcd60e51b81526004016106e390612314565b6060600b805461070e90612970565b60608161182a57506040805180820190915260018152600360fc1b602082015261069f565b8160005b8115611854578061183e816129ab565b915061184d9050600a836128fa565b915061182e565b60008167ffffffffffffffff81111561187d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156118a7576020820181803683370190505b5090505b8415611622576118bc60018361292d565b91506118c9600a866129c6565b6118d49060306128e2565b60f81b8183815181106118f757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611919600a866128fa565b94506118ab565b6001600160e01b031981166301ffc9a760e01b14919050565b6119448383836108f5565b6001600160a01b0383166119605761195b81611b10565b611983565b816001600160a01b0316836001600160a01b031614611983576119838382611b54565b6001600160a01b03821661199f5761199a81611bf1565b6108f5565b826001600160a01b0316826001600160a01b0316146108f5576108f58282611cca565b6119cc8383611d0e565b6119d960008484846119f5565b6108f55760405162461bcd60e51b81526004016106e390612314565b6000611a09846001600160a01b0316611ded565b15611b0557836001600160a01b031663150b7a02611a25611516565b8786866040518563ffffffff1660e01b8152600401611a47949392919061222a565b602060405180830381600087803b158015611a6157600080fd5b505af1925050508015611a91575060408051601f3d908101601f19168201909252611a8e918101906120ab565b60015b611aeb573d808015611abf576040519150601f19603f3d011682016040523d82523d6000602084013e611ac4565b606091505b508051611ae35760405162461bcd60e51b81526004016106e390612314565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611622565b506001949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001611b6184610ef3565b611b6b919061292d565b600083815260076020526040902054909150808214611bbe576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611c039060019061292d565b60008381526009602052604081205460088054939450909284908110611c3957634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611c6857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611cae57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611cd583610ef3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611d345760405162461bcd60e51b81526004016106e39061260e565b611d3d8161151a565b15611d5a5760405162461bcd60e51b81526004016106e3906123ac565b611d6660008383611939565b6001600160a01b0382166000908152600360205260408120805460019290611d8f9084906128e2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b828054611dff90612970565b90600052602060002090601f016020900481019282611e215760008555611e67565b82601f10611e3a57805160ff1916838001178555611e67565b82800160010185558215611e67579182015b82811115611e67578251825591602001919060010190611e4c565b50611e73929150611e77565b5090565b5b80821115611e735760008155600101611e78565b600067ffffffffffffffff80841115611ea757611ea7612a06565b604051601f8501601f191681016020018281118282101715611ecb57611ecb612a06565b604052848152915081838501861015611ee357600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461069f57600080fd5b8035801515811461069f57600080fd5b600060208284031215611f34578081fd5b61138682611efc565b60008060408385031215611f4f578081fd5b611f5883611efc565b9150611f6660208401611efc565b90509250929050565b600080600060608486031215611f83578081fd5b611f8c84611efc565b9250611f9a60208501611efc565b9150604084013590509250925092565b60008060008060808587031215611fbf578081fd5b611fc885611efc565b9350611fd660208601611efc565b925060408501359150606085013567ffffffffffffffff811115611ff8578182fd5b8501601f81018713612008578182fd5b61201787823560208401611e8c565b91505092959194509250565b60008060408385031215612035578182fd5b61203e83611efc565b9150611f6660208401611f13565b6000806040838503121561205e578182fd5b61206783611efc565b946020939093013593505050565b600060208284031215612086578081fd5b61138682611f13565b6000602082840312156120a0578081fd5b813561138681612a1c565b6000602082840312156120bc578081fd5b815161138681612a1c565b6000602082840312156120d8578081fd5b813567ffffffffffffffff8111156120ee578182fd5b8201601f810184136120fe578182fd5b61162284823560208401611e8c565b60006020828403121561211e578081fd5b5035919050565b6000815180845261213d816020860160208601612944565b601f01601f19169290920160200192915050565b6000845160206121648285838a01612944565b8551918401916121778184848a01612944565b855492019183906002810460018083168061219357607f831692505b8583108114156121b157634e487b7160e01b88526022600452602488fd5b8080156121c557600181146121d657612202565b60ff19851688528388019550612202565b6121df8b6128d6565b895b858110156121fa5781548a8201529084019088016121e1565b505083880195505b50939b9a5050505050505050505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061225d90830184612125565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561229f57835183529284019291840191600101612283565b50909695505050505050565b901515815260200190565b6000602082526113866020830184612125565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252601690820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b604082015260600190565b60208082526024908201527f6d6178206d696e7420616d6f756e74207065722073657373696f6e20657863656040820152631959195960e21b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601690820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b602080825260129082015271696e73756666696369656e742066756e647360701b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252601b908201527f6e65656420746f206d696e74206174206c656173742031204e46540000000000604082015260600190565b90815260200190565b60009081526020902090565b600082198211156128f5576128f56129da565b500190565b600082612909576129096129f0565b500490565b6000816000190483118215151615612928576129286129da565b500290565b60008282101561293f5761293f6129da565b500390565b60005b8381101561295f578181015183820152602001612947565b838111156112535750506000910152565b60028104600182168061298457607f821691505b602082108114156129a557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129bf576129bf6129da565b5060010190565b6000826129d5576129d56129f0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146114d357600080fdfea26469706673582212209cb6e1b17694ae272205c2638fe7dfb383114299b5c75f5ab1c13bd3a0ad80f664736f6c63430008000033

Deployed Bytecode Sourcemap

43486:4826:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35005:290;;;;;;;;;;-1:-1:-1;35005:290:5;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47384:77;;;;;;;;;;-1:-1:-1;47384:77:5;;;;;:::i;:::-;;:::i;:::-;;22616:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;24249:295::-;;;;;;;;;;-1:-1:-1;24249:295:5;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;43637:28::-;;;;;;;;;;;;;:::i;23787:401::-;;;;;;;;;;-1:-1:-1;23787:401:5;;;;;:::i;:::-;;:::i;43671:33::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;35776:111::-;;;;;;;;;;;;;:::i;43747:32::-;;;;;;;;;;;;;:::i;25263:364::-;;;;;;;;;;-1:-1:-1;25263:364:5;;;;;:::i;:::-;;:::i;35374:331::-;;;;;;;;;;-1:-1:-1;35374:331:5;;;;;:::i;:::-;;:::i;47467:843::-;;;:::i;25693:179::-;;;;;;;;;;-1:-1:-1;25693:179:5;;;;;:::i;:::-;;:::i;45489:379::-;;;;;;;;;;-1:-1:-1;45489:379:5;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;46668:84::-;;;;;;;;;;-1:-1:-1;46668:84:5;;;;;:::i;:::-;;:::i;35959:308::-;;;;;;;;;;-1:-1:-1;35959:308:5;;;;;:::i;:::-;;:::i;43816:28::-;;;;;;;;;;;;;:::i;46994:102::-;;;;;;;;;;-1:-1:-1;46994:102:5;;;;;:::i;:::-;;:::i;43785:25::-;;;;;;;;;;;;;:::i;22241:313::-;;;;;;;;;;-1:-1:-1;22241:313:5;;;;;:::i;:::-;;:::i;43567:21::-;;;;;;;;;;;;;:::i;46884:104::-;;;;;;;;;;-1:-1:-1;46884:104:5;;;;;:::i;:::-;;:::i;21901:283::-;;;;;;;;;;-1:-1:-1;21901:283:5;;;;;:::i;:::-;;:::i;42843:92::-;;;;;;;;;;;;;:::i;46758:120::-;;;;;;;;;;-1:-1:-1;46758:120:5;;;;;:::i;:::-;;:::i;42211:85::-;;;;;;;;;;;;;:::i;22778:102::-;;;;;;;;;;;;;:::i;44816:667::-;;;;;;:::i;:::-;;:::i;24611:318::-;;;;;;;;;;-1:-1:-1;24611:318:5;;;;;:::i;:::-;;:::i;46595:67::-;;;;;;;;;;;;;:::i;25938:354::-;;;;;;;;;;-1:-1:-1;25938:354:5;;;;;:::i;:::-;;:::i;43594:37::-;;;;;;;;;;;;;:::i;45874:698::-;;;;;;;;;;-1:-1:-1;45874:698:5;;;;;:::i;:::-;;:::i;43710:31::-;;;;;;;;;;;;;:::i;47102:146::-;;;;;;;;;;-1:-1:-1;47102:146:5;;;;;:::i;:::-;;:::i;24995:206::-;;;;;;;;;;-1:-1:-1;24995:206:5;;;;;:::i;:::-;;:::i;47254:124::-;;;;;;;;;;-1:-1:-1;47254:124:5;;;;;:::i;:::-;;:::i;43084:223::-;;;;;;;;;;-1:-1:-1;43084:223:5;;;;;:::i;:::-;;:::i;35005:290::-;35147:4;-1:-1:-1;;;;;;35186:50:5;;-1:-1:-1;;;35186:50:5;;:102;;;35252:36;35276:11;35252:23;:36::i;:::-;35167:121;;35005:290;;;;:::o;47384:77::-;42434:12;:10;:12::i;:::-;-1:-1:-1;;;;;42423:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42423:23:5;;42415:68;;;;-1:-1:-1;;;42415:68:5;;;;;;;:::i;:::-;;;;;;;;;47439:6:::1;:15:::0;;-1:-1:-1;;47439:15:5::1;::::0;::::1;;::::0;;;::::1;::::0;;47384:77::o;22616:98::-;22670:13;22702:5;22695:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22616:98;:::o;24249:295::-;24365:7;24409:16;24417:7;24409;:16::i;:::-;24388:107;;;;-1:-1:-1;;;24388:107:5;;;;;;;:::i;:::-;-1:-1:-1;24513:24:5;;;;:15;:24;;;;;;-1:-1:-1;;;;;24513:24:5;;24249:295::o;43637:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23787:401::-;23867:13;23883:23;23898:7;23883:14;:23::i;:::-;23867:39;;23930:5;-1:-1:-1;;;;;23924:11:5;:2;-1:-1:-1;;;;;23924:11:5;;;23916:57;;;;-1:-1:-1;;;23916:57:5;;;;;;;:::i;:::-;24021:5;-1:-1:-1;;;;;24005:21:5;:12;:10;:12::i;:::-;-1:-1:-1;;;;;24005:21:5;;:62;;;;24030:37;24047:5;24054:12;:10;:12::i;24030:37::-;23984:165;;;;-1:-1:-1;;;23984:165:5;;;;;;;:::i;:::-;24160:21;24169:2;24173:7;24160:8;:21::i;:::-;23787:401;;;:::o;43671:33::-;;;;:::o;35776:111::-;35863:10;:17;35776:111;:::o;43747:32::-;;;;:::o;25263:364::-;25465:41;25484:12;:10;:12::i;:::-;25498:7;25465:18;:41::i;:::-;25444:137;;;;-1:-1:-1;;;25444:137:5;;;;;;;:::i;:::-;25592:28;25602:4;25608:2;25612:7;25592:9;:28::i;35374:331::-;35511:7;35563:23;35580:5;35563:16;:23::i;:::-;35555:5;:31;35534:121;;;;-1:-1:-1;;;35534:121:5;;;;;;;:::i;:::-;-1:-1:-1;;;;;;35672:19:5;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;35374:331::o;47467:843::-;42434:12;:10;:12::i;:::-;-1:-1:-1;;;;;42423:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42423:23:5;;42415:68;;;;-1:-1:-1;;;42415:68:5;;;;;;;:::i;:::-;47598:9:::1;::::0;47665:19:::1;::::0;47650:11:::1;::::0;47545:21:::1;::::0;47522:20:::1;::::0;47598:9;;;::::1;-1:-1:-1::0;;;;;47598:9:5::1;::::0;47635:26:::1;::::0;47545:21;47635:26:::1;:::i;:::-;47634:50;;;;:::i;:::-;47590:108;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47576:122;;;47716:2;47708:11;;;::::0;::::1;;47751:5;::::0;47814:15:::1;::::0;47799:11:::1;::::0;47730:7:::1;::::0;-1:-1:-1;;;;;47751:5:5::1;::::0;47814:15;47784:26:::1;::::0;:12;:26:::1;:::i;:::-;47783:46;;;;:::i;:::-;47743:100;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47729:114;;;47861:2;47853:11;;;::::0;::::1;;47896:4;::::0;47958:14:::1;::::0;47943:11:::1;::::0;47875:7:::1;::::0;-1:-1:-1;;;;;47896:4:5::1;::::0;47958:14;47928:26:::1;::::0;:12;:26:::1;:::i;:::-;47927:45;;;;:::i;:::-;47888:98;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47874:112;;;48004:2;47996:11;;;::::0;::::1;;48040:5;::::0;48103:15:::1;::::0;48088:11:::1;::::0;48018:8:::1;::::0;-1:-1:-1;;;;;48040:5:5::1;::::0;48103:15;48073:26:::1;::::0;:12;:26:::1;:::i;:::-;48072:46;;;;:::i;:::-;48032:100;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48017:115;;;48150:3;48142:12;;;::::0;::::1;;48187:6;::::0;48251:16:::1;::::0;48236:11:::1;::::0;48165:8:::1;::::0;-1:-1:-1;;;;;48187:6:5::1;::::0;48251:16;48221:26:::1;::::0;:12;:26:::1;:::i;:::-;48220:47;;;;:::i;:::-;48179:102;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48164:117;;;48299:3;48291:12;;;::::0;::::1;;42493:1;;;;;;47467:843::o:0;25693:179::-;25826:39;25843:4;25849:2;25853:7;25826:39;;;;;;;;;;;;:16;:39::i;45489:379::-;45573:16;45605:23;45631:17;45641:6;45631:9;:17::i;:::-;45605:43;;45658:25;45700:15;45686:30;;;;;;-1:-1:-1;;;45686:30:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45686:30:5;;45658:58;;45731:9;45726:111;45746:15;45742:1;:19;45726:111;;;45796:30;45816:6;45824:1;45796:19;:30::i;:::-;45782:8;45791:1;45782:11;;;;;;-1:-1:-1;;;45782:11:5;;;;;;;;;;;;;;;;;;:44;45763:3;;;;:::i;:::-;;;;45726:111;;;-1:-1:-1;45853:8:5;45489:379;-1:-1:-1;;;45489:379:5:o;46668:84::-;42434:12;:10;:12::i;:::-;-1:-1:-1;;;;;42423:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42423:23:5;;42415:68;;;;-1:-1:-1;;;42415:68:5;;;;;;;:::i;:::-;46730:4:::1;:15:::0;46668:84::o;35959:308::-;36074:7;36126:30;:28;:30::i;:::-;36118:5;:38;36097:129;;;;-1:-1:-1;;;36097:129:5;;;;;;;:::i;:::-;36243:10;36254:5;36243:17;;;;;;-1:-1:-1;;;36243:17:5;;;;;;;;;;;;;;;;;36236:24;;35959:308;;;:::o;43816:28::-;;;;;;;;;:::o;46994:102::-;42434:12;:10;:12::i;:::-;-1:-1:-1;;;;;42423:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42423:23:5;;42415:68;;;;-1:-1:-1;;;42415:68:5;;;;;;;:::i;:::-;47068:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;46994:102:::0;:::o;43785:25::-;;;;;;:::o;22241:313::-;22353:7;22392:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22392:16:5;22439:19;22418:107;;;;-1:-1:-1;;;22418:107:5;;;;;;;:::i;43567:21::-;;;;;;;:::i;46884:104::-;42434:12;:10;:12::i;:::-;-1:-1:-1;;;;;42423:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42423:23:5;;42415:68;;;;-1:-1:-1;;;42415:68:5;;;;;;;:::i;:::-;46956:9:::1;:25:::0;46884:104::o;21901:283::-;22013:7;-1:-1:-1;;;;;22057:19:5;;22036:108;;;;-1:-1:-1;;;22036:108:5;;;;;;;:::i;:::-;-1:-1:-1;;;;;;22161:16:5;;;;;:9;:16;;;;;;;21901:283::o;42843:92::-;42434:12;:10;:12::i;:::-;-1:-1:-1;;;;;42423:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42423:23:5;;42415:68;;;;-1:-1:-1;;;42415:68:5;;;;;;;:::i;:::-;42907:21:::1;42925:1;42907:9;:21::i;:::-;42843:92::o:0;46758:120::-;42434:12;:10;:12::i;:::-;-1:-1:-1;;;;;42423:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42423:23:5;;42415:68;;;;-1:-1:-1;;;42415:68:5;;;;;;;:::i;:::-;46838:13:::1;:33:::0;46758:120::o;42211:85::-;42283:6;;-1:-1:-1;;;;;42283:6:5;42211:85;:::o;22778:102::-;22834:13;22866:7;22859:14;;;;;:::i;44816:667::-;44876:14;44893:13;:11;:13::i;:::-;44876:30;;44938:1;44924:11;:15;44916:55;;;;-1:-1:-1;;;44916:55:5;;;;;;;:::i;:::-;45013:9;;44989:20;44998:11;44989:6;:20;:::i;:::-;:33;;44981:68;;;;-1:-1:-1;;;44981:68:5;;;;;;;:::i;:::-;45077:7;:5;:7::i;:::-;-1:-1:-1;;;;;45063:21:5;:10;-1:-1:-1;;;;;45063:21:5;;45059:307;;45109:6;;;;45108:7;45100:42;;;;-1:-1:-1;;;45100:42:5;;;;;;;:::i;:::-;45196:13;;45181:11;:28;;45156:123;;;;-1:-1:-1;;;45156:123:5;;;;;;;:::i;:::-;45321:11;45314:4;;:18;;;;:::i;:::-;45301:9;:31;;45293:62;;;;-1:-1:-1;;;45293:62:5;;;;;;;:::i;:::-;45393:1;45376:101;45401:11;45396:1;:16;45376:101;;45433:33;45443:10;45455;45464:1;45455:6;:10;:::i;:::-;45433:9;:33::i;:::-;45414:3;;;;:::i;:::-;;;;45376:101;;24611:318;24753:12;:10;:12::i;:::-;-1:-1:-1;;;;;24741:24:5;:8;-1:-1:-1;;;;;24741:24:5;;;24733:62;;;;-1:-1:-1;;;24733:62:5;;;;;;;:::i;:::-;24851:8;24806:18;:32;24825:12;:10;:12::i;:::-;-1:-1:-1;;;;;24806:32:5;;;;;;;;;;;;;;;;;-1:-1:-1;24806:32:5;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;24806:53:5;;;;;;;;;;;24889:12;:10;:12::i;:::-;-1:-1:-1;;;;;24874:48:5;;24913:8;24874:48;;;;;;:::i;:::-;;;;;;;;24611:318;;:::o;46595:67::-;42434:12;:10;:12::i;:::-;-1:-1:-1;;;;;42423:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42423:23:5;;42415:68;;;;-1:-1:-1;;;42415:68:5;;;;;;;:::i;:::-;46640:8:::1;:15:::0;;-1:-1:-1;;46640:15:5::1;;;::::0;;46595:67::o;25938:354::-;26120:41;26139:12;:10;:12::i;:::-;26153:7;26120:18;:41::i;:::-;26099:137;;;;-1:-1:-1;;;26099:137:5;;;;;;;:::i;:::-;26246:39;26260:4;26266:2;26270:7;26279:5;26246:13;:39::i;:::-;25938:354;;;;:::o;43594:37::-;;;;;;;:::i;45874:698::-;45987:13;46037:16;46045:7;46037;:16::i;:::-;46016:110;;;;-1:-1:-1;;;46016:110:5;;;;;;;:::i;:::-;46141:8;;;;;;;46137:69;;46181:14;46174:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46137:69;46216:28;46247:10;:8;:10::i;:::-;46216:41;;46317:1;46292:14;46286:28;:32;:279;;;;;;;;;;;;;;;;;46407:14;46447:18;:7;:16;:18::i;:::-;46491:13;46365:161;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;46286:279;46267:298;45874:698;-1:-1:-1;;;45874:698:5:o;43710:31::-;;;;:::o;47102:146::-;42434:12;:10;:12::i;:::-;-1:-1:-1;;;;;42423:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42423:23:5;;42415:68;;;;-1:-1:-1;;;42415:68:5;;;;;;;:::i;:::-;47208:33;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;24995:206::-:0;-1:-1:-1;;;;;25159:25:5;;;25132:4;25159:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24995:206::o;47254:124::-;42434:12;:10;:12::i;:::-;-1:-1:-1;;;;;42423:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42423:23:5;;42415:68;;;;-1:-1:-1;;;42415:68:5;;;;;;;:::i;:::-;47339:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;43084:223::-:0;42434:12;:10;:12::i;:::-;-1:-1:-1;;;;;42423:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42423:23:5;;42415:68;;;;-1:-1:-1;;;42415:68:5;;;;;;;:::i;:::-;-1:-1:-1;;;;;43185:22:5;::::1;43164:107;;;;-1:-1:-1::0;;;43164:107:5::1;;;;;;;:::i;:::-;43281:19;43291:8;43281:9;:19::i;:::-;43084:223:::0;:::o;21498:344::-;21640:4;-1:-1:-1;;;;;;21679:40:5;;-1:-1:-1;;;21679:40:5;;:104;;-1:-1:-1;;;;;;;21735:48:5;;-1:-1:-1;;;21735:48:5;21679:104;:156;;;;21799:36;21823:11;21799:23;:36::i;20047:96::-;20126:10;20047:96;:::o;27798:125::-;27863:4;27886:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27886:16:5;:30;;;27798:125::o;31777:171::-;31851:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31851:29:5;-1:-1:-1;;;;;31851:29:5;;;;;;;;:24;;31904:23;31851:24;31904:14;:23::i;:::-;-1:-1:-1;;;;;31895:46:5;;;;;;;;;;;31777:171;;:::o;28081:438::-;28206:4;28247:16;28255:7;28247;:16::i;:::-;28226:107;;;;-1:-1:-1;;;28226:107:5;;;;;;;:::i;:::-;28343:13;28359:23;28374:7;28359:14;:23::i;:::-;28343:39;;28411:5;-1:-1:-1;;;;;28400:16:5;:7;-1:-1:-1;;;;;28400:16:5;;:63;;;;28456:7;-1:-1:-1;;;;;28432:31:5;:20;28444:7;28432:11;:20::i;:::-;-1:-1:-1;;;;;28432:31:5;;28400:63;:111;;;;28479:32;28496:5;28503:7;28479:16;:32::i;:::-;28392:120;28081:438;-1:-1:-1;;;;28081:438:5:o;31072:594::-;31239:4;-1:-1:-1;;;;;31212:31:5;:23;31227:7;31212:14;:23::i;:::-;-1:-1:-1;;;;;31212:31:5;;31191:119;;;;-1:-1:-1;;;31191:119:5;;;;;;;:::i;:::-;-1:-1:-1;;;;;31328:16:5;;31320:65;;;;-1:-1:-1;;;31320:65:5;;;;;;;:::i;:::-;31396:39;31417:4;31423:2;31427:7;31396:20;:39::i;:::-;31497:29;31514:1;31518:7;31497:8;:29::i;:::-;-1:-1:-1;;;;;31537:15:5;;;;;;:9;:15;;;;;:20;;31556:1;;31537:15;:20;;31556:1;;31537:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31567:13:5;;;;;;:9;:13;;;;;:18;;31584:1;;31567:13;:18;;31584:1;;31567:18;:::i;:::-;;;;-1:-1:-1;;31595:16:5;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31595:21:5;-1:-1:-1;;;;;31595:21:5;;;;;;;;;31632:27;;31595:16;;31632:27;;;;;;;31072:594;;;:::o;43313:169::-;43387:6;;;-1:-1:-1;;;;;43403:17:5;;;-1:-1:-1;;;;;;43403:17:5;;;;;;;43435:40;;43387:6;;;43403:17;43387:6;;43435:40;;43368:16;;43435:40;43313:169;;:::o;28849:108::-;28924:26;28934:2;28938:7;28924:26;;;;;;;;;;;;:9;:26::i;27154:341::-;27305:28;27315:4;27321:2;27325:7;27305:9;:28::i;:::-;27364:48;27387:4;27393:2;27397:7;27406:5;27364:22;:48::i;:::-;27343:145;;;;-1:-1:-1;;;27343:145:5;;;;;;;:::i;44690:106::-;44750:13;44782:7;44775:14;;;;;:::i;7870:703::-;7926:13;8143:10;8139:51;;-1:-1:-1;8169:10:5;;;;;;;;;;;;-1:-1:-1;;;8169:10:5;;;;;;8139:51;8214:5;8199:12;8253:75;8260:9;;8253:75;;8285:8;;;;:::i;:::-;;-1:-1:-1;8307:10:5;;-1:-1:-1;8315:2:5;8307:10;;:::i;:::-;;;8253:75;;;8337:19;8369:6;8359:17;;;;;;-1:-1:-1;;;8359:17:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8359:17:5;;8337:39;;8386:150;8393:10;;8386:150;;8419:11;8429:1;8419:11;;:::i;:::-;;-1:-1:-1;8487:10:5;8495:2;8487:5;:10;:::i;:::-;8474:24;;:2;:24;:::i;:::-;8461:39;;8444:6;8451;8444:14;;;;;;-1:-1:-1;;;8444:14:5;;;;;;;;;;;;:56;-1:-1:-1;;;;;8444:56:5;;;;;;;;-1:-1:-1;8514:11:5;8523:2;8514:11;;:::i;:::-;;;8386:150;;7398:199;-1:-1:-1;;;;;;7550:40:5;;-1:-1:-1;;;7550:40:5;7398:199;;;:::o;36863:572::-;37002:45;37029:4;37035:2;37039:7;37002:26;:45::i;:::-;-1:-1:-1;;;;;37062:18:5;;37058:183;;37096:40;37128:7;37096:31;:40::i;:::-;37058:183;;;37165:2;-1:-1:-1;;;;;37157:10:5;:4;-1:-1:-1;;;;;37157:10:5;;37153:88;;37183:47;37216:4;37222:7;37183:32;:47::i;:::-;-1:-1:-1;;;;;37254:16:5;;37250:179;;37286:45;37323:7;37286:36;:45::i;:::-;37250:179;;;37358:4;-1:-1:-1;;;;;37352:10:5;:2;-1:-1:-1;;;;;37352:10:5;;37348:81;;37378:40;37406:2;37410:7;37378:27;:40::i;29178:311::-;29303:18;29309:2;29313:7;29303:5;:18::i;:::-;29352:54;29383:1;29387:2;29391:7;29400:5;29352:22;:54::i;:::-;29331:151;;;;-1:-1:-1;;;29331:151:5;;;;;;;:::i;32501:950::-;32651:4;32671:15;:2;-1:-1:-1;;;;;32671:13:5;;:15::i;:::-;32667:778;;;32738:2;-1:-1:-1;;;;;32722:36:5;;32780:12;:10;:12::i;:::-;32814:4;32840:7;32869:5;32722:170;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32722:170:5;;;;;;;;-1:-1:-1;;32722:170:5;;;;;;;;;;;;:::i;:::-;;;32702:691;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33071:13:5;;33067:312;;33113:106;;-1:-1:-1;;;33113:106:5;;;;;;;:::i;33067:312::-;33331:6;33325:13;33316:6;33312:2;33308:15;33301:38;32702:691;-1:-1:-1;;;;;;32954:51:5;-1:-1:-1;;;32954:51:5;;-1:-1:-1;32947:58:5;;32667:778;-1:-1:-1;33430:4:5;32501:950;;;;;;:::o;38141:161::-;38244:10;:17;;38217:24;;;;:15;:24;;;;;:44;;;38271:24;;;;;;;;;;;;38141:161::o;38919:982::-;39193:22;39243:1;39218:22;39235:4;39218:16;:22::i;:::-;:26;;;;:::i;:::-;39254:18;39275:26;;;:17;:26;;;;;;39193:51;;-1:-1:-1;39405:28:5;;;39401:323;;-1:-1:-1;;;;;39471:18:5;;39449:19;39471:18;;;:12;:18;;;;;;;;:34;;;;;;;;;39520:30;;;;;;:44;;;39636:30;;:17;:30;;;;;:43;;;39401:323;-1:-1:-1;39817:26:5;;;;:17;:26;;;;;;;;39810:33;;;-1:-1:-1;;;;;39860:18:5;;;;;:12;:18;;;;;:34;;;;;;;39853:41;38919:982::o;40189:1061::-;40463:10;:17;40438:22;;40463:21;;40483:1;;40463:21;:::i;:::-;40494:18;40515:24;;;:15;:24;;;;;;40883:10;:26;;40438:46;;-1:-1:-1;40515:24:5;;40438:46;;40883:26;;;;-1:-1:-1;;;40883:26:5;;;;;;;;;;;;;;;;;40861:48;;40945:11;40920:10;40931;40920:22;;;;;;-1:-1:-1;;;40920:22:5;;;;;;;;;;;;;;;;;;;;:36;;;;41024:28;;;:15;:28;;;;;;;:41;;;41193:24;;;;;41186:31;41227:10;:16;;;;;-1:-1:-1;;;41227:16:5;;;;;;;;;;;;;;;;;;;;;;;;;;40189:1061;;;;:::o;37729:217::-;37813:14;37830:20;37847:2;37830:16;:20::i;:::-;-1:-1:-1;;;;;37860:16:5;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;37904:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;37729:217:5:o;29811:372::-;-1:-1:-1;;;;;29890:16:5;;29882:61;;;;-1:-1:-1;;;29882:61:5;;;;;;;:::i;:::-;29962:16;29970:7;29962;:16::i;:::-;29961:17;29953:58;;;;-1:-1:-1;;;29953:58:5;;;;;;;:::i;:::-;30022:45;30051:1;30055:2;30059:7;30022:20;:45::i;:::-;-1:-1:-1;;;;;30078:13:5;;;;;;:9;:13;;;;;:18;;30095:1;;30078:13;:18;;30095:1;;30078:18;:::i;:::-;;;;-1:-1:-1;;30106:16:5;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30106:21:5;-1:-1:-1;;;;;30106:21:5;;;;;;;;30143:33;;30106:16;;;30143:33;;30106:16;;30143:33;29811:372;;:::o;10315:377::-;10631:20;10677:8;;;10315:377::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:607:13;;110:18;151:2;143:6;140:14;137:2;;;157:18;;:::i;:::-;206:2;200:9;279:2;256:17;;-1:-1:-1;;252:31:13;240:44;;286:4;236:55;306:18;;;326:22;;;303:46;300:2;;;352:18;;:::i;:::-;388:2;381:22;436;;;421:6;-1:-1:-1;421:6:13;473:16;;;470:25;-1:-1:-1;467:2:13;;;508:1;505;498:12;467:2;558:6;553:3;546:4;538:6;534:17;521:44;613:1;606:4;597:6;589;585:19;581:30;574:41;;;90:531;;;;;:::o;626:175::-;696:20;;-1:-1:-1;;;;;745:31:13;;735:42;;725:2;;791:1;788;781:12;806:162;873:20;;929:13;;922:21;912:32;;902:2;;958:1;955;948:12;973:198;;1085:2;1073:9;1064:7;1060:23;1056:32;1053:2;;;1106:6;1098;1091:22;1053:2;1134:31;1155:9;1134:31;:::i;1176:274::-;;;1305:2;1293:9;1284:7;1280:23;1276:32;1273:2;;;1326:6;1318;1311:22;1273:2;1354:31;1375:9;1354:31;:::i;:::-;1344:41;;1404:40;1440:2;1429:9;1425:18;1404:40;:::i;:::-;1394:50;;1263:187;;;;;:::o;1455:342::-;;;;1601:2;1589:9;1580:7;1576:23;1572:32;1569:2;;;1622:6;1614;1607:22;1569:2;1650:31;1671:9;1650:31;:::i;:::-;1640:41;;1700:40;1736:2;1725:9;1721:18;1700:40;:::i;:::-;1690:50;;1787:2;1776:9;1772:18;1759:32;1749:42;;1559:238;;;;;:::o;1802:702::-;;;;;1974:3;1962:9;1953:7;1949:23;1945:33;1942:2;;;1996:6;1988;1981:22;1942:2;2024:31;2045:9;2024:31;:::i;:::-;2014:41;;2074:40;2110:2;2099:9;2095:18;2074:40;:::i;:::-;2064:50;;2161:2;2150:9;2146:18;2133:32;2123:42;;2216:2;2205:9;2201:18;2188:32;2243:18;2235:6;2232:30;2229:2;;;2280:6;2272;2265:22;2229:2;2308:22;;2361:4;2353:13;;2349:27;-1:-1:-1;2339:2:13;;2395:6;2387;2380:22;2339:2;2423:75;2490:7;2485:2;2472:16;2467:2;2463;2459:11;2423:75;:::i;:::-;2413:85;;;1932:572;;;;;;;:::o;2509:268::-;;;2635:2;2623:9;2614:7;2610:23;2606:32;2603:2;;;2656:6;2648;2641:22;2603:2;2684:31;2705:9;2684:31;:::i;:::-;2674:41;;2734:37;2767:2;2756:9;2752:18;2734:37;:::i;2782:266::-;;;2911:2;2899:9;2890:7;2886:23;2882:32;2879:2;;;2932:6;2924;2917:22;2879:2;2960:31;2981:9;2960:31;:::i;:::-;2950:41;3038:2;3023:18;;;;3010:32;;-1:-1:-1;;;2869:179:13:o;3053:192::-;;3162:2;3150:9;3141:7;3137:23;3133:32;3130:2;;;3183:6;3175;3168:22;3130:2;3211:28;3229:9;3211:28;:::i;3250:257::-;;3361:2;3349:9;3340:7;3336:23;3332:32;3329:2;;;3382:6;3374;3367:22;3329:2;3426:9;3413:23;3445:32;3471:5;3445:32;:::i;3512:261::-;;3634:2;3622:9;3613:7;3609:23;3605:32;3602:2;;;3655:6;3647;3640:22;3602:2;3692:9;3686:16;3711:32;3737:5;3711:32;:::i;3778:482::-;;3900:2;3888:9;3879:7;3875:23;3871:32;3868:2;;;3921:6;3913;3906:22;3868:2;3966:9;3953:23;3999:18;3991:6;3988:30;3985:2;;;4036:6;4028;4021:22;3985:2;4064:22;;4117:4;4109:13;;4105:27;-1:-1:-1;4095:2:13;;4151:6;4143;4136:22;4095:2;4179:75;4246:7;4241:2;4228:16;4223:2;4219;4215:11;4179:75;:::i;4265:190::-;;4377:2;4365:9;4356:7;4352:23;4348:32;4345:2;;;4398:6;4390;4383:22;4345:2;-1:-1:-1;4426:23:13;;4335:120;-1:-1:-1;4335:120:13:o;4460:259::-;;4541:5;4535:12;4568:6;4563:3;4556:19;4584:63;4640:6;4633:4;4628:3;4624:14;4617:4;4610:5;4606:16;4584:63;:::i;:::-;4701:2;4680:15;-1:-1:-1;;4676:29:13;4667:39;;;;4708:4;4663:50;;4511:208;-1:-1:-1;;4511:208:13:o;4724:1532::-;;4986:6;4980:13;5012:4;5025:51;5069:6;5064:3;5059:2;5051:6;5047:15;5025:51;:::i;:::-;5139:13;;5098:16;;;;5161:55;5139:13;5098:16;5183:15;;;5161:55;:::i;:::-;5307:13;;5238:20;;;5278:3;;5384:1;5369:17;;5405:1;5441:18;;;;5468:2;;5546:4;5536:8;5532:19;5520:31;;5468:2;5609;5599:8;5596:16;5576:18;5573:40;5570:2;;;-1:-1:-1;;;5636:33:13;;5692:4;5689:1;5682:15;5722:4;5643:3;5710:17;5570:2;5753:18;5780:110;;;;5904:1;5899:332;;;;5746:485;;5780:110;-1:-1:-1;;5815:24:13;;5801:39;;5860:20;;;;-1:-1:-1;5780:110:13;;5899:332;5935:39;5967:6;5935:39;:::i;:::-;5996:3;6012:169;6026:8;6023:1;6020:15;6012:169;;;6108:14;;6093:13;;;6086:37;6151:16;;;;6043:10;;6012:169;;;6016:3;;6212:8;6205:5;6201:20;6194:27;;5746:485;-1:-1:-1;6247:3:13;;4956:1300;-1:-1:-1;;;;;;;;;;;4956:1300:13:o;6261:205::-;6461:3;6452:14::o;6471:203::-;-1:-1:-1;;;;;6635:32:13;;;;6617:51;;6605:2;6590:18;;6572:102::o;6679:490::-;-1:-1:-1;;;;;6948:15:13;;;6930:34;;7000:15;;6995:2;6980:18;;6973:43;7047:2;7032:18;;7025:34;;;7095:3;7090:2;7075:18;;7068:31;;;6679:490;;7116:47;;7143:19;;7135:6;7116:47;:::i;:::-;7108:55;6882:287;-1:-1:-1;;;;;;6882:287:13:o;7174:635::-;7345:2;7397:21;;;7467:13;;7370:18;;;7489:22;;;7174:635;;7345:2;7568:15;;;;7542:2;7527:18;;;7174:635;7614:169;7628:6;7625:1;7622:13;7614:169;;;7689:13;;7677:26;;7758:15;;;;7723:12;;;;7650:1;7643:9;7614:169;;;-1:-1:-1;7800:3:13;;7325:484;-1:-1:-1;;;;;;7325:484:13:o;7814:187::-;7979:14;;7972:22;7954:41;;7942:2;7927:18;;7909:92::o;8006:221::-;;8155:2;8144:9;8137:21;8175:46;8217:2;8206:9;8202:18;8194:6;8175:46;:::i;8232:407::-;8434:2;8416:21;;;8473:2;8453:18;;;8446:30;8512:34;8507:2;8492:18;;8485:62;-1:-1:-1;;;8578:2:13;8563:18;;8556:41;8629:3;8614:19;;8406:233::o;8644:414::-;8846:2;8828:21;;;8885:2;8865:18;;;8858:30;8924:34;8919:2;8904:18;;8897:62;-1:-1:-1;;;8990:2:13;8975:18;;8968:48;9048:3;9033:19;;8818:240::o;9063:402::-;9265:2;9247:21;;;9304:2;9284:18;;;9277:30;9343:34;9338:2;9323:18;;9316:62;-1:-1:-1;;;9409:2:13;9394:18;;9387:36;9455:3;9440:19;;9237:228::o;9470:352::-;9672:2;9654:21;;;9711:2;9691:18;;;9684:30;9750;9745:2;9730:18;;9723:58;9813:2;9798:18;;9644:178::o;9827:400::-;10029:2;10011:21;;;10068:2;10048:18;;;10041:30;10107:34;10102:2;10087:18;;10080:62;-1:-1:-1;;;10173:2:13;10158:18;;10151:34;10217:3;10202:19;;10001:226::o;10232:349::-;10434:2;10416:21;;;10473:2;10453:18;;;10446:30;10512:27;10507:2;10492:18;;10485:55;10572:2;10557:18;;10406:175::o;10586:408::-;10788:2;10770:21;;;10827:2;10807:18;;;10800:30;10866:34;10861:2;10846:18;;10839:62;-1:-1:-1;;;10932:2:13;10917:18;;10910:42;10984:3;10969:19;;10760:234::o;10999:420::-;11201:2;11183:21;;;11240:2;11220:18;;;11213:30;11279:34;11274:2;11259:18;;11252:62;11350:26;11345:2;11330:18;;11323:54;11409:3;11394:19;;11173:246::o;11424:406::-;11626:2;11608:21;;;11665:2;11645:18;;;11638:30;11704:34;11699:2;11684:18;;11677:62;-1:-1:-1;;;11770:2:13;11755:18;;11748:40;11820:3;11805:19;;11598:232::o;11835:405::-;12037:2;12019:21;;;12076:2;12056:18;;;12049:30;12115:34;12110:2;12095:18;;12088:62;-1:-1:-1;;;12181:2:13;12166:18;;12159:39;12230:3;12215:19;;12009:231::o;12245:346::-;12447:2;12429:21;;;12486:2;12466:18;;;12459:30;-1:-1:-1;;;12520:2:13;12505:18;;12498:52;12582:2;12567:18;;12419:172::o;12596:400::-;12798:2;12780:21;;;12837:2;12817:18;;;12810:30;12876:34;12871:2;12856:18;;12849:62;-1:-1:-1;;;12942:2:13;12927:18;;12920:34;12986:3;12971:19;;12770:226::o;13001:356::-;13203:2;13185:21;;;13222:18;;;13215:30;13281:34;13276:2;13261:18;;13254:62;13348:2;13333:18;;13175:182::o;13362:408::-;13564:2;13546:21;;;13603:2;13583:18;;;13576:30;13642:34;13637:2;13622:18;;13615:62;-1:-1:-1;;;13708:2:13;13693:18;;13686:42;13760:3;13745:19;;13536:234::o;13775:356::-;13977:2;13959:21;;;13996:18;;;13989:30;14055:34;14050:2;14035:18;;14028:62;14122:2;14107:18;;13949:182::o;14136:346::-;14338:2;14320:21;;;14377:2;14357:18;;;14350:30;-1:-1:-1;;;14411:2:13;14396:18;;14389:52;14473:2;14458:18;;14310:172::o;14487:405::-;14689:2;14671:21;;;14728:2;14708:18;;;14701:30;14767:34;14762:2;14747:18;;14740:62;-1:-1:-1;;;14833:2:13;14818:18;;14811:39;14882:3;14867:19;;14661:231::o;14897:411::-;15099:2;15081:21;;;15138:2;15118:18;;;15111:30;15177:34;15172:2;15157:18;;15150:62;-1:-1:-1;;;15243:2:13;15228:18;;15221:45;15298:3;15283:19;;15071:237::o;15313:397::-;15515:2;15497:21;;;15554:2;15534:18;;;15527:30;15593:34;15588:2;15573:18;;15566:62;-1:-1:-1;;;15659:2:13;15644:18;;15637:31;15700:3;15685:19;;15487:223::o;15715:342::-;15917:2;15899:21;;;15956:2;15936:18;;;15929:30;-1:-1:-1;;;15990:2:13;15975:18;;15968:48;16048:2;16033:18;;15889:168::o;16062:413::-;16264:2;16246:21;;;16303:2;16283:18;;;16276:30;16342:34;16337:2;16322:18;;16315:62;-1:-1:-1;;;16408:2:13;16393:18;;16386:47;16465:3;16450:19;;16236:239::o;16480:408::-;16682:2;16664:21;;;16721:2;16701:18;;;16694:30;16760:34;16755:2;16740:18;;16733:62;-1:-1:-1;;;16826:2:13;16811:18;;16804:42;16878:3;16863:19;;16654:234::o;16893:351::-;17095:2;17077:21;;;17134:2;17114:18;;;17107:30;17173:29;17168:2;17153:18;;17146:57;17235:2;17220:18;;17067:177::o;17249:::-;17395:25;;;17383:2;17368:18;;17350:76::o;17431:129::-;;17499:17;;;17549:4;17533:21;;;17489:71::o;17565:128::-;;17636:1;17632:6;17629:1;17626:13;17623:2;;;17642:18;;:::i;:::-;-1:-1:-1;17678:9:13;;17613:80::o;17698:120::-;;17764:1;17754:2;;17769:18;;:::i;:::-;-1:-1:-1;17803:9:13;;17744:74::o;17823:168::-;;17929:1;17925;17921:6;17917:14;17914:1;17911:21;17906:1;17899:9;17892:17;17888:45;17885:2;;;17936:18;;:::i;:::-;-1:-1:-1;17976:9:13;;17875:116::o;17996:125::-;;18064:1;18061;18058:8;18055:2;;;18069:18;;:::i;:::-;-1:-1:-1;18106:9:13;;18045:76::o;18126:258::-;18198:1;18208:113;18222:6;18219:1;18216:13;18208:113;;;18298:11;;;18292:18;18279:11;;;18272:39;18244:2;18237:10;18208:113;;;18339:6;18336:1;18333:13;18330:2;;;-1:-1:-1;;18374:1:13;18356:16;;18349:27;18179:205::o;18389:380::-;18474:1;18464:12;;18521:1;18511:12;;;18532:2;;18586:4;18578:6;18574:17;18564:27;;18532:2;18639;18631:6;18628:14;18608:18;18605:38;18602:2;;;18685:10;18680:3;18676:20;18673:1;18666:31;18720:4;18717:1;18710:15;18748:4;18745:1;18738:15;18602:2;;18444:325;;;:::o;18774:135::-;;-1:-1:-1;;18834:17:13;;18831:2;;;18854:18;;:::i;:::-;-1:-1:-1;18901:1:13;18890:13;;18821:88::o;18914:112::-;;18972:1;18962:2;;18977:18;;:::i;:::-;-1:-1:-1;19011:9:13;;18952:74::o;19031:127::-;19092:10;19087:3;19083:20;19080:1;19073:31;19123:4;19120:1;19113:15;19147:4;19144:1;19137:15;19163:127;19224:10;19219:3;19215:20;19212:1;19205:31;19255:4;19252:1;19245:15;19279:4;19276:1;19269:15;19295:127;19356:10;19351:3;19347:20;19344:1;19337:31;19387:4;19384:1;19377:15;19411:4;19408:1;19401:15;19427:133;-1:-1:-1;;;;;;19503:32:13;;19493:43;;19483:2;;19550:1;19547;19540:12

Swarm Source

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