ETH Price: $3,450.99 (+1.54%)

Token

PLANET (Merging Galaxy)
 

Overview

Max Total Supply

3,666 Merging Galaxy

Holders

3,653

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Merging Galaxy
0xd63c43fae7a27e854444bb67796c7ba6cfa6a202
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Planet

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

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

contract Planet is Ownable, ERC721A, ReentrancyGuard {
    uint public maxSupply = 3666;
    constructor(
    ) ERC721A("PLANET", "Merging Galaxy", 1, maxSupply) {}

    function reserveMint(uint256 quantity) external onlyOwner {
        require(
            totalSupply() + quantity <= collectionSize,
            "too many already minted before dev mint"
        );
        uint256 numChunks = quantity / maxBatchSize;
        for (uint256 i = 0; i < numChunks; i++) {
            _safeMint(msg.sender, maxBatchSize);
        }
        if (quantity % maxBatchSize != 0){
            _safeMint(msg.sender, quantity % maxBatchSize);
        }
    }

    string private _baseTokenURI;

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

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

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(_exists(tokenId), "This planet does not exist.");

        string[7] memory parts;
        if (bytes(nameOf(tokenId)).length == 0) {
            parts[0] = '{"name": "Planet #';
        } else {
            parts[0] = string(abi.encodePacked( '{"name": "', nameOf(tokenId) ,' #' ));
        }
        parts[1] = toString(tokenId);
        parts[2] = '","description": "Merging Galaxy is a space of extinction.","image":"';
        if (levelOf(tokenId) == 0){
            parts[3] = string(abi.encodePacked( _baseURI(), toString(typeOf(tokenId)),'-', toString(levelOf(tokenId)), '-', toString(tokenId%3+1), '.gif'));
        } else {
            parts[3] = string(abi.encodePacked( _baseURI(), toString(typeOf(tokenId)),'-', toString(levelOf(tokenId)), '.gif'));
        }
        parts[4] = '","attributes": [{"display_type": "number","trait_type": "Level","value":';
        parts[5] = toString(levelOf(tokenId));
        parts[6] = string(abi.encodePacked('},{"display_type": "number", "trait_type": "Mass", "value": ',toString(sizeOf(tokenId)),'}]}'));

        string memory output = string(abi.encodePacked(parts[0], parts[1], parts[2], parts[3], parts[4], parts[5], parts[6]));

        string memory json = Base64.encode(bytes(output));
    
        output = string(abi.encodePacked('data:application/json;base64,', json));
        return output;
    }

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

    function setOwnersExplicit(uint256 quantity) external onlyOwner nonReentrant {
        _setOwnersExplicit(quantity);
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function getOwnershipData(uint256 tokenId)
    external
    view
    returns (TokenOwnership memory)
    {
        return ownershipOf(tokenId);
    }

    //PUBLIC SALE
    bool public publicSaleStatus = false;
    // uint256 public publicPrice = 0.003000 ether;
    uint256 public amountForPublicSale = maxSupply;
    // per mint public sale limitation
    uint256 public immutable publicSalePerMint = 1;

    function publicSaleMint(uint256 quantity) external payable {
        require(
        publicSaleStatus,
        "Public sale has not started."
        );
        require(
        totalSupply() + quantity <= collectionSize,
        "Max supply reached."
        );
        require(
        amountForPublicSale >= quantity,
        "Public sale limit reached."
        );

        require(
        quantity <= publicSalePerMint,
        "Single transaction limit reached."
        );

        _safeMint(msg.sender, quantity);
        amountForPublicSale -= quantity;
    }

    function togglePublicSaleStatus() external onlyOwner {
        publicSaleStatus = !publicSaleStatus;
    }

    function getPublicSaleStatus() external view returns(bool) {
        return publicSaleStatus;
    }
}

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 3 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT

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..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * 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 collectionSize;
  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 from token ID to approved address
  mapping(uint256 => address) private _tokenApprovals;

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

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

  // Custom Attr
  event LevelUp(uint256 tokenId, uint256 level, address owner);
  event Absorb(uint256 tokenIdA, uint256 tokenIdB, uint256 size);
  event Rename(uint256 tokenId, string newName);

  uint256 private _numberBurnt;
  mapping(uint256 => uint256) private _sizeDataOfToken;
  mapping(uint256 => string) private _nameDataOfToken;
  uint256[] private sizeRatio = [10,50,99,499,499,499];

  function nameOf(uint tokenId) public view returns (string memory) {
    return _nameDataOfToken[tokenId];
  }

  function setName(string memory targetName) public payable {
    require(balanceOf(msg.sender) == 1, "You don't own any planet.");
    uint256 tokenId = tokenOfOwnerByIndex(msg.sender,0);

    require(msg.value >= 0.01 ether * levelOf(tokenId), string(abi.encodePacked("Rename a Lv",toString(levelOf(tokenId))," planet requires 0.0", toString((levelOf(tokenId)))," ether")));
    _nameDataOfToken[tokenOfOwnerByIndex(msg.sender,0)] = targetName;
    emit Rename(tokenOfOwnerByIndex(msg.sender,0), targetName);
  }

  function tokenLeft() public view returns (uint256) {
    return totalSupply() - _numberBurnt;
  }

  function radiusOf(uint tokenId) public view returns (uint256) {
    require(_exists(tokenId), "This planet does not exist.");
    return _sizeDataOfToken[tokenId] * sizeRatio[levelOf(tokenId)] + tokenId % (sizeRatio[levelOf(tokenId)] / 2);
  }

  function sizeOf(uint tokenId) public view returns (uint256) {
    require(_exists(tokenId), "This planet does not exist.");
    return _sizeDataOfToken[tokenId];
  }

  function setSizeOf(uint tokenId, uint size) internal {
    require(_exists(tokenId), "This planet does not exist.");
    _sizeDataOfToken[tokenId] = size;
  }

  function levelOf(uint tokenId) public view returns (uint256) {
    require(_exists(tokenId), "This planet does not exist.");
    uint size = _sizeDataOfToken[tokenId];
    if (size <= 1) {
      return 0;
    } else if (size <= 4) {
      return 1;
    } else if (size <= 9) {
      return 2;
    } else if (size <= 19) {
      return 3;
    } else if (size <= 39) {
      return 4;
    } else {
      return 5;
    }
  }

  function typeOf(uint tokenId) public view returns (uint256) {
    require(_exists(tokenId), "This planet does not exist.");
    return tokenId % 8 + 1;
  }

  function _burn(
    uint256 tokenId
  ) internal {
    require(_exists(tokenId), "This planet does not exist.");
    address from = ownerOf(tokenId);
    address to = address(0xdead);

    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    _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
        );
      }
    }
    _numberBurnt++;
    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

  function revive(
    uint256 tokenId
  ) public payable {
    require(_exists(tokenId), "This planet does not exist.");
    require(ownerOf(tokenId) == address(0xdead), "This planet is not dead yet.");
    require(msg.value >= 0.004 ether * sizeOf(tokenId), string(abi.encodePacked("Revive a planet with size ",toString(sizeOf(tokenId))," requires ", toString((sizeOf(tokenId))),"*0.004 ether")));
    require(balanceOf(msg.sender) == 0, "You can only own 1 planet.");
    address from = address(0xdead);
    address to = msg.sender;

    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    _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
        );
      }
    }
    _numberBurnt--;
    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

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

  /**
   * @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(collectionSize). 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)
  {
    return toString(tokenId);
  }

  /**
   * @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:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `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");
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");
    require(balanceOf(to) == 0, "You can only own 1 planet.");

    _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++) {
      _sizeDataOfToken[startTokenId + i] = 1;

      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 {
    uint toId = 0;
    if (balanceOf(to) > 0) {
      toId = tokenOfOwnerByIndex(to,0);
    }
    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
        );
      }
    }

    // MERGE
    if (balanceOf(to) > 1) {
      uint fromId = tokenId;
      uint oldLevel;
      uint newLevel;
      uint targetId;
      if (levelOf(fromId) > levelOf(toId)) {
        oldLevel = levelOf(fromId);
        uint256 newSize = sizeOf(fromId) + sizeOf(toId);
        setSizeOf(fromId, newSize);
        emit Absorb(fromId, toId, newSize);
        _burn(toId);
        _nameDataOfToken[toId] = string(abi.encodePacked("Planet #", toString(fromId), " absorbed "));
        newLevel = levelOf(fromId);
        targetId = fromId;
      } else if (levelOf(fromId) <= levelOf(toId)) {
        oldLevel = levelOf(toId);
        uint256 newSize = sizeOf(fromId) + sizeOf(toId);
        setSizeOf(toId, sizeOf(fromId) + sizeOf(toId));
        emit Absorb(toId, fromId, newSize);
        _burn(fromId);
        _nameDataOfToken[fromId] = string(abi.encodePacked("Planet #", toString(toId), " absorbed "));
        newLevel = levelOf(toId);
        targetId = toId;
      }
      if (newLevel > oldLevel) {
        emit LevelUp(targetId, newLevel, to);
      }
    }

    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 > collectionSize - 1) {
      endIndex = collectionSize - 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 {}

  function toString(uint256 value) internal pure returns (string memory) {
      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);
  }
}

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

File 8 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenIdA","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenIdB","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"size","type":"uint256"}],"name":"Absorb","type":"event"},{"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":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"level","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"LevelUp","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"newName","type":"string"}],"name":"Rename","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":"amountForPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicSaleStatus","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":"uint256","name":"tokenId","type":"uint256"}],"name":"levelOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"nameOf","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","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":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"radiusOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"revive","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"targetName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setOwnersExplicit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"sizeOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"typeOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60006001556101a0604052600a60e09081526032610100526063610120526101f3610140819052610160819052610180526200004090600b90600662000238565b506000600c55610e52600e8190556010805460ff19169055601155600160c0523480156200006d57600080fd5b506040518060400160405280600681526020016514131053915560d21b8152506040518060400160405280600e81526020016d4d657267696e672047616c61787960901b8152506001600e54620000d3620000cd620001e460201b60201c565b620001e8565b60008111620001405760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001a25760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840162000137565b8351620001b79060029060208701906200028e565b508251620001cd9060039060208601906200028e565b5060a09190915260805250506001600d556200035f565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280548282559060005260206000209081019282156200027c579160200282015b828111156200027c578251829061ffff1690559160200191906001019062000259565b506200028a9291506200030b565b5090565b8280546200029c9062000322565b90600052602060002090601f016020900481019282620002c057600085556200027c565b82601f10620002db57805160ff19168380011785556200027c565b828001600101855582156200027c579182015b828111156200027c578251825591602001919060010190620002ee565b5b808211156200028a57600081556001016200030c565b600181811c908216806200033757607f821691505b602082108114156200035957634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051613d50620003d5600039600081816103cd015261174f015260008181610b6401528181610b9c01528181610bd801528181610c0b01528181612647015281816126710152612c9f015260008181610acc015281816116840152818161244d015261247f0152613d506000f3fe6080604052600436106102465760003560e01c80638baecc2111610139578063b88d4fde116100b6578063d07866d21161007a578063d07866d2146106a4578063d5abeb01146106c4578063d7224ba0146106da578063dc33e681146106f0578063e985e9c514610710578063f2fde38b1461075957600080fd5b8063b88d4fde1461061c578063b9ad9fde1461063c578063c47f002714610651578063c588ff8b14610664578063c87b56dd1461068457600080fd5b80639dc74e63116100fd5780639dc74e63146105a4578063a22cb465146105ba578063ac446002146105da578063b3ab66b0146105ef578063b6c693e51461060257600080fd5b80638baecc21146104fc5780638da5cb5b1461050f5780639231ab2a1461052d57806395d89b411461057a5780639679dd7d1461058f57600080fd5b80633ba5ae24116101c757806355f804b31161018b57806355f804b3146104675780636352211e146104875780636d5e3032146104a757806370a08231146104c7578063715018a6146104e757600080fd5b80633ba5ae24146103bb57806342842e0e146103ef578063499e8eec1461040f5780634a0c1112146104275780634f6ccce71461044757600080fd5b80631342ff4c1161020e5780631342ff4c1461031c57806318160ddd1461033c57806323b872dd1461035b5780632d20fb601461037b5780632f745c591461039b57600080fd5b806301ffc9a71461024b578063051a26641461028057806306fdde03146102ad578063081812fc146102c2578063095ea7b3146102fa575b600080fd5b34801561025757600080fd5b5061026b6102663660046134a4565b610779565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b506102a061029b366004613597565b6107e6565b60405161027791906139cc565b3480156102b957600080fd5b506102a0610888565b3480156102ce57600080fd5b506102e26102dd366004613597565b61091a565b6040516001600160a01b039091168152602001610277565b34801561030657600080fd5b5061031a61031536600461347a565b6109aa565b005b34801561032857600080fd5b5061031a610337366004613597565b610ac2565b34801561034857600080fd5b506001545b604051908152602001610277565b34801561036757600080fd5b5061031a610376366004613387565b610c39565b34801561038757600080fd5b5061031a610396366004613597565b610c44565b3480156103a757600080fd5b5061034d6103b636600461347a565b610cb5565b3480156103c757600080fd5b5061034d7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103fb57600080fd5b5061031a61040a366004613387565b610e2d565b34801561041b57600080fd5b5060105460ff1661026b565b34801561043357600080fd5b5061034d610442366004613597565b610e48565b34801561045357600080fd5b5061034d610462366004613597565b610efb565b34801561047357600080fd5b5061031a6104823660046134de565b610f64565b34801561049357600080fd5b506102e26104a2366004613597565b610f78565b3480156104b357600080fd5b5061034d6104c2366004613597565b610f8a565b3480156104d357600080fd5b5061034d6104e2366004613332565b611026565b3480156104f357600080fd5b5061031a6110b7565b61031a61050a366004613597565b6110cb565b34801561051b57600080fd5b506000546001600160a01b03166102e2565b34801561053957600080fd5b5061054d610548366004613597565b611437565b6040805182516001600160a01b031681526020928301516001600160401b03169281019290925201610277565b34801561058657600080fd5b506102a0611454565b34801561059b57600080fd5b5061034d611463565b3480156105b057600080fd5b5061034d60115481565b3480156105c657600080fd5b5061031a6105d536600461343e565b611480565b3480156105e657600080fd5b5061031a611545565b61031a6105fd366004613597565b611630565b34801561060e57600080fd5b5060105461026b9060ff1681565b34801561062857600080fd5b5061031a6106373660046133c3565b6117eb565b34801561064857600080fd5b5061031a611824565b61031a61065f36600461354f565b611840565b34801561067057600080fd5b5061034d61067f366004613597565b611994565b34801561069057600080fd5b506102a061069f366004613597565b6119d3565b3480156106b057600080fd5b5061034d6106bf366004613597565b611c3a565b3480156106d057600080fd5b5061034d600e5481565b3480156106e657600080fd5b5061034d600c5481565b3480156106fc57600080fd5b5061034d61070b366004613332565b611c76565b34801561071c57600080fd5b5061026b61072b366004613354565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561076557600080fd5b5061031a610774366004613332565b611c81565b60006001600160e01b031982166380ac58cd60e01b14806107aa57506001600160e01b03198216635b5e139f60e01b145b806107c557506001600160e01b0319821663780e9d6360e01b145b806107e057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000818152600a6020526040902080546060919061080390613b7a565b80601f016020809104026020016040519081016040528092919081815260200182805461082f90613b7a565b801561087c5780601f106108515761010080835404028352916020019161087c565b820191906000526020600020905b81548152906001019060200180831161085f57829003601f168201915b50505050509050919050565b60606002805461089790613b7a565b80601f01602080910402602001604051908101604052809291908181526020018280546108c390613b7a565b80156109105780601f106108e557610100808354040283529160200191610910565b820191906000526020600020905b8154815290600101906020018083116108f357829003601f168201915b5050505050905090565b6000610927826001541190565b61098e5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006109b582610f78565b9050806001600160a01b0316836001600160a01b03161415610a245760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610985565b336001600160a01b0382161480610a405750610a40813361072b565b610ab25760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610985565b610abd838383611cfa565b505050565b610aca611d56565b7f000000000000000000000000000000000000000000000000000000000000000081610af560015490565b610aff9190613aad565b1115610b5d5760405162461bcd60e51b815260206004820152602760248201527f746f6f206d616e7920616c7265616479206d696e746564206265666f72652064604482015266195d881b5a5b9d60ca1b6064820152608401610985565b6000610b897f000000000000000000000000000000000000000000000000000000000000000083613ac5565b905060005b81811015610bd257610bc0337f0000000000000000000000000000000000000000000000000000000000000000611db0565b80610bca81613baf565b915050610b8e565b50610bfd7f000000000000000000000000000000000000000000000000000000000000000083613bca565b15610c3557610c3533610c307f000000000000000000000000000000000000000000000000000000000000000085613bca565b611db0565b5050565b610abd838383611dca565b610c4c611d56565b6002600d541415610c9f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610985565b6002600d55610cad816123dc565b506001600d55565b6000610cc083611026565b8210610d195760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610985565b6000610d2460015490565b905060008060005b83811015610dcd576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610d7e57805192505b876001600160a01b0316836001600160a01b03161415610dba5786841415610dac575093506107e092505050565b83610db681613baf565b9450505b5080610dc581613baf565b915050610d2c565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610985565b610abd838383604051806020016040528060008152506117eb565b6000610e55826001541190565b610e715760405162461bcd60e51b815260040161098590613a32565b6002600b610e7e84610f8a565b81548110610e8e57610e8e613c0a565b9060005260206000200154610ea39190613ac5565b610ead9083613bca565b600b610eb884610f8a565b81548110610ec857610ec8613c0a565b90600052602060002001546009600085815260200190815260200160002054610ef19190613ad9565b6107e09190613aad565b6000610f0660015490565b8210610f605760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610985565b5090565b610f6c611d56565b610abd600f8383613171565b6000610f83826125c5565b5192915050565b6000610f97826001541190565b610fb35760405162461bcd60e51b815260040161098590613a32565b60008281526009602052604090205460018111610fd35750600092915050565b60048111610fe45750600192915050565b60098111610ff55750600292915050565b601381116110065750600392915050565b602781116110175750600492915050565b50600592915050565b50919050565b60006001600160a01b0382166110925760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610985565b506001600160a01b03166000908152600760205260409020546001600160801b031690565b6110bf611d56565b6110c9600061276e565b565b6110d6816001541190565b6110f25760405162461bcd60e51b815260040161098590613a32565b61dead6110fe82610f78565b6001600160a01b0316146111545760405162461bcd60e51b815260206004820152601c60248201527f5468697320706c616e6574206973206e6f742064656164207965742e000000006044820152606401610985565b61115d81611c3a565b61116e90660e35fa931a0000613ad9565b34101561118261117d83611c3a565b6127be565b61118e61117d84611c3a565b60405160200161119f929190613840565b604051602081830303815290604052906111cc5760405162461bcd60e51b815260040161098591906139cc565b506111d633611026565b156112235760405162461bcd60e51b815260206004820152601a60248201527f596f752063616e206f6e6c79206f776e203120706c616e65742e0000000000006044820152606401610985565b61dead336000611232846125c5565b90506112446000858360000151611cfa565b6001600160a01b03831660009081526007602052604081208054600192906112769084906001600160801b0316613af8565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038416600090815260076020526040812080546001945090926112c291859116613a82565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380851682526001600160401b03428116602080850191825260008a81526004909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611349856001613aad565b6000818152600460205260409020549091506001600160a01b03166113da57611373816001541190565b156113da5760408051808201825283516001600160a01b0390811682526020808601516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b600880549060006113ea83613b63565b919050555084836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60408051808201909152600080825260208201526107e0826125c5565b60606003805461089790613b7a565b600060085461147160015490565b61147b9190613b20565b905090565b6001600160a01b0382163314156114d95760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610985565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61154d611d56565b6002600d5414156115a05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610985565b6002600d55604051600090339047908381818185875af1925050503d80600081146115e7576040519150601f19603f3d011682016040523d82523d6000602084013e6115ec565b606091505b5050905080610cad5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610985565b60105460ff166116825760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c6520686173206e6f7420737461727465642e000000006044820152606401610985565b7f0000000000000000000000000000000000000000000000000000000000000000816116ad60015490565b6116b79190613aad565b11156116fb5760405162461bcd60e51b815260206004820152601360248201527226b0bc1039bab838363c903932b0b1b432b21760691b6044820152606401610985565b80601154101561174d5760405162461bcd60e51b815260206004820152601a60248201527f5075626c69632073616c65206c696d697420726561636865642e0000000000006044820152606401610985565b7f00000000000000000000000000000000000000000000000000000000000000008111156117c75760405162461bcd60e51b815260206004820152602160248201527f53696e676c65207472616e73616374696f6e206c696d697420726561636865646044820152601760f91b6064820152608401610985565b6117d13382611db0565b80601160008282546117e39190613b20565b909155505050565b6117f6848484611dca565b611802848484846128c3565b61181e5760405162461bcd60e51b8152600401610985906139df565b50505050565b61182c611d56565b6010805460ff19811660ff90911615179055565b61184933611026565b6001146118985760405162461bcd60e51b815260206004820152601960248201527f596f7520646f6e2774206f776e20616e7920706c616e65742e000000000000006044820152606401610985565b60006118a5336000610cb5565b90506118b081610f8a565b6118c190662386f26fc10000613ad9565b3410156118d061117d83610f8a565b6118dc61117d84610f8a565b6040516020016118ed9291906137c7565b6040516020818303038152906040529061191a5760405162461bcd60e51b815260040161098591906139cc565b5081600a600061192b336000610cb5565b8152602001908152602001600020908051906020019061194c9291906131f1565b507fa2a830bcb30471f97c2e9235f9d10911a61667e14c2f06191599a0ee1f861167611979336000610cb5565b83604051611988929190613a69565b60405180910390a15050565b60006119a1826001541190565b6119bd5760405162461bcd60e51b815260040161098590613a32565b6119c8600883613bca565b6107e0906001613aad565b60606119e0826001541190565b6119fc5760405162461bcd60e51b815260040161098590613a32565b611a04613265565b611a0d836107e6565b51611a42576040805180820190915260128152717b226e616d65223a2022506c616e6574202360701b60208201528152611a6e565b611a4b836107e6565b604051602001611a5b919061390b565b60408051808303601f1901815291905281525b611a77836127be565b8160016020020181905250604051806080016040528060458152602001613cd6604591396040820152611aa983610f8a565b611b1357611ab56129d0565b611ac161117d85611994565b611acd61117d86610f8a565b611ae6611adb600388613bca565b61117d906001613aad565b604051602001611af994939291906136cf565b60408051808303601f190181529190526060820152611b5b565b611b1b6129d0565b611b2761117d85611994565b611b3361117d86610f8a565b604051602001611b459392919061366e565b60408051808303601f1901815291905260608201525b604051806080016040528060498152602001613c4d604991396080820152611b8561117d84610f8a565b60a0820152611b9661117d84611c3a565b604051602001611ba6919061374f565b60408051808303601f1901815291815260c083018290528251602080850151858401516060870151608088015160a08901519651600098611bf2989596949593949293929091016135dc565b60405160208183030381529060405290506000611c0e826129df565b905080604051602001611c21919061394a565b60408051601f1981840301815291905295945050505050565b6000611c47826001541190565b611c635760405162461bcd60e51b815260040161098590613a32565b5060009081526009602052604090205490565b60006107e082612b44565b611c89611d56565b6001600160a01b038116611cee5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610985565b611cf78161276e565b50565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146110c95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610985565b610c35828260405180602001604052806000815250612be2565b600080611dd684611026565b1115611dea57611de7836000610cb5565b90505b6000611df5836125c5565b80519091506000906001600160a01b0316336001600160a01b03161480611e2c575033611e218561091a565b6001600160a01b0316145b80611e3e57508151611e3e903361072b565b905080611ea85760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610985565b856001600160a01b031682600001516001600160a01b031614611f1c5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610985565b6001600160a01b038516611f805760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610985565b611f906000858460000151611cfa565b6001600160a01b0386166000908152600760205260408120805460019290611fc29084906001600160801b0316613af8565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0387166000908152600760205260408120805460019450909261200e91859116613a82565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380881682526001600160401b03428116602080850191825260008a81526004909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612095856001613aad565b6000818152600460205260409020549091506001600160a01b0316612126576120bf816001541190565b156121265760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b600161213187611026565b111561239257846000808061214588610f8a565b61214e85610f8a565b11156122315761215d84610f8a565b9250600061216a89611c3a565b61217386611c3a565b61217d9190613aad565b90506121898582612f3e565b60408051868152602081018b90529081018290527f8c2c25790873f1cc3f5c4d70719d0eb0042fcab8a908f8b9c763ac16ae886dc49060600160405180910390a16121d389612f77565b6121dc856127be565b6040516020016121ec91906138c7565b60408051601f1981840301815291815260008b8152600a6020908152919020825161221c939192909101906131f1565b5061222685610f8a565b92508491505061233c565b61223a88610f8a565b61224385610f8a565b1161233c5761225188610f8a565b9250600061225e89611c3a565b61226786611c3a565b6122719190613aad565b9050612298896122808b611c3a565b61228988611c3a565b6122939190613aad565b612f3e565b604080518a8152602081018790529081018290527f8c2c25790873f1cc3f5c4d70719d0eb0042fcab8a908f8b9c763ac16ae886dc49060600160405180910390a16122e285612f77565b6122eb896127be565b6040516020016122fb91906138c7565b60408051601f198184030181529181526000878152600a6020908152919020825161232b939192909101906131f1565b5061233589610f8a565b9250889150505b8282111561238d5760408051828152602081018490526001600160a01b038c168183015290517f9027523859151423c8b44d9ebf291cff16d09e7c61d96b2db0777d674bd067099181900360600190a15b505050505b84866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050505050565b600c548161242c5760405162461bcd60e51b815260206004820152601860248201527f7175616e74697479206d757374206265206e6f6e7a65726f00000000000000006044820152606401610985565b6000600161243a8484613aad565b6124449190613b20565b905061247160017f0000000000000000000000000000000000000000000000000000000000000000613b20565b8111156124a6576124a360017f0000000000000000000000000000000000000000000000000000000000000000613b20565b90505b6124b1816001541190565b61250c5760405162461bcd60e51b815260206004820152602660248201527f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360448201526506c65616e75760d41b6064820152608401610985565b815b8181116125b1576000818152600460205260409020546001600160a01b031661259f57600061253c826125c5565b60408051808201825282516001600160a01b0390811682526020938401516001600160401b039081168584019081526000888152600490965293909420915182549351909416600160a01b026001600160e01b0319909316931692909217179055505b806125a981613baf565b91505061250e565b506125bd816001613aad565b600c55505050565b60408051808201909152600080825260208201526125e4826001541190565b6126435760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610985565b60007f000000000000000000000000000000000000000000000000000000000000000083106126a4576126967f000000000000000000000000000000000000000000000000000000000000000084613b20565b6126a1906001613aad565b90505b825b81811061270d576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156126fa57949350505050565b508061270581613b63565b9150506126a6565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610985565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060816127e25750506040805180820190915260018152600360fc1b602082015290565b8160005b811561280c57806127f681613baf565b91506128059050600a83613ac5565b91506127e6565b6000816001600160401b0381111561282657612826613c20565b6040519080825280601f01601f191660200182016040528015612850576020820181803683370190505b5090505b84156128bb57612865600183613b20565b9150612872600a86613bca565b61287d906030613aad565b60f81b81838151811061289257612892613c0a565b60200101906001600160f81b031916908160001a9053506128b4600a86613ac5565b9450612854565b949350505050565b60006001600160a01b0384163b156129c557604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061290790339089908890889060040161398f565b602060405180830381600087803b15801561292157600080fd5b505af1925050508015612951575060408051601f3d908101601f1916820190925261294e918101906134c1565b60015b6129ab573d80801561297f576040519150601f19603f3d011682016040523d82523d6000602084013e612984565b606091505b5080516129a35760405162461bcd60e51b8152600401610985906139df565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506128bb565b506001949350505050565b6060600f805461089790613b7a565b8051606090806129ff575050604080516020810190915260008152919050565b60006003612a0e836002613aad565b612a189190613ac5565b612a23906004613ad9565b90506000612a32826020613aad565b6001600160401b03811115612a4957612a49613c20565b6040519080825280601f01601f191660200182016040528015612a73576020820181803683370190505b5090506000604051806060016040528060408152602001613c96604091399050600181016020830160005b86811015612aff576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612a9e565b506003860660018114612b195760028114612b2a57612b36565b613d3d60f01b600119830152612b36565b603d60f81b6000198301525b505050918152949350505050565b60006001600160a01b038216612bb65760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527020746865207a65726f206164647265737360781b6064820152608401610985565b506001600160a01b0316600090815260076020526040902054600160801b90046001600160801b031690565b6001546001600160a01b038416612c455760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610985565b612c50816001541190565b15612c9d5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610985565b7f0000000000000000000000000000000000000000000000000000000000000000831115612d185760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610985565b612d2184611026565b15612d6e5760405162461bcd60e51b815260206004820152601a60248201527f596f752063616e206f6e6c79206f776e203120706c616e65742e0000000000006044820152606401610985565b6001600160a01b0384166000908152600760209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612dca908790613a82565b6001600160801b03168152602001858360200151612de89190613a82565b6001600160801b039081169091526001600160a01b0380881660008181526007602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612f3357600160096000612e968488613aad565b81526020019081526020016000208190555081876001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ef760008884886128c3565b612f135760405162461bcd60e51b8152600401610985906139df565b81612f1d81613baf565b9250508080612f2b90613baf565b915050612e7e565b506001555050505050565b612f49826001541190565b612f655760405162461bcd60e51b815260040161098590613a32565b60009182526009602052604090912055565b612f82816001541190565b612f9e5760405162461bcd60e51b815260040161098590613a32565b6000612fa982610f78565b905061dead6000612fb9846125c5565b9050612fcb6000858360000151611cfa565b6001600160a01b0383166000908152600760205260408120805460019290612ffd9084906001600160801b0316613af8565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0384166000908152600760205260408120805460019450909261304991859116613a82565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380851682526001600160401b03428116602080850191825260008a81526004909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556130d0856001613aad565b6000818152600460205260409020549091506001600160a01b0316613161576130fa816001541190565b156131615760408051808201825283516001600160a01b0390811682526020808601516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b600880549060006113ea83613baf565b82805461317d90613b7a565b90600052602060002090601f01602090048101928261319f57600085556131e5565b82601f106131b85782800160ff198235161785556131e5565b828001600101855582156131e5579182015b828111156131e55782358255916020019190600101906131ca565b50610f6092915061328c565b8280546131fd90613b7a565b90600052602060002090601f01602090048101928261321f57600085556131e5565b82601f1061323857805160ff19168380011785556131e5565b828001600101855582156131e5579182015b828111156131e557825182559160200191906001019061324a565b6040518060e001604052806007905b60608152602001906001900390816132745790505090565b5b80821115610f60576000815560010161328d565b60006001600160401b03808411156132bb576132bb613c20565b604051601f8501601f19908116603f011681019082821181831017156132e3576132e3613c20565b816040528093508581528686860111156132fc57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461332d57600080fd5b919050565b60006020828403121561334457600080fd5b61334d82613316565b9392505050565b6000806040838503121561336757600080fd5b61337083613316565b915061337e60208401613316565b90509250929050565b60008060006060848603121561339c57600080fd5b6133a584613316565b92506133b360208501613316565b9150604084013590509250925092565b600080600080608085870312156133d957600080fd5b6133e285613316565b93506133f060208601613316565b92506040850135915060608501356001600160401b0381111561341257600080fd5b8501601f8101871361342357600080fd5b613432878235602084016132a1565b91505092959194509250565b6000806040838503121561345157600080fd5b61345a83613316565b91506020830135801515811461346f57600080fd5b809150509250929050565b6000806040838503121561348d57600080fd5b61349683613316565b946020939093013593505050565b6000602082840312156134b657600080fd5b813561334d81613c36565b6000602082840312156134d357600080fd5b815161334d81613c36565b600080602083850312156134f157600080fd5b82356001600160401b038082111561350857600080fd5b818501915085601f83011261351c57600080fd5b81358181111561352b57600080fd5b86602082850101111561353d57600080fd5b60209290920196919550909350505050565b60006020828403121561356157600080fd5b81356001600160401b0381111561357757600080fd5b8201601f8101841361358857600080fd5b6128bb848235602084016132a1565b6000602082840312156135a957600080fd5b5035919050565b600081518084526135c8816020860160208601613b37565b601f01601f19169290920160200192915050565b6000885160206135ef8285838e01613b37565b8951918401916136028184848e01613b37565b89519201916136148184848d01613b37565b88519201916136268184848c01613b37565b87519201916136388184848b01613b37565b865192019161364a8184848a01613b37565b855192019161365c8184848901613b37565b919091019a9950505050505050505050565b60008451613680818460208901613b37565b845190830190613694818360208901613b37565b602d60f81b910190815283516136b1816001840160208801613b37565b631733b4b360e11b6001929091019182015260050195945050505050565b600085516136e1818460208a01613b37565b8551908301906136f5818360208a01613b37565b602d60f81b91018181528551909190613715816001850160208a01613b37565b60019201918201528351613730816002840160208801613b37565b631733b4b360e11b600292909101918201526006019695505050505050565b7f7d2c7b22646973706c61795f74797065223a20226e756d626572222c2022747281527f6169745f74797065223a20224d617373222c202276616c7565223a20000000006020820152600082516137ad81603c850160208701613b37565b627d5d7d60e81b603c939091019283015250603f01919050565b6a2932b730b6b2903090263b60a91b8152600083516137ed81600b850160208801613b37565b73020706c616e657420726571756972657320302e360641b600b91840191820152835161382181601f840160208801613b37565b651032ba3432b960d11b601f9290910191820152602501949350505050565b7f526576697665206120706c616e657420776974682073697a652000000000000081526000835161387881601a850160208801613b37565b690103932b8bab4b932b9960b51b601a9184019182015283516138a2816024840160208801613b37565b6b15181718181a1032ba3432b960a11b60249290910191820152603001949350505050565b67506c616e6574202360c01b8152600082516138ea816008850160208701613b37565b6901030b139b7b93132b2160b51b6008939091019283015250601201919050565b693d913730b6b2911d101160b11b8152815160009061393181600a850160208701613b37565b61202360f01b600a939091019283015250600c01919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161398281601d850160208701613b37565b91909101601d0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906139c2908301846135b0565b9695505050505050565b60208152600061334d60208301846135b0565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601b908201527f5468697320706c616e657420646f6573206e6f742065786973742e0000000000604082015260600190565b8281526040602082015260006128bb60408301846135b0565b60006001600160801b03808316818516808303821115613aa457613aa4613bde565b01949350505050565b60008219821115613ac057613ac0613bde565b500190565b600082613ad457613ad4613bf4565b500490565b6000816000190483118215151615613af357613af3613bde565b500290565b60006001600160801b0383811690831681811015613b1857613b18613bde565b039392505050565b600082821015613b3257613b32613bde565b500390565b60005b83811015613b52578181015183820152602001613b3a565b8381111561181e5750506000910152565b600081613b7257613b72613bde565b506000190190565b600181811c90821680613b8e57607f821691505b6020821081141561102057634e487b7160e01b600052602260045260246000fd5b6000600019821415613bc357613bc3613bde565b5060010190565b600082613bd957613bd9613bf4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611cf757600080fdfe222c2261747472696275746573223a205b7b22646973706c61795f74797065223a20226e756d626572222c2274726169745f74797065223a20224c6576656c222c2276616c7565223a4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f222c226465736372697074696f6e223a20224d657267696e672047616c6178792069732061207370616365206f6620657874696e6374696f6e2e222c22696d616765223a22a26469706673582212203a6fc2cbbf005bac296537a23faab0d1ee545c4c9872e3ccc36d996fbc4863cf64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102465760003560e01c80638baecc2111610139578063b88d4fde116100b6578063d07866d21161007a578063d07866d2146106a4578063d5abeb01146106c4578063d7224ba0146106da578063dc33e681146106f0578063e985e9c514610710578063f2fde38b1461075957600080fd5b8063b88d4fde1461061c578063b9ad9fde1461063c578063c47f002714610651578063c588ff8b14610664578063c87b56dd1461068457600080fd5b80639dc74e63116100fd5780639dc74e63146105a4578063a22cb465146105ba578063ac446002146105da578063b3ab66b0146105ef578063b6c693e51461060257600080fd5b80638baecc21146104fc5780638da5cb5b1461050f5780639231ab2a1461052d57806395d89b411461057a5780639679dd7d1461058f57600080fd5b80633ba5ae24116101c757806355f804b31161018b57806355f804b3146104675780636352211e146104875780636d5e3032146104a757806370a08231146104c7578063715018a6146104e757600080fd5b80633ba5ae24146103bb57806342842e0e146103ef578063499e8eec1461040f5780634a0c1112146104275780634f6ccce71461044757600080fd5b80631342ff4c1161020e5780631342ff4c1461031c57806318160ddd1461033c57806323b872dd1461035b5780632d20fb601461037b5780632f745c591461039b57600080fd5b806301ffc9a71461024b578063051a26641461028057806306fdde03146102ad578063081812fc146102c2578063095ea7b3146102fa575b600080fd5b34801561025757600080fd5b5061026b6102663660046134a4565b610779565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b506102a061029b366004613597565b6107e6565b60405161027791906139cc565b3480156102b957600080fd5b506102a0610888565b3480156102ce57600080fd5b506102e26102dd366004613597565b61091a565b6040516001600160a01b039091168152602001610277565b34801561030657600080fd5b5061031a61031536600461347a565b6109aa565b005b34801561032857600080fd5b5061031a610337366004613597565b610ac2565b34801561034857600080fd5b506001545b604051908152602001610277565b34801561036757600080fd5b5061031a610376366004613387565b610c39565b34801561038757600080fd5b5061031a610396366004613597565b610c44565b3480156103a757600080fd5b5061034d6103b636600461347a565b610cb5565b3480156103c757600080fd5b5061034d7f000000000000000000000000000000000000000000000000000000000000000181565b3480156103fb57600080fd5b5061031a61040a366004613387565b610e2d565b34801561041b57600080fd5b5060105460ff1661026b565b34801561043357600080fd5b5061034d610442366004613597565b610e48565b34801561045357600080fd5b5061034d610462366004613597565b610efb565b34801561047357600080fd5b5061031a6104823660046134de565b610f64565b34801561049357600080fd5b506102e26104a2366004613597565b610f78565b3480156104b357600080fd5b5061034d6104c2366004613597565b610f8a565b3480156104d357600080fd5b5061034d6104e2366004613332565b611026565b3480156104f357600080fd5b5061031a6110b7565b61031a61050a366004613597565b6110cb565b34801561051b57600080fd5b506000546001600160a01b03166102e2565b34801561053957600080fd5b5061054d610548366004613597565b611437565b6040805182516001600160a01b031681526020928301516001600160401b03169281019290925201610277565b34801561058657600080fd5b506102a0611454565b34801561059b57600080fd5b5061034d611463565b3480156105b057600080fd5b5061034d60115481565b3480156105c657600080fd5b5061031a6105d536600461343e565b611480565b3480156105e657600080fd5b5061031a611545565b61031a6105fd366004613597565b611630565b34801561060e57600080fd5b5060105461026b9060ff1681565b34801561062857600080fd5b5061031a6106373660046133c3565b6117eb565b34801561064857600080fd5b5061031a611824565b61031a61065f36600461354f565b611840565b34801561067057600080fd5b5061034d61067f366004613597565b611994565b34801561069057600080fd5b506102a061069f366004613597565b6119d3565b3480156106b057600080fd5b5061034d6106bf366004613597565b611c3a565b3480156106d057600080fd5b5061034d600e5481565b3480156106e657600080fd5b5061034d600c5481565b3480156106fc57600080fd5b5061034d61070b366004613332565b611c76565b34801561071c57600080fd5b5061026b61072b366004613354565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561076557600080fd5b5061031a610774366004613332565b611c81565b60006001600160e01b031982166380ac58cd60e01b14806107aa57506001600160e01b03198216635b5e139f60e01b145b806107c557506001600160e01b0319821663780e9d6360e01b145b806107e057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000818152600a6020526040902080546060919061080390613b7a565b80601f016020809104026020016040519081016040528092919081815260200182805461082f90613b7a565b801561087c5780601f106108515761010080835404028352916020019161087c565b820191906000526020600020905b81548152906001019060200180831161085f57829003601f168201915b50505050509050919050565b60606002805461089790613b7a565b80601f01602080910402602001604051908101604052809291908181526020018280546108c390613b7a565b80156109105780601f106108e557610100808354040283529160200191610910565b820191906000526020600020905b8154815290600101906020018083116108f357829003601f168201915b5050505050905090565b6000610927826001541190565b61098e5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006109b582610f78565b9050806001600160a01b0316836001600160a01b03161415610a245760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610985565b336001600160a01b0382161480610a405750610a40813361072b565b610ab25760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610985565b610abd838383611cfa565b505050565b610aca611d56565b7f0000000000000000000000000000000000000000000000000000000000000e5281610af560015490565b610aff9190613aad565b1115610b5d5760405162461bcd60e51b815260206004820152602760248201527f746f6f206d616e7920616c7265616479206d696e746564206265666f72652064604482015266195d881b5a5b9d60ca1b6064820152608401610985565b6000610b897f000000000000000000000000000000000000000000000000000000000000000183613ac5565b905060005b81811015610bd257610bc0337f0000000000000000000000000000000000000000000000000000000000000001611db0565b80610bca81613baf565b915050610b8e565b50610bfd7f000000000000000000000000000000000000000000000000000000000000000183613bca565b15610c3557610c3533610c307f000000000000000000000000000000000000000000000000000000000000000185613bca565b611db0565b5050565b610abd838383611dca565b610c4c611d56565b6002600d541415610c9f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610985565b6002600d55610cad816123dc565b506001600d55565b6000610cc083611026565b8210610d195760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610985565b6000610d2460015490565b905060008060005b83811015610dcd576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610d7e57805192505b876001600160a01b0316836001600160a01b03161415610dba5786841415610dac575093506107e092505050565b83610db681613baf565b9450505b5080610dc581613baf565b915050610d2c565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610985565b610abd838383604051806020016040528060008152506117eb565b6000610e55826001541190565b610e715760405162461bcd60e51b815260040161098590613a32565b6002600b610e7e84610f8a565b81548110610e8e57610e8e613c0a565b9060005260206000200154610ea39190613ac5565b610ead9083613bca565b600b610eb884610f8a565b81548110610ec857610ec8613c0a565b90600052602060002001546009600085815260200190815260200160002054610ef19190613ad9565b6107e09190613aad565b6000610f0660015490565b8210610f605760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610985565b5090565b610f6c611d56565b610abd600f8383613171565b6000610f83826125c5565b5192915050565b6000610f97826001541190565b610fb35760405162461bcd60e51b815260040161098590613a32565b60008281526009602052604090205460018111610fd35750600092915050565b60048111610fe45750600192915050565b60098111610ff55750600292915050565b601381116110065750600392915050565b602781116110175750600492915050565b50600592915050565b50919050565b60006001600160a01b0382166110925760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610985565b506001600160a01b03166000908152600760205260409020546001600160801b031690565b6110bf611d56565b6110c9600061276e565b565b6110d6816001541190565b6110f25760405162461bcd60e51b815260040161098590613a32565b61dead6110fe82610f78565b6001600160a01b0316146111545760405162461bcd60e51b815260206004820152601c60248201527f5468697320706c616e6574206973206e6f742064656164207965742e000000006044820152606401610985565b61115d81611c3a565b61116e90660e35fa931a0000613ad9565b34101561118261117d83611c3a565b6127be565b61118e61117d84611c3a565b60405160200161119f929190613840565b604051602081830303815290604052906111cc5760405162461bcd60e51b815260040161098591906139cc565b506111d633611026565b156112235760405162461bcd60e51b815260206004820152601a60248201527f596f752063616e206f6e6c79206f776e203120706c616e65742e0000000000006044820152606401610985565b61dead336000611232846125c5565b90506112446000858360000151611cfa565b6001600160a01b03831660009081526007602052604081208054600192906112769084906001600160801b0316613af8565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038416600090815260076020526040812080546001945090926112c291859116613a82565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380851682526001600160401b03428116602080850191825260008a81526004909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611349856001613aad565b6000818152600460205260409020549091506001600160a01b03166113da57611373816001541190565b156113da5760408051808201825283516001600160a01b0390811682526020808601516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b600880549060006113ea83613b63565b919050555084836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60408051808201909152600080825260208201526107e0826125c5565b60606003805461089790613b7a565b600060085461147160015490565b61147b9190613b20565b905090565b6001600160a01b0382163314156114d95760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610985565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61154d611d56565b6002600d5414156115a05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610985565b6002600d55604051600090339047908381818185875af1925050503d80600081146115e7576040519150601f19603f3d011682016040523d82523d6000602084013e6115ec565b606091505b5050905080610cad5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610985565b60105460ff166116825760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c6520686173206e6f7420737461727465642e000000006044820152606401610985565b7f0000000000000000000000000000000000000000000000000000000000000e52816116ad60015490565b6116b79190613aad565b11156116fb5760405162461bcd60e51b815260206004820152601360248201527226b0bc1039bab838363c903932b0b1b432b21760691b6044820152606401610985565b80601154101561174d5760405162461bcd60e51b815260206004820152601a60248201527f5075626c69632073616c65206c696d697420726561636865642e0000000000006044820152606401610985565b7f00000000000000000000000000000000000000000000000000000000000000018111156117c75760405162461bcd60e51b815260206004820152602160248201527f53696e676c65207472616e73616374696f6e206c696d697420726561636865646044820152601760f91b6064820152608401610985565b6117d13382611db0565b80601160008282546117e39190613b20565b909155505050565b6117f6848484611dca565b611802848484846128c3565b61181e5760405162461bcd60e51b8152600401610985906139df565b50505050565b61182c611d56565b6010805460ff19811660ff90911615179055565b61184933611026565b6001146118985760405162461bcd60e51b815260206004820152601960248201527f596f7520646f6e2774206f776e20616e7920706c616e65742e000000000000006044820152606401610985565b60006118a5336000610cb5565b90506118b081610f8a565b6118c190662386f26fc10000613ad9565b3410156118d061117d83610f8a565b6118dc61117d84610f8a565b6040516020016118ed9291906137c7565b6040516020818303038152906040529061191a5760405162461bcd60e51b815260040161098591906139cc565b5081600a600061192b336000610cb5565b8152602001908152602001600020908051906020019061194c9291906131f1565b507fa2a830bcb30471f97c2e9235f9d10911a61667e14c2f06191599a0ee1f861167611979336000610cb5565b83604051611988929190613a69565b60405180910390a15050565b60006119a1826001541190565b6119bd5760405162461bcd60e51b815260040161098590613a32565b6119c8600883613bca565b6107e0906001613aad565b60606119e0826001541190565b6119fc5760405162461bcd60e51b815260040161098590613a32565b611a04613265565b611a0d836107e6565b51611a42576040805180820190915260128152717b226e616d65223a2022506c616e6574202360701b60208201528152611a6e565b611a4b836107e6565b604051602001611a5b919061390b565b60408051808303601f1901815291905281525b611a77836127be565b8160016020020181905250604051806080016040528060458152602001613cd6604591396040820152611aa983610f8a565b611b1357611ab56129d0565b611ac161117d85611994565b611acd61117d86610f8a565b611ae6611adb600388613bca565b61117d906001613aad565b604051602001611af994939291906136cf565b60408051808303601f190181529190526060820152611b5b565b611b1b6129d0565b611b2761117d85611994565b611b3361117d86610f8a565b604051602001611b459392919061366e565b60408051808303601f1901815291905260608201525b604051806080016040528060498152602001613c4d604991396080820152611b8561117d84610f8a565b60a0820152611b9661117d84611c3a565b604051602001611ba6919061374f565b60408051808303601f1901815291815260c083018290528251602080850151858401516060870151608088015160a08901519651600098611bf2989596949593949293929091016135dc565b60405160208183030381529060405290506000611c0e826129df565b905080604051602001611c21919061394a565b60408051601f1981840301815291905295945050505050565b6000611c47826001541190565b611c635760405162461bcd60e51b815260040161098590613a32565b5060009081526009602052604090205490565b60006107e082612b44565b611c89611d56565b6001600160a01b038116611cee5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610985565b611cf78161276e565b50565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146110c95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610985565b610c35828260405180602001604052806000815250612be2565b600080611dd684611026565b1115611dea57611de7836000610cb5565b90505b6000611df5836125c5565b80519091506000906001600160a01b0316336001600160a01b03161480611e2c575033611e218561091a565b6001600160a01b0316145b80611e3e57508151611e3e903361072b565b905080611ea85760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610985565b856001600160a01b031682600001516001600160a01b031614611f1c5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610985565b6001600160a01b038516611f805760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610985565b611f906000858460000151611cfa565b6001600160a01b0386166000908152600760205260408120805460019290611fc29084906001600160801b0316613af8565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0387166000908152600760205260408120805460019450909261200e91859116613a82565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380881682526001600160401b03428116602080850191825260008a81526004909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612095856001613aad565b6000818152600460205260409020549091506001600160a01b0316612126576120bf816001541190565b156121265760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b600161213187611026565b111561239257846000808061214588610f8a565b61214e85610f8a565b11156122315761215d84610f8a565b9250600061216a89611c3a565b61217386611c3a565b61217d9190613aad565b90506121898582612f3e565b60408051868152602081018b90529081018290527f8c2c25790873f1cc3f5c4d70719d0eb0042fcab8a908f8b9c763ac16ae886dc49060600160405180910390a16121d389612f77565b6121dc856127be565b6040516020016121ec91906138c7565b60408051601f1981840301815291815260008b8152600a6020908152919020825161221c939192909101906131f1565b5061222685610f8a565b92508491505061233c565b61223a88610f8a565b61224385610f8a565b1161233c5761225188610f8a565b9250600061225e89611c3a565b61226786611c3a565b6122719190613aad565b9050612298896122808b611c3a565b61228988611c3a565b6122939190613aad565b612f3e565b604080518a8152602081018790529081018290527f8c2c25790873f1cc3f5c4d70719d0eb0042fcab8a908f8b9c763ac16ae886dc49060600160405180910390a16122e285612f77565b6122eb896127be565b6040516020016122fb91906138c7565b60408051601f198184030181529181526000878152600a6020908152919020825161232b939192909101906131f1565b5061233589610f8a565b9250889150505b8282111561238d5760408051828152602081018490526001600160a01b038c168183015290517f9027523859151423c8b44d9ebf291cff16d09e7c61d96b2db0777d674bd067099181900360600190a15b505050505b84866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050505050565b600c548161242c5760405162461bcd60e51b815260206004820152601860248201527f7175616e74697479206d757374206265206e6f6e7a65726f00000000000000006044820152606401610985565b6000600161243a8484613aad565b6124449190613b20565b905061247160017f0000000000000000000000000000000000000000000000000000000000000e52613b20565b8111156124a6576124a360017f0000000000000000000000000000000000000000000000000000000000000e52613b20565b90505b6124b1816001541190565b61250c5760405162461bcd60e51b815260206004820152602660248201527f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360448201526506c65616e75760d41b6064820152608401610985565b815b8181116125b1576000818152600460205260409020546001600160a01b031661259f57600061253c826125c5565b60408051808201825282516001600160a01b0390811682526020938401516001600160401b039081168584019081526000888152600490965293909420915182549351909416600160a01b026001600160e01b0319909316931692909217179055505b806125a981613baf565b91505061250e565b506125bd816001613aad565b600c55505050565b60408051808201909152600080825260208201526125e4826001541190565b6126435760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610985565b60007f000000000000000000000000000000000000000000000000000000000000000183106126a4576126967f000000000000000000000000000000000000000000000000000000000000000184613b20565b6126a1906001613aad565b90505b825b81811061270d576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156126fa57949350505050565b508061270581613b63565b9150506126a6565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610985565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060816127e25750506040805180820190915260018152600360fc1b602082015290565b8160005b811561280c57806127f681613baf565b91506128059050600a83613ac5565b91506127e6565b6000816001600160401b0381111561282657612826613c20565b6040519080825280601f01601f191660200182016040528015612850576020820181803683370190505b5090505b84156128bb57612865600183613b20565b9150612872600a86613bca565b61287d906030613aad565b60f81b81838151811061289257612892613c0a565b60200101906001600160f81b031916908160001a9053506128b4600a86613ac5565b9450612854565b949350505050565b60006001600160a01b0384163b156129c557604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061290790339089908890889060040161398f565b602060405180830381600087803b15801561292157600080fd5b505af1925050508015612951575060408051601f3d908101601f1916820190925261294e918101906134c1565b60015b6129ab573d80801561297f576040519150601f19603f3d011682016040523d82523d6000602084013e612984565b606091505b5080516129a35760405162461bcd60e51b8152600401610985906139df565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506128bb565b506001949350505050565b6060600f805461089790613b7a565b8051606090806129ff575050604080516020810190915260008152919050565b60006003612a0e836002613aad565b612a189190613ac5565b612a23906004613ad9565b90506000612a32826020613aad565b6001600160401b03811115612a4957612a49613c20565b6040519080825280601f01601f191660200182016040528015612a73576020820181803683370190505b5090506000604051806060016040528060408152602001613c96604091399050600181016020830160005b86811015612aff576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612a9e565b506003860660018114612b195760028114612b2a57612b36565b613d3d60f01b600119830152612b36565b603d60f81b6000198301525b505050918152949350505050565b60006001600160a01b038216612bb65760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527020746865207a65726f206164647265737360781b6064820152608401610985565b506001600160a01b0316600090815260076020526040902054600160801b90046001600160801b031690565b6001546001600160a01b038416612c455760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610985565b612c50816001541190565b15612c9d5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610985565b7f0000000000000000000000000000000000000000000000000000000000000001831115612d185760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610985565b612d2184611026565b15612d6e5760405162461bcd60e51b815260206004820152601a60248201527f596f752063616e206f6e6c79206f776e203120706c616e65742e0000000000006044820152606401610985565b6001600160a01b0384166000908152600760209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612dca908790613a82565b6001600160801b03168152602001858360200151612de89190613a82565b6001600160801b039081169091526001600160a01b0380881660008181526007602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612f3357600160096000612e968488613aad565b81526020019081526020016000208190555081876001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ef760008884886128c3565b612f135760405162461bcd60e51b8152600401610985906139df565b81612f1d81613baf565b9250508080612f2b90613baf565b915050612e7e565b506001555050505050565b612f49826001541190565b612f655760405162461bcd60e51b815260040161098590613a32565b60009182526009602052604090912055565b612f82816001541190565b612f9e5760405162461bcd60e51b815260040161098590613a32565b6000612fa982610f78565b905061dead6000612fb9846125c5565b9050612fcb6000858360000151611cfa565b6001600160a01b0383166000908152600760205260408120805460019290612ffd9084906001600160801b0316613af8565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0384166000908152600760205260408120805460019450909261304991859116613a82565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380851682526001600160401b03428116602080850191825260008a81526004909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556130d0856001613aad565b6000818152600460205260409020549091506001600160a01b0316613161576130fa816001541190565b156131615760408051808201825283516001600160a01b0390811682526020808601516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b600880549060006113ea83613baf565b82805461317d90613b7a565b90600052602060002090601f01602090048101928261319f57600085556131e5565b82601f106131b85782800160ff198235161785556131e5565b828001600101855582156131e5579182015b828111156131e55782358255916020019190600101906131ca565b50610f6092915061328c565b8280546131fd90613b7a565b90600052602060002090601f01602090048101928261321f57600085556131e5565b82601f1061323857805160ff19168380011785556131e5565b828001600101855582156131e5579182015b828111156131e557825182559160200191906001019061324a565b6040518060e001604052806007905b60608152602001906001900390816132745790505090565b5b80821115610f60576000815560010161328d565b60006001600160401b03808411156132bb576132bb613c20565b604051601f8501601f19908116603f011681019082821181831017156132e3576132e3613c20565b816040528093508581528686860111156132fc57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461332d57600080fd5b919050565b60006020828403121561334457600080fd5b61334d82613316565b9392505050565b6000806040838503121561336757600080fd5b61337083613316565b915061337e60208401613316565b90509250929050565b60008060006060848603121561339c57600080fd5b6133a584613316565b92506133b360208501613316565b9150604084013590509250925092565b600080600080608085870312156133d957600080fd5b6133e285613316565b93506133f060208601613316565b92506040850135915060608501356001600160401b0381111561341257600080fd5b8501601f8101871361342357600080fd5b613432878235602084016132a1565b91505092959194509250565b6000806040838503121561345157600080fd5b61345a83613316565b91506020830135801515811461346f57600080fd5b809150509250929050565b6000806040838503121561348d57600080fd5b61349683613316565b946020939093013593505050565b6000602082840312156134b657600080fd5b813561334d81613c36565b6000602082840312156134d357600080fd5b815161334d81613c36565b600080602083850312156134f157600080fd5b82356001600160401b038082111561350857600080fd5b818501915085601f83011261351c57600080fd5b81358181111561352b57600080fd5b86602082850101111561353d57600080fd5b60209290920196919550909350505050565b60006020828403121561356157600080fd5b81356001600160401b0381111561357757600080fd5b8201601f8101841361358857600080fd5b6128bb848235602084016132a1565b6000602082840312156135a957600080fd5b5035919050565b600081518084526135c8816020860160208601613b37565b601f01601f19169290920160200192915050565b6000885160206135ef8285838e01613b37565b8951918401916136028184848e01613b37565b89519201916136148184848d01613b37565b88519201916136268184848c01613b37565b87519201916136388184848b01613b37565b865192019161364a8184848a01613b37565b855192019161365c8184848901613b37565b919091019a9950505050505050505050565b60008451613680818460208901613b37565b845190830190613694818360208901613b37565b602d60f81b910190815283516136b1816001840160208801613b37565b631733b4b360e11b6001929091019182015260050195945050505050565b600085516136e1818460208a01613b37565b8551908301906136f5818360208a01613b37565b602d60f81b91018181528551909190613715816001850160208a01613b37565b60019201918201528351613730816002840160208801613b37565b631733b4b360e11b600292909101918201526006019695505050505050565b7f7d2c7b22646973706c61795f74797065223a20226e756d626572222c2022747281527f6169745f74797065223a20224d617373222c202276616c7565223a20000000006020820152600082516137ad81603c850160208701613b37565b627d5d7d60e81b603c939091019283015250603f01919050565b6a2932b730b6b2903090263b60a91b8152600083516137ed81600b850160208801613b37565b73020706c616e657420726571756972657320302e360641b600b91840191820152835161382181601f840160208801613b37565b651032ba3432b960d11b601f9290910191820152602501949350505050565b7f526576697665206120706c616e657420776974682073697a652000000000000081526000835161387881601a850160208801613b37565b690103932b8bab4b932b9960b51b601a9184019182015283516138a2816024840160208801613b37565b6b15181718181a1032ba3432b960a11b60249290910191820152603001949350505050565b67506c616e6574202360c01b8152600082516138ea816008850160208701613b37565b6901030b139b7b93132b2160b51b6008939091019283015250601201919050565b693d913730b6b2911d101160b11b8152815160009061393181600a850160208701613b37565b61202360f01b600a939091019283015250600c01919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161398281601d850160208701613b37565b91909101601d0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906139c2908301846135b0565b9695505050505050565b60208152600061334d60208301846135b0565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601b908201527f5468697320706c616e657420646f6573206e6f742065786973742e0000000000604082015260600190565b8281526040602082015260006128bb60408301846135b0565b60006001600160801b03808316818516808303821115613aa457613aa4613bde565b01949350505050565b60008219821115613ac057613ac0613bde565b500190565b600082613ad457613ad4613bf4565b500490565b6000816000190483118215151615613af357613af3613bde565b500290565b60006001600160801b0383811690831681811015613b1857613b18613bde565b039392505050565b600082821015613b3257613b32613bde565b500390565b60005b83811015613b52578181015183820152602001613b3a565b8381111561181e5750506000910152565b600081613b7257613b72613bde565b506000190190565b600181811c90821680613b8e57607f821691505b6020821081141561102057634e487b7160e01b600052602260045260246000fd5b6000600019821415613bc357613bc3613bde565b5060010190565b600082613bd957613bd9613bf4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611cf757600080fdfe222c2261747472696275746573223a205b7b22646973706c61795f74797065223a20226e756d626572222c2274726169745f74797065223a20224c6576656c222c2276616c7565223a4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f222c226465736372697074696f6e223a20224d657267696e672047616c6178792069732061207370616365206f6620657874696e6374696f6e2e222c22696d616765223a22a26469706673582212203a6fc2cbbf005bac296537a23faab0d1ee545c4c9872e3ccc36d996fbc4863cf64736f6c63430008070033

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.