ETH Price: $2,479.37 (-1.66%)

Token

⚪️⚪️⚪️⚪️⚪️ (DOJO)
 

Overview

Max Total Supply

100,000,000 DOJO

Holders

11

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
0.000000001 DOJO

Value
$0.00
0xa7bbe70a758851817c68c9c4cefe4ee63dedb3fb
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:
DOJO

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 1 : TokenFlat.sol
/**

----------------------------  Social Links  ----------------------------

Telegram:  https://t.me/DojoTokenEntry

Website:   https://www.karate.finance

Docs:      https://docs.karate.finance

Twitter:   https://twitter.com/EthereumDojo

----------------------------  $DOJO Info  ----------------------------

🥋  $DOJO is powered by a brand new smart contract.

⛩️  There are three rules in the $DOJO:

1️⃣  The token name updates depending on the current market cap.

    Example:  If the market cap rises from $9,000 to $11,000,
              the token name will update from "⚪️⚪️⚪️⚪️⚪️" to "🟡🟡🟡🟡🟡".

2️⃣  The current belt color updates depending on the current market cap.

    Example:  If the market cap is $25,000, the current belt
              color will be Orange (🟠🟠🟠🟠🟠).

3️⃣  If you buy in at a lower belt color than the current belt color, you keep the original sell tax.

    Example:  If a wallet purchases $DOJO at a $45,000 market
              cap, their wallet's sell tax would never exceed the
              Blue belt sell tax of 2%, even if they sold tokens.

💡  Each belt color has slightly different milestones and taxes:

    ⚪️⚪️⚪️⚪️⚪️

    $0 MC: White Belt

    Buy Tax: 0%
    Sell Tax: 0%

    🟡🟡🟡🟡🟡

    $10,000 MC: Yellow Belt

    Buy Tax: 1%
    Sell Tax: 0%

    🟠🟠🟠🟠🟠

    $20,000 MC: Orange Belt

    Buy Tax: 1%
    Sell Tax: 1%

    🟢🟢🟢🟢🟢

    $30,000 MC: Green Belt

    Buy Tax: 2%
    Sell Tax: 1%

    🔵🔵🔵🔵🔵

    $40,000 MC: Blue Belt

    Buy Tax: 2%
    Sell Tax: 2%

    🟣🟣🟣🟣🟣

    $75,000 MC: Purple Belt

    Buy Tax: 3%
    Sell Tax: 2%

    🔴🔴🔴🔴🔴

    $125,000 MC: Red Belt

    Buy Tax: 3%
    Sell Tax: 3%

    🟤🟤🟤🟤🟤

    $250,000 MC: Brown Belt

    Buy Tax: 4%
    Sell Tax: 3%

    ⚫️⚫️⚫️⚫️⚫️

    $375,000 MC: Black Belt

    Buy Tax: 4%
    Sell Tax: 4%

    🌈🌈🌈🌈🌈

    $500,000 MC: Rainbow Belt

    Buy Tax: 5%
    Sell Tax: 4%

*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

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

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

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol)

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

    /**
     * @dev The signature derives the `address(0)`.
     */
    error ECDSAInvalidSignature();

    /**
     * @dev The signature has an invalid length.
     */
    error ECDSAInvalidSignatureLength(uint256 length);

    /**
     * @dev The signature has an S value that is in the upper half order.
     */
    error ECDSAInvalidSignatureS(bytes32 s);

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not
     * return address(0) without also returning an error description. Errors are documented using an enum (error type)
     * and a bytes32 providing additional information about the error.
     *
     * If no error is returned, then the address can be used for verification purposes.
     *
     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError, bytes32) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));
        }
    }

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

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     */
    function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError, bytes32) {
        unchecked {
            bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
            // We do not check for an overflow here since the shift operation results in 0 or 1.
            uint8 v = uint8((uint256(vs) >> 255) + 27);
            return tryRecover(hash, v, r, s);
        }
    }

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

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

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

        return (signer, RecoverError.NoError, bytes32(0));
    }

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

    /**
     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.
     */
    function _throwError(RecoverError error, bytes32 errorArg) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert ECDSAInvalidSignature();
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert ECDSAInvalidSignatureLength(uint256(errorArg));
        } else if (error == RecoverError.InvalidSignatureS) {
            revert ECDSAInvalidSignatureS(errorArg);
        }
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/EIP712.sol)

// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol)

// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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 towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (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 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 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.

            uint256 twos = denominator & (0 - denominator);
            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 (unsignedRoundsUp(rounding) && 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
     * towards zero.
     *
     * 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * 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 256, 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

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

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @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), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @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) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        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);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

/**
 * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.
 *
 * The library provides methods for generating a hash of a message that conforms to the
 * https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]
 * specifications.
 */
library MessageHashUtils {
    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x45` (`personal_sign` messages).
     *
     * The digest is calculated by prefixing a bytes32 `messageHash` with
     * `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the
     * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
     *
     * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with
     * keccak256, although any bytes32 value can be safely used because the final digest will
     * be re-hashed.
     *
     * See {ECDSA-recover}.
     */
    function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32") // 32 is the bytes-length of messageHash
            mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix
            digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)
        }
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x45` (`personal_sign` messages).
     *
     * The digest is calculated by prefixing an arbitrary `message` with
     * `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the
     * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
     *
     * See {ECDSA-recover}.
     */
    function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {
        return
            keccak256(bytes.concat("\x19Ethereum Signed Message:\n", bytes(Strings.toString(message.length)), message));
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x00` (data with intended validator).
     *
     * The digest is calculated by prefixing an arbitrary `data` with `"\x19\x00"` and the intended
     * `validator` address. Then hashing the result.
     *
     * See {ECDSA-recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(hex"19_00", validator, data));
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`).
     *
     * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with
     * `\x19\x01` and hashing the result. It corresponds to the hash signed by the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.
     *
     * See {ECDSA-recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, hex"19_01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            digest := keccak256(ptr, 0x42)
        }
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (utils/ShortStrings.sol)

// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(newImplementation.code.length > 0);
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

// | string  | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   |
// | length  | 0x                                                              BB |
type ShortString is bytes32;

/**
 * @dev This library provides functions to convert short memory strings
 * into a `ShortString` type that can be used as an immutable variable.
 *
 * Strings of arbitrary length can be optimized using this library if
 * they are short enough (up to 31 bytes) by packing them with their
 * length (1 byte) in a single EVM word (32 bytes). Additionally, a
 * fallback mechanism can be used for every other case.
 *
 * Usage example:
 *
 * ```solidity
 * contract Named {
 *     using ShortStrings for *;
 *
 *     ShortString private immutable _name;
 *     string private _nameFallback;
 *
 *     constructor(string memory contractName) {
 *         _name = contractName.toShortStringWithFallback(_nameFallback);
 *     }
 *
 *     function name() external view returns (string memory) {
 *         return _name.toStringWithFallback(_nameFallback);
 *     }
 * }
 * ```
 */
library ShortStrings {
    // Used as an identifier for strings longer than 31 bytes.
    bytes32 private constant FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;

    error StringTooLong(string str);
    error InvalidShortString();

    /**
     * @dev Encode a string of at most 31 chars into a `ShortString`.
     *
     * This will trigger a `StringTooLong` error is the input string is too long.
     */
    function toShortString(string memory str) internal pure returns (ShortString) {
        bytes memory bstr = bytes(str);
        if (bstr.length > 31) {
            revert StringTooLong(str);
        }
        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));
    }

    /**
     * @dev Decode a `ShortString` back to a "normal" string.
     */
    function toString(ShortString sstr) internal pure returns (string memory) {
        uint256 len = byteLength(sstr);
        // using `new string(len)` would work locally but is not memory safe.
        string memory str = new string(32);
        /// @solidity memory-safe-assembly
        assembly {
            mstore(str, len)
            mstore(add(str, 0x20), sstr)
        }
        return str;
    }

    /**
     * @dev Return the length of a `ShortString`.
     */
    function byteLength(ShortString sstr) internal pure returns (uint256) {
        uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;
        if (result > 31) {
            revert InvalidShortString();
        }
        return result;
    }

    /**
     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.
     */
    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {
        if (bytes(value).length < 32) {
            return toShortString(value);
        } else {
            StorageSlot.getStringSlot(store).value = value;
            return ShortString.wrap(FALLBACK_SENTINEL);
        }
    }

    /**
     * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     */
    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {
        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {
            return toString(value);
        } else {
            return store;
        }
    }

    /**
     * @dev Return the length of a string that was encoded to `ShortString` or written to storage using
     * {setWithFallback}.
     *
     * WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of
     * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.
     */
    function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {
        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {
            return byteLength(value);
        } else {
            return bytes(store).length;
        }
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol)

interface IERC5267 {
    /**
     * @dev MAY be emitted to signal that the domain could have changed.
     */
    event EIP712DomainChanged();

    /**
     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
     * signature.
     */
    function eip712Domain()
        external
        view
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        );
}

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose
 * encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract
 * does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to
 * produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
 * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the
 * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
 *
 * @custom:oz-upgrades-unsafe-allow state-variable-immutable
 */
