ETH Price: $3,334.67 (-1.98%)
 

Overview

Max Total Supply

100 SBNFT-X

Holders

96

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SBNFT-X
0xdffc9812fe60596c997511de0087749a25e52c88
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SBNFTX

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : SBNFTX.sol
// SPDX-License-Identifier: MIT
//------------------------------------------------------------------========================
//-----------------------------------------------------------------=========================
//-----------------------------------------------------------------=========================
//-----------------------------------=+++++=------------------------========================
//--------------------------------++=-:...:-+*--------------==++==-----=====================
//-----------------------------=*=........:::-#------==++==--:..:-=++-------------==========
//----------------------------*=..........::::=*=++==-:.............:+*-----------==========
//--------------------------=*...........::::::=-...................::=*----------==========
//--------------------------*...........::::::::::................:::::#----------==========
//-------------------------#..........:::::::::::::::.........:::::::::#---------===========
//------------------------+=.........:::::::::::::::::::::::::::::::::-#---------===========
//-----------------+=====+#.:::::::::::::::::::::::::::::::::::::::::-%+---------===========
//---------------+*.......::::::::::::::::::::::::::::::::::::::::::::.:-=+=-----===========
//---------------#::....::::::::::::::::::::::::::::::::::::::::::::::.....=*---------------
//---------------*=::::::::::::::::::::::::::::::::::::::::::::::::::.......=+--------------
//----------------+*=::::::::::::::::::::::::::::::::::::::::::::::::.......:*--------------
//----------------++-::::::::::::::::::::::::::-#++-::::::::::::::::::......==--------------
//----------------#...:::::::::::::::-=-===-==+*:::=+++-========::::::::::.:*---------------
//======----------*+==::::::::::::-+*:.......:#:::::::-*:.......==::::--=+++----------------
//========-::::::::--%:::::::::::.==*==+======+:::::::-*=======-=#::: #=--::::::::::::::::::
//========-:::::::::=#=+++++::::..+=::::::::::::::::::::::::::---#::. %:::::::::::::::::::::
//========-:::::::-*-:-==---*::...+-:::::-=-=+::::::::::::-=-::::#:.. #:::::::::::::::::::::
//=======-::::::::*::++--#--#::...*::::::*   -+:::::::::-*. .*-::#:..:*:::::::::::::::::::::
//======-::::::::-*.:*-:-*=-+=:.. #::::::*: .+-:::::::::-+   =-::*-..=+::::::::::::::::::..: 
//=====-::::::::::#.::++=----*--=+=:::::::-==::::::::::::=====::::*--*::::::::::::::::::::::      
//====-:::::::::::*:::#--==---==----::::::::::::::::::::::::::::::*--:::::::::::::::::::::::      
//===-:::::::::::::*-::==-----------+-:::::::::::::::::::::::::::*::::::::::::::::::::::::::        
//===-::::::::::::::=+=++=++--------=*+=-:::::::::::::::::::::::*:::::::::::::::::::::::::::        
//====-::::::::::::::::::::=*----------=+++++:::::::::::::::::++:::::::::::::::.....::::::::        
//======---::::::::::::::::::+*-------------::::::::::::::::=+-:::::::::::::.:::::::::::::::              
//===========---:::::::::::::::+*+-------------::::::::::-=+-::::::::::::::.::::::::::::::::                
//===============--::::::::::::::=#*+=--------------:-=++*+++=-::::::::::::.::::::::::::::::                
//=================-::::::::-=+++-:::-+++*++++++=====:*::::::-=++-:::::::::::::.............
//=================-:::::=++=::::::::::::-*-:........*-  ...::::.*-:::::::::::::::::::::::::
//=================-::::-#:::::::::::::::::++=-:::=++........::::.*-::::::::::::::::::::::::
//================-:::::*:  .:::::::::::::::::-===:::::::::::--:...*::::::::::::::::::::::::
//=============--::::::-*.     .:::-=:::::::::::::::::::::::::*::. .*:::::::::::::::::::::::
//=======-----:::::::::*-::::.....:==:::::::::::::::::::::....#:.   :*::::::::::::::::::::::
//--::::::::::::::::::-*::::.......*-:::::::::................*:..   -+:::::::::::::::::::::
//::::::::::::::::::::#-::::.......#......:::...............  ==::.-==%:::::::::::::::-----:
//::::::::::::::::::::**+===------:#     ................     .#++=-:.+=:::::::::::---------
//::::::::::::::::::::=+::::::-----+...        .....           #::.....*-:::::::::----------
//::::::::::::::::::::#::.........-+:::::::::......            +:.......#::::::::-----------
//:::::::::::::::::::-*::.........+-:::::::::..................-=:......:*:::::::-----------
//:::::::::::::::::::#-:......... *::::::::::...................*:...... ==::::::-----------


pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract SBNFTX is ERC721, Ownable, ReentrancyGuard {
    string private _collectionURI;
    string public baseURI;

    uint256 public supply = 0;
    uint256 public cost = 0.00 ether;

    mapping(uint256 => string) internal tokenUris;
    mapping(address => uint256) internal walletCap;

    using Counters for Counters.Counter;
    Counters.Counter private _tokenSupply;

    constructor(string memory _baseURI, string memory collectionURI) ERC721("SmallBrosNFT Exclusive", "SBNFT-X") {
        baseURI = _baseURI;
        _collectionURI = collectionURI;
    }

    // ============ PUBLIC READ-ONLY FUNCTIONS ============
    function tokenURI(uint256 tokenId)
      public
      view
      virtual
      override
      returns (string memory)
    {
      require(_exists(tokenId), "ERC721Metadata: query for nonexistent token");
      
      // Custom tokenURI exists
      if (bytes(tokenUris[tokenId]).length != 0) {
        return tokenUris[tokenId];
      }
      else {
        return string(abi.encodePacked(baseURI, Strings.toString(tokenId), ".json"));
      }
    }

    function totalSupply() public view returns (uint256) {
        return _tokenSupply.current();
    }

    function contractURI() public view returns (string memory) {
        return _collectionURI;
    }

    function numMintedForAddress(address addr) external view returns (uint256) {
        return walletCap[addr];
    }

    // ============ OWNER-ONLY ADMIN FUNCTIONS ============
    function mintToAddress(address _to, uint256 _mintAmount) external onlyOwner {
        require(_mintAmount > 0, "Error: You must mint more than 0 tokens.");
        require(_tokenSupply.current() + _mintAmount <= supply, "Error: Can't mint more than the max supply.");
        for (uint256 i = 0; i < _mintAmount; i++) {
            _tokenSupply.increment();
            _mint(_to, _tokenSupply.current());
        }
    }

    function setBaseURI(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    function setCollectionURI(string memory collectionURI) internal virtual onlyOwner {
        _collectionURI = collectionURI;
    }

    function setTokenURI(uint256 _tokenId, string memory _uri) external onlyOwner {
        tokenUris[_tokenId] = _uri;
    }

    function setSupply(uint256 _newSupply) external onlyOwner {
        require(supply < _newSupply, "Error: You can only increase the supply.");
        supply = _newSupply;
    }

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../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}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: 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 = ERC721.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 = ERC721.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 = ERC721.ownerOf(tokenId);

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

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

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

        _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(ERC721.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(ERC721.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 3 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 4 of 13 : 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 5 of 13 : 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 6 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 8 of 13 : 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 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 13 : 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 11 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 13 : 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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"collectionURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"numMintedForAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600a556000600b553480156200001b57600080fd5b50604051620038773803806200387783398181016040528101906200004191906200045e565b6040518060400160405280601681526020017f536d616c6c42726f734e4654204578636c7573697665000000000000000000008152506040518060400160405280600781526020017f53424e46542d58000000000000000000000000000000000000000000000000008152508160009080519060200190620000c592919062000211565b508060019080519060200190620000de92919062000211565b50505062000101620000f56200014360201b60201c565b6200014b60201b60201c565b600160078190555081600990805190602001906200012192919062000211565b5080600890805190602001906200013a92919062000211565b50505062000548565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021f9062000512565b90600052602060002090601f0160209004810192826200024357600085556200028f565b82601f106200025e57805160ff19168380011785556200028f565b828001600101855582156200028f579182015b828111156200028e57825182559160200191906001019062000271565b5b5090506200029e9190620002a2565b5090565b5b80821115620002bd576000816000905550600101620002a3565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200032a82620002df565b810181811067ffffffffffffffff821117156200034c576200034b620002f0565b5b80604052505050565b600062000361620002c1565b90506200036f82826200031f565b919050565b600067ffffffffffffffff821115620003925762000391620002f0565b5b6200039d82620002df565b9050602081019050919050565b60005b83811015620003ca578082015181840152602081019050620003ad565b83811115620003da576000848401525b50505050565b6000620003f7620003f18462000374565b62000355565b905082815260208101848484011115620004165762000415620002da565b5b62000423848285620003aa565b509392505050565b600082601f830112620004435762000442620002d5565b5b815162000455848260208601620003e0565b91505092915050565b60008060408385031215620004785762000477620002cb565b5b600083015167ffffffffffffffff811115620004995762000498620002d0565b5b620004a7858286016200042b565b925050602083015167ffffffffffffffff811115620004cb57620004ca620002d0565b5b620004d9858286016200042b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200052b57607f821691505b60208210811415620005425762000541620004e3565b5b50919050565b61331f80620005586000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806355f804b3116100f9578063a22cb46511610097578063c87b56dd11610071578063c87b56dd14610480578063e8a3d485146104b0578063e985e9c5146104ce578063f2fde38b146104fe576101a9565b8063a22cb46514610418578063b88d4fde14610434578063c81cd3be14610450576101a9565b806370a08231116100d357806370a08231146103a2578063715018a6146103d25780638da5cb5b146103dc57806395d89b41146103fa576101a9565b806355f804b3146103385780636352211e146103545780636c0360eb14610384576101a9565b8063162094c41161016657806323b872dd1161014057806323b872dd146102da5780633b4c4b25146102f65780633ccfd60b1461031257806342842e0e1461031c576101a9565b8063162094c41461028457806318160ddd146102a057806321ca4236146102be576101a9565b806301ffc9a7146101ae578063047fc9aa146101de57806306fdde03146101fc578063081812fc1461021a578063095ea7b31461024a57806313faede614610266575b600080fd5b6101c860048036038101906101c39190611f07565b61051a565b6040516101d59190611f4f565b60405180910390f35b6101e66105fc565b6040516101f39190611f83565b60405180910390f35b610204610602565b6040516102119190612037565b60405180910390f35b610234600480360381019061022f9190612085565b610694565b60405161024191906120f3565b60405180910390f35b610264600480360381019061025f919061213a565b6106da565b005b61026e6107f2565b60405161027b9190611f83565b60405180910390f35b61029e600480360381019061029991906122af565b6107f8565b005b6102a861082c565b6040516102b59190611f83565b60405180910390f35b6102d860048036038101906102d3919061213a565b61083d565b005b6102f460048036038101906102ef919061230b565b610921565b005b610310600480360381019061030b9190612085565b610981565b005b61031a6109d7565b005b6103366004803603810190610331919061230b565b610a2e565b005b610352600480360381019061034d919061235e565b610a4e565b005b61036e60048036038101906103699190612085565b610a70565b60405161037b91906120f3565b60405180910390f35b61038c610b22565b6040516103999190612037565b60405180910390f35b6103bc60048036038101906103b791906123a7565b610bb0565b6040516103c99190611f83565b60405180910390f35b6103da610c68565b005b6103e4610c7c565b6040516103f191906120f3565b60405180910390f35b610402610ca6565b60405161040f9190612037565b60405180910390f35b610432600480360381019061042d9190612400565b610d38565b005b61044e600480360381019061044991906124e1565b610d4e565b005b61046a600480360381019061046591906123a7565b610db0565b6040516104779190611f83565b60405180910390f35b61049a60048036038101906104959190612085565b610df9565b6040516104a79190612037565b60405180910390f35b6104b8610f40565b6040516104c59190612037565b60405180910390f35b6104e860048036038101906104e39190612564565b610fd2565b6040516104f59190611f4f565b60405180910390f35b610518600480360381019061051391906123a7565b611066565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105f557506105f4826110ea565b5b9050919050565b600a5481565b606060008054610611906125d3565b80601f016020809104026020016040519081016040528092919081815260200182805461063d906125d3565b801561068a5780601f1061065f5761010080835404028352916020019161068a565b820191906000526020600020905b81548152906001019060200180831161066d57829003601f168201915b5050505050905090565b600061069f82611154565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106e582610a70565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074d90612677565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661077561119f565b73ffffffffffffffffffffffffffffffffffffffff1614806107a457506107a38161079e61119f565b610fd2565b5b6107e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da90612709565b60405180910390fd5b6107ed83836111a7565b505050565b600b5481565b610800611260565b80600c60008481526020019081526020016000209080519060200190610827929190611df8565b505050565b6000610838600e6112de565b905090565b610845611260565b60008111610888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087f9061279b565b60405180910390fd5b600a5481610896600e6112de565b6108a091906127ea565b11156108e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d8906128b2565b60405180910390fd5b60005b8181101561091c576108f6600e6112ec565b61090983610904600e6112de565b611302565b8080610914906128d2565b9150506108e4565b505050565b61093261092c61119f565b826114dc565b610971576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109689061298d565b60405180910390fd5b61097c838383611571565b505050565b610989611260565b80600a54106109cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c490612a1f565b60405180910390fd5b80600a8190555050565b6109df611260565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610a2a573d6000803e3d6000fd5b5050565b610a4983838360405180602001604052806000815250610d4e565b505050565b610a56611260565b8060099080519060200190610a6c929190611df8565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1090612a8b565b60405180910390fd5b80915050919050565b60098054610b2f906125d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5b906125d3565b8015610ba85780601f10610b7d57610100808354040283529160200191610ba8565b820191906000526020600020905b815481529060010190602001808311610b8b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1890612b1d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c70611260565b610c7a60006117d8565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610cb5906125d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce1906125d3565b8015610d2e5780601f10610d0357610100808354040283529160200191610d2e565b820191906000526020600020905b815481529060010190602001808311610d1157829003601f168201915b5050505050905090565b610d4a610d4361119f565b838361189e565b5050565b610d5f610d5961119f565b836114dc565b610d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d959061298d565b60405180910390fd5b610daa84848484611a0b565b50505050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060610e0482611a67565b610e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3a90612baf565b60405180910390fd5b6000600c60008481526020019081526020016000208054610e63906125d3565b905014610f0d57600c60008381526020019081526020016000208054610e88906125d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb4906125d3565b8015610f015780601f10610ed657610100808354040283529160200191610f01565b820191906000526020600020905b815481529060010190602001808311610ee457829003601f168201915b50505050509050610f3b565b6009610f1883611ad3565b604051602001610f29929190612ceb565b60405160208183030381529060405290505b919050565b606060088054610f4f906125d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7b906125d3565b8015610fc85780601f10610f9d57610100808354040283529160200191610fc8565b820191906000526020600020905b815481529060010190602001808311610fab57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61106e611260565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d590612d8c565b60405180910390fd5b6110e7816117d8565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61115d81611a67565b61119c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119390612a8b565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661121a83610a70565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61126861119f565b73ffffffffffffffffffffffffffffffffffffffff16611286610c7c565b73ffffffffffffffffffffffffffffffffffffffff16146112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d390612df8565b60405180910390fd5b565b600081600001549050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136990612e64565b60405180910390fd5b61137b81611a67565b156113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b290612ed0565b60405180910390fd5b6113c760008383611c34565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461141791906127ea565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114d860008383611c39565b5050565b6000806114e883610a70565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061152a57506115298185610fd2565b5b8061156857508373ffffffffffffffffffffffffffffffffffffffff1661155084610694565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661159182610a70565b73ffffffffffffffffffffffffffffffffffffffff16146115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115de90612f62565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164e90612ff4565b60405180910390fd5b611662838383611c34565b61166d6000826111a7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116bd9190613014565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461171491906127ea565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46117d3838383611c39565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561190d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190490613094565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119fe9190611f4f565b60405180910390a3505050565b611a16848484611571565b611a2284848484611c3e565b611a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5890613126565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000821415611b1b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c2f565b600082905060005b60008214611b4d578080611b36906128d2565b915050600a82611b469190613175565b9150611b23565b60008167ffffffffffffffff811115611b6957611b68612184565b5b6040519080825280601f01601f191660200182016040528015611b9b5781602001600182028036833780820191505090505b5090505b60008514611c2857600182611bb49190613014565b9150600a85611bc391906131a6565b6030611bcf91906127ea565b60f81b818381518110611be557611be46131d7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c219190613175565b9450611b9f565b8093505050505b919050565b505050565b505050565b6000611c5f8473ffffffffffffffffffffffffffffffffffffffff16611dd5565b15611dc8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c8861119f565b8786866040518563ffffffff1660e01b8152600401611caa949392919061325b565b602060405180830381600087803b158015611cc457600080fd5b505af1925050508015611cf557506040513d601f19601f82011682018060405250810190611cf291906132bc565b60015b611d78573d8060008114611d25576040519150601f19603f3d011682016040523d82523d6000602084013e611d2a565b606091505b50600081511415611d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6790613126565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611dcd565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054611e04906125d3565b90600052602060002090601f016020900481019282611e265760008555611e6d565b82601f10611e3f57805160ff1916838001178555611e6d565b82800160010185558215611e6d579182015b82811115611e6c578251825591602001919060010190611e51565b5b509050611e7a9190611e7e565b5090565b5b80821115611e97576000816000905550600101611e7f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611ee481611eaf565b8114611eef57600080fd5b50565b600081359050611f0181611edb565b92915050565b600060208284031215611f1d57611f1c611ea5565b5b6000611f2b84828501611ef2565b91505092915050565b60008115159050919050565b611f4981611f34565b82525050565b6000602082019050611f646000830184611f40565b92915050565b6000819050919050565b611f7d81611f6a565b82525050565b6000602082019050611f986000830184611f74565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611fd8578082015181840152602081019050611fbd565b83811115611fe7576000848401525b50505050565b6000601f19601f8301169050919050565b600061200982611f9e565b6120138185611fa9565b9350612023818560208601611fba565b61202c81611fed565b840191505092915050565b600060208201905081810360008301526120518184611ffe565b905092915050565b61206281611f6a565b811461206d57600080fd5b50565b60008135905061207f81612059565b92915050565b60006020828403121561209b5761209a611ea5565b5b60006120a984828501612070565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006120dd826120b2565b9050919050565b6120ed816120d2565b82525050565b600060208201905061210860008301846120e4565b92915050565b612117816120d2565b811461212257600080fd5b50565b6000813590506121348161210e565b92915050565b6000806040838503121561215157612150611ea5565b5b600061215f85828601612125565b925050602061217085828601612070565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6121bc82611fed565b810181811067ffffffffffffffff821117156121db576121da612184565b5b80604052505050565b60006121ee611e9b565b90506121fa82826121b3565b919050565b600067ffffffffffffffff82111561221a57612219612184565b5b61222382611fed565b9050602081019050919050565b82818337600083830152505050565b600061225261224d846121ff565b6121e4565b90508281526020810184848401111561226e5761226d61217f565b5b612279848285612230565b509392505050565b600082601f8301126122965761229561217a565b5b81356122a684826020860161223f565b91505092915050565b600080604083850312156122c6576122c5611ea5565b5b60006122d485828601612070565b925050602083013567ffffffffffffffff8111156122f5576122f4611eaa565b5b61230185828601612281565b9150509250929050565b60008060006060848603121561232457612323611ea5565b5b600061233286828701612125565b935050602061234386828701612125565b925050604061235486828701612070565b9150509250925092565b60006020828403121561237457612373611ea5565b5b600082013567ffffffffffffffff81111561239257612391611eaa565b5b61239e84828501612281565b91505092915050565b6000602082840312156123bd576123bc611ea5565b5b60006123cb84828501612125565b91505092915050565b6123dd81611f34565b81146123e857600080fd5b50565b6000813590506123fa816123d4565b92915050565b6000806040838503121561241757612416611ea5565b5b600061242585828601612125565b9250506020612436858286016123eb565b9150509250929050565b600067ffffffffffffffff82111561245b5761245a612184565b5b61246482611fed565b9050602081019050919050565b600061248461247f84612440565b6121e4565b9050828152602081018484840111156124a05761249f61217f565b5b6124ab848285612230565b509392505050565b600082601f8301126124c8576124c761217a565b5b81356124d8848260208601612471565b91505092915050565b600080600080608085870312156124fb576124fa611ea5565b5b600061250987828801612125565b945050602061251a87828801612125565b935050604061252b87828801612070565b925050606085013567ffffffffffffffff81111561254c5761254b611eaa565b5b612558878288016124b3565b91505092959194509250565b6000806040838503121561257b5761257a611ea5565b5b600061258985828601612125565b925050602061259a85828601612125565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806125eb57607f821691505b602082108114156125ff576125fe6125a4565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612661602183611fa9565b915061266c82612605565b604082019050919050565b6000602082019050818103600083015261269081612654565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006126f3603e83611fa9565b91506126fe82612697565b604082019050919050565b60006020820190508181036000830152612722816126e6565b9050919050565b7f4572726f723a20596f75206d757374206d696e74206d6f7265207468616e203060008201527f20746f6b656e732e000000000000000000000000000000000000000000000000602082015250565b6000612785602883611fa9565b915061279082612729565b604082019050919050565b600060208201905081810360008301526127b481612778565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006127f582611f6a565b915061280083611f6a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612835576128346127bb565b5b828201905092915050565b7f4572726f723a2043616e2774206d696e74206d6f7265207468616e207468652060008201527f6d617820737570706c792e000000000000000000000000000000000000000000602082015250565b600061289c602b83611fa9565b91506128a782612840565b604082019050919050565b600060208201905081810360008301526128cb8161288f565b9050919050565b60006128dd82611f6a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156129105761290f6127bb565b5b600182019050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612977602e83611fa9565b91506129828261291b565b604082019050919050565b600060208201905081810360008301526129a68161296a565b9050919050565b7f4572726f723a20596f752063616e206f6e6c7920696e6372656173652074686560008201527f20737570706c792e000000000000000000000000000000000000000000000000602082015250565b6000612a09602883611fa9565b9150612a14826129ad565b604082019050919050565b60006020820190508181036000830152612a38816129fc565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612a75601883611fa9565b9150612a8082612a3f565b602082019050919050565b60006020820190508181036000830152612aa481612a68565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612b07602983611fa9565b9150612b1282612aab565b604082019050919050565b60006020820190508181036000830152612b3681612afa565b9050919050565b7f4552433732314d657461646174613a20717565727920666f72206e6f6e65786960008201527f7374656e7420746f6b656e000000000000000000000000000000000000000000602082015250565b6000612b99602b83611fa9565b9150612ba482612b3d565b604082019050919050565b60006020820190508181036000830152612bc881612b8c565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612bfc816125d3565b612c068186612bcf565b94506001821660008114612c215760018114612c3257612c65565b60ff19831686528186019350612c65565b612c3b85612bda565b60005b83811015612c5d57815481890152600182019150602081019050612c3e565b838801955050505b50505092915050565b6000612c7982611f9e565b612c838185612bcf565b9350612c93818560208601611fba565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612cd5600583612bcf565b9150612ce082612c9f565b600582019050919050565b6000612cf78285612bef565b9150612d038284612c6e565b9150612d0e82612cc8565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612d76602683611fa9565b9150612d8182612d1a565b604082019050919050565b60006020820190508181036000830152612da581612d69565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612de2602083611fa9565b9150612ded82612dac565b602082019050919050565b60006020820190508181036000830152612e1181612dd5565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612e4e602083611fa9565b9150612e5982612e18565b602082019050919050565b60006020820190508181036000830152612e7d81612e41565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612eba601c83611fa9565b9150612ec582612e84565b602082019050919050565b60006020820190508181036000830152612ee981612ead565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612f4c602583611fa9565b9150612f5782612ef0565b604082019050919050565b60006020820190508181036000830152612f7b81612f3f565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612fde602483611fa9565b9150612fe982612f82565b604082019050919050565b6000602082019050818103600083015261300d81612fd1565b9050919050565b600061301f82611f6a565b915061302a83611f6a565b92508282101561303d5761303c6127bb565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061307e601983611fa9565b915061308982613048565b602082019050919050565b600060208201905081810360008301526130ad81613071565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613110603283611fa9565b915061311b826130b4565b604082019050919050565b6000602082019050818103600083015261313f81613103565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061318082611f6a565b915061318b83611f6a565b92508261319b5761319a613146565b5b828204905092915050565b60006131b182611f6a565b91506131bc83611f6a565b9250826131cc576131cb613146565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061322d82613206565b6132378185613211565b9350613247818560208601611fba565b61325081611fed565b840191505092915050565b600060808201905061327060008301876120e4565b61327d60208301866120e4565b61328a6040830185611f74565b818103606083015261329c8184613222565b905095945050505050565b6000815190506132b681611edb565b92915050565b6000602082840312156132d2576132d1611ea5565b5b60006132e0848285016132a7565b9150509291505056fea2646970667358221220ffa6c2944405668e049eac52433f1bcff26abc43b22b5d9af9fb950d11255d1964736f6c63430008090033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d644d4154633635513353566661454364734d4647374b66515a37465955704d3738326159624c7846473946502f000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806355f804b3116100f9578063a22cb46511610097578063c87b56dd11610071578063c87b56dd14610480578063e8a3d485146104b0578063e985e9c5146104ce578063f2fde38b146104fe576101a9565b8063a22cb46514610418578063b88d4fde14610434578063c81cd3be14610450576101a9565b806370a08231116100d357806370a08231146103a2578063715018a6146103d25780638da5cb5b146103dc57806395d89b41146103fa576101a9565b806355f804b3146103385780636352211e146103545780636c0360eb14610384576101a9565b8063162094c41161016657806323b872dd1161014057806323b872dd146102da5780633b4c4b25146102f65780633ccfd60b1461031257806342842e0e1461031c576101a9565b8063162094c41461028457806318160ddd146102a057806321ca4236146102be576101a9565b806301ffc9a7146101ae578063047fc9aa146101de57806306fdde03146101fc578063081812fc1461021a578063095ea7b31461024a57806313faede614610266575b600080fd5b6101c860048036038101906101c39190611f07565b61051a565b6040516101d59190611f4f565b60405180910390f35b6101e66105fc565b6040516101f39190611f83565b60405180910390f35b610204610602565b6040516102119190612037565b60405180910390f35b610234600480360381019061022f9190612085565b610694565b60405161024191906120f3565b60405180910390f35b610264600480360381019061025f919061213a565b6106da565b005b61026e6107f2565b60405161027b9190611f83565b60405180910390f35b61029e600480360381019061029991906122af565b6107f8565b005b6102a861082c565b6040516102b59190611f83565b60405180910390f35b6102d860048036038101906102d3919061213a565b61083d565b005b6102f460048036038101906102ef919061230b565b610921565b005b610310600480360381019061030b9190612085565b610981565b005b61031a6109d7565b005b6103366004803603810190610331919061230b565b610a2e565b005b610352600480360381019061034d919061235e565b610a4e565b005b61036e60048036038101906103699190612085565b610a70565b60405161037b91906120f3565b60405180910390f35b61038c610b22565b6040516103999190612037565b60405180910390f35b6103bc60048036038101906103b791906123a7565b610bb0565b6040516103c99190611f83565b60405180910390f35b6103da610c68565b005b6103e4610c7c565b6040516103f191906120f3565b60405180910390f35b610402610ca6565b60405161040f9190612037565b60405180910390f35b610432600480360381019061042d9190612400565b610d38565b005b61044e600480360381019061044991906124e1565b610d4e565b005b61046a600480360381019061046591906123a7565b610db0565b6040516104779190611f83565b60405180910390f35b61049a60048036038101906104959190612085565b610df9565b6040516104a79190612037565b60405180910390f35b6104b8610f40565b6040516104c59190612037565b60405180910390f35b6104e860048036038101906104e39190612564565b610fd2565b6040516104f59190611f4f565b60405180910390f35b610518600480360381019061051391906123a7565b611066565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105f557506105f4826110ea565b5b9050919050565b600a5481565b606060008054610611906125d3565b80601f016020809104026020016040519081016040528092919081815260200182805461063d906125d3565b801561068a5780601f1061065f5761010080835404028352916020019161068a565b820191906000526020600020905b81548152906001019060200180831161066d57829003601f168201915b5050505050905090565b600061069f82611154565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106e582610a70565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074d90612677565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661077561119f565b73ffffffffffffffffffffffffffffffffffffffff1614806107a457506107a38161079e61119f565b610fd2565b5b6107e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da90612709565b60405180910390fd5b6107ed83836111a7565b505050565b600b5481565b610800611260565b80600c60008481526020019081526020016000209080519060200190610827929190611df8565b505050565b6000610838600e6112de565b905090565b610845611260565b60008111610888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087f9061279b565b60405180910390fd5b600a5481610896600e6112de565b6108a091906127ea565b11156108e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d8906128b2565b60405180910390fd5b60005b8181101561091c576108f6600e6112ec565b61090983610904600e6112de565b611302565b8080610914906128d2565b9150506108e4565b505050565b61093261092c61119f565b826114dc565b610971576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109689061298d565b60405180910390fd5b61097c838383611571565b505050565b610989611260565b80600a54106109cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c490612a1f565b60405180910390fd5b80600a8190555050565b6109df611260565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610a2a573d6000803e3d6000fd5b5050565b610a4983838360405180602001604052806000815250610d4e565b505050565b610a56611260565b8060099080519060200190610a6c929190611df8565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1090612a8b565b60405180910390fd5b80915050919050565b60098054610b2f906125d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5b906125d3565b8015610ba85780601f10610b7d57610100808354040283529160200191610ba8565b820191906000526020600020905b815481529060010190602001808311610b8b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1890612b1d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c70611260565b610c7a60006117d8565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610cb5906125d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce1906125d3565b8015610d2e5780601f10610d0357610100808354040283529160200191610d2e565b820191906000526020600020905b815481529060010190602001808311610d1157829003601f168201915b5050505050905090565b610d4a610d4361119f565b838361189e565b5050565b610d5f610d5961119f565b836114dc565b610d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d959061298d565b60405180910390fd5b610daa84848484611a0b565b50505050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060610e0482611a67565b610e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3a90612baf565b60405180910390fd5b6000600c60008481526020019081526020016000208054610e63906125d3565b905014610f0d57600c60008381526020019081526020016000208054610e88906125d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb4906125d3565b8015610f015780601f10610ed657610100808354040283529160200191610f01565b820191906000526020600020905b815481529060010190602001808311610ee457829003601f168201915b50505050509050610f3b565b6009610f1883611ad3565b604051602001610f29929190612ceb565b60405160208183030381529060405290505b919050565b606060088054610f4f906125d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7b906125d3565b8015610fc85780601f10610f9d57610100808354040283529160200191610fc8565b820191906000526020600020905b815481529060010190602001808311610fab57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61106e611260565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d590612d8c565b60405180910390fd5b6110e7816117d8565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61115d81611a67565b61119c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119390612a8b565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661121a83610a70565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61126861119f565b73ffffffffffffffffffffffffffffffffffffffff16611286610c7c565b73ffffffffffffffffffffffffffffffffffffffff16146112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d390612df8565b60405180910390fd5b565b600081600001549050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136990612e64565b60405180910390fd5b61137b81611a67565b156113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b290612ed0565b60405180910390fd5b6113c760008383611c34565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461141791906127ea565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114d860008383611c39565b5050565b6000806114e883610a70565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061152a57506115298185610fd2565b5b8061156857508373ffffffffffffffffffffffffffffffffffffffff1661155084610694565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661159182610a70565b73ffffffffffffffffffffffffffffffffffffffff16146115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115de90612f62565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164e90612ff4565b60405180910390fd5b611662838383611c34565b61166d6000826111a7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116bd9190613014565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461171491906127ea565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46117d3838383611c39565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561190d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190490613094565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119fe9190611f4f565b60405180910390a3505050565b611a16848484611571565b611a2284848484611c3e565b611a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5890613126565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000821415611b1b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c2f565b600082905060005b60008214611b4d578080611b36906128d2565b915050600a82611b469190613175565b9150611b23565b60008167ffffffffffffffff811115611b6957611b68612184565b5b6040519080825280601f01601f191660200182016040528015611b9b5781602001600182028036833780820191505090505b5090505b60008514611c2857600182611bb49190613014565b9150600a85611bc391906131a6565b6030611bcf91906127ea565b60f81b818381518110611be557611be46131d7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c219190613175565b9450611b9f565b8093505050505b919050565b505050565b505050565b6000611c5f8473ffffffffffffffffffffffffffffffffffffffff16611dd5565b15611dc8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c8861119f565b8786866040518563ffffffff1660e01b8152600401611caa949392919061325b565b602060405180830381600087803b158015611cc457600080fd5b505af1925050508015611cf557506040513d601f19601f82011682018060405250810190611cf291906132bc565b60015b611d78573d8060008114611d25576040519150601f19603f3d011682016040523d82523d6000602084013e611d2a565b606091505b50600081511415611d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6790613126565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611dcd565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054611e04906125d3565b90600052602060002090601f016020900481019282611e265760008555611e6d565b82601f10611e3f57805160ff1916838001178555611e6d565b82800160010185558215611e6d579182015b82811115611e6c578251825591602001919060010190611e51565b5b509050611e7a9190611e7e565b5090565b5b80821115611e97576000816000905550600101611e7f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611ee481611eaf565b8114611eef57600080fd5b50565b600081359050611f0181611edb565b92915050565b600060208284031215611f1d57611f1c611ea5565b5b6000611f2b84828501611ef2565b91505092915050565b60008115159050919050565b611f4981611f34565b82525050565b6000602082019050611f646000830184611f40565b92915050565b6000819050919050565b611f7d81611f6a565b82525050565b6000602082019050611f986000830184611f74565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611fd8578082015181840152602081019050611fbd565b83811115611fe7576000848401525b50505050565b6000601f19601f8301169050919050565b600061200982611f9e565b6120138185611fa9565b9350612023818560208601611fba565b61202c81611fed565b840191505092915050565b600060208201905081810360008301526120518184611ffe565b905092915050565b61206281611f6a565b811461206d57600080fd5b50565b60008135905061207f81612059565b92915050565b60006020828403121561209b5761209a611ea5565b5b60006120a984828501612070565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006120dd826120b2565b9050919050565b6120ed816120d2565b82525050565b600060208201905061210860008301846120e4565b92915050565b612117816120d2565b811461212257600080fd5b50565b6000813590506121348161210e565b92915050565b6000806040838503121561215157612150611ea5565b5b600061215f85828601612125565b925050602061217085828601612070565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6121bc82611fed565b810181811067ffffffffffffffff821117156121db576121da612184565b5b80604052505050565b60006121ee611e9b565b90506121fa82826121b3565b919050565b600067ffffffffffffffff82111561221a57612219612184565b5b61222382611fed565b9050602081019050919050565b82818337600083830152505050565b600061225261224d846121ff565b6121e4565b90508281526020810184848401111561226e5761226d61217f565b5b612279848285612230565b509392505050565b600082601f8301126122965761229561217a565b5b81356122a684826020860161223f565b91505092915050565b600080604083850312156122c6576122c5611ea5565b5b60006122d485828601612070565b925050602083013567ffffffffffffffff8111156122f5576122f4611eaa565b5b61230185828601612281565b9150509250929050565b60008060006060848603121561232457612323611ea5565b5b600061233286828701612125565b935050602061234386828701612125565b925050604061235486828701612070565b9150509250925092565b60006020828403121561237457612373611ea5565b5b600082013567ffffffffffffffff81111561239257612391611eaa565b5b61239e84828501612281565b91505092915050565b6000602082840312156123bd576123bc611ea5565b5b60006123cb84828501612125565b91505092915050565b6123dd81611f34565b81146123e857600080fd5b50565b6000813590506123fa816123d4565b92915050565b6000806040838503121561241757612416611ea5565b5b600061242585828601612125565b9250506020612436858286016123eb565b9150509250929050565b600067ffffffffffffffff82111561245b5761245a612184565b5b61246482611fed565b9050602081019050919050565b600061248461247f84612440565b6121e4565b9050828152602081018484840111156124a05761249f61217f565b5b6124ab848285612230565b509392505050565b600082601f8301126124c8576124c761217a565b5b81356124d8848260208601612471565b91505092915050565b600080600080608085870312156124fb576124fa611ea5565b5b600061250987828801612125565b945050602061251a87828801612125565b935050604061252b87828801612070565b925050606085013567ffffffffffffffff81111561254c5761254b611eaa565b5b612558878288016124b3565b91505092959194509250565b6000806040838503121561257b5761257a611ea5565b5b600061258985828601612125565b925050602061259a85828601612125565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806125eb57607f821691505b602082108114156125ff576125fe6125a4565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612661602183611fa9565b915061266c82612605565b604082019050919050565b6000602082019050818103600083015261269081612654565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006126f3603e83611fa9565b91506126fe82612697565b604082019050919050565b60006020820190508181036000830152612722816126e6565b9050919050565b7f4572726f723a20596f75206d757374206d696e74206d6f7265207468616e203060008201527f20746f6b656e732e000000000000000000000000000000000000000000000000602082015250565b6000612785602883611fa9565b915061279082612729565b604082019050919050565b600060208201905081810360008301526127b481612778565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006127f582611f6a565b915061280083611f6a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612835576128346127bb565b5b828201905092915050565b7f4572726f723a2043616e2774206d696e74206d6f7265207468616e207468652060008201527f6d617820737570706c792e000000000000000000000000000000000000000000602082015250565b600061289c602b83611fa9565b91506128a782612840565b604082019050919050565b600060208201905081810360008301526128cb8161288f565b9050919050565b60006128dd82611f6a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156129105761290f6127bb565b5b600182019050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612977602e83611fa9565b91506129828261291b565b604082019050919050565b600060208201905081810360008301526129a68161296a565b9050919050565b7f4572726f723a20596f752063616e206f6e6c7920696e6372656173652074686560008201527f20737570706c792e000000000000000000000000000000000000000000000000602082015250565b6000612a09602883611fa9565b9150612a14826129ad565b604082019050919050565b60006020820190508181036000830152612a38816129fc565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612a75601883611fa9565b9150612a8082612a3f565b602082019050919050565b60006020820190508181036000830152612aa481612a68565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612b07602983611fa9565b9150612b1282612aab565b604082019050919050565b60006020820190508181036000830152612b3681612afa565b9050919050565b7f4552433732314d657461646174613a20717565727920666f72206e6f6e65786960008201527f7374656e7420746f6b656e000000000000000000000000000000000000000000602082015250565b6000612b99602b83611fa9565b9150612ba482612b3d565b604082019050919050565b60006020820190508181036000830152612bc881612b8c565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612bfc816125d3565b612c068186612bcf565b94506001821660008114612c215760018114612c3257612c65565b60ff19831686528186019350612c65565b612c3b85612bda565b60005b83811015612c5d57815481890152600182019150602081019050612c3e565b838801955050505b50505092915050565b6000612c7982611f9e565b612c838185612bcf565b9350612c93818560208601611fba565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612cd5600583612bcf565b9150612ce082612c9f565b600582019050919050565b6000612cf78285612bef565b9150612d038284612c6e565b9150612d0e82612cc8565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612d76602683611fa9565b9150612d8182612d1a565b604082019050919050565b60006020820190508181036000830152612da581612d69565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612de2602083611fa9565b9150612ded82612dac565b602082019050919050565b60006020820190508181036000830152612e1181612dd5565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612e4e602083611fa9565b9150612e5982612e18565b602082019050919050565b60006020820190508181036000830152612e7d81612e41565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612eba601c83611fa9565b9150612ec582612e84565b602082019050919050565b60006020820190508181036000830152612ee981612ead565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612f4c602583611fa9565b9150612f5782612ef0565b604082019050919050565b60006020820190508181036000830152612f7b81612f3f565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612fde602483611fa9565b9150612fe982612f82565b604082019050919050565b6000602082019050818103600083015261300d81612fd1565b9050919050565b600061301f82611f6a565b915061302a83611f6a565b92508282101561303d5761303c6127bb565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061307e601983611fa9565b915061308982613048565b602082019050919050565b600060208201905081810360008301526130ad81613071565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613110603283611fa9565b915061311b826130b4565b604082019050919050565b6000602082019050818103600083015261313f81613103565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061318082611f6a565b915061318b83611f6a565b92508261319b5761319a613146565b5b828204905092915050565b60006131b182611f6a565b91506131bc83611f6a565b9250826131cc576131cb613146565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061322d82613206565b6132378185613211565b9350613247818560208601611fba565b61325081611fed565b840191505092915050565b600060808201905061327060008301876120e4565b61327d60208301866120e4565b61328a6040830185611f74565b818103606083015261329c8184613222565b905095945050505050565b6000815190506132b681611edb565b92915050565b6000602082840312156132d2576132d1611ea5565b5b60006132e0848285016132a7565b9150509291505056fea2646970667358221220ffa6c2944405668e049eac52433f1bcff26abc43b22b5d9af9fb950d11255d1964736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d644d4154633635513353566661454364734d4647374b66515a37465955704d3738326159624c7846473946502f000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmdMATc65Q3SVfaECdsMFG7KfQZ7FYUpM782aYbLxFG9FP/
Arg [1] : collectionURI (string):

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d644d4154633635513353566661454364734d4647374b66
Arg [4] : 515a37465955704d3738326159624c7846473946502f00000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000


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.