ETH Price: $3,119.28 (+1.59%)

Token

MY LAST NFT (MLNFT)
 

Overview

Max Total Supply

6,499 MLNFT

Holders

2,515

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
mir80.eth
Balance
1 MLNFT
0x4F6414199F04013BE1408Eb6D3e1df2713A66093
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MyLastNFT

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 16 : MyLastNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "./utils/ERC721Enumerable.sol";
import "./utils/OpenSea.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract MyLastNFT is ERC721Enumerable, Ownable, ReentrancyGuard {
    using Strings for uint256;

    string private _baseTokenURI;
    string private _tokenURISuffix;

    address payable internal team =
        payable(0x9f554344223E5D3123F1CE573443660735C7F4F5);
    address payable internal dev =
        payable(0xcAf2CC26f58eA3e0BA19fEe06DFFAce18864A6F3);

    uint256 public constant MINT_COST = 0.009624 ether;
    uint256 public MAX_SUPPLY = 6942;
    uint256 public RESERVED_SUPPLY = 942;
    uint256 public freeTokensMinted = 0;
    string private _preReveal;

    bytes32 public merkleRoot;

    bool public isPublic;
    bool public isPresale;
    bool public isBurningAllowed;

    mapping(address => uint256) public addressToMinted;

    constructor() ERC721("MY LAST NFT", "MLNFT") {}

    function mint(uint256 count) external payable nonReentrant {
        require(isPublic, "Wait for public sale");
        require(
            addressToMinted[msg.sender] + count <= 5,
            "Exceeds limit per wallet"
        );
        addressToMinted[msg.sender] += count;
        uint256 supply = _owners.length;
        uint256 maxSupply = MAX_SUPPLY - (RESERVED_SUPPLY - freeTokensMinted);
        require(supply + count < maxSupply + 2, "Max supply reached");
        require(MINT_COST * count <= msg.value, "Invalid funds provided");
        for (uint256 i; i < count; i++) {
            _safeMint(msg.sender, supply++);
        }
    }

    function presaleMint(
        uint256 count,
        uint256 allowance,
        bytes32[] calldata proof
    ) external payable nonReentrant {
        require(isPresale, "Wait for presale");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, allowance));
        require(_verify(leaf, proof), "Invalid proof");
        require(
            addressToMinted[msg.sender] + count <= allowance,
            "Exceeds your allowance"
        );

        bool hasFreeMint = addressToMinted[msg.sender] == 0;
        if (hasFreeMint) freeTokensMinted++;
        addressToMinted[msg.sender] += count;

        uint256 supply = _owners.length;

        uint256 maxSupply = MAX_SUPPLY - (RESERVED_SUPPLY - freeTokensMinted);
        string memory errMsg = "Max payed supply reached";
        if (hasFreeMint && supply + 1 < maxSupply + 2)
            errMsg = "Only free mints left";

        require(supply + count < maxSupply + 2, errMsg);

        uint256 payedMints = hasFreeMint ? count - 1 : count;

        require(MINT_COST * payedMints <= msg.value, "Invalid funds provided");

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

    function _verify(bytes32 leaf, bytes32[] memory proof)
        internal
        view
        returns (bool)
    {
        return MerkleProof.verify(proof, merkleRoot, leaf);
    }

    function tokenURI(uint256 tokenId)
        external
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        return
            bytes(_baseTokenURI).length > 0
                ? string(
                    abi.encodePacked(
                        _baseTokenURI,
                        tokenId.toString(),
                        _tokenURISuffix
                    )
                )
                : _preReveal;
    }

    function burn(uint256 tokenId) external {
        require(isBurningAllowed, "Burning not authorized");
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Unauthorized");
        _burn(tokenId);
    }

    function toggleSales() external onlyOwner {
        isPresale = !isPresale;
        isPublic = !isPublic;
    }

    function togglePresale() external onlyOwner {
        isPresale = !isPresale;
    }

    function toggleIsBurningAllowed() external onlyOwner {
        isPublic = false;
        isBurningAllowed = !isBurningAllowed;
    }

    function togglePublicSale() external onlyOwner {
        isPublic = !isPublic;
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setMaxSupply(uint256 maxSupply) external onlyOwner {
        require(
            maxSupply > 942 && maxSupply < 6942,
            "New max supply must be lower than 6942 and higher than 942"
        );
        MAX_SUPPLY = maxSupply;
    }

    function setBaseURI(string calldata _newBaseURI, string calldata _newSuffix)
        external
        onlyOwner
    {
        _baseTokenURI = _newBaseURI;
        _tokenURISuffix = _newSuffix;
    }

    function setPreRevealURL(string calldata _newPreReveal) external onlyOwner {
        _preReveal = _newPreReveal;
    }

    function airdrop(uint256[] calldata quantity, address[] calldata recipient)
        external
        onlyOwner
    {
        require(
            quantity.length == recipient.length,
            "Quantity length is not equal to recipients"
        );

        uint256 totalQuantity;
        for (uint256 i; i < quantity.length; ++i) {
            totalQuantity += quantity[i];
        }

        uint256 supply = _owners.length;
        require(supply + totalQuantity < MAX_SUPPLY + 2, "Max supply reached");

        delete totalQuantity;

        for (uint256 i; i < recipient.length; ++i) {
            for (uint256 j; j < quantity[i]; ++j) {
                _safeMint(recipient[i], supply++);
            }
        }
    }

    function isApprovedForAll(address owner, address operator)
        public
        view
        override(ERC721, IERC721)
        returns (bool)
    {
        return
            OpenSeaGasFreeListing.isApprovedForAll(owner, operator) ||
            super.isApprovedForAll(owner, operator);
    }

    function withdrawAllFunds() external onlyOwner {
        uint256 devPart = address(this).balance / 8;
        dev.transfer(devPart);
        team.transfer(address(this).balance);
    }
}

