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

Token

Tom Cat (Tom)
 

Overview

Max Total Supply

100,000,000,000 Tom

Holders

517

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
86669.eth
Balance
10,000,000 Tom

Value
$0.00
0xf261158774879e94a39febd335ead176840d7fdf
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:
TomCat

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-10-31
*/

/**
 *Submitted for verification at BscScan.com on 2024-10-27
*/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


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

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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);
}

// File: @openzeppelin/contracts/interfaces/IERC20.sol


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

pragma solidity ^0.8.20;


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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

// File: @openzeppelin/contracts/interfaces/IERC165.sol


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

pragma solidity ^0.8.20;


// File: @openzeppelin/contracts/interfaces/IERC1363.sol


// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)

pragma solidity ^0.8.20;



/**
 * @title IERC1363
 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
 *
 * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
 * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
 */
interface IERC1363 is IERC20, IERC165 {
    /*
     * Note: the ERC-165 identifier for this interface is 0xb0202a11.
     * 0xb0202a11 ===
     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^
     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
     */

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @param data Additional data with no specified format, sent in call to `spender`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of common custom errors used in multiple contracts
 *
 * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.
 * It is recommended to avoid relying on the error API for critical functionality.
 *
 * _Available since v5.1._
 */
library Errors {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error InsufficientBalance(uint256 balance, uint256 needed);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedCall();

    /**
     * @dev The deployment failed.
     */
    error FailedDeployment();

    /**
     * @dev A necessary precompile is missing.
     */
    error MissingPrecompile(address);
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/Address.sol)

pragma solidity ^0.8.20;


/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

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

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert Errors.FailedCall();
        }
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert Errors.InsufficientBalance(address(this).balance, value);
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case
     * of an unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {Errors.FailedCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            assembly ("memory-safe") {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert Errors.FailedCall();
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC-20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    /**
     * @dev An operation with an ERC-20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     *
     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
     * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
     * set here.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            safeTransfer(token, to, value);
        } else if (!token.transferAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferFromAndCallRelaxed(
        IERC1363 token,
        address from,
        address to,
        uint256 value,
        bytes memory data
    ) internal {
        if (to.code.length == 0) {
            safeTransferFrom(token, from, to, value);
        } else if (!token.transferFromAndCall(from, to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
     * once without retrying, and relies on the returned value to be true.
     *
     * Reverts if the returned value is other than `true`.
     */
    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            forceApprove(token, to, value);
        } else if (!token.approveAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
        // bubble errors
            if iszero(success) {
                let ptr := mload(0x40)
                returndatacopy(ptr, 0, returndatasize())
                revert(ptr, returndatasize())
            }
            returnSize := returndatasize()
            returnValue := mload(0)
        }

        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0)
        }
        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
    }
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

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

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

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

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


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

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

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


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

pragma solidity ^0.8.20;


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

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


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

pragma solidity ^0.8.20;


