ETH Price: $2,533.82 (-2.63%)

Token

FLUF World: Burrows (BURROWS)
 

Overview

Max Total Supply

10,500 BURROWS

Holders

3,116

Market

Volume (24H)

0.0404 ETH

Min Price (24H)

$45.85 @ 0.018096 ETH

Max Price (24H)

$56.50 @ 0.022300 ETH
Filtered by Token Holder
0x066600.eth
Balance
2 BURROWS
0x6e53ef4c3d1ce2890801098be3f441b1c6d531c4
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Every Fluf needs a place to call home... and you know they're all about living the high life. In collaboration with [Beyond](https://beyond.fun/), Burrows are the hottest virtual metaspaces in all of FLUF World; yours to collect, trade and explore.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Burrows

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 20 runs

Other Settings:
default evmVersion
File 1 of 14 : Burrows.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721A.sol";

contract Burrows is ERC721A, ReentrancyGuard, Ownable {
  using ECDSA for bytes32;
  using Address for address;

  enum State {
    Setup,
    WindowOne,
    WindowTwo,
    WindowThree,
    PublicSale,
    Finished
  }

  State private _state;
  address private _signer;
  address public _beneficiaryWallet;
  string private _tokenUriBase;
  uint256 public constant MAX_BURROWS = 10500;
  uint256 public constant MAX_MINT = 5;
  uint256 private BURROWS_PRICE = 0.22 ether;
  mapping(bytes => bool) public usedToken;
  mapping(address => mapping(uint256 => bool)) public tokenMinted;
  mapping(uint256 => mapping(address => bool)) public allowedContractsInWindow;
  event Minted(
    address minter,
    address[] contractAddresses,
    uint256[] tokenIdsToMint,
    uint256 fromTokenId,
    uint256 toTokenId,
    uint256 amount
  );
  event PublicMinted(address minter, uint256 amount);
  event StateChanged(State _state);
  event SignerChanged(address signer);
  event BalanceWithdrawn(address recipient, uint256 value);

  constructor(address signer)
    ERC721A("FLUF World: Burrows", "BURROWS", MAX_MINT)
  {
    _signer = signer;
    _state = State.Setup;
    _beneficiaryWallet = address(0xabc1f4Db8D6cc2b4Df9296A1852Ba1Ff8D190a7F);
    // Window 1;
    allowedContractsInWindow[1][
      0xCcc441ac31f02cD96C153DB6fd5Fe0a2F4e6A68d
    ] = true; // FLUF
    // Window 2;
    allowedContractsInWindow[2][
      0xCcc441ac31f02cD96C153DB6fd5Fe0a2F4e6A68d
    ] = true; // FLUF
    allowedContractsInWindow[2][
      0x35471f47c3C0BC5FC75025b97A19ECDDe00F78f8
    ] = true; // Partybears
    allowedContractsInWindow[2][
      0x1AFEF6b252cc35Ec061eFe6a9676C90915a73F18
    ] = true; // THINGIES
    // Window 3;
    allowedContractsInWindow[3][
      0xCcc441ac31f02cD96C153DB6fd5Fe0a2F4e6A68d
    ] = true; // FLUF
    allowedContractsInWindow[3][
      0x35471f47c3C0BC5FC75025b97A19ECDDe00F78f8
    ] = true; // Partybears
    allowedContractsInWindow[3][
      0x1AFEF6b252cc35Ec061eFe6a9676C90915a73F18
    ] = true; // THINGIES
    allowedContractsInWindow[3][
      0x96bE46c50E882dbd373081d08E0CDE2B055Adf6c
    ] = true; // ASM Characters
    allowedContractsInWindow[3][
      0xD0318da435DbcE0B347cc6faA330B5A9889e3585
    ] = true; // ASM Brains
    allowedContractsInWindow[3][
      0xd0F0C40FCD1598721567F140eBf8aF436e7b97cF
    ] = true; // JADU Jetpacks
    allowedContractsInWindow[3][
      0xeDa3b617646B5fc8C9c696e0356390128cE900F8
    ] = true; // JADU Hoverboards
  }

  function updateBeneficiaryWallet(address _wallet) public onlyOwner {
    _beneficiaryWallet = _wallet;
  }

  function updateSigner(address __signer) public onlyOwner {
    _signer = __signer;
  }

  function _hash(string calldata salt, address _address)
    public
    view
    returns (bytes32)
  {
    return keccak256(abi.encode(salt, address(this), _address));
  }

  function _verify(bytes32 hash, bytes memory token)
    public
    view
    returns (bool)
  {
    return (_recover(hash, token) == _signer);
  }

  function _recover(bytes32 hash, bytes memory token)
    public
    pure
    returns (address)
  {
    return hash.toEthSignedMessageHash().recover(token);
  }

  function tokenURI(uint256 tokenId)
    public
    view
    override(ERC721A)
    returns (string memory)
  {
    return string(abi.encodePacked(baseTokenURI(), Strings.toString(tokenId)));
  }

  function baseTokenURI() public view virtual returns (string memory) {
    return _tokenUriBase;
  }

  function setTokenURI(string memory tokenUriBase_) public onlyOwner {
    _tokenUriBase = tokenUriBase_;
  }

  function setStateToSetup() public onlyOwner {
    _state = State.Setup;
  }

  function startWindowOne() public onlyOwner {
    _state = State.WindowOne;
  }

  function startWindowTwo() public onlyOwner {
    _state = State.WindowTwo;
  }

  function startWindowThree() public onlyOwner {
    _state = State.WindowThree;
  }

  function startPublicSale() public onlyOwner {
    _state = State.PublicSale;
  }

  function setStateToFinished() public onlyOwner {
    _state = State.Finished;
  }

  function updateAllowedContractsInWindow(
    uint256 window,
    address contractAddress,
    bool allowed
  ) public onlyOwner {
    allowedContractsInWindow[window][contractAddress] = allowed;
  }

  function currentContractIsAllowedToMint(address contractAddress)
    public
    view
    returns (bool)
  {
    uint256 key = 0;
    if (_state == State.Setup || _state == State.Finished) {
      return false;
    }
    if (_state == State.WindowOne) {
      key = 1;
    } else if (_state == State.WindowTwo) {
      key = 2;
    } else if (_state == State.WindowThree) {
      key = 3;
    }
    return allowedContractsInWindow[key][contractAddress];
  }

  function isTokenOwner(
    address _contractAddress,
    uint256 tokenId,
    address _address
  ) public view returns (bool) {
    address owner_ = IERC721(_contractAddress).ownerOf(tokenId);
    if (owner_ == _address) {
      return true;
    } else {
      return false;
    }
  }

  function hasTokenMintedBatch(
    address[] calldata _contractAddresses,
    uint256[] calldata _tokens
  ) public view returns (bool[] memory) {
    require(
      _contractAddresses.length == _tokens.length,
      "Arrays are not identical in length"
    );
    uint256 amount = _contractAddresses.length;
    bool[] memory results = new bool[](amount);
    for (uint256 i = 0; i < amount; i++) {
      results[i] = tokenMinted[_contractAddresses[i]][_tokens[i]];
    }
    return results;
  }

  function mint(
    address[] memory contractAddresses,
    uint256[] memory tokenIdsToMint
  ) external payable nonReentrant {
    require(_state != State.Setup, "Sale is not active.");
    require(_state != State.Finished, "Sale has already finished.");
    require(_state != State.PublicSale, "Sale has should not be publicsale.");
    uint256 amount = tokenIdsToMint.length;
    require(amount > 0, "You can't mint 0 Burrows");
    require(
      amount == contractAddresses.length,
      "Both arrays have to be identical in length"
    );
    require(
      totalSupply() + amount <= MAX_BURROWS,
      "Amount should not exceed max supply of Burrows."
    );
    require(
      msg.value >= BURROWS_PRICE * amount,
      "Ether value sent is incorrect."
    );

    for (uint256 i = 0; i < amount; i++) {
      require(isTokenOwner(contractAddresses[i], tokenIdsToMint[i],
       msg.sender) == true, "You can't mint someone else's Burrow");
      require(
        currentContractIsAllowedToMint(contractAddresses[i]) == true,
        "The given contract is not allowed to mint, maybe later?"
      );
      require(
        tokenMinted[contractAddresses[i]][tokenIdsToMint[i]] == false,
        "This token has already minted"
      );
      tokenMinted[contractAddresses[i]][tokenIdsToMint[i]] = true;
    }

    _safeMint(msg.sender, amount);
    uint256 fromTokenId = totalSupply() - amount;
    forwardEther(_beneficiaryWallet);
    emit Minted(
      msg.sender,
      contractAddresses,
      tokenIdsToMint,
      fromTokenId,
      (totalSupply() - 1),
      amount
    );
  }

  function publicMint(
    string calldata salt,
    bytes calldata token,
    uint256 amount
  ) external payable nonReentrant {
    require(_state == State.PublicSale, "Public sale is not active.");
    require(
      !Address.isContract(msg.sender),
      "Contracts are not allowed to mint burrows."
    );
    require(amount <= MAX_MINT, "You can only mint 5 Burrows at a time.");
    require(
      totalSupply() + amount <= MAX_BURROWS,
      "Amount should not exceed max supply of Burrows."
    );
    require(
      msg.value >= BURROWS_PRICE * amount,
      "Ether value sent is incorrect."
    );
    require(!usedToken[token], "The token has been used.");
    require(_verify(_hash(salt, msg.sender), token), "Invalid token.");
    usedToken[token] = true;
    _safeMint(msg.sender, amount);
    forwardEther(_beneficiaryWallet);
    emit PublicMinted(msg.sender, amount);
  }

  function forwardEther(address _to) public payable {
    (bool sent, bytes memory data) = _to.call{value: msg.value}("");
    require(sent, "Failed to send Ether");
  }

  function withdrawAll(address recipient) public onlyOwner {
    uint256 balance = address(this).balance;
    payable(recipient).transfer(balance);
    emit BalanceWithdrawn(recipient, balance);
  }

  function withdrawAllViaCall(address payable _to) public onlyOwner {
    uint256 balance = address(this).balance;
    (bool sent, bytes memory data) = _to.call{value: balance}("");
    require(sent, "Failed to send Ether");
  }
}

