ETH Price: $3,358.79 (+0.33%)

Token

Riot Girls (RIOT)
 

Overview

Max Total Supply

666 RIOT

Holders

439

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
lauraj.eth
Balance
1 RIOT
0x9e724C94692eea5777cAD2E7EbF40c338169b268
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
RiotGirls

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.1;

import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Counters.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';

contract RiotGirls is ERC721Enumerable, Ownable {
  using Counters for Counters.Counter;
  using SafeMath for uint256;

  Counters.Counter private _tokenIds;


  bytes32 public merkleRoot;
  mapping(address => uint256) public preSaleMinted;

  uint256 constant private ABSOLUTE_MAX_SUPPLY = 666;
  uint256 public maxSupply = 468; // start with pre sale window 1 max
  uint256 public currentPrice = 0 ether; //set in constructor

  address constant private nadya = 0x955B6F06981d77f947F4d44CA4297D2e26a916d7;
  address constant private indieDAO = 0x762C0cefBdC51D3ca0553b81792D82fcA96EF7a3;

  enum MintingStage {
    CLOSED,
    PRE_SALE_WINDOW_1,
    PRE_SALE_WINDOW_2,
    PUBLIC_SALE
  }

  MintingStage public currentStage = MintingStage.CLOSED;

  string public baseTokenURI = 'https://riotgirls.2c.io/api/tokens/';

  constructor() ERC721('Riot Girls', 'RIOT') Ownable() {
    _mintNFTs(nadya,15);
    _mintNFTs(indieDAO,10);
    
    currentPrice = 0.222 ether;
  }

  function mint(uint256 count) external payable {
    require(
      currentStage == MintingStage.PUBLIC_SALE,
      'Public riot is not live...yet'
    );
    _mintNFTs(msg.sender,count);
  }

  function presaleMint(
    uint256 count,
    uint256 maxAllowed,
    bytes32[] calldata proof
  ) external payable {
    require(
      merkleRoot != 0 && currentStage != MintingStage.CLOSED,
      'Presale is booting up - check back soon'
    );
    require(
      _verify(_leaf(msg.sender, maxAllowed), proof),
      "Looks like there's an issue with your wallet babe"
    );
    require(
      preSaleMinted[msg.sender].add(count) <= maxAllowed,
      unicode"Someone's greedy 👀 - you've already minted your presale Riot Girls, come back during public mint for more."
    );

    //Don't allow total during preSale to be more than maxAllowed by Merkle Tree
    preSaleMinted[msg.sender] = preSaleMinted[msg.sender].add(count);

    _mintNFTs(msg.sender, count);
  }

  function _mintSingleNFT(address recipient, uint256 newTokenID) internal {
    _tokenIds.increment();
    _safeMint(recipient, newTokenID);
  }

  function _mintNFTs(address recipient, uint256 _count) internal {
    uint256 totalMinted = _tokenIds.current();

    require(
      totalMinted.add(_count) <= maxSupply,
      unicode'All of our Riot Girls have been unleashed! Sorry, not sorry. Find us on secondary 😘'
    );
    require(
      msg.value >= currentPrice.mul(_count),
      unicode"Girl, you need more ETH in your wallet if you want to hang with us. It's .222 per Riot Girl 💅"
    );

    for (uint256 i = 0; i < _count; i++) {
      _mintSingleNFT(recipient,totalMinted.add(i));
    }
  }

  function getTokenIds(address _owner)
    external
    view
    returns (uint256[] memory)
  {
    uint256[] memory _tokensOfOwner = new uint256[](ERC721.balanceOf(_owner));
    uint256 i;

    for (i = 0; i < ERC721.balanceOf(_owner); i++) {
      _tokensOfOwner[i] = ERC721Enumerable.tokenOfOwnerByIndex(_owner, i);
    }

    return (_tokensOfOwner);
  }

  function getLastTokenId() external view returns (uint256) {
    return _tokenIds.current();
  }

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

  function setBaseURI(string memory _baseTokenURI) external onlyOwner {
    baseTokenURI = _baseTokenURI;
  }

  function setMerkleRoot(bytes32 root) external onlyOwner {
    merkleRoot = root;
  }

  function setMaxSupply(uint256 max) external onlyOwner {
    require(
      max <= ABSOLUTE_MAX_SUPPLY,
      "Easy there, we can't go over the limit"
    );
    maxSupply = max;
  }

  function setMintingStage(MintingStage stage) external onlyOwner {
    currentStage = stage;
  }

  function withdraw() external onlyOwner {
    uint256 balance = address(this).balance;
    require(balance > 0, 'No ether left to withdraw');
    require(payable(msg.sender).send(balance), 'Transfer failed');
  }

  function _leaf(address recipient, uint256 amount)
    internal
    pure
    returns (bytes32)
  {
    return keccak256(abi.encodePacked(amount, recipient));
  }

  function _verify(bytes32 leaf, bytes32[] memory proof)
    internal
    view
    returns (bool)
  {
    return MerkleProof.verify(proof, merkleRoot, leaf);
  }
}

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    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 owner address to token count
    mapping(address => uint256) private _balances;

    // 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 Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    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 ||
            super.supportsInterface(interfaceId);
    }

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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 = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: 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), "ERC721: 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), "ERC721: 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), "ERC721: 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), "ERC721: 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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @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), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - 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, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @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,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @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 {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(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(ERC721.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, "ERC721: 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("ERC721: 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 Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

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

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 4 of 17 : Counters.sol
// 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;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 8 of 17 : SafeMath.sol
// 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;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

Contract Security Audit

Contract ABI

[{"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":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentStage","outputs":[{"internalType":"enum RiotGirls.MintingStage","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"preSaleMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"maxAllowed","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum RiotGirls.MintingStage","name":"stage","type":"uint8"}],"name":"setMintingStage","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":"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"}]

60806040526101d4600e556000600f556000601060006101000a81548160ff021916908360038111156200005c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550604051806060016040528060238152602001620064de60239139601190805190602001906200009292919062000ec0565b50348015620000a057600080fd5b506040518060400160405280600a81526020017f52696f74204769726c73000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f52494f540000000000000000000000000000000000000000000000000000000081525081600090805190602001906200012592919062000ec0565b5080600190805190602001906200013e92919062000ec0565b5050506200016162000155620001c460201b60201c565b620001cc60201b60201c565b6200018873955b6f06981d77f947f4d44ca4297d2e26a916d7600f6200029260201b60201c565b620001af73762c0cefbdc51d3ca0553b81792d82fca96ef7a3600a6200029260201b60201c565b670314b3d2e4230000600f81905550620016cd565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000620002ab600b620003c260201b62001b101760201c565b9050600e54620002ca8383620003d060201b62001b1e1790919060201c565b11156200030e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003059062001198565b60405180910390fd5b6200032a82600f54620003e860201b62001b341790919060201c565b3410156200036f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200036690620011fe565b60405180910390fd5b60005b82811015620003bc57620003a6846200039a8385620003d060201b62001b1e1790919060201c565b6200040060201b60201c565b8080620003b3906200141c565b91505062000372565b50505050565b600081600001549050919050565b60008183620003e091906200124d565b905092915050565b60008183620003f89190620012aa565b905092915050565b62000417600b6200042d60201b62001b4a1760201c565b6200042982826200044360201b60201c565b5050565b6001816000016000828254019250508190555050565b620004658282604051806020016040528060008152506200046960201b60201c565b5050565b6200047b8383620004d760201b60201c565b620004906000848484620006d160201b60201c565b620004d2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004c99062001154565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200054a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200054190620011dc565b60405180910390fd5b6200055b816200088b60201b60201c565b156200059e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005959062001176565b60405180910390fd5b620005b260008383620008f760201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200060491906200124d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620006cd6000838362000a3e60201b60201c565b5050565b6000620006ff8473ffffffffffffffffffffffffffffffffffffffff1662000a4360201b62001b601760201c565b156200087e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000731620001c460201b60201c565b8786866040518563ffffffff1660e01b815260040162000755949392919062001100565b602060405180830381600087803b1580156200077057600080fd5b505af1925050508015620007a457506040513d601f19601f82011682018060405250810190620007a1919062000f87565b60015b6200082d573d8060008114620007d7576040519150601f19603f3d011682016040523d82523d6000602084013e620007dc565b606091505b5060008151141562000825576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200081c9062001154565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000883565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6200090f83838362000a6660201b62001b831760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200095c57620009568162000a6b60201b60201c565b620009a4565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614620009a357620009a2838262000ab460201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620009f157620009eb8162000c3160201b60201c565b62000a39565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000a385762000a37828262000d7960201b60201c565b5b5b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000ace8462000e0560201b6200136e1760201c565b62000ada91906200130b565b905060006007600084815260200190815260200160002054905081811462000bc0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000c4791906200130b565b905060006009600084815260200190815260200160002054905060006008838154811062000c9e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811062000ce7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548062000d5d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600062000d918362000e0560201b6200136e1760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000e79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000e7090620011ba565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000ece90620013e6565b90600052602060002090601f01602090048101928262000ef2576000855562000f3e565b82601f1062000f0d57805160ff191683800117855562000f3e565b8280016001018555821562000f3e579182015b8281111562000f3d57825182559160200191906001019062000f20565b5b50905062000f4d919062000f51565b5090565b5b8082111562000f6c57600081600090555060010162000f52565b5090565b60008151905062000f8181620016b3565b92915050565b60006020828403121562000f9a57600080fd5b600062000faa8482850162000f70565b91505092915050565b62000fbe8162001346565b82525050565b600062000fd18262001220565b62000fdd81856200122b565b935062000fef818560208601620013b0565b62000ffa81620014c8565b840191505092915050565b6000620010146032836200123c565b91506200102182620014d9565b604082019050919050565b60006200103b601c836200123c565b9150620010488262001528565b602082019050919050565b6000620010626056836200123c565b91506200106f8262001551565b606082019050919050565b600062001089602a836200123c565b91506200109682620015c6565b604082019050919050565b6000620010b06020836200123c565b9150620010bd8262001615565b602082019050919050565b6000620010d76060836200123c565b9150620010e4826200163e565b606082019050919050565b620010fa81620013a6565b82525050565b600060808201905062001117600083018762000fb3565b62001126602083018662000fb3565b620011356040830185620010ef565b818103606083015262001149818462000fc4565b905095945050505050565b600060208201905081810360008301526200116f8162001005565b9050919050565b6000602082019050818103600083015262001191816200102c565b9050919050565b60006020820190508181036000830152620011b38162001053565b9050919050565b60006020820190508181036000830152620011d5816200107a565b9050919050565b60006020820190508181036000830152620011f781620010a1565b9050919050565b600060208201905081810360008301526200121981620010c8565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006200125a82620013a6565b91506200126783620013a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200129f576200129e6200146a565b5b828201905092915050565b6000620012b782620013a6565b9150620012c483620013a6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200130057620012ff6200146a565b5b828202905092915050565b60006200131882620013a6565b91506200132583620013a6565b9250828210156200133b576200133a6200146a565b5b828203905092915050565b6000620013538262001386565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620013d0578082015181840152602081019050620013b3565b83811115620013e0576000848401525b50505050565b60006002820490506001821680620013ff57607f821691505b6020821081141562001416576200141562001499565b5b50919050565b60006200142982620013a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200145f576200145e6200146a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f416c6c206f66206f75722052696f74204769726c732068617665206265656e2060008201527f756e6c6561736865642120536f7272792c206e6f7420736f7272792e2046696e60208201527f64207573206f6e207365636f6e6461727920f09f989800000000000000000000604082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4769726c2c20796f75206e656564206d6f72652045544820696e20796f75722060008201527f77616c6c657420696620796f752077616e7420746f2068616e6720776974682060208201527f75732e2049742773202e323232207065722052696f74204769726c20f09f9285604082015250565b620016be816200135a565b8114620016ca57600080fd5b50565b614e0180620016dd6000396000f3fe6080604052600436106101f95760003560e01c80636f8b44b01161010d578063a0712d68116100a0578063d004b0361161006f578063d004b03614610715578063d547cfb714610752578063d5abeb011461077d578063e985e9c5146107a8578063f2fde38b146107e5576101f9565b8063a0712d681461066a578063a22cb46514610686578063b88d4fde146106af578063c87b56dd146106d8576101f9565b806383c4c00d116100dc57806383c4c00d146105be5780638da5cb5b146105e957806395d89b41146106145780639d1b464a1461063f576101f9565b80636f8b44b01461051857806370a0823114610541578063715018a61461057e5780637cb6475914610595576101f9565b80632f745c59116101905780634f6ccce71161015f5780634f6ccce71461040d578063529be43b1461044a57806355f804b3146104875780635bf5d54c146104b05780636352211e146104db576101f9565b80632f745c5914610367578063338e8d88146103a45780633ccfd60b146103cd57806342842e0e146103e4576101f9565b806318160ddd116101cc57806318160ddd146102cc5780631b59169d146102f757806323b872dd146103135780632eb4a7ab1461033c576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b50610225600480360381019061022091906134d6565b61080e565b6040516102329190613c52565b60405180910390f35b34801561024757600080fd5b50610250610888565b60405161025d9190613ca3565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190613592565b61091a565b60405161029a9190613bc9565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613471565b61099f565b005b3480156102d857600080fd5b506102e1610ab7565b6040516102ee9190614025565b60405180910390f35b610311600480360381019061030c91906135bb565b610ac4565b005b34801561031f57600080fd5b5061033a6004803603810190610335919061336b565b610d64565b005b34801561034857600080fd5b50610351610dc4565b60405161035e9190613c6d565b60405180910390f35b34801561037357600080fd5b5061038e60048036038101906103899190613471565b610dca565b60405161039b9190614025565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190613528565b610e6f565b005b3480156103d957600080fd5b506103e2610f3e565b005b3480156103f057600080fd5b5061040b6004803603810190610406919061336b565b611079565b005b34801561041957600080fd5b50610434600480360381019061042f9190613592565b611099565b6040516104419190614025565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190613306565b611130565b60405161047e9190614025565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a99190613551565b611148565b005b3480156104bc57600080fd5b506104c56111de565b6040516104d29190613c88565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190613592565b6111f1565b60405161050f9190613bc9565b60405180910390f35b34801561052457600080fd5b5061053f600480360381019061053a9190613592565b6112a3565b005b34801561054d57600080fd5b5061056860048036038101906105639190613306565b61136e565b6040516105759190614025565b60405180910390f35b34801561058a57600080fd5b50610593611426565b005b3480156105a157600080fd5b506105bc60048036038101906105b791906134ad565b6114ae565b005b3480156105ca57600080fd5b506105d3611534565b6040516105e09190614025565b60405180910390f35b3480156105f557600080fd5b506105fe611545565b60405161060b9190613bc9565b60405180910390f35b34801561062057600080fd5b5061062961156f565b6040516106369190613ca3565b60405180910390f35b34801561064b57600080fd5b50610654611601565b6040516106619190614025565b60405180910390f35b610684600480360381019061067f9190613592565b611607565b005b34801561069257600080fd5b506106ad60048036038101906106a89190613435565b6116d5565b005b3480156106bb57600080fd5b506106d660048036038101906106d191906133ba565b6116eb565b005b3480156106e457600080fd5b506106ff60048036038101906106fa9190613592565b61174d565b60405161070c9190613ca3565b60405180910390f35b34801561072157600080fd5b5061073c60048036038101906107379190613306565b6117f4565b6040516107499190613c30565b60405180910390f35b34801561075e57600080fd5b506107676118f0565b6040516107749190613ca3565b60405180910390f35b34801561078957600080fd5b5061079261197e565b60405161079f9190614025565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca919061332f565b611984565b6040516107dc9190613c52565b60405180910390f35b3480156107f157600080fd5b5061080c60048036038101906108079190613306565b611a18565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610881575061088082611b88565b5b9050919050565b6060600080546108979061433d565b80601f01602080910402602001604051908101604052809291908181526020018280546108c39061433d565b80156109105780601f106108e557610100808354040283529160200191610910565b820191906000526020600020905b8154815290600101906020018083116108f357829003601f168201915b5050505050905090565b600061092582611c6a565b610964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095b90613f05565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109aa826111f1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1290613f65565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a3a611cd6565b73ffffffffffffffffffffffffffffffffffffffff161480610a695750610a6881610a63611cd6565b611984565b5b610aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9f90613e45565b60405180910390fd5b610ab28383611cde565b505050565b6000600880549050905090565b6000801b600c5414158015610b59575060006003811115610b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601060009054906101000a900460ff166003811115610b56577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14155b610b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8f90613d85565b60405180910390fd5b610bec610ba53385611d97565b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050611dca565b610c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2290613fc5565b60405180910390fd5b82610c7e85600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b1e90919063ffffffff16565b1115610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb690613ee5565b60405180910390fd5b610d1184600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b1e90919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610d5e3385611de1565b50505050565b610d75610d6f611cd6565b82611edd565b610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab90613f85565b60405180910390fd5b610dbf838383611fbb565b505050565b600c5481565b6000610dd58361136e565b8210610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d90613ce5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e77611cd6565b73ffffffffffffffffffffffffffffffffffffffff16610e95611545565b73ffffffffffffffffffffffffffffffffffffffff1614610eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee290613f25565b60405180910390fd5b80601060006101000a81548160ff02191690836003811115610f36577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b610f46611cd6565b73ffffffffffffffffffffffffffffffffffffffff16610f64611545565b73ffffffffffffffffffffffffffffffffffffffff1614610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190613f25565b60405180910390fd5b600047905060008111611002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff990613ec5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d90613d45565b60405180910390fd5b50565b611094838383604051806020016040528060008152506116eb565b505050565b60006110a3610ab7565b82106110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db90613fe5565b60405180910390fd5b6008828154811061111e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600d6020528060005260406000206000915090505481565b611150611cd6565b73ffffffffffffffffffffffffffffffffffffffff1661116e611545565b73ffffffffffffffffffffffffffffffffffffffff16146111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bb90613f25565b60405180910390fd5b80601190805190602001906111da9291906130b6565b5050565b601060009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561129a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129190613e85565b60405180910390fd5b80915050919050565b6112ab611cd6565b73ffffffffffffffffffffffffffffffffffffffff166112c9611545565b73ffffffffffffffffffffffffffffffffffffffff161461131f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131690613f25565b60405180910390fd5b61029a811115611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90613fa5565b60405180910390fd5b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d690613e65565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61142e611cd6565b73ffffffffffffffffffffffffffffffffffffffff1661144c611545565b73ffffffffffffffffffffffffffffffffffffffff16146114a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149990613f25565b60405180910390fd5b6114ac6000612222565b565b6114b6611cd6565b73ffffffffffffffffffffffffffffffffffffffff166114d4611545565b73ffffffffffffffffffffffffffffffffffffffff161461152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152190613f25565b60405180910390fd5b80600c8190555050565b6000611540600b611b10565b905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461157e9061433d565b80601f01602080910402602001604051908101604052809291908181526020018280546115aa9061433d565b80156115f75780601f106115cc576101008083540402835291602001916115f7565b820191906000526020600020905b8154815290600101906020018083116115da57829003601f168201915b5050505050905090565b600f5481565b600380811115611640577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601060009054906101000a900460ff166003811115611688577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf90613cc5565b60405180910390fd5b6116d23382611de1565b50565b6116e76116e0611cd6565b83836122e8565b5050565b6116fc6116f6611cd6565b83611edd565b61173b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173290613f85565b60405180910390fd5b61174784848484612455565b50505050565b606061175882611c6a565b611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178e90613f45565b60405180910390fd5b60006117a16124b1565b905060008151116117c157604051806020016040528060008152506117ec565b806117cb84612543565b6040516020016117dc929190613b79565b6040516020818303038152906040525b915050919050565b606060006118018361136e565b67ffffffffffffffff811115611840577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561186e5781602001602082028036833780820191505090505b50905060005b61187d8461136e565b8110156118e65761188e8482610dca565b8282815181106118c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806118de906143a0565b915050611874565b8192505050919050565b601180546118fd9061433d565b80601f01602080910402602001604051908101604052809291908181526020018280546119299061433d565b80156119765780601f1061194b57610100808354040283529160200191611976565b820191906000526020600020905b81548152906001019060200180831161195957829003601f168201915b505050505081565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a20611cd6565b73ffffffffffffffffffffffffffffffffffffffff16611a3e611545565b73ffffffffffffffffffffffffffffffffffffffff1614611a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8b90613f25565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afb90613d25565b60405180910390fd5b611b0d81612222565b50565b600081600001549050919050565b60008183611b2c9190614143565b905092915050565b60008183611b4291906141ca565b905092915050565b6001816000016000828254019250508190555050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c5357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c635750611c62826126f0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d51836111f1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008183604051602001611dac929190613b9d565b60405160208183030381529060405280519060200120905092915050565b6000611dd982600c548561275a565b905092915050565b6000611ded600b611b10565b9050600e54611e058383611b1e90919063ffffffff16565b1115611e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3d90613dc5565b60405180910390fd5b611e5b82600f54611b3490919063ffffffff16565b341015611e9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9490614005565b60405180910390fd5b60005b82811015611ed757611ec484611ebf8385611b1e90919063ffffffff16565b612771565b8080611ecf906143a0565b915050611ea0565b50505050565b6000611ee882611c6a565b611f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1e90613e25565b60405180910390fd5b6000611f32836111f1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fa157508373ffffffffffffffffffffffffffffffffffffffff16611f898461091a565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fb25750611fb18185611984565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fdb826111f1565b73ffffffffffffffffffffffffffffffffffffffff1614612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890613d65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209890613de5565b60405180910390fd5b6120ac838383612789565b6120b7600082611cde565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121079190614224565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461215e9190614143565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461221d83838361289d565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234e90613e05565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124489190613c52565b60405180910390a3505050565b612460848484611fbb565b61246c848484846128a2565b6124ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a290613d05565b60405180910390fd5b50505050565b6060601180546124c09061433d565b80601f01602080910402602001604051908101604052809291908181526020018280546124ec9061433d565b80156125395780601f1061250e57610100808354040283529160200191612539565b820191906000526020600020905b81548152906001019060200180831161251c57829003601f168201915b5050505050905090565b6060600082141561258b576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126eb565b600082905060005b600082146125bd5780806125a6906143a0565b915050600a826125b69190614199565b9150612593565b60008167ffffffffffffffff8111156125ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126315781602001600182028036833780820191505090505b5090505b600085146126e45760018261264a9190614224565b9150600a856126599190614417565b60306126659190614143565b60f81b8183815181106126a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126dd9190614199565b9450612635565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000826127678584612a39565b1490509392505050565b61277b600b611b4a565b6127858282612ad4565b5050565b612794838383611b83565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127d7576127d281612af2565b612816565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612815576128148382612b3b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128595761285481612ca8565b612898565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612897576128968282612deb565b5b5b505050565b505050565b60006128c38473ffffffffffffffffffffffffffffffffffffffff16611b60565b15612a2c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128ec611cd6565b8786866040518563ffffffff1660e01b815260040161290e9493929190613be4565b602060405180830381600087803b15801561292857600080fd5b505af192505050801561295957506040513d601f19601f8201168201806040525081019061295691906134ff565b60015b6129dc573d8060008114612989576040519150601f19603f3d011682016040523d82523d6000602084013e61298e565b606091505b506000815114156129d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cb90613d05565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a31565b600190505b949350505050565b60008082905060005b8451811015612ac9576000858281518110612a86577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612aa857612aa18382612e6a565b9250612ab5565b612ab28184612e6a565b92505b508080612ac1906143a0565b915050612a42565b508091505092915050565b612aee828260405180602001604052806000815250612e81565b5050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b488461136e565b612b529190614224565b9050600060076000848152602001908152602001600020549050818114612c37576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612cbc9190614224565b9050600060096000848152602001908152602001600020549050600060088381548110612d12577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612d5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612dcf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612df68361136e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b612e8b8383612edc565b612e9860008484846128a2565b612ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ece90613d05565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4390613ea5565b60405180910390fd5b612f5581611c6a565b15612f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8c90613da5565b60405180910390fd5b612fa160008383612789565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ff19190614143565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130b26000838361289d565b5050565b8280546130c29061433d565b90600052602060002090601f0160209004810192826130e4576000855561312b565b82601f106130fd57805160ff191683800117855561312b565b8280016001018555821561312b579182015b8281111561312a57825182559160200191906001019061310f565b5b509050613138919061313c565b5090565b5b8082111561315557600081600090555060010161313d565b5090565b600061316c61316784614065565b614040565b90508281526020810184848401111561318457600080fd5b61318f8482856142fb565b509392505050565b60006131aa6131a584614096565b614040565b9050828152602081018484840111156131c257600080fd5b6131cd8482856142fb565b509392505050565b6000813590506131e481614d48565b92915050565b60008083601f8401126131fc57600080fd5b8235905067ffffffffffffffff81111561321557600080fd5b60208301915083602082028301111561322d57600080fd5b9250929050565b60008135905061324381614d5f565b92915050565b60008135905061325881614d76565b92915050565b60008135905061326d81614d8d565b92915050565b60008151905061328281614d8d565b92915050565b600082601f83011261329957600080fd5b81356132a9848260208601613159565b91505092915050565b6000813590506132c181614da4565b92915050565b600082601f8301126132d857600080fd5b81356132e8848260208601613197565b91505092915050565b60008135905061330081614db4565b92915050565b60006020828403121561331857600080fd5b6000613326848285016131d5565b91505092915050565b6000806040838503121561334257600080fd5b6000613350858286016131d5565b9250506020613361858286016131d5565b9150509250929050565b60008060006060848603121561338057600080fd5b600061338e868287016131d5565b935050602061339f868287016131d5565b92505060406133b0868287016132f1565b9150509250925092565b600080600080608085870312156133d057600080fd5b60006133de878288016131d5565b94505060206133ef878288016131d5565b9350506040613400878288016132f1565b925050606085013567ffffffffffffffff81111561341d57600080fd5b61342987828801613288565b91505092959194509250565b6000806040838503121561344857600080fd5b6000613456858286016131d5565b925050602061346785828601613234565b9150509250929050565b6000806040838503121561348457600080fd5b6000613492858286016131d5565b92505060206134a3858286016132f1565b9150509250929050565b6000602082840312156134bf57600080fd5b60006134cd84828501613249565b91505092915050565b6000602082840312156134e857600080fd5b60006134f68482850161325e565b91505092915050565b60006020828403121561351157600080fd5b600061351f84828501613273565b91505092915050565b60006020828403121561353a57600080fd5b6000613548848285016132b2565b91505092915050565b60006020828403121561356357600080fd5b600082013567ffffffffffffffff81111561357d57600080fd5b613589848285016132c7565b91505092915050565b6000602082840312156135a457600080fd5b60006135b2848285016132f1565b91505092915050565b600080600080606085870312156135d157600080fd5b60006135df878288016132f1565b94505060206135f0878288016132f1565b935050604085013567ffffffffffffffff81111561360d57600080fd5b613619878288016131ea565b925092505092959194509250565b60006136338383613b44565b60208301905092915050565b61364881614258565b82525050565b61365f61365a82614258565b6143e9565b82525050565b6000613670826140d7565b61367a8185614105565b9350613685836140c7565b8060005b838110156136b657815161369d8882613627565b97506136a8836140f8565b925050600181019050613689565b5085935050505092915050565b6136cc8161426a565b82525050565b6136db81614276565b82525050565b60006136ec826140e2565b6136f68185614116565b935061370681856020860161430a565b61370f81614533565b840191505092915050565b613723816142e9565b82525050565b6000613734826140ed565b61373e8185614127565b935061374e81856020860161430a565b61375781614533565b840191505092915050565b600061376d826140ed565b6137778185614138565b935061378781856020860161430a565b80840191505092915050565b60006137a0601d83614127565b91506137ab82614551565b602082019050919050565b60006137c3602b83614127565b91506137ce8261457a565b604082019050919050565b60006137e6603283614127565b91506137f1826145c9565b604082019050919050565b6000613809602683614127565b915061381482614618565b604082019050919050565b600061382c600f83614127565b915061383782614667565b602082019050919050565b600061384f602583614127565b915061385a82614690565b604082019050919050565b6000613872602783614127565b915061387d826146df565b604082019050919050565b6000613895601c83614127565b91506138a08261472e565b602082019050919050565b60006138b8605683614127565b91506138c382614757565b606082019050919050565b60006138db602483614127565b91506138e6826147cc565b604082019050919050565b60006138fe601983614127565b91506139098261481b565b602082019050919050565b6000613921602c83614127565b915061392c82614844565b604082019050919050565b6000613944603883614127565b915061394f82614893565b604082019050919050565b6000613967602a83614127565b9150613972826148e2565b604082019050919050565b600061398a602983614127565b915061399582614931565b604082019050919050565b60006139ad602083614127565b91506139b882614980565b602082019050919050565b60006139d0601983614127565b91506139db826149a9565b602082019050919050565b60006139f3606d83614127565b91506139fe826149d2565b608082019050919050565b6000613a16602c83614127565b9150613a2182614a6d565b604082019050919050565b6000613a39602083614127565b9150613a4482614abc565b602082019050919050565b6000613a5c602f83614127565b9150613a6782614ae5565b604082019050919050565b6000613a7f602183614127565b9150613a8a82614b34565b604082019050919050565b6000613aa2603183614127565b9150613aad82614b83565b604082019050919050565b6000613ac5602683614127565b9150613ad082614bd2565b604082019050919050565b6000613ae8603183614127565b9150613af382614c21565b604082019050919050565b6000613b0b602c83614127565b9150613b1682614c70565b604082019050919050565b6000613b2e606083614127565b9150613b3982614cbf565b606082019050919050565b613b4d816142df565b82525050565b613b5c816142df565b82525050565b613b73613b6e826142df565b61440d565b82525050565b6000613b858285613762565b9150613b918284613762565b91508190509392505050565b6000613ba98285613b62565b602082019150613bb9828461364e565b6014820191508190509392505050565b6000602082019050613bde600083018461363f565b92915050565b6000608082019050613bf9600083018761363f565b613c06602083018661363f565b613c136040830185613b53565b8181036060830152613c2581846136e1565b905095945050505050565b60006020820190508181036000830152613c4a8184613665565b905092915050565b6000602082019050613c6760008301846136c3565b92915050565b6000602082019050613c8260008301846136d2565b92915050565b6000602082019050613c9d600083018461371a565b92915050565b60006020820190508181036000830152613cbd8184613729565b905092915050565b60006020820190508181036000830152613cde81613793565b9050919050565b60006020820190508181036000830152613cfe816137b6565b9050919050565b60006020820190508181036000830152613d1e816137d9565b9050919050565b60006020820190508181036000830152613d3e816137fc565b9050919050565b60006020820190508181036000830152613d5e8161381f565b9050919050565b60006020820190508181036000830152613d7e81613842565b9050919050565b60006020820190508181036000830152613d9e81613865565b9050919050565b60006020820190508181036000830152613dbe81613888565b9050919050565b60006020820190508181036000830152613dde816138ab565b9050919050565b60006020820190508181036000830152613dfe816138ce565b9050919050565b60006020820190508181036000830152613e1e816138f1565b9050919050565b60006020820190508181036000830152613e3e81613914565b9050919050565b60006020820190508181036000830152613e5e81613937565b9050919050565b60006020820190508181036000830152613e7e8161395a565b9050919050565b60006020820190508181036000830152613e9e8161397d565b9050919050565b60006020820190508181036000830152613ebe816139a0565b9050919050565b60006020820190508181036000830152613ede816139c3565b9050919050565b60006020820190508181036000830152613efe816139e6565b9050919050565b60006020820190508181036000830152613f1e81613a09565b9050919050565b60006020820190508181036000830152613f3e81613a2c565b9050919050565b60006020820190508181036000830152613f5e81613a4f565b9050919050565b60006020820190508181036000830152613f7e81613a72565b9050919050565b60006020820190508181036000830152613f9e81613a95565b9050919050565b60006020820190508181036000830152613fbe81613ab8565b9050919050565b60006020820190508181036000830152613fde81613adb565b9050919050565b60006020820190508181036000830152613ffe81613afe565b9050919050565b6000602082019050818103600083015261401e81613b21565b9050919050565b600060208201905061403a6000830184613b53565b92915050565b600061404a61405b565b9050614056828261436f565b919050565b6000604051905090565b600067ffffffffffffffff8211156140805761407f614504565b5b61408982614533565b9050602081019050919050565b600067ffffffffffffffff8211156140b1576140b0614504565b5b6140ba82614533565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061414e826142df565b9150614159836142df565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561418e5761418d614448565b5b828201905092915050565b60006141a4826142df565b91506141af836142df565b9250826141bf576141be614477565b5b828204905092915050565b60006141d5826142df565b91506141e0836142df565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561421957614218614448565b5b828202905092915050565b600061422f826142df565b915061423a836142df565b92508282101561424d5761424c614448565b5b828203905092915050565b6000614263826142bf565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506142ba82614d34565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006142f4826142ac565b9050919050565b82818337600083830152505050565b60005b8381101561432857808201518184015260208101905061430d565b83811115614337576000848401525b50505050565b6000600282049050600182168061435557607f821691505b60208210811415614369576143686144d5565b5b50919050565b61437882614533565b810181811067ffffffffffffffff8211171561439757614396614504565b5b80604052505050565b60006143ab826142df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143de576143dd614448565b5b600182019050919050565b60006143f4826143fb565b9050919050565b600061440682614544565b9050919050565b6000819050919050565b6000614422826142df565b915061442d836142df565b92508261443d5761443c614477565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5075626c69632072696f74206973206e6f74206c6976652e2e2e796574000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c6520697320626f6f74696e67207570202d20636865636b20626160008201527f636b20736f6f6e00000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f416c6c206f66206f75722052696f74204769726c732068617665206265656e2060008201527f756e6c6561736865642120536f7272792c206e6f7420736f7272792e2046696e60208201527f64207573206f6e207365636f6e6461727920f09f989800000000000000000000604082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b7f536f6d656f6e6527732067726565647920f09f9180202d20796f75277665206160008201527f6c7265616479206d696e74656420796f75722070726573616c652052696f742060208201527f4769726c732c20636f6d65206261636b20647572696e67207075626c6963206d60408201527f696e7420666f72206d6f72652e00000000000000000000000000000000000000606082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f456173792074686572652c2077652063616e277420676f206f7665722074686560008201527f206c696d69740000000000000000000000000000000000000000000000000000602082015250565b7f4c6f6f6b73206c696b65207468657265277320616e206973737565207769746860008201527f20796f75722077616c6c65742062616265000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4769726c2c20796f75206e656564206d6f72652045544820696e20796f75722060008201527f77616c6c657420696620796f752077616e7420746f2068616e6720776974682060208201527f75732e2049742773202e323232207065722052696f74204769726c20f09f9285604082015250565b60048110614d4557614d446144a6565b5b50565b614d5181614258565b8114614d5c57600080fd5b50565b614d688161426a565b8114614d7357600080fd5b50565b614d7f81614276565b8114614d8a57600080fd5b50565b614d9681614280565b8114614da157600080fd5b50565b60048110614db157600080fd5b50565b614dbd816142df565b8114614dc857600080fd5b5056fea2646970667358221220e3204ca5fb3957e1c4c7e140e9be4b179dd5bd7e8355fde16bd7a0f5c140b11164736f6c6343000801003368747470733a2f2f72696f746769726c732e32632e696f2f6170692f746f6b656e732f

Deployed Bytecode

0x6080604052600436106101f95760003560e01c80636f8b44b01161010d578063a0712d68116100a0578063d004b0361161006f578063d004b03614610715578063d547cfb714610752578063d5abeb011461077d578063e985e9c5146107a8578063f2fde38b146107e5576101f9565b8063a0712d681461066a578063a22cb46514610686578063b88d4fde146106af578063c87b56dd146106d8576101f9565b806383c4c00d116100dc57806383c4c00d146105be5780638da5cb5b146105e957806395d89b41146106145780639d1b464a1461063f576101f9565b80636f8b44b01461051857806370a0823114610541578063715018a61461057e5780637cb6475914610595576101f9565b80632f745c59116101905780634f6ccce71161015f5780634f6ccce71461040d578063529be43b1461044a57806355f804b3146104875780635bf5d54c146104b05780636352211e146104db576101f9565b80632f745c5914610367578063338e8d88146103a45780633ccfd60b146103cd57806342842e0e146103e4576101f9565b806318160ddd116101cc57806318160ddd146102cc5780631b59169d146102f757806323b872dd146103135780632eb4a7ab1461033c576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b50610225600480360381019061022091906134d6565b61080e565b6040516102329190613c52565b60405180910390f35b34801561024757600080fd5b50610250610888565b60405161025d9190613ca3565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190613592565b61091a565b60405161029a9190613bc9565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613471565b61099f565b005b3480156102d857600080fd5b506102e1610ab7565b6040516102ee9190614025565b60405180910390f35b610311600480360381019061030c91906135bb565b610ac4565b005b34801561031f57600080fd5b5061033a6004803603810190610335919061336b565b610d64565b005b34801561034857600080fd5b50610351610dc4565b60405161035e9190613c6d565b60405180910390f35b34801561037357600080fd5b5061038e60048036038101906103899190613471565b610dca565b60405161039b9190614025565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190613528565b610e6f565b005b3480156103d957600080fd5b506103e2610f3e565b005b3480156103f057600080fd5b5061040b6004803603810190610406919061336b565b611079565b005b34801561041957600080fd5b50610434600480360381019061042f9190613592565b611099565b6040516104419190614025565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190613306565b611130565b60405161047e9190614025565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a99190613551565b611148565b005b3480156104bc57600080fd5b506104c56111de565b6040516104d29190613c88565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190613592565b6111f1565b60405161050f9190613bc9565b60405180910390f35b34801561052457600080fd5b5061053f600480360381019061053a9190613592565b6112a3565b005b34801561054d57600080fd5b5061056860048036038101906105639190613306565b61136e565b6040516105759190614025565b60405180910390f35b34801561058a57600080fd5b50610593611426565b005b3480156105a157600080fd5b506105bc60048036038101906105b791906134ad565b6114ae565b005b3480156105ca57600080fd5b506105d3611534565b6040516105e09190614025565b60405180910390f35b3480156105f557600080fd5b506105fe611545565b60405161060b9190613bc9565b60405180910390f35b34801561062057600080fd5b5061062961156f565b6040516106369190613ca3565b60405180910390f35b34801561064b57600080fd5b50610654611601565b6040516106619190614025565b60405180910390f35b610684600480360381019061067f9190613592565b611607565b005b34801561069257600080fd5b506106ad60048036038101906106a89190613435565b6116d5565b005b3480156106bb57600080fd5b506106d660048036038101906106d191906133ba565b6116eb565b005b3480156106e457600080fd5b506106ff60048036038101906106fa9190613592565b61174d565b60405161070c9190613ca3565b60405180910390f35b34801561072157600080fd5b5061073c60048036038101906107379190613306565b6117f4565b6040516107499190613c30565b60405180910390f35b34801561075e57600080fd5b506107676118f0565b6040516107749190613ca3565b60405180910390f35b34801561078957600080fd5b5061079261197e565b60405161079f9190614025565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca919061332f565b611984565b6040516107dc9190613c52565b60405180910390f35b3480156107f157600080fd5b5061080c60048036038101906108079190613306565b611a18565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610881575061088082611b88565b5b9050919050565b6060600080546108979061433d565b80601f01602080910402602001604051908101604052809291908181526020018280546108c39061433d565b80156109105780601f106108e557610100808354040283529160200191610910565b820191906000526020600020905b8154815290600101906020018083116108f357829003601f168201915b5050505050905090565b600061092582611c6a565b610964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095b90613f05565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109aa826111f1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1290613f65565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a3a611cd6565b73ffffffffffffffffffffffffffffffffffffffff161480610a695750610a6881610a63611cd6565b611984565b5b610aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9f90613e45565b60405180910390fd5b610ab28383611cde565b505050565b6000600880549050905090565b6000801b600c5414158015610b59575060006003811115610b0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601060009054906101000a900460ff166003811115610b56577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14155b610b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8f90613d85565b60405180910390fd5b610bec610ba53385611d97565b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050611dca565b610c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2290613fc5565b60405180910390fd5b82610c7e85600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b1e90919063ffffffff16565b1115610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb690613ee5565b60405180910390fd5b610d1184600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b1e90919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610d5e3385611de1565b50505050565b610d75610d6f611cd6565b82611edd565b610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab90613f85565b60405180910390fd5b610dbf838383611fbb565b505050565b600c5481565b6000610dd58361136e565b8210610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d90613ce5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e77611cd6565b73ffffffffffffffffffffffffffffffffffffffff16610e95611545565b73ffffffffffffffffffffffffffffffffffffffff1614610eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee290613f25565b60405180910390fd5b80601060006101000a81548160ff02191690836003811115610f36577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b610f46611cd6565b73ffffffffffffffffffffffffffffffffffffffff16610f64611545565b73ffffffffffffffffffffffffffffffffffffffff1614610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190613f25565b60405180910390fd5b600047905060008111611002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff990613ec5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d90613d45565b60405180910390fd5b50565b611094838383604051806020016040528060008152506116eb565b505050565b60006110a3610ab7565b82106110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db90613fe5565b60405180910390fd5b6008828154811061111e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600d6020528060005260406000206000915090505481565b611150611cd6565b73ffffffffffffffffffffffffffffffffffffffff1661116e611545565b73ffffffffffffffffffffffffffffffffffffffff16146111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bb90613f25565b60405180910390fd5b80601190805190602001906111da9291906130b6565b5050565b601060009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561129a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129190613e85565b60405180910390fd5b80915050919050565b6112ab611cd6565b73ffffffffffffffffffffffffffffffffffffffff166112c9611545565b73ffffffffffffffffffffffffffffffffffffffff161461131f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131690613f25565b60405180910390fd5b61029a811115611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90613fa5565b60405180910390fd5b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d690613e65565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61142e611cd6565b73ffffffffffffffffffffffffffffffffffffffff1661144c611545565b73ffffffffffffffffffffffffffffffffffffffff16146114a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149990613f25565b60405180910390fd5b6114ac6000612222565b565b6114b6611cd6565b73ffffffffffffffffffffffffffffffffffffffff166114d4611545565b73ffffffffffffffffffffffffffffffffffffffff161461152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152190613f25565b60405180910390fd5b80600c8190555050565b6000611540600b611b10565b905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461157e9061433d565b80601f01602080910402602001604051908101604052809291908181526020018280546115aa9061433d565b80156115f75780601f106115cc576101008083540402835291602001916115f7565b820191906000526020600020905b8154815290600101906020018083116115da57829003601f168201915b5050505050905090565b600f5481565b600380811115611640577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601060009054906101000a900460ff166003811115611688577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf90613cc5565b60405180910390fd5b6116d23382611de1565b50565b6116e76116e0611cd6565b83836122e8565b5050565b6116fc6116f6611cd6565b83611edd565b61173b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173290613f85565b60405180910390fd5b61174784848484612455565b50505050565b606061175882611c6a565b611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178e90613f45565b60405180910390fd5b60006117a16124b1565b905060008151116117c157604051806020016040528060008152506117ec565b806117cb84612543565b6040516020016117dc929190613b79565b6040516020818303038152906040525b915050919050565b606060006118018361136e565b67ffffffffffffffff811115611840577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561186e5781602001602082028036833780820191505090505b50905060005b61187d8461136e565b8110156118e65761188e8482610dca565b8282815181106118c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806118de906143a0565b915050611874565b8192505050919050565b601180546118fd9061433d565b80601f01602080910402602001604051908101604052809291908181526020018280546119299061433d565b80156119765780601f1061194b57610100808354040283529160200191611976565b820191906000526020600020905b81548152906001019060200180831161195957829003601f168201915b505050505081565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a20611cd6565b73ffffffffffffffffffffffffffffffffffffffff16611a3e611545565b73ffffffffffffffffffffffffffffffffffffffff1614611a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8b90613f25565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afb90613d25565b60405180910390fd5b611b0d81612222565b50565b600081600001549050919050565b60008183611b2c9190614143565b905092915050565b60008183611b4291906141ca565b905092915050565b6001816000016000828254019250508190555050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c5357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c635750611c62826126f0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d51836111f1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008183604051602001611dac929190613b9d565b60405160208183030381529060405280519060200120905092915050565b6000611dd982600c548561275a565b905092915050565b6000611ded600b611b10565b9050600e54611e058383611b1e90919063ffffffff16565b1115611e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3d90613dc5565b60405180910390fd5b611e5b82600f54611b3490919063ffffffff16565b341015611e9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9490614005565b60405180910390fd5b60005b82811015611ed757611ec484611ebf8385611b1e90919063ffffffff16565b612771565b8080611ecf906143a0565b915050611ea0565b50505050565b6000611ee882611c6a565b611f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1e90613e25565b60405180910390fd5b6000611f32836111f1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fa157508373ffffffffffffffffffffffffffffffffffffffff16611f898461091a565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fb25750611fb18185611984565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fdb826111f1565b73ffffffffffffffffffffffffffffffffffffffff1614612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890613d65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209890613de5565b60405180910390fd5b6120ac838383612789565b6120b7600082611cde565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121079190614224565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461215e9190614143565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461221d83838361289d565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234e90613e05565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124489190613c52565b60405180910390a3505050565b612460848484611fbb565b61246c848484846128a2565b6124ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a290613d05565b60405180910390fd5b50505050565b6060601180546124c09061433d565b80601f01602080910402602001604051908101604052809291908181526020018280546124ec9061433d565b80156125395780601f1061250e57610100808354040283529160200191612539565b820191906000526020600020905b81548152906001019060200180831161251c57829003601f168201915b5050505050905090565b6060600082141561258b576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126eb565b600082905060005b600082146125bd5780806125a6906143a0565b915050600a826125b69190614199565b9150612593565b60008167ffffffffffffffff8111156125ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126315781602001600182028036833780820191505090505b5090505b600085146126e45760018261264a9190614224565b9150600a856126599190614417565b60306126659190614143565b60f81b8183815181106126a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126dd9190614199565b9450612635565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000826127678584612a39565b1490509392505050565b61277b600b611b4a565b6127858282612ad4565b5050565b612794838383611b83565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127d7576127d281612af2565b612816565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612815576128148382612b3b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128595761285481612ca8565b612898565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612897576128968282612deb565b5b5b505050565b505050565b60006128c38473ffffffffffffffffffffffffffffffffffffffff16611b60565b15612a2c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128ec611cd6565b8786866040518563ffffffff1660e01b815260040161290e9493929190613be4565b602060405180830381600087803b15801561292857600080fd5b505af192505050801561295957506040513d601f19601f8201168201806040525081019061295691906134ff565b60015b6129dc573d8060008114612989576040519150601f19603f3d011682016040523d82523d6000602084013e61298e565b606091505b506000815114156129d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cb90613d05565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a31565b600190505b949350505050565b60008082905060005b8451811015612ac9576000858281518110612a86577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612aa857612aa18382612e6a565b9250612ab5565b612ab28184612e6a565b92505b508080612ac1906143a0565b915050612a42565b508091505092915050565b612aee828260405180602001604052806000815250612e81565b5050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b488461136e565b612b529190614224565b9050600060076000848152602001908152602001600020549050818114612c37576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612cbc9190614224565b9050600060096000848152602001908152602001600020549050600060088381548110612d12577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612d5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612dcf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612df68361136e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b612e8b8383612edc565b612e9860008484846128a2565b612ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ece90613d05565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4390613ea5565b60405180910390fd5b612f5581611c6a565b15612f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8c90613da5565b60405180910390fd5b612fa160008383612789565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ff19190614143565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130b26000838361289d565b5050565b8280546130c29061433d565b90600052602060002090601f0160209004810192826130e4576000855561312b565b82601f106130fd57805160ff191683800117855561312b565b8280016001018555821561312b579182015b8281111561312a57825182559160200191906001019061310f565b5b509050613138919061313c565b5090565b5b8082111561315557600081600090555060010161313d565b5090565b600061316c61316784614065565b614040565b90508281526020810184848401111561318457600080fd5b61318f8482856142fb565b509392505050565b60006131aa6131a584614096565b614040565b9050828152602081018484840111156131c257600080fd5b6131cd8482856142fb565b509392505050565b6000813590506131e481614d48565b92915050565b60008083601f8401126131fc57600080fd5b8235905067ffffffffffffffff81111561321557600080fd5b60208301915083602082028301111561322d57600080fd5b9250929050565b60008135905061324381614d5f565b92915050565b60008135905061325881614d76565b92915050565b60008135905061326d81614d8d565b92915050565b60008151905061328281614d8d565b92915050565b600082601f83011261329957600080fd5b81356132a9848260208601613159565b91505092915050565b6000813590506132c181614da4565b92915050565b600082601f8301126132d857600080fd5b81356132e8848260208601613197565b91505092915050565b60008135905061330081614db4565b92915050565b60006020828403121561331857600080fd5b6000613326848285016131d5565b91505092915050565b6000806040838503121561334257600080fd5b6000613350858286016131d5565b9250506020613361858286016131d5565b9150509250929050565b60008060006060848603121561338057600080fd5b600061338e868287016131d5565b935050602061339f868287016131d5565b92505060406133b0868287016132f1565b9150509250925092565b600080600080608085870312156133d057600080fd5b60006133de878288016131d5565b94505060206133ef878288016131d5565b9350506040613400878288016132f1565b925050606085013567ffffffffffffffff81111561341d57600080fd5b61342987828801613288565b91505092959194509250565b6000806040838503121561344857600080fd5b6000613456858286016131d5565b925050602061346785828601613234565b9150509250929050565b6000806040838503121561348457600080fd5b6000613492858286016131d5565b92505060206134a3858286016132f1565b9150509250929050565b6000602082840312156134bf57600080fd5b60006134cd84828501613249565b91505092915050565b6000602082840312156134e857600080fd5b60006134f68482850161325e565b91505092915050565b60006020828403121561351157600080fd5b600061351f84828501613273565b91505092915050565b60006020828403121561353a57600080fd5b6000613548848285016132b2565b91505092915050565b60006020828403121561356357600080fd5b600082013567ffffffffffffffff81111561357d57600080fd5b613589848285016132c7565b91505092915050565b6000602082840312156135a457600080fd5b60006135b2848285016132f1565b91505092915050565b600080600080606085870312156135d157600080fd5b60006135df878288016132f1565b94505060206135f0878288016132f1565b935050604085013567ffffffffffffffff81111561360d57600080fd5b613619878288016131ea565b925092505092959194509250565b60006136338383613b44565b60208301905092915050565b61364881614258565b82525050565b61365f61365a82614258565b6143e9565b82525050565b6000613670826140d7565b61367a8185614105565b9350613685836140c7565b8060005b838110156136b657815161369d8882613627565b97506136a8836140f8565b925050600181019050613689565b5085935050505092915050565b6136cc8161426a565b82525050565b6136db81614276565b82525050565b60006136ec826140e2565b6136f68185614116565b935061370681856020860161430a565b61370f81614533565b840191505092915050565b613723816142e9565b82525050565b6000613734826140ed565b61373e8185614127565b935061374e81856020860161430a565b61375781614533565b840191505092915050565b600061376d826140ed565b6137778185614138565b935061378781856020860161430a565b80840191505092915050565b60006137a0601d83614127565b91506137ab82614551565b602082019050919050565b60006137c3602b83614127565b91506137ce8261457a565b604082019050919050565b60006137e6603283614127565b91506137f1826145c9565b604082019050919050565b6000613809602683614127565b915061381482614618565b604082019050919050565b600061382c600f83614127565b915061383782614667565b602082019050919050565b600061384f602583614127565b915061385a82614690565b604082019050919050565b6000613872602783614127565b915061387d826146df565b604082019050919050565b6000613895601c83614127565b91506138a08261472e565b602082019050919050565b60006138b8605683614127565b91506138c382614757565b606082019050919050565b60006138db602483614127565b91506138e6826147cc565b604082019050919050565b60006138fe601983614127565b91506139098261481b565b602082019050919050565b6000613921602c83614127565b915061392c82614844565b604082019050919050565b6000613944603883614127565b915061394f82614893565b604082019050919050565b6000613967602a83614127565b9150613972826148e2565b604082019050919050565b600061398a602983614127565b915061399582614931565b604082019050919050565b60006139ad602083614127565b91506139b882614980565b602082019050919050565b60006139d0601983614127565b91506139db826149a9565b602082019050919050565b60006139f3606d83614127565b91506139fe826149d2565b608082019050919050565b6000613a16602c83614127565b9150613a2182614a6d565b604082019050919050565b6000613a39602083614127565b9150613a4482614abc565b602082019050919050565b6000613a5c602f83614127565b9150613a6782614ae5565b604082019050919050565b6000613a7f602183614127565b9150613a8a82614b34565b604082019050919050565b6000613aa2603183614127565b9150613aad82614b83565b604082019050919050565b6000613ac5602683614127565b9150613ad082614bd2565b604082019050919050565b6000613ae8603183614127565b9150613af382614c21565b604082019050919050565b6000613b0b602c83614127565b9150613b1682614c70565b604082019050919050565b6000613b2e606083614127565b9150613b3982614cbf565b606082019050919050565b613b4d816142df565b82525050565b613b5c816142df565b82525050565b613b73613b6e826142df565b61440d565b82525050565b6000613b858285613762565b9150613b918284613762565b91508190509392505050565b6000613ba98285613b62565b602082019150613bb9828461364e565b6014820191508190509392505050565b6000602082019050613bde600083018461363f565b92915050565b6000608082019050613bf9600083018761363f565b613c06602083018661363f565b613c136040830185613b53565b8181036060830152613c2581846136e1565b905095945050505050565b60006020820190508181036000830152613c4a8184613665565b905092915050565b6000602082019050613c6760008301846136c3565b92915050565b6000602082019050613c8260008301846136d2565b92915050565b6000602082019050613c9d600083018461371a565b92915050565b60006020820190508181036000830152613cbd8184613729565b905092915050565b60006020820190508181036000830152613cde81613793565b9050919050565b60006020820190508181036000830152613cfe816137b6565b9050919050565b60006020820190508181036000830152613d1e816137d9565b9050919050565b60006020820190508181036000830152613d3e816137fc565b9050919050565b60006020820190508181036000830152613d5e8161381f565b9050919050565b60006020820190508181036000830152613d7e81613842565b9050919050565b60006020820190508181036000830152613d9e81613865565b9050919050565b60006020820190508181036000830152613dbe81613888565b9050919050565b60006020820190508181036000830152613dde816138ab565b9050919050565b60006020820190508181036000830152613dfe816138ce565b9050919050565b60006020820190508181036000830152613e1e816138f1565b9050919050565b60006020820190508181036000830152613e3e81613914565b9050919050565b60006020820190508181036000830152613e5e81613937565b9050919050565b60006020820190508181036000830152613e7e8161395a565b9050919050565b60006020820190508181036000830152613e9e8161397d565b9050919050565b60006020820190508181036000830152613ebe816139a0565b9050919050565b60006020820190508181036000830152613ede816139c3565b9050919050565b60006020820190508181036000830152613efe816139e6565b9050919050565b60006020820190508181036000830152613f1e81613a09565b9050919050565b60006020820190508181036000830152613f3e81613a2c565b9050919050565b60006020820190508181036000830152613f5e81613a4f565b9050919050565b60006020820190508181036000830152613f7e81613a72565b9050919050565b60006020820190508181036000830152613f9e81613a95565b9050919050565b60006020820190508181036000830152613fbe81613ab8565b9050919050565b60006020820190508181036000830152613fde81613adb565b9050919050565b60006020820190508181036000830152613ffe81613afe565b9050919050565b6000602082019050818103600083015261401e81613b21565b9050919050565b600060208201905061403a6000830184613b53565b92915050565b600061404a61405b565b9050614056828261436f565b919050565b6000604051905090565b600067ffffffffffffffff8211156140805761407f614504565b5b61408982614533565b9050602081019050919050565b600067ffffffffffffffff8211156140b1576140b0614504565b5b6140ba82614533565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061414e826142df565b9150614159836142df565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561418e5761418d614448565b5b828201905092915050565b60006141a4826142df565b91506141af836142df565b9250826141bf576141be614477565b5b828204905092915050565b60006141d5826142df565b91506141e0836142df565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561421957614218614448565b5b828202905092915050565b600061422f826142df565b915061423a836142df565b92508282101561424d5761424c614448565b5b828203905092915050565b6000614263826142bf565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506142ba82614d34565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006142f4826142ac565b9050919050565b82818337600083830152505050565b60005b8381101561432857808201518184015260208101905061430d565b83811115614337576000848401525b50505050565b6000600282049050600182168061435557607f821691505b60208210811415614369576143686144d5565b5b50919050565b61437882614533565b810181811067ffffffffffffffff8211171561439757614396614504565b5b80604052505050565b60006143ab826142df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143de576143dd614448565b5b600182019050919050565b60006143f4826143fb565b9050919050565b600061440682614544565b9050919050565b6000819050919050565b6000614422826142df565b915061442d836142df565b92508261443d5761443c614477565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5075626c69632072696f74206973206e6f74206c6976652e2e2e796574000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c6520697320626f6f74696e67207570202d20636865636b20626160008201527f636b20736f6f6e00000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f416c6c206f66206f75722052696f74204769726c732068617665206265656e2060008201527f756e6c6561736865642120536f7272792c206e6f7420736f7272792e2046696e60208201527f64207573206f6e207365636f6e6461727920f09f989800000000000000000000604082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b7f536f6d656f6e6527732067726565647920f09f9180202d20796f75277665206160008201527f6c7265616479206d696e74656420796f75722070726573616c652052696f742060208201527f4769726c732c20636f6d65206261636b20647572696e67207075626c6963206d60408201527f696e7420666f72206d6f72652e00000000000000000000000000000000000000606082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f456173792074686572652c2077652063616e277420676f206f7665722074686560008201527f206c696d69740000000000000000000000000000000000000000000000000000602082015250565b7f4c6f6f6b73206c696b65207468657265277320616e206973737565207769746860008201527f20796f75722077616c6c65742062616265000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4769726c2c20796f75206e656564206d6f72652045544820696e20796f75722060008201527f77616c6c657420696620796f752077616e7420746f2068616e6720776974682060208201527f75732e2049742773202e323232207065722052696f74204769726c20f09f9285604082015250565b60048110614d4557614d446144a6565b5b50565b614d5181614258565b8114614d5c57600080fd5b50565b614d688161426a565b8114614d7357600080fd5b50565b614d7f81614276565b8114614d8a57600080fd5b50565b614d9681614280565b8114614da157600080fd5b50565b60048110614db157600080fd5b50565b614dbd816142df565b8114614dc857600080fd5b5056fea2646970667358221220e3204ca5fb3957e1c4c7e140e9be4b179dd5bd7e8355fde16bd7a0f5c140b11164736f6c63430008010033

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

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