ETH Price: $3,130.66 (-0.19%)

Token

CreamPAI (PAI)
 

Overview

Max Total Supply

69,000,000,000 PAI

Holders

180

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
11,737,867.643036505266910132 PAI

Value
$0.00
0x294dBe708e30781fb89cAB7D86be6BA16eE0f267
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
CreamPaiToken

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : CreamPaiToken.sol
/// @author https://creampai.org

/**
 *   _____                          _____        _____
 *  / ____|                        |  __ \ /\   |_   _|
 * | |     _ __ ___  __ _ _ __ ___ | |__) /  \    | |
 * | |    | '__/ _ \/ _` | '_ ` _ \|  ___/ /\ \   | |
 * | |____| | |  __/ (_| | | | | | | |  / ____ \ _| |_
 *  \_____|_|  \___|\__,_|_| |_| |_|_| /_/    \_\_____|
 *
 * CreamPAI : The world's first tokenized adult generative AI
 *
 * Website: https://creampai.org
 * Litepaper: https://creampai-org.gitbook.io/creampai/
 * Twitter: https://twitter.com/Real_CreamPAI
 * Telegram: https://t.me/CreamPAI_Portal
 * OnlyFans: https://onlyfans.com/real_creampai
 *
 * Total Supply: 69 Billion Tokens
 *
 */

// SPDX-License-Identifier: Apache
pragma solidity 0.8.18;

/// @author thirdweb

/**
 *  Thirdweb's `ContractMetadata` is a contract extension for any base contracts. It lets you set a metadata URI
 *  for you contract.
 *
 *  Additionally, `ContractMetadata` is necessary for NFT contracts that want royalties to get distributed on OpenSea.
 */

interface IContractMetadata {
    /// @dev Returns the metadata URI of the contract.
    function contractURI() external view returns (string memory);

    /**
     *  @dev Sets contract URI for the storefront-level metadata of the contract.
     *       Only module admin can call this function.
     */
    function setContractURI(string calldata _uri) external;

    /// @dev Emitted when the contract URI is updated.
    event ContractURIUpdated(string prevURI, string newURI);
}

/// @author thirdweb

/**
 *  @title   Contract Metadata
 *  @notice  Thirdweb's `ContractMetadata` is a contract extension for any base contracts. It lets you set a metadata URI
 *           for you contract.
 *           Additionally, `ContractMetadata` is necessary for NFT contracts that want royalties to get distributed on OpenSea.
 */

abstract contract ContractMetadata is IContractMetadata {
    /// @notice Returns the contract metadata URI.
    string public override contractURI;

    /**
     *  @notice         Lets a contract admin set the URI for contract-level metadata.
     *  @dev            Caller should be authorized to setup contractURI, e.g. contract admin.
     *                  See {_canSetContractURI}.
     *                  Emits {ContractURIUpdated Event}.
     *
     *  @param _uri     keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE")
     */
    function setContractURI(string memory _uri) external override {
        if (!_canSetContractURI()) {
            revert("Not authorized");
        }

        _setupContractURI(_uri);
    }

    /// @dev Lets a contract admin set the URI for contract-level metadata.
    function _setupContractURI(string memory _uri) internal {
        string memory prevURI = contractURI;
        contractURI = _uri;

        emit ContractURIUpdated(prevURI, _uri);
    }

    /// @dev Returns whether contract metadata can be set in the given execution context.
    function _canSetContractURI() internal view virtual returns (bool);
}

/// @author thirdweb

/**
 * @dev Provides a function to batch together multiple calls in a single external call.
 *
 * _Available since v4.1._
 */
interface IMulticall {
    /**
     * @dev Receives and executes a batch of function calls on this contract.
     */
    function multicall(
        bytes[] calldata data
    ) external returns (bytes[] memory results);
}

/// @author thirdweb

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/// @author thirdweb

/**
 * @dev Provides a function to batch together multiple calls in a single external call.
 *
 * _Available since v4.1._
 */
contract Multicall is IMulticall {
    /**
     *  @notice Receives and executes a batch of function calls on this contract.
     *  @dev Receives and executes a batch of function calls on this contract.
     *
     *  @param data The bytes data that makes up the batch of function calls to execute.
     *  @return results The bytes data that makes up the result of the batch of function calls executed.
     */
    function multicall(
        bytes[] calldata data
    ) external virtual override returns (bytes[] memory results) {
        results = new bytes[](data.length);
        for (uint256 i = 0; i < data.length; i++) {
            results[i] = TWAddress.functionDelegateCall(address(this), data[i]);
        }
        return results;
    }
}

/// @author thirdweb

/**
 *  Thirdweb's `Ownable` is a contract extension to be used with any base contract. It exposes functions for setting and reading
 *  who the 'owner' of the inheriting smart contract is, and lets the inheriting contract perform conditional logic that uses
 *  information about who the contract's owner is.
 */

interface IOwnable {
    /// @dev Returns the owner of the contract.
    function owner() external view returns (address);

    /// @dev Lets a module admin set a new owner for the contract. The new owner must be a module admin.
    function setOwner(address _newOwner) external;

    /// @dev Emitted when a new Owner is set.
    event OwnerUpdated(address indexed prevOwner, address indexed newOwner);
}

/// @author thirdweb

/**
 *  @title   Ownable
 *  @notice  Thirdweb's `Ownable` is a contract extension to be used with any base contract. It exposes functions for setting and reading
 *           who the 'owner' of the inheriting smart contract is, and lets the inheriting contract perform conditional logic that uses
 *           information about who the contract's owner is.
 */

