ETH Price: $3,361.30 (-1.62%)
Gas: 7 Gwei

Token

Gunther's Rich Dog Collection (GRDC)
 

Overview

Max Total Supply

29 GRDC

Holders

6

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 GRDC
0xC73F80Cc0997b19E6308AF69d1C33Bf67d92B55e
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:
GuntherRichDog

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : ConfirmedOwner.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ConfirmedOwnerWithProposal.sol";

/**
 * @title The ConfirmedOwner contract
 * @notice A contract with helpers for basic contract ownership.
 */
contract ConfirmedOwner is ConfirmedOwnerWithProposal {
  constructor(address newOwner) ConfirmedOwnerWithProposal(newOwner, address(0)) {}
}

File 2 of 18 : ConfirmedOwnerWithProposal.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/OwnableInterface.sol";

/**
 * @title The ConfirmedOwner contract
 * @notice A contract with helpers for basic contract ownership.
 */
contract ConfirmedOwnerWithProposal is OwnableInterface {
  address private s_owner;
  address private s_pendingOwner;

  event OwnershipTransferRequested(address indexed from, address indexed to);
  event OwnershipTransferred(address indexed from, address indexed to);

  constructor(address newOwner, address pendingOwner) {
    require(newOwner != address(0), "Cannot set owner to zero");

    s_owner = newOwner;
    if (pendingOwner != address(0)) {
      _transferOwnership(pendingOwner);
    }
  }

  /**
   * @notice Allows an owner to begin transferring ownership to a new address,
   * pending.
   */
  function transferOwnership(address to) public override onlyOwner {
    _transferOwnership(to);
  }

  /**
   * @notice Allows an ownership transfer to be completed by the recipient.
   */
  function acceptOwnership() external override {
    require(msg.sender == s_pendingOwner, "Must be proposed owner");

    address oldOwner = s_owner;
    s_owner = msg.sender;
    s_pendingOwner = address(0);

    emit OwnershipTransferred(oldOwner, msg.sender);
  }

  /**
   * @notice Get the current owner
   */
  function owner() public view override returns (address) {
    return s_owner;
  }

  /**
   * @notice validate, transfer ownership, and emit relevant events
   */
  function _transferOwnership(address to) private {
    require(to != msg.sender, "Cannot transfer to self");

    s_pendingOwner = to;

    emit OwnershipTransferRequested(s_owner, to);
  }

  /**
   * @notice validate access
   */
  function _validateOwnership() internal view {
    require(msg.sender == s_owner, "Only callable by owner");
  }

  /**
   * @notice Reverts if called by anyone other than the contract owner.
   */
  modifier onlyOwner() {
    _validateOwnership();
    _;
  }
}

File 3 of 18 : OwnableInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface OwnableInterface {
  function owner() external returns (address);

  function transferOwnership(address recipient) external;

  function acceptOwnership() external;
}

File 4 of 18 : VRFCoordinatorV2Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface VRFCoordinatorV2Interface {
  /**
   * @notice Get configuration relevant for making requests
   * @return minimumRequestConfirmations global min for request confirmations
   * @return maxGasLimit global max for request gas limit
   * @return s_provingKeyHashes list of registered key hashes
   */
  function getRequestConfig()
    external
    view
    returns (
      uint16,
      uint32,
      bytes32[] memory
    );

  /**
   * @notice Request a set of random words.
   * @param keyHash - Corresponds to a particular oracle job which uses
   * that key for generating the VRF proof. Different keyHash's have different gas price
   * ceilings, so you can select a specific one to bound your maximum per request cost.
   * @param subId  - The ID of the VRF subscription. Must be funded
   * with the minimum subscription balance required for the selected keyHash.
   * @param minimumRequestConfirmations - How many blocks you'd like the
   * oracle to wait before responding to the request. See SECURITY CONSIDERATIONS
   * for why you may want to request more. The acceptable range is
   * [minimumRequestBlockConfirmations, 200].
   * @param callbackGasLimit - How much gas you'd like to receive in your
   * fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords
   * may be slightly less than this amount because of gas used calling the function
   * (argument decoding etc.), so you may need to request slightly more than you expect
   * to have inside fulfillRandomWords. The acceptable range is
   * [0, maxGasLimit]
   * @param numWords - The number of uint256 random values you'd like to receive
   * in your fulfillRandomWords callback. Note these numbers are expanded in a
   * secure way by the VRFCoordinator from a single random value supplied by the oracle.
   * @return requestId - A unique identifier of the request. Can be used to match
   * a request to a response in fulfillRandomWords.
   */
  function requestRandomWords(
    bytes32 keyHash,
    uint64 subId,
    uint16 minimumRequestConfirmations,
    uint32 callbackGasLimit,
    uint32 numWords
  ) external returns (uint256 requestId);

  /**
   * @notice Create a VRF subscription.
   * @return subId - A unique subscription id.
   * @dev You can manage the consumer set dynamically with addConsumer/removeConsumer.
   * @dev Note to fund the subscription, use transferAndCall. For example
   * @dev  LINKTOKEN.transferAndCall(
   * @dev    address(COORDINATOR),
   * @dev    amount,
   * @dev    abi.encode(subId));
   */
  function createSubscription() external returns (uint64 subId);

  /**
   * @notice Get a VRF subscription.
   * @param subId - ID of the subscription
   * @return balance - LINK balance of the subscription in juels.
   * @return reqCount - number of requests for this subscription, determines fee tier.
   * @return owner - owner of the subscription.
   * @return consumers - list of consumer address which are able to use this subscription.
   */
  function getSubscription(uint64 subId)
    external
    view
    returns (
      uint96 balance,
      uint64 reqCount,
      address owner,
      address[] memory consumers
    );

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @param newOwner - proposed new owner of the subscription
   */
  function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external;

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @dev will revert if original owner of subId has
   * not requested that msg.sender become the new owner.
   */
  function acceptSubscriptionOwnerTransfer(uint64 subId) external;

  /**
   * @notice Add a consumer to a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - New consumer which can use the subscription
   */
  function addConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Remove a consumer from a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - Consumer to remove from the subscription
   */
  function removeConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Cancel a subscription
   * @param subId - ID of the subscription
   * @param to - Where to send the remaining LINK to
   */
  function cancelSubscription(uint64 subId, address to) external;

  /*
   * @notice Check to see if there exists a request commitment consumers
   * for all consumers and keyhashes for a given sub.
   * @param subId - ID of the subscription
   * @return true if there exists at least one unfulfilled request for the subscription, false
   * otherwise.
   */
  function pendingRequestExists(uint64 subId) external view returns (bool);
}

File 5 of 18 : VRFConsumerBaseV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness. It ensures 2 things:
 * @dev 1. The fulfillment came from the VRFCoordinator
 * @dev 2. The consumer contract implements fulfillRandomWords.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constructor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash). Create subscription, fund it
 * @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface
 * @dev subscription management functions).
 * @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations,
 * @dev callbackGasLimit, numWords),
 * @dev see (VRFCoordinatorInterface for a description of the arguments).
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomWords method.
 *
 * @dev The randomness argument to fulfillRandomWords is a set of random words
 * @dev generated from your requestId and the blockHash of the request.
 *
 * @dev If your contract could have concurrent requests open, you can use the
 * @dev requestId returned from requestRandomWords to track which response is associated
 * @dev with which randomness request.
 * @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ.
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request. It is for this reason that
 * @dev that you can signal to an oracle you'd like them to wait longer before
 * @dev responding to the request (however this is not enforced in the contract
 * @dev and so remains effective only in the case of unmodified oracle software).
 */
abstract contract VRFConsumerBaseV2 {
  error OnlyCoordinatorCanFulfill(address have, address want);
  address private immutable vrfCoordinator;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   */
  constructor(address _vrfCoordinator) {
    vrfCoordinator = _vrfCoordinator;
  }

  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomWords the VRF output expanded to the requested number of words
   */
  function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual;

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external {
    if (msg.sender != vrfCoordinator) {
      revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator);
    }
    fulfillRandomWords(requestId, randomWords);
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 7 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

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

        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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _ownerOf(tokenId) != address(0);
    }

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

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

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

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

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

File 8 of 18 : 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 9 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 11 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 12 of 18 : 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 13 of 18 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

File 16 of 18 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 17 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