File 2 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creators: locationtba.eth, 2pmflow.eth

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  uint256 internal immutable maxBatchSize;

  // 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) private _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;

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_
  ) {
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
  }

  /**
   * @dev See {IERC721Enumerable-totalSupply}.
   */
  function totalSupply() public view override returns (uint256) {
    return currentIndex;
  }

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

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(address owner) public view override returns (uint256) {
    require(owner != address(0), "ERC721A: balance query for the zero address");
    return uint256(_addressData[owner].balance);
  }

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @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)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    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);
    require(to != owner, "ERC721A: approval to current owner");

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

    _approve(to, tokenId, owner);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(uint256 tokenId) public view override returns (address) {
    require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: approve to caller");

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

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

  /**
   * @dev See {IERC721-transferFrom}.
   */
  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    _transfer(from, to, tokenId);
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    safeTransferFrom(from, to, tokenId, "");
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: transfer to non ERC721Receiver implementer"
    );
  }

  /**
   * @dev Returns whether `tokenId` exists.
   *
   * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
   *
   * Tokens start existing when they are minted (`_mint`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

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

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `tokenId` token must be owned by `from`.
   *
   * Emits a {Transfer} event.
   */
  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

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

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

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

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

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > currentIndex - 1) {
      endIndex = currentIndex - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
   * The call is not executed if the target address is not a contract.
   *
   * @param from address representing the previous owner of the given token ID
   * @param to target address that will receive the tokens
   * @param tokenId uint256 ID of the token to be transferred
   * @param _data bytes optional data to send along with the call
   * @return bool whether the call correctly returned the expected magic value
   */
  function _checkOnERC721Received(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) private returns (bool) {
    if (to.isContract()) {
      try
        IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data)
      returns (bytes4 retval) {
        return retval == IERC721Receiver(to).onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721A: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * 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`.
   */
  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.
   *
   * 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` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

File 3 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 4 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

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 5 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 6 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 14 : Context.sol
// SPDX-License-Identifier: MIT

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 8 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 10 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 12 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

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 make 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 14 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"BalanceWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"address[]","name":"contractAddresses","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"tokenIdsToMint","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PublicMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"signer","type":"address"}],"name":"SignerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum Burrows.State","name":"_state","type":"uint8"}],"name":"StateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_BURROWS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_beneficiaryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"salt","type":"string"},{"internalType":"address","name":"_address","type":"address"}],"name":"_hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"token","type":"bytes"}],"name":"_recover","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"token","type":"bytes"}],"name":"_verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"allowedContractsInWindow","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"currentContractIsAllowedToMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"forwardEther","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_contractAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_tokens","type":"uint256[]"}],"name":"hasTokenMintedBatch","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"isTokenOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"contractAddresses","type":"address[]"},{"internalType":"uint256[]","name":"tokenIdsToMint","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"salt","type":"string"},{"internalType":"bytes","name":"token","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStateToFinished","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStateToSetup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenUriBase_","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startWindowOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startWindowThree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startWindowTwo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"window","type":"uint256"},{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"updateAllowedContractsInWindow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"updateBeneficiaryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"__signer","type":"address"}],"name":"updateSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"usedToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"withdrawAllViaCall","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260008055600060075567030d98d59a960000600d553480156200002657600080fd5b50604051620043043803806200430483398101604081905262000049916200049b565b6040518060400160405280601381526020017f464c554620576f726c643a20427572726f77730000000000000000000000000081525060405180604001604052806007815260200166425552524f575360c81b815250600560008111620001065760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840160405180910390fd5b82516200011b906001906020860190620003f5565b50815162000131906002906020850190620003f5565b50608052505060016008556200014733620003a3565b600a80546001600160a01b03929092166001600160a01b03199283161790556009805460ff60a01b19169055600b805473abc1f4db8d6cc2b4df9296a1852ba1ff8d190a7f92169190911790557ff9b19ce87f18f96057ab8a6af9d74ff369e605aefd4d5705eabc2ba0842cfbbf805460ff1990811660019081179092557f2a5a16b205310b9375dfaa03f865dcc66b41b1416429ea5ce0cec323f285797280548216831790557f37d53442c60b1ca8b58debad45e27cb21ee56b70a5e2bce439f6ca4d64e9508c80548216831790557fa042b94b6a6aee7bae3bdc603cf36cfed0bfab81f362d606d7a79c28d2aab7e580548216831790557f037691cbca42e5a7ffa921cf56a462c22f5655123dcef2b608636f2b9ea6474480548216831790557f86a263ec71717cfd3e8a8142acc027ef6337815b76c7f399f1c8bb598f1af93980548216831790557f9442b1a6c1c3260c585acfed22b4c72281f4424251bfa37aadcaad2cbe9024b880548216831790557f278299fb49a9717f796861c580669ca10faad90775c5164b4fd1266199ab7e4280548216831790557f88b07c5fc2ec975c85a8fe7f829d822da880d79e853af74c278ce59e59d7434b80548216831790557ffdef1cd2120543c019952a6fec272eb711e5df1d2fec10988e5853cf4702f446805482168317905573eda3b617646b5fc8c9c696e0356390128ce900f86000527fb3edd0d534d647cffdae9f1294f11ad21f3fcf2814bea44c92bbb8d384a57d9e6020527fb86438389671fb1ec05da6822a898032332642d2d41e2af8de9a38147798300b8054909116909117905562000508565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200040390620004cb565b90600052602060002090601f01602090048101928262000427576000855562000472565b82601f106200044257805160ff191683800117855562000472565b8280016001018555821562000472579182015b828111156200047257825182559160200191906001019062000455565b506200048092915062000484565b5090565b5b8082111562000480576000815560010162000485565b600060208284031215620004ad578081fd5b81516001600160a01b0381168114620004c4578182fd5b9392505050565b600181811c90821680620004e057607f821691505b602082108114156200050257634e487b7160e01b600052602260045260246000fd5b50919050565b608051613dd262000532600039600081816126f10152818161271b0152612dd00152613dd26000f3fe6080604052600436106102335760003560e01c8063722791381161012a578063722791381461053f5780638da5cb5b1461057a57806395d89b411461058f578063a22cb465146105a4578063a7ecd37e146105c4578063a905821a146105e4578063ad5ee93b14610604578063b0384ea114610624578063b15a334914610639578063b88d4fde14610659578063c87b56dd14610679578063cd9f9b9214610699578063cfa8ba4f146106d4578063d547cfb7146106f4578063d7224ba014610709578063e0df5b6f1461071f578063e467f7e01461073f578063e985e9c514610752578063ec8ba2d91461079b578063eccb9364146107bb578063edcf10a2146107d0578063f0292a03146107e6578063f2fde38b146107fb578063fa09e6301461081b57600080fd5b806301ffc9a71461023857806306fdde031461026d578063081812fc1461028f578063095ea7b3146102c75780630c1c972a146102e957806318160ddd146102fe5780631ee216f01461031d57806323af88271461033057806323b872dd14610345578063265d3e97146103655780632907ba19146103855780632d8eb9b9146103a55780632f745c59146103e05780632fdf414f1461040057806342842e0e146104205780634608f9b1146104405780634f6ccce7146104555780636352211e146104755780636562751314610495578063681ba83e146104aa5780636e4cb6ab146104bd5780636ef3a83f146104ea57806370a082311461050a578063715018a61461052a575b600080fd5b34801561024457600080fd5b50610258610253366004613627565b61083b565b60405190151581526020015b60405180910390f35b34801561027957600080fd5b506102826108a8565b60405161026491906139fd565b34801561029b57600080fd5b506102af6102aa36600461378f565b61093a565b6040516001600160a01b039091168152602001610264565b3480156102d357600080fd5b506102e76102e2366004613457565b6109ca565b005b3480156102f557600080fd5b506102e7610ade565b34801561030a57600080fd5b506000545b604051908152602001610264565b6102e761032b36600461330a565b610b2a565b34801561033c57600080fd5b506102e7610b9f565b34801561035157600080fd5b506102e761036036600461337a565b610be8565b34801561037157600080fd5b506102af6103803660046135ed565b610bf3565b34801561039157600080fd5b506102e76103a036600461330a565b610c5c565b3480156103b157600080fd5b506102586103c0366004613457565b600f60209081526000928352604080842090915290825290205460ff1681565b3480156103ec57600080fd5b5061030f6103fb366004613457565b610cad565b34801561040c57600080fd5b5061025861041b366004613482565b610e1a565b34801561042c57600080fd5b506102e761043b36600461337a565b610ec8565b34801561044c57600080fd5b506102e7610ee3565b34801561046157600080fd5b5061030f61047036600461378f565b610f2c565b34801561048157600080fd5b506102af61049036600461378f565b610f8e565b3480156104a157600080fd5b506102e7610fa0565b6102e76104b83660046136da565b610fe9565b3480156104c957600080fd5b506104dd6104d83660046134c3565b611339565b6040516102649190613970565b3480156104f657600080fd5b50600b546102af906001600160a01b031681565b34801561051657600080fd5b5061030f61052536600461330a565b6114e2565b34801561053657600080fd5b506102e7611573565b34801561054b57600080fd5b5061025861055a3660046137a7565b601060209081526000928352604080842090915290825290205460ff1681565b34801561058657600080fd5b506102af6115ae565b34801561059b57600080fd5b506102826115bd565b3480156105b057600080fd5b506102e76105bf366004613423565b6115cc565b3480156105d057600080fd5b506102e76105df36600461330a565b61168e565b3480156105f057600080fd5b506102e76105ff36600461330a565b6116df565b34801561061057600080fd5b506102e761061f3660046137cb565b61178a565b34801561063057600080fd5b506102e76117ee565b34801561064557600080fd5b5061025861065436600461330a565b611837565b34801561066557600080fd5b506102e76106743660046133ba565b61198a565b34801561068557600080fd5b5061028261069436600461378f565b6119bd565b3480156106a557600080fd5b506102586106b436600461365f565b8051602081830181018051600e8252928201919093012091525460ff1681565b3480156106e057600080fd5b506102586106ef3660046135ed565b6119f7565b34801561070057600080fd5b50610282611a21565b34801561071557600080fd5b5061030f60075481565b34801561072b57600080fd5b506102e761073a36600461374a565b611a30565b6102e761074d36600461352b565b611a76565b34801561075e57600080fd5b5061025861076d366004613342565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156107a757600080fd5b5061030f6107b6366004613691565b6120a3565b3480156107c757600080fd5b506102e76120db565b3480156107dc57600080fd5b5061030f61290481565b3480156107f257600080fd5b5061030f600581565b34801561080757600080fd5b506102e761081636600461330a565b612124565b34801561082757600080fd5b506102e761083636600461330a565b6121c4565b60006001600160e01b031982166380ac58cd60e01b148061086c57506001600160e01b03198216635b5e139f60e01b145b8061088757506001600160e01b0319821663780e9d6360e01b145b806108a257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546108b790613cc5565b80601f01602080910402602001604051908101604052809291908181526020018280546108e390613cc5565b80156109305780601f1061090557610100808354040283529160200191610930565b820191906000526020600020905b81548152906001019060200180831161091357829003601f168201915b5050505050905090565b6000610947826000541190565b6109ae5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006109d582610f8e565b9050806001600160a01b0316836001600160a01b03161415610a445760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016109a5565b336001600160a01b0382161480610a605750610a60813361076d565b610ace5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f6044820152781ddb995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b603a1b60648201526084016109a5565b610ad9838383612269565b505050565b33610ae76115ae565b6001600160a01b031614610b0d5760405162461bcd60e51b81526004016109a590613a3e565b600980546004919060ff60a01b1916600160a01b835b0217905550565b600080826001600160a01b03163460405160006040518083038185875af1925050503d8060008114610b78576040519150601f19603f3d011682016040523d82523d6000602084013e610b7d565b606091505b509150915081610ad95760405162461bcd60e51b81526004016109a590613a10565b33610ba86115ae565b6001600160a01b031614610bce5760405162461bcd60e51b81526004016109a590613a3e565b600980546000919060ff60a01b1916600160a01b83610b23565b610ad98383836122c5565b6000610c5582610c4f856040517b0ca2ba3432b932bab69029b4b3b732b21026b2b9b9b0b3b29d05199960211b6020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9061264b565b9392505050565b33610c656115ae565b6001600160a01b031614610c8b5760405162461bcd60e51b81526004016109a590613a3e565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610cb8836114e2565b8210610d115760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016109a5565b600080549080805b83811015610dba576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610d6b57805192505b876001600160a01b0316836001600160a01b03161415610da75786841415610d99575093506108a292505050565b83610da381613d00565b9450505b5080610db281613d00565b915050610d19565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016109a5565b6040516331a9108f60e11b81526004810183905260009081906001600160a01b03861690636352211e9060240160206040518083038186803b158015610e5f57600080fd5b505afa158015610e73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e979190613326565b9050826001600160a01b0316816001600160a01b03161415610ebd576001915050610c55565b506000949350505050565b610ad98383836040518060200160405280600081525061198a565b33610eec6115ae565b6001600160a01b031614610f125760405162461bcd60e51b81526004016109a590613a3e565b600980546003919060ff60a01b1916600160a01b83610b23565b600080548210610f8a5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016109a5565b5090565b6000610f998261266f565b5192915050565b33610fa96115ae565b6001600160a01b031614610fcf5760405162461bcd60e51b81526004016109a590613a3e565b600980546001919060ff60a01b1916600160a01b83610b23565b6002600854141561100c5760405162461bcd60e51b81526004016109a590613b4c565b60026008556004600954600160a01b900460ff16600581111561103f57634e487b7160e01b600052602160045260246000fd5b146110895760405162461bcd60e51b815260206004820152601a602482015279283ab13634b19039b0b6329034b9903737ba1030b1ba34bb329760311b60448201526064016109a5565b333b156110eb5760405162461bcd60e51b815260206004820152602a60248201527f436f6e74726163747320617265206e6f7420616c6c6f77656420746f206d696e6044820152693a10313ab93937bbb99760b11b60648201526084016109a5565b600581111561114b5760405162461bcd60e51b815260206004820152602660248201527f596f752063616e206f6e6c79206d696e74203520427572726f77732061742061604482015265103a34b6b29760d11b60648201526084016109a5565b6129048161115860005490565b6111629190613bf8565b11156111805760405162461bcd60e51b81526004016109a590613aaa565b80600d5461118e9190613c24565b3410156111ad5760405162461bcd60e51b81526004016109a590613a73565b600e83836040516111bf929190613834565b9081526040519081900360200190205460ff161561121a5760405162461bcd60e51b81526020600482015260186024820152772a3432903a37b5b2b7103430b9903132b2b7103ab9b2b21760411b60448201526064016109a5565b6112646112288686336120a3565b84848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506119f792505050565b6112a15760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b2103a37b5b2b71760911b60448201526064016109a5565b6001600e84846040516112b5929190613834565b908152604051908190036020019020805491151560ff199092169190911790556112df3382612818565b600b546112f4906001600160a01b0316610b2a565b7fab9980fb1d2916bce9017edd1be458e3f56d0899b3367cb3a8be97483fbe069b3382604051611325929190613957565b60405180910390a150506001600855505050565b60608382146113955760405162461bcd60e51b815260206004820152602260248201527f41727261797320617265206e6f74206964656e746963616c20696e206c656e676044820152610e8d60f31b60648201526084016109a5565b836000816001600160401b038111156113be57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156113e7578160200160208202803683370190505b50905060005b828110156114d557600f600089898481811061141957634e487b7160e01b600052603260045260246000fd5b905060200201602081019061142e919061330a565b6001600160a01b03166001600160a01b03168152602001908152602001600020600087878481811061147057634e487b7160e01b600052603260045260246000fd5b90506020020135815260200190815260200160002060009054906101000a900460ff168282815181106114b357634e487b7160e01b600052603260045260246000fd5b91151560209283029190910190910152806114cd81613d00565b9150506113ed565b509150505b949350505050565b60006001600160a01b03821661154e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016109a5565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b3361157c6115ae565b6001600160a01b0316146115a25760405162461bcd60e51b81526004016109a590613a3e565b6115ac6000612832565b565b6009546001600160a01b031690565b6060600280546108b790613cc5565b6001600160a01b0382163314156116225760405162461bcd60e51b815260206004820152601a60248201527922a9219b9918a09d1030b8383937bb32903a379031b0b63632b960311b60448201526064016109a5565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336116976115ae565b6001600160a01b0316146116bd5760405162461bcd60e51b81526004016109a590613a3e565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b336116e86115ae565b6001600160a01b03161461170e5760405162461bcd60e51b81526004016109a590613a3e565b604051479060009081906001600160a01b0385169084908381818185875af1925050503d806000811461175d576040519150601f19603f3d011682016040523d82523d6000602084013e611762565b606091505b5091509150816117845760405162461bcd60e51b81526004016109a590613a10565b50505050565b336117936115ae565b6001600160a01b0316146117b95760405162461bcd60e51b81526004016109a590613a3e565b60009283526010602090815260408085206001600160a01b039490941685529290529120805460ff1916911515919091179055565b336117f76115ae565b6001600160a01b03161461181d5760405162461bcd60e51b81526004016109a590613a3e565b600980546005919060ff60a01b1916600160a01b83610b23565b60008080600954600160a01b900460ff16600581111561186757634e487b7160e01b600052602160045260246000fd5b148061189e57506005600954600160a01b900460ff16600581111561189c57634e487b7160e01b600052602160045260246000fd5b145b156118ac5750600092915050565b6001600954600160a01b900460ff1660058111156118da57634e487b7160e01b600052602160045260246000fd5b14156118e85750600161195c565b6002600954600160a01b900460ff16600581111561191657634e487b7160e01b600052602160045260246000fd5b14156119245750600261195c565b6003600954600160a01b900460ff16600581111561195257634e487b7160e01b600052602160045260246000fd5b141561195c575060035b60009081526010602090815260408083206001600160a01b039095168352939052919091205460ff16919050565b6119958484846122c5565b6119a184848484612884565b6117845760405162461bcd60e51b81526004016109a590613af9565b60606119c7611a21565b6119d08361298e565b6040516020016119e1929190613844565b6040516020818303038152906040529050919050565b600a546000906001600160a01b0316611a108484610bf3565b6001600160a01b0316149392505050565b6060600c80546108b790613cc5565b33611a396115ae565b6001600160a01b031614611a5f5760405162461bcd60e51b81526004016109a590613a3e565b8051611a7290600c9060208401906130ff565b5050565b60026008541415611a995760405162461bcd60e51b81526004016109a590613b4c565b60026008556000600954600160a01b900460ff166005811115611acc57634e487b7160e01b600052602160045260246000fd5b1415611b105760405162461bcd60e51b815260206004820152601360248201527229b0b6329034b9903737ba1030b1ba34bb329760691b60448201526064016109a5565b6005600954600160a01b900460ff166005811115611b3e57634e487b7160e01b600052602160045260246000fd5b1415611b895760405162461bcd60e51b815260206004820152601a60248201527929b0b632903430b99030b63932b0b23c903334b734b9b432b21760311b60448201526064016109a5565b6004600954600160a01b900460ff166005811115611bb757634e487b7160e01b600052602160045260246000fd5b1415611c105760405162461bcd60e51b815260206004820152602260248201527f53616c65206861732073686f756c64206e6f74206265207075626c696373616c604482015261329760f11b60648201526084016109a5565b805180611c5a5760405162461bcd60e51b8152602060048201526018602482015277596f752063616e2774206d696e74203020427572726f777360401b60448201526064016109a5565b82518114611cbd5760405162461bcd60e51b815260206004820152602a60248201527f426f746820617272617973206861766520746f206265206964656e746963616c604482015269040d2dc40d8cadccee8d60b31b60648201526084016109a5565b61290481611cca60005490565b611cd49190613bf8565b1115611cf25760405162461bcd60e51b81526004016109a590613aaa565b80600d54611d009190613c24565b341015611d1f5760405162461bcd60e51b81526004016109a590613a73565b60005b8181101561200a57611d83848281518110611d4d57634e487b7160e01b600052603260045260246000fd5b6020026020010151848381518110611d7557634e487b7160e01b600052603260045260246000fd5b602002602001015133610e1a565b1515600114611de05760405162461bcd60e51b8152602060048201526024808201527f596f752063616e2774206d696e7420736f6d656f6e6520656c7365277320427560448201526372726f7760e01b60648201526084016109a5565b611e10848281518110611e0357634e487b7160e01b600052603260045260246000fd5b6020026020010151611837565b1515600114611e815760405162461bcd60e51b815260206004820152603760248201527f54686520676976656e20636f6e7472616374206973206e6f7420616c6c6f77656044820152766420746f206d696e742c206d61796265206c617465723f60481b60648201526084016109a5565b600f6000858381518110611ea557634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000848381518110611eef57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff1615611f5a5760405162461bcd60e51b815260206004820152601d60248201527f5468697320746f6b656e2068617320616c7265616479206d696e74656400000060448201526064016109a5565b6001600f6000868481518110611f8057634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000858481518110611fca57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061200290613d00565b915050611d22565b506120153382612818565b60008161202160005490565b61202b9190613c6b565b600b54909150612043906001600160a01b0316610b2a565b7f7faa43c1858ef55344b2b3777e0e39a09081c9472606df9fefe424e51b5542ee33858584600161207360005490565b61207d9190613c6b565b87604051612090969594939291906138b0565b60405180910390a1505060016008555050565b6000838330846040516020016120bc94939291906139b6565b6040516020818303038152906040528051906020012090509392505050565b336120e46115ae565b6001600160a01b03161461210a5760405162461bcd60e51b81526004016109a590613a3e565b600980546002919060ff60a01b1916600160a01b83610b23565b3361212d6115ae565b6001600160a01b0316146121535760405162461bcd60e51b81526004016109a590613a3e565b6001600160a01b0381166121b85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a5565b6121c181612832565b50565b336121cd6115ae565b6001600160a01b0316146121f35760405162461bcd60e51b81526004016109a590613a3e565b60405147906001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561222b573d6000803e3d6000fd5b507fddc398b321237a8d40ac914388309c2f52a08c134e4dc4ce61e32f57cb7d80f1828260405161225d929190613957565b60405180910390a15050565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006122d08261266f565b80519091506000906001600160a01b0316336001600160a01b031614806123075750336122fc8461093a565b6001600160a01b0316145b8061231957508151612319903361076d565b9050806123835760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016109a5565b846001600160a01b031682600001516001600160a01b0316146123f75760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016109a5565b6001600160a01b03841661245b5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016109a5565b61246b6000848460000151612269565b6001600160a01b038516600090815260046020526040812080546001929061249d9084906001600160801b0316613c43565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260046020526040812080546001945090926124e991859116613bd6565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612570846001613bf8565b6000818152600360205260409020549091506001600160a01b03166126015761259a816000541190565b156126015760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600080600061265a8585612aa7565b9150915061266781612b17565b509392505050565b604080518082019091526000808252602082015261268e826000541190565b6126ed5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016109a5565b60007f0000000000000000000000000000000000000000000000000000000000000000831061274e576127407f000000000000000000000000000000000000000000000000000000000000000084613c6b565b61274b906001613bf8565b90505b825b8181106127b7576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156127a457949350505050565b50806127af81613cae565b915050612750565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016109a5565b611a72828260405180602001604052806000815250612d13565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561298657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906128c8903390899088908890600401613873565b602060405180830381600087803b1580156128e257600080fd5b505af1925050508015612912575060408051601f3d908101601f1916820190925261290f91810190613643565b60015b61296c573d808015612940576040519150601f19603f3d011682016040523d82523d6000602084013e612945565b606091505b5080516129645760405162461bcd60e51b81526004016109a590613af9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114da565b5060016114da565b6060816129b25750506040805180820190915260018152600360fc1b602082015290565b8160005b81156129dc57806129c681613d00565b91506129d59050600a83613c10565b91506129b6565b6000816001600160401b03811115612a0457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a2e576020820181803683370190505b5090505b84156114da57612a43600183613c6b565b9150612a50600a86613d1b565b612a5b906030613bf8565b60f81b818381518110612a7e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612aa0600a86613c10565b9450612a32565b600080825160411415612ade5760208301516040840151606085015160001a612ad287828585612fed565b94509450505050612b10565b825160401415612b085760208301516040840151612afd8683836130d0565b935093505050612b10565b506000905060025b9250929050565b6000816004811115612b3957634e487b7160e01b600052602160045260246000fd5b1415612b425750565b6001816004811115612b6457634e487b7160e01b600052602160045260246000fd5b1415612bad5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016109a5565b6002816004811115612bcf57634e487b7160e01b600052602160045260246000fd5b1415612c1d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016109a5565b6003816004811115612c3f57634e487b7160e01b600052602160045260246000fd5b1415612c985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016109a5565b6004816004811115612cba57634e487b7160e01b600052602160045260246000fd5b14156121c15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016109a5565b6000546001600160a01b038416612d765760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016109a5565b612d81816000541190565b15612dce5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016109a5565b7f0000000000000000000000000000000000000000000000000000000000000000831115612e495760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016109a5565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612ea5908790613bd6565b6001600160801b03168152602001858360200151612ec39190613bd6565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612fe25760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612fa66000888488612884565b612fc25760405162461bcd60e51b81526004016109a590613af9565b81612fcc81613d00565b9250508080612fda90613d00565b915050612f59565b506000819055612643565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b0383111561301a57506000905060036130c7565b8460ff16601b1415801561303257508460ff16601c14155b1561304357506000905060046130c7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613097573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166130c0576000600192509250506130c7565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b016130f187828885612fed565b935093505050935093915050565b82805461310b90613cc5565b90600052602060002090601f01602090048101928261312d5760008555613173565b82601f1061314657805160ff1916838001178555613173565b82800160010185558215613173579182015b82811115613173578251825591602001919060010190613158565b50610f8a9291505b80821115610f8a576000815560010161317b565b60006001600160401b038311156131a8576131a8613d5b565b6131bb601f8401601f1916602001613b83565b90508281528383830111156131cf57600080fd5b828260208301376000602084830101529392505050565b60008083601f8401126131f7578182fd5b5081356001600160401b0381111561320d578182fd5b6020830191508360208260051b8501011115612b1057600080fd5b600082601f830112613238578081fd5b8135602061324d61324883613bb3565b613b83565b80838252828201915082860187848660051b890101111561326c578586fd5b855b8581101561328a5781358452928401929084019060010161326e565b5090979650505050505050565b803580151581146132a757600080fd5b919050565b60008083601f8401126132bd578182fd5b5081356001600160401b038111156132d3578182fd5b602083019150836020828501011115612b1057600080fd5b600082601f8301126132fb578081fd5b610c558383356020850161318f565b60006020828403121561331b578081fd5b8135610c5581613d71565b600060208284031215613337578081fd5b8151610c5581613d71565b60008060408385031215613354578081fd5b823561335f81613d71565b9150602083013561336f81613d71565b809150509250929050565b60008060006060848603121561338e578081fd5b833561339981613d71565b925060208401356133a981613d71565b929592945050506040919091013590565b600080600080608085870312156133cf578081fd5b84356133da81613d71565b935060208501356133ea81613d71565b92506040850135915060608501356001600160401b0381111561340b578182fd5b613417878288016132eb565b91505092959194509250565b60008060408385031215613435578182fd5b823561344081613d71565b915061344e60208401613297565b90509250929050565b60008060408385031215613469578182fd5b823561347481613d71565b946020939093013593505050565b600080600060608486031215613496578081fd5b83356134a181613d71565b92506020840135915060408401356134b881613d71565b809150509250925092565b600080600080604085870312156134d8578182fd5b84356001600160401b03808211156134ee578384fd5b6134fa888389016131e6565b90965094506020870135915080821115613512578384fd5b5061351f878288016131e6565b95989497509550505050565b6000806040838503121561353d578182fd5b82356001600160401b0380821115613553578384fd5b818501915085601f830112613566578384fd5b8135602061357661324883613bb3565b8083825282820191508286018a848660051b8901011115613595578889fd5b8896505b848710156135c05780356135ac81613d71565b835260019690960195918301918301613599565b50965050860135925050808211156135d6578283fd5b506135e385828601613228565b9150509250929050565b600080604083850312156135ff578182fd5b8235915060208301356001600160401b0381111561361b578182fd5b6135e3858286016132eb565b600060208284031215613638578081fd5b8135610c5581613d86565b600060208284031215613654578081fd5b8151610c5581613d86565b600060208284031215613670578081fd5b81356001600160401b03811115613685578182fd5b6114da848285016132eb565b6000806000604084860312156136a5578081fd5b83356001600160401b038111156136ba578182fd5b6136c6868287016132ac565b90945092505060208401356134b881613d71565b6000806000806000606086880312156136f1578283fd5b85356001600160401b0380821115613707578485fd5b61371389838a016132ac565b9097509550602088013591508082111561372b578485fd5b50613738888289016132ac565b96999598509660400135949350505050565b60006020828403121561375b578081fd5b81356001600160401b03811115613770578182fd5b8201601f81018413613780578182fd5b6114da8482356020840161318f565b6000602082840312156137a0578081fd5b5035919050565b600080604083850312156137b9578182fd5b82359150602083013561336f81613d71565b6000806000606084860312156137df578081fd5b8335925060208401356137f181613d71565b91506137ff60408501613297565b90509250925092565b60008151808452613820816020860160208601613c82565b601f01601f19169290920160200192915050565b8183823760009101908152919050565b60008351613856818460208801613c82565b83519083019061386a818360208801613c82565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906138a690830184613808565b9695505050505050565b6001600160a01b03878116825260c0602080840182905288519184018290526000928982019290919060e0860190855b818110156138fe5785518516835294830194918301916001016138e0565b50508581036040870152895180825290820193509150808901845b8381101561393557815185529382019390820190600101613919565b50505050606083019590955250608081019290925260a0909101529392505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b818110156139aa57835115158352928401929184019160010161398c565b50909695505050505050565b6060815283606082015283856080830137600060808583018101919091526001600160a01b039384166020830152919092166040830152601f909201601f19160101919050565b602081526000610c556020830184613808565b6020808252601490820152732330b4b632b2103a379039b2b7321022ba3432b960611b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601e908201527f45746865722076616c75652073656e7420697320696e636f72726563742e0000604082015260600190565b6020808252602f908201527f416d6f756e742073686f756c64206e6f7420657863656564206d61782073757060408201526e38363c9037b310213ab93937bbb99760891b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715613bab57613bab613d5b565b604052919050565b60006001600160401b03821115613bcc57613bcc613d5b565b5060051b60200190565b60006001600160801b0382811684821680830382111561386a5761386a613d2f565b60008219821115613c0b57613c0b613d2f565b500190565b600082613c1f57613c1f613d45565b500490565b6000816000190483118215151615613c3e57613c3e613d2f565b500290565b60006001600160801b0383811690831681811015613c6357613c63613d2f565b039392505050565b600082821015613c7d57613c7d613d2f565b500390565b60005b83811015613c9d578181015183820152602001613c85565b838111156117845750506000910152565b600081613cbd57613cbd613d2f565b506000190190565b600181811c90821680613cd957607f821691505b60208210811415613cfa57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613d1457613d14613d2f565b5060010190565b600082613d2a57613d2a613d45565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146121c157600080fd5b6001600160e01b0319811681146121c157600080fdfea264697066735822122069d678040b7856f8e074ba8d9fc8bb0a28c4725abbb3bc4a2c9d474901d30ea864736f6c63430008040033000000000000000000000000fc8e216a7de2286972325e876c50117fe5076e85

Deployed Bytecode

0x6080604052600436106102335760003560e01c8063722791381161012a578063722791381461053f5780638da5cb5b1461057a57806395d89b411461058f578063a22cb465146105a4578063a7ecd37e146105c4578063a905821a146105e4578063ad5ee93b14610604578063b0384ea114610624578063b15a334914610639578063b88d4fde14610659578063c87b56dd14610679578063cd9f9b9214610699578063cfa8ba4f146106d4578063d547cfb7146106f4578063d7224ba014610709578063e0df5b6f1461071f578063e467f7e01461073f578063e985e9c514610752578063ec8ba2d91461079b578063eccb9364146107bb578063edcf10a2146107d0578063f0292a03146107e6578063f2fde38b146107fb578063fa09e6301461081b57600080fd5b806301ffc9a71461023857806306fdde031461026d578063081812fc1461028f578063095ea7b3146102c75780630c1c972a146102e957806318160ddd146102fe5780631ee216f01461031d57806323af88271461033057806323b872dd14610345578063265d3e97146103655780632907ba19146103855780632d8eb9b9146103a55780632f745c59146103e05780632fdf414f1461040057806342842e0e146104205780634608f9b1146104405780634f6ccce7146104555780636352211e146104755780636562751314610495578063681ba83e146104aa5780636e4cb6ab146104bd5780636ef3a83f146104ea57806370a082311461050a578063715018a61461052a575b600080fd5b34801561024457600080fd5b50610258610253366004613627565b61083b565b60405190151581526020015b60405180910390f35b34801561027957600080fd5b506102826108a8565b60405161026491906139fd565b34801561029b57600080fd5b506102af6102aa36600461378f565b61093a565b6040516001600160a01b039091168152602001610264565b3480156102d357600080fd5b506102e76102e2366004613457565b6109ca565b005b3480156102f557600080fd5b506102e7610ade565b34801561030a57600080fd5b506000545b604051908152602001610264565b6102e761032b36600461330a565b610b2a565b34801561033c57600080fd5b506102e7610b9f565b34801561035157600080fd5b506102e761036036600461337a565b610be8565b34801561037157600080fd5b506102af6103803660046135ed565b610bf3565b34801561039157600080fd5b506102e76103a036600461330a565b610c5c565b3480156103b157600080fd5b506102586103c0366004613457565b600f60209081526000928352604080842090915290825290205460ff1681565b3480156103ec57600080fd5b5061030f6103fb366004613457565b610cad565b34801561040c57600080fd5b5061025861041b366004613482565b610e1a565b34801561042c57600080fd5b506102e761043b36600461337a565b610ec8565b34801561044c57600080fd5b506102e7610ee3565b34801561046157600080fd5b5061030f61047036600461378f565b610f2c565b34801561048157600080fd5b506102af61049036600461378f565b610f8e565b3480156104a157600080fd5b506102e7610fa0565b6102e76104b83660046136da565b610fe9565b3480156104c957600080fd5b506104dd6104d83660046134c3565b611339565b6040516102649190613970565b3480156104f657600080fd5b50600b546102af906001600160a01b031681565b34801561051657600080fd5b5061030f61052536600461330a565b6114e2565b34801561053657600080fd5b506102e7611573565b34801561054b57600080fd5b5061025861055a3660046137a7565b601060209081526000928352604080842090915290825290205460ff1681565b34801561058657600080fd5b506102af6115ae565b34801561059b57600080fd5b506102826115bd565b3480156105b057600080fd5b506102e76105bf366004613423565b6115cc565b3480156105d057600080fd5b506102e76105df36600461330a565b61168e565b3480156105f057600080fd5b506102e76105ff36600461330a565b6116df565b34801561061057600080fd5b506102e761061f3660046137cb565b61178a565b34801561063057600080fd5b506102e76117ee565b34801561064557600080fd5b5061025861065436600461330a565b611837565b34801561066557600080fd5b506102e76106743660046133ba565b61198a565b34801561068557600080fd5b5061028261069436600461378f565b6119bd565b3480156106a557600080fd5b506102586106b436600461365f565b8051602081830181018051600e8252928201919093012091525460ff1681565b3480156106e057600080fd5b506102586106ef3660046135ed565b6119f7565b34801561070057600080fd5b50610282611a21565b34801561071557600080fd5b5061030f60075481565b34801561072b57600080fd5b506102e761073a36600461374a565b611a30565b6102e761074d36600461352b565b611a76565b34801561075e57600080fd5b5061025861076d366004613342565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156107a757600080fd5b5061030f6107b6366004613691565b6120a3565b3480156107c757600080fd5b506102e76120db565b3480156107dc57600080fd5b5061030f61290481565b3480156107f257600080fd5b5061030f600581565b34801561080757600080fd5b506102e761081636600461330a565b612124565b34801561082757600080fd5b506102e761083636600461330a565b6121c4565b60006001600160e01b031982166380ac58cd60e01b148061086c57506001600160e01b03198216635b5e139f60e01b145b8061088757506001600160e01b0319821663780e9d6360e01b145b806108a257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546108b790613cc5565b80601f01602080910402602001604051908101604052809291908181526020018280546108e390613cc5565b80156109305780601f1061090557610100808354040283529160200191610930565b820191906000526020600020905b81548152906001019060200180831161091357829003601f168201915b5050505050905090565b6000610947826000541190565b6109ae5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006109d582610f8e565b9050806001600160a01b0316836001600160a01b03161415610a445760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016109a5565b336001600160a01b0382161480610a605750610a60813361076d565b610ace5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f6044820152781ddb995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b603a1b60648201526084016109a5565b610ad9838383612269565b505050565b33610ae76115ae565b6001600160a01b031614610b0d5760405162461bcd60e51b81526004016109a590613a3e565b600980546004919060ff60a01b1916600160a01b835b0217905550565b600080826001600160a01b03163460405160006040518083038185875af1925050503d8060008114610b78576040519150601f19603f3d011682016040523d82523d6000602084013e610b7d565b606091505b509150915081610ad95760405162461bcd60e51b81526004016109a590613a10565b33610ba86115ae565b6001600160a01b031614610bce5760405162461bcd60e51b81526004016109a590613a3e565b600980546000919060ff60a01b1916600160a01b83610b23565b610ad98383836122c5565b6000610c5582610c4f856040517b0ca2ba3432b932bab69029b4b3b732b21026b2b9b9b0b3b29d05199960211b6020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9061264b565b9392505050565b33610c656115ae565b6001600160a01b031614610c8b5760405162461bcd60e51b81526004016109a590613a3e565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610cb8836114e2565b8210610d115760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016109a5565b600080549080805b83811015610dba576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610d6b57805192505b876001600160a01b0316836001600160a01b03161415610da75786841415610d99575093506108a292505050565b83610da381613d00565b9450505b5080610db281613d00565b915050610d19565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016109a5565b6040516331a9108f60e11b81526004810183905260009081906001600160a01b03861690636352211e9060240160206040518083038186803b158015610e5f57600080fd5b505afa158015610e73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e979190613326565b9050826001600160a01b0316816001600160a01b03161415610ebd576001915050610c55565b506000949350505050565b610ad98383836040518060200160405280600081525061198a565b33610eec6115ae565b6001600160a01b031614610f125760405162461bcd60e51b81526004016109a590613a3e565b600980546003919060ff60a01b1916600160a01b83610b23565b600080548210610f8a5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016109a5565b5090565b6000610f998261266f565b5192915050565b33610fa96115ae565b6001600160a01b031614610fcf5760405162461bcd60e51b81526004016109a590613a3e565b600980546001919060ff60a01b1916600160a01b83610b23565b6002600854141561100c5760405162461bcd60e51b81526004016109a590613b4c565b60026008556004600954600160a01b900460ff16600581111561103f57634e487b7160e01b600052602160045260246000fd5b146110895760405162461bcd60e51b815260206004820152601a602482015279283ab13634b19039b0b6329034b9903737ba1030b1ba34bb329760311b60448201526064016109a5565b333b156110eb5760405162461bcd60e51b815260206004820152602a60248201527f436f6e74726163747320617265206e6f7420616c6c6f77656420746f206d696e6044820152693a10313ab93937bbb99760b11b60648201526084016109a5565b600581111561114b5760405162461bcd60e51b815260206004820152602660248201527f596f752063616e206f6e6c79206d696e74203520427572726f77732061742061604482015265103a34b6b29760d11b60648201526084016109a5565b6129048161115860005490565b6111629190613bf8565b11156111805760405162461bcd60e51b81526004016109a590613aaa565b80600d5461118e9190613c24565b3410156111ad5760405162461bcd60e51b81526004016109a590613a73565b600e83836040516111bf929190613834565b9081526040519081900360200190205460ff161561121a5760405162461bcd60e51b81526020600482015260186024820152772a3432903a37b5b2b7103430b9903132b2b7103ab9b2b21760411b60448201526064016109a5565b6112646112288686336120a3565b84848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506119f792505050565b6112a15760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b2103a37b5b2b71760911b60448201526064016109a5565b6001600e84846040516112b5929190613834565b908152604051908190036020019020805491151560ff199092169190911790556112df3382612818565b600b546112f4906001600160a01b0316610b2a565b7fab9980fb1d2916bce9017edd1be458e3f56d0899b3367cb3a8be97483fbe069b3382604051611325929190613957565b60405180910390a150506001600855505050565b60608382146113955760405162461bcd60e51b815260206004820152602260248201527f41727261797320617265206e6f74206964656e746963616c20696e206c656e676044820152610e8d60f31b60648201526084016109a5565b836000816001600160401b038111156113be57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156113e7578160200160208202803683370190505b50905060005b828110156114d557600f600089898481811061141957634e487b7160e01b600052603260045260246000fd5b905060200201602081019061142e919061330a565b6001600160a01b03166001600160a01b03168152602001908152602001600020600087878481811061147057634e487b7160e01b600052603260045260246000fd5b90506020020135815260200190815260200160002060009054906101000a900460ff168282815181106114b357634e487b7160e01b600052603260045260246000fd5b91151560209283029190910190910152806114cd81613d00565b9150506113ed565b509150505b949350505050565b60006001600160a01b03821661154e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016109a5565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b3361157c6115ae565b6001600160a01b0316146115a25760405162461bcd60e51b81526004016109a590613a3e565b6115ac6000612832565b565b6009546001600160a01b031690565b6060600280546108b790613cc5565b6001600160a01b0382163314156116225760405162461bcd60e51b815260206004820152601a60248201527922a9219b9918a09d1030b8383937bb32903a379031b0b63632b960311b60448201526064016109a5565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336116976115ae565b6001600160a01b0316146116bd5760405162461bcd60e51b81526004016109a590613a3e565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b336116e86115ae565b6001600160a01b03161461170e5760405162461bcd60e51b81526004016109a590613a3e565b604051479060009081906001600160a01b0385169084908381818185875af1925050503d806000811461175d576040519150601f19603f3d011682016040523d82523d6000602084013e611762565b606091505b5091509150816117845760405162461bcd60e51b81526004016109a590613a10565b50505050565b336117936115ae565b6001600160a01b0316146117b95760405162461bcd60e51b81526004016109a590613a3e565b60009283526010602090815260408085206001600160a01b039490941685529290529120805460ff1916911515919091179055565b336117f76115ae565b6001600160a01b03161461181d5760405162461bcd60e51b81526004016109a590613a3e565b600980546005919060ff60a01b1916600160a01b83610b23565b60008080600954600160a01b900460ff16600581111561186757634e487b7160e01b600052602160045260246000fd5b148061189e57506005600954600160a01b900460ff16600581111561189c57634e487b7160e01b600052602160045260246000fd5b145b156118ac5750600092915050565b6001600954600160a01b900460ff1660058111156118da57634e487b7160e01b600052602160045260246000fd5b14156118e85750600161195c565b6002600954600160a01b900460ff16600581111561191657634e487b7160e01b600052602160045260246000fd5b14156119245750600261195c565b6003600954600160a01b900460ff16600581111561195257634e487b7160e01b600052602160045260246000fd5b141561195c575060035b60009081526010602090815260408083206001600160a01b039095168352939052919091205460ff16919050565b6119958484846122c5565b6119a184848484612884565b6117845760405162461bcd60e51b81526004016109a590613af9565b60606119c7611a21565b6119d08361298e565b6040516020016119e1929190613844565b6040516020818303038152906040529050919050565b600a546000906001600160a01b0316611a108484610bf3565b6001600160a01b0316149392505050565b6060600c80546108b790613cc5565b33611a396115ae565b6001600160a01b031614611a5f5760405162461bcd60e51b81526004016109a590613a3e565b8051611a7290600c9060208401906130ff565b5050565b60026008541415611a995760405162461bcd60e51b81526004016109a590613b4c565b60026008556000600954600160a01b900460ff166005811115611acc57634e487b7160e01b600052602160045260246000fd5b1415611b105760405162461bcd60e51b815260206004820152601360248201527229b0b6329034b9903737ba1030b1ba34bb329760691b60448201526064016109a5565b6005600954600160a01b900460ff166005811115611b3e57634e487b7160e01b600052602160045260246000fd5b1415611b895760405162461bcd60e51b815260206004820152601a60248201527929b0b632903430b99030b63932b0b23c903334b734b9b432b21760311b60448201526064016109a5565b6004600954600160a01b900460ff166005811115611bb757634e487b7160e01b600052602160045260246000fd5b1415611c105760405162461bcd60e51b815260206004820152602260248201527f53616c65206861732073686f756c64206e6f74206265207075626c696373616c604482015261329760f11b60648201526084016109a5565b805180611c5a5760405162461bcd60e51b8152602060048201526018602482015277596f752063616e2774206d696e74203020427572726f777360401b60448201526064016109a5565b82518114611cbd5760405162461bcd60e51b815260206004820152602a60248201527f426f746820617272617973206861766520746f206265206964656e746963616c604482015269040d2dc40d8cadccee8d60b31b60648201526084016109a5565b61290481611cca60005490565b611cd49190613bf8565b1115611cf25760405162461bcd60e51b81526004016109a590613aaa565b80600d54611d009190613c24565b341015611d1f5760405162461bcd60e51b81526004016109a590613a73565b60005b8181101561200a57611d83848281518110611d4d57634e487b7160e01b600052603260045260246000fd5b6020026020010151848381518110611d7557634e487b7160e01b600052603260045260246000fd5b602002602001015133610e1a565b1515600114611de05760405162461bcd60e51b8152602060048201526024808201527f596f752063616e2774206d696e7420736f6d656f6e6520656c7365277320427560448201526372726f7760e01b60648201526084016109a5565b611e10848281518110611e0357634e487b7160e01b600052603260045260246000fd5b6020026020010151611837565b1515600114611e815760405162461bcd60e51b815260206004820152603760248201527f54686520676976656e20636f6e7472616374206973206e6f7420616c6c6f77656044820152766420746f206d696e742c206d61796265206c617465723f60481b60648201526084016109a5565b600f6000858381518110611ea557634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000848381518110611eef57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff1615611f5a5760405162461bcd60e51b815260206004820152601d60248201527f5468697320746f6b656e2068617320616c7265616479206d696e74656400000060448201526064016109a5565b6001600f6000868481518110611f8057634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000858481518110611fca57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061200290613d00565b915050611d22565b506120153382612818565b60008161202160005490565b61202b9190613c6b565b600b54909150612043906001600160a01b0316610b2a565b7f7faa43c1858ef55344b2b3777e0e39a09081c9472606df9fefe424e51b5542ee33858584600161207360005490565b61207d9190613c6b565b87604051612090969594939291906138b0565b60405180910390a1505060016008555050565b6000838330846040516020016120bc94939291906139b6565b6040516020818303038152906040528051906020012090509392505050565b336120e46115ae565b6001600160a01b03161461210a5760405162461bcd60e51b81526004016109a590613a3e565b600980546002919060ff60a01b1916600160a01b83610b23565b3361212d6115ae565b6001600160a01b0316146121535760405162461bcd60e51b81526004016109a590613a3e565b6001600160a01b0381166121b85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a5565b6121c181612832565b50565b336121cd6115ae565b6001600160a01b0316146121f35760405162461bcd60e51b81526004016109a590613a3e565b60405147906001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561222b573d6000803e3d6000fd5b507fddc398b321237a8d40ac914388309c2f52a08c134e4dc4ce61e32f57cb7d80f1828260405161225d929190613957565b60405180910390a15050565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006122d08261266f565b80519091506000906001600160a01b0316336001600160a01b031614806123075750336122fc8461093a565b6001600160a01b0316145b8061231957508151612319903361076d565b9050806123835760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016109a5565b846001600160a01b031682600001516001600160a01b0316146123f75760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016109a5565b6001600160a01b03841661245b5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016109a5565b61246b6000848460000151612269565b6001600160a01b038516600090815260046020526040812080546001929061249d9084906001600160801b0316613c43565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260046020526040812080546001945090926124e991859116613bd6565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612570846001613bf8565b6000818152600360205260409020549091506001600160a01b03166126015761259a816000541190565b156126015760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600080600061265a8585612aa7565b9150915061266781612b17565b509392505050565b604080518082019091526000808252602082015261268e826000541190565b6126ed5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016109a5565b60007f0000000000000000000000000000000000000000000000000000000000000005831061274e576127407f000000000000000000000000000000000000000000000000000000000000000584613c6b565b61274b906001613bf8565b90505b825b8181106127b7576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156127a457949350505050565b50806127af81613cae565b915050612750565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016109a5565b611a72828260405180602001604052806000815250612d13565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561298657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906128c8903390899088908890600401613873565b602060405180830381600087803b1580156128e257600080fd5b505af1925050508015612912575060408051601f3d908101601f1916820190925261290f91810190613643565b60015b61296c573d808015612940576040519150601f19603f3d011682016040523d82523d6000602084013e612945565b606091505b5080516129645760405162461bcd60e51b81526004016109a590613af9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114da565b5060016114da565b6060816129b25750506040805180820190915260018152600360fc1b602082015290565b8160005b81156129dc57806129c681613d00565b91506129d59050600a83613c10565b91506129b6565b6000816001600160401b03811115612a0457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a2e576020820181803683370190505b5090505b84156114da57612a43600183613c6b565b9150612a50600a86613d1b565b612a5b906030613bf8565b60f81b818381518110612a7e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612aa0600a86613c10565b9450612a32565b600080825160411415612ade5760208301516040840151606085015160001a612ad287828585612fed565b94509450505050612b10565b825160401415612b085760208301516040840151612afd8683836130d0565b935093505050612b10565b506000905060025b9250929050565b6000816004811115612b3957634e487b7160e01b600052602160045260246000fd5b1415612b425750565b6001816004811115612b6457634e487b7160e01b600052602160045260246000fd5b1415612bad5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016109a5565b6002816004811115612bcf57634e487b7160e01b600052602160045260246000fd5b1415612c1d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016109a5565b6003816004811115612c3f57634e487b7160e01b600052602160045260246000fd5b1415612c985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016109a5565b6004816004811115612cba57634e487b7160e01b600052602160045260246000fd5b14156121c15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016109a5565b6000546001600160a01b038416612d765760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016109a5565b612d81816000541190565b15612dce5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016109a5565b7f0000000000000000000000000000000000000000000000000000000000000005831115612e495760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016109a5565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612ea5908790613bd6565b6001600160801b03168152602001858360200151612ec39190613bd6565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612fe25760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612fa66000888488612884565b612fc25760405162461bcd60e51b81526004016109a590613af9565b81612fcc81613d00565b9250508080612fda90613d00565b915050612f59565b506000819055612643565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b0383111561301a57506000905060036130c7565b8460ff16601b1415801561303257508460ff16601c14155b1561304357506000905060046130c7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613097573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166130c0576000600192509250506130c7565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b016130f187828885612fed565b935093505050935093915050565b82805461310b90613cc5565b90600052602060002090601f01602090048101928261312d5760008555613173565b82601f1061314657805160ff1916838001178555613173565b82800160010185558215613173579182015b82811115613173578251825591602001919060010190613158565b50610f8a9291505b80821115610f8a576000815560010161317b565b60006001600160401b038311156131a8576131a8613d5b565b6131bb601f8401601f1916602001613b83565b90508281528383830111156131cf57600080fd5b828260208301376000602084830101529392505050565b60008083601f8401126131f7578182fd5b5081356001600160401b0381111561320d578182fd5b6020830191508360208260051b8501011115612b1057600080fd5b600082601f830112613238578081fd5b8135602061324d61324883613bb3565b613b83565b80838252828201915082860187848660051b890101111561326c578586fd5b855b8581101561328a5781358452928401929084019060010161326e565b5090979650505050505050565b803580151581146132a757600080fd5b919050565b60008083601f8401126132bd578182fd5b5081356001600160401b038111156132d3578182fd5b602083019150836020828501011115612b1057600080fd5b600082601f8301126132fb578081fd5b610c558383356020850161318f565b60006020828403121561331b578081fd5b8135610c5581613d71565b600060208284031215613337578081fd5b8151610c5581613d71565b60008060408385031215613354578081fd5b823561335f81613d71565b9150602083013561336f81613d71565b809150509250929050565b60008060006060848603121561338e578081fd5b833561339981613d71565b925060208401356133a981613d71565b929592945050506040919091013590565b600080600080608085870312156133cf578081fd5b84356133da81613d71565b935060208501356133ea81613d71565b92506040850135915060608501356001600160401b0381111561340b578182fd5b613417878288016132eb565b91505092959194509250565b60008060408385031215613435578182fd5b823561344081613d71565b915061344e60208401613297565b90509250929050565b60008060408385031215613469578182fd5b823561347481613d71565b946020939093013593505050565b600080600060608486031215613496578081fd5b83356134a181613d71565b92506020840135915060408401356134b881613d71565b809150509250925092565b600080600080604085870312156134d8578182fd5b84356001600160401b03808211156134ee578384fd5b6134fa888389016131e6565b90965094506020870135915080821115613512578384fd5b5061351f878288016131e6565b95989497509550505050565b6000806040838503121561353d578182fd5b82356001600160401b0380821115613553578384fd5b818501915085601f830112613566578384fd5b8135602061357661324883613bb3565b8083825282820191508286018a848660051b8901011115613595578889fd5b8896505b848710156135c05780356135ac81613d71565b835260019690960195918301918301613599565b50965050860135925050808211156135d6578283fd5b506135e385828601613228565b9150509250929050565b600080604083850312156135ff578182fd5b8235915060208301356001600160401b0381111561361b578182fd5b6135e3858286016132eb565b600060208284031215613638578081fd5b8135610c5581613d86565b600060208284031215613654578081fd5b8151610c5581613d86565b600060208284031215613670578081fd5b81356001600160401b03811115613685578182fd5b6114da848285016132eb565b6000806000604084860312156136a5578081fd5b83356001600160401b038111156136ba578182fd5b6136c6868287016132ac565b90945092505060208401356134b881613d71565b6000806000806000606086880312156136f1578283fd5b85356001600160401b0380821115613707578485fd5b61371389838a016132ac565b9097509550602088013591508082111561372b578485fd5b50613738888289016132ac565b96999598509660400135949350505050565b60006020828403121561375b578081fd5b81356001600160401b03811115613770578182fd5b8201601f81018413613780578182fd5b6114da8482356020840161318f565b6000602082840312156137a0578081fd5b5035919050565b600080604083850312156137b9578182fd5b82359150602083013561336f81613d71565b6000806000606084860312156137df578081fd5b8335925060208401356137f181613d71565b91506137ff60408501613297565b90509250925092565b60008151808452613820816020860160208601613c82565b601f01601f19169290920160200192915050565b8183823760009101908152919050565b60008351613856818460208801613c82565b83519083019061386a818360208801613c82565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906138a690830184613808565b9695505050505050565b6001600160a01b03878116825260c0602080840182905288519184018290526000928982019290919060e0860190855b818110156138fe5785518516835294830194918301916001016138e0565b50508581036040870152895180825290820193509150808901845b8381101561393557815185529382019390820190600101613919565b50505050606083019590955250608081019290925260a0909101529392505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b818110156139aa57835115158352928401929184019160010161398c565b50909695505050505050565b6060815283606082015283856080830137600060808583018101919091526001600160a01b039384166020830152919092166040830152601f909201601f19160101919050565b602081526000610c556020830184613808565b6020808252601490820152732330b4b632b2103a379039b2b7321022ba3432b960611b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601e908201527f45746865722076616c75652073656e7420697320696e636f72726563742e0000604082015260600190565b6020808252602f908201527f416d6f756e742073686f756c64206e6f7420657863656564206d61782073757060408201526e38363c9037b310213ab93937bbb99760891b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715613bab57613bab613d5b565b604052919050565b60006001600160401b03821115613bcc57613bcc613d5b565b5060051b60200190565b60006001600160801b0382811684821680830382111561386a5761386a613d2f565b60008219821115613c0b57613c0b613d2f565b500190565b600082613c1f57613c1f613d45565b500490565b6000816000190483118215151615613c3e57613c3e613d2f565b500290565b60006001600160801b0383811690831681811015613c6357613c63613d2f565b039392505050565b600082821015613c7d57613c7d613d2f565b500390565b60005b83811015613c9d578181015183820152602001613c85565b838111156117845750506000910152565b600081613cbd57613cbd613d2f565b506000190190565b600181811c90821680613cd957607f821691505b60208210811415613cfa57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613d1457613d14613d2f565b5060010190565b600082613d2a57613d2a613d45565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146121c157600080fd5b6001600160e01b0319811681146121c157600080fdfea264697066735822122069d678040b7856f8e074ba8d9fc8bb0a28c4725abbb3bc4a2c9d474901d30ea864736f6c63430008040033

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

000000000000000000000000fc8e216a7de2286972325e876c50117fe5076e85

-----Decoded View---------------
Arg [0] : signer (address): 0xFc8E216A7dE2286972325e876c50117Fe5076E85

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fc8e216a7de2286972325e876c50117fe5076e85


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.