File 2 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 4 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 6 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

    /**
     * @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 7 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 16 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 10 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 11 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 12 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 14 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/Address.sol";

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;

    string private _name;
    string private _symbol;

    // Mapping from token ID to owner address
    address[] internal _owners;

    mapping(uint256 => address) private _tokenApprovals;
    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_;
        _owners.push(address(0));
    }

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

        uint256 count;
        for (uint256 i; i < _owners.length; ++i) {
            if (owner == _owners[i]) ++count;
        }
        return count;
    }

    /**
     * @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 {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 tokenId < _owners.length && _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);
        _owners.push(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);
        _owners[tokenId] = address(0);

        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);
        _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 15 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "./ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    /**
     * @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-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _owners.length - 1;
    }

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

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

        uint256 count;
        for (uint256 i; i < _owners.length; i++) {
            if (owner == _owners[i]) {
                if (count == index) return i;
                else count++;
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }
}

File 16 of 16 : OpenSea.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

library OpenSeaGasFreeListing {
    /**
    @notice Returns whether the operator is an OpenSea proxy for the owner, thus
    allowing it to list without the token owner paying gas.
    @dev ERC{721,1155}.isApprovedForAll should be overriden to also check if
    this function returns true.
     */
    function isApprovedForAll(address owner, address operator)
        internal
        view
        returns (bool)
    {
        ProxyRegistry registry;
        assembly {
            switch chainid()
            case 1 {
                // mainnet
                registry := 0xa5409ec958c83c3f309868babaca7c86dcb077c1
            }
            case 4 {
                // rinkeby
                registry := 0xf57b2c51ded3a29e6891aba85459d600256cf317
            }
        }

        return
            address(registry) != address(0) &&
            address(registry.proxies(owner)) == operator;
    }
}

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "details": {
      "constantOptimizer": true,
      "cse": true,
      "deduplicate": true,
      "inliner": true,
      "jumpdestRemover": true,
      "orderLiterals": true,
      "peephole": true,
      "yul": false
    },
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeTokensMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBurningAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"},{"internalType":"string","name":"_newSuffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newPreReveal","type":"string"}],"name":"setPreRevealURL","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":[],"name":"toggleIsBurningAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSales","outputs":[],"stateMutability":"nonpayable","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":"tokenId","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":[],"name":"withdrawAllFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600980546001600160a01b0319908116739f554344223e5d3123f1ce573443660735c7f4f517909155600a805490911673caf2cc26f58ea3e0ba19fee06dfface18864a6f3179055611b1e600b556103ae600c556000600d553480156200006a57600080fd5b50604080518082018252600b81526a135648131054d50813919560aa1b602080830191825283518085019094526005845264135313919560da1b908401528151919291620000bb916000916200017c565b508051620000d19060019060208401906200017c565b5050600280546001810182556000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319169055506200011f336200012a565b600160065562000269565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200018a9062000238565b90600052602060002090601f016020900481019282620001ae5760008555620001f9565b82601f10620001c957805160ff1916838001178555620001f9565b82800160010185558215620001f9579182015b82811115620001f9578251825591602001919060010190620001dc565b50620002079291506200020b565b5090565b5b808211156200020757600081556001016200020c565b634e487b7160e01b600052602260045260246000fd5b6002810460018216806200024d57607f821691505b6020821081141562000263576200026362000222565b50919050565b612f5e80620002796000396000f3fe6080604052600436106102465760003560e01c806370a0823111610139578063a25bbb53116100b6578063dbd30ae01161007a578063dbd30ae014610660578063dc9a153514610675578063e222c7f91461068f578063e76af32e146106a4578063e985e9c5146106c4578063f2fde38b146106e457600080fd5b8063a25bbb53146105cf578063b88d4fde146105ef578063c662e4811461060f578063c87b56dd1461062a578063dbcaa52c1461064a57600080fd5b806395364a84116100fd57806395364a841461053b57806395d89b411461055a5780639ec00c951461056f578063a0712d681461059c578063a22cb465146105af57600080fd5b806370a08231146104b3578063715018a6146104d35780637cb64759146104e85780637df73475146105085780638da5cb5b1461051d57600080fd5b806332cb6b0c116101c75780634f6ccce71161018b5780634f6ccce7146104135780636352211e146104335780636673c4c2146104535780636790a9de146104735780636f8b44b01461049357600080fd5b806332cb6b0c1461039357806334393743146103a957806342842e0e146103be57806342966c68146103de57806349649fbf146103fe57600080fd5b80631b59169d1161020e5780631b59169d1461031457806323b872dd146103275780632eb4a7ab146103475780632f745c591461035d57806331a53e9a1461037d57600080fd5b806301ffc9a71461024b57806306fdde0314610281578063081812fc146102a3578063095ea7b3146102d057806318160ddd146102f2575b600080fd5b34801561025757600080fd5b5061026b610266366004611d74565b610704565b6040516102789190611d9f565b60405180910390f35b34801561028d57600080fd5b5061029661072f565b6040516102789190611e0b565b3480156102af57600080fd5b506102c36102be366004611e2d565b6107c1565b6040516102789190611e68565b3480156102dc57600080fd5b506102f06102eb366004611e8a565b61080d565b005b3480156102fe57600080fd5b50610307610893565b6040516102789190611ecd565b6102f0610322366004611f2d565b6108aa565b34801561033357600080fd5b506102f0610342366004611f9b565b610b7a565b34801561035357600080fd5b50610307600f5481565b34801561036957600080fd5b50610307610378366004611e8a565b610bac565b34801561038957600080fd5b50610307600c5481565b34801561039f57600080fd5b50610307600b5481565b3480156103b557600080fd5b506102f0610c5f565b3480156103ca57600080fd5b506102f06103d9366004611f9b565b610c84565b3480156103ea57600080fd5b506102f06103f9366004611e2d565b610c9f565b34801561040a57600080fd5b506102f0610cf8565b34801561041f57600080fd5b5061030761042e366004611e2d565b610d86565b34801561043f57600080fd5b506102c361044e366004611e2d565b610dae565b34801561045f57600080fd5b506102f061046e366004611feb565b610df8565b34801561047f57600080fd5b506102f061048e366004612097565b610f33565b34801561049f57600080fd5b506102f06104ae366004611e2d565b610f5b565b3480156104bf57600080fd5b506103076104ce366004612104565b610f96565b3480156104df57600080fd5b506102f0611021565b3480156104f457600080fd5b506102f0610503366004611e2d565b611035565b34801561051457600080fd5b506102f0611042565b34801561052957600080fd5b506005546001600160a01b03166102c3565b34801561054757600080fd5b5060105461026b90610100900460ff1681565b34801561056657600080fd5b5061029661106c565b34801561057b57600080fd5b5061030761058a366004612104565b60116020526000908152604090205481565b6102f06105aa366004611e2d565b61107b565b3480156105bb57600080fd5b506102f06105ca366004612138565b6111e1565b3480156105db57600080fd5b506102f06105ea36600461216b565b611279565b3480156105fb57600080fd5b506102f061060a3660046122a6565b61128d565b34801561061b57600080fd5b50610307662230fa1d51800081565b34801561063657600080fd5b50610296610645366004611e2d565b6112c5565b34801561065657600080fd5b50610307600d5481565b34801561066c57600080fd5b506102f06113c6565b34801561068157600080fd5b5060105461026b9060ff1681565b34801561069b57600080fd5b506102f06113fa565b3480156106b057600080fd5b5060105461026b9062010000900460ff1681565b3480156106d057600080fd5b5061026b6106df366004612325565b611416565b3480156106f057600080fd5b506102f06106ff366004612104565b611459565b60006001600160e01b0319821663780e9d6360e01b1480610729575061072982611490565b92915050565b60606000805461073e9061236e565b80601f016020809104026020016040519081016040528092919081815260200182805461076a9061236e565b80156107b75780601f1061078c576101008083540402835291602001916107b7565b820191906000526020600020905b81548152906001019060200180831161079a57829003601f168201915b5050505050905090565b60006107cc826114e0565b6107f15760405162461bcd60e51b81526004016107e8906123e7565b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061081882610dae565b9050806001600160a01b0316836001600160a01b0316141561084c5760405162461bcd60e51b81526004016107e890612435565b336001600160a01b038216148061086857506108688133611416565b6108845760405162461bcd60e51b81526004016107e89061249f565b61088e838361152a565b505050565b6002546000906108a5906001906124c5565b905090565b600260065414156108cd5760405162461bcd60e51b81526004016107e890612513565b6002600655601054610100900460ff166108f95760405162461bcd60e51b81526004016107e89061254a565b6000338460405160200161090e929190612582565b6040516020818303038152906040528051906020012090506109638184848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061159892505050565b61097f5760405162461bcd60e51b81526004016107e8906125cc565b33600090815260116020526040902054849061099c9087906125dc565b11156109ba5760405162461bcd60e51b81526004016107e890612621565b336000908152601160205260409020541580156109e757600d80549060006109e183612631565b91905055505b3360009081526011602052604081208054889290610a069084906125dc565b9091555050600254600d54600c54600091610a20916124c5565b600b54610a2d91906124c5565b60408051808201909152601881527f4d617820706179656420737570706c79207265616368656400000000000000006020820152909150838015610a845750610a778260026125dc565b610a828460016125dc565b105b15610ab6575060408051808201909152601481527313db9b1e48199c9959481b5a5b9d1cc81b19599d60621b60208201525b610ac18260026125dc565b610acb8a856125dc565b108190610aeb5760405162461bcd60e51b81526004016107e89190611e0b565b50600084610af95789610b04565b610b0460018b6124c5565b905034610b1882662230fa1d51800061264c565b1115610b365760405162461bcd60e51b81526004016107e890612698565b60005b8a811015610b6857610b563386610b4f81612631565b97506115a7565b80610b6081612631565b915050610b39565b50506001600655505050505050505050565b610b85335b826115c1565b610ba15760405162461bcd60e51b81526004016107e8906126f6565b61088e838383611646565b6000610bb783610f96565b8210610bd55760405162461bcd60e51b81526004016107e89061274e565b6000805b600254811015610c465760028181548110610bf657610bf661275e565b6000918252602090912001546001600160a01b0386811691161415610c345783821415610c265791506107299050565b81610c3081612631565b9250505b80610c3e81612631565b915050610bd9565b5060405162461bcd60e51b81526004016107e89061274e565b610c6761171e565b6010805461ff001981166101009182900460ff1615909102179055565b61088e8383836040518060200160405280600081525061128d565b60105462010000900460ff16610cc75760405162461bcd60e51b81526004016107e8906127a1565b610cd033610b7f565b610cec5760405162461bcd60e51b81526004016107e8906127d4565b610cf581611748565b50565b610d0061171e565b6000610d0d6008476127fa565b600a546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610d48573d6000803e3d6000fd5b506009546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610d82573d6000803e3d6000fd5b5050565b6002546000908210610daa5760405162461bcd60e51b81526004016107e890612857565b5090565b60008060028381548110610dc457610dc461275e565b6000918252602090912001546001600160a01b03169050806107295760405162461bcd60e51b81526004016107e8906128ad565b610e0061171e565b828114610e1f5760405162461bcd60e51b81526004016107e890612904565b6000805b84811015610e6157858582818110610e3d57610e3d61275e565b9050602002013582610e4f91906125dc565b9150610e5a81612631565b9050610e23565b5060028054600b549091610e7591906125dc565b610e7f83836125dc565b10610e9c5760405162461bcd60e51b81526004016107e89061293d565b6000915060005b83811015610f2a5760005b878783818110610ec057610ec061275e565b90506020020135811015610f1957610f09868684818110610ee357610ee361275e565b9050602002016020810190610ef89190612104565b84610f0281612631565b95506115a7565b610f1281612631565b9050610eae565b50610f2381612631565b9050610ea3565b50505050505050565b610f3b61171e565b610f4760078585611cc2565b50610f5460088383611cc2565b5050505050565b610f6361171e565b6103ae81118015610f755750611b1e81105b610f915760405162461bcd60e51b81526004016107e8906129a7565b600b55565b60006001600160a01b038216610fbe5760405162461bcd60e51b81526004016107e8906129fe565b6000805b60025481101561101a5760028181548110610fdf57610fdf61275e565b6000918252602090912001546001600160a01b038581169116141561100a5761100782612631565b91505b61101381612631565b9050610fc2565b5092915050565b61102961171e565b61103360006117ca565b565b61103d61171e565b600f55565b61104a61171e565b601080546201000060ff19821681900460ff16150262ff00ff19909116179055565b60606001805461073e9061236e565b6002600654141561109e5760405162461bcd60e51b81526004016107e890612513565b600260065560105460ff166110c55760405162461bcd60e51b81526004016107e890612a39565b336000908152601160205260409020546005906110e39083906125dc565b11156111015760405162461bcd60e51b81526004016107e890612a7d565b33600090815260116020526040812080548392906111209084906125dc565b9091555050600254600d54600c5460009161113a916124c5565b600b5461114791906124c5565b90506111548160026125dc565b61115e84846125dc565b1061117b5760405162461bcd60e51b81526004016107e89061293d565b3461118d84662230fa1d51800061264c565b11156111ab5760405162461bcd60e51b81526004016107e890612698565b60005b838110156111d6576111c43384610f0281612631565b806111ce81612631565b9150506111ae565b505060016006555050565b6001600160a01b03821633141561120a5760405162461bcd60e51b81526004016107e890612ac1565b3360008181526004602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061126d908590611d9f565b60405180910390a35050565b61128161171e565b61088e600e8383611cc2565b61129733836115c1565b6112b35760405162461bcd60e51b81526004016107e8906126f6565b6112bf8484848461181c565b50505050565b60606112d0826114e0565b6112ec5760405162461bcd60e51b81526004016107e890612b1d565b6000600780546112fb9061236e565b90501161139257600e805461130f9061236e565b80601f016020809104026020016040519081016040528092919081815260200182805461133b9061236e565b80156113885780601f1061135d57610100808354040283529160200191611388565b820191906000526020600020905b81548152906001019060200180831161136b57829003601f168201915b5050505050610729565b600761139d8361184f565b60086040516020016113b193929190612bbd565b60405160208183030381529060405292915050565b6113ce61171e565b6010805460ff1960ff6101008084048216150291821661ffff1984161791811692169190911715179055565b61140261171e565b6010805460ff19811660ff90911615179055565b6000611422838361194d565b8061145257506001600160a01b0380841660009081526004602090815260408083209386168352929052205460ff165b9392505050565b61146161171e565b6001600160a01b0381166114875760405162461bcd60e51b81526004016107e890612c2d565b610cf5816117ca565b60006001600160e01b031982166380ac58cd60e01b14806114c157506001600160e01b03198216635b5e139f60e01b145b8061072957506301ffc9a760e01b6001600160e01b0319831614610729565b60025460009082108015610729575060006001600160a01b03166002838154811061150d5761150d61275e565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061155f82610dae565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061145282600f5485611a37565b610d82828260405180602001604052806000815250611a4d565b60006115cc826114e0565b6115e85760405162461bcd60e51b81526004016107e890612c86565b60006115f383610dae565b9050806001600160a01b0316846001600160a01b0316148061162e5750836001600160a01b0316611623846107c1565b6001600160a01b0316145b8061163e575061163e8185611416565b949350505050565b826001600160a01b031661165982610dae565b6001600160a01b03161461167f5760405162461bcd60e51b81526004016107e890612cdc565b6001600160a01b0382166116a55760405162461bcd60e51b81526004016107e890612d2d565b6116b060008261152a565b81600282815481106116c4576116c461275e565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6005546001600160a01b031633146110335760405162461bcd60e51b81526004016107e890612d6f565b600061175382610dae565b905061176060008361152a565b6000600283815481106117755761177561275e565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611827848484611646565b61183384848484611a80565b6112bf5760405162461bcd60e51b81526004016107e890612dce565b6060816118735750506040805180820190915260018152600360fc1b602082015290565b8160005b811561189d578061188781612631565b91506118969050600a836127fa565b9150611877565b60008167ffffffffffffffff8111156118b8576118b86121b3565b6040519080825280601f01601f1916602001820160405280156118e2576020820181803683370190505b5090505b841561163e576118f76001836124c5565b9150611904600a86612dde565b61190f9060306125dc565b60f81b8183815181106119245761192461275e565b60200101906001600160f81b031916908160001a905350611946600a866127fa565b94506118e6565b600080466001811461196657600481146119825761199a565b73a5409ec958c83c3f309868babaca7c86dcb077c1915061199a565b73f57b2c51ded3a29e6891aba85459d600256cf31791505b506001600160a01b0381161580159061163e5750826001600160a01b0316816001600160a01b031663c4552791866040518263ffffffff1660e01b81526004016119e49190611e68565b602060405180830381865afa158015611a01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a259190612e11565b6001600160a01b031614949350505050565b600082611a448584611b7e565b14949350505050565b611a578383611bcb565b611a646000848484611a80565b61088e5760405162461bcd60e51b81526004016107e890612dce565b60006001600160a01b0384163b15611b7357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611ac4903390899088908890600401612e32565b6020604051808303816000875af1925050508015611aff575060408051601f3d908101601f19168201909252611afc91810190612e81565b60015b611b59573d808015611b2d576040519150601f19603f3d011682016040523d82523d6000602084013e611b32565b606091505b508051611b515760405162461bcd60e51b81526004016107e890612dce565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061163e565b506001949350505050565b600081815b8451811015611bc357611baf82868381518110611ba257611ba261275e565b6020026020010151611c93565b915080611bbb81612631565b915050611b83565b509392505050565b6001600160a01b038216611bf15760405162461bcd60e51b81526004016107e890612ed4565b611bfa816114e0565b15611c175760405162461bcd60e51b81526004016107e890612f18565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818310611caf576000828152602084905260409020611452565b6000838152602083905260409020611452565b828054611cce9061236e565b90600052602060002090601f016020900481019282611cf05760008555611d36565b82601f10611d095782800160ff19823516178555611d36565b82800160010185558215611d36579182015b82811115611d36578235825591602001919060010190611d1b565b50610daa9291505b80821115610daa5760008155600101611d3e565b6001600160e01b031981165b8114610cf557600080fd5b803561072981611d52565b600060208284031215611d8957611d89600080fd5b600061163e8484611d69565b8015155b82525050565b602081016107298284611d95565b60005b83811015611dc8578181015183820152602001611db0565b838111156112bf5750506000910152565b6000611de3825190565b808452602084019350611dfa818560208601611dad565b601f01601f19169290920192915050565b602080825281016114528184611dd9565b80611d5e565b803561072981611e1c565b600060208284031215611e4257611e42600080fd5b600061163e8484611e22565b60006001600160a01b038216610729565b611d9981611e4e565b602081016107298284611e5f565b611d5e81611e4e565b803561072981611e76565b60008060408385031215611ea057611ea0600080fd5b6000611eac8585611e7f565b9250506020611ebd85828601611e22565b9150509250929050565b80611d99565b602081016107298284611ec7565b60008083601f840112611ef057611ef0600080fd5b50813567ffffffffffffffff811115611f0b57611f0b600080fd5b602083019150836020820283011115611f2657611f26600080fd5b9250929050565b60008060008060608587031215611f4657611f46600080fd5b6000611f528787611e22565b9450506020611f6387828801611e22565b935050604085013567ffffffffffffffff811115611f8357611f83600080fd5b611f8f87828801611edb565b95989497509550505050565b600080600060608486031215611fb357611fb3600080fd5b6000611fbf8686611e7f565b9350506020611fd086828701611e7f565b9250506040611fe186828701611e22565b9150509250925092565b6000806000806040858703121561200457612004600080fd5b843567ffffffffffffffff81111561201e5761201e600080fd5b61202a87828801611edb565b9450945050602085013567ffffffffffffffff811115611f8357611f83600080fd5b60008083601f84011261206157612061600080fd5b50813567ffffffffffffffff81111561207c5761207c600080fd5b602083019150836001820283011115611f2657611f26600080fd5b600080600080604085870312156120b0576120b0600080fd5b843567ffffffffffffffff8111156120ca576120ca600080fd5b6120d68782880161204c565b9450945050602085013567ffffffffffffffff8111156120f8576120f8600080fd5b611f8f8782880161204c565b60006020828403121561211957612119600080fd5b600061163e8484611e7f565b801515611d5e565b803561072981612125565b6000806040838503121561214e5761214e600080fd5b600061215a8585611e7f565b9250506020611ebd8582860161212d565b6000806020838503121561218157612181600080fd5b823567ffffffffffffffff81111561219b5761219b600080fd5b6121a78582860161204c565b92509250509250929050565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff821117156121ef576121ef6121b3565b6040525050565b600061220160405190565b905061220d82826121c9565b919050565b600067ffffffffffffffff82111561222c5761222c6121b3565b601f19601f83011660200192915050565b82818337506000910152565b600061225c61225784612212565b6121f6565b90508281526020810184848401111561227757612277600080fd5b611bc384828561223d565b600082601f83011261229657612296600080fd5b813561163e848260208601612249565b600080600080608085870312156122bf576122bf600080fd5b60006122cb8787611e7f565b94505060206122dc87828801611e7f565b93505060406122ed87828801611e22565b925050606085013567ffffffffffffffff81111561230d5761230d600080fd5b61231987828801612282565b91505092959194509250565b6000806040838503121561233b5761233b600080fd5b60006123478585611e7f565b9250506020611ebd85828601611e7f565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061238257607f821691505b6020821081141561239557612395612358565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b602080825281016107298161239b565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015291506123e0565b60208082528101610729816123f7565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015291506123e0565b6020808252810161072981612445565b634e487b7160e01b600052601160045260246000fd5b6000828210156124d7576124d76124af565b500390565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291505b5060200190565b60208082528101610729816124dc565b601081526000602082016f5761697420666f722070726573616c6560801b8152915061250c565b6020808252810161072981612523565b60006107298260601b90565b60006107298261255a565b611d9961257d82611e4e565b612566565b600061258e8285612571565b60148201915061259e8284611ec7565b5060200192915050565b600d81526000602082016c24b73b30b634b210383937b7b360991b8152915061250c565b60208082528101610729816125a8565b600082198211156125ef576125ef6124af565b500190565b60168152600060208201754578636565647320796f757220616c6c6f77616e636560501b8152915061250c565b60208082528101610729816125f4565b6000600019821415612645576126456124af565b5060010190565b6000816000190483118215151615612666576126666124af565b500290565b6016815260006020820175125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b8152915061250c565b602080825281016107298161266b565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b602082015291506123e0565b60208082528101610729816126a8565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581526a74206f6620626f756e647360a81b602082015291506123e0565b6020808252810161072981612706565b634e487b7160e01b600052603260045260246000fd5b6016815260006020820175109d5c9b9a5b99c81b9bdd08185d5d1a1bdc9a5e995960521b8152915061250c565b6020808252810161072981612774565b600c81526000602082016b155b985d5d1a1bdc9a5e995960a21b8152915061250c565b60208082528101610729816127b1565b634e487b7160e01b600052601260045260246000fd5b600082612809576128096127e4565b500490565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81526b7574206f6620626f756e647360a01b602082015291506123e0565b602080825281016107298161280e565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b602082015291506123e0565b6020808252810161072981612867565b602a81526000602082017f5175616e74697479206c656e677468206973206e6f7420657175616c20746f20815269726563697069656e747360b01b602082015291506123e0565b60208082528101610729816128bd565b601281526000602082017113585e081cdd5c1c1b1e481c995858da195960721b8152915061250c565b6020808252810161072981612914565b603a81526000602082017f4e6577206d617820737570706c79206d757374206265206c6f7765722074686181527f6e203639343220616e6420686967686572207468616e20393432000000000000602082015291506123e0565b602080825281016107298161294d565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b602082015291506123e0565b60208082528101610729816129b7565b60148152600060208201735761697420666f72207075626c69632073616c6560601b8152915061250c565b6020808252810161072981612a0e565b601881526000602082017f45786365656473206c696d6974207065722077616c6c657400000000000000008152915061250c565b6020808252810161072981612a49565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c6572000000000000008152915061250c565b6020808252810161072981612a8d565b602f81526000602082017f4552433732314d657461646174613a2055524920717565727920666f72206e6f81526e3732bc34b9ba32b73a103a37b5b2b760891b602082015291506123e0565b6020808252810161072981612ad1565b60008154612b3a8161236e565b600182168015612b515760018114612b6257612b92565b60ff19831686528186019350612b92565b60008581526020902060005b83811015612b8a57815488820152600190910190602001612b6e565b838801955050505b50505092915050565b6000612ba5825190565b612bb3818560208601611dad565b9290920192915050565b6000612bc98286612b2d565b9150612bd58285612b9b565b9150612be18284612b2d565b95945050505050565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b602082015291506123e0565b6020808252810161072981612bea565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291506123e0565b6020808252810161072981612c3d565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b602082015291506123e0565b6020808252810161072981612c96565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b602082015291506123e0565b6020808252810161072981612cec565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65729101908152600061250c565b6020808252810161072981612d3d565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b602082015291506123e0565b6020808252810161072981612d7f565b600082612ded57612ded6127e4565b500690565b600061072982611e4e565b611d5e81612df2565b805161072981612dfd565b600060208284031215612e2657612e26600080fd5b600061163e8484612e06565b60808101612e408287611e5f565b612e4d6020830186611e5f565b612e5a6040830185611ec7565b8181036060830152612e6c8184611dd9565b9695505050505050565b805161072981611d52565b600060208284031215612e9657612e96600080fd5b600061163e8484612e76565b60208082527f4552433732313a206d696e7420746f20746865207a65726f20616464726573739101908152600061250c565b6020808252810161072981612ea2565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e746564000000008152915061250c565b6020808252810161072981612ee456fea26469706673582212202d917d32558854bffcfee193743f3fa03552b30048b96d4cd734ad84e382f39c64736f6c634300080c0033

