ETH Price: $3,700.75 (+3.89%)

Token

SudoWassie (WASSIES)
 

Overview

Max Total Supply

5,000 WASSIES

Holders

1,195

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
xuyunming.eth
Balance
1 WASSIES
0x520cc7572527711b8c50bcefe1d881f8ddb5fe8c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

squish ze wassies on sudo. 5000 wassies // stealth mint on sudo.

# Exchange Pair Price  24H Volume % Volume

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x06E665dd...d1431fcCF
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
SudoWassie

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : SudoWassie.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.9 <0.9.0;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./ERC721i.sol";

contract SudoWassie is ERC721i, ReentrancyGuard {
    using Strings for uint256;
    using Address for address payable;
    using Counters for Counters.Counter;

    /// @dev Some sales-related events
    event Purchase(
        address indexed newOwner,
        uint256 amount,
        uint256 lastTokenId
    );
    event Withdraw(address indexed receiver, uint256 amount);
    event PriceUpdate(uint256 newPrice);

    /// @dev Track number of tokens sold
    Counters.Counter internal _lastPurchasedTokenId;

    /// @dev ERC721 Base Token URI
    string internal _baseTokenURI;

    string public uriSuffix = ".json";

    // Individual NFT Sale Price in ETH
    uint256 public _pricePer;

    /// @dev The Deployer of this contract is also the Owner and the Pre-Mint Receiver.
    constructor(
        string memory name,
        string memory symbol,
        string memory baseUri,
        uint256 maxSupply
    ) ERC721i(name, symbol, _msgSender(), maxSupply) {
        _baseTokenURI = baseUri;

        // Since we pre-mint to "owner", allow this contract to transfer on behalf of "owner" for sales.
        _setApprovalForAll(_msgSender(), address(this), true);
    }

    /// @dev Let's Pre-Mint a Gazillion NFTs!!  (wait, 2^^256-1 equals what again?)
    function preMint() external onlyOwner {
        _preMint();
    }

    /**
     * @dev Purchases from the Pre-Mint Receiver are a simple matter of transferring the token.
     * For this reason, we can provide a very simple "batch" transfer mechanism in order to
     * save even more gas for our users.
     */
    function purchase(uint256 amount)
        external
        payable
        virtual
        nonReentrant
        returns (uint256 amountTransferred)
    {
        uint256 index = _lastPurchasedTokenId.current();
        if (index + amount > _maxSupply) {
            amount = _maxSupply - index;
        }

        uint256 cost;
        if (_pricePer > 0) {
            cost = _pricePer * amount;
            require(msg.value >= cost, "Insufficient payment");
        }

        uint256[] memory tokenIds = new uint256[](amount);
        for (uint256 i = 0; i < amount; i++) {
            _lastPurchasedTokenId.increment();
            tokenIds[i] = _lastPurchasedTokenId.current();
        }
        amountTransferred = _batchTransfer(owner(), _msgSender(), tokenIds);

        emit Purchase(_msgSender(), amount, _lastPurchasedTokenId.current());

        // Refund overspend
        if (msg.value > cost) {
            payable(_msgSender()).sendValue(msg.value - cost);
        }
    }

    /// @dev Set the price for sales to maintain a purchase price of $1 USD
    function setPrice(uint256 newPrice) external onlyOwner {
        _pricePer = newPrice;
        emit PriceUpdate(newPrice);
    }

    /// @dev Withdraw ETH from Sales
    function withdraw() external onlyOwner {
        uint256 amount = address(this).balance;
        address payable receiver = payable(owner());
        receiver.sendValue(amount);
        emit Withdraw(receiver, amount);
    }

    /// @dev Provide a Base URI for Token Metadata (override defined in ERC721.sol)
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

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

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

    //
    // Batch Transfers
    //

    function batchTransfer(address to, uint256[] memory tokenIds)
        external
        virtual
        returns (uint256 amountTransferred)
    {
        amountTransferred = _batchTransfer(_msgSender(), to, tokenIds);
    }

    function batchTransferFrom(
        address from,
        address to,
        uint256[] memory tokenIds
    ) external virtual returns (uint256 amountTransferred) {
        amountTransferred = _batchTransfer(from, to, tokenIds);
    }

    function _batchTransfer(
        address from,
        address to,
        uint256[] memory tokenIds
    ) internal virtual returns (uint256 amountTransferred) {
        uint256 count = tokenIds.length;

        for (uint256 i = 0; i < count; i++) {
            uint256 tokenId = tokenIds[i];

            // Skip invalid tokens; no need to cancel the whole tx for 1 failure
            // These are the exact same "require" checks performed in ERC721.sol for standard transfers.
            if (
                (ownerOf(tokenId) != from) ||
                (!_isApprovedOrOwner(from, tokenId)) ||
                (to == address(0))
            ) {
                continue;
            }

            _beforeTokenTransfer(from, to, tokenId);

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

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

            emit Transfer(from, to, tokenId);

            _afterTokenTransfer(from, to, tokenId);
        }

        // We can save a bit of gas here by updating these state-vars atthe end
        _balances[from] -= amountTransferred;
        _balances[to] += amountTransferred;
    }

    //
    // Pre Mint
    //

    /**
     * @dev Change preMintReceiver.
     */
    function setPreMintReceiver(address newPreMintReceiver) public onlyOwner {
        require(
            newPreMintReceiver != address(0),
            "ERC721i: new preMintReceiver cannot be the null address"
        );
        _preMintReceiver = newPreMintReceiver;
    }

    /**
     * @dev Getter function for preMintReceiver.
     */
    function getPreMintReceiver() public view returns (address) {
        return _preMintReceiver;
    }
}