abstract contract EIP712 is IERC5267 {
    using ShortStrings for *;

    bytes32 private constant TYPE_HASH =
        keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");

    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _cachedDomainSeparator;
    uint256 private immutable _cachedChainId;
    address private immutable _cachedThis;

    bytes32 private immutable _hashedName;
    bytes32 private immutable _hashedVersion;

    ShortString private immutable _name;
    ShortString private immutable _version;
    string private _nameFallback;
    string private _versionFallback;

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        _name = name.toShortStringWithFallback(_nameFallback);
        _version = version.toShortStringWithFallback(_versionFallback);
        _hashedName = keccak256(bytes(name));
        _hashedVersion = keccak256(bytes(version));

        _cachedChainId = block.chainid;
        _cachedDomainSeparator = _buildDomainSeparator();
        _cachedThis = address(this);
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _cachedThis && block.chainid == _cachedChainId) {
            return _cachedDomainSeparator;
        } else {
            return _buildDomainSeparator();
        }
    }

    function _buildDomainSeparator() private view returns (bytes32) {
        return keccak256(abi.encode(TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash);
    }

    /**
     * @dev See {IERC-5267}.
     */
    function eip712Domain()
        public
        view
        virtual
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        )
    {
        return (
            hex"0f", // 01111
            _EIP712Name(),
            _EIP712Version(),
            block.chainid,
            address(this),
            bytes32(0),
            new uint256[](0)
        );
    }

    /**
     * @dev The name parameter for the EIP712 domain.
     *
     * NOTE: By default this function reads _name which is an immutable value.
     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).
     */
    // solhint-disable-next-line func-name-mixedcase
    function _EIP712Name() internal view returns (string memory) {
        return _name.toStringWithFallback(_nameFallback);
    }

    /**
     * @dev The version parameter for the EIP712 domain.
     *
     * NOTE: By default this function reads _version which is an immutable value.
     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).
     */
    // solhint-disable-next-line func-name-mixedcase
    function _EIP712Version() internal view returns (string memory) {
        return _version.toStringWithFallback(_versionFallback);
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol)

/**
 * @dev Provides tracking nonces for addresses. Nonces will only increment.
 */
abstract contract Nonces {
    /**
     * @dev The nonce used for an `account` is not the expected current nonce.
     */
    error InvalidAccountNonce(address account, uint256 currentNonce);

    mapping(address account => uint256) private _nonces;

    /**
     * @dev Returns the next unused nonce for an address.
     */
    function nonces(address owner) public view virtual returns (uint256) {
        return _nonces[owner];
    }

    /**
     * @dev Consumes a nonce.
     *
     * Returns the current value and increments nonce.
     */
    function _useNonce(address owner) internal virtual returns (uint256) {
        // For each account, the nonce has an initial value of 0, can only be incremented by one, and cannot be
        // decremented or reset. This guarantees that the nonce never overflows.
        unchecked {
            // It is important to do x++ and not ++x here.
            return _nonces[owner]++;
        }
    }

    /**
     * @dev Same as {_useNonce} but checking that `nonce` is the next valid for `owner`.
     */
    function _useCheckedNonce(address owner, uint256 nonce) internal virtual {
        uint256 current = _useNonce(owner);
        if (nonce != current) {
            revert InvalidAccountNonce(owner, current);
        }
    }
}

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

interface AggregatorV3Interface {
  function decimals() external view returns (uint8);

  function description() external view returns (string memory);

  function version() external view returns (uint256);

  function getRoundData(
    uint80 _roundId
  ) external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound);

  function latestRoundData()
    external
    view
    returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound);
}

