ETH Price: $3,468.09 (+2.18%)
Gas: 9 Gwei

Token

GOBLINIS (GBLN)
 

Overview

Max Total Supply

1,462 GBLN

Holders

461

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
slitney.eth
Balance
3 GBLN
0x7c3db7eee60fad212d6bbcd256fac8782a21b5ff
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
GOBLINIS

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 1300 runs

Other Settings:
default evmVersion
File 1 of 16 : goblini_test1.sol
// SPDX-License-Identifier: Unlicensed

//           _        _           _            _       _  _  _          _  _   _   
//         /' `\    /' `\       /' `\        /~_)     ' /' `' )    )   ' /' `/' `\ 
//       /'     ) /'     )    /'     )   ~-/'-~       /'    //   /'    /'  /'   ._)
//     /'       /'      /'  /' (___,/'   /'         /'    /'/  /'    /'   (____    
//   /'   _   /'      /'  /'     )     /'         /'    /' / /'    /'          )   
// /'    ' )/'      /'  /'      /'/~\,'   _     /'    /'  //'    /'          /'    
//(_____,/'(_____,/'(,/' (___,/' (,/'`\____)(,/(_,(,/'    (_,(,/(_, (_____,/'      
                                                                                    
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/interfaces/IERC721.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/utils/Arrays.sol';

pragma solidity >=0.8.9 <0.9.0;

contract GOBLINIS is ERC721A, Ownable, ReentrancyGuard {

  using Strings for uint256;

  string public uriPrefix = "";
  string public uriSuffix = ".json";
  
  string public hiddenMetadataUri = "ipfs://QmXNZstmXd5vE4HDi2ouEv1UtCuJ5eoyM5xLrUswZszoTj/hidden.json";
  
  uint256 public Publicprice = .0999 ether;
  uint256 public WLprice = .0999 ether;
  
  uint256 public maxSupply = 1462;
  
  uint256 public PublicmaxMintAmountPerTx = 25;
  uint256 public WLmaxMintAmountPerTx = 25;
  
  bool public paused = false;
  
  bool public formiliaSaleON = false;
  bool public friendliesSaleON = false;
  bool public publicSaleON = false;
  
  bool public revealed = false;

// collection addresses #phase 1
  address public j48baforms = 0xc78337CCbb2D08492EC152E501491D3A76Cd5172;
  address public trinkets = 0x0B0f6BC78Ea9FB88dD58fDfe4C03F0c78721f649;
  address public sudoburger = 0xeF2e3Cf741d34732227De1dAe38cdD86939fE073;

  // collection addresses #phase 2
  address public bastardgans = 0x31385d3520bCED94f77AaE104b406994D8F2168C;
  address public tubbycats = 0xCa7cA7BcC765F77339bE2d648BA53ce9c8a262bD;
  address public miladymaker = 0x5Af0D9827E0c53E4799BB226655A1de152A425a5;
  address public metalmons = 0x17aBd4Cc1382397eC2B675f98621C3Ba809897DE;
  address public dropicall = 0x8b82D758a95c84Bc5476244f91e9AC6478d2a8B0;
  address public gradis = 0x2322B56ae00A53092e2688Ab038881A0c0Cf00a3;
  address public adworld = 0x62eb144FE92Ddc1B10bCAde03A0C09f6FBffBffb;


  constructor(
    string memory _uriPrefix
) ERC721A("GOBLINIS", "GBLN")  {
    setUriPrefix(_uriPrefix);
  }


  // wl - 1 mint 
  function Formilia(uint256 _mintAmount) public payable{
    require(!paused, 'The contract is paused!');
    require(formiliaSaleON, 'Formilia Presale is not open yet');
    require(_mintAmount > 0 && _mintAmount <= WLmaxMintAmountPerTx, 'Invalid mint amount!');
    require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!');
    require(msg.value >= WLprice * _mintAmount, 'Insufficient funds!');
  // holder check interface
    IERC721 Col1 = IERC721(j48baforms);
    IERC721 Col2 = IERC721(trinkets);
    IERC721 Col3 = IERC721(sudoburger);
    uint256 holderCol;
    if(Col1.balanceOf(msg.sender) >= 1) {
      holderCol = Col1.balanceOf(msg.sender);
    }
    else if(Col2.balanceOf(msg.sender) >= 1) {
      holderCol = Col2.balanceOf(msg.sender);
    }
    else{
      holderCol = Col3.balanceOf(msg.sender);
    }
    require(holderCol >= 1, "You don't hold required nfts" );
    _safeMint(_msgSender(), _mintAmount);
  }

  // wl - 2 mint 
  function Friendlies(uint256 _mintAmount) public payable{
    require(!paused, 'The contract is paused!');
    require(friendliesSaleON, 'Friendlies Presale is not open yet');
    require(_mintAmount > 0 && _mintAmount <= WLmaxMintAmountPerTx, 'Invalid mint amount!');
    require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!');
    require(msg.value >= WLprice * _mintAmount, 'Insufficient funds!');
    // holder check interface
    IERC721 Col1 = IERC721(j48baforms);
    IERC721 Col2 = IERC721(trinkets);
    IERC721 Col3 = IERC721(sudoburger);
    IERC721 Col4 = IERC721(bastardgans);
    IERC721 Col5 = IERC721(tubbycats);
    IERC721 Col6 = IERC721(miladymaker);
    IERC721 Col7 = IERC721(metalmons);
    IERC721 Col8 = IERC721(dropicall);
    IERC721 Col9 = IERC721(gradis);
    IERC721 Col10 = IERC721(adworld);
    uint256 holderCol;
    if(Col1.balanceOf(msg.sender) >= 1) {
      holderCol = Col1.balanceOf(msg.sender);
    }
    else if(Col2.balanceOf(msg.sender) >= 1) {
      holderCol = Col2.balanceOf(msg.sender);
    }
    else if(Col3.balanceOf(msg.sender) >= 1) {
      holderCol = Col3.balanceOf(msg.sender);
    }
    else if(Col4.balanceOf(msg.sender) >= 1) {
      holderCol = Col4.balanceOf(msg.sender);
    }
    else if(Col5.balanceOf(msg.sender) >= 1) {
      holderCol = Col5.balanceOf(msg.sender);
    }
    else if(Col6.balanceOf(msg.sender) >= 1) {
      holderCol = Col6.balanceOf(msg.sender);
    }
    else if(Col7.balanceOf(msg.sender) >= 1) {
      holderCol = Col7.balanceOf(msg.sender);
    }
    else if(Col8.balanceOf(msg.sender) >= 1) {
      holderCol = Col8.balanceOf(msg.sender);
    }
    else if(Col9.balanceOf(msg.sender) >= 1) {
      holderCol = Col9.balanceOf(msg.sender);
    }
    else{
      holderCol = Col10.balanceOf(msg.sender);
    }
    require(holderCol >= 1, "You don't hold required NFTS" );
    _safeMint(_msgSender(), _mintAmount);
  }
  

  // public mint
  function PublicMint(uint256 _mintAmount) public payable{
    require(!paused, 'The contract is paused!');
    require(!formiliaSaleON, 'Formilia Presale is going down, Please wait for public sale to open');
    require(!friendliesSaleON, 'Friendlies Presale is going down, Please wait for public sale to open');
    require(publicSaleON, 'Public Sale has not started');
    require(_mintAmount > 0 && _mintAmount <= PublicmaxMintAmountPerTx, 'Invalid mint amount!');
    require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!');
    require(msg.value >= Publicprice * _mintAmount, 'Insufficient funds!');

    _safeMint(_msgSender(), _mintAmount);
  }


  // Aidrop/ Ownermint
  function Airdrop(uint256 _mintAmount, address _address) public onlyOwner {
      require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!');
    _safeMint(_address, _mintAmount);
  }

  function walletOfOwner(address _owner) public view returns (uint256[] memory) {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = _startTokenId();
    uint256 ownedTokenIndex = 0;
    address latestOwnerAddress;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      TokenOwnership memory ownership = _ownerships[currentTokenId];

      if (!ownership.burned && ownership.addr != address(0)) {
        latestOwnerAddress = ownership.addr;
      }

      if (latestOwnerAddress == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

  function _startTokenId() internal view virtual override returns (uint256) {
    return 1;
  }

  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))
        : '';
  }