File 2 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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

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

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 4 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 5 of 16 : ERC721i.sol
// SPDX-License-Identifier: MIT
// Written by: Rob Secord (https://twitter.com/robsecord)
// Co-founder @ Charged Particles - Visit: https://charged.fi
// Co-founder @ Taggr             - Visit: https://taggr.io

pragma solidity >=0.8.9 <0.9.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./lib/ERC721iEnumerable.sol";

/**
 * @dev This implements a Pre-Mint version of {ERC721} that adds the ability to Pre-Mint
 * all the token ids in the contract as assign an initial owner for each token id.
 *
 * On-chain state for Pre-Mint does not need to be initially stored if Max-Supply is known.
 * Minting is a simple matter of assigning a balance to the pre-mint receiver,
 * and modifying the "read" methods to account for the pre-mint receiver as owner.
 * We use the Consecutive Transfer Method as defined in EIP-2309 to signal inital ownership.
 * Almost everything else remains standard.
 * We also default to the contract "owner" as the pre-mint receiver, but this can be changed.
 */
contract ERC721i is Ownable, ERC721iEnumerable {
    /// @dev EIP-2309: https://eips.ethereum.org/EIPS/eip-2309
    event ConsecutiveTransfer(
        uint256 indexed fromTokenId,
        uint256 toTokenId,
        address indexed fromAddress,
        address indexed toAddress
    );

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection,
     * as well as a `minter` and a `maxSupply` for pre-minting the collection.
     */
    constructor(
        string memory name,
        string memory symbol,
        address minter,
        uint256 maxSupply
    ) ERC721(name, symbol) {
        // Set vars defined in ERC721iEnumerable.sol
        _maxSupply = maxSupply;
        _preMintReceiver = minter;
    }

    /**
     * @dev Pre-mint the max-supply of token IDs to the minter account.
     * Token IDs are in base-1 sequential order.
     */
    function _preMint() internal {
        // Update balance for initial owner, defined in ERC721.sol
        _balances[_preMintReceiver] = _maxSupply;

        // Emit the Consecutive Transfer Event
        emit ConsecutiveTransfer(1, _maxSupply, address(0), _preMintReceiver);
    }
}

File 6 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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 7 of 16 : ERC721iEnumerable.sol
// SPDX-License-Identifier: MIT
// Modified from: OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)
// Modified by: Rob Secord (https://twitter.com/robsecord)
// Co-founder @ Charged Particles - Visit: https://charged.fi
// Co-founder @ Taggr             - Visit: https://taggr.io

pragma solidity ^0.8.0;

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

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 *
 * @dev This implementation also includes support for pre-minting a max-supply of tokens up-front.
 *
 * Note on pre-mint:
 *  Assumes a Max-Supply which is entirely pre-minted to initial address with sequential Token IDs.
 *  For this reason, the "allTokens" state vars are unneccesary and have been removed.
 *  Also defines 2 light-weight state vars: "_preMintReceiver" & "_maxSupply"
 *  Overrides "ownerOf" & "_exists"
 */
