ETH Price: $3,726.41 (+3.69%)

loomlocknft (LL)
 

Overview

TokenID

12143

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

9,000 distinct wassies.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Loomlocknft

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 21 : Loomlocknft.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";

contract Loomlocknft is ERC721, ERC721Enumerable, Pausable, Ownable, ERC721Burnable, VRFConsumerBase {
  using Counters for Counters.Counter;
  using SafeERC20 for IERC20;

  // ERC-2981: NFT Royalty Standard
  bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
  uint256 public constant RESERVED_TOKEN_COUNT = 1;

  uint256 public immutable maxSupply;
  uint256 public immutable developerAllocation;
  address public immutable developerAddress;
  uint256 public immutable revealTimestamp;
  address public immutable reservedTokenRecipient;

  string private _tokenBaseURI;
  string private _contractURI;
  Counters.Counter private _tokenIdCounter;
  Counters.Counter private _developerAllocationCounter;
  uint256 private _randomness;
  bool private _randomnessHasBeenSet;
  address payable private _royaltyReceipientAddress;
  uint256 private _royaltyPercentageBasisPoints;

  // Chainlink configuration.
  bytes32 internal keyHash;
  uint256 internal fee;

  constructor(
    address[] memory specialMintAddresses_,
    uint256 developerAllocation_,
    uint256 maxSupply_,
    uint256 revealTimestamp_,
    address payable royaltyReceipientAddress_,
    uint256 royaltyPercentageBasisPoints_,
    string[] memory uris_,
    address vrfCoordinator_,
    address link_,
    bytes32 keyHash_,
    uint256 fee_
  )
  ERC721("loomlocknft", "LL")
  VRFConsumerBase(vrfCoordinator_, link_) {
    reservedTokenRecipient = specialMintAddresses_[0];
    developerAddress = specialMintAddresses_[1];
    developerAllocation = developerAllocation_;
    maxSupply = maxSupply_;
    revealTimestamp = revealTimestamp_;
    _contractURI = uris_[0];
    _tokenBaseURI = uris_[1];
    _royaltyReceipientAddress = royaltyReceipientAddress_;
    _royaltyPercentageBasisPoints = royaltyPercentageBasisPoints_;
    keyHash = keyHash_;
    fee = fee_;
  }

  function mintedSupply() public view returns (uint256) {
    return _tokenIdCounter.current();
  }

  function mintedDeveloperAllocationCounter() public view returns (uint256) {
    return _developerAllocationCounter.current();
  }

  function getRandomness() public view returns (uint256) {
    return _randomness;
  }

  function getRandomnessHasBeenSet() public view returns (bool) {
    return _randomnessHasBeenSet;
  }

  // Requests randomness.
  function getRandomNumber() public onlyOwner returns (bytes32 requestId) {
    require(!_randomnessHasBeenSet);
    require(LINK.balanceOf(address(this)) >= fee, "Not enough LINK");
    return requestRandomness(keyHash, fee);
  }

  // Callback function used by VRF Coordinator.
  // This function is used to generate a random seed value to be used as the offset for minting.
  function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override {
    require(!_randomnessHasBeenSet);
    _randomness = randomness;
    _randomnessHasBeenSet = true;
  }

  // A withdraw function to avoid locking ERC20 tokens in the contract forever.
  // Tokens can only be withdrawn by the owner, to the owner.
  function transferERC20Token(IERC20 token, uint256 amount) public onlyOwner {
    token.safeTransfer(owner(), amount);
  }

  function pause() public onlyOwner {
    _pause();
  }

  function unpause() public onlyOwner {
    _unpause();
  }

  // Token 0 is reserved for the fractionalised hexcode airdrop.
  function mintReservedToken(uint256 tokenId) public onlyOwner whenNotPaused {
    if (tokenId == 0) {
      require(mintedSupply() == 0, "Token 0 already minted");
      _safeMint(reservedTokenRecipient, tokenId);
      _tokenIdCounter.increment();
    } else {
      revert("Only for 0");
    }
  }

  // All tokens other than token 0 are minted using the random offset.
  // Tokens can only be minted once, even if burned.
  function mint(address to_) public onlyOwner whenNotPaused {
    require(mintedSupply() >= RESERVED_TOKEN_COUNT, "Token 0 must be minted first");
    require(_randomnessHasBeenSet, "Randomness must be set before minting");
    require(mintedSupply() < maxSupply, "Max supply minted");

    uint256 indexToMint = (mintedSupply() + _randomness) % (maxSupply - RESERVED_TOKEN_COUNT) + RESERVED_TOKEN_COUNT;

    if (mintedDeveloperAllocationCounter() < developerAllocation) {
      // The first developerAllocation tokens (excluding token 0) must be given to developerAddress.
      // These tokens and all others are subject to the random offset.
      require(to_ == developerAddress, "First batch for dev");
      // Preemptively increment this counter, since it's not used for safeMint.
      _developerAllocationCounter.increment();
    }

    _safeMint(to_, indexToMint);
    _tokenIdCounter.increment();
  }

  // Provide an array of addresses and a corresponding array of quantities.
  function mintBatch(address[] calldata addresses, uint256[] calldata quantities) public onlyOwner whenNotPaused {
    require(addresses.length == quantities.length, "Addresses & quantites length not equal");
    for (uint256 i = 0; i < addresses.length; i++) {
      for (uint256 j = 0; j < quantities[i]; j++) {
        mint(addresses[i]);
      }
    }
  }

  function addressHoldings(address _addr) external view returns (uint256[] memory) {
    uint256 tokenCount = balanceOf(_addr);
    uint256[] memory tokens = new uint256[](tokenCount);
    for (uint256 i = 0; i < tokenCount; i++) {
      tokens[i] = tokenOfOwnerByIndex(_addr, i);
    }
    return tokens;
  }

  function preRevealTokenURI(uint256 tokenId) public view returns (string memory) {
    return string(abi.encodePacked(super.tokenURI(tokenId), ".json"));
  }

  function tokenURI(uint256 tokenId) public view override returns (string memory) {
    require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
    // Return an empty string for the tokenURI until the reveal timestamp.
    if (block.timestamp >= revealTimestamp) {
      return preRevealTokenURI(tokenId);
    } else {
      return "";
    }
  }

  function setRoyaltyPercentageBasisPoints(uint256 royaltyPercentageBasisPoints_) public onlyOwner {
    _royaltyPercentageBasisPoints = royaltyPercentageBasisPoints_;
  }

  function setRoyaltyReceipientAddress(address payable royaltyReceipientAddress_) public onlyOwner {
    _royaltyReceipientAddress = royaltyReceipientAddress_;
  }

  // Contract-level metadata for OpenSea.
  function setContractURI(string calldata contractURI_) public onlyOwner {
    _contractURI = contractURI_;
  }

  // Contract-level metadata for OpenSea.
  function contractURI() public view returns (string memory) {
    return _contractURI;
  }

  function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) {
    uint256 royalty = (_salePrice * _royaltyPercentageBasisPoints) / 10000;
    return (_royaltyReceipientAddress, royalty);
  }

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

  function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal whenNotPaused override(ERC721, ERC721Enumerable) {
    super._beforeTokenTransfer(from, to, tokenId);
  }

  function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
    return interfaceId == _INTERFACE_ID_ERC2981 || super.supportsInterface(interfaceId);
  }
}

File 2 of 21 : IERC165.sol
// SPDX-License-Identifier: MIT

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 3 of 21 : ERC165.sol
// SPDX-License-Identifier: MIT

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 4 of 21 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 21 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 21 : Context.sol
// SPDX-License-Identifier: MIT

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 7 of 21 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 8 of 21 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 21 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 21 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 21 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 12 of 21 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 13 of 21 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 21 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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 of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 15 of 21 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 16 of 21 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 17 of 21 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

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() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 19 of 21 : LinkTokenInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface LinkTokenInterface {

  function allowance(
    address owner,
    address spender
  )
    external
    view
    returns (
      uint256 remaining
    );

  function approve(
    address spender,
    uint256 value
  )
    external
    returns (
      bool success
    );

  function balanceOf(
    address owner
  )
    external
    view
    returns (
      uint256 balance
    );

  function decimals()
    external
    view
    returns (
      uint8 decimalPlaces
    );

  function decreaseApproval(
    address spender,
    uint256 addedValue
  )
    external
    returns (
      bool success
    );

  function increaseApproval(
    address spender,
    uint256 subtractedValue
  ) external;

  function name()
    external
    view
    returns (
      string memory tokenName
    );

  function symbol()
    external
    view
    returns (
      string memory tokenSymbol
    );

  function totalSupply()
    external
    view
    returns (
      uint256 totalTokensIssued
    );

  function transfer(
    address to,
    uint256 value
  )
    external
    returns (
      bool success
    );

  function transferAndCall(
    address to,
    uint256 value,
    bytes calldata data
  )
    external
    returns (
      bool success
    );

  function transferFrom(
    address from,
    address to,
    uint256 value
  )
    external
    returns (
      bool success
    );

}

File 20 of 21 : VRFRequestIDBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract VRFRequestIDBase {

  /**
   * @notice returns the seed which is actually input to the VRF coordinator
   *
   * @dev To prevent repetition of VRF output due to repetition of the
   * @dev user-supplied seed, that seed is combined in a hash with the
   * @dev user-specific nonce, and the address of the consuming contract. The
   * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in
   * @dev the final seed, but the nonce does protect against repetition in
   * @dev requests which are included in a single block.
   *
   * @param _userSeed VRF seed input provided by user
   * @param _requester Address of the requesting contract
   * @param _nonce User-specific nonce at the time of the request
   */
  function makeVRFInputSeed(
    bytes32 _keyHash,
    uint256 _userSeed,
    address _requester,
    uint256 _nonce
  )
    internal
    pure
    returns (
      uint256
    )
  {
    return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce)));
  }

  /**
   * @notice Returns the id for this request
   * @param _keyHash The serviceAgreement ID to be used for this request
   * @param _vRFInputSeed The seed to be passed directly to the VRF
   * @return The id for this request
   *
   * @dev Note that _vRFInputSeed is not the seed passed by the consuming
   * @dev contract, but the one generated by makeVRFInputSeed
   */
  function makeRequestId(
    bytes32 _keyHash,
    uint256 _vRFInputSeed
  )
    internal
    pure
    returns (
      bytes32
    )
  {
    return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed));
  }
}

File 21 of 21 : VRFConsumerBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/LinkTokenInterface.sol";

import "./VRFRequestIDBase.sol";

