ETH Price: $2,947.08 (+8.04%)
 

Overview

TokenID

438

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Funky Pass is the all-inclusive package of funk. With it, be on the ground floor of the funky movement. Holders of the Funky Pass have access to the presale of the Funky Wolf NFT, along with exclusive perks, benefits, and rewards as the Den grows.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FunkyPass

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

/// @title Funky Pass

//               -=                                    -*:
//             +@@%                        :.          .@@%=
//           +@%=%@.                      .@%          -@#+@@-
//         .%@+  :@#                    .=@@@:         %@: .*@#
//     *%=:@%:    -@*        .:=+*##%%%%#*=*@=::.     #@-    -@#.=#.
//    =@%@@%  -#.  :@@-    -#@#+=::.      .##%@@:   =@%.  :#: .@@@@#
//   .@@  =. *@@@=  .*@%-:%@+                %@@@@%@@+   +@@@= == %@.
//   +@+    *@* +@@+  .+@@@:    ..:::::::..     *@%=  .*@%= #@=   +@+
//   %@:   :@%    -#@= .=@@#%%%%###*****###%%%#%@%:  +@+:    @@   :@#
//   %@:   =@+      @@@@*=:.                  .:=*%@%@+      #@:  .@%
//   +@+   :@%   .+@%+:                            .-*@#-    @@   :@#
//   .@@:   *@+.*@%- .:-===-:.               .--===-:..+@@=.#@=   *@=
//    .@@-   *@@%-=#@@#**+**#@@#=.       .+#@@#*++**%@@*=+@@@=   =@#
//      +@#-:%@=  ==.         .-*@#:   -#@*-.         :=-  +@#.-#@+
//        =@@%.  @@@@%*-.        .%@. -@#.        .=*@@@@%  :@@@=
//     =-=%@+     -@*-*@@%*=:     #@- +@*     :=*@@@+-%@.    .*@*=-:
//     =@@*.      %%  @@@@@@@@@%%@%=   +%@%%@@@@@@@@% :@#      .#@@-
//      .*@#      #@ .%@@@@@@+.#@+       *@*.#@@@@@@% -@*      %@#:
//       %%       .%@=.-+**+::#@*         #@*:-+**+-.+@#       -@*
//      .@*       .+@@@%#**#@@*--=+**#**+=:-*@%#**#%@@@-       :@#
//  .   =@=     :#@#-. :----..%@#*==---=+*#@# :----: .=%@*.    .@@.  .-
//  %@#%@*     *@*.          :@%.         .@@.          :#@+    :#@%%@#
//  +@#-.     *@+             :%@=      .+@%.             *@=     .-%@=
//   =@@*     @@#%@%            =%@*=:=#@%-           :@@%%@%     #@@-
//.-*@%- .-:  +=-%@:              :=#@*=.              =@%-==  =:. =@@+:
//.*@@@@@@@      @@ .*%@@%#+-.    .:%@*:     .--====-:  @@     -@@@%@@%=
// . .-*@%:     :@%  :%@=.-*@@%%%@@@=-+@@@%%%@@%==+@@%+ %@.     -%@*-..:
// #@@%*-        @@  .@%  -@%@# .@@@- +@@@. =@%@=  #@:  @@        -*#@@=
//  *@*          #@: :@%  @@ #@+#@=%@*@#=@#-@#.@%  #@- =@*          +@#
//   -%@*-       :@*  #@+=@*  #@@@+#@@@#+@@@% .@% =@% .@@.        =%@+
//     :+#@%#*++++@@=  =%@@#=+#@%*=+++++=*@@*+*@@@%+  #@*=----=+#@#=
//          .:-----*@*.   :===-.:*@%*+*@@= .-===-.  -%%==+***++-:
//                  -%@#+---=+*@@*-     =%@#*=-:-=*@@*.
//                    .=+*##*+@@=.       :*@%+*#**=:
//                             =*%@####%@#+-


// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.0 (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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.0 (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: @openzeppelin/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: @openzeppelin/contracts/token/ERC721/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: @openzeppelin/contracts/utils/introspection/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: @openzeppelin/contracts/utils/introspection/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: @openzeppelin/contracts/token/ERC721/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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/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);
}


/**
 * @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);
    }
}


/**
 * @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 = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

//import "./extensions/IERC721Metadata.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _owners[tokenId] = to;

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

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

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

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

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

        // Clear approvals
        delete _tokenApprovals[tokenId];

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

    /**
     * @dev Hook that is called after any (single) transfer of tokens. This includes minting and burning.
     * See {_afterConsecutiveTokenTransfer}.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called before consecutive token transfers.
     * Calling conditions are similar to {_beforeTokenTransfer}.
     *
     * The default implementation include balances updates that extensions such as {ERC721Consecutive} cannot perform
     * directly.
     */
    function _beforeConsecutiveTokenTransfer(
        address from,
        address to,
        uint256, /*first*/
        uint96 size
    ) internal virtual {
        if (from != address(0)) {
            _balances[from] -= size;
        }
        if (to != address(0)) {
            _balances[to] += size;
        }
    }

    /**
     * @dev Hook that is called after consecutive token transfers.
     * Calling conditions are similar to {_afterTokenTransfer}.
     */
    function _afterConsecutiveTokenTransfer(
        address, /*from*/
        address, /*to*/
        uint256, /*first*/
        uint96 /*size*/
    ) internal virtual {}
}

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any batch token transfer. For now this is limited
     * to batch minting by the {ERC721Consecutive} extension.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeConsecutiveTokenTransfer(
        address,
        address,
        uint256,
        uint96
    ) internal virtual override {
        revert("ERC721Enumerable: consecutive transfers not supported");
    }

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
    external
    view
    returns (address receiver, uint256 royaltyAmount);
}

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
contract ERC2981 is IERC2981 {
    struct RoyaltyInfo {
        address recipient;
        uint24 amount;
    }

    RoyaltyInfo private _royalties;

    /// @dev Sets token royalties
    /// @param recipient recipient of the royalties
    /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0)
    function _setRoyalties(address recipient, uint256 value) internal {
        require(value <= 10000, "ERC2981Royalties: Too high");
        _royalties = RoyaltyInfo(recipient, uint24(value));
    }

    function setRoyalties(address recipient, uint256 value) external {
        require(recipient != address(0), "Invalid address!");
        _setRoyalties(recipient, value);
    }

    /// @inheritdoc IERC2981
    function royaltyInfo(uint256, uint256 value)
    external
    view
    override
    returns (address receiver, uint256 royaltyAmount)
    {
        RoyaltyInfo memory royalties = _royalties;
        receiver = royalties.recipient;
        royaltyAmount = (value * royalties.amount) / 10000;
    }

    /// @inheritdoc IERC165
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || interfaceId == type(IERC165).interfaceId;
    }
}