//reveal
  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

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

// actual uri
  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

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

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

// supply
  function setmaxSupply(uint256 _maxSupply) public onlyOwner {
    maxSupply = _maxSupply;
  }

// public price
  function setPublicPrice(uint256 _PublicPrice) public onlyOwner {
    Publicprice = _PublicPrice;
  }

// WL price
  function setWLPrice(uint256 _WLPrice) public onlyOwner {
    WLprice = _WLPrice;
  }  

// PublicmaxMintAmountPerTx
  function setPublicmaxMintAmountPerTx(uint256 _PublicmaxMintAmountPerTx) public onlyOwner {
    PublicmaxMintAmountPerTx = _PublicmaxMintAmountPerTx;
  }

// WLmaxMintAmountPerTx
  function setWLmaxMintAmountPerTx(uint256 _WLmaxMintAmountPerTx) public onlyOwner {
    WLmaxMintAmountPerTx = _WLmaxMintAmountPerTx;
  }

// formiliaSale
  function setformiliaSaleON(bool _state) public onlyOwner {
    formiliaSaleON = _state;
  }

// friendliesSaleON
  function setfriendliesSaleON(bool _state) public onlyOwner {
    friendliesSaleON = _state;
  }

// PublicSaleON
  function setpublicSaleON(bool _state) public onlyOwner {
    publicSaleON = _state;
  }

// J48BAFORMS
  function setj48baforms(address _contractaddress) public onlyOwner {
    j48baforms = _contractaddress;
  }

// TRINKETS
  function settrinkets(address _contractaddress) public onlyOwner {
    trinkets = _contractaddress;
  }

// SUDO BURGER
  function setsudoburger(address _contractaddress) public onlyOwner {
    sudoburger = _contractaddress;
  }

// Bastard Gans
  function setbastardgans(address _contractaddress) public onlyOwner {
    bastardgans = _contractaddress;
  }

// Tubby Cats
  function settubbycats(address _contractaddress) public onlyOwner {
    tubbycats = _contractaddress;
  }

// miladymaker
  function setmiladymaker(address _contractaddress) public onlyOwner {
    miladymaker = _contractaddress;
  }

// MetalMons
  function setmetalmons(address _contractaddress) public onlyOwner {
    metalmons = _contractaddress;
  }

// dropicall
  function setdropicall(address _contractaddress) public onlyOwner {
    dropicall = _contractaddress;
  }

 // gradis
  function setgradis(address _contractaddress) public onlyOwner {
    gradis = _contractaddress;
  }

// adworld
  function setadworld(address _contractaddress) public onlyOwner {
    adworld = _contractaddress;
  } 