/** ****************************************************************************
 * @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.
 * *****************************************************************************
 * @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     constuctor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator, _link) 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), and have told you the minimum LINK
 * @dev price for VRF service. Make sure your contract has sufficient LINK, and
 * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you
 * @dev want to generate randomness from.
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomness method.
 *
 * @dev The randomness argument to fulfillRandomness is the actual random value
 * @dev generated from your seed.
 *
 * @dev The requestId argument is generated from the keyHash and the seed by
 * @dev makeRequestId(keyHash, seed). If your contract could have concurrent
 * @dev requests open, you can use the requestId to track which seed is
 * @dev associated with which randomness. See VRFRequestIDBase.sol for more
 * @dev details. (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. (Which is critical to making unpredictable randomness! See the
 * @dev next section.)
 *
 * *****************************************************************************
 * @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 ultimate input to the VRF is mixed with the block hash of the
 * @dev block in which the request is made, user-provided seeds have no impact
 * @dev on its economic security properties. They are only included for API
 * @dev compatability with previous versions of this contract.
 *
 * @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.
 */
abstract contract VRFConsumerBase is VRFRequestIDBase {

  /**
   * @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 VRFConsumerBase 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 randomness the VRF output
   */
  function fulfillRandomness(
    bytes32 requestId,
    uint256 randomness
  )
    internal
    virtual;

  /**
   * @dev In order to keep backwards compatibility we have kept the user
   * seed field around. We remove the use of it because given that the blockhash
   * enters later, it overrides whatever randomness the used seed provides.
   * Given that it adds no security, and can easily lead to misunderstandings,
   * we have removed it from usage and can now provide a simpler API.
   */
  uint256 constant private USER_SEED_PLACEHOLDER = 0;

  /**
   * @notice requestRandomness initiates a request for VRF output given _seed
   *
   * @dev The fulfillRandomness method receives the output, once it's provided
   * @dev by the Oracle, and verified by the vrfCoordinator.
   *
   * @dev The _keyHash must already be registered with the VRFCoordinator, and
   * @dev the _fee must exceed the fee specified during registration of the
   * @dev _keyHash.
   *
   * @dev The _seed parameter is vestigial, and is kept only for API
   * @dev compatibility with older versions. It can't *hurt* to mix in some of
   * @dev your own randomness, here, but it's not necessary because the VRF
   * @dev oracle will mix the hash of the block containing your request into the
   * @dev VRF seed it ultimately uses.
   *
   * @param _keyHash ID of public key against which randomness is generated
   * @param _fee The amount of LINK to send with the request
   *
   * @return requestId unique ID for this request
   *
   * @dev The returned requestId can be used to distinguish responses to
   * @dev concurrent requests. It is passed as the first argument to
   * @dev fulfillRandomness.
   */
  function requestRandomness(
    bytes32 _keyHash,
    uint256 _fee
  )
    internal
    returns (
      bytes32 requestId
    )
  {
    LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER));
    // This is the seed passed to VRFCoordinator. The oracle will mix this with
    // the hash of the block containing this request to obtain the seed/input
    // which is finally passed to the VRF cryptographic machinery.
    uint256 vRFSeed  = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]);
    // nonces[_keyHash] must stay in sync with
    // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above
    // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest).
    // This provides protection against the user repeating their input seed,
    // which would result in a predictable/duplicate output, if multiple such
    // requests appeared in the same block.
    nonces[_keyHash] = nonces[_keyHash] + 1;
    return makeRequestId(_keyHash, vRFSeed);
  }

  LinkTokenInterface immutable internal LINK;
  address immutable private vrfCoordinator;

  // Nonces for each VRF key from which randomness has been requested.
  //
  // Must stay in sync with VRFCoordinator[_keyHash][this]
  mapping(bytes32 /* keyHash */ => uint256 /* nonce */) private nonces;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   * @param _link address of LINK token contract
   *
   * @dev https://docs.chain.link/docs/link-token-contracts
   */
  constructor(
    address _vrfCoordinator,
    address _link
  ) {
    vrfCoordinator = _vrfCoordinator;
    LINK = LinkTokenInterface(_link);
  }

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomness(
    bytes32 requestId,
    uint256 randomness
  )
    external
  {
    require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill");
    fulfillRandomness(requestId, randomness);
  }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"specialMintAddresses_","type":"address[]"},{"internalType":"uint256","name":"developerAllocation_","type":"uint256"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"uint256","name":"revealTimestamp_","type":"uint256"},{"internalType":"address payable","name":"royaltyReceipientAddress_","type":"address"},{"internalType":"uint256","name":"royaltyPercentageBasisPoints_","type":"uint256"},{"internalType":"string[]","name":"uris_","type":"string[]"},{"internalType":"address","name":"vrfCoordinator_","type":"address"},{"internalType":"address","name":"link_","type":"address"},{"internalType":"bytes32","name":"keyHash_","type":"bytes32"},{"internalType":"uint256","name":"fee_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"RESERVED_TOKEN_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addressHoldings","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developerAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRandomNumber","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRandomness","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRandomnessHasBeenSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintReservedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintedDeveloperAllocationCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"preRevealTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedTokenRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royaltyPercentageBasisPoints_","type":"uint256"}],"name":"setRoyaltyPercentageBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"royaltyReceipientAddress_","type":"address"}],"name":"setRoyaltyReceipientAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferERC20Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101606040523480156200001257600080fd5b5060405162006a3838038062006a388339818101604052810190620000389190620006f4565b83836040518060400160405280600b81526020017f6c6f6f6d6c6f636b6e66740000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4c4c0000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000be929190620003ed565b508060019080519060200190620000d7929190620003ed565b5050506000600a60006101000a81548160ff02191690831515021790555062000115620001096200031f60201b60201c565b6200032760201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050508a6000815181106200019c576200019b62000a29565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166101408173ffffffffffffffffffffffffffffffffffffffff1660601b815250508a600181518110620001f257620001f162000a29565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166101008173ffffffffffffffffffffffffffffffffffffffff1660601b815250508960e081815250508860c081815250508761012081815250508460008151811062000261576200026062000a29565b5b6020026020010151600d908051906020019062000280929190620003ed565b508460018151811062000298576200029762000a29565b5b6020026020010151600c9080519060200190620002b7929190620003ed565b5086601160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550856012819055508160138190555080601481905550505050505050505050505062000b19565b600033905090565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003fb906200098e565b90600052602060002090601f0160209004810192826200041f57600085556200046b565b82601f106200043a57805160ff19168380011785556200046b565b828001600101855582156200046b579182015b828111156200046a5782518255916020019190600101906200044d565b5b5090506200047a91906200047e565b5090565b5b80821115620004995760008160009055506001016200047f565b5090565b6000620004b4620004ae8462000868565b6200083f565b90508083825260208201905082856020860282011115620004da57620004d962000a8c565b5b60005b858110156200050e5781620004f38882620005ff565b845260208401935060208301925050600181019050620004dd565b5050509392505050565b60006200052f620005298462000897565b6200083f565b9050808382526020820190508285602086028201111562000555576200055462000a8c565b5b60005b85811015620005aa57815167ffffffffffffffff8111156200057f576200057e62000a87565b5b8086016200058e8982620006aa565b8552602085019450602084019350505060018101905062000558565b5050509392505050565b6000620005cb620005c584620008c6565b6200083f565b905082815260208101848484011115620005ea57620005e962000a91565b5b620005f784828562000958565b509392505050565b600081519050620006108162000ab1565b92915050565b600081519050620006278162000acb565b92915050565b600082601f83011262000645576200064462000a87565b5b8151620006578482602086016200049d565b91505092915050565b600082601f83011262000678576200067762000a87565b5b81516200068a84826020860162000518565b91505092915050565b600081519050620006a48162000ae5565b92915050565b600082601f830112620006c257620006c162000a87565b5b8151620006d4848260208601620005b4565b91505092915050565b600081519050620006ee8162000aff565b92915050565b60008060008060008060008060008060006101608c8e0312156200071d576200071c62000a9b565b5b60008c015167ffffffffffffffff8111156200073e576200073d62000a96565b5b6200074c8e828f016200062d565b9b505060206200075f8e828f01620006dd565b9a50506040620007728e828f01620006dd565b9950506060620007858e828f01620006dd565b9850506080620007988e828f0162000616565b97505060a0620007ab8e828f01620006dd565b96505060c08c015167ffffffffffffffff811115620007cf57620007ce62000a96565b5b620007dd8e828f0162000660565b95505060e0620007f08e828f01620005ff565b945050610100620008048e828f01620005ff565b935050610120620008188e828f0162000693565b9250506101406200082c8e828f01620006dd565b9150509295989b509295989b9093969950565b60006200084b6200085e565b9050620008598282620009c4565b919050565b6000604051905090565b600067ffffffffffffffff82111562000886576200088562000a58565b5b602082029050602081019050919050565b600067ffffffffffffffff821115620008b557620008b462000a58565b5b602082029050602081019050919050565b600067ffffffffffffffff821115620008e457620008e362000a58565b5b620008ef8262000aa0565b9050602081019050919050565b600062000909826200092e565b9050919050565b60006200091d826200092e565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620009785780820151818401526020810190506200095b565b8381111562000988576000848401525b50505050565b60006002820490506001821680620009a757607f821691505b60208210811415620009be57620009bd620009fa565b5b50919050565b620009cf8262000aa0565b810181811067ffffffffffffffff82111715620009f157620009f062000a58565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b62000abc81620008fc565b811462000ac857600080fd5b50565b62000ad68162000910565b811462000ae257600080fd5b50565b62000af08162000924565b811462000afc57600080fd5b50565b62000b0a816200094e565b811462000b1657600080fd5b50565b60805160601c60a05160601c60c05160e0516101005160601c610120516101405160601c615e8062000bb8600039600081816119a201526120e2015260008181611bed015261224e0152600081816112240152611c3c015260008181610efd01526111f50152600081816111310152818161119f0152611c600152600081816116f30152612cb8015260008181611d1f0152612c7c0152615e806000f3fe608060405234801561001057600080fd5b50600436106102895760003560e01c80637c88e3d91161015c578063bcba6939116100ce578063e042e98c11610087578063e042e98c1461079f578063e8a3d485146107bb578063e985e9c5146107d9578063ec743d3214610809578063f2fde38b14610825578063f62f3c111461084157610289565b8063bcba6939146106db578063c1bd8cf9146106f7578063c87b56dd14610715578063caccd7f714610745578063d5abeb0114610763578063dbdff2c11461078157610289565b806395d89b411161012057806395d89b4114610619578063a22cb46514610637578063a28b317f14610653578063aaae7b8614610671578063b88d4fde1461068f578063bc51bb47146106ab57610289565b80637c88e3d91461059d5780638456cb59146105b95780638da5cb5b146105c3578063938e3d7b146105e157806394985ddd146105fd57610289565b80633f4ba83a116102005780635eececaa116101b95780635eececaa146104db57806362feff3a146104f95780636352211e146105175780636a6278421461054757806370a0823114610563578063715018a61461059357610289565b80633f4ba83a1461042d5780633f7be2f61461043757806342842e0e1461045557806342966c68146104715780634f6ccce71461048d5780635c975abb146104bd57610289565b8063095ea7b311610252578063095ea7b31461034657806318160ddd1461036257806323b872dd146103805780632a55205a1461039c5780632f745c59146103cd57806339d557ad146103fd57610289565b80629ee39c1461028e57806301ffc9a7146102aa57806302350cec146102da57806306fdde03146102f8578063081812fc14610316575b600080fd5b6102a860048036038101906102a39190613f40565b61085f565b005b6102c460048036038101906102bf91906141f1565b61091f565b6040516102d19190614b54565b60405180910390f35b6102e2610980565b6040516102ef9190614b54565b60405180910390f35b610300610997565b60405161030d9190614bf8565b60405180910390f35b610330600480360381019061032b91906142d8565b610a29565b60405161033d9190614a64565b60405180910390f35b610360600480360381019061035b91906140c3565b610aae565b005b61036a610bc6565b604051610377919061503a565b60405180910390f35b61039a60048036038101906103959190613fad565b610bd3565b005b6103b660048036038101906103b19190614332565b610c33565b6040516103c4929190614acb565b60405180910390f35b6103e760048036038101906103e291906140c3565b610c85565b6040516103f4919061503a565b60405180910390f35b610417600480360381019061041291906142d8565b610d2a565b6040516104249190614bf8565b60405180910390f35b610435610d5b565b005b61043f610de1565b60405161044c919061503a565b60405180910390f35b61046f600480360381019061046a9190613fad565b610de6565b005b61048b600480360381019061048691906142d8565b610e06565b005b6104a760048036038101906104a291906142d8565b610e62565b6040516104b4919061503a565b60405180910390f35b6104c5610ed3565b6040516104d29190614b54565b60405180910390f35b6104e3610eea565b6040516104f0919061503a565b60405180910390f35b610501610efb565b60405161050e919061503a565b60405180910390f35b610531600480360381019061052c91906142d8565b610f1f565b60405161053e9190614a64565b60405180910390f35b610561600480360381019061055c9190613f13565b610fd1565b005b61057d60048036038101906105789190613f13565b6112d3565b60405161058a919061503a565b60405180910390f35b61059b61138b565b005b6105b760048036038101906105b29190614103565b611413565b005b6105c16115af565b005b6105cb611635565b6040516105d89190614a64565b60405180910390f35b6105fb60048036038101906105f6919061428b565b61165f565b005b610617600480360381019061061291906141b1565b6116f1565b005b61062161178d565b60405161062e9190614bf8565b60405180910390f35b610651600480360381019061064c9190614083565b61181f565b005b61065b6119a0565b6040516106689190614a64565b60405180910390f35b6106796119c4565b604051610686919061503a565b60405180910390f35b6106a960048036038101906106a49190614000565b6119ce565b005b6106c560048036038101906106c09190613f13565b611a30565b6040516106d29190614b32565b60405180910390f35b6106f560048036038101906106f0919061424b565b611ade565b005b6106ff611b90565b60405161070c919061503a565b60405180910390f35b61072f600480360381019061072a91906142d8565b611ba1565b60405161073c9190614bf8565b60405180910390f35b61074d611c3a565b60405161075a9190614a64565b60405180910390f35b61076b611c5e565b604051610778919061503a565b60405180910390f35b610789611c82565b6040516107969190614b6f565b60405180910390f35b6107b960048036038101906107b491906142d8565b611e1a565b005b6107c3611ea0565b6040516107d09190614bf8565b60405180910390f35b6107f360048036038101906107ee9190613f6d565b611f32565b6040516108009190614b54565b60405180910390f35b610823600480360381019061081e91906142d8565b611fc6565b005b61083f600480360381019061083a9190613f13565b612154565b005b61084961224c565b604051610856919061503a565b60405180910390f35b610867612270565b73ffffffffffffffffffffffffffffffffffffffff16610885611635565b73ffffffffffffffffffffffffffffffffffffffff16146108db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d290614e7a565b60405180910390fd5b80601160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610979575061097882612278565b5b9050919050565b6000601160009054906101000a900460ff16905090565b6060600080546109a69061532b565b80601f01602080910402602001604051908101604052809291908181526020018280546109d29061532b565b8015610a1f5780601f106109f457610100808354040283529160200191610a1f565b820191906000526020600020905b815481529060010190602001808311610a0257829003601f168201915b5050505050905090565b6000610a34826122f2565b610a73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6a90614e5a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab982610f1f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2190614f1a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b49612270565b73ffffffffffffffffffffffffffffffffffffffff161480610b785750610b7781610b72612270565b611f32565b5b610bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bae90614dba565b60405180910390fd5b610bc1838361235e565b505050565b6000600880549050905090565b610be4610bde612270565b82612417565b610c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1a90614f3a565b60405180910390fd5b610c2e8383836124f5565b505050565b600080600061271060125485610c4991906151b9565b610c539190615188565b9050601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b6000610c90836112d3565b8210610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc890614c7a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6060610d3582612751565b604051602001610d459190614a42565b6040516020818303038152906040529050919050565b610d63612270565b73ffffffffffffffffffffffffffffffffffffffff16610d81611635565b73ffffffffffffffffffffffffffffffffffffffff1614610dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dce90614e7a565b60405180910390fd5b610ddf6127f8565b565b600181565b610e01838383604051806020016040528060008152506119ce565b505050565b610e17610e11612270565b82612417565b610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d90614fda565b60405180910390fd5b610e5f8161289a565b50565b6000610e6c610bc6565b8210610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490614f9a565b60405180910390fd5b60088281548110610ec157610ec06154d8565b5b90600052602060002001549050919050565b6000600a60009054906101000a900460ff16905090565b6000610ef6600f6129ab565b905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90614e1a565b60405180910390fd5b80915050919050565b610fd9612270565b73ffffffffffffffffffffffffffffffffffffffff16610ff7611635565b73ffffffffffffffffffffffffffffffffffffffff161461104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104490614e7a565b60405180910390fd5b611055610ed3565b15611095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108c90614d7a565b60405180910390fd5b600161109f611b90565b10156110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d79061501a565b60405180910390fd5b601160009054906101000a900460ff1661112f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112690614eba565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000611158611b90565b10611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118f90614c5a565b60405180910390fd5b60006001807f00000000000000000000000000000000000000000000000000000000000000006111c89190615213565b6010546111d3611b90565b6111dd9190615132565b6111e791906153eb565b6111f19190615132565b90507f000000000000000000000000000000000000000000000000000000000000000061121c610eea565b10156112bb577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146112b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a790614ffa565b60405180910390fd5b6112ba600f6129b9565b5b6112c582826129cf565b6112cf600e6129b9565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133b90614dfa565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611393612270565b73ffffffffffffffffffffffffffffffffffffffff166113b1611635565b73ffffffffffffffffffffffffffffffffffffffff1614611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fe90614e7a565b60405180910390fd5b61141160006129ed565b565b61141b612270565b73ffffffffffffffffffffffffffffffffffffffff16611439611635565b73ffffffffffffffffffffffffffffffffffffffff161461148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148690614e7a565b60405180910390fd5b611497610ed3565b156114d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ce90614d7a565b60405180910390fd5b81819050848490501461151f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151690614f5a565b60405180910390fd5b60005b848490508110156115a85760005b838383818110611543576115426154d8565b5b9050602002013581101561159457611581868684818110611567576115666154d8565b5b905060200201602081019061157c9190613f13565b610fd1565b808061158c9061538e565b915050611530565b5080806115a09061538e565b915050611522565b5050505050565b6115b7612270565b73ffffffffffffffffffffffffffffffffffffffff166115d5611635565b73ffffffffffffffffffffffffffffffffffffffff161461162b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162290614e7a565b60405180910390fd5b611633612ab3565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611667612270565b73ffffffffffffffffffffffffffffffffffffffff16611685611635565b73ffffffffffffffffffffffffffffffffffffffff16146116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d290614e7a565b60405180910390fd5b8181600d91906116ec929190613c2c565b505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461177f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177690614efa565b60405180910390fd5b6117898282612b56565b5050565b60606001805461179c9061532b565b80601f01602080910402602001604051908101604052809291908181526020018280546117c89061532b565b80156118155780601f106117ea57610100808354040283529160200191611815565b820191906000526020600020905b8154815290600101906020018083116117f857829003601f168201915b5050505050905090565b611827612270565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188c90614d1a565b60405180910390fd5b80600560006118a2612270565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661194f612270565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119949190614b54565b60405180910390a35050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000601054905090565b6119df6119d9612270565b83612417565b611a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1590614f3a565b60405180910390fd5b611a2a84848484612b96565b50505050565b60606000611a3d836112d3565b905060008167ffffffffffffffff811115611a5b57611a5a615507565b5b604051908082528060200260200182016040528015611a895781602001602082028036833780820191505090505b50905060005b82811015611ad357611aa18582610c85565b828281518110611ab457611ab36154d8565b5b6020026020010181815250508080611acb9061538e565b915050611a8f565b508092505050919050565b611ae6612270565b73ffffffffffffffffffffffffffffffffffffffff16611b04611635565b73ffffffffffffffffffffffffffffffffffffffff1614611b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5190614e7a565b60405180910390fd5b611b8c611b65611635565b828473ffffffffffffffffffffffffffffffffffffffff16612bf29092919063ffffffff16565b5050565b6000611b9c600e6129ab565b905090565b6060611bac826122f2565b611beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be290614eda565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000004210611c2257611c1b82610d2a565b9050611c35565b6040518060200160405280600081525090505b919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000611c8c612270565b73ffffffffffffffffffffffffffffffffffffffff16611caa611635565b73ffffffffffffffffffffffffffffffffffffffff1614611d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf790614e7a565b60405180910390fd5b601160009054906101000a900460ff1615611d1a57600080fd5b6014547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611d769190614a64565b60206040518083038186803b158015611d8e57600080fd5b505afa158015611da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc69190614305565b1015611e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfe90614d9a565b60405180910390fd5b611e15601354601454612c78565b905090565b611e22612270565b73ffffffffffffffffffffffffffffffffffffffff16611e40611635565b73ffffffffffffffffffffffffffffffffffffffff1614611e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8d90614e7a565b60405180910390fd5b8060128190555050565b6060600d8054611eaf9061532b565b80601f0160208091040260200160405190810160405280929190818152602001828054611edb9061532b565b8015611f285780601f10611efd57610100808354040283529160200191611f28565b820191906000526020600020905b815481529060010190602001808311611f0b57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fce612270565b73ffffffffffffffffffffffffffffffffffffffff16611fec611635565b73ffffffffffffffffffffffffffffffffffffffff1614612042576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203990614e7a565b60405180910390fd5b61204a610ed3565b1561208a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208190614d7a565b60405180910390fd5b600081141561211657600061209d611b90565b146120dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d490614c3a565b60405180910390fd5b6121077f0000000000000000000000000000000000000000000000000000000000000000826129cf565b612111600e6129b9565b612151565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214890614dda565b60405180910390fd5b50565b61215c612270565b73ffffffffffffffffffffffffffffffffffffffff1661217a611635565b73ffffffffffffffffffffffffffffffffffffffff16146121d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c790614e7a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223790614cba565b60405180910390fd5b612249816129ed565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122eb57506122ea82612dda565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123d183610f1f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612422826122f2565b612461576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245890614d5a565b60405180910390fd5b600061246c83610f1f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124db57508373ffffffffffffffffffffffffffffffffffffffff166124c384610a29565b73ffffffffffffffffffffffffffffffffffffffff16145b806124ec57506124eb8185611f32565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661251582610f1f565b73ffffffffffffffffffffffffffffffffffffffff161461256b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256290614e9a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d290614cfa565b60405180910390fd5b6125e6838383612ebc565b6125f160008261235e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126419190615213565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126989190615132565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b606061275c826122f2565b61279b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279290614eda565b60405180910390fd5b60006127a5612f14565b905060008151116127c557604051806020016040528060008152506127f0565b806127cf84612fa6565b6040516020016127e0929190614a1e565b6040516020818303038152906040525b915050919050565b612800610ed3565b61283f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283690614c1a565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612883612270565b6040516128909190614a64565b60405180910390a1565b60006128a582610f1f565b90506128b381600084612ebc565b6128be60008361235e565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461290e9190615213565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6129e9828260405180602001604052806000815250613107565b5050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612abb610ed3565b15612afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af290614d7a565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612b3f612270565b604051612b4c9190614a64565b60405180910390a1565b601160009054906101000a900460ff1615612b7057600080fd5b806010819055506001601160006101000a81548160ff0219169083151502179055505050565b612ba18484846124f5565b612bad84848484613162565b612bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be390614c9a565b60405180910390fd5b50505050565b612c738363a9059cbb60e01b8484604051602401612c11929190614acb565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506132f9565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000000000000000000000000000000000000000000084866000604051602001612cec929190614b8a565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612d1993929190614af4565b602060405180830381600087803b158015612d3357600080fd5b505af1158015612d47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d6b9190614184565b506000612d8e84600030600b6000898152602001908152602001600020546133c0565b90506001600b600086815260200190815260200160002054612db09190615132565b600b600086815260200190815260200160002081905550612dd184826133fc565b91505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ea557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612eb55750612eb48261342f565b5b9050919050565b612ec4610ed3565b15612f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efb90614d7a565b60405180910390fd5b612f0f838383613499565b505050565b6060600c8054612f239061532b565b80601f0160208091040260200160405190810160405280929190818152602001828054612f4f9061532b565b8015612f9c5780601f10612f7157610100808354040283529160200191612f9c565b820191906000526020600020905b815481529060010190602001808311612f7f57829003601f168201915b5050505050905090565b60606000821415612fee576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613102565b600082905060005b600082146130205780806130099061538e565b915050600a826130199190615188565b9150612ff6565b60008167ffffffffffffffff81111561303c5761303b615507565b5b6040519080825280601f01601f19166020018201604052801561306e5781602001600182028036833780820191505090505b5090505b600085146130fb576001826130879190615213565b9150600a8561309691906153eb565b60306130a29190615132565b60f81b8183815181106130b8576130b76154d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130f49190615188565b9450613072565b8093505050505b919050565b61311183836135ad565b61311e6000848484613162565b61315d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315490614c9a565b60405180910390fd5b505050565b60006131838473ffffffffffffffffffffffffffffffffffffffff1661377b565b156132ec578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131ac612270565b8786866040518563ffffffff1660e01b81526004016131ce9493929190614a7f565b602060405180830381600087803b1580156131e857600080fd5b505af192505050801561321957506040513d601f19601f82011682018060405250810190613216919061421e565b60015b61329c573d8060008114613249576040519150601f19603f3d011682016040523d82523d6000602084013e61324e565b606091505b50600081511415613294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328b90614c9a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132f1565b600190505b949350505050565b600061335b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661378e9092919063ffffffff16565b90506000815111156133bb578080602001905181019061337b9190614184565b6133ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b190614fba565b60405180910390fd5b5b505050565b6000848484846040516020016133d99493929190614bb3565b6040516020818303038152906040528051906020012060001c9050949350505050565b600082826040516020016134119291906149db565b60405160208183030381529060405280519060200120905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6134a48383836137a6565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134e7576134e2816137ab565b613526565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135255761352483826137f4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135695761356481613961565b6135a8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135a7576135a68282613a32565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561361d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361490614e3a565b60405180910390fd5b613626816122f2565b15613666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365d90614cda565b60405180910390fd5b61367260008383612ebc565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136c29190615132565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b606061379d8484600085613ab1565b90509392505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613801846112d3565b61380b9190615213565b90506000600760008481526020019081526020016000205490508181146138f0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139759190615213565b90506000600960008481526020019081526020016000205490506000600883815481106139a5576139a46154d8565b5b9060005260206000200154905080600883815481106139c7576139c66154d8565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a1657613a156154a9565b5b6001900381819060005260206000200160009055905550505050565b6000613a3d836112d3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b606082471015613af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aed90614d3a565b60405180910390fd5b613aff8561377b565b613b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3590614f7a565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b679190614a07565b60006040518083038185875af1925050503d8060008114613ba4576040519150601f19603f3d011682016040523d82523d6000602084013e613ba9565b606091505b5091509150613bb9828286613bc5565b92505050949350505050565b60608315613bd557829050613c25565b600083511115613be85782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c1c9190614bf8565b60405180910390fd5b9392505050565b828054613c389061532b565b90600052602060002090601f016020900481019282613c5a5760008555613ca1565b82601f10613c7357803560ff1916838001178555613ca1565b82800160010185558215613ca1579182015b82811115613ca0578235825591602001919060010190613c85565b5b509050613cae9190613cb2565b5090565b5b80821115613ccb576000816000905550600101613cb3565b5090565b6000613ce2613cdd8461507a565b615055565b905082815260208101848484011115613cfe57613cfd615545565b5b613d098482856152e9565b509392505050565b600081359050613d2081615da9565b92915050565b600081359050613d3581615dc0565b92915050565b60008083601f840112613d5157613d5061553b565b5b8235905067ffffffffffffffff811115613d6e57613d6d615536565b5b602083019150836020820283011115613d8a57613d89615540565b5b9250929050565b60008083601f840112613da757613da661553b565b5b8235905067ffffffffffffffff811115613dc457613dc3615536565b5b602083019150836020820283011115613de057613ddf615540565b5b9250929050565b600081359050613df681615dd7565b92915050565b600081519050613e0b81615dd7565b92915050565b600081359050613e2081615dee565b92915050565b600081359050613e3581615e05565b92915050565b600081519050613e4a81615e05565b92915050565b600082601f830112613e6557613e6461553b565b5b8135613e75848260208601613ccf565b91505092915050565b600081359050613e8d81615e1c565b92915050565b60008083601f840112613ea957613ea861553b565b5b8235905067ffffffffffffffff811115613ec657613ec5615536565b5b602083019150836001820283011115613ee257613ee1615540565b5b9250929050565b600081359050613ef881615e33565b92915050565b600081519050613f0d81615e33565b92915050565b600060208284031215613f2957613f2861554f565b5b6000613f3784828501613d11565b91505092915050565b600060208284031215613f5657613f5561554f565b5b6000613f6484828501613d26565b91505092915050565b60008060408385031215613f8457613f8361554f565b5b6000613f9285828601613d11565b9250506020613fa385828601613d11565b9150509250929050565b600080600060608486031215613fc657613fc561554f565b5b6000613fd486828701613d11565b9350506020613fe586828701613d11565b9250506040613ff686828701613ee9565b9150509250925092565b6000806000806080858703121561401a5761401961554f565b5b600061402887828801613d11565b945050602061403987828801613d11565b935050604061404a87828801613ee9565b925050606085013567ffffffffffffffff81111561406b5761406a61554a565b5b61407787828801613e50565b91505092959194509250565b6000806040838503121561409a5761409961554f565b5b60006140a885828601613d11565b92505060206140b985828601613de7565b9150509250929050565b600080604083850312156140da576140d961554f565b5b60006140e885828601613d11565b92505060206140f985828601613ee9565b9150509250929050565b6000806000806040858703121561411d5761411c61554f565b5b600085013567ffffffffffffffff81111561413b5761413a61554a565b5b61414787828801613d3b565b9450945050602085013567ffffffffffffffff81111561416a5761416961554a565b5b61417687828801613d91565b925092505092959194509250565b60006020828403121561419a5761419961554f565b5b60006141a884828501613dfc565b91505092915050565b600080604083850312156141c8576141c761554f565b5b60006141d685828601613e11565b92505060206141e785828601613ee9565b9150509250929050565b6000602082840312156142075761420661554f565b5b600061421584828501613e26565b91505092915050565b6000602082840312156142345761423361554f565b5b600061424284828501613e3b565b91505092915050565b600080604083850312156142625761426161554f565b5b600061427085828601613e7e565b925050602061428185828601613ee9565b9150509250929050565b600080602083850312156142a2576142a161554f565b5b600083013567ffffffffffffffff8111156142c0576142bf61554a565b5b6142cc85828601613e93565b92509250509250929050565b6000602082840312156142ee576142ed61554f565b5b60006142fc84828501613ee9565b91505092915050565b60006020828403121561431b5761431a61554f565b5b600061432984828501613efe565b91505092915050565b600080604083850312156143495761434861554f565b5b600061435785828601613ee9565b925050602061436885828601613ee9565b9150509250929050565b600061437e83836149a6565b60208301905092915050565b61439381615247565b82525050565b60006143a4826150bb565b6143ae81856150e9565b93506143b9836150ab565b8060005b838110156143ea5781516143d18882614372565b97506143dc836150dc565b9250506001810190506143bd565b5085935050505092915050565b6144008161526b565b82525050565b61440f81615277565b82525050565b61442661442182615277565b6153d7565b82525050565b6000614437826150c6565b61444181856150fa565b93506144518185602086016152f8565b61445a81615554565b840191505092915050565b6000614470826150c6565b61447a818561510b565b935061448a8185602086016152f8565b80840191505092915050565b60006144a1826150d1565b6144ab8185615116565b93506144bb8185602086016152f8565b6144c481615554565b840191505092915050565b60006144da826150d1565b6144e48185615127565b93506144f48185602086016152f8565b80840191505092915050565b600061450d601483615116565b915061451882615565565b602082019050919050565b6000614530601683615116565b915061453b8261558e565b602082019050919050565b6000614553601183615116565b915061455e826155b7565b602082019050919050565b6000614576602b83615116565b9150614581826155e0565b604082019050919050565b6000614599603283615116565b91506145a48261562f565b604082019050919050565b60006145bc602683615116565b91506145c78261567e565b604082019050919050565b60006145df601c83615116565b91506145ea826156cd565b602082019050919050565b6000614602602483615116565b915061460d826156f6565b604082019050919050565b6000614625601983615116565b915061463082615745565b602082019050919050565b6000614648602683615116565b91506146538261576e565b604082019050919050565b600061466b602c83615116565b9150614676826157bd565b604082019050919050565b600061468e601083615116565b91506146998261580c565b602082019050919050565b60006146b1600f83615116565b91506146bc82615835565b602082019050919050565b60006146d4603883615116565b91506146df8261585e565b604082019050919050565b60006146f7600a83615116565b9150614702826158ad565b602082019050919050565b600061471a602a83615116565b9150614725826158d6565b604082019050919050565b600061473d602983615116565b915061474882615925565b604082019050919050565b6000614760602083615116565b915061476b82615974565b602082019050919050565b6000614783602c83615116565b915061478e8261599d565b604082019050919050565b60006147a6600583615127565b91506147b1826159ec565b600582019050919050565b60006147c9602083615116565b91506147d482615a15565b602082019050919050565b60006147ec602983615116565b91506147f782615a3e565b604082019050919050565b600061480f602583615116565b915061481a82615a8d565b604082019050919050565b6000614832602f83615116565b915061483d82615adc565b604082019050919050565b6000614855601f83615116565b915061486082615b2b565b602082019050919050565b6000614878602183615116565b915061488382615b54565b604082019050919050565b600061489b603183615116565b91506148a682615ba3565b604082019050919050565b60006148be602683615116565b91506148c982615bf2565b604082019050919050565b60006148e1601d83615116565b91506148ec82615c41565b602082019050919050565b6000614904602c83615116565b915061490f82615c6a565b604082019050919050565b6000614927602a83615116565b915061493282615cb9565b604082019050919050565b600061494a603083615116565b915061495582615d08565b604082019050919050565b600061496d601383615116565b915061497882615d57565b602082019050919050565b6000614990601c83615116565b915061499b82615d80565b602082019050919050565b6149af816152df565b82525050565b6149be816152df565b82525050565b6149d56149d0826152df565b6153e1565b82525050565b60006149e78285614415565b6020820191506149f782846149c4565b6020820191508190509392505050565b6000614a138284614465565b915081905092915050565b6000614a2a82856144cf565b9150614a3682846144cf565b91508190509392505050565b6000614a4e82846144cf565b9150614a5982614799565b915081905092915050565b6000602082019050614a79600083018461438a565b92915050565b6000608082019050614a94600083018761438a565b614aa1602083018661438a565b614aae60408301856149b5565b8181036060830152614ac0818461442c565b905095945050505050565b6000604082019050614ae0600083018561438a565b614aed60208301846149b5565b9392505050565b6000606082019050614b09600083018661438a565b614b1660208301856149b5565b8181036040830152614b28818461442c565b9050949350505050565b60006020820190508181036000830152614b4c8184614399565b905092915050565b6000602082019050614b6960008301846143f7565b92915050565b6000602082019050614b846000830184614406565b92915050565b6000604082019050614b9f6000830185614406565b614bac60208301846149b5565b9392505050565b6000608082019050614bc86000830187614406565b614bd560208301866149b5565b614be2604083018561438a565b614bef60608301846149b5565b95945050505050565b60006020820190508181036000830152614c128184614496565b905092915050565b60006020820190508181036000830152614c3381614500565b9050919050565b60006020820190508181036000830152614c5381614523565b9050919050565b60006020820190508181036000830152614c7381614546565b9050919050565b60006020820190508181036000830152614c9381614569565b9050919050565b60006020820190508181036000830152614cb38161458c565b9050919050565b60006020820190508181036000830152614cd3816145af565b9050919050565b60006020820190508181036000830152614cf3816145d2565b9050919050565b60006020820190508181036000830152614d13816145f5565b9050919050565b60006020820190508181036000830152614d3381614618565b9050919050565b60006020820190508181036000830152614d538161463b565b9050919050565b60006020820190508181036000830152614d738161465e565b9050919050565b60006020820190508181036000830152614d9381614681565b9050919050565b60006020820190508181036000830152614db3816146a4565b9050919050565b60006020820190508181036000830152614dd3816146c7565b9050919050565b60006020820190508181036000830152614df3816146ea565b9050919050565b60006020820190508181036000830152614e138161470d565b9050919050565b60006020820190508181036000830152614e3381614730565b9050919050565b60006020820190508181036000830152614e5381614753565b9050919050565b60006020820190508181036000830152614e7381614776565b9050919050565b60006020820190508181036000830152614e93816147bc565b9050919050565b60006020820190508181036000830152614eb3816147df565b9050919050565b60006020820190508181036000830152614ed381614802565b9050919050565b60006020820190508181036000830152614ef381614825565b9050919050565b60006020820190508181036000830152614f1381614848565b9050919050565b60006020820190508181036000830152614f338161486b565b9050919050565b60006020820190508181036000830152614f538161488e565b9050919050565b60006020820190508181036000830152614f73816148b1565b9050919050565b60006020820190508181036000830152614f93816148d4565b9050919050565b60006020820190508181036000830152614fb3816148f7565b9050919050565b60006020820190508181036000830152614fd38161491a565b9050919050565b60006020820190508181036000830152614ff38161493d565b9050919050565b6000602082019050818103600083015261501381614960565b9050919050565b6000602082019050818103600083015261503381614983565b9050919050565b600060208201905061504f60008301846149b5565b92915050565b600061505f615070565b905061506b828261535d565b919050565b6000604051905090565b600067ffffffffffffffff82111561509557615094615507565b5b61509e82615554565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061513d826152df565b9150615148836152df565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561517d5761517c61541c565b5b828201905092915050565b6000615193826152df565b915061519e836152df565b9250826151ae576151ad61544b565b5b828204905092915050565b60006151c4826152df565b91506151cf836152df565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152085761520761541c565b5b828202905092915050565b600061521e826152df565b9150615229836152df565b92508282101561523c5761523b61541c565b5b828203905092915050565b6000615252826152bf565b9050919050565b6000615264826152bf565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006152b882615247565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156153165780820151818401526020810190506152fb565b83811115615325576000848401525b50505050565b6000600282049050600182168061534357607f821691505b602082108114156153575761535661547a565b5b50919050565b61536682615554565b810181811067ffffffffffffffff8211171561538557615384615507565b5b80604052505050565b6000615399826152df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153cc576153cb61541c565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006153f6826152df565b9150615401836152df565b9250826154115761541061544b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f546f6b656e203020616c7265616479206d696e74656400000000000000000000600082015250565b7f4d617820737570706c79206d696e746564000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4e6f7420656e6f756768204c494e4b0000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4f6e6c7920666f72203000000000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f52616e646f6d6e657373206d75737420626520736574206265666f7265206d6960008201527f6e74696e67000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4164647265737365732026207175616e7469746573206c656e677468206e6f7460008201527f20657175616c0000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f466972737420626174636820666f722064657600000000000000000000000000600082015250565b7f546f6b656e2030206d757374206265206d696e74656420666972737400000000600082015250565b615db281615247565b8114615dbd57600080fd5b50565b615dc981615259565b8114615dd457600080fd5b50565b615de08161526b565b8114615deb57600080fd5b50565b615df781615277565b8114615e0257600080fd5b50565b615e0e81615281565b8114615e1957600080fd5b50565b615e25816152ad565b8114615e3057600080fd5b50565b615e3c816152df565b8114615e4757600080fd5b5056fea2646970667358221220620201059e82db7103bd32ee6933251aa077a0face5036324c6d2ce7b1d5c67b64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000007c000000000000000000000000000000000000000000000000000000000000303900000000000000000000000000000000000000000000000000000000614d60c30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000043a8996055f8b582144c2ded7b4fed7279c2a0b1000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f617277656176652e6e65742f4c476c4d444b41576763447976596f667431595636593270424241776a576146755a7244503979442d52592f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102895760003560e01c80637c88e3d91161015c578063bcba6939116100ce578063e042e98c11610087578063e042e98c1461079f578063e8a3d485146107bb578063e985e9c5146107d9578063ec743d3214610809578063f2fde38b14610825578063f62f3c111461084157610289565b8063bcba6939146106db578063c1bd8cf9146106f7578063c87b56dd14610715578063caccd7f714610745578063d5abeb0114610763578063dbdff2c11461078157610289565b806395d89b411161012057806395d89b4114610619578063a22cb46514610637578063a28b317f14610653578063aaae7b8614610671578063b88d4fde1461068f578063bc51bb47146106ab57610289565b80637c88e3d91461059d5780638456cb59146105b95780638da5cb5b146105c3578063938e3d7b146105e157806394985ddd146105fd57610289565b80633f4ba83a116102005780635eececaa116101b95780635eececaa146104db57806362feff3a146104f95780636352211e146105175780636a6278421461054757806370a0823114610563578063715018a61461059357610289565b80633f4ba83a1461042d5780633f7be2f61461043757806342842e0e1461045557806342966c68146104715780634f6ccce71461048d5780635c975abb146104bd57610289565b8063095ea7b311610252578063095ea7b31461034657806318160ddd1461036257806323b872dd146103805780632a55205a1461039c5780632f745c59146103cd57806339d557ad146103fd57610289565b80629ee39c1461028e57806301ffc9a7146102aa57806302350cec146102da57806306fdde03146102f8578063081812fc14610316575b600080fd5b6102a860048036038101906102a39190613f40565b61085f565b005b6102c460048036038101906102bf91906141f1565b61091f565b6040516102d19190614b54565b60405180910390f35b6102e2610980565b6040516102ef9190614b54565b60405180910390f35b610300610997565b60405161030d9190614bf8565b60405180910390f35b610330600480360381019061032b91906142d8565b610a29565b60405161033d9190614a64565b60405180910390f35b610360600480360381019061035b91906140c3565b610aae565b005b61036a610bc6565b604051610377919061503a565b60405180910390f35b61039a60048036038101906103959190613fad565b610bd3565b005b6103b660048036038101906103b19190614332565b610c33565b6040516103c4929190614acb565b60405180910390f35b6103e760048036038101906103e291906140c3565b610c85565b6040516103f4919061503a565b60405180910390f35b610417600480360381019061041291906142d8565b610d2a565b6040516104249190614bf8565b60405180910390f35b610435610d5b565b005b61043f610de1565b60405161044c919061503a565b60405180910390f35b61046f600480360381019061046a9190613fad565b610de6565b005b61048b600480360381019061048691906142d8565b610e06565b005b6104a760048036038101906104a291906142d8565b610e62565b6040516104b4919061503a565b60405180910390f35b6104c5610ed3565b6040516104d29190614b54565b60405180910390f35b6104e3610eea565b6040516104f0919061503a565b60405180910390f35b610501610efb565b60405161050e919061503a565b60405180910390f35b610531600480360381019061052c91906142d8565b610f1f565b60405161053e9190614a64565b60405180910390f35b610561600480360381019061055c9190613f13565b610fd1565b005b61057d60048036038101906105789190613f13565b6112d3565b60405161058a919061503a565b60405180910390f35b61059b61138b565b005b6105b760048036038101906105b29190614103565b611413565b005b6105c16115af565b005b6105cb611635565b6040516105d89190614a64565b60405180910390f35b6105fb60048036038101906105f6919061428b565b61165f565b005b610617600480360381019061061291906141b1565b6116f1565b005b61062161178d565b60405161062e9190614bf8565b60405180910390f35b610651600480360381019061064c9190614083565b61181f565b005b61065b6119a0565b6040516106689190614a64565b60405180910390f35b6106796119c4565b604051610686919061503a565b60405180910390f35b6106a960048036038101906106a49190614000565b6119ce565b005b6106c560048036038101906106c09190613f13565b611a30565b6040516106d29190614b32565b60405180910390f35b6106f560048036038101906106f0919061424b565b611ade565b005b6106ff611b90565b60405161070c919061503a565b60405180910390f35b61072f600480360381019061072a91906142d8565b611ba1565b60405161073c9190614bf8565b60405180910390f35b61074d611c3a565b60405161075a9190614a64565b60405180910390f35b61076b611c5e565b604051610778919061503a565b60405180910390f35b610789611c82565b6040516107969190614b6f565b60405180910390f35b6107b960048036038101906107b491906142d8565b611e1a565b005b6107c3611ea0565b6040516107d09190614bf8565b60405180910390f35b6107f360048036038101906107ee9190613f6d565b611f32565b6040516108009190614b54565b60405180910390f35b610823600480360381019061081e91906142d8565b611fc6565b005b61083f600480360381019061083a9190613f13565b612154565b005b61084961224c565b604051610856919061503a565b60405180910390f35b610867612270565b73ffffffffffffffffffffffffffffffffffffffff16610885611635565b73ffffffffffffffffffffffffffffffffffffffff16146108db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d290614e7a565b60405180910390fd5b80601160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610979575061097882612278565b5b9050919050565b6000601160009054906101000a900460ff16905090565b6060600080546109a69061532b565b80601f01602080910402602001604051908101604052809291908181526020018280546109d29061532b565b8015610a1f5780601f106109f457610100808354040283529160200191610a1f565b820191906000526020600020905b815481529060010190602001808311610a0257829003601f168201915b5050505050905090565b6000610a34826122f2565b610a73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6a90614e5a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab982610f1f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2190614f1a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b49612270565b73ffffffffffffffffffffffffffffffffffffffff161480610b785750610b7781610b72612270565b611f32565b5b610bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bae90614dba565b60405180910390fd5b610bc1838361235e565b505050565b6000600880549050905090565b610be4610bde612270565b82612417565b610c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1a90614f3a565b60405180910390fd5b610c2e8383836124f5565b505050565b600080600061271060125485610c4991906151b9565b610c539190615188565b9050601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b6000610c90836112d3565b8210610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc890614c7a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6060610d3582612751565b604051602001610d459190614a42565b6040516020818303038152906040529050919050565b610d63612270565b73ffffffffffffffffffffffffffffffffffffffff16610d81611635565b73ffffffffffffffffffffffffffffffffffffffff1614610dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dce90614e7a565b60405180910390fd5b610ddf6127f8565b565b600181565b610e01838383604051806020016040528060008152506119ce565b505050565b610e17610e11612270565b82612417565b610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d90614fda565b60405180910390fd5b610e5f8161289a565b50565b6000610e6c610bc6565b8210610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490614f9a565b60405180910390fd5b60088281548110610ec157610ec06154d8565b5b90600052602060002001549050919050565b6000600a60009054906101000a900460ff16905090565b6000610ef6600f6129ab565b905090565b7f000000000000000000000000000000000000000000000000000000000000007c81565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90614e1a565b60405180910390fd5b80915050919050565b610fd9612270565b73ffffffffffffffffffffffffffffffffffffffff16610ff7611635565b73ffffffffffffffffffffffffffffffffffffffff161461104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104490614e7a565b60405180910390fd5b611055610ed3565b15611095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108c90614d7a565b60405180910390fd5b600161109f611b90565b10156110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d79061501a565b60405180910390fd5b601160009054906101000a900460ff1661112f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112690614eba565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000003039611158611b90565b10611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118f90614c5a565b60405180910390fd5b60006001807f00000000000000000000000000000000000000000000000000000000000030396111c89190615213565b6010546111d3611b90565b6111dd9190615132565b6111e791906153eb565b6111f19190615132565b90507f000000000000000000000000000000000000000000000000000000000000007c61121c610eea565b10156112bb577f000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146112b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a790614ffa565b60405180910390fd5b6112ba600f6129b9565b5b6112c582826129cf565b6112cf600e6129b9565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611344576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133b90614dfa565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611393612270565b73ffffffffffffffffffffffffffffffffffffffff166113b1611635565b73ffffffffffffffffffffffffffffffffffffffff1614611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fe90614e7a565b60405180910390fd5b61141160006129ed565b565b61141b612270565b73ffffffffffffffffffffffffffffffffffffffff16611439611635565b73ffffffffffffffffffffffffffffffffffffffff161461148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148690614e7a565b60405180910390fd5b611497610ed3565b156114d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ce90614d7a565b60405180910390fd5b81819050848490501461151f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151690614f5a565b60405180910390fd5b60005b848490508110156115a85760005b838383818110611543576115426154d8565b5b9050602002013581101561159457611581868684818110611567576115666154d8565b5b905060200201602081019061157c9190613f13565b610fd1565b808061158c9061538e565b915050611530565b5080806115a09061538e565b915050611522565b5050505050565b6115b7612270565b73ffffffffffffffffffffffffffffffffffffffff166115d5611635565b73ffffffffffffffffffffffffffffffffffffffff161461162b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162290614e7a565b60405180910390fd5b611633612ab3565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611667612270565b73ffffffffffffffffffffffffffffffffffffffff16611685611635565b73ffffffffffffffffffffffffffffffffffffffff16146116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d290614e7a565b60405180910390fd5b8181600d91906116ec929190613c2c565b505050565b7f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461177f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177690614efa565b60405180910390fd5b6117898282612b56565b5050565b60606001805461179c9061532b565b80601f01602080910402602001604051908101604052809291908181526020018280546117c89061532b565b80156118155780601f106117ea57610100808354040283529160200191611815565b820191906000526020600020905b8154815290600101906020018083116117f857829003601f168201915b5050505050905090565b611827612270565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188c90614d1a565b60405180910390fd5b80600560006118a2612270565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661194f612270565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119949190614b54565b60405180910390a35050565b7f00000000000000000000000043a8996055f8b582144c2ded7b4fed7279c2a0b181565b6000601054905090565b6119df6119d9612270565b83612417565b611a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1590614f3a565b60405180910390fd5b611a2a84848484612b96565b50505050565b60606000611a3d836112d3565b905060008167ffffffffffffffff811115611a5b57611a5a615507565b5b604051908082528060200260200182016040528015611a895781602001602082028036833780820191505090505b50905060005b82811015611ad357611aa18582610c85565b828281518110611ab457611ab36154d8565b5b6020026020010181815250508080611acb9061538e565b915050611a8f565b508092505050919050565b611ae6612270565b73ffffffffffffffffffffffffffffffffffffffff16611b04611635565b73ffffffffffffffffffffffffffffffffffffffff1614611b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5190614e7a565b60405180910390fd5b611b8c611b65611635565b828473ffffffffffffffffffffffffffffffffffffffff16612bf29092919063ffffffff16565b5050565b6000611b9c600e6129ab565b905090565b6060611bac826122f2565b611beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be290614eda565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000614d60c34210611c2257611c1b82610d2a565b9050611c35565b6040518060200160405280600081525090505b919050565b7f000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b81565b7f000000000000000000000000000000000000000000000000000000000000303981565b6000611c8c612270565b73ffffffffffffffffffffffffffffffffffffffff16611caa611635565b73ffffffffffffffffffffffffffffffffffffffff1614611d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf790614e7a565b60405180910390fd5b601160009054906101000a900460ff1615611d1a57600080fd5b6014547f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611d769190614a64565b60206040518083038186803b158015611d8e57600080fd5b505afa158015611da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc69190614305565b1015611e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfe90614d9a565b60405180910390fd5b611e15601354601454612c78565b905090565b611e22612270565b73ffffffffffffffffffffffffffffffffffffffff16611e40611635565b73ffffffffffffffffffffffffffffffffffffffff1614611e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8d90614e7a565b60405180910390fd5b8060128190555050565b6060600d8054611eaf9061532b565b80601f0160208091040260200160405190810160405280929190818152602001828054611edb9061532b565b8015611f285780601f10611efd57610100808354040283529160200191611f28565b820191906000526020600020905b815481529060010190602001808311611f0b57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fce612270565b73ffffffffffffffffffffffffffffffffffffffff16611fec611635565b73ffffffffffffffffffffffffffffffffffffffff1614612042576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203990614e7a565b60405180910390fd5b61204a610ed3565b1561208a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208190614d7a565b60405180910390fd5b600081141561211657600061209d611b90565b146120dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d490614c3a565b60405180910390fd5b6121077f00000000000000000000000043a8996055f8b582144c2ded7b4fed7279c2a0b1826129cf565b612111600e6129b9565b612151565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214890614dda565b60405180910390fd5b50565b61215c612270565b73ffffffffffffffffffffffffffffffffffffffff1661217a611635565b73ffffffffffffffffffffffffffffffffffffffff16146121d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c790614e7a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223790614cba565b60405180910390fd5b612249816129ed565b50565b7f00000000000000000000000000000000000000000000000000000000614d60c381565b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122eb57506122ea82612dda565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123d183610f1f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612422826122f2565b612461576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245890614d5a565b60405180910390fd5b600061246c83610f1f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124db57508373ffffffffffffffffffffffffffffffffffffffff166124c384610a29565b73ffffffffffffffffffffffffffffffffffffffff16145b806124ec57506124eb8185611f32565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661251582610f1f565b73ffffffffffffffffffffffffffffffffffffffff161461256b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256290614e9a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d290614cfa565b60405180910390fd5b6125e6838383612ebc565b6125f160008261235e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126419190615213565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126989190615132565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b606061275c826122f2565b61279b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279290614eda565b60405180910390fd5b60006127a5612f14565b905060008151116127c557604051806020016040528060008152506127f0565b806127cf84612fa6565b6040516020016127e0929190614a1e565b6040516020818303038152906040525b915050919050565b612800610ed3565b61283f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283690614c1a565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612883612270565b6040516128909190614a64565b60405180910390a1565b60006128a582610f1f565b90506128b381600084612ebc565b6128be60008361235e565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461290e9190615213565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6129e9828260405180602001604052806000815250613107565b5050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612abb610ed3565b15612afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af290614d7a565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612b3f612270565b604051612b4c9190614a64565b60405180910390a1565b601160009054906101000a900460ff1615612b7057600080fd5b806010819055506001601160006101000a81548160ff0219169083151502179055505050565b612ba18484846124f5565b612bad84848484613162565b612bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be390614c9a565b60405180910390fd5b50505050565b612c738363a9059cbb60e01b8484604051602401612c11929190614acb565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506132f9565b505050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795284866000604051602001612cec929190614b8a565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612d1993929190614af4565b602060405180830381600087803b158015612d3357600080fd5b505af1158015612d47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d6b9190614184565b506000612d8e84600030600b6000898152602001908152602001600020546133c0565b90506001600b600086815260200190815260200160002054612db09190615132565b600b600086815260200190815260200160002081905550612dd184826133fc565b91505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ea557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612eb55750612eb48261342f565b5b9050919050565b612ec4610ed3565b15612f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efb90614d7a565b60405180910390fd5b612f0f838383613499565b505050565b6060600c8054612f239061532b565b80601f0160208091040260200160405190810160405280929190818152602001828054612f4f9061532b565b8015612f9c5780601f10612f7157610100808354040283529160200191612f9c565b820191906000526020600020905b815481529060010190602001808311612f7f57829003601f168201915b5050505050905090565b60606000821415612fee576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613102565b600082905060005b600082146130205780806130099061538e565b915050600a826130199190615188565b9150612ff6565b60008167ffffffffffffffff81111561303c5761303b615507565b5b6040519080825280601f01601f19166020018201604052801561306e5781602001600182028036833780820191505090505b5090505b600085146130fb576001826130879190615213565b9150600a8561309691906153eb565b60306130a29190615132565b60f81b8183815181106130b8576130b76154d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130f49190615188565b9450613072565b8093505050505b919050565b61311183836135ad565b61311e6000848484613162565b61315d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315490614c9a565b60405180910390fd5b505050565b60006131838473ffffffffffffffffffffffffffffffffffffffff1661377b565b156132ec578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131ac612270565b8786866040518563ffffffff1660e01b81526004016131ce9493929190614a7f565b602060405180830381600087803b1580156131e857600080fd5b505af192505050801561321957506040513d601f19601f82011682018060405250810190613216919061421e565b60015b61329c573d8060008114613249576040519150601f19603f3d011682016040523d82523d6000602084013e61324e565b606091505b50600081511415613294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328b90614c9a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132f1565b600190505b949350505050565b600061335b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661378e9092919063ffffffff16565b90506000815111156133bb578080602001905181019061337b9190614184565b6133ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b190614fba565b60405180910390fd5b5b505050565b6000848484846040516020016133d99493929190614bb3565b6040516020818303038152906040528051906020012060001c9050949350505050565b600082826040516020016134119291906149db565b60405160208183030381529060405280519060200120905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6134a48383836137a6565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134e7576134e2816137ab565b613526565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135255761352483826137f4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135695761356481613961565b6135a8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135a7576135a68282613a32565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561361d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361490614e3a565b60405180910390fd5b613626816122f2565b15613666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365d90614cda565b60405180910390fd5b61367260008383612ebc565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136c29190615132565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b606061379d8484600085613ab1565b90509392505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613801846112d3565b61380b9190615213565b90506000600760008481526020019081526020016000205490508181146138f0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139759190615213565b90506000600960008481526020019081526020016000205490506000600883815481106139a5576139a46154d8565b5b9060005260206000200154905080600883815481106139c7576139c66154d8565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a1657613a156154a9565b5b6001900381819060005260206000200160009055905550505050565b6000613a3d836112d3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b606082471015613af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aed90614d3a565b60405180910390fd5b613aff8561377b565b613b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3590614f7a565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b679190614a07565b60006040518083038185875af1925050503d8060008114613ba4576040519150601f19603f3d011682016040523d82523d6000602084013e613ba9565b606091505b5091509150613bb9828286613bc5565b92505050949350505050565b60608315613bd557829050613c25565b600083511115613be85782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c1c9190614bf8565b60405180910390fd5b9392505050565b828054613c389061532b565b90600052602060002090601f016020900481019282613c5a5760008555613ca1565b82601f10613c7357803560ff1916838001178555613ca1565b82800160010185558215613ca1579182015b82811115613ca0578235825591602001919060010190613c85565b5b509050613cae9190613cb2565b5090565b5b80821115613ccb576000816000905550600101613cb3565b5090565b6000613ce2613cdd8461507a565b615055565b905082815260208101848484011115613cfe57613cfd615545565b5b613d098482856152e9565b509392505050565b600081359050613d2081615da9565b92915050565b600081359050613d3581615dc0565b92915050565b60008083601f840112613d5157613d5061553b565b5b8235905067ffffffffffffffff811115613d6e57613d6d615536565b5b602083019150836020820283011115613d8a57613d89615540565b5b9250929050565b60008083601f840112613da757613da661553b565b5b8235905067ffffffffffffffff811115613dc457613dc3615536565b5b602083019150836020820283011115613de057613ddf615540565b5b9250929050565b600081359050613df681615dd7565b92915050565b600081519050613e0b81615dd7565b92915050565b600081359050613e2081615dee565b92915050565b600081359050613e3581615e05565b92915050565b600081519050613e4a81615e05565b92915050565b600082601f830112613e6557613e6461553b565b5b8135613e75848260208601613ccf565b91505092915050565b600081359050613e8d81615e1c565b92915050565b60008083601f840112613ea957613ea861553b565b5b8235905067ffffffffffffffff811115613ec657613ec5615536565b5b602083019150836001820283011115613ee257613ee1615540565b5b9250929050565b600081359050613ef881615e33565b92915050565b600081519050613f0d81615e33565b92915050565b600060208284031215613f2957613f2861554f565b5b6000613f3784828501613d11565b91505092915050565b600060208284031215613f5657613f5561554f565b5b6000613f6484828501613d26565b91505092915050565b60008060408385031215613f8457613f8361554f565b5b6000613f9285828601613d11565b9250506020613fa385828601613d11565b9150509250929050565b600080600060608486031215613fc657613fc561554f565b5b6000613fd486828701613d11565b9350506020613fe586828701613d11565b9250506040613ff686828701613ee9565b9150509250925092565b6000806000806080858703121561401a5761401961554f565b5b600061402887828801613d11565b945050602061403987828801613d11565b935050604061404a87828801613ee9565b925050606085013567ffffffffffffffff81111561406b5761406a61554a565b5b61407787828801613e50565b91505092959194509250565b6000806040838503121561409a5761409961554f565b5b60006140a885828601613d11565b92505060206140b985828601613de7565b9150509250929050565b600080604083850312156140da576140d961554f565b5b60006140e885828601613d11565b92505060206140f985828601613ee9565b9150509250929050565b6000806000806040858703121561411d5761411c61554f565b5b600085013567ffffffffffffffff81111561413b5761413a61554a565b5b61414787828801613d3b565b9450945050602085013567ffffffffffffffff81111561416a5761416961554a565b5b61417687828801613d91565b925092505092959194509250565b60006020828403121561419a5761419961554f565b5b60006141a884828501613dfc565b91505092915050565b600080604083850312156141c8576141c761554f565b5b60006141d685828601613e11565b92505060206141e785828601613ee9565b9150509250929050565b6000602082840312156142075761420661554f565b5b600061421584828501613e26565b91505092915050565b6000602082840312156142345761423361554f565b5b600061424284828501613e3b565b91505092915050565b600080604083850312156142625761426161554f565b5b600061427085828601613e7e565b925050602061428185828601613ee9565b9150509250929050565b600080602083850312156142a2576142a161554f565b5b600083013567ffffffffffffffff8111156142c0576142bf61554a565b5b6142cc85828601613e93565b92509250509250929050565b6000602082840312156142ee576142ed61554f565b5b60006142fc84828501613ee9565b91505092915050565b60006020828403121561431b5761431a61554f565b5b600061432984828501613efe565b91505092915050565b600080604083850312156143495761434861554f565b5b600061435785828601613ee9565b925050602061436885828601613ee9565b9150509250929050565b600061437e83836149a6565b60208301905092915050565b61439381615247565b82525050565b60006143a4826150bb565b6143ae81856150e9565b93506143b9836150ab565b8060005b838110156143ea5781516143d18882614372565b97506143dc836150dc565b9250506001810190506143bd565b5085935050505092915050565b6144008161526b565b82525050565b61440f81615277565b82525050565b61442661442182615277565b6153d7565b82525050565b6000614437826150c6565b61444181856150fa565b93506144518185602086016152f8565b61445a81615554565b840191505092915050565b6000614470826150c6565b61447a818561510b565b935061448a8185602086016152f8565b80840191505092915050565b60006144a1826150d1565b6144ab8185615116565b93506144bb8185602086016152f8565b6144c481615554565b840191505092915050565b60006144da826150d1565b6144e48185615127565b93506144f48185602086016152f8565b80840191505092915050565b600061450d601483615116565b915061451882615565565b602082019050919050565b6000614530601683615116565b915061453b8261558e565b602082019050919050565b6000614553601183615116565b915061455e826155b7565b602082019050919050565b6000614576602b83615116565b9150614581826155e0565b604082019050919050565b6000614599603283615116565b91506145a48261562f565b604082019050919050565b60006145bc602683615116565b91506145c78261567e565b604082019050919050565b60006145df601c83615116565b91506145ea826156cd565b602082019050919050565b6000614602602483615116565b915061460d826156f6565b604082019050919050565b6000614625601983615116565b915061463082615745565b602082019050919050565b6000614648602683615116565b91506146538261576e565b604082019050919050565b600061466b602c83615116565b9150614676826157bd565b604082019050919050565b600061468e601083615116565b91506146998261580c565b602082019050919050565b60006146b1600f83615116565b91506146bc82615835565b602082019050919050565b60006146d4603883615116565b91506146df8261585e565b604082019050919050565b60006146f7600a83615116565b9150614702826158ad565b602082019050919050565b600061471a602a83615116565b9150614725826158d6565b604082019050919050565b600061473d602983615116565b915061474882615925565b604082019050919050565b6000614760602083615116565b915061476b82615974565b602082019050919050565b6000614783602c83615116565b915061478e8261599d565b604082019050919050565b60006147a6600583615127565b91506147b1826159ec565b600582019050919050565b60006147c9602083615116565b91506147d482615a15565b602082019050919050565b60006147ec602983615116565b91506147f782615a3e565b604082019050919050565b600061480f602583615116565b915061481a82615a8d565b604082019050919050565b6000614832602f83615116565b915061483d82615adc565b604082019050919050565b6000614855601f83615116565b915061486082615b2b565b602082019050919050565b6000614878602183615116565b915061488382615b54565b604082019050919050565b600061489b603183615116565b91506148a682615ba3565b604082019050919050565b60006148be602683615116565b91506148c982615bf2565b604082019050919050565b60006148e1601d83615116565b91506148ec82615c41565b602082019050919050565b6000614904602c83615116565b915061490f82615c6a565b604082019050919050565b6000614927602a83615116565b915061493282615cb9565b604082019050919050565b600061494a603083615116565b915061495582615d08565b604082019050919050565b600061496d601383615116565b915061497882615d57565b602082019050919050565b6000614990601c83615116565b915061499b82615d80565b602082019050919050565b6149af816152df565b82525050565b6149be816152df565b82525050565b6149d56149d0826152df565b6153e1565b82525050565b60006149e78285614415565b6020820191506149f782846149c4565b6020820191508190509392505050565b6000614a138284614465565b915081905092915050565b6000614a2a82856144cf565b9150614a3682846144cf565b91508190509392505050565b6000614a4e82846144cf565b9150614a5982614799565b915081905092915050565b6000602082019050614a79600083018461438a565b92915050565b6000608082019050614a94600083018761438a565b614aa1602083018661438a565b614aae60408301856149b5565b8181036060830152614ac0818461442c565b905095945050505050565b6000604082019050614ae0600083018561438a565b614aed60208301846149b5565b9392505050565b6000606082019050614b09600083018661438a565b614b1660208301856149b5565b8181036040830152614b28818461442c565b9050949350505050565b60006020820190508181036000830152614b4c8184614399565b905092915050565b6000602082019050614b6960008301846143f7565b92915050565b6000602082019050614b846000830184614406565b92915050565b6000604082019050614b9f6000830185614406565b614bac60208301846149b5565b9392505050565b6000608082019050614bc86000830187614406565b614bd560208301866149b5565b614be2604083018561438a565b614bef60608301846149b5565b95945050505050565b60006020820190508181036000830152614c128184614496565b905092915050565b60006020820190508181036000830152614c3381614500565b9050919050565b60006020820190508181036000830152614c5381614523565b9050919050565b60006020820190508181036000830152614c7381614546565b9050919050565b60006020820190508181036000830152614c9381614569565b9050919050565b60006020820190508181036000830152614cb38161458c565b9050919050565b60006020820190508181036000830152614cd3816145af565b9050919050565b60006020820190508181036000830152614cf3816145d2565b9050919050565b60006020820190508181036000830152614d13816145f5565b9050919050565b60006020820190508181036000830152614d3381614618565b9050919050565b60006020820190508181036000830152614d538161463b565b9050919050565b60006020820190508181036000830152614d738161465e565b9050919050565b60006020820190508181036000830152614d9381614681565b9050919050565b60006020820190508181036000830152614db3816146a4565b9050919050565b60006020820190508181036000830152614dd3816146c7565b9050919050565b60006020820190508181036000830152614df3816146ea565b9050919050565b60006020820190508181036000830152614e138161470d565b9050919050565b60006020820190508181036000830152614e3381614730565b9050919050565b60006020820190508181036000830152614e5381614753565b9050919050565b60006020820190508181036000830152614e7381614776565b9050919050565b60006020820190508181036000830152614e93816147bc565b9050919050565b60006020820190508181036000830152614eb3816147df565b9050919050565b60006020820190508181036000830152614ed381614802565b9050919050565b60006020820190508181036000830152614ef381614825565b9050919050565b60006020820190508181036000830152614f1381614848565b9050919050565b60006020820190508181036000830152614f338161486b565b9050919050565b60006020820190508181036000830152614f538161488e565b9050919050565b60006020820190508181036000830152614f73816148b1565b9050919050565b60006020820190508181036000830152614f93816148d4565b9050919050565b60006020820190508181036000830152614fb3816148f7565b9050919050565b60006020820190508181036000830152614fd38161491a565b9050919050565b60006020820190508181036000830152614ff38161493d565b9050919050565b6000602082019050818103600083015261501381614960565b9050919050565b6000602082019050818103600083015261503381614983565b9050919050565b600060208201905061504f60008301846149b5565b92915050565b600061505f615070565b905061506b828261535d565b919050565b6000604051905090565b600067ffffffffffffffff82111561509557615094615507565b5b61509e82615554565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061513d826152df565b9150615148836152df565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561517d5761517c61541c565b5b828201905092915050565b6000615193826152df565b915061519e836152df565b9250826151ae576151ad61544b565b5b828204905092915050565b60006151c4826152df565b91506151cf836152df565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152085761520761541c565b5b828202905092915050565b600061521e826152df565b9150615229836152df565b92508282101561523c5761523b61541c565b5b828203905092915050565b6000615252826152bf565b9050919050565b6000615264826152bf565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006152b882615247565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156153165780820151818401526020810190506152fb565b83811115615325576000848401525b50505050565b6000600282049050600182168061534357607f821691505b602082108114156153575761535661547a565b5b50919050565b61536682615554565b810181811067ffffffffffffffff8211171561538557615384615507565b5b80604052505050565b6000615399826152df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153cc576153cb61541c565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006153f6826152df565b9150615401836152df565b9250826154115761541061544b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f546f6b656e203020616c7265616479206d696e74656400000000000000000000600082015250565b7f4d617820737570706c79206d696e746564000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4e6f7420656e6f756768204c494e4b0000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4f6e6c7920666f72203000000000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f52616e646f6d6e657373206d75737420626520736574206265666f7265206d6960008201527f6e74696e67000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4164647265737365732026207175616e7469746573206c656e677468206e6f7460008201527f20657175616c0000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f466972737420626174636820666f722064657600000000000000000000000000600082015250565b7f546f6b656e2030206d757374206265206d696e74656420666972737400000000600082015250565b615db281615247565b8114615dbd57600080fd5b50565b615dc981615259565b8114615dd457600080fd5b50565b615de08161526b565b8114615deb57600080fd5b50565b615df781615277565b8114615e0257600080fd5b50565b615e0e81615281565b8114615e1957600080fd5b50565b615e25816152ad565b8114615e3057600080fd5b50565b615e3c816152df565b8114615e4757600080fd5b5056fea2646970667358221220620201059e82db7103bd32ee6933251aa077a0face5036324c6d2ce7b1d5c67b64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000007c000000000000000000000000000000000000000000000000000000000000303900000000000000000000000000000000000000000000000000000000614d60c30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000043a8996055f8b582144c2ded7b4fed7279c2a0b1000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f617277656176652e6e65742f4c476c4d444b41576763447976596f667431595636593270424241776a576146755a7244503979442d52592f

