ETH Price: $3,433.86 (+7.57%)
Gas: 15 Gwei

Token

Tosa Inu ($TosaInu)
 

Overview

Max Total Supply

616 $TosaInu

Holders

154

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 $TosaInu
0x3ac91154a708c86e02a9c6c0fb1e6dea2cb2f0d5
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:
TosaInu

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-04-22
*/

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


// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


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

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


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

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.8.0) (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`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev 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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


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

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

// File: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;


/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

// File: ERC721A.sol



pragma solidity ^0.8.0;









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

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex = 1;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: transfer to non ERC721Receiver implementer'
        );
    }

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

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

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

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

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

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

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

            uint256 updatedIndex = startTokenId;

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

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

// File: TosaInu.sol



pragma solidity ^0.8.0;






contract TosaInu is Ownable, ERC721A, ReentrancyGuard {  
    using Strings for uint256;
    
    string private _baseURIextended = "";

    uint8 public mintStatus = 0; // 0: Wait, 1: Whitelist Sale, 2: Public Sale, 3: Sale Ended
    uint8 public mintLimit = 2;

    uint256 public constant MAX_NFT_SUPPLY = 5000;
    
    bytes32 public preSaleMerkleRoot;

    constructor() ERC721A("Tosa Inu", "$TosaInu") {
    }

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

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return bytes(_baseURIextended).length > 0 ? string(abi.encodePacked(_baseURIextended, tokenId.toString(), ".json")) : "";
    }

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

    function mintNFT(bytes32[] calldata _proof, uint256 _quantity) public {
        require(mintStatus == 1 || mintStatus == 2, "Mint is not started yet");
        require(_quantity > 0 && balanceOf(msg.sender) + _quantity <= mintLimit, "Input quantity correctly");
        require(totalSupply() + _quantity <= MAX_NFT_SUPPLY, "Sale has already ended");

        if(mintStatus == 1)
            require(MerkleProof.verify(_proof, preSaleMerkleRoot, keccak256(abi.encodePacked(msg.sender))), "Address does not exist in whitelist.");

        _safeMint(msg.sender, _quantity);
    }

    function mintNFTForOwner(uint8 _quantity) public onlyOwner {
        require(totalSupply() <= MAX_NFT_SUPPLY, "Sale has already ended");

        _safeMint(msg.sender, _quantity);
    }

    function setBaseURI(string memory baseURI_) external onlyOwner() {
        _baseURIextended = baseURI_;
    }

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

    function setStatus(uint8 _mintStatus) public onlyOwner {
        mintStatus = _mintStatus;
    }

    function setMintLimit(uint8 _mintLimit) public onlyOwner {
        mintLimit = _mintLimit;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_NFT_SUPPLY","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":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_quantity","type":"uint8"}],"name":"mintNFTForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mintLimit","type":"uint8"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mintStatus","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6001805560a0604052600060809081526009906200001e9082620001bc565b50600a805461ffff19166102001790553480156200003b57600080fd5b5060405180604001604052806008815260200167546f736120496e7560c01b8152506040518060400160405280600881526020016724546f7361496e7560c01b8152506200009862000092620000c360201b60201c565b620000c7565b6002620000a68382620001bc565b506003620000b58282620001bc565b505060016008555062000288565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200014257607f821691505b6020821081036200016357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001b757600081815260208120601f850160051c81016020861015620001925750805b601f850160051c820191505b81811015620001b3578281556001016200019e565b5050505b505050565b81516001600160401b03811115620001d857620001d862000117565b620001f081620001e984546200012d565b8462000169565b602080601f8311600181146200022857600084156200020f5750858301515b600019600386901b1c1916600185901b178555620001b3565b600085815260208120601f198616915b82811015620002595788860151825594840194600190910190840162000238565b5085821015620002785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611fa480620002986000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a08231116101045780639da3f8fd116100a2578063c87b56dd11610071578063c87b56dd1461040a578063e985e9c51461041d578063f2fde38b14610459578063fd6fbf5d1461046c57600080fd5b80639da3f8fd146103ce578063a22cb465146103db578063b5077f44146103ee578063b88d4fde146103f757600080fd5b80638da5cb5b116100de5780638da5cb5b146103505780639231ab2a1461036157806395d89b41146103a2578063996517cf146103aa57600080fd5b806370a0823114610322578063715018a6146103355780637cb647591461033d57600080fd5b806323cf7d321161017c578063438388451161014b57806343838845146102e05780634f6ccce7146102e957806355f804b3146102fc5780636352211e1461030f57600080fd5b806323cf7d32146102945780632e49d78b146102a75780632f745c59146102ba57806342842e0e146102cd57600080fd5b8063093c2dd8116101b8578063093c2dd814610247578063095ea7b31461025c57806318160ddd1461026f57806323b872dd1461028157600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed3660046118f6565b61047f565b60405190151581526020015b60405180910390f35b61020f6104ec565b6040516101fe9190611963565b61022f61022a366004611976565b61057e565b6040516001600160a01b0390911681526020016101fe565b61025a61025536600461198f565b61060e565b005b61025a61026a366004611a26565b610833565b6001545b6040519081526020016101fe565b61025a61028f366004611a50565b610945565b61025a6102a2366004611a8c565b610950565b61025a6102b5366004611a8c565b610974565b6102736102c8366004611a26565b610992565b61025a6102db366004611a50565b610af8565b610273600b5481565b6102736102f7366004611976565b610b13565b61025a61030a366004611b3b565b610b7c565b61022f61031d366004611976565b610b94565b610273610330366004611b84565b610ba6565b61025a610c37565b61025a61034b366004611976565b610c4b565b6000546001600160a01b031661022f565b61037461036f366004611976565b610c58565b6040805182516001600160a01b0316815260209283015167ffffffffffffffff1692810192909252016101fe565b61020f610c75565b600a546103bc90610100900460ff1681565b60405160ff90911681526020016101fe565b600a546103bc9060ff1681565b61025a6103e9366004611b9f565b610c84565b61027361138881565b61025a610405366004611bdb565b610d48565b61020f610418366004611976565b610d81565b6101f261042b366004611c57565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61025a610467366004611b84565b610e4e565b61025a61047a366004611a8c565b610ec7565b60006001600160e01b031982166380ac58cd60e01b14806104b057506001600160e01b03198216635b5e139f60e01b145b806104cb57506001600160e01b0319821663780e9d6360e01b145b806104e657506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104fb90611c8a565b80601f016020809104026020016040519081016040528092919081815260200182805461052790611c8a565b80156105745780601f1061054957610100808354040283529160200191610574565b820191906000526020600020905b81548152906001019060200180831161055757829003601f168201915b5050505050905090565b600061058b826001541190565b6105f25760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600a5460ff16600114806106275750600a5460ff166002145b6106735760405162461bcd60e51b815260206004820152601760248201527f4d696e74206973206e6f7420737461727465642079657400000000000000000060448201526064016105e9565b6000811180156106a05750600a54610100900460ff168161069333610ba6565b61069d9190611cda565b11155b6106ec5760405162461bcd60e51b815260206004820152601860248201527f496e707574207175616e7469747920636f72726563746c79000000000000000060448201526064016105e9565b611388816106f960015490565b6107039190611cda565b111561074a5760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016105e9565b600a5460ff16600103610824576107cc83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120610f2f565b6108245760405162461bcd60e51b8152602060048201526024808201527f4164647265737320646f6573206e6f7420657869737420696e2077686974656c60448201526334b9ba1760e11b60648201526084016105e9565b61082e3382610f45565b505050565b600061083e82610b94565b9050806001600160a01b0316836001600160a01b0316036108ac5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016105e9565b336001600160a01b03821614806108c857506108c8813361042b565b61093a5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016105e9565b61082e838383610f5f565b61082e838383610fbb565b6109586112a0565b600a805460ff9092166101000261ff0019909216919091179055565b61097c6112a0565b600a805460ff191660ff92909216919091179055565b600061099d83610ba6565b82106109f65760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016105e9565b6000610a0160015490565b905060008060005b83811015610a98576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610a5c57805192505b876001600160a01b0316836001600160a01b031603610a8f57868403610a88575093506104e692505050565b6001909301925b50600101610a09565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016105e9565b61082e83838360405180602001604052806000815250610d48565b6000610b1e60015490565b8210610b785760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016105e9565b5090565b610b846112a0565b6009610b908282611d3b565b5050565b6000610b9f826112fa565b5192915050565b60006001600160a01b038216610c125760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016105e9565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b610c3f6112a0565b610c4960006113d1565b565b610c536112a0565b600b55565b60408051808201909152600080825260208201526104e6826112fa565b6060600380546104fb90611c8a565b336001600160a01b03831603610cdc5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016105e9565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d53848484610fbb565b610d5f84848484611421565b610d7b5760405162461bcd60e51b81526004016105e990611dfb565b50505050565b6060610d8e826001541190565b610df25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105e9565b600060098054610e0190611c8a565b905011610e1d57604051806020016040528060008152506104e6565b6009610e2883611523565b604051602001610e39929190611e4e565b60405160208183030381529060405292915050565b610e566112a0565b6001600160a01b038116610ebb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e9565b610ec4816113d1565b50565b610ecf6112a0565b611388610edb60015490565b1115610f225760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016105e9565b610ec4338260ff16610f45565b600082610f3c85846115b6565b14949350505050565b610b90828260405180602001604052806000815250611603565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610fc6826112fa565b80519091506000906001600160a01b0316336001600160a01b03161480610ffd575033610ff28461057e565b6001600160a01b0316145b8061100f5750815161100f903361042b565b9050806110795760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016105e9565b846001600160a01b031682600001516001600160a01b0316146110ed5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016105e9565b6001600160a01b0384166111515760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016105e9565b6111616000848460000151610f5f565b6001600160a01b03858116600090815260056020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600490935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff160217905590860180835291205490911661125657611209816001541190565b15611256578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b03163314610c495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105e9565b6040805180820190915260008082526020820152611319826001541190565b6113785760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016105e9565b815b6000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156113c7579392505050565b506000190161137a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b1561151757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611465903390899088908890600401611ee5565b6020604051808303816000875af19250505080156114a0575060408051601f3d908101601f1916820190925261149d91810190611f22565b60015b6114fd573d8080156114ce576040519150601f19603f3d011682016040523d82523d6000602084013e6114d3565b606091505b5080516000036114f55760405162461bcd60e51b81526004016105e990611dfb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061151b565b5060015b949350505050565b6060600061153083611610565b600101905060008167ffffffffffffffff81111561155057611550611aaf565b6040519080825280601f01601f19166020018201604052801561157a576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461158457509392505050565b600081815b84518110156115fb576115e7828683815181106115da576115da611f3f565b60200260200101516116e8565b9150806115f381611f55565b9150506115bb565b509392505050565b61082e838383600161171a565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061164f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061167b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061169957662386f26fc10000830492506010015b6305f5e10083106116b1576305f5e100830492506008015b61271083106116c557612710830492506004015b606483106116d7576064830492506002015b600a83106104e65760010192915050565b6000818310611704576000828152602084905260409020611713565b60008381526020839052604090205b9392505050565b6001546001600160a01b03851661177d5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016105e9565b836000036117de5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b60648201526084016105e9565b6001600160a01b03851660008181526005602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526004909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b858110156118d75760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156118cb576118af6000888488611421565b6118cb5760405162461bcd60e51b81526004016105e990611dfb565b6001918201910161185c565b50600155611299565b6001600160e01b031981168114610ec457600080fd5b60006020828403121561190857600080fd5b8135611713816118e0565b60005b8381101561192e578181015183820152602001611916565b50506000910152565b6000815180845261194f816020860160208601611913565b601f01601f19169290920160200192915050565b6020815260006117136020830184611937565b60006020828403121561198857600080fd5b5035919050565b6000806000604084860312156119a457600080fd5b833567ffffffffffffffff808211156119bc57600080fd5b818601915086601f8301126119d057600080fd5b8135818111156119df57600080fd5b8760208260051b85010111156119f457600080fd5b6020928301989097509590910135949350505050565b80356001600160a01b0381168114611a2157600080fd5b919050565b60008060408385031215611a3957600080fd5b611a4283611a0a565b946020939093013593505050565b600080600060608486031215611a6557600080fd5b611a6e84611a0a565b9250611a7c60208501611a0a565b9150604084013590509250925092565b600060208284031215611a9e57600080fd5b813560ff8116811461171357600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ae057611ae0611aaf565b604051601f8501601f19908116603f01168101908282118183101715611b0857611b08611aaf565b81604052809350858152868686011115611b2157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b4d57600080fd5b813567ffffffffffffffff811115611b6457600080fd5b8201601f81018413611b7557600080fd5b61151b84823560208401611ac5565b600060208284031215611b9657600080fd5b61171382611a0a565b60008060408385031215611bb257600080fd5b611bbb83611a0a565b915060208301358015158114611bd057600080fd5b809150509250929050565b60008060008060808587031215611bf157600080fd5b611bfa85611a0a565b9350611c0860208601611a0a565b925060408501359150606085013567ffffffffffffffff811115611c2b57600080fd5b8501601f81018713611c3c57600080fd5b611c4b87823560208401611ac5565b91505092959194509250565b60008060408385031215611c6a57600080fd5b611c7383611a0a565b9150611c8160208401611a0a565b90509250929050565b600181811c90821680611c9e57607f821691505b602082108103611cbe57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104e6576104e6611cc4565b601f82111561082e57600081815260208120601f850160051c81016020861015611d145750805b601f850160051c820191505b81811015611d3357828155600101611d20565b505050505050565b815167ffffffffffffffff811115611d5557611d55611aaf565b611d6981611d638454611c8a565b84611ced565b602080601f831160018114611d9e5760008415611d865750858301515b600019600386901b1c1916600185901b178555611d33565b600085815260208120601f198616915b82811015611dcd57888601518255948401946001909101908401611dae565b5085821015611deb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000808454611e5c81611c8a565b60018281168015611e745760018114611e8957611eb8565b60ff1984168752821515830287019450611eb8565b8860005260208060002060005b85811015611eaf5781548a820152908401908201611e96565b50505082870194505b505050508351611ecc818360208801611913565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f1890830184611937565b9695505050505050565b600060208284031215611f3457600080fd5b8151611713816118e0565b634e487b7160e01b600052603260045260246000fd5b600060018201611f6757611f67611cc4565b506001019056fea2646970667358221220c74516ec0badc05dbdd98a89e782cffab9e7177b948864f85d4fd0c137d5e8b064736f6c63430008120033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a08231116101045780639da3f8fd116100a2578063c87b56dd11610071578063c87b56dd1461040a578063e985e9c51461041d578063f2fde38b14610459578063fd6fbf5d1461046c57600080fd5b80639da3f8fd146103ce578063a22cb465146103db578063b5077f44146103ee578063b88d4fde146103f757600080fd5b80638da5cb5b116100de5780638da5cb5b146103505780639231ab2a1461036157806395d89b41146103a2578063996517cf146103aa57600080fd5b806370a0823114610322578063715018a6146103355780637cb647591461033d57600080fd5b806323cf7d321161017c578063438388451161014b57806343838845146102e05780634f6ccce7146102e957806355f804b3146102fc5780636352211e1461030f57600080fd5b806323cf7d32146102945780632e49d78b146102a75780632f745c59146102ba57806342842e0e146102cd57600080fd5b8063093c2dd8116101b8578063093c2dd814610247578063095ea7b31461025c57806318160ddd1461026f57806323b872dd1461028157600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed3660046118f6565b61047f565b60405190151581526020015b60405180910390f35b61020f6104ec565b6040516101fe9190611963565b61022f61022a366004611976565b61057e565b6040516001600160a01b0390911681526020016101fe565b61025a61025536600461198f565b61060e565b005b61025a61026a366004611a26565b610833565b6001545b6040519081526020016101fe565b61025a61028f366004611a50565b610945565b61025a6102a2366004611a8c565b610950565b61025a6102b5366004611a8c565b610974565b6102736102c8366004611a26565b610992565b61025a6102db366004611a50565b610af8565b610273600b5481565b6102736102f7366004611976565b610b13565b61025a61030a366004611b3b565b610b7c565b61022f61031d366004611976565b610b94565b610273610330366004611b84565b610ba6565b61025a610c37565b61025a61034b366004611976565b610c4b565b6000546001600160a01b031661022f565b61037461036f366004611976565b610c58565b6040805182516001600160a01b0316815260209283015167ffffffffffffffff1692810192909252016101fe565b61020f610c75565b600a546103bc90610100900460ff1681565b60405160ff90911681526020016101fe565b600a546103bc9060ff1681565b61025a6103e9366004611b9f565b610c84565b61027361138881565b61025a610405366004611bdb565b610d48565b61020f610418366004611976565b610d81565b6101f261042b366004611c57565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61025a610467366004611b84565b610e4e565b61025a61047a366004611a8c565b610ec7565b60006001600160e01b031982166380ac58cd60e01b14806104b057506001600160e01b03198216635b5e139f60e01b145b806104cb57506001600160e01b0319821663780e9d6360e01b145b806104e657506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104fb90611c8a565b80601f016020809104026020016040519081016040528092919081815260200182805461052790611c8a565b80156105745780601f1061054957610100808354040283529160200191610574565b820191906000526020600020905b81548152906001019060200180831161055757829003601f168201915b5050505050905090565b600061058b826001541190565b6105f25760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600a5460ff16600114806106275750600a5460ff166002145b6106735760405162461bcd60e51b815260206004820152601760248201527f4d696e74206973206e6f7420737461727465642079657400000000000000000060448201526064016105e9565b6000811180156106a05750600a54610100900460ff168161069333610ba6565b61069d9190611cda565b11155b6106ec5760405162461bcd60e51b815260206004820152601860248201527f496e707574207175616e7469747920636f72726563746c79000000000000000060448201526064016105e9565b611388816106f960015490565b6107039190611cda565b111561074a5760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016105e9565b600a5460ff16600103610824576107cc83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120610f2f565b6108245760405162461bcd60e51b8152602060048201526024808201527f4164647265737320646f6573206e6f7420657869737420696e2077686974656c60448201526334b9ba1760e11b60648201526084016105e9565b61082e3382610f45565b505050565b600061083e82610b94565b9050806001600160a01b0316836001600160a01b0316036108ac5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016105e9565b336001600160a01b03821614806108c857506108c8813361042b565b61093a5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016105e9565b61082e838383610f5f565b61082e838383610fbb565b6109586112a0565b600a805460ff9092166101000261ff0019909216919091179055565b61097c6112a0565b600a805460ff191660ff92909216919091179055565b600061099d83610ba6565b82106109f65760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016105e9565b6000610a0160015490565b905060008060005b83811015610a98576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610a5c57805192505b876001600160a01b0316836001600160a01b031603610a8f57868403610a88575093506104e692505050565b6001909301925b50600101610a09565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016105e9565b61082e83838360405180602001604052806000815250610d48565b6000610b1e60015490565b8210610b785760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016105e9565b5090565b610b846112a0565b6009610b908282611d3b565b5050565b6000610b9f826112fa565b5192915050565b60006001600160a01b038216610c125760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016105e9565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b610c3f6112a0565b610c4960006113d1565b565b610c536112a0565b600b55565b60408051808201909152600080825260208201526104e6826112fa565b6060600380546104fb90611c8a565b336001600160a01b03831603610cdc5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016105e9565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d53848484610fbb565b610d5f84848484611421565b610d7b5760405162461bcd60e51b81526004016105e990611dfb565b50505050565b6060610d8e826001541190565b610df25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105e9565b600060098054610e0190611c8a565b905011610e1d57604051806020016040528060008152506104e6565b6009610e2883611523565b604051602001610e39929190611e4e565b60405160208183030381529060405292915050565b610e566112a0565b6001600160a01b038116610ebb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e9565b610ec4816113d1565b50565b610ecf6112a0565b611388610edb60015490565b1115610f225760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016105e9565b610ec4338260ff16610f45565b600082610f3c85846115b6565b14949350505050565b610b90828260405180602001604052806000815250611603565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610fc6826112fa565b80519091506000906001600160a01b0316336001600160a01b03161480610ffd575033610ff28461057e565b6001600160a01b0316145b8061100f5750815161100f903361042b565b9050806110795760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016105e9565b846001600160a01b031682600001516001600160a01b0316146110ed5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016105e9565b6001600160a01b0384166111515760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016105e9565b6111616000848460000151610f5f565b6001600160a01b03858116600090815260056020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600490935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff160217905590860180835291205490911661125657611209816001541190565b15611256578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b03163314610c495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105e9565b6040805180820190915260008082526020820152611319826001541190565b6113785760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016105e9565b815b6000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156113c7579392505050565b506000190161137a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b1561151757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611465903390899088908890600401611ee5565b6020604051808303816000875af19250505080156114a0575060408051601f3d908101601f1916820190925261149d91810190611f22565b60015b6114fd573d8080156114ce576040519150601f19603f3d011682016040523d82523d6000602084013e6114d3565b606091505b5080516000036114f55760405162461bcd60e51b81526004016105e990611dfb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061151b565b5060015b949350505050565b6060600061153083611610565b600101905060008167ffffffffffffffff81111561155057611550611aaf565b6040519080825280601f01601f19166020018201604052801561157a576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461158457509392505050565b600081815b84518110156115fb576115e7828683815181106115da576115da611f3f565b60200260200101516116e8565b9150806115f381611f55565b9150506115bb565b509392505050565b61082e838383600161171a565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061164f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061167b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061169957662386f26fc10000830492506010015b6305f5e10083106116b1576305f5e100830492506008015b61271083106116c557612710830492506004015b606483106116d7576064830492506002015b600a83106104e65760010192915050565b6000818310611704576000828152602084905260409020611713565b60008381526020839052604090205b9392505050565b6001546001600160a01b03851661177d5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016105e9565b836000036117de5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b60648201526084016105e9565b6001600160a01b03851660008181526005602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526004909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b858110156118d75760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156118cb576118af6000888488611421565b6118cb5760405162461bcd60e51b81526004016105e990611dfb565b6001918201910161185c565b50600155611299565b6001600160e01b031981168114610ec457600080fd5b60006020828403121561190857600080fd5b8135611713816118e0565b60005b8381101561192e578181015183820152602001611916565b50506000910152565b6000815180845261194f816020860160208601611913565b601f01601f19169290920160200192915050565b6020815260006117136020830184611937565b60006020828403121561198857600080fd5b5035919050565b6000806000604084860312156119a457600080fd5b833567ffffffffffffffff808211156119bc57600080fd5b818601915086601f8301126119d057600080fd5b8135818111156119df57600080fd5b8760208260051b85010111156119f457600080fd5b6020928301989097509590910135949350505050565b80356001600160a01b0381168114611a2157600080fd5b919050565b60008060408385031215611a3957600080fd5b611a4283611a0a565b946020939093013593505050565b600080600060608486031215611a6557600080fd5b611a6e84611a0a565b9250611a7c60208501611a0a565b9150604084013590509250925092565b600060208284031215611a9e57600080fd5b813560ff8116811461171357600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ae057611ae0611aaf565b604051601f8501601f19908116603f01168101908282118183101715611b0857611b08611aaf565b81604052809350858152868686011115611b2157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b4d57600080fd5b813567ffffffffffffffff811115611b6457600080fd5b8201601f81018413611b7557600080fd5b61151b84823560208401611ac5565b600060208284031215611b9657600080fd5b61171382611a0a565b60008060408385031215611bb257600080fd5b611bbb83611a0a565b915060208301358015158114611bd057600080fd5b809150509250929050565b60008060008060808587031215611bf157600080fd5b611bfa85611a0a565b9350611c0860208601611a0a565b925060408501359150606085013567ffffffffffffffff811115611c2b57600080fd5b8501601f81018713611c3c57600080fd5b611c4b87823560208401611ac5565b91505092959194509250565b60008060408385031215611c6a57600080fd5b611c7383611a0a565b9150611c8160208401611a0a565b90509250929050565b600181811c90821680611c9e57607f821691505b602082108103611cbe57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104e6576104e6611cc4565b601f82111561082e57600081815260208120601f850160051c81016020861015611d145750805b601f850160051c820191505b81811015611d3357828155600101611d20565b505050505050565b815167ffffffffffffffff811115611d5557611d55611aaf565b611d6981611d638454611c8a565b84611ced565b602080601f831160018114611d9e5760008415611d865750858301515b600019600386901b1c1916600185901b178555611d33565b600085815260208120601f198616915b82811015611dcd57888601518255948401946001909101908401611dae565b5085821015611deb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000808454611e5c81611c8a565b60018281168015611e745760018114611e8957611eb8565b60ff1984168752821515830287019450611eb8565b8860005260208060002060005b85811015611eaf5781548a820152908401908201611e96565b50505082870194505b505050508351611ecc818360208801611913565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f1890830184611937565b9695505050505050565b600060208284031215611f3457600080fd5b8151611713816118e0565b634e487b7160e01b600052603260045260246000fd5b600060018201611f6757611f67611cc4565b506001019056fea2646970667358221220c74516ec0badc05dbdd98a89e782cffab9e7177b948864f85d4fd0c137d5e8b064736f6c63430008120033

Deployed Bytecode Sourcemap

67446:2288:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41743:372;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;41743:372:0;;;;;;;;43629:100;;;:::i;:::-;;;;;;;:::i;45191:214::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;45191:214:0;1533:203:1;68497:585:0;;;;;;:::i;:::-;;:::i;:::-;;44712:413;;;;;;:::i;:::-;;:::i;40000:100::-;40080:12;;40000:100;;;3018:25:1;;;3006:2;2991:18;40000:100:0;2872:177:1;46067:162:0;;;;;;:::i;:::-;;:::i;69633:98::-;;;;;;:::i;:::-;;:::i;69527:::-;;;;;;:::i;:::-;;:::i;40664:1007::-;;;;;;:::i;:::-;;:::i;46300:177::-;;;;;;:::i;:::-;;:::i;67780:32::-;;;;;;40177:187;;;;;;:::i;:::-;;:::i;69287:111::-;;;;;;:::i;:::-;;:::i;43438:124::-;;;;;;:::i;:::-;;:::i;42179:221::-;;;;;;:::i;:::-;;:::i;22201:103::-;;;:::i;69406:113::-;;;;;;:::i;:::-;;:::i;21553:87::-;21599:7;21626:6;-1:-1:-1;;;;;21626:6:0;21553:87;;68322:167;;;;;;:::i;:::-;;:::i;:::-;;;;5676:13:1;;-1:-1:-1;;;;;5672:39:1;5654:58;;5772:4;5760:17;;;5754:24;5780:18;5750:49;5728:20;;;5721:79;;;;5627:18;68322:167:0;5444:362:1;43798:104:0;;;:::i;67687:26::-;;;;;;;;;;;;;;;5983:4:1;5971:17;;;5953:36;;5941:2;5926:18;67687:26:0;5811:184:1;67592:27:0;;;;;;;;;45477:288;;;;;;:::i;:::-;;:::i;67722:45::-;;67763:4;67722:45;;46548:355;;;;;;:::i;:::-;;:::i;68008:306::-;;;;;;:::i;:::-;;:::i;45836:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;45957:25:0;;;45933:4;45957:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45836:164;22459:201;;;;;;:::i;:::-;;:::i;69090:189::-;;;;;;:::i;:::-;;:::i;41743:372::-;41845:4;-1:-1:-1;;;;;;41882:40:0;;-1:-1:-1;;;41882:40:0;;:105;;-1:-1:-1;;;;;;;41939:48:0;;-1:-1:-1;;;41939:48:0;41882:105;:172;;;-1:-1:-1;;;;;;;42004:50:0;;-1:-1:-1;;;42004:50:0;41882:172;:225;;;-1:-1:-1;;;;;;;;;;12373:40:0;;;42071:36;41862:245;41743:372;-1:-1:-1;;41743:372:0:o;43629:100::-;43683:13;43716:5;43709:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43629:100;:::o;45191:214::-;45259:7;45287:16;45295:7;47249:12;;-1:-1:-1;47239:22:0;47158:111;45287:16;45279:74;;;;-1:-1:-1;;;45279:74:0;;7876:2:1;45279:74:0;;;7858:21:1;7915:2;7895:18;;;7888:30;7954:34;7934:18;;;7927:62;-1:-1:-1;;;8005:18:1;;;7998:43;8058:19;;45279:74:0;;;;;;;;;-1:-1:-1;45373:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;45373:24:0;;45191:214::o;68497:585::-;68586:10;;;;;:15;;:34;;-1:-1:-1;68605:10:0;;;;68619:1;68605:15;68586:34;68578:70;;;;-1:-1:-1;;;68578:70:0;;8290:2:1;68578:70:0;;;8272:21:1;8329:2;8309:18;;;8302:30;8368:25;8348:18;;;8341:53;8411:18;;68578:70:0;8088:347:1;68578:70:0;68679:1;68667:9;:13;:63;;;;-1:-1:-1;68721:9:0;;;;;;;68708;68684:21;68694:10;68684:9;:21::i;:::-;:33;;;;:::i;:::-;:46;;68667:63;68659:100;;;;-1:-1:-1;;;68659:100:0;;8904:2:1;68659:100:0;;;8886:21:1;8943:2;8923:18;;;8916:30;8982:26;8962:18;;;8955:54;9026:18;;68659:100:0;8702:348:1;68659:100:0;67763:4;68794:9;68778:13;40080:12;;;40000:100;68778:13;:25;;;;:::i;:::-;:43;;68770:78;;;;-1:-1:-1;;;68770:78:0;;9257:2:1;68770:78:0;;;9239:21:1;9296:2;9276:18;;;9269:30;-1:-1:-1;;;9315:18:1;;;9308:52;9377:18;;68770:78:0;9055:346:1;68770:78:0;68864:10;;;;;:15;68861:168;;68902:86;68921:6;;68902:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;68929:17:0;;68958:28;;-1:-1:-1;;68975:10:0;9555:2:1;9551:15;9547:53;68958:28:0;;;9535:66:1;68929:17:0;;-1:-1:-1;9617:12:1;;;-1:-1:-1;68958:28:0;;;;;;;;;;;;68948:39;;;;;;68902:18;:86::i;:::-;68894:135;;;;-1:-1:-1;;;68894:135:0;;9842:2:1;68894:135:0;;;9824:21:1;9881:2;9861:18;;;9854:30;9920:34;9900:18;;;9893:62;-1:-1:-1;;;9971:18:1;;;9964:34;10015:19;;68894:135:0;9640:400:1;68894:135:0;69042:32;69052:10;69064:9;69042;:32::i;:::-;68497:585;;;:::o;44712:413::-;44785:13;44801:24;44817:7;44801:15;:24::i;:::-;44785:40;;44850:5;-1:-1:-1;;;;;44844:11:0;:2;-1:-1:-1;;;;;44844:11:0;;44836:58;;;;-1:-1:-1;;;44836:58:0;;10247:2:1;44836:58:0;;;10229:21:1;10286:2;10266:18;;;10259:30;10325:34;10305:18;;;10298:62;-1:-1:-1;;;10376:18:1;;;10369:32;10418:19;;44836:58:0;10045:398:1;44836:58:0;20184:10;-1:-1:-1;;;;;44929:21:0;;;;:62;;-1:-1:-1;44954:37:0;44971:5;20184:10;45836:164;:::i;44954:37::-;44907:169;;;;-1:-1:-1;;;44907:169:0;;10650:2:1;44907:169:0;;;10632:21:1;10689:2;10669:18;;;10662:30;10728:34;10708:18;;;10701:62;10799:27;10779:18;;;10772:55;10844:19;;44907:169:0;10448:421:1;44907:169:0;45089:28;45098:2;45102:7;45111:5;45089:8;:28::i;46067:162::-;46193:28;46203:4;46209:2;46213:7;46193:9;:28::i;69633:98::-;21439:13;:11;:13::i;:::-;69701:9:::1;:22:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;69701:22:0;;::::1;::::0;;;::::1;::::0;;69633:98::o;69527:::-;21439:13;:11;:13::i;:::-;69593:10:::1;:24:::0;;-1:-1:-1;;69593:24:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;69527:98::o;40664:1007::-;40753:7;40789:16;40799:5;40789:9;:16::i;:::-;40781:5;:24;40773:71;;;;-1:-1:-1;;;40773:71:0;;11076:2:1;40773:71:0;;;11058:21:1;11115:2;11095:18;;;11088:30;11154:34;11134:18;;;11127:62;-1:-1:-1;;;11205:18:1;;;11198:32;11247:19;;40773:71:0;10874:398:1;40773:71:0;40855:22;40880:13;40080:12;;;40000:100;40880:13;40855:38;;40904:19;40934:25;41123:9;41118:466;41138:14;41134:1;:18;41118:466;;;41178:31;41212:14;;;:11;:14;;;;;;;;;41178:48;;;;;;;;;-1:-1:-1;;;;;41178:48:0;;;;;-1:-1:-1;;;41178:48:0;;;;;;;;;;;;41249:28;41245:111;;41322:14;;;-1:-1:-1;41245:111:0;41399:5;-1:-1:-1;;;;;41378:26:0;:17;-1:-1:-1;;;;;41378:26:0;;41374:195;;41448:5;41433:11;:20;41429:85;;-1:-1:-1;41489:1:0;-1:-1:-1;41482:8:0;;-1:-1:-1;;;41482:8:0;41429:85;41536:13;;;;;41374:195;-1:-1:-1;41154:3:0;;41118:466;;;-1:-1:-1;41607:56:0;;-1:-1:-1;;;41607:56:0;;11479:2:1;41607:56:0;;;11461:21:1;11518:2;11498:18;;;11491:30;11557:34;11537:18;;;11530:62;-1:-1:-1;;;11608:18:1;;;11601:44;11662:19;;41607:56:0;11277:410:1;46300:177:0;46430:39;46447:4;46453:2;46457:7;46430:39;;;;;;;;;;;;:16;:39::i;40177:187::-;40244:7;40280:13;40080:12;;;40000:100;40280:13;40272:5;:21;40264:69;;;;-1:-1:-1;;;40264:69:0;;11894:2:1;40264:69:0;;;11876:21:1;11933:2;11913:18;;;11906:30;11972:34;11952:18;;;11945:62;-1:-1:-1;;;12023:18:1;;;12016:33;12066:19;;40264:69:0;11692:399:1;40264:69:0;-1:-1:-1;40351:5:0;40177:187::o;69287:111::-;21439:13;:11;:13::i;:::-;69363:16:::1;:27;69382:8:::0;69363:16;:27:::1;:::i;:::-;;69287:111:::0;:::o;43438:124::-;43502:7;43529:20;43541:7;43529:11;:20::i;:::-;:25;;43438:124;-1:-1:-1;;43438:124:0:o;42179:221::-;42243:7;-1:-1:-1;;;;;42271:19:0;;42263:75;;;;-1:-1:-1;;;42263:75:0;;14502:2:1;42263:75:0;;;14484:21:1;14541:2;14521:18;;;14514:30;14580:34;14560:18;;;14553:62;-1:-1:-1;;;14631:18:1;;;14624:41;14682:19;;42263:75:0;14300:407:1;42263:75:0;-1:-1:-1;;;;;;42364:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;42364:27:0;;42179:221::o;22201:103::-;21439:13;:11;:13::i;:::-;22266:30:::1;22293:1;22266:18;:30::i;:::-;22201:103::o:0;69406:113::-;21439:13;:11;:13::i;:::-;69480:17:::1;:31:::0;69406:113::o;68322:167::-;-1:-1:-1;;;;;;;;;;;;;;;;;68461:20:0;68473:7;68461:11;:20::i;43798:104::-;43854:13;43887:7;43880:14;;;;;:::i;45477:288::-;20184:10;-1:-1:-1;;;;;45572:24:0;;;45564:63;;;;-1:-1:-1;;;45564:63:0;;14914:2:1;45564:63:0;;;14896:21:1;14953:2;14933:18;;;14926:30;14992:28;14972:18;;;14965:56;15038:18;;45564:63:0;14712:350:1;45564:63:0;20184:10;45640:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;45640:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;45640:53:0;;;;;;;;;;45709:48;;540:41:1;;;45640:42:0;;20184:10;45709:48;;513:18:1;45709:48:0;;;;;;;45477:288;;:::o;46548:355::-;46707:28;46717:4;46723:2;46727:7;46707:9;:28::i;:::-;46768:48;46791:4;46797:2;46801:7;46810:5;46768:22;:48::i;:::-;46746:149;;;;-1:-1:-1;;;46746:149:0;;;;;;;:::i;:::-;46548:355;;;;:::o;68008:306::-;68073:13;68107:16;68115:7;47249:12;;-1:-1:-1;47239:22:0;47158:111;68107:16;68099:76;;;;-1:-1:-1;;;68099:76:0;;15689:2:1;68099:76:0;;;15671:21:1;15728:2;15708:18;;;15701:30;15767:34;15747:18;;;15740:62;-1:-1:-1;;;15818:18:1;;;15811:45;15873:19;;68099:76:0;15487:411:1;68099:76:0;68226:1;68199:16;68193:30;;;;;:::i;:::-;;;:34;:113;;;;;;;;;;;;;;;;;68254:16;68272:18;:7;:16;:18::i;:::-;68237:63;;;;;;;;;:::i;:::-;;;;;;;;;;;;;68186:120;68008:306;-1:-1:-1;;68008:306:0:o;22459:201::-;21439:13;:11;:13::i;:::-;-1:-1:-1;;;;;22548:22:0;::::1;22540:73;;;::::0;-1:-1:-1;;;22540:73:0;;17297:2:1;22540:73:0::1;::::0;::::1;17279:21:1::0;17336:2;17316:18;;;17309:30;17375:34;17355:18;;;17348:62;-1:-1:-1;;;17426:18:1;;;17419:36;17472:19;;22540:73:0::1;17095:402:1::0;22540:73:0::1;22624:28;22643:8;22624:18;:28::i;:::-;22459:201:::0;:::o;69090:189::-;21439:13;:11;:13::i;:::-;67763:4:::1;69168:13;40080:12:::0;;;40000:100;69168:13:::1;:31;;69160:66;;;::::0;-1:-1:-1;;;69160:66:0;;9257:2:1;69160:66:0::1;::::0;::::1;9239:21:1::0;9296:2;9276:18;;;9269:30;-1:-1:-1;;;9315:18:1;;;9308:52;9377:18;;69160:66:0::1;9055:346:1::0;69160:66:0::1;69239:32;69249:10;69261:9;69239:32;;:9;:32::i;56096:190::-:0;56221:4;56274;56245:25;56258:5;56265:4;56245:12;:25::i;:::-;:33;;56096:190;-1:-1:-1;;;;56096:190:0:o;47277:104::-;47346:27;47356:2;47360:8;47346:27;;;;;;;;;;;;:9;:27::i;52078:196::-;52193:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;52193:29:0;-1:-1:-1;;;;;52193:29:0;;;;;;;;;52238:28;;52193:24;;52238:28;;;;;;;52078:196;;;:::o;49958:2002::-;50073:35;50111:20;50123:7;50111:11;:20::i;:::-;50186:18;;50073:58;;-1:-1:-1;50144:22:0;;-1:-1:-1;;;;;50170:34:0;20184:10;-1:-1:-1;;;;;50170:34:0;;:87;;;-1:-1:-1;20184:10:0;50221:20;50233:7;50221:11;:20::i;:::-;-1:-1:-1;;;;;50221:36:0;;50170:87;:154;;;-1:-1:-1;50291:18:0;;50274:50;;20184:10;45836:164;:::i;50274:50::-;50144:181;;50346:17;50338:80;;;;-1:-1:-1;;;50338:80:0;;17704:2:1;50338:80:0;;;17686:21:1;17743:2;17723:18;;;17716:30;17782:34;17762:18;;;17755:62;-1:-1:-1;;;17833:18:1;;;17826:48;17891:19;;50338:80:0;17502:414:1;50338:80:0;50461:4;-1:-1:-1;;;;;50439:26:0;:13;:18;;;-1:-1:-1;;;;;50439:26:0;;50431:77;;;;-1:-1:-1;;;50431:77:0;;18123:2:1;50431:77:0;;;18105:21:1;18162:2;18142:18;;;18135:30;18201:34;18181:18;;;18174:62;-1:-1:-1;;;18252:18:1;;;18245:36;18298:19;;50431:77:0;17921:402:1;50431:77:0;-1:-1:-1;;;;;50527:16:0;;50519:66;;;;-1:-1:-1;;;50519:66:0;;18530:2:1;50519:66:0;;;18512:21:1;18569:2;18549:18;;;18542:30;18608:34;18588:18;;;18581:62;-1:-1:-1;;;18659:18:1;;;18652:35;18704:19;;50519:66:0;18328:401:1;50519:66:0;50706:49;50723:1;50727:7;50736:13;:18;;;50706:8;:49::i;:::-;-1:-1:-1;;;;;51051:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;;;;;51051:31:0;;;-1:-1:-1;;;;;51051:31:0;;;-1:-1:-1;;51051:31:0;;;;;;;51097:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;51097:29:0;;;;;;;;;;;;;51143:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;51188:61:0;;;;-1:-1:-1;;;51233:15:0;51188:61;;;;;;51523:11;;;51553:24;;;;;:29;51523:11;;51553:29;51549:295;;51621:20;51629:11;47249:12;;-1:-1:-1;47239:22:0;47158:111;51621:20;51617:212;;;51698:18;;;51666:24;;;:11;:24;;;;;;;;:50;;51781:28;;;;51739:70;;-1:-1:-1;;;51739:70:0;-1:-1:-1;;;;;;51739:70:0;;;-1:-1:-1;;;;;51666:50:0;;;51739:70;;;;;;;51617:212;51026:829;51891:7;51887:2;-1:-1:-1;;;;;51872:27:0;51881:4;-1:-1:-1;;;;;51872:27:0;;;;;;;;;;;51910:42;50062:1898;;49958:2002;;;:::o;21718:132::-;21599:7;21626:6;-1:-1:-1;;;;;21626:6:0;20184:10;21782:23;21774:68;;;;-1:-1:-1;;;21774:68:0;;18936:2:1;21774:68:0;;;18918:21:1;;;18955:18;;;18948:30;19014:34;18994:18;;;18987:62;19066:18;;21774:68:0;18734:356:1;42839:537:0;-1:-1:-1;;;;;;;;;;;;;;;;;42942:16:0;42950:7;47249:12;;-1:-1:-1;47239:22:0;47158:111;42942:16;42934:71;;;;-1:-1:-1;;;42934:71:0;;19297:2:1;42934:71:0;;;19279:21:1;19336:2;19316:18;;;19309:30;19375:34;19355:18;;;19348:62;-1:-1:-1;;;19426:18:1;;;19419:40;19476:19;;42934:71:0;19095:406:1;42934:71:0;43063:7;43043:245;43110:31;43144:17;;;:11;:17;;;;;;;;;43110:51;;;;;;;;;-1:-1:-1;;;;;43110:51:0;;;;;-1:-1:-1;;;43110:51:0;;;;;;;;;;;;43184:28;43180:93;;43244:9;42839:537;-1:-1:-1;;;42839:537:0:o;43180:93::-;-1:-1:-1;;;43083:6:0;43043:245;;22820:191;22894:16;22913:6;;-1:-1:-1;;;;;22930:17:0;;;-1:-1:-1;;;;;;22930:17:0;;;;;;22963:40;;22913:6;;;;;;;22963:40;;22894:16;22963:40;22883:128;22820:191;:::o;52839:804::-;52994:4;-1:-1:-1;;;;;53015:13:0;;1528:19;:23;53011:625;;53051:72;;-1:-1:-1;;;53051:72:0;;-1:-1:-1;;;;;53051:36:0;;;;;:72;;20184:10;;53102:4;;53108:7;;53117:5;;53051:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53051:72:0;;;;;;;;-1:-1:-1;;53051:72:0;;;;;;;;;;;;:::i;:::-;;;53047:534;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53297:6;:13;53314:1;53297:18;53293:273;;53340:61;;-1:-1:-1;;;53340:61:0;;;;;;;:::i;53293:273::-;53516:6;53510:13;53501:6;53497:2;53493:15;53486:38;53047:534;-1:-1:-1;;;;;;53174:55:0;-1:-1:-1;;;53174:55:0;;-1:-1:-1;53167:62:0;;53011:625;-1:-1:-1;53620:4:0;53011:625;52839:804;;;;;;:::o;36323:716::-;36379:13;36430:14;36447:17;36458:5;36447:10;:17::i;:::-;36467:1;36447:21;36430:38;;36483:20;36517:6;36506:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36506:18:0;-1:-1:-1;36483:41:0;-1:-1:-1;36648:28:0;;;36664:2;36648:28;36705:288;-1:-1:-1;;36737:5:0;-1:-1:-1;;;36874:2:0;36863:14;;36858:30;36737:5;36845:44;36935:2;36926:11;;;-1:-1:-1;36956:21:0;36705:288;36956:21;-1:-1:-1;37014:6:0;36323:716;-1:-1:-1;;;36323:716:0:o;56963:296::-;57046:7;57089:4;57046:7;57104:118;57128:5;:12;57124:1;:16;57104:118;;;57177:33;57187:12;57201:5;57207:1;57201:8;;;;;;;;:::i;:::-;;;;;;;57177:9;:33::i;:::-;57162:48;-1:-1:-1;57142:3:0;;;;:::i;:::-;;;;57104:118;;;-1:-1:-1;57239:12:0;56963:296;-1:-1:-1;;;56963:296:0:o;47744:163::-;47867:32;47873:2;47877:8;47887:5;47894:4;47867:5;:32::i;33189:922::-;33242:7;;-1:-1:-1;;;33320:15:0;;33316:102;;-1:-1:-1;;;33356:15:0;;;-1:-1:-1;33400:2:0;33390:12;33316:102;33445:6;33436:5;:15;33432:102;;33481:6;33472:15;;;-1:-1:-1;33516:2:0;33506:12;33432:102;33561:6;33552:5;:15;33548:102;;33597:6;33588:15;;;-1:-1:-1;33632:2:0;33622:12;33548:102;33677:5;33668;:14;33664:99;;33712:5;33703:14;;;-1:-1:-1;33746:1:0;33736:11;33664:99;33790:5;33781;:14;33777:99;;33825:5;33816:14;;;-1:-1:-1;33859:1:0;33849:11;33777:99;33903:5;33894;:14;33890:99;;33938:5;33929:14;;;-1:-1:-1;33972:1:0;33962:11;33890:99;34016:5;34007;:14;34003:66;;34052:1;34042:11;34097:6;33189:922;-1:-1:-1;;33189:922:0:o;64003:149::-;64066:7;64097:1;64093;:5;:51;;64228:13;64322:15;;;64358:4;64351:15;;;64405:4;64389:21;;64093:51;;;64228:13;64322:15;;;64358:4;64351:15;;;64405:4;64389:21;;64101:20;64086:58;64003:149;-1:-1:-1;;;64003:149:0:o;48166:1538::-;48328:12;;-1:-1:-1;;;;;48359:16:0;;48351:62;;;;-1:-1:-1;;;48351:62:0;;21276:2:1;48351:62:0;;;21258:21:1;21315:2;21295:18;;;21288:30;21354:34;21334:18;;;21327:62;-1:-1:-1;;;21405:18:1;;;21398:31;21446:19;;48351:62:0;21074:397:1;48351:62:0;48432:8;48444:1;48432:13;48424:66;;;;-1:-1:-1;;;48424:66:0;;21678:2:1;48424:66:0;;;21660:21:1;21717:2;21697:18;;;21690:30;21756:34;21736:18;;;21729:62;-1:-1:-1;;;21807:18:1;;;21800:38;21855:19;;48424:66:0;21476:404:1;48424:66:0;-1:-1:-1;;;;;48842:16:0;;;;;;:12;:16;;;;;;;;:45;;-1:-1:-1;;;;;;;;;48842:45:0;;-1:-1:-1;;;;;48842:45:0;;;;;;;;;;48902:50;;;;;;;;;;;;;;48969:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;49019:66:0;;;;-1:-1:-1;;;49069:15:0;49019:66;;;;;;;48969:25;;49154:415;49174:8;49170:1;:12;49154:415;;;49213:38;;49238:12;;-1:-1:-1;;;;;49213:38:0;;;49230:1;;49213:38;;49230:1;;49213:38;49274:4;49270:249;;;49337:59;49368:1;49372:2;49376:12;49390:5;49337:22;:59::i;:::-;49303:196;;;;-1:-1:-1;;;49303:196:0;;;;;;;:::i;:::-;49539:14;;;;;49184:3;49154:415;;;-1:-1:-1;49585:12:0;:27;49636:60;46548:355;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:689::-;1836:6;1844;1852;1905:2;1893:9;1884:7;1880:23;1876:32;1873:52;;;1921:1;1918;1911:12;1873:52;1961:9;1948:23;1990:18;2031:2;2023:6;2020:14;2017:34;;;2047:1;2044;2037:12;2017:34;2085:6;2074:9;2070:22;2060:32;;2130:7;2123:4;2119:2;2115:13;2111:27;2101:55;;2152:1;2149;2142:12;2101:55;2192:2;2179:16;2218:2;2210:6;2207:14;2204:34;;;2234:1;2231;2224:12;2204:34;2289:7;2282:4;2272:6;2269:1;2265:14;2261:2;2257:23;2253:34;2250:47;2247:67;;;2310:1;2307;2300:12;2247:67;2341:4;2333:13;;;;2365:6;;-1:-1:-1;2403:20:1;;;;2390:34;;1741:689;-1:-1:-1;;;;1741:689:1:o;2435:173::-;2503:20;;-1:-1:-1;;;;;2552:31:1;;2542:42;;2532:70;;2598:1;2595;2588:12;2532:70;2435:173;;;:::o;2613:254::-;2681:6;2689;2742:2;2730:9;2721:7;2717:23;2713:32;2710:52;;;2758:1;2755;2748:12;2710:52;2781:29;2800:9;2781:29;:::i;:::-;2771:39;2857:2;2842:18;;;;2829:32;;-1:-1:-1;;;2613:254:1:o;3054:328::-;3131:6;3139;3147;3200:2;3188:9;3179:7;3175:23;3171:32;3168:52;;;3216:1;3213;3206:12;3168:52;3239:29;3258:9;3239:29;:::i;:::-;3229:39;;3287:38;3321:2;3310:9;3306:18;3287:38;:::i;:::-;3277:48;;3372:2;3361:9;3357:18;3344:32;3334:42;;3054:328;;;;;:::o;3387:269::-;3444:6;3497:2;3485:9;3476:7;3472:23;3468:32;3465:52;;;3513:1;3510;3503:12;3465:52;3552:9;3539:23;3602:4;3595:5;3591:16;3584:5;3581:27;3571:55;;3622:1;3619;3612:12;3843:127;3904:10;3899:3;3895:20;3892:1;3885:31;3935:4;3932:1;3925:15;3959:4;3956:1;3949:15;3975:632;4040:5;4070:18;4111:2;4103:6;4100:14;4097:40;;;4117:18;;:::i;:::-;4192:2;4186:9;4160:2;4246:15;;-1:-1:-1;;4242:24:1;;;4268:2;4238:33;4234:42;4222:55;;;4292:18;;;4312:22;;;4289:46;4286:72;;;4338:18;;:::i;:::-;4378:10;4374:2;4367:22;4407:6;4398:15;;4437:6;4429;4422:22;4477:3;4468:6;4463:3;4459:16;4456:25;4453:45;;;4494:1;4491;4484:12;4453:45;4544:6;4539:3;4532:4;4524:6;4520:17;4507:44;4599:1;4592:4;4583:6;4575;4571:19;4567:30;4560:41;;;;3975:632;;;;;:::o;4612:451::-;4681:6;4734:2;4722:9;4713:7;4709:23;4705:32;4702:52;;;4750:1;4747;4740:12;4702:52;4790:9;4777:23;4823:18;4815:6;4812:30;4809:50;;;4855:1;4852;4845:12;4809:50;4878:22;;4931:4;4923:13;;4919:27;-1:-1:-1;4909:55:1;;4960:1;4957;4950:12;4909:55;4983:74;5049:7;5044:2;5031:16;5026:2;5022;5018:11;4983:74;:::i;5068:186::-;5127:6;5180:2;5168:9;5159:7;5155:23;5151:32;5148:52;;;5196:1;5193;5186:12;5148:52;5219:29;5238:9;5219:29;:::i;6000:347::-;6065:6;6073;6126:2;6114:9;6105:7;6101:23;6097:32;6094:52;;;6142:1;6139;6132:12;6094:52;6165:29;6184:9;6165:29;:::i;:::-;6155:39;;6244:2;6233:9;6229:18;6216:32;6291:5;6284:13;6277:21;6270:5;6267:32;6257:60;;6313:1;6310;6303:12;6257:60;6336:5;6326:15;;;6000:347;;;;;:::o;6352:667::-;6447:6;6455;6463;6471;6524:3;6512:9;6503:7;6499:23;6495:33;6492:53;;;6541:1;6538;6531:12;6492:53;6564:29;6583:9;6564:29;:::i;:::-;6554:39;;6612:38;6646:2;6635:9;6631:18;6612:38;:::i;:::-;6602:48;;6697:2;6686:9;6682:18;6669:32;6659:42;;6752:2;6741:9;6737:18;6724:32;6779:18;6771:6;6768:30;6765:50;;;6811:1;6808;6801:12;6765:50;6834:22;;6887:4;6879:13;;6875:27;-1:-1:-1;6865:55:1;;6916:1;6913;6906:12;6865:55;6939:74;7005:7;7000:2;6987:16;6982:2;6978;6974:11;6939:74;:::i;:::-;6929:84;;;6352:667;;;;;;;:::o;7024:260::-;7092:6;7100;7153:2;7141:9;7132:7;7128:23;7124:32;7121:52;;;7169:1;7166;7159:12;7121:52;7192:29;7211:9;7192:29;:::i;:::-;7182:39;;7240:38;7274:2;7263:9;7259:18;7240:38;:::i;:::-;7230:48;;7024:260;;;;;:::o;7289:380::-;7368:1;7364:12;;;;7411;;;7432:61;;7486:4;7478:6;7474:17;7464:27;;7432:61;7539:2;7531:6;7528:14;7508:18;7505:38;7502:161;;7585:10;7580:3;7576:20;7573:1;7566:31;7620:4;7617:1;7610:15;7648:4;7645:1;7638:15;7502:161;;7289:380;;;:::o;8440:127::-;8501:10;8496:3;8492:20;8489:1;8482:31;8532:4;8529:1;8522:15;8556:4;8553:1;8546:15;8572:125;8637:9;;;8658:10;;;8655:36;;;8671:18;;:::i;12222:545::-;12324:2;12319:3;12316:11;12313:448;;;12360:1;12385:5;12381:2;12374:17;12430:4;12426:2;12416:19;12500:2;12488:10;12484:19;12481:1;12477:27;12471:4;12467:38;12536:4;12524:10;12521:20;12518:47;;;-1:-1:-1;12559:4:1;12518:47;12614:2;12609:3;12605:12;12602:1;12598:20;12592:4;12588:31;12578:41;;12669:82;12687:2;12680:5;12677:13;12669:82;;;12732:17;;;12713:1;12702:13;12669:82;;;12673:3;;;12222:545;;;:::o;12943:1352::-;13069:3;13063:10;13096:18;13088:6;13085:30;13082:56;;;13118:18;;:::i;:::-;13147:97;13237:6;13197:38;13229:4;13223:11;13197:38;:::i;:::-;13191:4;13147:97;:::i;:::-;13299:4;;13363:2;13352:14;;13380:1;13375:663;;;;14082:1;14099:6;14096:89;;;-1:-1:-1;14151:19:1;;;14145:26;14096:89;-1:-1:-1;;12900:1:1;12896:11;;;12892:24;12888:29;12878:40;12924:1;12920:11;;;12875:57;14198:81;;13345:944;;13375:663;12169:1;12162:14;;;12206:4;12193:18;;-1:-1:-1;;13411:20:1;;;13529:236;13543:7;13540:1;13537:14;13529:236;;;13632:19;;;13626:26;13611:42;;13724:27;;;;13692:1;13680:14;;;;13559:19;;13529:236;;;13533:3;13793:6;13784:7;13781:19;13778:201;;;13854:19;;;13848:26;-1:-1:-1;;13937:1:1;13933:14;;;13949:3;13929:24;13925:37;13921:42;13906:58;13891:74;;13778:201;-1:-1:-1;;;;;14025:1:1;14009:14;;;14005:22;13992:36;;-1:-1:-1;12943:1352:1:o;15067:415::-;15269:2;15251:21;;;15308:2;15288:18;;;15281:30;15347:34;15342:2;15327:18;;15320:62;-1:-1:-1;;;15413:2:1;15398:18;;15391:49;15472:3;15457:19;;15067:415::o;15903:1187::-;16180:3;16209:1;16242:6;16236:13;16272:36;16298:9;16272:36;:::i;:::-;16327:1;16344:18;;;16371:133;;;;16518:1;16513:356;;;;16337:532;;16371:133;-1:-1:-1;;16404:24:1;;16392:37;;16477:14;;16470:22;16458:35;;16449:45;;;-1:-1:-1;16371:133:1;;16513:356;16544:6;16541:1;16534:17;16574:4;16619:2;16616:1;16606:16;16644:1;16658:165;16672:6;16669:1;16666:13;16658:165;;;16750:14;;16737:11;;;16730:35;16793:16;;;;16687:10;;16658:165;;;16662:3;;;16852:6;16847:3;16843:16;16836:23;;16337:532;;;;;16900:6;16894:13;16916:68;16975:8;16970:3;16963:4;16955:6;16951:17;16916:68;:::i;:::-;-1:-1:-1;;;17006:18:1;;17033:22;;;17082:1;17071:13;;15903:1187;-1:-1:-1;;;;15903:1187:1:o;19922:489::-;-1:-1:-1;;;;;20191:15:1;;;20173:34;;20243:15;;20238:2;20223:18;;20216:43;20290:2;20275:18;;20268:34;;;20338:3;20333:2;20318:18;;20311:31;;;20116:4;;20359:46;;20385:19;;20377:6;20359:46;:::i;:::-;20351:54;19922:489;-1:-1:-1;;;;;;19922:489:1:o;20416:249::-;20485:6;20538:2;20526:9;20517:7;20513:23;20509:32;20506:52;;;20554:1;20551;20544:12;20506:52;20586:9;20580:16;20605:30;20629:5;20605:30;:::i;20802:127::-;20863:10;20858:3;20854:20;20851:1;20844:31;20894:4;20891:1;20884:15;20918:4;20915:1;20908:15;20934:135;20973:3;20994:17;;;20991:43;;21014:18;;:::i;:::-;-1:-1:-1;21061:1:1;21050:13;;20934:135::o

Swarm Source

ipfs://c74516ec0badc05dbdd98a89e782cffab9e7177b948864f85d4fd0c137d5e8b0
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.