ETH Price: $3,403.81 (+2.08%)

Token

omnies (OMN)
 

Overview

Max Total Supply

2,500 OMN

Holders

731

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 OMN
0x7d31553ef46e5d044785830eed3ba22e2e66854b
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
omnies

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : omnies.sol
// SPDX-License-Identifier: MIT
// Sources flattened with hardhat v2.9.3 https://hardhat.org
// File @openzeppelin/contracts/utils/[email protected]
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)


pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/access/[email protected]
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/security/[email protected]
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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


// File @openzeppelin/contracts/utils/[email protected]

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

pragma solidity ^0.8.0;

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

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

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

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

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


// File @openzeppelin/contracts/utils/cryptography/[email protected]

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

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}


// File @openzeppelin/contracts/utils/introspection/[email protected]

// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC721/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

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

pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/[email protected]

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/introspection/[email protected]

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

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


// File erc721a/contracts/[email protected]

// Creator: Chiru Labs

pragma solidity ^0.8.4;







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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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


// File contracts/library/AddressString.sol


pragma solidity >=0.5.0;

library AddressString {
    // converts an address to the uppercase hex string, extracting only len bytes (up to 20, multiple of 2)
    function toAsciiString(address addr) internal pure returns (string memory) {
        bytes memory s = new bytes(42);
        uint160 addrNum = uint160(addr);
        s[0] = '0';
        s[1] = 'X';
        for (uint256 i = 0; i < 40 / 2; i++) {
            // shift right and truncate all but the least significant byte to extract the byte at position 19-i
            uint8 b = uint8(addrNum >> (8 * (19 - i)));
            // first hex character is the most significant 4 bits
            uint8 hi = b >> 4;
            // second hex character is the least significant 4 bits
            uint8 lo = b - (hi << 4);
            s[2 * i + 2] = char(hi);
            s[2 * i + 3] = char(lo);
        }
        return string(s);
    }

    // hi and lo are only 4 bits and between 0 and 16
    // this method converts those values to the unicode/ascii code point for the hex representation
    // uses upper case for the characters
    function char(uint8 b) private pure returns (bytes1 c) {
        if (b < 10) {
            return bytes1(b + 0x30);
        } else {
            return bytes1(b + 0x37);
        }
    }
}


pragma solidity ^0.8.4;

