ETH Price: $3,120.59 (+1.64%)

Token

The Yolk Frat (YOLK)
 

Overview

Max Total Supply

400 YOLK

Holders

266

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
jabej.eth
Balance
2 YOLK
0x9addbd7c41e028c2a05dee3f6faa1f21798e0607
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
TheYolkFrat

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : TheYolkFrat.sol
// SPDX-License-Identifier: GPL-3.0

/*
    ________            __  __      ____      ______           __ 
  /_  __/ /_  ___      \ \/ /___  / / /__   / ____/________ _/ /_
   / / / __ \/ _ \      \  / __ \/ / //_/  / /_  / ___/ __ `/ __/
  / / / / / /  __/      / / /_/ / / ,<    / __/ / /  / /_/ / /_  
 /_/ /_/ /_/\___/      /_/\____/_/_/|_|  /_/   /_/   \__,_/\__/  
 
*/

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract TheYolkFrat is ERC721Enumerable, Ownable {
    
    using SafeMath for uint256;
    using Strings for uint256;
    using Address for address;

    string public baseUri;
    string public baseExtension;
    uint256 public publicPrice;
    uint256 public preSalePrice;
    uint256 public maxSupply;
    uint256 public maxMintPerTx;
    uint256 public reserved;
    bool public preSaleOpen;
    bool public publicSaleOpen;
    mapping(address => bool) public whitelist;
    
    constructor(
        uint256 _publicPrice,
        uint256 _preSalePrice, 
        uint256 _maxSupply, 
        uint256 _maxMintPerTx, 
        uint256 _reserved,
        string memory _baseUri
    ) ERC721("The Yolk Frat", "YOLK") {
        publicPrice = _publicPrice;
        preSalePrice = _preSalePrice;
        maxSupply = _maxSupply;
        maxMintPerTx = _maxMintPerTx;
        reserved = _reserved;
        baseUri = _baseUri;
        preSaleOpen = false;
        publicSaleOpen = false;   
    }
    
    function _baseURI() internal view virtual override returns (string memory) {
        return baseUri;
    }
    
    function saleState() external view returns (uint256, uint256, uint256, uint256, bool, bool) {
        return (
            publicPrice,
            preSalePrice,
            maxSupply,
            totalSupply(), 
            publicSaleOpen,
            preSaleOpen
            );
    }

    function saleState(address addr) external view returns (uint256, uint256, uint256, uint256, bool, bool, bool) {
        return (
            publicPrice,
            preSalePrice,
            maxSupply,
            totalSupply(), 
            publicSaleOpen,
            preSaleOpen,
            whitelist[addr]
            );
    }
    
    function mint(uint256 quantity) external payable {
        require(quantity > 0, "Invalid quantity");
        require(totalSupply().add(quantity) <= maxSupply.sub(reserved), "Max supply exceeded");
        if(_msgSender() != owner()) {
            require(preSaleOpen || publicSaleOpen, "Sale close");
            uint256 price = publicPrice;
            if(preSaleOpen && !publicSaleOpen){
                price = preSalePrice;
                require(whitelist[_msgSender()], "Not whitelisted");
            }
            require(quantity <= maxMintPerTx, "Mint limit exceeded");
            require(price.mul(quantity) <= msg.value, "Incorrect ETH value");
        }
        for(uint256 i = 0; i < quantity; ++i) {
            _safeMint(_msgSender(), totalSupply().add(1));
        }
    }
    
    function gift(address _to, uint256 _quantity) public onlyOwner {  
        require(_to != address(0), "Invalid address");
        require(_quantity > 0 && _quantity <= reserved, "Not enough reserves left");
        require(totalSupply().add(_quantity) <= maxSupply, "Max supply exceeded");
        for (uint256 i = 0; i < _quantity; i++) {
            _safeMint(_to, totalSupply().add(1));
        }
        reserved = reserved.sub(_quantity);
    }
    
    function bulkGift(address[] calldata addresses) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++){
            gift(addresses[i], 1);
        }
    }
    
    function walletOfOwner(address _owner) external view returns (uint256[] memory) {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        for(uint256 i; i < ownerTokenCount; ++i) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }
    
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata : URI query for nonexistent token");
        return bytes(baseUri).length > 0 ? string(abi.encodePacked(baseUri, tokenId.toString(), baseExtension)) : "";
    }

    function setMaxSupply(uint256 _maxSupply) external onlyOwner {
        maxSupply = _maxSupply;
    }
    
    function setMaxMintPerTx(uint256 _maxMintPerTx) external onlyOwner {
        maxMintPerTx = _maxMintPerTx;
    }
    
    function setPublicPrice(uint256 _publicPrice) external onlyOwner {
        publicPrice = _publicPrice;
    }
    
    function setPreSalePrice(uint256 _preSalePrice) external onlyOwner {
        preSalePrice = _preSalePrice;
    }
    
    function setReserved(uint256 _reserved) external onlyOwner {
        reserved = _reserved;
    }
    
    function setBaseUri(string memory _uri) external onlyOwner {
        baseUri = _uri;
    }
    
    function setBaseExtension(string memory _newBaseExtension) external onlyOwner {
        baseExtension = _newBaseExtension;
    }
    
    function setWhitelist(address[] calldata newAddresses) external onlyOwner {
        for (uint256 i = 0; i < newAddresses.length; i++)
            whitelist[newAddresses[i]] = true;
    }

    function removeWhitelist(address[] calldata currentAddresses) external onlyOwner {
        for (uint256 i = 0; i < currentAddresses.length; i++)
            delete whitelist[currentAddresses[i]];
    }
    
    function setPreSaleOpen(bool _state) external onlyOwner {
        preSaleOpen = _state;
    }
    
    function setPublicSaleOpen(bool _state) external onlyOwner {
        publicSaleOpen = _state;
    }
    
    function withdraw() external onlyOwner {
        transfer(_msgSender(), address(this).balance);
    }
    
    function transfer(address _to, uint256 _value) private {
        (bool sent, ) = payable(_to).call{value: _value}("");
        require(sent, "Failed to send Ether");
    }
}

File 2 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 3 of 14 : 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 4 of 14 : 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 5 of 14 : 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 6 of 14 : 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 14 : 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);
    }

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

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

