ETH Price: $3,142.51 (-7.12%)

Token

Crepto Pass (CREPASS)
 

Overview

Max Total Supply

751 CREPASS

Holders

459

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
luckyzx.eth
Balance
1 CREPASS
0xa870a5db53805c9765b8094a37e4ee269476bf90
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:
CreptoPass

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : CreptoPass.sol
// SPDX-License-Identifier: MIT
// Crepto Pass NFT
// Creator: Xing @nelsonie

/**
   _____ _____  ______ _____ _______ ____    _____         _____ _____ 
  / ____|  __ \|  ____|  __ \__   __/ __ \  |  __ \ /\    / ____/ ____|
 | |    | |__) | |__  | |__) | | | | |  | | | |__) /  \  | (___| (___  
 | |    |  _  /|  __| |  ___/  | | | |  | | |  ___/ /\ \  \___ \\___ \ 
 | |____| | \ \| |____| |      | | | |__| | | |  / ____ \ ____) |___) |
  \_____|_|  \_\______|_|      |_|  \____/  |_| /_/    \_\_____/_____/ 
 
 */

pragma solidity ^0.8.6;

import "./ERC721AA.sol";
import "./EnumerableSet.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract CreptoPass is ERC721AA, Ownable {
  using Strings for uint256;

  mapping(address => EnumerableSet.Uint16Set) ownerTokenIds;
  bytes32 public merkelRoot;
  uint256 public constant TOTAL_SUPPLY = 824;
  mapping(address => bool) public minted;

  constructor() ERC721AA("Crepto Pass", "CREPASS") {
  }

  function teamMintFor(address recipient, uint amount) external onlyOwner {
    require(totalSupply() + amount <= TOTAL_SUPPLY, "Exceed max supply");
    _safeMint(recipient, amount);
  }

  function mint(bytes32[] calldata proof, uint amount) external {
    require(!minted[msg.sender], "You have minted");
    require(totalSupply() + amount <= TOTAL_SUPPLY, "Exceed max supply");
    require(merkleVerify(proof, keccak256(abi.encodePacked(msg.sender, amount))), "Invalid proof");

    minted[msg.sender] = true;
    _safeMint(msg.sender, amount);
  }

  function merkleVerify(bytes32[] memory proof, bytes32 leaf) private view returns (bool) {
    return MerkleProof.verify(proof, merkelRoot, leaf);
  }

  function ownerTokenIdList(address owner) public view virtual returns (uint16[] memory) {
    return EnumerableSet.values(ownerTokenIds[owner]);
  }

  function toPaddingString(uint256 value) private pure returns (string memory) {
    bytes memory buffer = new bytes(3);
     buffer[2] = bytes1(uint8(48 + uint256(value % 10)));
     buffer[1] = bytes1(uint8(48 + uint256(value / 10 % 10)));
     buffer[0] = bytes1(uint8(48 + uint256(value / 100 % 10)));
    return string(buffer);
  }

  function svg(uint256 tokenId) private pure returns (string memory) {
    return string(abi.encodePacked(
      "<svg xmlns='http://www.w3.org/2000/svg' width='824' height='480'><style>@keyframes o{100%{opacity:0}}text{fill:gold;}.f{width:100%;height:100%}.a{animation:o 5s ease-out forwards}</style><rect class='f'/><svg overflow='visible'><text x='412' y='240' style='font-size:80px;text-anchor:middle'>CREPTO PASS</text><text x='624' y='400' style='font-size:24px'>NO. ",
      toPaddingString(tokenId),
      "</text></svg><rect class='f a'/></svg>"
      ));
  }

  // OVERRIDE FUNCTION
  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), "Nonexistent token");
    return string(abi.encodePacked(
      'data:application/json;utf8,{"name":"Crepass #',
      toPaddingString(tokenId),
      '", "description":"Crepto Pass, a Hold2Earn NFT", "created_by":"Xing", "image":"data:image/svg+xml;utf8,',
      svg(tokenId),
      '","attributes":[{"trait_type":"Membership","value":"True"}]}'
    ));
  }

  function _afterTokenTransfers(address from, address to, uint256 startTokenId, uint256 quantity) internal virtual override {
    for (uint16 i = uint16(startTokenId); i < startTokenId + quantity; i++) {
      EnumerableSet.remove(ownerTokenIds[from], i);
      EnumerableSet.add(ownerTokenIds[to], i);
    }
  }

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

  // ADMIN FUNCTION
  function setMerkelRoot(bytes32 _merkelRoot) external onlyOwner {
    merkelRoot = _merkelRoot;
  }

  // Hold2Earn
  address public teamAddress = 0xdACFF5227793a31e98845DC5a9910D383e59f85D;
  address public adminAddress;
  uint256 public profitRatio = 2408;

  modifier onlyAdmin() {
    require(msg.sender == adminAddress || msg.sender == owner(), "Caller is not owner or admin");
    _;
  }

  function setAdminAddress(address _adminAddress) external onlyAdmin {
    adminAddress = _adminAddress;
  }

  function setTeamAddress(address _teamAddress) external onlyOwner {
    teamAddress = _teamAddress;
  }

  function setProfitRatio(uint256 _profitRatio) external onlyOwner {
    profitRatio = _profitRatio;
  }

  receive() external payable {}

  mapping(address => uint256) public teamProfit;
  mapping(address => uint256) public ownerProfit;
  mapping(address => uint256) private ownerPendingClaim;

  struct ProfitConfig {
    address tokenAddress;
    uint256 profitPerToken;
    mapping(uint16 => bool) tokenClaimed;
  }
  uint24 public snapshotId;

  // snapshotId => ProfitConfig
  mapping(uint24 => ProfitConfig) snapshotProfitConfig;

  /**
   * For query the pending profit
   */
  function pendingProfit(address _tokenAddress) public view returns (uint256) {
    if (_tokenAddress == address(0)) {
      return address(this).balance - ownerProfit[_tokenAddress] - teamProfit[_tokenAddress];
    } else {
      return IERC20(_tokenAddress).balanceOf(address(this)) - ownerProfit[_tokenAddress] - teamProfit[_tokenAddress];
    }
  }

  /**
   * For calculate profit
   */
  function calcProfit(address _tokenAddress) external {
    uint256 totalProfit = pendingProfit(_tokenAddress);
    require(totalProfit > 10000, "Make more profit");
    uint256 forOwner = totalProfit / 10000 * profitRatio / TOTAL_SUPPLY * TOTAL_SUPPLY;
    uint256 forTeam = totalProfit - forOwner;
    ownerProfit[_tokenAddress] += forOwner;
    teamProfit[_tokenAddress] += forTeam;
  }

  /**
   * For snapshot a profit config
   */
  function snapshotProfit(address _tokenAddress) external onlyAdmin {
    require((ownerProfit[_tokenAddress] - ownerPendingClaim[_tokenAddress]) > 1 ether, "No profit");
    snapshotId += 1;
    ProfitConfig storage p = snapshotProfitConfig[snapshotId];
    p.tokenAddress = _tokenAddress;
    p.profitPerToken = (ownerProfit[_tokenAddress] - ownerPendingClaim[_tokenAddress]) / TOTAL_SUPPLY;

    ownerPendingClaim[_tokenAddress] = ownerProfit[_tokenAddress];
  }

  /**
   * For owner claim profit by owner address
   */
  function claimProfit(uint24 _snapshotId, address _owner) external {
    require(_snapshotId <= snapshotId, "No snapshot profit");

    uint16[] memory ownerTokens = ownerTokenIdList(_owner);
    uint256 profit = 0;
    for (uint16 i = 0; i < ownerTokens.length; i++) {
      if (!snapshotProfitConfig[_snapshotId].tokenClaimed[ownerTokens[i]]) {
        snapshotProfitConfig[_snapshotId].tokenClaimed[ownerTokens[i]] = true;
        profit += snapshotProfitConfig[_snapshotId].profitPerToken;
      }
    }
    require(profit > 0, "Owner has no profit");
    ownerProfit[snapshotProfitConfig[_snapshotId].tokenAddress] -= profit;
    ownerPendingClaim[snapshotProfitConfig[_snapshotId].tokenAddress] -= profit;

    _send(snapshotProfitConfig[_snapshotId].tokenAddress, payable(_owner), profit);
  }

  /**
   * For owner claim profit by tokenId (In case of an owner holds too much tokens)
   */
  function claimProfitByToken(uint24 _snapshotId, uint16[] memory _tokenIdList) external {
    require(_snapshotId <= snapshotId, "No snapshot profit");

    for (uint16 i = 0; i < _tokenIdList.length; i++) {
      if (!snapshotProfitConfig[_snapshotId].tokenClaimed[_tokenIdList[i]]) {
        snapshotProfitConfig[_snapshotId].tokenClaimed[_tokenIdList[i]] = true;
        ownerProfit[snapshotProfitConfig[_snapshotId].tokenAddress] -= snapshotProfitConfig[_snapshotId].profitPerToken;
        ownerPendingClaim[snapshotProfitConfig[_snapshotId].tokenAddress] -= snapshotProfitConfig[_snapshotId].profitPerToken;

        _send(snapshotProfitConfig[_snapshotId].tokenAddress, payable(ownerOf(_tokenIdList[i])), snapshotProfitConfig[_snapshotId].profitPerToken);
      }
    }
  }

  /**
   * For team claim profit
   */
  function teamClaimProfit(address _tokenAddress) external {
    require(teamAddress != address(0), "teamAddress not set");
    uint256 profit = teamProfit[_tokenAddress];
    require(profit > 0, "No team profit");

    teamProfit[_tokenAddress] = 0;

    _send(_tokenAddress, payable(teamAddress), profit);
  }

  function _send(address tokenAddr, address payable to, uint256 amount) private {
    if (tokenAddr == address(0)) {
      require(to.send(amount), "Transfer ETH failed");
    } else {
      require(IERC20(tokenAddr).transfer(to, amount), "Transfer Token failed");
    }
  }
}

