ETH Price: $3,211.88 (-13.33%)

Token

IdolGoldlist (GOLDLIST)
 

Overview

Max Total Supply

810 GOLDLIST

Holders

176

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 GOLDLIST
0x2613986a092a77c2f8290ea7486cb8e03ed15dbe
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:
IdolGoldlist

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : IdolGoldlist.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

/**
  @notice IdolGoldlist is an ERC721A contract that allows NFT holders to claim a portion of the
    VIRTUE rewards that have been allocated to the contract. The initial minting of the Goldlist
    NFTs is authenticated using a Merkle Tree proof.
*/
contract IdolGoldlist is ERC721A, ReentrancyGuard, Ownable {
  // merkleRoot is the value of the root of the Merkle Tree being used for authenticating mints.
  bytes32 public merkleRoot;

  // virtueToken contains a reference to the ERC20 contract for the VIRTUE token.
  IERC20 virtueToken;

  // rewardPerGoldlistToken tracks the cumulative amount of VIRTUE awarded to each Goldlist token
  // since the contract's inception.
  uint public rewardPerGoldlistToken;

  // claimedSnapshots stores the amount of VIRTUE per Goldlist token that each address has claimed
  // thus far.
  mapping(address => uint) public claimedSnapshots;

  // alreadyMinted is a mapping that stores which addresses have already minted their goldlist
  // NFTs and are no longer eligible to mint.
  mapping(address => bool) public alreadyMinted;

  // MAX_SUPPLY stores the maximum number of Goldlist NFTs that can be minted.
  uint public constant MAX_SUPPLY = 888;

  // deployTime records the time the contract was deployed.
  uint public immutable deployTime;

  // tokenUri stores the URI for all of the Goldlist NFTs.
  string public tokenUri;

  // approvedDistibutors is a mapping of addresses that are allowed to transfer the Goldlist NFTs.
  // All other addresses must wait a full year before the Goldlist NFTs can be transferred.
  mapping(address => bool) public approvedDistributors;

  // VirtueRewardDeposited is an event that is emitted anytime additional VIRTUE rewards are
  // deposited into the IdolGoldlist contract.
  event VirtueRewardDeposited(
    uint _virtueAmount,
    uint _rewardPerGoldlistToken,
    address _caller
  );

  constructor(
    bytes32 _merkleRoot,
    address _virtueTokenAddress,
    string memory _tokenUri
  ) ERC721A("IdolGoldlist", "GOLDLIST") {
    merkleRoot = _merkleRoot;
    virtueToken = IERC20(_virtueTokenAddress);
    deployTime = block.timestamp;
    tokenUri = _tokenUri;

    // Add team wallet and cre8tordao wallet as approved distributors.
    approvedDistributors[0x82AF9d2Ea81810582657f6DC04B1d7d0D573F616] = true;
    approvedDistributors[0x5eefD9C64d8c35142B7611aE3A6dECFc6d7a8a5E] = true;
  }

  function addApprovedDistributor(address _addr) external onlyOwner {
    approvedDistributors[_addr] = true;
  }

  function removeApprovedDistributor(address _addr) external onlyOwner {
    delete approvedDistributors[_addr];
  }

  /**
    @notice mint allows senders to mint a certain number of Goldlist NFTs to an authenticated
      address. Addresses must mint the EXACT amount of Goldlist NFTs they are authenticated to mint,
      i.e. if someone is eligible to mint 5 Goldlist NFTs and they try to mint 1, the transaction
      will be reverted -- they must mint exactly 5.
    @param _to The address to mint the NFTs for.
    @param _numTokens The number of Goldlist NFTs to mint for the sender.
    @param _merkleProof The Merkle proof used to verify the transaction against the Merkle root.
  */
  function mint(address _to, uint _numTokens, bytes32[] calldata _merkleProof) external {
    require(totalSupply() + _numTokens <= MAX_SUPPLY, "Mint would exceed max supply");
    require(!alreadyMinted[_to], "Goldlist NFTs have already been minted for that address");

    // Verify against the Merkle tree that the transaction is authenticated for the user.
    bytes32 leaf = keccak256(abi.encodePacked(_to, _numTokens));
    require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Failed to authenticate with merkle tree");

    alreadyMinted[_to] = true;

    _mint(_to, _numTokens, '', false);
  }

  /**
    @notice depositVirtueRewards is intended to be called by the founding team to transfer
      VIRTUE to the IdolGoldlist contract, which is then eligible to be withdrawn by Goldlist
      NFT holders. The IdolGoldlist must first be approved to transfer VIRTUE token on the sender's
      behalf before this function can be called successfully.
    @param _virtueAmount The amount of VIRTUE to distribute to Goldlist NFT holders.
  */
  function depositVirtueRewards(uint _virtueAmount) external {
    rewardPerGoldlistToken = rewardPerGoldlistToken + _virtueAmount / totalSupply();
    require(virtueToken.transferFrom(msg.sender, address(this), _virtueAmount));

    emit VirtueRewardDeposited(_virtueAmount, rewardPerGoldlistToken, msg.sender);
  }

  /**
    @notice getPendingVirtueReward is a view function which returns the amount of VIRTUE that has
      accrued for a user and is eligible to be claimed.
    @param _user The user to get pending VIRTUE rewards for.
  */
  function getPendingVirtueReward(address _user) public view returns (uint256) {
    return (balanceOf(_user) * (rewardPerGoldlistToken - claimedSnapshots[_user]));
  }

  /**
    @notice claimVirtueRewards is called to claim VIRTUE rewards on behalf of a user.
    @param _user The user to claim VIRTUE rewards for.
  */
  function claimVirtueRewards(address _user) external nonReentrant {
    require(balanceOf(_user) > 0, "Can only claim if balance of user > 0");
    _claimVirtueRewards(_user);
  }

  function _claimVirtueRewards(address _user) internal {
    uint256 pendingVirtueRewards = getPendingVirtueReward(_user);
    if (pendingVirtueRewards > 0) {
      claimedSnapshots[_user] = rewardPerGoldlistToken;
      require(virtueToken.transfer(_user, pendingVirtueRewards));
    }
  }

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token');
    return tokenUri;
  }

  /**
    @notice _beforeTokenTransfers runs logic to claim any pending VIRTUE rewards for both the sender
      and the receiver before the transfer confirms.
    @param _from Address of the current NFT holder.
    @param _to Address to send transfer the NFT(s) to.
    @param _startTokenId ID of the first NFT to transfer
    @param _quantity The number of NFTs to transfer.
  */
  function _beforeTokenTransfers(
    address _from,
    address _to,
    uint256 _startTokenId,
    uint256 _quantity
  )
    internal virtual override
  {
    super._beforeTokenTransfers(_from, _to, _startTokenId, _quantity);

    if (_from != address(0x0)) {
      if (!approvedDistributors[_from]) {
        require(deployTime + 365 days < block.timestamp, 'Token can only be transferred once 1-year lock has expired');
      }
      _claimVirtueRewards(_from);

      if (balanceOf(_from) == _quantity) {
        delete claimedSnapshots[_from];
      }
    }

    if (balanceOf(_to) > 0) {
      _claimVirtueRewards(_to);
    } else {
      claimedSnapshots[_to] = rewardPerGoldlistToken;
    }
  }
}