contract DOJO is Context, IERC20, IERC20Metadata, IERC20Permit, IERC20Errors, Ownable, EIP712, Nonces {
    uint256 internal constant MAX = type(uint256).max;

    mapping(uint256 => string) internal belts;
    mapping(uint256 => uint256) internal milestones;
    mapping(uint256 => uint256) internal buyTaxGlobal;
    mapping(uint256 => uint256) internal sellTaxGlobal;
    mapping(address => uint256) internal userBelt;
    mapping(address => bool) internal hasBelt;

    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private constant _tTotal = 100_000_000 * 1e9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));

    string private _name = unicode"⚪️⚪️⚪️⚪️⚪️";
    string private constant _symbol = "DOJO";
    uint8 private constant _decimals = 9;

    mapping(address => bool) private _noTax;

    bytes32 private constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    address public constant UNISWAP_V2_ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    IUniswapV2Router02 public constant uniswapV2Router = IUniswapV2Router02(UNISWAP_V2_ROUTER);
    address public constant UNISWAP_V2_FACTORY = 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f;
    IUniswapV2Factory public constant uniswapV2Factory = IUniswapV2Factory(UNISWAP_V2_FACTORY);
    address public constant CHAINLINK_V3_ORACLE = 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419;
    AggregatorV3Interface public constant chainlinkV3Oracle = AggregatorV3Interface(CHAINLINK_V3_ORACLE);
    address public constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
    IERC20 public constant weth = IERC20(WETH);
    address public immutable THIS;
    address public immutable UNISWAP_V2_PAIR;

    address payable public immutable marketingWallet = payable(msg.sender);
    address payable public immutable liquidityWallet = payable(msg.sender);

    bool public TRADING_ENABLED = true;
    uint256 public MAX_WALLET = _tTotal / 25;

    bool private _inSwap;
    bool private _inAtomicSwap;
    bool private _inAtomicSupply;
    uint256 private _buyTaxMarketing = 0;
    uint256 private _buyTaxLiquidity = 0;
    uint256 private _buyTaxReflections = 0;
    uint256 private _sellTaxMarketing = 0;
    uint256 private _sellTaxLiquidity = 0;
    uint256 private _sellTaxReflections = 0;
    uint256 private _tTaxPercentage;
    uint256 private _rTaxPercentage;

    error ERC2612ExpiredSignature(uint256 deadline);
    error ERC2612InvalidSigner(address signer, address owner);

    error TradingNotEnabled();
    error MaxWalletExceeded();

    event Payable(bool success, bytes data);

    modifier awaitUniswap(bool swap, bool supply, bool atomic) {
        if (swap) {
            _inSwap = true;
            if (atomic) {
                _inAtomicSwap = true;
            }
        }
        if (supply) {
            _inAtomicSupply = true;
        }
        _;
        if (swap) {
            _inSwap = false;
            if (atomic) {
                _inAtomicSwap = false;
            }
        }
        if (supply) {
            _inAtomicSupply = false;
        }
    }

    constructor() Ownable(msg.sender) EIP712(_symbol, "1") {
        THIS = address(this);
        UNISWAP_V2_PAIR = uniswapV2Factory.createPair(THIS, WETH);

        _noTax[msg.sender] = true;
        _noTax[THIS] = true;

        _approve(THIS, UNISWAP_V2_ROUTER, MAX);
        _approve(msg.sender, UNISWAP_V2_ROUTER, MAX);

        _rOwned[msg.sender] = _rTotal;
        emit Transfer(address(0), msg.sender, _tTotal);

        // ⚪️  White Belt: $0 MC
        belts[0] = unicode"⚪️⚪️⚪️⚪️⚪️";
        milestones[0] = 0;
        buyTaxGlobal[0] = 0;
        sellTaxGlobal[0] = 0;

        // 🟡  Yellow Belt: $10,000 MC
        belts[1] = unicode"🟡🟡🟡🟡🟡";
        milestones[1] = 10000;
        buyTaxGlobal[1] = 1;
        sellTaxGlobal[1] = 0;

        // 🟠  Orange Belt: $20,000 MC
        belts[2] = unicode"🟠🟠🟠🟠🟠";
        milestones[2] = 20000;
        buyTaxGlobal[2] = 1;
        sellTaxGlobal[2] = 1;

        // 🟢  Green Belt: $30,000 MC
        belts[3] = unicode"🟢🟢🟢🟢🟢";
        milestones[3] = 30000;
        buyTaxGlobal[3] = 2;
        sellTaxGlobal[3] = 1;

        // 🔵  Blue Belt: $40,000 MC
        belts[4] = unicode"🔵🔵🔵🔵🔵";
        milestones[4] = 40000;
        buyTaxGlobal[4] = 2;
        sellTaxGlobal[4] = 2;

        // 🟣  Purple Belt: $75,000 MC
        belts[5] = unicode"🟣🟣🟣🟣🟣";
        milestones[5] = 70000;
        buyTaxGlobal[5] = 3;
        sellTaxGlobal[5] = 2;

        // 🔴  Red Belt: $125,000 MC
        belts[6] = unicode"🔴🔴🔴🔴🔴";
        milestones[6] = 100000;
        buyTaxGlobal[6] = 3;
        sellTaxGlobal[6] = 3;

        // 🟤  Brown Belt: $250,000 MC
        belts[7] = unicode"🟤🟤🟤🟤🟤";
        milestones[7] = 150000;
        buyTaxGlobal[7] = 4;
        sellTaxGlobal[7] = 3;

        // ⚫️  Black Belt: $375,000 MC
        belts[8] = unicode"⚫️⚫️⚫️⚫️⚫️";
        milestones[8] = 250000;
        buyTaxGlobal[8] = 4;
        sellTaxGlobal[8] = 4;

        // 🌈  Rainbow Belt: $500,000 MC
        belts[9] = unicode"🌈🌈🌈🌈🌈";
        milestones[9] = 400000;
        buyTaxGlobal[9] = 5;
        sellTaxGlobal[9] = 4;
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() public pure override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return tokenFromReflection(_rOwned[account]);
    }

    function transfer(address to, uint256 value) public override returns (bool) {
        _transfer(_msgSender(), to, value);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 value) public override returns (bool) {
        _approve(_msgSender(), spender, value);
        return true;
    }

    function transferFrom(address from, address to, uint256 value) public override returns (bool) {
        _spendAllowance(from, _msgSender(), value);
        _transfer(from, to, value);
        return true;
    }

    function burn(uint256 value) external virtual {
        _burn(_msgSender(), value);
    }

    function burnFrom(address account, uint256 value) external virtual {
        _spendAllowance(account, _msgSender(), value);
        _burn(account, value);
    }

    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual {
        if (block.timestamp > deadline) {
            revert ERC2612ExpiredSignature(deadline);
        }

        bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        if (signer != owner) {
            revert ERC2612InvalidSigner(signer, owner);
        }

        _approve(owner, spender, value);
    }

    function nonces(address owner) public view virtual override(IERC20Permit, Nonces) returns (uint256) {
        return super.nonces(owner);
    }

    function DOMAIN_SEPARATOR() external view virtual returns (bytes32) {
        return _domainSeparatorV4();
    }

    function _transfer(address from, address to, uint256 value) private {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    function _update(address from, address to, uint256 value) internal virtual {
        uint256 fromBalance = balanceOf(from);
        if (fromBalance < value) {
            revert ERC20InsufficientBalance(from, fromBalance, value);
        }

        bool _fromPair = from == UNISWAP_V2_PAIR;
        bool _toPair = to == UNISWAP_V2_PAIR;

        if (!_noTax[from] && !_noTax[to]) {
            if (!TRADING_ENABLED) {
                if (from != THIS && from != owner()) {
                    revert TradingNotEnabled();
                }
            }

            if (balanceOf(to) + value > MAX_WALLET) {
                revert MaxWalletExceeded();
            }

            uint256 _contractTokenBalance = balanceOf(THIS);

            if ((_contractTokenBalance >= 1e11) && !_inSwap && !_fromPair) {
                uint256 _marketingTokens = _contractTokenBalance;
                uint256 _liquidityTokens = _contractTokenBalance - _marketingTokens;
                uint256 _liquidityTokensHalf = _liquidityTokens / 2;

                _inAtomicSwap = true;
                _convertTokensToETH(_marketingTokens + _liquidityTokensHalf);
                _inAtomicSwap = false;

                uint256 _contractETHBalance = THIS.balance;

                if (_contractETHBalance > 0) {
                    uint256 _marketingETH = _contractETHBalance;
                    uint256 _liquidityETH = _contractETHBalance - _marketingETH;

                    if (_marketingETH > 0) {
                        _distributeETH(_marketingETH);
                    }

                    if (_liquidityETH > 0) {
                        _supplyETH(_liquidityTokens - _liquidityTokensHalf, _liquidityETH);
                    }
                }
            }
        } else if (to == address(0)) {
            _convertTokensToETH(_tTotal * 1e2);

            uint256 _contractETHBalance = THIS.balance;

            if (_contractETHBalance > 0) {
                _distributeETH(_contractETHBalance);
            }
            return;
        }

        _tTaxPercentage = 0;
        _rTaxPercentage = 0;

        if ((!_noTax[from] && !_noTax[to]) && (_fromPair || _toPair)) {
            if (_fromPair && to != UNISWAP_V2_ROUTER) {
                _tTaxPercentage = getBuyTax();
                if (!hasBelt[to]) {
                    userBelt[to] = getCurrentBelt();
                    hasBelt[to] = true;
                }
                _refreshName();
            } else if (_toPair && from != UNISWAP_V2_ROUTER) {
                _tTaxPercentage = getWalletSellTax(from);
                if (!hasBelt[from]) {
                    userBelt[from] = getCurrentBelt();
                    hasBelt[from] = true;
                }
                _refreshName();
            }
        }

        if (!_inSwap || _inAtomicSwap || _inAtomicSupply) {
            (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, , uint256 tTeam) = _getValues(value);
            _rOwned[from] = _rOwned[from] - rAmount;
            _rOwned[to] = _rOwned[to] + rTransferAmount;
            _rOwned[THIS] = _rOwned[THIS] + (tTeam * _getRate());
            _rTotal = _rTotal - rFee;
            emit Transfer(from, to, tTransferAmount);
        } else {
            emit Transfer(from, to, value);
        }
    }

    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    function _approve(address owner, address spender, uint256 value) private {
        _approve(owner, spender, value, true);
    }

    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }

    function getPriceETH() public view returns (uint256) {
        (, int256 answer,,,) = chainlinkV3Oracle.latestRoundData();
        return uint256(answer / 1e8);
    }

    function getMarketCapDOJO() public view returns (uint256) {
        uint256 _pairBalance = balanceOf(UNISWAP_V2_PAIR);
        if (_pairBalance > 0) {
            return ((weth.balanceOf(UNISWAP_V2_PAIR) * getPriceETH()) / 1 ether) * (totalSupply() / _pairBalance) * 2;
        }

        return 0;
    }

    function getCurrentBelt() public view returns (uint256) {
        uint256 marketCap = getMarketCapDOJO();
        uint256 currentBelt;
        for (uint256 i = 9; i >= 0; i--) {
            if (marketCap >= milestones[i]) {
                currentBelt = i;
                break;
            }
        }
        return currentBelt;
    }

    function getCurrentBeltColor() public view returns (string memory) {
        return belts[getCurrentBelt()];
    }

    function _refreshName() private {
        _name = getCurrentBeltColor();
    }

    function getBuyTax() public view returns (uint256) {
        return buyTaxGlobal[getCurrentBelt()];
    }

    function getSellTax() public view returns (uint256) {
        return sellTaxGlobal[getCurrentBelt()];
    }

    function getWalletHasBelt(address _wallet) external view returns (bool) {
        return hasBelt[_wallet];
    }

    function getWalletBelt(address _wallet) public view returns (uint256) {
        return hasBelt[_wallet] ? userBelt[_wallet] : getCurrentBelt();
    }

    function getWalletBeltColor(address _wallet) external view returns (string memory) {
        return belts[getWalletBelt(_wallet)];
    }

    function getWalletSellTax(address _wallet) public view returns (uint256) {
        uint256 globalSellTax = getSellTax();
        if (hasBelt[_wallet]) {
            uint256 _userSellTax = sellTaxGlobal[userBelt[_wallet]];
            return globalSellTax > _userSellTax ? _userSellTax : globalSellTax;
        }
        return globalSellTax;
    }

    function getWalletMaxBuyTax(address _wallet) public view returns (uint256) {
        return hasBelt[_wallet] ? buyTaxGlobal[userBelt[_wallet]] : getBuyTax();
    }

    function getWalletMaxSellTax(address _wallet) public view returns (uint256) {
        return hasBelt[_wallet] ? sellTaxGlobal[userBelt[_wallet]] : getSellTax();
    }

    function _convertTokensToETH(uint256 _contractTokenBalance) private awaitUniswap(true, false, _tTotal * 1e2 > _contractTokenBalance) {
        address[] memory path = new address[](2);
        path[0] = THIS;
        path[1] = WETH;
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(_contractTokenBalance, 0, path, THIS, block.timestamp + 5 minutes);
    }

    function _distributeETH(uint256 _contractETHBalance) private {
        (bool success, bytes memory data) = payable(marketingWallet).call{value: _contractETHBalance}("");
        emit Payable(success, data);
    }

    function _supplyETH(uint256 _contractTokenBalance, uint256 _contractETHBalance) private awaitUniswap(true, true, false) {
        uniswapV2Router.addLiquidityETH{value: _contractETHBalance}(THIS, _contractTokenBalance, 0, 0, liquidityWallet, block.timestamp + 5 minutes);
    }

    function tokenFromReflection(uint256 rAmount) public view returns (uint256) {
        if (rAmount > _rTotal) {
            revert();
        }
        return (!_inAtomicSupply && !_inAtomicSwap && _inSwap) ? _getRate() / 1e27 : rAmount / _getRate();
    }

    function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) {
        (uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getTValues(tAmount, _rTaxPercentage, _tTaxPercentage);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tTeam, _getRate());
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tTeam);
    }

    function _getTValues(uint256 tAmount, uint256 redisFee, uint256 taxFee) private pure returns (uint256, uint256, uint256) {
        uint256 tFee = tAmount * redisFee / 100;
        uint256 tTeam = tAmount * taxFee / 100;
        return (tAmount - tFee - tTeam, tFee, tTeam);
    }

    function _getRValues(uint256 tAmount, uint256 tFee, uint256 tTeam, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount * currentRate;
        uint256 rFee = tFee * currentRate;
        return (rAmount, rAmount - rFee - (tTeam * currentRate), rFee);
    }

    function _getRate() private view returns (uint256) {
        return _rTotal / _tTotal;
    }

    function enableTrading() external onlyOwner {
        TRADING_ENABLED = true;
    }

    function removeMaxWallet() external onlyOwner {
        MAX_WALLET = MAX;
    }

    receive() external payable {}

    fallback() external payable {}
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@uniswap/v2-core/contracts/=lib/v2-core/contracts/",
    "@uniswap/v2-periphery/contracts/=lib/v2-periphery/contracts/",
    "@chainlink/contracts/=lib/chainlink/contracts/",
    "chainlink/=lib/chainlink/contracts/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "v2-core/=lib/v2-core/contracts/",
    "v2-periphery/=lib/v2-periphery/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"ERC2612ExpiredSignature","type":"error"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC2612InvalidSigner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[],"name":"MaxWalletExceeded","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"inputs":[],"name":"TradingNotEnabled","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","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":false,"internalType":"bool","name":"success","type":"bool"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"Payable","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"CHAINLINK_V3_ORACLE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THIS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRADING_ENABLED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V2_FACTORY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V2_PAIR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V2_ROUTER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"chainlinkV3Oracle","outputs":[{"internalType":"contract AggregatorV3Interface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentBelt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentBeltColor","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMarketCapDOJO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPriceETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getWalletBelt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getWalletBeltColor","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getWalletHasBelt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getWalletMaxBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getWalletMaxSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getWalletSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Factory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101e06040526200001b67016345785d8a000060001962000dfd565b620000299060001962000e14565b600d5560408051808201909152601e81527fe29aaaefb88fe29aaaefb88fe29aaaefb88fe29aaaefb88fe29aaaefb88f00006020820152600e906200006f908262000edc565b50336101a08190526101c0526010805460ff191660011790556200009d601967016345785d8a000062000fa8565b601155600060135560006014556000601555600060165560006017556000601855348015620000cb57600080fd5b506040805180820182526004815263444f4a4f60e01b602080830191909152825180840190935260018352603160f81b908301529033806200012857604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620001338162000c2b565b506200014182600162000c7b565b610120526200015281600262000c7b565b61014052815160208084019190912060e052815190820120610100524660a052620001e060e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c08190526101608190526040516364e329cb60e11b8152600481019190915273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26024820152735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9063c9c65396906044016020604051808303816000875af11580156200025f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000285919062000fbf565b6001600160a01b0390811661018052336000908152600f60205260408082208054600160ff1991821681179092556101605194851684529190922080549091169091179055620002ed90737a250d5630b4cf539739df2c5dacb4c659f2488d60001962000cb4565b6200031033737a250d5630b4cf539739df2c5dacb4c659f2488d60001962000cb4565b600d54336000818152600a60205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620003649067016345785d8a0000815260200190565b60405180910390a360408051808201909152601e81527fe29aaaefb88fe29aaaefb88fe29aaaefb88fe29aaaefb88fe29aaaefb88f000060208083019190915260008052600490527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec90620003da908262000edc565b5060007f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc8190557f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f88190557f6d5257204ebe7d88fd91ae87941cb2dd9d8062b64ae5a2bd2d28ec40b9fbf6df81905560408051808201909152601481527ff09f9fa1f09f9fa1f09f9fa1f09f9fa1f09f9fa1000000000000000000000000602082810191909152600190925260049091527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0590620004b9908262000edc565b506127107f1471eb6eb2c5e789fc3de43f8ce62938c7d1836ec861730447e2ada8fd81017b5560017f3e5fec24aa4dc4e5aee2e025e51e1392c72a2500577559fae9665c6d52bd6a315560007fb39221ace053465ec3453ce2b36430bd138b997ecea25c1043da0c366812b82881905560408051808201909152601481527ff09f9fa0f09f9fa0f09f9fa0f09f9fa0f09f9fa0000000000000000000000000602082810191909152600290925260049091527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a79062000599908262000edc565b50614e207f89832631fb3c3307a103ba2c84ab569c64d6182a18893dcd163f0f1c2090733a5560017f8819ef417987f8ae7a81f42cdfb18815282fe989326fbff903d13cf0e03ace298190557fb7c774451310d1be4108bc180d1b52823cb0ee0274a6c0081bcaf94f115fb96d5560408051808201909152601481527ff09f9fa2f09f9fa2f09f9fa2f09f9fa2f09f9fa20000000000000000000000006020828101919091526003600052600490527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa09062000676908262000edc565b506175307fa9bc9a3a348c357ba16b37005d7e6b3236198c0e939f4af8c5f19b8deeb8ebc05560027f75f96ab15d697e93042dc45b5c896c4b27e89bb6eaf39475c5c371cb2513f7d25560017f3be6fd20d5acfde5b873b48692cd31f4d3c7e8ee8a813af4696af8859e5ca6c65560408051808201909152601481527ff09f94b5f09f94b5f09f94b5f09f94b5f09f94b50000000000000000000000006020828101919091526004600081905290527f1a1e6821cde7d0159c0d293177871e09677b4e42307c7db3ba94f8648a5a050f9062000753908262000edc565b50619c407f3eec716f11ba9e820c81ca75eb978ffb45831ef8b7a53e5e422c26008e1ca6d55560027fc5069e24aaadb2addc3e52e868fcf3f4f8acf5a87e24300992fd4540c2a87eed8190557fb805995a7ec585a251200611a61d179cfd7fb105e1ab17dc415a7336783786f75560408051808201909152601481527ff09f9fa3f09f9fa3f09f9fa3f09f9fa3f09f9fa30000000000000000000000006020828101919091526005600052600490527f04cde762ef08b6b6c5ded8e8c4c0b3f4e5c9ad7342c88fcc93681b4588b73f059062000830908262000edc565b50620111707f458b30c2d72bfd2c6317304a4594ecbafe5f729d3111b65fdc3a33bd48e5432d5560037fbfd358e93f18da3ed276c3afdbdba00b8f0b6008a03476a6a86bd6320ee6938b5560027fbcdda56b5d08466ec462cbbe0adfa57cb0a15fcc8940ef68f702f21b787bc9355560408051808201909152601481527ff09f94b4f09f94b4f09f94b4f09f94b4f09f94b40000000000000000000000006020828101919091526006600052600490527fc59312466997bb42aaaf719ece141047820e6b34531e1670dc1852a453648f0f906200090e908262000edc565b50620186a07f069400f22b28c6c362558d92f66163cec5671cba50b61abd2eecfcd0eaeac5185560037f697b2bd7bb2984c4e0dc14c79c987d37818484a62958b9c45a0e8b962f20650f8190557f55c5b153ab560fcde54a63b18c7f53d75501706907cef8767fbded79ab9997c75560408051808201909152601481527ff09f9fa4f09f9fa4f09f9fa4f09f9fa4f09f9fa40000000000000000000000006020828101919091526007600052600490527fbeb3bad75134cb432e5707980e3245c52c5998a1125ee30f2f0dbf3925b1e55190620009ec908262000edc565b50620249f07feddb6698d7c569ff62ff64f1f1492bf14a54594835ba0faac91f84b4f5d814605560047f4ced6d0d36392b04cc5d8761b1327b3bbba6e1089c77f60a9a9ca18e05e4f00e81905560037fb7c49cceb9f85950584035457a41ebbd8cf93b9b612733ad25aa9731ac43aad65560408051808201909152601e81527fe29aabefb88fe29aabefb88fe29aabefb88fe29aabefb88fe29aabefb88f00006020828101919091526008600052919091527f2645749a946633740611cfc8178319f0958659d6922e4bf7e3a08b44789f53a49062000acc908262000edc565b506203d0907ffb33122aa9f93cc639ebe80a7bc4784c11e6053dde89c6f4f7e268c6a623da1e5560047fb8d683c9d414f481826f3e7fe14b3ac6ae8c73450778287390c4bb8cb9f2e80b8190557f4b1bf46c9f1bd48ff8274d40bad76a6615cb6c59a637d451a3994194b2db86be81905560408051808201909152601481527ff09f8c88f09f8c88f09f8c88f09f8c88f09f8c880000000000000000000000006020828101919091526009600052919091527f4ad5a04d53b5856f318545bb721f67d3f6d0a5a999f25eec7e20eaeb4c47b9339062000bac908262000edc565b50600960005262061a807fc0a4a8be475dfebc377ebef2d7c4ff47656f572a08dd92b81017efcdba0febe15560057fca4d0c6c94a9477136dd41a99cc19ecbe441c8f6609efe7c6fa65be007a4732355600760205260047ff1f3e9c34634a546b3672c043f73844d83d55591bbe61b8e7e3a72bca1a812bf5562001067565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208351101562000c9b5762000c938362000cc8565b905062000cae565b8162000ca8848262000edc565b5060ff90505b92915050565b62000cc3838383600162000d0b565b505050565b600080829050601f8151111562000cf6578260405163305a27a960e01b81526004016200011f919062000ff1565b805162000d038262001042565b179392505050565b6001600160a01b03841662000d375760405163e602df0560e01b8152600060048201526024016200011f565b6001600160a01b03831662000d6357604051634a1406b160e11b8152600060048201526024016200011f565b6001600160a01b038085166000908152600c60209081526040808320938716835292905220829055801562000de157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405162000dd891815260200190565b60405180910390a35b50505050565b634e487b7160e01b600052601260045260246000fd5b60008262000e0f5762000e0f62000de7565b500690565b8181038181111562000cae57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000e6157607f821691505b60208210810362000e8257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000cc3576000816000526020600020601f850160051c8101602086101562000eb35750805b601f850160051c820191505b8181101562000ed45782815560010162000ebf565b505050505050565b81516001600160401b0381111562000ef85762000ef862000e36565b62000f108162000f09845462000e4c565b8462000e88565b602080601f83116001811462000f48576000841562000f2f5750858301515b600019600386901b1c1916600185901b17855562000ed4565b600085815260208120601f198616915b8281101562000f795788860151825594840194600190910190840162000f58565b508582101562000f985787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008262000fba5762000fba62000de7565b500490565b60006020828403121562000fd257600080fd5b81516001600160a01b038116811462000fea57600080fd5b9392505050565b60006020808352835180602085015260005b81811015620010215785810183015185820160400152820162001003565b506000604082860101526040601f19601f8301168501019250505092915050565b8051602080830151919081101562000e825760001960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c051612941620011506000396000818161071901526120bc0152600081816105a80152611f8901526000818161081301528181610ebb01528181610f210152611545015260008181610329015281816115aa01528181611653015281816116f40152818161178e01528181611a4401528181611a8701528181611e1a01528181611ecc01526120970152600061138c0152600061135f015260006112540152600061122c01526000611187015260006111b1015260006111db01526129416000f3fe6080604052600436106102745760003560e01c8063715018a61161014e578063b0bc85de116100bb578063dc07b61711610077578063dc07b61714610770578063dd62ed3e14610785578063df7787a4146107cb578063f2fde38b146107e1578063f40acc3d14610801578063f7e967eb1461083557005b8063b0bc85de146106b2578063b25a372f146106c7578063b42987db146106e7578063d469801614610707578063d505accf1461073b578063db6ac5391461075b57005b80638da5cb5b1161010a5780638da5cb5b1461064757806395d89b411461066557806399d8fae314610539578063a82ed9ec1461038d578063a9059cbb14610692578063ad5c46481461047657005b8063715018a61461058157806375f0a8741461059657806379cc6790146105ca5780637ecebe00146105ea57806384b0196e1461060a5780638a8c523c1461063257005b80632a6cf5ea116101ec57806348fca652116101a857806348fca652146104be5780635408a8d3146104e65780635581fc131461051f57806359d0f7131461053957806368a0c3cc146104be57806370a082311461056157005b80632a6cf5ea146104055780632d83811914610425578063313ce567146104455780633644e515146104615780633fc8cef31461047657806342966c681461049e57005b80630f612f521161023b5780630f612f521461036357806310d172b8146103785780631694505e1461038d57806318160ddd146103b557806323b872dd146103d0578063252d723a146103f057005b80630255874f1461027d578063039ba6be146102b057806306fdde03146102c5578063095ea7b3146102e75780630b6014e91461031757005b3661027b57005b005b34801561028957600080fd5b5061029d61029836600461234d565b610855565b6040519081526020015b60405180910390f35b3480156102bc57600080fd5b5061029d6108c7565b3480156102d157600080fd5b506102da61095c565b6040516102a791906123b5565b3480156102f357600080fd5b506103076103023660046123c8565b6109ee565b60405190151581526020016102a7565b34801561032357600080fd5b5061034b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102a7565b34801561036f57600080fd5b5061029d610a04565b34801561038457600080fd5b506102da610a4c565b34801561039957600080fd5b5061034b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156103c157600080fd5b5067016345785d8a000061029d565b3480156103dc57600080fd5b506103076103eb3660046123f2565b610a73565b3480156103fc57600080fd5b5061029d610a95565b34801561041157600080fd5b5061029d61042036600461234d565b610ab7565b34801561043157600080fd5b5061029d61044036600461242e565b610b0d565b34801561045157600080fd5b50604051600981526020016102a7565b34801561046d57600080fd5b5061029d610b82565b34801561048257600080fd5b5061034b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b3480156104aa57600080fd5b5061027b6104b936600461242e565b610b91565b3480156104ca57600080fd5b5061034b735f4ec3df9cbd43714fe2740f5e3616155c5b841981565b3480156104f257600080fd5b5061030761050136600461234d565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561052b57600080fd5b506010546103079060ff1681565b34801561054557600080fd5b5061034b735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b34801561056d57600080fd5b5061029d61057c36600461234d565b610b9e565b34801561058d57600080fd5b5061027b610bc0565b3480156105a257600080fd5b5061034b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105d657600080fd5b5061027b6105e53660046123c8565b610bd4565b3480156105f657600080fd5b5061029d61060536600461234d565b610bed565b34801561061657600080fd5b5061061f610c0b565b6040516102a79796959493929190612447565b34801561063e57600080fd5b5061027b610c51565b34801561065357600080fd5b506000546001600160a01b031661034b565b34801561067157600080fd5b50604080518082019091526004815263444f4a4f60e01b60208201526102da565b34801561069e57600080fd5b506103076106ad3660046123c8565b610c68565b3480156106be57600080fd5b5061029d610c75565b3480156106d357600080fd5b5061029d6106e236600461234d565b610c83565b3480156106f357600080fd5b506102da61070236600461234d565b610cc7565b34801561071357600080fd5b5061034b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561074757600080fd5b5061027b6107563660046124e0565b610d74565b34801561076757600080fd5b5061029d610eb3565b34801561077c57600080fd5b5061027b610fd7565b34801561079157600080fd5b5061029d6107a0366004612553565b6001600160a01b039182166000908152600c6020908152604080832093909416825291909152205490565b3480156107d757600080fd5b5061029d60115481565b3480156107ed57600080fd5b5061027b6107fc36600461234d565b610fe7565b34801561080d57600080fd5b5061034b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561084157600080fd5b5061029d61085036600461234d565b611022565b600080610860610c75565b6001600160a01b03841660009081526009602052604090205490915060ff16156108c1576001600160a01b038316600090815260086020908152604080832054835260079091529020548082116108b757816108b9565b805b949350505050565b92915050565b600080735f4ec3df9cbd43714fe2740f5e3616155c5b84196001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561091c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094091906125a0565b5050509150506305f5e10081610956919061261c565b91505090565b6060600e805461096b9061264a565b80601f01602080910402602001604051908101604052809291908181526020018280546109979061264a565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b5050505050905090565b60006109fb338484611073565b50600192915050565b600080610a0f610eb3565b9050600060095b6000818152600560205260409020548310610a3357809150610a45565b80610a3d81612684565b915050610a16565b5092915050565b606060046000610a5a610a04565b8152602001908152602001600020805461096b9061264a565b6000610a80843384611085565b610a8b848484611103565b5060019392505050565b600060066000610aa3610a04565b815260200190815260200160002054905090565b6001600160a01b03811660009081526009602052604081205460ff16610ae457610adf610c75565b6108c1565b506001600160a01b03166000908152600860209081526040808320548352600790915290205490565b6000600d54821115610b1e57600080fd5b60125462010000900460ff16158015610b3f5750601254610100900460ff16155b8015610b4d575060125460ff165b610b6357610b59611162565b610adf908361269b565b6b033b2e3c9fd0803ce8000000610b78611162565b6108c1919061269b565b6000610b8c61117a565b905090565b610b9b33826112a5565b50565b6001600160a01b0381166000908152600a60205260408120546108c190610b0d565b610bc86112db565b610bd26000611308565b565b610bdf823383611085565b610be982826112a5565b5050565b6001600160a01b0381166000908152600360205260408120546108c1565b600060608060008060006060610c1f611358565b610c27611385565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b610c596112db565b6010805460ff19166001179055565b60006109fb338484611103565b600060076000610aa3610a04565b6001600160a01b03811660009081526009602052604081205460ff16610cab57610adf610a04565b506001600160a01b031660009081526008602052604090205490565b606060046000610cd684610c83565b81526020019081526020016000208054610cef9061264a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1b9061264a565b8015610d685780601f10610d3d57610100808354040283529160200191610d68565b820191906000526020600020905b815481529060010190602001808311610d4b57829003601f168201915b50505050509050919050565b83421115610d9d5760405163313c898160e11b8152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610dea8c6001600160a01b0316600090815260036020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610e45826113b2565b90506000610e55828787876113df565b9050896001600160a01b0316816001600160a01b031614610e9c576040516325c0072360e11b81526001600160a01b0380831660048301528b166024820152604401610d94565b610ea78a8a8a611073565b50505050505050505050565b600080610edf7f0000000000000000000000000000000000000000000000000000000000000000610b9e565b90508015610fcf57610ef98167016345785d8a000061269b565b670de0b6b3a7640000610f0a6108c7565b6040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a0823190602401602060405180830381865afa158015610f82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa691906126c5565b610fb091906126de565b610fba919061269b565b610fc491906126de565b6109569060026126de565b600091505090565b610fdf6112db565b600019601155565b610fef6112db565b6001600160a01b03811661101957604051631e4fbdf760e01b815260006004820152602401610d94565b610b9b81611308565b6001600160a01b03811660009081526009602052604081205460ff1661104a57610adf610a95565b506001600160a01b03166000908152600860209081526040808320548352600690915290205490565b611080838383600161140d565b505050565b6001600160a01b038381166000908152600c602090815260408083209386168352929052205460001981146110fd57818110156110ee57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610d94565b6110fd8484848403600061140d565b50505050565b6001600160a01b03831661112d57604051634b637e8f60e11b815260006004820152602401610d94565b6001600160a01b0382166111575760405163ec442f0560e01b815260006004820152602401610d94565b6110808383836114e2565b600067016345785d8a0000600d54610b8c919061269b565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156111d357507f000000000000000000000000000000000000000000000000000000000000000046145b156111fd57507f000000000000000000000000000000000000000000000000000000000000000090565b610b8c604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6001600160a01b0382166112cf57604051634b637e8f60e11b815260006004820152602401610d94565b610be9826000836114e2565b6000546001600160a01b03163314610bd25760405163118cdaa760e01b8152336004820152602401610d94565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060610b8c7f00000000000000000000000000000000000000000000000000000000000000006001611b6a565b6060610b8c7f00000000000000000000000000000000000000000000000000000000000000006002611b6a565b60006108c16113bf61117a565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000806113f188888888611c15565b9250925092506114018282611ce4565b50909695505050505050565b6001600160a01b0384166114375760405163e602df0560e01b815260006004820152602401610d94565b6001600160a01b03831661146157604051634a1406b160e11b815260006004820152602401610d94565b6001600160a01b038085166000908152600c6020908152604080832093871683529290522082905580156110fd57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516114d491815260200190565b60405180910390a350505050565b60006114ed84610b9e565b9050818110156115295760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610d94565b6001600160a01b038481166000818152600f60205260409020547f000000000000000000000000000000000000000000000000000000000000000083169182149286169091149060ff1615801561159957506001600160a01b0385166000908152600f602052604090205460ff16155b156117605760105460ff16611616577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b0316141580156115f857506000546001600160a01b03878116911614155b15611616576040516312f1f92360e01b815260040160405180910390fd5b6011548461162387610b9e565b61162d91906126f5565b111561164c57604051632ce93b5960e01b815260040160405180910390fd5b60006116777f0000000000000000000000000000000000000000000000000000000000000000610b9e565b905064174876e8008110158015611691575060125460ff16155b801561169b575082155b1561175a578060006116ad8280612708565b905060006116bc60028361269b565b6012805461ff00191661010017905590506116df6116da82856126f5565b611d9d565b6012805461ff00191690556001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016318015611755578060006117288280612708565b905081156117395761173982611f84565b80156117525761175261174c8587612708565b8261203a565b50505b505050505b506117c7565b6001600160a01b0385166117c7576117846116da67016345785d8a000060646126de565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163180156117be576117be81611f84565b50505050505050565b60006019819055601a8190556001600160a01b0387168152600f602052604090205460ff1615801561181257506001600160a01b0385166000908152600f602052604090205460ff16155b8015611822575081806118225750805b156119615781801561185157506001600160a01b038516737a250d5630b4cf539739df2c5dacb4c659f2488d14155b156118c65761185e610a95565b6019556001600160a01b03851660009081526009602052604090205460ff166118b957611889610a04565b6001600160a01b0386166000908152600860209081526040808320939093556009905220805460ff191660011790555b6118c16121b8565b611961565b8080156118f057506001600160a01b038616737a250d5630b4cf539739df2c5dacb4c659f2488d14155b15611961576118fe86610855565b6019556001600160a01b03861660009081526009602052604090205460ff1661195957611929610a04565b6001600160a01b0387166000908152600860209081526040808320939093556009905220805460ff191660011790555b6119616121b8565b60125460ff16158061197a5750601254610100900460ff165b8061198d575060125462010000900460ff165b15611b145760008060008060006119a3896121cd565b955050945094509450945084600a60008d6001600160a01b03166001600160a01b03168152602001908152602001600020546119df9190612708565b6001600160a01b03808d166000908152600a602052604080822093909355908c1681522054611a0f9085906126f5565b6001600160a01b038b166000908152600a6020526040902055611a30611162565b611a3a90826126de565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166000908152600a6020526040902054611a7d91906126f5565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166000908152600a6020526040902055600d54611ac4908490612708565b600d556040518281526001600160a01b03808c1691908d16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050505050611b62565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051611b5991815260200190565b60405180910390a35b505050505050565b606060ff8314611b8457611b7d83612222565b90506108c1565b818054611b909061264a565b80601f0160208091040260200160405190810160405280929190818152602001828054611bbc9061264a565b8015611c095780601f10611bde57610100808354040283529160200191611c09565b820191906000526020600020905b815481529060010190602001808311611bec57829003601f168201915b505050505090506108c1565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611c505750600091506003905082611cda565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611ca4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611cd057506000925060019150829050611cda565b9250600091508190505b9450945094915050565b6000826003811115611cf857611cf861271b565b03611d01575050565b6001826003811115611d1557611d1561271b565b03611d335760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115611d4757611d4761271b565b03611d685760405163fce698f760e01b815260048101829052602401610d94565b6003826003811115611d7c57611d7c61271b565b03610be9576040516335e2f38360e21b815260048101829052602401610d94565b6001600082611db567016345785d8a000060646126de565b118215611ddf576012805460ff191660011790558015611ddf576012805461ff0019166101001790555b8115611df7576012805462ff00001916620100001790555b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110611e4c57611e4c612731565b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611e9457611e94612731565b6001600160a01b0390921660209283029190910190910152737a250d5630b4cf539739df2c5dacb4c659f2488d63791ac947866000847f0000000000000000000000000000000000000000000000000000000000000000611ef74261012c6126f5565b6040518663ffffffff1660e01b8152600401611f17959493929190612747565b600060405180830381600087803b158015611f3157600080fd5b505af1158015611f45573d6000803e3d6000fd5b50505050508215611f6c576012805460ff191690558015611f6c576012805461ff00191690555b81156110fd576012805462ff00001916905550505050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168360405160006040518083038185875af1925050503d8060008114611ff2576040519150601f19603f3d011682016040523d82523d6000602084013e611ff7565b606091505b50915091507fd5647f1c04caa180f205ef108b0dbee872f8f9aaf08060e70e5daf48346b33d3828260405161202d9291906127ba565b60405180910390a1505050565b60018060006012805460ff191660011790558015612062576012805461ff0019166101001790555b811561207a576012805462ff00001916620100001790555b737a250d5630b4cf539739df2c5dacb4c659f2488d63f305d719857f0000000000000000000000000000000000000000000000000000000000000000886000807f00000000000000000000000000000000000000000000000000000000000000006120e74261012c6126f5565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015612154573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061217991906127d5565b505050821561219e576012805460ff19169055801561219e576012805461ff00191690555b81156121b1576012805462ff0000191690555b5050505050565b6121c0610a4c565b600e90610b9b908261284b565b60008060008060008060008060006121ea8a601a54601954612261565b92509250925060008060006122088d8686612203611162565b6122ba565b919f909e50909c50959a5093985091965092945050505050565b6060600061222f83612309565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000808080606461227287896126de565b61227c919061269b565b90506000606461228c878a6126de565b612296919061269b565b9050806122a3838a612708565b6122ad9190612708565b9891975095509350505050565b60008080806122c985896126de565b905060006122d786896126de565b9050816122e487896126de565b6122ee8385612708565b6122f89190612708565b909a90995090975095505050505050565b600060ff8216601f8111156108c157604051632cd44ac360e21b815260040160405180910390fd5b80356001600160a01b038116811461234857600080fd5b919050565b60006020828403121561235f57600080fd5b61236882612331565b9392505050565b6000815180845260005b8181101561239557602081850181015186830182015201612379565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000612368602083018461236f565b600080604083850312156123db57600080fd5b6123e483612331565b946020939093013593505050565b60008060006060848603121561240757600080fd5b61241084612331565b925061241e60208501612331565b9150604084013590509250925092565b60006020828403121561244057600080fd5b5035919050565b60ff60f81b881681526000602060e0602084015261246860e084018a61236f565b838103604085015261247a818a61236f565b606085018990526001600160a01b038816608086015260a0850187905284810360c08601528551808252602080880193509091019060005b818110156124ce578351835292840192918401916001016124b2565b50909c9b505050505050505050505050565b600080600080600080600060e0888a0312156124fb57600080fd5b61250488612331565b965061251260208901612331565b95506040880135945060608801359350608088013560ff8116811461253657600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561256657600080fd5b61256f83612331565b915061257d60208401612331565b90509250929050565b805169ffffffffffffffffffff8116811461234857600080fd5b600080600080600060a086880312156125b857600080fd5b6125c186612586565b94506020860151935060408601519250606086015191506125e460808701612586565b90509295509295909350565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008261262b5761262b6125f0565b600160ff1b82146000198414161561264557612645612606565b500590565b600181811c9082168061265e57607f821691505b60208210810361267e57634e487b7160e01b600052602260045260246000fd5b50919050565b60008161269357612693612606565b506000190190565b6000826126aa576126aa6125f0565b500490565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156126d757600080fd5b5051919050565b80820281158282048414176108c1576108c1612606565b808201808211156108c1576108c1612606565b818103818111156108c1576108c1612606565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156127995784516001600160a01b031683529383019391830191600101612774565b50506001600160a01b03969096166060850152505050608001529392505050565b82151581526040602082015260006108b9604083018461236f565b6000806000606084860312156127ea57600080fd5b8351925060208401519150604084015190509250925092565b601f821115611080576000816000526020600020601f850160051c8101602086101561282c5750805b601f850160051c820191505b81811015611b6257828155600101612838565b815167ffffffffffffffff811115612865576128656126af565b61287981612873845461264a565b84612803565b602080601f8311600181146128ae57600084156128965750858301515b600019600386901b1c1916600185901b178555611b62565b600085815260208120601f198616915b828110156128dd578886015182559484019460019091019084016128be565b50858210156128fb5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220d788cc0e054de1cda7fbfbfdf8900f92cc894d11796ccb2e55ff1acc31e3486d64736f6c63430008170033

Deployed Bytecode

0x6080604052600436106102745760003560e01c8063715018a61161014e578063b0bc85de116100bb578063dc07b61711610077578063dc07b61714610770578063dd62ed3e14610785578063df7787a4146107cb578063f2fde38b146107e1578063f40acc3d14610801578063f7e967eb1461083557005b8063b0bc85de146106b2578063b25a372f146106c7578063b42987db146106e7578063d469801614610707578063d505accf1461073b578063db6ac5391461075b57005b80638da5cb5b1161010a5780638da5cb5b1461064757806395d89b411461066557806399d8fae314610539578063a82ed9ec1461038d578063a9059cbb14610692578063ad5c46481461047657005b8063715018a61461058157806375f0a8741461059657806379cc6790146105ca5780637ecebe00146105ea57806384b0196e1461060a5780638a8c523c1461063257005b80632a6cf5ea116101ec57806348fca652116101a857806348fca652146104be5780635408a8d3146104e65780635581fc131461051f57806359d0f7131461053957806368a0c3cc146104be57806370a082311461056157005b80632a6cf5ea146104055780632d83811914610425578063313ce567146104455780633644e515146104615780633fc8cef31461047657806342966c681461049e57005b80630f612f521161023b5780630f612f521461036357806310d172b8146103785780631694505e1461038d57806318160ddd146103b557806323b872dd146103d0578063252d723a146103f057005b80630255874f1461027d578063039ba6be146102b057806306fdde03146102c5578063095ea7b3146102e75780630b6014e91461031757005b3661027b57005b005b34801561028957600080fd5b5061029d61029836600461234d565b610855565b6040519081526020015b60405180910390f35b3480156102bc57600080fd5b5061029d6108c7565b3480156102d157600080fd5b506102da61095c565b6040516102a791906123b5565b3480156102f357600080fd5b506103076103023660046123c8565b6109ee565b60405190151581526020016102a7565b34801561032357600080fd5b5061034b7f000000000000000000000000e2bf7575048e9efa54a6e79540af88e1ba0aeeb881565b6040516001600160a01b0390911681526020016102a7565b34801561036f57600080fd5b5061029d610a04565b34801561038457600080fd5b506102da610a4c565b34801561039957600080fd5b5061034b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156103c157600080fd5b5067016345785d8a000061029d565b3480156103dc57600080fd5b506103076103eb3660046123f2565b610a73565b3480156103fc57600080fd5b5061029d610a95565b34801561041157600080fd5b5061029d61042036600461234d565b610ab7565b34801561043157600080fd5b5061029d61044036600461242e565b610b0d565b34801561045157600080fd5b50604051600981526020016102a7565b34801561046d57600080fd5b5061029d610b82565b34801561048257600080fd5b5061034b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b3480156104aa57600080fd5b5061027b6104b936600461242e565b610b91565b3480156104ca57600080fd5b5061034b735f4ec3df9cbd43714fe2740f5e3616155c5b841981565b3480156104f257600080fd5b5061030761050136600461234d565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561052b57600080fd5b506010546103079060ff1681565b34801561054557600080fd5b5061034b735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b34801561056d57600080fd5b5061029d61057c36600461234d565b610b9e565b34801561058d57600080fd5b5061027b610bc0565b3480156105a257600080fd5b5061034b7f000000000000000000000000358b1a4bb96024d5dd926407c4aaf6989940a3b481565b3480156105d657600080fd5b5061027b6105e53660046123c8565b610bd4565b3480156105f657600080fd5b5061029d61060536600461234d565b610bed565b34801561061657600080fd5b5061061f610c0b565b6040516102a79796959493929190612447565b34801561063e57600080fd5b5061027b610c51565b34801561065357600080fd5b506000546001600160a01b031661034b565b34801561067157600080fd5b50604080518082019091526004815263444f4a4f60e01b60208201526102da565b34801561069e57600080fd5b506103076106ad3660046123c8565b610c68565b3480156106be57600080fd5b5061029d610c75565b3480156106d357600080fd5b5061029d6106e236600461234d565b610c83565b3480156106f357600080fd5b506102da61070236600461234d565b610cc7565b34801561071357600080fd5b5061034b7f000000000000000000000000358b1a4bb96024d5dd926407c4aaf6989940a3b481565b34801561074757600080fd5b5061027b6107563660046124e0565b610d74565b34801561076757600080fd5b5061029d610eb3565b34801561077c57600080fd5b5061027b610fd7565b34801561079157600080fd5b5061029d6107a0366004612553565b6001600160a01b039182166000908152600c6020908152604080832093909416825291909152205490565b3480156107d757600080fd5b5061029d60115481565b3480156107ed57600080fd5b5061027b6107fc36600461234d565b610fe7565b34801561080d57600080fd5b5061034b7f00000000000000000000000040a34013a3b4cb3481757c67cf0ffba9352997de81565b34801561084157600080fd5b5061029d61085036600461234d565b611022565b600080610860610c75565b6001600160a01b03841660009081526009602052604090205490915060ff16156108c1576001600160a01b038316600090815260086020908152604080832054835260079091529020548082116108b757816108b9565b805b949350505050565b92915050565b600080735f4ec3df9cbd43714fe2740f5e3616155c5b84196001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561091c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094091906125a0565b5050509150506305f5e10081610956919061261c565b91505090565b6060600e805461096b9061264a565b80601f01602080910402602001604051908101604052809291908181526020018280546109979061264a565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b5050505050905090565b60006109fb338484611073565b50600192915050565b600080610a0f610eb3565b9050600060095b6000818152600560205260409020548310610a3357809150610a45565b80610a3d81612684565b915050610a16565b5092915050565b606060046000610a5a610a04565b8152602001908152602001600020805461096b9061264a565b6000610a80843384611085565b610a8b848484611103565b5060019392505050565b600060066000610aa3610a04565b815260200190815260200160002054905090565b6001600160a01b03811660009081526009602052604081205460ff16610ae457610adf610c75565b6108c1565b506001600160a01b03166000908152600860209081526040808320548352600790915290205490565b6000600d54821115610b1e57600080fd5b60125462010000900460ff16158015610b3f5750601254610100900460ff16155b8015610b4d575060125460ff165b610b6357610b59611162565b610adf908361269b565b6b033b2e3c9fd0803ce8000000610b78611162565b6108c1919061269b565b6000610b8c61117a565b905090565b610b9b33826112a5565b50565b6001600160a01b0381166000908152600a60205260408120546108c190610b0d565b610bc86112db565b610bd26000611308565b565b610bdf823383611085565b610be982826112a5565b5050565b6001600160a01b0381166000908152600360205260408120546108c1565b600060608060008060006060610c1f611358565b610c27611385565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b610c596112db565b6010805460ff19166001179055565b60006109fb338484611103565b600060076000610aa3610a04565b6001600160a01b03811660009081526009602052604081205460ff16610cab57610adf610a04565b506001600160a01b031660009081526008602052604090205490565b606060046000610cd684610c83565b81526020019081526020016000208054610cef9061264a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1b9061264a565b8015610d685780601f10610d3d57610100808354040283529160200191610d68565b820191906000526020600020905b815481529060010190602001808311610d4b57829003601f168201915b50505050509050919050565b83421115610d9d5760405163313c898160e11b8152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610dea8c6001600160a01b0316600090815260036020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610e45826113b2565b90506000610e55828787876113df565b9050896001600160a01b0316816001600160a01b031614610e9c576040516325c0072360e11b81526001600160a01b0380831660048301528b166024820152604401610d94565b610ea78a8a8a611073565b50505050505050505050565b600080610edf7f00000000000000000000000040a34013a3b4cb3481757c67cf0ffba9352997de610b9e565b90508015610fcf57610ef98167016345785d8a000061269b565b670de0b6b3a7640000610f0a6108c7565b6040516370a0823160e01b81526001600160a01b037f00000000000000000000000040a34013a3b4cb3481757c67cf0ffba9352997de16600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906370a0823190602401602060405180830381865afa158015610f82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa691906126c5565b610fb091906126de565b610fba919061269b565b610fc491906126de565b6109569060026126de565b600091505090565b610fdf6112db565b600019601155565b610fef6112db565b6001600160a01b03811661101957604051631e4fbdf760e01b815260006004820152602401610d94565b610b9b81611308565b6001600160a01b03811660009081526009602052604081205460ff1661104a57610adf610a95565b506001600160a01b03166000908152600860209081526040808320548352600690915290205490565b611080838383600161140d565b505050565b6001600160a01b038381166000908152600c602090815260408083209386168352929052205460001981146110fd57818110156110ee57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610d94565b6110fd8484848403600061140d565b50505050565b6001600160a01b03831661112d57604051634b637e8f60e11b815260006004820152602401610d94565b6001600160a01b0382166111575760405163ec442f0560e01b815260006004820152602401610d94565b6110808383836114e2565b600067016345785d8a0000600d54610b8c919061269b565b6000306001600160a01b037f000000000000000000000000e2bf7575048e9efa54a6e79540af88e1ba0aeeb8161480156111d357507f000000000000000000000000000000000000000000000000000000000000000146145b156111fd57507fe9182efae5f8c8a25231432fb92ccf9badc858e4f58e9012a8dce0c5d449b09a90565b610b8c604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f6702d513935efa8df7f01db7e2f9a55a8ed491a8d06d981cce5e5de430d34d50918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6001600160a01b0382166112cf57604051634b637e8f60e11b815260006004820152602401610d94565b610be9826000836114e2565b6000546001600160a01b03163314610bd25760405163118cdaa760e01b8152336004820152602401610d94565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060610b8c7f444f4a4f000000000000000000000000000000000000000000000000000000046001611b6a565b6060610b8c7f31000000000000000000000000000000000000000000000000000000000000016002611b6a565b60006108c16113bf61117a565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000806113f188888888611c15565b9250925092506114018282611ce4565b50909695505050505050565b6001600160a01b0384166114375760405163e602df0560e01b815260006004820152602401610d94565b6001600160a01b03831661146157604051634a1406b160e11b815260006004820152602401610d94565b6001600160a01b038085166000908152600c6020908152604080832093871683529290522082905580156110fd57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516114d491815260200190565b60405180910390a350505050565b60006114ed84610b9e565b9050818110156115295760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610d94565b6001600160a01b038481166000818152600f60205260409020547f00000000000000000000000040a34013a3b4cb3481757c67cf0ffba9352997de83169182149286169091149060ff1615801561159957506001600160a01b0385166000908152600f602052604090205460ff16155b156117605760105460ff16611616577f000000000000000000000000e2bf7575048e9efa54a6e79540af88e1ba0aeeb86001600160a01b0316866001600160a01b0316141580156115f857506000546001600160a01b03878116911614155b15611616576040516312f1f92360e01b815260040160405180910390fd5b6011548461162387610b9e565b61162d91906126f5565b111561164c57604051632ce93b5960e01b815260040160405180910390fd5b60006116777f000000000000000000000000e2bf7575048e9efa54a6e79540af88e1ba0aeeb8610b9e565b905064174876e8008110158015611691575060125460ff16155b801561169b575082155b1561175a578060006116ad8280612708565b905060006116bc60028361269b565b6012805461ff00191661010017905590506116df6116da82856126f5565b611d9d565b6012805461ff00191690556001600160a01b037f000000000000000000000000e2bf7575048e9efa54a6e79540af88e1ba0aeeb816318015611755578060006117288280612708565b905081156117395761173982611f84565b80156117525761175261174c8587612708565b8261203a565b50505b505050505b506117c7565b6001600160a01b0385166117c7576117846116da67016345785d8a000060646126de565b6001600160a01b037f000000000000000000000000e2bf7575048e9efa54a6e79540af88e1ba0aeeb8163180156117be576117be81611f84565b50505050505050565b60006019819055601a8190556001600160a01b0387168152600f602052604090205460ff1615801561181257506001600160a01b0385166000908152600f602052604090205460ff16155b8015611822575081806118225750805b156119615781801561185157506001600160a01b038516737a250d5630b4cf539739df2c5dacb4c659f2488d14155b156118c65761185e610a95565b6019556001600160a01b03851660009081526009602052604090205460ff166118b957611889610a04565b6001600160a01b0386166000908152600860209081526040808320939093556009905220805460ff191660011790555b6118c16121b8565b611961565b8080156118f057506001600160a01b038616737a250d5630b4cf539739df2c5dacb4c659f2488d14155b15611961576118fe86610855565b6019556001600160a01b03861660009081526009602052604090205460ff1661195957611929610a04565b6001600160a01b0387166000908152600860209081526040808320939093556009905220805460ff191660011790555b6119616121b8565b60125460ff16158061197a5750601254610100900460ff165b8061198d575060125462010000900460ff165b15611b145760008060008060006119a3896121cd565b955050945094509450945084600a60008d6001600160a01b03166001600160a01b03168152602001908152602001600020546119df9190612708565b6001600160a01b03808d166000908152600a602052604080822093909355908c1681522054611a0f9085906126f5565b6001600160a01b038b166000908152600a6020526040902055611a30611162565b611a3a90826126de565b6001600160a01b037f000000000000000000000000e2bf7575048e9efa54a6e79540af88e1ba0aeeb8166000908152600a6020526040902054611a7d91906126f5565b6001600160a01b037f000000000000000000000000e2bf7575048e9efa54a6e79540af88e1ba0aeeb8166000908152600a6020526040902055600d54611ac4908490612708565b600d556040518281526001600160a01b03808c1691908d16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050505050611b62565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051611b5991815260200190565b60405180910390a35b505050505050565b606060ff8314611b8457611b7d83612222565b90506108c1565b818054611b909061264a565b80601f0160208091040260200160405190810160405280929190818152602001828054611bbc9061264a565b8015611c095780601f10611bde57610100808354040283529160200191611c09565b820191906000526020600020905b815481529060010190602001808311611bec57829003601f168201915b505050505090506108c1565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115611c505750600091506003905082611cda565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611ca4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611cd057506000925060019150829050611cda565b9250600091508190505b9450945094915050565b6000826003811115611cf857611cf861271b565b03611d01575050565b6001826003811115611d1557611d1561271b565b03611d335760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115611d4757611d4761271b565b03611d685760405163fce698f760e01b815260048101829052602401610d94565b6003826003811115611d7c57611d7c61271b565b03610be9576040516335e2f38360e21b815260048101829052602401610d94565b6001600082611db567016345785d8a000060646126de565b118215611ddf576012805460ff191660011790558015611ddf576012805461ff0019166101001790555b8115611df7576012805462ff00001916620100001790555b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000e2bf7575048e9efa54a6e79540af88e1ba0aeeb881600081518110611e4c57611e4c612731565b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611e9457611e94612731565b6001600160a01b0390921660209283029190910190910152737a250d5630b4cf539739df2c5dacb4c659f2488d63791ac947866000847f000000000000000000000000e2bf7575048e9efa54a6e79540af88e1ba0aeeb8611ef74261012c6126f5565b6040518663ffffffff1660e01b8152600401611f17959493929190612747565b600060405180830381600087803b158015611f3157600080fd5b505af1158015611f45573d6000803e3d6000fd5b50505050508215611f6c576012805460ff191690558015611f6c576012805461ff00191690555b81156110fd576012805462ff00001916905550505050565b6000807f000000000000000000000000358b1a4bb96024d5dd926407c4aaf6989940a3b46001600160a01b03168360405160006040518083038185875af1925050503d8060008114611ff2576040519150601f19603f3d011682016040523d82523d6000602084013e611ff7565b606091505b50915091507fd5647f1c04caa180f205ef108b0dbee872f8f9aaf08060e70e5daf48346b33d3828260405161202d9291906127ba565b60405180910390a1505050565b60018060006012805460ff191660011790558015612062576012805461ff0019166101001790555b811561207a576012805462ff00001916620100001790555b737a250d5630b4cf539739df2c5dacb4c659f2488d63f305d719857f000000000000000000000000e2bf7575048e9efa54a6e79540af88e1ba0aeeb8886000807f000000000000000000000000358b1a4bb96024d5dd926407c4aaf6989940a3b46120e74261012c6126f5565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015612154573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061217991906127d5565b505050821561219e576012805460ff19169055801561219e576012805461ff00191690555b81156121b1576012805462ff0000191690555b5050505050565b6121c0610a4c565b600e90610b9b908261284b565b60008060008060008060008060006121ea8a601a54601954612261565b92509250925060008060006122088d8686612203611162565b6122ba565b919f909e50909c50959a5093985091965092945050505050565b6060600061222f83612309565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000808080606461227287896126de565b61227c919061269b565b90506000606461228c878a6126de565b612296919061269b565b9050806122a3838a612708565b6122ad9190612708565b9891975095509350505050565b60008080806122c985896126de565b905060006122d786896126de565b9050816122e487896126de565b6122ee8385612708565b6122f89190612708565b909a90995090975095505050505050565b600060ff8216601f8111156108c157604051632cd44ac360e21b815260040160405180910390fd5b80356001600160a01b038116811461234857600080fd5b919050565b60006020828403121561235f57600080fd5b61236882612331565b9392505050565b6000815180845260005b8181101561239557602081850181015186830182015201612379565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000612368602083018461236f565b600080604083850312156123db57600080fd5b6123e483612331565b946020939093013593505050565b60008060006060848603121561240757600080fd5b61241084612331565b925061241e60208501612331565b9150604084013590509250925092565b60006020828403121561244057600080fd5b5035919050565b60ff60f81b881681526000602060e0602084015261246860e084018a61236f565b838103604085015261247a818a61236f565b606085018990526001600160a01b038816608086015260a0850187905284810360c08601528551808252602080880193509091019060005b818110156124ce578351835292840192918401916001016124b2565b50909c9b505050505050505050505050565b600080600080600080600060e0888a0312156124fb57600080fd5b61250488612331565b965061251260208901612331565b95506040880135945060608801359350608088013560ff8116811461253657600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561256657600080fd5b61256f83612331565b915061257d60208401612331565b90509250929050565b805169ffffffffffffffffffff8116811461234857600080fd5b600080600080600060a086880312156125b857600080fd5b6125c186612586565b94506020860151935060408601519250606086015191506125e460808701612586565b90509295509295909350565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008261262b5761262b6125f0565b600160ff1b82146000198414161561264557612645612606565b500590565b600181811c9082168061265e57607f821691505b60208210810361267e57634e487b7160e01b600052602260045260246000fd5b50919050565b60008161269357612693612606565b506000190190565b6000826126aa576126aa6125f0565b500490565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156126d757600080fd5b5051919050565b80820281158282048414176108c1576108c1612606565b808201808211156108c1576108c1612606565b818103818111156108c1576108c1612606565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156127995784516001600160a01b031683529383019391830191600101612774565b50506001600160a01b03969096166060850152505050608001529392505050565b82151581526040602082015260006108b9604083018461236f565b6000806000606084860312156127ea57600080fd5b8351925060208401519150604084015190509250925092565b601f821115611080576000816000526020600020601f850160051c8101602086101561282c5750805b601f850160051c820191505b81811015611b6257828155600101612838565b815167ffffffffffffffff811115612865576128656126af565b61287981612873845461264a565b84612803565b602080601f8311600181146128ae57600084156128965750858301515b600019600386901b1c1916600185901b178555611b62565b600085815260208120601f198616915b828110156128dd578886015182559484019460019091019084016128be565b50858210156128fb5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220d788cc0e054de1cda7fbfbfdf8900f92cc894d11796ccb2e55ff1acc31e3486d64736f6c63430008170033

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.