/**
 * @dev Interface for the optional metadata functions from the ERC-20 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);
}

// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol


// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 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 ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-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 ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 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);
}

// File: contracts/bsc_cat.sol



pragma solidity ^0.8.19;








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

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    )
    external
    payable
    returns (uint amountToken, uint amountETH, uint liquidity);
}

interface IUniswapV2Factory {
    function getPair(
        address tokenA,
        address tokenB
    ) external view returns (address pair);

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

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint);

    function balanceOf(address owner) external view returns (uint);

    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);

    function transfer(address to, uint value) external returns (bool);

    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);

    function price0CumulativeLast() external view returns (uint);

    function price1CumulativeLast() external view returns (uint);

    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);

    function burn(address to) external returns (uint amount0, uint amount1);

    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

contract TomCat is Context, IERC20, IERC20Metadata, IERC20Errors,ReentrancyGuard, Ownable {
    using SafeERC20 for IERC20;

    event AddLiquidityEvent(
        address indexed to,
        uint256 amount,
        uint256 ethAmount,
        uint256 liquidity
    );

    address public uniswapRouter;
    address public uniswapFactory;
    uint256 public mintLimit;
    uint256 public mintTimes;
    uint256 public mintPrice;
    address public _pair;
    mapping(address => uint256) public mintsPerAddress;
    bool public mintEnabled;
    bool public transfersEnabled; // New variable for transfer control

    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
   * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        if(from != owner() && from != address(this)){
            if (!transfersEnabled ) {
                revert("Transfers are disabled");
            }
        }

        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
            // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
            // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
            // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     *
     * ```solidity
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    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);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    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);
            }
        }
    }


    constructor() Ownable(msg.sender) {
//        address _uniswapRouter = 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24;
//        address _uniswapFactory = 0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6;
        _name = "Tom Cat";
        _symbol = "Tom";

        address _uniswapRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
        address _uniswapFactory = 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f  ;


        _mint(address(this), 60000000000 * (10 ** 18));
        _mint(msg.sender, 40000000000 * (10 ** 18));

        uniswapRouter = _uniswapRouter;
        uniswapFactory = _uniswapFactory;
        mintLimit = 10;
        mintPrice = 0.01 ether;
        mintTimes = 0;
        mintEnabled = true; // Initialize minting as enabled

        _approve(address(this), uniswapRouter, type(uint256).max);

        address _weth = IUniswapV2Router01(uniswapRouter).WETH();
        _pair = IUniswapV2Factory(uniswapFactory).createPair(address(this), _weth);
    }

    // Function to enable or disable wallet-to-wallet transfers
    function setTransfersEnabled(bool _enabled) external onlyOwner {
        transfersEnabled = _enabled;
    }

    // Function to enable or disable minting
    function setMintEnabled(bool _enabled) external onlyOwner {
        mintEnabled = _enabled;
    }

    function mint() public payable nonReentrant {
        require(mintEnabled, "Minting is currently disabled");
        require(!_isContract(msg.sender), "ERC123: cannot mint to contract");
        require(msg.sender == tx.origin, "ERC123: cannot mint via contract");
        require(mintsPerAddress[msg.sender] < mintLimit, "Mint limit reached");
        require(msg.value == mintPrice, "Incorrect ETH amount sent");
        require(mintTimes < 1500 , "Too many minting requests");

        uint256 amount = 20000000 * (10 ** 18);

        _transfer(address(this), msg.sender, amount);
        mintsPerAddress[msg.sender] += 1; // Increment the mint count for the address
        mintTimes += 1;

        // Check if the mint count for this address has reached 10
        if (mintTimes % 30 == 0) {
            addLiquidityETH(address(this).balance); // Add liquidity with the current ETH balance
        }
    }

    function addLiquidityETH(uint256 ethAmount) private {
        require(_pair != address(0), "Pair does not exist");
        uint256 tokenAmount = balanceOf(address(this));

        IUniswapV2Router01 router = IUniswapV2Router01(uniswapRouter);

        (uint256 amountToken, uint256 amountETH, uint256 liquidity) = router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0,
            ethAmount,
            0x000000000000000000000000000000000000dEaD,  //black hole address
            block.timestamp + 1 days
        );

        emit AddLiquidityEvent(address(this), amountToken, amountETH, liquidity);
    }


    function reserves() public view returns (uint112, uint112) {
        (uint112 reserveETH, uint112 reserveToken,) = IUniswapV2Pair(_pair).getReserves();
        return (reserveETH, reserveToken);
    }

    function getCurrentTokenPrice() public view returns (uint256) {
        require(_pair != address(0), "Pair does not exist");

        (uint112 reserveETH, uint112 reserveToken,) = IUniswapV2Pair(_pair).getReserves();

        // Ensure we have both reserves
        require(reserveToken > 0 && reserveETH > 0, "Insufficient liquidity");

        // Calculate the price of the token in ETH
        // price = reserveETH / reserveToken
        uint256 tokenPriceInETH = (reserveETH * 10 ** 18) / reserveToken;

        return tokenPriceInETH;
    }

    function _isContract(address _addr) internal view returns (bool) {
        uint32 size;
        assembly {
            size := extcodesize(_addr)
        }
        return (size > 0);
    }

    // Function to withdraw ETH from the contract
    function withdrawETH() external onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "No ETH to withdraw");
        payable(owner()).transfer(balance);
    }

    // Function to withdraw ERC20 tokens from the contract
    function withdrawTokens(uint256 amount) external onlyOwner {
        _transfer(address(this), msg.sender, amount);
    }

    receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"AddLiquidityEvent","type":"event"},{"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":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_pair","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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserves","outputs":[{"internalType":"uint112","name":"","type":"uint112"},{"internalType":"uint112","name":"","type":"uint112"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setTransfersEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"transfersEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561000f575f80fd5b5060015f55338061003a57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61004381610253565b50604080518082019091526007815266151bdb4810d85d60ca1b6020820152600d9061006f908261057e565b50604080518082019091526003815262546f6d60e81b6020820152600e90610097908261057e565b50737a250d5630b4cf539739df2c5dacb4c659f2488d735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f6100d8306bc1ded63574de0e46600000006102a4565b6100ee336b813f3978f8940984400000006102a4565b600280546001600160a01b038085166001600160a01b031992831681179093556003805491851691909216179055600a600455662386f26fc100006006555f6005556009805460ff1916600117905561014a9030905f196102dc565b600254604080516315ab88c960e31b815290515f926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015610191573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101b59190610638565b6003546040516364e329cb60e11b81523060048201526001600160a01b03808416602483015292935091169063c9c65396906044016020604051808303815f875af1158015610206573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061022a9190610638565b600780546001600160a01b0319166001600160a01b03929092169190911790555061068a915050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166102cd5760405163ec442f0560e01b81525f6004820152602401610031565b6102d85f83836102ee565b5050565b6102e98383836001610414565b505050565b6001600160a01b0383166103185780600c5f82825461030d9190610665565b909155506103889050565b6001600160a01b0383165f908152600a60205260409020548181101561036a5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610031565b6001600160a01b0384165f908152600a602052604090209082900390555b6001600160a01b0382166103a457600c805482900390556103c2565b6001600160a01b0382165f908152600a602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161040791815260200190565b60405180910390a3505050565b6001600160a01b03841661043d5760405163e602df0560e01b81525f6004820152602401610031565b6001600160a01b03831661046657604051634a1406b160e11b81525f6004820152602401610031565b6001600160a01b038085165f908152600b6020908152604080832093871683529290522082905580156104e157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104d891815260200190565b60405180910390a35b50505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061050f57607f821691505b60208210810361052d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156102e957805f5260205f20601f840160051c810160208510156105585750805b601f840160051c820191505b81811015610577575f8155600101610564565b5050505050565b81516001600160401b03811115610597576105976104e7565b6105ab816105a584546104fb565b84610533565b6020601f8211600181146105dd575f83156105c65750848201515b5f19600385901b1c1916600184901b178455610577565b5f84815260208120601f198516915b8281101561060c57878501518255602094850194600190920191016105ec565b508482101561062957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610648575f80fd5b81516001600160a01b038116811461065e575f80fd5b9392505050565b8082018082111561068457634e487b7160e01b5f52601160045260245ffd5b92915050565b6113f4806106975f395ff3fe6080604052600436106101b2575f3560e01c8063755cc41e116100e7578063bef97c8711610087578063e086e5ec11610062578063e086e5ec146104dc578063f2fde38b146104f0578063f46a04eb1461050f578063f751758b1461052e575f80fd5b8063bef97c8714610461578063d12397301461047f578063dd62ed3e14610498575f80fd5b806395d89b41116100c257806395d89b41146103fa578063996517cf1461040e578063a9059cbb14610423578063b51449bb14610442575f80fd5b8063755cc41e146103a95780638bdb2afa146103be5780638da5cb5b146103dd575f80fd5b8063313ce5671161015257806370a082311161012d57806370a08231146102f6578063715018a61461032a578063735de9f71461033e57806375172a8b14610375575f80fd5b8063313ce567146102a7578063315a095d146102c25780636817c76c146102e1575f80fd5b806318160ddd1161018d57806318160ddd1461022057806323b872dd1461023e57806326b9ce131461025d5780633023eba61461027c575f80fd5b806306fdde03146101bd578063095ea7b3146101e75780631249c58b14610216575f80fd5b366101b957005b5f80fd5b3480156101c8575f80fd5b506101d1610542565b6040516101de919061111c565b60405180910390f35b3480156101f2575f80fd5b5061020661020136600461116c565b6105d2565b60405190151581526020016101de565b61021e6105eb565b005b34801561022b575f80fd5b50600c545b6040519081526020016101de565b348015610249575f80fd5b50610206610258366004611194565b610864565b348015610268575f80fd5b5061021e6102773660046111ce565b610887565b348015610287575f80fd5b506102306102963660046111f4565b60086020525f908152604090205481565b3480156102b2575f80fd5b50604051601281526020016101de565b3480156102cd575f80fd5b5061021e6102dc36600461120d565b6108a9565b3480156102ec575f80fd5b5061023060065481565b348015610301575f80fd5b506102306103103660046111f4565b6001600160a01b03165f908152600a602052604090205490565b348015610335575f80fd5b5061021e6108bf565b348015610349575f80fd5b5060025461035d906001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b348015610380575f80fd5b506103896108d0565b604080516001600160701b039384168152929091166020830152016101de565b3480156103b4575f80fd5b5061023060055481565b3480156103c9575f80fd5b5060035461035d906001600160a01b031681565b3480156103e8575f80fd5b506001546001600160a01b031661035d565b348015610405575f80fd5b506101d1610954565b348015610419575f80fd5b5061023060045481565b34801561042e575f80fd5b5061020661043d36600461116c565b610963565b34801561044d575f80fd5b5060075461035d906001600160a01b031681565b34801561046c575f80fd5b5060095461020690610100900460ff1681565b34801561048a575f80fd5b506009546102069060ff1681565b3480156104a3575f80fd5b506102306104b2366004611224565b6001600160a01b039182165f908152600b6020908152604080832093909416825291909152205490565b3480156104e7575f80fd5b5061021e610970565b3480156104fb575f80fd5b5061021e61050a3660046111f4565b6109f6565b34801561051a575f80fd5b5061021e6105293660046111ce565b610a30565b348015610539575f80fd5b50610230610a4b565b6060600d805461055190611255565b80601f016020809104026020016040519081016040528092919081815260200182805461057d90611255565b80156105c85780601f1061059f576101008083540402835291602001916105c8565b820191905f5260205f20905b8154815290600101906020018083116105ab57829003601f168201915b5050505050905090565b5f336105df818585610baa565b60019150505b92915050565b6105f3610bbc565b60095460ff1661064a5760405162461bcd60e51b815260206004820152601d60248201527f4d696e74696e672069732063757272656e746c792064697361626c656400000060448201526064015b60405180910390fd5b333b63ffffffff161561069f5760405162461bcd60e51b815260206004820152601f60248201527f4552433132333a2063616e6e6f74206d696e7420746f20636f6e7472616374006044820152606401610641565b3332146106ee5760405162461bcd60e51b815260206004820181905260248201527f4552433132333a2063616e6e6f74206d696e742076696120636f6e74726163746044820152606401610641565b600454335f90815260086020526040902054106107425760405162461bcd60e51b8152602060048201526012602482015271135a5b9d081b1a5b5a5d081c995858da195960721b6044820152606401610641565b60065434146107935760405162461bcd60e51b815260206004820152601960248201527f496e636f72726563742045544820616d6f756e742073656e74000000000000006044820152606401610641565b6105dc600554106107e65760405162461bcd60e51b815260206004820152601960248201527f546f6f206d616e79206d696e74696e67207265717565737473000000000000006044820152606401610641565b6a108b2a2c280290940000006107fd303383610be4565b335f90815260086020526040812080546001929061081c9084906112a1565b92505081905550600160055f82825461083591906112a1565b909155505060055461084990601e906112c8565b5f036108585761085847610cbd565b5061086260015f55565b565b5f33610871858285610e2a565b61087c858585610be4565b506001949350505050565b61088f610ea6565b600980549115156101000261ff0019909216919091179055565b6108b1610ea6565b6108bc303383610be4565b50565b6108c7610ea6565b6108625f610ed3565b5f805f8060075f9054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610924573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094891906112f1565b50909590945092505050565b6060600e805461055190611255565b5f336105df818585610be4565b610978610ea6565b47806109bb5760405162461bcd60e51b81526020600482015260126024820152714e6f2045544820746f20776974686472617760701b6044820152606401610641565b6001546040516001600160a01b039091169082156108fc029083905f818181858888f193505050501580156109f2573d5f803e3d5ffd5b5050565b6109fe610ea6565b6001600160a01b038116610a2757604051631e4fbdf760e01b81525f6004820152602401610641565b6108bc81610ed3565b610a38610ea6565b6009805460ff1916911515919091179055565b6007545f906001600160a01b0316610a9b5760405162461bcd60e51b815260206004820152601360248201527214185a5c88191bd95cc81b9bdd08195e1a5cdd606a1b6044820152606401610641565b5f8060075f9054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610aed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1191906112f1565b50915091505f816001600160701b0316118015610b3657505f826001600160701b0316115b610b7b5760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e74206c697175696469747960501b6044820152606401610641565b5f81610b8f84670de0b6b3a764000061133d565b610b999190611366565b6001600160701b0316949350505050565b610bb78383836001610f24565b505050565b60025f5403610bde57604051633ee5aeb560e01b815260040160405180910390fd5b60025f55565b6001600160a01b038316610c0d57604051634b637e8f60e11b81525f6004820152602401610641565b6001600160a01b038216610c365760405163ec442f0560e01b81525f6004820152602401610641565b6001546001600160a01b03848116911614801590610c5d57506001600160a01b0383163014155b15610cb257600954610100900460ff16610cb25760405162461bcd60e51b8152602060048201526016602482015275151c985b9cd9995c9cc8185c9948191a5cd8589b195960521b6044820152606401610641565b610bb7838383610ff6565b6007546001600160a01b0316610d0b5760405162461bcd60e51b815260206004820152601360248201527214185a5c88191bd95cc81b9bdd08195e1a5cdd606a1b6044820152606401610641565b305f908152600a60205260408120546002549091506001600160a01b03165f80808363f305d719873088858361dead610d4742620151806112a1565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015610db2573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610dd79190611393565b6040805184815260208101849052908101829052929550909350915030907f225597b52a4856f446ebef0a7cd2dbf30dcd8d1d031ee26d60b005e314f027399060600160405180910390a2505050505050565b6001600160a01b038381165f908152600b60209081526040808320938616835292905220545f19811015610ea05781811015610e9257604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610641565b610ea084848484035f610f24565b50505050565b6001546001600160a01b031633146108625760405163118cdaa760e01b8152336004820152602401610641565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416610f4d5760405163e602df0560e01b81525f6004820152602401610641565b6001600160a01b038316610f7657604051634a1406b160e11b81525f6004820152602401610641565b6001600160a01b038085165f908152600b602090815260408083209387168352929052208290558015610ea057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610fe891815260200190565b60405180910390a350505050565b6001600160a01b0383166110205780600c5f82825461101591906112a1565b909155506110909050565b6001600160a01b0383165f908152600a6020526040902054818110156110725760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610641565b6001600160a01b0384165f908152600a602052604090209082900390555b6001600160a01b0382166110ac57600c805482900390556110ca565b6001600160a01b0382165f908152600a602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161110f91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114611167575f80fd5b919050565b5f806040838503121561117d575f80fd5b61118683611151565b946020939093013593505050565b5f805f606084860312156111a6575f80fd5b6111af84611151565b92506111bd60208501611151565b929592945050506040919091013590565b5f602082840312156111de575f80fd5b813580151581146111ed575f80fd5b9392505050565b5f60208284031215611204575f80fd5b6111ed82611151565b5f6020828403121561121d575f80fd5b5035919050565b5f8060408385031215611235575f80fd5b61123e83611151565b915061124c60208401611151565b90509250929050565b600181811c9082168061126957607f821691505b60208210810361128757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105e5576105e561128d565b634e487b7160e01b5f52601260045260245ffd5b5f826112d6576112d66112b4565b500690565b80516001600160701b0381168114611167575f80fd5b5f805f60608486031215611303575f80fd5b61130c846112db565b925061131a602085016112db565b9150604084015163ffffffff81168114611332575f80fd5b809150509250925092565b6001600160701b03818116838216029081169081811461135f5761135f61128d565b5092915050565b5f6001600160701b0383168061137e5761137e6112b4565b806001600160701b0384160491505092915050565b5f805f606084860312156113a5575f80fd5b505081516020830151604090930151909492935091905056fea2646970667358221220f58d69a754205c1c4c3e3b5496a4e7d11527e7b2755b9365de5d48d146cef3df64736f6c634300081a0033

Deployed Bytecode

0x6080604052600436106101b2575f3560e01c8063755cc41e116100e7578063bef97c8711610087578063e086e5ec11610062578063e086e5ec146104dc578063f2fde38b146104f0578063f46a04eb1461050f578063f751758b1461052e575f80fd5b8063bef97c8714610461578063d12397301461047f578063dd62ed3e14610498575f80fd5b806395d89b41116100c257806395d89b41146103fa578063996517cf1461040e578063a9059cbb14610423578063b51449bb14610442575f80fd5b8063755cc41e146103a95780638bdb2afa146103be5780638da5cb5b146103dd575f80fd5b8063313ce5671161015257806370a082311161012d57806370a08231146102f6578063715018a61461032a578063735de9f71461033e57806375172a8b14610375575f80fd5b8063313ce567146102a7578063315a095d146102c25780636817c76c146102e1575f80fd5b806318160ddd1161018d57806318160ddd1461022057806323b872dd1461023e57806326b9ce131461025d5780633023eba61461027c575f80fd5b806306fdde03146101bd578063095ea7b3146101e75780631249c58b14610216575f80fd5b366101b957005b5f80fd5b3480156101c8575f80fd5b506101d1610542565b6040516101de919061111c565b60405180910390f35b3480156101f2575f80fd5b5061020661020136600461116c565b6105d2565b60405190151581526020016101de565b61021e6105eb565b005b34801561022b575f80fd5b50600c545b6040519081526020016101de565b348015610249575f80fd5b50610206610258366004611194565b610864565b348015610268575f80fd5b5061021e6102773660046111ce565b610887565b348015610287575f80fd5b506102306102963660046111f4565b60086020525f908152604090205481565b3480156102b2575f80fd5b50604051601281526020016101de565b3480156102cd575f80fd5b5061021e6102dc36600461120d565b6108a9565b3480156102ec575f80fd5b5061023060065481565b348015610301575f80fd5b506102306103103660046111f4565b6001600160a01b03165f908152600a602052604090205490565b348015610335575f80fd5b5061021e6108bf565b348015610349575f80fd5b5060025461035d906001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b348015610380575f80fd5b506103896108d0565b604080516001600160701b039384168152929091166020830152016101de565b3480156103b4575f80fd5b5061023060055481565b3480156103c9575f80fd5b5060035461035d906001600160a01b031681565b3480156103e8575f80fd5b506001546001600160a01b031661035d565b348015610405575f80fd5b506101d1610954565b348015610419575f80fd5b5061023060045481565b34801561042e575f80fd5b5061020661043d36600461116c565b610963565b34801561044d575f80fd5b5060075461035d906001600160a01b031681565b34801561046c575f80fd5b5060095461020690610100900460ff1681565b34801561048a575f80fd5b506009546102069060ff1681565b3480156104a3575f80fd5b506102306104b2366004611224565b6001600160a01b039182165f908152600b6020908152604080832093909416825291909152205490565b3480156104e7575f80fd5b5061021e610970565b3480156104fb575f80fd5b5061021e61050a3660046111f4565b6109f6565b34801561051a575f80fd5b5061021e6105293660046111ce565b610a30565b348015610539575f80fd5b50610230610a4b565b6060600d805461055190611255565b80601f016020809104026020016040519081016040528092919081815260200182805461057d90611255565b80156105c85780601f1061059f576101008083540402835291602001916105c8565b820191905f5260205f20905b8154815290600101906020018083116105ab57829003601f168201915b5050505050905090565b5f336105df818585610baa565b60019150505b92915050565b6105f3610bbc565b60095460ff1661064a5760405162461bcd60e51b815260206004820152601d60248201527f4d696e74696e672069732063757272656e746c792064697361626c656400000060448201526064015b60405180910390fd5b333b63ffffffff161561069f5760405162461bcd60e51b815260206004820152601f60248201527f4552433132333a2063616e6e6f74206d696e7420746f20636f6e7472616374006044820152606401610641565b3332146106ee5760405162461bcd60e51b815260206004820181905260248201527f4552433132333a2063616e6e6f74206d696e742076696120636f6e74726163746044820152606401610641565b600454335f90815260086020526040902054106107425760405162461bcd60e51b8152602060048201526012602482015271135a5b9d081b1a5b5a5d081c995858da195960721b6044820152606401610641565b60065434146107935760405162461bcd60e51b815260206004820152601960248201527f496e636f72726563742045544820616d6f756e742073656e74000000000000006044820152606401610641565b6105dc600554106107e65760405162461bcd60e51b815260206004820152601960248201527f546f6f206d616e79206d696e74696e67207265717565737473000000000000006044820152606401610641565b6a108b2a2c280290940000006107fd303383610be4565b335f90815260086020526040812080546001929061081c9084906112a1565b92505081905550600160055f82825461083591906112a1565b909155505060055461084990601e906112c8565b5f036108585761085847610cbd565b5061086260015f55565b565b5f33610871858285610e2a565b61087c858585610be4565b506001949350505050565b61088f610ea6565b600980549115156101000261ff0019909216919091179055565b6108b1610ea6565b6108bc303383610be4565b50565b6108c7610ea6565b6108625f610ed3565b5f805f8060075f9054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610924573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094891906112f1565b50909590945092505050565b6060600e805461055190611255565b5f336105df818585610be4565b610978610ea6565b47806109bb5760405162461bcd60e51b81526020600482015260126024820152714e6f2045544820746f20776974686472617760701b6044820152606401610641565b6001546040516001600160a01b039091169082156108fc029083905f818181858888f193505050501580156109f2573d5f803e3d5ffd5b5050565b6109fe610ea6565b6001600160a01b038116610a2757604051631e4fbdf760e01b81525f6004820152602401610641565b6108bc81610ed3565b610a38610ea6565b6009805460ff1916911515919091179055565b6007545f906001600160a01b0316610a9b5760405162461bcd60e51b815260206004820152601360248201527214185a5c88191bd95cc81b9bdd08195e1a5cdd606a1b6044820152606401610641565b5f8060075f9054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610aed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1191906112f1565b50915091505f816001600160701b0316118015610b3657505f826001600160701b0316115b610b7b5760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e74206c697175696469747960501b6044820152606401610641565b5f81610b8f84670de0b6b3a764000061133d565b610b999190611366565b6001600160701b0316949350505050565b610bb78383836001610f24565b505050565b60025f5403610bde57604051633ee5aeb560e01b815260040160405180910390fd5b60025f55565b6001600160a01b038316610c0d57604051634b637e8f60e11b81525f6004820152602401610641565b6001600160a01b038216610c365760405163ec442f0560e01b81525f6004820152602401610641565b6001546001600160a01b03848116911614801590610c5d57506001600160a01b0383163014155b15610cb257600954610100900460ff16610cb25760405162461bcd60e51b8152602060048201526016602482015275151c985b9cd9995c9cc8185c9948191a5cd8589b195960521b6044820152606401610641565b610bb7838383610ff6565b6007546001600160a01b0316610d0b5760405162461bcd60e51b815260206004820152601360248201527214185a5c88191bd95cc81b9bdd08195e1a5cdd606a1b6044820152606401610641565b305f908152600a60205260408120546002549091506001600160a01b03165f80808363f305d719873088858361dead610d4742620151806112a1565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015610db2573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610dd79190611393565b6040805184815260208101849052908101829052929550909350915030907f225597b52a4856f446ebef0a7cd2dbf30dcd8d1d031ee26d60b005e314f027399060600160405180910390a2505050505050565b6001600160a01b038381165f908152600b60209081526040808320938616835292905220545f19811015610ea05781811015610e9257604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610641565b610ea084848484035f610f24565b50505050565b6001546001600160a01b031633146108625760405163118cdaa760e01b8152336004820152602401610641565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416610f4d5760405163e602df0560e01b81525f6004820152602401610641565b6001600160a01b038316610f7657604051634a1406b160e11b81525f6004820152602401610641565b6001600160a01b038085165f908152600b602090815260408083209387168352929052208290558015610ea057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610fe891815260200190565b60405180910390a350505050565b6001600160a01b0383166110205780600c5f82825461101591906112a1565b909155506110909050565b6001600160a01b0383165f908152600a6020526040902054818110156110725760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610641565b6001600160a01b0384165f908152600a602052604090209082900390555b6001600160a01b0382166110ac57600c805482900390556110ca565b6001600160a01b0382165f908152600a602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161110f91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114611167575f80fd5b919050565b5f806040838503121561117d575f80fd5b61118683611151565b946020939093013593505050565b5f805f606084860312156111a6575f80fd5b6111af84611151565b92506111bd60208501611151565b929592945050506040919091013590565b5f602082840312156111de575f80fd5b813580151581146111ed575f80fd5b9392505050565b5f60208284031215611204575f80fd5b6111ed82611151565b5f6020828403121561121d575f80fd5b5035919050565b5f8060408385031215611235575f80fd5b61123e83611151565b915061124c60208401611151565b90509250929050565b600181811c9082168061126957607f821691505b60208210810361128757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105e5576105e561128d565b634e487b7160e01b5f52601260045260245ffd5b5f826112d6576112d66112b4565b500690565b80516001600160701b0381168114611167575f80fd5b5f805f60608486031215611303575f80fd5b61130c846112db565b925061131a602085016112db565b9150604084015163ffffffff81168114611332575f80fd5b809150509250925092565b6001600160701b03818116838216029081169081811461135f5761135f61128d565b5092915050565b5f6001600160701b0383168061137e5761137e6112b4565b806001600160701b0384160491505092915050565b5f805f606084860312156113a5575f80fd5b505081516020830151604090930151909492935091905056fea2646970667358221220f58d69a754205c1c4c3e3b5496a4e7d11527e7b2755b9365de5d48d146cef3df64736f6c634300081a0033

Deployed Bytecode Sourcemap

43753:14894:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44695:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46988:190;;;;;;;;;;-1:-1:-1;46988:190:0;;;;;:::i;:::-;;:::i;:::-;;;1085:14:1;;1078:22;1060:41;;1048:2;1033:18;46988:190:0;920:187:1;55566:928:0;;;:::i;:::-;;45797:99;;;;;;;;;;-1:-1:-1;45876:12:0;;45797:99;;;1258:25:1;;;1246:2;1231:18;45797:99:0;1112:177:1;47788:249:0;;;;;;;;;;-1:-1:-1;47788:249:0;;;;;:::i;:::-;;:::i;55296:109::-;;;;;;;;;;-1:-1:-1;55296:109:0;;;;;:::i;:::-;;:::i;44225:50::-;;;;;;;;;;-1:-1:-1;44225:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;45648:84;;;;;;;;;;-1:-1:-1;45648:84:0;;45722:2;2284:36:1;;2272:2;2257:18;45648:84:0;2142:184:1;58485:122:0;;;;;;;;;;-1:-1:-1;58485:122:0;;;;;:::i;:::-;;:::i;44167:24::-;;;;;;;;;;;;;;;;45959:118;;;;;;;;;;-1:-1:-1;45959:118:0;;;;;:::i;:::-;-1:-1:-1;;;;;46051:18:0;46024:7;46051:18;;;:9;:18;;;;;;;45959:118;32238:103;;;;;;;;;;;;;:::i;44034:28::-;;;;;;;;;;-1:-1:-1;44034:28:0;;;;-1:-1:-1;;;;;44034:28:0;;;;;;-1:-1:-1;;;;;2726:32:1;;;2708:51;;2696:2;2681:18;44034:28:0;2562:203:1;57188::0;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;2962:43:1;;;2944:62;;3042:43;;;;3037:2;3022:18;;3015:71;2917:18;57188:203:0;2770:322:1;44136:24:0;;;;;;;;;;;;;;;;44069:29;;;;;;;;;;-1:-1:-1;44069:29:0;;;;-1:-1:-1;;;;;44069:29:0;;;31563:87;;;;;;;;;;-1:-1:-1;31636:6:0;;-1:-1:-1;;;;;31636:6:0;31563:87;;44905:95;;;;;;;;;;;;;:::i;44105:24::-;;;;;;;;;;;;;;;;46282:182;;;;;;;;;;-1:-1:-1;46282:182:0;;;;;:::i;:::-;;:::i;44198:20::-;;;;;;;;;;-1:-1:-1;44198:20:0;;;;-1:-1:-1;;;;;44198:20:0;;;44312:28;;;;;;;;;;-1:-1:-1;44312:28:0;;;;;;;;;;;44282:23;;;;;;;;;;-1:-1:-1;44282:23:0;;;;;;;;46527:142;;;;;;;;;;-1:-1:-1;46527:142:0;;;;;:::i;:::-;-1:-1:-1;;;;;46634:18:0;;;46607:7;46634:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;46527:142;58219:198;;;;;;;;;;;;;:::i;32496:220::-;;;;;;;;;;-1:-1:-1;32496:220:0;;;;;:::i;:::-;;:::i;55459:99::-;;;;;;;;;;-1:-1:-1;55459:99:0;;;;;:::i;:::-;;:::i;57399:559::-;;;;;;;;;;;;;:::i;44695:91::-;44740:13;44773:5;44766:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44695:91;:::o;46988:190::-;47061:4;29652:10;47117:31;29652:10;47133:7;47142:5;47117:8;:31::i;:::-;47166:4;47159:11;;;46988:190;;;;;:::o;55566:928::-;27962:21;:19;:21::i;:::-;55629:11:::1;::::0;::::1;;55621:53;;;::::0;-1:-1:-1;;;55621:53:0;;3949:2:1;55621:53:0::1;::::0;::::1;3931:21:1::0;3988:2;3968:18;;;3961:30;4027:31;4007:18;;;4000:59;4076:18;;55621:53:0::1;;;;;;;;;55706:10;58096:18:::0;58143:8;;;55685:68:::1;;;::::0;-1:-1:-1;;;55685:68:0;;4307:2:1;55685:68:0::1;::::0;::::1;4289:21:1::0;4346:2;4326:18;;;4319:30;4385:33;4365:18;;;4358:61;4436:18;;55685:68:0::1;4105:355:1::0;55685:68:0::1;55772:10;55786:9;55772:23;55764:68;;;::::0;-1:-1:-1;;;55764:68:0;;4667:2:1;55764:68:0::1;::::0;::::1;4649:21:1::0;;;4686:18;;;4679:30;4745:34;4725:18;;;4718:62;4797:18;;55764:68:0::1;4465:356:1::0;55764:68:0::1;55881:9;::::0;55867:10:::1;55851:27;::::0;;;:15:::1;:27;::::0;;;;;:39:::1;55843:70;;;::::0;-1:-1:-1;;;55843:70:0;;5028:2:1;55843:70:0::1;::::0;::::1;5010:21:1::0;5067:2;5047:18;;;5040:30;-1:-1:-1;;;5086:18:1;;;5079:48;5144:18;;55843:70:0::1;4826:342:1::0;55843:70:0::1;55945:9;;55932;:22;55924:60;;;::::0;-1:-1:-1;;;55924:60:0;;5375:2:1;55924:60:0::1;::::0;::::1;5357:21:1::0;5414:2;5394:18;;;5387:30;5453:27;5433:18;;;5426:55;5498:18;;55924:60:0::1;5173:349:1::0;55924:60:0::1;56015:4;56003:9;;:16;55995:55;;;::::0;-1:-1:-1;;;55995:55:0;;5729:2:1;55995:55:0::1;::::0;::::1;5711:21:1::0;5768:2;5748:18;;;5741:30;5807:27;5787:18;;;5780:55;5852:18;;55995:55:0::1;5527:349:1::0;55995:55:0::1;56080:21;56114:44;56132:4;56139:10;56080:21:::0;56114:9:::1;:44::i;:::-;56185:10;56169:27;::::0;;;:15:::1;:27;::::0;;;;:32;;56200:1:::1;::::0;56169:27;:32:::1;::::0;56200:1;;56169:32:::1;:::i;:::-;;;;;;;;56269:1;56256:9;;:14;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;56355:9:0::1;::::0;:14:::1;::::0;56367:2:::1;::::0;56355:14:::1;:::i;:::-;56373:1;56355:19:::0;56351:136:::1;;56391:38;56407:21;56391:15;:38::i;:::-;55610:884;28006:20:::0;27297:1;28548:7;:21;28365:212;28006:20;55566:928::o;47788:249::-;47875:4;29652:10;47933:37;47949:4;29652:10;47964:5;47933:15;:37::i;:::-;47981:26;47991:4;47997:2;48001:5;47981:9;:26::i;:::-;-1:-1:-1;48025:4:0;;47788:249;-1:-1:-1;;;;47788:249:0:o;55296:109::-;31449:13;:11;:13::i;:::-;55370:16:::1;:27:::0;;;::::1;;;;-1:-1:-1::0;;55370:27:0;;::::1;::::0;;;::::1;::::0;;55296:109::o;58485:122::-;31449:13;:11;:13::i;:::-;58555:44:::1;58573:4;58580:10;58592:6;58555:9;:44::i;:::-;58485:122:::0;:::o;32238:103::-;31449:13;:11;:13::i;:::-;32303:30:::1;32330:1;32303:18;:30::i;57188:203::-:0;57229:7;57238;57259:18;57279:20;57319:5;;;;;;;;;-1:-1:-1;;;;;57319:5:0;-1:-1:-1;;;;;57304:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;57258:81:0;;;;-1:-1:-1;57188:203:0;-1:-1:-1;;;57188:203:0:o;44905:95::-;44952:13;44985:7;44978:14;;;;;:::i;46282:182::-;46351:4;29652:10;46407:27;29652:10;46424:2;46428:5;46407:9;:27::i;58219:198::-;31449:13;:11;:13::i;:::-;58290:21:::1;58330:11:::0;58322:42:::1;;;::::0;-1:-1:-1;;;58322:42:0;;7242:2:1;58322:42:0::1;::::0;::::1;7224:21:1::0;7281:2;7261:18;;;7254:30;-1:-1:-1;;;7300:18:1;;;7293:48;7358:18;;58322:42:0::1;7040:342:1::0;58322:42:0::1;31636:6:::0;;58375:34:::1;::::0;-1:-1:-1;;;;;31636:6:0;;;;58375:34;::::1;;;::::0;58401:7;;58375:34:::1;::::0;;;58401:7;31636:6;58375:34;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;58261:156;58219:198::o:0;32496:220::-;31449:13;:11;:13::i;:::-;-1:-1:-1;;;;;32581:22:0;::::1;32577:93;;32627:31;::::0;-1:-1:-1;;;32627:31:0;;32655:1:::1;32627:31;::::0;::::1;2708:51:1::0;2681:18;;32627:31:0::1;2562:203:1::0;32577:93:0::1;32680:28;32699:8;32680:18;:28::i;55459:99::-:0;31449:13;:11;:13::i;:::-;55528:11:::1;:22:::0;;-1:-1:-1;;55528:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;55459:99::o;57399:559::-;57480:5;;57452:7;;-1:-1:-1;;;;;57480:5:0;57472:51;;;;-1:-1:-1;;;57472:51:0;;7589:2:1;57472:51:0;;;7571:21:1;7628:2;7608:18;;;7601:30;-1:-1:-1;;;7647:18:1;;;7640:49;7706:18;;57472:51:0;7387:343:1;57472:51:0;57537:18;57557:20;57597:5;;;;;;;;;-1:-1:-1;;;;;57597:5:0;-1:-1:-1;;;;;57582:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57536:81;;;;;57694:1;57679:12;-1:-1:-1;;;;;57679:16:0;;:34;;;;;57712:1;57699:10;-1:-1:-1;;;;;57699:14:0;;57679:34;57671:69;;;;-1:-1:-1;;;57671:69:0;;7937:2:1;57671:69:0;;;7919:21:1;7976:2;7956:18;;;7949:30;-1:-1:-1;;;7995:18:1;;;7988:52;8057:18;;57671:69:0;7735:346:1;57671:69:0;57851:23;57903:12;57878:21;:10;57891:8;57878:21;:::i;:::-;57877:38;;;;:::i;:::-;-1:-1:-1;;;;;57851:64:0;;57399:559;-1:-1:-1;;;;57399:559:0:o;52008:130::-;52093:37;52102:5;52109:7;52118:5;52125:4;52093:8;:37::i;:::-;52008:130;;;:::o;28042:315::-;27340:1;28171:7;;:18;28167:88;;28213:30;;-1:-1:-1;;;28213:30:0;;;;;;;;;;;28167:88;27340:1;28332:7;:17;28042:315::o;48422:481::-;-1:-1:-1;;;;;48506:18:0;;48502:88;;48548:30;;-1:-1:-1;;;48548:30:0;;48575:1;48548:30;;;2708:51:1;2681:18;;48548:30:0;2562:203:1;48502:88:0;-1:-1:-1;;;;;48604:16:0;;48600:88;;48644:32;;-1:-1:-1;;;48644:32:0;;48673:1;48644:32;;;2708:51:1;2681:18;;48644:32:0;2562:203:1;48600:88:0;31636:6;;-1:-1:-1;;;;;48701:15:0;;;31636:6;;48701:15;;;;:40;;-1:-1:-1;;;;;;48720:21:0;;48736:4;48720:21;;48701:40;48698:161;;;48762:16;;;;;;;48757:91;;48800:32;;-1:-1:-1;;;48800:32:0;;8822:2:1;48800:32:0;;;8804:21:1;8861:2;8841:18;;;8834:30;-1:-1:-1;;;8880:18:1;;;8873:52;8942:18;;48800:32:0;8620:346:1;48757:91:0;48871:24;48879:4;48885:2;48889:5;48871:7;:24::i;56502:676::-;56573:5;;-1:-1:-1;;;;;56573:5:0;56565:51;;;;-1:-1:-1;;;56565:51:0;;7589:2:1;56565:51:0;;;7571:21:1;7628:2;7608:18;;;7601:30;-1:-1:-1;;;7647:18:1;;;7640:49;7706:18;;56565:51:0;7387:343:1;56565:51:0;56667:4;56627:19;46051:18;;;:9;:18;;;;;;56733:13;;56627:46;;-1:-1:-1;;;;;;56733:13:0;56686:25;;;56733:13;56822:22;56852:9;56885:4;56627:46;56686:25;56852:9;56971:42;57050:24;:15;57068:6;57050:24;:::i;:::-;56822:263;;;;;;-1:-1:-1;;;;;;56822:263:0;;;-1:-1:-1;;;;;9284:32:1;;;56822:263:0;;;9266:51:1;9333:18;;;9326:34;;;;9376:18;;;9369:34;;;;9419:18;;;9412:34;;;;9483:32;;;9462:19;;;9455:61;9532:19;;;9525:35;;;;9238:19;;56822:263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57103:67;;;10234:25:1;;;10290:2;10275:18;;10268:34;;;10318:18;;;10311:34;;;56760:325:0;;-1:-1:-1;56760:325:0;;-1:-1:-1;56760:325:0;-1:-1:-1;57129:4:0;;57103:67;;10222:2:1;10207:18;57103:67:0;;;;;;;56554:624;;;;;56502:676;:::o;53740:486::-;-1:-1:-1;;;;;46634:18:0;;;53840:24;46634:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;53907:36:0;;53903:316;;;53983:5;53964:16;:24;53960:132;;;54016:60;;-1:-1:-1;;;54016:60:0;;-1:-1:-1;;;;;10576:32:1;;54016:60:0;;;10558:51:1;10625:18;;;10618:34;;;10668:18;;;10661:34;;;10531:18;;54016:60:0;10356:345:1;53960:132:0;54135:57;54144:5;54151:7;54179:5;54160:16;:24;54186:5;54135:8;:57::i;:::-;53829:397;53740:486;;;:::o;31728:166::-;31636:6;;-1:-1:-1;;;;;31636:6:0;29652:10;31788:23;31784:103;;31835:40;;-1:-1:-1;;;31835:40:0;;29652:10;31835:40;;;2708:51:1;2681:18;;31835:40:0;2562:203:1;32876:191:0;32969:6;;;-1:-1:-1;;;;;32986:17:0;;;-1:-1:-1;;;;;;32986:17:0;;;;;;;33019:40;;32969:6;;;32986:17;32969:6;;33019:40;;32950:16;;33019:40;32939:128;32876:191;:::o;53005:443::-;-1:-1:-1;;;;;53118:19:0;;53114:91;;53161:32;;-1:-1:-1;;;53161:32:0;;53190:1;53161:32;;;2708:51:1;2681:18;;53161:32:0;2562:203:1;53114:91:0;-1:-1:-1;;;;;53219:21:0;;53215:92;;53264:31;;-1:-1:-1;;;53264:31:0;;53292:1;53264:31;;;2708:51:1;2681:18;;53264:31:0;2562:203:1;53215:92:0;-1:-1:-1;;;;;53317:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;53363:78;;;;53414:7;-1:-1:-1;;;;;53398:31:0;53407:5;-1:-1:-1;;;;;53398:31:0;;53423:5;53398:31;;;;1258:25:1;;1246:2;1231:18;;1112:177;53398:31:0;;;;;;;;53005:443;;;;:::o;49227:1123::-;-1:-1:-1;;;;;49317:18:0;;49313:548;;49471:5;49455:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;49313:548:0;;-1:-1:-1;49313:548:0;;-1:-1:-1;;;;;49531:15:0;;49509:19;49531:15;;;:9;:15;;;;;;49565:19;;;49561:117;;;49612:50;;-1:-1:-1;;;49612:50:0;;-1:-1:-1;;;;;10576:32:1;;49612:50:0;;;10558:51:1;10625:18;;;10618:34;;;10668:18;;;10661:34;;;10531:18;;49612:50:0;10356:345:1;49561:117:0;-1:-1:-1;;;;;49797:15:0;;;;;;:9;:15;;;;;49815:19;;;;49797:37;;49313:548;-1:-1:-1;;;;;49877:16:0;;49873:427;;50039:12;:21;;;;;;;49873:427;;;-1:-1:-1;;;;;50251:13:0;;;;;;:9;:13;;;;;:22;;;;;;49873:427;50332:2;-1:-1:-1;;;;;50317:25:0;50326:4;-1:-1:-1;;;;;50317:25:0;;50336:5;50317:25;;;;1258::1;;1246:2;1231:18;;1112:177;50317:25:0;;;;;;;;49227:1123;;;:::o;14:418:1:-;163:2;152:9;145:21;126:4;195:6;189:13;238:6;233:2;222:9;218:18;211:34;297:6;292:2;284:6;280:15;275:2;264:9;260:18;254:50;353:1;348:2;339:6;328:9;324:22;320:31;313:42;423:2;416;412:7;407:2;399:6;395:15;391:29;380:9;376:45;372:54;364:62;;;14:418;;;;:::o;437:173::-;505:20;;-1:-1:-1;;;;;554:31:1;;544:42;;534:70;;600:1;597;590:12;534:70;437:173;;;:::o;615:300::-;683:6;691;744:2;732:9;723:7;719:23;715:32;712:52;;;760:1;757;750:12;712:52;783:29;802:9;783:29;:::i;:::-;773:39;881:2;866:18;;;;853:32;;-1:-1:-1;;;615:300:1:o;1294:374::-;1371:6;1379;1387;1440:2;1428:9;1419:7;1415:23;1411:32;1408:52;;;1456:1;1453;1446:12;1408:52;1479:29;1498:9;1479:29;:::i;:::-;1469:39;;1527:38;1561:2;1550:9;1546:18;1527:38;:::i;:::-;1294:374;;1517:48;;-1:-1:-1;;;1634:2:1;1619:18;;;;1606:32;;1294:374::o;1673:273::-;1729:6;1782:2;1770:9;1761:7;1757:23;1753:32;1750:52;;;1798:1;1795;1788:12;1750:52;1837:9;1824:23;1890:5;1883:13;1876:21;1869:5;1866:32;1856:60;;1912:1;1909;1902:12;1856:60;1935:5;1673:273;-1:-1:-1;;;1673:273:1:o;1951:186::-;2010:6;2063:2;2051:9;2042:7;2038:23;2034:32;2031:52;;;2079:1;2076;2069:12;2031:52;2102:29;2121:9;2102:29;:::i;2331:226::-;2390:6;2443:2;2431:9;2422:7;2418:23;2414:32;2411:52;;;2459:1;2456;2449:12;2411:52;-1:-1:-1;2504:23:1;;2331:226;-1:-1:-1;2331:226:1:o;3097:260::-;3165:6;3173;3226:2;3214:9;3205:7;3201:23;3197:32;3194:52;;;3242:1;3239;3232:12;3194:52;3265:29;3284:9;3265:29;:::i;:::-;3255:39;;3313:38;3347:2;3336:9;3332:18;3313:38;:::i;:::-;3303:48;;3097:260;;;;;:::o;3362:380::-;3441:1;3437:12;;;;3484;;;3505:61;;3559:4;3551:6;3547:17;3537:27;;3505:61;3612:2;3604:6;3601:14;3581:18;3578:38;3575:161;;3658:10;3653:3;3649:20;3646:1;3639:31;3693:4;3690:1;3683:15;3721:4;3718:1;3711:15;3575:161;;3362:380;;;:::o;5881:127::-;5942:10;5937:3;5933:20;5930:1;5923:31;5973:4;5970:1;5963:15;5997:4;5994:1;5987:15;6013:125;6078:9;;;6099:10;;;6096:36;;;6112:18;;:::i;6143:127::-;6204:10;6199:3;6195:20;6192:1;6185:31;6235:4;6232:1;6225:15;6259:4;6256:1;6249:15;6275:112;6307:1;6333;6323:35;;6338:18;;:::i;:::-;-1:-1:-1;6372:9:1;;6275:112::o;6392:188::-;6471:13;;-1:-1:-1;;;;;6513:42:1;;6503:53;;6493:81;;6570:1;6567;6560:12;6585:450;6672:6;6680;6688;6741:2;6729:9;6720:7;6716:23;6712:32;6709:52;;;6757:1;6754;6747:12;6709:52;6780:40;6810:9;6780:40;:::i;:::-;6770:50;;6839:49;6884:2;6873:9;6869:18;6839:49;:::i;:::-;6829:59;;6931:2;6920:9;6916:18;6910:25;6975:10;6968:5;6964:22;6957:5;6954:33;6944:61;;7001:1;6998;6991:12;6944:61;7024:5;7014:15;;;6585:450;;;;;:::o;8086:305::-;-1:-1:-1;;;;;8171:38:1;;;8211;;;8167:83;8270:48;;;;8337:24;;;8327:58;;8365:18;;:::i;:::-;8327:58;8086:305;;;;:::o;8396:219::-;8436:1;-1:-1:-1;;;;;8467:1:1;8463:38;8520:3;8510:37;;8527:18;;:::i;:::-;8605:3;-1:-1:-1;;;;;8569:1:1;8565:38;8561:48;8556:53;;;8396:219;;;;:::o;9571:456::-;9659:6;9667;9675;9728:2;9716:9;9707:7;9703:23;9699:32;9696:52;;;9744:1;9741;9734:12;9696:52;-1:-1:-1;;9789:16:1;;9895:2;9880:18;;9874:25;9991:2;9976:18;;;9970:25;9789:16;;9874:25;;-1:-1:-1;9970:25:1;9571:456;-1:-1:-1;9571:456:1:o

Swarm Source

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