contract FunkyPass is ERC721Enumerable, Ownable, ERC2981, ReentrancyGuard {
    using Strings for uint256;

    //NOTE Token values incremented for gas efficiency

    // Max supply in Collection
    uint256 private maxSale = 501;

    // Supply reserved for team
    uint256 public reservedSupply = 50;

    // Allowlist/WL Merkle Root
    bytes32 public merkleRoot;

    // Price for public sale
    uint256 public tokenPricePublic = 0.05 ether;

    // Mints executed per wallet address
    mapping(address => uint) private _mintsPerAddress;

    enum ContractState {
        OFF,
        PRESALE,
        PUBLIC
    }
    ContractState public contractState = ContractState.OFF;

    string public baseURI;

    constructor() ERC721("Funky Pass", "FP") {

        //address that will receive mint funds
        _setRoyalties(msg.sender, 650); //6.5% Royalties
    }

    //
    // Modifiers
    //

    /**
     * Do not allow calls from other contracts.
     */
    modifier noBots() {
        require(msg.sender == tx.origin, "No bots!");
        _;
    }

    /**
     * Ensure current state is correct for this method.
     */
    modifier isContractState(ContractState contractState_) {
        require(contractState == contractState_, "Invalid state");
        _;
    }


    /**
     * Ensure correct amount of Ether present in transaction.
     */
    modifier correctValue(uint256 expectedValue) {
        require(expectedValue == msg.value, "Ether value sent is not correct");
        _;
    }

    //
    // Mint
    //

    /**
     * Public mint.
     */
    function mintPublic()
    external
    payable
    noBots
    isContractState(ContractState.PUBLIC)
    correctValue(tokenPricePublic)
    {
        require(totalSupply() < maxSale - reservedSupply, "Exceeds available tokens");
        require(_mintsPerAddress[msg.sender] == 0, "Exceeds allowance!");
        _mintsPerAddress[msg.sender]++;
        _safeMint(msg.sender, totalSupply() + 1);
    }

    /**
     * Mint tokens during the presale.
     * @notice This function is only available to those on the allowlist.
     * @param proof The Merkle proof used to validate the leaf is in the root.
     */
    function mintPresale(bytes32[] calldata proof, bytes32 leaf)
    external
    noBots
    isContractState(ContractState.PRESALE)
    {
        require(totalSupply() < maxSale - reservedSupply, "Exceeds available tokens");
        require(_mintsPerAddress[msg.sender] == 0, "Exceeds allowance!");
        require(verify(merkleRoot, leaf, proof), "Not a valid proof!");
        _mintsPerAddress[msg.sender]++;
        _safeMint(msg.sender, totalSupply() + 1);
    }


    /**
     * Team reserved mint.
     * @param recipients Array of recipients
     */
    function mintReserved(address[] calldata recipients) external onlyOwner {
        require(reservedSupply - recipients.length + 1 > 0, "Exceeds available reserved tokens");
        for (uint i; i < recipients.length; i++) {
            _safeMint(recipients[i], totalSupply() + 1);
        }
    }

    //
    // Admin
    //

    /**
     * Set contract state.
     * @param contractState_ The new state of the contract.
     */
    function setContractState(uint contractState_) external onlyOwner {
        require(contractState_ < 3, "Invalid Contract State!");
        if (contractState_ == 0) {
            contractState = ContractState.OFF;
        }
        else if (contractState_ == 1) {
            contractState = ContractState.PRESALE;
        }
        else {
            contractState = ContractState.PUBLIC;
        }

    }

    /**
     * Update maximum number of tokens for sale.
     * @param newMaxSale The maximum number of tokens available for sale.
     */
    function setMaxSale(uint256 newMaxSale) external onlyOwner {
        maxSale = newMaxSale;
    }

    /**
     * Update price in public sale.
     * @param newPrice updated price of public sale minting
     */
    function setTokenPricePublic(uint256 newPrice) external onlyOwner {
        tokenPricePublic = newPrice;
    }

    /**
     * Set the presale Merkle root.
     * @dev The Merkle root is calculated from [address, allowance] pairs.
     * @param merkleRoot_ The new merkle roo
     */
    function setMerkleRoot(bytes32 merkleRoot_) external onlyOwner {
        merkleRoot = merkleRoot_;
    }

    /**
     * Sets base URI.
     * @param baseURI_ The base URI
     */
    function setBaseURI(string memory baseURI_) external onlyOwner {
        baseURI = baseURI_;
    }

    //send the percentage of funds to a shareholder´s wallet
    function withdraw(address payable account, uint256 amount) public onlyOwner {
        (bool sent, ) = account.call{value: amount}("");
        require(sent, "Failed to send Ether");
    }

    //
    // Views
    //

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

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

    /// @inheritdoc IERC165
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, ERC2981) returns (bool) {
        return ERC721Enumerable.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId);
    }

    /**
     * Verify the Merkle proof is valid.
     * @param root The Merkle root. Use the value stored in the contract
     * @param leaf The leaf. A [address, availableAmt] pair
     * @param proof The Merkle proof used to validate the leaf is in the root
     */
    function verify(
        bytes32 root,
        bytes32 leaf,
        bytes32[] memory proof
    ) public pure returns (bool) {
        return MerkleProof.verify(proof, root, leaf);
    }

    /**
     * Get the current amount of Eth stored
     */
    function accountBalance() public view returns(uint) {
        return address(this).balance;
    }

    /**
     * Gets the amount of NFTs an address has minted
     * @param minter address of minter
     */
    function mintsPerAddress(address minter) external view returns(uint) {
        return _mintsPerAddress[minter];
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"accountBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractState","outputs":[{"internalType":"enum FunkyPass.ContractState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"mintPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"mintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contractState_","type":"uint256"}],"name":"setContractState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSale","type":"uint256"}],"name":"setMaxSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setTokenPricePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPricePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526101f5600d556032600e5566b1a2bc2ec500006010556000601260006101000a81548160ff02191690836002811115620000435762000042620003a3565b5b02179055503480156200005557600080fd5b506040518060400160405280600a81526020017f46756e6b792050617373000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f46500000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000da929190620002f3565b508060019080519060200190620000f3929190620002f3565b505050620001166200010a6200013860201b60201c565b6200014060201b60201c565b6001600c81905550620001323361028a6200020660201b60201c565b620004ba565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6127108111156200024e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002459062000433565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff16815250600b60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548162ffffff021916908362ffffff1602179055509050505050565b828054620003019062000484565b90600052602060002090601f01602090048101928262000325576000855562000371565b82601f106200034057805160ff191683800117855562000371565b8280016001018555821562000371579182015b828111156200037057825182559160200191906001019062000353565b5b50905062000380919062000384565b5090565b5b808211156200039f57600081600090555060010162000385565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082825260208201905092915050565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b60006200041b601a83620003d2565b91506200042882620003e3565b602082019050919050565b600060208201905081810360008301526200044e816200040c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200049d57607f821691505b60208210811415620004b457620004b362000455565b5b50919050565b61537880620004ca6000396000f3fe6080604052600436106102255760003560e01c8063715018a61161012357806395d89b41116100ab578063cd2c70521161006f578063cd2c70521461081f578063e985e9c514610848578063f2fde38b14610885578063f3fef3a3146108ae578063fb7265ff146108d757610225565b806395d89b411461073a578063a22cb46514610765578063b0a1c1c41461078e578063b88d4fde146107b9578063c87b56dd146107e257610225565b806385209ee0116100f257806385209ee0146106885780638abe570e146106b35780638c7ea24b146106dc5780638c874ebd146107055780638da5cb5b1461070f57610225565b8063715018a6146105f45780637cb647591461060b5780637de69d5f14610634578063850f3f3f1461065f57610225565b80632f745c59116101b15780634f6ccce7116101755780634f6ccce7146104e957806355f804b3146105265780636352211e1461054f5780636c0360eb1461058c57806370a08231146105b757610225565b80632f745c59146103de5780633023eba61461041b5780633423e5481461045857806342842e0e1461049557806344d19d2b146104be57610225565b8063095ea7b3116101f8578063095ea7b3146102f857806318160ddd1461032157806323b872dd1461034c5780632a55205a146103755780632eb4a7ab146103b357610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc1461029257806308290dc5146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c919061364a565b610900565b60405161025e9190613692565b60405180910390f35b34801561027357600080fd5b5061027c610922565b6040516102899190613746565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b4919061379e565b6109b4565b6040516102c6919061380c565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f1919061379e565b6109fa565b005b34801561030457600080fd5b5061031f600480360381019061031a9190613853565b610a80565b005b34801561032d57600080fd5b50610336610b98565b60405161034391906138a2565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e91906138bd565b610ba5565b005b34801561038157600080fd5b5061039c60048036038101906103979190613910565b610c05565b6040516103aa929190613950565b60405180910390f35b3480156103bf57600080fd5b506103c8610cc5565b6040516103d59190613992565b60405180910390f35b3480156103ea57600080fd5b5061040560048036038101906104009190613853565b610ccb565b60405161041291906138a2565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d91906139ad565b610d70565b60405161044f91906138a2565b60405180910390f35b34801561046457600080fd5b5061047f600480360381019061047a9190613b4e565b610db9565b60405161048c9190613692565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b791906138bd565b610dcf565b005b3480156104ca57600080fd5b506104d3610def565b6040516104e091906138a2565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b919061379e565b610df5565b60405161051d91906138a2565b60405180910390f35b34801561053257600080fd5b5061054d60048036038101906105489190613c72565b610e66565b005b34801561055b57600080fd5b506105766004803603810190610571919061379e565b610efc565b604051610583919061380c565b60405180910390f35b34801561059857600080fd5b506105a1610f83565b6040516105ae9190613746565b60405180910390f35b3480156105c357600080fd5b506105de60048036038101906105d991906139ad565b611011565b6040516105eb91906138a2565b60405180910390f35b34801561060057600080fd5b506106096110c9565b005b34801561061757600080fd5b50610632600480360381019061062d9190613cbb565b611151565b005b34801561064057600080fd5b506106496111d7565b60405161065691906138a2565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190613d43565b6111dd565b005b34801561069457600080fd5b5061069d611322565b6040516106aa9190613e07565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d59190613e78565b611335565b005b3480156106e857600080fd5b5061070360048036038101906106fe9190613853565b6115f9565b005b61070d611677565b005b34801561071b57600080fd5b506107246118f1565b604051610731919061380c565b60405180910390f35b34801561074657600080fd5b5061074f61191b565b60405161075c9190613746565b60405180910390f35b34801561077157600080fd5b5061078c60048036038101906107879190613f04565b6119ad565b005b34801561079a57600080fd5b506107a36119c3565b6040516107b091906138a2565b60405180910390f35b3480156107c557600080fd5b506107e060048036038101906107db9190613fe5565b6119cb565b005b3480156107ee57600080fd5b506108096004803603810190610804919061379e565b611a2d565b6040516108169190613746565b60405180910390f35b34801561082b57600080fd5b506108466004803603810190610841919061379e565b611ad9565b005b34801561085457600080fd5b5061086f600480360381019061086a9190614068565b611b5f565b60405161087c9190613692565b60405180910390f35b34801561089157600080fd5b506108ac60048036038101906108a791906139ad565b611bf3565b005b3480156108ba57600080fd5b506108d560048036038101906108d091906140e6565b611ceb565b005b3480156108e357600080fd5b506108fe60048036038101906108f9919061379e565b611e18565b005b600061090b82611f79565b8061091b575061091a82611ff3565b5b9050919050565b60606000805461093190614155565b80601f016020809104026020016040519081016040528092919081815260200182805461095d90614155565b80156109aa5780601f1061097f576101008083540402835291602001916109aa565b820191906000526020600020905b81548152906001019060200180831161098d57829003601f168201915b5050505050905090565b60006109bf826120c5565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a02612110565b73ffffffffffffffffffffffffffffffffffffffff16610a206118f1565b73ffffffffffffffffffffffffffffffffffffffff1614610a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6d906141d3565b60405180910390fd5b80600d8190555050565b6000610a8b82610efc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af390614265565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b1b612110565b73ffffffffffffffffffffffffffffffffffffffff161480610b4a5750610b4981610b44612110565b611b5f565b5b610b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b80906142f7565b60405180910390fd5b610b938383612118565b505050565b6000600880549050905090565b610bb6610bb0612110565b826121d1565b610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec90614389565b60405180910390fd5b610c00838383612266565b505050565b6000806000600b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900462ffffff1662ffffff1662ffffff1681525050905080600001519250612710816020015162ffffff1685610cb191906143d8565b610cbb9190614461565b9150509250929050565b600f5481565b6000610cd683611011565b8210610d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0e90614504565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610dc682858561255c565b90509392505050565b610dea838383604051806020016040528060008152506119cb565b505050565b600e5481565b6000610dff610b98565b8210610e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3790614596565b60405180910390fd5b60088281548110610e5457610e536145b6565b5b90600052602060002001549050919050565b610e6e612110565b73ffffffffffffffffffffffffffffffffffffffff16610e8c6118f1565b73ffffffffffffffffffffffffffffffffffffffff1614610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed9906141d3565b60405180910390fd5b8060139080519060200190610ef892919061353b565b5050565b600080610f0883612573565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190614631565b60405180910390fd5b80915050919050565b60138054610f9090614155565b80601f0160208091040260200160405190810160405280929190818152602001828054610fbc90614155565b80156110095780601f10610fde57610100808354040283529160200191611009565b820191906000526020600020905b815481529060010190602001808311610fec57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611082576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611079906146c3565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110d1612110565b73ffffffffffffffffffffffffffffffffffffffff166110ef6118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c906141d3565b60405180910390fd5b61114f60006125b0565b565b611159612110565b73ffffffffffffffffffffffffffffffffffffffff166111776118f1565b73ffffffffffffffffffffffffffffffffffffffff16146111cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c4906141d3565b60405180910390fd5b80600f8190555050565b60105481565b6111e5612110565b73ffffffffffffffffffffffffffffffffffffffff166112036118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611259576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611250906141d3565b60405180910390fd5b6000600183839050600e5461126e91906146e3565b6112789190614717565b116112b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112af906147df565b60405180910390fd5b60005b8282905081101561131d5761130a8383838181106112dc576112db6145b6565b5b90506020020160208101906112f191906139ad565b60016112fb610b98565b6113059190614717565b612676565b8080611315906147ff565b9150506112bb565b505050565b601260009054906101000a900460ff1681565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146113a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139a90614894565b60405180910390fd5b60018060028111156113b8576113b7613d90565b5b601260009054906101000a900460ff1660028111156113da576113d9613d90565b5b1461141a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141190614900565b60405180910390fd5b600e54600d5461142a91906146e3565b611432610b98565b10611472576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114699061496c565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146114f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114eb906149d8565b60405180910390fd5b611542600f5483868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050610db9565b611581576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157890614a44565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906115d1906147ff565b91905055506115f33360016115e4610b98565b6115ee9190614717565b612676565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611669576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166090614ab0565b60405180910390fd5b6116738282612694565b5050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dc90614894565b60405180910390fd5b60028060028111156116fa576116f9613d90565b5b601260009054906101000a900460ff16600281111561171c5761171b613d90565b5b1461175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175390614900565b60405180910390fd5b6010543481146117a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179890614b1c565b60405180910390fd5b600e54600d546117b191906146e3565b6117b9610b98565b106117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f09061496c565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541461187b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611872906149d8565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906118cb906147ff565b91905055506118ed3360016118de610b98565b6118e89190614717565b612676565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461192a90614155565b80601f016020809104026020016040519081016040528092919081815260200182805461195690614155565b80156119a35780601f10611978576101008083540402835291602001916119a3565b820191906000526020600020905b81548152906001019060200180831161198657829003601f168201915b5050505050905090565b6119bf6119b8612110565b838361277e565b5050565b600047905090565b6119dc6119d6612110565b836121d1565b611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1290614389565b60405180910390fd5b611a27848484846128eb565b50505050565b6060611a3c8261ffff16612947565b611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7290614b88565b60405180910390fd5b600060138054611a8a90614155565b905011611aa65760405180602001604052806000815250611ad2565b6013611ab183612988565b604051602001611ac2929190614c78565b6040516020818303038152906040525b9050919050565b611ae1612110565b73ffffffffffffffffffffffffffffffffffffffff16611aff6118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c906141d3565b60405180910390fd5b8060108190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bfb612110565b73ffffffffffffffffffffffffffffffffffffffff16611c196118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611c6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c66906141d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd690614d0e565b60405180910390fd5b611ce8816125b0565b50565b611cf3612110565b73ffffffffffffffffffffffffffffffffffffffff16611d116118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e906141d3565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611d8d90614d5f565b60006040518083038185875af1925050503d8060008114611dca576040519150601f19603f3d011682016040523d82523d6000602084013e611dcf565b606091505b5050905080611e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0a90614dc0565b60405180910390fd5b505050565b611e20612110565b73ffffffffffffffffffffffffffffffffffffffff16611e3e6118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8b906141d3565b60405180910390fd5b60038110611ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ece90614e2c565b60405180910390fd5b6000811415611f10576000601260006101000a81548160ff02191690836002811115611f0657611f05613d90565b5b0217905550611f76565b6001811415611f49576001601260006101000a81548160ff02191690836002811115611f3f57611f3e613d90565b5b0217905550611f75565b6002601260006101000a81548160ff02191690836002811115611f6f57611f6e613d90565b5b02179055505b5b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fec5750611feb82612ae9565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120be57507f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6120ce81612947565b61210d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210490614631565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661218b83610efc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806121dd83610efc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061221f575061221e8185611b5f565b5b8061225d57508373ffffffffffffffffffffffffffffffffffffffff16612245846109b4565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661228682610efc565b73ffffffffffffffffffffffffffffffffffffffff16146122dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d390614ebe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561234c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234390614f50565b60405180910390fd5b612357838383612bcb565b8273ffffffffffffffffffffffffffffffffffffffff1661237782610efc565b73ffffffffffffffffffffffffffffffffffffffff16146123cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c490614ebe565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612557838383612cdf565b505050565b6000826125698584612ce4565b1490509392505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612690828260405180602001604052806000815250612d97565b5050565b6127108111156126d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d090614fbc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff16815250600b60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548162ffffff021916908362ffffff1602179055509050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e490615028565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128de9190613692565b60405180910390a3505050565b6128f6848484612266565b61290284848484612df2565b612941576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612938906150ba565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff1661296983612573565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008214156129d0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ae4565b600082905060005b60008214612a025780806129eb906147ff565b915050600a826129fb9190614461565b91506129d8565b60008167ffffffffffffffff811115612a1e57612a1d613a0b565b5b6040519080825280601f01601f191660200182016040528015612a505781602001600182028036833780820191505090505b5090505b60008514612add57600182612a6991906146e3565b9150600a85612a7891906150da565b6030612a849190614717565b60f81b818381518110612a9a57612a996145b6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ad69190614461565b9450612a54565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612bb457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612bc45750612bc382612f89565b5b9050919050565b612bd6838383612ff3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c1957612c1481612ff8565b612c58565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c5757612c568382613041565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c9b57612c96816131ae565b612cda565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612cd957612cd8828261327f565b5b5b505050565b505050565b60008082905060005b8451811015612d8c576000858281518110612d0b57612d0a6145b6565b5b60200260200101519050808311612d4c578281604051602001612d2f92919061512c565b604051602081830303815290604052805190602001209250612d78565b8083604051602001612d5f92919061512c565b6040516020818303038152906040528051906020012092505b508080612d84906147ff565b915050612ced565b508091505092915050565b612da183836132fe565b612dae6000848484612df2565b612ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de4906150ba565b60405180910390fd5b505050565b6000612e138473ffffffffffffffffffffffffffffffffffffffff16613518565b15612f7c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e3c612110565b8786866040518563ffffffff1660e01b8152600401612e5e94939291906151ad565b602060405180830381600087803b158015612e7857600080fd5b505af1925050508015612ea957506040513d601f19601f82011682018060405250810190612ea6919061520e565b60015b612f2c573d8060008114612ed9576040519150601f19603f3d011682016040523d82523d6000602084013e612ede565b606091505b50600081511415612f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1b906150ba565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f81565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161304e84611011565b61305891906146e3565b905060006007600084815260200190815260200160002054905081811461313d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506131c291906146e3565b90506000600960008481526020019081526020016000205490506000600883815481106131f2576131f16145b6565b5b906000526020600020015490508060088381548110613214576132136145b6565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806132635761326261523b565b5b6001900381819060005260206000200160009055905550505050565b600061328a83611011565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561336e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613365906152b6565b60405180910390fd5b61337781612947565b156133b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ae90615322565b60405180910390fd5b6133c360008383612bcb565b6133cc81612947565b1561340c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340390615322565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461351460008383612cdf565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461354790614155565b90600052602060002090601f01602090048101928261356957600085556135b0565b82601f1061358257805160ff19168380011785556135b0565b828001600101855582156135b0579182015b828111156135af578251825591602001919060010190613594565b5b5090506135bd91906135c1565b5090565b5b808211156135da5760008160009055506001016135c2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613627816135f2565b811461363257600080fd5b50565b6000813590506136448161361e565b92915050565b6000602082840312156136605761365f6135e8565b5b600061366e84828501613635565b91505092915050565b60008115159050919050565b61368c81613677565b82525050565b60006020820190506136a76000830184613683565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136e75780820151818401526020810190506136cc565b838111156136f6576000848401525b50505050565b6000601f19601f8301169050919050565b6000613718826136ad565b61372281856136b8565b93506137328185602086016136c9565b61373b816136fc565b840191505092915050565b60006020820190508181036000830152613760818461370d565b905092915050565b6000819050919050565b61377b81613768565b811461378657600080fd5b50565b60008135905061379881613772565b92915050565b6000602082840312156137b4576137b36135e8565b5b60006137c284828501613789565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137f6826137cb565b9050919050565b613806816137eb565b82525050565b600060208201905061382160008301846137fd565b92915050565b613830816137eb565b811461383b57600080fd5b50565b60008135905061384d81613827565b92915050565b6000806040838503121561386a576138696135e8565b5b60006138788582860161383e565b925050602061388985828601613789565b9150509250929050565b61389c81613768565b82525050565b60006020820190506138b76000830184613893565b92915050565b6000806000606084860312156138d6576138d56135e8565b5b60006138e48682870161383e565b93505060206138f58682870161383e565b925050604061390686828701613789565b9150509250925092565b60008060408385031215613927576139266135e8565b5b600061393585828601613789565b925050602061394685828601613789565b9150509250929050565b600060408201905061396560008301856137fd565b6139726020830184613893565b9392505050565b6000819050919050565b61398c81613979565b82525050565b60006020820190506139a76000830184613983565b92915050565b6000602082840312156139c3576139c26135e8565b5b60006139d18482850161383e565b91505092915050565b6139e381613979565b81146139ee57600080fd5b50565b600081359050613a00816139da565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a43826136fc565b810181811067ffffffffffffffff82111715613a6257613a61613a0b565b5b80604052505050565b6000613a756135de565b9050613a818282613a3a565b919050565b600067ffffffffffffffff821115613aa157613aa0613a0b565b5b602082029050602081019050919050565b600080fd5b6000613aca613ac584613a86565b613a6b565b90508083825260208201905060208402830185811115613aed57613aec613ab2565b5b835b81811015613b165780613b0288826139f1565b845260208401935050602081019050613aef565b5050509392505050565b600082601f830112613b3557613b34613a06565b5b8135613b45848260208601613ab7565b91505092915050565b600080600060608486031215613b6757613b666135e8565b5b6000613b75868287016139f1565b9350506020613b86868287016139f1565b925050604084013567ffffffffffffffff811115613ba757613ba66135ed565b5b613bb386828701613b20565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613bdd57613bdc613a0b565b5b613be6826136fc565b9050602081019050919050565b82818337600083830152505050565b6000613c15613c1084613bc2565b613a6b565b905082815260208101848484011115613c3157613c30613bbd565b5b613c3c848285613bf3565b509392505050565b600082601f830112613c5957613c58613a06565b5b8135613c69848260208601613c02565b91505092915050565b600060208284031215613c8857613c876135e8565b5b600082013567ffffffffffffffff811115613ca657613ca56135ed565b5b613cb284828501613c44565b91505092915050565b600060208284031215613cd157613cd06135e8565b5b6000613cdf848285016139f1565b91505092915050565b600080fd5b60008083601f840112613d0357613d02613a06565b5b8235905067ffffffffffffffff811115613d2057613d1f613ce8565b5b602083019150836020820283011115613d3c57613d3b613ab2565b5b9250929050565b60008060208385031215613d5a57613d596135e8565b5b600083013567ffffffffffffffff811115613d7857613d776135ed565b5b613d8485828601613ced565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613dd057613dcf613d90565b5b50565b6000819050613de182613dbf565b919050565b6000613df182613dd3565b9050919050565b613e0181613de6565b82525050565b6000602082019050613e1c6000830184613df8565b92915050565b60008083601f840112613e3857613e37613a06565b5b8235905067ffffffffffffffff811115613e5557613e54613ce8565b5b602083019150836020820283011115613e7157613e70613ab2565b5b9250929050565b600080600060408486031215613e9157613e906135e8565b5b600084013567ffffffffffffffff811115613eaf57613eae6135ed565b5b613ebb86828701613e22565b93509350506020613ece868287016139f1565b9150509250925092565b613ee181613677565b8114613eec57600080fd5b50565b600081359050613efe81613ed8565b92915050565b60008060408385031215613f1b57613f1a6135e8565b5b6000613f298582860161383e565b9250506020613f3a85828601613eef565b9150509250929050565b600067ffffffffffffffff821115613f5f57613f5e613a0b565b5b613f68826136fc565b9050602081019050919050565b6000613f88613f8384613f44565b613a6b565b905082815260208101848484011115613fa457613fa3613bbd565b5b613faf848285613bf3565b509392505050565b600082601f830112613fcc57613fcb613a06565b5b8135613fdc848260208601613f75565b91505092915050565b60008060008060808587031215613fff57613ffe6135e8565b5b600061400d8782880161383e565b945050602061401e8782880161383e565b935050604061402f87828801613789565b925050606085013567ffffffffffffffff8111156140505761404f6135ed565b5b61405c87828801613fb7565b91505092959194509250565b6000806040838503121561407f5761407e6135e8565b5b600061408d8582860161383e565b925050602061409e8582860161383e565b9150509250929050565b60006140b3826137cb565b9050919050565b6140c3816140a8565b81146140ce57600080fd5b50565b6000813590506140e0816140ba565b92915050565b600080604083850312156140fd576140fc6135e8565b5b600061410b858286016140d1565b925050602061411c85828601613789565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061416d57607f821691505b6020821081141561418157614180614126565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141bd6020836136b8565b91506141c882614187565b602082019050919050565b600060208201905081810360008301526141ec816141b0565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061424f6021836136b8565b915061425a826141f3565b604082019050919050565b6000602082019050818103600083015261427e81614242565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006142e1603d836136b8565b91506142ec82614285565b604082019050919050565b60006020820190508181036000830152614310816142d4565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614373602d836136b8565b915061437e82614317565b604082019050919050565b600060208201905081810360008301526143a281614366565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143e382613768565b91506143ee83613768565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614427576144266143a9565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061446c82613768565b915061447783613768565b92508261448757614486614432565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006144ee602b836136b8565b91506144f982614492565b604082019050919050565b6000602082019050818103600083015261451d816144e1565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614580602c836136b8565b915061458b82614524565b604082019050919050565b600060208201905081810360008301526145af81614573565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061461b6018836136b8565b9150614626826145e5565b602082019050919050565b6000602082019050818103600083015261464a8161460e565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006146ad6029836136b8565b91506146b882614651565b604082019050919050565b600060208201905081810360008301526146dc816146a0565b9050919050565b60006146ee82613768565b91506146f983613768565b92508282101561470c5761470b6143a9565b5b828203905092915050565b600061472282613768565b915061472d83613768565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614762576147616143a9565b5b828201905092915050565b7f4578636565647320617661696c61626c6520726573657276656420746f6b656e60008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006147c96021836136b8565b91506147d48261476d565b604082019050919050565b600060208201905081810360008301526147f8816147bc565b9050919050565b600061480a82613768565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561483d5761483c6143a9565b5b600182019050919050565b7f4e6f20626f747321000000000000000000000000000000000000000000000000600082015250565b600061487e6008836136b8565b915061488982614848565b602082019050919050565b600060208201905081810360008301526148ad81614871565b9050919050565b7f496e76616c696420737461746500000000000000000000000000000000000000600082015250565b60006148ea600d836136b8565b91506148f5826148b4565b602082019050919050565b60006020820190508181036000830152614919816148dd565b9050919050565b7f4578636565647320617661696c61626c6520746f6b656e730000000000000000600082015250565b60006149566018836136b8565b915061496182614920565b602082019050919050565b6000602082019050818103600083015261498581614949565b9050919050565b7f4578636565647320616c6c6f77616e6365210000000000000000000000000000600082015250565b60006149c26012836136b8565b91506149cd8261498c565b602082019050919050565b600060208201905081810360008301526149f1816149b5565b9050919050565b7f4e6f7420612076616c69642070726f6f66210000000000000000000000000000600082015250565b6000614a2e6012836136b8565b9150614a39826149f8565b602082019050919050565b60006020820190508181036000830152614a5d81614a21565b9050919050565b7f496e76616c696420616464726573732100000000000000000000000000000000600082015250565b6000614a9a6010836136b8565b9150614aa582614a64565b602082019050919050565b60006020820190508181036000830152614ac981614a8d565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614b06601f836136b8565b9150614b1182614ad0565b602082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b6000614b72601f836136b8565b9150614b7d82614b3c565b602082019050919050565b60006020820190508181036000830152614ba181614b65565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614bd581614155565b614bdf8186614ba8565b94506001821660008114614bfa5760018114614c0b57614c3e565b60ff19831686528186019350614c3e565b614c1485614bb3565b60005b83811015614c3657815481890152600182019150602081019050614c17565b838801955050505b50505092915050565b6000614c52826136ad565b614c5c8185614ba8565b9350614c6c8185602086016136c9565b80840191505092915050565b6000614c848285614bc8565b9150614c908284614c47565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cf86026836136b8565b9150614d0382614c9c565b604082019050919050565b60006020820190508181036000830152614d2781614ceb565b9050919050565b600081905092915050565b50565b6000614d49600083614d2e565b9150614d5482614d39565b600082019050919050565b6000614d6a82614d3c565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b6000614daa6014836136b8565b9150614db582614d74565b602082019050919050565b60006020820190508181036000830152614dd981614d9d565b9050919050565b7f496e76616c696420436f6e747261637420537461746521000000000000000000600082015250565b6000614e166017836136b8565b9150614e2182614de0565b602082019050919050565b60006020820190508181036000830152614e4581614e09565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614ea86025836136b8565b9150614eb382614e4c565b604082019050919050565b60006020820190508181036000830152614ed781614e9b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614f3a6024836136b8565b9150614f4582614ede565b604082019050919050565b60006020820190508181036000830152614f6981614f2d565b9050919050565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b6000614fa6601a836136b8565b9150614fb182614f70565b602082019050919050565b60006020820190508181036000830152614fd581614f99565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006150126019836136b8565b915061501d82614fdc565b602082019050919050565b6000602082019050818103600083015261504181615005565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150a46032836136b8565b91506150af82615048565b604082019050919050565b600060208201905081810360008301526150d381615097565b9050919050565b60006150e582613768565b91506150f083613768565b925082615100576150ff614432565b5b828206905092915050565b6000819050919050565b61512661512182613979565b61510b565b82525050565b60006151388285615115565b6020820191506151488284615115565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061517f82615158565b6151898185615163565b93506151998185602086016136c9565b6151a2816136fc565b840191505092915050565b60006080820190506151c260008301876137fd565b6151cf60208301866137fd565b6151dc6040830185613893565b81810360608301526151ee8184615174565b905095945050505050565b6000815190506152088161361e565b92915050565b600060208284031215615224576152236135e8565b5b6000615232848285016151f9565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152a06020836136b8565b91506152ab8261526a565b602082019050919050565b600060208201905081810360008301526152cf81615293565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061530c601c836136b8565b9150615317826152d6565b602082019050919050565b6000602082019050818103600083015261533b816152ff565b905091905056fea264697066735822122049f35249df304ee5d8ebf6fc82341e9d2b498528f6d4dd214c286ba1b823c6fa64736f6c63430008090033

