Contract 0xcD3718E5216bD5ad6A71fBaC30a5f9F0BA1e725c

 
 
Txn Hash
Method
Block
From
To
Value
0x103089d70fb1b9ddc11b1b1e69651ae2bdf9f291fad337dfe11134c787f57d1bSet Approval For...151211202022-07-11 11:31:09151 days 15 hrs ago0x56be6f37c1309842a8f4884eecc0c206b6bb4a63 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.00066456 14.4065859
0x2633a4e7a214acbed9b3a4c78d825c596bdce4b6910222c58870b44ef7c1b5ccTransfer From151179572022-07-10 23:55:08152 days 2 hrs agoENS Name saulsacca.eth IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.0007028 10.58452587
0x60932ea5a7f325c6f6ae01c725b572852cd2d4ebf322fdb93b553bb1a05b2021Set Approval For...150655362022-07-02 21:34:27160 days 5 hrs agoENS Name saulsacca.eth IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.00143975 31.21154309
0xd963e9016816c93d2e0e6e8acc1f899bb86edb603bf352453630c96269a32adbSet Approval For...150544632022-07-01 4:33:29161 days 22 hrs ago0xf5f75acb4348daedc243d3ef32a8340787388fe2 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.00111531 24.17820547
0x1b2ee79c77e71f4925e409067d71c27e6c13409c85b307be7c047e97affd5558Withdraw147494622022-05-10 15:49:42213 days 10 hrs ago0xbd45f1464a89e5202d38aeeac5979701d2e7df20 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.00142461 43.57291558
0xaf47e467219d64d0eeba053f66f00912668aa0f6ab075f59be5e53db46733ac7Transfer From147189672022-05-05 19:11:21218 days 7 hrs agoENS Name avila.eth IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.00394157 79.9524947
0x776835b5ff79fe1404978b86b45c5ececf9fef64366b926080d51d162d1f53e8Transfer From147153812022-05-05 5:19:45218 days 21 hrs ago0xac17251e92825af3e7cf91f4622e89d6fb913804 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.00204214 45.89195816
0x30c568608a8b1e0f93c343605bfde38482a31fc20a9d52b5f045362ebf05776aPublic Mint146758532022-04-28 23:48:28225 days 2 hrs ago0xd5bfefaf42c9b557c4207963d8a0c16e5c2846e1 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.12 Ether0.00245196 36.51092908
0xf530858b2d6d7f10fd99536dddbcf23d7e2f45d2f01ea10094af54ca7a08bf82Transfer From146683842022-04-27 19:29:02226 days 7 hrs ago0xbd45f1464a89e5202d38aeeac5979701d2e7df20 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.01052954 96.87511267
0xec7ea5514e9c4497443f87614c2a6cd8068e6d6ec8cbe7a65badecd7a9d88ce1Reserve146683812022-04-27 19:28:13226 days 7 hrs ago0xbd45f1464a89e5202d38aeeac5979701d2e7df20 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.00816669 98.98788637
0x22a8b58e1914ddfbcda9b141e30ec91bc6a6f98830bfbdeefb28efa14a7a5dc9Transfer From146676602022-04-27 16:44:06226 days 9 hrs ago0xd5bfefaf42c9b557c4207963d8a0c16e5c2846e1 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.00288696 43.47898507
0x804da03e86bf1214392b8e843224c4e42c7b101960239d82ddb997592d68c461Whitelist Mint146637172022-04-27 1:59:54227 days 41 mins ago0x8695151ade104e7580c0f4b950a878eb17194105 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.08 Ether0.00317625 33.46276955
0xdc302150ef04535accc459c52589960f2300f5b7d585d6bc0a28a264427ee54aPublic Mint146622932022-04-26 20:45:50227 days 5 hrs ago0x75e9561af28047111f8fd72c2123bf330cd5acb1 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.12 Ether0.00583219 69.2191031
0x889d750e38103642efaffec8d682127828c24eaea0f59126fe79782fa98426c1Public Mint146622482022-04-26 20:34:23227 days 6 hrs ago0x02b9189443e95401f62bfad25702095ca9099570 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.12 Ether0.00443997 66.11341669
0x5986a12a5f3a9a009a8da071c4996bf5cc5e0c4879a42a460934df1afab58306Transfer From146621832022-04-26 20:21:48227 days 6 hrs ago0xc9f24e5cd2afa220e4f7f9bd835b148e7e574b3f IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.00374918 76.04986521
0xce6ee3114c0aae7c43dc2789b5acc68638d022169cc90c7d4bb4be92750c600eSet Revealed146613442022-04-26 17:04:21227 days 9 hrs ago0xbd45f1464a89e5202d38aeeac5979701d2e7df20 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.00297333 64.80110693
0x6a215b458f33cea922e2a432823df95ddce5cd86ab259e305dd8cbf6c79ec885Set Base URI146611032022-04-26 16:08:40227 days 10 hrs ago0xbd45f1464a89e5202d38aeeac5979701d2e7df20 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0 Ether0.00651149 56.90425093
0x35f300a9994d6be85e62251a6807aef0f25f6c0f246b8b1b4e1a53e584864374Public Mint146576662022-04-26 2:56:43227 days 23 hrs ago0xf2376ca5c5334fa950c8b0c9378e417962cda85c IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.12 Ether0.00250621 37.31877527
0x9fd96d8b6c0541c3d5a502a2f269cb98e25d7e45805b0f79e21e50b4826a62c8Whitelist Mint146569442022-04-26 0:25:48228 days 2 hrs ago0xf2376ca5c5334fa950c8b0c9378e417962cda85c IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.08 Ether0.00479675 50.532067
0x15b85d62083d9272da54320836bb36222735ecfcc69736fe11d060c5d575f909Public Mint146546252022-04-25 15:40:13228 days 11 hrs ago0x02b9189443e95401f62bfad25702095ca9099570 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.12 Ether0.00561232 66.60961323
0x6bedac7e18f3d8148f2f1ab75e40594b9691fd0fb4ef3d824708b67911776d91Public Mint146545532022-04-25 15:23:27228 days 11 hrs ago0xee07d09ad3edcc8eba82a9b850c45dcdf01bd73f IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.12 Ether0.00622084 73.83174184
0xebbefa249315f966abf1e7c4fb674c6f414898dc1c80551501762fe20f2e98f9Public Mint146543952022-04-25 14:44:11228 days 11 hrs ago0x9d4594bbfcfea3b81d5fcabc0bb250bcedad448f IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.24 Ether0.00476237 55.23453415
0x46e74f19f0eaced5a0405f5128e04c1d7a59a880921d841ea441b6d01b30d703Whitelist Mint146539232022-04-25 12:57:15228 days 13 hrs ago0x7c1c66caadb5f456cb213c339538fed0b08ec845 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.08 Ether0.00358631 37.77889819
0xfae059fcc430fa57fa8b1232f0c468c4a800ac59eb7a50f0fd9395c8e30e433dWhitelist Mint146533872022-04-25 10:55:21228 days 15 hrs ago0x6df71f173b77ea3903b4129e2b2bc6a72f70dd51 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.08 Ether0.00284821 30.01435482
0x969809254d40f2f1d8c3d4ae704fd24d5e54db27143799daa885d5e8fcc2c18aPublic Mint146524202022-04-25 7:20:37228 days 19 hrs ago0x70b2627f5c6e08cbaea53fa638fe217e05842501 IN  0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0.12 Ether0.00368226 43.70275189
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x1b2ee79c77e71f4925e409067d71c27e6c13409c85b307be7c047e97affd5558147494622022-05-10 15:49:42213 days 10 hrs ago 0xcd3718e5216bd5ad6a71fbac30a5f9f0ba1e725c0xbd45f1464a89e5202d38aeeac5979701d2e7df2013.56 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UrbanDogz

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : UrbanDogz.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";


