ETH Price: $3,103.03 (-0.02%)

Token

StachesNFT (STACH)
 

Overview

Max Total Supply

365 STACH

Holders

43

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

StachesNFT is an Official Soakmont ($SOAK) Collection of 10000 handsomely mustached world travelers. Each NFT will carry a weighted number of entries into monthly reward lotteries performed by the Lucky Fairy ($FAE) ecosystems.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
StachesNFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1500 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-02-14
*/

// Sources flattened with hardhat v2.6.1 https://hardhat.org

// File contracts/IERC165.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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


// File contracts/ERC165.sol



pragma solidity ^0.8.0;

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


// File contracts/IERC721.sol



pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 contracts/IERC721Receiver.sol



pragma solidity ^0.8.0;

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


// File contracts/IERC721Metadata.sol



pragma solidity ^0.8.0;

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

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

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


// File contracts/Address.sol



pragma solidity ^0.8.0;


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



pragma solidity ^0.8.0;

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

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


// File contracts/Strings.sol



pragma solidity ^0.8.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);
    }
}


// File contracts/ERC721.sol



pragma solidity ^0.8.0;







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



pragma solidity ^0.8.0;

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

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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 contracts/ERC721Enumerable.sol



pragma solidity ^0.8.0;


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



pragma solidity ^0.8.0;

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

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

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



pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}


// File contracts/Staches.sol



pragma solidity ^0.8.9;