abstract contract Ownable is IOwnable {
    /// @dev Owner of the contract (purpose: OpenSea compatibility)
    address private _owner;

    /// @dev Reverts if caller is not the owner.
    modifier onlyOwner() {
        if (msg.sender != _owner) {
            revert("Not authorized");
        }
        _;
    }

    /**
     *  @notice Returns the owner of the contract.
     */
    function owner() public view override returns (address) {
        return _owner;
    }

    /**
     *  @notice Lets an authorized wallet set a new owner for the contract.
     *  @param _newOwner The address to set as the new owner of the contract.
     */
    function setOwner(address _newOwner) external override {
        if (!_canSetOwner()) {
            revert("Not authorized");
        }
        _setupOwner(_newOwner);
    }

    /// @dev Lets a contract admin set a new owner for the contract. The new owner must be a contract admin.
    function _setupOwner(address _newOwner) internal {
        address _prevOwner = _owner;
        _owner = _newOwner;

        emit OwnerUpdated(_prevOwner, _newOwner);
    }

    /// @dev Returns whether owner can be set in the given execution context.
    function _canSetOwner() internal view virtual returns (bool);
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
    function totalSupply() external view returns (uint256);

    function balanceOf(address who) external view returns (uint256);

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

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

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

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

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

/**
 * @title ERC20Metadata interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20Metadata {
    function name() external view returns (string memory);

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

    function decimals() external view returns (uint8);
}

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

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

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

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 value {ERC20} uses, unless this function is
     * 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 override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(
        address account
    ) public view virtual override 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 `amount`.
     */
    function transfer(
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` 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 amount
    ) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * 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 `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(
        address spender,
        uint256 addedValue
    ) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(
        address spender,
        uint256 subtractedValue
    ) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(
            currentAllowance >= subtractedValue,
            "ERC20: decreased allowance below zero"
        );
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(
            fromBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` 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.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(
                currentAllowance >= amount,
                "ERC20: insufficient allowance"
            );
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

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

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

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

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

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

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

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

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

/// @author thirdweb

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(
            typeHash,
            hashedName,
            hashedVersion
        );
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (
            address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID
        ) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return
                _buildDomainSeparator(
                    _TYPE_HASH,
                    _HASHED_NAME,
                    _HASHED_VERSION
                );
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return
            keccak256(
                abi.encode(
                    typeHash,
                    nameHash,
                    versionHash,
                    block.chainid,
                    address(this)
                )
            );
    }

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

/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit {
    using Counters for Counters.Counter;

    mapping(address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;

    // solhint-disable-next-line var-name-mixedcase
    uint256 private immutable _CACHED_CHAIN_ID;

    // solhint-disable-next-line var-name-mixedcase
    address private immutable _CACHED_THIS;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _PERMIT_TYPEHASH =
        keccak256(
            "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"
        );

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(
        string memory name_,
        string memory symbol_
    ) ERC20(name_, symbol_) {
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_THIS = address(this);
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator();
    }

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

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

        bytes32 hash = ECDSA.toTypedDataHash(DOMAIN_SEPARATOR(), structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(
        address owner
    ) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() public view override returns (bytes32) {
        if (
            address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID
        ) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator();
        }
    }

    function _buildDomainSeparator() private view returns (bytes32) {
        return
            keccak256(
                abi.encode(
                    keccak256(
                        "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
                    ),
                    keccak256(bytes(name())),
                    keccak256("1"),
                    block.chainid,
                    address(this)
                )
            );
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     *
     * _Available since v4.1._
     */
    function _useNonce(
        address owner
    ) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}

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

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);

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

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountToken, uint amountETH);

    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactETHForTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);

    function swapTokensForExactETH(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactTokensForETH(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapETHForExactTokens(
        uint amountOut,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);

    function quote(
        uint amountA,
        uint reserveA,
        uint reserveB
    ) external pure returns (uint amountB);

    function getAmountOut(
        uint amountIn,
        uint reserveIn,
        uint reserveOut
    ) external pure returns (uint amountOut);

    function getAmountIn(
        uint amountOut,
        uint reserveIn,
        uint reserveOut
    ) external pure returns (uint amountIn);

    function getAmountsOut(
        uint amountIn,
        address[] calldata path
    ) external view returns (uint[] memory amounts);

    function getAmountsIn(
        uint amountOut,
        address[] calldata path
    ) external view returns (uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);

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

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

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

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

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

    function allPairs(uint) external view returns (address pair);

    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

/**
 *  The `ERC20Base` smart contract implements the ERC20 standard.
 *  It includes the following additions to standard ERC20 logic:
 *
 *      - Ability to mint & burn tokens via the provided `mint` & `burn` functions.
 *
 *      - Ownership of the contract, with the ability to restrict certain functions to
 *        only be called by the contract's owner.
 *
 *      - Multicall capability to perform multiple actions atomically
 *
 *      - EIP 2612 compliance: See {ERC20-permit} method, which can be used to change an account's ERC20 allowance by
 *                             presenting a message signed by the account.
 */

contract ERC20Base is ContractMetadata, Multicall, Ownable, ERC20Permit {
    /*//////////////////////////////////////////////////////////////
                            Constructor
    //////////////////////////////////////////////////////////////*/

    constructor(
        string memory _name,
        string memory _symbol
    ) ERC20Permit(_name, _symbol) {
        _setupOwner(msg.sender);
    }

    /**
     *  @notice          Lets an owner a given amount of their tokens.
     *  @dev             Caller should own the `_amount` of tokens.
     *
     *  @param _amount   The number of tokens to burn.
     */
    function burn(uint256 _amount) external virtual {
        require(balanceOf(msg.sender) >= _amount, "not enough balance");
        _burn(msg.sender, _amount);
    }

    /*//////////////////////////////////////////////////////////////
                        Internal (overrideable) functions
    //////////////////////////////////////////////////////////////*/

    /// @dev Returns whether contract metadata can be set in the given execution context.
    function _canSetContractURI()
        internal
        view
        virtual
        override
        returns (bool)
    {
        return msg.sender == owner();
    }

    /// @dev Returns whether owner can be set in the given execution context.
    function _canSetOwner() internal view virtual override returns (bool) {
        return msg.sender == owner();
    }
}

/**
 *   _____                          _____        _____
 *  / ____|                        |  __ \ /\   |_   _|
 * | |     _ __ ___  __ _ _ __ ___ | |__) /  \    | |
 * | |    | '__/ _ \/ _` | '_ ` _ \|  ___/ /\ \   | |
 * | |____| | |  __/ (_| | | | | | | |  / ____ \ _| |_
 *  \_____|_|  \___|\__,_|_| |_| |_|_| /_/    \_\_____|
 *
 * CreamPAI : The world's first tokenized adult generative AI
 *
 * Website: https://creampai.org
 * Litepaper: https://creampai-org.gitbook.io/creampai/
 * Twitter: https://twitter.com/Real_CreamPAI
 * Telegram: https://t.me/CreamPAI_Portal
 * OnlyFans: https://onlyfans.com/real_creampai
 *
 * Total Supply: 69 Billion Tokens
 *
 */
contract CreamPaiToken is ERC20Base {
    string private _name = "CreamPAI";
    string private _symbol = "PAI";
    uint8 private _decimals = 18;
    uint256 private _supply = 69000000000;
    uint256 public taxForLiquidity = 47;
    uint256 public sellTaxForMarketing = 47;
    uint256 public buyTaxForMarketing = 47;
    uint256 public maxTxAmount = 690000000 * 10 ** _decimals;
    uint256 public maxWalletAmount = 690000000 * 10 ** _decimals;
    address public marketingWallet = 0x0cEEC52fC337F8b071621bf6d1de5B6302D2b125;
    address public DEAD = 0x000000000000000000000000000000000000dEaD;
    uint256 public _marketingReserves = 0;
    mapping(address => bool) public _isExcludedFromFee;
    uint256 public numTokensSellToAddToLiquidity = 69000000 * 10 ** _decimals;
    uint256 public numTokensSellToAddToETH = 128000000 * 10 ** _decimals;
    event ExcludedFromFeeUpdated(address _address, bool _status);
    event PairUpdated(address _address);

    mapping(address => bool) public whitelisted;
    bool public publicTradingActive = false;
    event SetWhitelisted(address _address, bool _isExempt);
    event PublicTradingStarted();

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public uniswapV2Pair;

    bool inSwapAndLiquify;

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    modifier lockTheSwap() {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor() ERC20Base(_name, _symbol) {
        _mint(msg.sender, (_supply * 10 ** _decimals));

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;

        _isExcludedFromFee[address(uniswapV2Router)] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[msg.sender] = true;
        _isExcludedFromFee[marketingWallet] = true;

        whitelisted[msg.sender] = true;
        whitelisted[address(this)] = true;
    }

    function updatePair(address _pair) external onlyOwner {
        require(_pair != DEAD, "LP Pair cannot be the Dead wallet, or 0!");
        require(
            _pair != address(0),
            "LP Pair cannot be the Dead wallet, or 0!"
        );
        uniswapV2Pair = _pair;
        emit PairUpdated(_pair);
    }

    function setWhitelisted(
        address _address,
        bool _isWhitelisted
    ) external onlyOwner {
        require(_address != address(0), "Zero Address");
        whitelisted[_address] = _isWhitelisted;
        emit SetWhitelisted(_address, _isWhitelisted);
    }

    function claimTax(uint256 _amount) external onlyOwner {
        if ((_marketingReserves) >= _amount) {
            _swapTokensForEth(_amount);
            _marketingReserves -= _amount;
            bool sent = payable(marketingWallet).send(address(this).balance);
            require(sent, "Failed to send ETH");
        }
    }

    function addToLiquidity(uint256 _amount) external onlyOwner {
        uint256 contractLiquidityBalance = balanceOf(address(this)) -
            _marketingReserves;
        if (contractLiquidityBalance >= _amount) {
            _swapAndLiquify(_amount);
        }
    }

    function liquidityReserves() external view returns (uint256) {
        uint256 contractLiquidityBalance = balanceOf(address(this)) -
                    _marketingReserves;
        return contractLiquidityBalance;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(
            balanceOf(from) >= amount,
            "ERC20: transfer amount exceeds balance"
        );

        if (whitelisted[from] || whitelisted[to]) {
            super._transfer(from, to, amount);
            return;
        }

        require(publicTradingActive, "Trading not active");

        if (
            (from == uniswapV2Pair || to == uniswapV2Pair) && !inSwapAndLiquify
        ) {
            if (from != uniswapV2Pair) {
                uint256 contractLiquidityBalance = balanceOf(address(this)) -
                    _marketingReserves;
                if (contractLiquidityBalance >= numTokensSellToAddToLiquidity) {
                    _swapAndLiquify(numTokensSellToAddToLiquidity);
                }
                if ((_marketingReserves) >= numTokensSellToAddToETH) {
                    _swapTokensForEth(numTokensSellToAddToETH);
                    _marketingReserves -= numTokensSellToAddToETH;
                    bool sent = payable(marketingWallet).send(
                        address(this).balance
                    );
                    require(sent, "Failed to send ETH");
                }
            }

            uint256 transferAmount;
            if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
                transferAmount = amount;
            } else {
                require(
                    amount <= maxTxAmount,
                    "ERC20: transfer amount exceeds the max transaction amount"
                );
                if (from == uniswapV2Pair) {
                    require(
                        (amount + balanceOf(to)) <= maxWalletAmount,
                        "ERC20: balance amount exceeded max wallet amount limit"
                    );
                }
                uint256 taxForMarketing = 0;

                // token purchase
                if (from == uniswapV2Pair) {
                    taxForMarketing = buyTaxForMarketing;
                }
                // token sale
                else if (to == uniswapV2Pair) {
                    taxForMarketing = sellTaxForMarketing;
                }

                uint256 marketingShare = ((amount * taxForMarketing) / 100);
                uint256 liquidityShare = ((amount * taxForLiquidity) / 100);
                transferAmount = amount - (marketingShare + liquidityShare);
                _marketingReserves += marketingShare;

                super._transfer(
                    from,
                    address(this),
                    (marketingShare + liquidityShare)
                );
            }
            super._transfer(from, to, transferAmount);
        } else {
            super._transfer(from, to, amount);
        }
    }

    function enablePublicTrading() external onlyOwner {
        publicTradingActive = true;
        emit PublicTradingStarted();
    }

    function excludeFromFee(address _address, bool _status) external onlyOwner {
        _isExcludedFromFee[_address] = _status;
        emit ExcludedFromFeeUpdated(_address, _status);
    }

    function _swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        uint256 half = (contractTokenBalance / 2);
        uint256 otherHalf = (contractTokenBalance - half);

        uint256 initialBalance = address(this).balance;

        _swapTokensForEth(half);

        uint256 newBalance = (address(this).balance - initialBalance);

        _addLiquidity(otherHalf, newBalance);

        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

    function _swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function _addLiquidity(
        uint256 tokenAmount,
        uint256 ethAmount
    ) private lockTheSwap {
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0,
            0,
            marketingWallet,
            block.timestamp
        );
    }

    function changeMarketingWallet(
        address newWallet
    ) public onlyOwner returns (bool) {
        require(newWallet != DEAD, "LP Pair cannot be the Dead wallet, or 0!");
        require(
            newWallet != address(0),
            "LP Pair cannot be the Dead wallet, or 0!"
        );
        marketingWallet = newWallet;
        return true;
    }

    function changeTaxForLiquidityAndMarketing(
        uint256 _taxForLiquidity,
        uint256 _buyTaxForMarketing,
        uint256 _sellTaxForMarketing
    ) public onlyOwner returns (bool) {
        require(
            (_taxForLiquidity + _buyTaxForMarketing) <= 10,
            "ERC20: total tax must not be greater than 10%"
        );
        require(
            (_taxForLiquidity + _sellTaxForMarketing) <= 10,
            "ERC20: total tax must not be greater than 10%"
        );
        taxForLiquidity = _taxForLiquidity;
        buyTaxForMarketing = _buyTaxForMarketing;
        sellTaxForMarketing = _sellTaxForMarketing;

        return true;
    }

    function changeSwapThresholds(
        uint256 _numTokensSellToAddToLiquidity,
        uint256 _numTokensSellToAddToETH
    ) public onlyOwner returns (bool) {
        require(
            _numTokensSellToAddToLiquidity < _supply / 98,
            "Cannot liquidate more than 2% of the supply at once!"
        );
        require(
            _numTokensSellToAddToETH < _supply / 98,
            "Cannot liquidate more than 2% of the supply at once!"
        );
        numTokensSellToAddToLiquidity =
            _numTokensSellToAddToLiquidity *
            10 ** _decimals;
        numTokensSellToAddToETH = _numTokensSellToAddToETH * 10 ** _decimals;

        return true;
    }

    function changeMaxTxAmount(
        uint256 _maxTxAmount
    ) public onlyOwner returns (bool) {
        maxTxAmount = _maxTxAmount;

        return true;
    }

    function changeMaxWalletAmount(
        uint256 _maxWalletAmount
    ) public onlyOwner returns (bool) {
        maxWalletAmount = _maxWalletAmount;

        return true;
    }

    receive() external payable {}
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"prevURI","type":"string"},{"indexed":false,"internalType":"string","name":"newURI","type":"string"}],"name":"ContractURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"ExcludedFromFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"prevOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"}],"name":"PairUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"PublicTradingStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"SetWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","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":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addToLiquidity","outputs":[],"stateMutability":"nonpayable","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyTaxForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"changeMarketingWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"changeMaxTxAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletAmount","type":"uint256"}],"name":"changeMaxWalletAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numTokensSellToAddToLiquidity","type":"uint256"},{"internalType":"uint256","name":"_numTokensSellToAddToETH","type":"uint256"}],"name":"changeSwapThresholds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxForLiquidity","type":"uint256"},{"internalType":"uint256","name":"_buyTaxForMarketing","type":"uint256"},{"internalType":"uint256","name":"_sellTaxForMarketing","type":"uint256"}],"name":"changeTaxForLiquidityAndMarketing","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"claimTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enablePublicTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidityReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicTradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTaxForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isWhitelisted","type":"bool"}],"name":"setWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","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":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"updatePair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c960e052610160604052600861012081815267437265616d50414960c01b610140526200004d90826200084b565b5060408051808201909152600381526250414960e81b60208201526009906200007790826200084b565b50600a805460ff191660129081178255641010b87200600b55602f600c819055600d819055600e55620000aa9162000a2c565b620000ba90632920908062000a44565b600f55600a8054620000d29160ff9091169062000a2c565b620000e290632920908062000a44565b601055601180546001600160a01b0319908116730ceec52fc337f8b071621bf6d1de5b6302d2b125179091556012805490911661dead1790556000601355600a8054620001359160ff9091169062000a2c565b620001459063041cdb4062000a44565b601555600a80546200015d9160ff9091169062000a2c565b6200016d906307a1200062000a44565b6016556018805460ff191690553480156200018757600080fd5b50600880546200019790620007bd565b80601f0160208091040260200160405190810160405280929190818152602001828054620001c590620007bd565b8015620002165780601f10620001ea5761010080835404028352916020019162000216565b820191906000526020600020905b815481529060010190602001808311620001f857829003601f168201915b5050505050600980546200022a90620007bd565b80601f01602080910402602001604051908101604052809291908181526020018280546200025890620007bd565b8015620002a95780601f106200027d57610100808354040283529160200191620002a9565b820191906000526020600020905b8154815290600101906020018083116200028b57829003601f168201915b5050505050818181818160059081620002c391906200084b565b506006620002d282826200084b565b50504660a052503060c052620002e762000537565b60805250620002f8905033620005ce565b5050600a80546200032b913391620003169160ff9091169062000a2c565b600b5462000325919062000a44565b62000620565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000383573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a9919062000a5e565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200041d919062000a5e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200046b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000491919062000a5e565b60188054610100600160a81b0319166101006001600160a01b03938416810291909117909155918116918290526000918252601460209081526040808420805460ff1990811660019081179092553080875283872080548316841790553380885284882080548416851790556011549096168752838720805483168417905594865260179093528185208054841682179055928452909220805490921617905562000a9f565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6200056462000708565b80516020918201206040805192830193909352918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a35050565b6001600160a01b0382166200067b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600460008282546200068f919062000a89565b90915550506001600160a01b03821660009081526002602052604081208054839290620006be90849062000a89565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6060600580546200071990620007bd565b80601f01602080910402602001604051908101604052809291908181526020018280546200074790620007bd565b8015620007985780601f106200076c5761010080835404028352916020019162000798565b820191906000526020600020905b8154815290600101906020018083116200077a57829003601f168201915b5050505050905090565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620007d257607f821691505b602082108103620007f357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007a257600081815260208120601f850160051c81016020861015620008225750805b601f850160051c820191505b8181101562000843578281556001016200082e565b505050505050565b81516001600160401b03811115620008675762000867620007a7565b6200087f81620008788454620007bd565b84620007f9565b602080601f831160018114620008b757600084156200089e5750858301515b600019600386901b1c1916600185901b17855562000843565b600085815260208120601f198616915b82811015620008e857888601518255948401946001909101908401620008c7565b5085821015620009075787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200096e57816000190482111562000952576200095262000917565b808516156200096057918102915b93841c939080029062000932565b509250929050565b600082620009875750600162000a26565b81620009965750600062000a26565b8160018114620009af5760028114620009ba57620009da565b600191505062000a26565b60ff841115620009ce57620009ce62000917565b50506001821b62000a26565b5060208310610133831016604e8410600b8410161715620009ff575081810a62000a26565b62000a0b83836200092d565b806000190482111562000a225762000a2262000917565b0290505b92915050565b600062000a3d60ff84168362000976565b9392505050565b808202811582820484141762000a265762000a2662000917565b60006020828403121562000a7157600080fd5b81516001600160a01b038116811462000a3d57600080fd5b8082018082111562000a265762000a2662000917565b60805160a05160c05160e051610100516131da62000b076000396000818161037f01528181611c5901528181611d1201528181611d4e015281816123a801526124100152600061127101526000610c9d01526000610cc701526000610cf101526131da6000f3fe60806040526004361061028c5760003560e01c806381bfdcca1161015a578063bb85c6d1116100c1578063d936547e1161007a578063d936547e146107af578063dd62ed3e146107df578063df8408fe14610825578063e8a3d48514610845578063f345bd851461085a578063fcfee5e21461087057600080fd5b8063bb85c6d11461070e578063c0fdea571461072e578063cec1b34414610744578063d12a768814610759578063d3737d0c1461076f578063d505accf1461078f57600080fd5b806395d89b411161011357806395d89b4114610660578063a457c2d714610675578063a9059cbb14610695578063aa4bde28146106b5578063ac9650d8146106cb578063ad16a0cf146106f857600080fd5b806381bfdcca146105b257806386c97864146105d25780638c0b5e22146105ec5780638da5cb5b146106025780639281aa0b14610620578063938e3d7b1461064057600080fd5b806330b63d80116101fe57806349bd5a5e116101b757806349bd5a5e146104dd578063677daa571461050257806370a082311461052257806375f0a87414610542578063768dc710146105625780637ecebe001461059257600080fd5b806330b63d801461042c578063313ce5671461044c578063359dd7a7146104685780633644e51514610488578063395093511461049d57806342966c68146104bd57600080fd5b80631694505e116102505780631694505e1461036d57806318160ddd146103a15780631b56bbf9146103b65780631e0b376e146103d657806323b872dd146103ec5780632dac768d1461040c57600080fd5b8063029e83991461029857806303fd2a45146102c157806306fdde03146102f9578063095ea7b31461031b57806313af40351461034b57600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ae600d5481565b6040519081526020015b60405180910390f35b3480156102cd57600080fd5b506012546102e1906001600160a01b031681565b6040516001600160a01b0390911681526020016102b8565b34801561030557600080fd5b5061030e610885565b6040516102b891906127c1565b34801561032757600080fd5b5061033b6103363660046127e9565b610917565b60405190151581526020016102b8565b34801561035757600080fd5b5061036b610366366004612815565b610931565b005b34801561037957600080fd5b506102e17f000000000000000000000000000000000000000000000000000000000000000081565b3480156103ad57600080fd5b506004546102ae565b3480156103c257600080fd5b5061036b6103d1366004612815565b61096a565b3480156103e257600080fd5b506102ae600e5481565b3480156103f857600080fd5b5061033b610407366004612832565b610a44565b34801561041857600080fd5b5061033b610427366004612873565b610a6a565b34801561043857600080fd5b5061033b61044736600461289f565b610afd565b34801561045857600080fd5b50604051601281526020016102b8565b34801561047457600080fd5b5061036b6104833660046128c1565b610bcd565b34801561049457600080fd5b506102ae610c90565b3480156104a957600080fd5b5061033b6104b83660046127e9565b610d20565b3480156104c957600080fd5b5061036b6104d83660046128c1565b610d5f565b3480156104e957600080fd5b506018546102e19061010090046001600160a01b031681565b34801561050e57600080fd5b5061033b61051d3660046128c1565b610db6565b34801561052e57600080fd5b506102ae61053d366004612815565b610dec565b34801561054e57600080fd5b506011546102e1906001600160a01b031681565b34801561056e57600080fd5b5061033b61057d366004612815565b60146020526000908152604090205460ff1681565b34801561059e57600080fd5b506102ae6105ad366004612815565b610e07565b3480156105be57600080fd5b5061033b6105cd3660046128c1565b610e25565b3480156105de57600080fd5b5060185461033b9060ff1681565b3480156105f857600080fd5b506102ae600f5481565b34801561060e57600080fd5b506001546001600160a01b03166102e1565b34801561062c57600080fd5b5061036b61063b3660046128da565b610e5b565b34801561064c57600080fd5b5061036b61065b36600461292e565b610f2e565b34801561066c57600080fd5b5061030e610f5b565b34801561068157600080fd5b5061033b6106903660046127e9565b610f6a565b3480156106a157600080fd5b5061033b6106b03660046127e9565b611007565b3480156106c157600080fd5b506102ae60105481565b3480156106d757600080fd5b506106eb6106e63660046129df565b611015565b6040516102b89190612a54565b34801561070457600080fd5b506102ae60165481565b34801561071a57600080fd5b5061033b610729366004612815565b61110a565b34801561073a57600080fd5b506102ae60135481565b34801561075057600080fd5b506102ae6111b0565b34801561076557600080fd5b506102ae60155481565b34801561077b57600080fd5b5061036b61078a3660046128c1565b6111c9565b34801561079b57600080fd5b5061036b6107aa366004612ab6565b61121d565b3480156107bb57600080fd5b5061033b6107ca366004612815565b60176020526000908152604090205460ff1681565b3480156107eb57600080fd5b506102ae6107fa366004612b2d565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561083157600080fd5b5061036b6108403660046128da565b6113c4565b34801561085157600080fd5b5061030e61144a565b34801561086657600080fd5b506102ae600c5481565b34801561087c57600080fd5b5061036b6114d8565b60606005805461089490612b5b565b80601f01602080910402602001604051908101604052809291908181526020018280546108c090612b5b565b801561090d5780601f106108e25761010080835404028352916020019161090d565b820191906000526020600020905b8154815290600101906020018083116108f057829003601f168201915b5050505050905090565b60003361092581858561153a565b60019150505b92915050565b61093961165e565b61095e5760405162461bcd60e51b815260040161095590612b8f565b60405180910390fd5b6109678161168b565b50565b6001546001600160a01b031633146109945760405162461bcd60e51b815260040161095590612b8f565b6012546001600160a01b03908116908216036109c25760405162461bcd60e51b815260040161095590612bb7565b6001600160a01b0381166109e85760405162461bcd60e51b815260040161095590612bb7565b60188054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f1d288f7aba265e8b154b112bbb631ceca5df5fe93a750b2fe042fd1cc826647f9060200160405180910390a150565b600033610a528582856116dd565b610a5d85858561176f565b60019150505b9392505050565b6001546000906001600160a01b03163314610a975760405162461bcd60e51b815260040161095590612b8f565b600a610aa38486612c15565b1115610ac15760405162461bcd60e51b815260040161095590612c28565b600a610acd8386612c15565b1115610aeb5760405162461bcd60e51b815260040161095590612c28565b50600c92909255600e55600d55600190565b6001546000906001600160a01b03163314610b2a5760405162461bcd60e51b815260040161095590612b8f565b6062600b54610b399190612c75565b8310610b575760405162461bcd60e51b815260040161095590612c97565b6062600b54610b669190612c75565b8210610b845760405162461bcd60e51b815260040161095590612c97565b600a8054610b979160ff90911690612dcf565b610ba19084612dde565b601555600a8054610bb79160ff90911690612dcf565b610bc19083612dde565b60165550600192915050565b6001546001600160a01b03163314610bf75760405162461bcd60e51b815260040161095590612b8f565b806013541061096757610c0981611bef565b8060136000828254610c1b9190612df5565b90915550506011546040516000916001600160a01b0316904780156108fc029184818181858888f19350505050905080610c8c5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b6044820152606401610955565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610ce957507f000000000000000000000000000000000000000000000000000000000000000046145b15610d1357507f000000000000000000000000000000000000000000000000000000000000000090565b610d1b611dcf565b905090565b3360008181526003602090815260408083206001600160a01b03871684529091528120549091906109259082908690610d5a908790612c15565b61153a565b80610d6933610dec565b1015610dac5760405162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f7567682062616c616e636560701b6044820152606401610955565b6109673382611e64565b6001546000906001600160a01b03163314610de35760405162461bcd60e51b815260040161095590612b8f565b50600f55600190565b6001600160a01b031660009081526002602052604090205490565b6001600160a01b03811660009081526007602052604081205461092b565b6001546000906001600160a01b03163314610e525760405162461bcd60e51b815260040161095590612b8f565b50601055600190565b6001546001600160a01b03163314610e855760405162461bcd60e51b815260040161095590612b8f565b6001600160a01b038216610eca5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610955565b6001600160a01b038216600081815260176020908152604091829020805460ff19168515159081179091558251938452908301527f26742d25b283cf51a0e3c4183d934871ed96d1bd33cf40706f87a94f29f686ac91015b60405180910390a15050565b610f3661165e565b610f525760405162461bcd60e51b815260040161095590612b8f565b61096781611fb2565b60606006805461089490612b5b565b3360008181526003602090815260408083206001600160a01b038716845290915281205490919083811015610fef5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610955565b610ffc828686840361153a565b506001949350505050565b60003361092581858561176f565b60608167ffffffffffffffff81111561103057611030612918565b60405190808252806020026020018201604052801561106357816020015b606081526020019060019003908161104e5790505b50905060005b82811015611103576110d33085858481811061108757611087612e08565b90506020028101906110999190612e1e565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061208192505050565b8282815181106110e5576110e5612e08565b602002602001018190525080806110fb90612e6c565b915050611069565b5092915050565b6001546000906001600160a01b031633146111375760405162461bcd60e51b815260040161095590612b8f565b6012546001600160a01b03908116908316036111655760405162461bcd60e51b815260040161095590612bb7565b6001600160a01b03821661118b5760405162461bcd60e51b815260040161095590612bb7565b50601180546001600160a01b0383166001600160a01b03199091161790556001919050565b6000806013546111bf30610dec565b61092b9190612df5565b6001546001600160a01b031633146111f35760405162461bcd60e51b815260040161095590612b8f565b600060135461120130610dec565b61120b9190612df5565b9050818110610c8c57610c8c826120a6565b8342111561126d5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610955565b60007f000000000000000000000000000000000000000000000000000000000000000088888861129c8c61214d565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061133a6112f9610c90565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b9050600061134a82878787612175565b9050896001600160a01b0316816001600160a01b0316146113ad5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610955565b6113b88a8a8a61153a565b50505050505050505050565b6001546001600160a01b031633146113ee5760405162461bcd60e51b815260040161095590612b8f565b6001600160a01b038216600081815260146020908152604091829020805460ff19168515159081179091558251938452908301527f318c131114339c004fff0a22fcdbbc0566bb2a7cd3aa1660e636ec5a66784ff29101610f22565b6000805461145790612b5b565b80601f016020809104026020016040519081016040528092919081815260200182805461148390612b5b565b80156114d05780601f106114a5576101008083540402835291602001916114d0565b820191906000526020600020905b8154815290600101906020018083116114b357829003601f168201915b505050505081565b6001546001600160a01b031633146115025760405162461bcd60e51b815260040161095590612b8f565b6018805460ff191660011790556040517f9e79ff535c96e359ecd1bd70ecc07d8cbf84bcb04f5284237cf9085125f749a990600090a1565b6001600160a01b03831661159c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610955565b6001600160a01b0382166115fd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610955565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006116726001546001600160a01b031690565b6001600160a01b0316336001600160a01b031614905090565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a35050565b6001600160a01b038381166000908152600360209081526040808320938616835292905220546000198114611769578181101561175c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610955565b611769848484840361153a565b50505050565b6001600160a01b0383166117955760405162461bcd60e51b815260040161095590612e85565b6001600160a01b0382166117bb5760405162461bcd60e51b815260040161095590612eca565b806117c584610dec565b10156117e35760405162461bcd60e51b815260040161095590612f0d565b6001600160a01b03831660009081526017602052604090205460ff168061182257506001600160a01b03821660009081526017602052604090205460ff165b156118375761183283838361219d565b505050565b60185460ff1661187e5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610955565b6018546001600160a01b038481166101009092041614806118b157506018546001600160a01b0383811661010090920416145b80156118c75750601854600160a81b900460ff16155b15611be4576018546001600160a01b0384811661010090920416146119b35760006013546118f430610dec565b6118fe9190612df5565b90506015548110611914576119146015546120a6565b601654601354106119b15761192a601654611bef565b6016546013600082825461193e9190612df5565b90915550506011546040516000916001600160a01b0316904780156108fc029184818181858888f193505050509050806119af5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b6044820152606401610955565b505b505b6001600160a01b03831660009081526014602052604081205460ff16806119f257506001600160a01b03831660009081526014602052604090205460ff165b156119fe575080611bd9565b600f54821115611a765760405162461bcd60e51b815260206004820152603960248201527f45524332303a207472616e7366657220616d6f756e742065786365656473207460448201527f6865206d6178207472616e73616374696f6e20616d6f756e74000000000000006064820152608401610955565b6018546001600160a01b03610100909104811690851603611b1457601054611a9d84610dec565b611aa79084612c15565b1115611b145760405162461bcd60e51b815260206004820152603660248201527f45524332303a2062616c616e636520616d6f756e74206578636565646564206d604482015275185e081dd85b1b195d08185b5bdd5b9d081b1a5b5a5d60521b6064820152608401610955565b6018546000906001600160a01b03610100909104811690861603611b3b5750600e54611b5b565b6018546001600160a01b03610100909104811690851603611b5b5750600d545b60006064611b698386612dde565b611b739190612c75565b905060006064600c5486611b879190612dde565b611b919190612c75565b9050611b9d8183612c15565b611ba79086612df5565b93508160136000828254611bbb9190612c15565b90915550611bd590508730611bd08486612c15565b61219d565b5050505b61176984848361219d565b61183283838361219d565b6018805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611c3757611c37612e08565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd99190612f53565b81600181518110611cec57611cec612e08565b60200260200101906001600160a01b031690816001600160a01b031681525050611d37307f00000000000000000000000000000000000000000000000000000000000000008461153a565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611d8c908590600090869030904290600401612f70565b600060405180830381600087803b158015611da657600080fd5b505af1158015611dba573d6000803e3d6000fd5b50506018805460ff60a81b1916905550505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611dfa610885565b80516020918201206040805192830193909352918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6001600160a01b038216611ec45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610955565b6001600160a01b03821660009081526002602052604090205481811015611f385760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610955565b6001600160a01b0383166000908152600260205260408120838303905560048054849290611f67908490612df5565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6000808054611fc090612b5b565b80601f0160208091040260200160405190810160405280929190818152602001828054611fec90612b5b565b80156120395780601f1061200e57610100808354040283529160200191612039565b820191906000526020600020905b81548152906001019060200180831161201c57829003601f168201915b50505050509050816000908161204f919061302f565b507fc9c7c3fe08b88b4df9d4d47ef47d2c43d55c025a0ba88ca442580ed9e7348a168183604051610f229291906130ef565b6060610a63838360405180606001604052806027815260200161317e602791396122b2565b6018805460ff60a81b1916600160a81b17905560006120c6600283612c75565b905060006120d48284612df5565b9050476120e083611bef565b60006120ec8247612df5565b90506120f8838261238f565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506018805460ff60a81b19169055505050565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b600080600061218687878787612495565b9150915061219381612582565b5095945050505050565b6001600160a01b0383166121c35760405162461bcd60e51b815260040161095590612e85565b6001600160a01b0382166121e95760405162461bcd60e51b815260040161095590612eca565b6001600160a01b038316600090815260026020526040902054818110156122225760405162461bcd60e51b815260040161095590612f0d565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290612259908490612c15565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516122a591815260200190565b60405180910390a3611769565b60606001600160a01b0384163b61231a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610955565b600080856001600160a01b031685604051612335919061311d565b600060405180830381855af49150503d8060008114612370576040519150601f19603f3d011682016040523d82523d6000602084013e612375565b606091505b5091509150612385828286612738565b9695505050505050565b6018805460ff60a81b1916600160a81b1790556123cd307f00000000000000000000000000000000000000000000000000000000000000008461153a565b60115460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af115801561245c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906124819190613139565b50506018805460ff60a81b19169055505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156124cc5750600090506003612579565b8460ff16601b141580156124e457508460ff16601c14155b156124f55750600090506004612579565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612549573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661257257600060019250925050612579565b9150600090505b94509492505050565b600081600481111561259657612596613167565b0361259e5750565b60018160048111156125b2576125b2613167565b036125ff5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610955565b600281600481111561261357612613613167565b036126605760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610955565b600381600481111561267457612674613167565b036126cc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610955565b60048160048111156126e0576126e0613167565b036109675760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610955565b60608315612747575081610a63565b8251156127575782518084602001fd5b8160405162461bcd60e51b815260040161095591906127c1565b60005b8381101561278c578181015183820152602001612774565b50506000910152565b600081518084526127ad816020860160208601612771565b601f01601f19169290920160200192915050565b602081526000610a636020830184612795565b6001600160a01b038116811461096757600080fd5b600080604083850312156127fc57600080fd5b8235612807816127d4565b946020939093013593505050565b60006020828403121561282757600080fd5b8135610a63816127d4565b60008060006060848603121561284757600080fd5b8335612852816127d4565b92506020840135612862816127d4565b929592945050506040919091013590565b60008060006060848603121561288857600080fd5b505081359360208301359350604090920135919050565b600080604083850312156128b257600080fd5b50508035926020909101359150565b6000602082840312156128d357600080fd5b5035919050565b600080604083850312156128ed57600080fd5b82356128f8816127d4565b91506020830135801515811461290d57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561294057600080fd5b813567ffffffffffffffff8082111561295857600080fd5b818401915084601f83011261296c57600080fd5b81358181111561297e5761297e612918565b604051601f8201601f19908116603f011681019083821181831017156129a6576129a6612918565b816040528281528760208487010111156129bf57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080602083850312156129f257600080fd5b823567ffffffffffffffff80821115612a0a57600080fd5b818501915085601f830112612a1e57600080fd5b813581811115612a2d57600080fd5b8660208260051b8501011115612a4257600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612aa957603f19888603018452612a97858351612795565b94509285019290850190600101612a7b565b5092979650505050505050565b600080600080600080600060e0888a031215612ad157600080fd5b8735612adc816127d4565b96506020880135612aec816127d4565b95506040880135945060608801359350608088013560ff81168114612b1057600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215612b4057600080fd5b8235612b4b816127d4565b9150602083013561290d816127d4565b600181811c90821680612b6f57607f821691505b60208210810361216f57634e487b7160e01b600052602260045260246000fd5b6020808252600e908201526d139bdd08185d5d1a1bdc9a5e995960921b604082015260600190565b60208082526028908201527f4c5020506169722063616e6e6f742062652074686520446561642077616c6c65604082015267742c206f7220302160c01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561092b5761092b612bff565b6020808252602d908201527f45524332303a20746f74616c20746178206d757374206e6f742062652067726560408201526c61746572207468616e2031302560981b606082015260800190565b600082612c9257634e487b7160e01b600052601260045260246000fd5b500490565b60208082526034908201527f43616e6e6f74206c6971756964617465206d6f7265207468616e203225206f666040820152732074686520737570706c79206174206f6e63652160601b606082015260800190565b600181815b80851115612d26578160001904821115612d0c57612d0c612bff565b80851615612d1957918102915b93841c9390800290612cf0565b509250929050565b600082612d3d5750600161092b565b81612d4a5750600061092b565b8160018114612d605760028114612d6a57612d86565b600191505061092b565b60ff841115612d7b57612d7b612bff565b50506001821b61092b565b5060208310610133831016604e8410600b8410161715612da9575081810a61092b565b612db38383612ceb565b8060001904821115612dc757612dc7612bff565b029392505050565b6000610a6360ff841683612d2e565b808202811582820484141761092b5761092b612bff565b8181038181111561092b5761092b612bff565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112612e3557600080fd5b83018035915067ffffffffffffffff821115612e5057600080fd5b602001915036819003821315612e6557600080fd5b9250929050565b600060018201612e7e57612e7e612bff565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b600060208284031215612f6557600080fd5b8151610a63816127d4565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612fc05784516001600160a01b031683529383019391830191600101612f9b565b50506001600160a01b03969096166060850152505050608001529392505050565b601f82111561183257600081815260208120601f850160051c810160208610156130085750805b601f850160051c820191505b8181101561302757828155600101613014565b505050505050565b815167ffffffffffffffff81111561304957613049612918565b61305d816130578454612b5b565b84612fe1565b602080601f831160018114613092576000841561307a5750858301515b600019600386901b1c1916600185901b178555613027565b600085815260208120601f198616915b828110156130c1578886015182559484019460019091019084016130a2565b50858210156130df5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6040815260006131026040830185612795565b82810360208401526131148185612795565b95945050505050565b6000825161312f818460208701612771565b9190910192915050565b60008060006060848603121561314e57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052602160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220d1029485233bd665a864283ad6dc527e2e09152ecaeda5d14688deb1c66de1a564736f6c63430008120033