Deployed Bytecode

0x6080604052600436106102465760003560e01c806370a0823111610139578063a25bbb53116100b6578063dbd30ae01161007a578063dbd30ae014610660578063dc9a153514610675578063e222c7f91461068f578063e76af32e146106a4578063e985e9c5146106c4578063f2fde38b146106e457600080fd5b8063a25bbb53146105cf578063b88d4fde146105ef578063c662e4811461060f578063c87b56dd1461062a578063dbcaa52c1461064a57600080fd5b806395364a84116100fd57806395364a841461053b57806395d89b411461055a5780639ec00c951461056f578063a0712d681461059c578063a22cb465146105af57600080fd5b806370a08231146104b3578063715018a6146104d35780637cb64759146104e85780637df73475146105085780638da5cb5b1461051d57600080fd5b806332cb6b0c116101c75780634f6ccce71161018b5780634f6ccce7146104135780636352211e146104335780636673c4c2146104535780636790a9de146104735780636f8b44b01461049357600080fd5b806332cb6b0c1461039357806334393743146103a957806342842e0e146103be57806342966c68146103de57806349649fbf146103fe57600080fd5b80631b59169d1161020e5780631b59169d1461031457806323b872dd146103275780632eb4a7ab146103475780632f745c591461035d57806331a53e9a1461037d57600080fd5b806301ffc9a71461024b57806306fdde0314610281578063081812fc146102a3578063095ea7b3146102d057806318160ddd146102f2575b600080fd5b34801561025757600080fd5b5061026b610266366004611d74565b610704565b6040516102789190611d9f565b60405180910390f35b34801561028d57600080fd5b5061029661072f565b6040516102789190611e0b565b3480156102af57600080fd5b506102c36102be366004611e2d565b6107c1565b6040516102789190611e68565b3480156102dc57600080fd5b506102f06102eb366004611e8a565b61080d565b005b3480156102fe57600080fd5b50610307610893565b6040516102789190611ecd565b6102f0610322366004611f2d565b6108aa565b34801561033357600080fd5b506102f0610342366004611f9b565b610b7a565b34801561035357600080fd5b50610307600f5481565b34801561036957600080fd5b50610307610378366004611e8a565b610bac565b34801561038957600080fd5b50610307600c5481565b34801561039f57600080fd5b50610307600b5481565b3480156103b557600080fd5b506102f0610c5f565b3480156103ca57600080fd5b506102f06103d9366004611f9b565b610c84565b3480156103ea57600080fd5b506102f06103f9366004611e2d565b610c9f565b34801561040a57600080fd5b506102f0610cf8565b34801561041f57600080fd5b5061030761042e366004611e2d565b610d86565b34801561043f57600080fd5b506102c361044e366004611e2d565b610dae565b34801561045f57600080fd5b506102f061046e366004611feb565b610df8565b34801561047f57600080fd5b506102f061048e366004612097565b610f33565b34801561049f57600080fd5b506102f06104ae366004611e2d565b610f5b565b3480156104bf57600080fd5b506103076104ce366004612104565b610f96565b3480156104df57600080fd5b506102f0611021565b3480156104f457600080fd5b506102f0610503366004611e2d565b611035565b34801561051457600080fd5b506102f0611042565b34801561052957600080fd5b506005546001600160a01b03166102c3565b34801561054757600080fd5b5060105461026b90610100900460ff1681565b34801561056657600080fd5b5061029661106c565b34801561057b57600080fd5b5061030761058a366004612104565b60116020526000908152604090205481565b6102f06105aa366004611e2d565b61107b565b3480156105bb57600080fd5b506102f06105ca366004612138565b6111e1565b3480156105db57600080fd5b506102f06105ea36600461216b565b611279565b3480156105fb57600080fd5b506102f061060a3660046122a6565b61128d565b34801561061b57600080fd5b50610307662230fa1d51800081565b34801561063657600080fd5b50610296610645366004611e2d565b6112c5565b34801561065657600080fd5b50610307600d5481565b34801561066c57600080fd5b506102f06113c6565b34801561068157600080fd5b5060105461026b9060ff1681565b34801561069b57600080fd5b506102f06113fa565b3480156106b057600080fd5b5060105461026b9062010000900460ff1681565b3480156106d057600080fd5b5061026b6106df366004612325565b611416565b3480156106f057600080fd5b506102f06106ff366004612104565b611459565b60006001600160e01b0319821663780e9d6360e01b1480610729575061072982611490565b92915050565b60606000805461073e9061236e565b80601f016020809104026020016040519081016040528092919081815260200182805461076a9061236e565b80156107b75780601f1061078c576101008083540402835291602001916107b7565b820191906000526020600020905b81548152906001019060200180831161079a57829003601f168201915b5050505050905090565b60006107cc826114e0565b6107f15760405162461bcd60e51b81526004016107e8906123e7565b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600061081882610dae565b9050806001600160a01b0316836001600160a01b0316141561084c5760405162461bcd60e51b81526004016107e890612435565b336001600160a01b038216148061086857506108688133611416565b6108845760405162461bcd60e51b81526004016107e89061249f565b61088e838361152a565b505050565b6002546000906108a5906001906124c5565b905090565b600260065414156108cd5760405162461bcd60e51b81526004016107e890612513565b6002600655601054610100900460ff166108f95760405162461bcd60e51b81526004016107e89061254a565b6000338460405160200161090e929190612582565b6040516020818303038152906040528051906020012090506109638184848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061159892505050565b61097f5760405162461bcd60e51b81526004016107e8906125cc565b33600090815260116020526040902054849061099c9087906125dc565b11156109ba5760405162461bcd60e51b81526004016107e890612621565b336000908152601160205260409020541580156109e757600d80549060006109e183612631565b91905055505b3360009081526011602052604081208054889290610a069084906125dc565b9091555050600254600d54600c54600091610a20916124c5565b600b54610a2d91906124c5565b60408051808201909152601881527f4d617820706179656420737570706c79207265616368656400000000000000006020820152909150838015610a845750610a778260026125dc565b610a828460016125dc565b105b15610ab6575060408051808201909152601481527313db9b1e48199c9959481b5a5b9d1cc81b19599d60621b60208201525b610ac18260026125dc565b610acb8a856125dc565b108190610aeb5760405162461bcd60e51b81526004016107e89190611e0b565b50600084610af95789610b04565b610b0460018b6124c5565b905034610b1882662230fa1d51800061264c565b1115610b365760405162461bcd60e51b81526004016107e890612698565b60005b8a811015610b6857610b563386610b4f81612631565b97506115a7565b80610b6081612631565b915050610b39565b50506001600655505050505050505050565b610b85335b826115c1565b610ba15760405162461bcd60e51b81526004016107e8906126f6565b61088e838383611646565b6000610bb783610f96565b8210610bd55760405162461bcd60e51b81526004016107e89061274e565b6000805b600254811015610c465760028181548110610bf657610bf661275e565b6000918252602090912001546001600160a01b0386811691161415610c345783821415610c265791506107299050565b81610c3081612631565b9250505b80610c3e81612631565b915050610bd9565b5060405162461bcd60e51b81526004016107e89061274e565b610c6761171e565b6010805461ff001981166101009182900460ff1615909102179055565b61088e8383836040518060200160405280600081525061128d565b60105462010000900460ff16610cc75760405162461bcd60e51b81526004016107e8906127a1565b610cd033610b7f565b610cec5760405162461bcd60e51b81526004016107e8906127d4565b610cf581611748565b50565b610d0061171e565b6000610d0d6008476127fa565b600a546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610d48573d6000803e3d6000fd5b506009546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610d82573d6000803e3d6000fd5b5050565b6002546000908210610daa5760405162461bcd60e51b81526004016107e890612857565b5090565b60008060028381548110610dc457610dc461275e565b6000918252602090912001546001600160a01b03169050806107295760405162461bcd60e51b81526004016107e8906128ad565b610e0061171e565b828114610e1f5760405162461bcd60e51b81526004016107e890612904565b6000805b84811015610e6157858582818110610e3d57610e3d61275e565b9050602002013582610e4f91906125dc565b9150610e5a81612631565b9050610e23565b5060028054600b549091610e7591906125dc565b610e7f83836125dc565b10610e9c5760405162461bcd60e51b81526004016107e89061293d565b6000915060005b83811015610f2a5760005b878783818110610ec057610ec061275e565b90506020020135811015610f1957610f09868684818110610ee357610ee361275e565b9050602002016020810190610ef89190612104565b84610f0281612631565b95506115a7565b610f1281612631565b9050610eae565b50610f2381612631565b9050610ea3565b50505050505050565b610f3b61171e565b610f4760078585611cc2565b50610f5460088383611cc2565b5050505050565b610f6361171e565b6103ae81118015610f755750611b1e81105b610f915760405162461bcd60e51b81526004016107e8906129a7565b600b55565b60006001600160a01b038216610fbe5760405162461bcd60e51b81526004016107e8906129fe565b6000805b60025481101561101a5760028181548110610fdf57610fdf61275e565b6000918252602090912001546001600160a01b038581169116141561100a5761100782612631565b91505b61101381612631565b9050610fc2565b5092915050565b61102961171e565b61103360006117ca565b565b61103d61171e565b600f55565b61104a61171e565b601080546201000060ff19821681900460ff16150262ff00ff19909116179055565b60606001805461073e9061236e565b6002600654141561109e5760405162461bcd60e51b81526004016107e890612513565b600260065560105460ff166110c55760405162461bcd60e51b81526004016107e890612a39565b336000908152601160205260409020546005906110e39083906125dc565b11156111015760405162461bcd60e51b81526004016107e890612a7d565b33600090815260116020526040812080548392906111209084906125dc565b9091555050600254600d54600c5460009161113a916124c5565b600b5461114791906124c5565b90506111548160026125dc565b61115e84846125dc565b1061117b5760405162461bcd60e51b81526004016107e89061293d565b3461118d84662230fa1d51800061264c565b11156111ab5760405162461bcd60e51b81526004016107e890612698565b60005b838110156111d6576111c43384610f0281612631565b806111ce81612631565b9150506111ae565b505060016006555050565b6001600160a01b03821633141561120a5760405162461bcd60e51b81526004016107e890612ac1565b3360008181526004602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061126d908590611d9f565b60405180910390a35050565b61128161171e565b61088e600e8383611cc2565b61129733836115c1565b6112b35760405162461bcd60e51b81526004016107e8906126f6565b6112bf8484848461181c565b50505050565b60606112d0826114e0565b6112ec5760405162461bcd60e51b81526004016107e890612b1d565b6000600780546112fb9061236e565b90501161139257600e805461130f9061236e565b80601f016020809104026020016040519081016040528092919081815260200182805461133b9061236e565b80156113885780601f1061135d57610100808354040283529160200191611388565b820191906000526020600020905b81548152906001019060200180831161136b57829003601f168201915b5050505050610729565b600761139d8361184f565b60086040516020016113b193929190612bbd565b60405160208183030381529060405292915050565b6113ce61171e565b6010805460ff1960ff6101008084048216150291821661ffff1984161791811692169190911715179055565b61140261171e565b6010805460ff19811660ff90911615179055565b6000611422838361194d565b8061145257506001600160a01b0380841660009081526004602090815260408083209386168352929052205460ff165b9392505050565b61146161171e565b6001600160a01b0381166114875760405162461bcd60e51b81526004016107e890612c2d565b610cf5816117ca565b60006001600160e01b031982166380ac58cd60e01b14806114c157506001600160e01b03198216635b5e139f60e01b145b8061072957506301ffc9a760e01b6001600160e01b0319831614610729565b60025460009082108015610729575060006001600160a01b03166002838154811061150d5761150d61275e565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061155f82610dae565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061145282600f5485611a37565b610d82828260405180602001604052806000815250611a4d565b60006115cc826114e0565b6115e85760405162461bcd60e51b81526004016107e890612c86565b60006115f383610dae565b9050806001600160a01b0316846001600160a01b0316148061162e5750836001600160a01b0316611623846107c1565b6001600160a01b0316145b8061163e575061163e8185611416565b949350505050565b826001600160a01b031661165982610dae565b6001600160a01b03161461167f5760405162461bcd60e51b81526004016107e890612cdc565b6001600160a01b0382166116a55760405162461bcd60e51b81526004016107e890612d2d565b6116b060008261152a565b81600282815481106116c4576116c461275e565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6005546001600160a01b031633146110335760405162461bcd60e51b81526004016107e890612d6f565b600061175382610dae565b905061176060008361152a565b6000600283815481106117755761177561275e565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611827848484611646565b61183384848484611a80565b6112bf5760405162461bcd60e51b81526004016107e890612dce565b6060816118735750506040805180820190915260018152600360fc1b602082015290565b8160005b811561189d578061188781612631565b91506118969050600a836127fa565b9150611877565b60008167ffffffffffffffff8111156118b8576118b86121b3565b6040519080825280601f01601f1916602001820160405280156118e2576020820181803683370190505b5090505b841561163e576118f76001836124c5565b9150611904600a86612dde565b61190f9060306125dc565b60f81b8183815181106119245761192461275e565b60200101906001600160f81b031916908160001a905350611946600a866127fa565b94506118e6565b600080466001811461196657600481146119825761199a565b73a5409ec958c83c3f309868babaca7c86dcb077c1915061199a565b73f57b2c51ded3a29e6891aba85459d600256cf31791505b506001600160a01b0381161580159061163e5750826001600160a01b0316816001600160a01b031663c4552791866040518263ffffffff1660e01b81526004016119e49190611e68565b602060405180830381865afa158015611a01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a259190612e11565b6001600160a01b031614949350505050565b600082611a448584611b7e565b14949350505050565b611a578383611bcb565b611a646000848484611a80565b61088e5760405162461bcd60e51b81526004016107e890612dce565b60006001600160a01b0384163b15611b7357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611ac4903390899088908890600401612e32565b6020604051808303816000875af1925050508015611aff575060408051601f3d908101601f19168201909252611afc91810190612e81565b60015b611b59573d808015611b2d576040519150601f19603f3d011682016040523d82523d6000602084013e611b32565b606091505b508051611b515760405162461bcd60e51b81526004016107e890612dce565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061163e565b506001949350505050565b600081815b8451811015611bc357611baf82868381518110611ba257611ba261275e565b6020026020010151611c93565b915080611bbb81612631565b915050611b83565b509392505050565b6001600160a01b038216611bf15760405162461bcd60e51b81526004016107e890612ed4565b611bfa816114e0565b15611c175760405162461bcd60e51b81526004016107e890612f18565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818310611caf576000828152602084905260409020611452565b6000838152602083905260409020611452565b828054611cce9061236e565b90600052602060002090601f016020900481019282611cf05760008555611d36565b82601f10611d095782800160ff19823516178555611d36565b82800160010185558215611d36579182015b82811115611d36578235825591602001919060010190611d1b565b50610daa9291505b80821115610daa5760008155600101611d3e565b6001600160e01b031981165b8114610cf557600080fd5b803561072981611d52565b600060208284031215611d8957611d89600080fd5b600061163e8484611d69565b8015155b82525050565b602081016107298284611d95565b60005b83811015611dc8578181015183820152602001611db0565b838111156112bf5750506000910152565b6000611de3825190565b808452602084019350611dfa818560208601611dad565b601f01601f19169290920192915050565b602080825281016114528184611dd9565b80611d5e565b803561072981611e1c565b600060208284031215611e4257611e42600080fd5b600061163e8484611e22565b60006001600160a01b038216610729565b611d9981611e4e565b602081016107298284611e5f565b611d5e81611e4e565b803561072981611e76565b60008060408385031215611ea057611ea0600080fd5b6000611eac8585611e7f565b9250506020611ebd85828601611e22565b9150509250929050565b80611d99565b602081016107298284611ec7565b60008083601f840112611ef057611ef0600080fd5b50813567ffffffffffffffff811115611f0b57611f0b600080fd5b602083019150836020820283011115611f2657611f26600080fd5b9250929050565b60008060008060608587031215611f4657611f46600080fd5b6000611f528787611e22565b9450506020611f6387828801611e22565b935050604085013567ffffffffffffffff811115611f8357611f83600080fd5b611f8f87828801611edb565b95989497509550505050565b600080600060608486031215611fb357611fb3600080fd5b6000611fbf8686611e7f565b9350506020611fd086828701611e7f565b9250506040611fe186828701611e22565b9150509250925092565b6000806000806040858703121561200457612004600080fd5b843567ffffffffffffffff81111561201e5761201e600080fd5b61202a87828801611edb565b9450945050602085013567ffffffffffffffff811115611f8357611f83600080fd5b60008083601f84011261206157612061600080fd5b50813567ffffffffffffffff81111561207c5761207c600080fd5b602083019150836001820283011115611f2657611f26600080fd5b600080600080604085870312156120b0576120b0600080fd5b843567ffffffffffffffff8111156120ca576120ca600080fd5b6120d68782880161204c565b9450945050602085013567ffffffffffffffff8111156120f8576120f8600080fd5b611f8f8782880161204c565b60006020828403121561211957612119600080fd5b600061163e8484611e7f565b801515611d5e565b803561072981612125565b6000806040838503121561214e5761214e600080fd5b600061215a8585611e7f565b9250506020611ebd8582860161212d565b6000806020838503121561218157612181600080fd5b823567ffffffffffffffff81111561219b5761219b600080fd5b6121a78582860161204c565b92509250509250929050565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff821117156121ef576121ef6121b3565b6040525050565b600061220160405190565b905061220d82826121c9565b919050565b600067ffffffffffffffff82111561222c5761222c6121b3565b601f19601f83011660200192915050565b82818337506000910152565b600061225c61225784612212565b6121f6565b90508281526020810184848401111561227757612277600080fd5b611bc384828561223d565b600082601f83011261229657612296600080fd5b813561163e848260208601612249565b600080600080608085870312156122bf576122bf600080fd5b60006122cb8787611e7f565b94505060206122dc87828801611e7f565b93505060406122ed87828801611e22565b925050606085013567ffffffffffffffff81111561230d5761230d600080fd5b61231987828801612282565b91505092959194509250565b6000806040838503121561233b5761233b600080fd5b60006123478585611e7f565b9250506020611ebd85828601611e7f565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061238257607f821691505b6020821081141561239557612395612358565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b602080825281016107298161239b565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015291506123e0565b60208082528101610729816123f7565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015291506123e0565b6020808252810161072981612445565b634e487b7160e01b600052601160045260246000fd5b6000828210156124d7576124d76124af565b500390565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291505b5060200190565b60208082528101610729816124dc565b601081526000602082016f5761697420666f722070726573616c6560801b8152915061250c565b6020808252810161072981612523565b60006107298260601b90565b60006107298261255a565b611d9961257d82611e4e565b612566565b600061258e8285612571565b60148201915061259e8284611ec7565b5060200192915050565b600d81526000602082016c24b73b30b634b210383937b7b360991b8152915061250c565b60208082528101610729816125a8565b600082198211156125ef576125ef6124af565b500190565b60168152600060208201754578636565647320796f757220616c6c6f77616e636560501b8152915061250c565b60208082528101610729816125f4565b6000600019821415612645576126456124af565b5060010190565b6000816000190483118215151615612666576126666124af565b500290565b6016815260006020820175125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b8152915061250c565b602080825281016107298161266b565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b602082015291506123e0565b60208082528101610729816126a8565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581526a74206f6620626f756e647360a81b602082015291506123e0565b6020808252810161072981612706565b634e487b7160e01b600052603260045260246000fd5b6016815260006020820175109d5c9b9a5b99c81b9bdd08185d5d1a1bdc9a5e995960521b8152915061250c565b6020808252810161072981612774565b600c81526000602082016b155b985d5d1a1bdc9a5e995960a21b8152915061250c565b60208082528101610729816127b1565b634e487b7160e01b600052601260045260246000fd5b600082612809576128096127e4565b500490565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81526b7574206f6620626f756e647360a01b602082015291506123e0565b602080825281016107298161280e565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b602082015291506123e0565b6020808252810161072981612867565b602a81526000602082017f5175616e74697479206c656e677468206973206e6f7420657175616c20746f20815269726563697069656e747360b01b602082015291506123e0565b60208082528101610729816128bd565b601281526000602082017113585e081cdd5c1c1b1e481c995858da195960721b8152915061250c565b6020808252810161072981612914565b603a81526000602082017f4e6577206d617820737570706c79206d757374206265206c6f7765722074686181527f6e203639343220616e6420686967686572207468616e20393432000000000000602082015291506123e0565b602080825281016107298161294d565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b602082015291506123e0565b60208082528101610729816129b7565b60148152600060208201735761697420666f72207075626c69632073616c6560601b8152915061250c565b6020808252810161072981612a0e565b601881526000602082017f45786365656473206c696d6974207065722077616c6c657400000000000000008152915061250c565b6020808252810161072981612a49565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c6572000000000000008152915061250c565b6020808252810161072981612a8d565b602f81526000602082017f4552433732314d657461646174613a2055524920717565727920666f72206e6f81526e3732bc34b9ba32b73a103a37b5b2b760891b602082015291506123e0565b6020808252810161072981612ad1565b60008154612b3a8161236e565b600182168015612b515760018114612b6257612b92565b60ff19831686528186019350612b92565b60008581526020902060005b83811015612b8a57815488820152600190910190602001612b6e565b838801955050505b50505092915050565b6000612ba5825190565b612bb3818560208601611dad565b9290920192915050565b6000612bc98286612b2d565b9150612bd58285612b9b565b9150612be18284612b2d565b95945050505050565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b602082015291506123e0565b6020808252810161072981612bea565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291506123e0565b6020808252810161072981612c3d565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b602082015291506123e0565b6020808252810161072981612c96565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b602082015291506123e0565b6020808252810161072981612cec565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65729101908152600061250c565b6020808252810161072981612d3d565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b602082015291506123e0565b6020808252810161072981612d7f565b600082612ded57612ded6127e4565b500690565b600061072982611e4e565b611d5e81612df2565b805161072981612dfd565b600060208284031215612e2657612e26600080fd5b600061163e8484612e06565b60808101612e408287611e5f565b612e4d6020830186611e5f565b612e5a6040830185611ec7565b8181036060830152612e6c8184611dd9565b9695505050505050565b805161072981611d52565b600060208284031215612e9657612e96600080fd5b600061163e8484612e76565b60208082527f4552433732313a206d696e7420746f20746865207a65726f20616464726573739101908152600061250c565b6020808252810161072981612ea2565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e746564000000008152915061250c565b6020808252810161072981612ee456fea26469706673582212202d917d32558854bffcfee193743f3fa03552b30048b96d4cd734ad84e382f39c64736f6c634300080c0033

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.