File 2 of 14 : ERC721AA.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs
// Optimizer: Crepto Pass (Xing @nelsonie )
// Following items have been optimized for gas saving:
// * Remove "burn" method and relative storage
// * Remove "TokenOwnership" struct, only keep "ownerAddress"
// * Remove "AddressData" struct, only keep "balance"
// * Replace tokenId's type uint256 with uint16, assume NFT totalSupply can't exceed 65535 - 1

pragma solidity ^0.8.4;

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

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**16 - 1 (max value of uint16) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**16 - 1 (max value of uint16).
 */
contract ERC721AA is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // The tokenId of the next token to be minted.
    uint16 internal _currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint16 => address) internal _ownerships;

    // Mapping owner address to token number
    mapping(address => uint16) private _balances;

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

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = uint16(_startTokenId());
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - uint16(_startTokenId());
        }
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_balances[owner]);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (address) {
        uint16 curr = uint16(tokenId);

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                if (_ownerships[curr] != address(0)) {
                    return _ownerships[curr];
                }
                // Invariant:
                // There will always be an ownership that has an address
                // before an ownership that does not have an address.
                // Hence, curr will not underflow.
                while (true) {
                    curr--;
                    if (_ownerships[curr] != address(0)) {
                        return _ownerships[curr];
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId);
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721AA.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[uint16(tokenId)];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint16 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        unchecked {
            _balances[to] += uint16(quantity);

            _ownerships[startTokenId] = to;

            uint16 updatedIndex = startTokenId;
            uint16 end = updatedIndex + uint16(quantity);

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

        if (_ownershipOf(tokenId) != from) revert TransferFromIncorrectOwner();

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _balances[from] -= 1;
            _balances[to] += 1;

            _ownerships[uint16(tokenId)] = to;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint16 nextTokenId = uint16(tokenId) + 1;
            if (_ownerships[nextTokenId] == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    _ownerships[nextTokenId] = from;
                }
            }
        }

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

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 3 of 14 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// Creator: Openzepplin 
// Optimizer: Xing @nelsonie

pragma solidity ^0.8.0;

library EnumerableSet {
    struct Uint16Set {
        // Storage of set values
        uint16[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(uint16 => uint16) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Uint16Set storage set, uint16 value) internal returns (bool) {
        if (!contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = uint16(set._values.length);
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Uint16Set storage set, uint16 value) internal returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint16 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint16 toDeleteIndex = valueIndex - 1;
            uint16 lastIndex = uint16(set._values.length) - 1;

            if (lastIndex != toDeleteIndex) {
                uint16 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Uint16Set storage set, uint16 value) internal view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(Uint16Set storage set) internal view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Uint16Set storage set, uint16 index) internal view returns (uint16) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Uint16Set storage set) internal view returns (uint16[] memory) {
        return set._values;
    }
}

File 4 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 5 of 14 : 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 14 : 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 14 : 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 8 of 14 : 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 9 of 14 : 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 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 14 : 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 12 of 14 : 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 13 of 14 : 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 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adminAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"calcProfit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint24","name":"_snapshotId","type":"uint24"},{"internalType":"address","name":"_owner","type":"address"}],"name":"claimProfit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint24","name":"_snapshotId","type":"uint24"},{"internalType":"uint16[]","name":"_tokenIdList","type":"uint16[]"}],"name":"claimProfitByToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkelRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ownerProfit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ownerTokenIdList","outputs":[{"internalType":"uint16[]","name":"","type":"uint16[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"pendingProfit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"profitRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_adminAddress","type":"address"}],"name":"setAdminAddress","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":"bytes32","name":"_merkelRoot","type":"bytes32"}],"name":"setMerkelRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_profitRatio","type":"uint256"}],"name":"setProfitRatio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_teamAddress","type":"address"}],"name":"setTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshotId","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"snapshotProfit","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":[],"name":"teamAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"teamClaimProfit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"teamMintFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"teamProfit","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"},{"stateMutability":"payable","type":"receive"}]