Deployed Bytecode

0x60806040526004361061028c5760003560e01c806381bfdcca1161015a578063bb85c6d1116100c1578063d936547e1161007a578063d936547e146107af578063dd62ed3e146107df578063df8408fe14610825578063e8a3d48514610845578063f345bd851461085a578063fcfee5e21461087057600080fd5b8063bb85c6d11461070e578063c0fdea571461072e578063cec1b34414610744578063d12a768814610759578063d3737d0c1461076f578063d505accf1461078f57600080fd5b806395d89b411161011357806395d89b4114610660578063a457c2d714610675578063a9059cbb14610695578063aa4bde28146106b5578063ac9650d8146106cb578063ad16a0cf146106f857600080fd5b806381bfdcca146105b257806386c97864146105d25780638c0b5e22146105ec5780638da5cb5b146106025780639281aa0b14610620578063938e3d7b1461064057600080fd5b806330b63d80116101fe57806349bd5a5e116101b757806349bd5a5e146104dd578063677daa571461050257806370a082311461052257806375f0a87414610542578063768dc710146105625780637ecebe001461059257600080fd5b806330b63d801461042c578063313ce5671461044c578063359dd7a7146104685780633644e51514610488578063395093511461049d57806342966c68146104bd57600080fd5b80631694505e116102505780631694505e1461036d57806318160ddd146103a15780631b56bbf9146103b65780631e0b376e146103d657806323b872dd146103ec5780632dac768d1461040c57600080fd5b8063029e83991461029857806303fd2a45146102c157806306fdde03146102f9578063095ea7b31461031b57806313af40351461034b57600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ae600d5481565b6040519081526020015b60405180910390f35b3480156102cd57600080fd5b506012546102e1906001600160a01b031681565b6040516001600160a01b0390911681526020016102b8565b34801561030557600080fd5b5061030e610885565b6040516102b891906127c1565b34801561032757600080fd5b5061033b6103363660046127e9565b610917565b60405190151581526020016102b8565b34801561035757600080fd5b5061036b610366366004612815565b610931565b005b34801561037957600080fd5b506102e17f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156103ad57600080fd5b506004546102ae565b3480156103c257600080fd5b5061036b6103d1366004612815565b61096a565b3480156103e257600080fd5b506102ae600e5481565b3480156103f857600080fd5b5061033b610407366004612832565b610a44565b34801561041857600080fd5b5061033b610427366004612873565b610a6a565b34801561043857600080fd5b5061033b61044736600461289f565b610afd565b34801561045857600080fd5b50604051601281526020016102b8565b34801561047457600080fd5b5061036b6104833660046128c1565b610bcd565b34801561049457600080fd5b506102ae610c90565b3480156104a957600080fd5b5061033b6104b83660046127e9565b610d20565b3480156104c957600080fd5b5061036b6104d83660046128c1565b610d5f565b3480156104e957600080fd5b506018546102e19061010090046001600160a01b031681565b34801561050e57600080fd5b5061033b61051d3660046128c1565b610db6565b34801561052e57600080fd5b506102ae61053d366004612815565b610dec565b34801561054e57600080fd5b506011546102e1906001600160a01b031681565b34801561056e57600080fd5b5061033b61057d366004612815565b60146020526000908152604090205460ff1681565b34801561059e57600080fd5b506102ae6105ad366004612815565b610e07565b3480156105be57600080fd5b5061033b6105cd3660046128c1565b610e25565b3480156105de57600080fd5b5060185461033b9060ff1681565b3480156105f857600080fd5b506102ae600f5481565b34801561060e57600080fd5b506001546001600160a01b03166102e1565b34801561062c57600080fd5b5061036b61063b3660046128da565b610e5b565b34801561064c57600080fd5b5061036b61065b36600461292e565b610f2e565b34801561066c57600080fd5b5061030e610f5b565b34801561068157600080fd5b5061033b6106903660046127e9565b610f6a565b3480156106a157600080fd5b5061033b6106b03660046127e9565b611007565b3480156106c157600080fd5b506102ae60105481565b3480156106d757600080fd5b506106eb6106e63660046129df565b611015565b6040516102b89190612a54565b34801561070457600080fd5b506102ae60165481565b34801561071a57600080fd5b5061033b610729366004612815565b61110a565b34801561073a57600080fd5b506102ae60135481565b34801561075057600080fd5b506102ae6111b0565b34801561076557600080fd5b506102ae60155481565b34801561077b57600080fd5b5061036b61078a3660046128c1565b6111c9565b34801561079b57600080fd5b5061036b6107aa366004612ab6565b61121d565b3480156107bb57600080fd5b5061033b6107ca366004612815565b60176020526000908152604090205460ff1681565b3480156107eb57600080fd5b506102ae6107fa366004612b2d565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561083157600080fd5b5061036b6108403660046128da565b6113c4565b34801561085157600080fd5b5061030e61144a565b34801561086657600080fd5b506102ae600c5481565b34801561087c57600080fd5b5061036b6114d8565b60606005805461089490612b5b565b80601f01602080910402602001604051908101604052809291908181526020018280546108c090612b5b565b801561090d5780601f106108e25761010080835404028352916020019161090d565b820191906000526020600020905b8154815290600101906020018083116108f057829003601f168201915b5050505050905090565b60003361092581858561153a565b60019150505b92915050565b61093961165e565b61095e5760405162461bcd60e51b815260040161095590612b8f565b60405180910390fd5b6109678161168b565b50565b6001546001600160a01b031633146109945760405162461bcd60e51b815260040161095590612b8f565b6012546001600160a01b03908116908216036109c25760405162461bcd60e51b815260040161095590612bb7565b6001600160a01b0381166109e85760405162461bcd60e51b815260040161095590612bb7565b60188054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f1d288f7aba265e8b154b112bbb631ceca5df5fe93a750b2fe042fd1cc826647f9060200160405180910390a150565b600033610a528582856116dd565b610a5d85858561176f565b60019150505b9392505050565b6001546000906001600160a01b03163314610a975760405162461bcd60e51b815260040161095590612b8f565b600a610aa38486612c15565b1115610ac15760405162461bcd60e51b815260040161095590612c28565b600a610acd8386612c15565b1115610aeb5760405162461bcd60e51b815260040161095590612c28565b50600c92909255600e55600d55600190565b6001546000906001600160a01b03163314610b2a5760405162461bcd60e51b815260040161095590612b8f565b6062600b54610b399190612c75565b8310610b575760405162461bcd60e51b815260040161095590612c97565b6062600b54610b669190612c75565b8210610b845760405162461bcd60e51b815260040161095590612c97565b600a8054610b979160ff90911690612dcf565b610ba19084612dde565b601555600a8054610bb79160ff90911690612dcf565b610bc19083612dde565b60165550600192915050565b6001546001600160a01b03163314610bf75760405162461bcd60e51b815260040161095590612b8f565b806013541061096757610c0981611bef565b8060136000828254610c1b9190612df5565b90915550506011546040516000916001600160a01b0316904780156108fc029184818181858888f19350505050905080610c8c5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b6044820152606401610955565b5050565b6000306001600160a01b037f000000000000000000000000bb9c41891c15ede58ac237c5f434b33419080dfe16148015610ce957507f000000000000000000000000000000000000000000000000000000000000000146145b15610d1357507f340d8620cfa1ed0ff352c31848dd2070d2028c5adf4d6e840711b4856ab774a090565b610d1b611dcf565b905090565b3360008181526003602090815260408083206001600160a01b03871684529091528120549091906109259082908690610d5a908790612c15565b61153a565b80610d6933610dec565b1015610dac5760405162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f7567682062616c616e636560701b6044820152606401610955565b6109673382611e64565b6001546000906001600160a01b03163314610de35760405162461bcd60e51b815260040161095590612b8f565b50600f55600190565b6001600160a01b031660009081526002602052604090205490565b6001600160a01b03811660009081526007602052604081205461092b565b6001546000906001600160a01b03163314610e525760405162461bcd60e51b815260040161095590612b8f565b50601055600190565b6001546001600160a01b03163314610e855760405162461bcd60e51b815260040161095590612b8f565b6001600160a01b038216610eca5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610955565b6001600160a01b038216600081815260176020908152604091829020805460ff19168515159081179091558251938452908301527f26742d25b283cf51a0e3c4183d934871ed96d1bd33cf40706f87a94f29f686ac91015b60405180910390a15050565b610f3661165e565b610f525760405162461bcd60e51b815260040161095590612b8f565b61096781611fb2565b60606006805461089490612b5b565b3360008181526003602090815260408083206001600160a01b038716845290915281205490919083811015610fef5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610955565b610ffc828686840361153a565b506001949350505050565b60003361092581858561176f565b60608167ffffffffffffffff81111561103057611030612918565b60405190808252806020026020018201604052801561106357816020015b606081526020019060019003908161104e5790505b50905060005b82811015611103576110d33085858481811061108757611087612e08565b90506020028101906110999190612e1e565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061208192505050565b8282815181106110e5576110e5612e08565b602002602001018190525080806110fb90612e6c565b915050611069565b5092915050565b6001546000906001600160a01b031633146111375760405162461bcd60e51b815260040161095590612b8f565b6012546001600160a01b03908116908316036111655760405162461bcd60e51b815260040161095590612bb7565b6001600160a01b03821661118b5760405162461bcd60e51b815260040161095590612bb7565b50601180546001600160a01b0383166001600160a01b03199091161790556001919050565b6000806013546111bf30610dec565b61092b9190612df5565b6001546001600160a01b031633146111f35760405162461bcd60e51b815260040161095590612b8f565b600060135461120130610dec565b61120b9190612df5565b9050818110610c8c57610c8c826120a6565b8342111561126d5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610955565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861129c8c61214d565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061133a6112f9610c90565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b9050600061134a82878787612175565b9050896001600160a01b0316816001600160a01b0316146113ad5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610955565b6113b88a8a8a61153a565b50505050505050505050565b6001546001600160a01b031633146113ee5760405162461bcd60e51b815260040161095590612b8f565b6001600160a01b038216600081815260146020908152604091829020805460ff19168515159081179091558251938452908301527f318c131114339c004fff0a22fcdbbc0566bb2a7cd3aa1660e636ec5a66784ff29101610f22565b6000805461145790612b5b565b80601f016020809104026020016040519081016040528092919081815260200182805461148390612b5b565b80156114d05780601f106114a5576101008083540402835291602001916114d0565b820191906000526020600020905b8154815290600101906020018083116114b357829003601f168201915b505050505081565b6001546001600160a01b031633146115025760405162461bcd60e51b815260040161095590612b8f565b6018805460ff191660011790556040517f9e79ff535c96e359ecd1bd70ecc07d8cbf84bcb04f5284237cf9085125f749a990600090a1565b6001600160a01b03831661159c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610955565b6001600160a01b0382166115fd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610955565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006116726001546001600160a01b031690565b6001600160a01b0316336001600160a01b031614905090565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a35050565b6001600160a01b038381166000908152600360209081526040808320938616835292905220546000198114611769578181101561175c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610955565b611769848484840361153a565b50505050565b6001600160a01b0383166117955760405162461bcd60e51b815260040161095590612e85565b6001600160a01b0382166117bb5760405162461bcd60e51b815260040161095590612eca565b806117c584610dec565b10156117e35760405162461bcd60e51b815260040161095590612f0d565b6001600160a01b03831660009081526017602052604090205460ff168061182257506001600160a01b03821660009081526017602052604090205460ff165b156118375761183283838361219d565b505050565b60185460ff1661187e5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610955565b6018546001600160a01b038481166101009092041614806118b157506018546001600160a01b0383811661010090920416145b80156118c75750601854600160a81b900460ff16155b15611be4576018546001600160a01b0384811661010090920416146119b35760006013546118f430610dec565b6118fe9190612df5565b90506015548110611914576119146015546120a6565b601654601354106119b15761192a601654611bef565b6016546013600082825461193e9190612df5565b90915550506011546040516000916001600160a01b0316904780156108fc029184818181858888f193505050509050806119af5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b6044820152606401610955565b505b505b6001600160a01b03831660009081526014602052604081205460ff16806119f257506001600160a01b03831660009081526014602052604090205460ff165b156119fe575080611bd9565b600f54821115611a765760405162461bcd60e51b815260206004820152603960248201527f45524332303a207472616e7366657220616d6f756e742065786365656473207460448201527f6865206d6178207472616e73616374696f6e20616d6f756e74000000000000006064820152608401610955565b6018546001600160a01b03610100909104811690851603611b1457601054611a9d84610dec565b611aa79084612c15565b1115611b145760405162461bcd60e51b815260206004820152603660248201527f45524332303a2062616c616e636520616d6f756e74206578636565646564206d604482015275185e081dd85b1b195d08185b5bdd5b9d081b1a5b5a5d60521b6064820152608401610955565b6018546000906001600160a01b03610100909104811690861603611b3b5750600e54611b5b565b6018546001600160a01b03610100909104811690851603611b5b5750600d545b60006064611b698386612dde565b611b739190612c75565b905060006064600c5486611b879190612dde565b611b919190612c75565b9050611b9d8183612c15565b611ba79086612df5565b93508160136000828254611bbb9190612c15565b90915550611bd590508730611bd08486612c15565b61219d565b5050505b61176984848361219d565b61183283838361219d565b6018805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611c3757611c37612e08565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd99190612f53565b81600181518110611cec57611cec612e08565b60200260200101906001600160a01b031690816001600160a01b031681525050611d37307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461153a565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611d8c908590600090869030904290600401612f70565b600060405180830381600087803b158015611da657600080fd5b505af1158015611dba573d6000803e3d6000fd5b50506018805460ff60a81b1916905550505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611dfa610885565b80516020918201206040805192830193909352918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6001600160a01b038216611ec45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610955565b6001600160a01b03821660009081526002602052604090205481811015611f385760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610955565b6001600160a01b0383166000908152600260205260408120838303905560048054849290611f67908490612df5565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6000808054611fc090612b5b565b80601f0160208091040260200160405190810160405280929190818152602001828054611fec90612b5b565b80156120395780601f1061200e57610100808354040283529160200191612039565b820191906000526020600020905b81548152906001019060200180831161201c57829003601f168201915b50505050509050816000908161204f919061302f565b507fc9c7c3fe08b88b4df9d4d47ef47d2c43d55c025a0ba88ca442580ed9e7348a168183604051610f229291906130ef565b6060610a63838360405180606001604052806027815260200161317e602791396122b2565b6018805460ff60a81b1916600160a81b17905560006120c6600283612c75565b905060006120d48284612df5565b9050476120e083611bef565b60006120ec8247612df5565b90506120f8838261238f565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a150506018805460ff60a81b19169055505050565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b600080600061218687878787612495565b9150915061219381612582565b5095945050505050565b6001600160a01b0383166121c35760405162461bcd60e51b815260040161095590612e85565b6001600160a01b0382166121e95760405162461bcd60e51b815260040161095590612eca565b6001600160a01b038316600090815260026020526040902054818110156122225760405162461bcd60e51b815260040161095590612f0d565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290612259908490612c15565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516122a591815260200190565b60405180910390a3611769565b60606001600160a01b0384163b61231a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610955565b600080856001600160a01b031685604051612335919061311d565b600060405180830381855af49150503d8060008114612370576040519150601f19603f3d011682016040523d82523d6000602084013e612375565b606091505b5091509150612385828286612738565b9695505050505050565b6018805460ff60a81b1916600160a81b1790556123cd307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461153a565b60115460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af115801561245c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906124819190613139565b50506018805460ff60a81b19169055505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156124cc5750600090506003612579565b8460ff16601b141580156124e457508460ff16601c14155b156124f55750600090506004612579565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612549573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661257257600060019250925050612579565b9150600090505b94509492505050565b600081600481111561259657612596613167565b0361259e5750565b60018160048111156125b2576125b2613167565b036125ff5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610955565b600281600481111561261357612613613167565b036126605760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610955565b600381600481111561267457612674613167565b036126cc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610955565b60048160048111156126e0576126e0613167565b036109675760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610955565b60608315612747575081610a63565b8251156127575782518084602001fd5b8160405162461bcd60e51b815260040161095591906127c1565b60005b8381101561278c578181015183820152602001612774565b50506000910152565b600081518084526127ad816020860160208601612771565b601f01601f19169290920160200192915050565b602081526000610a636020830184612795565b6001600160a01b038116811461096757600080fd5b600080604083850312156127fc57600080fd5b8235612807816127d4565b946020939093013593505050565b60006020828403121561282757600080fd5b8135610a63816127d4565b60008060006060848603121561284757600080fd5b8335612852816127d4565b92506020840135612862816127d4565b929592945050506040919091013590565b60008060006060848603121561288857600080fd5b505081359360208301359350604090920135919050565b600080604083850312156128b257600080fd5b50508035926020909101359150565b6000602082840312156128d357600080fd5b5035919050565b600080604083850312156128ed57600080fd5b82356128f8816127d4565b91506020830135801515811461290d57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561294057600080fd5b813567ffffffffffffffff8082111561295857600080fd5b818401915084601f83011261296c57600080fd5b81358181111561297e5761297e612918565b604051601f8201601f19908116603f011681019083821181831017156129a6576129a6612918565b816040528281528760208487010111156129bf57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080602083850312156129f257600080fd5b823567ffffffffffffffff80821115612a0a57600080fd5b818501915085601f830112612a1e57600080fd5b813581811115612a2d57600080fd5b8660208260051b8501011115612a4257600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612aa957603f19888603018452612a97858351612795565b94509285019290850190600101612a7b565b5092979650505050505050565b600080600080600080600060e0888a031215612ad157600080fd5b8735612adc816127d4565b96506020880135612aec816127d4565b95506040880135945060608801359350608088013560ff81168114612b1057600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215612b4057600080fd5b8235612b4b816127d4565b9150602083013561290d816127d4565b600181811c90821680612b6f57607f821691505b60208210810361216f57634e487b7160e01b600052602260045260246000fd5b6020808252600e908201526d139bdd08185d5d1a1bdc9a5e995960921b604082015260600190565b60208082526028908201527f4c5020506169722063616e6e6f742062652074686520446561642077616c6c65604082015267742c206f7220302160c01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561092b5761092b612bff565b6020808252602d908201527f45524332303a20746f74616c20746178206d757374206e6f742062652067726560408201526c61746572207468616e2031302560981b606082015260800190565b600082612c9257634e487b7160e01b600052601260045260246000fd5b500490565b60208082526034908201527f43616e6e6f74206c6971756964617465206d6f7265207468616e203225206f666040820152732074686520737570706c79206174206f6e63652160601b606082015260800190565b600181815b80851115612d26578160001904821115612d0c57612d0c612bff565b80851615612d1957918102915b93841c9390800290612cf0565b509250929050565b600082612d3d5750600161092b565b81612d4a5750600061092b565b8160018114612d605760028114612d6a57612d86565b600191505061092b565b60ff841115612d7b57612d7b612bff565b50506001821b61092b565b5060208310610133831016604e8410600b8410161715612da9575081810a61092b565b612db38383612ceb565b8060001904821115612dc757612dc7612bff565b029392505050565b6000610a6360ff841683612d2e565b808202811582820484141761092b5761092b612bff565b8181038181111561092b5761092b612bff565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112612e3557600080fd5b83018035915067ffffffffffffffff821115612e5057600080fd5b602001915036819003821315612e6557600080fd5b9250929050565b600060018201612e7e57612e7e612bff565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b600060208284031215612f6557600080fd5b8151610a63816127d4565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612fc05784516001600160a01b031683529383019391830191600101612f9b565b50506001600160a01b03969096166060850152505050608001529392505050565b601f82111561183257600081815260208120601f850160051c810160208610156130085750805b601f850160051c820191505b8181101561302757828155600101613014565b505050505050565b815167ffffffffffffffff81111561304957613049612918565b61305d816130578454612b5b565b84612fe1565b602080601f831160018114613092576000841561307a5750858301515b600019600386901b1c1916600185901b178555613027565b600085815260208120601f198616915b828110156130c1578886015182559484019460019091019084016130a2565b50858210156130df5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6040815260006131026040830185612795565b82810360208401526131148185612795565b95945050505050565b6000825161312f818460208701612771565b9190910192915050565b60008060006060848603121561314e57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052602160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220d1029485233bd665a864283ad6dc527e2e09152ecaeda5d14688deb1c66de1a564736f6c63430008120033

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.