ETH Price: $2,074.12 (+11.87%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Set Approval For...206030902024-08-25 4:01:47549 days ago1724558507IN
0x63B7B030...efdcc83ab
0 ETH0.000050861.09165507
Transfer From144453172022-03-23 22:39:441434 days ago1648075184IN
0x63B7B030...efdcc83ab
0 ETH0.0020128148.64097634
Withdraw143758902022-03-13 3:08:251445 days ago1647140905IN
0x63B7B030...efdcc83ab
0 ETH0.0009235532.79680462
Mint143756032022-03-13 2:00:201445 days ago1647136820IN
0x63B7B030...efdcc83ab
0.2 ETH0.0090363842.05632339
Mint143748712022-03-12 23:18:071445 days ago1647127087IN
0x63B7B030...efdcc83ab
0.3 ETH0.0109119441.27840864
Mint143736372022-03-12 18:50:271446 days ago1647111027IN
0x63B7B030...efdcc83ab
0.3 ETH0.0068367825.86263564
Mint143734142022-03-12 18:02:511446 days ago1647108171IN
0x63B7B030...efdcc83ab
0.3 ETH0.0087203132.98776681
Withdraw143691882022-03-12 2:12:511446 days ago1647051171IN
0x63B7B030...efdcc83ab
0 ETH0.0008449130.00415778
Mint143689712022-03-12 1:25:261446 days ago1647048326IN
0x63B7B030...efdcc83ab
0.1 ETH0.0021855320.63594608
Mint143686062022-03-12 0:09:241446 days ago1647043764IN
0x63B7B030...efdcc83ab
0.2 ETH0.0053663524.97559022
Safe Transfer Fr...143682412022-03-11 22:47:241446 days ago1647038844IN
0x63B7B030...efdcc83ab
0 ETH0.0013349230.16647757
Safe Transfer Fr...143682362022-03-11 22:46:331446 days ago1647038793IN
0x63B7B030...efdcc83ab
0 ETH0.0012434228.09884286
Safe Transfer Fr...143682232022-03-11 22:43:591446 days ago1647038639IN
0x63B7B030...efdcc83ab
0 ETH0.0016447237.15715372
Safe Transfer Fr...143682202022-03-11 22:43:311446 days ago1647038611IN
0x63B7B030...efdcc83ab
0 ETH0.0017519239.57907441
Safe Transfer Fr...143682142022-03-11 22:41:341446 days ago1647038494IN
0x63B7B030...efdcc83ab
0 ETH0.0016378937.00276316
Safe Transfer Fr...143682082022-03-11 22:40:111446 days ago1647038411IN
0x63B7B030...efdcc83ab
0 ETH0.0017063438.54928989
Transfer From143680592022-03-11 22:05:511446 days ago1647036351IN
0x63B7B030...efdcc83ab
0 ETH0.0031165275.3128568
Mint143674672022-03-11 19:45:571447 days ago1647027957IN
0x63B7B030...efdcc83ab
0.2 ETH0.0081616637.98526433
Mint143671712022-03-11 18:41:171447 days ago1647024077IN
0x63B7B030...efdcc83ab
0.3 ETH0.0074350128.12566283
Mint143669002022-03-11 17:43:131447 days ago1647020593IN
0x63B7B030...efdcc83ab
0.3 ETH0.0122614546.3834213
Withdraw143665612022-03-11 16:24:231447 days ago1647015863IN
0x63B7B030...efdcc83ab
0 ETH0.0011896342.24549945
Mint143661662022-03-11 14:50:311447 days ago1647010231IN
0x63B7B030...efdcc83ab
0.1 ETH0.0027314725.79078554
Mint143630572022-03-11 3:03:471447 days ago1646967827IN
0x63B7B030...efdcc83ab
0.3 ETH0.0100232437.91658092
Mint143623612022-03-11 0:28:341447 days ago1646958514IN
0x63B7B030...efdcc83ab
0.2 ETH0.0066320230.86613164
Mint143619172022-03-10 22:51:591447 days ago1646952719IN
0x63B7B030...efdcc83ab
0.1 ETH0.0020433519.29351451
View all transactions

Latest 8 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
-143758902022-03-13 3:08:251445 days ago1647140905
0x63B7B030...efdcc83ab
1.1 ETH
-143691882022-03-12 2:12:511446 days ago1647051171
0x63B7B030...efdcc83ab
1.1 ETH
-143665612022-03-11 16:24:231447 days ago1647015863
0x63B7B030...efdcc83ab
1 ETH
-143603362022-03-10 17:08:071448 days ago1646932087
0x63B7B030...efdcc83ab
1.2 ETH
-143533532022-03-09 15:22:271449 days ago1646839347
0x63B7B030...efdcc83ab
1.2 ETH
-143410952022-03-07 17:35:591451 days ago1646674559
0x63B7B030...efdcc83ab
1.1 ETH
-143277292022-03-05 15:42:401453 days ago1646494960
0x63B7B030...efdcc83ab
1.6 ETH
-143209632022-03-04 14:17:151454 days ago1646403435
0x63B7B030...efdcc83ab
0.1 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Dinos

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;

import "./ERC721X.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract Dinos is ERC721X, Ownable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    Counters.Counter private tokenIds;
    uint256 public totalMintAmount = 500;
    uint256 public maxMintAmountPerUser = 3;
    uint256 public pricePerNft = 0.1 ether;
    string public baseTokenURI =
        "http://ipfs.io/ipfs/QmUBrqNUT1RHoVXopX831ZU2uFJwDYaA3RVp8H9NePvBr9/";
    mapping(address => uint256) mintedTokens; //  userAddress => tokenId
    mapping(address => uint16) mintedAmountPerUser; // userAddress => tokenAmount
    address[] keysOfMintedTokens; //  keys of mintedTokens
    address[] keysOfMintedAmountPerUser; //  keys of mintedAmountPerUser
    address[] whitelist; //  whitelist for private sale
    bool useWhitelist = false;

    constructor() ERC721X("Dinos", "DINO") {}

    function clearData() external onlyOwner {
        delete totalMintAmount;
        delete maxMintAmountPerUser;
        delete pricePerNft;
        delete baseTokenURI;

        for (uint256 i = 0; i < keysOfMintedTokens.length; i++) {
            delete mintedTokens[keysOfMintedTokens[i]];
        }

        for (uint256 i = 0; i < keysOfMintedAmountPerUser.length; i++) {
            delete mintedAmountPerUser[keysOfMintedAmountPerUser[i]];
        }

        delete keysOfMintedTokens;
        delete keysOfMintedAmountPerUser;
        delete whitelist;
    }

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

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

    function setTotalMintAmount(uint256 _totalMintAmount) external onlyOwner {
        totalMintAmount = _totalMintAmount;
    }

    function setMaxMintAmountPerUser(uint256 _maxMintAmountPerUser)
        external
        onlyOwner
    {
        maxMintAmountPerUser = _maxMintAmountPerUser;
    }

    function setPricePerNft(uint256 _pricePerNft) external onlyOwner {
        pricePerNft = _pricePerNft;
    }

    function setWhitelist(address[] memory _whitelist) external onlyOwner {
        whitelist = _whitelist;
    }

    function setUseWhitelist(bool _useWhitelist) external onlyOwner {
        useWhitelist = _useWhitelist;
    }

    function isExistedInWhitelist(address _userAddress)
        internal
        view
        returns (bool)
    {
        for (uint256 i = 0; i < whitelist.length; i++) {
            if (whitelist[i] == _userAddress) {
                return true;
            }
        }

        return false;
    }

    function mint(uint256 mintAmount) public payable {
        if (useWhitelist) {
            require(
                isExistedInWhitelist(msg.sender),
                "You aren't existed in Whitelist"
            );
        }

        require(msg.sender == tx.origin, "mint from contract not allowed");
        require(
            mintAmount > 0 && mintAmount <= maxMintAmountPerUser,
            "A user can mint 3 NFTs at max"
        );

        if (mintedAmountPerUser[msg.sender] > 0) {
            require(
                mintedAmountPerUser[msg.sender] + mintAmount <=
                    maxMintAmountPerUser,
                string(
                    abi.encodePacked(
                        "You can mint ",
                        (maxMintAmountPerUser -
                            mintedAmountPerUser[msg.sender]),
                        " NFTs more."
                    )
                )
            );
        }

        require(msg.value >= pricePerNft * mintAmount, "incorrect price");

        for (uint16 i = 0; i < mintAmount; i++) {
            require(
                tokenIds.current() < totalMintAmount,
                "All NFTs are minted"
            );

            if (mintedAmountPerUser[msg.sender] > 0) {
                mintedAmountPerUser[msg.sender] += 1;
            } else {
                mintedAmountPerUser[msg.sender] = 1;
                keysOfMintedAmountPerUser.push(msg.sender);
            }

            mintedTokens[msg.sender] = tokenIds.current();
            keysOfMintedTokens.push(msg.sender);

            _mint(msg.sender, false);
            tokenIds.increment();
        }
    }

    function withdraw() external {
        payable(0xdEcA0e56a02477FDeA466e3Db224F037bd023001).transfer(address(this).balance);
    }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;

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 extension and the Enumerable extension
 *
 * @dev Only allows token IDs are minted serially starting from token ID 1
 *
 * @dev Does not support burning tokens or in any way changing the ownership of a token
 *      to address(0)
 */
contract ERC721X is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
  using Address for address;
  using Strings for uint256;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

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

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

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

  /**
   * @dev Returns next token ID to be mint
   */
  uint256 public nextId = 1;

  /**
   * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. It
   *      also sets a `maxTotalSupply` variable to cap the tokens to ever be created
   */
  constructor(string memory name_, string memory symbol_) {
    _name = name_;
    _symbol = symbol_;
  }

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

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

    uint256 count = 0;

    for(uint256 i = 1; _exists(i); i++) {
      if(_owners[i] == owner) {
        count++;
        if(_owners[i + 1] == address(0) && _exists(i + 1)) count++;
      }
    }

    return count;
  }

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

    return _owners[tokenId] != address(0) ? _owners[tokenId] : _owners[tokenId - 1];
  }

  /**
   * @dev See {IERC721Metadata-name}.
   */
  function name() public view virtual override returns (string memory) {
    return _name;
  }

  /**
   * @dev See {IERC721Metadata-symbol}.
   */
  function symbol() public view virtual override returns (string memory) {
    return _symbol;
  }

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

  /**
   * @dev See {IERC721-approve}.
   */
  function approve(address to, uint256 tokenId) public virtual override {
    address owner = ownerOf(tokenId);
    require(to != owner, "ERC721X: approval to current owner");

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

    _approve(to, tokenId);
  }

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

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public virtual override {
    _setApprovalForAll(_msgSender(), operator, approved);
  }

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

  /**
   * @dev See {IERC721-transferFrom}.
   */
  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public virtual override {
    //solhint-disable-next-line max-line-length
    require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721X: transfer caller is not owner nor approved");

    _transfer(from, to, tokenId);
  }

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public virtual override {
    require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721X: transfer caller is not owner nor approved");
    _safeTransfer(from, to, tokenId, _data);
  }

  /**
   * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
   * are aware of the ERC721 protocol to prevent tokens from being forever locked.
   *
   * `_data` is additional data, it has no specified format and it is sent in call to `to`.
   *
   * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
   * implement alternative mechanisms to perform token transfer, such as signature-based.
   *
   * Requirements:
   *
   * - `from` cannot be the zero address.
   * - `to` cannot be the zero address.
   * - `tokenId` token must exist and be owned by `from`.
   * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
   *
   * Emits a {Transfer} event.
   */
  function _safeTransfer(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) internal virtual {
    _transfer(from, to, tokenId);
    require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721X: 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 virtual returns (bool) {
    return tokenId != 0 && tokenId < nextId;
  }

  /**
   * @dev Returns whether `spender` is allowed to manage `tokenId`.
   *
   * Requirements:
   *
   * - `tokenId` must exist.
   */
  function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
    require(_exists(tokenId), "ERC721X: operator query for nonexistent token");
    address owner = ownerOf(tokenId);
    return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
  }

  /**
   * @dev Safely mints the token with next consecutive ID and transfers it to `to`. Setting
   *      `amount` to `true` will mint another nft.
   *
   * Requirements:
   *
   * - `tokenId` must not exist.
   * - `maxTotalSupply` maximum total supply has not been reached
   * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(address to, bool amount) internal virtual {
    _safeMint(to, amount, "");
  }

  /**
   * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
   * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
   */
  function _safeMint(
    address to,
    bool amount,
    bytes memory _data
  ) internal virtual {
    _mint(to, amount);

    uint256 n = !amount ? 1 : 2;

    for(uint256 i = 0; i < n; i++) {
      require(
        _checkOnERC721Received(address(0), to, nextId - i - 1, _data),
        "ERC721X: transfer to non ERC721Receiver implementer"
      );
    }
  }

  /**
   * @dev Mints the token with next consecutive ID and transfers it to `to`. Setting
   *      `amount` to `true` will mint another nft.
   *
   * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `maxTotalSupply` maximum total supply has not been reached
   *
   * Emits a {Transfer} event.
   */
  function _mint(address to, bool amount) internal virtual {
    // The below calculations do not depend on user input and
    // are very hard to overflow (nextId must be >= 2^256-2 for
    // that to happen) so using `unchecked` as a means of saving
    // gas is safe here
    unchecked {
      require(to != address(0), "ERC721X: mint to the zero address");

      uint256 n = !amount ? 1 : 2;

      _owners[nextId] = to;

      for(uint256 i = 0; i < n; i++) {
        _beforeTokenTransfer(address(0), to, nextId + i);
        emit Transfer(address(0), to, nextId + i);
      }

      nextId += n;
    }
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `tokenId` token must be owned by `from`.
   *
   * Emits a {Transfer} event.
   */
  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual {
    // The below calculations are very hard to overflow (nextId must
    // be = 2^256-1 for that to happen) so using `unchecked` as
    // a means of saving gas is safe here
    unchecked {
      require(
        ownerOf(tokenId) == from,
        "ERC721X: transfer of token that is not own"
      );
      require(to != address(0), "ERC721X: transfer to the zero address");

      _beforeTokenTransfer(from, to, tokenId);

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

      if(_owners[tokenId] == address(0)) {
        _owners[tokenId] = to;
      } else {
        _owners[tokenId] = to;

        if(_owners[tokenId + 1] == address(0)) {
          _owners[tokenId + 1] = from;
        }
      }

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

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

  /**
   * @dev Approve `operator` to operate on all of `owner` tokens
   *
   * Emits a {ApprovalForAll} event.
   */
  function _setApprovalForAll(
    address owner,
    address operator,
    bool approved
  ) internal virtual {
    require(owner != operator, "ERC721X: approve to caller");
    _operatorApprovals[owner][operator] = approved;
    emit ApprovalForAll(owner, operator, approved);
  }

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

  /**
   * @dev Hook that is called before any token transfer. This includes minting
   * and burning.
   *
   * Calling conditions:
   *
   * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
   * transferred to `to`.
   * - When `from` is zero, `tokenId` will be minted for `to`.
   * - When `to` is zero, ``from``'s `tokenId` will be burned.
   * - `from` and `to` are never both zero.
   *
   * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
   */
  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual {}

  /**
   * @dev See {IEnumerableERC721-totalSupply}.
   */
  function totalSupply() override external view returns (uint256) {
    return nextId - 1;
  }

  /**
   * @dev See {IEnumerableERC721-tokenByIndex}.
   */
  function tokenByIndex(uint256 index) override external view returns (uint256) {
    require(_exists(index + 1), "ERC721X: global index out of bounds");

    return index + 1;
  }

  /**
   * @dev See {IEnumerableERC721-tokenOfOwnerByIndex}.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index) override external view returns (uint256) {
    require(owner != address(0), "ERC721X: balance query for the zero address");

    uint256 count = 0;
    uint256 i = 1;

    for(; _exists(i) && count < index + 1; i++) {
      if(_owners[i] == owner) {
        count++;
        if(_owners[i + 1] == address(0) && count < index + 1 && _exists(i + 1)) {
          count++;
          i++;
        }
      }
    }

    if(count == index + 1) return i - 1;
    else revert("ERC721X: owner index out of bounds");
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerNft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerUser","type":"uint256"}],"name":"setMaxMintAmountPerUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pricePerNft","type":"uint256"}],"name":"setPricePerNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalMintAmount","type":"uint256"}],"name":"setTotalMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_useWhitelist","type":"bool"}],"name":"setUseWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_whitelist","type":"address[]"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"totalMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260016005556101f4600855600360095567016345785d8a0000600a5560405180608001604052806043815260200162004cc060439139600b9080519060200190620000519291906200020f565b506000601160006101000a81548160ff0219169083151502179055503480156200007a57600080fd5b506040518060400160405280600581526020017f44696e6f730000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f44494e4f000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000ff9291906200020f565b508060019080519060200190620001189291906200020f565b5050506200013b6200012f6200014160201b60201c565b6200014960201b60201c565b62000324565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021d90620002bf565b90600052602060002090601f0160209004810192826200024157600085556200028d565b82601f106200025c57805160ff19168380011785556200028d565b828001600101855582156200028d579182015b828111156200028c5782518255916020019190600101906200026f565b5b5090506200029c9190620002a0565b5090565b5b80821115620002bb576000816000905550600101620002a1565b5090565b60006002820490506001821680620002d857607f821691505b60208210811415620002ef57620002ee620002f5565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61498c80620003346000396000f3fe6080604052600436106101ee5760003560e01c80637b21768b1161010d578063be5ffb99116100a0578063d547cfb71161006f578063d547cfb7146106c6578063e985e9c5146106f1578063f2fde38b1461072e578063f421764814610757578063fe3165c714610780576101ee565b8063be5ffb991461060a578063bee0f34014610633578063c87b56dd1461065e578063d00453411461069b576101ee565b8063a22cb465116100dc578063a22cb46514610578578063b39b8afa146105a1578063b88d4fde146105ca578063b9e7a439146105f3576101ee565b80637b21768b146104dd5780638da5cb5b1461050657806395d89b4114610531578063a0712d681461055c576101ee565b80633ccfd60b1161018557806361b8ce8c1161015457806361b8ce8c146104215780636352211e1461044c57806370a0823114610489578063715018a6146104c6576101ee565b80633ccfd60b1461037b57806342842e0e146103925780634f6ccce7146103bb57806355f804b3146103f8576101ee565b806318160ddd116101c157806318160ddd146102c157806323b872dd146102ec5780632b205dc9146103155780632f745c591461033e576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613570565b6107ab565b6040516102279190613b1b565b60405180910390f35b34801561023c57600080fd5b506102456108f5565b6040516102529190613b36565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613607565b610987565b60405161028f9190613ab4565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba91906134ca565b610a0c565b005b3480156102cd57600080fd5b506102d6610b24565b6040516102e39190613e18565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e91906133c4565b610b3a565b005b34801561032157600080fd5b5061033c60048036038101906103379190613547565b610b9a565b005b34801561034a57600080fd5b50610365600480360381019061036091906134ca565b610c33565b6040516103729190613e18565b60405180910390f35b34801561038757600080fd5b50610390610e8a565b005b34801561039e57600080fd5b506103b960048036038101906103b491906133c4565b610ee7565b005b3480156103c757600080fd5b506103e260048036038101906103dd9190613607565b610f07565b6040516103ef9190613e18565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a91906135c2565b610f71565b005b34801561042d57600080fd5b50610436611003565b6040516104439190613e18565b60405180910390f35b34801561045857600080fd5b50610473600480360381019061046e9190613607565b611009565b6040516104809190613ab4565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab919061335f565b61113c565b6040516104bd9190613e18565b60405180910390f35b3480156104d257600080fd5b506104db6112f6565b005b3480156104e957600080fd5b5061050460048036038101906104ff9190613607565b61137e565b005b34801561051257600080fd5b5061051b611404565b6040516105289190613ab4565b60405180910390f35b34801561053d57600080fd5b5061054661142e565b6040516105539190613b36565b60405180910390f35b61057660048036038101906105719190613607565b6114c0565b005b34801561058457600080fd5b5061059f600480360381019061059a919061348e565b611a77565b005b3480156105ad57600080fd5b506105c860048036038101906105c39190613607565b611a8d565b005b3480156105d657600080fd5b506105f160048036038101906105ec9190613413565b611b13565b005b3480156105ff57600080fd5b50610608611b75565b005b34801561061657600080fd5b50610631600480360381019061062c9190613607565b611de0565b005b34801561063f57600080fd5b50610648611e66565b6040516106559190613e18565b60405180910390f35b34801561066a57600080fd5b5061068560048036038101906106809190613607565b611e6c565b6040516106929190613b36565b60405180910390f35b3480156106a757600080fd5b506106b0611f13565b6040516106bd9190613e18565b60405180910390f35b3480156106d257600080fd5b506106db611f19565b6040516106e89190613b36565b60405180910390f35b3480156106fd57600080fd5b5061071860048036038101906107139190613388565b611fa7565b6040516107259190613b1b565b60405180910390f35b34801561073a57600080fd5b506107556004803603810190610750919061335f565b61203b565b005b34801561076357600080fd5b5061077e60048036038101906107799190613506565b612133565b005b34801561078c57600080fd5b506107956121c9565b6040516107a29190613e18565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108de57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108ee57506108ed826121cf565b5b9050919050565b60606000805461090490614109565b80601f016020809104026020016040519081016040528092919081815260200182805461093090614109565b801561097d5780601f106109525761010080835404028352916020019161097d565b820191906000526020600020905b81548152906001019060200180831161096057829003601f168201915b5050505050905090565b600061099282612239565b6109d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c890613d38565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1782611009565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7f90613b78565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa7612253565b73ffffffffffffffffffffffffffffffffffffffff161480610ad65750610ad581610ad0612253565b611fa7565b5b610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c90613d58565b60405180910390fd5b610b1f838361225b565b505050565b60006001600554610b359190614011565b905090565b610b4b610b45612253565b82612314565b610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190613c78565b60405180910390fd5b610b958383836123f2565b505050565b610ba2612253565b73ffffffffffffffffffffffffffffffffffffffff16610bc0611404565b73ffffffffffffffffffffffffffffffffffffffff1614610c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0d90613cd8565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90613bf8565b60405180910390fd5b600080600190505b610cb581612239565b8015610ccc5750600184610cc99190613f30565b82105b15610e1f578473ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e0c578180610d4390614197565b925050600073ffffffffffffffffffffffffffffffffffffffff1660026000600184610d6f9190613f30565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610dcc5750600184610dc99190613f30565b82105b8015610de95750610de8600182610de39190613f30565b612239565b5b15610e0b578180610df990614197565b9250508080610e0790614197565b9150505b5b8080610e1790614197565b915050610cac565b600184610e2c9190613f30565b821415610e4957600181610e409190614011565b92505050610e84565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b90613df8565b60405180910390fd5b92915050565b73deca0e56a02477fdea466e3db224f037bd02300173ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ee4573d6000803e3d6000fd5b50565b610f0283838360405180602001604052806000815250611b13565b505050565b6000610f1e600183610f199190613f30565b612239565b610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5490613c58565b60405180910390fd5b600182610f6a9190613f30565b9050919050565b610f79612253565b73ffffffffffffffffffffffffffffffffffffffff16610f97611404565b73ffffffffffffffffffffffffffffffffffffffff1614610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe490613cd8565b60405180910390fd5b8181600b9190610ffe929190613020565b505050565b60055481565b600061101482612239565b611053576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104a90613b98565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561110057600260006001846110cc9190614011565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611135565b6002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a490613bf8565b60405180910390fd5b600080600190505b6111be81612239565b156112ec578373ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156112d957818061123590614197565b925050600073ffffffffffffffffffffffffffffffffffffffff16600260006001846112619190613f30565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480156112c457506112c36001826112be9190613f30565b612239565b5b156112d85781806112d490614197565b9250505b5b80806112e490614197565b9150506111b5565b5080915050919050565b6112fe612253565b73ffffffffffffffffffffffffffffffffffffffff1661131c611404565b73ffffffffffffffffffffffffffffffffffffffff1614611372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136990613cd8565b60405180910390fd5b61137c6000612721565b565b611386612253565b73ffffffffffffffffffffffffffffffffffffffff166113a4611404565b73ffffffffffffffffffffffffffffffffffffffff16146113fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f190613cd8565b60405180910390fd5b8060088190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461143d90614109565b80601f016020809104026020016040519081016040528092919081815260200182805461146990614109565b80156114b65780601f1061148b576101008083540402835291602001916114b6565b820191906000526020600020905b81548152906001019060200180831161149957829003601f168201915b5050505050905090565b601160009054906101000a900460ff161561151e576114de336127e7565b61151d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151490613c18565b60405180910390fd5b5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461158c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158390613b58565b60405180910390fd5b60008111801561159e57506009548111155b6115dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d490613cf8565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff16111561175a5760095481600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff166116979190613f30565b1115600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff166009546116f89190614011565b6040516020016117089190613a83565b60405160208183030381529060405290611758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174f9190613b36565b60405180910390fd5b505b80600a546117689190613fb7565b3410156117aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a190613dd8565b60405180910390fd5b60005b818161ffff161015611a73576008546117c660076128bc565b10611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd90613d78565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff1611156118dc576001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff166118bd9190613ef8565b92506101000a81548161ffff021916908361ffff16021790555061199b565b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550600f339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b6119a560076128bc565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600e339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611a563360006128ca565b611a606007612a43565b8080611a6b9061416c565b9150506117ad565b5050565b611a89611a82612253565b8383612a59565b5050565b611a95612253565b73ffffffffffffffffffffffffffffffffffffffff16611ab3611404565b73ffffffffffffffffffffffffffffffffffffffff1614611b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0090613cd8565b60405180910390fd5b8060098190555050565b611b24611b1e612253565b83612314565b611b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5a90613c78565b60405180910390fd5b611b6f84848484612bc6565b50505050565b611b7d612253565b73ffffffffffffffffffffffffffffffffffffffff16611b9b611404565b73ffffffffffffffffffffffffffffffffffffffff1614611bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be890613cd8565b60405180910390fd5b600860009055600960009055600a60009055600b6000611c1191906130a6565b60005b600e80549050811015611cdb57600c6000600e8381548110611c5f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090558080611cd390614197565b915050611c14565b5060005b600f80549050811015611db357600d6000600f8381548110611d2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549061ffff02191690558080611dab90614197565b915050611cdf565b50600e6000611dc291906130e6565b600f6000611dd091906130e6565b60106000611dde91906130e6565b565b611de8612253565b73ffffffffffffffffffffffffffffffffffffffff16611e06611404565b73ffffffffffffffffffffffffffffffffffffffff1614611e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5390613cd8565b60405180910390fd5b80600a8190555050565b60095481565b6060611e7782612239565b611eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ead90613d18565b60405180910390fd5b6000611ec0612c22565b90506000815111611ee05760405180602001604052806000815250611f0b565b80611eea84612cb4565b604051602001611efb929190613a5f565b6040516020818303038152906040525b915050919050565b60085481565b600b8054611f2690614109565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5290614109565b8015611f9f5780601f10611f7457610100808354040283529160200191611f9f565b820191906000526020600020905b815481529060010190602001808311611f8257829003601f168201915b505050505081565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612043612253565b73ffffffffffffffffffffffffffffffffffffffff16612061611404565b73ffffffffffffffffffffffffffffffffffffffff16146120b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ae90613cd8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211e90613bb8565b60405180910390fd5b61213081612721565b50565b61213b612253565b73ffffffffffffffffffffffffffffffffffffffff16612159611404565b73ffffffffffffffffffffffffffffffffffffffff16146121af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a690613cd8565b60405180910390fd5b80601090805190602001906121c5929190613107565b5050565b600a5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080821415801561224c575060055482105b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122ce83611009565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061231f82612239565b61235e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235590613c38565b60405180910390fd5b600061236983611009565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123d857508373ffffffffffffffffffffffffffffffffffffffff166123c084610987565b73ffffffffffffffffffffffffffffffffffffffff16145b806123e957506123e88185611fa7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661241282611009565b73ffffffffffffffffffffffffffffffffffffffff1614612468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245f90613bd8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cf90613db8565b60405180910390fd5b6124e3838383612e61565b6124ee60008261225b565b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156125ad57816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506126c1565b816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff166002600060018401815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156126c057826002600060018401815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600090505b6010805490508110156128b1578273ffffffffffffffffffffffffffffffffffffffff166010828154811061284d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561289e5760019150506128b7565b80806128a990614197565b9150506127ef565b50600090505b919050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561293a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293190613cb8565b60405180910390fd5b6000811561294957600261294c565b60015b60ff1690508260026000600554815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060005b81811015612a2d576129c06000858360055401612e61565b80600554018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480806001019150506129a8565b5080600560008282540192505081905550505050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abf90613c98565b60405180910390fd5b80600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612bb99190613b1b565b60405180910390a3505050565b612bd18484846123f2565b612bdd84848484612e66565b612c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1390613d98565b60405180910390fd5b50505050565b6060600b8054612c3190614109565b80601f0160208091040260200160405190810160405280929190818152602001828054612c5d90614109565b8015612caa5780601f10612c7f57610100808354040283529160200191612caa565b820191906000526020600020905b815481529060010190602001808311612c8d57829003601f168201915b5050505050905090565b60606000821415612cfc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e5c565b600082905060005b60008214612d2e578080612d1790614197565b915050600a82612d279190613f86565b9150612d04565b60008167ffffffffffffffff811115612d70577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612da25781602001600182028036833780820191505090505b5090505b60008514612e5557600182612dbb9190614011565b9150600a85612dca91906141ea565b6030612dd69190613f30565b60f81b818381518110612e12577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e4e9190613f86565b9450612da6565b8093505050505b919050565b505050565b6000612e878473ffffffffffffffffffffffffffffffffffffffff16612ffd565b15612ff0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eb0612253565b8786866040518563ffffffff1660e01b8152600401612ed29493929190613acf565b602060405180830381600087803b158015612eec57600080fd5b505af1925050508015612f1d57506040513d601f19601f82011682018060405250810190612f1a9190613599565b60015b612fa0573d8060008114612f4d576040519150601f19603f3d011682016040523d82523d6000602084013e612f52565b606091505b50600081511415612f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8f90613d98565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ff5565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461302c90614109565b90600052602060002090601f01602090048101928261304e5760008555613095565b82601f1061306757803560ff1916838001178555613095565b82800160010185558215613095579182015b82811115613094578235825591602001919060010190613079565b5b5090506130a29190613191565b5090565b5080546130b290614109565b6000825580601f106130c457506130e3565b601f0160209004906000526020600020908101906130e29190613191565b5b50565b50805460008255906000526020600020908101906131049190613191565b50565b828054828255906000526020600020908101928215613180579160200282015b8281111561317f5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613127565b5b50905061318d9190613191565b5090565b5b808211156131aa576000816000905550600101613192565b5090565b60006131c16131bc84613e58565b613e33565b905080838252602082019050828560208602820111156131e057600080fd5b60005b8581101561321057816131f68882613258565b8452602084019350602083019250506001810190506131e3565b5050509392505050565b600061322d61322884613e84565b613e33565b90508281526020810184848401111561324557600080fd5b6132508482856140c7565b509392505050565b600081359050613267816148fa565b92915050565b600082601f83011261327e57600080fd5b813561328e8482602086016131ae565b91505092915050565b6000813590506132a681614911565b92915050565b6000813590506132bb81614928565b92915050565b6000815190506132d081614928565b92915050565b600082601f8301126132e757600080fd5b81356132f784826020860161321a565b91505092915050565b60008083601f84011261331257600080fd5b8235905067ffffffffffffffff81111561332b57600080fd5b60208301915083600182028301111561334357600080fd5b9250929050565b6000813590506133598161493f565b92915050565b60006020828403121561337157600080fd5b600061337f84828501613258565b91505092915050565b6000806040838503121561339b57600080fd5b60006133a985828601613258565b92505060206133ba85828601613258565b9150509250929050565b6000806000606084860312156133d957600080fd5b60006133e786828701613258565b93505060206133f886828701613258565b92505060406134098682870161334a565b9150509250925092565b6000806000806080858703121561342957600080fd5b600061343787828801613258565b945050602061344887828801613258565b93505060406134598782880161334a565b925050606085013567ffffffffffffffff81111561347657600080fd5b613482878288016132d6565b91505092959194509250565b600080604083850312156134a157600080fd5b60006134af85828601613258565b92505060206134c085828601613297565b9150509250929050565b600080604083850312156134dd57600080fd5b60006134eb85828601613258565b92505060206134fc8582860161334a565b9150509250929050565b60006020828403121561351857600080fd5b600082013567ffffffffffffffff81111561353257600080fd5b61353e8482850161326d565b91505092915050565b60006020828403121561355957600080fd5b600061356784828501613297565b91505092915050565b60006020828403121561358257600080fd5b6000613590848285016132ac565b91505092915050565b6000602082840312156135ab57600080fd5b60006135b9848285016132c1565b91505092915050565b600080602083850312156135d557600080fd5b600083013567ffffffffffffffff8111156135ef57600080fd5b6135fb85828601613300565b92509250509250929050565b60006020828403121561361957600080fd5b60006136278482850161334a565b91505092915050565b61363981614045565b82525050565b61364881614057565b82525050565b600061365982613eb5565b6136638185613ecb565b93506136738185602086016140d6565b61367c816142d7565b840191505092915050565b600061369282613ec0565b61369c8185613edc565b93506136ac8185602086016140d6565b6136b5816142d7565b840191505092915050565b60006136cb82613ec0565b6136d58185613eed565b93506136e58185602086016140d6565b80840191505092915050565b60006136fe601e83613edc565b9150613709826142e8565b602082019050919050565b6000613721602283613edc565b915061372c82614311565b604082019050919050565b6000613744602a83613edc565b915061374f82614360565b604082019050919050565b6000613767602683613edc565b9150613772826143af565b604082019050919050565b600061378a602a83613edc565b9150613795826143fe565b604082019050919050565b60006137ad600d83613eed565b91506137b88261444d565b600d82019050919050565b60006137d0602b83613edc565b91506137db82614476565b604082019050919050565b60006137f3601f83613edc565b91506137fe826144c5565b602082019050919050565b6000613816602d83613edc565b9150613821826144ee565b604082019050919050565b6000613839602383613edc565b91506138448261453d565b604082019050919050565b600061385c603283613edc565b91506138678261458c565b604082019050919050565b600061387f601a83613edc565b915061388a826145db565b602082019050919050565b60006138a2602183613edc565b91506138ad82614604565b604082019050919050565b60006138c5602083613edc565b91506138d082614653565b602082019050919050565b60006138e8601d83613edc565b91506138f38261467c565b602082019050919050565b600061390b602f83613edc565b9150613916826146a5565b604082019050919050565b600061392e600b83613eed565b9150613939826146f4565b600b82019050919050565b6000613951602d83613edc565b915061395c8261471d565b604082019050919050565b6000613974603983613edc565b915061397f8261476c565b604082019050919050565b6000613997601383613edc565b91506139a2826147bb565b602082019050919050565b60006139ba603383613edc565b91506139c5826147e4565b604082019050919050565b60006139dd602583613edc565b91506139e882614833565b604082019050919050565b6000613a00600f83613edc565b9150613a0b82614882565b602082019050919050565b6000613a23602283613edc565b9150613a2e826148ab565b604082019050919050565b613a42816140bd565b82525050565b613a59613a54826140bd565b6141e0565b82525050565b6000613a6b82856136c0565b9150613a7782846136c0565b91508190509392505050565b6000613a8e826137a0565b9150613a9a8284613a48565b602082019150613aa982613921565b915081905092915050565b6000602082019050613ac96000830184613630565b92915050565b6000608082019050613ae46000830187613630565b613af16020830186613630565b613afe6040830185613a39565b8181036060830152613b10818461364e565b905095945050505050565b6000602082019050613b30600083018461363f565b92915050565b60006020820190508181036000830152613b508184613687565b905092915050565b60006020820190508181036000830152613b71816136f1565b9050919050565b60006020820190508181036000830152613b9181613714565b9050919050565b60006020820190508181036000830152613bb181613737565b9050919050565b60006020820190508181036000830152613bd18161375a565b9050919050565b60006020820190508181036000830152613bf18161377d565b9050919050565b60006020820190508181036000830152613c11816137c3565b9050919050565b60006020820190508181036000830152613c31816137e6565b9050919050565b60006020820190508181036000830152613c5181613809565b9050919050565b60006020820190508181036000830152613c718161382c565b9050919050565b60006020820190508181036000830152613c918161384f565b9050919050565b60006020820190508181036000830152613cb181613872565b9050919050565b60006020820190508181036000830152613cd181613895565b9050919050565b60006020820190508181036000830152613cf1816138b8565b9050919050565b60006020820190508181036000830152613d11816138db565b9050919050565b60006020820190508181036000830152613d31816138fe565b9050919050565b60006020820190508181036000830152613d5181613944565b9050919050565b60006020820190508181036000830152613d7181613967565b9050919050565b60006020820190508181036000830152613d918161398a565b9050919050565b60006020820190508181036000830152613db1816139ad565b9050919050565b60006020820190508181036000830152613dd1816139d0565b9050919050565b60006020820190508181036000830152613df1816139f3565b9050919050565b60006020820190508181036000830152613e1181613a16565b9050919050565b6000602082019050613e2d6000830184613a39565b92915050565b6000613e3d613e4e565b9050613e49828261413b565b919050565b6000604051905090565b600067ffffffffffffffff821115613e7357613e726142a8565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613e9f57613e9e6142a8565b5b613ea8826142d7565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613f038261408f565b9150613f0e8361408f565b92508261ffff03821115613f2557613f2461421b565b5b828201905092915050565b6000613f3b826140bd565b9150613f46836140bd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f7b57613f7a61421b565b5b828201905092915050565b6000613f91826140bd565b9150613f9c836140bd565b925082613fac57613fab61424a565b5b828204905092915050565b6000613fc2826140bd565b9150613fcd836140bd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140065761400561421b565b5b828202905092915050565b600061401c826140bd565b9150614027836140bd565b92508282101561403a5761403961421b565b5b828203905092915050565b60006140508261409d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156140f45780820151818401526020810190506140d9565b83811115614103576000848401525b50505050565b6000600282049050600182168061412157607f821691505b6020821081141561413557614134614279565b5b50919050565b614144826142d7565b810181811067ffffffffffffffff82111715614163576141626142a8565b5b80604052505050565b60006141778261408f565b915061ffff82141561418c5761418b61421b565b5b600182019050919050565b60006141a2826140bd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141d5576141d461421b565b5b600182019050919050565b6000819050919050565b60006141f5826140bd565b9150614200836140bd565b9250826142105761420f61424a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f6d696e742066726f6d20636f6e7472616374206e6f7420616c6c6f7765640000600082015250565b7f455243373231583a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231583a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231583a207472616e73666572206f6620746f6b656e20746861742060008201527f6973206e6f74206f776e00000000000000000000000000000000000000000000602082015250565b7f596f752063616e206d696e742000000000000000000000000000000000000000600082015250565b7f455243373231583a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f596f75206172656e2774206578697374656420696e2057686974656c69737400600082015250565b7f455243373231583a206f70657261746f7220717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231583a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231583a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243373231583a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231583a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4120757365722063616e206d696e742033204e465473206174206d6178000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f204e465473206d6f72652e000000000000000000000000000000000000000000600082015250565b7f455243373231583a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231583a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f416c6c204e46547320617265206d696e74656400000000000000000000000000600082015250565b7f455243373231583a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231583a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f696e636f72726563742070726963650000000000000000000000000000000000600082015250565b7f455243373231583a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b61490381614045565b811461490e57600080fd5b50565b61491a81614057565b811461492557600080fd5b50565b61493181614063565b811461493c57600080fd5b50565b614948816140bd565b811461495357600080fd5b5056fea2646970667358221220995cde91b607d3d54e9e77cce2e40c4f893bdd93fe7f9a37d017da54328b3f0364736f6c63430008010033687474703a2f2f697066732e696f2f697066732f516d554272714e55543152486f56586f70583833315a553275464a7744596141335256703848394e6550764272392f

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c80637b21768b1161010d578063be5ffb99116100a0578063d547cfb71161006f578063d547cfb7146106c6578063e985e9c5146106f1578063f2fde38b1461072e578063f421764814610757578063fe3165c714610780576101ee565b8063be5ffb991461060a578063bee0f34014610633578063c87b56dd1461065e578063d00453411461069b576101ee565b8063a22cb465116100dc578063a22cb46514610578578063b39b8afa146105a1578063b88d4fde146105ca578063b9e7a439146105f3576101ee565b80637b21768b146104dd5780638da5cb5b1461050657806395d89b4114610531578063a0712d681461055c576101ee565b80633ccfd60b1161018557806361b8ce8c1161015457806361b8ce8c146104215780636352211e1461044c57806370a0823114610489578063715018a6146104c6576101ee565b80633ccfd60b1461037b57806342842e0e146103925780634f6ccce7146103bb57806355f804b3146103f8576101ee565b806318160ddd116101c157806318160ddd146102c157806323b872dd146102ec5780632b205dc9146103155780632f745c591461033e576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613570565b6107ab565b6040516102279190613b1b565b60405180910390f35b34801561023c57600080fd5b506102456108f5565b6040516102529190613b36565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613607565b610987565b60405161028f9190613ab4565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba91906134ca565b610a0c565b005b3480156102cd57600080fd5b506102d6610b24565b6040516102e39190613e18565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e91906133c4565b610b3a565b005b34801561032157600080fd5b5061033c60048036038101906103379190613547565b610b9a565b005b34801561034a57600080fd5b50610365600480360381019061036091906134ca565b610c33565b6040516103729190613e18565b60405180910390f35b34801561038757600080fd5b50610390610e8a565b005b34801561039e57600080fd5b506103b960048036038101906103b491906133c4565b610ee7565b005b3480156103c757600080fd5b506103e260048036038101906103dd9190613607565b610f07565b6040516103ef9190613e18565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a91906135c2565b610f71565b005b34801561042d57600080fd5b50610436611003565b6040516104439190613e18565b60405180910390f35b34801561045857600080fd5b50610473600480360381019061046e9190613607565b611009565b6040516104809190613ab4565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab919061335f565b61113c565b6040516104bd9190613e18565b60405180910390f35b3480156104d257600080fd5b506104db6112f6565b005b3480156104e957600080fd5b5061050460048036038101906104ff9190613607565b61137e565b005b34801561051257600080fd5b5061051b611404565b6040516105289190613ab4565b60405180910390f35b34801561053d57600080fd5b5061054661142e565b6040516105539190613b36565b60405180910390f35b61057660048036038101906105719190613607565b6114c0565b005b34801561058457600080fd5b5061059f600480360381019061059a919061348e565b611a77565b005b3480156105ad57600080fd5b506105c860048036038101906105c39190613607565b611a8d565b005b3480156105d657600080fd5b506105f160048036038101906105ec9190613413565b611b13565b005b3480156105ff57600080fd5b50610608611b75565b005b34801561061657600080fd5b50610631600480360381019061062c9190613607565b611de0565b005b34801561063f57600080fd5b50610648611e66565b6040516106559190613e18565b60405180910390f35b34801561066a57600080fd5b5061068560048036038101906106809190613607565b611e6c565b6040516106929190613b36565b60405180910390f35b3480156106a757600080fd5b506106b0611f13565b6040516106bd9190613e18565b60405180910390f35b3480156106d257600080fd5b506106db611f19565b6040516106e89190613b36565b60405180910390f35b3480156106fd57600080fd5b5061071860048036038101906107139190613388565b611fa7565b6040516107259190613b1b565b60405180910390f35b34801561073a57600080fd5b506107556004803603810190610750919061335f565b61203b565b005b34801561076357600080fd5b5061077e60048036038101906107799190613506565b612133565b005b34801561078c57600080fd5b506107956121c9565b6040516107a29190613e18565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108de57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108ee57506108ed826121cf565b5b9050919050565b60606000805461090490614109565b80601f016020809104026020016040519081016040528092919081815260200182805461093090614109565b801561097d5780601f106109525761010080835404028352916020019161097d565b820191906000526020600020905b81548152906001019060200180831161096057829003601f168201915b5050505050905090565b600061099282612239565b6109d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c890613d38565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1782611009565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7f90613b78565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa7612253565b73ffffffffffffffffffffffffffffffffffffffff161480610ad65750610ad581610ad0612253565b611fa7565b5b610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c90613d58565b60405180910390fd5b610b1f838361225b565b505050565b60006001600554610b359190614011565b905090565b610b4b610b45612253565b82612314565b610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190613c78565b60405180910390fd5b610b958383836123f2565b505050565b610ba2612253565b73ffffffffffffffffffffffffffffffffffffffff16610bc0611404565b73ffffffffffffffffffffffffffffffffffffffff1614610c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0d90613cd8565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90613bf8565b60405180910390fd5b600080600190505b610cb581612239565b8015610ccc5750600184610cc99190613f30565b82105b15610e1f578473ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e0c578180610d4390614197565b925050600073ffffffffffffffffffffffffffffffffffffffff1660026000600184610d6f9190613f30565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610dcc5750600184610dc99190613f30565b82105b8015610de95750610de8600182610de39190613f30565b612239565b5b15610e0b578180610df990614197565b9250508080610e0790614197565b9150505b5b8080610e1790614197565b915050610cac565b600184610e2c9190613f30565b821415610e4957600181610e409190614011565b92505050610e84565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b90613df8565b60405180910390fd5b92915050565b73deca0e56a02477fdea466e3db224f037bd02300173ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ee4573d6000803e3d6000fd5b50565b610f0283838360405180602001604052806000815250611b13565b505050565b6000610f1e600183610f199190613f30565b612239565b610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5490613c58565b60405180910390fd5b600182610f6a9190613f30565b9050919050565b610f79612253565b73ffffffffffffffffffffffffffffffffffffffff16610f97611404565b73ffffffffffffffffffffffffffffffffffffffff1614610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe490613cd8565b60405180910390fd5b8181600b9190610ffe929190613020565b505050565b60055481565b600061101482612239565b611053576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104a90613b98565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561110057600260006001846110cc9190614011565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611135565b6002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a490613bf8565b60405180910390fd5b600080600190505b6111be81612239565b156112ec578373ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156112d957818061123590614197565b925050600073ffffffffffffffffffffffffffffffffffffffff16600260006001846112619190613f30565b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480156112c457506112c36001826112be9190613f30565b612239565b5b156112d85781806112d490614197565b9250505b5b80806112e490614197565b9150506111b5565b5080915050919050565b6112fe612253565b73ffffffffffffffffffffffffffffffffffffffff1661131c611404565b73ffffffffffffffffffffffffffffffffffffffff1614611372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136990613cd8565b60405180910390fd5b61137c6000612721565b565b611386612253565b73ffffffffffffffffffffffffffffffffffffffff166113a4611404565b73ffffffffffffffffffffffffffffffffffffffff16146113fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f190613cd8565b60405180910390fd5b8060088190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461143d90614109565b80601f016020809104026020016040519081016040528092919081815260200182805461146990614109565b80156114b65780601f1061148b576101008083540402835291602001916114b6565b820191906000526020600020905b81548152906001019060200180831161149957829003601f168201915b5050505050905090565b601160009054906101000a900460ff161561151e576114de336127e7565b61151d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151490613c18565b60405180910390fd5b5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461158c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158390613b58565b60405180910390fd5b60008111801561159e57506009548111155b6115dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d490613cf8565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff16111561175a5760095481600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff166116979190613f30565b1115600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff166009546116f89190614011565b6040516020016117089190613a83565b60405160208183030381529060405290611758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174f9190613b36565b60405180910390fd5b505b80600a546117689190613fb7565b3410156117aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a190613dd8565b60405180910390fd5b60005b818161ffff161015611a73576008546117c660076128bc565b10611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd90613d78565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff1611156118dc576001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff166118bd9190613ef8565b92506101000a81548161ffff021916908361ffff16021790555061199b565b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550600f339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b6119a560076128bc565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600e339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611a563360006128ca565b611a606007612a43565b8080611a6b9061416c565b9150506117ad565b5050565b611a89611a82612253565b8383612a59565b5050565b611a95612253565b73ffffffffffffffffffffffffffffffffffffffff16611ab3611404565b73ffffffffffffffffffffffffffffffffffffffff1614611b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0090613cd8565b60405180910390fd5b8060098190555050565b611b24611b1e612253565b83612314565b611b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5a90613c78565b60405180910390fd5b611b6f84848484612bc6565b50505050565b611b7d612253565b73ffffffffffffffffffffffffffffffffffffffff16611b9b611404565b73ffffffffffffffffffffffffffffffffffffffff1614611bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be890613cd8565b60405180910390fd5b600860009055600960009055600a60009055600b6000611c1191906130a6565b60005b600e80549050811015611cdb57600c6000600e8381548110611c5f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090558080611cd390614197565b915050611c14565b5060005b600f80549050811015611db357600d6000600f8381548110611d2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549061ffff02191690558080611dab90614197565b915050611cdf565b50600e6000611dc291906130e6565b600f6000611dd091906130e6565b60106000611dde91906130e6565b565b611de8612253565b73ffffffffffffffffffffffffffffffffffffffff16611e06611404565b73ffffffffffffffffffffffffffffffffffffffff1614611e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5390613cd8565b60405180910390fd5b80600a8190555050565b60095481565b6060611e7782612239565b611eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ead90613d18565b60405180910390fd5b6000611ec0612c22565b90506000815111611ee05760405180602001604052806000815250611f0b565b80611eea84612cb4565b604051602001611efb929190613a5f565b6040516020818303038152906040525b915050919050565b60085481565b600b8054611f2690614109565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5290614109565b8015611f9f5780601f10611f7457610100808354040283529160200191611f9f565b820191906000526020600020905b815481529060010190602001808311611f8257829003601f168201915b505050505081565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612043612253565b73ffffffffffffffffffffffffffffffffffffffff16612061611404565b73ffffffffffffffffffffffffffffffffffffffff16146120b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ae90613cd8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211e90613bb8565b60405180910390fd5b61213081612721565b50565b61213b612253565b73ffffffffffffffffffffffffffffffffffffffff16612159611404565b73ffffffffffffffffffffffffffffffffffffffff16146121af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a690613cd8565b60405180910390fd5b80601090805190602001906121c5929190613107565b5050565b600a5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080821415801561224c575060055482105b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122ce83611009565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061231f82612239565b61235e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235590613c38565b60405180910390fd5b600061236983611009565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123d857508373ffffffffffffffffffffffffffffffffffffffff166123c084610987565b73ffffffffffffffffffffffffffffffffffffffff16145b806123e957506123e88185611fa7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661241282611009565b73ffffffffffffffffffffffffffffffffffffffff1614612468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245f90613bd8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cf90613db8565b60405180910390fd5b6124e3838383612e61565b6124ee60008261225b565b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156125ad57816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506126c1565b816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff166002600060018401815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156126c057826002600060018401815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600090505b6010805490508110156128b1578273ffffffffffffffffffffffffffffffffffffffff166010828154811061284d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561289e5760019150506128b7565b80806128a990614197565b9150506127ef565b50600090505b919050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561293a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293190613cb8565b60405180910390fd5b6000811561294957600261294c565b60015b60ff1690508260026000600554815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060005b81811015612a2d576129c06000858360055401612e61565b80600554018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480806001019150506129a8565b5080600560008282540192505081905550505050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abf90613c98565b60405180910390fd5b80600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612bb99190613b1b565b60405180910390a3505050565b612bd18484846123f2565b612bdd84848484612e66565b612c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1390613d98565b60405180910390fd5b50505050565b6060600b8054612c3190614109565b80601f0160208091040260200160405190810160405280929190818152602001828054612c5d90614109565b8015612caa5780601f10612c7f57610100808354040283529160200191612caa565b820191906000526020600020905b815481529060010190602001808311612c8d57829003601f168201915b5050505050905090565b60606000821415612cfc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e5c565b600082905060005b60008214612d2e578080612d1790614197565b915050600a82612d279190613f86565b9150612d04565b60008167ffffffffffffffff811115612d70577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612da25781602001600182028036833780820191505090505b5090505b60008514612e5557600182612dbb9190614011565b9150600a85612dca91906141ea565b6030612dd69190613f30565b60f81b818381518110612e12577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e4e9190613f86565b9450612da6565b8093505050505b919050565b505050565b6000612e878473ffffffffffffffffffffffffffffffffffffffff16612ffd565b15612ff0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eb0612253565b8786866040518563ffffffff1660e01b8152600401612ed29493929190613acf565b602060405180830381600087803b158015612eec57600080fd5b505af1925050508015612f1d57506040513d601f19601f82011682018060405250810190612f1a9190613599565b60015b612fa0573d8060008114612f4d576040519150601f19603f3d011682016040523d82523d6000602084013e612f52565b606091505b50600081511415612f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8f90613d98565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ff5565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461302c90614109565b90600052602060002090601f01602090048101928261304e5760008555613095565b82601f1061306757803560ff1916838001178555613095565b82800160010185558215613095579182015b82811115613094578235825591602001919060010190613079565b5b5090506130a29190613191565b5090565b5080546130b290614109565b6000825580601f106130c457506130e3565b601f0160209004906000526020600020908101906130e29190613191565b5b50565b50805460008255906000526020600020908101906131049190613191565b50565b828054828255906000526020600020908101928215613180579160200282015b8281111561317f5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613127565b5b50905061318d9190613191565b5090565b5b808211156131aa576000816000905550600101613192565b5090565b60006131c16131bc84613e58565b613e33565b905080838252602082019050828560208602820111156131e057600080fd5b60005b8581101561321057816131f68882613258565b8452602084019350602083019250506001810190506131e3565b5050509392505050565b600061322d61322884613e84565b613e33565b90508281526020810184848401111561324557600080fd5b6132508482856140c7565b509392505050565b600081359050613267816148fa565b92915050565b600082601f83011261327e57600080fd5b813561328e8482602086016131ae565b91505092915050565b6000813590506132a681614911565b92915050565b6000813590506132bb81614928565b92915050565b6000815190506132d081614928565b92915050565b600082601f8301126132e757600080fd5b81356132f784826020860161321a565b91505092915050565b60008083601f84011261331257600080fd5b8235905067ffffffffffffffff81111561332b57600080fd5b60208301915083600182028301111561334357600080fd5b9250929050565b6000813590506133598161493f565b92915050565b60006020828403121561337157600080fd5b600061337f84828501613258565b91505092915050565b6000806040838503121561339b57600080fd5b60006133a985828601613258565b92505060206133ba85828601613258565b9150509250929050565b6000806000606084860312156133d957600080fd5b60006133e786828701613258565b93505060206133f886828701613258565b92505060406134098682870161334a565b9150509250925092565b6000806000806080858703121561342957600080fd5b600061343787828801613258565b945050602061344887828801613258565b93505060406134598782880161334a565b925050606085013567ffffffffffffffff81111561347657600080fd5b613482878288016132d6565b91505092959194509250565b600080604083850312156134a157600080fd5b60006134af85828601613258565b92505060206134c085828601613297565b9150509250929050565b600080604083850312156134dd57600080fd5b60006134eb85828601613258565b92505060206134fc8582860161334a565b9150509250929050565b60006020828403121561351857600080fd5b600082013567ffffffffffffffff81111561353257600080fd5b61353e8482850161326d565b91505092915050565b60006020828403121561355957600080fd5b600061356784828501613297565b91505092915050565b60006020828403121561358257600080fd5b6000613590848285016132ac565b91505092915050565b6000602082840312156135ab57600080fd5b60006135b9848285016132c1565b91505092915050565b600080602083850312156135d557600080fd5b600083013567ffffffffffffffff8111156135ef57600080fd5b6135fb85828601613300565b92509250509250929050565b60006020828403121561361957600080fd5b60006136278482850161334a565b91505092915050565b61363981614045565b82525050565b61364881614057565b82525050565b600061365982613eb5565b6136638185613ecb565b93506136738185602086016140d6565b61367c816142d7565b840191505092915050565b600061369282613ec0565b61369c8185613edc565b93506136ac8185602086016140d6565b6136b5816142d7565b840191505092915050565b60006136cb82613ec0565b6136d58185613eed565b93506136e58185602086016140d6565b80840191505092915050565b60006136fe601e83613edc565b9150613709826142e8565b602082019050919050565b6000613721602283613edc565b915061372c82614311565b604082019050919050565b6000613744602a83613edc565b915061374f82614360565b604082019050919050565b6000613767602683613edc565b9150613772826143af565b604082019050919050565b600061378a602a83613edc565b9150613795826143fe565b604082019050919050565b60006137ad600d83613eed565b91506137b88261444d565b600d82019050919050565b60006137d0602b83613edc565b91506137db82614476565b604082019050919050565b60006137f3601f83613edc565b91506137fe826144c5565b602082019050919050565b6000613816602d83613edc565b9150613821826144ee565b604082019050919050565b6000613839602383613edc565b91506138448261453d565b604082019050919050565b600061385c603283613edc565b91506138678261458c565b604082019050919050565b600061387f601a83613edc565b915061388a826145db565b602082019050919050565b60006138a2602183613edc565b91506138ad82614604565b604082019050919050565b60006138c5602083613edc565b91506138d082614653565b602082019050919050565b60006138e8601d83613edc565b91506138f38261467c565b602082019050919050565b600061390b602f83613edc565b9150613916826146a5565b604082019050919050565b600061392e600b83613eed565b9150613939826146f4565b600b82019050919050565b6000613951602d83613edc565b915061395c8261471d565b604082019050919050565b6000613974603983613edc565b915061397f8261476c565b604082019050919050565b6000613997601383613edc565b91506139a2826147bb565b602082019050919050565b60006139ba603383613edc565b91506139c5826147e4565b604082019050919050565b60006139dd602583613edc565b91506139e882614833565b604082019050919050565b6000613a00600f83613edc565b9150613a0b82614882565b602082019050919050565b6000613a23602283613edc565b9150613a2e826148ab565b604082019050919050565b613a42816140bd565b82525050565b613a59613a54826140bd565b6141e0565b82525050565b6000613a6b82856136c0565b9150613a7782846136c0565b91508190509392505050565b6000613a8e826137a0565b9150613a9a8284613a48565b602082019150613aa982613921565b915081905092915050565b6000602082019050613ac96000830184613630565b92915050565b6000608082019050613ae46000830187613630565b613af16020830186613630565b613afe6040830185613a39565b8181036060830152613b10818461364e565b905095945050505050565b6000602082019050613b30600083018461363f565b92915050565b60006020820190508181036000830152613b508184613687565b905092915050565b60006020820190508181036000830152613b71816136f1565b9050919050565b60006020820190508181036000830152613b9181613714565b9050919050565b60006020820190508181036000830152613bb181613737565b9050919050565b60006020820190508181036000830152613bd18161375a565b9050919050565b60006020820190508181036000830152613bf18161377d565b9050919050565b60006020820190508181036000830152613c11816137c3565b9050919050565b60006020820190508181036000830152613c31816137e6565b9050919050565b60006020820190508181036000830152613c5181613809565b9050919050565b60006020820190508181036000830152613c718161382c565b9050919050565b60006020820190508181036000830152613c918161384f565b9050919050565b60006020820190508181036000830152613cb181613872565b9050919050565b60006020820190508181036000830152613cd181613895565b9050919050565b60006020820190508181036000830152613cf1816138b8565b9050919050565b60006020820190508181036000830152613d11816138db565b9050919050565b60006020820190508181036000830152613d31816138fe565b9050919050565b60006020820190508181036000830152613d5181613944565b9050919050565b60006020820190508181036000830152613d7181613967565b9050919050565b60006020820190508181036000830152613d918161398a565b9050919050565b60006020820190508181036000830152613db1816139ad565b9050919050565b60006020820190508181036000830152613dd1816139d0565b9050919050565b60006020820190508181036000830152613df1816139f3565b9050919050565b60006020820190508181036000830152613e1181613a16565b9050919050565b6000602082019050613e2d6000830184613a39565b92915050565b6000613e3d613e4e565b9050613e49828261413b565b919050565b6000604051905090565b600067ffffffffffffffff821115613e7357613e726142a8565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613e9f57613e9e6142a8565b5b613ea8826142d7565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613f038261408f565b9150613f0e8361408f565b92508261ffff03821115613f2557613f2461421b565b5b828201905092915050565b6000613f3b826140bd565b9150613f46836140bd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f7b57613f7a61421b565b5b828201905092915050565b6000613f91826140bd565b9150613f9c836140bd565b925082613fac57613fab61424a565b5b828204905092915050565b6000613fc2826140bd565b9150613fcd836140bd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140065761400561421b565b5b828202905092915050565b600061401c826140bd565b9150614027836140bd565b92508282101561403a5761403961421b565b5b828203905092915050565b60006140508261409d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156140f45780820151818401526020810190506140d9565b83811115614103576000848401525b50505050565b6000600282049050600182168061412157607f821691505b6020821081141561413557614134614279565b5b50919050565b614144826142d7565b810181811067ffffffffffffffff82111715614163576141626142a8565b5b80604052505050565b60006141778261408f565b915061ffff82141561418c5761418b61421b565b5b600182019050919050565b60006141a2826140bd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141d5576141d461421b565b5b600182019050919050565b6000819050919050565b60006141f5826140bd565b9150614200836140bd565b9250826142105761420f61424a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f6d696e742066726f6d20636f6e7472616374206e6f7420616c6c6f7765640000600082015250565b7f455243373231583a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231583a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231583a207472616e73666572206f6620746f6b656e20746861742060008201527f6973206e6f74206f776e00000000000000000000000000000000000000000000602082015250565b7f596f752063616e206d696e742000000000000000000000000000000000000000600082015250565b7f455243373231583a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f596f75206172656e2774206578697374656420696e2057686974656c69737400600082015250565b7f455243373231583a206f70657261746f7220717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231583a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231583a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243373231583a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231583a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4120757365722063616e206d696e742033204e465473206174206d6178000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f204e465473206d6f72652e000000000000000000000000000000000000000000600082015250565b7f455243373231583a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231583a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f416c6c204e46547320617265206d696e74656400000000000000000000000000600082015250565b7f455243373231583a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231583a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f696e636f72726563742070726963650000000000000000000000000000000000600082015250565b7f455243373231583a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b61490381614045565b811461490e57600080fd5b50565b61491a81614057565b811461492557600080fd5b50565b61493181614063565b811461493c57600080fd5b50565b614948816140bd565b811461495357600080fd5b5056fea2646970667358221220995cde91b607d3d54e9e77cce2e40c4f893bdd93fe7f9a37d017da54328b3f0364736f6c63430008010033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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