608060405273dacff5227793a31e98845dc5a9910d383e59f85d600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610968600d553480156200006c57600080fd5b506040518060400160405280600b81526020017f43726570746f20506173730000000000000000000000000000000000000000008152506040518060400160405280600781526020017f43524550415353000000000000000000000000000000000000000000000000008152508160019080519060200190620000f192919062000235565b5080600290805190602001906200010a92919062000235565b506200011b6200015e60201b60201c565b6000806101000a81548161ffff021916908361ffff1602179055505050620001586200014c6200016760201b60201c565b6200016f60201b60201c565b62000349565b60006001905090565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002439062000314565b90600052602060002090601f016020900481019282620002675760008555620002b3565b82601f106200028257805160ff1916838001178555620002b3565b82800160010185558215620002b3579182015b82811115620002b257825182559160200191906001019062000295565b5b509050620002c29190620002c6565b5090565b5b80821115620002e1576000816000905550600101620002c7565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200032d57607f821691505b602082108103620003435762000342620002e5565b5b50919050565b6158f180620003596000396000f3fe6080604052600436106102345760003560e01c80636690864e1161012e578063b5e115f5116100ab578063f2fde38b1161006f578063f2fde38b14610878578063f9540012146108a1578063fa80740b146108de578063fc6f946814610907578063fff5ea94146109325761023b565b8063b5e115f514610783578063b88d4fde146107ac578063c87b56dd146107d5578063e1accbc914610812578063e985e9c51461083b5761023b565b8063902d55a5116100f2578063902d55a51461069c57806395d89b41146106c75780639b3b762d146106f25780639c5e0b2a1461071d578063a22cb4651461075a5761023b565b80636690864e146105cb5780636abf7948146105f457806370a082311461061d578063715018a61461065a5780638da5cb5b146106715761023b565b806323c695b4116101bc578063438b7b9911610180578063438b7b99146104d657806345de0d9b146104ff578063487427e41461052857806357c60982146105655780636352211e1461058e5761023b565b806323c695b4146103f35780632906fde7146104305780632c1e816d146104595780632ddc79b71461048257806342842e0e146104ad5761023b565b80631618d139116102035780631618d1391461030e57806318160ddd146103375780631c75f085146103625780631e7269c51461038d57806323b872dd146103ca5761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613e44565b61095d565b6040516102749190613e8c565b60405180910390f35b34801561028957600080fd5b50610292610a3f565b60405161029f9190613f40565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613f98565b610ad1565b6040516102dc9190614006565b60405180910390f35b3480156102f157600080fd5b5061030c6004803603810190610307919061404d565b610b55565b005b34801561031a57600080fd5b50610335600480360381019061033091906140c8565b610c5f565b005b34801561034357600080fd5b5061034c610fb7565b6040516103599190614117565b60405180910390f35b34801561036e57600080fd5b50610377610fda565b6040516103849190614006565b60405180910390f35b34801561039957600080fd5b506103b460048036038101906103af9190614132565b611000565b6040516103c19190613e8c565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec919061415f565b611020565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190614132565b611030565b6040516104279190614117565b60405180910390f35b34801561043c57600080fd5b506104576004803603810190610452919061404d565b611217565b005b34801561046557600080fd5b50610480600480360381019061047b9190614132565b6112f8565b005b34801561048e57600080fd5b50610497611409565b6040516104a491906141c1565b60405180910390f35b3480156104b957600080fd5b506104d460048036038101906104cf919061415f565b61141e565b005b3480156104e257600080fd5b506104fd60048036038101906104f89190613f98565b61143e565b005b34801561050b57600080fd5b5061052660048036038101906105219190614241565b6114c4565b005b34801561053457600080fd5b5061054f600480360381019061054a9190614132565b6116c1565b60405161055c919061436d565b60405180910390f35b34801561057157600080fd5b5061058c60048036038101906105879190614132565b611711565b005b34801561059a57600080fd5b506105b560048036038101906105b09190613f98565b61185b565b6040516105c29190614006565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190614132565b61186d565b005b34801561060057600080fd5b5061061b60048036038101906106169190614132565b61192d565b005b34801561062957600080fd5b50610644600480360381019061063f9190614132565b611ca5565b6040516106519190614117565b60405180910390f35b34801561066657600080fd5b5061066f611d65565b005b34801561067d57600080fd5b50610686611ded565b6040516106939190614006565b60405180910390f35b3480156106a857600080fd5b506106b1611e17565b6040516106be9190614117565b60405180910390f35b3480156106d357600080fd5b506106dc611e1d565b6040516106e99190613f40565b60405180910390f35b3480156106fe57600080fd5b50610707611eaf565b60405161071491906143a8565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f9190614132565b611eb5565b6040516107519190614117565b60405180910390f35b34801561076657600080fd5b50610781600480360381019061077c91906143ef565b611ecd565b005b34801561078f57600080fd5b506107aa60048036038101906107a5919061445b565b612044565b005b3480156107b857600080fd5b506107d360048036038101906107ce91906145b8565b6120ca565b005b3480156107e157600080fd5b506107fc60048036038101906107f79190613f98565b612146565b6040516108099190613f40565b60405180910390f35b34801561081e57600080fd5b5061083960048036038101906108349190614132565b6121c9565b005b34801561084757600080fd5b50610862600480360381019061085d919061463b565b612357565b60405161086f9190613e8c565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a9190614132565b6123eb565b005b3480156108ad57600080fd5b506108c860048036038101906108c39190614132565b6124e2565b6040516108d59190614117565b60405180910390f35b3480156108ea57600080fd5b506109056004803603810190610900919061476a565b6124fa565b005b34801561091357600080fd5b5061091c61285b565b6040516109299190614006565b60405180910390f35b34801561093e57600080fd5b50610947612881565b6040516109549190614117565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a385750610a3782612887565b5b9050919050565b606060018054610a4e906147f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7a906147f5565b8015610ac75780601f10610a9c57610100808354040283529160200191610ac7565b820191906000526020600020905b815481529060010190602001808311610aaa57829003601f168201915b5050505050905090565b6000610adc826128f1565b610b12576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008361ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b608261185b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bc7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be6612922565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c185750610c1681610c11612922565b612357565b155b15610c4f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c5a83838361292a565b505050565b601160009054906101000a900462ffffff1662ffffff168262ffffff161115610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb490614872565b60405180910390fd5b6000610cc8826116c1565b90506000805b82518161ffff161015610df657601260008662ffffff1662ffffff1681526020019081526020016000206002016000848361ffff1681518110610d1457610d13614892565b5b602002602001015161ffff1661ffff16815260200190815260200160002060009054906101000a900460ff16610de3576001601260008762ffffff1662ffffff1681526020019081526020016000206002016000858461ffff1681518110610d7f57610d7e614892565b5b602002602001015161ffff1661ffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601260008662ffffff1662ffffff1681526020019081526020016000206001015482610de091906148f0565b91505b8080610dee90614946565b915050610cce565b5060008111610e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e31906149bc565b60405180910390fd5b80600f6000601260008862ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ec991906149dc565b925050819055508060106000601260008862ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f5f91906149dc565b92505081905550610fb1601260008662ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684836129e4565b50505050565b6000610fc1612b54565b60008054906101000a900461ffff160361ffff16905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a6020528060005260406000206000915054906101000a900460ff1681565b61102b838383612b5d565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361110157600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054476110f091906149dc565b6110fa91906149dc565b9050611212565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016111ba9190614006565b602060405180830381865afa1580156111d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fb9190614a25565b61120591906149dc565b61120f91906149dc565b90505b919050565b61121f612922565b73ffffffffffffffffffffffffffffffffffffffff1661123d611ded565b73ffffffffffffffffffffffffffffffffffffffff1614611293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128a90614a9e565b60405180910390fd5b6103388161129f610fb7565b6112a991906148f0565b11156112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190614b0a565b60405180910390fd5b6112f48282612fac565b5050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113865750611357611ded565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6113c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bc90614b76565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601160009054906101000a900462ffffff1681565b611439838383604051806020016040528060008152506120ca565b505050565b611446612922565b73ffffffffffffffffffffffffffffffffffffffff16611464611ded565b73ffffffffffffffffffffffffffffffffffffffff16146114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b190614a9e565b60405180910390fd5b80600d8190555050565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154890614be2565b60405180910390fd5b6103388161155d610fb7565b61156791906148f0565b11156115a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159f90614b0a565b60405180910390fd5b61161b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050503383604051602001611600929190614c6b565b60405160208183030381529060405280519060200120612fca565b61165a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165190614ce3565b60405180910390fd5b6001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116bc3382612fac565b505050565b606061170a600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612fe1565b9050919050565b600061171c82611030565b90506127108111611762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175990614d4f565b60405180910390fd5b600061033880600d54612710856117799190614d9e565b6117839190614dcf565b61178d9190614d9e565b6117979190614dcf565b9050600081836117a791906149dc565b905081600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117f891906148f0565b9250508190555080600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461184e91906148f0565b9250508190555050505050565b600061186682613065565b9050919050565b611875612922565b73ffffffffffffffffffffffffffffffffffffffff16611893611ded565b73ffffffffffffffffffffffffffffffffffffffff16146118e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e090614a9e565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119bb575061198c611ded565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6119fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f190614b76565b60405180910390fd5b670de0b6b3a7640000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a8d91906149dc565b11611acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac490614e75565b60405180910390fd5b6001601160008282829054906101000a900462ffffff16611aee9190614e95565b92506101000a81548162ffffff021916908362ffffff160217905550600060126000601160009054906101000a900462ffffff1662ffffff1662ffffff1681526020019081526020016000209050818160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610338601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c0c91906149dc565b611c169190614d9e565b8160010181905550600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d0c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff169050919050565b611d6d612922565b73ffffffffffffffffffffffffffffffffffffffff16611d8b611ded565b73ffffffffffffffffffffffffffffffffffffffff1614611de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd890614a9e565b60405180910390fd5b611deb6000613254565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61033881565b606060028054611e2c906147f5565b80601f0160208091040260200160405190810160405280929190818152602001828054611e58906147f5565b8015611ea55780601f10611e7a57610100808354040283529160200191611ea5565b820191906000526020600020905b815481529060010190602001808311611e8857829003601f168201915b5050505050905090565b60095481565b600e6020528060005260406000206000915090505481565b611ed5612922565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f39576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611f46612922565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ff3612922565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120389190613e8c565b60405180910390a35050565b61204c612922565b73ffffffffffffffffffffffffffffffffffffffff1661206a611ded565b73ffffffffffffffffffffffffffffffffffffffff16146120c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b790614a9e565b60405180910390fd5b8060098190555050565b6120d5848484612b5d565b6120f48373ffffffffffffffffffffffffffffffffffffffff1661331a565b801561210957506121078484848461333d565b155b15612140576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060612151826128f1565b612190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218790614f1a565b60405180910390fd5b6121998261348d565b6121a28361361e565b6040516020016121b3929190615118565b6040516020818303038152906040529050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361225a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612251906151a9565b60405180910390fd5b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081116122e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d890615215565b60405180910390fd5b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061235382600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836129e4565b5050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123f3612922565b73ffffffffffffffffffffffffffffffffffffffff16612411611ded565b73ffffffffffffffffffffffffffffffffffffffff1614612467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245e90614a9e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036124d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cd906152a7565b60405180910390fd5b6124df81613254565b50565b600f6020528060005260406000206000915090505481565b601160009054906101000a900462ffffff1662ffffff168262ffffff161115612558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254f90614872565b60405180910390fd5b60005b81518161ffff16101561285657601260008462ffffff1662ffffff1681526020019081526020016000206002016000838361ffff16815181106125a1576125a0614892565b5b602002602001015161ffff1661ffff16815260200190815260200160002060009054906101000a900460ff16612843576001601260008562ffffff1662ffffff1681526020019081526020016000206002016000848461ffff168151811061260c5761260b614892565b5b602002602001015161ffff1661ffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601260008462ffffff1662ffffff16815260200190815260200160002060010154600f6000601260008762ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126f091906149dc565b92505081905550601260008462ffffff1662ffffff1681526020019081526020016000206001015460106000601260008762ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127a691906149dc565b92505081905550612842601260008562ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661281c848461ffff168151811061280b5761280a614892565b5b602002602001015161ffff1661185b565b601260008762ffffff1662ffffff168152602001908152602001600020600101546129e4565b5b808061284e90614946565b91505061255b565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816128fc612b54565b1115801561291b575060008054906101000a900461ffff1661ffff1682105b9050919050565b600033905090565b82600560008461ffff1661ffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a91578173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050612a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8390615313565b60405180910390fd5b612b4f565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401612acc929190615392565b6020604051808303816000875af1158015612aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0f91906153d0565b612b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4590615449565b60405180910390fd5b5b505050565b60006001905090565b8273ffffffffffffffffffffffffffffffffffffffff16612b7d82613065565b73ffffffffffffffffffffffffffffffffffffffff1614612bca576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff16612beb612922565b73ffffffffffffffffffffffffffffffffffffffff161480612c1a5750612c1984612c14612922565b612357565b5b80612c5f5750612c28612922565b73ffffffffffffffffffffffffffffffffffffffff16612c4783610ad1565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612c98576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612cfe576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d0b848484600161364f565b612d176000838661292a565b6001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff160392506101000a81548161ffff021916908361ffff1602179055506001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff160192506101000a81548161ffff021916908361ffff16021790555082600360008461ffff1661ffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff16600360008361ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612f3d5760008054906101000a900461ffff1661ffff168161ffff1614612f3c5784600360008361ffff1661ffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b50818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fa68484846001613655565b50505050565b612fc682826040518060200160405280600081525061371e565b5050565b6000612fd98360095484613730565b905092915050565b60608160000180548060200260200160405190810160405280929190818152602001828054801561305957602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116130205790505b50505050509050919050565b6000808290508061ffff16613078612b54565b1115801561309b575060008054906101000a900461ffff1661ffff168161ffff16105b1561321d57600073ffffffffffffffffffffffffffffffffffffffff16600360008361ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461315357600360008261ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505061324f565b5b60011561321c57808060019003915050600073ffffffffffffffffffffffffffffffffffffffff16600360008361ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461321757600360008261ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505061324f565b613154565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613363612922565b8786866040518563ffffffff1660e01b815260040161338594939291906154be565b6020604051808303816000875af19250505080156133c157506040513d601f19601f820116820180604052508101906133be919061551f565b60015b61343a573d80600081146133f1576040519150601f19603f3d011682016040523d82523d6000602084013e6133f6565b606091505b506000815103613432576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000600367ffffffffffffffff8111156134ac576134ab61448d565b5b6040519080825280601f01601f1916602001820160405280156134de5781602001600182028036833780820191505090505b509050600a836134ee919061554c565b60306134fa91906148f0565b60f81b8160028151811061351157613510614892565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a808461354e9190614d9e565b613558919061554c565b603061356491906148f0565b60f81b8160018151811061357b5761357a614892565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a6064846135b99190614d9e565b6135c3919061554c565b60306135cf91906148f0565b60f81b816000815181106135e6576135e5614892565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080915050919050565b60606136298261348d565b60405160200161363991906157e3565b6040516020818303038152906040529050919050565b50505050565b60008290505b818361366791906148f0565b8161ffff161015613717576136ba600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082613747565b50613703600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208261390a565b50808061370f90614946565b91505061365b565b5050505050565b61372b83838360016139b9565b505050565b60008261373d8584613d0f565b1490509392505050565b6000808360010160008461ffff1661ffff16815260200190815260200160002060009054906101000a900461ffff16905060008161ffff16146138fe5760006001826137939190615810565b90506000600186600001805490506137ab9190615810565b90508161ffff168161ffff1614613882576000866000018261ffff16815481106137d8576137d7614892565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff16905080876000018461ffff168154811061381957613818614892565b5b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550838760010160008361ffff1661ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550505b8560000180548061389657613895615844565b5b60019003818190600052602060002090601091828204019190066002026101000a81549061ffff021916905590558560010160008661ffff1661ffff16815260200190815260200160002060006101000a81549061ffff021916905560019350505050613904565b60009150505b92915050565b60006139168383613d84565b6139ae57826000018290806001815401808255809150506001900390600052602060002090601091828204019190066002029091909190916101000a81548161ffff021916908361ffff16021790555082600001805490508360010160008461ffff1661ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550600190506139b3565b600090505b92915050565b60008060009054906101000a900461ffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613a33576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613a6d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613a7e6000868361ffff168761364f565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff160192506101000a81548161ffff021916908361ffff16021790555084600360008361ffff1661ffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600081905060008582019050838015613b795750613b788773ffffffffffffffffffffffffffffffffffffffff1661331a565b5b15613c62575b8161ffff168773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bf66000888480600101955061ffff168861333d565b613c2c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8061ffff168261ffff1603613b7f578261ffff1660008054906101000a900461ffff1661ffff1614613c5d57600080fd5b613cd9565b5b8180600101925061ffff168773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48061ffff168261ffff1603613c63575b816000806101000a81548161ffff021916908361ffff1602179055505050613d086000868361ffff1687613655565b5050505050565b60008082905060005b8451811015613d79576000858281518110613d3657613d35614892565b5b60200260200101519050808311613d5857613d518382613dc1565b9250613d65565b613d628184613dc1565b92505b508080613d7190615873565b915050613d18565b508091505092915050565b6000808360010160008461ffff1661ffff16815260200190815260200160002060009054906101000a900461ffff1661ffff161415905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e2181613dec565b8114613e2c57600080fd5b50565b600081359050613e3e81613e18565b92915050565b600060208284031215613e5a57613e59613de2565b5b6000613e6884828501613e2f565b91505092915050565b60008115159050919050565b613e8681613e71565b82525050565b6000602082019050613ea16000830184613e7d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613ee1578082015181840152602081019050613ec6565b83811115613ef0576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f1282613ea7565b613f1c8185613eb2565b9350613f2c818560208601613ec3565b613f3581613ef6565b840191505092915050565b60006020820190508181036000830152613f5a8184613f07565b905092915050565b6000819050919050565b613f7581613f62565b8114613f8057600080fd5b50565b600081359050613f9281613f6c565b92915050565b600060208284031215613fae57613fad613de2565b5b6000613fbc84828501613f83565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ff082613fc5565b9050919050565b61400081613fe5565b82525050565b600060208201905061401b6000830184613ff7565b92915050565b61402a81613fe5565b811461403557600080fd5b50565b60008135905061404781614021565b92915050565b6000806040838503121561406457614063613de2565b5b600061407285828601614038565b925050602061408385828601613f83565b9150509250929050565b600062ffffff82169050919050565b6140a58161408d565b81146140b057600080fd5b50565b6000813590506140c28161409c565b92915050565b600080604083850312156140df576140de613de2565b5b60006140ed858286016140b3565b92505060206140fe85828601614038565b9150509250929050565b61411181613f62565b82525050565b600060208201905061412c6000830184614108565b92915050565b60006020828403121561414857614147613de2565b5b600061415684828501614038565b91505092915050565b60008060006060848603121561417857614177613de2565b5b600061418686828701614038565b935050602061419786828701614038565b92505060406141a886828701613f83565b9150509250925092565b6141bb8161408d565b82525050565b60006020820190506141d660008301846141b2565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112614201576142006141dc565b5b8235905067ffffffffffffffff81111561421e5761421d6141e1565b5b60208301915083602082028301111561423a576142396141e6565b5b9250929050565b60008060006040848603121561425a57614259613de2565b5b600084013567ffffffffffffffff81111561427857614277613de7565b5b614284868287016141eb565b9350935050602061429786828701613f83565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600061ffff82169050919050565b6142e4816142cd565b82525050565b60006142f683836142db565b60208301905092915050565b6000602082019050919050565b600061431a826142a1565b61432481856142ac565b935061432f836142bd565b8060005b8381101561436057815161434788826142ea565b975061435283614302565b925050600181019050614333565b5085935050505092915050565b60006020820190508181036000830152614387818461430f565b905092915050565b6000819050919050565b6143a28161438f565b82525050565b60006020820190506143bd6000830184614399565b92915050565b6143cc81613e71565b81146143d757600080fd5b50565b6000813590506143e9816143c3565b92915050565b6000806040838503121561440657614405613de2565b5b600061441485828601614038565b9250506020614425858286016143da565b9150509250929050565b6144388161438f565b811461444357600080fd5b50565b6000813590506144558161442f565b92915050565b60006020828403121561447157614470613de2565b5b600061447f84828501614446565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144c582613ef6565b810181811067ffffffffffffffff821117156144e4576144e361448d565b5b80604052505050565b60006144f7613dd8565b905061450382826144bc565b919050565b600067ffffffffffffffff8211156145235761452261448d565b5b61452c82613ef6565b9050602081019050919050565b82818337600083830152505050565b600061455b61455684614508565b6144ed565b90508281526020810184848401111561457757614576614488565b5b614582848285614539565b509392505050565b600082601f83011261459f5761459e6141dc565b5b81356145af848260208601614548565b91505092915050565b600080600080608085870312156145d2576145d1613de2565b5b60006145e087828801614038565b94505060206145f187828801614038565b935050604061460287828801613f83565b925050606085013567ffffffffffffffff81111561462357614622613de7565b5b61462f8782880161458a565b91505092959194509250565b6000806040838503121561465257614651613de2565b5b600061466085828601614038565b925050602061467185828601614038565b9150509250929050565b600067ffffffffffffffff8211156146965761469561448d565b5b602082029050602081019050919050565b6146b0816142cd565b81146146bb57600080fd5b50565b6000813590506146cd816146a7565b92915050565b60006146e66146e18461467b565b6144ed565b90508083825260208201905060208402830185811115614709576147086141e6565b5b835b81811015614732578061471e88826146be565b84526020840193505060208101905061470b565b5050509392505050565b600082601f830112614751576147506141dc565b5b81356147618482602086016146d3565b91505092915050565b6000806040838503121561478157614780613de2565b5b600061478f858286016140b3565b925050602083013567ffffffffffffffff8111156147b0576147af613de7565b5b6147bc8582860161473c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061480d57607f821691505b6020821081036148205761481f6147c6565b5b50919050565b7f4e6f20736e617073686f742070726f6669740000000000000000000000000000600082015250565b600061485c601283613eb2565b915061486782614826565b602082019050919050565b6000602082019050818103600083015261488b8161484f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148fb82613f62565b915061490683613f62565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561493b5761493a6148c1565b5b828201905092915050565b6000614951826142cd565b915061ffff8203614965576149646148c1565b5b600182019050919050565b7f4f776e657220686173206e6f2070726f66697400000000000000000000000000600082015250565b60006149a6601383613eb2565b91506149b182614970565b602082019050919050565b600060208201905081810360008301526149d581614999565b9050919050565b60006149e782613f62565b91506149f283613f62565b925082821015614a0557614a046148c1565b5b828203905092915050565b600081519050614a1f81613f6c565b92915050565b600060208284031215614a3b57614a3a613de2565b5b6000614a4984828501614a10565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a88602083613eb2565b9150614a9382614a52565b602082019050919050565b60006020820190508181036000830152614ab781614a7b565b9050919050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b6000614af4601183613eb2565b9150614aff82614abe565b602082019050919050565b60006020820190508181036000830152614b2381614ae7565b9050919050565b7f43616c6c6572206973206e6f74206f776e6572206f722061646d696e00000000600082015250565b6000614b60601c83613eb2565b9150614b6b82614b2a565b602082019050919050565b60006020820190508181036000830152614b8f81614b53565b9050919050565b7f596f752068617665206d696e7465640000000000000000000000000000000000600082015250565b6000614bcc600f83613eb2565b9150614bd782614b96565b602082019050919050565b60006020820190508181036000830152614bfb81614bbf565b9050919050565b60008160601b9050919050565b6000614c1a82614c02565b9050919050565b6000614c2c82614c0f565b9050919050565b614c44614c3f82613fe5565b614c21565b82525050565b6000819050919050565b614c65614c6082613f62565b614c4a565b82525050565b6000614c778285614c33565b601482019150614c878284614c54565b6020820191508190509392505050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614ccd600d83613eb2565b9150614cd882614c97565b602082019050919050565b60006020820190508181036000830152614cfc81614cc0565b9050919050565b7f4d616b65206d6f72652070726f66697400000000000000000000000000000000600082015250565b6000614d39601083613eb2565b9150614d4482614d03565b602082019050919050565b60006020820190508181036000830152614d6881614d2c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614da982613f62565b9150614db483613f62565b925082614dc457614dc3614d6f565b5b828204905092915050565b6000614dda82613f62565b9150614de583613f62565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e1e57614e1d6148c1565b5b828202905092915050565b7f4e6f2070726f6669740000000000000000000000000000000000000000000000600082015250565b6000614e5f600983613eb2565b9150614e6a82614e29565b602082019050919050565b60006020820190508181036000830152614e8e81614e52565b9050919050565b6000614ea08261408d565b9150614eab8361408d565b92508262ffffff03821115614ec357614ec26148c1565b5b828201905092915050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614f04601183613eb2565b9150614f0f82614ece565b602082019050919050565b60006020820190508181036000830152614f3381614ef7565b9050919050565b600081905092915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d60008201527f65223a2243726570617373202300000000000000000000000000000000000000602082015250565b6000614fa1602d83614f3a565b9150614fac82614f45565b602d82019050919050565b6000614fc282613ea7565b614fcc8185614f3a565b9350614fdc818560208601613ec3565b80840191505092915050565b7f222c20226465736372697074696f6e223a2243726570746f20506173732c206160008201527f20486f6c64324561726e204e4654222c2022637265617465645f6279223a225860208201527f696e67222c2022696d616765223a22646174613a696d6167652f7376672b786d60408201527f6c3b757466382c00000000000000000000000000000000000000000000000000606082015250565b6000615090606783614f3a565b915061509b82614fe8565b606782019050919050565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224d60008201527f656d62657273686970222c2276616c7565223a2254727565227d5d7d00000000602082015250565b6000615102603c83614f3a565b915061510d826150a6565b603c82019050919050565b600061512382614f94565b915061512f8285614fb7565b915061513a82615083565b91506151468284614fb7565b9150615151826150f5565b91508190509392505050565b7f7465616d41646472657373206e6f742073657400000000000000000000000000600082015250565b6000615193601383613eb2565b915061519e8261515d565b602082019050919050565b600060208201905081810360008301526151c281615186565b9050919050565b7f4e6f207465616d2070726f666974000000000000000000000000000000000000600082015250565b60006151ff600e83613eb2565b915061520a826151c9565b602082019050919050565b6000602082019050818103600083015261522e816151f2565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615291602683613eb2565b915061529c82615235565b604082019050919050565b600060208201905081810360008301526152c081615284565b9050919050565b7f5472616e7366657220455448206661696c656400000000000000000000000000600082015250565b60006152fd601383613eb2565b9150615308826152c7565b602082019050919050565b6000602082019050818103600083015261532c816152f0565b9050919050565b6000819050919050565b600061535861535361534e84613fc5565b615333565b613fc5565b9050919050565b600061536a8261533d565b9050919050565b600061537c8261535f565b9050919050565b61538c81615371565b82525050565b60006040820190506153a76000830185615383565b6153b46020830184614108565b9392505050565b6000815190506153ca816143c3565b92915050565b6000602082840312156153e6576153e5613de2565b5b60006153f4848285016153bb565b91505092915050565b7f5472616e7366657220546f6b656e206661696c65640000000000000000000000600082015250565b6000615433601583613eb2565b915061543e826153fd565b602082019050919050565b6000602082019050818103600083015261546281615426565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061549082615469565b61549a8185615474565b93506154aa818560208601613ec3565b6154b381613ef6565b840191505092915050565b60006080820190506154d36000830187613ff7565b6154e06020830186613ff7565b6154ed6040830185614108565b81810360608301526154ff8184615485565b905095945050505050565b60008151905061551981613e18565b92915050565b60006020828403121561553557615534613de2565b5b60006155438482850161550a565b91505092915050565b600061555782613f62565b915061556283613f62565b92508261557257615571614d6f565b5b828206905092915050565b7f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667272077696474683d2738323427206865696768743d273438302760208201527f3e3c7374796c653e406b65796672616d6573206f7b313030257b6f706163697460408201527f793a307d7d746578747b66696c6c3a676f6c643b7d2e667b77696474683a313060608201527f30253b6865696768743a313030257d2e617b616e696d6174696f6e3a6f20357360808201527f20656173652d6f757420666f7277617264737d3c2f7374796c653e3c7265637460a08201527f20636c6173733d2766272f3e3c737667206f766572666c6f773d27766973696260c08201527f6c65273e3c7465787420783d273431322720793d2732343027207374796c653d60e08201527f27666f6e742d73697a653a383070783b746578742d616e63686f723a6d6964646101008201527f6c65273e43524550544f20504153533c2f746578743e3c7465787420783d27366101208201527f32342720793d2734303027207374796c653d27666f6e742d73697a653a3234706101408201527f78273e4e4f2e200000000000000000000000000000000000000000000000000061016082015250565b600061575a61016783614f3a565b91506157658261557d565b61016782019050919050565b7f3c2f746578743e3c2f7376673e3c7265637420636c6173733d27662061272f3e60008201527f3c2f7376673e0000000000000000000000000000000000000000000000000000602082015250565b60006157cd602683614f3a565b91506157d882615771565b602682019050919050565b60006157ee8261574c565b91506157fa8284614fb7565b9150615805826157c0565b915081905092915050565b600061581b826142cd565b9150615826836142cd565b925082821015615839576158386148c1565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600061587e82613f62565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036158b0576158af6148c1565b5b60018201905091905056fea26469706673582212202fda0e661fd7b6e6fcbf8951650ff323cbadae75179d1c4092339df1cdf2ddd464736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106102345760003560e01c80636690864e1161012e578063b5e115f5116100ab578063f2fde38b1161006f578063f2fde38b14610878578063f9540012146108a1578063fa80740b146108de578063fc6f946814610907578063fff5ea94146109325761023b565b8063b5e115f514610783578063b88d4fde146107ac578063c87b56dd146107d5578063e1accbc914610812578063e985e9c51461083b5761023b565b8063902d55a5116100f2578063902d55a51461069c57806395d89b41146106c75780639b3b762d146106f25780639c5e0b2a1461071d578063a22cb4651461075a5761023b565b80636690864e146105cb5780636abf7948146105f457806370a082311461061d578063715018a61461065a5780638da5cb5b146106715761023b565b806323c695b4116101bc578063438b7b9911610180578063438b7b99146104d657806345de0d9b146104ff578063487427e41461052857806357c60982146105655780636352211e1461058e5761023b565b806323c695b4146103f35780632906fde7146104305780632c1e816d146104595780632ddc79b71461048257806342842e0e146104ad5761023b565b80631618d139116102035780631618d1391461030e57806318160ddd146103375780631c75f085146103625780631e7269c51461038d57806323b872dd146103ca5761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613e44565b61095d565b6040516102749190613e8c565b60405180910390f35b34801561028957600080fd5b50610292610a3f565b60405161029f9190613f40565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613f98565b610ad1565b6040516102dc9190614006565b60405180910390f35b3480156102f157600080fd5b5061030c6004803603810190610307919061404d565b610b55565b005b34801561031a57600080fd5b50610335600480360381019061033091906140c8565b610c5f565b005b34801561034357600080fd5b5061034c610fb7565b6040516103599190614117565b60405180910390f35b34801561036e57600080fd5b50610377610fda565b6040516103849190614006565b60405180910390f35b34801561039957600080fd5b506103b460048036038101906103af9190614132565b611000565b6040516103c19190613e8c565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec919061415f565b611020565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190614132565b611030565b6040516104279190614117565b60405180910390f35b34801561043c57600080fd5b506104576004803603810190610452919061404d565b611217565b005b34801561046557600080fd5b50610480600480360381019061047b9190614132565b6112f8565b005b34801561048e57600080fd5b50610497611409565b6040516104a491906141c1565b60405180910390f35b3480156104b957600080fd5b506104d460048036038101906104cf919061415f565b61141e565b005b3480156104e257600080fd5b506104fd60048036038101906104f89190613f98565b61143e565b005b34801561050b57600080fd5b5061052660048036038101906105219190614241565b6114c4565b005b34801561053457600080fd5b5061054f600480360381019061054a9190614132565b6116c1565b60405161055c919061436d565b60405180910390f35b34801561057157600080fd5b5061058c60048036038101906105879190614132565b611711565b005b34801561059a57600080fd5b506105b560048036038101906105b09190613f98565b61185b565b6040516105c29190614006565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190614132565b61186d565b005b34801561060057600080fd5b5061061b60048036038101906106169190614132565b61192d565b005b34801561062957600080fd5b50610644600480360381019061063f9190614132565b611ca5565b6040516106519190614117565b60405180910390f35b34801561066657600080fd5b5061066f611d65565b005b34801561067d57600080fd5b50610686611ded565b6040516106939190614006565b60405180910390f35b3480156106a857600080fd5b506106b1611e17565b6040516106be9190614117565b60405180910390f35b3480156106d357600080fd5b506106dc611e1d565b6040516106e99190613f40565b60405180910390f35b3480156106fe57600080fd5b50610707611eaf565b60405161071491906143a8565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f9190614132565b611eb5565b6040516107519190614117565b60405180910390f35b34801561076657600080fd5b50610781600480360381019061077c91906143ef565b611ecd565b005b34801561078f57600080fd5b506107aa60048036038101906107a5919061445b565b612044565b005b3480156107b857600080fd5b506107d360048036038101906107ce91906145b8565b6120ca565b005b3480156107e157600080fd5b506107fc60048036038101906107f79190613f98565b612146565b6040516108099190613f40565b60405180910390f35b34801561081e57600080fd5b5061083960048036038101906108349190614132565b6121c9565b005b34801561084757600080fd5b50610862600480360381019061085d919061463b565b612357565b60405161086f9190613e8c565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a9190614132565b6123eb565b005b3480156108ad57600080fd5b506108c860048036038101906108c39190614132565b6124e2565b6040516108d59190614117565b60405180910390f35b3480156108ea57600080fd5b506109056004803603810190610900919061476a565b6124fa565b005b34801561091357600080fd5b5061091c61285b565b6040516109299190614006565b60405180910390f35b34801561093e57600080fd5b50610947612881565b6040516109549190614117565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a385750610a3782612887565b5b9050919050565b606060018054610a4e906147f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7a906147f5565b8015610ac75780601f10610a9c57610100808354040283529160200191610ac7565b820191906000526020600020905b815481529060010190602001808311610aaa57829003601f168201915b5050505050905090565b6000610adc826128f1565b610b12576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008361ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b608261185b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bc7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be6612922565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c185750610c1681610c11612922565b612357565b155b15610c4f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c5a83838361292a565b505050565b601160009054906101000a900462ffffff1662ffffff168262ffffff161115610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb490614872565b60405180910390fd5b6000610cc8826116c1565b90506000805b82518161ffff161015610df657601260008662ffffff1662ffffff1681526020019081526020016000206002016000848361ffff1681518110610d1457610d13614892565b5b602002602001015161ffff1661ffff16815260200190815260200160002060009054906101000a900460ff16610de3576001601260008762ffffff1662ffffff1681526020019081526020016000206002016000858461ffff1681518110610d7f57610d7e614892565b5b602002602001015161ffff1661ffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601260008662ffffff1662ffffff1681526020019081526020016000206001015482610de091906148f0565b91505b8080610dee90614946565b915050610cce565b5060008111610e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e31906149bc565b60405180910390fd5b80600f6000601260008862ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ec991906149dc565b925050819055508060106000601260008862ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f5f91906149dc565b92505081905550610fb1601260008662ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684836129e4565b50505050565b6000610fc1612b54565b60008054906101000a900461ffff160361ffff16905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a6020528060005260406000206000915054906101000a900460ff1681565b61102b838383612b5d565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361110157600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054476110f091906149dc565b6110fa91906149dc565b9050611212565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016111ba9190614006565b602060405180830381865afa1580156111d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fb9190614a25565b61120591906149dc565b61120f91906149dc565b90505b919050565b61121f612922565b73ffffffffffffffffffffffffffffffffffffffff1661123d611ded565b73ffffffffffffffffffffffffffffffffffffffff1614611293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128a90614a9e565b60405180910390fd5b6103388161129f610fb7565b6112a991906148f0565b11156112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190614b0a565b60405180910390fd5b6112f48282612fac565b5050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113865750611357611ded565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6113c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bc90614b76565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601160009054906101000a900462ffffff1681565b611439838383604051806020016040528060008152506120ca565b505050565b611446612922565b73ffffffffffffffffffffffffffffffffffffffff16611464611ded565b73ffffffffffffffffffffffffffffffffffffffff16146114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b190614a9e565b60405180910390fd5b80600d8190555050565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154890614be2565b60405180910390fd5b6103388161155d610fb7565b61156791906148f0565b11156115a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159f90614b0a565b60405180910390fd5b61161b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050503383604051602001611600929190614c6b565b60405160208183030381529060405280519060200120612fca565b61165a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165190614ce3565b60405180910390fd5b6001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506116bc3382612fac565b505050565b606061170a600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612fe1565b9050919050565b600061171c82611030565b90506127108111611762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175990614d4f565b60405180910390fd5b600061033880600d54612710856117799190614d9e565b6117839190614dcf565b61178d9190614d9e565b6117979190614dcf565b9050600081836117a791906149dc565b905081600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117f891906148f0565b9250508190555080600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461184e91906148f0565b9250508190555050505050565b600061186682613065565b9050919050565b611875612922565b73ffffffffffffffffffffffffffffffffffffffff16611893611ded565b73ffffffffffffffffffffffffffffffffffffffff16146118e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e090614a9e565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119bb575061198c611ded565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6119fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f190614b76565b60405180910390fd5b670de0b6b3a7640000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a8d91906149dc565b11611acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac490614e75565b60405180910390fd5b6001601160008282829054906101000a900462ffffff16611aee9190614e95565b92506101000a81548162ffffff021916908362ffffff160217905550600060126000601160009054906101000a900462ffffff1662ffffff1662ffffff1681526020019081526020016000209050818160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610338601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c0c91906149dc565b611c169190614d9e565b8160010181905550600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d0c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff169050919050565b611d6d612922565b73ffffffffffffffffffffffffffffffffffffffff16611d8b611ded565b73ffffffffffffffffffffffffffffffffffffffff1614611de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd890614a9e565b60405180910390fd5b611deb6000613254565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61033881565b606060028054611e2c906147f5565b80601f0160208091040260200160405190810160405280929190818152602001828054611e58906147f5565b8015611ea55780601f10611e7a57610100808354040283529160200191611ea5565b820191906000526020600020905b815481529060010190602001808311611e8857829003601f168201915b5050505050905090565b60095481565b600e6020528060005260406000206000915090505481565b611ed5612922565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f39576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611f46612922565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ff3612922565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120389190613e8c565b60405180910390a35050565b61204c612922565b73ffffffffffffffffffffffffffffffffffffffff1661206a611ded565b73ffffffffffffffffffffffffffffffffffffffff16146120c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b790614a9e565b60405180910390fd5b8060098190555050565b6120d5848484612b5d565b6120f48373ffffffffffffffffffffffffffffffffffffffff1661331a565b801561210957506121078484848461333d565b155b15612140576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060612151826128f1565b612190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218790614f1a565b60405180910390fd5b6121998261348d565b6121a28361361e565b6040516020016121b3929190615118565b6040516020818303038152906040529050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361225a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612251906151a9565b60405180910390fd5b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081116122e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d890615215565b60405180910390fd5b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061235382600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836129e4565b5050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123f3612922565b73ffffffffffffffffffffffffffffffffffffffff16612411611ded565b73ffffffffffffffffffffffffffffffffffffffff1614612467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245e90614a9e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036124d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cd906152a7565b60405180910390fd5b6124df81613254565b50565b600f6020528060005260406000206000915090505481565b601160009054906101000a900462ffffff1662ffffff168262ffffff161115612558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254f90614872565b60405180910390fd5b60005b81518161ffff16101561285657601260008462ffffff1662ffffff1681526020019081526020016000206002016000838361ffff16815181106125a1576125a0614892565b5b602002602001015161ffff1661ffff16815260200190815260200160002060009054906101000a900460ff16612843576001601260008562ffffff1662ffffff1681526020019081526020016000206002016000848461ffff168151811061260c5761260b614892565b5b602002602001015161ffff1661ffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601260008462ffffff1662ffffff16815260200190815260200160002060010154600f6000601260008762ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126f091906149dc565b92505081905550601260008462ffffff1662ffffff1681526020019081526020016000206001015460106000601260008762ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127a691906149dc565b92505081905550612842601260008562ffffff1662ffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661281c848461ffff168151811061280b5761280a614892565b5b602002602001015161ffff1661185b565b601260008762ffffff1662ffffff168152602001908152602001600020600101546129e4565b5b808061284e90614946565b91505061255b565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816128fc612b54565b1115801561291b575060008054906101000a900461ffff1661ffff1682105b9050919050565b600033905090565b82600560008461ffff1661ffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a91578173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050612a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8390615313565b60405180910390fd5b612b4f565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401612acc929190615392565b6020604051808303816000875af1158015612aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0f91906153d0565b612b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4590615449565b60405180910390fd5b5b505050565b60006001905090565b8273ffffffffffffffffffffffffffffffffffffffff16612b7d82613065565b73ffffffffffffffffffffffffffffffffffffffff1614612bca576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff16612beb612922565b73ffffffffffffffffffffffffffffffffffffffff161480612c1a5750612c1984612c14612922565b612357565b5b80612c5f5750612c28612922565b73ffffffffffffffffffffffffffffffffffffffff16612c4783610ad1565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612c98576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612cfe576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d0b848484600161364f565b612d176000838661292a565b6001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff160392506101000a81548161ffff021916908361ffff1602179055506001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff160192506101000a81548161ffff021916908361ffff16021790555082600360008461ffff1661ffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff16600360008361ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612f3d5760008054906101000a900461ffff1661ffff168161ffff1614612f3c5784600360008361ffff1661ffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b50818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fa68484846001613655565b50505050565b612fc682826040518060200160405280600081525061371e565b5050565b6000612fd98360095484613730565b905092915050565b60608160000180548060200260200160405190810160405280929190818152602001828054801561305957602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116130205790505b50505050509050919050565b6000808290508061ffff16613078612b54565b1115801561309b575060008054906101000a900461ffff1661ffff168161ffff16105b1561321d57600073ffffffffffffffffffffffffffffffffffffffff16600360008361ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461315357600360008261ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505061324f565b5b60011561321c57808060019003915050600073ffffffffffffffffffffffffffffffffffffffff16600360008361ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461321757600360008261ffff1661ffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505061324f565b613154565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613363612922565b8786866040518563ffffffff1660e01b815260040161338594939291906154be565b6020604051808303816000875af19250505080156133c157506040513d601f19601f820116820180604052508101906133be919061551f565b60015b61343a573d80600081146133f1576040519150601f19603f3d011682016040523d82523d6000602084013e6133f6565b606091505b506000815103613432576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000600367ffffffffffffffff8111156134ac576134ab61448d565b5b6040519080825280601f01601f1916602001820160405280156134de5781602001600182028036833780820191505090505b509050600a836134ee919061554c565b60306134fa91906148f0565b60f81b8160028151811061351157613510614892565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a808461354e9190614d9e565b613558919061554c565b603061356491906148f0565b60f81b8160018151811061357b5761357a614892565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a6064846135b99190614d9e565b6135c3919061554c565b60306135cf91906148f0565b60f81b816000815181106135e6576135e5614892565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080915050919050565b60606136298261348d565b60405160200161363991906157e3565b6040516020818303038152906040529050919050565b50505050565b60008290505b818361366791906148f0565b8161ffff161015613717576136ba600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082613747565b50613703600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208261390a565b50808061370f90614946565b91505061365b565b5050505050565b61372b83838360016139b9565b505050565b60008261373d8584613d0f565b1490509392505050565b6000808360010160008461ffff1661ffff16815260200190815260200160002060009054906101000a900461ffff16905060008161ffff16146138fe5760006001826137939190615810565b90506000600186600001805490506137ab9190615810565b90508161ffff168161ffff1614613882576000866000018261ffff16815481106137d8576137d7614892565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff16905080876000018461ffff168154811061381957613818614892565b5b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550838760010160008361ffff1661ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550505b8560000180548061389657613895615844565b5b60019003818190600052602060002090601091828204019190066002026101000a81549061ffff021916905590558560010160008661ffff1661ffff16815260200190815260200160002060006101000a81549061ffff021916905560019350505050613904565b60009150505b92915050565b60006139168383613d84565b6139ae57826000018290806001815401808255809150506001900390600052602060002090601091828204019190066002029091909190916101000a81548161ffff021916908361ffff16021790555082600001805490508360010160008461ffff1661ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550600190506139b3565b600090505b92915050565b60008060009054906101000a900461ffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613a33576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613a6d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613a7e6000868361ffff168761364f565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff160192506101000a81548161ffff021916908361ffff16021790555084600360008361ffff1661ffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600081905060008582019050838015613b795750613b788773ffffffffffffffffffffffffffffffffffffffff1661331a565b5b15613c62575b8161ffff168773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bf66000888480600101955061ffff168861333d565b613c2c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8061ffff168261ffff1603613b7f578261ffff1660008054906101000a900461ffff1661ffff1614613c5d57600080fd5b613cd9565b5b8180600101925061ffff168773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48061ffff168261ffff1603613c63575b816000806101000a81548161ffff021916908361ffff1602179055505050613d086000868361ffff1687613655565b5050505050565b60008082905060005b8451811015613d79576000858281518110613d3657613d35614892565b5b60200260200101519050808311613d5857613d518382613dc1565b9250613d65565b613d628184613dc1565b92505b508080613d7190615873565b915050613d18565b508091505092915050565b6000808360010160008461ffff1661ffff16815260200190815260200160002060009054906101000a900461ffff1661ffff161415905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e2181613dec565b8114613e2c57600080fd5b50565b600081359050613e3e81613e18565b92915050565b600060208284031215613e5a57613e59613de2565b5b6000613e6884828501613e2f565b91505092915050565b60008115159050919050565b613e8681613e71565b82525050565b6000602082019050613ea16000830184613e7d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613ee1578082015181840152602081019050613ec6565b83811115613ef0576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f1282613ea7565b613f1c8185613eb2565b9350613f2c818560208601613ec3565b613f3581613ef6565b840191505092915050565b60006020820190508181036000830152613f5a8184613f07565b905092915050565b6000819050919050565b613f7581613f62565b8114613f8057600080fd5b50565b600081359050613f9281613f6c565b92915050565b600060208284031215613fae57613fad613de2565b5b6000613fbc84828501613f83565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ff082613fc5565b9050919050565b61400081613fe5565b82525050565b600060208201905061401b6000830184613ff7565b92915050565b61402a81613fe5565b811461403557600080fd5b50565b60008135905061404781614021565b92915050565b6000806040838503121561406457614063613de2565b5b600061407285828601614038565b925050602061408385828601613f83565b9150509250929050565b600062ffffff82169050919050565b6140a58161408d565b81146140b057600080fd5b50565b6000813590506140c28161409c565b92915050565b600080604083850312156140df576140de613de2565b5b60006140ed858286016140b3565b92505060206140fe85828601614038565b9150509250929050565b61411181613f62565b82525050565b600060208201905061412c6000830184614108565b92915050565b60006020828403121561414857614147613de2565b5b600061415684828501614038565b91505092915050565b60008060006060848603121561417857614177613de2565b5b600061418686828701614038565b935050602061419786828701614038565b92505060406141a886828701613f83565b9150509250925092565b6141bb8161408d565b82525050565b60006020820190506141d660008301846141b2565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112614201576142006141dc565b5b8235905067ffffffffffffffff81111561421e5761421d6141e1565b5b60208301915083602082028301111561423a576142396141e6565b5b9250929050565b60008060006040848603121561425a57614259613de2565b5b600084013567ffffffffffffffff81111561427857614277613de7565b5b614284868287016141eb565b9350935050602061429786828701613f83565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600061ffff82169050919050565b6142e4816142cd565b82525050565b60006142f683836142db565b60208301905092915050565b6000602082019050919050565b600061431a826142a1565b61432481856142ac565b935061432f836142bd565b8060005b8381101561436057815161434788826142ea565b975061435283614302565b925050600181019050614333565b5085935050505092915050565b60006020820190508181036000830152614387818461430f565b905092915050565b6000819050919050565b6143a28161438f565b82525050565b60006020820190506143bd6000830184614399565b92915050565b6143cc81613e71565b81146143d757600080fd5b50565b6000813590506143e9816143c3565b92915050565b6000806040838503121561440657614405613de2565b5b600061441485828601614038565b9250506020614425858286016143da565b9150509250929050565b6144388161438f565b811461444357600080fd5b50565b6000813590506144558161442f565b92915050565b60006020828403121561447157614470613de2565b5b600061447f84828501614446565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144c582613ef6565b810181811067ffffffffffffffff821117156144e4576144e361448d565b5b80604052505050565b60006144f7613dd8565b905061450382826144bc565b919050565b600067ffffffffffffffff8211156145235761452261448d565b5b61452c82613ef6565b9050602081019050919050565b82818337600083830152505050565b600061455b61455684614508565b6144ed565b90508281526020810184848401111561457757614576614488565b5b614582848285614539565b509392505050565b600082601f83011261459f5761459e6141dc565b5b81356145af848260208601614548565b91505092915050565b600080600080608085870312156145d2576145d1613de2565b5b60006145e087828801614038565b94505060206145f187828801614038565b935050604061460287828801613f83565b925050606085013567ffffffffffffffff81111561462357614622613de7565b5b61462f8782880161458a565b91505092959194509250565b6000806040838503121561465257614651613de2565b5b600061466085828601614038565b925050602061467185828601614038565b9150509250929050565b600067ffffffffffffffff8211156146965761469561448d565b5b602082029050602081019050919050565b6146b0816142cd565b81146146bb57600080fd5b50565b6000813590506146cd816146a7565b92915050565b60006146e66146e18461467b565b6144ed565b90508083825260208201905060208402830185811115614709576147086141e6565b5b835b81811015614732578061471e88826146be565b84526020840193505060208101905061470b565b5050509392505050565b600082601f830112614751576147506141dc565b5b81356147618482602086016146d3565b91505092915050565b6000806040838503121561478157614780613de2565b5b600061478f858286016140b3565b925050602083013567ffffffffffffffff8111156147b0576147af613de7565b5b6147bc8582860161473c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061480d57607f821691505b6020821081036148205761481f6147c6565b5b50919050565b7f4e6f20736e617073686f742070726f6669740000000000000000000000000000600082015250565b600061485c601283613eb2565b915061486782614826565b602082019050919050565b6000602082019050818103600083015261488b8161484f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148fb82613f62565b915061490683613f62565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561493b5761493a6148c1565b5b828201905092915050565b6000614951826142cd565b915061ffff8203614965576149646148c1565b5b600182019050919050565b7f4f776e657220686173206e6f2070726f66697400000000000000000000000000600082015250565b60006149a6601383613eb2565b91506149b182614970565b602082019050919050565b600060208201905081810360008301526149d581614999565b9050919050565b60006149e782613f62565b91506149f283613f62565b925082821015614a0557614a046148c1565b5b828203905092915050565b600081519050614a1f81613f6c565b92915050565b600060208284031215614a3b57614a3a613de2565b5b6000614a4984828501614a10565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a88602083613eb2565b9150614a9382614a52565b602082019050919050565b60006020820190508181036000830152614ab781614a7b565b9050919050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b6000614af4601183613eb2565b9150614aff82614abe565b602082019050919050565b60006020820190508181036000830152614b2381614ae7565b9050919050565b7f43616c6c6572206973206e6f74206f776e6572206f722061646d696e00000000600082015250565b6000614b60601c83613eb2565b9150614b6b82614b2a565b602082019050919050565b60006020820190508181036000830152614b8f81614b53565b9050919050565b7f596f752068617665206d696e7465640000000000000000000000000000000000600082015250565b6000614bcc600f83613eb2565b9150614bd782614b96565b602082019050919050565b60006020820190508181036000830152614bfb81614bbf565b9050919050565b60008160601b9050919050565b6000614c1a82614c02565b9050919050565b6000614c2c82614c0f565b9050919050565b614c44614c3f82613fe5565b614c21565b82525050565b6000819050919050565b614c65614c6082613f62565b614c4a565b82525050565b6000614c778285614c33565b601482019150614c878284614c54565b6020820191508190509392505050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614ccd600d83613eb2565b9150614cd882614c97565b602082019050919050565b60006020820190508181036000830152614cfc81614cc0565b9050919050565b7f4d616b65206d6f72652070726f66697400000000000000000000000000000000600082015250565b6000614d39601083613eb2565b9150614d4482614d03565b602082019050919050565b60006020820190508181036000830152614d6881614d2c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614da982613f62565b9150614db483613f62565b925082614dc457614dc3614d6f565b5b828204905092915050565b6000614dda82613f62565b9150614de583613f62565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e1e57614e1d6148c1565b5b828202905092915050565b7f4e6f2070726f6669740000000000000000000000000000000000000000000000600082015250565b6000614e5f600983613eb2565b9150614e6a82614e29565b602082019050919050565b60006020820190508181036000830152614e8e81614e52565b9050919050565b6000614ea08261408d565b9150614eab8361408d565b92508262ffffff03821115614ec357614ec26148c1565b5b828201905092915050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614f04601183613eb2565b9150614f0f82614ece565b602082019050919050565b60006020820190508181036000830152614f3381614ef7565b9050919050565b600081905092915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d60008201527f65223a2243726570617373202300000000000000000000000000000000000000602082015250565b6000614fa1602d83614f3a565b9150614fac82614f45565b602d82019050919050565b6000614fc282613ea7565b614fcc8185614f3a565b9350614fdc818560208601613ec3565b80840191505092915050565b7f222c20226465736372697074696f6e223a2243726570746f20506173732c206160008201527f20486f6c64324561726e204e4654222c2022637265617465645f6279223a225860208201527f696e67222c2022696d616765223a22646174613a696d6167652f7376672b786d60408201527f6c3b757466382c00000000000000000000000000000000000000000000000000606082015250565b6000615090606783614f3a565b915061509b82614fe8565b606782019050919050565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224d60008201527f656d62657273686970222c2276616c7565223a2254727565227d5d7d00000000602082015250565b6000615102603c83614f3a565b915061510d826150a6565b603c82019050919050565b600061512382614f94565b915061512f8285614fb7565b915061513a82615083565b91506151468284614fb7565b9150615151826150f5565b91508190509392505050565b7f7465616d41646472657373206e6f742073657400000000000000000000000000600082015250565b6000615193601383613eb2565b915061519e8261515d565b602082019050919050565b600060208201905081810360008301526151c281615186565b9050919050565b7f4e6f207465616d2070726f666974000000000000000000000000000000000000600082015250565b60006151ff600e83613eb2565b915061520a826151c9565b602082019050919050565b6000602082019050818103600083015261522e816151f2565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615291602683613eb2565b915061529c82615235565b604082019050919050565b600060208201905081810360008301526152c081615284565b9050919050565b7f5472616e7366657220455448206661696c656400000000000000000000000000600082015250565b60006152fd601383613eb2565b9150615308826152c7565b602082019050919050565b6000602082019050818103600083015261532c816152f0565b9050919050565b6000819050919050565b600061535861535361534e84613fc5565b615333565b613fc5565b9050919050565b600061536a8261533d565b9050919050565b600061537c8261535f565b9050919050565b61538c81615371565b82525050565b60006040820190506153a76000830185615383565b6153b46020830184614108565b9392505050565b6000815190506153ca816143c3565b92915050565b6000602082840312156153e6576153e5613de2565b5b60006153f4848285016153bb565b91505092915050565b7f5472616e7366657220546f6b656e206661696c65640000000000000000000000600082015250565b6000615433601583613eb2565b915061543e826153fd565b602082019050919050565b6000602082019050818103600083015261546281615426565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061549082615469565b61549a8185615474565b93506154aa818560208601613ec3565b6154b381613ef6565b840191505092915050565b60006080820190506154d36000830187613ff7565b6154e06020830186613ff7565b6154ed6040830185614108565b81810360608301526154ff8184615485565b905095945050505050565b60008151905061551981613e18565b92915050565b60006020828403121561553557615534613de2565b5b60006155438482850161550a565b91505092915050565b600061555782613f62565b915061556283613f62565b92508261557257615571614d6f565b5b828206905092915050565b7f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667272077696474683d2738323427206865696768743d273438302760208201527f3e3c7374796c653e406b65796672616d6573206f7b313030257b6f706163697460408201527f793a307d7d746578747b66696c6c3a676f6c643b7d2e667b77696474683a313060608201527f30253b6865696768743a313030257d2e617b616e696d6174696f6e3a6f20357360808201527f20656173652d6f757420666f7277617264737d3c2f7374796c653e3c7265637460a08201527f20636c6173733d2766272f3e3c737667206f766572666c6f773d27766973696260c08201527f6c65273e3c7465787420783d273431322720793d2732343027207374796c653d60e08201527f27666f6e742d73697a653a383070783b746578742d616e63686f723a6d6964646101008201527f6c65273e43524550544f20504153533c2f746578743e3c7465787420783d27366101208201527f32342720793d2734303027207374796c653d27666f6e742d73697a653a3234706101408201527f78273e4e4f2e200000000000000000000000000000000000000000000000000061016082015250565b600061575a61016783614f3a565b91506157658261557d565b61016782019050919050565b7f3c2f746578743e3c2f7376673e3c7265637420636c6173733d27662061272f3e60008201527f3c2f7376673e0000000000000000000000000000000000000000000000000000602082015250565b60006157cd602683614f3a565b91506157d882615771565b602682019050919050565b60006157ee8261574c565b91506157fa8284614fb7565b9150615805826157c0565b915081905092915050565b600061581b826142cd565b9150615826836142cd565b925082821015615839576158386148c1565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600061587e82613f62565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036158b0576158af6148c1565b5b60018201905091905056fea26469706673582212202fda0e661fd7b6e6fcbf8951650ff323cbadae75179d1c4092339df1cdf2ddd464736f6c634300080d0033

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.