File 8 of 14 : 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 14 : 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 14 : 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 14 : 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 12 of 14 : 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 13 of 14 : 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.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 14 of 14 : 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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"},{"internalType":"uint256","name":"_preSalePrice","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintPerTx","type":"uint256"},{"internalType":"uint256","name":"_reserved","type":"uint256"},{"internalType":"string","name":"_baseUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"bulkGift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","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":"maxMintPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"currentAddresses","type":"address[]"}],"name":"removeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"saleState","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintPerTx","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPreSaleOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preSalePrice","type":"uint256"}],"name":"setPreSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicSaleOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reserved","type":"uint256"}],"name":"setReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"newAddresses","type":"address[]"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162005a4e38038062005a4e833981810160405281019062000037919062000388565b6040518060400160405280600d81526020017f54686520596f6c6b2046726174000000000000000000000000000000000000008152506040518060400160405280600481526020017f594f4c4b000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000243565b508060019080519060200190620000d492919062000243565b505050620000f7620000eb6200017560201b60201c565b6200017d60201b60201c565b85600d8190555084600e8190555083600f81905550826010819055508160118190555080600b90805190602001906200013292919062000243565b506000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff021916908315150217905550505050505050620005eb565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200025190620004e2565b90600052602060002090601f016020900481019282620002755760008555620002c1565b82601f106200029057805160ff1916838001178555620002c1565b82800160010185558215620002c1579182015b82811115620002c0578251825591602001919060010190620002a3565b5b509050620002d09190620002d4565b5090565b5b80821115620002ef576000816000905550600101620002d5565b5090565b60006200030a62000304846200046c565b62000443565b905082815260208101848484011115620003295762000328620005b1565b5b62000336848285620004ac565b509392505050565b600082601f830112620003565762000355620005ac565b5b815162000368848260208601620002f3565b91505092915050565b6000815190506200038281620005d1565b92915050565b60008060008060008060c08789031215620003a857620003a7620005bb565b5b6000620003b889828a0162000371565b9650506020620003cb89828a0162000371565b9550506040620003de89828a0162000371565b9450506060620003f189828a0162000371565b93505060806200040489828a0162000371565b92505060a087015167ffffffffffffffff811115620004285762000427620005b6565b5b6200043689828a016200033e565b9150509295509295509295565b60006200044f62000462565b90506200045d828262000518565b919050565b6000604051905090565b600067ffffffffffffffff8211156200048a57620004896200057d565b5b6200049582620005c0565b9050602081019050919050565b6000819050919050565b60005b83811015620004cc578082015181840152602081019050620004af565b83811115620004dc576000848401525b50505050565b60006002820490506001821680620004fb57607f821691505b602082108114156200051257620005116200054e565b5b50919050565b6200052382620005c0565b810181811067ffffffffffffffff821117156200054557620005446200057d565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620005dc81620004a2565b8114620005e857600080fd5b50565b61545380620005fb6000396000f3fe6080604052600436106102885760003560e01c806395d89b411161015a578063c6682862116100c1578063e757c17d1161007a578063e757c17d146109d6578063e985e9c514610a01578063f2fde38b14610a3e578063f421764814610a67578063f9e2379914610a90578063fe60d12c14610abb57610288565b8063c6682862146108c6578063c87b56dd146108f1578063cbce4c971461092e578063d5abeb0114610957578063da3ef23f14610982578063de7fcb1d146109ab57610288565b8063a22cb46511610113578063a22cb465146107cc578063a945bf80146107f5578063b56565e514610820578063b88d4fde14610849578063ba11ecde14610872578063c62752551461089d57610288565b806395d89b41146106cb5780639abc8320146106f65780639b19251a146107215780639c2ade611461075e578063a0712d6814610787578063a0bcfc7f146107a357610288565b806342842e0e116101fe5780636352211e116101b75780636352211e146105bd5780636f8b44b0146105fa57806370a0823114610623578063715018a6146106605780637d7eee42146106775780638da5cb5b146106a057610288565b806342842e0e1461047e578063438b6300146104a75780634f6ccce7146104e4578063594605ae14610521578063603f4d5214610564578063616cdb1e1461059457610288565b80632324521611610250578063232452161461038657806323394d99146103af57806323b872dd146103d85780632d6e71b6146104015780632f745c591461042a5780633ccfd60b1461046757610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b31461033257806318160ddd1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613c74565b610ae6565b6040516102c191906143bb565b60405180910390f35b3480156102d657600080fd5b506102df610b60565b6040516102ec91906143d6565b60405180910390f35b34801561030157600080fd5b5061031c60048036038101906103179190613d17565b610bf2565b6040516103299190614332565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613bba565b610c77565b005b34801561036757600080fd5b50610370610d8f565b60405161037d9190614758565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a89190613bfa565b610d9c565b005b3480156103bb57600080fd5b506103d660048036038101906103d19190613c47565b610eb4565b005b3480156103e457600080fd5b506103ff60048036038101906103fa9190613aa4565b610f4d565b005b34801561040d57600080fd5b5061042860048036038101906104239190613d17565b610fad565b005b34801561043657600080fd5b50610451600480360381019061044c9190613bba565b611033565b60405161045e9190614758565b60405180910390f35b34801561047357600080fd5b5061047c6110d8565b005b34801561048a57600080fd5b506104a560048036038101906104a09190613aa4565b611167565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613a37565b611187565b6040516104db9190614399565b60405180910390f35b3480156104f057600080fd5b5061050b60048036038101906105069190613d17565b611233565b6040516105189190614758565b60405180910390f35b34801561052d57600080fd5b5061054860048036038101906105439190613a37565b6112a4565b60405161055b97969594939291906147d4565b60405180910390f35b34801561057057600080fd5b50610579611346565b60405161058b96959493929190614773565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b69190613d17565b611394565b005b3480156105c957600080fd5b506105e460048036038101906105df9190613d17565b61141a565b6040516105f19190614332565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c9190613d17565b6114cc565b005b34801561062f57600080fd5b5061064a60048036038101906106459190613a37565b611552565b6040516106579190614758565b60405180910390f35b34801561066c57600080fd5b5061067561160a565b005b34801561068357600080fd5b5061069e60048036038101906106999190613d17565b611692565b005b3480156106ac57600080fd5b506106b5611718565b6040516106c29190614332565b60405180910390f35b3480156106d757600080fd5b506106e0611742565b6040516106ed91906143d6565b60405180910390f35b34801561070257600080fd5b5061070b6117d4565b60405161071891906143d6565b60405180910390f35b34801561072d57600080fd5b5061074860048036038101906107439190613a37565b611862565b60405161075591906143bb565b60405180910390f35b34801561076a57600080fd5b5061078560048036038101906107809190613c47565b611882565b005b6107a1600480360381019061079c9190613d17565b61191b565b005b3480156107af57600080fd5b506107ca60048036038101906107c59190613cce565b611c2c565b005b3480156107d857600080fd5b506107f360048036038101906107ee9190613b7a565b611cc2565b005b34801561080157600080fd5b5061080a611e43565b6040516108179190614758565b60405180910390f35b34801561082c57600080fd5b5061084760048036038101906108429190613bfa565b611e49565b005b34801561085557600080fd5b50610870600480360381019061086b9190613af7565b611f1d565b005b34801561087e57600080fd5b50610887611f7f565b60405161089491906143bb565b60405180910390f35b3480156108a957600080fd5b506108c460048036038101906108bf9190613d17565b611f92565b005b3480156108d257600080fd5b506108db612018565b6040516108e891906143d6565b60405180910390f35b3480156108fd57600080fd5b5061091860048036038101906109139190613d17565b6120a6565b60405161092591906143d6565b60405180910390f35b34801561093a57600080fd5b5061095560048036038101906109509190613bba565b612151565b005b34801561096357600080fd5b5061096c61234e565b6040516109799190614758565b60405180910390f35b34801561098e57600080fd5b506109a960048036038101906109a49190613cce565b612354565b005b3480156109b757600080fd5b506109c06123ea565b6040516109cd9190614758565b60405180910390f35b3480156109e257600080fd5b506109eb6123f0565b6040516109f89190614758565b60405180910390f35b348015610a0d57600080fd5b50610a286004803603810190610a239190613a64565b6123f6565b604051610a3591906143bb565b60405180910390f35b348015610a4a57600080fd5b50610a656004803603810190610a609190613a37565b61248a565b005b348015610a7357600080fd5b50610a8e6004803603810190610a899190613bfa565b612582565b005b348015610a9c57600080fd5b50610aa56126a3565b604051610ab291906143bb565b60405180910390f35b348015610ac757600080fd5b50610ad06126b6565b604051610add9190614758565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b595750610b58826126bc565b5b9050919050565b606060008054610b6f90614b31565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9b90614b31565b8015610be85780601f10610bbd57610100808354040283529160200191610be8565b820191906000526020600020905b815481529060010190602001808311610bcb57829003601f168201915b5050505050905090565b6000610bfd8261279e565b610c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c33906145f8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c828261141a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea90614678565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d1261280a565b73ffffffffffffffffffffffffffffffffffffffff161480610d415750610d4081610d3b61280a565b6123f6565b5b610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7790614538565b60405180910390fd5b610d8a8383612812565b505050565b6000600880549050905090565b610da461280a565b73ffffffffffffffffffffffffffffffffffffffff16610dc2611718565b73ffffffffffffffffffffffffffffffffffffffff1614610e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0f90614618565b60405180910390fd5b60005b82829050811015610eaf5760136000848484818110610e3d57610e3c614cca565b5b9050602002016020810190610e529190613a37565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690558080610ea790614b94565b915050610e1b565b505050565b610ebc61280a565b73ffffffffffffffffffffffffffffffffffffffff16610eda611718565b73ffffffffffffffffffffffffffffffffffffffff1614610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2790614618565b60405180910390fd5b80601260016101000a81548160ff02191690831515021790555050565b610f5e610f5861280a565b826128cb565b610f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9490614698565b60405180910390fd5b610fa88383836129a9565b505050565b610fb561280a565b73ffffffffffffffffffffffffffffffffffffffff16610fd3611718565b73ffffffffffffffffffffffffffffffffffffffff1614611029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102090614618565b60405180910390fd5b8060118190555050565b600061103e83611552565b821061107f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107690614438565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6110e061280a565b73ffffffffffffffffffffffffffffffffffffffff166110fe611718565b73ffffffffffffffffffffffffffffffffffffffff1614611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b90614618565b60405180910390fd5b61116561115f61280a565b47612c05565b565b61118283838360405180602001604052806000815250611f1d565b505050565b6060600061119483611552565b905060008167ffffffffffffffff8111156111b2576111b1614cf9565b5b6040519080825280602002602001820160405280156111e05781602001602082028036833780820191505090505b50905060005b82811015611228576111f88582611033565b82828151811061120b5761120a614cca565b5b6020026020010181815250508061122190614b94565b90506111e6565b508092505050919050565b600061123d610d8f565b821061127e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611275906146b8565b60405180910390fd5b6008828154811061129257611291614cca565b5b90600052602060002001549050919050565b6000806000806000806000600d54600e54600f546112c0610d8f565b601260019054906101000a900460ff16601260009054906101000a900460ff16601360008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169650965096509650965096509650919395979092949650565b600080600080600080600d54600e54600f54611360610d8f565b601260019054906101000a900460ff16601260009054906101000a900460ff16955095509550955095509550909192939495565b61139c61280a565b73ffffffffffffffffffffffffffffffffffffffff166113ba611718565b73ffffffffffffffffffffffffffffffffffffffff1614611410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140790614618565b60405180910390fd5b8060108190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ba906145b8565b60405180910390fd5b80915050919050565b6114d461280a565b73ffffffffffffffffffffffffffffffffffffffff166114f2611718565b73ffffffffffffffffffffffffffffffffffffffff1614611548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153f90614618565b60405180910390fd5b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba90614598565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61161261280a565b73ffffffffffffffffffffffffffffffffffffffff16611630611718565b73ffffffffffffffffffffffffffffffffffffffff1614611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90614618565b60405180910390fd5b6116906000612cb6565b565b61169a61280a565b73ffffffffffffffffffffffffffffffffffffffff166116b8611718565b73ffffffffffffffffffffffffffffffffffffffff161461170e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170590614618565b60405180910390fd5b80600e8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461175190614b31565b80601f016020809104026020016040519081016040528092919081815260200182805461177d90614b31565b80156117ca5780601f1061179f576101008083540402835291602001916117ca565b820191906000526020600020905b8154815290600101906020018083116117ad57829003601f168201915b5050505050905090565b600b80546117e190614b31565b80601f016020809104026020016040519081016040528092919081815260200182805461180d90614b31565b801561185a5780601f1061182f5761010080835404028352916020019161185a565b820191906000526020600020905b81548152906001019060200180831161183d57829003601f168201915b505050505081565b60136020528060005260406000206000915054906101000a900460ff1681565b61188a61280a565b73ffffffffffffffffffffffffffffffffffffffff166118a8611718565b73ffffffffffffffffffffffffffffffffffffffff16146118fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f590614618565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b6000811161195e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195590614558565b60405180910390fd5b611975601154600f54612d7c90919063ffffffff16565b61198f82611981610d8f565b612d9290919063ffffffff16565b11156119d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c7906143f8565b60405180910390fd5b6119d8611718565b73ffffffffffffffffffffffffffffffffffffffff166119f661280a565b73ffffffffffffffffffffffffffffffffffffffff1614611be157601260009054906101000a900460ff1680611a385750601260019054906101000a900460ff165b611a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6e906146f8565b60405180910390fd5b6000600d549050601260009054906101000a900460ff168015611aa75750601260019054906101000a900460ff16155b15611b4557600e54905060136000611abd61280a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3b90614578565b60405180910390fd5b5b601054821115611b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b81906146d8565b60405180910390fd5b34611b9e8383612da890919063ffffffff16565b1115611bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd690614738565b60405180910390fd5b505b60005b81811015611c2857611c17611bf761280a565b611c126001611c04610d8f565b612d9290919063ffffffff16565b612dbe565b80611c2190614b94565b9050611be4565b5050565b611c3461280a565b73ffffffffffffffffffffffffffffffffffffffff16611c52611718565b73ffffffffffffffffffffffffffffffffffffffff1614611ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9f90614618565b60405180910390fd5b80600b9080519060200190611cbe9291906137f5565b5050565b611cca61280a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2f906144f8565b60405180910390fd5b8060056000611d4561280a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611df261280a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e3791906143bb565b60405180910390a35050565b600d5481565b611e5161280a565b73ffffffffffffffffffffffffffffffffffffffff16611e6f611718565b73ffffffffffffffffffffffffffffffffffffffff1614611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90614618565b60405180910390fd5b60005b82829050811015611f1857611f05838383818110611ee957611ee8614cca565b5b9050602002016020810190611efe9190613a37565b6001612151565b8080611f1090614b94565b915050611ec8565b505050565b611f2e611f2861280a565b836128cb565b611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6490614698565b60405180910390fd5b611f7984848484612ddc565b50505050565b601260009054906101000a900460ff1681565b611f9a61280a565b73ffffffffffffffffffffffffffffffffffffffff16611fb8611718565b73ffffffffffffffffffffffffffffffffffffffff161461200e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200590614618565b60405180910390fd5b80600d8190555050565b600c805461202590614b31565b80601f016020809104026020016040519081016040528092919081815260200182805461205190614b31565b801561209e5780601f106120735761010080835404028352916020019161209e565b820191906000526020600020905b81548152906001019060200180831161208157829003601f168201915b505050505081565b60606120b18261279e565b6120f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e790614658565b60405180910390fd5b6000600b80546120ff90614b31565b90501161211b576040518060200160405280600081525061214a565b600b61212683612e38565b600c60405160200161213a939291906142ec565b6040516020818303038152906040525b9050919050565b61215961280a565b73ffffffffffffffffffffffffffffffffffffffff16612177611718565b73ffffffffffffffffffffffffffffffffffffffff16146121cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c490614618565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561223d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223490614418565b60405180910390fd5b60008111801561224f57506011548111155b61228e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228590614718565b60405180910390fd5b600f546122ab8261229d610d8f565b612d9290919063ffffffff16565b11156122ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e3906143f8565b60405180910390fd5b60005b8181101561232e5761231b836123166001612308610d8f565b612d9290919063ffffffff16565b612dbe565b808061232690614b94565b9150506122ef565b5061234481601154612d7c90919063ffffffff16565b6011819055505050565b600f5481565b61235c61280a565b73ffffffffffffffffffffffffffffffffffffffff1661237a611718565b73ffffffffffffffffffffffffffffffffffffffff16146123d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c790614618565b60405180910390fd5b80600c90805190602001906123e69291906137f5565b5050565b60105481565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61249261280a565b73ffffffffffffffffffffffffffffffffffffffff166124b0611718565b73ffffffffffffffffffffffffffffffffffffffff1614612506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fd90614618565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256d90614478565b60405180910390fd5b61257f81612cb6565b50565b61258a61280a565b73ffffffffffffffffffffffffffffffffffffffff166125a8611718565b73ffffffffffffffffffffffffffffffffffffffff16146125fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f590614618565b60405180910390fd5b60005b8282905081101561269e5760016013600085858581811061262557612624614cca565b5b905060200201602081019061263a9190613a37565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061269690614b94565b915050612601565b505050565b601260019054906101000a900460ff1681565b60115481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061278757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612797575061279682612f99565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128858361141a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006128d68261279e565b612915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290c90614518565b60405180910390fd5b60006129208361141a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061298f57508373ffffffffffffffffffffffffffffffffffffffff1661297784610bf2565b73ffffffffffffffffffffffffffffffffffffffff16145b806129a0575061299f81856123f6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129c98261141a565b73ffffffffffffffffffffffffffffffffffffffff1614612a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1690614638565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a86906144d8565b60405180910390fd5b612a9a838383613003565b612aa5600082612812565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612af59190614a47565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b4c9190614966565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612c2b9061431d565b60006040518083038185875af1925050503d8060008114612c68576040519150601f19603f3d011682016040523d82523d6000602084013e612c6d565b606091505b5050905080612cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca8906144b8565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612d8a9190614a47565b905092915050565b60008183612da09190614966565b905092915050565b60008183612db691906149ed565b905092915050565b612dd8828260405180602001604052806000815250613117565b5050565b612de78484846129a9565b612df384848484613172565b612e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2990614458565b60405180910390fd5b50505050565b60606000821415612e80576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f94565b600082905060005b60008214612eb2578080612e9b90614b94565b915050600a82612eab91906149bc565b9150612e88565b60008167ffffffffffffffff811115612ece57612ecd614cf9565b5b6040519080825280601f01601f191660200182016040528015612f005781602001600182028036833780820191505090505b5090505b60008514612f8d57600182612f199190614a47565b9150600a85612f289190614bdd565b6030612f349190614966565b60f81b818381518110612f4a57612f49614cca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f8691906149bc565b9450612f04565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61300e838383613309565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130515761304c8161330e565b613090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461308f5761308e8382613357565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130d3576130ce816134c4565b613112565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613111576131108282613595565b5b5b505050565b6131218383613614565b61312e6000848484613172565b61316d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316490614458565b60405180910390fd5b505050565b60006131938473ffffffffffffffffffffffffffffffffffffffff166137e2565b156132fc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131bc61280a565b8786866040518563ffffffff1660e01b81526004016131de949392919061434d565b602060405180830381600087803b1580156131f857600080fd5b505af192505050801561322957506040513d601f19601f820116820180604052508101906132269190613ca1565b60015b6132ac573d8060008114613259576040519150601f19603f3d011682016040523d82523d6000602084013e61325e565b606091505b506000815114156132a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329b90614458565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613301565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161336484611552565b61336e9190614a47565b9050600060076000848152602001908152602001600020549050818114613453576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134d89190614a47565b905060006009600084815260200190815260200160002054905060006008838154811061350857613507614cca565b5b90600052602060002001549050806008838154811061352a57613529614cca565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061357957613578614c9b565b5b6001900381819060005260206000200160009055905550505050565b60006135a083611552565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367b906145d8565b60405180910390fd5b61368d8161279e565b156136cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136c490614498565b60405180910390fd5b6136d960008383613003565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137299190614966565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461380190614b31565b90600052602060002090601f016020900481019282613823576000855561386a565b82601f1061383c57805160ff191683800117855561386a565b8280016001018555821561386a579182015b8281111561386957825182559160200191906001019061384e565b5b509050613877919061387b565b5090565b5b8082111561389457600081600090555060010161387c565b5090565b60006138ab6138a684614868565b614843565b9050828152602081018484840111156138c7576138c6614d37565b5b6138d2848285614aef565b509392505050565b60006138ed6138e884614899565b614843565b90508281526020810184848401111561390957613908614d37565b5b613914848285614aef565b509392505050565b60008135905061392b816153c1565b92915050565b60008083601f84011261394757613946614d2d565b5b8235905067ffffffffffffffff81111561396457613963614d28565b5b6020830191508360208202830111156139805761397f614d32565b5b9250929050565b600081359050613996816153d8565b92915050565b6000813590506139ab816153ef565b92915050565b6000815190506139c0816153ef565b92915050565b600082601f8301126139db576139da614d2d565b5b81356139eb848260208601613898565b91505092915050565b600082601f830112613a0957613a08614d2d565b5b8135613a198482602086016138da565b91505092915050565b600081359050613a3181615406565b92915050565b600060208284031215613a4d57613a4c614d41565b5b6000613a5b8482850161391c565b91505092915050565b60008060408385031215613a7b57613a7a614d41565b5b6000613a898582860161391c565b9250506020613a9a8582860161391c565b9150509250929050565b600080600060608486031215613abd57613abc614d41565b5b6000613acb8682870161391c565b9350506020613adc8682870161391c565b9250506040613aed86828701613a22565b9150509250925092565b60008060008060808587031215613b1157613b10614d41565b5b6000613b1f8782880161391c565b9450506020613b308782880161391c565b9350506040613b4187828801613a22565b925050606085013567ffffffffffffffff811115613b6257613b61614d3c565b5b613b6e878288016139c6565b91505092959194509250565b60008060408385031215613b9157613b90614d41565b5b6000613b9f8582860161391c565b9250506020613bb085828601613987565b9150509250929050565b60008060408385031215613bd157613bd0614d41565b5b6000613bdf8582860161391c565b9250506020613bf085828601613a22565b9150509250929050565b60008060208385031215613c1157613c10614d41565b5b600083013567ffffffffffffffff811115613c2f57613c2e614d3c565b5b613c3b85828601613931565b92509250509250929050565b600060208284031215613c5d57613c5c614d41565b5b6000613c6b84828501613987565b91505092915050565b600060208284031215613c8a57613c89614d41565b5b6000613c988482850161399c565b91505092915050565b600060208284031215613cb757613cb6614d41565b5b6000613cc5848285016139b1565b91505092915050565b600060208284031215613ce457613ce3614d41565b5b600082013567ffffffffffffffff811115613d0257613d01614d3c565b5b613d0e848285016139f4565b91505092915050565b600060208284031215613d2d57613d2c614d41565b5b6000613d3b84828501613a22565b91505092915050565b6000613d5083836142ce565b60208301905092915050565b613d6581614a7b565b82525050565b6000613d76826148ef565b613d80818561491d565b9350613d8b836148ca565b8060005b83811015613dbc578151613da38882613d44565b9750613dae83614910565b925050600181019050613d8f565b5085935050505092915050565b613dd281614a8d565b82525050565b6000613de3826148fa565b613ded818561492e565b9350613dfd818560208601614afe565b613e0681614d46565b840191505092915050565b6000613e1c82614905565b613e26818561494a565b9350613e36818560208601614afe565b613e3f81614d46565b840191505092915050565b6000613e5582614905565b613e5f818561495b565b9350613e6f818560208601614afe565b80840191505092915050565b60008154613e8881614b31565b613e92818661495b565b94506001821660008114613ead5760018114613ebe57613ef1565b60ff19831686528186019350613ef1565b613ec7856148da565b60005b83811015613ee957815481890152600182019150602081019050613eca565b838801955050505b50505092915050565b6000613f0760138361494a565b9150613f1282614d57565b602082019050919050565b6000613f2a600f8361494a565b9150613f3582614d80565b602082019050919050565b6000613f4d602b8361494a565b9150613f5882614da9565b604082019050919050565b6000613f7060328361494a565b9150613f7b82614df8565b604082019050919050565b6000613f9360268361494a565b9150613f9e82614e47565b604082019050919050565b6000613fb6601c8361494a565b9150613fc182614e96565b602082019050919050565b6000613fd960148361494a565b9150613fe482614ebf565b602082019050919050565b6000613ffc60248361494a565b915061400782614ee8565b604082019050919050565b600061401f60198361494a565b915061402a82614f37565b602082019050919050565b6000614042602c8361494a565b915061404d82614f60565b604082019050919050565b600061406560388361494a565b915061407082614faf565b604082019050919050565b600061408860108361494a565b915061409382614ffe565b602082019050919050565b60006140ab600f8361494a565b91506140b682615027565b602082019050919050565b60006140ce602a8361494a565b91506140d982615050565b604082019050919050565b60006140f160298361494a565b91506140fc8261509f565b604082019050919050565b600061411460208361494a565b915061411f826150ee565b602082019050919050565b6000614137602c8361494a565b915061414282615117565b604082019050919050565b600061415a60208361494a565b915061416582615166565b602082019050919050565b600061417d60298361494a565b91506141888261518f565b604082019050919050565b60006141a060308361494a565b91506141ab826151de565b604082019050919050565b60006141c360218361494a565b91506141ce8261522d565b604082019050919050565b60006141e660008361493f565b91506141f18261527c565b600082019050919050565b600061420960318361494a565b91506142148261527f565b604082019050919050565b600061422c602c8361494a565b9150614237826152ce565b604082019050919050565b600061424f60138361494a565b915061425a8261531d565b602082019050919050565b6000614272600a8361494a565b915061427d82615346565b602082019050919050565b600061429560188361494a565b91506142a08261536f565b602082019050919050565b60006142b860138361494a565b91506142c382615398565b602082019050919050565b6142d781614ae5565b82525050565b6142e681614ae5565b82525050565b60006142f88286613e7b565b91506143048285613e4a565b91506143108284613e7b565b9150819050949350505050565b6000614328826141d9565b9150819050919050565b60006020820190506143476000830184613d5c565b92915050565b60006080820190506143626000830187613d5c565b61436f6020830186613d5c565b61437c60408301856142dd565b818103606083015261438e8184613dd8565b905095945050505050565b600060208201905081810360008301526143b38184613d6b565b905092915050565b60006020820190506143d06000830184613dc9565b92915050565b600060208201905081810360008301526143f08184613e11565b905092915050565b6000602082019050818103600083015261441181613efa565b9050919050565b6000602082019050818103600083015261443181613f1d565b9050919050565b6000602082019050818103600083015261445181613f40565b9050919050565b6000602082019050818103600083015261447181613f63565b9050919050565b6000602082019050818103600083015261449181613f86565b9050919050565b600060208201905081810360008301526144b181613fa9565b9050919050565b600060208201905081810360008301526144d181613fcc565b9050919050565b600060208201905081810360008301526144f181613fef565b9050919050565b6000602082019050818103600083015261451181614012565b9050919050565b6000602082019050818103600083015261453181614035565b9050919050565b6000602082019050818103600083015261455181614058565b9050919050565b600060208201905081810360008301526145718161407b565b9050919050565b600060208201905081810360008301526145918161409e565b9050919050565b600060208201905081810360008301526145b1816140c1565b9050919050565b600060208201905081810360008301526145d1816140e4565b9050919050565b600060208201905081810360008301526145f181614107565b9050919050565b600060208201905081810360008301526146118161412a565b9050919050565b600060208201905081810360008301526146318161414d565b9050919050565b6000602082019050818103600083015261465181614170565b9050919050565b6000602082019050818103600083015261467181614193565b9050919050565b60006020820190508181036000830152614691816141b6565b9050919050565b600060208201905081810360008301526146b1816141fc565b9050919050565b600060208201905081810360008301526146d18161421f565b9050919050565b600060208201905081810360008301526146f181614242565b9050919050565b6000602082019050818103600083015261471181614265565b9050919050565b6000602082019050818103600083015261473181614288565b9050919050565b60006020820190508181036000830152614751816142ab565b9050919050565b600060208201905061476d60008301846142dd565b92915050565b600060c08201905061478860008301896142dd565b61479560208301886142dd565b6147a260408301876142dd565b6147af60608301866142dd565b6147bc6080830185613dc9565b6147c960a0830184613dc9565b979650505050505050565b600060e0820190506147e9600083018a6142dd565b6147f660208301896142dd565b61480360408301886142dd565b61481060608301876142dd565b61481d6080830186613dc9565b61482a60a0830185613dc9565b61483760c0830184613dc9565b98975050505050505050565b600061484d61485e565b90506148598282614b63565b919050565b6000604051905090565b600067ffffffffffffffff82111561488357614882614cf9565b5b61488c82614d46565b9050602081019050919050565b600067ffffffffffffffff8211156148b4576148b3614cf9565b5b6148bd82614d46565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061497182614ae5565b915061497c83614ae5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149b1576149b0614c0e565b5b828201905092915050565b60006149c782614ae5565b91506149d283614ae5565b9250826149e2576149e1614c3d565b5b828204905092915050565b60006149f882614ae5565b9150614a0383614ae5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a3c57614a3b614c0e565b5b828202905092915050565b6000614a5282614ae5565b9150614a5d83614ae5565b925082821015614a7057614a6f614c0e565b5b828203905092915050565b6000614a8682614ac5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614b1c578082015181840152602081019050614b01565b83811115614b2b576000848401525b50505050565b60006002820490506001821680614b4957607f821691505b60208210811415614b5d57614b5c614c6c565b5b50919050565b614b6c82614d46565b810181811067ffffffffffffffff82111715614b8b57614b8a614cf9565b5b80604052505050565b6000614b9f82614ae5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bd257614bd1614c0e565b5b600182019050919050565b6000614be882614ae5565b9150614bf383614ae5565b925082614c0357614c02614c3d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d65746164617461203a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d696e74206c696d697420657863656564656400000000000000000000000000600082015250565b7f53616c6520636c6f736500000000000000000000000000000000000000000000600082015250565b7f4e6f7420656e6f756768207265736572766573206c6566740000000000000000600082015250565b7f496e636f7272656374204554482076616c756500000000000000000000000000600082015250565b6153ca81614a7b565b81146153d557600080fd5b50565b6153e181614a8d565b81146153ec57600080fd5b50565b6153f881614a99565b811461540357600080fd5b50565b61540f81614ae5565b811461541a57600080fd5b5056fea26469706673582212203028d34095ed7e830bdb79d765dba122471c27b92b6c927e7f61f5447b39fd1764736f6c63430008070033000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000d529ae9e860000000000000000000000000000000000000000000000000000000000000000270f000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a6179445a66716e31766b644b486253524b6378487a696f716337537537777074517a7857564a474b726e692f00000000000000000000