Deployed Bytecode

0x6080604052600436106102255760003560e01c8063715018a61161012357806395d89b41116100ab578063cd2c70521161006f578063cd2c70521461081f578063e985e9c514610848578063f2fde38b14610885578063f3fef3a3146108ae578063fb7265ff146108d757610225565b806395d89b411461073a578063a22cb46514610765578063b0a1c1c41461078e578063b88d4fde146107b9578063c87b56dd146107e257610225565b806385209ee0116100f257806385209ee0146106885780638abe570e146106b35780638c7ea24b146106dc5780638c874ebd146107055780638da5cb5b1461070f57610225565b8063715018a6146105f45780637cb647591461060b5780637de69d5f14610634578063850f3f3f1461065f57610225565b80632f745c59116101b15780634f6ccce7116101755780634f6ccce7146104e957806355f804b3146105265780636352211e1461054f5780636c0360eb1461058c57806370a08231146105b757610225565b80632f745c59146103de5780633023eba61461041b5780633423e5481461045857806342842e0e1461049557806344d19d2b146104be57610225565b8063095ea7b3116101f8578063095ea7b3146102f857806318160ddd1461032157806323b872dd1461034c5780632a55205a146103755780632eb4a7ab146103b357610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc1461029257806308290dc5146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c919061364a565b610900565b60405161025e9190613692565b60405180910390f35b34801561027357600080fd5b5061027c610922565b6040516102899190613746565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b4919061379e565b6109b4565b6040516102c6919061380c565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f1919061379e565b6109fa565b005b34801561030457600080fd5b5061031f600480360381019061031a9190613853565b610a80565b005b34801561032d57600080fd5b50610336610b98565b60405161034391906138a2565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e91906138bd565b610ba5565b005b34801561038157600080fd5b5061039c60048036038101906103979190613910565b610c05565b6040516103aa929190613950565b60405180910390f35b3480156103bf57600080fd5b506103c8610cc5565b6040516103d59190613992565b60405180910390f35b3480156103ea57600080fd5b5061040560048036038101906104009190613853565b610ccb565b60405161041291906138a2565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d91906139ad565b610d70565b60405161044f91906138a2565b60405180910390f35b34801561046457600080fd5b5061047f600480360381019061047a9190613b4e565b610db9565b60405161048c9190613692565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b791906138bd565b610dcf565b005b3480156104ca57600080fd5b506104d3610def565b6040516104e091906138a2565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b919061379e565b610df5565b60405161051d91906138a2565b60405180910390f35b34801561053257600080fd5b5061054d60048036038101906105489190613c72565b610e66565b005b34801561055b57600080fd5b506105766004803603810190610571919061379e565b610efc565b604051610583919061380c565b60405180910390f35b34801561059857600080fd5b506105a1610f83565b6040516105ae9190613746565b60405180910390f35b3480156105c357600080fd5b506105de60048036038101906105d991906139ad565b611011565b6040516105eb91906138a2565b60405180910390f35b34801561060057600080fd5b506106096110c9565b005b34801561061757600080fd5b50610632600480360381019061062d9190613cbb565b611151565b005b34801561064057600080fd5b506106496111d7565b60405161065691906138a2565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190613d43565b6111dd565b005b34801561069457600080fd5b5061069d611322565b6040516106aa9190613e07565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d59190613e78565b611335565b005b3480156106e857600080fd5b5061070360048036038101906106fe9190613853565b6115f9565b005b61070d611677565b005b34801561071b57600080fd5b506107246118f1565b604051610731919061380c565b60405180910390f35b34801561074657600080fd5b5061074f61191b565b60405161075c9190613746565b60405180910390f35b34801561077157600080fd5b5061078c60048036038101906107879190613f04565b6119ad565b005b34801561079a57600080fd5b506107a36119c3565b6040516107b091906138a2565b60405180910390f35b3480156107c557600080fd5b506107e060048036038101906107db9190613fe5565b6119cb565b005b3480156107ee57600080fd5b506108096004803603810190610804919061379e565b611a2d565b6040516108169190613746565b60405180910390f35b34801561082b57600080fd5b506108466004803603810190610841919061379e565b611ad9565b005b34801561085457600080fd5b5061086f600480360381019061086a9190614068565b611b5f565b60405161087c9190613692565b60405180910390f35b34801561089157600080fd5b506108ac60048036038101906108a791906139ad565b611bf3565b005b3480156108ba57600080fd5b506108d560048036038101906108d091906140e6565b611ceb565b005b3480156108e357600080fd5b506108fe60048036038101906108f9919061379e565b611e18565b005b600061090b82611f79565b8061091b575061091a82611ff3565b5b9050919050565b60606000805461093190614155565b80601f016020809104026020016040519081016040528092919081815260200182805461095d90614155565b80156109aa5780601f1061097f576101008083540402835291602001916109aa565b820191906000526020600020905b81548152906001019060200180831161098d57829003601f168201915b5050505050905090565b60006109bf826120c5565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a02612110565b73ffffffffffffffffffffffffffffffffffffffff16610a206118f1565b73ffffffffffffffffffffffffffffffffffffffff1614610a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6d906141d3565b60405180910390fd5b80600d8190555050565b6000610a8b82610efc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af390614265565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b1b612110565b73ffffffffffffffffffffffffffffffffffffffff161480610b4a5750610b4981610b44612110565b611b5f565b5b610b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b80906142f7565b60405180910390fd5b610b938383612118565b505050565b6000600880549050905090565b610bb6610bb0612110565b826121d1565b610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec90614389565b60405180910390fd5b610c00838383612266565b505050565b6000806000600b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900462ffffff1662ffffff1662ffffff1681525050905080600001519250612710816020015162ffffff1685610cb191906143d8565b610cbb9190614461565b9150509250929050565b600f5481565b6000610cd683611011565b8210610d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0e90614504565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610dc682858561255c565b90509392505050565b610dea838383604051806020016040528060008152506119cb565b505050565b600e5481565b6000610dff610b98565b8210610e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3790614596565b60405180910390fd5b60088281548110610e5457610e536145b6565b5b90600052602060002001549050919050565b610e6e612110565b73ffffffffffffffffffffffffffffffffffffffff16610e8c6118f1565b73ffffffffffffffffffffffffffffffffffffffff1614610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed9906141d3565b60405180910390fd5b8060139080519060200190610ef892919061353b565b5050565b600080610f0883612573565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190614631565b60405180910390fd5b80915050919050565b60138054610f9090614155565b80601f0160208091040260200160405190810160405280929190818152602001828054610fbc90614155565b80156110095780601f10610fde57610100808354040283529160200191611009565b820191906000526020600020905b815481529060010190602001808311610fec57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611082576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611079906146c3565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110d1612110565b73ffffffffffffffffffffffffffffffffffffffff166110ef6118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c906141d3565b60405180910390fd5b61114f60006125b0565b565b611159612110565b73ffffffffffffffffffffffffffffffffffffffff166111776118f1565b73ffffffffffffffffffffffffffffffffffffffff16146111cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c4906141d3565b60405180910390fd5b80600f8190555050565b60105481565b6111e5612110565b73ffffffffffffffffffffffffffffffffffffffff166112036118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611259576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611250906141d3565b60405180910390fd5b6000600183839050600e5461126e91906146e3565b6112789190614717565b116112b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112af906147df565b60405180910390fd5b60005b8282905081101561131d5761130a8383838181106112dc576112db6145b6565b5b90506020020160208101906112f191906139ad565b60016112fb610b98565b6113059190614717565b612676565b8080611315906147ff565b9150506112bb565b505050565b601260009054906101000a900460ff1681565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146113a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139a90614894565b60405180910390fd5b60018060028111156113b8576113b7613d90565b5b601260009054906101000a900460ff1660028111156113da576113d9613d90565b5b1461141a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141190614900565b60405180910390fd5b600e54600d5461142a91906146e3565b611432610b98565b10611472576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114699061496c565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146114f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114eb906149d8565b60405180910390fd5b611542600f5483868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050610db9565b611581576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157890614a44565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906115d1906147ff565b91905055506115f33360016115e4610b98565b6115ee9190614717565b612676565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611669576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166090614ab0565b60405180910390fd5b6116738282612694565b5050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dc90614894565b60405180910390fd5b60028060028111156116fa576116f9613d90565b5b601260009054906101000a900460ff16600281111561171c5761171b613d90565b5b1461175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175390614900565b60405180910390fd5b6010543481146117a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179890614b1c565b60405180910390fd5b600e54600d546117b191906146e3565b6117b9610b98565b106117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f09061496c565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541461187b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611872906149d8565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906118cb906147ff565b91905055506118ed3360016118de610b98565b6118e89190614717565b612676565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461192a90614155565b80601f016020809104026020016040519081016040528092919081815260200182805461195690614155565b80156119a35780601f10611978576101008083540402835291602001916119a3565b820191906000526020600020905b81548152906001019060200180831161198657829003601f168201915b5050505050905090565b6119bf6119b8612110565b838361277e565b5050565b600047905090565b6119dc6119d6612110565b836121d1565b611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1290614389565b60405180910390fd5b611a27848484846128eb565b50505050565b6060611a3c8261ffff16612947565b611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7290614b88565b60405180910390fd5b600060138054611a8a90614155565b905011611aa65760405180602001604052806000815250611ad2565b6013611ab183612988565b604051602001611ac2929190614c78565b6040516020818303038152906040525b9050919050565b611ae1612110565b73ffffffffffffffffffffffffffffffffffffffff16611aff6118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c906141d3565b60405180910390fd5b8060108190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bfb612110565b73ffffffffffffffffffffffffffffffffffffffff16611c196118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611c6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c66906141d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd690614d0e565b60405180910390fd5b611ce8816125b0565b50565b611cf3612110565b73ffffffffffffffffffffffffffffffffffffffff16611d116118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e906141d3565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611d8d90614d5f565b60006040518083038185875af1925050503d8060008114611dca576040519150601f19603f3d011682016040523d82523d6000602084013e611dcf565b606091505b5050905080611e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0a90614dc0565b60405180910390fd5b505050565b611e20612110565b73ffffffffffffffffffffffffffffffffffffffff16611e3e6118f1565b73ffffffffffffffffffffffffffffffffffffffff1614611e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8b906141d3565b60405180910390fd5b60038110611ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ece90614e2c565b60405180910390fd5b6000811415611f10576000601260006101000a81548160ff02191690836002811115611f0657611f05613d90565b5b0217905550611f76565b6001811415611f49576001601260006101000a81548160ff02191690836002811115611f3f57611f3e613d90565b5b0217905550611f75565b6002601260006101000a81548160ff02191690836002811115611f6f57611f6e613d90565b5b02179055505b5b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fec5750611feb82612ae9565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120be57507f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6120ce81612947565b61210d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210490614631565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661218b83610efc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806121dd83610efc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061221f575061221e8185611b5f565b5b8061225d57508373ffffffffffffffffffffffffffffffffffffffff16612245846109b4565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661228682610efc565b73ffffffffffffffffffffffffffffffffffffffff16146122dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d390614ebe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561234c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234390614f50565b60405180910390fd5b612357838383612bcb565b8273ffffffffffffffffffffffffffffffffffffffff1661237782610efc565b73ffffffffffffffffffffffffffffffffffffffff16146123cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c490614ebe565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612557838383612cdf565b505050565b6000826125698584612ce4565b1490509392505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612690828260405180602001604052806000815250612d97565b5050565b6127108111156126d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d090614fbc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff16815250600b60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548162ffffff021916908362ffffff1602179055509050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e490615028565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128de9190613692565b60405180910390a3505050565b6128f6848484612266565b61290284848484612df2565b612941576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612938906150ba565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff1661296983612573565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008214156129d0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ae4565b600082905060005b60008214612a025780806129eb906147ff565b915050600a826129fb9190614461565b91506129d8565b60008167ffffffffffffffff811115612a1e57612a1d613a0b565b5b6040519080825280601f01601f191660200182016040528015612a505781602001600182028036833780820191505090505b5090505b60008514612add57600182612a6991906146e3565b9150600a85612a7891906150da565b6030612a849190614717565b60f81b818381518110612a9a57612a996145b6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ad69190614461565b9450612a54565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612bb457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612bc45750612bc382612f89565b5b9050919050565b612bd6838383612ff3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c1957612c1481612ff8565b612c58565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c5757612c568382613041565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c9b57612c96816131ae565b612cda565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612cd957612cd8828261327f565b5b5b505050565b505050565b60008082905060005b8451811015612d8c576000858281518110612d0b57612d0a6145b6565b5b60200260200101519050808311612d4c578281604051602001612d2f92919061512c565b604051602081830303815290604052805190602001209250612d78565b8083604051602001612d5f92919061512c565b6040516020818303038152906040528051906020012092505b508080612d84906147ff565b915050612ced565b508091505092915050565b612da183836132fe565b612dae6000848484612df2565b612ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de4906150ba565b60405180910390fd5b505050565b6000612e138473ffffffffffffffffffffffffffffffffffffffff16613518565b15612f7c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e3c612110565b8786866040518563ffffffff1660e01b8152600401612e5e94939291906151ad565b602060405180830381600087803b158015612e7857600080fd5b505af1925050508015612ea957506040513d601f19601f82011682018060405250810190612ea6919061520e565b60015b612f2c573d8060008114612ed9576040519150601f19603f3d011682016040523d82523d6000602084013e612ede565b606091505b50600081511415612f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1b906150ba565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f81565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161304e84611011565b61305891906146e3565b905060006007600084815260200190815260200160002054905081811461313d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506131c291906146e3565b90506000600960008481526020019081526020016000205490506000600883815481106131f2576131f16145b6565b5b906000526020600020015490508060088381548110613214576132136145b6565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806132635761326261523b565b5b6001900381819060005260206000200160009055905550505050565b600061328a83611011565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561336e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613365906152b6565b60405180910390fd5b61337781612947565b156133b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ae90615322565b60405180910390fd5b6133c360008383612bcb565b6133cc81612947565b1561340c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340390615322565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461351460008383612cdf565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461354790614155565b90600052602060002090601f01602090048101928261356957600085556135b0565b82601f1061358257805160ff19168380011785556135b0565b828001600101855582156135b0579182015b828111156135af578251825591602001919060010190613594565b5b5090506135bd91906135c1565b5090565b5b808211156135da5760008160009055506001016135c2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613627816135f2565b811461363257600080fd5b50565b6000813590506136448161361e565b92915050565b6000602082840312156136605761365f6135e8565b5b600061366e84828501613635565b91505092915050565b60008115159050919050565b61368c81613677565b82525050565b60006020820190506136a76000830184613683565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136e75780820151818401526020810190506136cc565b838111156136f6576000848401525b50505050565b6000601f19601f8301169050919050565b6000613718826136ad565b61372281856136b8565b93506137328185602086016136c9565b61373b816136fc565b840191505092915050565b60006020820190508181036000830152613760818461370d565b905092915050565b6000819050919050565b61377b81613768565b811461378657600080fd5b50565b60008135905061379881613772565b92915050565b6000602082840312156137b4576137b36135e8565b5b60006137c284828501613789565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137f6826137cb565b9050919050565b613806816137eb565b82525050565b600060208201905061382160008301846137fd565b92915050565b613830816137eb565b811461383b57600080fd5b50565b60008135905061384d81613827565b92915050565b6000806040838503121561386a576138696135e8565b5b60006138788582860161383e565b925050602061388985828601613789565b9150509250929050565b61389c81613768565b82525050565b60006020820190506138b76000830184613893565b92915050565b6000806000606084860312156138d6576138d56135e8565b5b60006138e48682870161383e565b93505060206138f58682870161383e565b925050604061390686828701613789565b9150509250925092565b60008060408385031215613927576139266135e8565b5b600061393585828601613789565b925050602061394685828601613789565b9150509250929050565b600060408201905061396560008301856137fd565b6139726020830184613893565b9392505050565b6000819050919050565b61398c81613979565b82525050565b60006020820190506139a76000830184613983565b92915050565b6000602082840312156139c3576139c26135e8565b5b60006139d18482850161383e565b91505092915050565b6139e381613979565b81146139ee57600080fd5b50565b600081359050613a00816139da565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a43826136fc565b810181811067ffffffffffffffff82111715613a6257613a61613a0b565b5b80604052505050565b6000613a756135de565b9050613a818282613a3a565b919050565b600067ffffffffffffffff821115613aa157613aa0613a0b565b5b602082029050602081019050919050565b600080fd5b6000613aca613ac584613a86565b613a6b565b90508083825260208201905060208402830185811115613aed57613aec613ab2565b5b835b81811015613b165780613b0288826139f1565b845260208401935050602081019050613aef565b5050509392505050565b600082601f830112613b3557613b34613a06565b5b8135613b45848260208601613ab7565b91505092915050565b600080600060608486031215613b6757613b666135e8565b5b6000613b75868287016139f1565b9350506020613b86868287016139f1565b925050604084013567ffffffffffffffff811115613ba757613ba66135ed565b5b613bb386828701613b20565b9150509250925092565b600080fd5b600067ffffffffffffffff821115613bdd57613bdc613a0b565b5b613be6826136fc565b9050602081019050919050565b82818337600083830152505050565b6000613c15613c1084613bc2565b613a6b565b905082815260208101848484011115613c3157613c30613bbd565b5b613c3c848285613bf3565b509392505050565b600082601f830112613c5957613c58613a06565b5b8135613c69848260208601613c02565b91505092915050565b600060208284031215613c8857613c876135e8565b5b600082013567ffffffffffffffff811115613ca657613ca56135ed565b5b613cb284828501613c44565b91505092915050565b600060208284031215613cd157613cd06135e8565b5b6000613cdf848285016139f1565b91505092915050565b600080fd5b60008083601f840112613d0357613d02613a06565b5b8235905067ffffffffffffffff811115613d2057613d1f613ce8565b5b602083019150836020820283011115613d3c57613d3b613ab2565b5b9250929050565b60008060208385031215613d5a57613d596135e8565b5b600083013567ffffffffffffffff811115613d7857613d776135ed565b5b613d8485828601613ced565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613dd057613dcf613d90565b5b50565b6000819050613de182613dbf565b919050565b6000613df182613dd3565b9050919050565b613e0181613de6565b82525050565b6000602082019050613e1c6000830184613df8565b92915050565b60008083601f840112613e3857613e37613a06565b5b8235905067ffffffffffffffff811115613e5557613e54613ce8565b5b602083019150836020820283011115613e7157613e70613ab2565b5b9250929050565b600080600060408486031215613e9157613e906135e8565b5b600084013567ffffffffffffffff811115613eaf57613eae6135ed565b5b613ebb86828701613e22565b93509350506020613ece868287016139f1565b9150509250925092565b613ee181613677565b8114613eec57600080fd5b50565b600081359050613efe81613ed8565b92915050565b60008060408385031215613f1b57613f1a6135e8565b5b6000613f298582860161383e565b9250506020613f3a85828601613eef565b9150509250929050565b600067ffffffffffffffff821115613f5f57613f5e613a0b565b5b613f68826136fc565b9050602081019050919050565b6000613f88613f8384613f44565b613a6b565b905082815260208101848484011115613fa457613fa3613bbd565b5b613faf848285613bf3565b509392505050565b600082601f830112613fcc57613fcb613a06565b5b8135613fdc848260208601613f75565b91505092915050565b60008060008060808587031215613fff57613ffe6135e8565b5b600061400d8782880161383e565b945050602061401e8782880161383e565b935050604061402f87828801613789565b925050606085013567ffffffffffffffff8111156140505761404f6135ed565b5b61405c87828801613fb7565b91505092959194509250565b6000806040838503121561407f5761407e6135e8565b5b600061408d8582860161383e565b925050602061409e8582860161383e565b9150509250929050565b60006140b3826137cb565b9050919050565b6140c3816140a8565b81146140ce57600080fd5b50565b6000813590506140e0816140ba565b92915050565b600080604083850312156140fd576140fc6135e8565b5b600061410b858286016140d1565b925050602061411c85828601613789565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061416d57607f821691505b6020821081141561418157614180614126565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141bd6020836136b8565b91506141c882614187565b602082019050919050565b600060208201905081810360008301526141ec816141b0565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061424f6021836136b8565b915061425a826141f3565b604082019050919050565b6000602082019050818103600083015261427e81614242565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006142e1603d836136b8565b91506142ec82614285565b604082019050919050565b60006020820190508181036000830152614310816142d4565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614373602d836136b8565b915061437e82614317565b604082019050919050565b600060208201905081810360008301526143a281614366565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143e382613768565b91506143ee83613768565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614427576144266143a9565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061446c82613768565b915061447783613768565b92508261448757614486614432565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006144ee602b836136b8565b91506144f982614492565b604082019050919050565b6000602082019050818103600083015261451d816144e1565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614580602c836136b8565b915061458b82614524565b604082019050919050565b600060208201905081810360008301526145af81614573565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061461b6018836136b8565b9150614626826145e5565b602082019050919050565b6000602082019050818103600083015261464a8161460e565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006146ad6029836136b8565b91506146b882614651565b604082019050919050565b600060208201905081810360008301526146dc816146a0565b9050919050565b60006146ee82613768565b91506146f983613768565b92508282101561470c5761470b6143a9565b5b828203905092915050565b600061472282613768565b915061472d83613768565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614762576147616143a9565b5b828201905092915050565b7f4578636565647320617661696c61626c6520726573657276656420746f6b656e60008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006147c96021836136b8565b91506147d48261476d565b604082019050919050565b600060208201905081810360008301526147f8816147bc565b9050919050565b600061480a82613768565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561483d5761483c6143a9565b5b600182019050919050565b7f4e6f20626f747321000000000000000000000000000000000000000000000000600082015250565b600061487e6008836136b8565b915061488982614848565b602082019050919050565b600060208201905081810360008301526148ad81614871565b9050919050565b7f496e76616c696420737461746500000000000000000000000000000000000000600082015250565b60006148ea600d836136b8565b91506148f5826148b4565b602082019050919050565b60006020820190508181036000830152614919816148dd565b9050919050565b7f4578636565647320617661696c61626c6520746f6b656e730000000000000000600082015250565b60006149566018836136b8565b915061496182614920565b602082019050919050565b6000602082019050818103600083015261498581614949565b9050919050565b7f4578636565647320616c6c6f77616e6365210000000000000000000000000000600082015250565b60006149c26012836136b8565b91506149cd8261498c565b602082019050919050565b600060208201905081810360008301526149f1816149b5565b9050919050565b7f4e6f7420612076616c69642070726f6f66210000000000000000000000000000600082015250565b6000614a2e6012836136b8565b9150614a39826149f8565b602082019050919050565b60006020820190508181036000830152614a5d81614a21565b9050919050565b7f496e76616c696420616464726573732100000000000000000000000000000000600082015250565b6000614a9a6010836136b8565b9150614aa582614a64565b602082019050919050565b60006020820190508181036000830152614ac981614a8d565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614b06601f836136b8565b9150614b1182614ad0565b602082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b6000614b72601f836136b8565b9150614b7d82614b3c565b602082019050919050565b60006020820190508181036000830152614ba181614b65565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614bd581614155565b614bdf8186614ba8565b94506001821660008114614bfa5760018114614c0b57614c3e565b60ff19831686528186019350614c3e565b614c1485614bb3565b60005b83811015614c3657815481890152600182019150602081019050614c17565b838801955050505b50505092915050565b6000614c52826136ad565b614c5c8185614ba8565b9350614c6c8185602086016136c9565b80840191505092915050565b6000614c848285614bc8565b9150614c908284614c47565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cf86026836136b8565b9150614d0382614c9c565b604082019050919050565b60006020820190508181036000830152614d2781614ceb565b9050919050565b600081905092915050565b50565b6000614d49600083614d2e565b9150614d5482614d39565b600082019050919050565b6000614d6a82614d3c565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b6000614daa6014836136b8565b9150614db582614d74565b602082019050919050565b60006020820190508181036000830152614dd981614d9d565b9050919050565b7f496e76616c696420436f6e747261637420537461746521000000000000000000600082015250565b6000614e166017836136b8565b9150614e2182614de0565b602082019050919050565b60006020820190508181036000830152614e4581614e09565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614ea86025836136b8565b9150614eb382614e4c565b604082019050919050565b60006020820190508181036000830152614ed781614e9b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614f3a6024836136b8565b9150614f4582614ede565b604082019050919050565b60006020820190508181036000830152614f6981614f2d565b9050919050565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b6000614fa6601a836136b8565b9150614fb182614f70565b602082019050919050565b60006020820190508181036000830152614fd581614f99565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006150126019836136b8565b915061501d82614fdc565b602082019050919050565b6000602082019050818103600083015261504181615005565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150a46032836136b8565b91506150af82615048565b604082019050919050565b600060208201905081810360008301526150d381615097565b9050919050565b60006150e582613768565b91506150f083613768565b925082615100576150ff614432565b5b828206905092915050565b6000819050919050565b61512661512182613979565b61510b565b82525050565b60006151388285615115565b6020820191506151488284615115565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061517f82615158565b6151898185615163565b93506151998185602086016136c9565b6151a2816136fc565b840191505092915050565b60006080820190506151c260008301876137fd565b6151cf60208301866137fd565b6151dc6040830185613893565b81810360608301526151ee8184615174565b905095945050505050565b6000815190506152088161361e565b92915050565b600060208284031215615224576152236135e8565b5b6000615232848285016151f9565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152a06020836136b8565b91506152ab8261526a565b602082019050919050565b600060208201905081810360008301526152cf81615293565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061530c601c836136b8565b9150615317826152d6565b602082019050919050565b6000602082019050818103600083015261533b816152ff565b905091905056fea264697066735822122049f35249df304ee5d8ebf6fc82341e9d2b498528f6d4dd214c286ba1b823c6fa64736f6c63430008090033

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

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