// withdraw
  function withdraw() public onlyOwner nonReentrant {
    //owner withdraw
    (bool os, ) = payable(owner()).call{value: address(this).balance}('');
    require(os);
  }
  

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

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (array[mid] > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && array[low - 1] == element) {
            return low - 1;
        } else {
            return low;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 4 of 16 : 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 5 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/IERC721.sol";

File 6 of 16 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. 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, IERC721A {
    using Address for address;
    using Strings for uint256;

    // 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 Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view override 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) {
        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) {
        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) {
        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 {
        _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) if (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) if(!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 virtual 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()) if(!_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;
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        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 (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 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) 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;

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

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // 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 storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, 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 7 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

File 12 of 16 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A is IERC721, IERC721Metadata {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     * 
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);
}

File 13 of 16 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

File 15 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_uriPrefix","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"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"Formilia","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"Friendlies","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"PublicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PublicmaxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Publicprice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLmaxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLprice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adworld","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bastardgans","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dropicall","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"formiliaSaleON","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"friendliesSaleON","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gradis","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":"j48baforms","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metalmons","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"miladymaker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleON","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PublicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PublicmaxMintAmountPerTx","type":"uint256"}],"name":"setPublicmaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_WLPrice","type":"uint256"}],"name":"setWLPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_WLmaxMintAmountPerTx","type":"uint256"}],"name":"setWLmaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractaddress","type":"address"}],"name":"setadworld","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractaddress","type":"address"}],"name":"setbastardgans","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractaddress","type":"address"}],"name":"setdropicall","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setformiliaSaleON","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setfriendliesSaleON","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractaddress","type":"address"}],"name":"setgradis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractaddress","type":"address"}],"name":"setj48baforms","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractaddress","type":"address"}],"name":"setmetalmons","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractaddress","type":"address"}],"name":"setmiladymaker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setpublicSaleON","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractaddress","type":"address"}],"name":"setsudoburger","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractaddress","type":"address"}],"name":"settrinkets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractaddress","type":"address"}],"name":"settubbycats","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sudoburger","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"trinkets","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tubbycats","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b91600a916200036b565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a91600b916200036b565b50604051806080016040528060418152602001620044e26041913980516200007b91600c916020909101906200036b565b50670162ea854d0fc000600d819055600e556105b6600f556019601081905560118190556012805478c78337ccbb2d08492ec152e501491d3a76cd517200000000006001600160c81b0319909116179055601380546001600160a01b0319908116730b0f6bc78ea9fb88dd58fdfe4c03f0c78721f6491790915560148054821673ef2e3cf741d34732227de1dae38cdd86939fe0731790556015805482167331385d3520bced94f77aae104b406994d8f2168c17905560168054821673ca7ca7bcc765f77339be2d648ba53ce9c8a262bd179055601780548216735af0d9827e0c53e4799bb226655a1de152a425a51790556018805482167317abd4cc1382397ec2b675f98621c3ba809897de17905581548116738b82d758a95c84bc5476244f91e9ac6478d2a8b017909155601a80548216732322b56ae00a53092e2688ab038881a0c0cf00a3179055601b80549091167362eb144fe92ddc1b10bcade03a0c09f6fbffbffb179055348015620001f257600080fd5b506040516200452338038062004523833981016040819052620002159162000427565b6040805180820182526008815267474f424c494e495360c01b60208083019182528351808501909452600484526323a1262760e11b90840152815191929162000261916002916200036b565b508051620002779060039060208401906200036b565b50506001600055506200028a33620002a1565b60016009556200029a81620002f3565b506200053f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620003525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200036790600a9060208401906200036b565b5050565b828054620003799062000503565b90600052602060002090601f0160209004810192826200039d5760008555620003e8565b82601f10620003b857805160ff1916838001178555620003e8565b82800160010185558215620003e8579182015b82811115620003e8578251825591602001919060010190620003cb565b50620003f6929150620003fa565b5090565b5b80821115620003f65760008155600101620003fb565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200043b57600080fd5b82516001600160401b03808211156200045357600080fd5b818501915085601f8301126200046857600080fd5b8151818111156200047d576200047d62000411565b604051601f8201601f19908116603f01168101908382118183101715620004a857620004a862000411565b816040528281528886848701011115620004c157600080fd5b600093505b82841015620004e55784840186015181850187015292850192620004c6565b82841115620004f75760008684830101525b98975050505050505050565b600181811c908216806200051857607f821691505b6020821081036200053957634e487b7160e01b600052602260045260246000fd5b50919050565b613f93806200054f6000396000f3fe60806040526004361061044a5760003560e01c80636577f7f611610243578063a2f8af0311610143578063d5abeb01116100bb578063e39795081161008a578063ead8e5141161006f578063ead8e51414610c6f578063f2fde38b14610c85578063f6a5b8e614610ca557600080fd5b8063e397950814610c10578063e985e9c514610c2657600080fd5b8063d5abeb0114610ba7578063dc44096a14610bbd578063e032f7ac14610bd0578063e0a8085314610bf057600080fd5b8063b88d4fde11610112578063c6275255116100f7578063c627525514610b51578063c87b56dd14610b71578063cdafdad914610b9157600080fd5b8063b88d4fde14610b11578063c2cf958614610b3157600080fd5b8063a2f8af0314610a9c578063a45ba8e714610abc578063ab098bf514610ad1578063b5cb948b14610af157600080fd5b806385f39d39116101d657806395d89b41116101a55780639fb17e341161018a5780639fb17e3414610a49578063a102184d14610a5c578063a22cb46514610a7c57600080fd5b806395d89b4114610a145780639ae4885614610a2957600080fd5b806385f39d39146109965780638690305b146109b65780638da5cb5b146109d65780638e052a27146109f457600080fd5b806370a082311161021257806370a0823114610921578063715018a6146109415780637871e154146109565780637ec4a6591461097657600080fd5b80636577f7f6146108ae578063664702b3146108ce57806366b58ba9146108ee5780636d2afde51461090157600080fd5b8063359bbf431161034e5780634ec7ac45116102e15780635b6174ea116102b057806362b99ad41161029557806362b99ad4146108595780636352211e1461086e578063638190211461088e57600080fd5b80635b6174ea1461081f5780635c975abb1461083f57600080fd5b80634ec7ac45146107a85780634fdd43cb146107c857806351830227146107e85780635503a0e81461080a57600080fd5b80633dd79ce21161031d5780633dd79ce21461071a57806342842e0e1461073b578063438b63001461075b5780634dfd94ea1461078857600080fd5b8063359bbf431461069c57806337b8345e146106bc5780633c8645f6146106e55780633ccfd60b1461070557600080fd5b806317d5669a116103e1578063228025e8116103b057806323b872dd1161039557806323b872dd1461063c578063241f914c1461065c5780632f848a8c1461067c57600080fd5b8063228025e8146105fc57806322b389351461061c57600080fd5b806317d5669a1461057f57806318160ddd1461059f578063205701c5146105c657806322710f0d146105e657600080fd5b8063081812fc1161041d578063081812fc146104e7578063095ea7b31461051f57806316ba10e01461053f57806316c38b3c1461055f57600080fd5b806301ffc9a71461044f578063049a8d4b1461048457806306247b81146104a357806306fdde03146104c5575b600080fd5b34801561045b57600080fd5b5061046f61046a36600461397f565b610cc5565b60405190151581526020015b60405180910390f35b34801561049057600080fd5b5060125461046f90610100900460ff1681565b3480156104af57600080fd5b506104c36104be3660046139b8565b610d62565b005b3480156104d157600080fd5b506104da610dd1565b60405161047b9190613a2b565b3480156104f357600080fd5b50610507610502366004613a3e565b610e63565b6040516001600160a01b03909116815260200161047b565b34801561052b57600080fd5b506104c361053a366004613a57565b610ec0565b34801561054b57600080fd5b506104c361055a366004613b0d565b610f78565b34801561056b57600080fd5b506104c361057a366004613b66565b610fd7565b34801561058b57600080fd5b506104c361059a3660046139b8565b611032565b3480156105ab57600080fd5b5060015460005403600019015b60405190815260200161047b565b3480156105d257600080fd5b5060125461046f9062010000900460ff1681565b3480156105f257600080fd5b506105b860115481565b34801561060857600080fd5b506104c3610617366004613a3e565b61109c565b34801561062857600080fd5b50601754610507906001600160a01b031681565b34801561064857600080fd5b506104c3610657366004613b81565b6110e9565b34801561066857600080fd5b506104c3610677366004613b66565b6110f4565b34801561068857600080fd5b506104c36106973660046139b8565b61115a565b3480156106a857600080fd5b50601354610507906001600160a01b031681565b3480156106c857600080fd5b50601254610507906501000000000090046001600160a01b031681565b3480156106f157600080fd5b50601b54610507906001600160a01b031681565b34801561071157600080fd5b506104c36111c4565b34801561072657600080fd5b5060125461046f906301000000900460ff1681565b34801561074757600080fd5b506104c3610756366004613b81565b6112dc565b34801561076757600080fd5b5061077b6107763660046139b8565b6112f7565b60405161047b9190613bbd565b34801561079457600080fd5b50601a54610507906001600160a01b031681565b3480156107b457600080fd5b506104c36107c3366004613a3e565b61143f565b3480156107d457600080fd5b506104c36107e3366004613b0d565b61148c565b3480156107f457600080fd5b5060125461046f90640100000000900460ff1681565b34801561081657600080fd5b506104da6114e7565b34801561082b57600080fd5b506104c361083a366004613b66565b611575565b34801561084b57600080fd5b5060125461046f9060ff1681565b34801561086557600080fd5b506104da6115d9565b34801561087a57600080fd5b50610507610889366004613a3e565b6115e6565b34801561089a57600080fd5b506104c36108a93660046139b8565b6115f8565b3480156108ba57600080fd5b506104c36108c93660046139b8565b611662565b3480156108da57600080fd5b50601554610507906001600160a01b031681565b6104c36108fc366004613a3e565b6116cc565b34801561090d57600080fd5b506104c361091c3660046139b8565b611fa6565b34801561092d57600080fd5b506105b861093c3660046139b8565b612010565b34801561094d57600080fd5b506104c3612078565b34801561096257600080fd5b506104c3610971366004613c01565b6120cc565b34801561098257600080fd5b506104c3610991366004613b0d565b612187565b3480156109a257600080fd5b506104c36109b13660046139b8565b6121e2565b3480156109c257600080fd5b506104c36109d13660046139b8565b61224c565b3480156109e257600080fd5b506008546001600160a01b0316610507565b348015610a0057600080fd5b506104c3610a0f366004613b66565b6122b6565b348015610a2057600080fd5b506104da612318565b348015610a3557600080fd5b506104c3610a44366004613a3e565b612327565b6104c3610a57366004613a3e565b612374565b348015610a6857600080fd5b506104c3610a773660046139b8565b61269a565b348015610a8857600080fd5b506104c3610a97366004613c2d565b612704565b348015610aa857600080fd5b50601854610507906001600160a01b031681565b348015610ac857600080fd5b506104da6127b2565b348015610add57600080fd5b50601954610507906001600160a01b031681565b348015610afd57600080fd5b50601454610507906001600160a01b031681565b348015610b1d57600080fd5b506104c3610b2c366004613c57565b6127bf565b348015610b3d57600080fd5b50601654610507906001600160a01b031681565b348015610b5d57600080fd5b506104c3610b6c366004613a3e565b612809565b348015610b7d57600080fd5b506104da610b8c366004613a3e565b612856565b348015610b9d57600080fd5b506105b860105481565b348015610bb357600080fd5b506105b8600f5481565b6104c3610bcb366004613a3e565b6129db565b348015610bdc57600080fd5b506104c3610beb3660046139b8565b612e12565b348015610bfc57600080fd5b506104c3610c0b366004613b66565b612e9d565b348015610c1c57600080fd5b506105b8600e5481565b348015610c3257600080fd5b5061046f610c41366004613cd3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610c7b57600080fd5b506105b8600d5481565b348015610c9157600080fd5b506104c3610ca03660046139b8565b612f05565b348015610cb157600080fd5b506104c3610cc0366004613a3e565b612fd2565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610d2857506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610d5c57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6008546001600160a01b03163314610daf5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e83398151915260448201526064015b60405180910390fd5b601680546001600160a01b0319166001600160a01b0392909216919091179055565b606060028054610de090613cfd565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0c90613cfd565b8015610e595780601f10610e2e57610100808354040283529160200191610e59565b820191906000526020600020905b815481529060010190602001808311610e3c57829003601f168201915b5050505050905090565b6000610e6e8261301f565b610ea4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610ecb826115e6565b9050806001600160a01b0316836001600160a01b031603610f18576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03821614610f6857610f328133610c41565b610f68576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f73838383613058565b505050565b6008546001600160a01b03163314610fc05760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b8051610fd390600b9060208401906138d0565b5050565b6008546001600160a01b0316331461101f5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b6012805460ff1916911515919091179055565b6008546001600160a01b0316331461107a5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146110e45760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b600f55565b610f738383836130b4565b6008546001600160a01b0316331461113c5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b6012805491151563010000000263ff00000019909216919091179055565b6008546001600160a01b031633146111a25760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461120c5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b60026009540361125e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610da6565b600260095560006112776008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146112c1576040519150601f19603f3d011682016040523d82523d6000602084013e6112c6565b606091505b50509050806112d457600080fd5b506001600955565b610f73838383604051806020016040528060008152506127bf565b6060600061130483612010565b905060008167ffffffffffffffff81111561132157611321613a81565b60405190808252806020026020018201604052801561134a578160200160208202803683370190505b50905060016000805b84821080156113645750600f548311155b1561143457600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820183905290916113d2575080516001600160a01b031615155b156113dc57805191505b876001600160a01b0316826001600160a01b031603611421578385848151811061140857611408613d37565b60209081029190910101528261141d81613d63565b9350505b8361142b81613d63565b94505050611353565b509195945050505050565b6008546001600160a01b031633146114875760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601155565b6008546001600160a01b031633146114d45760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b8051610fd390600c9060208401906138d0565b600b80546114f490613cfd565b80601f016020809104026020016040519081016040528092919081815260200182805461152090613cfd565b801561156d5780601f106115425761010080835404028352916020019161156d565b820191906000526020600020905b81548152906001019060200180831161155057829003601f168201915b505050505081565b6008546001600160a01b031633146115bd5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b60128054911515620100000262ff000019909216919091179055565b600a80546114f490613cfd565b60006115f1826132ed565b5192915050565b6008546001600160a01b031633146116405760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146116aa5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b60125460ff161561171f5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610da6565b60125462010000900460ff1661179d5760405162461bcd60e51b815260206004820152602260248201527f467269656e646c6965732050726573616c65206973206e6f74206f70656e207960448201527f65740000000000000000000000000000000000000000000000000000000000006064820152608401610da6565b6000811180156117af57506011548111155b6117fb5760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610da6565b600f5460015460005483919003600019016118169190613d7c565b11156118645760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610da6565b80600e546118729190613d94565b3410156118c15760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610da6565b601254601354601454601554601654601754601854601954601a54601b546040516370a0823160e01b815233600482015265010000000000909a046001600160a01b039081169a99811699988116989781169796811696958116959481169493811693928116929116906000906001908c906370a0823190602401602060405180830381865afa158015611959573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197d9190613db3565b106119f2576040516370a0823160e01b81523360048201526001600160a01b038c16906370a08231906024015b602060405180830381865afa1580156119c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119eb9190613db3565b9050611f3d565b6040516370a0823160e01b81523360048201526001906001600160a01b038c16906370a0823190602401602060405180830381865afa158015611a39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5d9190613db3565b10611a8e576040516370a0823160e01b81523360048201526001600160a01b038b16906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038b16906370a0823190602401602060405180830381865afa158015611ad5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af99190613db3565b10611b2a576040516370a0823160e01b81523360048201526001600160a01b038a16906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038a16906370a0823190602401602060405180830381865afa158015611b71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b959190613db3565b10611bc6576040516370a0823160e01b81523360048201526001600160a01b038916906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038916906370a0823190602401602060405180830381865afa158015611c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c319190613db3565b10611c62576040516370a0823160e01b81523360048201526001600160a01b038816906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038816906370a0823190602401602060405180830381865afa158015611ca9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ccd9190613db3565b10611cfe576040516370a0823160e01b81523360048201526001600160a01b038716906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038716906370a0823190602401602060405180830381865afa158015611d45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d699190613db3565b10611d9a576040516370a0823160e01b81523360048201526001600160a01b038616906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038616906370a0823190602401602060405180830381865afa158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e059190613db3565b10611e36576040516370a0823160e01b81523360048201526001600160a01b038516906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038516906370a0823190602401602060405180830381865afa158015611e7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea19190613db3565b10611ed2576040516370a0823160e01b81523360048201526001600160a01b038416906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001600160a01b038316906370a0823190602401602060405180830381865afa158015611f16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3a9190613db3565b90505b6001811015611f8e5760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e277420686f6c64207265717569726564204e465453000000006044820152606401610da6565b611f98338d61342a565b505050505050505050505050565b6008546001600160a01b03163314611fee5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216612052576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146120c05760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b6120ca6000613444565b565b6008546001600160a01b031633146121145760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b600f54600154600054849190036000190161212f9190613d7c565b111561217d5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610da6565b610fd3818361342a565b6008546001600160a01b031633146121cf5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b8051610fd390600a9060208401906138d0565b6008546001600160a01b0316331461222a5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601b80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146122945760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146122fe5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601280549115156101000261ff0019909216919091179055565b606060038054610de090613cfd565b6008546001600160a01b0316331461236f5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601055565b60125460ff16156123c75760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610da6565b601254610100900460ff161561246b5760405162461bcd60e51b815260206004820152604360248201527f466f726d696c69612050726573616c6520697320676f696e6720646f776e2c2060448201527f506c65617365207761697420666f72207075626c69632073616c6520746f206f60648201527f70656e0000000000000000000000000000000000000000000000000000000000608482015260a401610da6565b60125462010000900460ff16156125105760405162461bcd60e51b815260206004820152604560248201527f467269656e646c6965732050726573616c6520697320676f696e6720646f776e60448201527f2c20506c65617365207761697420666f72207075626c69632073616c6520746f60648201527f206f70656e000000000000000000000000000000000000000000000000000000608482015260a401610da6565b6012546301000000900460ff166125695760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632053616c6520686173206e6f74207374617274656400000000006044820152606401610da6565b60008111801561257b57506010548111155b6125c75760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610da6565b600f5460015460005483919003600019016125e29190613d7c565b11156126305760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610da6565b80600d5461263e9190613d94565b34101561268d5760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610da6565b612697338261342a565b50565b6008546001600160a01b031633146126e25760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b336001600160a01b03831603612746576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c80546114f490613cfd565b6127ca8484846130b4565b6001600160a01b0383163b15612803576127e684848484613496565b612803576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146128515760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b600d55565b60606128618261301f565b6128d35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610da6565b601254640100000000900460ff16151560000361297c57600c80546128f790613cfd565b80601f016020809104026020016040519081016040528092919081815260200182805461292390613cfd565b80156129705780601f1061294557610100808354040283529160200191612970565b820191906000526020600020905b81548152906001019060200180831161295357829003601f168201915b50505050509050919050565b6000612986613582565b905060008151116129a657604051806020016040528060008152506129d4565b806129b084613591565b600b6040516020016129c493929190613dcc565b6040516020818303038152906040525b9392505050565b60125460ff1615612a2e5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610da6565b601254610100900460ff16612a855760405162461bcd60e51b815260206004820181905260248201527f466f726d696c69612050726573616c65206973206e6f74206f70656e207965746044820152606401610da6565b600081118015612a9757506011548111155b612ae35760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610da6565b600f546001546000548391900360001901612afe9190613d7c565b1115612b4c5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610da6565b80600e54612b5a9190613d94565b341015612ba95760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610da6565b6012546013546014546040516370a0823160e01b8152336004820152650100000000009093046001600160a01b03908116939281169291169060009060019085906370a0823190602401602060405180830381865afa158015612c10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c349190613db3565b10612ca9576040516370a0823160e01b81523360048201526001600160a01b038516906370a08231906024015b602060405180830381865afa158015612c7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca29190613db3565b9050612db0565b6040516370a0823160e01b81523360048201526001906001600160a01b038516906370a0823190602401602060405180830381865afa158015612cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d149190613db3565b10612d45576040516370a0823160e01b81523360048201526001600160a01b038416906370a0823190602401612c61565b6040516370a0823160e01b81523360048201526001600160a01b038316906370a0823190602401602060405180830381865afa158015612d89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dad9190613db3565b90505b6001811015612e015760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e277420686f6c64207265717569726564206e667473000000006044820152606401610da6565b612e0b338661342a565b5050505050565b6008546001600160a01b03163314612e5a5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601280546001600160a01b0390921665010000000000027fffffffffffffff0000000000000000000000000000000000000000ffffffffff909216919091179055565b6008546001600160a01b03163314612ee55760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601280549115156401000000000264ff0000000019909216919091179055565b6008546001600160a01b03163314612f4d5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b6001600160a01b038116612fc95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610da6565b61269781613444565b6008546001600160a01b0316331461301a5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b600e55565b600081600111158015613033575060005482105b8015610d5c575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006130bf826132ed565b9050836001600160a01b031681600001516001600160a01b031614613110576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b038616148061312e575061312e8533610c41565b8061314957503361313e84610e63565b6001600160a01b0316145b905080613182576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0384166131c2576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131ce60008487613058565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166132a45760005482146132a4578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e0b565b604080516060810182526000808252602082018190529181019190915281806001116133f8576000548110156133f857600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906133f65780516001600160a01b03161561338c579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156133f1579392505050565b61338c565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fd38282604051806020016040528060008152506136c6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906134cb903390899088908890600401613e8f565b6020604051808303816000875af1925050508015613506575060408051601f3d908101601f1916820190925261350391810190613ecb565b60015b613564573d808015613534576040519150601f19603f3d011682016040523d82523d6000602084013e613539565b606091505b50805160000361355c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a8054610de090613cfd565b6060816000036135d457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156135fe57806135e881613d63565b91506135f79050600a83613efe565b91506135d8565b60008167ffffffffffffffff81111561361957613619613a81565b6040519080825280601f01601f191660200182016040528015613643576020820181803683370190505b5090505b841561357a57613658600183613f12565b9150613665600a86613f29565b613670906030613d7c565b60f81b81838151811061368557613685613d37565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506136bf600a86613efe565b9450613647565b6000546001600160a01b038416613709576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600003613743576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b1561387b575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46138446000878480600101955087613496565b613861576040516368d2bf6b60e11b815260040160405180910390fd5b8082106137f957826000541461387657600080fd5b6138c0565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061387c575b5060009081556128039085838684565b8280546138dc90613cfd565b90600052602060002090601f0160209004810192826138fe5760008555613944565b82601f1061391757805160ff1916838001178555613944565b82800160010185558215613944579182015b82811115613944578251825591602001919060010190613929565b50613950929150613954565b5090565b5b808211156139505760008155600101613955565b6001600160e01b03198116811461269757600080fd5b60006020828403121561399157600080fd5b81356129d481613969565b80356001600160a01b03811681146139b357600080fd5b919050565b6000602082840312156139ca57600080fd5b6129d48261399c565b60005b838110156139ee5781810151838201526020016139d6565b838111156128035750506000910152565b60008151808452613a178160208601602086016139d3565b601f01601f19169290920160200192915050565b6020815260006129d460208301846139ff565b600060208284031215613a5057600080fd5b5035919050565b60008060408385031215613a6a57600080fd5b613a738361399c565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115613ab257613ab2613a81565b604051601f8501601f19908116603f01168101908282118183101715613ada57613ada613a81565b81604052809350858152868686011115613af357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215613b1f57600080fd5b813567ffffffffffffffff811115613b3657600080fd5b8201601f81018413613b4757600080fd5b61357a84823560208401613a97565b803580151581146139b357600080fd5b600060208284031215613b7857600080fd5b6129d482613b56565b600080600060608486031215613b9657600080fd5b613b9f8461399c565b9250613bad6020850161399c565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015613bf557835183529284019291840191600101613bd9565b50909695505050505050565b60008060408385031215613c1457600080fd5b82359150613c246020840161399c565b90509250929050565b60008060408385031215613c4057600080fd5b613c498361399c565b9150613c2460208401613b56565b60008060008060808587031215613c6d57600080fd5b613c768561399c565b9350613c846020860161399c565b925060408501359150606085013567ffffffffffffffff811115613ca757600080fd5b8501601f81018713613cb857600080fd5b613cc787823560208401613a97565b91505092959194509250565b60008060408385031215613ce657600080fd5b613cef8361399c565b9150613c246020840161399c565b600181811c90821680613d1157607f821691505b602082108103613d3157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613d7557613d75613d4d565b5060010190565b60008219821115613d8f57613d8f613d4d565b500190565b6000816000190483118215151615613dae57613dae613d4d565b500290565b600060208284031215613dc557600080fd5b5051919050565b600084516020613ddf8285838a016139d3565b855191840191613df28184848a016139d3565b8554920191600090600181811c9080831680613e0f57607f831692505b8583108103613e2c57634e487b7160e01b85526022600452602485fd5b808015613e405760018114613e5157613e7e565b60ff19851688528388019550613e7e565b60008b81526020902060005b85811015613e765781548a820152908401908801613e5d565b505083880195505b50939b9a5050505050505050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613ec160808301846139ff565b9695505050505050565b600060208284031215613edd57600080fd5b81516129d481613969565b634e487b7160e01b600052601260045260246000fd5b600082613f0d57613f0d613ee8565b500490565b600082821015613f2457613f24613d4d565b500390565b600082613f3857613f38613ee8565b50069056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122054332aca9aeced42e1777a61941362a8bd641d31c94356bbadec86891cd6fb6564736f6c634300080e0033697066733a2f2f516d584e5a73746d586435764534484469326f75457631557443754a35656f794d35784c725573775a737a6f546a2f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000046162636400000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061044a5760003560e01c80636577f7f611610243578063a2f8af0311610143578063d5abeb01116100bb578063e39795081161008a578063ead8e5141161006f578063ead8e51414610c6f578063f2fde38b14610c85578063f6a5b8e614610ca557600080fd5b8063e397950814610c10578063e985e9c514610c2657600080fd5b8063d5abeb0114610ba7578063dc44096a14610bbd578063e032f7ac14610bd0578063e0a8085314610bf057600080fd5b8063b88d4fde11610112578063c6275255116100f7578063c627525514610b51578063c87b56dd14610b71578063cdafdad914610b9157600080fd5b8063b88d4fde14610b11578063c2cf958614610b3157600080fd5b8063a2f8af0314610a9c578063a45ba8e714610abc578063ab098bf514610ad1578063b5cb948b14610af157600080fd5b806385f39d39116101d657806395d89b41116101a55780639fb17e341161018a5780639fb17e3414610a49578063a102184d14610a5c578063a22cb46514610a7c57600080fd5b806395d89b4114610a145780639ae4885614610a2957600080fd5b806385f39d39146109965780638690305b146109b65780638da5cb5b146109d65780638e052a27146109f457600080fd5b806370a082311161021257806370a0823114610921578063715018a6146109415780637871e154146109565780637ec4a6591461097657600080fd5b80636577f7f6146108ae578063664702b3146108ce57806366b58ba9146108ee5780636d2afde51461090157600080fd5b8063359bbf431161034e5780634ec7ac45116102e15780635b6174ea116102b057806362b99ad41161029557806362b99ad4146108595780636352211e1461086e578063638190211461088e57600080fd5b80635b6174ea1461081f5780635c975abb1461083f57600080fd5b80634ec7ac45146107a85780634fdd43cb146107c857806351830227146107e85780635503a0e81461080a57600080fd5b80633dd79ce21161031d5780633dd79ce21461071a57806342842e0e1461073b578063438b63001461075b5780634dfd94ea1461078857600080fd5b8063359bbf431461069c57806337b8345e146106bc5780633c8645f6146106e55780633ccfd60b1461070557600080fd5b806317d5669a116103e1578063228025e8116103b057806323b872dd1161039557806323b872dd1461063c578063241f914c1461065c5780632f848a8c1461067c57600080fd5b8063228025e8146105fc57806322b389351461061c57600080fd5b806317d5669a1461057f57806318160ddd1461059f578063205701c5146105c657806322710f0d146105e657600080fd5b8063081812fc1161041d578063081812fc146104e7578063095ea7b31461051f57806316ba10e01461053f57806316c38b3c1461055f57600080fd5b806301ffc9a71461044f578063049a8d4b1461048457806306247b81146104a357806306fdde03146104c5575b600080fd5b34801561045b57600080fd5b5061046f61046a36600461397f565b610cc5565b60405190151581526020015b60405180910390f35b34801561049057600080fd5b5060125461046f90610100900460ff1681565b3480156104af57600080fd5b506104c36104be3660046139b8565b610d62565b005b3480156104d157600080fd5b506104da610dd1565b60405161047b9190613a2b565b3480156104f357600080fd5b50610507610502366004613a3e565b610e63565b6040516001600160a01b03909116815260200161047b565b34801561052b57600080fd5b506104c361053a366004613a57565b610ec0565b34801561054b57600080fd5b506104c361055a366004613b0d565b610f78565b34801561056b57600080fd5b506104c361057a366004613b66565b610fd7565b34801561058b57600080fd5b506104c361059a3660046139b8565b611032565b3480156105ab57600080fd5b5060015460005403600019015b60405190815260200161047b565b3480156105d257600080fd5b5060125461046f9062010000900460ff1681565b3480156105f257600080fd5b506105b860115481565b34801561060857600080fd5b506104c3610617366004613a3e565b61109c565b34801561062857600080fd5b50601754610507906001600160a01b031681565b34801561064857600080fd5b506104c3610657366004613b81565b6110e9565b34801561066857600080fd5b506104c3610677366004613b66565b6110f4565b34801561068857600080fd5b506104c36106973660046139b8565b61115a565b3480156106a857600080fd5b50601354610507906001600160a01b031681565b3480156106c857600080fd5b50601254610507906501000000000090046001600160a01b031681565b3480156106f157600080fd5b50601b54610507906001600160a01b031681565b34801561071157600080fd5b506104c36111c4565b34801561072657600080fd5b5060125461046f906301000000900460ff1681565b34801561074757600080fd5b506104c3610756366004613b81565b6112dc565b34801561076757600080fd5b5061077b6107763660046139b8565b6112f7565b60405161047b9190613bbd565b34801561079457600080fd5b50601a54610507906001600160a01b031681565b3480156107b457600080fd5b506104c36107c3366004613a3e565b61143f565b3480156107d457600080fd5b506104c36107e3366004613b0d565b61148c565b3480156107f457600080fd5b5060125461046f90640100000000900460ff1681565b34801561081657600080fd5b506104da6114e7565b34801561082b57600080fd5b506104c361083a366004613b66565b611575565b34801561084b57600080fd5b5060125461046f9060ff1681565b34801561086557600080fd5b506104da6115d9565b34801561087a57600080fd5b50610507610889366004613a3e565b6115e6565b34801561089a57600080fd5b506104c36108a93660046139b8565b6115f8565b3480156108ba57600080fd5b506104c36108c93660046139b8565b611662565b3480156108da57600080fd5b50601554610507906001600160a01b031681565b6104c36108fc366004613a3e565b6116cc565b34801561090d57600080fd5b506104c361091c3660046139b8565b611fa6565b34801561092d57600080fd5b506105b861093c3660046139b8565b612010565b34801561094d57600080fd5b506104c3612078565b34801561096257600080fd5b506104c3610971366004613c01565b6120cc565b34801561098257600080fd5b506104c3610991366004613b0d565b612187565b3480156109a257600080fd5b506104c36109b13660046139b8565b6121e2565b3480156109c257600080fd5b506104c36109d13660046139b8565b61224c565b3480156109e257600080fd5b506008546001600160a01b0316610507565b348015610a0057600080fd5b506104c3610a0f366004613b66565b6122b6565b348015610a2057600080fd5b506104da612318565b348015610a3557600080fd5b506104c3610a44366004613a3e565b612327565b6104c3610a57366004613a3e565b612374565b348015610a6857600080fd5b506104c3610a773660046139b8565b61269a565b348015610a8857600080fd5b506104c3610a97366004613c2d565b612704565b348015610aa857600080fd5b50601854610507906001600160a01b031681565b348015610ac857600080fd5b506104da6127b2565b348015610add57600080fd5b50601954610507906001600160a01b031681565b348015610afd57600080fd5b50601454610507906001600160a01b031681565b348015610b1d57600080fd5b506104c3610b2c366004613c57565b6127bf565b348015610b3d57600080fd5b50601654610507906001600160a01b031681565b348015610b5d57600080fd5b506104c3610b6c366004613a3e565b612809565b348015610b7d57600080fd5b506104da610b8c366004613a3e565b612856565b348015610b9d57600080fd5b506105b860105481565b348015610bb357600080fd5b506105b8600f5481565b6104c3610bcb366004613a3e565b6129db565b348015610bdc57600080fd5b506104c3610beb3660046139b8565b612e12565b348015610bfc57600080fd5b506104c3610c0b366004613b66565b612e9d565b348015610c1c57600080fd5b506105b8600e5481565b348015610c3257600080fd5b5061046f610c41366004613cd3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610c7b57600080fd5b506105b8600d5481565b348015610c9157600080fd5b506104c3610ca03660046139b8565b612f05565b348015610cb157600080fd5b506104c3610cc0366004613a3e565b612fd2565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610d2857506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610d5c57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6008546001600160a01b03163314610daf5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e83398151915260448201526064015b60405180910390fd5b601680546001600160a01b0319166001600160a01b0392909216919091179055565b606060028054610de090613cfd565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0c90613cfd565b8015610e595780601f10610e2e57610100808354040283529160200191610e59565b820191906000526020600020905b815481529060010190602001808311610e3c57829003601f168201915b5050505050905090565b6000610e6e8261301f565b610ea4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610ecb826115e6565b9050806001600160a01b0316836001600160a01b031603610f18576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03821614610f6857610f328133610c41565b610f68576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f73838383613058565b505050565b6008546001600160a01b03163314610fc05760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b8051610fd390600b9060208401906138d0565b5050565b6008546001600160a01b0316331461101f5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b6012805460ff1916911515919091179055565b6008546001600160a01b0316331461107a5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146110e45760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b600f55565b610f738383836130b4565b6008546001600160a01b0316331461113c5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b6012805491151563010000000263ff00000019909216919091179055565b6008546001600160a01b031633146111a25760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461120c5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b60026009540361125e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610da6565b600260095560006112776008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146112c1576040519150601f19603f3d011682016040523d82523d6000602084013e6112c6565b606091505b50509050806112d457600080fd5b506001600955565b610f73838383604051806020016040528060008152506127bf565b6060600061130483612010565b905060008167ffffffffffffffff81111561132157611321613a81565b60405190808252806020026020018201604052801561134a578160200160208202803683370190505b50905060016000805b84821080156113645750600f548311155b1561143457600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820183905290916113d2575080516001600160a01b031615155b156113dc57805191505b876001600160a01b0316826001600160a01b031603611421578385848151811061140857611408613d37565b60209081029190910101528261141d81613d63565b9350505b8361142b81613d63565b94505050611353565b509195945050505050565b6008546001600160a01b031633146114875760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601155565b6008546001600160a01b031633146114d45760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b8051610fd390600c9060208401906138d0565b600b80546114f490613cfd565b80601f016020809104026020016040519081016040528092919081815260200182805461152090613cfd565b801561156d5780601f106115425761010080835404028352916020019161156d565b820191906000526020600020905b81548152906001019060200180831161155057829003601f168201915b505050505081565b6008546001600160a01b031633146115bd5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b60128054911515620100000262ff000019909216919091179055565b600a80546114f490613cfd565b60006115f1826132ed565b5192915050565b6008546001600160a01b031633146116405760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146116aa5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b60125460ff161561171f5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610da6565b60125462010000900460ff1661179d5760405162461bcd60e51b815260206004820152602260248201527f467269656e646c6965732050726573616c65206973206e6f74206f70656e207960448201527f65740000000000000000000000000000000000000000000000000000000000006064820152608401610da6565b6000811180156117af57506011548111155b6117fb5760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610da6565b600f5460015460005483919003600019016118169190613d7c565b11156118645760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610da6565b80600e546118729190613d94565b3410156118c15760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610da6565b601254601354601454601554601654601754601854601954601a54601b546040516370a0823160e01b815233600482015265010000000000909a046001600160a01b039081169a99811699988116989781169796811696958116959481169493811693928116929116906000906001908c906370a0823190602401602060405180830381865afa158015611959573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197d9190613db3565b106119f2576040516370a0823160e01b81523360048201526001600160a01b038c16906370a08231906024015b602060405180830381865afa1580156119c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119eb9190613db3565b9050611f3d565b6040516370a0823160e01b81523360048201526001906001600160a01b038c16906370a0823190602401602060405180830381865afa158015611a39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5d9190613db3565b10611a8e576040516370a0823160e01b81523360048201526001600160a01b038b16906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038b16906370a0823190602401602060405180830381865afa158015611ad5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af99190613db3565b10611b2a576040516370a0823160e01b81523360048201526001600160a01b038a16906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038a16906370a0823190602401602060405180830381865afa158015611b71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b959190613db3565b10611bc6576040516370a0823160e01b81523360048201526001600160a01b038916906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038916906370a0823190602401602060405180830381865afa158015611c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c319190613db3565b10611c62576040516370a0823160e01b81523360048201526001600160a01b038816906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038816906370a0823190602401602060405180830381865afa158015611ca9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ccd9190613db3565b10611cfe576040516370a0823160e01b81523360048201526001600160a01b038716906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038716906370a0823190602401602060405180830381865afa158015611d45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d699190613db3565b10611d9a576040516370a0823160e01b81523360048201526001600160a01b038616906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038616906370a0823190602401602060405180830381865afa158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e059190613db3565b10611e36576040516370a0823160e01b81523360048201526001600160a01b038516906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001906001600160a01b038516906370a0823190602401602060405180830381865afa158015611e7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea19190613db3565b10611ed2576040516370a0823160e01b81523360048201526001600160a01b038416906370a08231906024016119aa565b6040516370a0823160e01b81523360048201526001600160a01b038316906370a0823190602401602060405180830381865afa158015611f16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3a9190613db3565b90505b6001811015611f8e5760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e277420686f6c64207265717569726564204e465453000000006044820152606401610da6565b611f98338d61342a565b505050505050505050505050565b6008546001600160a01b03163314611fee5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216612052576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146120c05760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b6120ca6000613444565b565b6008546001600160a01b031633146121145760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b600f54600154600054849190036000190161212f9190613d7c565b111561217d5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610da6565b610fd3818361342a565b6008546001600160a01b031633146121cf5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b8051610fd390600a9060208401906138d0565b6008546001600160a01b0316331461222a5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601b80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146122945760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031633146122fe5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601280549115156101000261ff0019909216919091179055565b606060038054610de090613cfd565b6008546001600160a01b0316331461236f5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601055565b60125460ff16156123c75760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610da6565b601254610100900460ff161561246b5760405162461bcd60e51b815260206004820152604360248201527f466f726d696c69612050726573616c6520697320676f696e6720646f776e2c2060448201527f506c65617365207761697420666f72207075626c69632073616c6520746f206f60648201527f70656e0000000000000000000000000000000000000000000000000000000000608482015260a401610da6565b60125462010000900460ff16156125105760405162461bcd60e51b815260206004820152604560248201527f467269656e646c6965732050726573616c6520697320676f696e6720646f776e60448201527f2c20506c65617365207761697420666f72207075626c69632073616c6520746f60648201527f206f70656e000000000000000000000000000000000000000000000000000000608482015260a401610da6565b6012546301000000900460ff166125695760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632053616c6520686173206e6f74207374617274656400000000006044820152606401610da6565b60008111801561257b57506010548111155b6125c75760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610da6565b600f5460015460005483919003600019016125e29190613d7c565b11156126305760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610da6565b80600d5461263e9190613d94565b34101561268d5760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610da6565b612697338261342a565b50565b6008546001600160a01b031633146126e25760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b336001600160a01b03831603612746576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c80546114f490613cfd565b6127ca8484846130b4565b6001600160a01b0383163b15612803576127e684848484613496565b612803576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146128515760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b600d55565b60606128618261301f565b6128d35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610da6565b601254640100000000900460ff16151560000361297c57600c80546128f790613cfd565b80601f016020809104026020016040519081016040528092919081815260200182805461292390613cfd565b80156129705780601f1061294557610100808354040283529160200191612970565b820191906000526020600020905b81548152906001019060200180831161295357829003601f168201915b50505050509050919050565b6000612986613582565b905060008151116129a657604051806020016040528060008152506129d4565b806129b084613591565b600b6040516020016129c493929190613dcc565b6040516020818303038152906040525b9392505050565b60125460ff1615612a2e5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610da6565b601254610100900460ff16612a855760405162461bcd60e51b815260206004820181905260248201527f466f726d696c69612050726573616c65206973206e6f74206f70656e207965746044820152606401610da6565b600081118015612a9757506011548111155b612ae35760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152606401610da6565b600f546001546000548391900360001901612afe9190613d7c565b1115612b4c5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610da6565b80600e54612b5a9190613d94565b341015612ba95760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e647321000000000000000000000000006044820152606401610da6565b6012546013546014546040516370a0823160e01b8152336004820152650100000000009093046001600160a01b03908116939281169291169060009060019085906370a0823190602401602060405180830381865afa158015612c10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c349190613db3565b10612ca9576040516370a0823160e01b81523360048201526001600160a01b038516906370a08231906024015b602060405180830381865afa158015612c7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca29190613db3565b9050612db0565b6040516370a0823160e01b81523360048201526001906001600160a01b038516906370a0823190602401602060405180830381865afa158015612cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d149190613db3565b10612d45576040516370a0823160e01b81523360048201526001600160a01b038416906370a0823190602401612c61565b6040516370a0823160e01b81523360048201526001600160a01b038316906370a0823190602401602060405180830381865afa158015612d89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dad9190613db3565b90505b6001811015612e015760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e277420686f6c64207265717569726564206e667473000000006044820152606401610da6565b612e0b338661342a565b5050505050565b6008546001600160a01b03163314612e5a5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601280546001600160a01b0390921665010000000000027fffffffffffffff0000000000000000000000000000000000000000ffffffffff909216919091179055565b6008546001600160a01b03163314612ee55760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b601280549115156401000000000264ff0000000019909216919091179055565b6008546001600160a01b03163314612f4d5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b6001600160a01b038116612fc95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610da6565b61269781613444565b6008546001600160a01b0316331461301a5760405162461bcd60e51b81526020600482018190526024820152600080516020613f3e8339815191526044820152606401610da6565b600e55565b600081600111158015613033575060005482105b8015610d5c575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006130bf826132ed565b9050836001600160a01b031681600001516001600160a01b031614613110576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b038616148061312e575061312e8533610c41565b8061314957503361313e84610e63565b6001600160a01b0316145b905080613182576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0384166131c2576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131ce60008487613058565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166132a45760005482146132a4578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e0b565b604080516060810182526000808252602082018190529181019190915281806001116133f8576000548110156133f857600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906133f65780516001600160a01b03161561338c579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156133f1579392505050565b61338c565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fd38282604051806020016040528060008152506136c6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906134cb903390899088908890600401613e8f565b6020604051808303816000875af1925050508015613506575060408051601f3d908101601f1916820190925261350391810190613ecb565b60015b613564573d808015613534576040519150601f19603f3d011682016040523d82523d6000602084013e613539565b606091505b50805160000361355c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a8054610de090613cfd565b6060816000036135d457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156135fe57806135e881613d63565b91506135f79050600a83613efe565b91506135d8565b60008167ffffffffffffffff81111561361957613619613a81565b6040519080825280601f01601f191660200182016040528015613643576020820181803683370190505b5090505b841561357a57613658600183613f12565b9150613665600a86613f29565b613670906030613d7c565b60f81b81838151811061368557613685613d37565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506136bf600a86613efe565b9450613647565b6000546001600160a01b038416613709576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600003613743576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b1561387b575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46138446000878480600101955087613496565b613861576040516368d2bf6b60e11b815260040160405180910390fd5b8082106137f957826000541461387657600080fd5b6138c0565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061387c575b5060009081556128039085838684565b8280546138dc90613cfd565b90600052602060002090601f0160209004810192826138fe5760008555613944565b82601f1061391757805160ff1916838001178555613944565b82800160010185558215613944579182015b82811115613944578251825591602001919060010190613929565b50613950929150613954565b5090565b5b808211156139505760008155600101613955565b6001600160e01b03198116811461269757600080fd5b60006020828403121561399157600080fd5b81356129d481613969565b80356001600160a01b03811681146139b357600080fd5b919050565b6000602082840312156139ca57600080fd5b6129d48261399c565b60005b838110156139ee5781810151838201526020016139d6565b838111156128035750506000910152565b60008151808452613a178160208601602086016139d3565b601f01601f19169290920160200192915050565b6020815260006129d460208301846139ff565b600060208284031215613a5057600080fd5b5035919050565b60008060408385031215613a6a57600080fd5b613a738361399c565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115613ab257613ab2613a81565b604051601f8501601f19908116603f01168101908282118183101715613ada57613ada613a81565b81604052809350858152868686011115613af357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215613b1f57600080fd5b813567ffffffffffffffff811115613b3657600080fd5b8201601f81018413613b4757600080fd5b61357a84823560208401613a97565b803580151581146139b357600080fd5b600060208284031215613b7857600080fd5b6129d482613b56565b600080600060608486031215613b9657600080fd5b613b9f8461399c565b9250613bad6020850161399c565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015613bf557835183529284019291840191600101613bd9565b50909695505050505050565b60008060408385031215613c1457600080fd5b82359150613c246020840161399c565b90509250929050565b60008060408385031215613c4057600080fd5b613c498361399c565b9150613c2460208401613b56565b60008060008060808587031215613c6d57600080fd5b613c768561399c565b9350613c846020860161399c565b925060408501359150606085013567ffffffffffffffff811115613ca757600080fd5b8501601f81018713613cb857600080fd5b613cc787823560208401613a97565b91505092959194509250565b60008060408385031215613ce657600080fd5b613cef8361399c565b9150613c246020840161399c565b600181811c90821680613d1157607f821691505b602082108103613d3157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613d7557613d75613d4d565b5060010190565b60008219821115613d8f57613d8f613d4d565b500190565b6000816000190483118215151615613dae57613dae613d4d565b500290565b600060208284031215613dc557600080fd5b5051919050565b600084516020613ddf8285838a016139d3565b855191840191613df28184848a016139d3565b8554920191600090600181811c9080831680613e0f57607f831692505b8583108103613e2c57634e487b7160e01b85526022600452602485fd5b808015613e405760018114613e5157613e7e565b60ff19851688528388019550613e7e565b60008b81526020902060005b85811015613e765781548a820152908401908801613e5d565b505083880195505b50939b9a5050505050505050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613ec160808301846139ff565b9695505050505050565b600060208284031215613edd57600080fd5b81516129d481613969565b634e487b7160e01b600052601260045260246000fd5b600082613f0d57613f0d613ee8565b500490565b600082821015613f2457613f24613d4d565b500390565b600082613f3857613f38613ee8565b50069056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122054332aca9aeced42e1777a61941362a8bd641d31c94356bbadec86891cd6fb6564736f6c634300080e0033

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

000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000046162636400000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _uriPrefix (string): abcd

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [2] : 6162636400000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.