-----Decoded View---------------
Arg [0] : specialMintAddresses_ (address[]): 0x43a8996055F8B582144C2deD7B4fEd7279C2A0B1,0xbb31aC1eca8E6007775DAEF2ACc433EB0f30454B
Arg [1] : developerAllocation_ (uint256): 124
Arg [2] : maxSupply_ (uint256): 12345
Arg [3] : revealTimestamp_ (uint256): 1632460995
Arg [4] : royaltyReceipientAddress_ (address): 0x0000000000000000000000000000000000000000
Arg [5] : royaltyPercentageBasisPoints_ (uint256): 0
Arg [6] : uris_ (string[]): ,https://arweave.net/LGlMDKAWgcDyvYoft1YV6Y2pBBAwjWaFuZrDP9yD-RY/
Arg [7] : vrfCoordinator_ (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952
Arg [8] : link_ (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [9] : keyHash_ (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [10] : fee_ (uint256): 2000000000000000000

-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 000000000000000000000000000000000000000000000000000000000000007c
Arg [2] : 0000000000000000000000000000000000000000000000000000000000003039
Arg [3] : 00000000000000000000000000000000000000000000000000000000614d60c3
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [7] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [8] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [9] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [10] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [12] : 00000000000000000000000043a8996055f8b582144c2ded7b4fed7279c2a0b1
Arg [13] : 000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [19] : 68747470733a2f2f617277656176652e6e65742f4c476c4d444b415767634479
Arg [20] : 76596f667431595636593270424241776a576146755a7244503979442d52592f


Loading...
Loading
Loading...
Loading
[ 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.