Deployed Bytecode

0x6080604052600436106102885760003560e01c806395d89b411161015a578063c6682862116100c1578063e757c17d1161007a578063e757c17d146109d6578063e985e9c514610a01578063f2fde38b14610a3e578063f421764814610a67578063f9e2379914610a90578063fe60d12c14610abb57610288565b8063c6682862146108c6578063c87b56dd146108f1578063cbce4c971461092e578063d5abeb0114610957578063da3ef23f14610982578063de7fcb1d146109ab57610288565b8063a22cb46511610113578063a22cb465146107cc578063a945bf80146107f5578063b56565e514610820578063b88d4fde14610849578063ba11ecde14610872578063c62752551461089d57610288565b806395d89b41146106cb5780639abc8320146106f65780639b19251a146107215780639c2ade611461075e578063a0712d6814610787578063a0bcfc7f146107a357610288565b806342842e0e116101fe5780636352211e116101b75780636352211e146105bd5780636f8b44b0146105fa57806370a0823114610623578063715018a6146106605780637d7eee42146106775780638da5cb5b146106a057610288565b806342842e0e1461047e578063438b6300146104a75780634f6ccce7146104e4578063594605ae14610521578063603f4d5214610564578063616cdb1e1461059457610288565b80632324521611610250578063232452161461038657806323394d99146103af57806323b872dd146103d85780632d6e71b6146104015780632f745c591461042a5780633ccfd60b1461046757610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b31461033257806318160ddd1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613c74565b610ae6565b6040516102c191906143bb565b60405180910390f35b3480156102d657600080fd5b506102df610b60565b6040516102ec91906143d6565b60405180910390f35b34801561030157600080fd5b5061031c60048036038101906103179190613d17565b610bf2565b6040516103299190614332565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613bba565b610c77565b005b34801561036757600080fd5b50610370610d8f565b60405161037d9190614758565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a89190613bfa565b610d9c565b005b3480156103bb57600080fd5b506103d660048036038101906103d19190613c47565b610eb4565b005b3480156103e457600080fd5b506103ff60048036038101906103fa9190613aa4565b610f4d565b005b34801561040d57600080fd5b5061042860048036038101906104239190613d17565b610fad565b005b34801561043657600080fd5b50610451600480360381019061044c9190613bba565b611033565b60405161045e9190614758565b60405180910390f35b34801561047357600080fd5b5061047c6110d8565b005b34801561048a57600080fd5b506104a560048036038101906104a09190613aa4565b611167565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613a37565b611187565b6040516104db9190614399565b60405180910390f35b3480156104f057600080fd5b5061050b60048036038101906105069190613d17565b611233565b6040516105189190614758565b60405180910390f35b34801561052d57600080fd5b5061054860048036038101906105439190613a37565b6112a4565b60405161055b97969594939291906147d4565b60405180910390f35b34801561057057600080fd5b50610579611346565b60405161058b96959493929190614773565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b69190613d17565b611394565b005b3480156105c957600080fd5b506105e460048036038101906105df9190613d17565b61141a565b6040516105f19190614332565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c9190613d17565b6114cc565b005b34801561062f57600080fd5b5061064a60048036038101906106459190613a37565b611552565b6040516106579190614758565b60405180910390f35b34801561066c57600080fd5b5061067561160a565b005b34801561068357600080fd5b5061069e60048036038101906106999190613d17565b611692565b005b3480156106ac57600080fd5b506106b5611718565b6040516106c29190614332565b60405180910390f35b3480156106d757600080fd5b506106e0611742565b6040516106ed91906143d6565b60405180910390f35b34801561070257600080fd5b5061070b6117d4565b60405161071891906143d6565b60405180910390f35b34801561072d57600080fd5b5061074860048036038101906107439190613a37565b611862565b60405161075591906143bb565b60405180910390f35b34801561076a57600080fd5b5061078560048036038101906107809190613c47565b611882565b005b6107a1600480360381019061079c9190613d17565b61191b565b005b3480156107af57600080fd5b506107ca60048036038101906107c59190613cce565b611c2c565b005b3480156107d857600080fd5b506107f360048036038101906107ee9190613b7a565b611cc2565b005b34801561080157600080fd5b5061080a611e43565b6040516108179190614758565b60405180910390f35b34801561082c57600080fd5b5061084760048036038101906108429190613bfa565b611e49565b005b34801561085557600080fd5b50610870600480360381019061086b9190613af7565b611f1d565b005b34801561087e57600080fd5b50610887611f7f565b60405161089491906143bb565b60405180910390f35b3480156108a957600080fd5b506108c460048036038101906108bf9190613d17565b611f92565b005b3480156108d257600080fd5b506108db612018565b6040516108e891906143d6565b60405180910390f35b3480156108fd57600080fd5b5061091860048036038101906109139190613d17565b6120a6565b60405161092591906143d6565b60405180910390f35b34801561093a57600080fd5b5061095560048036038101906109509190613bba565b612151565b005b34801561096357600080fd5b5061096c61234e565b6040516109799190614758565b60405180910390f35b34801561098e57600080fd5b506109a960048036038101906109a49190613cce565b612354565b005b3480156109b757600080fd5b506109c06123ea565b6040516109cd9190614758565b60405180910390f35b3480156109e257600080fd5b506109eb6123f0565b6040516109f89190614758565b60405180910390f35b348015610a0d57600080fd5b50610a286004803603810190610a239190613a64565b6123f6565b604051610a3591906143bb565b60405180910390f35b348015610a4a57600080fd5b50610a656004803603810190610a609190613a37565b61248a565b005b348015610a7357600080fd5b50610a8e6004803603810190610a899190613bfa565b612582565b005b348015610a9c57600080fd5b50610aa56126a3565b604051610ab291906143bb565b60405180910390f35b348015610ac757600080fd5b50610ad06126b6565b604051610add9190614758565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b595750610b58826126bc565b5b9050919050565b606060008054610b6f90614b31565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9b90614b31565b8015610be85780601f10610bbd57610100808354040283529160200191610be8565b820191906000526020600020905b815481529060010190602001808311610bcb57829003601f168201915b5050505050905090565b6000610bfd8261279e565b610c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c33906145f8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c828261141a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea90614678565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d1261280a565b73ffffffffffffffffffffffffffffffffffffffff161480610d415750610d4081610d3b61280a565b6123f6565b5b610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7790614538565b60405180910390fd5b610d8a8383612812565b505050565b6000600880549050905090565b610da461280a565b73ffffffffffffffffffffffffffffffffffffffff16610dc2611718565b73ffffffffffffffffffffffffffffffffffffffff1614610e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0f90614618565b60405180910390fd5b60005b82829050811015610eaf5760136000848484818110610e3d57610e3c614cca565b5b9050602002016020810190610e529190613a37565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690558080610ea790614b94565b915050610e1b565b505050565b610ebc61280a565b73ffffffffffffffffffffffffffffffffffffffff16610eda611718565b73ffffffffffffffffffffffffffffffffffffffff1614610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2790614618565b60405180910390fd5b80601260016101000a81548160ff02191690831515021790555050565b610f5e610f5861280a565b826128cb565b610f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9490614698565b60405180910390fd5b610fa88383836129a9565b505050565b610fb561280a565b73ffffffffffffffffffffffffffffffffffffffff16610fd3611718565b73ffffffffffffffffffffffffffffffffffffffff1614611029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102090614618565b60405180910390fd5b8060118190555050565b600061103e83611552565b821061107f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107690614438565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6110e061280a565b73ffffffffffffffffffffffffffffffffffffffff166110fe611718565b73ffffffffffffffffffffffffffffffffffffffff1614611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b90614618565b60405180910390fd5b61116561115f61280a565b47612c05565b565b61118283838360405180602001604052806000815250611f1d565b505050565b6060600061119483611552565b905060008167ffffffffffffffff8111156111b2576111b1614cf9565b5b6040519080825280602002602001820160405280156111e05781602001602082028036833780820191505090505b50905060005b82811015611228576111f88582611033565b82828151811061120b5761120a614cca565b5b6020026020010181815250508061122190614b94565b90506111e6565b508092505050919050565b600061123d610d8f565b821061127e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611275906146b8565b60405180910390fd5b6008828154811061129257611291614cca565b5b90600052602060002001549050919050565b6000806000806000806000600d54600e54600f546112c0610d8f565b601260019054906101000a900460ff16601260009054906101000a900460ff16601360008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169650965096509650965096509650919395979092949650565b600080600080600080600d54600e54600f54611360610d8f565b601260019054906101000a900460ff16601260009054906101000a900460ff16955095509550955095509550909192939495565b61139c61280a565b73ffffffffffffffffffffffffffffffffffffffff166113ba611718565b73ffffffffffffffffffffffffffffffffffffffff1614611410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140790614618565b60405180910390fd5b8060108190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ba906145b8565b60405180910390fd5b80915050919050565b6114d461280a565b73ffffffffffffffffffffffffffffffffffffffff166114f2611718565b73ffffffffffffffffffffffffffffffffffffffff1614611548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153f90614618565b60405180910390fd5b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba90614598565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61161261280a565b73ffffffffffffffffffffffffffffffffffffffff16611630611718565b73ffffffffffffffffffffffffffffffffffffffff1614611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90614618565b60405180910390fd5b6116906000612cb6565b565b61169a61280a565b73ffffffffffffffffffffffffffffffffffffffff166116b8611718565b73ffffffffffffffffffffffffffffffffffffffff161461170e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170590614618565b60405180910390fd5b80600e8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461175190614b31565b80601f016020809104026020016040519081016040528092919081815260200182805461177d90614b31565b80156117ca5780601f1061179f576101008083540402835291602001916117ca565b820191906000526020600020905b8154815290600101906020018083116117ad57829003601f168201915b5050505050905090565b600b80546117e190614b31565b80601f016020809104026020016040519081016040528092919081815260200182805461180d90614b31565b801561185a5780601f1061182f5761010080835404028352916020019161185a565b820191906000526020600020905b81548152906001019060200180831161183d57829003601f168201915b505050505081565b60136020528060005260406000206000915054906101000a900460ff1681565b61188a61280a565b73ffffffffffffffffffffffffffffffffffffffff166118a8611718565b73ffffffffffffffffffffffffffffffffffffffff16146118fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f590614618565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b6000811161195e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195590614558565b60405180910390fd5b611975601154600f54612d7c90919063ffffffff16565b61198f82611981610d8f565b612d9290919063ffffffff16565b11156119d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c7906143f8565b60405180910390fd5b6119d8611718565b73ffffffffffffffffffffffffffffffffffffffff166119f661280a565b73ffffffffffffffffffffffffffffffffffffffff1614611be157601260009054906101000a900460ff1680611a385750601260019054906101000a900460ff165b611a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6e906146f8565b60405180910390fd5b6000600d549050601260009054906101000a900460ff168015611aa75750601260019054906101000a900460ff16155b15611b4557600e54905060136000611abd61280a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3b90614578565b60405180910390fd5b5b601054821115611b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b81906146d8565b60405180910390fd5b34611b9e8383612da890919063ffffffff16565b1115611bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd690614738565b60405180910390fd5b505b60005b81811015611c2857611c17611bf761280a565b611c126001611c04610d8f565b612d9290919063ffffffff16565b612dbe565b80611c2190614b94565b9050611be4565b5050565b611c3461280a565b73ffffffffffffffffffffffffffffffffffffffff16611c52611718565b73ffffffffffffffffffffffffffffffffffffffff1614611ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9f90614618565b60405180910390fd5b80600b9080519060200190611cbe9291906137f5565b5050565b611cca61280a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2f906144f8565b60405180910390fd5b8060056000611d4561280a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611df261280a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e3791906143bb565b60405180910390a35050565b600d5481565b611e5161280a565b73ffffffffffffffffffffffffffffffffffffffff16611e6f611718565b73ffffffffffffffffffffffffffffffffffffffff1614611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90614618565b60405180910390fd5b60005b82829050811015611f1857611f05838383818110611ee957611ee8614cca565b5b9050602002016020810190611efe9190613a37565b6001612151565b8080611f1090614b94565b915050611ec8565b505050565b611f2e611f2861280a565b836128cb565b611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6490614698565b60405180910390fd5b611f7984848484612ddc565b50505050565b601260009054906101000a900460ff1681565b611f9a61280a565b73ffffffffffffffffffffffffffffffffffffffff16611fb8611718565b73ffffffffffffffffffffffffffffffffffffffff161461200e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200590614618565b60405180910390fd5b80600d8190555050565b600c805461202590614b31565b80601f016020809104026020016040519081016040528092919081815260200182805461205190614b31565b801561209e5780601f106120735761010080835404028352916020019161209e565b820191906000526020600020905b81548152906001019060200180831161208157829003601f168201915b505050505081565b60606120b18261279e565b6120f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e790614658565b60405180910390fd5b6000600b80546120ff90614b31565b90501161211b576040518060200160405280600081525061214a565b600b61212683612e38565b600c60405160200161213a939291906142ec565b6040516020818303038152906040525b9050919050565b61215961280a565b73ffffffffffffffffffffffffffffffffffffffff16612177611718565b73ffffffffffffffffffffffffffffffffffffffff16146121cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c490614618565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561223d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223490614418565b60405180910390fd5b60008111801561224f57506011548111155b61228e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228590614718565b60405180910390fd5b600f546122ab8261229d610d8f565b612d9290919063ffffffff16565b11156122ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e3906143f8565b60405180910390fd5b60005b8181101561232e5761231b836123166001612308610d8f565b612d9290919063ffffffff16565b612dbe565b808061232690614b94565b9150506122ef565b5061234481601154612d7c90919063ffffffff16565b6011819055505050565b600f5481565b61235c61280a565b73ffffffffffffffffffffffffffffffffffffffff1661237a611718565b73ffffffffffffffffffffffffffffffffffffffff16146123d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c790614618565b60405180910390fd5b80600c90805190602001906123e69291906137f5565b5050565b60105481565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61249261280a565b73ffffffffffffffffffffffffffffffffffffffff166124b0611718565b73ffffffffffffffffffffffffffffffffffffffff1614612506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fd90614618565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256d90614478565b60405180910390fd5b61257f81612cb6565b50565b61258a61280a565b73ffffffffffffffffffffffffffffffffffffffff166125a8611718565b73ffffffffffffffffffffffffffffffffffffffff16146125fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f590614618565b60405180910390fd5b60005b8282905081101561269e5760016013600085858581811061262557612624614cca565b5b905060200201602081019061263a9190613a37565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061269690614b94565b915050612601565b505050565b601260019054906101000a900460ff1681565b60115481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061278757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612797575061279682612f99565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128858361141a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006128d68261279e565b612915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290c90614518565b60405180910390fd5b60006129208361141a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061298f57508373ffffffffffffffffffffffffffffffffffffffff1661297784610bf2565b73ffffffffffffffffffffffffffffffffffffffff16145b806129a0575061299f81856123f6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129c98261141a565b73ffffffffffffffffffffffffffffffffffffffff1614612a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1690614638565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a86906144d8565b60405180910390fd5b612a9a838383613003565b612aa5600082612812565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612af59190614a47565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b4c9190614966565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612c2b9061431d565b60006040518083038185875af1925050503d8060008114612c68576040519150601f19603f3d011682016040523d82523d6000602084013e612c6d565b606091505b5050905080612cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca8906144b8565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612d8a9190614a47565b905092915050565b60008183612da09190614966565b905092915050565b60008183612db691906149ed565b905092915050565b612dd8828260405180602001604052806000815250613117565b5050565b612de78484846129a9565b612df384848484613172565b612e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2990614458565b60405180910390fd5b50505050565b60606000821415612e80576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f94565b600082905060005b60008214612eb2578080612e9b90614b94565b915050600a82612eab91906149bc565b9150612e88565b60008167ffffffffffffffff811115612ece57612ecd614cf9565b5b6040519080825280601f01601f191660200182016040528015612f005781602001600182028036833780820191505090505b5090505b60008514612f8d57600182612f199190614a47565b9150600a85612f289190614bdd565b6030612f349190614966565b60f81b818381518110612f4a57612f49614cca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f8691906149bc565b9450612f04565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61300e838383613309565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130515761304c8161330e565b613090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461308f5761308e8382613357565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130d3576130ce816134c4565b613112565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613111576131108282613595565b5b5b505050565b6131218383613614565b61312e6000848484613172565b61316d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316490614458565b60405180910390fd5b505050565b60006131938473ffffffffffffffffffffffffffffffffffffffff166137e2565b156132fc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131bc61280a565b8786866040518563ffffffff1660e01b81526004016131de949392919061434d565b602060405180830381600087803b1580156131f857600080fd5b505af192505050801561322957506040513d601f19601f820116820180604052508101906132269190613ca1565b60015b6132ac573d8060008114613259576040519150601f19603f3d011682016040523d82523d6000602084013e61325e565b606091505b506000815114156132a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329b90614458565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613301565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161336484611552565b61336e9190614a47565b9050600060076000848152602001908152602001600020549050818114613453576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134d89190614a47565b905060006009600084815260200190815260200160002054905060006008838154811061350857613507614cca565b5b90600052602060002001549050806008838154811061352a57613529614cca565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061357957613578614c9b565b5b6001900381819060005260206000200160009055905550505050565b60006135a083611552565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367b906145d8565b60405180910390fd5b61368d8161279e565b156136cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136c490614498565b60405180910390fd5b6136d960008383613003565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137299190614966565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461380190614b31565b90600052602060002090601f016020900481019282613823576000855561386a565b82601f1061383c57805160ff191683800117855561386a565b8280016001018555821561386a579182015b8281111561386957825182559160200191906001019061384e565b5b509050613877919061387b565b5090565b5b8082111561389457600081600090555060010161387c565b5090565b60006138ab6138a684614868565b614843565b9050828152602081018484840111156138c7576138c6614d37565b5b6138d2848285614aef565b509392505050565b60006138ed6138e884614899565b614843565b90508281526020810184848401111561390957613908614d37565b5b613914848285614aef565b509392505050565b60008135905061392b816153c1565b92915050565b60008083601f84011261394757613946614d2d565b5b8235905067ffffffffffffffff81111561396457613963614d28565b5b6020830191508360208202830111156139805761397f614d32565b5b9250929050565b600081359050613996816153d8565b92915050565b6000813590506139ab816153ef565b92915050565b6000815190506139c0816153ef565b92915050565b600082601f8301126139db576139da614d2d565b5b81356139eb848260208601613898565b91505092915050565b600082601f830112613a0957613a08614d2d565b5b8135613a198482602086016138da565b91505092915050565b600081359050613a3181615406565b92915050565b600060208284031215613a4d57613a4c614d41565b5b6000613a5b8482850161391c565b91505092915050565b60008060408385031215613a7b57613a7a614d41565b5b6000613a898582860161391c565b9250506020613a9a8582860161391c565b9150509250929050565b600080600060608486031215613abd57613abc614d41565b5b6000613acb8682870161391c565b9350506020613adc8682870161391c565b9250506040613aed86828701613a22565b9150509250925092565b60008060008060808587031215613b1157613b10614d41565b5b6000613b1f8782880161391c565b9450506020613b308782880161391c565b9350506040613b4187828801613a22565b925050606085013567ffffffffffffffff811115613b6257613b61614d3c565b5b613b6e878288016139c6565b91505092959194509250565b60008060408385031215613b9157613b90614d41565b5b6000613b9f8582860161391c565b9250506020613bb085828601613987565b9150509250929050565b60008060408385031215613bd157613bd0614d41565b5b6000613bdf8582860161391c565b9250506020613bf085828601613a22565b9150509250929050565b60008060208385031215613c1157613c10614d41565b5b600083013567ffffffffffffffff811115613c2f57613c2e614d3c565b5b613c3b85828601613931565b92509250509250929050565b600060208284031215613c5d57613c5c614d41565b5b6000613c6b84828501613987565b91505092915050565b600060208284031215613c8a57613c89614d41565b5b6000613c988482850161399c565b91505092915050565b600060208284031215613cb757613cb6614d41565b5b6000613cc5848285016139b1565b91505092915050565b600060208284031215613ce457613ce3614d41565b5b600082013567ffffffffffffffff811115613d0257613d01614d3c565b5b613d0e848285016139f4565b91505092915050565b600060208284031215613d2d57613d2c614d41565b5b6000613d3b84828501613a22565b91505092915050565b6000613d5083836142ce565b60208301905092915050565b613d6581614a7b565b82525050565b6000613d76826148ef565b613d80818561491d565b9350613d8b836148ca565b8060005b83811015613dbc578151613da38882613d44565b9750613dae83614910565b925050600181019050613d8f565b5085935050505092915050565b613dd281614a8d565b82525050565b6000613de3826148fa565b613ded818561492e565b9350613dfd818560208601614afe565b613e0681614d46565b840191505092915050565b6000613e1c82614905565b613e26818561494a565b9350613e36818560208601614afe565b613e3f81614d46565b840191505092915050565b6000613e5582614905565b613e5f818561495b565b9350613e6f818560208601614afe565b80840191505092915050565b60008154613e8881614b31565b613e92818661495b565b94506001821660008114613ead5760018114613ebe57613ef1565b60ff19831686528186019350613ef1565b613ec7856148da565b60005b83811015613ee957815481890152600182019150602081019050613eca565b838801955050505b50505092915050565b6000613f0760138361494a565b9150613f1282614d57565b602082019050919050565b6000613f2a600f8361494a565b9150613f3582614d80565b602082019050919050565b6000613f4d602b8361494a565b9150613f5882614da9565b604082019050919050565b6000613f7060328361494a565b9150613f7b82614df8565b604082019050919050565b6000613f9360268361494a565b9150613f9e82614e47565b604082019050919050565b6000613fb6601c8361494a565b9150613fc182614e96565b602082019050919050565b6000613fd960148361494a565b9150613fe482614ebf565b602082019050919050565b6000613ffc60248361494a565b915061400782614ee8565b604082019050919050565b600061401f60198361494a565b915061402a82614f37565b602082019050919050565b6000614042602c8361494a565b915061404d82614f60565b604082019050919050565b600061406560388361494a565b915061407082614faf565b604082019050919050565b600061408860108361494a565b915061409382614ffe565b602082019050919050565b60006140ab600f8361494a565b91506140b682615027565b602082019050919050565b60006140ce602a8361494a565b91506140d982615050565b604082019050919050565b60006140f160298361494a565b91506140fc8261509f565b604082019050919050565b600061411460208361494a565b915061411f826150ee565b602082019050919050565b6000614137602c8361494a565b915061414282615117565b604082019050919050565b600061415a60208361494a565b915061416582615166565b602082019050919050565b600061417d60298361494a565b91506141888261518f565b604082019050919050565b60006141a060308361494a565b91506141ab826151de565b604082019050919050565b60006141c360218361494a565b91506141ce8261522d565b604082019050919050565b60006141e660008361493f565b91506141f18261527c565b600082019050919050565b600061420960318361494a565b91506142148261527f565b604082019050919050565b600061422c602c8361494a565b9150614237826152ce565b604082019050919050565b600061424f60138361494a565b915061425a8261531d565b602082019050919050565b6000614272600a8361494a565b915061427d82615346565b602082019050919050565b600061429560188361494a565b91506142a08261536f565b602082019050919050565b60006142b860138361494a565b91506142c382615398565b602082019050919050565b6142d781614ae5565b82525050565b6142e681614ae5565b82525050565b60006142f88286613e7b565b91506143048285613e4a565b91506143108284613e7b565b9150819050949350505050565b6000614328826141d9565b9150819050919050565b60006020820190506143476000830184613d5c565b92915050565b60006080820190506143626000830187613d5c565b61436f6020830186613d5c565b61437c60408301856142dd565b818103606083015261438e8184613dd8565b905095945050505050565b600060208201905081810360008301526143b38184613d6b565b905092915050565b60006020820190506143d06000830184613dc9565b92915050565b600060208201905081810360008301526143f08184613e11565b905092915050565b6000602082019050818103600083015261441181613efa565b9050919050565b6000602082019050818103600083015261443181613f1d565b9050919050565b6000602082019050818103600083015261445181613f40565b9050919050565b6000602082019050818103600083015261447181613f63565b9050919050565b6000602082019050818103600083015261449181613f86565b9050919050565b600060208201905081810360008301526144b181613fa9565b9050919050565b600060208201905081810360008301526144d181613fcc565b9050919050565b600060208201905081810360008301526144f181613fef565b9050919050565b6000602082019050818103600083015261451181614012565b9050919050565b6000602082019050818103600083015261453181614035565b9050919050565b6000602082019050818103600083015261455181614058565b9050919050565b600060208201905081810360008301526145718161407b565b9050919050565b600060208201905081810360008301526145918161409e565b9050919050565b600060208201905081810360008301526145b1816140c1565b9050919050565b600060208201905081810360008301526145d1816140e4565b9050919050565b600060208201905081810360008301526145f181614107565b9050919050565b600060208201905081810360008301526146118161412a565b9050919050565b600060208201905081810360008301526146318161414d565b9050919050565b6000602082019050818103600083015261465181614170565b9050919050565b6000602082019050818103600083015261467181614193565b9050919050565b60006020820190508181036000830152614691816141b6565b9050919050565b600060208201905081810360008301526146b1816141fc565b9050919050565b600060208201905081810360008301526146d18161421f565b9050919050565b600060208201905081810360008301526146f181614242565b9050919050565b6000602082019050818103600083015261471181614265565b9050919050565b6000602082019050818103600083015261473181614288565b9050919050565b60006020820190508181036000830152614751816142ab565b9050919050565b600060208201905061476d60008301846142dd565b92915050565b600060c08201905061478860008301896142dd565b61479560208301886142dd565b6147a260408301876142dd565b6147af60608301866142dd565b6147bc6080830185613dc9565b6147c960a0830184613dc9565b979650505050505050565b600060e0820190506147e9600083018a6142dd565b6147f660208301896142dd565b61480360408301886142dd565b61481060608301876142dd565b61481d6080830186613dc9565b61482a60a0830185613dc9565b61483760c0830184613dc9565b98975050505050505050565b600061484d61485e565b90506148598282614b63565b919050565b6000604051905090565b600067ffffffffffffffff82111561488357614882614cf9565b5b61488c82614d46565b9050602081019050919050565b600067ffffffffffffffff8211156148b4576148b3614cf9565b5b6148bd82614d46565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061497182614ae5565b915061497c83614ae5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149b1576149b0614c0e565b5b828201905092915050565b60006149c782614ae5565b91506149d283614ae5565b9250826149e2576149e1614c3d565b5b828204905092915050565b60006149f882614ae5565b9150614a0383614ae5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a3c57614a3b614c0e565b5b828202905092915050565b6000614a5282614ae5565b9150614a5d83614ae5565b925082821015614a7057614a6f614c0e565b5b828203905092915050565b6000614a8682614ac5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614b1c578082015181840152602081019050614b01565b83811115614b2b576000848401525b50505050565b60006002820490506001821680614b4957607f821691505b60208210811415614b5d57614b5c614c6c565b5b50919050565b614b6c82614d46565b810181811067ffffffffffffffff82111715614b8b57614b8a614cf9565b5b80604052505050565b6000614b9f82614ae5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bd257614bd1614c0e565b5b600182019050919050565b6000614be882614ae5565b9150614bf383614ae5565b925082614c0357614c02614c3d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d65746164617461203a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d696e74206c696d697420657863656564656400000000000000000000000000600082015250565b7f53616c6520636c6f736500000000000000000000000000000000000000000000600082015250565b7f4e6f7420656e6f756768207265736572766573206c6566740000000000000000600082015250565b7f496e636f7272656374204554482076616c756500000000000000000000000000600082015250565b6153ca81614a7b565b81146153d557600080fd5b50565b6153e181614a8d565b81146153ec57600080fd5b50565b6153f881614a99565b811461540357600080fd5b50565b61540f81614ae5565b811461541a57600080fd5b5056fea26469706673582212203028d34095ed7e830bdb79d765dba122471c27b92b6c927e7f61f5447b39fd1764736f6c63430008070033

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

000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000d529ae9e860000000000000000000000000000000000000000000000000000000000000000270f000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a6179445a66716e31766b644b486253524b6378487a696f716337537537777074517a7857564a474b726e692f00000000000000000000

-----Decoded View---------------
Arg [0] : _publicPrice (uint256): 80000000000000000
Arg [1] : _preSalePrice (uint256): 60000000000000000
Arg [2] : _maxSupply (uint256): 9999
Arg [3] : _maxMintPerTx (uint256): 20
Arg [4] : _reserved (uint256): 200
Arg [5] : _baseUri (string): ipfs://QmZayDZfqn1vkdKHbSRKcxHzioqc7Su7wptQzxWVJGKrni/

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000011c37937e080000
Arg [1] : 00000000000000000000000000000000000000000000000000d529ae9e860000
Arg [2] : 000000000000000000000000000000000000000000000000000000000000270f
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [7] : 697066733a2f2f516d5a6179445a66716e31766b644b486253524b6378487a69
Arg [8] : 6f716337537537777074517a7857564a474b726e692f00000000000000000000


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

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