ETH Price: $3,633.87 (+1.37%)

Token

Card (Card)
 

Overview

Max Total Supply

4,902 Card

Holders

1,695

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
callil.eth
Balance
1 Card
0x4defA30195094963cFAc7285d8d6E6E523c7f90D
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Adventure Cards is the first collectable card game stored entirely on chain. Each NFT includes 45 procedurally generated cards, enough to play a full game. Inspired by LOOT and MtG, Adventure cards are crypto primatives. You can do anything you want with them. They are free to mint (except... you know... gas) There are four types of cards: creatures, artifact, enchantments, and spells. You should notice some familiar things in there. 8000 total (4888 minted, the rest are being auctioned or given to contributors.) https://0xAdventures.com/

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Card

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Card.sol
/**
 *Submitted for verification at Etherscan.io on 2021-08-27
 */

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @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 Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

contract Card is ERC721Enumerable, ReentrancyGuard, Ownable {
    string[] private spellMagnifiers = [
        "Instant",
        "Mighty",
        "Dire",
        "Zealous",
        "Ardent",
        "Potent",
        "Urgent",
        "Empyrean",
        "Irate",
        "Clever"
    ];

    string[] private spellType = [
        "Solar",
        "Lunar",
        "Frigid",
        "Shimmering",
        "Gloom",
        "Apocalypse",
        "Corpse",
        "Cataclysmic",
        "Grim",
        "Necro",
        "Sorrow",
        "Victory",
        "Forged",
        "Miracle",
        "Nimble",
        "Hateful",
        "Chimeric",
        "Oblivion",
        "Nature",
        "Dark",
        "Life"
    ];

    string[] private spellNames = [
        "Lightning",
        "Stricken",
        "Revive",
        "Burst",
        "Tempest",
        "Assault",
        "Pandemonium",
        "Rage",
        "Sorrow",
        "Frost",
        "Hypnosis",
        "Vortex",
        "Ice",
        "Fire",
        "Fireball",
        "Wall",
        "Infuriate",
        "Invisibility",
        "Fury",
        "Frenzy",
        "Stun",
        "Heal",
        "Reanimate",
        "Freeze",
        "Burn",
        "Gravitation",
        "Gale",
        "Torment",
        "Maelstrom"
    ];

    string[] private artifactNames = [
        "Divine Robe",
        "Ghost Wand",
        "Scythe",
        "Staff",
        "Gauntlet",
        "Sword",
        "Bow",
        "Shield",
        "Helmet",
        "Boots",
        "Ring",
        "Amulet",
        "Belt",
        "Bracers",
        "Cloak",
        "Gloves",
        "Greaves",
        "Helm",
        "Pendant",
        "Potion",
        "Scepter",
        "Sigil",
        "Tome",
        "Crown",
        "Ring"
    ];

    string[] private enchantmentNames = [
        "Strength",
        "Flight",
        "Shade",
        "Deathgrip",
        "Shield",
        "Drain",
        "Agony",
        "Firebreath",
        "Blight",
        "Lethargy",
        "Shrink",
        "Invert",
        "Age",
        "Alacrity",
        "Haste"
    ];

    string[] private commonCreature = [
        "Spider",
        "Warlock",
        "Magi",
        "Skin-Walker",
        "Paladin",
        "Berserker",
        "Fairy",
        "Troll",
        "Wolf",
        "Ghoul",
        "Eagle"
    ];

    string[] private rareCreature = ["Goblin", "Orc", "Griffin", "Kraken", "Cyclops", "Hydra"];

    string[] private legendaryCreature = ["Elf", "Dwarf", "Ogre", "Giant", "Oni"];

    string[] private mythicCreature = ["Dragon", "Wizard", "Phoenix", "Demon"];

    string[] private creatureModifiers = [
        "Knight",
        "King",
        "Queen",
        "Lord",
        "Rogue",
        "Undead",
        "Merchant",
        "Thief",
        "Assassin",
        "Fighter",
        "Warrior",
        "Monk",
        "Priest"
    ];

    string[] private mythicCreatureModifiers = ["Nameless", "Chaos", "Time", "Grand", "Undead", "Ancient"];

    string[] private nameModifiers = ["Aura", "Light", "Snow", "Dark", "Death", "Earth", "Frozen"];

    string[] private locations = [
        "of the West",
        "of the Plains",
        "of the Swamp",
        "of the Low Hills",
        "of the Border",
        "of the Bright Mountains",
        "of the Polar Woods",
        "of the Golden Palace",
        "of the Eastern Skies",
        "of the Haven",
        "of the Black Stone",
        "of the Frozen Castle",
        "of the Magical Forest",
        "of the Eternal Land",
        "of the Arctic Blizzards",
        "of the Mountains"
    ];

    string[] private mythicLocations = [
        "of the Light",
        "of the Sky",
        "of Hate",
        "of Illusion",
        "of the Dead",
        "of the Shadows",
        "of the Void"
    ];

    string private _tokenBaseURI = "https://0xAdventures.com/";
    bool public frozen = false;

    function freezeBaseURI() public onlyOwner {
        frozen = true;
    }

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

    function setBaseURI(string memory baseURI) public onlyOwner {
        require(!frozen, "Contract is frozen.");
        _tokenBaseURI = baseURI;
    }

    function random(string memory input) internal pure returns (uint256) {
        return uint256(keccak256(abi.encodePacked(input)));
    }

    function getCardTitle(uint256 tokenId, uint256 offset) public view returns (string memory) {
        // require(tokenId <= MAX_MINT, "only 8000 can be minted");
        require(offset < 45, "only 45 card titles per deck");

        uint256 cardRand = random(string(abi.encodePacked(toString(tokenId), toString(offset))));
        uint256 deckRarity = random(string(abi.encodePacked(toString(tokenId))));

        uint8 cardQuality = 3;
        string[] memory monsterArray = mythicCreature;

        uint8 level1 = 20;
        uint8 level2 = (20 + 12);
        uint8 level3 = (20 + 12 + 4);

        if (deckRarity % 40 < 23) {
            level1 = 30;
            level2 = (30 + 9);
            level3 = (30 + 9 + 4);
        } else if (deckRarity % 40 < 37) {
            level1 = 25;
            level2 = (25 + 12);
            level3 = (25 + 12 + 5);
        }

        if (cardRand % 45 < level1) {
            cardQuality = 0;
            monsterArray = commonCreature;
        } else if (cardRand % 45 < level2) {
            cardQuality = 1;
            monsterArray = rareCreature;
        } else if (cardRand % 45 < level3) {
            cardQuality = 2;
            monsterArray = legendaryCreature;
        }

        if (cardRand % 10 < 5) {
            return pluckCreature(tokenId, "MONSTER", monsterArray, offset, cardQuality);
        } else if (cardRand % 10 < 6) {
            return pluckOther(tokenId, "ARTIFACTS", artifactNames, offset, cardQuality);
        } else if (cardRand % 10 < 8) {
            return pluckOther(tokenId, "SPELL", spellNames, offset, cardQuality);
        } else {
            return pluckOther(tokenId, "ENCHANTMENT", enchantmentNames, offset, cardQuality);
        }
    }

    function pluckCreature(
        uint256 tokenId,
        string memory keyPrefix,
        string[] memory sourceArray,
        uint256 offset,
        uint8 cardQuality
    ) internal view returns (string memory) {
        uint256 rand = random(string(abi.encodePacked(keyPrefix, toString(tokenId), toString(offset))));
        string memory output = string(abi.encodePacked(sourceArray[rand % sourceArray.length]));

        if (cardQuality == 1 || cardQuality == 2) {
            output = string(
                abi.encodePacked(
                    nameModifiers[rand % nameModifiers.length],
                    " ",
                    creatureModifiers[rand % creatureModifiers.length],
                    " ",
                    output
                )
            );
        }

        if (cardQuality == 2) {
            output = string(abi.encodePacked(output, " ", locations[rand % locations.length]));
        }

        if (cardQuality == 3) {
            output = string(
                abi.encodePacked(
                    nameModifiers[rand % nameModifiers.length],
                    " ",
                    mythicCreatureModifiers[rand % mythicCreatureModifiers.length],
                    " ",
                    output,
                    " ",
                    mythicLocations[rand % mythicLocations.length]
                )
            );
        }

        return output;
    }

    function pluckOther(
        uint256 tokenId,
        string memory keyPrefix,
        string[] memory sourceArray,
        uint256 offset,
        uint8 cardQuality
    ) internal view returns (string memory) {
        uint256 rand = random(string(abi.encodePacked(keyPrefix, toString(tokenId), toString(offset))));

        string memory output = string(abi.encodePacked(sourceArray[rand % sourceArray.length]));

        if (cardQuality > 0) {
            output = string(abi.encodePacked(spellType[rand % spellType.length], " ", output));
        }

        if (cardQuality > 1) {
            output = string(abi.encodePacked(spellMagnifiers[rand % spellMagnifiers.length], " ", output));
        }

        return output;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        string memory output;
        string memory stringTokenId = toString(tokenId);

        for (uint256 i = 0; i < 11; i = i + 1) {
            uint256 offset = (i + 1) * 18 + 73;
            output = string(
                abi.encodePacked(
                    output,
                    "<tspan x='32' y='",
                    toString(offset),
                    "'>",
                    getCardTitle(tokenId, i),
                    "</tspan>"
                )
            );
        }

        uint256 creatureCount = 0;
        uint256 artifactCount = 0;
        uint256 spellCount = 0;
        uint256 enchantmentCount = 0;

        for (uint256 i = 10; i < 45; i++) {
            uint256 cardSplit = random(string(abi.encodePacked(toString(tokenId), toString(i))));
            uint256 cardCatagory = cardSplit % 10;
            if (cardCatagory % 10 < 5) {
                creatureCount++;
            } else if (cardCatagory % 10 < 6) {
                artifactCount++;
            } else if (cardCatagory % 10 < 8) {
                spellCount++;
            } else {
                enchantmentCount++;
            }
        }

        output = string(
            abi.encodePacked(
                output,
                "</text> <text fill='white' xml:space='preserve' style='white-space: pre;' font-family='Georgia' font-size='8' letter-spacing='0em'><tspan x='32' y='308.291'>34 other cards: ",
                toString(creatureCount),
                " monsters, ",
                toString(enchantmentCount),
                " enchantments,",
                toString(spellCount),
                " spells, ",
                toString(artifactCount),
                " artifacts</tspan></text>"
            )
        );

        output = string(
            abi.encodePacked(
                "<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMinYMin meet' viewBox='0 0 350 350'> <rect width='350' height='350' fill='url(#paint0_linear)'/> <rect width='318' height='318' transform='translate(16 16)' fill='#16150f'/> <text fill='white' xml:space='preserve' style='white-space: pre;' font-family='Georgia' font-size='12' font-weight='bold' letter-spacing='0em'><tspan x='32' y='62.1865'>STARTER DECK</tspan></text> <text fill='#F19100' xml:space='preserve' style='white-space: pre;' font-family='Georgia' font-size='16' font-weight='bold' letter-spacing='0.16em'><tspan x='32' y='43.582'>45 ADVENTURE CARDS</tspan></text> <text fill='white' xml:space='preserve' style='white-space: pre;' font-family='Georgia' font-size='12' letter-spacing='0em'>",
                output,
                "<defs> <linearGradient id='paint0_linear' x1='175' y1='350' x2='175' y2='0' gradientUnits='userSpaceOnUse'> <stop stop-color='#744500'/> <stop offset='1' stop-color='#D68103'/> </linearGradient> </defs></svg>"
            )
        );

        string memory animationUrl = string(abi.encodePacked(_baseURI(), "animation/", stringTokenId));
        string memory externalUrl = string(abi.encodePacked(_baseURI(), "decks/", stringTokenId));

        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "Adventure Cards #',
                        stringTokenId,
                        '", "animation_url": "',
                        animationUrl,
                        '", "external_url": "',
                        externalUrl,
                        '", "description": "Cards is an on chain, collectable card game, based on crypto primitives. Each Starter Deck is 45 cards, a mix of rarities and types. The decks can be unbundled and used however you like.", "image": "data:image/svg+xml;base64,',
                        Base64.encode(bytes(output)),
                        '"}'
                    )
                )
            )
        );

        output = string(abi.encodePacked("data:application/json;base64,", json));

        return output;
    }

    mapping(address => uint256) private _mintPerAddress;

    uint256 public MAX_PER_ADDRESS = 2;
    uint256 public MAX_MINT = 8000;

    uint256 public publicIssued = 0;
    uint256 public publicMax = 0;

    function mintPublic() public {
        require(_mintPerAddress[msg.sender] < MAX_PER_ADDRESS, "You have reached your minting limit.");
        require(publicIssued < 7778, "There are no more NFTs for public minting.");
        require(publicIssued < publicMax, "There are no more NFTs for public minting at this time.");

        _mintPerAddress[msg.sender] += 1;

        uint256 tokenId = publicIssued + 1;

        publicIssued += 1;
        _safeMint(msg.sender, tokenId);
    }

    function setPublicMax(uint256 _publicMax) public onlyOwner {
        require(_publicMax <= MAX_MINT, "You can not set it that high.");

        publicMax = _publicMax;
    }

    function ownerClaim(uint256 tokenId) public nonReentrant onlyOwner {
        require(tokenId > 7777 && tokenId < 8001, "Token ID invalid");
        _safeMint(owner(), tokenId);
    }

    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT license
        // 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);
    }

    constructor() ERC721("Card", "Card") Ownable() {}
}

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

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

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":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_ADDRESS","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":"freezeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"offset","type":"uint256"}],"name":"getCardTitle","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPublic","outputs":[],"stateMutability":"nonpayable","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":"ownerClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicIssued","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"_publicMax","type":"uint256"}],"name":"setPublicMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518061014001604052806040518060400160405280600781526020017f496e7374616e740000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f4d6967687479000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f446972650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f5a65616c6f75730000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f417264656e74000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f506f74656e74000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f557267656e74000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f456d70797265616e00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f497261746500000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f436c657665720000000000000000000000000000000000000000000000000000815250815250600c90600a6200026e92919062002c11565b50604051806102a001604052806040518060400160405280600581526020017f536f6c617200000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4c756e617200000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f467269676964000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600a81526020017f5368696d6d6572696e670000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f476c6f6f6d00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600a81526020017f41706f63616c797073650000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f436f72707365000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600b81526020017f43617461636c79736d696300000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4772696d0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4e6563726f00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f536f72726f77000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f566963746f72790000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f466f72676564000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f4d697261636c650000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f4e696d626c65000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f4861746566756c0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f4368696d6572696300000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f4f626c6976696f6e00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f4e6174757265000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4461726b0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4c69666500000000000000000000000000000000000000000000000000000000815250815250600d9060156200076292919062002c78565b50604051806103a001604052806040518060400160405280600981526020017f4c696768746e696e67000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f53747269636b656e00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f526576697665000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f427572737400000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f54656d706573740000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f41737361756c740000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600b81526020017f50616e64656d6f6e69756d00000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f526167650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f536f72726f77000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f46726f737400000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f4879706e6f73697300000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f566f72746578000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f496365000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f466972650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f4669726562616c6c00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f57616c6c0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f496e66757269617465000000000000000000000000000000000000000000000081525081526020016040518060400160405280600c81526020017f496e7669736962696c697479000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f467572790000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f4672656e7a79000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f5374756e0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4865616c0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f5265616e696d617465000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f467265657a65000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4275726e0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600b81526020017f4772617669746174696f6e00000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f47616c650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f546f726d656e740000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f4d61656c7374726f6d0000000000000000000000000000000000000000000000815250815250600e90601d62000e2e92919062002cdf565b506040518061032001604052806040518060400160405280600b81526020017f446976696e6520526f626500000000000000000000000000000000000000000081525081526020016040518060400160405280600a81526020017f47686f73742057616e640000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f536379746865000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f537461666600000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f4761756e746c657400000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f53776f726400000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f426f77000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f536869656c64000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f48656c6d6574000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f426f6f747300000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f52696e670000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f416d756c6574000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f42656c740000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f427261636572730000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f436c6f616b00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f476c6f766573000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f477265617665730000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f48656c6d0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f50656e64616e740000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f506f74696f6e000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f536365707465720000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f536967696c00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f546f6d650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f43726f776e00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f52696e6700000000000000000000000000000000000000000000000000000000815250815250600f9060196200140e92919062002d46565b50604051806101e001604052806040518060400160405280600881526020017f537472656e67746800000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f466c69676874000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f536861646500000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f446561746867726970000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f536869656c64000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f447261696e00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f41676f6e7900000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600a81526020017f466972656272656174680000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f426c69676874000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f4c6574686172677900000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f536872696e6b000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f496e76657274000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f416765000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f416c61637269747900000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4861737465000000000000000000000000000000000000000000000000000000815250815250601090600f620017a092919062002dad565b506040518061016001604052806040518060400160405280600681526020017f537069646572000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f5761726c6f636b0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4d6167690000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600b81526020017f536b696e2d57616c6b657200000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f50616c6164696e0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f4265727365726b6572000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f466169727900000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f54726f6c6c00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f576f6c660000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f47686f756c00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4561676c65000000000000000000000000000000000000000000000000000000815250815250601190600b62001a4692919062002e14565b506040518060c001604052806040518060400160405280600681526020017f476f626c696e000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f4f7263000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f4772696666696e0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f4b72616b656e000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f4379636c6f70730000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4879647261000000000000000000000000000000000000000000000000000000815250815250601290600662001bc492919062002e7b565b506040518060a001604052806040518060400160405280600381526020017f456c66000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f447761726600000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4f6772650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4769616e7400000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f4f6e690000000000000000000000000000000000000000000000000000000000815250815250601390600562001d0792919062002ee2565b5060405180608001604052806040518060400160405280600681526020017f447261676f6e000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f57697a617264000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f50686f656e69780000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f44656d6f6e000000000000000000000000000000000000000000000000000000815250815250601490600462001e0f92919062002f49565b50604051806101a001604052806040518060400160405280600681526020017f4b6e69676874000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4b696e670000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f517565656e00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4c6f72640000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f526f67756500000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f556e64656164000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f4d65726368616e7400000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f546869656600000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f417373617373696e00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f466967687465720000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f57617272696f720000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4d6f6e6b0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f5072696573740000000000000000000000000000000000000000000000000000815250815250601590600d6200212b92919062002fb0565b506040518060c001604052806040518060400160405280600881526020017f4e616d656c65737300000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4368616f7300000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f54696d650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4772616e6400000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f556e64656164000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f416e6369656e74000000000000000000000000000000000000000000000000008152508152506016906006620022a992919062002e7b565b506040518060e001604052806040518060400160405280600481526020017f417572610000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4c6967687400000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f536e6f770000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4461726b0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f446561746800000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f456172746800000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f46726f7a656e000000000000000000000000000000000000000000000000000081525081525060179060076200246292919062003017565b506040518061020001604052806040518060400160405280600b81526020017f6f6620746865205765737400000000000000000000000000000000000000000081525081526020016040518060400160405280600d81526020017f6f662074686520506c61696e730000000000000000000000000000000000000081525081526020016040518060400160405280600c81526020017f6f6620746865205377616d70000000000000000000000000000000000000000081525081526020016040518060400160405280601081526020017f6f6620746865204c6f772048696c6c730000000000000000000000000000000081525081526020016040518060400160405280600d81526020017f6f662074686520426f726465720000000000000000000000000000000000000081525081526020016040518060400160405280601781526020017f6f662074686520427269676874204d6f756e7461696e7300000000000000000081525081526020016040518060400160405280601281526020017f6f662074686520506f6c617220576f6f6473000000000000000000000000000081525081526020016040518060400160405280601481526020017f6f662074686520476f6c64656e2050616c61636500000000000000000000000081525081526020016040518060400160405280601481526020017f6f6620746865204561737465726e20536b69657300000000000000000000000081525081526020016040518060400160405280600c81526020017f6f662074686520486176656e000000000000000000000000000000000000000081525081526020016040518060400160405280601281526020017f6f662074686520426c61636b2053746f6e65000000000000000000000000000081525081526020016040518060400160405280601481526020017f6f66207468652046726f7a656e20436173746c6500000000000000000000000081525081526020016040518060400160405280601581526020017f6f6620746865204d61676963616c20466f72657374000000000000000000000081525081526020016040518060400160405280601381526020017f6f662074686520457465726e616c204c616e640000000000000000000000000081525081526020016040518060400160405280601781526020017f6f66207468652041726374696320426c697a7a6172647300000000000000000081525081526020016040518060400160405280601081526020017f6f6620746865204d6f756e7461696e730000000000000000000000000000000081525081525060189060106200282f9291906200307e565b506040518060e001604052806040518060400160405280600c81526020017f6f6620746865204c69676874000000000000000000000000000000000000000081525081526020016040518060400160405280600a81526020017f6f662074686520536b790000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f6f6620486174650000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600b81526020017f6f6620496c6c7573696f6e00000000000000000000000000000000000000000081525081526020016040518060400160405280600b81526020017f6f6620746865204465616400000000000000000000000000000000000000000081525081526020016040518060400160405280600e81526020017f6f662074686520536861646f777300000000000000000000000000000000000081525081526020016040518060400160405280600b81526020017f6f662074686520566f69640000000000000000000000000000000000000000008152508152506019906007620029e892919062003017565b506040518060400160405280601981526020017f68747470733a2f2f3078416476656e74757265732e636f6d2f00000000000000815250601a908051906020019062002a36929190620030e5565b506000601b60006101000a81548160ff0219169083151502179055506002601d55611f40601e556000601f55600060205534801562002a7457600080fd5b506040518060400160405280600481526020017f43617264000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4361726400000000000000000000000000000000000000000000000000000000815250816000908051906020019062002af9929190620030e5565b50806001908051906020019062002b12929190620030e5565b5050506001600a8190555062002b3d62002b3162002b4360201b60201c565b62002b4b60201b60201c565b62003268565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805482825590600052602060002090810192821562002c65579160200282015b8281111562002c6457825182908051906020019062002c53929190620030e5565b509160200191906001019062002c32565b5b50905062002c74919062003176565b5090565b82805482825590600052602060002090810192821562002ccc579160200282015b8281111562002ccb57825182908051906020019062002cba929190620030e5565b509160200191906001019062002c99565b5b50905062002cdb919062003176565b5090565b82805482825590600052602060002090810192821562002d33579160200282015b8281111562002d3257825182908051906020019062002d21929190620030e5565b509160200191906001019062002d00565b5b50905062002d42919062003176565b5090565b82805482825590600052602060002090810192821562002d9a579160200282015b8281111562002d9957825182908051906020019062002d88929190620030e5565b509160200191906001019062002d67565b5b50905062002da9919062003176565b5090565b82805482825590600052602060002090810192821562002e01579160200282015b8281111562002e0057825182908051906020019062002def929190620030e5565b509160200191906001019062002dce565b5b50905062002e10919062003176565b5090565b82805482825590600052602060002090810192821562002e68579160200282015b8281111562002e6757825182908051906020019062002e56929190620030e5565b509160200191906001019062002e35565b5b50905062002e77919062003176565b5090565b82805482825590600052602060002090810192821562002ecf579160200282015b8281111562002ece57825182908051906020019062002ebd929190620030e5565b509160200191906001019062002e9c565b5b50905062002ede919062003176565b5090565b82805482825590600052602060002090810192821562002f36579160200282015b8281111562002f3557825182908051906020019062002f24929190620030e5565b509160200191906001019062002f03565b5b50905062002f45919062003176565b5090565b82805482825590600052602060002090810192821562002f9d579160200282015b8281111562002f9c57825182908051906020019062002f8b929190620030e5565b509160200191906001019062002f6a565b5b50905062002fac919062003176565b5090565b82805482825590600052602060002090810192821562003004579160200282015b828111156200300357825182908051906020019062002ff2929190620030e5565b509160200191906001019062002fd1565b5b50905062003013919062003176565b5090565b8280548282559060005260206000209081019282156200306b579160200282015b828111156200306a57825182908051906020019062003059929190620030e5565b509160200191906001019062003038565b5b5090506200307a919062003176565b5090565b828054828255906000526020600020908101928215620030d2579160200282015b82811115620030d1578251829080519060200190620030c0929190620030e5565b50916020019190600101906200309f565b5b509050620030e1919062003176565b5090565b828054620030f39062003203565b90600052602060002090601f01602090048101928262003117576000855562003163565b82601f106200313257805160ff191683800117855562003163565b8280016001018555821562003163579182015b828111156200316257825182559160200191906001019062003145565b5b5090506200317291906200319e565b5090565b5b808211156200319a5760008181620031909190620031bd565b5060010162003177565b5090565b5b80821115620031b95760008160009055506001016200319f565b5090565b508054620031cb9062003203565b6000825580601f10620031df575062003200565b601f016020900490600052602060002090810190620031ff91906200319e565b5b50565b600060028204905060018216806200321c57607f821691505b6020821081141562003233576200323262003239565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615fb480620032786000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063a22cb465116100a2578063e7bc820811610071578063e7bc820814610543578063e985e9c51461054d578063f0292a031461057d578063f2fde38b1461059b576101da565b8063a22cb465146104bd578063b88d4fde146104d9578063c87b56dd146104f5578063e527c6dd14610525576101da565b80638da5cb5b116100de5780638da5cb5b146104335780638fd995ab1461045157806394fe82511461048157806395d89b411461049f576101da565b806370a08231146103ef578063715018a61461041f5780638c874ebd14610429576101da565b806323b872dd1161017c5780634f6ccce71161014b5780634f6ccce71461035757806355f804b3146103875780636352211e146103a357806366566046146103d3576101da565b806323b872dd146102d35780632f745c59146102ef57806342842e0e1461031f578063434f48c41461033b576101da565b8063081812fc116101b8578063081812fc1461024b578063095ea7b31461027b5780630aaef2851461029757806318160ddd146102b5576101da565b806301ffc9a7146101df578063054f7d9c1461020f57806306fdde031461022d575b600080fd5b6101f960048036038101906101f49190613ae0565b6105b7565b6040516102069190614712565b60405180910390f35b610217610631565b6040516102249190614712565b60405180910390f35b610235610644565b604051610242919061472d565b60405180910390f35b61026560048036038101906102609190613b83565b6106d6565b60405161027291906146ab565b60405180910390f35b61029560048036038101906102909190613aa0565b61075b565b005b61029f610873565b6040516102ac9190614a6f565b60405180910390f35b6102bd610879565b6040516102ca9190614a6f565b60405180910390f35b6102ed60048036038101906102e8919061398a565b610886565b005b61030960048036038101906103049190613aa0565b6108e6565b6040516103169190614a6f565b60405180910390f35b6103396004803603810190610334919061398a565b61098b565b005b61035560048036038101906103509190613b83565b6109ab565b005b610371600480360381019061036c9190613b83565b610ae2565b60405161037e9190614a6f565b60405180910390f35b6103a1600480360381019061039c9190613b3a565b610b53565b005b6103bd60048036038101906103b89190613b83565b610c39565b6040516103ca91906146ab565b60405180910390f35b6103ed60048036038101906103e89190613b83565b610ceb565b005b6104096004803603810190610404919061391d565b610db6565b6040516104169190614a6f565b60405180910390f35b610427610e6e565b005b610431610ef6565b005b61043b611096565b60405161044891906146ab565b60405180910390f35b61046b60048036038101906104669190613bb0565b6110c0565b604051610478919061472d565b60405180910390f35b61048961197c565b6040516104969190614a6f565b60405180910390f35b6104a7611982565b6040516104b4919061472d565b60405180910390f35b6104d760048036038101906104d29190613a60565b611a14565b005b6104f360048036038101906104ee91906139dd565b611b95565b005b61050f600480360381019061050a9190613b83565b611bf7565b60405161051c919061472d565b60405180910390f35b61052d611ec0565b60405161053a9190614a6f565b60405180910390f35b61054b611ec6565b005b6105676004803603810190610562919061394a565b611f5f565b6040516105749190614712565b60405180910390f35b610585611ff3565b6040516105929190614a6f565b60405180910390f35b6105b560048036038101906105b0919061391d565b611ff9565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062a5750610629826120f1565b5b9050919050565b601b60009054906101000a900460ff1681565b60606000805461065390614d34565b80601f016020809104026020016040519081016040528092919081815260200182805461067f90614d34565b80156106cc5780601f106106a1576101008083540402835291602001916106cc565b820191906000526020600020905b8154815290600101906020018083116106af57829003601f168201915b5050505050905090565b60006106e1826121d3565b610720576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107179061492f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061076682610c39565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ce906149af565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107f661223f565b73ffffffffffffffffffffffffffffffffffffffff16148061082557506108248161081f61223f565b611f5f565b5b610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085b9061486f565b60405180910390fd5b61086e8383612247565b505050565b601d5481565b6000600880549050905090565b61089761089161223f565b82612300565b6108d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cd906149ef565b60405180910390fd5b6108e18383836123de565b505050565b60006108f183610db6565b8210610932576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109299061474f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109a683838360405180602001604052806000815250611b95565b505050565b6002600a5414156109f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e890614a4f565b60405180910390fd5b6002600a81905550610a0161223f565b73ffffffffffffffffffffffffffffffffffffffff16610a1f611096565b73ffffffffffffffffffffffffffffffffffffffff1614610a75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6c9061494f565b60405180910390fd5b611e6181118015610a875750611f4181105b610ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abd9061496f565b60405180910390fd5b610ad7610ad1611096565b8261263a565b6001600a8190555050565b6000610aec610879565b8210610b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2490614a2f565b60405180910390fd5b60088281548110610b4157610b40614ecd565b5b90600052602060002001549050919050565b610b5b61223f565b73ffffffffffffffffffffffffffffffffffffffff16610b79611096565b73ffffffffffffffffffffffffffffffffffffffff1614610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc69061494f565b60405180910390fd5b601b60009054906101000a900460ff1615610c1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c16906148ef565b60405180910390fd5b80601a9080519060200190610c35929190613731565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd9906148af565b60405180910390fd5b80915050919050565b610cf361223f565b73ffffffffffffffffffffffffffffffffffffffff16610d11611096565b73ffffffffffffffffffffffffffffffffffffffff1614610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e9061494f565b60405180910390fd5b601e54811115610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da39061484f565b60405180910390fd5b8060208190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1e9061488f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e7661223f565b73ffffffffffffffffffffffffffffffffffffffff16610e94611096565b73ffffffffffffffffffffffffffffffffffffffff1614610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee19061494f565b60405180910390fd5b610ef46000612658565b565b601d54601c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f70906149cf565b60405180910390fd5b611e62601f5410610fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb690614a0f565b60405180910390fd5b602054601f5410611005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffc906148cf565b60405180910390fd5b6001601c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110559190614b69565b9250508190555060006001601f5461106d9190614b69565b90506001601f60008282546110829190614b69565b92505081905550611093338261263a565b50565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060602d8210611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc9061480f565b60405180910390fd5b60006111416111138561271e565b61111c8561271e565b60405160200161112d92919061435c565b60405160208183030381529060405261287f565b905060006111756111518661271e565b6040516020016111619190614345565b60405160208183030381529060405261287f565b905060006003905060006014805480602002602001604051908101604052809291908181526020016000905b8282101561124d5783829060005260206000200180546111c090614d34565b80601f01602080910402602001604051908101604052809291908181526020018280546111ec90614d34565b80156112395780601f1061120e57610100808354040283529160200191611239565b820191906000526020600020905b81548152906001019060200180831161121c57829003601f168201915b5050505050815260200190600101906111a1565b50505050905060006014905060006020905060006024905060176028876112749190614de0565b101561128b57601e925060279150602b90506112ae565b602560288761129a9190614de0565b10156112ad576019925060259150602a90505b5b8260ff16602d886112bf9190614de0565b10156113a257600094506011805480602002602001604051908101604052809291908181526020016000905b8282101561139757838290600052602060002001805461130a90614d34565b80601f016020809104026020016040519081016040528092919081815260200182805461133690614d34565b80156113835780601f1061135857610100808354040283529160200191611383565b820191906000526020600020905b81548152906001019060200180831161136657829003601f168201915b5050505050815260200190600101906112eb565b505050509350611588565b8160ff16602d886113b39190614de0565b101561149657600194506012805480602002602001604051908101604052809291908181526020016000905b8282101561148b5783829060005260206000200180546113fe90614d34565b80601f016020809104026020016040519081016040528092919081815260200182805461142a90614d34565b80156114775780601f1061144c57610100808354040283529160200191611477565b820191906000526020600020905b81548152906001019060200180831161145a57829003601f168201915b5050505050815260200190600101906113df565b505050509350611587565b8060ff16602d886114a79190614de0565b101561158657600294506013805480602002602001604051908101604052809291908181526020016000905b8282101561157f5783829060005260206000200180546114f290614d34565b80601f016020809104026020016040519081016040528092919081815260200182805461151e90614d34565b801561156b5780601f106115405761010080835404028352916020019161156b565b820191906000526020600020905b81548152906001019060200180831161154e57829003601f168201915b5050505050815260200190600101906114d3565b5050505093505b5b5b6005600a886115979190614de0565b10156115ed576115df8a6040518060400160405280600781526020017f4d4f4e5354455200000000000000000000000000000000000000000000000000815250868c896128b2565b975050505050505050611976565b6006600a886115fc9190614de0565b1015611723576117158a6040518060400160405280600981526020017f4152544946414354530000000000000000000000000000000000000000000000815250600f805480602002602001604051908101604052809291908181526020016000905b8282101561170a57838290600052602060002001805461167d90614d34565b80601f01602080910402602001604051908101604052809291908181526020018280546116a990614d34565b80156116f65780601f106116cb576101008083540402835291602001916116f6565b820191906000526020600020905b8154815290600101906020018083116116d957829003601f168201915b50505050508152602001906001019061165e565b505050508c89612afb565b975050505050505050611976565b6008600a886117329190614de0565b10156118595761184b8a6040518060400160405280600581526020017f5350454c4c000000000000000000000000000000000000000000000000000000815250600e805480602002602001604051908101604052809291908181526020016000905b828210156118405783829060005260206000200180546117b390614d34565b80601f01602080910402602001604051908101604052809291908181526020018280546117df90614d34565b801561182c5780601f106118015761010080835404028352916020019161182c565b820191906000526020600020905b81548152906001019060200180831161180f57829003601f168201915b505050505081526020019060010190611794565b505050508c89612afb565b975050505050505050611976565b61196c8a6040518060400160405280600b81526020017f454e4348414e544d454e540000000000000000000000000000000000000000008152506010805480602002602001604051908101604052809291908181526020016000905b828210156119615783829060005260206000200180546118d490614d34565b80601f016020809104026020016040519081016040528092919081815260200182805461190090614d34565b801561194d5780601f106119225761010080835404028352916020019161194d565b820191906000526020600020905b81548152906001019060200180831161193057829003601f168201915b5050505050815260200190600101906118b5565b505050508c89612afb565b9750505050505050505b92915050565b601f5481565b60606001805461199190614d34565b80601f01602080910402602001604051908101604052809291908181526020018280546119bd90614d34565b8015611a0a5780601f106119df57610100808354040283529160200191611a0a565b820191906000526020600020905b8154815290600101906020018083116119ed57829003601f168201915b5050505050905090565b611a1c61223f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a81906147ef565b60405180910390fd5b8060056000611a9761223f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b4461223f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b899190614712565b60405180910390a35050565b611ba6611ba061223f565b83612300565b611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc906149ef565b60405180910390fd5b611bf184848484612c4f565b50505050565b6060806000611c058461271e565b905060005b600b811015611c8857600060496012600184611c269190614b69565b611c309190614bf0565b611c3a9190614b69565b905083611c468261271e565b611c5088856110c0565b604051602001611c62939291906143e0565b604051602081830303815290604052935050600181611c819190614b69565b9050611c0a565b506000806000806000600a90505b602d811015611d8c576000611cdb611cad8b61271e565b611cb68461271e565b604051602001611cc792919061435c565b60405160208183030381529060405261287f565b90506000600a82611cec9190614de0565b90506005600a82611cfd9190614de0565b1015611d16578680611d0e90614d97565b975050611d77565b6006600a82611d259190614de0565b1015611d3e578580611d3690614d97565b965050611d76565b6008600a82611d4d9190614de0565b1015611d66578480611d5e90614d97565b955050611d75565b8380611d7190614d97565b9450505b5b5b50508080611d8490614d97565b915050611c96565b5085611d978561271e565b611da08361271e565b611da98561271e565b611db28761271e565b604051602001611dc6959493929190614461565b604051602081830303815290604052955085604051602001611de8919061465c565b60405160208183030381529060405295506000611e03612cab565b86604051602001611e159291906144e3565b60405160208183030381529060405290506000611e30612cab565b87604051602001611e42929190614432565b60405160208183030381529060405290506000611e8b888484611e648d612d3d565b604051602001611e7794939291906145e7565b604051602081830303815290604052612d3d565b905080604051602001611e9e9190614689565b6040516020818303038152906040529850889950505050505050505050919050565b60205481565b611ece61223f565b73ffffffffffffffffffffffffffffffffffffffff16611eec611096565b73ffffffffffffffffffffffffffffffffffffffff1614611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f399061494f565b60405180910390fd5b6001601b60006101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601e5481565b61200161223f565b73ffffffffffffffffffffffffffffffffffffffff1661201f611096565b73ffffffffffffffffffffffffffffffffffffffff1614612075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206c9061494f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc9061478f565b60405180910390fd5b6120ee81612658565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121bc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121cc57506121cb82612ed5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122ba83610c39565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061230b826121d3565b61234a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123419061482f565b60405180910390fd5b600061235583610c39565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123c457508373ffffffffffffffffffffffffffffffffffffffff166123ac846106d6565b73ffffffffffffffffffffffffffffffffffffffff16145b806123d557506123d48185611f5f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123fe82610c39565b73ffffffffffffffffffffffffffffffffffffffff1614612454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244b9061498f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bb906147cf565b60405180910390fd5b6124cf838383612f3f565b6124da600082612247565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461252a9190614c4a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125819190614b69565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612654828260405180602001604052806000815250613053565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606000821415612766576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061287a565b600082905060005b6000821461279857808061278190614d97565b915050600a826127919190614bbf565b915061276e565b60008167ffffffffffffffff8111156127b4576127b3614efc565b5b6040519080825280601f01601f1916602001820160405280156127e65781602001600182028036833780820191505090505b5090505b60008514612873576001826127ff9190614c4a565b9150600a8561280e9190614de0565b603061281a9190614b69565b60f81b8183815181106128305761282f614ecd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561286c9190614bbf565b94506127ea565b8093505050505b919050565b6000816040516020016128929190614345565b6040516020818303038152906040528051906020012060001c9050919050565b606060006128f2866128c38961271e565b6128cc8761271e565b6040516020016128de93929190614380565b60405160208183030381529060405261287f565b90506000858651836129049190614de0565b8151811061291557612914614ecd565b5b602002602001015160405160200161292d9190614345565b604051602081830303815290604052905060018460ff161480612953575060028460ff16145b156129d757601780805490508361296a9190614de0565b8154811061297b5761297a614ecd565b5b9060005260206000200160158080549050846129979190614de0565b815481106129a8576129a7614ecd565b5b90600052602060002001826040516020016129c593929190614541565b60405160208183030381529060405290505b60028460ff161415612a34578060188080549050846129f69190614de0565b81548110612a0757612a06614ecd565b5b90600052602060002001604051602001612a229291906143b1565b60405160208183030381529060405290505b60038460ff161415612aed576017808054905083612a529190614de0565b81548110612a6357612a62614ecd565b5b906000526020600020016016808054905084612a7f9190614de0565b81548110612a9057612a8f614ecd565b5b90600052602060002001826019808054905086612aad9190614de0565b81548110612abe57612abd614ecd565b5b90600052602060002001604051602001612adb9493929190614588565b60405160208183030381529060405290505b809250505095945050505050565b60606000612b3b86612b0c8961271e565b612b158761271e565b604051602001612b2793929190614380565b60405160208183030381529060405261287f565b9050600085865183612b4d9190614de0565b81518110612b5e57612b5d614ecd565b5b6020026020010151604051602001612b769190614345565b604051602081830303815290604052905060008460ff161115612be457600d808054905083612ba59190614de0565b81548110612bb657612bb5614ecd565b5b9060005260206000200181604051602001612bd2929190614512565b60405160208183030381529060405290505b60018460ff161115612c4157600c808054905083612c029190614de0565b81548110612c1357612c12614ecd565b5b9060005260206000200181604051602001612c2f929190614512565b60405160208183030381529060405290505b809250505095945050505050565b612c5a8484846123de565b612c66848484846130ae565b612ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9c9061476f565b60405180910390fd5b50505050565b6060601a8054612cba90614d34565b80601f0160208091040260200160405190810160405280929190818152602001828054612ce690614d34565b8015612d335780601f10612d0857610100808354040283529160200191612d33565b820191906000526020600020905b815481529060010190602001808311612d1657829003601f168201915b5050505050905090565b60606000825190506000811415612d665760405180602001604052806000815250915050612ed0565b60006003600283612d779190614b69565b612d819190614bbf565b6004612d8d9190614bf0565b90506000602082612d9e9190614b69565b67ffffffffffffffff811115612db757612db6614efc565b5b6040519080825280601f01601f191660200182016040528015612de95781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615f3f604091399050600181016020830160005b86811015612e8d5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050612e14565b506003860660018114612ea75760028114612eb757612ec2565b613d3d60f01b6002830352612ec2565b603d60f81b60018303525b508484525050819450505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f4a838383613245565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f8d57612f888161324a565b612fcc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612fcb57612fca8382613293565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561300f5761300a81613400565b61304e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461304d5761304c82826134d1565b5b5b505050565b61305d8383613550565b61306a60008484846130ae565b6130a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a09061476f565b60405180910390fd5b505050565b60006130cf8473ffffffffffffffffffffffffffffffffffffffff1661371e565b15613238578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130f861223f565b8786866040518563ffffffff1660e01b815260040161311a94939291906146c6565b602060405180830381600087803b15801561313457600080fd5b505af192505050801561316557506040513d601f19601f820116820180604052508101906131629190613b0d565b60015b6131e8573d8060008114613195576040519150601f19603f3d011682016040523d82523d6000602084013e61319a565b606091505b506000815114156131e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d79061476f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061323d565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132a084610db6565b6132aa9190614c4a565b905060006007600084815260200190815260200160002054905081811461338f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134149190614c4a565b905060006009600084815260200190815260200160002054905060006008838154811061344457613443614ecd565b5b90600052602060002001549050806008838154811061346657613465614ecd565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134b5576134b4614e9e565b5b6001900381819060005260206000200160009055905550505050565b60006134dc83610db6565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b79061490f565b60405180910390fd5b6135c9816121d3565b15613609576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613600906147af565b60405180910390fd5b61361560008383612f3f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136659190614b69565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461373d90614d34565b90600052602060002090601f01602090048101928261375f57600085556137a6565b82601f1061377857805160ff19168380011785556137a6565b828001600101855582156137a6579182015b828111156137a557825182559160200191906001019061378a565b5b5090506137b391906137b7565b5090565b5b808211156137d05760008160009055506001016137b8565b5090565b60006137e76137e284614aaf565b614a8a565b90508281526020810184848401111561380357613802614f30565b5b61380e848285614cf2565b509392505050565b600061382961382484614ae0565b614a8a565b90508281526020810184848401111561384557613844614f30565b5b613850848285614cf2565b509392505050565b60008135905061386781615ee2565b92915050565b60008135905061387c81615ef9565b92915050565b60008135905061389181615f10565b92915050565b6000815190506138a681615f10565b92915050565b600082601f8301126138c1576138c0614f2b565b5b81356138d18482602086016137d4565b91505092915050565b600082601f8301126138ef576138ee614f2b565b5b81356138ff848260208601613816565b91505092915050565b60008135905061391781615f27565b92915050565b60006020828403121561393357613932614f3a565b5b600061394184828501613858565b91505092915050565b6000806040838503121561396157613960614f3a565b5b600061396f85828601613858565b925050602061398085828601613858565b9150509250929050565b6000806000606084860312156139a3576139a2614f3a565b5b60006139b186828701613858565b93505060206139c286828701613858565b92505060406139d386828701613908565b9150509250925092565b600080600080608085870312156139f7576139f6614f3a565b5b6000613a0587828801613858565b9450506020613a1687828801613858565b9350506040613a2787828801613908565b925050606085013567ffffffffffffffff811115613a4857613a47614f35565b5b613a54878288016138ac565b91505092959194509250565b60008060408385031215613a7757613a76614f3a565b5b6000613a8585828601613858565b9250506020613a968582860161386d565b9150509250929050565b60008060408385031215613ab757613ab6614f3a565b5b6000613ac585828601613858565b9250506020613ad685828601613908565b9150509250929050565b600060208284031215613af657613af5614f3a565b5b6000613b0484828501613882565b91505092915050565b600060208284031215613b2357613b22614f3a565b5b6000613b3184828501613897565b91505092915050565b600060208284031215613b5057613b4f614f3a565b5b600082013567ffffffffffffffff811115613b6e57613b6d614f35565b5b613b7a848285016138da565b91505092915050565b600060208284031215613b9957613b98614f3a565b5b6000613ba784828501613908565b91505092915050565b60008060408385031215613bc757613bc6614f3a565b5b6000613bd585828601613908565b9250506020613be685828601613908565b9150509250929050565b613bf981614c7e565b82525050565b613c0881614c90565b82525050565b6000613c1982614b26565b613c238185614b3c565b9350613c33818560208601614d01565b613c3c81614f3f565b840191505092915050565b6000613c5282614b31565b613c5c8185614b4d565b9350613c6c818560208601614d01565b613c7581614f3f565b840191505092915050565b6000613c8b82614b31565b613c958185614b5e565b9350613ca5818560208601614d01565b80840191505092915050565b60008154613cbe81614d34565b613cc88186614b5e565b94506001821660008114613ce35760018114613cf457613d27565b60ff19831686528186019350613d27565b613cfd85614b11565b60005b83811015613d1f57815481890152600182019150602081019050613d00565b838801955050505b50505092915050565b6000613d3d601b83614b5e565b9150613d4882614f50565b601b82019050919050565b6000613d60602b83614b4d565b9150613d6b82614f79565b604082019050919050565b6000613d83603283614b4d565b9150613d8e82614fc8565b604082019050919050565b6000613da6602683614b4d565b9150613db182615017565b604082019050919050565b6000613dc9601c83614b4d565b9150613dd482615066565b602082019050919050565b6000613dec600883614b5e565b9150613df78261508f565b600882019050919050565b6000613e0f602483614b4d565b9150613e1a826150b8565b604082019050919050565b6000613e32601983614b4d565b9150613e3d82615107565b602082019050919050565b6000613e55601c83614b4d565b9150613e6082615130565b602082019050919050565b6000613e78602c83614b4d565b9150613e8382615159565b604082019050919050565b6000613e9c6102fc83614b5e565b9150613ea7826151a8565b6102fc82019050919050565b6000613ec0600b83614b5e565b9150613ecb8261554b565b600b82019050919050565b6000613ee3600183614b5e565b9150613eee82615574565b600182019050919050565b6000613f06601d83614b4d565b9150613f118261559d565b602082019050919050565b6000613f29603883614b4d565b9150613f34826155c6565b604082019050919050565b6000613f4c602a83614b4d565b9150613f5782615615565b604082019050919050565b6000613f6f602983614b4d565b9150613f7a82615664565b604082019050919050565b6000613f9260d083614b5e565b9150613f9d826156b3565b60d082019050919050565b6000613fb5603783614b4d565b9150613fc0826157c0565b604082019050919050565b6000613fd8600983614b5e565b9150613fe38261580f565b600982019050919050565b6000613ffb600283614b5e565b915061400682615838565b600282019050919050565b600061401e601383614b4d565b915061402982615861565b602082019050919050565b6000614041602083614b4d565b915061404c8261588a565b602082019050919050565b6000614064601183614b5e565b915061406f826158b3565b601182019050919050565b6000614087602c83614b4d565b9150614092826158dc565b604082019050919050565b60006140aa602083614b4d565b91506140b58261592b565b602082019050919050565b60006140cd601083614b4d565b91506140d882615954565b602082019050919050565b60006140f0602983614b4d565b91506140fb8261597d565b604082019050919050565b6000614113601483614b5e565b915061411e826159cc565b601482019050919050565b6000614136602183614b4d565b9150614141826159f5565b604082019050919050565b6000614159602483614b4d565b915061416482615a44565b604082019050919050565b600061417c601d83614b5e565b915061418782615a93565b601d82019050919050565b600061419f60f483614b5e565b91506141aa82615abc565b60f482019050919050565b60006141c2600683614b5e565b91506141cd82615bef565b600682019050919050565b60006141e5603183614b4d565b91506141f082615c18565b604082019050919050565b6000614208602a83614b4d565b915061421382615c67565b604082019050919050565b600061422b601983614b5e565b915061423682615cb6565b601982019050919050565b600061424e602c83614b4d565b915061425982615cdf565b604082019050919050565b6000614271600283614b5e565b915061427c82615d2e565b600282019050919050565b600061429460ad83614b5e565b915061429f82615d57565b60ad82019050919050565b60006142b7601f83614b4d565b91506142c282615e3e565b602082019050919050565b60006142da600a83614b5e565b91506142e582615e67565b600a82019050919050565b60006142fd600e83614b5e565b915061430882615e90565b600e82019050919050565b6000614320601583614b5e565b915061432b82615eb9565b601582019050919050565b61433f81614ce8565b82525050565b60006143518284613c80565b915081905092915050565b60006143688285613c80565b91506143748284613c80565b91508190509392505050565b600061438c8286613c80565b91506143988285613c80565b91506143a48284613c80565b9150819050949350505050565b60006143bd8285613c80565b91506143c882613ed6565b91506143d48284613cb1565b91508190509392505050565b60006143ec8286613c80565b91506143f782614057565b91506144038285613c80565b915061440e82614264565b915061441a8284613c80565b915061442582613ddf565b9150819050949350505050565b600061443e8285613c80565b9150614449826141b5565b91506144558284613c80565b91508190509392505050565b600061446d8288613c80565b915061447882614287565b91506144848287613c80565b915061448f82613eb3565b915061449b8286613c80565b91506144a6826142f0565b91506144b28285613c80565b91506144bd82613fcb565b91506144c98284613c80565b91506144d48261421e565b91508190509695505050505050565b60006144ef8285613c80565b91506144fa826142cd565b91506145068284613c80565b91508190509392505050565b600061451e8285613cb1565b915061452982613ed6565b91506145358284613c80565b91508190509392505050565b600061454d8286613cb1565b915061455882613ed6565b91506145648285613cb1565b915061456f82613ed6565b915061457b8284613c80565b9150819050949350505050565b60006145948287613cb1565b915061459f82613ed6565b91506145ab8286613cb1565b91506145b682613ed6565b91506145c28285613c80565b91506145cd82613ed6565b91506145d98284613cb1565b915081905095945050505050565b60006145f282613d30565b91506145fe8287613c80565b915061460982614313565b91506146158286613c80565b915061462082614106565b915061462c8285613c80565b915061463782614192565b91506146438284613c80565b915061464e82613fee565b915081905095945050505050565b600061466782613e8e565b91506146738284613c80565b915061467e82613f85565b915081905092915050565b60006146948261416f565b91506146a08284613c80565b915081905092915050565b60006020820190506146c06000830184613bf0565b92915050565b60006080820190506146db6000830187613bf0565b6146e86020830186613bf0565b6146f56040830185614336565b81810360608301526147078184613c0e565b905095945050505050565b60006020820190506147276000830184613bff565b92915050565b600060208201905081810360008301526147478184613c47565b905092915050565b6000602082019050818103600083015261476881613d53565b9050919050565b6000602082019050818103600083015261478881613d76565b9050919050565b600060208201905081810360008301526147a881613d99565b9050919050565b600060208201905081810360008301526147c881613dbc565b9050919050565b600060208201905081810360008301526147e881613e02565b9050919050565b6000602082019050818103600083015261480881613e25565b9050919050565b6000602082019050818103600083015261482881613e48565b9050919050565b6000602082019050818103600083015261484881613e6b565b9050919050565b6000602082019050818103600083015261486881613ef9565b9050919050565b6000602082019050818103600083015261488881613f1c565b9050919050565b600060208201905081810360008301526148a881613f3f565b9050919050565b600060208201905081810360008301526148c881613f62565b9050919050565b600060208201905081810360008301526148e881613fa8565b9050919050565b6000602082019050818103600083015261490881614011565b9050919050565b6000602082019050818103600083015261492881614034565b9050919050565b600060208201905081810360008301526149488161407a565b9050919050565b600060208201905081810360008301526149688161409d565b9050919050565b60006020820190508181036000830152614988816140c0565b9050919050565b600060208201905081810360008301526149a8816140e3565b9050919050565b600060208201905081810360008301526149c881614129565b9050919050565b600060208201905081810360008301526149e88161414c565b9050919050565b60006020820190508181036000830152614a08816141d8565b9050919050565b60006020820190508181036000830152614a28816141fb565b9050919050565b60006020820190508181036000830152614a4881614241565b9050919050565b60006020820190508181036000830152614a68816142aa565b9050919050565b6000602082019050614a846000830184614336565b92915050565b6000614a94614aa5565b9050614aa08282614d66565b919050565b6000604051905090565b600067ffffffffffffffff821115614aca57614ac9614efc565b5b614ad382614f3f565b9050602081019050919050565b600067ffffffffffffffff821115614afb57614afa614efc565b5b614b0482614f3f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b7482614ce8565b9150614b7f83614ce8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bb457614bb3614e11565b5b828201905092915050565b6000614bca82614ce8565b9150614bd583614ce8565b925082614be557614be4614e40565b5b828204905092915050565b6000614bfb82614ce8565b9150614c0683614ce8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c3f57614c3e614e11565b5b828202905092915050565b6000614c5582614ce8565b9150614c6083614ce8565b925082821015614c7357614c72614e11565b5b828203905092915050565b6000614c8982614cc8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614d1f578082015181840152602081019050614d04565b83811115614d2e576000848401525b50505050565b60006002820490506001821680614d4c57607f821691505b60208210811415614d6057614d5f614e6f565b5b50919050565b614d6f82614f3f565b810181811067ffffffffffffffff82111715614d8e57614d8d614efc565b5b80604052505050565b6000614da282614ce8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614dd557614dd4614e11565b5b600182019050919050565b6000614deb82614ce8565b9150614df683614ce8565b925082614e0657614e05614e40565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f7b226e616d65223a2022416476656e7475726520436172647320230000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f3c2f747370616e3e000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f6f6e6c792034352063617264207469746c657320706572206465636b00000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323060008201527f30302f73766727207072657365727665417370656374526174696f3d27784d6960208201527f6e594d696e206d656574272076696577426f783d27302030203335302033353060408201527f273e203c726563742077696474683d2733353027206865696768743d2733353060608201527f272066696c6c3d2775726c28237061696e74305f6c696e65617229272f3e203c60808201527f726563742077696474683d2733313827206865696768743d273331382720747260a08201527f616e73666f726d3d277472616e736c61746528313620313629272066696c6c3d60c08201527f2723313631353066272f3e203c746578742066696c6c3d27776869746527207860e08201527f6d6c3a73706163653d27707265736572766527207374796c653d2777686974656101008201527f2d73706163653a207072653b2720666f6e742d66616d696c793d2747656f72676101208201527f69612720666f6e742d73697a653d2731322720666f6e742d7765696768743d276101408201527f626f6c6427206c65747465722d73706163696e673d2730656d273e3c747370616101608201527f6e20783d2733322720793d2736322e31383635273e53544152544552204445436101808201527f4b3c2f747370616e3e3c2f746578743e203c746578742066696c6c3d272346316101a08201527f393130302720786d6c3a73706163653d27707265736572766527207374796c656101c08201527f3d2777686974652d73706163653a207072653b2720666f6e742d66616d696c796101e08201527f3d2747656f726769612720666f6e742d73697a653d2731362720666f6e742d776102008201527f65696768743d27626f6c6427206c65747465722d73706163696e673d27302e316102208201527f36656d273e3c747370616e20783d2733322720793d2734332e353832273e34356102408201527f20414456454e545552452043415244533c2f747370616e3e3c2f746578743e206102608201527f3c746578742066696c6c3d2777686974652720786d6c3a73706163653d2770726102808201527f65736572766527207374796c653d2777686974652d73706163653a207072653b6102a08201527f2720666f6e742d66616d696c793d2747656f726769612720666f6e742d73697a6102c08201527f653d27313227206c65747465722d73706163696e673d2730656d273e000000006102e082015250565b7f206d6f6e73746572732c20000000000000000000000000000000000000000000600082015250565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b7f596f752063616e206e6f7420736574206974207468617420686967682e000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f3c646566733e203c6c696e6561724772616469656e742069643d277061696e7460008201527f305f6c696e656172272078313d27313735272079313d27333530272078323d2760208201527f313735272079323d273027206772616469656e74556e6974733d27757365725360408201527f706163654f6e557365273e203c73746f702073746f702d636f6c6f723d27233760608201527f3434353030272f3e203c73746f70206f66667365743d2731272073746f702d6360808201527f6f6c6f723d2723443638313033272f3e203c2f6c696e6561724772616469656e60a08201527f743e203c2f646566733e3c2f7376673e0000000000000000000000000000000060c082015250565b7f546865726520617265206e6f206d6f7265204e46547320666f72207075626c6960008201527f63206d696e74696e6720617420746869732074696d652e000000000000000000602082015250565b7f207370656c6c732c200000000000000000000000000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f436f6e74726163742069732066726f7a656e2e00000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f3c747370616e20783d2733322720793d27000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f222c202265787465726e616c5f75726c223a2022000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f752068617665207265616368656420796f7572206d696e74696e67206c6960008201527f6d69742e00000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f222c20226465736372697074696f6e223a2022436172647320697320616e206f60008201527f6e20636861696e2c20636f6c6c65637461626c6520636172642067616d652c2060208201527f6261736564206f6e2063727970746f207072696d6974697665732e204561636860408201527f2053746172746572204465636b2069732034352063617264732c2061206d697860608201527f206f6620726172697469657320616e642074797065732e20546865206465636b60808201527f732063616e20626520756e62756e646c656420616e64207573656420686f776560a08201527f76657220796f75206c696b652e222c2022696d616765223a2022646174613a6960c08201527f6d6167652f7376672b786d6c3b6261736536342c00000000000000000000000060e082015250565b7f6465636b732f0000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546865726520617265206e6f206d6f7265204e46547320666f72207075626c6960008201527f63206d696e74696e672e00000000000000000000000000000000000000000000602082015250565b7f206172746966616374733c2f747370616e3e3c2f746578743e00000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f273e000000000000000000000000000000000000000000000000000000000000600082015250565b7f3c2f746578743e203c746578742066696c6c3d2777686974652720786d6c3a7360008201527f706163653d27707265736572766527207374796c653d2777686974652d73706160208201527f63653a207072653b2720666f6e742d66616d696c793d2747656f72676961272060408201527f666f6e742d73697a653d273827206c65747465722d73706163696e673d27306560608201527f6d273e3c747370616e20783d2733322720793d273330382e323931273e33342060808201527f6f746865722063617264733a200000000000000000000000000000000000000060a082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f616e696d6174696f6e2f00000000000000000000000000000000000000000000600082015250565b7f20656e6368616e746d656e74732c000000000000000000000000000000000000600082015250565b7f222c2022616e696d6174696f6e5f75726c223a20220000000000000000000000600082015250565b615eeb81614c7e565b8114615ef657600080fd5b50565b615f0281614c90565b8114615f0d57600080fd5b50565b615f1981614c9c565b8114615f2457600080fd5b50565b615f3081614ce8565b8114615f3b57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220722516ebdfcd97b8c014355e65fbb862dd52f7acf8c0aa912aeb53c24bf1ee2764736f6c63430008060033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063a22cb465116100a2578063e7bc820811610071578063e7bc820814610543578063e985e9c51461054d578063f0292a031461057d578063f2fde38b1461059b576101da565b8063a22cb465146104bd578063b88d4fde146104d9578063c87b56dd146104f5578063e527c6dd14610525576101da565b80638da5cb5b116100de5780638da5cb5b146104335780638fd995ab1461045157806394fe82511461048157806395d89b411461049f576101da565b806370a08231146103ef578063715018a61461041f5780638c874ebd14610429576101da565b806323b872dd1161017c5780634f6ccce71161014b5780634f6ccce71461035757806355f804b3146103875780636352211e146103a357806366566046146103d3576101da565b806323b872dd146102d35780632f745c59146102ef57806342842e0e1461031f578063434f48c41461033b576101da565b8063081812fc116101b8578063081812fc1461024b578063095ea7b31461027b5780630aaef2851461029757806318160ddd146102b5576101da565b806301ffc9a7146101df578063054f7d9c1461020f57806306fdde031461022d575b600080fd5b6101f960048036038101906101f49190613ae0565b6105b7565b6040516102069190614712565b60405180910390f35b610217610631565b6040516102249190614712565b60405180910390f35b610235610644565b604051610242919061472d565b60405180910390f35b61026560048036038101906102609190613b83565b6106d6565b60405161027291906146ab565b60405180910390f35b61029560048036038101906102909190613aa0565b61075b565b005b61029f610873565b6040516102ac9190614a6f565b60405180910390f35b6102bd610879565b6040516102ca9190614a6f565b60405180910390f35b6102ed60048036038101906102e8919061398a565b610886565b005b61030960048036038101906103049190613aa0565b6108e6565b6040516103169190614a6f565b60405180910390f35b6103396004803603810190610334919061398a565b61098b565b005b61035560048036038101906103509190613b83565b6109ab565b005b610371600480360381019061036c9190613b83565b610ae2565b60405161037e9190614a6f565b60405180910390f35b6103a1600480360381019061039c9190613b3a565b610b53565b005b6103bd60048036038101906103b89190613b83565b610c39565b6040516103ca91906146ab565b60405180910390f35b6103ed60048036038101906103e89190613b83565b610ceb565b005b6104096004803603810190610404919061391d565b610db6565b6040516104169190614a6f565b60405180910390f35b610427610e6e565b005b610431610ef6565b005b61043b611096565b60405161044891906146ab565b60405180910390f35b61046b60048036038101906104669190613bb0565b6110c0565b604051610478919061472d565b60405180910390f35b61048961197c565b6040516104969190614a6f565b60405180910390f35b6104a7611982565b6040516104b4919061472d565b60405180910390f35b6104d760048036038101906104d29190613a60565b611a14565b005b6104f360048036038101906104ee91906139dd565b611b95565b005b61050f600480360381019061050a9190613b83565b611bf7565b60405161051c919061472d565b60405180910390f35b61052d611ec0565b60405161053a9190614a6f565b60405180910390f35b61054b611ec6565b005b6105676004803603810190610562919061394a565b611f5f565b6040516105749190614712565b60405180910390f35b610585611ff3565b6040516105929190614a6f565b60405180910390f35b6105b560048036038101906105b0919061391d565b611ff9565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062a5750610629826120f1565b5b9050919050565b601b60009054906101000a900460ff1681565b60606000805461065390614d34565b80601f016020809104026020016040519081016040528092919081815260200182805461067f90614d34565b80156106cc5780601f106106a1576101008083540402835291602001916106cc565b820191906000526020600020905b8154815290600101906020018083116106af57829003601f168201915b5050505050905090565b60006106e1826121d3565b610720576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107179061492f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061076682610c39565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ce906149af565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107f661223f565b73ffffffffffffffffffffffffffffffffffffffff16148061082557506108248161081f61223f565b611f5f565b5b610864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085b9061486f565b60405180910390fd5b61086e8383612247565b505050565b601d5481565b6000600880549050905090565b61089761089161223f565b82612300565b6108d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cd906149ef565b60405180910390fd5b6108e18383836123de565b505050565b60006108f183610db6565b8210610932576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109299061474f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109a683838360405180602001604052806000815250611b95565b505050565b6002600a5414156109f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e890614a4f565b60405180910390fd5b6002600a81905550610a0161223f565b73ffffffffffffffffffffffffffffffffffffffff16610a1f611096565b73ffffffffffffffffffffffffffffffffffffffff1614610a75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6c9061494f565b60405180910390fd5b611e6181118015610a875750611f4181105b610ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abd9061496f565b60405180910390fd5b610ad7610ad1611096565b8261263a565b6001600a8190555050565b6000610aec610879565b8210610b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2490614a2f565b60405180910390fd5b60088281548110610b4157610b40614ecd565b5b90600052602060002001549050919050565b610b5b61223f565b73ffffffffffffffffffffffffffffffffffffffff16610b79611096565b73ffffffffffffffffffffffffffffffffffffffff1614610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc69061494f565b60405180910390fd5b601b60009054906101000a900460ff1615610c1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c16906148ef565b60405180910390fd5b80601a9080519060200190610c35929190613731565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd9906148af565b60405180910390fd5b80915050919050565b610cf361223f565b73ffffffffffffffffffffffffffffffffffffffff16610d11611096565b73ffffffffffffffffffffffffffffffffffffffff1614610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e9061494f565b60405180910390fd5b601e54811115610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da39061484f565b60405180910390fd5b8060208190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1e9061488f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e7661223f565b73ffffffffffffffffffffffffffffffffffffffff16610e94611096565b73ffffffffffffffffffffffffffffffffffffffff1614610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee19061494f565b60405180910390fd5b610ef46000612658565b565b601d54601c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f70906149cf565b60405180910390fd5b611e62601f5410610fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb690614a0f565b60405180910390fd5b602054601f5410611005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffc906148cf565b60405180910390fd5b6001601c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110559190614b69565b9250508190555060006001601f5461106d9190614b69565b90506001601f60008282546110829190614b69565b92505081905550611093338261263a565b50565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060602d8210611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc9061480f565b60405180910390fd5b60006111416111138561271e565b61111c8561271e565b60405160200161112d92919061435c565b60405160208183030381529060405261287f565b905060006111756111518661271e565b6040516020016111619190614345565b60405160208183030381529060405261287f565b905060006003905060006014805480602002602001604051908101604052809291908181526020016000905b8282101561124d5783829060005260206000200180546111c090614d34565b80601f01602080910402602001604051908101604052809291908181526020018280546111ec90614d34565b80156112395780601f1061120e57610100808354040283529160200191611239565b820191906000526020600020905b81548152906001019060200180831161121c57829003601f168201915b5050505050815260200190600101906111a1565b50505050905060006014905060006020905060006024905060176028876112749190614de0565b101561128b57601e925060279150602b90506112ae565b602560288761129a9190614de0565b10156112ad576019925060259150602a90505b5b8260ff16602d886112bf9190614de0565b10156113a257600094506011805480602002602001604051908101604052809291908181526020016000905b8282101561139757838290600052602060002001805461130a90614d34565b80601f016020809104026020016040519081016040528092919081815260200182805461133690614d34565b80156113835780601f1061135857610100808354040283529160200191611383565b820191906000526020600020905b81548152906001019060200180831161136657829003601f168201915b5050505050815260200190600101906112eb565b505050509350611588565b8160ff16602d886113b39190614de0565b101561149657600194506012805480602002602001604051908101604052809291908181526020016000905b8282101561148b5783829060005260206000200180546113fe90614d34565b80601f016020809104026020016040519081016040528092919081815260200182805461142a90614d34565b80156114775780601f1061144c57610100808354040283529160200191611477565b820191906000526020600020905b81548152906001019060200180831161145a57829003601f168201915b5050505050815260200190600101906113df565b505050509350611587565b8060ff16602d886114a79190614de0565b101561158657600294506013805480602002602001604051908101604052809291908181526020016000905b8282101561157f5783829060005260206000200180546114f290614d34565b80601f016020809104026020016040519081016040528092919081815260200182805461151e90614d34565b801561156b5780601f106115405761010080835404028352916020019161156b565b820191906000526020600020905b81548152906001019060200180831161154e57829003601f168201915b5050505050815260200190600101906114d3565b5050505093505b5b5b6005600a886115979190614de0565b10156115ed576115df8a6040518060400160405280600781526020017f4d4f4e5354455200000000000000000000000000000000000000000000000000815250868c896128b2565b975050505050505050611976565b6006600a886115fc9190614de0565b1015611723576117158a6040518060400160405280600981526020017f4152544946414354530000000000000000000000000000000000000000000000815250600f805480602002602001604051908101604052809291908181526020016000905b8282101561170a57838290600052602060002001805461167d90614d34565b80601f01602080910402602001604051908101604052809291908181526020018280546116a990614d34565b80156116f65780601f106116cb576101008083540402835291602001916116f6565b820191906000526020600020905b8154815290600101906020018083116116d957829003601f168201915b50505050508152602001906001019061165e565b505050508c89612afb565b975050505050505050611976565b6008600a886117329190614de0565b10156118595761184b8a6040518060400160405280600581526020017f5350454c4c000000000000000000000000000000000000000000000000000000815250600e805480602002602001604051908101604052809291908181526020016000905b828210156118405783829060005260206000200180546117b390614d34565b80601f01602080910402602001604051908101604052809291908181526020018280546117df90614d34565b801561182c5780601f106118015761010080835404028352916020019161182c565b820191906000526020600020905b81548152906001019060200180831161180f57829003601f168201915b505050505081526020019060010190611794565b505050508c89612afb565b975050505050505050611976565b61196c8a6040518060400160405280600b81526020017f454e4348414e544d454e540000000000000000000000000000000000000000008152506010805480602002602001604051908101604052809291908181526020016000905b828210156119615783829060005260206000200180546118d490614d34565b80601f016020809104026020016040519081016040528092919081815260200182805461190090614d34565b801561194d5780601f106119225761010080835404028352916020019161194d565b820191906000526020600020905b81548152906001019060200180831161193057829003601f168201915b5050505050815260200190600101906118b5565b505050508c89612afb565b9750505050505050505b92915050565b601f5481565b60606001805461199190614d34565b80601f01602080910402602001604051908101604052809291908181526020018280546119bd90614d34565b8015611a0a5780601f106119df57610100808354040283529160200191611a0a565b820191906000526020600020905b8154815290600101906020018083116119ed57829003601f168201915b5050505050905090565b611a1c61223f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a81906147ef565b60405180910390fd5b8060056000611a9761223f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b4461223f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b899190614712565b60405180910390a35050565b611ba6611ba061223f565b83612300565b611be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdc906149ef565b60405180910390fd5b611bf184848484612c4f565b50505050565b6060806000611c058461271e565b905060005b600b811015611c8857600060496012600184611c269190614b69565b611c309190614bf0565b611c3a9190614b69565b905083611c468261271e565b611c5088856110c0565b604051602001611c62939291906143e0565b604051602081830303815290604052935050600181611c819190614b69565b9050611c0a565b506000806000806000600a90505b602d811015611d8c576000611cdb611cad8b61271e565b611cb68461271e565b604051602001611cc792919061435c565b60405160208183030381529060405261287f565b90506000600a82611cec9190614de0565b90506005600a82611cfd9190614de0565b1015611d16578680611d0e90614d97565b975050611d77565b6006600a82611d259190614de0565b1015611d3e578580611d3690614d97565b965050611d76565b6008600a82611d4d9190614de0565b1015611d66578480611d5e90614d97565b955050611d75565b8380611d7190614d97565b9450505b5b5b50508080611d8490614d97565b915050611c96565b5085611d978561271e565b611da08361271e565b611da98561271e565b611db28761271e565b604051602001611dc6959493929190614461565b604051602081830303815290604052955085604051602001611de8919061465c565b60405160208183030381529060405295506000611e03612cab565b86604051602001611e159291906144e3565b60405160208183030381529060405290506000611e30612cab565b87604051602001611e42929190614432565b60405160208183030381529060405290506000611e8b888484611e648d612d3d565b604051602001611e7794939291906145e7565b604051602081830303815290604052612d3d565b905080604051602001611e9e9190614689565b6040516020818303038152906040529850889950505050505050505050919050565b60205481565b611ece61223f565b73ffffffffffffffffffffffffffffffffffffffff16611eec611096565b73ffffffffffffffffffffffffffffffffffffffff1614611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f399061494f565b60405180910390fd5b6001601b60006101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601e5481565b61200161223f565b73ffffffffffffffffffffffffffffffffffffffff1661201f611096565b73ffffffffffffffffffffffffffffffffffffffff1614612075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206c9061494f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc9061478f565b60405180910390fd5b6120ee81612658565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121bc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121cc57506121cb82612ed5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122ba83610c39565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061230b826121d3565b61234a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123419061482f565b60405180910390fd5b600061235583610c39565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123c457508373ffffffffffffffffffffffffffffffffffffffff166123ac846106d6565b73ffffffffffffffffffffffffffffffffffffffff16145b806123d557506123d48185611f5f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123fe82610c39565b73ffffffffffffffffffffffffffffffffffffffff1614612454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244b9061498f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bb906147cf565b60405180910390fd5b6124cf838383612f3f565b6124da600082612247565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461252a9190614c4a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125819190614b69565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612654828260405180602001604052806000815250613053565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606000821415612766576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061287a565b600082905060005b6000821461279857808061278190614d97565b915050600a826127919190614bbf565b915061276e565b60008167ffffffffffffffff8111156127b4576127b3614efc565b5b6040519080825280601f01601f1916602001820160405280156127e65781602001600182028036833780820191505090505b5090505b60008514612873576001826127ff9190614c4a565b9150600a8561280e9190614de0565b603061281a9190614b69565b60f81b8183815181106128305761282f614ecd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561286c9190614bbf565b94506127ea565b8093505050505b919050565b6000816040516020016128929190614345565b6040516020818303038152906040528051906020012060001c9050919050565b606060006128f2866128c38961271e565b6128cc8761271e565b6040516020016128de93929190614380565b60405160208183030381529060405261287f565b90506000858651836129049190614de0565b8151811061291557612914614ecd565b5b602002602001015160405160200161292d9190614345565b604051602081830303815290604052905060018460ff161480612953575060028460ff16145b156129d757601780805490508361296a9190614de0565b8154811061297b5761297a614ecd565b5b9060005260206000200160158080549050846129979190614de0565b815481106129a8576129a7614ecd565b5b90600052602060002001826040516020016129c593929190614541565b60405160208183030381529060405290505b60028460ff161415612a34578060188080549050846129f69190614de0565b81548110612a0757612a06614ecd565b5b90600052602060002001604051602001612a229291906143b1565b60405160208183030381529060405290505b60038460ff161415612aed576017808054905083612a529190614de0565b81548110612a6357612a62614ecd565b5b906000526020600020016016808054905084612a7f9190614de0565b81548110612a9057612a8f614ecd565b5b90600052602060002001826019808054905086612aad9190614de0565b81548110612abe57612abd614ecd565b5b90600052602060002001604051602001612adb9493929190614588565b60405160208183030381529060405290505b809250505095945050505050565b60606000612b3b86612b0c8961271e565b612b158761271e565b604051602001612b2793929190614380565b60405160208183030381529060405261287f565b9050600085865183612b4d9190614de0565b81518110612b5e57612b5d614ecd565b5b6020026020010151604051602001612b769190614345565b604051602081830303815290604052905060008460ff161115612be457600d808054905083612ba59190614de0565b81548110612bb657612bb5614ecd565b5b9060005260206000200181604051602001612bd2929190614512565b60405160208183030381529060405290505b60018460ff161115612c4157600c808054905083612c029190614de0565b81548110612c1357612c12614ecd565b5b9060005260206000200181604051602001612c2f929190614512565b60405160208183030381529060405290505b809250505095945050505050565b612c5a8484846123de565b612c66848484846130ae565b612ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9c9061476f565b60405180910390fd5b50505050565b6060601a8054612cba90614d34565b80601f0160208091040260200160405190810160405280929190818152602001828054612ce690614d34565b8015612d335780601f10612d0857610100808354040283529160200191612d33565b820191906000526020600020905b815481529060010190602001808311612d1657829003601f168201915b5050505050905090565b60606000825190506000811415612d665760405180602001604052806000815250915050612ed0565b60006003600283612d779190614b69565b612d819190614bbf565b6004612d8d9190614bf0565b90506000602082612d9e9190614b69565b67ffffffffffffffff811115612db757612db6614efc565b5b6040519080825280601f01601f191660200182016040528015612de95781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615f3f604091399050600181016020830160005b86811015612e8d5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050612e14565b506003860660018114612ea75760028114612eb757612ec2565b613d3d60f01b6002830352612ec2565b603d60f81b60018303525b508484525050819450505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f4a838383613245565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f8d57612f888161324a565b612fcc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612fcb57612fca8382613293565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561300f5761300a81613400565b61304e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461304d5761304c82826134d1565b5b5b505050565b61305d8383613550565b61306a60008484846130ae565b6130a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a09061476f565b60405180910390fd5b505050565b60006130cf8473ffffffffffffffffffffffffffffffffffffffff1661371e565b15613238578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130f861223f565b8786866040518563ffffffff1660e01b815260040161311a94939291906146c6565b602060405180830381600087803b15801561313457600080fd5b505af192505050801561316557506040513d601f19601f820116820180604052508101906131629190613b0d565b60015b6131e8573d8060008114613195576040519150601f19603f3d011682016040523d82523d6000602084013e61319a565b606091505b506000815114156131e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d79061476f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061323d565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132a084610db6565b6132aa9190614c4a565b905060006007600084815260200190815260200160002054905081811461338f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134149190614c4a565b905060006009600084815260200190815260200160002054905060006008838154811061344457613443614ecd565b5b90600052602060002001549050806008838154811061346657613465614ecd565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134b5576134b4614e9e565b5b6001900381819060005260206000200160009055905550505050565b60006134dc83610db6565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b79061490f565b60405180910390fd5b6135c9816121d3565b15613609576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613600906147af565b60405180910390fd5b61361560008383612f3f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136659190614b69565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461373d90614d34565b90600052602060002090601f01602090048101928261375f57600085556137a6565b82601f1061377857805160ff19168380011785556137a6565b828001600101855582156137a6579182015b828111156137a557825182559160200191906001019061378a565b5b5090506137b391906137b7565b5090565b5b808211156137d05760008160009055506001016137b8565b5090565b60006137e76137e284614aaf565b614a8a565b90508281526020810184848401111561380357613802614f30565b5b61380e848285614cf2565b509392505050565b600061382961382484614ae0565b614a8a565b90508281526020810184848401111561384557613844614f30565b5b613850848285614cf2565b509392505050565b60008135905061386781615ee2565b92915050565b60008135905061387c81615ef9565b92915050565b60008135905061389181615f10565b92915050565b6000815190506138a681615f10565b92915050565b600082601f8301126138c1576138c0614f2b565b5b81356138d18482602086016137d4565b91505092915050565b600082601f8301126138ef576138ee614f2b565b5b81356138ff848260208601613816565b91505092915050565b60008135905061391781615f27565b92915050565b60006020828403121561393357613932614f3a565b5b600061394184828501613858565b91505092915050565b6000806040838503121561396157613960614f3a565b5b600061396f85828601613858565b925050602061398085828601613858565b9150509250929050565b6000806000606084860312156139a3576139a2614f3a565b5b60006139b186828701613858565b93505060206139c286828701613858565b92505060406139d386828701613908565b9150509250925092565b600080600080608085870312156139f7576139f6614f3a565b5b6000613a0587828801613858565b9450506020613a1687828801613858565b9350506040613a2787828801613908565b925050606085013567ffffffffffffffff811115613a4857613a47614f35565b5b613a54878288016138ac565b91505092959194509250565b60008060408385031215613a7757613a76614f3a565b5b6000613a8585828601613858565b9250506020613a968582860161386d565b9150509250929050565b60008060408385031215613ab757613ab6614f3a565b5b6000613ac585828601613858565b9250506020613ad685828601613908565b9150509250929050565b600060208284031215613af657613af5614f3a565b5b6000613b0484828501613882565b91505092915050565b600060208284031215613b2357613b22614f3a565b5b6000613b3184828501613897565b91505092915050565b600060208284031215613b5057613b4f614f3a565b5b600082013567ffffffffffffffff811115613b6e57613b6d614f35565b5b613b7a848285016138da565b91505092915050565b600060208284031215613b9957613b98614f3a565b5b6000613ba784828501613908565b91505092915050565b60008060408385031215613bc757613bc6614f3a565b5b6000613bd585828601613908565b9250506020613be685828601613908565b9150509250929050565b613bf981614c7e565b82525050565b613c0881614c90565b82525050565b6000613c1982614b26565b613c238185614b3c565b9350613c33818560208601614d01565b613c3c81614f3f565b840191505092915050565b6000613c5282614b31565b613c5c8185614b4d565b9350613c6c818560208601614d01565b613c7581614f3f565b840191505092915050565b6000613c8b82614b31565b613c958185614b5e565b9350613ca5818560208601614d01565b80840191505092915050565b60008154613cbe81614d34565b613cc88186614b5e565b94506001821660008114613ce35760018114613cf457613d27565b60ff19831686528186019350613d27565b613cfd85614b11565b60005b83811015613d1f57815481890152600182019150602081019050613d00565b838801955050505b50505092915050565b6000613d3d601b83614b5e565b9150613d4882614f50565b601b82019050919050565b6000613d60602b83614b4d565b9150613d6b82614f79565b604082019050919050565b6000613d83603283614b4d565b9150613d8e82614fc8565b604082019050919050565b6000613da6602683614b4d565b9150613db182615017565b604082019050919050565b6000613dc9601c83614b4d565b9150613dd482615066565b602082019050919050565b6000613dec600883614b5e565b9150613df78261508f565b600882019050919050565b6000613e0f602483614b4d565b9150613e1a826150b8565b604082019050919050565b6000613e32601983614b4d565b9150613e3d82615107565b602082019050919050565b6000613e55601c83614b4d565b9150613e6082615130565b602082019050919050565b6000613e78602c83614b4d565b9150613e8382615159565b604082019050919050565b6000613e9c6102fc83614b5e565b9150613ea7826151a8565b6102fc82019050919050565b6000613ec0600b83614b5e565b9150613ecb8261554b565b600b82019050919050565b6000613ee3600183614b5e565b9150613eee82615574565b600182019050919050565b6000613f06601d83614b4d565b9150613f118261559d565b602082019050919050565b6000613f29603883614b4d565b9150613f34826155c6565b604082019050919050565b6000613f4c602a83614b4d565b9150613f5782615615565b604082019050919050565b6000613f6f602983614b4d565b9150613f7a82615664565b604082019050919050565b6000613f9260d083614b5e565b9150613f9d826156b3565b60d082019050919050565b6000613fb5603783614b4d565b9150613fc0826157c0565b604082019050919050565b6000613fd8600983614b5e565b9150613fe38261580f565b600982019050919050565b6000613ffb600283614b5e565b915061400682615838565b600282019050919050565b600061401e601383614b4d565b915061402982615861565b602082019050919050565b6000614041602083614b4d565b915061404c8261588a565b602082019050919050565b6000614064601183614b5e565b915061406f826158b3565b601182019050919050565b6000614087602c83614b4d565b9150614092826158dc565b604082019050919050565b60006140aa602083614b4d565b91506140b58261592b565b602082019050919050565b60006140cd601083614b4d565b91506140d882615954565b602082019050919050565b60006140f0602983614b4d565b91506140fb8261597d565b604082019050919050565b6000614113601483614b5e565b915061411e826159cc565b601482019050919050565b6000614136602183614b4d565b9150614141826159f5565b604082019050919050565b6000614159602483614b4d565b915061416482615a44565b604082019050919050565b600061417c601d83614b5e565b915061418782615a93565b601d82019050919050565b600061419f60f483614b5e565b91506141aa82615abc565b60f482019050919050565b60006141c2600683614b5e565b91506141cd82615bef565b600682019050919050565b60006141e5603183614b4d565b91506141f082615c18565b604082019050919050565b6000614208602a83614b4d565b915061421382615c67565b604082019050919050565b600061422b601983614b5e565b915061423682615cb6565b601982019050919050565b600061424e602c83614b4d565b915061425982615cdf565b604082019050919050565b6000614271600283614b5e565b915061427c82615d2e565b600282019050919050565b600061429460ad83614b5e565b915061429f82615d57565b60ad82019050919050565b60006142b7601f83614b4d565b91506142c282615e3e565b602082019050919050565b60006142da600a83614b5e565b91506142e582615e67565b600a82019050919050565b60006142fd600e83614b5e565b915061430882615e90565b600e82019050919050565b6000614320601583614b5e565b915061432b82615eb9565b601582019050919050565b61433f81614ce8565b82525050565b60006143518284613c80565b915081905092915050565b60006143688285613c80565b91506143748284613c80565b91508190509392505050565b600061438c8286613c80565b91506143988285613c80565b91506143a48284613c80565b9150819050949350505050565b60006143bd8285613c80565b91506143c882613ed6565b91506143d48284613cb1565b91508190509392505050565b60006143ec8286613c80565b91506143f782614057565b91506144038285613c80565b915061440e82614264565b915061441a8284613c80565b915061442582613ddf565b9150819050949350505050565b600061443e8285613c80565b9150614449826141b5565b91506144558284613c80565b91508190509392505050565b600061446d8288613c80565b915061447882614287565b91506144848287613c80565b915061448f82613eb3565b915061449b8286613c80565b91506144a6826142f0565b91506144b28285613c80565b91506144bd82613fcb565b91506144c98284613c80565b91506144d48261421e565b91508190509695505050505050565b60006144ef8285613c80565b91506144fa826142cd565b91506145068284613c80565b91508190509392505050565b600061451e8285613cb1565b915061452982613ed6565b91506145358284613c80565b91508190509392505050565b600061454d8286613cb1565b915061455882613ed6565b91506145648285613cb1565b915061456f82613ed6565b915061457b8284613c80565b9150819050949350505050565b60006145948287613cb1565b915061459f82613ed6565b91506145ab8286613cb1565b91506145b682613ed6565b91506145c28285613c80565b91506145cd82613ed6565b91506145d98284613cb1565b915081905095945050505050565b60006145f282613d30565b91506145fe8287613c80565b915061460982614313565b91506146158286613c80565b915061462082614106565b915061462c8285613c80565b915061463782614192565b91506146438284613c80565b915061464e82613fee565b915081905095945050505050565b600061466782613e8e565b91506146738284613c80565b915061467e82613f85565b915081905092915050565b60006146948261416f565b91506146a08284613c80565b915081905092915050565b60006020820190506146c06000830184613bf0565b92915050565b60006080820190506146db6000830187613bf0565b6146e86020830186613bf0565b6146f56040830185614336565b81810360608301526147078184613c0e565b905095945050505050565b60006020820190506147276000830184613bff565b92915050565b600060208201905081810360008301526147478184613c47565b905092915050565b6000602082019050818103600083015261476881613d53565b9050919050565b6000602082019050818103600083015261478881613d76565b9050919050565b600060208201905081810360008301526147a881613d99565b9050919050565b600060208201905081810360008301526147c881613dbc565b9050919050565b600060208201905081810360008301526147e881613e02565b9050919050565b6000602082019050818103600083015261480881613e25565b9050919050565b6000602082019050818103600083015261482881613e48565b9050919050565b6000602082019050818103600083015261484881613e6b565b9050919050565b6000602082019050818103600083015261486881613ef9565b9050919050565b6000602082019050818103600083015261488881613f1c565b9050919050565b600060208201905081810360008301526148a881613f3f565b9050919050565b600060208201905081810360008301526148c881613f62565b9050919050565b600060208201905081810360008301526148e881613fa8565b9050919050565b6000602082019050818103600083015261490881614011565b9050919050565b6000602082019050818103600083015261492881614034565b9050919050565b600060208201905081810360008301526149488161407a565b9050919050565b600060208201905081810360008301526149688161409d565b9050919050565b60006020820190508181036000830152614988816140c0565b9050919050565b600060208201905081810360008301526149a8816140e3565b9050919050565b600060208201905081810360008301526149c881614129565b9050919050565b600060208201905081810360008301526149e88161414c565b9050919050565b60006020820190508181036000830152614a08816141d8565b9050919050565b60006020820190508181036000830152614a28816141fb565b9050919050565b60006020820190508181036000830152614a4881614241565b9050919050565b60006020820190508181036000830152614a68816142aa565b9050919050565b6000602082019050614a846000830184614336565b92915050565b6000614a94614aa5565b9050614aa08282614d66565b919050565b6000604051905090565b600067ffffffffffffffff821115614aca57614ac9614efc565b5b614ad382614f3f565b9050602081019050919050565b600067ffffffffffffffff821115614afb57614afa614efc565b5b614b0482614f3f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b7482614ce8565b9150614b7f83614ce8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bb457614bb3614e11565b5b828201905092915050565b6000614bca82614ce8565b9150614bd583614ce8565b925082614be557614be4614e40565b5b828204905092915050565b6000614bfb82614ce8565b9150614c0683614ce8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c3f57614c3e614e11565b5b828202905092915050565b6000614c5582614ce8565b9150614c6083614ce8565b925082821015614c7357614c72614e11565b5b828203905092915050565b6000614c8982614cc8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614d1f578082015181840152602081019050614d04565b83811115614d2e576000848401525b50505050565b60006002820490506001821680614d4c57607f821691505b60208210811415614d6057614d5f614e6f565b5b50919050565b614d6f82614f3f565b810181811067ffffffffffffffff82111715614d8e57614d8d614efc565b5b80604052505050565b6000614da282614ce8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614dd557614dd4614e11565b5b600182019050919050565b6000614deb82614ce8565b9150614df683614ce8565b925082614e0657614e05614e40565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f7b226e616d65223a2022416476656e7475726520436172647320230000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f3c2f747370616e3e000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f6f6e6c792034352063617264207469746c657320706572206465636b00000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323060008201527f30302f73766727207072657365727665417370656374526174696f3d27784d6960208201527f6e594d696e206d656574272076696577426f783d27302030203335302033353060408201527f273e203c726563742077696474683d2733353027206865696768743d2733353060608201527f272066696c6c3d2775726c28237061696e74305f6c696e65617229272f3e203c60808201527f726563742077696474683d2733313827206865696768743d273331382720747260a08201527f616e73666f726d3d277472616e736c61746528313620313629272066696c6c3d60c08201527f2723313631353066272f3e203c746578742066696c6c3d27776869746527207860e08201527f6d6c3a73706163653d27707265736572766527207374796c653d2777686974656101008201527f2d73706163653a207072653b2720666f6e742d66616d696c793d2747656f72676101208201527f69612720666f6e742d73697a653d2731322720666f6e742d7765696768743d276101408201527f626f6c6427206c65747465722d73706163696e673d2730656d273e3c747370616101608201527f6e20783d2733322720793d2736322e31383635273e53544152544552204445436101808201527f4b3c2f747370616e3e3c2f746578743e203c746578742066696c6c3d272346316101a08201527f393130302720786d6c3a73706163653d27707265736572766527207374796c656101c08201527f3d2777686974652d73706163653a207072653b2720666f6e742d66616d696c796101e08201527f3d2747656f726769612720666f6e742d73697a653d2731362720666f6e742d776102008201527f65696768743d27626f6c6427206c65747465722d73706163696e673d27302e316102208201527f36656d273e3c747370616e20783d2733322720793d2734332e353832273e34356102408201527f20414456454e545552452043415244533c2f747370616e3e3c2f746578743e206102608201527f3c746578742066696c6c3d2777686974652720786d6c3a73706163653d2770726102808201527f65736572766527207374796c653d2777686974652d73706163653a207072653b6102a08201527f2720666f6e742d66616d696c793d2747656f726769612720666f6e742d73697a6102c08201527f653d27313227206c65747465722d73706163696e673d2730656d273e000000006102e082015250565b7f206d6f6e73746572732c20000000000000000000000000000000000000000000600082015250565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b7f596f752063616e206e6f7420736574206974207468617420686967682e000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f3c646566733e203c6c696e6561724772616469656e742069643d277061696e7460008201527f305f6c696e656172272078313d27313735272079313d27333530272078323d2760208201527f313735272079323d273027206772616469656e74556e6974733d27757365725360408201527f706163654f6e557365273e203c73746f702073746f702d636f6c6f723d27233760608201527f3434353030272f3e203c73746f70206f66667365743d2731272073746f702d6360808201527f6f6c6f723d2723443638313033272f3e203c2f6c696e6561724772616469656e60a08201527f743e203c2f646566733e3c2f7376673e0000000000000000000000000000000060c082015250565b7f546865726520617265206e6f206d6f7265204e46547320666f72207075626c6960008201527f63206d696e74696e6720617420746869732074696d652e000000000000000000602082015250565b7f207370656c6c732c200000000000000000000000000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f436f6e74726163742069732066726f7a656e2e00000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f3c747370616e20783d2733322720793d27000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f222c202265787465726e616c5f75726c223a2022000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f752068617665207265616368656420796f7572206d696e74696e67206c6960008201527f6d69742e00000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f222c20226465736372697074696f6e223a2022436172647320697320616e206f60008201527f6e20636861696e2c20636f6c6c65637461626c6520636172642067616d652c2060208201527f6261736564206f6e2063727970746f207072696d6974697665732e204561636860408201527f2053746172746572204465636b2069732034352063617264732c2061206d697860608201527f206f6620726172697469657320616e642074797065732e20546865206465636b60808201527f732063616e20626520756e62756e646c656420616e64207573656420686f776560a08201527f76657220796f75206c696b652e222c2022696d616765223a2022646174613a6960c08201527f6d6167652f7376672b786d6c3b6261736536342c00000000000000000000000060e082015250565b7f6465636b732f0000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546865726520617265206e6f206d6f7265204e46547320666f72207075626c6960008201527f63206d696e74696e672e00000000000000000000000000000000000000000000602082015250565b7f206172746966616374733c2f747370616e3e3c2f746578743e00000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f273e000000000000000000000000000000000000000000000000000000000000600082015250565b7f3c2f746578743e203c746578742066696c6c3d2777686974652720786d6c3a7360008201527f706163653d27707265736572766527207374796c653d2777686974652d73706160208201527f63653a207072653b2720666f6e742d66616d696c793d2747656f72676961272060408201527f666f6e742d73697a653d273827206c65747465722d73706163696e673d27306560608201527f6d273e3c747370616e20783d2733322720793d273330382e323931273e33342060808201527f6f746865722063617264733a200000000000000000000000000000000000000060a082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f616e696d6174696f6e2f00000000000000000000000000000000000000000000600082015250565b7f20656e6368616e746d656e74732c000000000000000000000000000000000000600082015250565b7f222c2022616e696d6174696f6e5f75726c223a20220000000000000000000000600082015250565b615eeb81614c7e565b8114615ef657600080fd5b50565b615f0281614c90565b8114615f0d57600080fd5b50565b615f1981614c9c565b8114615f2457600080fd5b50565b615f3081614ce8565b8114615f3b57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220722516ebdfcd97b8c014355e65fbb862dd52f7acf8c0aa912aeb53c24bf1ee2764736f6c63430008060033

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

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