contract OwnableDelegateProxy {}

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

contract UrbanDogz is Ownable, ERC721A, ReentrancyGuard,ERC2981 {

  using Strings for uint256;

  // Variables

    // Sale config
    uint256 public maxSupply = 500;
    uint256 public price = 120000000000000000;
    uint256 public preSalePrice = 80000000000000000;
    uint256 public maxMintAmountPerTxPreSale = 1;
    uint256 public maxPerWalletPreSale = 1;
    uint256 public maxMintAmountPerTx = 10;
    bool public paused = true;
    bool public onlyWhitelist = true;

    // Metadata
    string private _baseTokenURI;
    string public uriSuffix = ".json";
    string public hiddenMetadataUri;
    bool public revealed = false;

    // Whitelist
    bytes32 private merkleRoot;
 
    // Proxies
    address public proxyRegistryAddress;

    //The OpenSea Proxy Registry addresses are:
    //Rinkeby: 0x1E525EEAF261cA41b809884CBDE9DD9E1619573A
    //Mainnet: 0xa5409ec958c83c3f309868babaca7c86dcb077c1

  //Constructor
  constructor(string memory _name, string memory 
  _symbol,address _proxyRegistryAddress,address royaltyReceiver,
  uint96 royaltyFee,string memory _hiddenMetadataUri
) 
  ERC721A(_name, _symbol)
    {
      proxyRegistryAddress = _proxyRegistryAddress;
      _setDefaultRoyalty(royaltyReceiver, royaltyFee);
      setHiddenMetadataUri(_hiddenMetadataUri);

    }

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

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

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

  function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
  }
  
  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

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

  function setBaseURI(string calldata baseURI) external onlyOwner {
    _baseTokenURI = baseURI;
  }

  // Whitelist
  function setMerkleRoot(bytes32 _root) public onlyOwner {
      merkleRoot = _root;
    }

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

  function setOnlyWhitelist(bool _state) public onlyOwner {
        onlyWhitelist = _state;
    }

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

  function setMaxPerWalletPreSale(uint256 _maxPerWalletPreSale) public onlyOwner {
    maxPerWalletPreSale = _maxPerWalletPreSale;
  }

  function setMaxMintAmountPerTxPreSale(uint256 _maxMintAmountPerTxPreSale) public onlyOwner {
    maxMintAmountPerTxPreSale = _maxMintAmountPerTxPreSale;
  }

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setPrice(uint256 _price) public onlyOwner {
    price = _price;
  }

  function setPreSalePrice(uint256 _preSalePrice) public onlyOwner {
    preSalePrice = _preSalePrice;
  }


  function verify(
    bytes32[] calldata merkleProof,
    address sender
  ) public view returns (bool) {
    bytes32 leaf = keccak256(abi.encodePacked(sender));
    return MerkleProof.verify(merkleProof, merkleRoot, leaf);
  }

  function whitelistMint(uint256 quantity, bytes32[] calldata _merkleProof) external payable{
    uint256 currentSupply = totalSupply();
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    require(!paused, 'Minting paused');
    require(onlyWhitelist, "Whitelist minting is not active or has already ended");
    require(msg.value > 0, "Must send ETH to mint.");
    require(currentSupply <= maxSupply, "Sold out.");
    require(currentSupply + quantity <= maxSupply, "Requested quantity would exceed total supply.");
    require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "User is not in the whitelist");
    require(balanceOf(msg.sender) < maxPerWalletPreSale,"Exceeds wallet limit for presale");
    require(quantity <= maxMintAmountPerTxPreSale, "Exceeds presale txn limit");
    require(preSalePrice * quantity <= msg.value, "ETH sent is incorrect.");
      _safeMint(msg.sender, quantity);
  }


  function publicMint(uint256 quantity) external payable{
    uint256 currentSupply = totalSupply();
    require(!paused, 'Minting paused');
    require(msg.value > 0, "Must send ETH to mint.");
    require(currentSupply <= maxSupply, "Sold out.");
    require(quantity <= maxMintAmountPerTx, "Exceeds txn limit");
    require(price * quantity <= msg.value, "ETH sent is incorrect.");
      _safeMint(msg.sender, quantity);
  }

  // For dev use only
  function reserve(address _address, uint256 _quantity) public onlyOwner {
      _safeMint(_address, _quantity);
    }


  // Withdraw
  function withdraw() external onlyOwner nonReentrant {
    (bool success, ) = msg.sender.call{value: address(this).balance}("");
    require(success, "Transfer failed."); 
  }

  /**
   * Override isApprovedForAll to whitelist contracts.
   */
  function isApprovedForAll(address owner, address operator)
      public
      view
      override
      returns (bool)
    {
      // Whitelist OpenSea proxy contract for easy trading.
      OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress);
      if (address(proxyRegistry.proxies(owner)) == operator || proxyToApproved[operator]) return true;
      return super.isApprovedForAll(owner, operator);
    }

  function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner {
      proxyRegistryAddress = _proxyRegistryAddress;
    }

  // Whitelist another contracts to enable gas-less approving.
  mapping(address=>bool) public proxyToApproved;

  function flipProxyState(address proxyAddress) public onlyOwner {
    proxyToApproved[proxyAddress] = !proxyToApproved[proxyAddress];
  }

  // Royalties
  function setDefaultRoyalty(address receiver, uint96 feeNumerator)
        external
        onlyOwner
    {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    /**
  @notice Sets the contract-wide royalty info.
  */

  function setRoyaltyInfo(address receiver, uint96 feeBasisPoints) external onlyOwner
    {
      _setDefaultRoyalty(receiver, feeBasisPoints);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721A, ERC2981) returns (bool)
    {
      return super.supportsInterface(interfaceId);
    }

}