contract StachesNFT is ERC721Enumerable, Ownable {
  using ECDSA for bytes32;

  uint256 public mintPrice = 0.1 ether;

  string _baseTokenURI;

  bool public isActive = false;

  uint256 public maximumMintSupply = 300;
  uint256 public maximumAllowedTokensPerPurchase = 10;

  address private devAddress = 0x97CBb7061AE346600C393dbE3A361772AA2D1E4d;
  uint256 private devFee = 5;
  
  event SaleActivation(bool isActive);

  constructor(string memory baseURI) ERC721("StachesNFT", "STACH") {
    setBaseURI(baseURI);
  }

  modifier saleIsOpen {
    require(totalSupply() <= maximumMintSupply, "Sale has ended.");
    _;
  }

  modifier onlyAuthorized() {
    require(owner() == msg.sender);
    _;
  }

  function setMaximumAllowedTokens(uint256 _count) public onlyAuthorized {
    maximumAllowedTokensPerPurchase = _count;
  }

  function setActive(bool val) public onlyAuthorized {
    isActive = val;
    emit SaleActivation(val);
  }

  function setDevAddress(address addr) public onlyAuthorized {
    devAddress = addr;
  }

  function setDevFee(uint256 fee) public onlyAuthorized {
    devFee = fee;
  }

  function setMaxMintSupply(uint256 maxMintSupply) external onlyAuthorized {
    maximumMintSupply = maxMintSupply;
  }

  function setPrice(uint256 _price) public onlyAuthorized {
    mintPrice = _price;
  }

  function setBaseURI(string memory baseURI) public onlyAuthorized {
    _baseTokenURI = baseURI;
  }

  function getMaximumAllowedTokens() public view onlyAuthorized returns (uint256) {
    return maximumAllowedTokensPerPurchase;
  }

  function getPrice() external view returns (uint256) {
    return mintPrice;
  }

  function getTotalSupply() external view returns (uint256) {
    return totalSupply();
  }

  function getContractOwner() public view returns (address) {
    return owner();
  }

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

  function baseTokenURI() public view returns (string memory) {
    return _baseTokenURI;
  }

  function tokenURI(uint256 _tokenId) override public view returns (string memory) {
    return string(abi.encodePacked(baseTokenURI(), Strings.toString(_tokenId), '.json'));
  }

  function mint(uint256 _count) public payable saleIsOpen {
    if (msg.sender != owner()) {
      require(isActive, "Sale is not active currently.");
    }

    require(totalSupply() + _count <= maximumMintSupply, "Total supply exceeded.");
    require(totalSupply() <= maximumMintSupply, "Total supply spent.");
    require(
      _count <= maximumAllowedTokensPerPurchase,
      "Exceeds maximum allowed tokens"
    );
    require(msg.value >= mintPrice * _count, "Insuffient ETH amount sent.");

    for (uint256 i = 0; i < _count; i++) {
      _safeMint(msg.sender, totalSupply()+1);
    }

    payable(devAddress).transfer(msg.value*devFee/100);
  }

  function walletOfOwner(address _owner) external view returns(uint256[] memory) {
    uint tokenCount = balanceOf(_owner);
    uint256[] memory tokensId = new uint256[](tokenCount);

    for(uint i = 0; i < tokenCount; i++){
      tokensId[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return tokensId;
  }

  function withdraw() external onlyAuthorized {
    uint balance = address(this).balance;
    payable(owner()).transfer(balance);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"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":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"SaleActivation","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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaximumAllowedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maximumAllowedTokensPerPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"bool","name":"val","type":"bool"}],"name":"setActive","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setDevFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMintSupply","type":"uint256"}],"name":"setMaxMintSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setMaximumAllowedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","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":"nonpayable","type":"function"}]

608060405267016345785d8a0000600b55600d805460ff1916905561012c600e55600a600f55601080546001600160a01b0319167397cbb7061ae346600c393dbe3a361772aa2d1e4d17905560056011553480156200005d57600080fd5b5060405162002b1038038062002b10833981016040819052620000809162000267565b604080518082018252600a81526914dd1858da195cd3919560b21b6020808301918252835180850190945260058452640a6a88286960db1b908401528151919291620000cf91600091620001ab565b508051620000e5906001906020840190620001ab565b50505062000102620000fc6200011460201b60201c565b62000118565b6200010d816200016a565b5062000380565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336200017e600a546001600160a01b031690565b6001600160a01b0316146200019257600080fd5b8051620001a790600c906020840190620001ab565b5050565b828054620001b99062000343565b90600052602060002090601f016020900481019282620001dd576000855562000228565b82601f10620001f857805160ff191683800117855562000228565b8280016001018555821562000228579182015b82811115620002285782518255916020019190600101906200020b565b50620002369291506200023a565b5090565b5b808211156200023657600081556001016200023b565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200027b57600080fd5b82516001600160401b03808211156200029357600080fd5b818501915085601f830112620002a857600080fd5b815181811115620002bd57620002bd62000251565b604051601f8201601f19908116603f01168101908382118183101715620002e857620002e862000251565b8160405282815288868487010111156200030157600080fd5b600093505b8284101562000325578484018601518185018701529285019262000306565b82841115620003375760008684830101525b98975050505050505050565b600181811c908216806200035857607f821691505b602082108114156200037a57634e487b7160e01b600052602260045260246000fd5b50919050565b61278080620003906000396000f3fe6080604052600436106102855760003560e01c806370a0823111610153578063a22cb465116100cb578063c87b56dd1161007f578063d547cfb711610064578063d547cfb7146106a7578063e985e9c5146106bc578063f2fde38b1461070557600080fd5b8063c87b56dd14610667578063d0d41fe11461068757600080fd5b8063ad06d758116100b0578063ad06d7581461061d578063b88d4fde14610632578063c4e41b221461065257600080fd5b8063a22cb465146105dd578063acec338a146105fd57600080fd5b806391b7f5ed1161012257806398d5fdca1161010757806398d5fdca1461059f5780639a3bf728146105b4578063a0712d68146105ca57600080fd5b806391b7f5ed1461056a57806395d89b411461058a57600080fd5b806370a08231146104f7578063715018a6146105175780637389fbb71461052c5780638da5cb5b1461054c57600080fd5b80633ccfd60b116102015780634dfea627116101b557806355f804b31161019a57806355f804b3146104a15780636352211e146104c15780636817c76c146104e157600080fd5b80634dfea627146104615780634f6ccce71461048157600080fd5b8063438b6300116101e6578063438b630014610409578063442890d5146104365780634d0550de1461044b57600080fd5b80633ccfd60b146103d457806342842e0e146103e957600080fd5b806318160ddd1161025857806322f3e2d41161023d57806322f3e2d41461037a57806323b872dd146103945780632f745c59146103b457600080fd5b806318160ddd1461033b5780631c75b6b21461035a57600080fd5b806301ffc9a71461028a57806306fdde03146102bf578063081812fc146102e1578063095ea7b314610319575b600080fd5b34801561029657600080fd5b506102aa6102a5366004612214565b610725565b60405190151581526020015b60405180910390f35b3480156102cb57600080fd5b506102d4610769565b6040516102b69190612290565b3480156102ed57600080fd5b506103016102fc3660046122a3565b6107fb565b6040516001600160a01b0390911681526020016102b6565b34801561032557600080fd5b506103396103343660046122d8565b6108a6565b005b34801561034757600080fd5b506008545b6040519081526020016102b6565b34801561036657600080fd5b506103396103753660046122a3565b6109d8565b34801561038657600080fd5b50600d546102aa9060ff1681565b3480156103a057600080fd5b506103396103af366004612302565b610a03565b3480156103c057600080fd5b5061034c6103cf3660046122d8565b610a8a565b3480156103e057600080fd5b50610339610b32565b3480156103f557600080fd5b50610339610404366004612302565b610ba7565b34801561041557600080fd5b5061042961042436600461233e565b610bc2565b6040516102b69190612359565b34801561044257600080fd5b50610301610c64565b34801561045757600080fd5b5061034c600e5481565b34801561046d57600080fd5b5061033961047c3660046122a3565b610c7d565b34801561048d57600080fd5b5061034c61049c3660046122a3565b610ca8565b3480156104ad57600080fd5b506103396104bc366004612429565b610d4c565b3480156104cd57600080fd5b506103016104dc3660046122a3565b610d85565b3480156104ed57600080fd5b5061034c600b5481565b34801561050357600080fd5b5061034c61051236600461233e565b610e10565b34801561052357600080fd5b50610339610eaa565b34801561053857600080fd5b506103396105473660046122a3565b610f10565b34801561055857600080fd5b50600a546001600160a01b0316610301565b34801561057657600080fd5b506103396105853660046122a3565b610f3b565b34801561059657600080fd5b506102d4610f66565b3480156105ab57600080fd5b50600b5461034c565b3480156105c057600080fd5b5061034c600f5481565b6103396105d83660046122a3565b610f75565b3480156105e957600080fd5b506103396105f8366004612482565b611225565b34801561060957600080fd5b506103396106183660046124b5565b6112ea565b34801561062957600080fd5b5061034c611357565b34801561063e57600080fd5b5061033961064d3660046124d0565b611386565b34801561065e57600080fd5b5061034c611414565b34801561067357600080fd5b506102d46106823660046122a3565b61141f565b34801561069357600080fd5b506103396106a236600461233e565b611459565b3480156106b357600080fd5b506102d46114ae565b3480156106c857600080fd5b506102aa6106d736600461254c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561071157600080fd5b5061033961072036600461233e565b6114bd565b60006001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061076357506107638261159f565b92915050565b60606000805461077890612576565b80601f01602080910402602001604051908101604052809291908181526020018280546107a490612576565b80156107f15780601f106107c6576101008083540402835291602001916107f1565b820191906000526020600020905b8154815290600101906020018083116107d457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661088a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108b182610d85565b9050806001600160a01b0316836001600160a01b0316141561093b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610881565b336001600160a01b0382161480610957575061095781336106d7565b6109c95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610881565b6109d3838361163a565b505050565b336109eb600a546001600160a01b031690565b6001600160a01b0316146109fe57600080fd5b601155565b610a0d33826116b5565b610a7f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610881565b6109d38383836117bd565b6000610a9583610e10565b8210610b095760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610881565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b33610b45600a546001600160a01b031690565b6001600160a01b031614610b5857600080fd5b47610b6b600a546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610ba3573d6000803e3d6000fd5b5050565b6109d383838360405180602001604052806000815250611386565b60606000610bcf83610e10565b905060008167ffffffffffffffff811115610bec57610bec61239d565b604051908082528060200260200182016040528015610c15578160200160208202803683370190505b50905060005b82811015610c5c57610c2d8582610a8a565b828281518110610c3f57610c3f6125b1565b602090810291909101015280610c54816125dd565b915050610c1b565b509392505050565b6000610c78600a546001600160a01b031690565b905090565b33610c90600a546001600160a01b031690565b6001600160a01b031614610ca357600080fd5b600f55565b6000610cb360085490565b8210610d275760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610881565b60088281548110610d3a57610d3a6125b1565b90600052602060002001549050919050565b33610d5f600a546001600160a01b031690565b6001600160a01b031614610d7257600080fd5b8051610ba390600c906020840190612165565b6000818152600260205260408120546001600160a01b0316806107635760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610881565b60006001600160a01b038216610e8e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610881565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610f045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610881565b610f0e60006119a2565b565b33610f23600a546001600160a01b031690565b6001600160a01b031614610f3657600080fd5b600e55565b33610f4e600a546001600160a01b031690565b6001600160a01b031614610f6157600080fd5b600b55565b60606001805461077890612576565b600e546008541115610fc95760405162461bcd60e51b815260206004820152600f60248201527f53616c652068617320656e6465642e00000000000000000000000000000000006044820152606401610881565b600a546001600160a01b0316331461102d57600d5460ff1661102d5760405162461bcd60e51b815260206004820152601d60248201527f53616c65206973206e6f74206163746976652063757272656e746c792e0000006044820152606401610881565b600e548161103a60085490565b61104491906125f8565b11156110925760405162461bcd60e51b815260206004820152601660248201527f546f74616c20737570706c792065786365656465642e000000000000000000006044820152606401610881565b600e5460085411156110e65760405162461bcd60e51b815260206004820152601360248201527f546f74616c20737570706c79207370656e742e000000000000000000000000006044820152606401610881565b600f548111156111385760405162461bcd60e51b815260206004820152601e60248201527f45786365656473206d6178696d756d20616c6c6f77656420746f6b656e7300006044820152606401610881565b80600b546111469190612610565b3410156111955760405162461bcd60e51b815260206004820152601b60248201527f496e7375666669656e742045544820616d6f756e742073656e742e00000000006044820152606401610881565b60005b818110156111cf576111bd336111ad60085490565b6111b89060016125f8565b611a01565b806111c7816125dd565b915050611198565b506010546011546001600160a01b03909116906108fc906064906111f39034612610565b6111fd9190612645565b6040518115909202916000818181858888f19350505050158015610ba3573d6000803e3d6000fd5b6001600160a01b03821633141561127e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610881565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336112fd600a546001600160a01b031690565b6001600160a01b03161461131057600080fd5b600d805460ff19168215159081179091556040519081527f58655b75d3df612fe99ead00dbf0812d415d35078fe06217a94c0818bb13967f9060200160405180910390a150565b60003361136c600a546001600160a01b031690565b6001600160a01b03161461137f57600080fd5b50600f5490565b61139033836116b5565b6114025760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610881565b61140e84848484611a1b565b50505050565b6000610c7860085490565b60606114296114ae565b61143283611aa4565b604051602001611443929190612659565b6040516020818303038152906040529050919050565b3361146c600a546001600160a01b031690565b6001600160a01b03161461147f57600080fd5b6010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6060600c805461077890612576565b600a546001600160a01b031633146115175760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610881565b6001600160a01b0381166115935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610881565b61159c816119a2565b50565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061160257506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061076357507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610763565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061167c82610d85565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661173f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610881565b600061174a83610d85565b9050806001600160a01b0316846001600160a01b031614806117855750836001600160a01b031661177a846107fb565b6001600160a01b0316145b806117b557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166117d082610d85565b6001600160a01b03161461184c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610881565b6001600160a01b0382166118c75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610881565b6118d2838383611bd6565b6118dd60008261163a565b6001600160a01b03831660009081526003602052604081208054600192906119069084906126b0565b90915550506001600160a01b03821660009081526003602052604081208054600192906119349084906125f8565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ba3828260405180602001604052806000815250611c8e565b611a268484846117bd565b611a3284848484611d17565b61140e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610881565b606081611ae457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611b0e5780611af8816125dd565b9150611b079050600a83612645565b9150611ae8565b60008167ffffffffffffffff811115611b2957611b2961239d565b6040519080825280601f01601f191660200182016040528015611b53576020820181803683370190505b5090505b84156117b557611b686001836126b0565b9150611b75600a866126c7565b611b809060306125f8565b60f81b818381518110611b9557611b956125b1565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611bcf600a86612645565b9450611b57565b6001600160a01b038316611c3157611c2c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611c54565b816001600160a01b0316836001600160a01b031614611c5457611c548382611e7a565b6001600160a01b038216611c6b576109d381611f17565b826001600160a01b0316826001600160a01b0316146109d3576109d38282611fc6565b611c98838361200a565b611ca56000848484611d17565b6109d35760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610881565b60006001600160a01b0384163b15611e6f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d5b9033908990889088906004016126db565b602060405180830381600087803b158015611d7557600080fd5b505af1925050508015611da5575060408051601f3d908101601f19168201909252611da291810190612717565b60015b611e55573d808015611dd3576040519150601f19603f3d011682016040523d82523d6000602084013e611dd8565b606091505b508051611e4d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610881565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117b5565b506001949350505050565b60006001611e8784610e10565b611e9191906126b0565b600083815260076020526040902054909150808214611ee4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611f29906001906126b0565b60008381526009602052604081205460088054939450909284908110611f5157611f516125b1565b906000526020600020015490508060088381548110611f7257611f726125b1565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611faa57611faa612734565b6001900381819060005260206000200160009055905550505050565b6000611fd183610e10565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166120605760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610881565b6000818152600260205260409020546001600160a01b0316156120c55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610881565b6120d160008383611bd6565b6001600160a01b03821660009081526003602052604081208054600192906120fa9084906125f8565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461217190612576565b90600052602060002090601f01602090048101928261219357600085556121d9565b82601f106121ac57805160ff19168380011785556121d9565b828001600101855582156121d9579182015b828111156121d95782518255916020019190600101906121be565b506121e59291506121e9565b5090565b5b808211156121e557600081556001016121ea565b6001600160e01b03198116811461159c57600080fd5b60006020828403121561222657600080fd5b8135612231816121fe565b9392505050565b60005b8381101561225357818101518382015260200161223b565b8381111561140e5750506000910152565b6000815180845261227c816020860160208601612238565b601f01601f19169290920160200192915050565b6020815260006122316020830184612264565b6000602082840312156122b557600080fd5b5035919050565b80356001600160a01b03811681146122d357600080fd5b919050565b600080604083850312156122eb57600080fd5b6122f4836122bc565b946020939093013593505050565b60008060006060848603121561231757600080fd5b612320846122bc565b925061232e602085016122bc565b9150604084013590509250925092565b60006020828403121561235057600080fd5b612231826122bc565b6020808252825182820181905260009190848201906040850190845b8181101561239157835183529284019291840191600101612375565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156123ce576123ce61239d565b604051601f8501601f19908116603f011681019082821181831017156123f6576123f661239d565b8160405280935085815286868601111561240f57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561243b57600080fd5b813567ffffffffffffffff81111561245257600080fd5b8201601f8101841361246357600080fd5b6117b5848235602084016123b3565b803580151581146122d357600080fd5b6000806040838503121561249557600080fd5b61249e836122bc565b91506124ac60208401612472565b90509250929050565b6000602082840312156124c757600080fd5b61223182612472565b600080600080608085870312156124e657600080fd5b6124ef856122bc565b93506124fd602086016122bc565b925060408501359150606085013567ffffffffffffffff81111561252057600080fd5b8501601f8101871361253157600080fd5b612540878235602084016123b3565b91505092959194509250565b6000806040838503121561255f57600080fd5b612568836122bc565b91506124ac602084016122bc565b600181811c9082168061258a57607f821691505b602082108114156125ab57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156125f1576125f16125c7565b5060010190565b6000821982111561260b5761260b6125c7565b500190565b600081600019048311821515161561262a5761262a6125c7565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826126545761265461262f565b500490565b6000835161266b818460208801612238565b83519083019061267f818360208801612238565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b6000828210156126c2576126c26125c7565b500390565b6000826126d6576126d661262f565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261270d6080830184612264565b9695505050505050565b60006020828403121561272957600080fd5b8151612231816121fe565b634e487b7160e01b600052603160045260246000fdfea264697066735822122051dfb777ca5cc23e8a4af63f6495f3453879ae08577bd0453bc139972499263264736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d596f6677446f4a48436f4133615a5439794d364659634a5152554a65454d6556334b37755444336d4467354d0000000000000000000000

Deployed Bytecode

0x6080604052600436106102855760003560e01c806370a0823111610153578063a22cb465116100cb578063c87b56dd1161007f578063d547cfb711610064578063d547cfb7146106a7578063e985e9c5146106bc578063f2fde38b1461070557600080fd5b8063c87b56dd14610667578063d0d41fe11461068757600080fd5b8063ad06d758116100b0578063ad06d7581461061d578063b88d4fde14610632578063c4e41b221461065257600080fd5b8063a22cb465146105dd578063acec338a146105fd57600080fd5b806391b7f5ed1161012257806398d5fdca1161010757806398d5fdca1461059f5780639a3bf728146105b4578063a0712d68146105ca57600080fd5b806391b7f5ed1461056a57806395d89b411461058a57600080fd5b806370a08231146104f7578063715018a6146105175780637389fbb71461052c5780638da5cb5b1461054c57600080fd5b80633ccfd60b116102015780634dfea627116101b557806355f804b31161019a57806355f804b3146104a15780636352211e146104c15780636817c76c146104e157600080fd5b80634dfea627146104615780634f6ccce71461048157600080fd5b8063438b6300116101e6578063438b630014610409578063442890d5146104365780634d0550de1461044b57600080fd5b80633ccfd60b146103d457806342842e0e146103e957600080fd5b806318160ddd1161025857806322f3e2d41161023d57806322f3e2d41461037a57806323b872dd146103945780632f745c59146103b457600080fd5b806318160ddd1461033b5780631c75b6b21461035a57600080fd5b806301ffc9a71461028a57806306fdde03146102bf578063081812fc146102e1578063095ea7b314610319575b600080fd5b34801561029657600080fd5b506102aa6102a5366004612214565b610725565b60405190151581526020015b60405180910390f35b3480156102cb57600080fd5b506102d4610769565b6040516102b69190612290565b3480156102ed57600080fd5b506103016102fc3660046122a3565b6107fb565b6040516001600160a01b0390911681526020016102b6565b34801561032557600080fd5b506103396103343660046122d8565b6108a6565b005b34801561034757600080fd5b506008545b6040519081526020016102b6565b34801561036657600080fd5b506103396103753660046122a3565b6109d8565b34801561038657600080fd5b50600d546102aa9060ff1681565b3480156103a057600080fd5b506103396103af366004612302565b610a03565b3480156103c057600080fd5b5061034c6103cf3660046122d8565b610a8a565b3480156103e057600080fd5b50610339610b32565b3480156103f557600080fd5b50610339610404366004612302565b610ba7565b34801561041557600080fd5b5061042961042436600461233e565b610bc2565b6040516102b69190612359565b34801561044257600080fd5b50610301610c64565b34801561045757600080fd5b5061034c600e5481565b34801561046d57600080fd5b5061033961047c3660046122a3565b610c7d565b34801561048d57600080fd5b5061034c61049c3660046122a3565b610ca8565b3480156104ad57600080fd5b506103396104bc366004612429565b610d4c565b3480156104cd57600080fd5b506103016104dc3660046122a3565b610d85565b3480156104ed57600080fd5b5061034c600b5481565b34801561050357600080fd5b5061034c61051236600461233e565b610e10565b34801561052357600080fd5b50610339610eaa565b34801561053857600080fd5b506103396105473660046122a3565b610f10565b34801561055857600080fd5b50600a546001600160a01b0316610301565b34801561057657600080fd5b506103396105853660046122a3565b610f3b565b34801561059657600080fd5b506102d4610f66565b3480156105ab57600080fd5b50600b5461034c565b3480156105c057600080fd5b5061034c600f5481565b6103396105d83660046122a3565b610f75565b3480156105e957600080fd5b506103396105f8366004612482565b611225565b34801561060957600080fd5b506103396106183660046124b5565b6112ea565b34801561062957600080fd5b5061034c611357565b34801561063e57600080fd5b5061033961064d3660046124d0565b611386565b34801561065e57600080fd5b5061034c611414565b34801561067357600080fd5b506102d46106823660046122a3565b61141f565b34801561069357600080fd5b506103396106a236600461233e565b611459565b3480156106b357600080fd5b506102d46114ae565b3480156106c857600080fd5b506102aa6106d736600461254c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561071157600080fd5b5061033961072036600461233e565b6114bd565b60006001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061076357506107638261159f565b92915050565b60606000805461077890612576565b80601f01602080910402602001604051908101604052809291908181526020018280546107a490612576565b80156107f15780601f106107c6576101008083540402835291602001916107f1565b820191906000526020600020905b8154815290600101906020018083116107d457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661088a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108b182610d85565b9050806001600160a01b0316836001600160a01b0316141561093b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610881565b336001600160a01b0382161480610957575061095781336106d7565b6109c95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610881565b6109d3838361163a565b505050565b336109eb600a546001600160a01b031690565b6001600160a01b0316146109fe57600080fd5b601155565b610a0d33826116b5565b610a7f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610881565b6109d38383836117bd565b6000610a9583610e10565b8210610b095760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610881565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b33610b45600a546001600160a01b031690565b6001600160a01b031614610b5857600080fd5b47610b6b600a546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610ba3573d6000803e3d6000fd5b5050565b6109d383838360405180602001604052806000815250611386565b60606000610bcf83610e10565b905060008167ffffffffffffffff811115610bec57610bec61239d565b604051908082528060200260200182016040528015610c15578160200160208202803683370190505b50905060005b82811015610c5c57610c2d8582610a8a565b828281518110610c3f57610c3f6125b1565b602090810291909101015280610c54816125dd565b915050610c1b565b509392505050565b6000610c78600a546001600160a01b031690565b905090565b33610c90600a546001600160a01b031690565b6001600160a01b031614610ca357600080fd5b600f55565b6000610cb360085490565b8210610d275760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610881565b60088281548110610d3a57610d3a6125b1565b90600052602060002001549050919050565b33610d5f600a546001600160a01b031690565b6001600160a01b031614610d7257600080fd5b8051610ba390600c906020840190612165565b6000818152600260205260408120546001600160a01b0316806107635760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610881565b60006001600160a01b038216610e8e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610881565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610f045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610881565b610f0e60006119a2565b565b33610f23600a546001600160a01b031690565b6001600160a01b031614610f3657600080fd5b600e55565b33610f4e600a546001600160a01b031690565b6001600160a01b031614610f6157600080fd5b600b55565b60606001805461077890612576565b600e546008541115610fc95760405162461bcd60e51b815260206004820152600f60248201527f53616c652068617320656e6465642e00000000000000000000000000000000006044820152606401610881565b600a546001600160a01b0316331461102d57600d5460ff1661102d5760405162461bcd60e51b815260206004820152601d60248201527f53616c65206973206e6f74206163746976652063757272656e746c792e0000006044820152606401610881565b600e548161103a60085490565b61104491906125f8565b11156110925760405162461bcd60e51b815260206004820152601660248201527f546f74616c20737570706c792065786365656465642e000000000000000000006044820152606401610881565b600e5460085411156110e65760405162461bcd60e51b815260206004820152601360248201527f546f74616c20737570706c79207370656e742e000000000000000000000000006044820152606401610881565b600f548111156111385760405162461bcd60e51b815260206004820152601e60248201527f45786365656473206d6178696d756d20616c6c6f77656420746f6b656e7300006044820152606401610881565b80600b546111469190612610565b3410156111955760405162461bcd60e51b815260206004820152601b60248201527f496e7375666669656e742045544820616d6f756e742073656e742e00000000006044820152606401610881565b60005b818110156111cf576111bd336111ad60085490565b6111b89060016125f8565b611a01565b806111c7816125dd565b915050611198565b506010546011546001600160a01b03909116906108fc906064906111f39034612610565b6111fd9190612645565b6040518115909202916000818181858888f19350505050158015610ba3573d6000803e3d6000fd5b6001600160a01b03821633141561127e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610881565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336112fd600a546001600160a01b031690565b6001600160a01b03161461131057600080fd5b600d805460ff19168215159081179091556040519081527f58655b75d3df612fe99ead00dbf0812d415d35078fe06217a94c0818bb13967f9060200160405180910390a150565b60003361136c600a546001600160a01b031690565b6001600160a01b03161461137f57600080fd5b50600f5490565b61139033836116b5565b6114025760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610881565b61140e84848484611a1b565b50505050565b6000610c7860085490565b60606114296114ae565b61143283611aa4565b604051602001611443929190612659565b6040516020818303038152906040529050919050565b3361146c600a546001600160a01b031690565b6001600160a01b03161461147f57600080fd5b6010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6060600c805461077890612576565b600a546001600160a01b031633146115175760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610881565b6001600160a01b0381166115935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610881565b61159c816119a2565b50565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061160257506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061076357507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610763565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061167c82610d85565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661173f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610881565b600061174a83610d85565b9050806001600160a01b0316846001600160a01b031614806117855750836001600160a01b031661177a846107fb565b6001600160a01b0316145b806117b557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166117d082610d85565b6001600160a01b03161461184c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610881565b6001600160a01b0382166118c75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610881565b6118d2838383611bd6565b6118dd60008261163a565b6001600160a01b03831660009081526003602052604081208054600192906119069084906126b0565b90915550506001600160a01b03821660009081526003602052604081208054600192906119349084906125f8565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ba3828260405180602001604052806000815250611c8e565b611a268484846117bd565b611a3284848484611d17565b61140e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610881565b606081611ae457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611b0e5780611af8816125dd565b9150611b079050600a83612645565b9150611ae8565b60008167ffffffffffffffff811115611b2957611b2961239d565b6040519080825280601f01601f191660200182016040528015611b53576020820181803683370190505b5090505b84156117b557611b686001836126b0565b9150611b75600a866126c7565b611b809060306125f8565b60f81b818381518110611b9557611b956125b1565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611bcf600a86612645565b9450611b57565b6001600160a01b038316611c3157611c2c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611c54565b816001600160a01b0316836001600160a01b031614611c5457611c548382611e7a565b6001600160a01b038216611c6b576109d381611f17565b826001600160a01b0316826001600160a01b0316146109d3576109d38282611fc6565b611c98838361200a565b611ca56000848484611d17565b6109d35760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610881565b60006001600160a01b0384163b15611e6f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d5b9033908990889088906004016126db565b602060405180830381600087803b158015611d7557600080fd5b505af1925050508015611da5575060408051601f3d908101601f19168201909252611da291810190612717565b60015b611e55573d808015611dd3576040519150601f19603f3d011682016040523d82523d6000602084013e611dd8565b606091505b508051611e4d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610881565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117b5565b506001949350505050565b60006001611e8784610e10565b611e9191906126b0565b600083815260076020526040902054909150808214611ee4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611f29906001906126b0565b60008381526009602052604081205460088054939450909284908110611f5157611f516125b1565b906000526020600020015490508060088381548110611f7257611f726125b1565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611faa57611faa612734565b6001900381819060005260206000200160009055905550505050565b6000611fd183610e10565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166120605760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610881565b6000818152600260205260409020546001600160a01b0316156120c55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610881565b6120d160008383611bd6565b6001600160a01b03821660009081526003602052604081208054600192906120fa9084906125f8565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461217190612576565b90600052602060002090601f01602090048101928261219357600085556121d9565b82601f106121ac57805160ff19168380011785556121d9565b828001600101855582156121d9579182015b828111156121d95782518255916020019190600101906121be565b506121e59291506121e9565b5090565b5b808211156121e557600081556001016121ea565b6001600160e01b03198116811461159c57600080fd5b60006020828403121561222657600080fd5b8135612231816121fe565b9392505050565b60005b8381101561225357818101518382015260200161223b565b8381111561140e5750506000910152565b6000815180845261227c816020860160208601612238565b601f01601f19169290920160200192915050565b6020815260006122316020830184612264565b6000602082840312156122b557600080fd5b5035919050565b80356001600160a01b03811681146122d357600080fd5b919050565b600080604083850312156122eb57600080fd5b6122f4836122bc565b946020939093013593505050565b60008060006060848603121561231757600080fd5b612320846122bc565b925061232e602085016122bc565b9150604084013590509250925092565b60006020828403121561235057600080fd5b612231826122bc565b6020808252825182820181905260009190848201906040850190845b8181101561239157835183529284019291840191600101612375565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156123ce576123ce61239d565b604051601f8501601f19908116603f011681019082821181831017156123f6576123f661239d565b8160405280935085815286868601111561240f57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561243b57600080fd5b813567ffffffffffffffff81111561245257600080fd5b8201601f8101841361246357600080fd5b6117b5848235602084016123b3565b803580151581146122d357600080fd5b6000806040838503121561249557600080fd5b61249e836122bc565b91506124ac60208401612472565b90509250929050565b6000602082840312156124c757600080fd5b61223182612472565b600080600080608085870312156124e657600080fd5b6124ef856122bc565b93506124fd602086016122bc565b925060408501359150606085013567ffffffffffffffff81111561252057600080fd5b8501601f8101871361253157600080fd5b612540878235602084016123b3565b91505092959194509250565b6000806040838503121561255f57600080fd5b612568836122bc565b91506124ac602084016122bc565b600181811c9082168061258a57607f821691505b602082108114156125ab57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156125f1576125f16125c7565b5060010190565b6000821982111561260b5761260b6125c7565b500190565b600081600019048311821515161561262a5761262a6125c7565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826126545761265461262f565b500490565b6000835161266b818460208801612238565b83519083019061267f818360208801612238565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b6000828210156126c2576126c26125c7565b500390565b6000826126d6576126d661262f565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261270d6080830184612264565b9695505050505050565b60006020828403121561272957600080fd5b8151612231816121fe565b634e487b7160e01b600052603160045260246000fdfea264697066735822122051dfb777ca5cc23e8a4af63f6495f3453879ae08577bd0453bc139972499263264736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d596f6677446f4a48436f4133615a5439794d364659634a5152554a65454d6556334b37755444336d4467354d0000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): ipfs://QmYofwDoJHCoA3aZT9yM6FYcJQRUJeEMeV3K7uTD3mDg5M

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [2] : 697066733a2f2f516d596f6677446f4a48436f4133615a5439794d364659634a
Arg [3] : 5152554a65454d6556334b37755444336d4467354d0000000000000000000000


Deployed Bytecode Sourcemap

51908:3431:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34460:224;;;;;;;;;;-1:-1:-1;34460:224:0;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;34460:224:0;;;;;;;;21439:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22998:221::-;;;;;;;;;;-1:-1:-1;22998:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1738:55:1;;;1720:74;;1708:2;1693:18;22998:221:0;1574:226:1;22521:411:0;;;;;;;;;;-1:-1:-1;22521:411:0;;;;;:::i;:::-;;:::i;:::-;;35100:113;;;;;;;;;;-1:-1:-1;35188:10:0;:17;35100:113;;;2411:25:1;;;2399:2;2384:18;35100:113:0;2265:177:1;52986:79:0;;;;;;;;;;-1:-1:-1;52986:79:0;;;;;:::i;:::-;;:::i;52062:28::-;;;;;;;;;;-1:-1:-1;52062:28:0;;;;;;;;23888:339;;;;;;;;;;-1:-1:-1;23888:339:0;;;;;:::i;:::-;;:::i;34768:256::-;;;;;;;;;;-1:-1:-1;34768:256:0;;;;;:::i;:::-;;:::i;55202:134::-;;;;;;;;;;;;;:::i;24298:185::-;;;;;;;;;;-1:-1:-1;24298:185:0;;;;;:::i;:::-;;:::i;54882:314::-;;;;;;;;;;-1:-1:-1;54882:314:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;53717:85::-;;;;;;;;;;;;;:::i;52097:38::-;;;;;;;;;;;;;;;;52646:124;;;;;;;;;;-1:-1:-1;52646:124:0;;;;;:::i;:::-;;:::i;35290:233::-;;;;;;;;;;-1:-1:-1;35290:233:0;;;;;:::i;:::-;;:::i;53289:101::-;;;;;;;;;;-1:-1:-1;53289:101:0;;;;;:::i;:::-;;:::i;21133:239::-;;;;;;;;;;-1:-1:-1;21133:239:0;;;;;:::i;:::-;;:::i;51992:36::-;;;;;;;;;;;;;;;;20863:208;;;;;;;;;;-1:-1:-1;20863:208:0;;;;;:::i;:::-;;:::i;42235:94::-;;;;;;;;;;;;;:::i;53071:119::-;;;;;;;;;;-1:-1:-1;53071:119:0;;;;;:::i;:::-;;:::i;41584:87::-;;;;;;;;;;-1:-1:-1;41657:6:0;;-1:-1:-1;;;;;41657:6:0;41584:87;;53196;;;;;;;;;;-1:-1:-1;53196:87:0;;;;;:::i;:::-;;:::i;21608:104::-;;;;;;;;;;;;;:::i;53533:81::-;;;;;;;;;;-1:-1:-1;53599:9:0;;53533:81;;52140:51;;;;;;;;;;;;;;;;54205:671;;;;;;:::i;:::-;;:::i;23291:295::-;;;;;;;;;;-1:-1:-1;23291:295:0;;;;;:::i;:::-;;:::i;52776:109::-;;;;;;;;;;-1:-1:-1;52776:109:0;;;;;:::i;:::-;;:::i;53396:131::-;;;;;;;;;;;;;:::i;24554:328::-;;;;;;;;;;-1:-1:-1;24554:328:0;;;;;:::i;:::-;;:::i;53620:91::-;;;;;;;;;;;;;:::i;54021:178::-;;;;;;;;;;-1:-1:-1;54021:178:0;;;;;:::i;:::-;;:::i;52891:89::-;;;;;;;;;;-1:-1:-1;52891:89:0;;;;;:::i;:::-;;:::i;53922:93::-;;;;;;;;;;;;;:::i;23657:164::-;;;;;;;;;;-1:-1:-1;23657:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;23778:25:0;;;23754:4;23778:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23657:164;42484:192;;;;;;;;;;-1:-1:-1;42484:192:0;;;;;:::i;:::-;;:::i;34460:224::-;34562:4;-1:-1:-1;;;;;;34586:50:0;;34601:35;34586:50;;:90;;;34640:36;34664:11;34640:23;:36::i;:::-;34579:97;34460:224;-1:-1:-1;;34460:224:0:o;21439:100::-;21493:13;21526:5;21519:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21439:100;:::o;22998:221::-;23074:7;26481:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26481:16:0;23094:73;;;;-1:-1:-1;;;23094:73:0;;7080:2:1;23094:73:0;;;7062:21:1;7119:2;7099:18;;;7092:30;7158:34;7138:18;;;7131:62;7229:14;7209:18;;;7202:42;7261:19;;23094:73:0;;;;;;;;;-1:-1:-1;23187:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23187:24:0;;22998:221::o;22521:411::-;22602:13;22618:23;22633:7;22618:14;:23::i;:::-;22602:39;;22666:5;-1:-1:-1;;;;;22660:11:0;:2;-1:-1:-1;;;;;22660:11:0;;;22652:57;;;;-1:-1:-1;;;22652:57:0;;7493:2:1;22652:57:0;;;7475:21:1;7532:2;7512:18;;;7505:30;7571:34;7551:18;;;7544:62;7642:3;7622:18;;;7615:31;7663:19;;22652:57:0;7291:397:1;22652:57:0;17005:10;-1:-1:-1;;;;;22744:21:0;;;;:62;;-1:-1:-1;22769:37:0;22786:5;17005:10;23657:164;:::i;22769:37::-;22722:168;;;;-1:-1:-1;;;22722:168:0;;7895:2:1;22722:168:0;;;7877:21:1;7934:2;7914:18;;;7907:30;7973:34;7953:18;;;7946:62;8044:26;8024:18;;;8017:54;8088:19;;22722:168:0;7693:420:1;22722:168:0;22903:21;22912:2;22916:7;22903:8;:21::i;:::-;22591:341;22521:411;;:::o;52986:79::-;52615:10;52604:7;41657:6;;-1:-1:-1;;;;;41657:6:0;;41584:87;52604:7;-1:-1:-1;;;;;52604:21:0;;52596:30;;;;;;53047:6:::1;:12:::0;52986:79::o;23888:339::-;24083:41;17005:10;24116:7;24083:18;:41::i;:::-;24075:103;;;;-1:-1:-1;;;24075:103:0;;8320:2:1;24075:103:0;;;8302:21:1;8359:2;8339:18;;;8332:30;8398:34;8378:18;;;8371:62;8469:19;8449:18;;;8442:47;8506:19;;24075:103:0;8118:413:1;24075:103:0;24191:28;24201:4;24207:2;24211:7;24191:9;:28::i;34768:256::-;34865:7;34901:23;34918:5;34901:16;:23::i;:::-;34893:5;:31;34885:87;;;;-1:-1:-1;;;34885:87:0;;8738:2:1;34885:87:0;;;8720:21:1;8777:2;8757:18;;;8750:30;8816:34;8796:18;;;8789:62;8887:13;8867:18;;;8860:41;8918:19;;34885:87:0;8536:407:1;34885:87:0;-1:-1:-1;;;;;;34990:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;34768:256::o;55202:134::-;52615:10;52604:7;41657:6;;-1:-1:-1;;;;;41657:6:0;;41584:87;52604:7;-1:-1:-1;;;;;52604:21:0;;52596:30;;;;;;55268:21:::1;55304:7;41657:6:::0;;-1:-1:-1;;;;;41657:6:0;;41584:87;55304:7:::1;-1:-1:-1::0;;;;;55296:25:0::1;:34;55322:7;55296:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;55246:90;55202:134::o:0;24298:185::-;24436:39;24453:4;24459:2;24463:7;24436:39;;;;;;;;;;;;:16;:39::i;54882:314::-;54943:16;54968:15;54986:17;54996:6;54986:9;:17::i;:::-;54968:35;;55010:25;55052:10;55038:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55038:25:0;;55010:53;;55076:6;55072:97;55092:10;55088:1;:14;55072:97;;;55131:30;55151:6;55159:1;55131:19;:30::i;:::-;55117:8;55126:1;55117:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;55104:3;;;;:::i;:::-;;;;55072:97;;;-1:-1:-1;55182:8:0;54882:314;-1:-1:-1;;;54882:314:0:o;53717:85::-;53766:7;53789;41657:6;;-1:-1:-1;;;;;41657:6:0;;41584:87;53789:7;53782:14;;53717:85;:::o;52646:124::-;52615:10;52604:7;41657:6;;-1:-1:-1;;;;;41657:6:0;;41584:87;52604:7;-1:-1:-1;;;;;52604:21:0;;52596:30;;;;;;52724:31:::1;:40:::0;52646:124::o;35290:233::-;35365:7;35401:30;35188:10;:17;;35100:113;35401:30;35393:5;:38;35385:95;;;;-1:-1:-1;;;35385:95:0;;9668:2:1;35385:95:0;;;9650:21:1;9707:2;9687:18;;;9680:30;9746:34;9726:18;;;9719:62;9817:14;9797:18;;;9790:42;9849:19;;35385:95:0;9466:408:1;35385:95:0;35498:10;35509:5;35498:17;;;;;;;;:::i;:::-;;;;;;;;;35491:24;;35290:233;;;:::o;53289:101::-;52615:10;52604:7;41657:6;;-1:-1:-1;;;;;41657:6:0;;41584:87;52604:7;-1:-1:-1;;;;;52604:21:0;;52596:30;;;;;;53361:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;21133:239::-:0;21205:7;21241:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21241:16:0;21276:19;21268:73;;;;-1:-1:-1;;;21268:73:0;;10081:2:1;21268:73:0;;;10063:21:1;10120:2;10100:18;;;10093:30;10159:34;10139:18;;;10132:62;10230:11;10210:18;;;10203:39;10259:19;;21268:73:0;9879:405:1;20863:208:0;20935:7;-1:-1:-1;;;;;20963:19:0;;20955:74;;;;-1:-1:-1;;;20955:74:0;;10491:2:1;20955:74:0;;;10473:21:1;10530:2;10510:18;;;10503:30;10569:34;10549:18;;;10542:62;10640:12;10620:18;;;10613:40;10670:19;;20955:74:0;10289:406:1;20955:74:0;-1:-1:-1;;;;;;21047:16:0;;;;;:9;:16;;;;;;;20863:208::o;42235:94::-;41657:6;;-1:-1:-1;;;;;41657:6:0;17005:10;41804:23;41796:68;;;;-1:-1:-1;;;41796:68:0;;10902:2:1;41796:68:0;;;10884:21:1;;;10921:18;;;10914:30;10980:34;10960:18;;;10953:62;11032:18;;41796:68:0;10700:356:1;41796:68:0;42300:21:::1;42318:1;42300:9;:21::i;:::-;42235:94::o:0;53071:119::-;52615:10;52604:7;41657:6;;-1:-1:-1;;;;;41657:6:0;;41584:87;52604:7;-1:-1:-1;;;;;52604:21:0;;52596:30;;;;;;53151:17:::1;:33:::0;53071:119::o;53196:87::-;52615:10;52604:7;41657:6;;-1:-1:-1;;;;;41657:6:0;;41584:87;52604:7;-1:-1:-1;;;;;52604:21:0;;52596:30;;;;;;53259:9:::1;:18:::0;53196:87::o;21608:104::-;21664:13;21697:7;21690:14;;;;;:::i;54205:671::-;52506:17;;35188:10;:17;52489:34;;52481:62;;;;-1:-1:-1;;;52481:62:0;;11263:2:1;52481:62:0;;;11245:21:1;11302:2;11282:18;;;11275:30;11341:17;11321:18;;;11314:45;11376:18;;52481:62:0;11061:339:1;52481:62:0;41657:6;;-1:-1:-1;;;;;41657:6:0;54272:10:::1;:21;54268:94;;54312:8;::::0;::::1;;54304:50;;;::::0;-1:-1:-1;;;54304:50:0;;11607:2:1;54304:50:0::1;::::0;::::1;11589:21:1::0;11646:2;11626:18;;;11619:30;11685:31;11665:18;;;11658:59;11734:18;;54304:50:0::1;11405:353:1::0;54304:50:0::1;54404:17;;54394:6;54378:13;35188:10:::0;:17;;35100:113;54378:13:::1;:22;;;;:::i;:::-;:43;;54370:78;;;::::0;-1:-1:-1;;;54370:78:0;;12098:2:1;54370:78:0::1;::::0;::::1;12080:21:1::0;12137:2;12117:18;;;12110:30;12176:24;12156:18;;;12149:52;12218:18;;54370:78:0::1;11896:346:1::0;54370:78:0::1;54480:17;::::0;35188:10;:17;54463:34:::1;;54455:66;;;::::0;-1:-1:-1;;;54455:66:0;;12449:2:1;54455:66:0::1;::::0;::::1;12431:21:1::0;12488:2;12468:18;;;12461:30;12527:21;12507:18;;;12500:49;12566:18;;54455:66:0::1;12247:343:1::0;54455:66:0::1;54554:31;;54544:6;:41;;54528:105;;;::::0;-1:-1:-1;;;54528:105:0;;12797:2:1;54528:105:0::1;::::0;::::1;12779:21:1::0;12836:2;12816:18;;;12809:30;12875:32;12855:18;;;12848:60;12925:18;;54528:105:0::1;12595:354:1::0;54528:105:0::1;54673:6;54661:9;;:18;;;;:::i;:::-;54648:9;:31;;54640:71;;;::::0;-1:-1:-1;;;54640:71:0;;13329:2:1;54640:71:0::1;::::0;::::1;13311:21:1::0;13368:2;13348:18;;;13341:30;13407:29;13387:18;;;13380:57;13454:18;;54640:71:0::1;13127:351:1::0;54640:71:0::1;54725:9;54720:92;54744:6;54740:1;:10;54720:92;;;54766:38;54776:10;54788:13;35188:10:::0;:17;;35100:113;54788:13:::1;:15;::::0;54802:1:::1;54788:15;:::i;:::-;54766:9;:38::i;:::-;54752:3:::0;::::1;::::0;::::1;:::i;:::-;;;;54720:92;;;-1:-1:-1::0;54828:10:0::1;::::0;54859:6:::1;::::0;-1:-1:-1;;;;;54828:10:0;;::::1;::::0;54820:50:::1;::::0;54866:3:::1;::::0;54849:16:::1;::::0;:9:::1;:16;:::i;:::-;:20;;;;:::i;:::-;54820:50;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;23291:295:::0;-1:-1:-1;;;;;23394:24:0;;17005:10;23394:24;;23386:62;;;;-1:-1:-1;;;23386:62:0;;13999:2:1;23386:62:0;;;13981:21:1;14038:2;14018:18;;;14011:30;14077:27;14057:18;;;14050:55;14122:18;;23386:62:0;13797:349:1;23386:62:0;17005:10;23461:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;23461:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;23461:53:0;;;;;;;;;;23530:48;;586:41:1;;;23461:42:0;;17005:10;23530:48;;559:18:1;23530:48:0;;;;;;;23291:295;;:::o;52776:109::-;52615:10;52604:7;41657:6;;-1:-1:-1;;;;;41657:6:0;;41584:87;52604:7;-1:-1:-1;;;;;52604:21:0;;52596:30;;;;;;52834:8:::1;:14:::0;;-1:-1:-1;;52834:14:0::1;::::0;::::1;;::::0;;::::1;::::0;;;52860:19:::1;::::0;586:41:1;;;52860:19:0::1;::::0;574:2:1;559:18;52860:19:0::1;;;;;;;52776:109:::0;:::o;53396:131::-;53467:7;52615:10;52604:7;41657:6;;-1:-1:-1;;;;;41657:6:0;;41584:87;52604:7;-1:-1:-1;;;;;52604:21:0;;52596:30;;;;;;-1:-1:-1;53490:31:0::1;::::0;53396:131;:::o;24554:328::-;24729:41;17005:10;24762:7;24729:18;:41::i;:::-;24721:103;;;;-1:-1:-1;;;24721:103:0;;8320:2:1;24721:103:0;;;8302:21:1;8359:2;8339:18;;;8332:30;8398:34;8378:18;;;8371:62;8469:19;8449:18;;;8442:47;8506:19;;24721:103:0;8118:413:1;24721:103:0;24835:39;24849:4;24855:2;24859:7;24868:5;24835:13;:39::i;:::-;24554:328;;;;:::o;53620:91::-;53669:7;53692:13;35188:10;:17;;35100:113;54021:178;54087:13;54140:14;:12;:14::i;:::-;54156:26;54173:8;54156:16;:26::i;:::-;54123:69;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54109:84;;54021:178;;;:::o;52891:89::-;52615:10;52604:7;41657:6;;-1:-1:-1;;;;;41657:6:0;;41584:87;52604:7;-1:-1:-1;;;;;52604:21:0;;52596:30;;;;;;52957:10:::1;:17:::0;;-1:-1:-1;;52957:17:0::1;-1:-1:-1::0;;;;;52957:17:0;;;::::1;::::0;;;::::1;::::0;;52891:89::o;53922:93::-;53967:13;53996;53989:20;;;;;:::i;42484:192::-;41657:6;;-1:-1:-1;;;;;41657:6:0;17005:10;41804:23;41796:68;;;;-1:-1:-1;;;41796:68:0;;10902:2:1;41796:68:0;;;10884:21:1;;;10921:18;;;10914:30;10980:34;10960:18;;;10953:62;11032:18;;41796:68:0;10700:356:1;41796:68:0;-1:-1:-1;;;;;42573:22:0;::::1;42565:73;;;::::0;-1:-1:-1;;;42565:73:0;;14995:2:1;42565:73:0::1;::::0;::::1;14977:21:1::0;15034:2;15014:18;;;15007:30;15073:34;15053:18;;;15046:62;15144:8;15124:18;;;15117:36;15170:19;;42565:73:0::1;14793:402:1::0;42565:73:0::1;42649:19;42659:8;42649:9;:19::i;:::-;42484:192:::0;:::o;20494:305::-;20596:4;-1:-1:-1;;;;;;20633:40:0;;20648:25;20633:40;;:105;;-1:-1:-1;;;;;;;20690:48:0;;20705:33;20690:48;20633:105;:158;;;-1:-1:-1;1796:25:0;-1:-1:-1;;;;;;1781:40:0;;;20755:36;1672:157;30374:174;30449:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;30449:29:0;-1:-1:-1;;;;;30449:29:0;;;;;;;;:24;;30503:23;30449:24;30503:14;:23::i;:::-;-1:-1:-1;;;;;30494:46:0;;;;;;;;;;;30374:174;;:::o;26686:348::-;26779:4;26481:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26481:16:0;26796:73;;;;-1:-1:-1;;;26796:73:0;;15402:2:1;26796:73:0;;;15384:21:1;15441:2;15421:18;;;15414:30;15480:34;15460:18;;;15453:62;15551:14;15531:18;;;15524:42;15583:19;;26796:73:0;15200:408:1;26796:73:0;26880:13;26896:23;26911:7;26896:14;:23::i;:::-;26880:39;;26949:5;-1:-1:-1;;;;;26938:16:0;:7;-1:-1:-1;;;;;26938:16:0;;:51;;;;26982:7;-1:-1:-1;;;;;26958:31:0;:20;26970:7;26958:11;:20::i;:::-;-1:-1:-1;;;;;26958:31:0;;26938:51;:87;;;-1:-1:-1;;;;;;23778:25:0;;;23754:4;23778:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;26993:32;26930:96;26686:348;-1:-1:-1;;;;26686:348:0:o;29678:578::-;29837:4;-1:-1:-1;;;;;29810:31:0;:23;29825:7;29810:14;:23::i;:::-;-1:-1:-1;;;;;29810:31:0;;29802:85;;;;-1:-1:-1;;;29802:85:0;;15815:2:1;29802:85:0;;;15797:21:1;15854:2;15834:18;;;15827:30;15893:34;15873:18;;;15866:62;15964:11;15944:18;;;15937:39;15993:19;;29802:85:0;15613:405:1;29802:85:0;-1:-1:-1;;;;;29906:16:0;;29898:65;;;;-1:-1:-1;;;29898:65:0;;16225:2:1;29898:65:0;;;16207:21:1;16264:2;16244:18;;;16237:30;16303:34;16283:18;;;16276:62;16374:6;16354:18;;;16347:34;16398:19;;29898:65:0;16023:400:1;29898:65:0;29976:39;29997:4;30003:2;30007:7;29976:20;:39::i;:::-;30080:29;30097:1;30101:7;30080:8;:29::i;:::-;-1:-1:-1;;;;;30122:15:0;;;;;;:9;:15;;;;;:20;;30141:1;;30122:15;:20;;30141:1;;30122:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30153:13:0;;;;;;:9;:13;;;;;:18;;30170:1;;30153:13;:18;;30170:1;;30153:18;:::i;:::-;;;;-1:-1:-1;;30182:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;30182:21:0;-1:-1:-1;;;;;30182:21:0;;;;;;;;;30221:27;;30182:16;;30221:27;;;;;;;29678:578;;;:::o;42684:173::-;42759:6;;;-1:-1:-1;;;;;42776:17:0;;;-1:-1:-1;;42776:17:0;;;;;;;42809:40;;42759:6;;;42776:17;42759:6;;42809:40;;42740:16;;42809:40;42729:128;42684:173;:::o;27376:110::-;27452:26;27462:2;27466:7;27452:26;;;;;;;;;;;;:9;:26::i;25764:315::-;25921:28;25931:4;25937:2;25941:7;25921:9;:28::i;:::-;25968:48;25991:4;25997:2;26001:7;26010:5;25968:22;:48::i;:::-;25960:111;;;;-1:-1:-1;;;25960:111:0;;16760:2:1;25960:111:0;;;16742:21:1;16799:2;16779:18;;;16772:30;16838:34;16818:18;;;16811:62;16909:20;16889:18;;;16882:48;16947:19;;25960:111:0;16558:414:1;17431:723:0;17487:13;17708:10;17704:53;;-1:-1:-1;;17735:10:0;;;;;;;;;;;;;;;;;;17431:723::o;17704:53::-;17782:5;17767:12;17823:78;17830:9;;17823:78;;17856:8;;;;:::i;:::-;;-1:-1:-1;17879:10:0;;-1:-1:-1;17887:2:0;17879:10;;:::i;:::-;;;17823:78;;;17911:19;17943:6;17933:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17933:17:0;;17911:39;;17961:154;17968:10;;17961:154;;17995:11;18005:1;17995:11;;:::i;:::-;;-1:-1:-1;18064:10:0;18072:2;18064:5;:10;:::i;:::-;18051:24;;:2;:24;:::i;:::-;18038:39;;18021:6;18028;18021:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;18092:11:0;18101:2;18092:11;;:::i;:::-;;;17961:154;;36136:589;-1:-1:-1;;;;;36342:18:0;;36338:187;;36377:40;36409:7;37552:10;:17;;37525:24;;;;:15;:24;;;;;:44;;;37580:24;;;;;;;;;;;;37448:164;36377:40;36338:187;;;36447:2;-1:-1:-1;;;;;36439:10:0;:4;-1:-1:-1;;;;;36439:10:0;;36435:90;;36466:47;36499:4;36505:7;36466:32;:47::i;:::-;-1:-1:-1;;;;;36539:16:0;;36535:183;;36572:45;36609:7;36572:36;:45::i;36535:183::-;36645:4;-1:-1:-1;;;;;36639:10:0;:2;-1:-1:-1;;;;;36639:10:0;;36635:83;;36666:40;36694:2;36698:7;36666:27;:40::i;27713:321::-;27843:18;27849:2;27853:7;27843:5;:18::i;:::-;27894:54;27925:1;27929:2;27933:7;27942:5;27894:22;:54::i;:::-;27872:154;;;;-1:-1:-1;;;27872:154:0;;16760:2:1;27872:154:0;;;16742:21:1;16799:2;16779:18;;;16772:30;16838:34;16818:18;;;16811:62;16909:20;16889:18;;;16882:48;16947:19;;27872:154:0;16558:414:1;31113:799:0;31268:4;-1:-1:-1;;;;;31289:13:0;;9311:20;9359:8;31285:620;;31325:72;;-1:-1:-1;;;31325:72:0;;-1:-1:-1;;;;;31325:36:0;;;;;:72;;17005:10;;31376:4;;31382:7;;31391:5;;31325:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31325:72:0;;;;;;;;-1:-1:-1;;31325:72:0;;;;;;;;;;;;:::i;:::-;;;31321:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31567:13:0;;31563:272;;31610:60;;-1:-1:-1;;;31610:60:0;;16760:2:1;31610:60:0;;;16742:21:1;16799:2;16779:18;;;16772:30;16838:34;16818:18;;;16811:62;16909:20;16889:18;;;16882:48;16947:19;;31610:60:0;16558:414:1;31563:272:0;31785:6;31779:13;31770:6;31766:2;31762:15;31755:38;31321:529;-1:-1:-1;;;;;;31448:51:0;-1:-1:-1;;;31448:51:0;;-1:-1:-1;31441:58:0;;31285:620;-1:-1:-1;31889:4:0;31113:799;;;;;;:::o;38239:988::-;38505:22;38555:1;38530:22;38547:4;38530:16;:22::i;:::-;:26;;;;:::i;:::-;38567:18;38588:26;;;:17;:26;;;;;;38505:51;;-1:-1:-1;38721:28:0;;;38717:328;;-1:-1:-1;;;;;38788:18:0;;38766:19;38788:18;;;:12;:18;;;;;;;;:34;;;;;;;;;38839:30;;;;;;:44;;;38956:30;;:17;:30;;;;;:43;;;38717:328;-1:-1:-1;39141:26:0;;;;:17;:26;;;;;;;;39134:33;;;-1:-1:-1;;;;;39185:18:0;;;;;:12;:18;;;;;:34;;;;;;;39178:41;38239:988::o;39522:1079::-;39800:10;:17;39775:22;;39800:21;;39820:1;;39800:21;:::i;:::-;39832:18;39853:24;;;:15;:24;;;;;;40226:10;:26;;39775:46;;-1:-1:-1;39853:24:0;;39775:46;;40226:26;;;;;;:::i;:::-;;;;;;;;;40204:48;;40290:11;40265:10;40276;40265:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;40370:28;;;:15;:28;;;;;;;:41;;;40542:24;;;;;40535:31;40577:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;39593:1008;;;39522:1079;:::o;37026:221::-;37111:14;37128:20;37145:2;37128:16;:20::i;:::-;-1:-1:-1;;;;;37159:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;37204:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;37026:221:0:o;28370:382::-;-1:-1:-1;;;;;28450:16:0;;28442:61;;;;-1:-1:-1;;;28442:61:0;;18256:2:1;28442:61:0;;;18238:21:1;;;18275:18;;;18268:30;18334:34;18314:18;;;18307:62;18386:18;;28442:61:0;18054:356:1;28442:61:0;26457:4;26481:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26481:16:0;:30;28514:58;;;;-1:-1:-1;;;28514:58:0;;18617:2:1;28514:58:0;;;18599:21:1;18656:2;18636:18;;;18629:30;18695;18675:18;;;18668:58;18743:18;;28514:58:0;18415:352:1;28514:58:0;28585:45;28614:1;28618:2;28622:7;28585:20;:45::i;:::-;-1:-1:-1;;;;;28643:13:0;;;;;;:9;:13;;;;;:18;;28660:1;;28643:13;:18;;28660:1;;28643:18;:::i;:::-;;;;-1:-1:-1;;28672:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;28672:21:0;-1:-1:-1;;;;;28672:21:0;;;;;;;;28711:33;;28672:16;;;28711:33;;28672:16;;28711:33;28370:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:177:1;-1:-1:-1;;;;;;92:5:1;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;:::-;430:5;196:245;-1:-1:-1;;;196:245:1:o;638:258::-;710:1;720:113;734:6;731:1;728:13;720:113;;;810:11;;;804:18;791:11;;;784:39;756:2;749:10;720:113;;;851:6;848:1;845:13;842:48;;;-1:-1:-1;;886:1:1;868:16;;861:27;638:258::o;901:::-;943:3;981:5;975:12;1008:6;1003:3;996:19;1024:63;1080:6;1073:4;1068:3;1064:14;1057:4;1050:5;1046:16;1024:63;:::i;:::-;1141:2;1120:15;-1:-1:-1;;1116:29:1;1107:39;;;;1148:4;1103:50;;901:258;-1:-1:-1;;901:258:1:o;1164:220::-;1313:2;1302:9;1295:21;1276:4;1333:45;1374:2;1363:9;1359:18;1351:6;1333:45;:::i;1389:180::-;1448:6;1501:2;1489:9;1480:7;1476:23;1472:32;1469:52;;;1517:1;1514;1507:12;1469:52;-1:-1:-1;1540:23:1;;1389:180;-1:-1:-1;1389:180:1:o;1805:196::-;1873:20;;-1:-1:-1;;;;;1922:54:1;;1912:65;;1902:93;;1991:1;1988;1981:12;1902:93;1805:196;;;:::o;2006:254::-;2074:6;2082;2135:2;2123:9;2114:7;2110:23;2106:32;2103:52;;;2151:1;2148;2141:12;2103:52;2174:29;2193:9;2174:29;:::i;:::-;2164:39;2250:2;2235:18;;;;2222:32;;-1:-1:-1;;;2006:254:1:o;2447:328::-;2524:6;2532;2540;2593:2;2581:9;2572:7;2568:23;2564:32;2561:52;;;2609:1;2606;2599:12;2561:52;2632:29;2651:9;2632:29;:::i;:::-;2622:39;;2680:38;2714:2;2703:9;2699:18;2680:38;:::i;:::-;2670:48;;2765:2;2754:9;2750:18;2737:32;2727:42;;2447:328;;;;;:::o;2780:186::-;2839:6;2892:2;2880:9;2871:7;2867:23;2863:32;2860:52;;;2908:1;2905;2898:12;2860:52;2931:29;2950:9;2931:29;:::i;2971:632::-;3142:2;3194:21;;;3264:13;;3167:18;;;3286:22;;;3113:4;;3142:2;3365:15;;;;3339:2;3324:18;;;3113:4;3408:169;3422:6;3419:1;3416:13;3408:169;;;3483:13;;3471:26;;3552:15;;;;3517:12;;;;3444:1;3437:9;3408:169;;;-1:-1:-1;3594:3:1;;2971:632;-1:-1:-1;;;;;;2971:632:1:o;3608:184::-;-1:-1:-1;;;3657:1:1;3650:88;3757:4;3754:1;3747:15;3781:4;3778:1;3771:15;3797:632;3862:5;3892:18;3933:2;3925:6;3922:14;3919:40;;;3939:18;;:::i;:::-;4014:2;4008:9;3982:2;4068:15;;-1:-1:-1;;4064:24:1;;;4090:2;4060:33;4056:42;4044:55;;;4114:18;;;4134:22;;;4111:46;4108:72;;;4160:18;;:::i;:::-;4200:10;4196:2;4189:22;4229:6;4220:15;;4259:6;4251;4244:22;4299:3;4290:6;4285:3;4281:16;4278:25;4275:45;;;4316:1;4313;4306:12;4275:45;4366:6;4361:3;4354:4;4346:6;4342:17;4329:44;4421:1;4414:4;4405:6;4397;4393:19;4389:30;4382:41;;;;3797:632;;;;;:::o;4434:451::-;4503:6;4556:2;4544:9;4535:7;4531:23;4527:32;4524:52;;;4572:1;4569;4562:12;4524:52;4612:9;4599:23;4645:18;4637:6;4634:30;4631:50;;;4677:1;4674;4667:12;4631:50;4700:22;;4753:4;4745:13;;4741:27;-1:-1:-1;4731:55:1;;4782:1;4779;4772:12;4731:55;4805:74;4871:7;4866:2;4853:16;4848:2;4844;4840:11;4805:74;:::i;4890:160::-;4955:20;;5011:13;;5004:21;4994:32;;4984:60;;5040:1;5037;5030:12;5055:254;5120:6;5128;5181:2;5169:9;5160:7;5156:23;5152:32;5149:52;;;5197:1;5194;5187:12;5149:52;5220:29;5239:9;5220:29;:::i;:::-;5210:39;;5268:35;5299:2;5288:9;5284:18;5268:35;:::i;:::-;5258:45;;5055:254;;;;;:::o;5314:180::-;5370:6;5423:2;5411:9;5402:7;5398:23;5394:32;5391:52;;;5439:1;5436;5429:12;5391:52;5462:26;5478:9;5462:26;:::i;5499:667::-;5594:6;5602;5610;5618;5671:3;5659:9;5650:7;5646:23;5642:33;5639:53;;;5688:1;5685;5678:12;5639:53;5711:29;5730:9;5711:29;:::i;:::-;5701:39;;5759:38;5793:2;5782:9;5778:18;5759:38;:::i;:::-;5749:48;;5844:2;5833:9;5829:18;5816:32;5806:42;;5899:2;5888:9;5884:18;5871:32;5926:18;5918:6;5915:30;5912:50;;;5958:1;5955;5948:12;5912:50;5981:22;;6034:4;6026:13;;6022:27;-1:-1:-1;6012:55:1;;6063:1;6060;6053:12;6012:55;6086:74;6152:7;6147:2;6134:16;6129:2;6125;6121:11;6086:74;:::i;:::-;6076:84;;;5499:667;;;;;;;:::o;6171:260::-;6239:6;6247;6300:2;6288:9;6279:7;6275:23;6271:32;6268:52;;;6316:1;6313;6306:12;6268:52;6339:29;6358:9;6339:29;:::i;:::-;6329:39;;6387:38;6421:2;6410:9;6406:18;6387:38;:::i;6436:437::-;6515:1;6511:12;;;;6558;;;6579:61;;6633:4;6625:6;6621:17;6611:27;;6579:61;6686:2;6678:6;6675:14;6655:18;6652:38;6649:218;;;-1:-1:-1;;;6720:1:1;6713:88;6824:4;6821:1;6814:15;6852:4;6849:1;6842:15;6649:218;;6436:437;;;:::o;8948:184::-;-1:-1:-1;;;8997:1:1;8990:88;9097:4;9094:1;9087:15;9121:4;9118:1;9111:15;9137:184;-1:-1:-1;;;9186:1:1;9179:88;9286:4;9283:1;9276:15;9310:4;9307:1;9300:15;9326:135;9365:3;-1:-1:-1;;9386:17:1;;9383:43;;;9406:18;;:::i;:::-;-1:-1:-1;9453:1:1;9442:13;;9326:135::o;11763:128::-;11803:3;11834:1;11830:6;11827:1;11824:13;11821:39;;;11840:18;;:::i;:::-;-1:-1:-1;11876:9:1;;11763:128::o;12954:168::-;12994:7;13060:1;13056;13052:6;13048:14;13045:1;13042:21;13037:1;13030:9;13023:17;13019:45;13016:71;;;13067:18;;:::i;:::-;-1:-1:-1;13107:9:1;;12954:168::o;13483:184::-;-1:-1:-1;;;13532:1:1;13525:88;13632:4;13629:1;13622:15;13656:4;13653:1;13646:15;13672:120;13712:1;13738;13728:35;;13743:18;;:::i;:::-;-1:-1:-1;13777:9:1;;13672:120::o;14151:637::-;14431:3;14469:6;14463:13;14485:53;14531:6;14526:3;14519:4;14511:6;14507:17;14485:53;:::i;:::-;14601:13;;14560:16;;;;14623:57;14601:13;14560:16;14657:4;14645:17;;14623:57;:::i;:::-;14745:7;14702:20;;14731:22;;;14780:1;14769:13;;14151:637;-1:-1:-1;;;;14151:637:1:o;16428:125::-;16468:4;16496:1;16493;16490:8;16487:34;;;16501:18;;:::i;:::-;-1:-1:-1;16538:9:1;;16428:125::o;16977:112::-;17009:1;17035;17025:35;;17040:18;;:::i;:::-;-1:-1:-1;17074:9:1;;16977:112::o;17094:512::-;17288:4;-1:-1:-1;;;;;17398:2:1;17390:6;17386:15;17375:9;17368:34;17450:2;17442:6;17438:15;17433:2;17422:9;17418:18;17411:43;;17490:6;17485:2;17474:9;17470:18;17463:34;17533:3;17528:2;17517:9;17513:18;17506:31;17554:46;17595:3;17584:9;17580:19;17572:6;17554:46;:::i;:::-;17546:54;17094:512;-1:-1:-1;;;;;;17094:512:1:o;17611:249::-;17680:6;17733:2;17721:9;17712:7;17708:23;17704:32;17701:52;;;17749:1;17746;17739:12;17701:52;17781:9;17775:16;17800:30;17824:5;17800:30;:::i;17865:184::-;-1:-1:-1;;;17914:1:1;17907:88;18014:4;18011:1;18004:15;18038:4;18035:1;18028:15

Swarm Source

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