ETH Price: $3,482.16 (+0.53%)

Token

xApes (xApe)
 

Overview

Max Total Supply

2,729 xApe

Holders

198

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
5 xApe
0x82ef9865f591348692dac2f04a1f14d908895262
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Mint is completely FREE. The smart contract is highly optimized with ERC721A, so the gas fees are reduced.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
xApes

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-02-11
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;


// 
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
 * @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;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

// 
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
/**
 * @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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

// 
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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

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

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

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// 
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
/**
 * @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);
    }
}

// 
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// 
// Creator: Chiru Labs
/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 *
 * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; curr--) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, 'ERC721A: approval to current owner');

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), 'ERC721A: 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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

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

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe) {
                    require(
                        _checkOnERC721Received(address(0), to, updatedIndex, _data),
                        'ERC721A: transfer to non ERC721Receiver implementer'
                    );
                }

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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('ERC721A: transfer to non ERC721Receiver implementer');
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

//
contract xApes is ERC721A, Ownable {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private tokenIdCounter;

    string baseURI;
    uint256 public maxSupply = 2222;
    bool public paused = false;
    
    constructor(string memory _initBaseURI)
        ERC721A("xApes", "xApe")
    {
        setBaseURI(_initBaseURI);
    }

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

    function mint(uint256 quantity) external payable {
        uint256 supply = tokenIdCounter.current();

        require(quantity < 11, "You can mint maximum 10 per tx.");

        require(!paused, "Sale paused");

        require(
            supply + quantity < maxSupply,
            "Exceeds maximum supply"
        );
        
        _safeMint(msg.sender, quantity);
    }

    function getCurrentId() external view returns (uint256) {
        return tokenIdCounter.current();
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        return string(abi.encodePacked(baseURI, tokenId.toString(), ".json"));
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function pause(bool val) public onlyOwner {
        paused = val;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_newBaseURI","type":"string"}],"name":"setBaseURI","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"}]

60806040526108ae600a556000600b60006101000a81548160ff0219169083151502179055503480156200003257600080fd5b506040516200415a3803806200415a8339818101604052810190620000589190620003f5565b6040518060400160405280600581526020017f78417065730000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f78417065000000000000000000000000000000000000000000000000000000008152508160019080519060200190620000dc929190620002d3565b508060029080519060200190620000f5929190620002d3565b505050620001186200010c6200013060201b60201c565b6200013860201b60201c565b6200012981620001fe60201b60201c565b506200062d565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200020e6200013060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000234620002a960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200028d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002849062000461565b60405180910390fd5b8060099080519060200190620002a5929190620002d3565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620002e19062000529565b90600052602060002090601f01602090048101928262000305576000855562000351565b82601f106200032057805160ff191683800117855562000351565b8280016001018555821562000351579182015b828111156200035057825182559160200191906001019062000333565b5b50905062000360919062000364565b5090565b5b808211156200037f57600081600090555060010162000365565b5090565b60006200039a6200039484620004ac565b62000483565b905082815260208101848484011115620003b357600080fd5b620003c0848285620004f3565b509392505050565b600082601f830112620003da57600080fd5b8151620003ec84826020860162000383565b91505092915050565b6000602082840312156200040857600080fd5b600082015167ffffffffffffffff8111156200042357600080fd5b6200043184828501620003c8565b91505092915050565b600062000449602083620004e2565b9150620004568262000604565b602082019050919050565b600060208201905081810360008301526200047c816200043a565b9050919050565b60006200048f620004a2565b90506200049d82826200055f565b919050565b6000604051905090565b600067ffffffffffffffff821115620004ca57620004c9620005c4565b5b620004d582620005f3565b9050602081019050919050565b600082825260208201905092915050565b60005b8381101562000513578082015181840152602081019050620004f6565b8381111562000523576000848401525b50505050565b600060028204905060018216806200054257607f821691505b6020821081141562000559576200055862000595565b5b50919050565b6200056a82620005f3565b810181811067ffffffffffffffff821117156200058c576200058b620005c4565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b613b1d806200063d6000396000f3fe6080604052600436106101665760003560e01c80636352211e116100d1578063a0712d681161008a578063c87b56dd11610064578063c87b56dd1461052d578063d5abeb011461056a578063e985e9c514610595578063f2fde38b146105d257610166565b8063a0712d68146104bf578063a22cb465146104db578063b88d4fde1461050457610166565b80636352211e146103ad5780636c143862146103ea57806370a0823114610415578063715018a6146104525780638da5cb5b1461046957806395d89b411461049457610166565b806323b872dd1161012357806323b872dd1461028d5780632f745c59146102b657806342842e0e146102f35780634f6ccce71461031c57806355f804b3146103595780635c975abb1461038257610166565b806301ffc9a71461016b57806302329a29146101a857806306fdde03146101d1578063081812fc146101fc578063095ea7b31461023957806318160ddd14610262575b600080fd5b34801561017757600080fd5b50610192600480360381019061018d9190612810565b6105fb565b60405161019f9190612db3565b60405180910390f35b3480156101b457600080fd5b506101cf60048036038101906101ca91906127e7565b610745565b005b3480156101dd57600080fd5b506101e66107de565b6040516101f39190612dce565b60405180910390f35b34801561020857600080fd5b50610223600480360381019061021e91906128a3565b610870565b6040516102309190612d4c565b60405180910390f35b34801561024557600080fd5b50610260600480360381019061025b91906127ab565b6108f5565b005b34801561026e57600080fd5b50610277610a0e565b6040516102849190613090565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af91906126a5565b610a17565b005b3480156102c257600080fd5b506102dd60048036038101906102d891906127ab565b610a27565b6040516102ea9190613090565b60405180910390f35b3480156102ff57600080fd5b5061031a600480360381019061031591906126a5565b610c19565b005b34801561032857600080fd5b50610343600480360381019061033e91906128a3565b610c39565b6040516103509190613090565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b9190612862565b610c8c565b005b34801561038e57600080fd5b50610397610d22565b6040516103a49190612db3565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf91906128a3565b610d35565b6040516103e19190612d4c565b60405180910390f35b3480156103f657600080fd5b506103ff610d4b565b60405161040c9190613090565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190612640565b610d5c565b6040516104499190613090565b60405180910390f35b34801561045e57600080fd5b50610467610e45565b005b34801561047557600080fd5b5061047e610ecd565b60405161048b9190612d4c565b60405180910390f35b3480156104a057600080fd5b506104a9610ef7565b6040516104b69190612dce565b60405180910390f35b6104d960048036038101906104d491906128a3565b610f89565b005b3480156104e757600080fd5b5061050260048036038101906104fd919061276f565b611087565b005b34801561051057600080fd5b5061052b600480360381019061052691906126f4565b611208565b005b34801561053957600080fd5b50610554600480360381019061054f91906128a3565b611264565b6040516105619190612dce565b60405180910390f35b34801561057657600080fd5b5061057f611298565b60405161058c9190613090565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b79190612669565b61129e565b6040516105c99190612db3565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190612640565b611332565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106c657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061072e57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061073e575061073d8261142a565b5b9050919050565b61074d611494565b73ffffffffffffffffffffffffffffffffffffffff1661076b610ecd565b73ffffffffffffffffffffffffffffffffffffffff16146107c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b890612f30565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b6060600180546107ed906132fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610819906132fb565b80156108665780601f1061083b57610100808354040283529160200191610866565b820191906000526020600020905b81548152906001019060200180831161084957829003601f168201915b5050505050905090565b600061087b8261149c565b6108ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b190613070565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090082610d35565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610971576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096890612fb0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610990611494565b73ffffffffffffffffffffffffffffffffffffffff1614806109bf57506109be816109b9611494565b61129e565b5b6109fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f590612eb0565b60405180910390fd5b610a098383836114a9565b505050565b60008054905090565b610a2283838361155b565b505050565b6000610a3283610d5c565b8210610a73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6a90612df0565b60405180910390fd5b6000610a7d610a0e565b905060008060005b83811015610bd7576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610b7757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bc95786841415610bc0578195505050505050610c13565b83806001019450505b508080600101915050610a85565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0a90613030565b60405180910390fd5b92915050565b610c3483838360405180602001604052806000815250611208565b505050565b6000610c43610a0e565b8210610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b90612e70565b60405180910390fd5b819050919050565b610c94611494565b73ffffffffffffffffffffffffffffffffffffffff16610cb2610ecd565b73ffffffffffffffffffffffffffffffffffffffff1614610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff90612f30565b60405180910390fd5b8060099080519060200190610d1e92919061242a565b5050565b600b60009054906101000a900460ff1681565b6000610d4082611a9b565b600001519050919050565b6000610d576008611c35565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490612ed0565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b610e4d611494565b73ffffffffffffffffffffffffffffffffffffffff16610e6b610ecd565b73ffffffffffffffffffffffffffffffffffffffff1614610ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb890612f30565b60405180910390fd5b610ecb6000611c43565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054610f06906132fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610f32906132fb565b8015610f7f5780601f10610f5457610100808354040283529160200191610f7f565b820191906000526020600020905b815481529060010190602001808311610f6257829003601f168201915b5050505050905090565b6000610f956008611c35565b9050600b8210610fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd190612f10565b60405180910390fd5b600b60009054906101000a900460ff161561102a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102190612e10565b60405180910390fd5b600a548282611039919061318a565b10611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090612f90565b60405180910390fd5b6110833383611d09565b5050565b61108f611494565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f490612f50565b60405180910390fd5b806006600061110a611494565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111b7611494565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111fc9190612db3565b60405180910390a35050565b61121384848461155b565b61121f84848484611d27565b61125e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125590612fd0565b60405180910390fd5b50505050565b6060600961127183611ebe565b604051602001611282929190612d1d565b6040516020818303038152906040529050919050565b600a5481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61133a611494565b73ffffffffffffffffffffffffffffffffffffffff16611358610ecd565b73ffffffffffffffffffffffffffffffffffffffff16146113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a590612f30565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590612e30565b60405180910390fd5b61142781611c43565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000805482109050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061156682611a9b565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661158d611494565b73ffffffffffffffffffffffffffffffffffffffff1614806115e957506115b2611494565b73ffffffffffffffffffffffffffffffffffffffff166115d184610870565b73ffffffffffffffffffffffffffffffffffffffff16145b80611605575061160482600001516115ff611494565b61129e565b5b905080611647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163e90612f70565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090612ef0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172090612e90565b60405180910390fd5b611736858585600161206b565b61174660008484600001516114a9565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611a2b5761198a8161149c565b15611a2a5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611a948585856001612071565b5050505050565b611aa36124b0565b611aac8261149c565b611aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae290612e50565b60405180910390fd5b60008290505b60008110611bf4576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611be5578092505050611c30565b50808060019003915050611af1565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2790613050565b60405180910390fd5b919050565b600081600001549050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611d23828260405180602001604052806000815250612077565b5050565b6000611d488473ffffffffffffffffffffffffffffffffffffffff16612089565b15611eb1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611d71611494565b8786866040518563ffffffff1660e01b8152600401611d939493929190612d67565b602060405180830381600087803b158015611dad57600080fd5b505af1925050508015611dde57506040513d601f19601f82011682018060405250810190611ddb9190612839565b60015b611e61573d8060008114611e0e576040519150601f19603f3d011682016040523d82523d6000602084013e611e13565b606091505b50600081511415611e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5090612fd0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611eb6565b600190505b949350505050565b60606000821415611f06576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612066565b600082905060005b60008214611f38578080611f219061335e565b915050600a82611f3191906131e0565b9150611f0e565b60008167ffffffffffffffff811115611f7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611fac5781602001600182028036833780820191505090505b5090505b6000851461205f57600182611fc59190613211565b9150600a85611fd491906133a7565b6030611fe0919061318a565b60f81b81838151811061201c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561205891906131e0565b9450611fb0565b8093505050505b919050565b50505050565b50505050565b61208483838360016120ac565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211990612ff0565b60405180910390fd5b6000841415612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90613010565b60405180910390fd5b612173600086838761206b565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561240d57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483156123f8576123b86000888488611d27565b6123f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ee90612fd0565b60405180910390fd5b5b81806001019250508080600101915050612341565b5080600081905550506124236000868387612071565b5050505050565b828054612436906132fb565b90600052602060002090601f016020900481019282612458576000855561249f565b82601f1061247157805160ff191683800117855561249f565b8280016001018555821561249f579182015b8281111561249e578251825591602001919060010190612483565b5b5090506124ac91906124ea565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156125035760008160009055506001016124eb565b5090565b600061251a612515846130d0565b6130ab565b90508281526020810184848401111561253257600080fd5b61253d8482856132b9565b509392505050565b600061255861255384613101565b6130ab565b90508281526020810184848401111561257057600080fd5b61257b8482856132b9565b509392505050565b60008135905061259281613a8b565b92915050565b6000813590506125a781613aa2565b92915050565b6000813590506125bc81613ab9565b92915050565b6000815190506125d181613ab9565b92915050565b600082601f8301126125e857600080fd5b81356125f8848260208601612507565b91505092915050565b600082601f83011261261257600080fd5b8135612622848260208601612545565b91505092915050565b60008135905061263a81613ad0565b92915050565b60006020828403121561265257600080fd5b600061266084828501612583565b91505092915050565b6000806040838503121561267c57600080fd5b600061268a85828601612583565b925050602061269b85828601612583565b9150509250929050565b6000806000606084860312156126ba57600080fd5b60006126c886828701612583565b93505060206126d986828701612583565b92505060406126ea8682870161262b565b9150509250925092565b6000806000806080858703121561270a57600080fd5b600061271887828801612583565b945050602061272987828801612583565b935050604061273a8782880161262b565b925050606085013567ffffffffffffffff81111561275757600080fd5b612763878288016125d7565b91505092959194509250565b6000806040838503121561278257600080fd5b600061279085828601612583565b92505060206127a185828601612598565b9150509250929050565b600080604083850312156127be57600080fd5b60006127cc85828601612583565b92505060206127dd8582860161262b565b9150509250929050565b6000602082840312156127f957600080fd5b600061280784828501612598565b91505092915050565b60006020828403121561282257600080fd5b6000612830848285016125ad565b91505092915050565b60006020828403121561284b57600080fd5b6000612859848285016125c2565b91505092915050565b60006020828403121561287457600080fd5b600082013567ffffffffffffffff81111561288e57600080fd5b61289a84828501612601565b91505092915050565b6000602082840312156128b557600080fd5b60006128c38482850161262b565b91505092915050565b6128d581613245565b82525050565b6128e481613257565b82525050565b60006128f582613147565b6128ff818561315d565b935061290f8185602086016132c8565b61291881613494565b840191505092915050565b600061292e82613152565b612938818561316e565b93506129488185602086016132c8565b61295181613494565b840191505092915050565b600061296782613152565b612971818561317f565b93506129818185602086016132c8565b80840191505092915050565b6000815461299a816132fb565b6129a4818661317f565b945060018216600081146129bf57600181146129d057612a03565b60ff19831686528186019350612a03565b6129d985613132565b60005b838110156129fb578154818901526001820191506020810190506129dc565b838801955050505b50505092915050565b6000612a1960228361316e565b9150612a24826134a5565b604082019050919050565b6000612a3c600b8361316e565b9150612a47826134f4565b602082019050919050565b6000612a5f60268361316e565b9150612a6a8261351d565b604082019050919050565b6000612a82602a8361316e565b9150612a8d8261356c565b604082019050919050565b6000612aa560238361316e565b9150612ab0826135bb565b604082019050919050565b6000612ac860258361316e565b9150612ad38261360a565b604082019050919050565b6000612aeb60398361316e565b9150612af682613659565b604082019050919050565b6000612b0e602b8361316e565b9150612b19826136a8565b604082019050919050565b6000612b3160268361316e565b9150612b3c826136f7565b604082019050919050565b6000612b5460058361317f565b9150612b5f82613746565b600582019050919050565b6000612b77601f8361316e565b9150612b828261376f565b602082019050919050565b6000612b9a60208361316e565b9150612ba582613798565b602082019050919050565b6000612bbd601a8361316e565b9150612bc8826137c1565b602082019050919050565b6000612be060328361316e565b9150612beb826137ea565b604082019050919050565b6000612c0360168361316e565b9150612c0e82613839565b602082019050919050565b6000612c2660228361316e565b9150612c3182613862565b604082019050919050565b6000612c4960338361316e565b9150612c54826138b1565b604082019050919050565b6000612c6c60218361316e565b9150612c7782613900565b604082019050919050565b6000612c8f60288361316e565b9150612c9a8261394f565b604082019050919050565b6000612cb2602e8361316e565b9150612cbd8261399e565b604082019050919050565b6000612cd5602f8361316e565b9150612ce0826139ed565b604082019050919050565b6000612cf8602d8361316e565b9150612d0382613a3c565b604082019050919050565b612d17816132af565b82525050565b6000612d29828561298d565b9150612d35828461295c565b9150612d4082612b47565b91508190509392505050565b6000602082019050612d6160008301846128cc565b92915050565b6000608082019050612d7c60008301876128cc565b612d8960208301866128cc565b612d966040830185612d0e565b8181036060830152612da881846128ea565b905095945050505050565b6000602082019050612dc860008301846128db565b92915050565b60006020820190508181036000830152612de88184612923565b905092915050565b60006020820190508181036000830152612e0981612a0c565b9050919050565b60006020820190508181036000830152612e2981612a2f565b9050919050565b60006020820190508181036000830152612e4981612a52565b9050919050565b60006020820190508181036000830152612e6981612a75565b9050919050565b60006020820190508181036000830152612e8981612a98565b9050919050565b60006020820190508181036000830152612ea981612abb565b9050919050565b60006020820190508181036000830152612ec981612ade565b9050919050565b60006020820190508181036000830152612ee981612b01565b9050919050565b60006020820190508181036000830152612f0981612b24565b9050919050565b60006020820190508181036000830152612f2981612b6a565b9050919050565b60006020820190508181036000830152612f4981612b8d565b9050919050565b60006020820190508181036000830152612f6981612bb0565b9050919050565b60006020820190508181036000830152612f8981612bd3565b9050919050565b60006020820190508181036000830152612fa981612bf6565b9050919050565b60006020820190508181036000830152612fc981612c19565b9050919050565b60006020820190508181036000830152612fe981612c3c565b9050919050565b6000602082019050818103600083015261300981612c5f565b9050919050565b6000602082019050818103600083015261302981612c82565b9050919050565b6000602082019050818103600083015261304981612ca5565b9050919050565b6000602082019050818103600083015261306981612cc8565b9050919050565b6000602082019050818103600083015261308981612ceb565b9050919050565b60006020820190506130a56000830184612d0e565b92915050565b60006130b56130c6565b90506130c1828261332d565b919050565b6000604051905090565b600067ffffffffffffffff8211156130eb576130ea613465565b5b6130f482613494565b9050602081019050919050565b600067ffffffffffffffff82111561311c5761311b613465565b5b61312582613494565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613195826132af565b91506131a0836132af565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131d5576131d46133d8565b5b828201905092915050565b60006131eb826132af565b91506131f6836132af565b92508261320657613205613407565b5b828204905092915050565b600061321c826132af565b9150613227836132af565b92508282101561323a576132396133d8565b5b828203905092915050565b60006132508261328f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156132e65780820151818401526020810190506132cb565b838111156132f5576000848401525b50505050565b6000600282049050600182168061331357607f821691505b6020821081141561332757613326613436565b5b50919050565b61333682613494565b810181811067ffffffffffffffff8211171561335557613354613465565b5b80604052505050565b6000613369826132af565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561339c5761339b6133d8565b5b600182019050919050565b60006133b2826132af565b91506133bd836132af565b9250826133cd576133cc613407565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f596f752063616e206d696e74206d6178696d756d203130207065722074782e00600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b613a9481613245565b8114613a9f57600080fd5b50565b613aab81613257565b8114613ab657600080fd5b50565b613ac281613263565b8114613acd57600080fd5b50565b613ad9816132af565b8114613ae457600080fd5b5056fea26469706673582212200bddd8e8328da391687fd45f5a382b268948fc5d47425506942fc3f57c96f07664736f6c634300080400330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d636846377a6864726b69396679764361784e6d4479455364746f4831444269533950467a4e4e45735a596f372f000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101665760003560e01c80636352211e116100d1578063a0712d681161008a578063c87b56dd11610064578063c87b56dd1461052d578063d5abeb011461056a578063e985e9c514610595578063f2fde38b146105d257610166565b8063a0712d68146104bf578063a22cb465146104db578063b88d4fde1461050457610166565b80636352211e146103ad5780636c143862146103ea57806370a0823114610415578063715018a6146104525780638da5cb5b1461046957806395d89b411461049457610166565b806323b872dd1161012357806323b872dd1461028d5780632f745c59146102b657806342842e0e146102f35780634f6ccce71461031c57806355f804b3146103595780635c975abb1461038257610166565b806301ffc9a71461016b57806302329a29146101a857806306fdde03146101d1578063081812fc146101fc578063095ea7b31461023957806318160ddd14610262575b600080fd5b34801561017757600080fd5b50610192600480360381019061018d9190612810565b6105fb565b60405161019f9190612db3565b60405180910390f35b3480156101b457600080fd5b506101cf60048036038101906101ca91906127e7565b610745565b005b3480156101dd57600080fd5b506101e66107de565b6040516101f39190612dce565b60405180910390f35b34801561020857600080fd5b50610223600480360381019061021e91906128a3565b610870565b6040516102309190612d4c565b60405180910390f35b34801561024557600080fd5b50610260600480360381019061025b91906127ab565b6108f5565b005b34801561026e57600080fd5b50610277610a0e565b6040516102849190613090565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af91906126a5565b610a17565b005b3480156102c257600080fd5b506102dd60048036038101906102d891906127ab565b610a27565b6040516102ea9190613090565b60405180910390f35b3480156102ff57600080fd5b5061031a600480360381019061031591906126a5565b610c19565b005b34801561032857600080fd5b50610343600480360381019061033e91906128a3565b610c39565b6040516103509190613090565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b9190612862565b610c8c565b005b34801561038e57600080fd5b50610397610d22565b6040516103a49190612db3565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf91906128a3565b610d35565b6040516103e19190612d4c565b60405180910390f35b3480156103f657600080fd5b506103ff610d4b565b60405161040c9190613090565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190612640565b610d5c565b6040516104499190613090565b60405180910390f35b34801561045e57600080fd5b50610467610e45565b005b34801561047557600080fd5b5061047e610ecd565b60405161048b9190612d4c565b60405180910390f35b3480156104a057600080fd5b506104a9610ef7565b6040516104b69190612dce565b60405180910390f35b6104d960048036038101906104d491906128a3565b610f89565b005b3480156104e757600080fd5b5061050260048036038101906104fd919061276f565b611087565b005b34801561051057600080fd5b5061052b600480360381019061052691906126f4565b611208565b005b34801561053957600080fd5b50610554600480360381019061054f91906128a3565b611264565b6040516105619190612dce565b60405180910390f35b34801561057657600080fd5b5061057f611298565b60405161058c9190613090565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b79190612669565b61129e565b6040516105c99190612db3565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190612640565b611332565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106c657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061072e57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061073e575061073d8261142a565b5b9050919050565b61074d611494565b73ffffffffffffffffffffffffffffffffffffffff1661076b610ecd565b73ffffffffffffffffffffffffffffffffffffffff16146107c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b890612f30565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b6060600180546107ed906132fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610819906132fb565b80156108665780601f1061083b57610100808354040283529160200191610866565b820191906000526020600020905b81548152906001019060200180831161084957829003601f168201915b5050505050905090565b600061087b8261149c565b6108ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b190613070565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090082610d35565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610971576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096890612fb0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610990611494565b73ffffffffffffffffffffffffffffffffffffffff1614806109bf57506109be816109b9611494565b61129e565b5b6109fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f590612eb0565b60405180910390fd5b610a098383836114a9565b505050565b60008054905090565b610a2283838361155b565b505050565b6000610a3283610d5c565b8210610a73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6a90612df0565b60405180910390fd5b6000610a7d610a0e565b905060008060005b83811015610bd7576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610b7757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bc95786841415610bc0578195505050505050610c13565b83806001019450505b508080600101915050610a85565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0a90613030565b60405180910390fd5b92915050565b610c3483838360405180602001604052806000815250611208565b505050565b6000610c43610a0e565b8210610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b90612e70565b60405180910390fd5b819050919050565b610c94611494565b73ffffffffffffffffffffffffffffffffffffffff16610cb2610ecd565b73ffffffffffffffffffffffffffffffffffffffff1614610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff90612f30565b60405180910390fd5b8060099080519060200190610d1e92919061242a565b5050565b600b60009054906101000a900460ff1681565b6000610d4082611a9b565b600001519050919050565b6000610d576008611c35565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490612ed0565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b610e4d611494565b73ffffffffffffffffffffffffffffffffffffffff16610e6b610ecd565b73ffffffffffffffffffffffffffffffffffffffff1614610ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb890612f30565b60405180910390fd5b610ecb6000611c43565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054610f06906132fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610f32906132fb565b8015610f7f5780601f10610f5457610100808354040283529160200191610f7f565b820191906000526020600020905b815481529060010190602001808311610f6257829003601f168201915b5050505050905090565b6000610f956008611c35565b9050600b8210610fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd190612f10565b60405180910390fd5b600b60009054906101000a900460ff161561102a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102190612e10565b60405180910390fd5b600a548282611039919061318a565b10611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090612f90565b60405180910390fd5b6110833383611d09565b5050565b61108f611494565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f490612f50565b60405180910390fd5b806006600061110a611494565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111b7611494565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111fc9190612db3565b60405180910390a35050565b61121384848461155b565b61121f84848484611d27565b61125e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125590612fd0565b60405180910390fd5b50505050565b6060600961127183611ebe565b604051602001611282929190612d1d565b6040516020818303038152906040529050919050565b600a5481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61133a611494565b73ffffffffffffffffffffffffffffffffffffffff16611358610ecd565b73ffffffffffffffffffffffffffffffffffffffff16146113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a590612f30565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590612e30565b60405180910390fd5b61142781611c43565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000805482109050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061156682611a9b565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661158d611494565b73ffffffffffffffffffffffffffffffffffffffff1614806115e957506115b2611494565b73ffffffffffffffffffffffffffffffffffffffff166115d184610870565b73ffffffffffffffffffffffffffffffffffffffff16145b80611605575061160482600001516115ff611494565b61129e565b5b905080611647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163e90612f70565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090612ef0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172090612e90565b60405180910390fd5b611736858585600161206b565b61174660008484600001516114a9565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611a2b5761198a8161149c565b15611a2a5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611a948585856001612071565b5050505050565b611aa36124b0565b611aac8261149c565b611aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae290612e50565b60405180910390fd5b60008290505b60008110611bf4576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611be5578092505050611c30565b50808060019003915050611af1565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2790613050565b60405180910390fd5b919050565b600081600001549050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611d23828260405180602001604052806000815250612077565b5050565b6000611d488473ffffffffffffffffffffffffffffffffffffffff16612089565b15611eb1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611d71611494565b8786866040518563ffffffff1660e01b8152600401611d939493929190612d67565b602060405180830381600087803b158015611dad57600080fd5b505af1925050508015611dde57506040513d601f19601f82011682018060405250810190611ddb9190612839565b60015b611e61573d8060008114611e0e576040519150601f19603f3d011682016040523d82523d6000602084013e611e13565b606091505b50600081511415611e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5090612fd0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611eb6565b600190505b949350505050565b60606000821415611f06576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612066565b600082905060005b60008214611f38578080611f219061335e565b915050600a82611f3191906131e0565b9150611f0e565b60008167ffffffffffffffff811115611f7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611fac5781602001600182028036833780820191505090505b5090505b6000851461205f57600182611fc59190613211565b9150600a85611fd491906133a7565b6030611fe0919061318a565b60f81b81838151811061201c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561205891906131e0565b9450611fb0565b8093505050505b919050565b50505050565b50505050565b61208483838360016120ac565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211990612ff0565b60405180910390fd5b6000841415612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90613010565b60405180910390fd5b612173600086838761206b565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561240d57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483156123f8576123b86000888488611d27565b6123f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ee90612fd0565b60405180910390fd5b5b81806001019250508080600101915050612341565b5080600081905550506124236000868387612071565b5050505050565b828054612436906132fb565b90600052602060002090601f016020900481019282612458576000855561249f565b82601f1061247157805160ff191683800117855561249f565b8280016001018555821561249f579182015b8281111561249e578251825591602001919060010190612483565b5b5090506124ac91906124ea565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156125035760008160009055506001016124eb565b5090565b600061251a612515846130d0565b6130ab565b90508281526020810184848401111561253257600080fd5b61253d8482856132b9565b509392505050565b600061255861255384613101565b6130ab565b90508281526020810184848401111561257057600080fd5b61257b8482856132b9565b509392505050565b60008135905061259281613a8b565b92915050565b6000813590506125a781613aa2565b92915050565b6000813590506125bc81613ab9565b92915050565b6000815190506125d181613ab9565b92915050565b600082601f8301126125e857600080fd5b81356125f8848260208601612507565b91505092915050565b600082601f83011261261257600080fd5b8135612622848260208601612545565b91505092915050565b60008135905061263a81613ad0565b92915050565b60006020828403121561265257600080fd5b600061266084828501612583565b91505092915050565b6000806040838503121561267c57600080fd5b600061268a85828601612583565b925050602061269b85828601612583565b9150509250929050565b6000806000606084860312156126ba57600080fd5b60006126c886828701612583565b93505060206126d986828701612583565b92505060406126ea8682870161262b565b9150509250925092565b6000806000806080858703121561270a57600080fd5b600061271887828801612583565b945050602061272987828801612583565b935050604061273a8782880161262b565b925050606085013567ffffffffffffffff81111561275757600080fd5b612763878288016125d7565b91505092959194509250565b6000806040838503121561278257600080fd5b600061279085828601612583565b92505060206127a185828601612598565b9150509250929050565b600080604083850312156127be57600080fd5b60006127cc85828601612583565b92505060206127dd8582860161262b565b9150509250929050565b6000602082840312156127f957600080fd5b600061280784828501612598565b91505092915050565b60006020828403121561282257600080fd5b6000612830848285016125ad565b91505092915050565b60006020828403121561284b57600080fd5b6000612859848285016125c2565b91505092915050565b60006020828403121561287457600080fd5b600082013567ffffffffffffffff81111561288e57600080fd5b61289a84828501612601565b91505092915050565b6000602082840312156128b557600080fd5b60006128c38482850161262b565b91505092915050565b6128d581613245565b82525050565b6128e481613257565b82525050565b60006128f582613147565b6128ff818561315d565b935061290f8185602086016132c8565b61291881613494565b840191505092915050565b600061292e82613152565b612938818561316e565b93506129488185602086016132c8565b61295181613494565b840191505092915050565b600061296782613152565b612971818561317f565b93506129818185602086016132c8565b80840191505092915050565b6000815461299a816132fb565b6129a4818661317f565b945060018216600081146129bf57600181146129d057612a03565b60ff19831686528186019350612a03565b6129d985613132565b60005b838110156129fb578154818901526001820191506020810190506129dc565b838801955050505b50505092915050565b6000612a1960228361316e565b9150612a24826134a5565b604082019050919050565b6000612a3c600b8361316e565b9150612a47826134f4565b602082019050919050565b6000612a5f60268361316e565b9150612a6a8261351d565b604082019050919050565b6000612a82602a8361316e565b9150612a8d8261356c565b604082019050919050565b6000612aa560238361316e565b9150612ab0826135bb565b604082019050919050565b6000612ac860258361316e565b9150612ad38261360a565b604082019050919050565b6000612aeb60398361316e565b9150612af682613659565b604082019050919050565b6000612b0e602b8361316e565b9150612b19826136a8565b604082019050919050565b6000612b3160268361316e565b9150612b3c826136f7565b604082019050919050565b6000612b5460058361317f565b9150612b5f82613746565b600582019050919050565b6000612b77601f8361316e565b9150612b828261376f565b602082019050919050565b6000612b9a60208361316e565b9150612ba582613798565b602082019050919050565b6000612bbd601a8361316e565b9150612bc8826137c1565b602082019050919050565b6000612be060328361316e565b9150612beb826137ea565b604082019050919050565b6000612c0360168361316e565b9150612c0e82613839565b602082019050919050565b6000612c2660228361316e565b9150612c3182613862565b604082019050919050565b6000612c4960338361316e565b9150612c54826138b1565b604082019050919050565b6000612c6c60218361316e565b9150612c7782613900565b604082019050919050565b6000612c8f60288361316e565b9150612c9a8261394f565b604082019050919050565b6000612cb2602e8361316e565b9150612cbd8261399e565b604082019050919050565b6000612cd5602f8361316e565b9150612ce0826139ed565b604082019050919050565b6000612cf8602d8361316e565b9150612d0382613a3c565b604082019050919050565b612d17816132af565b82525050565b6000612d29828561298d565b9150612d35828461295c565b9150612d4082612b47565b91508190509392505050565b6000602082019050612d6160008301846128cc565b92915050565b6000608082019050612d7c60008301876128cc565b612d8960208301866128cc565b612d966040830185612d0e565b8181036060830152612da881846128ea565b905095945050505050565b6000602082019050612dc860008301846128db565b92915050565b60006020820190508181036000830152612de88184612923565b905092915050565b60006020820190508181036000830152612e0981612a0c565b9050919050565b60006020820190508181036000830152612e2981612a2f565b9050919050565b60006020820190508181036000830152612e4981612a52565b9050919050565b60006020820190508181036000830152612e6981612a75565b9050919050565b60006020820190508181036000830152612e8981612a98565b9050919050565b60006020820190508181036000830152612ea981612abb565b9050919050565b60006020820190508181036000830152612ec981612ade565b9050919050565b60006020820190508181036000830152612ee981612b01565b9050919050565b60006020820190508181036000830152612f0981612b24565b9050919050565b60006020820190508181036000830152612f2981612b6a565b9050919050565b60006020820190508181036000830152612f4981612b8d565b9050919050565b60006020820190508181036000830152612f6981612bb0565b9050919050565b60006020820190508181036000830152612f8981612bd3565b9050919050565b60006020820190508181036000830152612fa981612bf6565b9050919050565b60006020820190508181036000830152612fc981612c19565b9050919050565b60006020820190508181036000830152612fe981612c3c565b9050919050565b6000602082019050818103600083015261300981612c5f565b9050919050565b6000602082019050818103600083015261302981612c82565b9050919050565b6000602082019050818103600083015261304981612ca5565b9050919050565b6000602082019050818103600083015261306981612cc8565b9050919050565b6000602082019050818103600083015261308981612ceb565b9050919050565b60006020820190506130a56000830184612d0e565b92915050565b60006130b56130c6565b90506130c1828261332d565b919050565b6000604051905090565b600067ffffffffffffffff8211156130eb576130ea613465565b5b6130f482613494565b9050602081019050919050565b600067ffffffffffffffff82111561311c5761311b613465565b5b61312582613494565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613195826132af565b91506131a0836132af565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131d5576131d46133d8565b5b828201905092915050565b60006131eb826132af565b91506131f6836132af565b92508261320657613205613407565b5b828204905092915050565b600061321c826132af565b9150613227836132af565b92508282101561323a576132396133d8565b5b828203905092915050565b60006132508261328f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156132e65780820151818401526020810190506132cb565b838111156132f5576000848401525b50505050565b6000600282049050600182168061331357607f821691505b6020821081141561332757613326613436565b5b50919050565b61333682613494565b810181811067ffffffffffffffff8211171561335557613354613465565b5b80604052505050565b6000613369826132af565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561339c5761339b6133d8565b5b600182019050919050565b60006133b2826132af565b91506133bd836132af565b9250826133cd576133cc613407565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f596f752063616e206d696e74206d6178696d756d203130207065722074782e00600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b613a9481613245565b8114613a9f57600080fd5b50565b613aab81613257565b8114613ab657600080fd5b50565b613ac281613263565b8114613acd57600080fd5b50565b613ad9816132af565b8114613ae457600080fd5b5056fea26469706673582212200bddd8e8328da391687fd45f5a382b268948fc5d47425506942fc3f57c96f07664736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d636846377a6864726b69396679764361784e6d4479455364746f4831444269533950467a4e4e45735a596f372f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://gateway.pinata.cloud/ipfs/QmchF7zhdrki9fyvCaxNmDyESdtoH1DBiS9PFzNNEsZYo7/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [2] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [3] : 732f516d636846377a6864726b69396679764361784e6d4479455364746f4831
Arg [4] : 444269533950467a4e4e45735a596f372f000000000000000000000000000000


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.