File 2 of 17 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 3 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 17 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 6 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 17 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
        external
        view
        virtual
        override
        returns (address, uint256)
    {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 8 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 10 of 17 : 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 11 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 12 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 16 of 17 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be payed in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 17 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"address","name":"royaltyReceiver","type":"address"},{"internalType":"uint96","name":"royaltyFee","type":"uint96"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTxPreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"proxyToApproved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTxPreSale","type":"uint256"}],"name":"setMaxMintAmountPerTxPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWalletPreSale","type":"uint256"}],"name":"setMaxPerWalletPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preSalePrice","type":"uint256"}],"name":"setPreSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"address","name":"sender","type":"address"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101f4600c556701aa535d3d0c0000600d5567011c37937e080000600e556001600f819055601055600a6011556012805461ffff191661010117905560c06040526005608081905264173539b7b760d91b60a0908152620000649160149190620002ea565b506016805460ff191690553480156200007c57600080fd5b50604051620033c2380380620033c28339810160408190526200009f916200047a565b8585620000ac3362000120565b8151620000c1906003906020850190620002ea565b508051620000d7906004906020840190620002ea565b5060018081556009555050601880546001600160a01b0319166001600160a01b03861617905562000109838362000170565b620001148162000275565b5050505050506200058e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6127106001600160601b0382161115620001e45760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200023c5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001db565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b6000546001600160a01b03163314620002d15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001db565b8051620002e6906015906020840190620002ea565b5050565b828054620002f89062000551565b90600052602060002090601f0160209004810192826200031c576000855562000367565b82601f106200033757805160ff191683800117855562000367565b8280016001018555821562000367579182015b82811115620003675782518255916020019190600101906200034a565b506200037592915062000379565b5090565b5b808211156200037557600081556001016200037a565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003b857600080fd5b81516001600160401b0380821115620003d557620003d562000390565b604051601f8301601f19908116603f0116810190828211818310171562000400576200040062000390565b816040528381526020925086838588010111156200041d57600080fd5b600091505b8382101562000441578582018301518183018401529082019062000422565b83821115620004535760008385830101525b9695505050505050565b80516001600160a01b03811681146200047557600080fd5b919050565b60008060008060008060c087890312156200049457600080fd5b86516001600160401b0380821115620004ac57600080fd5b620004ba8a838b01620003a6565b97506020890151915080821115620004d157600080fd5b620004df8a838b01620003a6565b9650620004ef60408a016200045d565b9550620004ff60608a016200045d565b60808a015190955091506001600160601b03821682146200051f57600080fd5b60a0890151919350808211156200053557600080fd5b506200054489828a01620003a6565b9150509295509295509295565b600181811c908216806200056657607f821691505b602082108114156200058857634e487b7160e01b600052602260045260246000fd5b50919050565b612e24806200059e6000396000f3fe60806040526004361061031a5760003560e01c8063715018a6116101ab578063b071401b116100f7578063d2cab05611610095578063e757c17d1161006f578063e757c17d146108f4578063e985e9c51461090a578063f2fde38b1461092a578063f73c814b1461094a57600080fd5b8063d2cab056146108ab578063d5abeb01146108be578063e0a80853146108d457600080fd5b8063c87b56dd116100d1578063c87b56dd1461082b578063cc47a40b1461084b578063cd7c03261461086b578063d26ea6c01461088b57600080fd5b8063b071401b146107cb578063b476aae3146107eb578063b88d4fde1461080b57600080fd5b806394354fd011610164578063a035b1fe1161013e578063a035b1fe14610761578063a22cb46514610777578063a45ba8e714610797578063a88e0996146107ac57600080fd5b806394354fd01461070657806395d89b411461071c5780639dc38c7d1461073157600080fd5b8063715018a61461065d5780637cb64759146106725780637d7eee421461069257806380558a6b146106b25780638da5cb5b146106c857806391b7f5ed146106e657600080fd5b80632db115441161026a5780635503a0e8116102235780636352211e116101fd5780636352211e146105dd578063659a1026146105fd5780636f8b44b01461061d57806370a082311461063d57600080fd5b80635503a0e81461058e57806355f804b3146105a35780635c975abb146105c357600080fd5b80632db11544146104f657806339c7d59d146105095780633ccfd60b1461051f57806342842e0e146105345780634fdd43cb14610554578063518302271461057457600080fd5b8063095ea7b3116102d757806318160ddd116102b157806318160ddd146104505780631dd02b4b1461047757806323b872dd146104975780632a55205a146104b757600080fd5b8063095ea7b3146103f05780630efc17b61461041057806316ba10e01461043057600080fd5b806301ffc9a71461031f57806302329a291461035457806302fa7c471461037657806304634d8d1461037657806306fdde0314610396578063081812fc146103b8575b600080fd5b34801561032b57600080fd5b5061033f61033a36600461268e565b61096a565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b5061037461036f3660046126c0565b61097b565b005b34801561038257600080fd5b506103746103913660046126f0565b6109c1565b3480156103a257600080fd5b506103ab6109f9565b60405161034b919061278d565b3480156103c457600080fd5b506103d86103d33660046127a0565b610a8b565b6040516001600160a01b03909116815260200161034b565b3480156103fc57600080fd5b5061037461040b3660046127b9565b610acf565b34801561041c57600080fd5b5061037461042b3660046127a0565b610b5d565b34801561043c57600080fd5b5061037461044b366004612870565b610b8c565b34801561045c57600080fd5b5060025460015403600019015b60405190815260200161034b565b34801561048357600080fd5b506103746104923660046126c0565b610bc9565b3480156104a357600080fd5b506103746104b23660046128b8565b610c0d565b3480156104c357600080fd5b506104d76104d23660046128f9565b610c18565b604080516001600160a01b03909316835260208301919091520161034b565b6103746105043660046127a0565b610cc6565b34801561051557600080fd5b50610469600f5481565b34801561052b57600080fd5b50610374610e49565b34801561054057600080fd5b5061037461054f3660046128b8565b610f5e565b34801561056057600080fd5b5061037461056f366004612870565b610f79565b34801561058057600080fd5b5060165461033f9060ff1681565b34801561059a57600080fd5b506103ab610fb6565b3480156105af57600080fd5b506103746105be36600461291b565b611044565b3480156105cf57600080fd5b5060125461033f9060ff1681565b3480156105e957600080fd5b506103d86105f83660046127a0565b61107a565b34801561060957600080fd5b5061033f6106183660046129d0565b61108c565b34801561062957600080fd5b506103746106383660046127a0565b611112565b34801561064957600080fd5b50610469610658366004612a26565b611141565b34801561066957600080fd5b5061037461118f565b34801561067e57600080fd5b5061037461068d3660046127a0565b6111c5565b34801561069e57600080fd5b506103746106ad3660046127a0565b6111f4565b3480156106be57600080fd5b5061046960105481565b3480156106d457600080fd5b506000546001600160a01b03166103d8565b3480156106f257600080fd5b506103746107013660046127a0565b611223565b34801561071257600080fd5b5061046960115481565b34801561072857600080fd5b506103ab611252565b34801561073d57600080fd5b5061033f61074c366004612a26565b60196020526000908152604090205460ff1681565b34801561076d57600080fd5b50610469600d5481565b34801561078357600080fd5b50610374610792366004612a43565b611261565b3480156107a357600080fd5b506103ab6112f7565b3480156107b857600080fd5b5060125461033f90610100900460ff1681565b3480156107d757600080fd5b506103746107e63660046127a0565b611304565b3480156107f757600080fd5b506103746108063660046127a0565b611333565b34801561081757600080fd5b50610374610826366004612a78565b611362565b34801561083757600080fd5b506103ab6108463660046127a0565b6113b3565b34801561085757600080fd5b506103746108663660046127b9565b61151d565b34801561087757600080fd5b506018546103d8906001600160a01b031681565b34801561089757600080fd5b506103746108a6366004612a26565b611551565b6103746108b9366004612af7565b61159d565b3480156108ca57600080fd5b50610469600c5481565b3480156108e057600080fd5b506103746108ef3660046126c0565b61193a565b34801561090057600080fd5b50610469600e5481565b34801561091657600080fd5b5061033f610925366004612b42565b611977565b34801561093657600080fd5b50610374610945366004612a26565b611a6a565b34801561095657600080fd5b50610374610965366004612a26565b611b05565b600061097582611b58565b92915050565b6000546001600160a01b031633146109ae5760405162461bcd60e51b81526004016109a590612b70565b60405180910390fd5b6012805460ff1916911515919091179055565b6000546001600160a01b031633146109eb5760405162461bcd60e51b81526004016109a590612b70565b6109f58282611b7d565b5050565b606060038054610a0890612ba5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3490612ba5565b8015610a815780601f10610a5657610100808354040283529160200191610a81565b820191906000526020600020905b815481529060010190602001808311610a6457829003601f168201915b5050505050905090565b6000610a9682611c7a565b610ab3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610ada8261107a565b9050806001600160a01b0316836001600160a01b03161415610b0f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610b2f5750610b2d8133611977565b155b15610b4d576040516367d9dca160e11b815260040160405180910390fd5b610b58838383611cb3565b505050565b6000546001600160a01b03163314610b875760405162461bcd60e51b81526004016109a590612b70565b600f55565b6000546001600160a01b03163314610bb65760405162461bcd60e51b81526004016109a590612b70565b80516109f590601490602084019061256b565b6000546001600160a01b03163314610bf35760405162461bcd60e51b81526004016109a590612b70565b601280549115156101000261ff0019909216919091179055565b610b58838383611d0f565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c8d575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610cac906001600160601b031687612bf6565b610cb69190612c2b565b91519350909150505b9250929050565b60025460015460009190036000190160125490915060ff1615610d1c5760405162461bcd60e51b815260206004820152600e60248201526d135a5b9d1a5b99c81c185d5cd95960921b60448201526064016109a5565b60003411610d655760405162461bcd60e51b815260206004820152601660248201527526bab9ba1039b2b7321022aa24103a379036b4b73a1760511b60448201526064016109a5565b600c54811115610da35760405162461bcd60e51b815260206004820152600960248201526829b7b6321037baba1760b91b60448201526064016109a5565b601154821115610de95760405162461bcd60e51b8152602060048201526011602482015270115e18d959591cc81d1e1b881b1a5b5a5d607a1b60448201526064016109a5565b3482600d54610df89190612bf6565b1115610e3f5760405162461bcd60e51b815260206004820152601660248201527522aa241039b2b73a1034b99034b731b7b93932b1ba1760511b60448201526064016109a5565b6109f53383611f20565b6000546001600160a01b03163314610e735760405162461bcd60e51b81526004016109a590612b70565b60026009541415610ec65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109a5565b6002600955604051600090339047908381818185875af1925050503d8060008114610f0d576040519150601f19603f3d011682016040523d82523d6000602084013e610f12565b606091505b5050905080610f565760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109a5565b506001600955565b610b5883838360405180602001604052806000815250611362565b6000546001600160a01b03163314610fa35760405162461bcd60e51b81526004016109a590612b70565b80516109f590601590602084019061256b565b60148054610fc390612ba5565b80601f0160208091040260200160405190810160405280929190818152602001828054610fef90612ba5565b801561103c5780601f106110115761010080835404028352916020019161103c565b820191906000526020600020905b81548152906001019060200180831161101f57829003601f168201915b505050505081565b6000546001600160a01b0316331461106e5760405162461bcd60e51b81526004016109a590612b70565b610b58601383836125ef565b600061108582611f3a565b5192915050565b6040516bffffffffffffffffffffffff19606083901b1660208201526000908190603401604051602081830303815290604052805190602001209050611109858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506017549150849050612061565b95945050505050565b6000546001600160a01b0316331461113c5760405162461bcd60e51b81526004016109a590612b70565b600c55565b60006001600160a01b03821661116a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6000546001600160a01b031633146111b95760405162461bcd60e51b81526004016109a590612b70565b6111c36000612077565b565b6000546001600160a01b031633146111ef5760405162461bcd60e51b81526004016109a590612b70565b601755565b6000546001600160a01b0316331461121e5760405162461bcd60e51b81526004016109a590612b70565b600e55565b6000546001600160a01b0316331461124d5760405162461bcd60e51b81526004016109a590612b70565b600d55565b606060048054610a0890612ba5565b6001600160a01b03821633141561128b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60158054610fc390612ba5565b6000546001600160a01b0316331461132e5760405162461bcd60e51b81526004016109a590612b70565b601155565b6000546001600160a01b0316331461135d5760405162461bcd60e51b81526004016109a590612b70565b601055565b61136d848484611d0f565b6001600160a01b0383163b1515801561138f575061138d848484846120c7565b155b156113ad576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606113be82611c7a565b6114225760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109a5565b60165460ff166114be576015805461143990612ba5565b80601f016020809104026020016040519081016040528092919081815260200182805461146590612ba5565b80156114b25780601f10611487576101008083540402835291602001916114b2565b820191906000526020600020905b81548152906001019060200180831161149557829003601f168201915b50505050509050919050565b60006114c86121be565b905060008151116114e85760405180602001604052806000815250611516565b806114f2846121cd565b601460405160200161150693929190612c3f565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146115475760405162461bcd60e51b81526004016109a590612b70565b6109f58282611f20565b6000546001600160a01b0316331461157b5760405162461bcd60e51b81526004016109a590612b70565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001546000919003600019016040516bffffffffffffffffffffffff193360601b16602082015290915060009060340160408051601f19818403018152919052805160209091012060125490915060ff161561162f5760405162461bcd60e51b815260206004820152600e60248201526d135a5b9d1a5b99c81c185d5cd95960921b60448201526064016109a5565b601254610100900460ff166116a35760405162461bcd60e51b815260206004820152603460248201527f57686974656c697374206d696e74696e67206973206e6f7420616374697665206044820152731bdc881a185cc8185b1c9958591e48195b99195960621b60648201526084016109a5565b600034116116ec5760405162461bcd60e51b815260206004820152601660248201527526bab9ba1039b2b7321022aa24103a379036b4b73a1760511b60448201526064016109a5565b600c5482111561172a5760405162461bcd60e51b815260206004820152600960248201526829b7b6321037baba1760b91b60448201526064016109a5565b600c546117378684612d03565b111561179b5760405162461bcd60e51b815260206004820152602d60248201527f526571756573746564207175616e7469747920776f756c64206578636565642060448201526c3a37ba30b61039bab838363c9760991b60648201526084016109a5565b6117dc848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506017549150849050612061565b6118285760405162461bcd60e51b815260206004820152601c60248201527f55736572206973206e6f7420696e207468652077686974656c6973740000000060448201526064016109a5565b60105461183433611141565b106118815760405162461bcd60e51b815260206004820181905260248201527f457863656564732077616c6c6574206c696d697420666f722070726573616c6560448201526064016109a5565b600f548511156118d35760405162461bcd60e51b815260206004820152601960248201527f457863656564732070726573616c652074786e206c696d69740000000000000060448201526064016109a5565b3485600e546118e29190612bf6565b11156119295760405162461bcd60e51b815260206004820152601660248201527522aa241039b2b73a1034b99034b731b7b93932b1ba1760511b60448201526064016109a5565b6119333386611f20565b5050505050565b6000546001600160a01b031633146119645760405162461bcd60e51b81526004016109a590612b70565b6016805460ff1916911515919091179055565b60185460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b1580156119c457600080fd5b505afa1580156119d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fc9190612d1b565b6001600160a01b03161480611a2957506001600160a01b03831660009081526019602052604090205460ff165b15611a38576001915050610975565b6001600160a01b0380851660009081526008602090815260408083209387168352929052205460ff165b949350505050565b6000546001600160a01b03163314611a945760405162461bcd60e51b81526004016109a590612b70565b6001600160a01b038116611af95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a5565b611b0281612077565b50565b6000546001600160a01b03163314611b2f5760405162461bcd60e51b81526004016109a590612b70565b6001600160a01b03166000908152601960205260409020805460ff19811660ff90911615179055565b60006001600160e01b0319821663152a902d60e11b14806109755750610975826122ca565b6127106001600160601b0382161115611beb5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016109a5565b6001600160a01b038216611c415760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016109a5565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b600081600111158015611c8e575060015482105b8015610975575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611d1a82611f3a565b80519091506000906001600160a01b0316336001600160a01b03161480611d4857508151611d489033611977565b80611d63575033611d5884610a8b565b6001600160a01b0316145b905080611d8357604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611db85760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611ddf57604051633a954ecd60e21b815260040160405180910390fd5b611def6000848460000151611cb3565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611ed957600154811015611ed957825160008281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611933565b6109f582826040518060200160405280600081525061231a565b60408051606081018252600080825260208201819052918101919091528180600111158015611f6a575060015481105b1561204857600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906120465780516001600160a01b031615611fdd579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612041579392505050565b611fdd565b505b604051636f96cda160e11b815260040160405180910390fd5b60008261206e8584612327565b14949350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906120fc903390899088908890600401612d38565b602060405180830381600087803b15801561211657600080fd5b505af1925050508015612146575060408051601f3d908101601f1916820190925261214391810190612d75565b60015b6121a1573d808015612174576040519150601f19603f3d011682016040523d82523d6000602084013e612179565b606091505b508051612199576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060138054610a0890612ba5565b6060816121f15750506040805180820190915260018152600360fc1b602082015290565b8160005b811561221b578061220581612d92565b91506122149050600a83612c2b565b91506121f5565b6000816001600160401b03811115612235576122356127e5565b6040519080825280601f01601f19166020018201604052801561225f576020820181803683370190505b5090505b8415611a6257612274600183612dad565b9150612281600a86612dc4565b61228c906030612d03565b60f81b8183815181106122a1576122a1612dd8565b60200101906001600160f81b031916908160001a9053506122c3600a86612c2b565b9450612263565b60006001600160e01b031982166380ac58cd60e01b14806122fb57506001600160e01b03198216635b5e139f60e01b145b8061097557506301ffc9a760e01b6001600160e01b0319831614610975565b610b58838383600161239b565b600081815b845181101561239357600085828151811061234957612349612dd8565b6020026020010151905080831161236f5760008381526020829052604090209250612380565b600081815260208490526040902092505b508061238b81612d92565b91505061232c565b509392505050565b6001546001600160a01b0385166123c457604051622e076360e81b815260040160405180910390fd5b836123e25760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561249357506001600160a01b0387163b15155b1561251c575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46124e460008884806001019550886120c7565b612501576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561249957826001541461251757600080fd5b612562565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082141561251d575b50600155611933565b82805461257790612ba5565b90600052602060002090601f01602090048101928261259957600085556125df565b82601f106125b257805160ff19168380011785556125df565b828001600101855582156125df579182015b828111156125df5782518255916020019190600101906125c4565b506125eb929150612663565b5090565b8280546125fb90612ba5565b90600052602060002090601f01602090048101928261261d57600085556125df565b82601f106126365782800160ff198235161785556125df565b828001600101855582156125df579182015b828111156125df578235825591602001919060010190612648565b5b808211156125eb5760008155600101612664565b6001600160e01b031981168114611b0257600080fd5b6000602082840312156126a057600080fd5b813561151681612678565b803580151581146126bb57600080fd5b919050565b6000602082840312156126d257600080fd5b611516826126ab565b6001600160a01b0381168114611b0257600080fd5b6000806040838503121561270357600080fd5b823561270e816126db565b915060208301356001600160601b038116811461272a57600080fd5b809150509250929050565b60005b83811015612750578181015183820152602001612738565b838111156113ad5750506000910152565b60008151808452612779816020860160208601612735565b601f01601f19169290920160200192915050565b6020815260006115166020830184612761565b6000602082840312156127b257600080fd5b5035919050565b600080604083850312156127cc57600080fd5b82356127d7816126db565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115612815576128156127e5565b604051601f8501601f19908116603f0116810190828211818310171561283d5761283d6127e5565b8160405280935085815286868601111561285657600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561288257600080fd5b81356001600160401b0381111561289857600080fd5b8201601f810184136128a957600080fd5b611a62848235602084016127fb565b6000806000606084860312156128cd57600080fd5b83356128d8816126db565b925060208401356128e8816126db565b929592945050506040919091013590565b6000806040838503121561290c57600080fd5b50508035926020909101359150565b6000806020838503121561292e57600080fd5b82356001600160401b038082111561294557600080fd5b818501915085601f83011261295957600080fd5b81358181111561296857600080fd5b86602082850101111561297a57600080fd5b60209290920196919550909350505050565b60008083601f84011261299e57600080fd5b5081356001600160401b038111156129b557600080fd5b6020830191508360208260051b8501011115610cbf57600080fd5b6000806000604084860312156129e557600080fd5b83356001600160401b038111156129fb57600080fd5b612a078682870161298c565b9094509250506020840135612a1b816126db565b809150509250925092565b600060208284031215612a3857600080fd5b8135611516816126db565b60008060408385031215612a5657600080fd5b8235612a61816126db565b9150612a6f602084016126ab565b90509250929050565b60008060008060808587031215612a8e57600080fd5b8435612a99816126db565b93506020850135612aa9816126db565b92506040850135915060608501356001600160401b03811115612acb57600080fd5b8501601f81018713612adc57600080fd5b612aeb878235602084016127fb565b91505092959194509250565b600080600060408486031215612b0c57600080fd5b8335925060208401356001600160401b03811115612b2957600080fd5b612b358682870161298c565b9497909650939450505050565b60008060408385031215612b5557600080fd5b8235612b60816126db565b9150602083013561272a816126db565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612bb957607f821691505b60208210811415612bda57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612c1057612c10612be0565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612c3a57612c3a612c15565b500490565b600084516020612c528285838a01612735565b855191840191612c658184848a01612735565b8554920191600090600181811c9080831680612c8257607f831692505b858310811415612ca057634e487b7160e01b85526022600452602485fd5b808015612cb45760018114612cc557612cf2565b60ff19851688528388019550612cf2565b60008b81526020902060005b85811015612cea5781548a820152908401908801612cd1565b505083880195505b50939b9a5050505050505050505050565b60008219821115612d1657612d16612be0565b500190565b600060208284031215612d2d57600080fd5b8151611516816126db565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d6b90830184612761565b9695505050505050565b600060208284031215612d8757600080fd5b815161151681612678565b6000600019821415612da657612da6612be0565b5060010190565b600082821015612dbf57612dbf612be0565b500390565b600082612dd357612dd3612c15565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220f76654b24a5d544a76d92b5c91242f0c04e30600bd3b87d9948dd0a8d9fd3e0164736f6c6343000808003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000399db9b924bc348bfc3bd777817631eb5a79b15200000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000d557262616e446f677a436c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035544430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006068747470733a2f2f73616d6f74636c75622e6d7970696e6174612e636c6f75642f697066732f516d5056377147707964706f38667a63636333656e6e763846784679577848704b32555a3472524e726e566671352f68696464656e2e6a736f6e

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000399db9b924bc348bfc3bd777817631eb5a79b15200000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000d557262616e446f677a436c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035544430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006068747470733a2f2f73616d6f74636c75622e6d7970696e6174612e636c6f75642f697066732f516d5056377147707964706f38667a63636333656e6e763846784679577848704b32555a3472524e726e566671352f68696464656e2e6a736f6e

-----Decoded View---------------
Arg [0] : _name (string): UrbanDogzClub
Arg [1] : _symbol (string): UDC
Arg [2] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [3] : royaltyReceiver (address): 0x399Db9b924bC348BfC3bD777817631eb5A79b152
Arg [4] : royaltyFee (uint96): 500
Arg [5] : _hiddenMetadataUri (string): https://samotclub.mypinata.cloud/ipfs/QmPV7qGpydpo8fzccc3ennv8FxFyWxHpK2UZ4rRNrnVfq5/hidden.json

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [3] : 000000000000000000000000399db9b924bc348bfc3bd777817631eb5a79b152
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [7] : 557262616e446f677a436c756200000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 5544430000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [11] : 68747470733a2f2f73616d6f74636c75622e6d7970696e6174612e636c6f7564
Arg [12] : 2f697066732f516d5056377147707964706f38667a63636333656e6e76384678
Arg [13] : 4679577848704b32555a3472524e726e566671352f68696464656e2e6a736f6e


Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.