File 2 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 3 of 16 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.0;

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

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

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 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(uint256 => TokenOwnership) internal _ownerships;

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

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

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

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

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

    /**
     * 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 (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

    /**
     * @dev 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 {
        uint256 startTokenId = currentIndex;
        require(to != address(0), 'ERC721A: mint to the zero address');
        require(quantity != 0, 'ERC721A: quantity must be greater than 0');

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

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

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // 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 {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

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

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

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

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

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

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

File 4 of 16 : 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 5 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 6 of 16 : 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 16 : 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 8 of 16 : 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 9 of 16 : 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 10 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 16 of 16 : 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":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"address","name":"_virtueTokenAddress","type":"address"},{"internalType":"string","name":"_tokenUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_virtueAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_rewardPerGoldlistToken","type":"uint256"},{"indexed":false,"internalType":"address","name":"_caller","type":"address"}],"name":"VirtueRewardDeposited","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addApprovedDistributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alreadyMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvedDistributors","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_user","type":"address"}],"name":"claimVirtueRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedSnapshots","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_virtueAmount","type":"uint256"}],"name":"depositVirtueRewards","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":"_user","type":"address"}],"name":"getPendingVirtueReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_numTokens","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"_addr","type":"address"}],"name":"removeApprovedDistributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerGoldlistToken","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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"}]

60a06040523480156200001157600080fd5b5060405162004c4338038062004c43833981810160405281019062000037919062000604565b6040518060400160405280600c81526020017f49646f6c476f6c646c69737400000000000000000000000000000000000000008152506040518060400160405280600881526020017f474f4c444c4953540000000000000000000000000000000000000000000000008152508160019080519060200190620000bb92919062000317565b508060029080519060200190620000d492919062000317565b5050506001600781905550620000ff620000f36200024960201b60201c565b6200025160201b60201c565b8260098190555081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426080818152505080600e90805190602001906200016792919062000317565b506001600f60007382af9d2ea81810582657f6dc04b1d7d0d573f61673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600f6000735eefd9c64d8c35142b7611ae3a6decfc6d7a8a5e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050620006e4565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200032590620006ae565b90600052602060002090601f01602090048101928262000349576000855562000395565b82601f106200036457805160ff191683800117855562000395565b8280016001018555821562000395579182015b828111156200039457825182559160200191906001019062000377565b5b509050620003a49190620003a8565b5090565b5b80821115620003c3576000816000905550600101620003a9565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620003f081620003db565b8114620003fc57600080fd5b50565b6000815190506200041081620003e5565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004438262000416565b9050919050565b620004558162000436565b81146200046157600080fd5b50565b60008151905062000475816200044a565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004d08262000485565b810181811067ffffffffffffffff82111715620004f257620004f162000496565b5b80604052505050565b600062000507620003c7565b9050620005158282620004c5565b919050565b600067ffffffffffffffff82111562000538576200053762000496565b5b620005438262000485565b9050602081019050919050565b60005b838110156200057057808201518184015260208101905062000553565b8381111562000580576000848401525b50505050565b60006200059d62000597846200051a565b620004fb565b905082815260208101848484011115620005bc57620005bb62000480565b5b620005c984828562000550565b509392505050565b600082601f830112620005e957620005e86200047b565b5b8151620005fb84826020860162000586565b91505092915050565b60008060006060848603121562000620576200061f620003d1565b5b60006200063086828701620003ff565b9350506020620006438682870162000464565b925050604084015167ffffffffffffffff811115620006675762000666620003d6565b5b6200067586828701620005d1565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006c757607f821691505b60208210811415620006de57620006dd6200067f565b5b50919050565b60805161453c620007076000396000818161130601526129cb015261453c6000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636352211e1161011a5780639e971d99116100ad578063c0e3fd551161007c578063c0e3fd55146105c4578063c87b56dd146105e0578063da7d3f3514610610578063e985e9c514610640578063f2fde38b14610670576101fb565b80639e971d9914610552578063a22cb4651461056e578063b621513e1461058a578063b88d4fde146105a8576101fb565b8063729dcc37116100e9578063729dcc37146104c85780637a40624b146104f85780638da5cb5b1461051657806395d89b4114610534576101fb565b80636352211e14610442578063641ce1401461047257806370a082311461048e578063715018a6146104be576101fb565b80632f745c59116101925780634d1c5d99116101615780634d1c5d99146103aa5780634f6ccce7146103da578063501d442e1461040a57806353b61d3914610426576101fb565b80632f745c591461032257806332cb6b0c14610352578063355e0c5d1461037057806342842e0e1461038e576101fb565b80630a398b88116101ce5780630a398b881461029a57806318160ddd146102ca57806323b872dd146102e85780632eb4a7ab14610304576101fb565b806301ffc9a71461020057806306fdde0314610230578063081812fc1461024e578063095ea7b31461027e575b600080fd5b61021a60048036038101906102159190612c60565b61068c565b6040516102279190612ca8565b60405180910390f35b6102386107d6565b6040516102459190612d5c565b60405180910390f35b61026860048036038101906102639190612db4565b610868565b6040516102759190612e22565b60405180910390f35b61029860048036038101906102939190612e69565b6108ed565b005b6102b460048036038101906102af9190612ea9565b610a06565b6040516102c19190612ca8565b60405180910390f35b6102d2610a26565b6040516102df9190612ee5565b60405180910390f35b61030260048036038101906102fd9190612f00565b610a2f565b005b61030c610a3f565b6040516103199190612f6c565b60405180910390f35b61033c60048036038101906103379190612e69565b610a45565b6040516103499190612ee5565b60405180910390f35b61035a610c37565b6040516103679190612ee5565b60405180910390f35b610378610c3d565b6040516103859190612d5c565b60405180910390f35b6103a860048036038101906103a39190612f00565b610ccb565b005b6103c460048036038101906103bf9190612ea9565b610ceb565b6040516103d19190612ca8565b60405180910390f35b6103f460048036038101906103ef9190612db4565b610d0b565b6040516104019190612ee5565b60405180910390f35b610424600480360381019061041f9190612ea9565b610d5e565b005b610440600480360381019061043b9190612db4565b610e2c565b005b61045c60048036038101906104579190612db4565b610f4c565b6040516104699190612e22565b60405180910390f35b61048c60048036038101906104879190612fec565b610f62565b005b6104a860048036038101906104a39190612ea9565b61117b565b6040516104b59190612ee5565b60405180910390f35b6104c6611264565b005b6104e260048036038101906104dd9190612ea9565b6112ec565b6040516104ef9190612ee5565b60405180910390f35b610500611304565b60405161050d9190612ee5565b60405180910390f35b61051e611328565b60405161052b9190612e22565b60405180910390f35b61053c611352565b6040516105499190612d5c565b60405180910390f35b61056c60048036038101906105679190612ea9565b6113e4565b005b6105886004803603810190610583919061308c565b611491565b005b610592611612565b60405161059f9190612ee5565b60405180910390f35b6105c260048036038101906105bd91906131fc565b611618565b005b6105de60048036038101906105d99190612ea9565b611674565b005b6105fa60048036038101906105f59190612db4565b61174b565b6040516106079190612d5c565b60405180910390f35b61062a60048036038101906106259190612ea9565b611827565b6040516106379190612ee5565b60405180910390f35b61065a6004803603810190610655919061327f565b611890565b6040516106679190612ca8565b60405180910390f35b61068a60048036038101906106859190612ea9565b611924565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107bf57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107cf57506107ce82611a1c565b5b9050919050565b6060600180546107e5906132ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610811906132ee565b801561085e5780601f106108335761010080835404028352916020019161085e565b820191906000526020600020905b81548152906001019060200180831161084157829003601f168201915b5050505050905090565b600061087382611a86565b6108b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a990613392565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108f882610f4c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096090613424565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610988611a93565b73ffffffffffffffffffffffffffffffffffffffff1614806109b757506109b6816109b1611a93565b611890565b5b6109f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ed906134b6565b60405180910390fd5b610a01838383611a9b565b505050565b600d6020528060005260406000206000915054906101000a900460ff1681565b60008054905090565b610a3a838383611b4d565b505050565b60095481565b6000610a508361117b565b8210610a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8890613548565b60405180910390fd5b6000610a9b610a26565b905060008060005b83811015610bf5576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610b9557806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610be75786841415610bde578195505050505050610c31565b83806001019450505b508080600101915050610aa3565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c28906135da565b60405180910390fd5b92915050565b61037881565b600e8054610c4a906132ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610c76906132ee565b8015610cc35780601f10610c9857610100808354040283529160200191610cc3565b820191906000526020600020905b815481529060010190602001808311610ca657829003601f168201915b505050505081565b610ce683838360405180602001604052806000815250611618565b505050565b600f6020528060005260406000206000915054906101000a900460ff1681565b6000610d15610a26565b8210610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d9061366c565b60405180910390fd5b819050919050565b610d66611a93565b73ffffffffffffffffffffffffffffffffffffffff16610d84611328565b73ffffffffffffffffffffffffffffffffffffffff1614610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd1906136d8565b60405180910390fd5b600f60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b610e34610a26565b81610e3f9190613756565b600b54610e4c9190613787565b600b81905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401610eb1939291906137dd565b602060405180830381600087803b158015610ecb57600080fd5b505af1158015610edf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f039190613829565b610f0c57600080fd5b7f267cc97b679f43e46b6107568cd114e3a56195737853b5c67b9e06489164b5dd81600b5433604051610f4193929190613856565b60405180910390a150565b6000610f578261208d565b600001519050919050565b61037883610f6e610a26565b610f789190613787565b1115610fb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb0906138d9565b60405180910390fd5b600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d9061396b565b60405180910390fd5b6000848460405160200161105b9291906139f4565b6040516020818303038152906040528051906020012090506110c1838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612227565b611100576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f790613a92565b60405180910390fd5b6001600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611174858560405180602001604052806000815250600061223e565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e390613b24565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61126c611a93565b73ffffffffffffffffffffffffffffffffffffffff1661128a611328565b73ffffffffffffffffffffffffffffffffffffffff16146112e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d7906136d8565b60405180910390fd5b6112ea60006125bc565b565b600c6020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611361906132ee565b80601f016020809104026020016040519081016040528092919081815260200182805461138d906132ee565b80156113da5780601f106113af576101008083540402835291602001916113da565b820191906000526020600020905b8154815290600101906020018083116113bd57829003601f168201915b5050505050905090565b6002600754141561142a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142190613b90565b60405180910390fd5b6002600781905550600061143d8261117b565b1161147d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147490613c22565b60405180910390fd5b61148681612682565b600160078190555050565b611499611a93565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe90613c8e565b60405180910390fd5b8060066000611514611a93565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115c1611a93565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116069190612ca8565b60405180910390a35050565b600b5481565b611623848484611b4d565b61162f8484848461279b565b61166e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166590613d20565b60405180910390fd5b50505050565b61167c611a93565b73ffffffffffffffffffffffffffffffffffffffff1661169a611328565b73ffffffffffffffffffffffffffffffffffffffff16146116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e7906136d8565b60405180910390fd5b6001600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b606061175682611a86565b611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c90613db2565b60405180910390fd5b600e80546117a2906132ee565b80601f01602080910402602001604051908101604052809291908181526020018280546117ce906132ee565b801561181b5780601f106117f05761010080835404028352916020019161181b565b820191906000526020600020905b8154815290600101906020018083116117fe57829003601f168201915b50505050509050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b546118769190613dd2565b61187f8361117b565b6118899190613e06565b9050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61192c611a93565b73ffffffffffffffffffffffffffffffffffffffff1661194a611328565b73ffffffffffffffffffffffffffffffffffffffff16146119a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611997906136d8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0790613ed2565b60405180910390fd5b611a19816125bc565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611b588261208d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611b7f611a93565b73ffffffffffffffffffffffffffffffffffffffff161480611bdb5750611ba4611a93565b73ffffffffffffffffffffffffffffffffffffffff16611bc384610868565b73ffffffffffffffffffffffffffffffffffffffff16145b80611bf75750611bf68260000151611bf1611a93565b611890565b5b905080611c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3090613f64565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca290613ff6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1290614088565b60405180910390fd5b611d288585856001612932565b611d386000848460000151611a9b565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561201d57611f7c81611a86565b1561201c5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120868585856001612aff565b5050505050565b612095612bba565b61209e82611a86565b6120dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d49061411a565b60405180910390fd5b60008290505b600081106121e6576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146121d7578092505050612222565b508080600190039150506120e3565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612219906141ac565b60405180910390fd5b919050565b6000826122348584612b05565b1490509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156122b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ab9061423e565b60405180910390fd5b60008414156122f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ef906142d0565b60405180910390fd5b6123056000868387612932565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561259f57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4831561258a5761254a600088848861279b565b612589576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258090613d20565b60405180910390fd5b5b818060010192505080806001019150506124d3565b5080600081905550506125b56000868387612aff565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061268d82611827565b9050600081111561279757600b54600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161273b9291906142f0565b602060405180830381600087803b15801561275557600080fd5b505af1158015612769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278d9190613829565b61279657600080fd5b5b5050565b60006127bc8473ffffffffffffffffffffffffffffffffffffffff16612b7a565b15612925578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127e5611a93565b8786866040518563ffffffff1660e01b8152600401612807949392919061436e565b602060405180830381600087803b15801561282157600080fd5b505af192505050801561285257506040513d601f19601f8201168201806040525081019061284f91906143cf565b60015b6128d5573d8060008114612882576040519150601f19603f3d011682016040523d82523d6000602084013e612887565b606091505b506000815114156128cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c490613d20565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061292a565b600190505b949350505050565b61293e84848484612b9d565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612a9357600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612a3557426301e133807f00000000000000000000000000000000000000000000000000000000000000006129f49190613787565b10612a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2b9061446e565b60405180910390fd5b5b612a3e84612682565b80612a488561117b565b1415612a9257600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090555b5b6000612a9e8461117b565b1115612ab257612aad83612682565b612af9565b600b54600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b50505050565b50505050565b60008082905060005b8451811015612b6f576000858281518110612b2c57612b2b61448e565b5b60200260200101519050808311612b4e57612b478382612ba3565b9250612b5b565b612b588184612ba3565b92505b508080612b67906144bd565b915050612b0e565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b50505050565b600082600052816020526040600020905092915050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c3d81612c08565b8114612c4857600080fd5b50565b600081359050612c5a81612c34565b92915050565b600060208284031215612c7657612c75612bfe565b5b6000612c8484828501612c4b565b91505092915050565b60008115159050919050565b612ca281612c8d565b82525050565b6000602082019050612cbd6000830184612c99565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612cfd578082015181840152602081019050612ce2565b83811115612d0c576000848401525b50505050565b6000601f19601f8301169050919050565b6000612d2e82612cc3565b612d388185612cce565b9350612d48818560208601612cdf565b612d5181612d12565b840191505092915050565b60006020820190508181036000830152612d768184612d23565b905092915050565b6000819050919050565b612d9181612d7e565b8114612d9c57600080fd5b50565b600081359050612dae81612d88565b92915050565b600060208284031215612dca57612dc9612bfe565b5b6000612dd884828501612d9f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e0c82612de1565b9050919050565b612e1c81612e01565b82525050565b6000602082019050612e376000830184612e13565b92915050565b612e4681612e01565b8114612e5157600080fd5b50565b600081359050612e6381612e3d565b92915050565b60008060408385031215612e8057612e7f612bfe565b5b6000612e8e85828601612e54565b9250506020612e9f85828601612d9f565b9150509250929050565b600060208284031215612ebf57612ebe612bfe565b5b6000612ecd84828501612e54565b91505092915050565b612edf81612d7e565b82525050565b6000602082019050612efa6000830184612ed6565b92915050565b600080600060608486031215612f1957612f18612bfe565b5b6000612f2786828701612e54565b9350506020612f3886828701612e54565b9250506040612f4986828701612d9f565b9150509250925092565b6000819050919050565b612f6681612f53565b82525050565b6000602082019050612f816000830184612f5d565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612fac57612fab612f87565b5b8235905067ffffffffffffffff811115612fc957612fc8612f8c565b5b602083019150836020820283011115612fe557612fe4612f91565b5b9250929050565b6000806000806060858703121561300657613005612bfe565b5b600061301487828801612e54565b945050602061302587828801612d9f565b935050604085013567ffffffffffffffff81111561304657613045612c03565b5b61305287828801612f96565b925092505092959194509250565b61306981612c8d565b811461307457600080fd5b50565b60008135905061308681613060565b92915050565b600080604083850312156130a3576130a2612bfe565b5b60006130b185828601612e54565b92505060206130c285828601613077565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61310982612d12565b810181811067ffffffffffffffff82111715613128576131276130d1565b5b80604052505050565b600061313b612bf4565b90506131478282613100565b919050565b600067ffffffffffffffff821115613167576131666130d1565b5b61317082612d12565b9050602081019050919050565b82818337600083830152505050565b600061319f61319a8461314c565b613131565b9050828152602081018484840111156131bb576131ba6130cc565b5b6131c684828561317d565b509392505050565b600082601f8301126131e3576131e2612f87565b5b81356131f384826020860161318c565b91505092915050565b6000806000806080858703121561321657613215612bfe565b5b600061322487828801612e54565b945050602061323587828801612e54565b935050604061324687828801612d9f565b925050606085013567ffffffffffffffff81111561326757613266612c03565b5b613273878288016131ce565b91505092959194509250565b6000806040838503121561329657613295612bfe565b5b60006132a485828601612e54565b92505060206132b585828601612e54565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061330657607f821691505b6020821081141561331a576133196132bf565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b600061337c602d83612cce565b915061338782613320565b604082019050919050565b600060208201905081810360008301526133ab8161336f565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b600061340e602283612cce565b9150613419826133b2565b604082019050919050565b6000602082019050818103600083015261343d81613401565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b60006134a0603983612cce565b91506134ab82613444565b604082019050919050565b600060208201905081810360008301526134cf81613493565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000613532602283612cce565b915061353d826134d6565b604082019050919050565b6000602082019050818103600083015261356181613525565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b60006135c4602e83612cce565b91506135cf82613568565b604082019050919050565b600060208201905081810360008301526135f3816135b7565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000613656602383612cce565b9150613661826135fa565b604082019050919050565b6000602082019050818103600083015261368581613649565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006136c2602083612cce565b91506136cd8261368c565b602082019050919050565b600060208201905081810360008301526136f1816136b5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061376182612d7e565b915061376c83612d7e565b92508261377c5761377b6136f8565b5b828204905092915050565b600061379282612d7e565b915061379d83612d7e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137d2576137d1613727565b5b828201905092915050565b60006060820190506137f26000830186612e13565b6137ff6020830185612e13565b61380c6040830184612ed6565b949350505050565b60008151905061382381613060565b92915050565b60006020828403121561383f5761383e612bfe565b5b600061384d84828501613814565b91505092915050565b600060608201905061386b6000830186612ed6565b6138786020830185612ed6565b6138856040830184612e13565b949350505050565b7f4d696e7420776f756c6420657863656564206d617820737570706c7900000000600082015250565b60006138c3601c83612cce565b91506138ce8261388d565b602082019050919050565b600060208201905081810360008301526138f2816138b6565b9050919050565b7f476f6c646c697374204e465473206861766520616c7265616479206265656e2060008201527f6d696e74656420666f7220746861742061646472657373000000000000000000602082015250565b6000613955603783612cce565b9150613960826138f9565b604082019050919050565b6000602082019050818103600083015261398481613948565b9050919050565b60008160601b9050919050565b60006139a38261398b565b9050919050565b60006139b582613998565b9050919050565b6139cd6139c882612e01565b6139aa565b82525050565b6000819050919050565b6139ee6139e982612d7e565b6139d3565b82525050565b6000613a0082856139bc565b601482019150613a1082846139dd565b6020820191508190509392505050565b7f4661696c656420746f2061757468656e7469636174652077697468206d65726b60008201527f6c65207472656500000000000000000000000000000000000000000000000000602082015250565b6000613a7c602783612cce565b9150613a8782613a20565b604082019050919050565b60006020820190508181036000830152613aab81613a6f565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613b0e602b83612cce565b9150613b1982613ab2565b604082019050919050565b60006020820190508181036000830152613b3d81613b01565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613b7a601f83612cce565b9150613b8582613b44565b602082019050919050565b60006020820190508181036000830152613ba981613b6d565b9050919050565b7f43616e206f6e6c7920636c61696d2069662062616c616e6365206f662075736560008201527f72203e2030000000000000000000000000000000000000000000000000000000602082015250565b6000613c0c602583612cce565b9150613c1782613bb0565b604082019050919050565b60006020820190508181036000830152613c3b81613bff565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000613c78601a83612cce565b9150613c8382613c42565b602082019050919050565b60006020820190508181036000830152613ca781613c6b565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000613d0a603383612cce565b9150613d1582613cae565b604082019050919050565b60006020820190508181036000830152613d3981613cfd565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613d9c602f83612cce565b9150613da782613d40565b604082019050919050565b60006020820190508181036000830152613dcb81613d8f565b9050919050565b6000613ddd82612d7e565b9150613de883612d7e565b925082821015613dfb57613dfa613727565b5b828203905092915050565b6000613e1182612d7e565b9150613e1c83612d7e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e5557613e54613727565b5b828202905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613ebc602683612cce565b9150613ec782613e60565b604082019050919050565b60006020820190508181036000830152613eeb81613eaf565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613f4e603283612cce565b9150613f5982613ef2565b604082019050919050565b60006020820190508181036000830152613f7d81613f41565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000613fe0602683612cce565b9150613feb82613f84565b604082019050919050565b6000602082019050818103600083015261400f81613fd3565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614072602583612cce565b915061407d82614016565b604082019050919050565b600060208201905081810360008301526140a181614065565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000614104602a83612cce565b915061410f826140a8565b604082019050919050565b60006020820190508181036000830152614133816140f7565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000614196602f83612cce565b91506141a18261413a565b604082019050919050565b600060208201905081810360008301526141c581614189565b9050919050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614228602183612cce565b9150614233826141cc565b604082019050919050565b600060208201905081810360008301526142578161421b565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b60006142ba602883612cce565b91506142c58261425e565b604082019050919050565b600060208201905081810360008301526142e9816142ad565b9050919050565b60006040820190506143056000830185612e13565b6143126020830184612ed6565b9392505050565b600081519050919050565b600082825260208201905092915050565b600061434082614319565b61434a8185614324565b935061435a818560208601612cdf565b61436381612d12565b840191505092915050565b60006080820190506143836000830187612e13565b6143906020830186612e13565b61439d6040830185612ed6565b81810360608301526143af8184614335565b905095945050505050565b6000815190506143c981612c34565b92915050565b6000602082840312156143e5576143e4612bfe565b5b60006143f3848285016143ba565b91505092915050565b7f546f6b656e2063616e206f6e6c79206265207472616e73666572726564206f6e60008201527f636520312d79656172206c6f636b206861732065787069726564000000000000602082015250565b6000614458603a83612cce565b9150614463826143fc565b604082019050919050565b600060208201905081810360008301526144878161444b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006144c882612d7e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144fb576144fa613727565b5b60018201905091905056fea2646970667358221220992e44306e5009fdec624062881571aedc611cf38a06fa1867232cc0604bbd8d64736f6c634300080900331581dfb1d82845c3972f303ea463e2b6181def6294e676454426831690b2d0530000000000000000000000009416ba76e88d873050a06e5956a3ebf10386b86300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044697066733a2f2f62616679626569687573667432777a7a6a6579696e71616f376e6464746f6164627a36366870636b62376d6c766a7a37727a6d7171776664796c342f3000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636352211e1161011a5780639e971d99116100ad578063c0e3fd551161007c578063c0e3fd55146105c4578063c87b56dd146105e0578063da7d3f3514610610578063e985e9c514610640578063f2fde38b14610670576101fb565b80639e971d9914610552578063a22cb4651461056e578063b621513e1461058a578063b88d4fde146105a8576101fb565b8063729dcc37116100e9578063729dcc37146104c85780637a40624b146104f85780638da5cb5b1461051657806395d89b4114610534576101fb565b80636352211e14610442578063641ce1401461047257806370a082311461048e578063715018a6146104be576101fb565b80632f745c59116101925780634d1c5d99116101615780634d1c5d99146103aa5780634f6ccce7146103da578063501d442e1461040a57806353b61d3914610426576101fb565b80632f745c591461032257806332cb6b0c14610352578063355e0c5d1461037057806342842e0e1461038e576101fb565b80630a398b88116101ce5780630a398b881461029a57806318160ddd146102ca57806323b872dd146102e85780632eb4a7ab14610304576101fb565b806301ffc9a71461020057806306fdde0314610230578063081812fc1461024e578063095ea7b31461027e575b600080fd5b61021a60048036038101906102159190612c60565b61068c565b6040516102279190612ca8565b60405180910390f35b6102386107d6565b6040516102459190612d5c565b60405180910390f35b61026860048036038101906102639190612db4565b610868565b6040516102759190612e22565b60405180910390f35b61029860048036038101906102939190612e69565b6108ed565b005b6102b460048036038101906102af9190612ea9565b610a06565b6040516102c19190612ca8565b60405180910390f35b6102d2610a26565b6040516102df9190612ee5565b60405180910390f35b61030260048036038101906102fd9190612f00565b610a2f565b005b61030c610a3f565b6040516103199190612f6c565b60405180910390f35b61033c60048036038101906103379190612e69565b610a45565b6040516103499190612ee5565b60405180910390f35b61035a610c37565b6040516103679190612ee5565b60405180910390f35b610378610c3d565b6040516103859190612d5c565b60405180910390f35b6103a860048036038101906103a39190612f00565b610ccb565b005b6103c460048036038101906103bf9190612ea9565b610ceb565b6040516103d19190612ca8565b60405180910390f35b6103f460048036038101906103ef9190612db4565b610d0b565b6040516104019190612ee5565b60405180910390f35b610424600480360381019061041f9190612ea9565b610d5e565b005b610440600480360381019061043b9190612db4565b610e2c565b005b61045c60048036038101906104579190612db4565b610f4c565b6040516104699190612e22565b60405180910390f35b61048c60048036038101906104879190612fec565b610f62565b005b6104a860048036038101906104a39190612ea9565b61117b565b6040516104b59190612ee5565b60405180910390f35b6104c6611264565b005b6104e260048036038101906104dd9190612ea9565b6112ec565b6040516104ef9190612ee5565b60405180910390f35b610500611304565b60405161050d9190612ee5565b60405180910390f35b61051e611328565b60405161052b9190612e22565b60405180910390f35b61053c611352565b6040516105499190612d5c565b60405180910390f35b61056c60048036038101906105679190612ea9565b6113e4565b005b6105886004803603810190610583919061308c565b611491565b005b610592611612565b60405161059f9190612ee5565b60405180910390f35b6105c260048036038101906105bd91906131fc565b611618565b005b6105de60048036038101906105d99190612ea9565b611674565b005b6105fa60048036038101906105f59190612db4565b61174b565b6040516106079190612d5c565b60405180910390f35b61062a60048036038101906106259190612ea9565b611827565b6040516106379190612ee5565b60405180910390f35b61065a6004803603810190610655919061327f565b611890565b6040516106679190612ca8565b60405180910390f35b61068a60048036038101906106859190612ea9565b611924565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107bf57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107cf57506107ce82611a1c565b5b9050919050565b6060600180546107e5906132ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610811906132ee565b801561085e5780601f106108335761010080835404028352916020019161085e565b820191906000526020600020905b81548152906001019060200180831161084157829003601f168201915b5050505050905090565b600061087382611a86565b6108b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a990613392565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108f882610f4c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096090613424565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610988611a93565b73ffffffffffffffffffffffffffffffffffffffff1614806109b757506109b6816109b1611a93565b611890565b5b6109f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ed906134b6565b60405180910390fd5b610a01838383611a9b565b505050565b600d6020528060005260406000206000915054906101000a900460ff1681565b60008054905090565b610a3a838383611b4d565b505050565b60095481565b6000610a508361117b565b8210610a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8890613548565b60405180910390fd5b6000610a9b610a26565b905060008060005b83811015610bf5576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610b9557806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610be75786841415610bde578195505050505050610c31565b83806001019450505b508080600101915050610aa3565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c28906135da565b60405180910390fd5b92915050565b61037881565b600e8054610c4a906132ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610c76906132ee565b8015610cc35780601f10610c9857610100808354040283529160200191610cc3565b820191906000526020600020905b815481529060010190602001808311610ca657829003601f168201915b505050505081565b610ce683838360405180602001604052806000815250611618565b505050565b600f6020528060005260406000206000915054906101000a900460ff1681565b6000610d15610a26565b8210610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d9061366c565b60405180910390fd5b819050919050565b610d66611a93565b73ffffffffffffffffffffffffffffffffffffffff16610d84611328565b73ffffffffffffffffffffffffffffffffffffffff1614610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd1906136d8565b60405180910390fd5b600f60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b610e34610a26565b81610e3f9190613756565b600b54610e4c9190613787565b600b81905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401610eb1939291906137dd565b602060405180830381600087803b158015610ecb57600080fd5b505af1158015610edf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f039190613829565b610f0c57600080fd5b7f267cc97b679f43e46b6107568cd114e3a56195737853b5c67b9e06489164b5dd81600b5433604051610f4193929190613856565b60405180910390a150565b6000610f578261208d565b600001519050919050565b61037883610f6e610a26565b610f789190613787565b1115610fb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb0906138d9565b60405180910390fd5b600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d9061396b565b60405180910390fd5b6000848460405160200161105b9291906139f4565b6040516020818303038152906040528051906020012090506110c1838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612227565b611100576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f790613a92565b60405180910390fd5b6001600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611174858560405180602001604052806000815250600061223e565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e390613b24565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61126c611a93565b73ffffffffffffffffffffffffffffffffffffffff1661128a611328565b73ffffffffffffffffffffffffffffffffffffffff16146112e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d7906136d8565b60405180910390fd5b6112ea60006125bc565b565b600c6020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000006243817981565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611361906132ee565b80601f016020809104026020016040519081016040528092919081815260200182805461138d906132ee565b80156113da5780601f106113af576101008083540402835291602001916113da565b820191906000526020600020905b8154815290600101906020018083116113bd57829003601f168201915b5050505050905090565b6002600754141561142a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142190613b90565b60405180910390fd5b6002600781905550600061143d8261117b565b1161147d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147490613c22565b60405180910390fd5b61148681612682565b600160078190555050565b611499611a93565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe90613c8e565b60405180910390fd5b8060066000611514611a93565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115c1611a93565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116069190612ca8565b60405180910390a35050565b600b5481565b611623848484611b4d565b61162f8484848461279b565b61166e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166590613d20565b60405180910390fd5b50505050565b61167c611a93565b73ffffffffffffffffffffffffffffffffffffffff1661169a611328565b73ffffffffffffffffffffffffffffffffffffffff16146116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e7906136d8565b60405180910390fd5b6001600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b606061175682611a86565b611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c90613db2565b60405180910390fd5b600e80546117a2906132ee565b80601f01602080910402602001604051908101604052809291908181526020018280546117ce906132ee565b801561181b5780601f106117f05761010080835404028352916020019161181b565b820191906000526020600020905b8154815290600101906020018083116117fe57829003601f168201915b50505050509050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b546118769190613dd2565b61187f8361117b565b6118899190613e06565b9050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61192c611a93565b73ffffffffffffffffffffffffffffffffffffffff1661194a611328565b73ffffffffffffffffffffffffffffffffffffffff16146119a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611997906136d8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0790613ed2565b60405180910390fd5b611a19816125bc565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611b588261208d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611b7f611a93565b73ffffffffffffffffffffffffffffffffffffffff161480611bdb5750611ba4611a93565b73ffffffffffffffffffffffffffffffffffffffff16611bc384610868565b73ffffffffffffffffffffffffffffffffffffffff16145b80611bf75750611bf68260000151611bf1611a93565b611890565b5b905080611c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3090613f64565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca290613ff6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1290614088565b60405180910390fd5b611d288585856001612932565b611d386000848460000151611a9b565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561201d57611f7c81611a86565b1561201c5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120868585856001612aff565b5050505050565b612095612bba565b61209e82611a86565b6120dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d49061411a565b60405180910390fd5b60008290505b600081106121e6576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146121d7578092505050612222565b508080600190039150506120e3565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612219906141ac565b60405180910390fd5b919050565b6000826122348584612b05565b1490509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156122b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ab9061423e565b60405180910390fd5b60008414156122f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ef906142d0565b60405180910390fd5b6123056000868387612932565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561259f57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4831561258a5761254a600088848861279b565b612589576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258090613d20565b60405180910390fd5b5b818060010192505080806001019150506124d3565b5080600081905550506125b56000868387612aff565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061268d82611827565b9050600081111561279757600b54600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161273b9291906142f0565b602060405180830381600087803b15801561275557600080fd5b505af1158015612769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061278d9190613829565b61279657600080fd5b5b5050565b60006127bc8473ffffffffffffffffffffffffffffffffffffffff16612b7a565b15612925578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127e5611a93565b8786866040518563ffffffff1660e01b8152600401612807949392919061436e565b602060405180830381600087803b15801561282157600080fd5b505af192505050801561285257506040513d601f19601f8201168201806040525081019061284f91906143cf565b60015b6128d5573d8060008114612882576040519150601f19603f3d011682016040523d82523d6000602084013e612887565b606091505b506000815114156128cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c490613d20565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061292a565b600190505b949350505050565b61293e84848484612b9d565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612a9357600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612a3557426301e133807f00000000000000000000000000000000000000000000000000000000624381796129f49190613787565b10612a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2b9061446e565b60405180910390fd5b5b612a3e84612682565b80612a488561117b565b1415612a9257600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090555b5b6000612a9e8461117b565b1115612ab257612aad83612682565b612af9565b600b54600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b50505050565b50505050565b60008082905060005b8451811015612b6f576000858281518110612b2c57612b2b61448e565b5b60200260200101519050808311612b4e57612b478382612ba3565b9250612b5b565b612b588184612ba3565b92505b508080612b67906144bd565b915050612b0e565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b50505050565b600082600052816020526040600020905092915050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c3d81612c08565b8114612c4857600080fd5b50565b600081359050612c5a81612c34565b92915050565b600060208284031215612c7657612c75612bfe565b5b6000612c8484828501612c4b565b91505092915050565b60008115159050919050565b612ca281612c8d565b82525050565b6000602082019050612cbd6000830184612c99565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612cfd578082015181840152602081019050612ce2565b83811115612d0c576000848401525b50505050565b6000601f19601f8301169050919050565b6000612d2e82612cc3565b612d388185612cce565b9350612d48818560208601612cdf565b612d5181612d12565b840191505092915050565b60006020820190508181036000830152612d768184612d23565b905092915050565b6000819050919050565b612d9181612d7e565b8114612d9c57600080fd5b50565b600081359050612dae81612d88565b92915050565b600060208284031215612dca57612dc9612bfe565b5b6000612dd884828501612d9f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e0c82612de1565b9050919050565b612e1c81612e01565b82525050565b6000602082019050612e376000830184612e13565b92915050565b612e4681612e01565b8114612e5157600080fd5b50565b600081359050612e6381612e3d565b92915050565b60008060408385031215612e8057612e7f612bfe565b5b6000612e8e85828601612e54565b9250506020612e9f85828601612d9f565b9150509250929050565b600060208284031215612ebf57612ebe612bfe565b5b6000612ecd84828501612e54565b91505092915050565b612edf81612d7e565b82525050565b6000602082019050612efa6000830184612ed6565b92915050565b600080600060608486031215612f1957612f18612bfe565b5b6000612f2786828701612e54565b9350506020612f3886828701612e54565b9250506040612f4986828701612d9f565b9150509250925092565b6000819050919050565b612f6681612f53565b82525050565b6000602082019050612f816000830184612f5d565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612fac57612fab612f87565b5b8235905067ffffffffffffffff811115612fc957612fc8612f8c565b5b602083019150836020820283011115612fe557612fe4612f91565b5b9250929050565b6000806000806060858703121561300657613005612bfe565b5b600061301487828801612e54565b945050602061302587828801612d9f565b935050604085013567ffffffffffffffff81111561304657613045612c03565b5b61305287828801612f96565b925092505092959194509250565b61306981612c8d565b811461307457600080fd5b50565b60008135905061308681613060565b92915050565b600080604083850312156130a3576130a2612bfe565b5b60006130b185828601612e54565b92505060206130c285828601613077565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61310982612d12565b810181811067ffffffffffffffff82111715613128576131276130d1565b5b80604052505050565b600061313b612bf4565b90506131478282613100565b919050565b600067ffffffffffffffff821115613167576131666130d1565b5b61317082612d12565b9050602081019050919050565b82818337600083830152505050565b600061319f61319a8461314c565b613131565b9050828152602081018484840111156131bb576131ba6130cc565b5b6131c684828561317d565b509392505050565b600082601f8301126131e3576131e2612f87565b5b81356131f384826020860161318c565b91505092915050565b6000806000806080858703121561321657613215612bfe565b5b600061322487828801612e54565b945050602061323587828801612e54565b935050604061324687828801612d9f565b925050606085013567ffffffffffffffff81111561326757613266612c03565b5b613273878288016131ce565b91505092959194509250565b6000806040838503121561329657613295612bfe565b5b60006132a485828601612e54565b92505060206132b585828601612e54565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061330657607f821691505b6020821081141561331a576133196132bf565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b600061337c602d83612cce565b915061338782613320565b604082019050919050565b600060208201905081810360008301526133ab8161336f565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b600061340e602283612cce565b9150613419826133b2565b604082019050919050565b6000602082019050818103600083015261343d81613401565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b60006134a0603983612cce565b91506134ab82613444565b604082019050919050565b600060208201905081810360008301526134cf81613493565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000613532602283612cce565b915061353d826134d6565b604082019050919050565b6000602082019050818103600083015261356181613525565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b60006135c4602e83612cce565b91506135cf82613568565b604082019050919050565b600060208201905081810360008301526135f3816135b7565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000613656602383612cce565b9150613661826135fa565b604082019050919050565b6000602082019050818103600083015261368581613649565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006136c2602083612cce565b91506136cd8261368c565b602082019050919050565b600060208201905081810360008301526136f1816136b5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061376182612d7e565b915061376c83612d7e565b92508261377c5761377b6136f8565b5b828204905092915050565b600061379282612d7e565b915061379d83612d7e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137d2576137d1613727565b5b828201905092915050565b60006060820190506137f26000830186612e13565b6137ff6020830185612e13565b61380c6040830184612ed6565b949350505050565b60008151905061382381613060565b92915050565b60006020828403121561383f5761383e612bfe565b5b600061384d84828501613814565b91505092915050565b600060608201905061386b6000830186612ed6565b6138786020830185612ed6565b6138856040830184612e13565b949350505050565b7f4d696e7420776f756c6420657863656564206d617820737570706c7900000000600082015250565b60006138c3601c83612cce565b91506138ce8261388d565b602082019050919050565b600060208201905081810360008301526138f2816138b6565b9050919050565b7f476f6c646c697374204e465473206861766520616c7265616479206265656e2060008201527f6d696e74656420666f7220746861742061646472657373000000000000000000602082015250565b6000613955603783612cce565b9150613960826138f9565b604082019050919050565b6000602082019050818103600083015261398481613948565b9050919050565b60008160601b9050919050565b60006139a38261398b565b9050919050565b60006139b582613998565b9050919050565b6139cd6139c882612e01565b6139aa565b82525050565b6000819050919050565b6139ee6139e982612d7e565b6139d3565b82525050565b6000613a0082856139bc565b601482019150613a1082846139dd565b6020820191508190509392505050565b7f4661696c656420746f2061757468656e7469636174652077697468206d65726b60008201527f6c65207472656500000000000000000000000000000000000000000000000000602082015250565b6000613a7c602783612cce565b9150613a8782613a20565b604082019050919050565b60006020820190508181036000830152613aab81613a6f565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613b0e602b83612cce565b9150613b1982613ab2565b604082019050919050565b60006020820190508181036000830152613b3d81613b01565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613b7a601f83612cce565b9150613b8582613b44565b602082019050919050565b60006020820190508181036000830152613ba981613b6d565b9050919050565b7f43616e206f6e6c7920636c61696d2069662062616c616e6365206f662075736560008201527f72203e2030000000000000000000000000000000000000000000000000000000602082015250565b6000613c0c602583612cce565b9150613c1782613bb0565b604082019050919050565b60006020820190508181036000830152613c3b81613bff565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000613c78601a83612cce565b9150613c8382613c42565b602082019050919050565b60006020820190508181036000830152613ca781613c6b565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000613d0a603383612cce565b9150613d1582613cae565b604082019050919050565b60006020820190508181036000830152613d3981613cfd565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613d9c602f83612cce565b9150613da782613d40565b604082019050919050565b60006020820190508181036000830152613dcb81613d8f565b9050919050565b6000613ddd82612d7e565b9150613de883612d7e565b925082821015613dfb57613dfa613727565b5b828203905092915050565b6000613e1182612d7e565b9150613e1c83612d7e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e5557613e54613727565b5b828202905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613ebc602683612cce565b9150613ec782613e60565b604082019050919050565b60006020820190508181036000830152613eeb81613eaf565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613f4e603283612cce565b9150613f5982613ef2565b604082019050919050565b60006020820190508181036000830152613f7d81613f41565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000613fe0602683612cce565b9150613feb82613f84565b604082019050919050565b6000602082019050818103600083015261400f81613fd3565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614072602583612cce565b915061407d82614016565b604082019050919050565b600060208201905081810360008301526140a181614065565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000614104602a83612cce565b915061410f826140a8565b604082019050919050565b60006020820190508181036000830152614133816140f7565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000614196602f83612cce565b91506141a18261413a565b604082019050919050565b600060208201905081810360008301526141c581614189565b9050919050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614228602183612cce565b9150614233826141cc565b604082019050919050565b600060208201905081810360008301526142578161421b565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b60006142ba602883612cce565b91506142c58261425e565b604082019050919050565b600060208201905081810360008301526142e9816142ad565b9050919050565b60006040820190506143056000830185612e13565b6143126020830184612ed6565b9392505050565b600081519050919050565b600082825260208201905092915050565b600061434082614319565b61434a8185614324565b935061435a818560208601612cdf565b61436381612d12565b840191505092915050565b60006080820190506143836000830187612e13565b6143906020830186612e13565b61439d6040830185612ed6565b81810360608301526143af8184614335565b905095945050505050565b6000815190506143c981612c34565b92915050565b6000602082840312156143e5576143e4612bfe565b5b60006143f3848285016143ba565b91505092915050565b7f546f6b656e2063616e206f6e6c79206265207472616e73666572726564206f6e60008201527f636520312d79656172206c6f636b206861732065787069726564000000000000602082015250565b6000614458603a83612cce565b9150614463826143fc565b604082019050919050565b600060208201905081810360008301526144878161444b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006144c882612d7e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144fb576144fa613727565b5b60018201905091905056fea2646970667358221220992e44306e5009fdec624062881571aedc611cf38a06fa1867232cc0604bbd8d64736f6c63430008090033

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

1581dfb1d82845c3972f303ea463e2b6181def6294e676454426831690b2d0530000000000000000000000009416ba76e88d873050a06e5956a3ebf10386b86300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044697066733a2f2f62616679626569687573667432777a7a6a6579696e71616f376e6464746f6164627a36366870636b62376d6c766a7a37727a6d7171776664796c342f3000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0x1581dfb1d82845c3972f303ea463e2b6181def6294e676454426831690b2d053
Arg [1] : _virtueTokenAddress (address): 0x9416bA76e88D873050A06e5956A3EBF10386b863
Arg [2] : _tokenUri (string): ipfs://bafybeihusft2wzzjeyinqao7nddtoadbz66hpckb7mlvjz7rzmqqwfdyl4/0

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 1581dfb1d82845c3972f303ea463e2b6181def6294e676454426831690b2d053
Arg [1] : 0000000000000000000000009416ba76e88d873050a06e5956a3ebf10386b863
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [4] : 697066733a2f2f62616679626569687573667432777a7a6a6579696e71616f37
Arg [5] : 6e6464746f6164627a36366870636b62376d6c766a7a37727a6d717177666479
Arg [6] : 6c342f3000000000000000000000000000000000000000000000000000000000


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.