abstract contract ERC721iEnumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

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

    // Tracking for the Pre-Mint Receiver
    address internal _preMintReceiver;

    // Max-Supply for Pre-Mint
    uint256 internal _maxSupply;

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Note on Pre-Mint: this implementation maintains the exact same interface for IERC721Enumerable
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC165, ERC721)
        returns (bool)
    {
        return
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            index < ERC721.balanceOf(owner),
            "ERC721Enumerable: owner index out of bounds"
        );
        uint256 tokenId = _ownedTokens[owner][index];
        // All indices within the Pre-Mint range are base-1 sequential and owned by the Pre-Mint Receiver.
        if (tokenId == 0 && owner == _preMintReceiver) {
            tokenId = index + 1;
        }
        return tokenId;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // The Total Supply is simply the Max Supply
        return _maxSupply;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index)
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            index < _maxSupply,
            "ERC721Enumerable: global index out of bounds"
        );
        // Array index is 0-based, whereas Token ID is 1-based (sequential).
        return index + 1;
    }

    /**
     * @dev Override the ERC721 "ownerOf" function to account for the Pre-Mint Receiver.
     */
    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override(IERC721, ERC721)
        returns (address)
    {
        // Anything beyond the Pre-Minted supply will use the standard "ownerOf"
        if (tokenId > _maxSupply) {
            return super.ownerOf(tokenId);
        }

        // Since we have Pre-Minted the Max-Supply to the "Pre-Mint Receiver" account, we know:
        //  - if the "_owners" mapping has not been assigned, then the owner is the Pre-Mint Receiver.
        //  - after the NFT is transferred, the "_owners" mapping will be updated with the new owner.
        address owner_ = _owners[tokenId];
        if (owner_ == address(0)) {
            owner_ = _preMintReceiver;
        }
        return owner_;
    }

    /**
     * @dev Override the ERC721 "_exists" function to account for the Pre-Minted Max-Supply.
     */
    function _exists(uint256 tokenId)
        internal
        view
        virtual
        override(ERC721)
        returns (bool)
    {
        // Anything beyond the Pre-Minted supply will use the standard "_exists"
        if (tokenId > _maxSupply) {
            return super._exists(tokenId);
        }

        // We know the Max-Supply has been Pre-Minted with Sequential Token IDs
        return (tokenId > 0 && tokenId <= _maxSupply);
    }

    /**
     * @dev See {IERC721Enumerable-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev See {IERC721Enumerable-_addTokenToOwnerEnumeration}.
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev See {IERC721Enumerable-_removeTokenFromOwnerEnumeration}.
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId)
        private
    {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).
        // We do additional checks in the case "from" is the _preMintReceiver

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = (ownerOf(tokenId) == _preMintReceiver &&
            _owners[tokenId] == address(0))
            ? tokenId - 1
            : _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = (ownerOf(tokenId) == _preMintReceiver &&
                _ownedTokens[from][lastTokenIndex] == 0)
                ? ERC721.balanceOf(from)
                : _ownedTokens[from][lastTokenIndex];

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

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

File 8 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 9 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// Modifed from: OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)
// Modified by: Rob Secord (https://twitter.com/robsecord)
// Co-founder @ Charged Particles - Visit: https://charged.fi
// Co-founder @ Taggr             - Visit: https://taggr.io

pragma solidity ^0.8.0;

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/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 *
 * NOTE: Pre-Mint:
 *  The only changes made here are:
 *    - change scope of "_owners" from private to internal
 *    - change scope of "_balances" from private to internal
 *    - remove "ERC721" scope-resolution from "ownerOf" calls in order to override "ownerOf"
 *    - modify the _burn function to burn to an alternate Null Address (prevents reassignment back to Pre-Mint Receiver)
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(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: address zero is not a valid owner");
        return _balances[owner];
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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: caller is not token 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: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(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 = ownerOf(tokenId);

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

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

        _balances[owner] -= 1;
        // Prevent re-assigning the token back to the Pre-Mint Receiver
        _owners[tokenId] = 0x000000000000000000000000000000000000dEaD;

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

        _afterTokenTransfer(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(ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` 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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 10 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 11 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 12 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 13 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 14 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 15 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 16 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);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseUri","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":true,"internalType":"address","name":"toAddress","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"PriceUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newOwner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastTokenId","type":"uint256"}],"name":"Purchase","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"_pricePer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransfer","outputs":[{"internalType":"uint256","name":"amountTransferred","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[{"internalType":"uint256","name":"amountTransferred","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPreMintReceiver","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"purchase","outputs":[{"internalType":"uint256","name":"amountTransferred","type":"uint256"}],"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":"address","name":"newPreMintReceiver","type":"address"}],"name":"setPreMintReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526005608081905264173539b7b760d91b60a09081526200002891600e919062000214565b503480156200003657600080fd5b506040516200282038038062002820833981016040819052620000599162000387565b8383338383836200006a33620000f0565b81516200007f90600190602085019062000214565b5080516200009590600290602084019062000214565b505050600a55600980546001600160a01b0319166001600160a01b039290921691909117905550506001600b558151620000d790600d90602085019062000214565b50620000e63330600162000140565b505050506200045d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b03161415620001a75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640160405180910390fd5b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b828054620002229062000420565b90600052602060002090601f01602090048101928262000246576000855562000291565b82601f106200026157805160ff191683800117855562000291565b8280016001018555821562000291579182015b828111156200029157825182559160200191906001019062000274565b506200029f929150620002a3565b5090565b5b808211156200029f5760008155600101620002a4565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002e257600080fd5b81516001600160401b0380821115620002ff57620002ff620002ba565b604051601f8301601f19908116603f011681019082821181831017156200032a576200032a620002ba565b816040528381526020925086838588010111156200034757600080fd5b600091505b838210156200036b57858201830151818301840152908201906200034c565b838211156200037d5760008385830101525b9695505050505050565b600080600080608085870312156200039e57600080fd5b84516001600160401b0380821115620003b657600080fd5b620003c488838901620002d0565b95506020870151915080821115620003db57600080fd5b620003e988838901620002d0565b945060408701519150808211156200040057600080fd5b506200040f87828801620002d0565b606096909601519497939650505050565b600181811c908216806200043557607f821691505b602082108114156200045757634e487b7160e01b600052602260045260246000fd5b50919050565b6123b3806200046d6000396000f3fe6080604052600436106101c25760003560e01c80636352211e116100f7578063ac3c995211610095578063efef39a111610064578063efef39a1146104fb578063f2fde38b1461050e578063f3993d111461052e578063feff65491461054e57600080fd5b8063ac3c995214610452578063b88d4fde14610472578063c87b56dd14610492578063e985e9c5146104b257600080fd5b80638da5cb5b116100d15780638da5cb5b146103df57806391b7f5ed146103fd57806395d89b411461041d578063a22cb4651461043257600080fd5b80636352211e1461038a57806370a08231146103aa578063715018a6146103ca57600080fd5b806335ebb7f71161016457806342842e0e1161013e57806342842e0e1461031f5780634f6ccce71461033f57806353093df01461035f5780635503a0e81461037557600080fd5b806335ebb7f7146102d75780633ccfd60b146102f55780633cd29ac81461030a57600080fd5b8063095ea7b3116101a0578063095ea7b31461025657806318160ddd1461027857806323b872dd146102975780632f745c59146102b757600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611c9c565b61056e565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610599565b6040516101f39190611d11565b34801561022a57600080fd5b5061023e610239366004611d24565b61062b565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611d59565b610652565b005b34801561028457600080fd5b50600a545b6040519081526020016101f3565b3480156102a357600080fd5b506102766102b2366004611d83565b61076d565b3480156102c357600080fd5b506102896102d2366004611d59565b61079e565b3480156102e357600080fd5b506009546001600160a01b031661023e565b34801561030157600080fd5b50610276610864565b34801561031657600080fd5b506102766108ff565b34801561032b57600080fd5b5061027661033a366004611d83565b610933565b34801561034b57600080fd5b5061028961035a366004611d24565b61094e565b34801561036b57600080fd5b50610289600f5481565b34801561038157600080fd5b506102116109c1565b34801561039657600080fd5b5061023e6103a5366004611d24565b610a4f565b3480156103b657600080fd5b506102896103c5366004611dbf565b610a94565b3480156103d657600080fd5b50610276610b1a565b3480156103eb57600080fd5b506000546001600160a01b031661023e565b34801561040957600080fd5b50610276610418366004611d24565b610b4e565b34801561042957600080fd5b50610211610bb3565b34801561043e57600080fd5b5061027661044d366004611dda565b610bc2565b34801561045e57600080fd5b5061028961046d366004611edd565b610bd1565b34801561047e57600080fd5b5061027661048d366004611f2b565b610bde565b34801561049e57600080fd5b506102116104ad366004611d24565b610c16565b3480156104be57600080fd5b506101e76104cd366004611feb565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b610289610509366004611d24565b610ce3565b34801561051a57600080fd5b50610276610529366004611dbf565b610ef8565b34801561053a57600080fd5b5061028961054936600461201e565b610f93565b34801561055a57600080fd5b50610276610569366004611dbf565b610fa8565b60006001600160e01b0319821663780e9d6360e01b1480610593575061059382611070565b92915050565b6060600180546105a89061207c565b80601f01602080910402602001604051908101604052809291908181526020018280546105d49061207c565b80156106215780601f106105f657610100808354040283529160200191610621565b820191906000526020600020905b81548152906001019060200180831161060457829003601f168201915b5050505050905090565b6000610636826110c0565b506000908152600560205260409020546001600160a01b031690565b600061065d82610a4f565b9050806001600160a01b0316836001600160a01b031614156106d05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106ec57506106ec81336104cd565b61075e5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016106c7565b6107688383611110565b505050565b610777338261117e565b6107935760405162461bcd60e51b81526004016106c7906120b7565b6107688383836111fc565b60006107a983610a94565b821061080b5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106c7565b6001600160a01b03831660009081526007602090815260408083208584529091529020548015801561084a57506009546001600160a01b038581169116145b1561085d5761085a83600161211b565b90505b9392505050565b6000546001600160a01b0316331461088e5760405162461bcd60e51b81526004016106c790612133565b4760006108a36000546001600160a01b031690565b90506108b86001600160a01b038216836113a3565b806001600160a01b03167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040516108f391815260200190565b60405180910390a25050565b6000546001600160a01b031633146109295760405162461bcd60e51b81526004016106c790612133565b6109316114bc565b565b61076883838360405180602001604052806000815250610bde565b6000600a5482106109b65760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106c7565b61059382600161211b565b600e80546109ce9061207c565b80601f01602080910402602001604051908101604052809291908181526020018280546109fa9061207c565b8015610a475780601f10610a1c57610100808354040283529160200191610a47565b820191906000526020600020905b815481529060010190602001808311610a2a57829003601f168201915b505050505081565b6000600a54821115610a645761059382611526565b6000828152600360205260409020546001600160a01b03168061059357506009546001600160a01b031692915050565b60006001600160a01b038216610afe5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106c7565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610b445760405162461bcd60e51b81526004016106c790612133565b6109316000611586565b6000546001600160a01b03163314610b785760405162461bcd60e51b81526004016106c790612133565b600f8190556040518181527fae46785019700e30375a5d7b4f91e32f8060ef085111f896ebf889450aa2ab5a9060200160405180910390a150565b6060600280546105a89061207c565b610bcd3383836115d6565b5050565b600061085d3384846116a5565b610be8338361117e565b610c045760405162461bcd60e51b81526004016106c7906120b7565b610c1084848484611815565b50505050565b6060610c2182611848565b610c855760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106c7565b6000610c8f611887565b90506000815111610caf576040518060200160405280600081525061085d565b80610cb984611896565b600e604051602001610ccd93929190612168565b6040516020818303038152906040529392505050565b60006002600b541415610d385760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106c7565b6002600b556000610d48600c5490565b600a54909150610d58848361211b565b1115610d6f5780600a54610d6c919061222c565b92505b600f5460009015610dd15783600f54610d889190612243565b905080341015610dd15760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b60448201526064016106c7565b60008467ffffffffffffffff811115610dec57610dec611e16565b604051908082528060200260200182016040528015610e15578160200160208202803683370190505b50905060005b85811015610e6357610e31600c80546001019055565b600c54828281518110610e4657610e46612262565b602090810291909101015280610e5b81612278565b915050610e1b565b50610e80610e796000546001600160a01b031690565b33836116a5565b9350336001600160a01b03167f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c86610eb7600c5490565b6040805192835260208301919091520160405180910390a281341115610eeb57610eeb610ee4833461222c565b33906113a3565b50506001600b5550919050565b6000546001600160a01b03163314610f225760405162461bcd60e51b81526004016106c790612133565b6001600160a01b038116610f875760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c7565b610f9081611586565b50565b6000610fa08484846116a5565b949350505050565b6000546001600160a01b03163314610fd25760405162461bcd60e51b81526004016106c790612133565b6001600160a01b03811661104e5760405162461bcd60e51b815260206004820152603760248201527f455243373231693a206e6577207072654d696e7452656365697665722063616e60448201527f6e6f7420626520746865206e756c6c206164647265737300000000000000000060648201526084016106c7565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b14806110a157506001600160e01b03198216635b5e139f60e01b145b8061059357506301ffc9a760e01b6001600160e01b0319831614610593565b6110c981611848565b610f905760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106c7565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061114582610a4f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061118a83610a4f565b9050806001600160a01b0316846001600160a01b031614806111d157506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80610fa05750836001600160a01b03166111ea8461062b565b6001600160a01b031614949350505050565b826001600160a01b031661120f82610a4f565b6001600160a01b0316146112735760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106c7565b6001600160a01b0382166112d55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106c7565b6112e0838383611994565b6112eb600082611110565b6001600160a01b038316600090815260046020526040812080546001929061131490849061222c565b90915550506001600160a01b038216600090815260046020526040812080546001929061134290849061211b565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156113f35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016106c7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611440576040519150601f19603f3d011682016040523d82523d6000602084013e611445565b606091505b50509050806107685760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016106c7565b600a54600980546001600160a01b0390811660009081526004602052604080822085905592549251929091169290916001917fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d9161151c91815260200190565b60405180910390a4565b6000818152600360205260408120546001600160a01b0316806105935760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106c7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b031614156116385760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c7565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b8051600090815b818110156117b15760008482815181106116c8576116c8612262565b60200260200101519050866001600160a01b03166116e582610a4f565b6001600160a01b03161415806117025750611700878261117e565b155b8061171457506001600160a01b038616155b1561171f575061179f565b61172a878783611994565b611735600082611110565b61174060018561211b565b60008281526003602052604080822080546001600160a01b0319166001600160a01b038b8116918217909255915193975084939192908b16917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505b806117a981612278565b9150506116ac565b506001600160a01b038516600090815260046020526040812080548492906117da90849061222c565b90915550506001600160a01b0384166000908152600460205260408120805484929061180790849061211b565b909155509195945050505050565b6118208484846111fc565b61182c848484846119c1565b610c105760405162461bcd60e51b81526004016106c790612293565b6000600a54821115611873576000828152600360205260409020546001600160a01b03161515610593565b600082118015610593575050600a54101590565b6060600d80546105a89061207c565b6060816118ba5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118e457806118ce81612278565b91506118dd9050600a836122fb565b91506118be565b60008167ffffffffffffffff8111156118ff576118ff611e16565b6040519080825280601f01601f191660200182016040528015611929576020820181803683370190505b5090505b8415610fa05761193e60018361222c565b915061194b600a8661230f565b61195690603061211b565b60f81b81838151811061196b5761196b612262565b60200101906001600160f81b031916908160001a90535061198d600a866122fb565b945061192d565b816001600160a01b0316836001600160a01b031614610768576119b78382611ace565b6107688282611c42565b60006001600160a01b0384163b15611ac357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a05903390899088908890600401612323565b602060405180830381600087803b158015611a1f57600080fd5b505af1925050508015611a4f575060408051601f3d908101601f19168201909252611a4c91810190612360565b60015b611aa9573d808015611a7d576040519150601f19603f3d011682016040523d82523d6000602084013e611a82565b606091505b508051611aa15760405162461bcd60e51b81526004016106c790612293565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fa0565b506001949350505050565b60006001611adb84610a94565b611ae5919061222c565b6009549091506000906001600160a01b0316611b0084610a4f565b6001600160a01b0316148015611b2b57506000838152600360205260409020546001600160a01b0316155b611b4357600083815260086020526040902054611b4e565b611b4e60018461222c565b9050818114611c0f576009546000906001600160a01b0316611b6f85610a4f565b6001600160a01b0316148015611ba657506001600160a01b0385166000908152600760209081526040808320868452909152902054155b611bd3576001600160a01b0385166000908152600760209081526040808320868452909152902054611bdc565b611bdc85610a94565b6001600160a01b038616600090815260076020908152604080832086845282528083208490559282526008905220829055505b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b6000611c4d83610a94565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160e01b031981168114610f9057600080fd5b600060208284031215611cae57600080fd5b813561085d81611c86565b60005b83811015611cd4578181015183820152602001611cbc565b83811115610c105750506000910152565b60008151808452611cfd816020860160208601611cb9565b601f01601f19169290920160200192915050565b60208152600061085d6020830184611ce5565b600060208284031215611d3657600080fd5b5035919050565b80356001600160a01b0381168114611d5457600080fd5b919050565b60008060408385031215611d6c57600080fd5b611d7583611d3d565b946020939093013593505050565b600080600060608486031215611d9857600080fd5b611da184611d3d565b9250611daf60208501611d3d565b9150604084013590509250925092565b600060208284031215611dd157600080fd5b61085d82611d3d565b60008060408385031215611ded57600080fd5b611df683611d3d565b915060208301358015158114611e0b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611e5557611e55611e16565b604052919050565b600082601f830112611e6e57600080fd5b8135602067ffffffffffffffff821115611e8a57611e8a611e16565b8160051b611e99828201611e2c565b9283528481018201928281019087851115611eb357600080fd5b83870192505b84831015611ed257823582529183019190830190611eb9565b979650505050505050565b60008060408385031215611ef057600080fd5b611ef983611d3d565b9150602083013567ffffffffffffffff811115611f1557600080fd5b611f2185828601611e5d565b9150509250929050565b60008060008060808587031215611f4157600080fd5b611f4a85611d3d565b93506020611f59818701611d3d565b935060408601359250606086013567ffffffffffffffff80821115611f7d57600080fd5b818801915088601f830112611f9157600080fd5b813581811115611fa357611fa3611e16565b611fb5601f8201601f19168501611e2c565b91508082528984828501011115611fcb57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611ffe57600080fd5b61200783611d3d565b915061201560208401611d3d565b90509250929050565b60008060006060848603121561203357600080fd5b61203c84611d3d565b925061204a60208501611d3d565b9150604084013567ffffffffffffffff81111561206657600080fd5b61207286828701611e5d565b9150509250925092565b600181811c9082168061209057607f821691505b602082108114156120b157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561212e5761212e612105565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008451602061217b8285838a01611cb9565b85519184019161218e8184848a01611cb9565b8554920191600090600181811c90808316806121ab57607f831692505b8583108114156121c957634e487b7160e01b85526022600452602485fd5b8080156121dd57600181146121ee5761221b565b60ff1985168852838801955061221b565b60008b81526020902060005b858110156122135781548a8201529084019088016121fa565b505083880195505b50939b9a5050505050505050505050565b60008282101561223e5761223e612105565b500390565b600081600019048311821515161561225d5761225d612105565b500290565b634e487b7160e01b600052603260045260246000fd5b600060001982141561228c5761228c612105565b5060010190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261230a5761230a6122e5565b500490565b60008261231e5761231e6122e5565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061235690830184611ce5565b9695505050505050565b60006020828403121561237257600080fd5b815161085d81611c8656fea2646970667358221220b1d22232397c83056b87b990cfe8c6b1d83c6d2c9bb42a4d3e6826e4e0a6d5a564736f6c63430008090033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001388000000000000000000000000000000000000000000000000000000000000000a5375646f57617373696500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000757415353494553000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d526374586558546b7a79734b5053347a3879446d66364c3648615635526a37696a794a44344c5a35777a6b4a2f00000000000000000000

Deployed Bytecode

0x6080604052600436106101c25760003560e01c80636352211e116100f7578063ac3c995211610095578063efef39a111610064578063efef39a1146104fb578063f2fde38b1461050e578063f3993d111461052e578063feff65491461054e57600080fd5b8063ac3c995214610452578063b88d4fde14610472578063c87b56dd14610492578063e985e9c5146104b257600080fd5b80638da5cb5b116100d15780638da5cb5b146103df57806391b7f5ed146103fd57806395d89b411461041d578063a22cb4651461043257600080fd5b80636352211e1461038a57806370a08231146103aa578063715018a6146103ca57600080fd5b806335ebb7f71161016457806342842e0e1161013e57806342842e0e1461031f5780634f6ccce71461033f57806353093df01461035f5780635503a0e81461037557600080fd5b806335ebb7f7146102d75780633ccfd60b146102f55780633cd29ac81461030a57600080fd5b8063095ea7b3116101a0578063095ea7b31461025657806318160ddd1461027857806323b872dd146102975780632f745c59146102b757600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611c9c565b61056e565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610599565b6040516101f39190611d11565b34801561022a57600080fd5b5061023e610239366004611d24565b61062b565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611d59565b610652565b005b34801561028457600080fd5b50600a545b6040519081526020016101f3565b3480156102a357600080fd5b506102766102b2366004611d83565b61076d565b3480156102c357600080fd5b506102896102d2366004611d59565b61079e565b3480156102e357600080fd5b506009546001600160a01b031661023e565b34801561030157600080fd5b50610276610864565b34801561031657600080fd5b506102766108ff565b34801561032b57600080fd5b5061027661033a366004611d83565b610933565b34801561034b57600080fd5b5061028961035a366004611d24565b61094e565b34801561036b57600080fd5b50610289600f5481565b34801561038157600080fd5b506102116109c1565b34801561039657600080fd5b5061023e6103a5366004611d24565b610a4f565b3480156103b657600080fd5b506102896103c5366004611dbf565b610a94565b3480156103d657600080fd5b50610276610b1a565b3480156103eb57600080fd5b506000546001600160a01b031661023e565b34801561040957600080fd5b50610276610418366004611d24565b610b4e565b34801561042957600080fd5b50610211610bb3565b34801561043e57600080fd5b5061027661044d366004611dda565b610bc2565b34801561045e57600080fd5b5061028961046d366004611edd565b610bd1565b34801561047e57600080fd5b5061027661048d366004611f2b565b610bde565b34801561049e57600080fd5b506102116104ad366004611d24565b610c16565b3480156104be57600080fd5b506101e76104cd366004611feb565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b610289610509366004611d24565b610ce3565b34801561051a57600080fd5b50610276610529366004611dbf565b610ef8565b34801561053a57600080fd5b5061028961054936600461201e565b610f93565b34801561055a57600080fd5b50610276610569366004611dbf565b610fa8565b60006001600160e01b0319821663780e9d6360e01b1480610593575061059382611070565b92915050565b6060600180546105a89061207c565b80601f01602080910402602001604051908101604052809291908181526020018280546105d49061207c565b80156106215780601f106105f657610100808354040283529160200191610621565b820191906000526020600020905b81548152906001019060200180831161060457829003601f168201915b5050505050905090565b6000610636826110c0565b506000908152600560205260409020546001600160a01b031690565b600061065d82610a4f565b9050806001600160a01b0316836001600160a01b031614156106d05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106ec57506106ec81336104cd565b61075e5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016106c7565b6107688383611110565b505050565b610777338261117e565b6107935760405162461bcd60e51b81526004016106c7906120b7565b6107688383836111fc565b60006107a983610a94565b821061080b5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106c7565b6001600160a01b03831660009081526007602090815260408083208584529091529020548015801561084a57506009546001600160a01b038581169116145b1561085d5761085a83600161211b565b90505b9392505050565b6000546001600160a01b0316331461088e5760405162461bcd60e51b81526004016106c790612133565b4760006108a36000546001600160a01b031690565b90506108b86001600160a01b038216836113a3565b806001600160a01b03167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040516108f391815260200190565b60405180910390a25050565b6000546001600160a01b031633146109295760405162461bcd60e51b81526004016106c790612133565b6109316114bc565b565b61076883838360405180602001604052806000815250610bde565b6000600a5482106109b65760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106c7565b61059382600161211b565b600e80546109ce9061207c565b80601f01602080910402602001604051908101604052809291908181526020018280546109fa9061207c565b8015610a475780601f10610a1c57610100808354040283529160200191610a47565b820191906000526020600020905b815481529060010190602001808311610a2a57829003601f168201915b505050505081565b6000600a54821115610a645761059382611526565b6000828152600360205260409020546001600160a01b03168061059357506009546001600160a01b031692915050565b60006001600160a01b038216610afe5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106c7565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610b445760405162461bcd60e51b81526004016106c790612133565b6109316000611586565b6000546001600160a01b03163314610b785760405162461bcd60e51b81526004016106c790612133565b600f8190556040518181527fae46785019700e30375a5d7b4f91e32f8060ef085111f896ebf889450aa2ab5a9060200160405180910390a150565b6060600280546105a89061207c565b610bcd3383836115d6565b5050565b600061085d3384846116a5565b610be8338361117e565b610c045760405162461bcd60e51b81526004016106c7906120b7565b610c1084848484611815565b50505050565b6060610c2182611848565b610c855760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106c7565b6000610c8f611887565b90506000815111610caf576040518060200160405280600081525061085d565b80610cb984611896565b600e604051602001610ccd93929190612168565b6040516020818303038152906040529392505050565b60006002600b541415610d385760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106c7565b6002600b556000610d48600c5490565b600a54909150610d58848361211b565b1115610d6f5780600a54610d6c919061222c565b92505b600f5460009015610dd15783600f54610d889190612243565b905080341015610dd15760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b60448201526064016106c7565b60008467ffffffffffffffff811115610dec57610dec611e16565b604051908082528060200260200182016040528015610e15578160200160208202803683370190505b50905060005b85811015610e6357610e31600c80546001019055565b600c54828281518110610e4657610e46612262565b602090810291909101015280610e5b81612278565b915050610e1b565b50610e80610e796000546001600160a01b031690565b33836116a5565b9350336001600160a01b03167f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c86610eb7600c5490565b6040805192835260208301919091520160405180910390a281341115610eeb57610eeb610ee4833461222c565b33906113a3565b50506001600b5550919050565b6000546001600160a01b03163314610f225760405162461bcd60e51b81526004016106c790612133565b6001600160a01b038116610f875760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c7565b610f9081611586565b50565b6000610fa08484846116a5565b949350505050565b6000546001600160a01b03163314610fd25760405162461bcd60e51b81526004016106c790612133565b6001600160a01b03811661104e5760405162461bcd60e51b815260206004820152603760248201527f455243373231693a206e6577207072654d696e7452656365697665722063616e60448201527f6e6f7420626520746865206e756c6c206164647265737300000000000000000060648201526084016106c7565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b14806110a157506001600160e01b03198216635b5e139f60e01b145b8061059357506301ffc9a760e01b6001600160e01b0319831614610593565b6110c981611848565b610f905760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106c7565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061114582610a4f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061118a83610a4f565b9050806001600160a01b0316846001600160a01b031614806111d157506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80610fa05750836001600160a01b03166111ea8461062b565b6001600160a01b031614949350505050565b826001600160a01b031661120f82610a4f565b6001600160a01b0316146112735760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106c7565b6001600160a01b0382166112d55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106c7565b6112e0838383611994565b6112eb600082611110565b6001600160a01b038316600090815260046020526040812080546001929061131490849061222c565b90915550506001600160a01b038216600090815260046020526040812080546001929061134290849061211b565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156113f35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016106c7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611440576040519150601f19603f3d011682016040523d82523d6000602084013e611445565b606091505b50509050806107685760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016106c7565b600a54600980546001600160a01b0390811660009081526004602052604080822085905592549251929091169290916001917fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d9161151c91815260200190565b60405180910390a4565b6000818152600360205260408120546001600160a01b0316806105935760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106c7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b031614156116385760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c7565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b8051600090815b818110156117b15760008482815181106116c8576116c8612262565b60200260200101519050866001600160a01b03166116e582610a4f565b6001600160a01b03161415806117025750611700878261117e565b155b8061171457506001600160a01b038616155b1561171f575061179f565b61172a878783611994565b611735600082611110565b61174060018561211b565b60008281526003602052604080822080546001600160a01b0319166001600160a01b038b8116918217909255915193975084939192908b16917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505b806117a981612278565b9150506116ac565b506001600160a01b038516600090815260046020526040812080548492906117da90849061222c565b90915550506001600160a01b0384166000908152600460205260408120805484929061180790849061211b565b909155509195945050505050565b6118208484846111fc565b61182c848484846119c1565b610c105760405162461bcd60e51b81526004016106c790612293565b6000600a54821115611873576000828152600360205260409020546001600160a01b03161515610593565b600082118015610593575050600a54101590565b6060600d80546105a89061207c565b6060816118ba5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118e457806118ce81612278565b91506118dd9050600a836122fb565b91506118be565b60008167ffffffffffffffff8111156118ff576118ff611e16565b6040519080825280601f01601f191660200182016040528015611929576020820181803683370190505b5090505b8415610fa05761193e60018361222c565b915061194b600a8661230f565b61195690603061211b565b60f81b81838151811061196b5761196b612262565b60200101906001600160f81b031916908160001a90535061198d600a866122fb565b945061192d565b816001600160a01b0316836001600160a01b031614610768576119b78382611ace565b6107688282611c42565b60006001600160a01b0384163b15611ac357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a05903390899088908890600401612323565b602060405180830381600087803b158015611a1f57600080fd5b505af1925050508015611a4f575060408051601f3d908101601f19168201909252611a4c91810190612360565b60015b611aa9573d808015611a7d576040519150601f19603f3d011682016040523d82523d6000602084013e611a82565b606091505b508051611aa15760405162461bcd60e51b81526004016106c790612293565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fa0565b506001949350505050565b60006001611adb84610a94565b611ae5919061222c565b6009549091506000906001600160a01b0316611b0084610a4f565b6001600160a01b0316148015611b2b57506000838152600360205260409020546001600160a01b0316155b611b4357600083815260086020526040902054611b4e565b611b4e60018461222c565b9050818114611c0f576009546000906001600160a01b0316611b6f85610a4f565b6001600160a01b0316148015611ba657506001600160a01b0385166000908152600760209081526040808320868452909152902054155b611bd3576001600160a01b0385166000908152600760209081526040808320868452909152902054611bdc565b611bdc85610a94565b6001600160a01b038616600090815260076020908152604080832086845282528083208490559282526008905220829055505b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b6000611c4d83610a94565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160e01b031981168114610f9057600080fd5b600060208284031215611cae57600080fd5b813561085d81611c86565b60005b83811015611cd4578181015183820152602001611cbc565b83811115610c105750506000910152565b60008151808452611cfd816020860160208601611cb9565b601f01601f19169290920160200192915050565b60208152600061085d6020830184611ce5565b600060208284031215611d3657600080fd5b5035919050565b80356001600160a01b0381168114611d5457600080fd5b919050565b60008060408385031215611d6c57600080fd5b611d7583611d3d565b946020939093013593505050565b600080600060608486031215611d9857600080fd5b611da184611d3d565b9250611daf60208501611d3d565b9150604084013590509250925092565b600060208284031215611dd157600080fd5b61085d82611d3d565b60008060408385031215611ded57600080fd5b611df683611d3d565b915060208301358015158114611e0b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611e5557611e55611e16565b604052919050565b600082601f830112611e6e57600080fd5b8135602067ffffffffffffffff821115611e8a57611e8a611e16565b8160051b611e99828201611e2c565b9283528481018201928281019087851115611eb357600080fd5b83870192505b84831015611ed257823582529183019190830190611eb9565b979650505050505050565b60008060408385031215611ef057600080fd5b611ef983611d3d565b9150602083013567ffffffffffffffff811115611f1557600080fd5b611f2185828601611e5d565b9150509250929050565b60008060008060808587031215611f4157600080fd5b611f4a85611d3d565b93506020611f59818701611d3d565b935060408601359250606086013567ffffffffffffffff80821115611f7d57600080fd5b818801915088601f830112611f9157600080fd5b813581811115611fa357611fa3611e16565b611fb5601f8201601f19168501611e2c565b91508082528984828501011115611fcb57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611ffe57600080fd5b61200783611d3d565b915061201560208401611d3d565b90509250929050565b60008060006060848603121561203357600080fd5b61203c84611d3d565b925061204a60208501611d3d565b9150604084013567ffffffffffffffff81111561206657600080fd5b61207286828701611e5d565b9150509250925092565b600181811c9082168061209057607f821691505b602082108114156120b157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561212e5761212e612105565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008451602061217b8285838a01611cb9565b85519184019161218e8184848a01611cb9565b8554920191600090600181811c90808316806121ab57607f831692505b8583108114156121c957634e487b7160e01b85526022600452602485fd5b8080156121dd57600181146121ee5761221b565b60ff1985168852838801955061221b565b60008b81526020902060005b858110156122135781548a8201529084019088016121fa565b505083880195505b50939b9a5050505050505050505050565b60008282101561223e5761223e612105565b500390565b600081600019048311821515161561225d5761225d612105565b500290565b634e487b7160e01b600052603260045260246000fd5b600060001982141561228c5761228c612105565b5060010190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261230a5761230a6122e5565b500490565b60008261231e5761231e6122e5565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061235690830184611ce5565b9695505050505050565b60006020828403121561237257600080fd5b815161085d81611c8656fea2646970667358221220b1d22232397c83056b87b990cfe8c6b1d83c6d2c9bb42a4d3e6826e4e0a6d5a564736f6c63430008090033

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.