ETH Price: $3,399.89 (+1.46%)

Token

Unpersons (UP)
 

Overview

Max Total Supply

5,555 UP

Holders

2,051

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 UP
0x242A6366Dc80eD9f47a7478eDf3045cBb9B7de42
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:
Unpersons

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Unpersons.sol
// SPDX-License-Identifier: MIT
// Sources flattened with hardhat v2.12.1 https://hardhat.org

// File contracts/Utils/Strings.sol

// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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


// File contracts/Utils/Address.sol

// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File contracts/Utils/Context.sol

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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


// File contracts/BaseContracts/IERC165.sol

// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;

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


// File contracts/BaseContracts/ERC165.sol

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;

/**
 * @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 contracts/OperatorFilterRegistry/IOperatorFilterRegistry.sol

pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}


// File contracts/OperatorFilterRegistry/OperatorFilterer721.sol

pragma solidity ^0.8.13;

abstract contract OperatorFilterer721 {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (
                !(
                    operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)
                        && operatorFilterRegistry.isOperatorAllowed(address(this), from)
                )
            ) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}


// File contracts/OperatorFilterRegistry/DefaultOperatorFilterer721.sol

pragma solidity ^0.8.13;

abstract contract DefaultOperatorFilterer721 is OperatorFilterer721 {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer721(DEFAULT_SUBSCRIPTION, true) {}
}


// File contracts/BaseContracts/IERC721/IERC721.sol

// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;

/**
 * @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 contracts/BaseContracts/IERC721/IERC721Metadata.sol

pragma solidity ^0.8.0;

/**
 * @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 contracts/BaseContracts/IERC721/IERC721Receiver.sol

// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol
pragma solidity ^0.8.0;

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


// File contracts/BaseContracts/ERC721A.sol

// Creator: Chiru Labs
pragma solidity ^0.8.4;








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

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

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

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

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

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

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

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

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

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

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

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

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

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

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

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

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


// File contracts/Utils/Ownable.sol

// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


// File contracts/Utils/MerkleProof.sol

// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}


// File contracts/UnpersonsFull.sol

pragma solidity ^0.8.0;




contract Unpersons is ERC721A, Ownable {
    using Strings for uint256;

    string public hiddenMetadataUri="ipfs://QmZLg7pqt5VRQMFksRLcsLRzGCvz3eaBTAyihVswvycy6f/Hidden.json";
    string public baseURI;
    string public baseExtension = ".json";
    bool public preSale = false;
    bool public publicSale = false;
    bool public revealed = false;
    bytes32 public merkleRoot;
    uint256 public maxWhitelist = 3;
    uint256 public maxPublic = 3;
    uint256 public maxSupply = 5555;
    uint256 public freeSupply = 555;
    uint256 public presaleCost = 0.0069 ether;
    uint256 public publicCost = 0.0089 ether;


    constructor(string memory _initBaseURI,bytes32 _merkleRoot) ERC721A("Unpersons", "UP") {
        setBaseURI(_initBaseURI);
        merkleRoot = _merkleRoot;
    }

    // whitelist mint
    function whitelistMint(uint256 quantity, bytes32[] calldata _merkleProof)
        public
        payable
    {
        uint256 supply = totalSupply();
        require(preSale, "The contract is paused!");
        require(quantity > 0, "Quantity Must Be Higher Than Zero");
        require(supply + quantity <= maxSupply, "Max Supply Reached");
        require(
            balanceOf(msg.sender) + quantity <= maxWhitelist,
            "You're not allowed to mint this Much!"
        );
        require(
            quantity <= maxWhitelist,
            "You're Not Allowed To Mint more than maxMint Amount"
        );
        require(msg.value >= presaleCost * quantity, "Not enough ether!");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(
            MerkleProof.verify(_merkleProof, merkleRoot, leaf),
            "Invalid proof!"
        );

        _safeMint(msg.sender, quantity);
    }

    // public mint
    function mint(uint256 quantity, bytes32[] calldata _merkleProof) external payable {
        uint256 supply = totalSupply();
        require(publicSale, "The contract is paused!");
        require(quantity > 0, "Quantity Must Be Higher Than Zero!");
        require(supply + quantity <= maxSupply, "Max Supply Reached!");

        if (msg.sender != owner()) {
            require(
                balanceOf(msg.sender) + quantity <= maxPublic,
                "You're not allowed to mint this Much!"
            );
            require(
                quantity <= maxPublic,
                "You're Not Allowed To Mint more than maxMint Amount"
            );

            // Set WL adddress price to WLprice
            bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
            uint256 cost = publicCost;
            if (MerkleProof.verify(_merkleProof, merkleRoot, leaf)) {
                cost = presaleCost;
            }

            // First peoples get free ones
            if (balanceOf(msg.sender) < 1 && freeSupply >= supply) {
                require(msg.value >= cost * (quantity-1), "Not enough ether!");
            }else{
                require(msg.value >= cost * quantity, "Not enough ether!");
            }
        }
        _safeMint(msg.sender, quantity);
    }

    // internal
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

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

        if (!revealed) {
            return hiddenMetadataUri;
        }

        string memory currentBaseURI = _baseURI();

        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        tokenId.toString(),
                        baseExtension
                    )
                )
                : "";
    }

    function isInWhiteList(bytes32[] calldata _merkleProof) public view returns (bool){
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        return MerkleProof.verify(_merkleProof, merkleRoot, leaf);
    }

    function setMax(uint256 _whitelist, uint256 _public) public onlyOwner {
        maxWhitelist = _whitelist;
        maxPublic = _public;
    }

    function setMaxSupply(uint256 _amount) public onlyOwner {
        maxSupply = _amount;
    }

    function setFreeSupply(uint256 _amount) public onlyOwner {
        freeSupply = _amount;
    }

    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setSale(bool _preSale, bool _publicSale) public onlyOwner {
        preSale = _preSale;
        publicSale = _publicSale;
    }

    function setReveal(bool _state) public onlyOwner {
        revealed = _state;
    }

    function setPrice(uint256 _whitelistCost, uint256 _publicCost) public onlyOwner {
        presaleCost = _whitelistCost;
        publicCost = _publicCost;
    }

    function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
        hiddenMetadataUri = _hiddenMetadataUri;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }
        
    function airdrop(uint256 quantity, address _address) public onlyOwner {
        uint256 supply = totalSupply();
        require(quantity > 0, "Quantity Must Be Higher Than Zero!");
        require(supply + quantity <= maxSupply, "Max Supply Reached!");
        _safeMint(_address, quantity);
    }

    function setBaseExtension(string memory _newBaseExtension)
        public
        onlyOwner
    {
        baseExtension = _newBaseExtension;
    }

    function withdraw() public onlyOwner {
        (bool ts, ) = payable(owner()).call{value: address(this).balance}("");
        require(ts);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"freeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isInWhiteList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"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":"preSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelist","type":"uint256"},{"internalType":"uint256","name":"_public","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelistCost","type":"uint256"},{"internalType":"uint256","name":"_publicCost","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_preSale","type":"bool"},{"internalType":"bool","name":"_publicSale","type":"bool"}],"name":"setSale","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":"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":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180608001604052806041815260200162005f9160419139600990816200002e91906200083b565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b90816200007591906200083b565b506000600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff0219169083151502179055506000600c60026101000a81548160ff0219169083151502179055506003600e556003600f556115b360105561022b6011556618838370f34000601255661f9e80ba8040006013553480156200010057600080fd5b5060405162005fd238038062005fd2833981810160405281019062000126919062000ac1565b6040518060400160405280600981526020017f556e706572736f6e7300000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f5550000000000000000000000000000000000000000000000000000000000000815250733cc6cdda760b79bafa08df41ecfa224f810dceb6600160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200039e57801562000264576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200022a92919062000b6c565b600060405180830381600087803b1580156200024557600080fd5b505af11580156200025a573d6000803e3d6000fd5b505050506200039d565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200031e576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002e492919062000b6c565b600060405180830381600087803b158015620002ff57600080fd5b505af115801562000314573d6000803e3d6000fd5b505050506200039c565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000367919062000b99565b600060405180830381600087803b1580156200038257600080fd5b505af115801562000397573d6000803e3d6000fd5b505050505b5b5b50508160029081620003b191906200083b565b508060039081620003c391906200083b565b50620003d46200041c60201b60201c565b6000819055505050620003fc620003f06200042560201b60201c565b6200042d60201b60201c565b6200040d82620004f360201b60201c565b80600d81905550505062000c39565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620005036200042560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005296200059760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000582576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005799062000c17565b60405180910390fd5b80600a90816200059391906200083b565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200064357607f821691505b602082108103620006595762000658620005fb565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006c37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000684565b620006cf868362000684565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200071c620007166200071084620006e7565b620006f1565b620006e7565b9050919050565b6000819050919050565b6200073883620006fb565b62000750620007478262000723565b84845462000691565b825550505050565b600090565b6200076762000758565b620007748184846200072d565b505050565b5b818110156200079c57620007906000826200075d565b6001810190506200077a565b5050565b601f821115620007eb57620007b5816200065f565b620007c08462000674565b81016020851015620007d0578190505b620007e8620007df8562000674565b83018262000779565b50505b505050565b600082821c905092915050565b60006200081060001984600802620007f0565b1980831691505092915050565b60006200082b8383620007fd565b9150826002028217905092915050565b6200084682620005c1565b67ffffffffffffffff811115620008625762000861620005cc565b5b6200086e82546200062a565b6200087b828285620007a0565b600060209050601f831160018114620008b357600084156200089e578287015190505b620008aa85826200081d565b8655506200091a565b601f198416620008c3866200065f565b60005b82811015620008ed57848901518255600182019150602085019450602081019050620008c6565b868310156200090d578489015162000909601f891682620007fd565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200095c8262000940565b810181811067ffffffffffffffff821117156200097e576200097d620005cc565b5b80604052505050565b60006200099362000922565b9050620009a1828262000951565b919050565b600067ffffffffffffffff821115620009c457620009c3620005cc565b5b620009cf8262000940565b9050602081019050919050565b60005b83811015620009fc578082015181840152602081019050620009df565b60008484015250505050565b600062000a1f62000a1984620009a6565b62000987565b90508281526020810184848401111562000a3e5762000a3d6200093b565b5b62000a4b848285620009dc565b509392505050565b600082601f83011262000a6b5762000a6a62000936565b5b815162000a7d84826020860162000a08565b91505092915050565b6000819050919050565b62000a9b8162000a86565b811462000aa757600080fd5b50565b60008151905062000abb8162000a90565b92915050565b6000806040838503121562000adb5762000ada6200092c565b5b600083015167ffffffffffffffff81111562000afc5762000afb62000931565b5b62000b0a8582860162000a53565b925050602062000b1d8582860162000aaa565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000b548262000b27565b9050919050565b62000b668162000b47565b82525050565b600060408201905062000b83600083018562000b5b565b62000b92602083018462000b5b565b9392505050565b600060208201905062000bb0600083018462000b5b565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000bff60208362000bb6565b915062000c0c8262000bc7565b602082019050919050565b6000602082019050818103600083015262000c328162000bf0565b9050919050565b6153488062000c496000396000f3fe6080604052600436106102725760003560e01c806370a082311161014f578063bc63f02e116100c1578063da3ef23f1161007a578063da3ef23f14610912578063e985e9c51461093b578063ee82e5a014610978578063f2fde38b146109a1578063f676308a146109ca578063f7d97577146109f357610272565b8063bc63f02e1461080f578063bf0d96c314610838578063c668286214610863578063c87b56dd1461088e578063d2cab056146108cb578063d5abeb01146108e757610272565b80638da5cb5b116101135780638da5cb5b1461072057806395d89b411461074b578063a22cb46514610776578063a45ba8e71461079f578063b88d4fde146107ca578063ba41b0c6146107f357610272565b806370a082311461064d578063715018a61461068a5780637cb64759146106a15780637dc42975146106ca5780638693da20146106f557610272565b806333bc1c5c116101e857806351830227116101ac578063518302271461053d57806355f804b3146105685780635a7adf7f146105915780636352211e146105bc5780636c0360eb146105f95780636f8b44b01461062457610272565b806333bc1c5c146104805780633b91ceef146104ab5780633ccfd60b146104d457806342842e0e146104eb5780634fdd43cb1461051457610272565b806323b872dd1161023a57806323b872dd1461037057806324a6ab0c1461039957806327a25f30146103c45780632a23d07d146104015780632a3f300c1461042c5780632eb4a7ab1461045557610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c57806318160ddd14610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190613cb9565b610a1c565b6040516102ab9190613d01565b60405180910390f35b3480156102c057600080fd5b506102c9610afe565b6040516102d69190613dac565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190613e04565b610b90565b6040516103139190613e72565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190613eb9565b610c0c565b005b34801561035157600080fd5b5061035a610d16565b6040516103679190613f08565b60405180910390f35b34801561037c57600080fd5b5061039760048036038101906103929190613f23565b610d2d565b005b3480156103a557600080fd5b506103ae610f0f565b6040516103bb9190613f08565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190613fdb565b610f15565b6040516103f89190613d01565b60405180910390f35b34801561040d57600080fd5b50610416610f98565b6040516104239190613f08565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e9190614054565b610f9e565b005b34801561046157600080fd5b5061046a611037565b604051610477919061409a565b60405180910390f35b34801561048c57600080fd5b5061049561103d565b6040516104a29190613d01565b60405180910390f35b3480156104b757600080fd5b506104d260048036038101906104cd91906140b5565b611050565b005b3480156104e057600080fd5b506104e96110de565b005b3480156104f757600080fd5b50610512600480360381019061050d9190613f23565b6111da565b005b34801561052057600080fd5b5061053b60048036038101906105369190614225565b6113dc565b005b34801561054957600080fd5b5061055261146b565b60405161055f9190613d01565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a9190614225565b61147e565b005b34801561059d57600080fd5b506105a661150d565b6040516105b39190613d01565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de9190613e04565b611520565b6040516105f09190613e72565b60405180910390f35b34801561060557600080fd5b5061060e611536565b60405161061b9190613dac565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190613e04565b6115c4565b005b34801561065957600080fd5b50610674600480360381019061066f919061426e565b61164a565b6040516106819190613f08565b60405180910390f35b34801561069657600080fd5b5061069f611719565b005b3480156106ad57600080fd5b506106c860048036038101906106c391906142c7565b6117a1565b005b3480156106d657600080fd5b506106df611827565b6040516106ec9190613f08565b60405180910390f35b34801561070157600080fd5b5061070a61182d565b6040516107179190613f08565b60405180910390f35b34801561072c57600080fd5b50610735611833565b6040516107429190613e72565b60405180910390f35b34801561075757600080fd5b5061076061185d565b60405161076d9190613dac565b60405180910390f35b34801561078257600080fd5b5061079d600480360381019061079891906142f4565b6118ef565b005b3480156107ab57600080fd5b506107b4611a66565b6040516107c19190613dac565b60405180910390f35b3480156107d657600080fd5b506107f160048036038101906107ec91906143d5565b611af4565b005b61080d60048036038101906108089190614458565b611dad565b005b34801561081b57600080fd5b50610836600480360381019061083191906144b8565b6120dd565b005b34801561084457600080fd5b5061084d612207565b60405161085a9190613f08565b60405180910390f35b34801561086f57600080fd5b5061087861220d565b6040516108859190613dac565b60405180910390f35b34801561089a57600080fd5b506108b560048036038101906108b09190613e04565b61229b565b6040516108c29190613dac565b60405180910390f35b6108e560048036038101906108e09190614458565b6123ec565b005b3480156108f357600080fd5b506108fc612690565b6040516109099190613f08565b60405180910390f35b34801561091e57600080fd5b5061093960048036038101906109349190614225565b612696565b005b34801561094757600080fd5b50610962600480360381019061095d91906144f8565b612725565b60405161096f9190613d01565b60405180910390f35b34801561098457600080fd5b5061099f600480360381019061099a9190614538565b6127b9565b005b3480156109ad57600080fd5b506109c860048036038101906109c3919061426e565b61286d565b005b3480156109d657600080fd5b506109f160048036038101906109ec9190613e04565b612964565b005b3480156109ff57600080fd5b50610a1a6004803603810190610a1591906140b5565b6129ea565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af75750610af682612a78565b5b9050919050565b606060028054610b0d906145a7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b39906145a7565b8015610b865780601f10610b5b57610100808354040283529160200191610b86565b820191906000526020600020905b815481529060010190602001808311610b6957829003601f168201915b5050505050905090565b6000610b9b82612ae2565b610bd1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1782611520565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c7e576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c9d612b30565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ccf5750610ccd81610cc8612b30565b612725565b155b15610d06576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d11838383612b38565b505050565b6000610d20612bea565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610efd573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d9f57610d9a848484612bf3565b610f09565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610de89291906145d8565b602060405180830381865afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190614616565b8015610ebb57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610e799291906145d8565b602060405180830381865afa158015610e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eba9190614616565b5b610efc57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610ef39190613e72565b60405180910390fd5b5b610f08848484612bf3565b5b50505050565b60115481565b60008033604051602001610f29919061468b565b604051602081830303815290604052805190602001209050610f8f848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54836130a7565b91505092915050565b60125481565b610fa6612b30565b73ffffffffffffffffffffffffffffffffffffffff16610fc4611833565b73ffffffffffffffffffffffffffffffffffffffff161461101a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611011906146f2565b60405180910390fd5b80600c60026101000a81548160ff02191690831515021790555050565b600d5481565b600c60019054906101000a900460ff1681565b611058612b30565b73ffffffffffffffffffffffffffffffffffffffff16611076611833565b73ffffffffffffffffffffffffffffffffffffffff16146110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c3906146f2565b60405180910390fd5b81600e8190555080600f819055505050565b6110e6612b30565b73ffffffffffffffffffffffffffffffffffffffff16611104611833565b73ffffffffffffffffffffffffffffffffffffffff161461115a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611151906146f2565b60405180910390fd5b6000611164611833565b73ffffffffffffffffffffffffffffffffffffffff164760405161118790614743565b60006040518083038185875af1925050503d80600081146111c4576040519150601f19603f3d011682016040523d82523d6000602084013e6111c9565b606091505b50509050806111d757600080fd5b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156113ba573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361125c5761125784848460405180602001604052806000815250611af4565b6113d6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112a59291906145d8565b602060405180830381865afa1580156112c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e69190614616565b801561137857506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016113369291906145d8565b602060405180830381865afa158015611353573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113779190614616565b5b6113b957336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016113b09190613e72565b60405180910390fd5b5b6113d584848460405180602001604052806000815250611af4565b5b50505050565b6113e4612b30565b73ffffffffffffffffffffffffffffffffffffffff16611402611833565b73ffffffffffffffffffffffffffffffffffffffff1614611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f906146f2565b60405180910390fd5b80600990816114679190614904565b5050565b600c60029054906101000a900460ff1681565b611486612b30565b73ffffffffffffffffffffffffffffffffffffffff166114a4611833565b73ffffffffffffffffffffffffffffffffffffffff16146114fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f1906146f2565b60405180910390fd5b80600a90816115099190614904565b5050565b600c60009054906101000a900460ff1681565b600061152b826130be565b600001519050919050565b600a8054611543906145a7565b80601f016020809104026020016040519081016040528092919081815260200182805461156f906145a7565b80156115bc5780601f10611591576101008083540402835291602001916115bc565b820191906000526020600020905b81548152906001019060200180831161159f57829003601f168201915b505050505081565b6115cc612b30565b73ffffffffffffffffffffffffffffffffffffffff166115ea611833565b73ffffffffffffffffffffffffffffffffffffffff1614611640576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611637906146f2565b60405180910390fd5b8060108190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116b1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611721612b30565b73ffffffffffffffffffffffffffffffffffffffff1661173f611833565b73ffffffffffffffffffffffffffffffffffffffff1614611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c906146f2565b60405180910390fd5b61179f600061334d565b565b6117a9612b30565b73ffffffffffffffffffffffffffffffffffffffff166117c7611833565b73ffffffffffffffffffffffffffffffffffffffff161461181d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611814906146f2565b60405180910390fd5b80600d8190555050565b600f5481565b60135481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461186c906145a7565b80601f0160208091040260200160405190810160405280929190818152602001828054611898906145a7565b80156118e55780601f106118ba576101008083540402835291602001916118e5565b820191906000526020600020905b8154815290600101906020018083116118c857829003601f168201915b5050505050905090565b6118f7612b30565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361195b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611968612b30565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a15612b30565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a5a9190613d01565b60405180910390a35050565b60098054611a73906145a7565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9f906145a7565b8015611aec5780601f10611ac157610100808354040283529160200191611aec565b820191906000526020600020905b815481529060010190602001808311611acf57829003601f168201915b505050505081565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d2f573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bd157611b61858585612bf3565b611b808473ffffffffffffffffffffffffffffffffffffffff16613413565b8015611b955750611b9385858585613436565b155b15611bcc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611da6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611c1a9291906145d8565b602060405180830381865afa158015611c37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5b9190614616565b8015611ced57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611cab9291906145d8565b602060405180830381865afa158015611cc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cec9190614616565b5b611d2e57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d259190613e72565b60405180910390fd5b5b611d3a858585612bf3565b611d598473ffffffffffffffffffffffffffffffffffffffff16613413565b8015611d6e5750611d6c85858585613436565b155b15611da5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5050505050565b6000611db7610d16565b9050600c60019054906101000a900460ff16611e08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dff90614a22565b60405180910390fd5b60008411611e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4290614ab4565b60405180910390fd5b6010548482611e5a9190614b03565b1115611e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9290614b83565b60405180910390fd5b611ea3611833565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120cd57600f5484611ee23361164a565b611eec9190614b03565b1115611f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2490614c15565b60405180910390fd5b600f54841115611f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6990614ca7565b60405180910390fd5b600033604051602001611f85919061468b565b60405160208183030381529060405280519060200120905060006013549050611ff2858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54846130a7565b15611ffd5760125490505b60016120083361164a565b10801561201757508260115410155b1561207b576001866120299190614cc7565b816120349190614cfb565b341015612076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206d90614d89565b60405180910390fd5b6120ca565b85816120879190614cfb565b3410156120c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c090614d89565b60405180910390fd5b5b50505b6120d73385613586565b50505050565b6120e5612b30565b73ffffffffffffffffffffffffffffffffffffffff16612103611833565b73ffffffffffffffffffffffffffffffffffffffff1614612159576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612150906146f2565b60405180910390fd5b6000612163610d16565b9050600083116121a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219f90614ab4565b60405180910390fd5b60105483826121b79190614b03565b11156121f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ef90614b83565b60405180910390fd5b6122028284613586565b505050565b600e5481565b600b805461221a906145a7565b80601f0160208091040260200160405190810160405280929190818152602001828054612246906145a7565b80156122935780601f1061226857610100808354040283529160200191612293565b820191906000526020600020905b81548152906001019060200180831161227657829003601f168201915b505050505081565b60606122a682612ae2565b6122e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122dc90614e1b565b60405180910390fd5b600c60029054906101000a900460ff1661238b5760098054612306906145a7565b80601f0160208091040260200160405190810160405280929190818152602001828054612332906145a7565b801561237f5780601f106123545761010080835404028352916020019161237f565b820191906000526020600020905b81548152906001019060200180831161236257829003601f168201915b505050505090506123e7565b60006123956135a4565b905060008151116123b557604051806020016040528060008152506123e3565b806123bf84613636565b600b6040516020016123d393929190614efa565b6040516020818303038152906040525b9150505b919050565b60006123f6610d16565b9050600c60009054906101000a900460ff16612447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e90614a22565b60405180910390fd5b6000841161248a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248190614f9d565b60405180910390fd5b60105484826124999190614b03565b11156124da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d190615009565b60405180910390fd5b600e54846124e73361164a565b6124f19190614b03565b1115612532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252990614c15565b60405180910390fd5b600e54841115612577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256e90614ca7565b60405180910390fd5b836012546125859190614cfb565b3410156125c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125be90614d89565b60405180910390fd5b6000336040516020016125da919061468b565b604051602081830303815290604052805190602001209050612640848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54836130a7565b61267f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267690615075565b60405180910390fd5b6126893386613586565b5050505050565b60105481565b61269e612b30565b73ffffffffffffffffffffffffffffffffffffffff166126bc611833565b73ffffffffffffffffffffffffffffffffffffffff1614612712576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612709906146f2565b60405180910390fd5b80600b90816127219190614904565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6127c1612b30565b73ffffffffffffffffffffffffffffffffffffffff166127df611833565b73ffffffffffffffffffffffffffffffffffffffff1614612835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282c906146f2565b60405180910390fd5b81600c60006101000a81548160ff02191690831515021790555080600c60016101000a81548160ff0219169083151502179055505050565b612875612b30565b73ffffffffffffffffffffffffffffffffffffffff16612893611833565b73ffffffffffffffffffffffffffffffffffffffff16146128e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e0906146f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294f90615107565b60405180910390fd5b6129618161334d565b50565b61296c612b30565b73ffffffffffffffffffffffffffffffffffffffff1661298a611833565b73ffffffffffffffffffffffffffffffffffffffff16146129e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d7906146f2565b60405180910390fd5b8060118190555050565b6129f2612b30565b73ffffffffffffffffffffffffffffffffffffffff16612a10611833565b73ffffffffffffffffffffffffffffffffffffffff1614612a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5d906146f2565b60405180910390fd5b81601281905550806013819055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612aed612bea565b11158015612afc575060005482105b8015612b29575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612bfe826130be565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c69576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612c8a612b30565b73ffffffffffffffffffffffffffffffffffffffff161480612cb95750612cb885612cb3612b30565b612725565b5b80612cfe5750612cc7612b30565b73ffffffffffffffffffffffffffffffffffffffff16612ce684610b90565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612d37576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d9d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612daa8585856001613796565b612db660008487612b38565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361303557600054821461303457878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130a0858585600161379c565b5050505050565b6000826130b485846137a2565b1490509392505050565b6130c6613c0a565b6000829050806130d4612bea565b111580156130e3575060005481105b15613316576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161331457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146131f8578092505050613348565b5b60011561331357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461330e578092505050613348565b6131f9565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261345c612b30565b8786866040518563ffffffff1660e01b815260040161347e949392919061517c565b6020604051808303816000875af19250505080156134ba57506040513d601f19601f820116820180604052508101906134b791906151dd565b60015b613533573d80600081146134ea576040519150601f19603f3d011682016040523d82523d6000602084013e6134ef565b606091505b50600081510361352b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6135a0828260405180602001604052806000815250613817565b5050565b6060600a80546135b3906145a7565b80601f01602080910402602001604051908101604052809291908181526020018280546135df906145a7565b801561362c5780601f106136015761010080835404028352916020019161362c565b820191906000526020600020905b81548152906001019060200180831161360f57829003601f168201915b5050505050905090565b60606000820361367d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613791565b600082905060005b600082146136af5780806136989061520a565b915050600a826136a89190615281565b9150613685565b60008167ffffffffffffffff8111156136cb576136ca6140fa565b5b6040519080825280601f01601f1916602001820160405280156136fd5781602001600182028036833780820191505090505b5090505b6000851461378a576001826137169190614cc7565b9150600a8561372591906152b2565b60306137319190614b03565b60f81b818381518110613747576137466152e3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137839190615281565b9450613701565b8093505050505b919050565b50505050565b50505050565b60008082905060005b845181101561380c5760008582815181106137c9576137c86152e3565b5b602002602001015190508083116137eb576137e48382613829565b92506137f8565b6137f58184613829565b92505b5080806138049061520a565b9150506137ab565b508091505092915050565b6138248383836001613840565b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036138ac576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036138e6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6138f36000868387613796565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613abd5750613abc8773ffffffffffffffffffffffffffffffffffffffff16613413565b5b15613b82575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613b326000888480600101955088613436565b613b68576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808203613ac3578260005414613b7d57600080fd5b613bed565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203613b83575b816000819055505050613c03600086838761379c565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c9681613c61565b8114613ca157600080fd5b50565b600081359050613cb381613c8d565b92915050565b600060208284031215613ccf57613cce613c57565b5b6000613cdd84828501613ca4565b91505092915050565b60008115159050919050565b613cfb81613ce6565b82525050565b6000602082019050613d166000830184613cf2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613d56578082015181840152602081019050613d3b565b60008484015250505050565b6000601f19601f8301169050919050565b6000613d7e82613d1c565b613d888185613d27565b9350613d98818560208601613d38565b613da181613d62565b840191505092915050565b60006020820190508181036000830152613dc68184613d73565b905092915050565b6000819050919050565b613de181613dce565b8114613dec57600080fd5b50565b600081359050613dfe81613dd8565b92915050565b600060208284031215613e1a57613e19613c57565b5b6000613e2884828501613def565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e5c82613e31565b9050919050565b613e6c81613e51565b82525050565b6000602082019050613e876000830184613e63565b92915050565b613e9681613e51565b8114613ea157600080fd5b50565b600081359050613eb381613e8d565b92915050565b60008060408385031215613ed057613ecf613c57565b5b6000613ede85828601613ea4565b9250506020613eef85828601613def565b9150509250929050565b613f0281613dce565b82525050565b6000602082019050613f1d6000830184613ef9565b92915050565b600080600060608486031215613f3c57613f3b613c57565b5b6000613f4a86828701613ea4565b9350506020613f5b86828701613ea4565b9250506040613f6c86828701613def565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613f9b57613f9a613f76565b5b8235905067ffffffffffffffff811115613fb857613fb7613f7b565b5b602083019150836020820283011115613fd457613fd3613f80565b5b9250929050565b60008060208385031215613ff257613ff1613c57565b5b600083013567ffffffffffffffff8111156140105761400f613c5c565b5b61401c85828601613f85565b92509250509250929050565b61403181613ce6565b811461403c57600080fd5b50565b60008135905061404e81614028565b92915050565b60006020828403121561406a57614069613c57565b5b60006140788482850161403f565b91505092915050565b6000819050919050565b61409481614081565b82525050565b60006020820190506140af600083018461408b565b92915050565b600080604083850312156140cc576140cb613c57565b5b60006140da85828601613def565b92505060206140eb85828601613def565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61413282613d62565b810181811067ffffffffffffffff82111715614151576141506140fa565b5b80604052505050565b6000614164613c4d565b90506141708282614129565b919050565b600067ffffffffffffffff8211156141905761418f6140fa565b5b61419982613d62565b9050602081019050919050565b82818337600083830152505050565b60006141c86141c384614175565b61415a565b9050828152602081018484840111156141e4576141e36140f5565b5b6141ef8482856141a6565b509392505050565b600082601f83011261420c5761420b613f76565b5b813561421c8482602086016141b5565b91505092915050565b60006020828403121561423b5761423a613c57565b5b600082013567ffffffffffffffff81111561425957614258613c5c565b5b614265848285016141f7565b91505092915050565b60006020828403121561428457614283613c57565b5b600061429284828501613ea4565b91505092915050565b6142a481614081565b81146142af57600080fd5b50565b6000813590506142c18161429b565b92915050565b6000602082840312156142dd576142dc613c57565b5b60006142eb848285016142b2565b91505092915050565b6000806040838503121561430b5761430a613c57565b5b600061431985828601613ea4565b925050602061432a8582860161403f565b9150509250929050565b600067ffffffffffffffff82111561434f5761434e6140fa565b5b61435882613d62565b9050602081019050919050565b600061437861437384614334565b61415a565b905082815260208101848484011115614394576143936140f5565b5b61439f8482856141a6565b509392505050565b600082601f8301126143bc576143bb613f76565b5b81356143cc848260208601614365565b91505092915050565b600080600080608085870312156143ef576143ee613c57565b5b60006143fd87828801613ea4565b945050602061440e87828801613ea4565b935050604061441f87828801613def565b925050606085013567ffffffffffffffff8111156144405761443f613c5c565b5b61444c878288016143a7565b91505092959194509250565b60008060006040848603121561447157614470613c57565b5b600061447f86828701613def565b935050602084013567ffffffffffffffff8111156144a05761449f613c5c565b5b6144ac86828701613f85565b92509250509250925092565b600080604083850312156144cf576144ce613c57565b5b60006144dd85828601613def565b92505060206144ee85828601613ea4565b9150509250929050565b6000806040838503121561450f5761450e613c57565b5b600061451d85828601613ea4565b925050602061452e85828601613ea4565b9150509250929050565b6000806040838503121561454f5761454e613c57565b5b600061455d8582860161403f565b925050602061456e8582860161403f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145bf57607f821691505b6020821081036145d2576145d1614578565b5b50919050565b60006040820190506145ed6000830185613e63565b6145fa6020830184613e63565b9392505050565b60008151905061461081614028565b92915050565b60006020828403121561462c5761462b613c57565b5b600061463a84828501614601565b91505092915050565b60008160601b9050919050565b600061465b82614643565b9050919050565b600061466d82614650565b9050919050565b61468561468082613e51565b614662565b82525050565b60006146978284614674565b60148201915081905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006146dc602083613d27565b91506146e7826146a6565b602082019050919050565b6000602082019050818103600083015261470b816146cf565b9050919050565b600081905092915050565b50565b600061472d600083614712565b91506147388261471d565b600082019050919050565b600061474e82614720565b9150819050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026147ba7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261477d565b6147c4868361477d565b95508019841693508086168417925050509392505050565b6000819050919050565b60006148016147fc6147f784613dce565b6147dc565b613dce565b9050919050565b6000819050919050565b61481b836147e6565b61482f61482782614808565b84845461478a565b825550505050565b600090565b614844614837565b61484f818484614812565b505050565b5b818110156148735761486860008261483c565b600181019050614855565b5050565b601f8211156148b85761488981614758565b6148928461476d565b810160208510156148a1578190505b6148b56148ad8561476d565b830182614854565b50505b505050565b600082821c905092915050565b60006148db600019846008026148bd565b1980831691505092915050565b60006148f483836148ca565b9150826002028217905092915050565b61490d82613d1c565b67ffffffffffffffff811115614926576149256140fa565b5b61493082546145a7565b61493b828285614877565b600060209050601f83116001811461496e576000841561495c578287015190505b61496685826148e8565b8655506149ce565b601f19841661497c86614758565b60005b828110156149a45784890151825560018201915060208501945060208101905061497f565b868310156149c157848901516149bd601f8916826148ca565b8355505b6001600288020188555050505b505050505050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000614a0c601783613d27565b9150614a17826149d6565b602082019050919050565b60006020820190508181036000830152614a3b816149ff565b9050919050565b7f5175616e74697479204d75737420426520486967686572205468616e205a657260008201527f6f21000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a9e602283613d27565b9150614aa982614a42565b604082019050919050565b60006020820190508181036000830152614acd81614a91565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b0e82613dce565b9150614b1983613dce565b9250828201905080821115614b3157614b30614ad4565b5b92915050565b7f4d617820537570706c7920526561636865642100000000000000000000000000600082015250565b6000614b6d601383613d27565b9150614b7882614b37565b602082019050919050565b60006020820190508181036000830152614b9c81614b60565b9050919050565b7f596f75277265206e6f7420616c6c6f77656420746f206d696e7420746869732060008201527f4d75636821000000000000000000000000000000000000000000000000000000602082015250565b6000614bff602583613d27565b9150614c0a82614ba3565b604082019050919050565b60006020820190508181036000830152614c2e81614bf2565b9050919050565b7f596f75277265204e6f7420416c6c6f77656420546f204d696e74206d6f72652060008201527f7468616e206d61784d696e7420416d6f756e7400000000000000000000000000602082015250565b6000614c91603383613d27565b9150614c9c82614c35565b604082019050919050565b60006020820190508181036000830152614cc081614c84565b9050919050565b6000614cd282613dce565b9150614cdd83613dce565b9250828203905081811115614cf557614cf4614ad4565b5b92915050565b6000614d0682613dce565b9150614d1183613dce565b9250828202614d1f81613dce565b91508282048414831517614d3657614d35614ad4565b5b5092915050565b7f4e6f7420656e6f75676820657468657221000000000000000000000000000000600082015250565b6000614d73601183613d27565b9150614d7e82614d3d565b602082019050919050565b60006020820190508181036000830152614da281614d66565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614e05602f83613d27565b9150614e1082614da9565b604082019050919050565b60006020820190508181036000830152614e3481614df8565b9050919050565b600081905092915050565b6000614e5182613d1c565b614e5b8185614e3b565b9350614e6b818560208601613d38565b80840191505092915050565b60008154614e84816145a7565b614e8e8186614e3b565b94506001821660008114614ea95760018114614ebe57614ef1565b60ff1983168652811515820286019350614ef1565b614ec785614758565b60005b83811015614ee957815481890152600182019150602081019050614eca565b838801955050505b50505092915050565b6000614f068286614e46565b9150614f128285614e46565b9150614f1e8284614e77565b9150819050949350505050565b7f5175616e74697479204d75737420426520486967686572205468616e205a657260008201527f6f00000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f87602183613d27565b9150614f9282614f2b565b604082019050919050565b60006020820190508181036000830152614fb681614f7a565b9050919050565b7f4d617820537570706c7920526561636865640000000000000000000000000000600082015250565b6000614ff3601283613d27565b9150614ffe82614fbd565b602082019050919050565b6000602082019050818103600083015261502281614fe6565b9050919050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b600061505f600e83613d27565b915061506a82615029565b602082019050919050565b6000602082019050818103600083015261508e81615052565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006150f1602683613d27565b91506150fc82615095565b604082019050919050565b60006020820190508181036000830152615120816150e4565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061514e82615127565b6151588185615132565b9350615168818560208601613d38565b61517181613d62565b840191505092915050565b60006080820190506151916000830187613e63565b61519e6020830186613e63565b6151ab6040830185613ef9565b81810360608301526151bd8184615143565b905095945050505050565b6000815190506151d781613c8d565b92915050565b6000602082840312156151f3576151f2613c57565b5b6000615201848285016151c8565b91505092915050565b600061521582613dce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361524757615246614ad4565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061528c82613dce565b915061529783613dce565b9250826152a7576152a6615252565b5b828204905092915050565b60006152bd82613dce565b91506152c883613dce565b9250826152d8576152d7615252565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220bf2951703d67a72bbbd2d5e2d3c41d4fb2ff9625d1ce21ae3eefe05a77b65ad664736f6c63430008110033697066733a2f2f516d5a4c6737707174355652514d466b73524c63734c527a4743767a3365614254417969685673777679637936662f48696464656e2e6a736f6e0000000000000000000000000000000000000000000000000000000000000040f2dc0b6fc28f15b28f466f02b058037b06cb436892853bdbd67c00e73d8135550000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d65394235386b686a78584c55564c624b667a765570664c57536b57616f48695a6f78724d653378766f3768452f00000000000000000000

Deployed Bytecode

0x6080604052600436106102725760003560e01c806370a082311161014f578063bc63f02e116100c1578063da3ef23f1161007a578063da3ef23f14610912578063e985e9c51461093b578063ee82e5a014610978578063f2fde38b146109a1578063f676308a146109ca578063f7d97577146109f357610272565b8063bc63f02e1461080f578063bf0d96c314610838578063c668286214610863578063c87b56dd1461088e578063d2cab056146108cb578063d5abeb01146108e757610272565b80638da5cb5b116101135780638da5cb5b1461072057806395d89b411461074b578063a22cb46514610776578063a45ba8e71461079f578063b88d4fde146107ca578063ba41b0c6146107f357610272565b806370a082311461064d578063715018a61461068a5780637cb64759146106a15780637dc42975146106ca5780638693da20146106f557610272565b806333bc1c5c116101e857806351830227116101ac578063518302271461053d57806355f804b3146105685780635a7adf7f146105915780636352211e146105bc5780636c0360eb146105f95780636f8b44b01461062457610272565b806333bc1c5c146104805780633b91ceef146104ab5780633ccfd60b146104d457806342842e0e146104eb5780634fdd43cb1461051457610272565b806323b872dd1161023a57806323b872dd1461037057806324a6ab0c1461039957806327a25f30146103c45780632a23d07d146104015780632a3f300c1461042c5780632eb4a7ab1461045557610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c57806318160ddd14610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190613cb9565b610a1c565b6040516102ab9190613d01565b60405180910390f35b3480156102c057600080fd5b506102c9610afe565b6040516102d69190613dac565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190613e04565b610b90565b6040516103139190613e72565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190613eb9565b610c0c565b005b34801561035157600080fd5b5061035a610d16565b6040516103679190613f08565b60405180910390f35b34801561037c57600080fd5b5061039760048036038101906103929190613f23565b610d2d565b005b3480156103a557600080fd5b506103ae610f0f565b6040516103bb9190613f08565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190613fdb565b610f15565b6040516103f89190613d01565b60405180910390f35b34801561040d57600080fd5b50610416610f98565b6040516104239190613f08565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e9190614054565b610f9e565b005b34801561046157600080fd5b5061046a611037565b604051610477919061409a565b60405180910390f35b34801561048c57600080fd5b5061049561103d565b6040516104a29190613d01565b60405180910390f35b3480156104b757600080fd5b506104d260048036038101906104cd91906140b5565b611050565b005b3480156104e057600080fd5b506104e96110de565b005b3480156104f757600080fd5b50610512600480360381019061050d9190613f23565b6111da565b005b34801561052057600080fd5b5061053b60048036038101906105369190614225565b6113dc565b005b34801561054957600080fd5b5061055261146b565b60405161055f9190613d01565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a9190614225565b61147e565b005b34801561059d57600080fd5b506105a661150d565b6040516105b39190613d01565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de9190613e04565b611520565b6040516105f09190613e72565b60405180910390f35b34801561060557600080fd5b5061060e611536565b60405161061b9190613dac565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190613e04565b6115c4565b005b34801561065957600080fd5b50610674600480360381019061066f919061426e565b61164a565b6040516106819190613f08565b60405180910390f35b34801561069657600080fd5b5061069f611719565b005b3480156106ad57600080fd5b506106c860048036038101906106c391906142c7565b6117a1565b005b3480156106d657600080fd5b506106df611827565b6040516106ec9190613f08565b60405180910390f35b34801561070157600080fd5b5061070a61182d565b6040516107179190613f08565b60405180910390f35b34801561072c57600080fd5b50610735611833565b6040516107429190613e72565b60405180910390f35b34801561075757600080fd5b5061076061185d565b60405161076d9190613dac565b60405180910390f35b34801561078257600080fd5b5061079d600480360381019061079891906142f4565b6118ef565b005b3480156107ab57600080fd5b506107b4611a66565b6040516107c19190613dac565b60405180910390f35b3480156107d657600080fd5b506107f160048036038101906107ec91906143d5565b611af4565b005b61080d60048036038101906108089190614458565b611dad565b005b34801561081b57600080fd5b50610836600480360381019061083191906144b8565b6120dd565b005b34801561084457600080fd5b5061084d612207565b60405161085a9190613f08565b60405180910390f35b34801561086f57600080fd5b5061087861220d565b6040516108859190613dac565b60405180910390f35b34801561089a57600080fd5b506108b560048036038101906108b09190613e04565b61229b565b6040516108c29190613dac565b60405180910390f35b6108e560048036038101906108e09190614458565b6123ec565b005b3480156108f357600080fd5b506108fc612690565b6040516109099190613f08565b60405180910390f35b34801561091e57600080fd5b5061093960048036038101906109349190614225565b612696565b005b34801561094757600080fd5b50610962600480360381019061095d91906144f8565b612725565b60405161096f9190613d01565b60405180910390f35b34801561098457600080fd5b5061099f600480360381019061099a9190614538565b6127b9565b005b3480156109ad57600080fd5b506109c860048036038101906109c3919061426e565b61286d565b005b3480156109d657600080fd5b506109f160048036038101906109ec9190613e04565b612964565b005b3480156109ff57600080fd5b50610a1a6004803603810190610a1591906140b5565b6129ea565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af75750610af682612a78565b5b9050919050565b606060028054610b0d906145a7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b39906145a7565b8015610b865780601f10610b5b57610100808354040283529160200191610b86565b820191906000526020600020905b815481529060010190602001808311610b6957829003601f168201915b5050505050905090565b6000610b9b82612ae2565b610bd1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1782611520565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c7e576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c9d612b30565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ccf5750610ccd81610cc8612b30565b612725565b155b15610d06576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d11838383612b38565b505050565b6000610d20612bea565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610efd573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d9f57610d9a848484612bf3565b610f09565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610de89291906145d8565b602060405180830381865afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190614616565b8015610ebb57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610e799291906145d8565b602060405180830381865afa158015610e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eba9190614616565b5b610efc57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610ef39190613e72565b60405180910390fd5b5b610f08848484612bf3565b5b50505050565b60115481565b60008033604051602001610f29919061468b565b604051602081830303815290604052805190602001209050610f8f848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54836130a7565b91505092915050565b60125481565b610fa6612b30565b73ffffffffffffffffffffffffffffffffffffffff16610fc4611833565b73ffffffffffffffffffffffffffffffffffffffff161461101a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611011906146f2565b60405180910390fd5b80600c60026101000a81548160ff02191690831515021790555050565b600d5481565b600c60019054906101000a900460ff1681565b611058612b30565b73ffffffffffffffffffffffffffffffffffffffff16611076611833565b73ffffffffffffffffffffffffffffffffffffffff16146110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c3906146f2565b60405180910390fd5b81600e8190555080600f819055505050565b6110e6612b30565b73ffffffffffffffffffffffffffffffffffffffff16611104611833565b73ffffffffffffffffffffffffffffffffffffffff161461115a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611151906146f2565b60405180910390fd5b6000611164611833565b73ffffffffffffffffffffffffffffffffffffffff164760405161118790614743565b60006040518083038185875af1925050503d80600081146111c4576040519150601f19603f3d011682016040523d82523d6000602084013e6111c9565b606091505b50509050806111d757600080fd5b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156113ba573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361125c5761125784848460405180602001604052806000815250611af4565b6113d6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112a59291906145d8565b602060405180830381865afa1580156112c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e69190614616565b801561137857506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016113369291906145d8565b602060405180830381865afa158015611353573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113779190614616565b5b6113b957336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016113b09190613e72565b60405180910390fd5b5b6113d584848460405180602001604052806000815250611af4565b5b50505050565b6113e4612b30565b73ffffffffffffffffffffffffffffffffffffffff16611402611833565b73ffffffffffffffffffffffffffffffffffffffff1614611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f906146f2565b60405180910390fd5b80600990816114679190614904565b5050565b600c60029054906101000a900460ff1681565b611486612b30565b73ffffffffffffffffffffffffffffffffffffffff166114a4611833565b73ffffffffffffffffffffffffffffffffffffffff16146114fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f1906146f2565b60405180910390fd5b80600a90816115099190614904565b5050565b600c60009054906101000a900460ff1681565b600061152b826130be565b600001519050919050565b600a8054611543906145a7565b80601f016020809104026020016040519081016040528092919081815260200182805461156f906145a7565b80156115bc5780601f10611591576101008083540402835291602001916115bc565b820191906000526020600020905b81548152906001019060200180831161159f57829003601f168201915b505050505081565b6115cc612b30565b73ffffffffffffffffffffffffffffffffffffffff166115ea611833565b73ffffffffffffffffffffffffffffffffffffffff1614611640576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611637906146f2565b60405180910390fd5b8060108190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116b1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611721612b30565b73ffffffffffffffffffffffffffffffffffffffff1661173f611833565b73ffffffffffffffffffffffffffffffffffffffff1614611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c906146f2565b60405180910390fd5b61179f600061334d565b565b6117a9612b30565b73ffffffffffffffffffffffffffffffffffffffff166117c7611833565b73ffffffffffffffffffffffffffffffffffffffff161461181d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611814906146f2565b60405180910390fd5b80600d8190555050565b600f5481565b60135481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461186c906145a7565b80601f0160208091040260200160405190810160405280929190818152602001828054611898906145a7565b80156118e55780601f106118ba576101008083540402835291602001916118e5565b820191906000526020600020905b8154815290600101906020018083116118c857829003601f168201915b5050505050905090565b6118f7612b30565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361195b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611968612b30565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a15612b30565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a5a9190613d01565b60405180910390a35050565b60098054611a73906145a7565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9f906145a7565b8015611aec5780601f10611ac157610100808354040283529160200191611aec565b820191906000526020600020905b815481529060010190602001808311611acf57829003601f168201915b505050505081565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d2f573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bd157611b61858585612bf3565b611b808473ffffffffffffffffffffffffffffffffffffffff16613413565b8015611b955750611b9385858585613436565b155b15611bcc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611da6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611c1a9291906145d8565b602060405180830381865afa158015611c37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5b9190614616565b8015611ced57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611cab9291906145d8565b602060405180830381865afa158015611cc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cec9190614616565b5b611d2e57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d259190613e72565b60405180910390fd5b5b611d3a858585612bf3565b611d598473ffffffffffffffffffffffffffffffffffffffff16613413565b8015611d6e5750611d6c85858585613436565b155b15611da5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5050505050565b6000611db7610d16565b9050600c60019054906101000a900460ff16611e08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dff90614a22565b60405180910390fd5b60008411611e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4290614ab4565b60405180910390fd5b6010548482611e5a9190614b03565b1115611e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9290614b83565b60405180910390fd5b611ea3611833565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120cd57600f5484611ee23361164a565b611eec9190614b03565b1115611f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2490614c15565b60405180910390fd5b600f54841115611f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6990614ca7565b60405180910390fd5b600033604051602001611f85919061468b565b60405160208183030381529060405280519060200120905060006013549050611ff2858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54846130a7565b15611ffd5760125490505b60016120083361164a565b10801561201757508260115410155b1561207b576001866120299190614cc7565b816120349190614cfb565b341015612076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206d90614d89565b60405180910390fd5b6120ca565b85816120879190614cfb565b3410156120c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c090614d89565b60405180910390fd5b5b50505b6120d73385613586565b50505050565b6120e5612b30565b73ffffffffffffffffffffffffffffffffffffffff16612103611833565b73ffffffffffffffffffffffffffffffffffffffff1614612159576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612150906146f2565b60405180910390fd5b6000612163610d16565b9050600083116121a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219f90614ab4565b60405180910390fd5b60105483826121b79190614b03565b11156121f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ef90614b83565b60405180910390fd5b6122028284613586565b505050565b600e5481565b600b805461221a906145a7565b80601f0160208091040260200160405190810160405280929190818152602001828054612246906145a7565b80156122935780601f1061226857610100808354040283529160200191612293565b820191906000526020600020905b81548152906001019060200180831161227657829003601f168201915b505050505081565b60606122a682612ae2565b6122e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122dc90614e1b565b60405180910390fd5b600c60029054906101000a900460ff1661238b5760098054612306906145a7565b80601f0160208091040260200160405190810160405280929190818152602001828054612332906145a7565b801561237f5780601f106123545761010080835404028352916020019161237f565b820191906000526020600020905b81548152906001019060200180831161236257829003601f168201915b505050505090506123e7565b60006123956135a4565b905060008151116123b557604051806020016040528060008152506123e3565b806123bf84613636565b600b6040516020016123d393929190614efa565b6040516020818303038152906040525b9150505b919050565b60006123f6610d16565b9050600c60009054906101000a900460ff16612447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e90614a22565b60405180910390fd5b6000841161248a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248190614f9d565b60405180910390fd5b60105484826124999190614b03565b11156124da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d190615009565b60405180910390fd5b600e54846124e73361164a565b6124f19190614b03565b1115612532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252990614c15565b60405180910390fd5b600e54841115612577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256e90614ca7565b60405180910390fd5b836012546125859190614cfb565b3410156125c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125be90614d89565b60405180910390fd5b6000336040516020016125da919061468b565b604051602081830303815290604052805190602001209050612640848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54836130a7565b61267f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267690615075565b60405180910390fd5b6126893386613586565b5050505050565b60105481565b61269e612b30565b73ffffffffffffffffffffffffffffffffffffffff166126bc611833565b73ffffffffffffffffffffffffffffffffffffffff1614612712576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612709906146f2565b60405180910390fd5b80600b90816127219190614904565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6127c1612b30565b73ffffffffffffffffffffffffffffffffffffffff166127df611833565b73ffffffffffffffffffffffffffffffffffffffff1614612835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282c906146f2565b60405180910390fd5b81600c60006101000a81548160ff02191690831515021790555080600c60016101000a81548160ff0219169083151502179055505050565b612875612b30565b73ffffffffffffffffffffffffffffffffffffffff16612893611833565b73ffffffffffffffffffffffffffffffffffffffff16146128e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e0906146f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294f90615107565b60405180910390fd5b6129618161334d565b50565b61296c612b30565b73ffffffffffffffffffffffffffffffffffffffff1661298a611833565b73ffffffffffffffffffffffffffffffffffffffff16146129e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d7906146f2565b60405180910390fd5b8060118190555050565b6129f2612b30565b73ffffffffffffffffffffffffffffffffffffffff16612a10611833565b73ffffffffffffffffffffffffffffffffffffffff1614612a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5d906146f2565b60405180910390fd5b81601281905550806013819055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612aed612bea565b11158015612afc575060005482105b8015612b29575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612bfe826130be565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c69576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612c8a612b30565b73ffffffffffffffffffffffffffffffffffffffff161480612cb95750612cb885612cb3612b30565b612725565b5b80612cfe5750612cc7612b30565b73ffffffffffffffffffffffffffffffffffffffff16612ce684610b90565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612d37576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d9d576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612daa8585856001613796565b612db660008487612b38565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361303557600054821461303457878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130a0858585600161379c565b5050505050565b6000826130b485846137a2565b1490509392505050565b6130c6613c0a565b6000829050806130d4612bea565b111580156130e3575060005481105b15613316576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161331457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146131f8578092505050613348565b5b60011561331357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461330e578092505050613348565b6131f9565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261345c612b30565b8786866040518563ffffffff1660e01b815260040161347e949392919061517c565b6020604051808303816000875af19250505080156134ba57506040513d601f19601f820116820180604052508101906134b791906151dd565b60015b613533573d80600081146134ea576040519150601f19603f3d011682016040523d82523d6000602084013e6134ef565b606091505b50600081510361352b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6135a0828260405180602001604052806000815250613817565b5050565b6060600a80546135b3906145a7565b80601f01602080910402602001604051908101604052809291908181526020018280546135df906145a7565b801561362c5780601f106136015761010080835404028352916020019161362c565b820191906000526020600020905b81548152906001019060200180831161360f57829003601f168201915b5050505050905090565b60606000820361367d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613791565b600082905060005b600082146136af5780806136989061520a565b915050600a826136a89190615281565b9150613685565b60008167ffffffffffffffff8111156136cb576136ca6140fa565b5b6040519080825280601f01601f1916602001820160405280156136fd5781602001600182028036833780820191505090505b5090505b6000851461378a576001826137169190614cc7565b9150600a8561372591906152b2565b60306137319190614b03565b60f81b818381518110613747576137466152e3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137839190615281565b9450613701565b8093505050505b919050565b50505050565b50505050565b60008082905060005b845181101561380c5760008582815181106137c9576137c86152e3565b5b602002602001015190508083116137eb576137e48382613829565b92506137f8565b6137f58184613829565b92505b5080806138049061520a565b9150506137ab565b508091505092915050565b6138248383836001613840565b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036138ac576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036138e6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6138f36000868387613796565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613abd5750613abc8773ffffffffffffffffffffffffffffffffffffffff16613413565b5b15613b82575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613b326000888480600101955088613436565b613b68576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808203613ac3578260005414613b7d57600080fd5b613bed565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203613b83575b816000819055505050613c03600086838761379c565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c9681613c61565b8114613ca157600080fd5b50565b600081359050613cb381613c8d565b92915050565b600060208284031215613ccf57613cce613c57565b5b6000613cdd84828501613ca4565b91505092915050565b60008115159050919050565b613cfb81613ce6565b82525050565b6000602082019050613d166000830184613cf2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613d56578082015181840152602081019050613d3b565b60008484015250505050565b6000601f19601f8301169050919050565b6000613d7e82613d1c565b613d888185613d27565b9350613d98818560208601613d38565b613da181613d62565b840191505092915050565b60006020820190508181036000830152613dc68184613d73565b905092915050565b6000819050919050565b613de181613dce565b8114613dec57600080fd5b50565b600081359050613dfe81613dd8565b92915050565b600060208284031215613e1a57613e19613c57565b5b6000613e2884828501613def565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e5c82613e31565b9050919050565b613e6c81613e51565b82525050565b6000602082019050613e876000830184613e63565b92915050565b613e9681613e51565b8114613ea157600080fd5b50565b600081359050613eb381613e8d565b92915050565b60008060408385031215613ed057613ecf613c57565b5b6000613ede85828601613ea4565b9250506020613eef85828601613def565b9150509250929050565b613f0281613dce565b82525050565b6000602082019050613f1d6000830184613ef9565b92915050565b600080600060608486031215613f3c57613f3b613c57565b5b6000613f4a86828701613ea4565b9350506020613f5b86828701613ea4565b9250506040613f6c86828701613def565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613f9b57613f9a613f76565b5b8235905067ffffffffffffffff811115613fb857613fb7613f7b565b5b602083019150836020820283011115613fd457613fd3613f80565b5b9250929050565b60008060208385031215613ff257613ff1613c57565b5b600083013567ffffffffffffffff8111156140105761400f613c5c565b5b61401c85828601613f85565b92509250509250929050565b61403181613ce6565b811461403c57600080fd5b50565b60008135905061404e81614028565b92915050565b60006020828403121561406a57614069613c57565b5b60006140788482850161403f565b91505092915050565b6000819050919050565b61409481614081565b82525050565b60006020820190506140af600083018461408b565b92915050565b600080604083850312156140cc576140cb613c57565b5b60006140da85828601613def565b92505060206140eb85828601613def565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61413282613d62565b810181811067ffffffffffffffff82111715614151576141506140fa565b5b80604052505050565b6000614164613c4d565b90506141708282614129565b919050565b600067ffffffffffffffff8211156141905761418f6140fa565b5b61419982613d62565b9050602081019050919050565b82818337600083830152505050565b60006141c86141c384614175565b61415a565b9050828152602081018484840111156141e4576141e36140f5565b5b6141ef8482856141a6565b509392505050565b600082601f83011261420c5761420b613f76565b5b813561421c8482602086016141b5565b91505092915050565b60006020828403121561423b5761423a613c57565b5b600082013567ffffffffffffffff81111561425957614258613c5c565b5b614265848285016141f7565b91505092915050565b60006020828403121561428457614283613c57565b5b600061429284828501613ea4565b91505092915050565b6142a481614081565b81146142af57600080fd5b50565b6000813590506142c18161429b565b92915050565b6000602082840312156142dd576142dc613c57565b5b60006142eb848285016142b2565b91505092915050565b6000806040838503121561430b5761430a613c57565b5b600061431985828601613ea4565b925050602061432a8582860161403f565b9150509250929050565b600067ffffffffffffffff82111561434f5761434e6140fa565b5b61435882613d62565b9050602081019050919050565b600061437861437384614334565b61415a565b905082815260208101848484011115614394576143936140f5565b5b61439f8482856141a6565b509392505050565b600082601f8301126143bc576143bb613f76565b5b81356143cc848260208601614365565b91505092915050565b600080600080608085870312156143ef576143ee613c57565b5b60006143fd87828801613ea4565b945050602061440e87828801613ea4565b935050604061441f87828801613def565b925050606085013567ffffffffffffffff8111156144405761443f613c5c565b5b61444c878288016143a7565b91505092959194509250565b60008060006040848603121561447157614470613c57565b5b600061447f86828701613def565b935050602084013567ffffffffffffffff8111156144a05761449f613c5c565b5b6144ac86828701613f85565b92509250509250925092565b600080604083850312156144cf576144ce613c57565b5b60006144dd85828601613def565b92505060206144ee85828601613ea4565b9150509250929050565b6000806040838503121561450f5761450e613c57565b5b600061451d85828601613ea4565b925050602061452e85828601613ea4565b9150509250929050565b6000806040838503121561454f5761454e613c57565b5b600061455d8582860161403f565b925050602061456e8582860161403f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145bf57607f821691505b6020821081036145d2576145d1614578565b5b50919050565b60006040820190506145ed6000830185613e63565b6145fa6020830184613e63565b9392505050565b60008151905061461081614028565b92915050565b60006020828403121561462c5761462b613c57565b5b600061463a84828501614601565b91505092915050565b60008160601b9050919050565b600061465b82614643565b9050919050565b600061466d82614650565b9050919050565b61468561468082613e51565b614662565b82525050565b60006146978284614674565b60148201915081905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006146dc602083613d27565b91506146e7826146a6565b602082019050919050565b6000602082019050818103600083015261470b816146cf565b9050919050565b600081905092915050565b50565b600061472d600083614712565b91506147388261471d565b600082019050919050565b600061474e82614720565b9150819050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026147ba7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261477d565b6147c4868361477d565b95508019841693508086168417925050509392505050565b6000819050919050565b60006148016147fc6147f784613dce565b6147dc565b613dce565b9050919050565b6000819050919050565b61481b836147e6565b61482f61482782614808565b84845461478a565b825550505050565b600090565b614844614837565b61484f818484614812565b505050565b5b818110156148735761486860008261483c565b600181019050614855565b5050565b601f8211156148b85761488981614758565b6148928461476d565b810160208510156148a1578190505b6148b56148ad8561476d565b830182614854565b50505b505050565b600082821c905092915050565b60006148db600019846008026148bd565b1980831691505092915050565b60006148f483836148ca565b9150826002028217905092915050565b61490d82613d1c565b67ffffffffffffffff811115614926576149256140fa565b5b61493082546145a7565b61493b828285614877565b600060209050601f83116001811461496e576000841561495c578287015190505b61496685826148e8565b8655506149ce565b601f19841661497c86614758565b60005b828110156149a45784890151825560018201915060208501945060208101905061497f565b868310156149c157848901516149bd601f8916826148ca565b8355505b6001600288020188555050505b505050505050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000614a0c601783613d27565b9150614a17826149d6565b602082019050919050565b60006020820190508181036000830152614a3b816149ff565b9050919050565b7f5175616e74697479204d75737420426520486967686572205468616e205a657260008201527f6f21000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a9e602283613d27565b9150614aa982614a42565b604082019050919050565b60006020820190508181036000830152614acd81614a91565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b0e82613dce565b9150614b1983613dce565b9250828201905080821115614b3157614b30614ad4565b5b92915050565b7f4d617820537570706c7920526561636865642100000000000000000000000000600082015250565b6000614b6d601383613d27565b9150614b7882614b37565b602082019050919050565b60006020820190508181036000830152614b9c81614b60565b9050919050565b7f596f75277265206e6f7420616c6c6f77656420746f206d696e7420746869732060008201527f4d75636821000000000000000000000000000000000000000000000000000000602082015250565b6000614bff602583613d27565b9150614c0a82614ba3565b604082019050919050565b60006020820190508181036000830152614c2e81614bf2565b9050919050565b7f596f75277265204e6f7420416c6c6f77656420546f204d696e74206d6f72652060008201527f7468616e206d61784d696e7420416d6f756e7400000000000000000000000000602082015250565b6000614c91603383613d27565b9150614c9c82614c35565b604082019050919050565b60006020820190508181036000830152614cc081614c84565b9050919050565b6000614cd282613dce565b9150614cdd83613dce565b9250828203905081811115614cf557614cf4614ad4565b5b92915050565b6000614d0682613dce565b9150614d1183613dce565b9250828202614d1f81613dce565b91508282048414831517614d3657614d35614ad4565b5b5092915050565b7f4e6f7420656e6f75676820657468657221000000000000000000000000000000600082015250565b6000614d73601183613d27565b9150614d7e82614d3d565b602082019050919050565b60006020820190508181036000830152614da281614d66565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614e05602f83613d27565b9150614e1082614da9565b604082019050919050565b60006020820190508181036000830152614e3481614df8565b9050919050565b600081905092915050565b6000614e5182613d1c565b614e5b8185614e3b565b9350614e6b818560208601613d38565b80840191505092915050565b60008154614e84816145a7565b614e8e8186614e3b565b94506001821660008114614ea95760018114614ebe57614ef1565b60ff1983168652811515820286019350614ef1565b614ec785614758565b60005b83811015614ee957815481890152600182019150602081019050614eca565b838801955050505b50505092915050565b6000614f068286614e46565b9150614f128285614e46565b9150614f1e8284614e77565b9150819050949350505050565b7f5175616e74697479204d75737420426520486967686572205468616e205a657260008201527f6f00000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f87602183613d27565b9150614f9282614f2b565b604082019050919050565b60006020820190508181036000830152614fb681614f7a565b9050919050565b7f4d617820537570706c7920526561636865640000000000000000000000000000600082015250565b6000614ff3601283613d27565b9150614ffe82614fbd565b602082019050919050565b6000602082019050818103600083015261502281614fe6565b9050919050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b600061505f600e83613d27565b915061506a82615029565b602082019050919050565b6000602082019050818103600083015261508e81615052565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006150f1602683613d27565b91506150fc82615095565b604082019050919050565b60006020820190508181036000830152615120816150e4565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061514e82615127565b6151588185615132565b9350615168818560208601613d38565b61517181613d62565b840191505092915050565b60006080820190506151916000830187613e63565b61519e6020830186613e63565b6151ab6040830185613ef9565b81810360608301526151bd8184615143565b905095945050505050565b6000815190506151d781613c8d565b92915050565b6000602082840312156151f3576151f2613c57565b5b6000615201848285016151c8565b91505092915050565b600061521582613dce565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361524757615246614ad4565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061528c82613dce565b915061529783613dce565b9250826152a7576152a6615252565b5b828204905092915050565b60006152bd82613dce565b91506152c883613dce565b9250826152d8576152d7615252565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220bf2951703d67a72bbbd2d5e2d3c41d4fb2ff9625d1ce21ae3eefe05a77b65ad664736f6c63430008110033

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

0000000000000000000000000000000000000000000000000000000000000040f2dc0b6fc28f15b28f466f02b058037b06cb436892853bdbd67c00e73d8135550000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d65394235386b686a78584c55564c624b667a765570664c57536b57616f48695a6f78724d653378766f3768452f00000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs://Qme9B58khjxXLUVLbKfzvUpfLWSkWaoHiZoxrMe3xvo7hE/
Arg [1] : _merkleRoot (bytes32): 0xf2dc0b6fc28f15b28f466f02b058037b06cb436892853bdbd67c00e73d813555

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : f2dc0b6fc28f15b28f466f02b058037b06cb436892853bdbd67c00e73d813555
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d65394235386b686a78584c55564c624b667a765570664c
Arg [4] : 57536b57616f48695a6f78724d653378766f3768452f00000000000000000000


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.