File 18 of 18 : GuntherRichDog.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.19;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";
import "@chainlink/contracts/src/v0.8/ConfirmedOwner.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract GuntherRichDog is ERC721, VRFConsumerBaseV2, ConfirmedOwner {
    using Strings for uint256;

    string public baseURIUnrevealed = "ipfs://QmcbTCuMKpxDEVFbxCNLPrk3gnT9iXqgso6KQCRqysjTqH/";
    string public baseURIRevealed = "ipfs://QmcXtEmzQPqgJZxZixN8jGovhY9x4AYjCqECDqHySYhWx3/";

    uint256 public constant MAX_SUPPLY = 2555;
    uint256 public constant MAX_PER_TX = 10;
    uint256 public constant PRICE = 0.055 ether;
    uint256 public constant WHITELIST_TIME = 3600;

    bool public metadataLocked = false;
    bool public mintingPaused = false;
    uint256 public saleStartTimestamp = 0;
    uint256 public tokenIndex = 1;
    uint256 public randomOffset = 0;
    uint256 public totalSupply = 0;

    bytes32 public merkleRoot;
    
    // chainlink
    event RequestSent(uint256 requestId, uint32 numWords);
    event RequestFulfilled(uint256 requestId, uint256[] randomWords);
    uint256 public chainlinkRequestId = 0;
    bool public chainlinkRequestExists = false;
    bool public chainlinkRequestFulfilled = false;
    VRFCoordinatorV2Interface COORDINATOR;
    uint64 s_subscriptionId = 757;
    bytes32 keyHash = 0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef;
    uint32 callbackGasLimit = 200000;
    uint16 requestConfirmations = 3;

    /**
     * @dev Initializes the contract
     */
    constructor()
        ERC721("Gunther's Rich Dog Collection", "GRDC")
        VRFConsumerBaseV2(0x271682DEB8C4E0901D1a1550aD2e64D568E69909)
        ConfirmedOwner(msg.sender)
    {
        COORDINATOR = VRFCoordinatorV2Interface(
            0x271682DEB8C4E0901D1a1550aD2e64D568E69909
        );
    }
    
    /**
     * ------------ METADATA ------------ 
     */

    /**
     * @dev Gets base metadata URI
     */
    function _baseURI() internal view override returns (string memory) {
        return chainlinkRequestFulfilled ? baseURIRevealed : baseURIUnrevealed;
    }
    
    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        uint256 metadataId = (tokenId + randomOffset) % MAX_SUPPLY;

        return string(abi.encodePacked(_baseURI(), metadataId.toString()));
    }

    /**
     * ------------ SALE ------------ 
     */

    /**
     * @dev Toggle pause minting, callable by owner
     */
    function togglePauseMinting() external onlyOwner {
        mintingPaused = !mintingPaused;
    }
    

    /**
     * @dev Starts public sale, callable by owner
     */
    function startSale() external onlyOwner {
        require(saleStartTimestamp == 0, "Already started");
        saleStartTimestamp = block.timestamp;
    }
    
    /**
     * @dev Mints `count` tokens to sender
     */
    function mint(uint256 count) external payable {
        require(!mintingPaused, "Minting paused");
        require(block.timestamp >= saleStartTimestamp, "Sale not started");
        require(msg.value == count*PRICE, "Incorrect ETH value");
        require(count <= MAX_PER_TX, "Too many tokens per tx");
        require(totalSupply + count <= MAX_SUPPLY, "Supply exceeded");

        uint256 index = tokenIndex;
        for (uint256 i = 0; i < count; i++) {
            require(index < MAX_SUPPLY, "Bad index");
            _mint(msg.sender, index);
            index++;
        }

        tokenIndex = index;
        totalSupply += count;
    }
    
    /**
     * @dev Manual minting by owner, callable by owner
     */
    function mintOwner(address[] calldata owners, uint256[] calldata tokenIds) external onlyOwner {
        require(owners.length == tokenIds.length, "Bad length");

        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(tokenIds[i] < MAX_SUPPLY);
            _mint(owners[i], tokenIds[i]);
        }

        totalSupply += tokenIds.length;
    }

    /**
     * @dev Edit token index
     */
    function editMintIndex(uint256 newMintIndex) public onlyOwner {
        tokenIndex = newMintIndex;
    }

    /**
     * @dev Update merkle root
     */
    function updateMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

    /**
     * @dev Verify merkle proof
     */
    function verifyWhitelisted(address user, bytes32[] memory proof) public view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(user));
        return MerkleProof.verify(proof, merkleRoot, leaf);
    }
    
    /**
     * @dev Withdraw ether from this contract, callable by owner
     */
    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        uint256 ownerShare = (balance * 95 * 1 ether) / 100;
        uint256 devShare = balance * 1 ether - ownerShare;

        payable(msg.sender).transfer(ownerShare / 1 ether);
        payable(0xbCc4CD9BDdaCeFff7e0E7B9dd7a7d7FbC622a960).transfer(devShare / 1 ether);
    }

    /**
     * ------------ CHAINLINK ------------ 
     */
    
    function requestRandomWords()
        external
        onlyOwner
        returns (uint256 requestId)
    {
        require(!chainlinkRequestFulfilled, "Already fulfilled");
        requestId = COORDINATOR.requestRandomWords(
            keyHash,
            s_subscriptionId,
            requestConfirmations,
            callbackGasLimit,
            1
        );
        chainlinkRequestId = requestId;
        chainlinkRequestExists = true;
        emit RequestSent(requestId, 1);
        return requestId;
    }

    function fulfillRandomWords(
        uint256 _requestId,
        uint256[] memory _randomWords
    ) internal override {
        require(_requestId == chainlinkRequestId && chainlinkRequestExists == true, "request not found");
        require(!chainlinkRequestFulfilled, "Already fulfilled");
        chainlinkRequestFulfilled = true;
        randomOffset = _randomWords[0] % MAX_SUPPLY;
        emit RequestFulfilled(_requestId, _randomWords);
    }

    function getRequestStatus(
        uint256 _requestId
    ) external view returns (bool fulfilled, uint256 result) {
        require(_requestId == chainlinkRequestId && chainlinkRequestExists == true, "request not found");
        return (chainlinkRequestFulfilled, randomOffset);
    }

    function setChainlinkParams(uint64 _subscriptionId, bytes32 _keyHash, uint32 _callbackGasLimit, uint16 _requestConfirmations) external onlyOwner {
        s_subscriptionId = _subscriptionId;
        keyHash = _keyHash;
        callbackGasLimit = _callbackGasLimit;
        requestConfirmations = _requestConfirmations;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"requestId","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"RequestFulfilled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"requestId","type":"uint256"},{"indexed":false,"internalType":"uint32","name":"numWords","type":"uint32"}],"name":"RequestSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIRevealed","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIUnrevealed","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainlinkRequestExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainlinkRequestFulfilled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainlinkRequestId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintIndex","type":"uint256"}],"name":"editMintIndex","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":"uint256","name":"_requestId","type":"uint256"}],"name":"getRequestStatus","outputs":[{"internalType":"bool","name":"fulfilled","type":"bool"},{"internalType":"uint256","name":"result","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":[],"name":"metadataLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requestRandomWords","outputs":[{"internalType":"uint256","name":"requestId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_subscriptionId","type":"uint64"},{"internalType":"bytes32","name":"_keyHash","type":"bytes32"},{"internalType":"uint32","name":"_callbackGasLimit","type":"uint32"},{"internalType":"uint16","name":"_requestConfirmations","type":"uint16"}],"name":"setChainlinkParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verifyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052604051806060016040528060368152602001620054f260369139600890816200002e919062000764565b5060405180606001604052806036815260200162005528603691396009908162000059919062000764565b506000600a60006101000a81548160ff0219169083151502179055506000600a60016101000a81548160ff0219169083151502179055506000600b556001600c556000600d556000600e5560006010556000601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff0219169083151502179055506102f5601160166101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef60001b60125562030d40601360006101000a81548163ffffffff021916908363ffffffff1602179055506003601360046101000a81548161ffff021916908361ffff1602179055503480156200018057600080fd5b503380600073271682deb8c4e0901d1a1550ad2e64d568e699096040518060400160405280601d81526020017f47756e746865722773205269636820446f6720436f6c6c656374696f6e0000008152506040518060400160405280600481526020017f4752444300000000000000000000000000000000000000000000000000000000815250816000908162000217919062000764565b50806001908162000229919062000764565b5050508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002d3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ca90620008ac565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146200035b576200035a81620003b960201b60201c565b5b50505073271682deb8c4e0901d1a1550ad2e64d568e69909601160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000940565b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200042a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000421906200091e565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127860405160405180910390a350565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200056c57607f821691505b60208210810362000582576200058162000524565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005ec7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620005ad565b620005f88683620005ad565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620006456200063f620006398462000610565b6200061a565b62000610565b9050919050565b6000819050919050565b620006618362000624565b6200067962000670826200064c565b848454620005ba565b825550505050565b600090565b6200069062000681565b6200069d81848462000656565b505050565b5b81811015620006c557620006b960008262000686565b600181019050620006a3565b5050565b601f8211156200071457620006de8162000588565b620006e9846200059d565b81016020851015620006f9578190505b6200071162000708856200059d565b830182620006a2565b50505b505050565b600082821c905092915050565b6000620007396000198460080262000719565b1980831691505092915050565b600062000754838362000726565b9150826002028217905092915050565b6200076f82620004ea565b67ffffffffffffffff8111156200078b576200078a620004f5565b5b62000797825462000553565b620007a4828285620006c9565b600060209050601f831160018114620007dc5760008415620007c7578287015190505b620007d3858262000746565b86555062000843565b601f198416620007ec8662000588565b60005b828110156200081657848901518255600182019150602085019450602081019050620007ef565b8683101562000836578489015162000832601f89168262000726565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f43616e6e6f7420736574206f776e657220746f207a65726f0000000000000000600082015250565b6000620008946018836200084b565b9150620008a1826200085c565b602082019050919050565b60006020820190508181036000830152620008c78162000885565b9050919050565b7f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000600082015250565b6000620009066017836200084b565b91506200091382620008ce565b602082019050919050565b600060208201905081810360008301526200093981620008f7565b9050919050565b608051614b8f6200096360003960008181610cd80152610d2c0152614b8f6000f3fe6080604052600436106102675760003560e01c80637405379411610144578063b88d4fde116100b6578063d8fa31681161007a578063d8fa3168146108dc578063e0c8628914610905578063e1a283d614610930578063e985e9c51461095b578063f2fde38b14610998578063f43a22dc146109c157610267565b8063b88d4fde146107e4578063c65671ba1461080d578063c87b56dd14610836578063d55f927314610873578063d8a4676f1461089e57610267565b80638da5cb5b116101085780638da5cb5b1461070757806395d89b411461073257806397b553611461075d578063a0712d6814610788578063a22cb465146107a4578063b66a0e5d146107cd57610267565b806374053794146106345780637541d0e01461067157806379ba50971461069a5780637b2c865d146106b15780638d859f3e146106dc57610267565b80633b238f56116101dd5780634783f0ef116101a15780634783f0ef14610510578063620f53a8146105395780636352211e1461056457806367a050e5146105a157806369d2ceb1146105cc57806370a08231146105f757610267565b80633b238f56146104635780633c276d861461048e5780633ccfd60b146104b95780633e53afc3146104d057806342842e0e146104e757610267565b806318160ddd1161022f57806318160ddd146103655780631fe543e314610390578063205ca71a146103b957806323b872dd146103e45780632eb4a7ab1461040d57806332cb6b0c1461043857610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b31461031157806315d1a47b1461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612ed9565b6109ec565b6040516102a09190612f21565b60405180910390f35b3480156102b557600080fd5b506102be610ace565b6040516102cb9190612fcc565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613024565b610b60565b6040516103089190613092565b60405180910390f35b34801561031d57600080fd5b50610338600480360381019061033391906130d9565b610ba6565b005b34801561034657600080fd5b5061034f610cbd565b60405161035c9190612f21565b60405180910390f35b34801561037157600080fd5b5061037a610cd0565b6040516103879190613128565b60405180910390f35b34801561039c57600080fd5b506103b760048036038101906103b2919061328b565b610cd6565b005b3480156103c557600080fd5b506103ce610d96565b6040516103db9190612f21565b60405180910390f35b3480156103f057600080fd5b5061040b600480360381019061040691906132e7565b610da9565b005b34801561041957600080fd5b50610422610e09565b60405161042f9190613353565b60405180910390f35b34801561044457600080fd5b5061044d610e0f565b60405161045a9190613128565b60405180910390f35b34801561046f57600080fd5b50610478610e15565b6040516104859190613128565b60405180910390f35b34801561049a57600080fd5b506104a3610e1b565b6040516104b09190613128565b60405180910390f35b3480156104c557600080fd5b506104ce610e21565b005b3480156104dc57600080fd5b506104e5610f4e565b005b3480156104f357600080fd5b5061050e600480360381019061050991906132e7565b610f82565b005b34801561051c57600080fd5b506105376004803603810190610532919061339a565b610fa2565b005b34801561054557600080fd5b5061054e610fb4565b60405161055b9190612fcc565b60405180910390f35b34801561057057600080fd5b5061058b60048036038101906105869190613024565b611042565b6040516105989190613092565b60405180910390f35b3480156105ad57600080fd5b506105b66110c8565b6040516105c39190613128565b60405180910390f35b3480156105d857600080fd5b506105e16110ce565b6040516105ee9190612f21565b60405180910390f35b34801561060357600080fd5b5061061e600480360381019061061991906133c7565b6110e1565b60405161062b9190613128565b60405180910390f35b34801561064057600080fd5b5061065b600480360381019061065691906134b7565b611198565b6040516106689190612f21565b60405180910390f35b34801561067d57600080fd5b5061069860048036038101906106939190613024565b6111da565b005b3480156106a657600080fd5b506106af6111ec565b005b3480156106bd57600080fd5b506106c6611383565b6040516106d39190613128565b60405180910390f35b3480156106e857600080fd5b506106f1611389565b6040516106fe9190613128565b60405180910390f35b34801561071357600080fd5b5061071c611394565b6040516107299190613092565b60405180910390f35b34801561073e57600080fd5b506107476113be565b6040516107549190612fcc565b60405180910390f35b34801561076957600080fd5b50610772611450565b60405161077f9190612fcc565b60405180910390f35b6107a2600480360381019061079d9190613024565b6114de565b005b3480156107b057600080fd5b506107cb60048036038101906107c6919061353f565b611703565b005b3480156107d957600080fd5b506107e2611719565b005b3480156107f057600080fd5b5061080b60048036038101906108069190613634565b61176f565b005b34801561081957600080fd5b50610834600480360381019061082f919061376d565b6117d1565b005b34801561084257600080fd5b5061085d60048036038101906108589190613024565b61184d565b60405161086a9190612fcc565b60405180910390f35b34801561087f57600080fd5b506108886118ef565b6040516108959190613128565b60405180910390f35b3480156108aa57600080fd5b506108c560048036038101906108c09190613024565b6118f5565b6040516108d39291906137d4565b60405180910390f35b3480156108e857600080fd5b5061090360048036038101906108fe91906138ae565b611977565b005b34801561091157600080fd5b5061091a611a7c565b6040516109279190613128565b60405180910390f35b34801561093c57600080fd5b50610945611c18565b6040516109529190612f21565b60405180910390f35b34801561096757600080fd5b50610982600480360381019061097d919061392f565b611c2b565b60405161098f9190612f21565b60405180910390f35b3480156109a457600080fd5b506109bf60048036038101906109ba91906133c7565b611cbf565b005b3480156109cd57600080fd5b506109d6611cd3565b6040516109e39190613128565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ab757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac75750610ac682611cd8565b5b9050919050565b606060008054610add9061399e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b099061399e565b8015610b565780601f10610b2b57610100808354040283529160200191610b56565b820191906000526020600020905b815481529060010190602001808311610b3957829003601f168201915b5050505050905090565b6000610b6b82611d42565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb182611042565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1890613a41565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c40611d8d565b73ffffffffffffffffffffffffffffffffffffffff161480610c6f5750610c6e81610c69611d8d565b611c2b565b5b610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca590613ad3565b60405180910390fd5b610cb88383611d95565b505050565b601160009054906101000a900460ff1681565b600e5481565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d8857337f00000000000000000000000000000000000000000000000000000000000000006040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610d7f929190613af3565b60405180910390fd5b610d928282611e4e565b5050565b601160019054906101000a900460ff1681565b610dba610db4611d8d565b82611f88565b610df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df090613b8e565b60405180910390fd5b610e0483838361201d565b505050565b600f5481565b6109fb81565b600d5481565b600b5481565b610e29612316565b600047905060006064670de0b6b3a7640000605f84610e489190613bdd565b610e529190613bdd565b610e5c9190613c4e565b9050600081670de0b6b3a764000084610e759190613bdd565b610e7f9190613c7f565b90503373ffffffffffffffffffffffffffffffffffffffff166108fc670de0b6b3a764000084610eaf9190613c4e565b9081150290604051600060405180830381858888f19350505050158015610eda573d6000803e3d6000fd5b5073bcc4cd9bddacefff7e0e7b9dd7a7d7fbc622a96073ffffffffffffffffffffffffffffffffffffffff166108fc670de0b6b3a764000083610f1d9190613c4e565b9081150290604051600060405180830381858888f19350505050158015610f48573d6000803e3d6000fd5b50505050565b610f56612316565b600a60019054906101000a900460ff1615600a60016101000a81548160ff021916908315150217905550565b610f9d8383836040518060200160405280600081525061176f565b505050565b610faa612316565b80600f8190555050565b60088054610fc19061399e565b80601f0160208091040260200160405190810160405280929190818152602001828054610fed9061399e565b801561103a5780601f1061100f5761010080835404028352916020019161103a565b820191906000526020600020905b81548152906001019060200180831161101d57829003601f168201915b505050505081565b60008061104e836123a8565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690613cff565b60405180910390fd5b80915050919050565b60105481565b600a60009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114890613d91565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080836040516020016111ac9190613df9565b6040516020818303038152906040528051906020012090506111d183600f54836123e5565b91505092915050565b6111e2612316565b80600c8190555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461127c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127390613e60565b60405180910390fd5b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905033600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b610e1081565b66c3663566a5800081565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113cd9061399e565b80601f01602080910402602001604051908101604052809291908181526020018280546113f99061399e565b80156114465780601f1061141b57610100808354040283529160200191611446565b820191906000526020600020905b81548152906001019060200180831161142957829003601f168201915b5050505050905090565b6009805461145d9061399e565b80601f01602080910402602001604051908101604052809291908181526020018280546114899061399e565b80156114d65780601f106114ab576101008083540402835291602001916114d6565b820191906000526020600020905b8154815290600101906020018083116114b957829003601f168201915b505050505081565b600a60019054906101000a900460ff161561152e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152590613ecc565b60405180910390fd5b600b54421015611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a90613f38565b60405180910390fd5b66c3663566a58000816115869190613bdd565b34146115c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115be90613fa4565b60405180910390fd5b600a81111561160b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160290614010565b60405180910390fd5b6109fb81600e5461161c9190614030565b111561165d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611654906140b0565b60405180910390fd5b6000600c54905060005b828110156116de576109fb82106116b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116aa9061411c565b60405180910390fd5b6116bd33836123fc565b81806116c89061413c565b92505080806116d69061413c565b915050611667565b5080600c8190555081600e60008282546116f89190614030565b925050819055505050565b61171561170e611d8d565b8383612619565b5050565b611721612316565b6000600b5414611766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175d906141d0565b60405180910390fd5b42600b81905550565b61178061177a611d8d565b83611f88565b6117bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b690613b8e565b60405180910390fd5b6117cb84848484612785565b50505050565b6117d9612316565b83601160166101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508260128190555081601360006101000a81548163ffffffff021916908363ffffffff16021790555080601360046101000a81548161ffff021916908361ffff16021790555050505050565b6060611858826127e1565b611897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188e90614262565b60405180910390fd5b60006109fb600d54846118aa9190614030565b6118b49190614282565b90506118be612822565b6118c7826128d0565b6040516020016118d89291906142ef565b604051602081830303815290604052915050919050565b600c5481565b6000806010548314801561191c575060011515601160009054906101000a900460ff161515145b61195b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119529061435f565b60405180910390fd5b601160019054906101000a900460ff16600d5491509150915091565b61197f612316565b8181905084849050146119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be906143cb565b60405180910390fd5b60005b82829050811015611a59576109fb8383838181106119eb576119ea6143eb565b5b90506020020135106119fc57600080fd5b611a46858583818110611a1257611a116143eb565b5b9050602002016020810190611a2791906133c7565b848484818110611a3a57611a396143eb565b5b905060200201356123fc565b8080611a519061413c565b9150506119ca565b5081819050600e6000828254611a6f9190614030565b9250508190555050505050565b6000611a86612316565b601160019054906101000a900460ff1615611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd90614466565b60405180910390fd5b601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30601254601160169054906101000a900467ffffffffffffffff16601360049054906101000a900461ffff16601360009054906101000a900463ffffffff1660016040518663ffffffff1660e01b8152600401611b749594939291906144f8565b6020604051808303816000875af1158015611b93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb79190614560565b9050806010819055506001601160006101000a81548160ff0219169083151502179055507fcc58b13ad3eab50626c6a6300b1d139cd6ebb1688a7cced9461c2f7e762665ee816001604051611c0d92919061458d565b60405180910390a190565b600a60019054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cc7612316565b611cd08161299e565b50565b600a81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611d4b816127e1565b611d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8190613cff565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e0883611042565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60105482148015611e72575060011515601160009054906101000a900460ff161515145b611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea89061435f565b60405180910390fd5b601160019054906101000a900460ff1615611f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef890614466565b60405180910390fd5b6001601160016101000a81548160ff0219169083151502179055506109fb81600081518110611f3357611f326143eb565b5b6020026020010151611f459190614282565b600d819055507ffe2e2d779dba245964d4e3ef9b994be63856fd568bf7d3ca9e224755cb1bd54d8282604051611f7c929190614674565b60405180910390a15050565b600080611f9483611042565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fd65750611fd58185611c2b565b5b8061201457508373ffffffffffffffffffffffffffffffffffffffff16611ffc84610b60565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661203d82611042565b73ffffffffffffffffffffffffffffffffffffffff1614612093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208a90614716565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f9906147a8565b60405180910390fd5b61210f8383836001612acc565b8273ffffffffffffffffffffffffffffffffffffffff1661212f82611042565b73ffffffffffffffffffffffffffffffffffffffff1614612185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217c90614716565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123118383836001612ad2565b505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146123a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239d90614814565b60405180910390fd5b565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000826123f28584612ad8565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290614880565b60405180910390fd5b612474816127e1565b156124b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ab906148ec565b60405180910390fd5b6124c2600083836001612acc565b6124cb816127e1565b1561250b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612502906148ec565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612615600083836001612ad2565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267e90614958565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127789190612f21565b60405180910390a3505050565b61279084848461201d565b61279c84848484612b2e565b6127db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d2906149ea565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff16612803836123a8565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060601160019054906101000a900460ff1661283f576008612842565b60095b805461284d9061399e565b80601f01602080910402602001604051908101604052809291908181526020018280546128799061399e565b80156128c65780601f1061289b576101008083540402835291602001916128c6565b820191906000526020600020905b8154815290600101906020018083116128a957829003601f168201915b5050505050905090565b6060600060016128df84612cb5565b01905060008167ffffffffffffffff8111156128fe576128fd613148565b5b6040519080825280601f01601f1916602001820160405280156129305781602001600182028036833780820191505090505b509050600082602001820190505b600115612993578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161298757612986613c1f565b5b0494506000850361293e575b819350505050919050565b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0390614a56565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127860405160405180910390a350565b50505050565b50505050565b60008082905060005b8451811015612b2357612b0e82868381518110612b0157612b006143eb565b5b6020026020010151612e08565b91508080612b1b9061413c565b915050612ae1565b508091505092915050565b6000612b4f8473ffffffffffffffffffffffffffffffffffffffff16612e33565b15612ca8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b78611d8d565b8786866040518563ffffffff1660e01b8152600401612b9a9493929190614acb565b6020604051808303816000875af1925050508015612bd657506040513d601f19601f82011682018060405250810190612bd39190614b2c565b60015b612c58573d8060008114612c06576040519150601f19603f3d011682016040523d82523d6000602084013e612c0b565b606091505b506000815103612c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c47906149ea565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cad565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612d13577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612d0957612d08613c1f565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612d50576d04ee2d6d415b85acef81000000008381612d4657612d45613c1f565b5b0492506020810190505b662386f26fc100008310612d7f57662386f26fc100008381612d7557612d74613c1f565b5b0492506010810190505b6305f5e1008310612da8576305f5e1008381612d9e57612d9d613c1f565b5b0492506008810190505b6127108310612dcd576127108381612dc357612dc2613c1f565b5b0492506004810190505b60648310612df05760648381612de657612de5613c1f565b5b0492506002810190505b600a8310612dff576001810190505b80915050919050565b6000818310612e2057612e1b8284612e56565b612e2b565b612e2a8383612e56565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612eb681612e81565b8114612ec157600080fd5b50565b600081359050612ed381612ead565b92915050565b600060208284031215612eef57612eee612e77565b5b6000612efd84828501612ec4565b91505092915050565b60008115159050919050565b612f1b81612f06565b82525050565b6000602082019050612f366000830184612f12565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f76578082015181840152602081019050612f5b565b60008484015250505050565b6000601f19601f8301169050919050565b6000612f9e82612f3c565b612fa88185612f47565b9350612fb8818560208601612f58565b612fc181612f82565b840191505092915050565b60006020820190508181036000830152612fe68184612f93565b905092915050565b6000819050919050565b61300181612fee565b811461300c57600080fd5b50565b60008135905061301e81612ff8565b92915050565b60006020828403121561303a57613039612e77565b5b60006130488482850161300f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061307c82613051565b9050919050565b61308c81613071565b82525050565b60006020820190506130a76000830184613083565b92915050565b6130b681613071565b81146130c157600080fd5b50565b6000813590506130d3816130ad565b92915050565b600080604083850312156130f0576130ef612e77565b5b60006130fe858286016130c4565b925050602061310f8582860161300f565b9150509250929050565b61312281612fee565b82525050565b600060208201905061313d6000830184613119565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61318082612f82565b810181811067ffffffffffffffff8211171561319f5761319e613148565b5b80604052505050565b60006131b2612e6d565b90506131be8282613177565b919050565b600067ffffffffffffffff8211156131de576131dd613148565b5b602082029050602081019050919050565b600080fd5b6000613207613202846131c3565b6131a8565b9050808382526020820190506020840283018581111561322a576132296131ef565b5b835b81811015613253578061323f888261300f565b84526020840193505060208101905061322c565b5050509392505050565b600082601f83011261327257613271613143565b5b81356132828482602086016131f4565b91505092915050565b600080604083850312156132a2576132a1612e77565b5b60006132b08582860161300f565b925050602083013567ffffffffffffffff8111156132d1576132d0612e7c565b5b6132dd8582860161325d565b9150509250929050565b600080600060608486031215613300576132ff612e77565b5b600061330e868287016130c4565b935050602061331f868287016130c4565b92505060406133308682870161300f565b9150509250925092565b6000819050919050565b61334d8161333a565b82525050565b60006020820190506133686000830184613344565b92915050565b6133778161333a565b811461338257600080fd5b50565b6000813590506133948161336e565b92915050565b6000602082840312156133b0576133af612e77565b5b60006133be84828501613385565b91505092915050565b6000602082840312156133dd576133dc612e77565b5b60006133eb848285016130c4565b91505092915050565b600067ffffffffffffffff82111561340f5761340e613148565b5b602082029050602081019050919050565b600061343361342e846133f4565b6131a8565b90508083825260208201905060208402830185811115613456576134556131ef565b5b835b8181101561347f578061346b8882613385565b845260208401935050602081019050613458565b5050509392505050565b600082601f83011261349e5761349d613143565b5b81356134ae848260208601613420565b91505092915050565b600080604083850312156134ce576134cd612e77565b5b60006134dc858286016130c4565b925050602083013567ffffffffffffffff8111156134fd576134fc612e7c565b5b61350985828601613489565b9150509250929050565b61351c81612f06565b811461352757600080fd5b50565b60008135905061353981613513565b92915050565b6000806040838503121561355657613555612e77565b5b6000613564858286016130c4565b92505060206135758582860161352a565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561359f5761359e613148565b5b6135a882612f82565b9050602081019050919050565b82818337600083830152505050565b60006135d76135d284613584565b6131a8565b9050828152602081018484840111156135f3576135f261357f565b5b6135fe8482856135b5565b509392505050565b600082601f83011261361b5761361a613143565b5b813561362b8482602086016135c4565b91505092915050565b6000806000806080858703121561364e5761364d612e77565b5b600061365c878288016130c4565b945050602061366d878288016130c4565b935050604061367e8782880161300f565b925050606085013567ffffffffffffffff81111561369f5761369e612e7c565b5b6136ab87828801613606565b91505092959194509250565b600067ffffffffffffffff82169050919050565b6136d4816136b7565b81146136df57600080fd5b50565b6000813590506136f1816136cb565b92915050565b600063ffffffff82169050919050565b613710816136f7565b811461371b57600080fd5b50565b60008135905061372d81613707565b92915050565b600061ffff82169050919050565b61374a81613733565b811461375557600080fd5b50565b60008135905061376781613741565b92915050565b6000806000806080858703121561378757613786612e77565b5b6000613795878288016136e2565b94505060206137a687828801613385565b93505060406137b78782880161371e565b92505060606137c887828801613758565b91505092959194509250565b60006040820190506137e96000830185612f12565b6137f66020830184613119565b9392505050565b600080fd5b60008083601f84011261381857613817613143565b5b8235905067ffffffffffffffff811115613835576138346137fd565b5b602083019150836020820283011115613851576138506131ef565b5b9250929050565b60008083601f84011261386e5761386d613143565b5b8235905067ffffffffffffffff81111561388b5761388a6137fd565b5b6020830191508360208202830111156138a7576138a66131ef565b5b9250929050565b600080600080604085870312156138c8576138c7612e77565b5b600085013567ffffffffffffffff8111156138e6576138e5612e7c565b5b6138f287828801613802565b9450945050602085013567ffffffffffffffff81111561391557613914612e7c565b5b61392187828801613858565b925092505092959194509250565b6000806040838503121561394657613945612e77565b5b6000613954858286016130c4565b9250506020613965858286016130c4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139b657607f821691505b6020821081036139c9576139c861396f565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a2b602183612f47565b9150613a36826139cf565b604082019050919050565b60006020820190508181036000830152613a5a81613a1e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613abd603d83612f47565b9150613ac882613a61565b604082019050919050565b60006020820190508181036000830152613aec81613ab0565b9050919050565b6000604082019050613b086000830185613083565b613b156020830184613083565b9392505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613b78602d83612f47565b9150613b8382613b1c565b604082019050919050565b60006020820190508181036000830152613ba781613b6b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613be882612fee565b9150613bf383612fee565b9250828202613c0181612fee565b91508282048414831517613c1857613c17613bae565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613c5982612fee565b9150613c6483612fee565b925082613c7457613c73613c1f565b5b828204905092915050565b6000613c8a82612fee565b9150613c9583612fee565b9250828203905081811115613cad57613cac613bae565b5b92915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613ce9601883612f47565b9150613cf482613cb3565b602082019050919050565b60006020820190508181036000830152613d1881613cdc565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613d7b602983612f47565b9150613d8682613d1f565b604082019050919050565b60006020820190508181036000830152613daa81613d6e565b9050919050565b60008160601b9050919050565b6000613dc982613db1565b9050919050565b6000613ddb82613dbe565b9050919050565b613df3613dee82613071565b613dd0565b82525050565b6000613e058284613de2565b60148201915081905092915050565b7f4d7573742062652070726f706f736564206f776e657200000000000000000000600082015250565b6000613e4a601683612f47565b9150613e5582613e14565b602082019050919050565b60006020820190508181036000830152613e7981613e3d565b9050919050565b7f4d696e74696e6720706175736564000000000000000000000000000000000000600082015250565b6000613eb6600e83612f47565b9150613ec182613e80565b602082019050919050565b60006020820190508181036000830152613ee581613ea9565b9050919050565b7f53616c65206e6f74207374617274656400000000000000000000000000000000600082015250565b6000613f22601083612f47565b9150613f2d82613eec565b602082019050919050565b60006020820190508181036000830152613f5181613f15565b9050919050565b7f496e636f7272656374204554482076616c756500000000000000000000000000600082015250565b6000613f8e601383612f47565b9150613f9982613f58565b602082019050919050565b60006020820190508181036000830152613fbd81613f81565b9050919050565b7f546f6f206d616e7920746f6b656e732070657220747800000000000000000000600082015250565b6000613ffa601683612f47565b915061400582613fc4565b602082019050919050565b6000602082019050818103600083015261402981613fed565b9050919050565b600061403b82612fee565b915061404683612fee565b925082820190508082111561405e5761405d613bae565b5b92915050565b7f537570706c792065786365656465640000000000000000000000000000000000600082015250565b600061409a600f83612f47565b91506140a582614064565b602082019050919050565b600060208201905081810360008301526140c98161408d565b9050919050565b7f42616420696e6465780000000000000000000000000000000000000000000000600082015250565b6000614106600983612f47565b9150614111826140d0565b602082019050919050565b60006020820190508181036000830152614135816140f9565b9050919050565b600061414782612fee565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361417957614178613bae565b5b600182019050919050565b7f416c726561647920737461727465640000000000000000000000000000000000600082015250565b60006141ba600f83612f47565b91506141c582614184565b602082019050919050565b600060208201905081810360008301526141e9816141ad565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b600061424c603183612f47565b9150614257826141f0565b604082019050919050565b6000602082019050818103600083015261427b8161423f565b9050919050565b600061428d82612fee565b915061429883612fee565b9250826142a8576142a7613c1f565b5b828206905092915050565b600081905092915050565b60006142c982612f3c565b6142d381856142b3565b93506142e3818560208601612f58565b80840191505092915050565b60006142fb82856142be565b915061430782846142be565b91508190509392505050565b7f72657175657374206e6f7420666f756e64000000000000000000000000000000600082015250565b6000614349601183612f47565b915061435482614313565b602082019050919050565b600060208201905081810360008301526143788161433c565b9050919050565b7f426164206c656e67746800000000000000000000000000000000000000000000600082015250565b60006143b5600a83612f47565b91506143c08261437f565b602082019050919050565b600060208201905081810360008301526143e4816143a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f416c72656164792066756c66696c6c6564000000000000000000000000000000600082015250565b6000614450601183612f47565b915061445b8261441a565b602082019050919050565b6000602082019050818103600083015261447f81614443565b9050919050565b61448f816136b7565b82525050565b61449e81613733565b82525050565b6144ad816136f7565b82525050565b6000819050919050565b6000819050919050565b60006144e26144dd6144d8846144b3565b6144bd565b6136f7565b9050919050565b6144f2816144c7565b82525050565b600060a08201905061450d6000830188613344565b61451a6020830187614486565b6145276040830186614495565b61453460608301856144a4565b61454160808301846144e9565b9695505050505050565b60008151905061455a81612ff8565b92915050565b60006020828403121561457657614575612e77565b5b60006145848482850161454b565b91505092915050565b60006040820190506145a26000830185613119565b6145af60208301846144e9565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6145eb81612fee565b82525050565b60006145fd83836145e2565b60208301905092915050565b6000602082019050919050565b6000614621826145b6565b61462b81856145c1565b9350614636836145d2565b8060005b8381101561466757815161464e88826145f1565b975061465983614609565b92505060018101905061463a565b5085935050505092915050565b60006040820190506146896000830185613119565b818103602083015261469b8184614616565b90509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614700602583612f47565b915061470b826146a4565b604082019050919050565b6000602082019050818103600083015261472f816146f3565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614792602483612f47565b915061479d82614736565b604082019050919050565b600060208201905081810360008301526147c181614785565b9050919050565b7f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000600082015250565b60006147fe601683612f47565b9150614809826147c8565b602082019050919050565b6000602082019050818103600083015261482d816147f1565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061486a602083612f47565b915061487582614834565b602082019050919050565b600060208201905081810360008301526148998161485d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006148d6601c83612f47565b91506148e1826148a0565b602082019050919050565b60006020820190508181036000830152614905816148c9565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614942601983612f47565b915061494d8261490c565b602082019050919050565b6000602082019050818103600083015261497181614935565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006149d4603283612f47565b91506149df82614978565b604082019050919050565b60006020820190508181036000830152614a03816149c7565b9050919050565b7f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000600082015250565b6000614a40601783612f47565b9150614a4b82614a0a565b602082019050919050565b60006020820190508181036000830152614a6f81614a33565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a9d82614a76565b614aa78185614a81565b9350614ab7818560208601612f58565b614ac081612f82565b840191505092915050565b6000608082019050614ae06000830187613083565b614aed6020830186613083565b614afa6040830185613119565b8181036060830152614b0c8184614a92565b905095945050505050565b600081519050614b2681612ead565b92915050565b600060208284031215614b4257614b41612e77565b5b6000614b5084828501614b17565b9150509291505056fea26469706673582212205a970ed0fd0bdd234f29acaec1cb7d8ad619ed509178e49b41199cde899ab49e64736f6c63430008130033697066733a2f2f516d63625443754d4b7078444556466278434e4c50726b33676e543969587167736f364b5143527179736a5471482f697066733a2f2f516d635874456d7a515071674a5a785a69784e386a476f76685939783441596a43714543447148795359685778332f

Deployed Bytecode

0x6080604052600436106102675760003560e01c80637405379411610144578063b88d4fde116100b6578063d8fa31681161007a578063d8fa3168146108dc578063e0c8628914610905578063e1a283d614610930578063e985e9c51461095b578063f2fde38b14610998578063f43a22dc146109c157610267565b8063b88d4fde146107e4578063c65671ba1461080d578063c87b56dd14610836578063d55f927314610873578063d8a4676f1461089e57610267565b80638da5cb5b116101085780638da5cb5b1461070757806395d89b411461073257806397b553611461075d578063a0712d6814610788578063a22cb465146107a4578063b66a0e5d146107cd57610267565b806374053794146106345780637541d0e01461067157806379ba50971461069a5780637b2c865d146106b15780638d859f3e146106dc57610267565b80633b238f56116101dd5780634783f0ef116101a15780634783f0ef14610510578063620f53a8146105395780636352211e1461056457806367a050e5146105a157806369d2ceb1146105cc57806370a08231146105f757610267565b80633b238f56146104635780633c276d861461048e5780633ccfd60b146104b95780633e53afc3146104d057806342842e0e146104e757610267565b806318160ddd1161022f57806318160ddd146103655780631fe543e314610390578063205ca71a146103b957806323b872dd146103e45780632eb4a7ab1461040d57806332cb6b0c1461043857610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b31461031157806315d1a47b1461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612ed9565b6109ec565b6040516102a09190612f21565b60405180910390f35b3480156102b557600080fd5b506102be610ace565b6040516102cb9190612fcc565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613024565b610b60565b6040516103089190613092565b60405180910390f35b34801561031d57600080fd5b50610338600480360381019061033391906130d9565b610ba6565b005b34801561034657600080fd5b5061034f610cbd565b60405161035c9190612f21565b60405180910390f35b34801561037157600080fd5b5061037a610cd0565b6040516103879190613128565b60405180910390f35b34801561039c57600080fd5b506103b760048036038101906103b2919061328b565b610cd6565b005b3480156103c557600080fd5b506103ce610d96565b6040516103db9190612f21565b60405180910390f35b3480156103f057600080fd5b5061040b600480360381019061040691906132e7565b610da9565b005b34801561041957600080fd5b50610422610e09565b60405161042f9190613353565b60405180910390f35b34801561044457600080fd5b5061044d610e0f565b60405161045a9190613128565b60405180910390f35b34801561046f57600080fd5b50610478610e15565b6040516104859190613128565b60405180910390f35b34801561049a57600080fd5b506104a3610e1b565b6040516104b09190613128565b60405180910390f35b3480156104c557600080fd5b506104ce610e21565b005b3480156104dc57600080fd5b506104e5610f4e565b005b3480156104f357600080fd5b5061050e600480360381019061050991906132e7565b610f82565b005b34801561051c57600080fd5b506105376004803603810190610532919061339a565b610fa2565b005b34801561054557600080fd5b5061054e610fb4565b60405161055b9190612fcc565b60405180910390f35b34801561057057600080fd5b5061058b60048036038101906105869190613024565b611042565b6040516105989190613092565b60405180910390f35b3480156105ad57600080fd5b506105b66110c8565b6040516105c39190613128565b60405180910390f35b3480156105d857600080fd5b506105e16110ce565b6040516105ee9190612f21565b60405180910390f35b34801561060357600080fd5b5061061e600480360381019061061991906133c7565b6110e1565b60405161062b9190613128565b60405180910390f35b34801561064057600080fd5b5061065b600480360381019061065691906134b7565b611198565b6040516106689190612f21565b60405180910390f35b34801561067d57600080fd5b5061069860048036038101906106939190613024565b6111da565b005b3480156106a657600080fd5b506106af6111ec565b005b3480156106bd57600080fd5b506106c6611383565b6040516106d39190613128565b60405180910390f35b3480156106e857600080fd5b506106f1611389565b6040516106fe9190613128565b60405180910390f35b34801561071357600080fd5b5061071c611394565b6040516107299190613092565b60405180910390f35b34801561073e57600080fd5b506107476113be565b6040516107549190612fcc565b60405180910390f35b34801561076957600080fd5b50610772611450565b60405161077f9190612fcc565b60405180910390f35b6107a2600480360381019061079d9190613024565b6114de565b005b3480156107b057600080fd5b506107cb60048036038101906107c6919061353f565b611703565b005b3480156107d957600080fd5b506107e2611719565b005b3480156107f057600080fd5b5061080b60048036038101906108069190613634565b61176f565b005b34801561081957600080fd5b50610834600480360381019061082f919061376d565b6117d1565b005b34801561084257600080fd5b5061085d60048036038101906108589190613024565b61184d565b60405161086a9190612fcc565b60405180910390f35b34801561087f57600080fd5b506108886118ef565b6040516108959190613128565b60405180910390f35b3480156108aa57600080fd5b506108c560048036038101906108c09190613024565b6118f5565b6040516108d39291906137d4565b60405180910390f35b3480156108e857600080fd5b5061090360048036038101906108fe91906138ae565b611977565b005b34801561091157600080fd5b5061091a611a7c565b6040516109279190613128565b60405180910390f35b34801561093c57600080fd5b50610945611c18565b6040516109529190612f21565b60405180910390f35b34801561096757600080fd5b50610982600480360381019061097d919061392f565b611c2b565b60405161098f9190612f21565b60405180910390f35b3480156109a457600080fd5b506109bf60048036038101906109ba91906133c7565b611cbf565b005b3480156109cd57600080fd5b506109d6611cd3565b6040516109e39190613128565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ab757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac75750610ac682611cd8565b5b9050919050565b606060008054610add9061399e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b099061399e565b8015610b565780601f10610b2b57610100808354040283529160200191610b56565b820191906000526020600020905b815481529060010190602001808311610b3957829003601f168201915b5050505050905090565b6000610b6b82611d42565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb182611042565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1890613a41565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c40611d8d565b73ffffffffffffffffffffffffffffffffffffffff161480610c6f5750610c6e81610c69611d8d565b611c2b565b5b610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca590613ad3565b60405180910390fd5b610cb88383611d95565b505050565b601160009054906101000a900460ff1681565b600e5481565b7f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990973ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d8857337f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699096040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610d7f929190613af3565b60405180910390fd5b610d928282611e4e565b5050565b601160019054906101000a900460ff1681565b610dba610db4611d8d565b82611f88565b610df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df090613b8e565b60405180910390fd5b610e0483838361201d565b505050565b600f5481565b6109fb81565b600d5481565b600b5481565b610e29612316565b600047905060006064670de0b6b3a7640000605f84610e489190613bdd565b610e529190613bdd565b610e5c9190613c4e565b9050600081670de0b6b3a764000084610e759190613bdd565b610e7f9190613c7f565b90503373ffffffffffffffffffffffffffffffffffffffff166108fc670de0b6b3a764000084610eaf9190613c4e565b9081150290604051600060405180830381858888f19350505050158015610eda573d6000803e3d6000fd5b5073bcc4cd9bddacefff7e0e7b9dd7a7d7fbc622a96073ffffffffffffffffffffffffffffffffffffffff166108fc670de0b6b3a764000083610f1d9190613c4e565b9081150290604051600060405180830381858888f19350505050158015610f48573d6000803e3d6000fd5b50505050565b610f56612316565b600a60019054906101000a900460ff1615600a60016101000a81548160ff021916908315150217905550565b610f9d8383836040518060200160405280600081525061176f565b505050565b610faa612316565b80600f8190555050565b60088054610fc19061399e565b80601f0160208091040260200160405190810160405280929190818152602001828054610fed9061399e565b801561103a5780601f1061100f5761010080835404028352916020019161103a565b820191906000526020600020905b81548152906001019060200180831161101d57829003601f168201915b505050505081565b60008061104e836123a8565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690613cff565b60405180910390fd5b80915050919050565b60105481565b600a60009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114890613d91565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080836040516020016111ac9190613df9565b6040516020818303038152906040528051906020012090506111d183600f54836123e5565b91505092915050565b6111e2612316565b80600c8190555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461127c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127390613e60565b60405180910390fd5b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905033600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b610e1081565b66c3663566a5800081565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113cd9061399e565b80601f01602080910402602001604051908101604052809291908181526020018280546113f99061399e565b80156114465780601f1061141b57610100808354040283529160200191611446565b820191906000526020600020905b81548152906001019060200180831161142957829003601f168201915b5050505050905090565b6009805461145d9061399e565b80601f01602080910402602001604051908101604052809291908181526020018280546114899061399e565b80156114d65780601f106114ab576101008083540402835291602001916114d6565b820191906000526020600020905b8154815290600101906020018083116114b957829003601f168201915b505050505081565b600a60019054906101000a900460ff161561152e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152590613ecc565b60405180910390fd5b600b54421015611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a90613f38565b60405180910390fd5b66c3663566a58000816115869190613bdd565b34146115c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115be90613fa4565b60405180910390fd5b600a81111561160b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160290614010565b60405180910390fd5b6109fb81600e5461161c9190614030565b111561165d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611654906140b0565b60405180910390fd5b6000600c54905060005b828110156116de576109fb82106116b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116aa9061411c565b60405180910390fd5b6116bd33836123fc565b81806116c89061413c565b92505080806116d69061413c565b915050611667565b5080600c8190555081600e60008282546116f89190614030565b925050819055505050565b61171561170e611d8d565b8383612619565b5050565b611721612316565b6000600b5414611766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175d906141d0565b60405180910390fd5b42600b81905550565b61178061177a611d8d565b83611f88565b6117bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b690613b8e565b60405180910390fd5b6117cb84848484612785565b50505050565b6117d9612316565b83601160166101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508260128190555081601360006101000a81548163ffffffff021916908363ffffffff16021790555080601360046101000a81548161ffff021916908361ffff16021790555050505050565b6060611858826127e1565b611897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188e90614262565b60405180910390fd5b60006109fb600d54846118aa9190614030565b6118b49190614282565b90506118be612822565b6118c7826128d0565b6040516020016118d89291906142ef565b604051602081830303815290604052915050919050565b600c5481565b6000806010548314801561191c575060011515601160009054906101000a900460ff161515145b61195b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119529061435f565b60405180910390fd5b601160019054906101000a900460ff16600d5491509150915091565b61197f612316565b8181905084849050146119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be906143cb565b60405180910390fd5b60005b82829050811015611a59576109fb8383838181106119eb576119ea6143eb565b5b90506020020135106119fc57600080fd5b611a46858583818110611a1257611a116143eb565b5b9050602002016020810190611a2791906133c7565b848484818110611a3a57611a396143eb565b5b905060200201356123fc565b8080611a519061413c565b9150506119ca565b5081819050600e6000828254611a6f9190614030565b9250508190555050505050565b6000611a86612316565b601160019054906101000a900460ff1615611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd90614466565b60405180910390fd5b601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30601254601160169054906101000a900467ffffffffffffffff16601360049054906101000a900461ffff16601360009054906101000a900463ffffffff1660016040518663ffffffff1660e01b8152600401611b749594939291906144f8565b6020604051808303816000875af1158015611b93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb79190614560565b9050806010819055506001601160006101000a81548160ff0219169083151502179055507fcc58b13ad3eab50626c6a6300b1d139cd6ebb1688a7cced9461c2f7e762665ee816001604051611c0d92919061458d565b60405180910390a190565b600a60019054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cc7612316565b611cd08161299e565b50565b600a81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611d4b816127e1565b611d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8190613cff565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e0883611042565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60105482148015611e72575060011515601160009054906101000a900460ff161515145b611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea89061435f565b60405180910390fd5b601160019054906101000a900460ff1615611f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef890614466565b60405180910390fd5b6001601160016101000a81548160ff0219169083151502179055506109fb81600081518110611f3357611f326143eb565b5b6020026020010151611f459190614282565b600d819055507ffe2e2d779dba245964d4e3ef9b994be63856fd568bf7d3ca9e224755cb1bd54d8282604051611f7c929190614674565b60405180910390a15050565b600080611f9483611042565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fd65750611fd58185611c2b565b5b8061201457508373ffffffffffffffffffffffffffffffffffffffff16611ffc84610b60565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661203d82611042565b73ffffffffffffffffffffffffffffffffffffffff1614612093576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208a90614716565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f9906147a8565b60405180910390fd5b61210f8383836001612acc565b8273ffffffffffffffffffffffffffffffffffffffff1661212f82611042565b73ffffffffffffffffffffffffffffffffffffffff1614612185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217c90614716565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123118383836001612ad2565b505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146123a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239d90614814565b60405180910390fd5b565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000826123f28584612ad8565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290614880565b60405180910390fd5b612474816127e1565b156124b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ab906148ec565b60405180910390fd5b6124c2600083836001612acc565b6124cb816127e1565b1561250b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612502906148ec565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612615600083836001612ad2565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267e90614958565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127789190612f21565b60405180910390a3505050565b61279084848461201d565b61279c84848484612b2e565b6127db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d2906149ea565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff16612803836123a8565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060601160019054906101000a900460ff1661283f576008612842565b60095b805461284d9061399e565b80601f01602080910402602001604051908101604052809291908181526020018280546128799061399e565b80156128c65780601f1061289b576101008083540402835291602001916128c6565b820191906000526020600020905b8154815290600101906020018083116128a957829003601f168201915b5050505050905090565b6060600060016128df84612cb5565b01905060008167ffffffffffffffff8111156128fe576128fd613148565b5b6040519080825280601f01601f1916602001820160405280156129305781602001600182028036833780820191505090505b509050600082602001820190505b600115612993578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161298757612986613c1f565b5b0494506000850361293e575b819350505050919050565b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0390614a56565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127860405160405180910390a350565b50505050565b50505050565b60008082905060005b8451811015612b2357612b0e82868381518110612b0157612b006143eb565b5b6020026020010151612e08565b91508080612b1b9061413c565b915050612ae1565b508091505092915050565b6000612b4f8473ffffffffffffffffffffffffffffffffffffffff16612e33565b15612ca8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b78611d8d565b8786866040518563ffffffff1660e01b8152600401612b9a9493929190614acb565b6020604051808303816000875af1925050508015612bd657506040513d601f19601f82011682018060405250810190612bd39190614b2c565b60015b612c58573d8060008114612c06576040519150601f19603f3d011682016040523d82523d6000602084013e612c0b565b606091505b506000815103612c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c47906149ea565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cad565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612d13577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612d0957612d08613c1f565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612d50576d04ee2d6d415b85acef81000000008381612d4657612d45613c1f565b5b0492506020810190505b662386f26fc100008310612d7f57662386f26fc100008381612d7557612d74613c1f565b5b0492506010810190505b6305f5e1008310612da8576305f5e1008381612d9e57612d9d613c1f565b5b0492506008810190505b6127108310612dcd576127108381612dc357612dc2613c1f565b5b0492506004810190505b60648310612df05760648381612de657612de5613c1f565b5b0492506002810190505b600a8310612dff576001810190505b80915050919050565b6000818310612e2057612e1b8284612e56565b612e2b565b612e2a8383612e56565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612eb681612e81565b8114612ec157600080fd5b50565b600081359050612ed381612ead565b92915050565b600060208284031215612eef57612eee612e77565b5b6000612efd84828501612ec4565b91505092915050565b60008115159050919050565b612f1b81612f06565b82525050565b6000602082019050612f366000830184612f12565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f76578082015181840152602081019050612f5b565b60008484015250505050565b6000601f19601f8301169050919050565b6000612f9e82612f3c565b612fa88185612f47565b9350612fb8818560208601612f58565b612fc181612f82565b840191505092915050565b60006020820190508181036000830152612fe68184612f93565b905092915050565b6000819050919050565b61300181612fee565b811461300c57600080fd5b50565b60008135905061301e81612ff8565b92915050565b60006020828403121561303a57613039612e77565b5b60006130488482850161300f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061307c82613051565b9050919050565b61308c81613071565b82525050565b60006020820190506130a76000830184613083565b92915050565b6130b681613071565b81146130c157600080fd5b50565b6000813590506130d3816130ad565b92915050565b600080604083850312156130f0576130ef612e77565b5b60006130fe858286016130c4565b925050602061310f8582860161300f565b9150509250929050565b61312281612fee565b82525050565b600060208201905061313d6000830184613119565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61318082612f82565b810181811067ffffffffffffffff8211171561319f5761319e613148565b5b80604052505050565b60006131b2612e6d565b90506131be8282613177565b919050565b600067ffffffffffffffff8211156131de576131dd613148565b5b602082029050602081019050919050565b600080fd5b6000613207613202846131c3565b6131a8565b9050808382526020820190506020840283018581111561322a576132296131ef565b5b835b81811015613253578061323f888261300f565b84526020840193505060208101905061322c565b5050509392505050565b600082601f83011261327257613271613143565b5b81356132828482602086016131f4565b91505092915050565b600080604083850312156132a2576132a1612e77565b5b60006132b08582860161300f565b925050602083013567ffffffffffffffff8111156132d1576132d0612e7c565b5b6132dd8582860161325d565b9150509250929050565b600080600060608486031215613300576132ff612e77565b5b600061330e868287016130c4565b935050602061331f868287016130c4565b92505060406133308682870161300f565b9150509250925092565b6000819050919050565b61334d8161333a565b82525050565b60006020820190506133686000830184613344565b92915050565b6133778161333a565b811461338257600080fd5b50565b6000813590506133948161336e565b92915050565b6000602082840312156133b0576133af612e77565b5b60006133be84828501613385565b91505092915050565b6000602082840312156133dd576133dc612e77565b5b60006133eb848285016130c4565b91505092915050565b600067ffffffffffffffff82111561340f5761340e613148565b5b602082029050602081019050919050565b600061343361342e846133f4565b6131a8565b90508083825260208201905060208402830185811115613456576134556131ef565b5b835b8181101561347f578061346b8882613385565b845260208401935050602081019050613458565b5050509392505050565b600082601f83011261349e5761349d613143565b5b81356134ae848260208601613420565b91505092915050565b600080604083850312156134ce576134cd612e77565b5b60006134dc858286016130c4565b925050602083013567ffffffffffffffff8111156134fd576134fc612e7c565b5b61350985828601613489565b9150509250929050565b61351c81612f06565b811461352757600080fd5b50565b60008135905061353981613513565b92915050565b6000806040838503121561355657613555612e77565b5b6000613564858286016130c4565b92505060206135758582860161352a565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561359f5761359e613148565b5b6135a882612f82565b9050602081019050919050565b82818337600083830152505050565b60006135d76135d284613584565b6131a8565b9050828152602081018484840111156135f3576135f261357f565b5b6135fe8482856135b5565b509392505050565b600082601f83011261361b5761361a613143565b5b813561362b8482602086016135c4565b91505092915050565b6000806000806080858703121561364e5761364d612e77565b5b600061365c878288016130c4565b945050602061366d878288016130c4565b935050604061367e8782880161300f565b925050606085013567ffffffffffffffff81111561369f5761369e612e7c565b5b6136ab87828801613606565b91505092959194509250565b600067ffffffffffffffff82169050919050565b6136d4816136b7565b81146136df57600080fd5b50565b6000813590506136f1816136cb565b92915050565b600063ffffffff82169050919050565b613710816136f7565b811461371b57600080fd5b50565b60008135905061372d81613707565b92915050565b600061ffff82169050919050565b61374a81613733565b811461375557600080fd5b50565b60008135905061376781613741565b92915050565b6000806000806080858703121561378757613786612e77565b5b6000613795878288016136e2565b94505060206137a687828801613385565b93505060406137b78782880161371e565b92505060606137c887828801613758565b91505092959194509250565b60006040820190506137e96000830185612f12565b6137f66020830184613119565b9392505050565b600080fd5b60008083601f84011261381857613817613143565b5b8235905067ffffffffffffffff811115613835576138346137fd565b5b602083019150836020820283011115613851576138506131ef565b5b9250929050565b60008083601f84011261386e5761386d613143565b5b8235905067ffffffffffffffff81111561388b5761388a6137fd565b5b6020830191508360208202830111156138a7576138a66131ef565b5b9250929050565b600080600080604085870312156138c8576138c7612e77565b5b600085013567ffffffffffffffff8111156138e6576138e5612e7c565b5b6138f287828801613802565b9450945050602085013567ffffffffffffffff81111561391557613914612e7c565b5b61392187828801613858565b925092505092959194509250565b6000806040838503121561394657613945612e77565b5b6000613954858286016130c4565b9250506020613965858286016130c4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139b657607f821691505b6020821081036139c9576139c861396f565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a2b602183612f47565b9150613a36826139cf565b604082019050919050565b60006020820190508181036000830152613a5a81613a1e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613abd603d83612f47565b9150613ac882613a61565b604082019050919050565b60006020820190508181036000830152613aec81613ab0565b9050919050565b6000604082019050613b086000830185613083565b613b156020830184613083565b9392505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613b78602d83612f47565b9150613b8382613b1c565b604082019050919050565b60006020820190508181036000830152613ba781613b6b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613be882612fee565b9150613bf383612fee565b9250828202613c0181612fee565b91508282048414831517613c1857613c17613bae565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613c5982612fee565b9150613c6483612fee565b925082613c7457613c73613c1f565b5b828204905092915050565b6000613c8a82612fee565b9150613c9583612fee565b9250828203905081811115613cad57613cac613bae565b5b92915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613ce9601883612f47565b9150613cf482613cb3565b602082019050919050565b60006020820190508181036000830152613d1881613cdc565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613d7b602983612f47565b9150613d8682613d1f565b604082019050919050565b60006020820190508181036000830152613daa81613d6e565b9050919050565b60008160601b9050919050565b6000613dc982613db1565b9050919050565b6000613ddb82613dbe565b9050919050565b613df3613dee82613071565b613dd0565b82525050565b6000613e058284613de2565b60148201915081905092915050565b7f4d7573742062652070726f706f736564206f776e657200000000000000000000600082015250565b6000613e4a601683612f47565b9150613e5582613e14565b602082019050919050565b60006020820190508181036000830152613e7981613e3d565b9050919050565b7f4d696e74696e6720706175736564000000000000000000000000000000000000600082015250565b6000613eb6600e83612f47565b9150613ec182613e80565b602082019050919050565b60006020820190508181036000830152613ee581613ea9565b9050919050565b7f53616c65206e6f74207374617274656400000000000000000000000000000000600082015250565b6000613f22601083612f47565b9150613f2d82613eec565b602082019050919050565b60006020820190508181036000830152613f5181613f15565b9050919050565b7f496e636f7272656374204554482076616c756500000000000000000000000000600082015250565b6000613f8e601383612f47565b9150613f9982613f58565b602082019050919050565b60006020820190508181036000830152613fbd81613f81565b9050919050565b7f546f6f206d616e7920746f6b656e732070657220747800000000000000000000600082015250565b6000613ffa601683612f47565b915061400582613fc4565b602082019050919050565b6000602082019050818103600083015261402981613fed565b9050919050565b600061403b82612fee565b915061404683612fee565b925082820190508082111561405e5761405d613bae565b5b92915050565b7f537570706c792065786365656465640000000000000000000000000000000000600082015250565b600061409a600f83612f47565b91506140a582614064565b602082019050919050565b600060208201905081810360008301526140c98161408d565b9050919050565b7f42616420696e6465780000000000000000000000000000000000000000000000600082015250565b6000614106600983612f47565b9150614111826140d0565b602082019050919050565b60006020820190508181036000830152614135816140f9565b9050919050565b600061414782612fee565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361417957614178613bae565b5b600182019050919050565b7f416c726561647920737461727465640000000000000000000000000000000000600082015250565b60006141ba600f83612f47565b91506141c582614184565b602082019050919050565b600060208201905081810360008301526141e9816141ad565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b600061424c603183612f47565b9150614257826141f0565b604082019050919050565b6000602082019050818103600083015261427b8161423f565b9050919050565b600061428d82612fee565b915061429883612fee565b9250826142a8576142a7613c1f565b5b828206905092915050565b600081905092915050565b60006142c982612f3c565b6142d381856142b3565b93506142e3818560208601612f58565b80840191505092915050565b60006142fb82856142be565b915061430782846142be565b91508190509392505050565b7f72657175657374206e6f7420666f756e64000000000000000000000000000000600082015250565b6000614349601183612f47565b915061435482614313565b602082019050919050565b600060208201905081810360008301526143788161433c565b9050919050565b7f426164206c656e67746800000000000000000000000000000000000000000000600082015250565b60006143b5600a83612f47565b91506143c08261437f565b602082019050919050565b600060208201905081810360008301526143e4816143a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f416c72656164792066756c66696c6c6564000000000000000000000000000000600082015250565b6000614450601183612f47565b915061445b8261441a565b602082019050919050565b6000602082019050818103600083015261447f81614443565b9050919050565b61448f816136b7565b82525050565b61449e81613733565b82525050565b6144ad816136f7565b82525050565b6000819050919050565b6000819050919050565b60006144e26144dd6144d8846144b3565b6144bd565b6136f7565b9050919050565b6144f2816144c7565b82525050565b600060a08201905061450d6000830188613344565b61451a6020830187614486565b6145276040830186614495565b61453460608301856144a4565b61454160808301846144e9565b9695505050505050565b60008151905061455a81612ff8565b92915050565b60006020828403121561457657614575612e77565b5b60006145848482850161454b565b91505092915050565b60006040820190506145a26000830185613119565b6145af60208301846144e9565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6145eb81612fee565b82525050565b60006145fd83836145e2565b60208301905092915050565b6000602082019050919050565b6000614621826145b6565b61462b81856145c1565b9350614636836145d2565b8060005b8381101561466757815161464e88826145f1565b975061465983614609565b92505060018101905061463a565b5085935050505092915050565b60006040820190506146896000830185613119565b818103602083015261469b8184614616565b90509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614700602583612f47565b915061470b826146a4565b604082019050919050565b6000602082019050818103600083015261472f816146f3565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614792602483612f47565b915061479d82614736565b604082019050919050565b600060208201905081810360008301526147c181614785565b9050919050565b7f4f6e6c792063616c6c61626c65206279206f776e657200000000000000000000600082015250565b60006147fe601683612f47565b9150614809826147c8565b602082019050919050565b6000602082019050818103600083015261482d816147f1565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061486a602083612f47565b915061487582614834565b602082019050919050565b600060208201905081810360008301526148998161485d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006148d6601c83612f47565b91506148e1826148a0565b602082019050919050565b60006020820190508181036000830152614905816148c9565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614942601983612f47565b915061494d8261490c565b602082019050919050565b6000602082019050818103600083015261497181614935565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006149d4603283612f47565b91506149df82614978565b604082019050919050565b60006020820190508181036000830152614a03816149c7565b9050919050565b7f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000600082015250565b6000614a40601783612f47565b9150614a4b82614a0a565b602082019050919050565b60006020820190508181036000830152614a6f81614a33565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a9d82614a76565b614aa78185614a81565b9350614ab7818560208601612f58565b614ac081612f82565b840191505092915050565b6000608082019050614ae06000830187613083565b614aed6020830186613083565b614afa6040830185613119565b8181036060830152614b0c8184614a92565b905095945050505050565b600081519050614b2681612ead565b92915050565b600060208284031215614b4257614b41612e77565b5b6000614b5084828501614b17565b9150509291505056fea26469706673582212205a970ed0fd0bdd234f29acaec1cb7d8ad619ed509178e49b41199cde899ab49e64736f6c63430008130033

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.