contract omnies is Ownable, ERC721A, ReentrancyGuard {
  uint256 public immutable maxPerAddressDuringMint;
  uint256 public immutable amountForDevs;
  uint256 public immutable amountForSaleAndDev;
  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  struct SaleConfig {
    uint32 publicSaleStartTime;
    uint64 publicPriceWei;
  }

  SaleConfig public saleConfig;

  constructor()
  ERC721A("omnies", "OMN")
  {
    maxPerAddressDuringMint = 5;
    maxBatchSize = 5;
    collectionSize = amountForDevs = amountForSaleAndDev = 2500;
    saleConfig.publicPriceWei = 1 ether / 100;  // 0.01 ETH
    saleConfig.publicSaleStartTime = uint32(block.timestamp);
  }

  modifier callerIsUser() {
    require(tx.origin == msg.sender, "The caller is another contract");
    _;
  }

  function mint(uint256 quantity)
    external
    payable
    callerIsUser
  {
    SaleConfig memory config = saleConfig;
    uint256 publicPrice = uint256(config.publicPriceWei);
    uint256 publicSaleStartTime = uint256(config.publicSaleStartTime);

    require(
      isSaleOn(publicPrice, publicSaleStartTime),
      "sale has not begun yet"
    );
    require(totalSupply() + quantity <= collectionSize, "reached max supply");
    require(
      numberMinted(msg.sender) + quantity <= maxPerAddressDuringMint,
      "can not mint this many"
    );
    _safeMint(msg.sender, quantity);
    refundIfOver(publicPrice * quantity);
  }

  function refundIfOver(uint256 price)
    private
  {
    require(msg.value >= price, "Need to send more ETH.");
    if (msg.value > price) {
      payable(msg.sender).transfer(msg.value - price);
    }
  }

  function isSaleOn(uint256 _price, uint256 _startTime)
    public
    view
    returns (bool) 
  {
    return _price != 0 && _startTime != 0 && block.timestamp >= _startTime;
  }

  function getPrice()
    public
    view
    returns (uint256)
  {
    return uint256(saleConfig.publicPriceWei);
  }

  function setPublicSaleConfig(uint32 timestamp, uint64 price)
    external
    onlyOwner 
  {
    saleConfig.publicSaleStartTime = timestamp;
    saleConfig.publicPriceWei = price;
  }

  // For marketing etc.
  function reserve(uint256 quantity)
    external
    onlyOwner
  {
    require(
      totalSupply() + quantity <= amountForDevs,
      "too many already minted before dev mint"
    );
    require(
      quantity % maxBatchSize == 0,
      "can only mint a multiple of the maxBatchSize"
    );
    uint256 numChunks = quantity / maxBatchSize;
    for (uint256 i = 0; i < numChunks; i++) {
      _safeMint(msg.sender, maxBatchSize);
    }
  }

  // metadata URI
  string private _baseTokenURI;

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

  function setBaseURI(string calldata baseURI)
    external
    onlyOwner 
  {
    _baseTokenURI = baseURI;
  }

  function withdraw()
    external
    onlyOwner
    nonReentrant 
  {
    (bool success, ) = msg.sender.call{value: address(this).balance}("");
    require(success, "Transfer failed.");
  }

  function numberMinted(address owner)
    public
    view
    returns (uint256) 
  {
    return _numberMinted(owner);
  }

  function getOwnershipData(uint256 tokenId) 
    external
    view
    returns (TokenOwnership memory)
  {
    return _ownershipOf(tokenId);
  }

  function totalMinted()
    public
    view
    returns (uint256) 
  {
      // Counter underflow is impossible as _currentIndex does not decrement,
      // and it is initialized to _startTokenId()
      unchecked {
          return _currentIndex - _startTokenId();
      }
  }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"amountForDevs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountForSaleAndDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","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":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"isSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerAddressDuringMint","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"reserve","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":[],"name":"saleConfig","outputs":[{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"},{"internalType":"uint64","name":"publicPriceWei","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"timestamp","type":"uint32"},{"internalType":"uint64","name":"price","type":"uint64"}],"name":"setPublicSaleConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101206040523480156200001257600080fd5b506040518060400160405280600681526020017f6f6d6e69657300000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4f4d4e00000000000000000000000000000000000000000000000000000000008152506200009f620000936200017760201b60201c565b6200017f60201b60201c565b8160039080519060200190620000b792919062000248565b508060049080519060200190620000d092919062000248565b50620000e16200024360201b60201c565b60018190555050506001600981905550600560808181525050600561010081815250506109c460c08181525060a08181525060e08181525050662386f26fc10000600a60000160046101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555042600a60000160006101000a81548163ffffffff021916908363ffffffff1602179055506200035d565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b8280546200025690620002f8565b90600052602060002090601f0160209004810192826200027a5760008555620002c6565b82601f106200029557805160ff1916838001178555620002c6565b82800160010185558215620002c6579182015b82811115620002c5578251825591602001919060010190620002a8565b5b509050620002d59190620002d9565b5090565b5b80821115620002f4576000816000905550600101620002da565b5090565b600060028204905060018216806200031157607f821691505b602082108114156200032857620003276200032e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60805160a05160c05160e05161010051613db8620003be60003960008181610f4b01528181610fb90152610ff6015260006112ce015260006115e4015260008181610ed4015261191501526000818161103401526113430152613db86000f3fe6080604052600436106101d85760003560e01c80638da5cb5b11610102578063b88d4fde11610095578063e18bb94111610064578063e18bb941146106b2578063e985e9c5146106db578063f2fde38b14610718578063fbe1aa5114610741576101d8565b8063b88d4fde146105e4578063ba313ca71461060d578063c87b56dd14610638578063dc33e68114610675576101d8565b806398d5fdca116100d157806398d5fdca14610549578063a0712d6814610574578063a22cb46514610590578063a2309ff8146105b9576101d8565b80638da5cb5b1461048a57806390aa0b0f146104b55780639231ab2a146104e157806395d89b411461051e576101d8565b806342842e0e1161017a57806370a082311161014957806370a08231146103e2578063715018a61461041f578063819b25ba146104365780638bc35c2f1461045f576101d8565b806342842e0e1461031657806355f804b31461033f5780636352211e146103685780636b12304e146103a5576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd146102ab57806323b872dd146102d65780633ccfd60b146102ff576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612f45565b61076c565b604051610211919061343a565b60405180910390f35b34801561022657600080fd5b5061022f61084e565b60405161023c9190613455565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190612fec565b6108e0565b60405161027991906133d3565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612f05565b61095c565b005b3480156102b757600080fd5b506102c0610a67565b6040516102cd91906135f2565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190612def565b610a7e565b005b34801561030b57600080fd5b50610314610a8e565b005b34801561032257600080fd5b5061033d60048036038101906103389190612def565b610c0f565b005b34801561034b57600080fd5b5061036660048036038101906103619190612f9f565b610c2f565b005b34801561037457600080fd5b5061038f600480360381019061038a9190612fec565b610cc1565b60405161039c91906133d3565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c79190613019565b610cd7565b6040516103d9919061343a565b60405180910390f35b3480156103ee57600080fd5b5061040960048036038101906104049190612d82565b610cfe565b60405161041691906135f2565b60405180910390f35b34801561042b57600080fd5b50610434610dce565b005b34801561044257600080fd5b5061045d60048036038101906104589190612fec565b610e56565b005b34801561046b57600080fd5b50610474611032565b60405161048191906135f2565b60405180910390f35b34801561049657600080fd5b5061049f611056565b6040516104ac91906133d3565b60405180910390f35b3480156104c157600080fd5b506104ca61107f565b6040516104d892919061360d565b60405180910390f35b3480156104ed57600080fd5b5061050860048036038101906105039190612fec565b6110b5565b60405161051591906135d7565b60405180910390f35b34801561052a57600080fd5b506105336110cd565b6040516105409190613455565b60405180910390f35b34801561055557600080fd5b5061055e61115f565b60405161056b91906135f2565b60405180910390f35b61058e60048036038101906105899190612fec565b61118a565b005b34801561059c57600080fd5b506105b760048036038101906105b29190612ec5565b6113db565b005b3480156105c557600080fd5b506105ce611553565b6040516105db91906135f2565b60405180910390f35b3480156105f057600080fd5b5061060b60048036038101906106069190612e42565b611566565b005b34801561061957600080fd5b506106226115e2565b60405161062f91906135f2565b60405180910390f35b34801561064457600080fd5b5061065f600480360381019061065a9190612fec565b611606565b60405161066c9190613455565b60405180910390f35b34801561068157600080fd5b5061069c60048036038101906106979190612d82565b6116a5565b6040516106a991906135f2565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d49190613059565b6116b7565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190612daf565b611787565b60405161070f919061343a565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a9190612d82565b61181b565b005b34801561074d57600080fd5b50610756611913565b60405161076391906135f2565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061083757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610847575061084682611937565b5b9050919050565b60606003805461085d906138c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610889906138c9565b80156108d65780601f106108ab576101008083540402835291602001916108d6565b820191906000526020600020905b8154815290600101906020018083116108b957829003601f168201915b5050505050905090565b60006108eb826119a1565b610921576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061096782610cc1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109cf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ee6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614158015610a205750610a1e81610a196119ef565b611787565b155b15610a57576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a628383836119f7565b505050565b6000610a71611aa9565b6002546001540303905090565b610a89838383611aae565b505050565b610a966119ef565b73ffffffffffffffffffffffffffffffffffffffff16610ab4611056565b73ffffffffffffffffffffffffffffffffffffffff1614610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0190613517565b60405180910390fd5b60026009541415610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b47906135b7565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051610b7e906133be565b60006040518083038185875af1925050503d8060008114610bbb576040519150601f19603f3d011682016040523d82523d6000602084013e610bc0565b606091505b5050905080610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90613537565b60405180910390fd5b506001600981905550565b610c2a83838360405180602001604052806000815250611566565b505050565b610c376119ef565b73ffffffffffffffffffffffffffffffffffffffff16610c55611056565b73ffffffffffffffffffffffffffffffffffffffff1614610cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca290613517565b60405180910390fd5b8181600b9190610cbc929190612b43565b505050565b6000610ccc82611f64565b600001519050919050565b6000808314158015610cea575060008214155b8015610cf65750814210155b905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d66576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610dd66119ef565b73ffffffffffffffffffffffffffffffffffffffff16610df4611056565b73ffffffffffffffffffffffffffffffffffffffff1614610e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4190613517565b60405180910390fd5b610e5460006121f3565b565b610e5e6119ef565b73ffffffffffffffffffffffffffffffffffffffff16610e7c611056565b73ffffffffffffffffffffffffffffffffffffffff1614610ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec990613517565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081610efc610a67565b610f0691906136da565b1115610f47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3e90613597565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000082610f759190613975565b14610fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fac906134b7565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000082610fe39190613730565b905060005b8181101561102d5761101a337f00000000000000000000000000000000000000000000000000000000000000006122b7565b80806110259061392c565b915050610fe8565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a8060000160009054906101000a900463ffffffff16908060000160049054906101000a900467ffffffffffffffff16905082565b6110bd612bc9565b6110c682611f64565b9050919050565b6060600480546110dc906138c9565b80601f0160208091040260200160405190810160405280929190818152602001828054611108906138c9565b80156111555780601f1061112a57610100808354040283529160200191611155565b820191906000526020600020905b81548152906001019060200180831161113857829003601f168201915b5050505050905090565b6000600a60000160049054906101000a900467ffffffffffffffff1667ffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146111f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ef906134d7565b60405180910390fd5b6000600a6040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff168152505090506000816020015167ffffffffffffffff1690506000826000015163ffffffff16905061128d8282610cd7565b6112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c390613477565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000846112f6610a67565b61130091906136da565b1115611341576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611338906134f7565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008461136c336116a5565b61137691906136da565b11156113b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ae90613577565b60405180910390fd5b6113c133856122b7565b6113d584836113d09190613761565b6122d5565b50505050565b6113e36119ef565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611448576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006114556119ef565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115026119ef565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611547919061343a565b60405180910390a35050565b600061155d611aa9565b60015403905090565b611571848484611aae565b6115908373ffffffffffffffffffffffffffffffffffffffff16612376565b80156115a557506115a384848484612399565b155b156115dc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6060611611826119a1565b611647576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116516124f9565b9050600081511415611672576040518060200160405280600081525061169d565b8061167c8461258b565b60405160200161168d92919061339a565b6040516020818303038152906040525b915050919050565b60006116b0826126ec565b9050919050565b6116bf6119ef565b73ffffffffffffffffffffffffffffffffffffffff166116dd611056565b73ffffffffffffffffffffffffffffffffffffffff1614611733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172a90613517565b60405180910390fd5b81600a60000160006101000a81548163ffffffff021916908363ffffffff16021790555080600a60000160046101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118236119ef565b73ffffffffffffffffffffffffffffffffffffffff16611841611056565b73ffffffffffffffffffffffffffffffffffffffff1614611897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188e90613517565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90613497565b60405180910390fd5b611910816121f3565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816119ac611aa9565b111580156119bb575060015482105b80156119e8575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611ab982611f64565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611b24576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611b456119ef565b73ffffffffffffffffffffffffffffffffffffffff161480611b745750611b7385611b6e6119ef565b611787565b5b80611bb95750611b826119ef565b73ffffffffffffffffffffffffffffffffffffffff16611ba1846108e0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611bf2576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c59576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c668585856001612756565b611c72600084876119f7565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600560008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600560008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611ef2576001548214611ef157878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f5d858585600161275c565b5050505050565b611f6c612bc9565b600082905080611f7a611aa9565b11158015611f89575060015481105b156121bc576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516121ba57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461209e5780925050506121ee565b5b6001156121b957818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146121b45780925050506121ee565b61209f565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6122d1828260405180602001604052806000815250612762565b5050565b80341015612318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230f90613557565b60405180910390fd5b80341115612373573373ffffffffffffffffffffffffffffffffffffffff166108fc823461234691906137bb565b9081150290604051600060405180830381858888f19350505050158015612371573d6000803e3d6000fd5b505b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123bf6119ef565b8786866040518563ffffffff1660e01b81526004016123e194939291906133ee565b602060405180830381600087803b1580156123fb57600080fd5b505af192505050801561242c57506040513d601f19601f820116820180604052508101906124299190612f72565b60015b6124a6573d806000811461245c576040519150601f19603f3d011682016040523d82523d6000602084013e612461565b606091505b5060008151141561249e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612508906138c9565b80601f0160208091040260200160405190810160405280929190818152602001828054612534906138c9565b80156125815780601f1061255657610100808354040283529160200191612581565b820191906000526020600020905b81548152906001019060200180831161256457829003601f168201915b5050505050905090565b606060008214156125d3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126e7565b600082905060005b600082146126055780806125ee9061392c565b915050600a826125fe9190613730565b91506125db565b60008167ffffffffffffffff81111561262157612620613a62565b5b6040519080825280601f01601f1916602001820160405280156126535781602001600182028036833780820191505090505b5090505b600085146126e05760018261266c91906137bb565b9150600a8561267b9190613975565b603061268791906136da565b60f81b81838151811061269d5761269c613a33565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126d99190613730565b9450612657565b8093505050505b919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b61276f8383836001612774565b505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156127e2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141561281d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61282a6000868387612756565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156129f457506129f38773ffffffffffffffffffffffffffffffffffffffff16612376565b5b15612aba575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a696000888480600101955088612399565b612a9f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156129fa578260015414612ab557600080fd5b612b26565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612abb575b816001819055505050612b3c600086838761275c565b5050505050565b828054612b4f906138c9565b90600052602060002090601f016020900481019282612b715760008555612bb8565b82601f10612b8a57803560ff1916838001178555612bb8565b82800160010185558215612bb8579182015b82811115612bb7578235825591602001919060010190612b9c565b5b509050612bc59190612c0c565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612c25576000816000905550600101612c0d565b5090565b6000612c3c612c378461365b565b613636565b905082815260208101848484011115612c5857612c57613aa0565b5b612c63848285613887565b509392505050565b600081359050612c7a81613cf8565b92915050565b600081359050612c8f81613d0f565b92915050565b600081359050612ca481613d26565b92915050565b600081519050612cb981613d26565b92915050565b600082601f830112612cd457612cd3613a96565b5b8135612ce4848260208601612c29565b91505092915050565b60008083601f840112612d0357612d02613a96565b5b8235905067ffffffffffffffff811115612d2057612d1f613a91565b5b602083019150836001820283011115612d3c57612d3b613a9b565b5b9250929050565b600081359050612d5281613d3d565b92915050565b600081359050612d6781613d54565b92915050565b600081359050612d7c81613d6b565b92915050565b600060208284031215612d9857612d97613aaa565b5b6000612da684828501612c6b565b91505092915050565b60008060408385031215612dc657612dc5613aaa565b5b6000612dd485828601612c6b565b9250506020612de585828601612c6b565b9150509250929050565b600080600060608486031215612e0857612e07613aaa565b5b6000612e1686828701612c6b565b9350506020612e2786828701612c6b565b9250506040612e3886828701612d43565b9150509250925092565b60008060008060808587031215612e5c57612e5b613aaa565b5b6000612e6a87828801612c6b565b9450506020612e7b87828801612c6b565b9350506040612e8c87828801612d43565b925050606085013567ffffffffffffffff811115612ead57612eac613aa5565b5b612eb987828801612cbf565b91505092959194509250565b60008060408385031215612edc57612edb613aaa565b5b6000612eea85828601612c6b565b9250506020612efb85828601612c80565b9150509250929050565b60008060408385031215612f1c57612f1b613aaa565b5b6000612f2a85828601612c6b565b9250506020612f3b85828601612d43565b9150509250929050565b600060208284031215612f5b57612f5a613aaa565b5b6000612f6984828501612c95565b91505092915050565b600060208284031215612f8857612f87613aaa565b5b6000612f9684828501612caa565b91505092915050565b60008060208385031215612fb657612fb5613aaa565b5b600083013567ffffffffffffffff811115612fd457612fd3613aa5565b5b612fe085828601612ced565b92509250509250929050565b60006020828403121561300257613001613aaa565b5b600061301084828501612d43565b91505092915050565b600080604083850312156130305761302f613aaa565b5b600061303e85828601612d43565b925050602061304f85828601612d43565b9150509250929050565b600080604083850312156130705761306f613aaa565b5b600061307e85828601612d58565b925050602061308f85828601612d6d565b9150509250929050565b6130a2816137ef565b82525050565b6130b1816137ef565b82525050565b6130c081613801565b82525050565b6130cf81613801565b82525050565b60006130e08261368c565b6130ea81856136a2565b93506130fa818560208601613896565b61310381613aaf565b840191505092915050565b600061311982613697565b61312381856136be565b9350613133818560208601613896565b61313c81613aaf565b840191505092915050565b600061315282613697565b61315c81856136cf565b935061316c818560208601613896565b80840191505092915050565b60006131856016836136be565b915061319082613ac0565b602082019050919050565b60006131a86026836136be565b91506131b382613ae9565b604082019050919050565b60006131cb602c836136be565b91506131d682613b38565b604082019050919050565b60006131ee601e836136be565b91506131f982613b87565b602082019050919050565b60006132116012836136be565b915061321c82613bb0565b602082019050919050565b60006132346020836136be565b915061323f82613bd9565b602082019050919050565b60006132576000836136b3565b915061326282613c02565b600082019050919050565b600061327a6010836136be565b915061328582613c05565b602082019050919050565b600061329d6016836136be565b91506132a882613c2e565b602082019050919050565b60006132c06016836136be565b91506132cb82613c57565b602082019050919050565b60006132e36027836136be565b91506132ee82613c80565b604082019050919050565b6000613306601f836136be565b915061331182613ccf565b602082019050919050565b6060820160008201516133326000850182613099565b506020820151613345602085018261337c565b50604082015161335860408501826130b7565b50505050565b61336781613859565b82525050565b61337681613863565b82525050565b61338581613873565b82525050565b61339481613873565b82525050565b60006133a68285613147565b91506133b28284613147565b91508190509392505050565b60006133c98261324a565b9150819050919050565b60006020820190506133e860008301846130a8565b92915050565b600060808201905061340360008301876130a8565b61341060208301866130a8565b61341d604083018561335e565b818103606083015261342f81846130d5565b905095945050505050565b600060208201905061344f60008301846130c6565b92915050565b6000602082019050818103600083015261346f818461310e565b905092915050565b6000602082019050818103600083015261349081613178565b9050919050565b600060208201905081810360008301526134b08161319b565b9050919050565b600060208201905081810360008301526134d0816131be565b9050919050565b600060208201905081810360008301526134f0816131e1565b9050919050565b6000602082019050818103600083015261351081613204565b9050919050565b6000602082019050818103600083015261353081613227565b9050919050565b600060208201905081810360008301526135508161326d565b9050919050565b6000602082019050818103600083015261357081613290565b9050919050565b60006020820190508181036000830152613590816132b3565b9050919050565b600060208201905081810360008301526135b0816132d6565b9050919050565b600060208201905081810360008301526135d0816132f9565b9050919050565b60006060820190506135ec600083018461331c565b92915050565b6000602082019050613607600083018461335e565b92915050565b6000604082019050613622600083018561336d565b61362f602083018461338b565b9392505050565b6000613640613651565b905061364c82826138fb565b919050565b6000604051905090565b600067ffffffffffffffff82111561367657613675613a62565b5b61367f82613aaf565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006136e582613859565b91506136f083613859565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613725576137246139a6565b5b828201905092915050565b600061373b82613859565b915061374683613859565b925082613756576137556139d5565b5b828204905092915050565b600061376c82613859565b915061377783613859565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137b0576137af6139a6565b5b828202905092915050565b60006137c682613859565b91506137d183613859565b9250828210156137e4576137e36139a6565b5b828203905092915050565b60006137fa82613839565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156138b4578082015181840152602081019050613899565b838111156138c3576000848401525b50505050565b600060028204905060018216806138e157607f821691505b602082108114156138f5576138f4613a04565b5b50919050565b61390482613aaf565b810181811067ffffffffffffffff8211171561392357613922613a62565b5b80604052505050565b600061393782613859565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561396a576139696139a6565b5b600182019050919050565b600061398082613859565b915061398b83613859565b92508261399b5761399a6139d5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f73616c6520686173206e6f7420626567756e2079657400000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f63616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060008201527f6d6178426174636853697a650000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4e65656420746f2073656e64206d6f7265204554482e00000000000000000000600082015250565b7f63616e206e6f74206d696e742074686973206d616e7900000000000000000000600082015250565b7f746f6f206d616e7920616c7265616479206d696e746564206265666f7265206460008201527f6576206d696e7400000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b613d01816137ef565b8114613d0c57600080fd5b50565b613d1881613801565b8114613d2357600080fd5b50565b613d2f8161380d565b8114613d3a57600080fd5b50565b613d4681613859565b8114613d5157600080fd5b50565b613d5d81613863565b8114613d6857600080fd5b50565b613d7481613873565b8114613d7f57600080fd5b5056fea26469706673582212207ba487ef277dd5d8898ae2ba5da429e631e93fdba6743efb57ec2f0373b7df9f64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101d85760003560e01c80638da5cb5b11610102578063b88d4fde11610095578063e18bb94111610064578063e18bb941146106b2578063e985e9c5146106db578063f2fde38b14610718578063fbe1aa5114610741576101d8565b8063b88d4fde146105e4578063ba313ca71461060d578063c87b56dd14610638578063dc33e68114610675576101d8565b806398d5fdca116100d157806398d5fdca14610549578063a0712d6814610574578063a22cb46514610590578063a2309ff8146105b9576101d8565b80638da5cb5b1461048a57806390aa0b0f146104b55780639231ab2a146104e157806395d89b411461051e576101d8565b806342842e0e1161017a57806370a082311161014957806370a08231146103e2578063715018a61461041f578063819b25ba146104365780638bc35c2f1461045f576101d8565b806342842e0e1461031657806355f804b31461033f5780636352211e146103685780636b12304e146103a5576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd146102ab57806323b872dd146102d65780633ccfd60b146102ff576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612f45565b61076c565b604051610211919061343a565b60405180910390f35b34801561022657600080fd5b5061022f61084e565b60405161023c9190613455565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190612fec565b6108e0565b60405161027991906133d3565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612f05565b61095c565b005b3480156102b757600080fd5b506102c0610a67565b6040516102cd91906135f2565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190612def565b610a7e565b005b34801561030b57600080fd5b50610314610a8e565b005b34801561032257600080fd5b5061033d60048036038101906103389190612def565b610c0f565b005b34801561034b57600080fd5b5061036660048036038101906103619190612f9f565b610c2f565b005b34801561037457600080fd5b5061038f600480360381019061038a9190612fec565b610cc1565b60405161039c91906133d3565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c79190613019565b610cd7565b6040516103d9919061343a565b60405180910390f35b3480156103ee57600080fd5b5061040960048036038101906104049190612d82565b610cfe565b60405161041691906135f2565b60405180910390f35b34801561042b57600080fd5b50610434610dce565b005b34801561044257600080fd5b5061045d60048036038101906104589190612fec565b610e56565b005b34801561046b57600080fd5b50610474611032565b60405161048191906135f2565b60405180910390f35b34801561049657600080fd5b5061049f611056565b6040516104ac91906133d3565b60405180910390f35b3480156104c157600080fd5b506104ca61107f565b6040516104d892919061360d565b60405180910390f35b3480156104ed57600080fd5b5061050860048036038101906105039190612fec565b6110b5565b60405161051591906135d7565b60405180910390f35b34801561052a57600080fd5b506105336110cd565b6040516105409190613455565b60405180910390f35b34801561055557600080fd5b5061055e61115f565b60405161056b91906135f2565b60405180910390f35b61058e60048036038101906105899190612fec565b61118a565b005b34801561059c57600080fd5b506105b760048036038101906105b29190612ec5565b6113db565b005b3480156105c557600080fd5b506105ce611553565b6040516105db91906135f2565b60405180910390f35b3480156105f057600080fd5b5061060b60048036038101906106069190612e42565b611566565b005b34801561061957600080fd5b506106226115e2565b60405161062f91906135f2565b60405180910390f35b34801561064457600080fd5b5061065f600480360381019061065a9190612fec565b611606565b60405161066c9190613455565b60405180910390f35b34801561068157600080fd5b5061069c60048036038101906106979190612d82565b6116a5565b6040516106a991906135f2565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d49190613059565b6116b7565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190612daf565b611787565b60405161070f919061343a565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a9190612d82565b61181b565b005b34801561074d57600080fd5b50610756611913565b60405161076391906135f2565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061083757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610847575061084682611937565b5b9050919050565b60606003805461085d906138c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610889906138c9565b80156108d65780601f106108ab576101008083540402835291602001916108d6565b820191906000526020600020905b8154815290600101906020018083116108b957829003601f168201915b5050505050905090565b60006108eb826119a1565b610921576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061096782610cc1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109cf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ee6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614158015610a205750610a1e81610a196119ef565b611787565b155b15610a57576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a628383836119f7565b505050565b6000610a71611aa9565b6002546001540303905090565b610a89838383611aae565b505050565b610a966119ef565b73ffffffffffffffffffffffffffffffffffffffff16610ab4611056565b73ffffffffffffffffffffffffffffffffffffffff1614610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0190613517565b60405180910390fd5b60026009541415610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b47906135b7565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051610b7e906133be565b60006040518083038185875af1925050503d8060008114610bbb576040519150601f19603f3d011682016040523d82523d6000602084013e610bc0565b606091505b5050905080610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90613537565b60405180910390fd5b506001600981905550565b610c2a83838360405180602001604052806000815250611566565b505050565b610c376119ef565b73ffffffffffffffffffffffffffffffffffffffff16610c55611056565b73ffffffffffffffffffffffffffffffffffffffff1614610cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca290613517565b60405180910390fd5b8181600b9190610cbc929190612b43565b505050565b6000610ccc82611f64565b600001519050919050565b6000808314158015610cea575060008214155b8015610cf65750814210155b905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d66576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610dd66119ef565b73ffffffffffffffffffffffffffffffffffffffff16610df4611056565b73ffffffffffffffffffffffffffffffffffffffff1614610e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4190613517565b60405180910390fd5b610e5460006121f3565b565b610e5e6119ef565b73ffffffffffffffffffffffffffffffffffffffff16610e7c611056565b73ffffffffffffffffffffffffffffffffffffffff1614610ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec990613517565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000009c481610efc610a67565b610f0691906136da565b1115610f47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3e90613597565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000582610f759190613975565b14610fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fac906134b7565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000582610fe39190613730565b905060005b8181101561102d5761101a337f00000000000000000000000000000000000000000000000000000000000000056122b7565b80806110259061392c565b915050610fe8565b505050565b7f000000000000000000000000000000000000000000000000000000000000000581565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a8060000160009054906101000a900463ffffffff16908060000160049054906101000a900467ffffffffffffffff16905082565b6110bd612bc9565b6110c682611f64565b9050919050565b6060600480546110dc906138c9565b80601f0160208091040260200160405190810160405280929190818152602001828054611108906138c9565b80156111555780601f1061112a57610100808354040283529160200191611155565b820191906000526020600020905b81548152906001019060200180831161113857829003601f168201915b5050505050905090565b6000600a60000160049054906101000a900467ffffffffffffffff1667ffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146111f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ef906134d7565b60405180910390fd5b6000600a6040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff168152505090506000816020015167ffffffffffffffff1690506000826000015163ffffffff16905061128d8282610cd7565b6112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c390613477565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000009c4846112f6610a67565b61130091906136da565b1115611341576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611338906134f7565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000058461136c336116a5565b61137691906136da565b11156113b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ae90613577565b60405180910390fd5b6113c133856122b7565b6113d584836113d09190613761565b6122d5565b50505050565b6113e36119ef565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611448576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006114556119ef565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115026119ef565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611547919061343a565b60405180910390a35050565b600061155d611aa9565b60015403905090565b611571848484611aae565b6115908373ffffffffffffffffffffffffffffffffffffffff16612376565b80156115a557506115a384848484612399565b155b156115dc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b7f00000000000000000000000000000000000000000000000000000000000009c481565b6060611611826119a1565b611647576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116516124f9565b9050600081511415611672576040518060200160405280600081525061169d565b8061167c8461258b565b60405160200161168d92919061339a565b6040516020818303038152906040525b915050919050565b60006116b0826126ec565b9050919050565b6116bf6119ef565b73ffffffffffffffffffffffffffffffffffffffff166116dd611056565b73ffffffffffffffffffffffffffffffffffffffff1614611733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172a90613517565b60405180910390fd5b81600a60000160006101000a81548163ffffffff021916908363ffffffff16021790555080600a60000160046101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118236119ef565b73ffffffffffffffffffffffffffffffffffffffff16611841611056565b73ffffffffffffffffffffffffffffffffffffffff1614611897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188e90613517565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90613497565b60405180910390fd5b611910816121f3565b50565b7f00000000000000000000000000000000000000000000000000000000000009c481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816119ac611aa9565b111580156119bb575060015482105b80156119e8575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611ab982611f64565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611b24576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611b456119ef565b73ffffffffffffffffffffffffffffffffffffffff161480611b745750611b7385611b6e6119ef565b611787565b5b80611bb95750611b826119ef565b73ffffffffffffffffffffffffffffffffffffffff16611ba1846108e0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611bf2576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c59576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c668585856001612756565b611c72600084876119f7565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600560008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600560008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611ef2576001548214611ef157878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f5d858585600161275c565b5050505050565b611f6c612bc9565b600082905080611f7a611aa9565b11158015611f89575060015481105b156121bc576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516121ba57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461209e5780925050506121ee565b5b6001156121b957818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146121b45780925050506121ee565b61209f565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6122d1828260405180602001604052806000815250612762565b5050565b80341015612318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230f90613557565b60405180910390fd5b80341115612373573373ffffffffffffffffffffffffffffffffffffffff166108fc823461234691906137bb565b9081150290604051600060405180830381858888f19350505050158015612371573d6000803e3d6000fd5b505b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123bf6119ef565b8786866040518563ffffffff1660e01b81526004016123e194939291906133ee565b602060405180830381600087803b1580156123fb57600080fd5b505af192505050801561242c57506040513d601f19601f820116820180604052508101906124299190612f72565b60015b6124a6573d806000811461245c576040519150601f19603f3d011682016040523d82523d6000602084013e612461565b606091505b5060008151141561249e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612508906138c9565b80601f0160208091040260200160405190810160405280929190818152602001828054612534906138c9565b80156125815780601f1061255657610100808354040283529160200191612581565b820191906000526020600020905b81548152906001019060200180831161256457829003601f168201915b5050505050905090565b606060008214156125d3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126e7565b600082905060005b600082146126055780806125ee9061392c565b915050600a826125fe9190613730565b91506125db565b60008167ffffffffffffffff81111561262157612620613a62565b5b6040519080825280601f01601f1916602001820160405280156126535781602001600182028036833780820191505090505b5090505b600085146126e05760018261266c91906137bb565b9150600a8561267b9190613975565b603061268791906136da565b60f81b81838151811061269d5761269c613a33565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126d99190613730565b9450612657565b8093505050505b919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b61276f8383836001612774565b505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156127e2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141561281d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61282a6000868387612756565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156129f457506129f38773ffffffffffffffffffffffffffffffffffffffff16612376565b5b15612aba575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a696000888480600101955088612399565b612a9f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156129fa578260015414612ab557600080fd5b612b26565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612abb575b816001819055505050612b3c600086838761275c565b5050505050565b828054612b4f906138c9565b90600052602060002090601f016020900481019282612b715760008555612bb8565b82601f10612b8a57803560ff1916838001178555612bb8565b82800160010185558215612bb8579182015b82811115612bb7578235825591602001919060010190612b9c565b5b509050612bc59190612c0c565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612c25576000816000905550600101612c0d565b5090565b6000612c3c612c378461365b565b613636565b905082815260208101848484011115612c5857612c57613aa0565b5b612c63848285613887565b509392505050565b600081359050612c7a81613cf8565b92915050565b600081359050612c8f81613d0f565b92915050565b600081359050612ca481613d26565b92915050565b600081519050612cb981613d26565b92915050565b600082601f830112612cd457612cd3613a96565b5b8135612ce4848260208601612c29565b91505092915050565b60008083601f840112612d0357612d02613a96565b5b8235905067ffffffffffffffff811115612d2057612d1f613a91565b5b602083019150836001820283011115612d3c57612d3b613a9b565b5b9250929050565b600081359050612d5281613d3d565b92915050565b600081359050612d6781613d54565b92915050565b600081359050612d7c81613d6b565b92915050565b600060208284031215612d9857612d97613aaa565b5b6000612da684828501612c6b565b91505092915050565b60008060408385031215612dc657612dc5613aaa565b5b6000612dd485828601612c6b565b9250506020612de585828601612c6b565b9150509250929050565b600080600060608486031215612e0857612e07613aaa565b5b6000612e1686828701612c6b565b9350506020612e2786828701612c6b565b9250506040612e3886828701612d43565b9150509250925092565b60008060008060808587031215612e5c57612e5b613aaa565b5b6000612e6a87828801612c6b565b9450506020612e7b87828801612c6b565b9350506040612e8c87828801612d43565b925050606085013567ffffffffffffffff811115612ead57612eac613aa5565b5b612eb987828801612cbf565b91505092959194509250565b60008060408385031215612edc57612edb613aaa565b5b6000612eea85828601612c6b565b9250506020612efb85828601612c80565b9150509250929050565b60008060408385031215612f1c57612f1b613aaa565b5b6000612f2a85828601612c6b565b9250506020612f3b85828601612d43565b9150509250929050565b600060208284031215612f5b57612f5a613aaa565b5b6000612f6984828501612c95565b91505092915050565b600060208284031215612f8857612f87613aaa565b5b6000612f9684828501612caa565b91505092915050565b60008060208385031215612fb657612fb5613aaa565b5b600083013567ffffffffffffffff811115612fd457612fd3613aa5565b5b612fe085828601612ced565b92509250509250929050565b60006020828403121561300257613001613aaa565b5b600061301084828501612d43565b91505092915050565b600080604083850312156130305761302f613aaa565b5b600061303e85828601612d43565b925050602061304f85828601612d43565b9150509250929050565b600080604083850312156130705761306f613aaa565b5b600061307e85828601612d58565b925050602061308f85828601612d6d565b9150509250929050565b6130a2816137ef565b82525050565b6130b1816137ef565b82525050565b6130c081613801565b82525050565b6130cf81613801565b82525050565b60006130e08261368c565b6130ea81856136a2565b93506130fa818560208601613896565b61310381613aaf565b840191505092915050565b600061311982613697565b61312381856136be565b9350613133818560208601613896565b61313c81613aaf565b840191505092915050565b600061315282613697565b61315c81856136cf565b935061316c818560208601613896565b80840191505092915050565b60006131856016836136be565b915061319082613ac0565b602082019050919050565b60006131a86026836136be565b91506131b382613ae9565b604082019050919050565b60006131cb602c836136be565b91506131d682613b38565b604082019050919050565b60006131ee601e836136be565b91506131f982613b87565b602082019050919050565b60006132116012836136be565b915061321c82613bb0565b602082019050919050565b60006132346020836136be565b915061323f82613bd9565b602082019050919050565b60006132576000836136b3565b915061326282613c02565b600082019050919050565b600061327a6010836136be565b915061328582613c05565b602082019050919050565b600061329d6016836136be565b91506132a882613c2e565b602082019050919050565b60006132c06016836136be565b91506132cb82613c57565b602082019050919050565b60006132e36027836136be565b91506132ee82613c80565b604082019050919050565b6000613306601f836136be565b915061331182613ccf565b602082019050919050565b6060820160008201516133326000850182613099565b506020820151613345602085018261337c565b50604082015161335860408501826130b7565b50505050565b61336781613859565b82525050565b61337681613863565b82525050565b61338581613873565b82525050565b61339481613873565b82525050565b60006133a68285613147565b91506133b28284613147565b91508190509392505050565b60006133c98261324a565b9150819050919050565b60006020820190506133e860008301846130a8565b92915050565b600060808201905061340360008301876130a8565b61341060208301866130a8565b61341d604083018561335e565b818103606083015261342f81846130d5565b905095945050505050565b600060208201905061344f60008301846130c6565b92915050565b6000602082019050818103600083015261346f818461310e565b905092915050565b6000602082019050818103600083015261349081613178565b9050919050565b600060208201905081810360008301526134b08161319b565b9050919050565b600060208201905081810360008301526134d0816131be565b9050919050565b600060208201905081810360008301526134f0816131e1565b9050919050565b6000602082019050818103600083015261351081613204565b9050919050565b6000602082019050818103600083015261353081613227565b9050919050565b600060208201905081810360008301526135508161326d565b9050919050565b6000602082019050818103600083015261357081613290565b9050919050565b60006020820190508181036000830152613590816132b3565b9050919050565b600060208201905081810360008301526135b0816132d6565b9050919050565b600060208201905081810360008301526135d0816132f9565b9050919050565b60006060820190506135ec600083018461331c565b92915050565b6000602082019050613607600083018461335e565b92915050565b6000604082019050613622600083018561336d565b61362f602083018461338b565b9392505050565b6000613640613651565b905061364c82826138fb565b919050565b6000604051905090565b600067ffffffffffffffff82111561367657613675613a62565b5b61367f82613aaf565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006136e582613859565b91506136f083613859565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613725576137246139a6565b5b828201905092915050565b600061373b82613859565b915061374683613859565b925082613756576137556139d5565b5b828204905092915050565b600061376c82613859565b915061377783613859565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137b0576137af6139a6565b5b828202905092915050565b60006137c682613859565b91506137d183613859565b9250828210156137e4576137e36139a6565b5b828203905092915050565b60006137fa82613839565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156138b4578082015181840152602081019050613899565b838111156138c3576000848401525b50505050565b600060028204905060018216806138e157607f821691505b602082108114156138f5576138f4613a04565b5b50919050565b61390482613aaf565b810181811067ffffffffffffffff8211171561392357613922613a62565b5b80604052505050565b600061393782613859565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561396a576139696139a6565b5b600182019050919050565b600061398082613859565b915061398b83613859565b92508261399b5761399a6139d5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f73616c6520686173206e6f7420626567756e2079657400000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f63616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060008201527f6d6178426174636853697a650000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4e65656420746f2073656e64206d6f7265204554482e00000000000000000000600082015250565b7f63616e206e6f74206d696e742074686973206d616e7900000000000000000000600082015250565b7f746f6f206d616e7920616c7265616479206d696e746564206265666f7265206460008201527f6576206d696e7400000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b613d01816137ef565b8114613d0c57600080fd5b50565b613d1881613801565b8114613d2357600080fd5b50565b613d2f8161380d565b8114613d3a57600080fd5b50565b613d4681613859565b8114613d5157600080fd5b50565b613d5d81613863565b8114613d6857600080fd5b50565b613d7481613873565b8114613d7f57600080fd5b5056fea26469706673582212207ba487ef277dd5d8898ae2ba5da429e631e93fdba6743efb57ec2f0373b7df9f64736f6c63430008070033

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.