ETH Price: $3,148.36 (+0.91%)
Gas: 2 Gwei

Token

HoneyBB (HoneyBB)
 

Overview

Max Total Supply

579,000,000,000,000 HoneyBB

Holders

72

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Uniswap V2: HoneyBB
Balance
530,087,671,949,545.705484451244018893 HoneyBB

Value
$0.00
0x597aa59844a6d6d9112e02f9c599b129141cdd7c
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
HoneyBB

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion, MIT license
File 1 of 17 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 2 of 17 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 3 of 17 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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}.
     *
     * 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 default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual 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, allowance(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 = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * 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;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _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;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _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;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * 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 {}
}

File 4 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 5 of 17 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

File 6 of 17 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 7 of 17 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

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

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

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

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

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

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

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

File 9 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 10 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 11 of 17 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 17 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

File 13 of 17 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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);
}

File 14 of 17 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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;
}

File 15 of 17 : IUniswapV3SwapCallback.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Callback for IUniswapV3PoolActions#swap
/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface
interface IUniswapV3SwapCallback {
    /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.
    /// @dev In the implementation you must pay the pool tokens owed for the swap.
    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.
    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.
    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.
    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.
    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call
    function uniswapV3SwapCallback(
        int256 amount0Delta,
        int256 amount1Delta,
        bytes calldata data
    ) external;
}

File 16 of 17 : ISwapRouter.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';

/// @title Router token swapping functionality
/// @notice Functions for swapping tokens via Uniswap V3
interface ISwapRouter is IUniswapV3SwapCallback {
    struct ExactInputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 deadline;
        uint256 amountIn;
        uint256 amountOutMinimum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another token
    /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata
    /// @return amountOut The amount of the received token
    function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);

    struct ExactInputParams {
        bytes path;
        address recipient;
        uint256 deadline;
        uint256 amountIn;
        uint256 amountOutMinimum;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path
    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata
    /// @return amountOut The amount of the received token
    function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut);

    struct ExactOutputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 deadline;
        uint256 amountOut;
        uint256 amountInMaximum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another token
    /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata
    /// @return amountIn The amount of the input token
    function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn);

    struct ExactOutputParams {
        bytes path;
        address recipient;
        uint256 deadline;
        uint256 amountOut;
        uint256 amountInMaximum;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)
    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata
    /// @return amountIn The amount of the input token
    function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn);
}

File 17 of 17 : HoneyBBToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

contract HoneyBB is ERC20, ERC20Burnable, AccessControl {
    /* ----- CONSTANTS ----- */
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
    uint256 public constant ONE_HUNDRED_PERCENT = 10000;

    /* ----- ENUM ----- */
    enum SwapRouterVersion {
        V2,
        V3,
        NotSupported
    }

    /* ----- STATE VARIABLES ----- */
    uint256 public sellAndBuyTaxRate;
    uint256 public maxAmountPerTx;
    bool public isAntiWhaleEnabled;
    address public sellAndBuyTaxRecipient;
    uint256 public transferTxCount = 1; // start from 1 to avoid swap on first tx
    uint256 public numberOfTxToSwap = 5; // swap every 5 tx
    bool private isSwapping;
    address public WETH9;

    ISwapRouter public swapRouterV3;
    IUniswapV2Router02 public swapRouterV2;

    /* ----- MAPPING ----- */
    mapping(address => bool) public isTokenPairV2;
    mapping(address => bool) public isTokenPairV3;

    /* ----- EVENTS ----- */
    event SellAndBuyTaxRateUpdated(uint256 newRate);
    event MaxAmountPerTxUpdated(uint256 newAmount);
    event AntiWhaleSwitched(bool isAntiWhaleEnabled);
    event SellAndBuyTaxRecipientUpdated(address newRecipient);
    event SwapRouterUpdated(address newSwapRouter, SwapRouterVersion version);
    event AddTokenPair(address tokenPair, SwapRouterVersion version);
    event RemoveTokenPair(address tokenPair, SwapRouterVersion version);

    constructor(
        uint256 _sellAndBuyTaxRate,
        uint256 _maxAmountPerTx,
        bool _isAntiWhaleEnabled,
        address _sellAndBuyTaxRecipient,
        uint256 _totalSupply,
        address _WETH9
    ) ERC20("HoneyBB", "HoneyBB") {
        require(_sellAndBuyTaxRate <= ONE_HUNDRED_PERCENT, "Sell and buy tax rate must be less than 100%");
        require(_maxAmountPerTx > 0, "Max amount per tx must be greater than 0");
        require(_sellAndBuyTaxRecipient != address(0), "Sell and buy tax recipient cannot be zero address");
        require(_WETH9 != address(0), "WETH9 cannot be zero address");

        sellAndBuyTaxRate = _sellAndBuyTaxRate;
        maxAmountPerTx = _maxAmountPerTx;
        isAntiWhaleEnabled = _isAntiWhaleEnabled;
        sellAndBuyTaxRecipient = _sellAndBuyTaxRecipient;
        WETH9 = _WETH9;

        _mint(msg.sender, _totalSupply);
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(ADMIN_ROLE, msg.sender);
    }

    /* ----- CONFIG FUNCTIONS ----- */
    function setSellAndBuyTaxRate(uint256 _sellAndBuyTaxRate) external onlyRole(ADMIN_ROLE) {
        require(_sellAndBuyTaxRate <= ONE_HUNDRED_PERCENT, "Sell and buy tax rate must be less than 100%");
        sellAndBuyTaxRate = _sellAndBuyTaxRate;
        emit SellAndBuyTaxRateUpdated(_sellAndBuyTaxRate);
    }

    function setMaxAmountPerTx(uint256 _maxAmountPerTx) external onlyRole(ADMIN_ROLE) {
        require(_maxAmountPerTx > 0, "Max amount per tx must be greater than 0");
        maxAmountPerTx = _maxAmountPerTx;
        emit MaxAmountPerTxUpdated(_maxAmountPerTx);
    }

    function antiWhaleSwitch(bool _isAntiWhaleEnabled) external onlyRole(ADMIN_ROLE) {
        isAntiWhaleEnabled = _isAntiWhaleEnabled;
        emit AntiWhaleSwitched(_isAntiWhaleEnabled);
    }

    function setSellAndBuyTaxRecipient(address _sellAndBuyTaxRecipient) external onlyRole(ADMIN_ROLE) {
        require(_sellAndBuyTaxRecipient != address(0), "Sell and buy tax recipient cannot be zero address");
        sellAndBuyTaxRecipient = _sellAndBuyTaxRecipient;
        emit SellAndBuyTaxRecipientUpdated(_sellAndBuyTaxRecipient);
    }

    function setSwapRouter(address _swapRouter, SwapRouterVersion _version) external onlyRole(ADMIN_ROLE) {
        require(_swapRouter != address(0), "Swap router cannot be zero address");
        if (_version == SwapRouterVersion.V3) {
            swapRouterV3 = ISwapRouter(_swapRouter);
        } else {
            swapRouterV2 = IUniswapV2Router02(_swapRouter);
        }
        emit SwapRouterUpdated(_swapRouter, _version);
    }

    function addTokenPair(address _tokenPair, SwapRouterVersion _version) external onlyRole(ADMIN_ROLE) {
        require(_tokenPair != address(0), "Token pair cannot be zero address");
        if (_version == SwapRouterVersion.V3) {
            isTokenPairV3[_tokenPair] = true;
        } else {
            isTokenPairV2[_tokenPair] = true;
        }
        emit AddTokenPair(_tokenPair, _version);
    }

    function removeTokenPair(address _tokenPair, SwapRouterVersion _version) external onlyRole(ADMIN_ROLE) {
        require(_tokenPair != address(0), "Token pair cannot be zero address");
        if (_version == SwapRouterVersion.V3) {
            isTokenPairV3[_tokenPair] = false;
        } else {
            isTokenPairV2[_tokenPair] = false;
        }
        emit RemoveTokenPair(_tokenPair, _version);
    }

    function setNumberOfTxBeforeSwap(uint256 _numberOfTxToSwap) external onlyRole(ADMIN_ROLE) {
        require(_numberOfTxToSwap > 0, "Number of tx to swap must be greater than 0");
        numberOfTxToSwap = _numberOfTxToSwap;
    }

    /* ----- OVERRIDE FUNCTIONS ----- */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual override {
        if (isAntiWhaleEnabled) {
            require(amount <= maxAmountPerTx, "Transfer amount exceeds the maximum amount per transaction");
        }
        super._transfer(sender, recipient, amount);
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool success) {
        SwapRouterVersion swapVersion = whichSwapCalled();
        if (swapVersion == SwapRouterVersion.NotSupported || isSwapping) {
            if (isSwapping) {
                transferTxCount++;
                isSwapping = false;
            }

            return super.transferFrom(sender, recipient, amount);
        }

        if (swapVersion == SwapRouterVersion.V2 && (isTokenPairV2[recipient] || isTokenPairV2[sender]) && !isSwapping) {
            uint256 taxAmount = (amount * sellAndBuyTaxRate) / ONE_HUNDRED_PERCENT;
            uint256 transferAmount = amount - taxAmount;

            super.transferFrom(sender, address(this), taxAmount);
            super.transferFrom(sender, recipient, transferAmount);

            bool isSwappingTime = transferTxCount % numberOfTxToSwap == 0;
            if (isSwappingTime) {
                uint256 balance = balanceOf(address(this));

                if (balance > 0) {
                    isSwapping = true;
                    swapTokenForEthV2(balance);
                }
            }

            transferTxCount++;
            return true;
        }

        if (swapVersion == SwapRouterVersion.V3 && (isTokenPairV3[recipient] || isTokenPairV3[sender]) && !isSwapping) {
            uint256 taxAmount = (amount * sellAndBuyTaxRate) / ONE_HUNDRED_PERCENT;
            uint256 transferAmount = amount - taxAmount;

            super.transferFrom(sender, address(this), taxAmount);
            super.transferFrom(sender, recipient, transferAmount);

            bool isSwappingTime = transferTxCount % numberOfTxToSwap == 0;
            if (isSwappingTime) {
                uint256 balance = balanceOf(address(this));

                if (balance > 0) {
                    isSwapping = true;
                    swapTokenForEthV3(balance);
                }
            }

            transferTxCount++;
            return true;
        }

        return true;
    }

    /* ----- HELPER FUNCTIONS ----- */
    function whichSwapCalled() private view returns (SwapRouterVersion version) {
        address sender = _msgSender();
        if (sender == address(swapRouterV3)) {
            return SwapRouterVersion.V3;
        } else if (sender == address(swapRouterV2)) {
            return SwapRouterVersion.V2;
        }
        return SwapRouterVersion.NotSupported;
    }

    function swapTokenForEthV2(uint256 tokenAmount) private {
        // Approve the uniswapV2Router to spend the tokenAmount
        _approve(address(this), address(swapRouterV2), tokenAmount);

        // Define the path for token -> weth swap
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = swapRouterV2.WETH();

        uint256 amountOutMin = swapRouterV2.getAmountsOut(tokenAmount, path)[1];

        swapRouterV2.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            amountOutMin,
            path,
            sellAndBuyTaxRecipient,
            block.timestamp
        );
    }

    function swapTokenForEthV3(uint256 tokenAmount) private {
        // Approve the uniswapV3Router to spend the tokenAmount
        _approve(address(this), address(swapRouterV3), tokenAmount);

        // Define token and weth address
        swapRouterV3.exactInputSingle(
            ISwapRouter.ExactInputSingleParams({
                tokenIn: address(this),
                tokenOut: WETH9,
                fee: 3000,
                recipient: sellAndBuyTaxRecipient,
                deadline: block.timestamp,
                amountIn: tokenAmount,
                amountOutMinimum: 0, // accept any amount of ETH
                sqrtPriceLimitX96: 0
            })
        );
    }

    receive() external payable {}
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "none",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 800
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_sellAndBuyTaxRate","type":"uint256"},{"internalType":"uint256","name":"_maxAmountPerTx","type":"uint256"},{"internalType":"bool","name":"_isAntiWhaleEnabled","type":"bool"},{"internalType":"address","name":"_sellAndBuyTaxRecipient","type":"address"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"address","name":"_WETH9","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenPair","type":"address"},{"indexed":false,"internalType":"enum HoneyBB.SwapRouterVersion","name":"version","type":"uint8"}],"name":"AddTokenPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isAntiWhaleEnabled","type":"bool"}],"name":"AntiWhaleSwitched","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MaxAmountPerTxUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenPair","type":"address"},{"indexed":false,"internalType":"enum HoneyBB.SwapRouterVersion","name":"version","type":"uint8"}],"name":"RemoveTokenPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"SellAndBuyTaxRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newRecipient","type":"address"}],"name":"SellAndBuyTaxRecipientUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newSwapRouter","type":"address"},{"indexed":false,"internalType":"enum HoneyBB.SwapRouterVersion","name":"version","type":"uint8"}],"name":"SwapRouterUpdated","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":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ONE_HUNDRED_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH9","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenPair","type":"address"},{"internalType":"enum HoneyBB.SwapRouterVersion","name":"_version","type":"uint8"}],"name":"addTokenPair","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":"bool","name":"_isAntiWhaleEnabled","type":"bool"}],"name":"antiWhaleSwitch","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"isAntiWhaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isTokenPairV2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isTokenPairV3","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfTxToSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenPair","type":"address"},{"internalType":"enum HoneyBB.SwapRouterVersion","name":"_version","type":"uint8"}],"name":"removeTokenPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellAndBuyTaxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellAndBuyTaxRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAmountPerTx","type":"uint256"}],"name":"setMaxAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfTxToSwap","type":"uint256"}],"name":"setNumberOfTxBeforeSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellAndBuyTaxRate","type":"uint256"}],"name":"setSellAndBuyTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sellAndBuyTaxRecipient","type":"address"}],"name":"setSellAndBuyTaxRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_swapRouter","type":"address"},{"internalType":"enum HoneyBB.SwapRouterVersion","name":"_version","type":"uint8"}],"name":"setSwapRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapRouterV2","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapRouterV3","outputs":[{"internalType":"contract ISwapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferTxCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260016009556005600a553480156200001b57600080fd5b5060405162002cae38038062002cae8339810160408190526200003e9162000506565b6040805180820182526007808252662437b732bca12160c91b602080840182815285518087019096529285528401528151919291620000809160039162000443565b5080516200009690600490602084019062000443565b505050612710861115620001065760405162461bcd60e51b815260206004820152602c60248201527f53656c6c20616e6420627579207461782072617465206d757374206265206c6560448201526b7373207468616e203130302560a01b60648201526084015b60405180910390fd5b60008511620001695760405162461bcd60e51b815260206004820152602860248201527f4d617820616d6f756e7420706572207478206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401620000fd565b6001600160a01b038316620001db5760405162461bcd60e51b815260206004820152603160248201527f53656c6c20616e64206275792074617820726563697069656e742063616e6e6f60448201527074206265207a65726f206164647265737360781b6064820152608401620000fd565b6001600160a01b038116620002335760405162461bcd60e51b815260206004820152601c60248201527f57455448392063616e6e6f74206265207a65726f2061646472657373000000006044820152606401620000fd565b60068690556007859055600880546001600160a01b03808616610100908102610100600160a81b031989151581166001600160a81b03199095169490941717909355600b80549185169093029116179055620002903383620002d5565b6200029d60003362000399565b620002c97fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217753362000399565b505050505050620005d6565b6001600160a01b0382166200032d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000fd565b806002600082825462000341919062000572565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b5050565b62000395828260008281526005602090815260408083206001600160a01b038516845290915290205460ff16620003955760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003ff3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620004519062000599565b90600052602060002090601f016020900481019282620004755760008555620004c0565b82601f106200049057805160ff1916838001178555620004c0565b82800160010185558215620004c0579182015b82811115620004c0578251825591602001919060010190620004a3565b50620004ce929150620004d2565b5090565b5b80821115620004ce5760008155600101620004d3565b80516001600160a01b03811681146200050157600080fd5b919050565b60008060008060008060c087890312156200052057600080fd5b8651955060208701519450604087015180151581146200053f57600080fd5b93506200054f60608801620004e9565b9250608087015191506200056660a08801620004e9565b90509295509295509295565b600082198211156200059457634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620005ae57607f821691505b60208210811415620005d057634e487b7160e01b600052602260045260246000fd5b50919050565b6126c880620005e66000396000f3fe6080604052600436106102ca5760003560e01c806375b238fc11610179578063b631e80b116100d6578063db3abb4f1161008a578063f0e5f31b11610064578063f0e5f31b14610812578063f26a981614610832578063fab536d71461085257600080fd5b8063db3abb4f1461079c578063dd0081c7146107b6578063dd62ed3e146107cc57600080fd5b8063c91f03c7116100bb578063c91f03c71461072c578063cbcf92b91461074c578063d547741f1461077c57600080fd5b8063b631e80b146106f6578063b753134e1461071657600080fd5b806395d89b411161012d578063a3214b4111610112578063a3214b4114610696578063a457c2d7146106b6578063a9059cbb146106d657600080fd5b806395d89b411461066c578063a217fddf1461068157600080fd5b80637a5869131161015e5780637a586913146105f057806385b27c851461061057806391d148541461062657600080fd5b806375b238fc146105ae57806379cc6790146105d057600080fd5b8063313ce567116102275780634aa4a4fc116101db57806370a08231116101c057806370a0823114610538578063744fbc7a1461056e57806375922b5c1461058e57600080fd5b80634aa4a4fc146104fd5780636e49a5051461052257600080fd5b8063395093511161020c578063395093511461049d57806342966c68146104bd5780634939bf58146104dd57600080fd5b8063313ce5671461046157806336568abe1461047d57600080fd5b8063188d44bf1161027e578063248a9ca311610263578063248a9ca3146103f95780632f2ff15d146104295780632fda98471461044b57600080fd5b8063188d44bf146103a957806323b872dd146103d957600080fd5b806306fdde03116102af57806306fdde0314610348578063095ea7b31461036a57806318160ddd1461038a57600080fd5b806301ffc9a7146102d657806304ba00731461030b57600080fd5b366102d157005b600080fd5b3480156102e257600080fd5b506102f66102f1366004612106565b610872565b60405190151581526020015b60405180910390f35b34801561031757600080fd5b506008546103309061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610302565b34801561035457600080fd5b5061035d6108a9565b604051610302919061215c565b34801561037657600080fd5b506102f66103853660046121a4565b61093b565b34801561039657600080fd5b506002545b604051908152602001610302565b3480156103b557600080fd5b506102f66103c43660046121d0565b600f6020526000908152604090205460ff1681565b3480156103e557600080fd5b506102f66103f43660046121ed565b610953565b34801561040557600080fd5b5061039b61041436600461222e565b60009081526005602052604090206001015490565b34801561043557600080fd5b50610449610444366004612247565b610bec565b005b34801561045757600080fd5b5061039b60095481565b34801561046d57600080fd5b5060405160128152602001610302565b34801561048957600080fd5b50610449610498366004612247565b610c16565b3480156104a957600080fd5b506102f66104b83660046121a4565b610ca7565b3480156104c957600080fd5b506104496104d836600461222e565b610ce6565b3480156104e957600080fd5b506104496104f836600461222e565b610cf3565b34801561050957600080fd5b50600b546103309061010090046001600160a01b031681565b34801561052e57600080fd5b5061039b60065481565b34801561054457600080fd5b5061039b6105533660046121d0565b6001600160a01b031660009081526020819052604090205490565b34801561057a57600080fd5b50600d54610330906001600160a01b031681565b34801561059a57600080fd5b506104496105a9366004612277565b610d87565b3480156105ba57600080fd5b5061039b60008051602061269c83398151915281565b3480156105dc57600080fd5b506104496105eb3660046121a4565b610e9d565b3480156105fc57600080fd5b5061044961060b36600461222e565b610eb2565b34801561061c57600080fd5b5061039b60075481565b34801561063257600080fd5b506102f6610641366004612247565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561067857600080fd5b5061035d610f7f565b34801561068d57600080fd5b5061039b600081565b3480156106a257600080fd5b506104496106b13660046122a9565b610f8e565b3480156106c257600080fd5b506102f66106d13660046121a4565b610fe7565b3480156106e257600080fd5b506102f66106f13660046121a4565b61109c565b34801561070257600080fd5b50600c54610330906001600160a01b031681565b34801561072257600080fd5b5061039b600a5481565b34801561073857600080fd5b506104496107473660046121d0565b6110aa565b34801561075857600080fd5b506102f66107673660046121d0565b600e6020526000908152604090205460ff1681565b34801561078857600080fd5b50610449610797366004612247565b6111ab565b3480156107a857600080fd5b506008546102f69060ff1681565b3480156107c257600080fd5b5061039b61271081565b3480156107d857600080fd5b5061039b6107e73660046122cb565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561081e57600080fd5b5061044961082d366004612277565b6111d0565b34801561083e57600080fd5b5061044961084d36600461222e565b6112df565b34801561085e57600080fd5b5061044961086d366004612277565b6113a2565b60006001600160e01b03198216637965db0b60e01b14806108a357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546108b8906122f9565b80601f01602080910402602001604051908101604052809291908181526020018280546108e4906122f9565b80156109315780601f1061090657610100808354040283529160200191610931565b820191906000526020600020905b81548152906001019060200180831161091457829003601f168201915b5050505050905090565b6000336109498185856114bc565b5060019392505050565b60008061095e6115e0565b9050600281600281111561097457610974612334565b14806109825750600b5460ff165b156109c557600b5460ff16156109b257600980549060006109a283612360565b9091555050600b805460ff191690555b6109bd858585611626565b915050610be5565b60008160028111156109d9576109d9612334565b148015610a2057506001600160a01b0384166000908152600e602052604090205460ff1680610a2057506001600160a01b0385166000908152600e602052604090205460ff165b8015610a2f5750600b5460ff16155b15610ae457600061271060065485610a47919061237b565b610a5191906123b0565b90506000610a5f82866123c4565b9050610a6c873084611626565b50610a78878783611626565b506000600a54600954610a8b91906123db565b1590508015610ac257306000908152602081905260409020548015610ac057600b805460ff19166001179055610ac08161163f565b505b60098054906000610ad283612360565b91905055506001945050505050610be5565b6001816002811115610af857610af8612334565b148015610b3f57506001600160a01b0384166000908152600f602052604090205460ff1680610b3f57506001600160a01b0385166000908152600f602052604090205460ff165b8015610b4e5750600b5460ff16155b15610bdf57600061271060065485610b66919061237b565b610b7091906123b0565b90506000610b7e82866123c4565b9050610b8b873084611626565b50610b97878783611626565b506000600a54600954610baa91906123db565b1590508015610ac257306000908152602081905260409020548015610ac057600b805460ff19166001179055610ac08161185a565b60019150505b9392505050565b600082815260056020526040902060010154610c0781611982565b610c11838361198c565b505050565b6001600160a01b0381163314610c995760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b610ca38282611a2e565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906109499082908690610ce19087906123ef565b6114bc565b610cf03382611ab1565b50565b60008051602061269c833981519152610d0b81611982565b60008211610d815760405162461bcd60e51b815260206004820152602b60248201527f4e756d626572206f6620747820746f2073776170206d7573742062652067726560448201527f61746572207468616e20300000000000000000000000000000000000000000006064820152608401610c90565b50600a55565b60008051602061269c833981519152610d9f81611982565b6001600160a01b038316610dff5760405162461bcd60e51b815260206004820152602160248201527f546f6b656e20706169722063616e6e6f74206265207a65726f206164647265736044820152607360f81b6064820152608401610c90565b6001826002811115610e1357610e13612334565b1415610e3e576001600160a01b0383166000908152600f60205260409020805460ff19169055610e5f565b6001600160a01b0383166000908152600e60205260409020805460ff191690555b7f03ff63af074b46900d444d556cbc182d0514533eb11f078058d871a0e61ea5f48383604051610e90929190612407565b60405180910390a1505050565b610ea8823383611be3565b610ca38282611ab1565b60008051602061269c833981519152610eca81611982565b612710821115610f425760405162461bcd60e51b815260206004820152602c60248201527f53656c6c20616e6420627579207461782072617465206d757374206265206c6560448201527f7373207468616e203130302500000000000000000000000000000000000000006064820152608401610c90565b60068290556040518281527f0c41f54b89f9e3a04e4fbea5a59f91607b0b1536c1686591eb24ba306212663b906020015b60405180910390a15050565b6060600480546108b8906122f9565b60008051602061269c833981519152610fa681611982565b6008805460ff19168315159081179091556040519081527f19f6631bccd9c19184f64c6fdf51fec27a18febac41c58456fb37c60b0065ca590602001610f73565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156110845760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610c90565b61109182868684036114bc565b506001949350505050565b600033610949818585611c75565b60008051602061269c8339815191526110c281611982565b6001600160a01b03821661113e5760405162461bcd60e51b815260206004820152603160248201527f53656c6c20616e64206275792074617820726563697069656e742063616e6e6f60448201527f74206265207a65726f20616464726573730000000000000000000000000000006064820152608401610c90565b600880547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b038516908102919091179091556040519081527fabe252a09604b203fc309f9bb4290174e04797b6e772b9f4db5aa68c74b99e9490602001610f73565b6000828152600560205260409020600101546111c681611982565b610c118383611a2e565b60008051602061269c8339815191526111e881611982565b6001600160a01b0383166112485760405162461bcd60e51b815260206004820152602160248201527f546f6b656e20706169722063616e6e6f74206265207a65726f206164647265736044820152607360f81b6064820152608401610c90565b600182600281111561125c5761125c612334565b141561128a576001600160a01b0383166000908152600f60205260409020805460ff191660011790556112ae565b6001600160a01b0383166000908152600e60205260409020805460ff191660011790555b7fee89bb044e89abcb4379b514b38cbb215f4a7b7cae345f62feea28e60f5935ea8383604051610e90929190612407565b60008051602061269c8339815191526112f781611982565b6000821161136d5760405162461bcd60e51b815260206004820152602860248201527f4d617820616d6f756e7420706572207478206d7573742062652067726561746560448201527f72207468616e20300000000000000000000000000000000000000000000000006064820152608401610c90565b60078290556040518281527fe4c7b7003e32c317bc15ca09c2061a37cb968d522db488ddde3cc61119865dc690602001610f73565b60008051602061269c8339815191526113ba81611982565b6001600160a01b03831661141b5760405162461bcd60e51b815260206004820152602260248201527f5377617020726f757465722063616e6e6f74206265207a65726f206164647265604482015261737360f01b6064820152608401610c90565b600182600281111561142f5761142f612334565b141561146257600c805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03851617905561148b565b600d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0385161790555b7f53525488eea7ec8b6fa906e06e2f8a78da059fade1fb2e2fdba4c3a28e5e97c48383604051610e90929190612407565b6001600160a01b03831661151e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c90565b6001600160a01b03821661157f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c90565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600c5460009033906001600160a01b031681141561160057600191505090565b600d546001600160a01b038281169116141561161e57600091505090565b600291505090565b600033611634858285611be3565b610bdf858585611c75565b600d546116579030906001600160a01b0316836114bc565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061168c5761168c612458565b6001600160a01b03928316602091820292909201810191909152600d54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156116e057600080fd5b505afa1580156116f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611718919061246e565b8160018151811061172b5761172b612458565b6001600160a01b039283166020918202929092010152600d5460405163d06ca61f60e01b8152600092919091169063d06ca61f9061176f90869086906004016124cf565b60006040518083038186803b15801561178757600080fd5b505afa15801561179b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117c391908101906124f0565b6001815181106117d5576117d5612458565b6020908102919091010151600d5460085460405163791ac94760e01b81529293506001600160a01b039182169263791ac94792611823928892879289926101009004169042906004016125ae565b600060405180830381600087803b15801561183d57600080fd5b505af1158015611851573d6000803e3d6000fd5b50505050505050565b600c546118729030906001600160a01b0316836114bc565b600c54604080516101008082018352308252600b546001600160a01b0390829004811660208401908152610bb884860190815260085493909304821660608501908152426080860190815260a08601898152600060c0880181815260e08901918252985163414bf38960e01b8152975186166004890152935185166024880152945162ffffff166044870152905183166064860152516084850152915160a4840152925160c483015251821660e482015291169063414bf3899061010401602060405180830381600087803b15801561194a57600080fd5b505af115801561195e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca391906125ea565b610cf08133611d03565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16610ca35760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556119ea3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff1615610ca35760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216611b115760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c90565b6001600160a01b03821660009081526020819052604090205481811015611b855760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c90565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611c6f5781811015611c625760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c90565b611c6f84848484036114bc565b50505050565b60085460ff1615611cf857600754811115611cf85760405162461bcd60e51b815260206004820152603a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61786960448201527f6d756d20616d6f756e7420706572207472616e73616374696f6e0000000000006064820152608401610c90565b610c11838383611d78565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16610ca357611d3681611f4b565b611d41836020611f5d565b604051602001611d52929190612603565b60408051601f198184030181529082905262461bcd60e51b8252610c909160040161215c565b6001600160a01b038316611df45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610c90565b6001600160a01b038216611e565760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c90565b6001600160a01b03831660009081526020819052604090205481811015611ee55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610c90565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611c6f565b60606108a36001600160a01b03831660145b60606000611f6c83600261237b565b611f779060026123ef565b67ffffffffffffffff811115611f8f57611f8f612442565b6040519080825280601f01601f191660200182016040528015611fb9576020820181803683370190505b509050600360fc1b81600081518110611fd457611fd4612458565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061200357612003612458565b60200101906001600160f81b031916908160001a905350600061202784600261237b565b6120329060016123ef565b90505b60018111156120b7577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061207357612073612458565b1a60f81b82828151811061208957612089612458565b60200101906001600160f81b031916908160001a90535060049490941c936120b081612684565b9050612035565b508315610be55760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c90565b60006020828403121561211857600080fd5b81356001600160e01b031981168114610be557600080fd5b60005b8381101561214b578181015183820152602001612133565b83811115611c6f5750506000910152565b602081526000825180602084015261217b816040850160208701612130565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610cf057600080fd5b600080604083850312156121b757600080fd5b82356121c28161218f565b946020939093013593505050565b6000602082840312156121e257600080fd5b8135610be58161218f565b60008060006060848603121561220257600080fd5b833561220d8161218f565b9250602084013561221d8161218f565b929592945050506040919091013590565b60006020828403121561224057600080fd5b5035919050565b6000806040838503121561225a57600080fd5b82359150602083013561226c8161218f565b809150509250929050565b6000806040838503121561228a57600080fd5b82356122958161218f565b915060208301356003811061226c57600080fd5b6000602082840312156122bb57600080fd5b81358015158114610be557600080fd5b600080604083850312156122de57600080fd5b82356122e98161218f565b9150602083013561226c8161218f565b600181811c9082168061230d57607f821691505b6020821081141561232e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156123745761237461234a565b5060010190565b60008160001904831182151516156123955761239561234a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826123bf576123bf61239a565b500490565b6000828210156123d6576123d661234a565b500390565b6000826123ea576123ea61239a565b500690565b600082198211156124025761240261234a565b500190565b6001600160a01b0383168152604081016003831061243557634e487b7160e01b600052602160045260246000fd5b8260208301529392505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561248057600080fd5b8151610be58161218f565b600081518084526020808501945080840160005b838110156124c45781516001600160a01b03168752958201959082019060010161249f565b509495945050505050565b8281526040602082015260006124e8604083018461248b565b949350505050565b6000602080838503121561250357600080fd5b825167ffffffffffffffff8082111561251b57600080fd5b818501915085601f83011261252f57600080fd5b81518181111561254157612541612442565b8060051b604051601f19603f8301168101818110858211171561256657612566612442565b60405291825284820192508381018501918883111561258457600080fd5b938501935b828510156125a257845184529385019392850192612589565b98975050505050505050565b85815284602082015260a0604082015260006125cd60a083018661248b565b6001600160a01b0394909416606083015250608001529392505050565b6000602082840312156125fc57600080fd5b5051919050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161263b816017850160208801612130565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351612678816028840160208801612130565b01602801949350505050565b6000816126935761269361234a565b50600019019056fea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a164736f6c6343000809000a000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000248a3fdf9346da30c39800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006521502bdf1983194d4273297bf048676dd066bd0000000000000000000000000000000000001c8c01e6ab0f5a7618cec0000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Deployed Bytecode

0x6080604052600436106102ca5760003560e01c806375b238fc11610179578063b631e80b116100d6578063db3abb4f1161008a578063f0e5f31b11610064578063f0e5f31b14610812578063f26a981614610832578063fab536d71461085257600080fd5b8063db3abb4f1461079c578063dd0081c7146107b6578063dd62ed3e146107cc57600080fd5b8063c91f03c7116100bb578063c91f03c71461072c578063cbcf92b91461074c578063d547741f1461077c57600080fd5b8063b631e80b146106f6578063b753134e1461071657600080fd5b806395d89b411161012d578063a3214b4111610112578063a3214b4114610696578063a457c2d7146106b6578063a9059cbb146106d657600080fd5b806395d89b411461066c578063a217fddf1461068157600080fd5b80637a5869131161015e5780637a586913146105f057806385b27c851461061057806391d148541461062657600080fd5b806375b238fc146105ae57806379cc6790146105d057600080fd5b8063313ce567116102275780634aa4a4fc116101db57806370a08231116101c057806370a0823114610538578063744fbc7a1461056e57806375922b5c1461058e57600080fd5b80634aa4a4fc146104fd5780636e49a5051461052257600080fd5b8063395093511161020c578063395093511461049d57806342966c68146104bd5780634939bf58146104dd57600080fd5b8063313ce5671461046157806336568abe1461047d57600080fd5b8063188d44bf1161027e578063248a9ca311610263578063248a9ca3146103f95780632f2ff15d146104295780632fda98471461044b57600080fd5b8063188d44bf146103a957806323b872dd146103d957600080fd5b806306fdde03116102af57806306fdde0314610348578063095ea7b31461036a57806318160ddd1461038a57600080fd5b806301ffc9a7146102d657806304ba00731461030b57600080fd5b366102d157005b600080fd5b3480156102e257600080fd5b506102f66102f1366004612106565b610872565b60405190151581526020015b60405180910390f35b34801561031757600080fd5b506008546103309061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610302565b34801561035457600080fd5b5061035d6108a9565b604051610302919061215c565b34801561037657600080fd5b506102f66103853660046121a4565b61093b565b34801561039657600080fd5b506002545b604051908152602001610302565b3480156103b557600080fd5b506102f66103c43660046121d0565b600f6020526000908152604090205460ff1681565b3480156103e557600080fd5b506102f66103f43660046121ed565b610953565b34801561040557600080fd5b5061039b61041436600461222e565b60009081526005602052604090206001015490565b34801561043557600080fd5b50610449610444366004612247565b610bec565b005b34801561045757600080fd5b5061039b60095481565b34801561046d57600080fd5b5060405160128152602001610302565b34801561048957600080fd5b50610449610498366004612247565b610c16565b3480156104a957600080fd5b506102f66104b83660046121a4565b610ca7565b3480156104c957600080fd5b506104496104d836600461222e565b610ce6565b3480156104e957600080fd5b506104496104f836600461222e565b610cf3565b34801561050957600080fd5b50600b546103309061010090046001600160a01b031681565b34801561052e57600080fd5b5061039b60065481565b34801561054457600080fd5b5061039b6105533660046121d0565b6001600160a01b031660009081526020819052604090205490565b34801561057a57600080fd5b50600d54610330906001600160a01b031681565b34801561059a57600080fd5b506104496105a9366004612277565b610d87565b3480156105ba57600080fd5b5061039b60008051602061269c83398151915281565b3480156105dc57600080fd5b506104496105eb3660046121a4565b610e9d565b3480156105fc57600080fd5b5061044961060b36600461222e565b610eb2565b34801561061c57600080fd5b5061039b60075481565b34801561063257600080fd5b506102f6610641366004612247565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561067857600080fd5b5061035d610f7f565b34801561068d57600080fd5b5061039b600081565b3480156106a257600080fd5b506104496106b13660046122a9565b610f8e565b3480156106c257600080fd5b506102f66106d13660046121a4565b610fe7565b3480156106e257600080fd5b506102f66106f13660046121a4565b61109c565b34801561070257600080fd5b50600c54610330906001600160a01b031681565b34801561072257600080fd5b5061039b600a5481565b34801561073857600080fd5b506104496107473660046121d0565b6110aa565b34801561075857600080fd5b506102f66107673660046121d0565b600e6020526000908152604090205460ff1681565b34801561078857600080fd5b50610449610797366004612247565b6111ab565b3480156107a857600080fd5b506008546102f69060ff1681565b3480156107c257600080fd5b5061039b61271081565b3480156107d857600080fd5b5061039b6107e73660046122cb565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561081e57600080fd5b5061044961082d366004612277565b6111d0565b34801561083e57600080fd5b5061044961084d36600461222e565b6112df565b34801561085e57600080fd5b5061044961086d366004612277565b6113a2565b60006001600160e01b03198216637965db0b60e01b14806108a357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546108b8906122f9565b80601f01602080910402602001604051908101604052809291908181526020018280546108e4906122f9565b80156109315780601f1061090657610100808354040283529160200191610931565b820191906000526020600020905b81548152906001019060200180831161091457829003601f168201915b5050505050905090565b6000336109498185856114bc565b5060019392505050565b60008061095e6115e0565b9050600281600281111561097457610974612334565b14806109825750600b5460ff165b156109c557600b5460ff16156109b257600980549060006109a283612360565b9091555050600b805460ff191690555b6109bd858585611626565b915050610be5565b60008160028111156109d9576109d9612334565b148015610a2057506001600160a01b0384166000908152600e602052604090205460ff1680610a2057506001600160a01b0385166000908152600e602052604090205460ff165b8015610a2f5750600b5460ff16155b15610ae457600061271060065485610a47919061237b565b610a5191906123b0565b90506000610a5f82866123c4565b9050610a6c873084611626565b50610a78878783611626565b506000600a54600954610a8b91906123db565b1590508015610ac257306000908152602081905260409020548015610ac057600b805460ff19166001179055610ac08161163f565b505b60098054906000610ad283612360565b91905055506001945050505050610be5565b6001816002811115610af857610af8612334565b148015610b3f57506001600160a01b0384166000908152600f602052604090205460ff1680610b3f57506001600160a01b0385166000908152600f602052604090205460ff165b8015610b4e5750600b5460ff16155b15610bdf57600061271060065485610b66919061237b565b610b7091906123b0565b90506000610b7e82866123c4565b9050610b8b873084611626565b50610b97878783611626565b506000600a54600954610baa91906123db565b1590508015610ac257306000908152602081905260409020548015610ac057600b805460ff19166001179055610ac08161185a565b60019150505b9392505050565b600082815260056020526040902060010154610c0781611982565b610c11838361198c565b505050565b6001600160a01b0381163314610c995760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b610ca38282611a2e565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906109499082908690610ce19087906123ef565b6114bc565b610cf03382611ab1565b50565b60008051602061269c833981519152610d0b81611982565b60008211610d815760405162461bcd60e51b815260206004820152602b60248201527f4e756d626572206f6620747820746f2073776170206d7573742062652067726560448201527f61746572207468616e20300000000000000000000000000000000000000000006064820152608401610c90565b50600a55565b60008051602061269c833981519152610d9f81611982565b6001600160a01b038316610dff5760405162461bcd60e51b815260206004820152602160248201527f546f6b656e20706169722063616e6e6f74206265207a65726f206164647265736044820152607360f81b6064820152608401610c90565b6001826002811115610e1357610e13612334565b1415610e3e576001600160a01b0383166000908152600f60205260409020805460ff19169055610e5f565b6001600160a01b0383166000908152600e60205260409020805460ff191690555b7f03ff63af074b46900d444d556cbc182d0514533eb11f078058d871a0e61ea5f48383604051610e90929190612407565b60405180910390a1505050565b610ea8823383611be3565b610ca38282611ab1565b60008051602061269c833981519152610eca81611982565b612710821115610f425760405162461bcd60e51b815260206004820152602c60248201527f53656c6c20616e6420627579207461782072617465206d757374206265206c6560448201527f7373207468616e203130302500000000000000000000000000000000000000006064820152608401610c90565b60068290556040518281527f0c41f54b89f9e3a04e4fbea5a59f91607b0b1536c1686591eb24ba306212663b906020015b60405180910390a15050565b6060600480546108b8906122f9565b60008051602061269c833981519152610fa681611982565b6008805460ff19168315159081179091556040519081527f19f6631bccd9c19184f64c6fdf51fec27a18febac41c58456fb37c60b0065ca590602001610f73565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156110845760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610c90565b61109182868684036114bc565b506001949350505050565b600033610949818585611c75565b60008051602061269c8339815191526110c281611982565b6001600160a01b03821661113e5760405162461bcd60e51b815260206004820152603160248201527f53656c6c20616e64206275792074617820726563697069656e742063616e6e6f60448201527f74206265207a65726f20616464726573730000000000000000000000000000006064820152608401610c90565b600880547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b038516908102919091179091556040519081527fabe252a09604b203fc309f9bb4290174e04797b6e772b9f4db5aa68c74b99e9490602001610f73565b6000828152600560205260409020600101546111c681611982565b610c118383611a2e565b60008051602061269c8339815191526111e881611982565b6001600160a01b0383166112485760405162461bcd60e51b815260206004820152602160248201527f546f6b656e20706169722063616e6e6f74206265207a65726f206164647265736044820152607360f81b6064820152608401610c90565b600182600281111561125c5761125c612334565b141561128a576001600160a01b0383166000908152600f60205260409020805460ff191660011790556112ae565b6001600160a01b0383166000908152600e60205260409020805460ff191660011790555b7fee89bb044e89abcb4379b514b38cbb215f4a7b7cae345f62feea28e60f5935ea8383604051610e90929190612407565b60008051602061269c8339815191526112f781611982565b6000821161136d5760405162461bcd60e51b815260206004820152602860248201527f4d617820616d6f756e7420706572207478206d7573742062652067726561746560448201527f72207468616e20300000000000000000000000000000000000000000000000006064820152608401610c90565b60078290556040518281527fe4c7b7003e32c317bc15ca09c2061a37cb968d522db488ddde3cc61119865dc690602001610f73565b60008051602061269c8339815191526113ba81611982565b6001600160a01b03831661141b5760405162461bcd60e51b815260206004820152602260248201527f5377617020726f757465722063616e6e6f74206265207a65726f206164647265604482015261737360f01b6064820152608401610c90565b600182600281111561142f5761142f612334565b141561146257600c805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03851617905561148b565b600d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0385161790555b7f53525488eea7ec8b6fa906e06e2f8a78da059fade1fb2e2fdba4c3a28e5e97c48383604051610e90929190612407565b6001600160a01b03831661151e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c90565b6001600160a01b03821661157f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c90565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600c5460009033906001600160a01b031681141561160057600191505090565b600d546001600160a01b038281169116141561161e57600091505090565b600291505090565b600033611634858285611be3565b610bdf858585611c75565b600d546116579030906001600160a01b0316836114bc565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061168c5761168c612458565b6001600160a01b03928316602091820292909201810191909152600d54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156116e057600080fd5b505afa1580156116f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611718919061246e565b8160018151811061172b5761172b612458565b6001600160a01b039283166020918202929092010152600d5460405163d06ca61f60e01b8152600092919091169063d06ca61f9061176f90869086906004016124cf565b60006040518083038186803b15801561178757600080fd5b505afa15801561179b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117c391908101906124f0565b6001815181106117d5576117d5612458565b6020908102919091010151600d5460085460405163791ac94760e01b81529293506001600160a01b039182169263791ac94792611823928892879289926101009004169042906004016125ae565b600060405180830381600087803b15801561183d57600080fd5b505af1158015611851573d6000803e3d6000fd5b50505050505050565b600c546118729030906001600160a01b0316836114bc565b600c54604080516101008082018352308252600b546001600160a01b0390829004811660208401908152610bb884860190815260085493909304821660608501908152426080860190815260a08601898152600060c0880181815260e08901918252985163414bf38960e01b8152975186166004890152935185166024880152945162ffffff166044870152905183166064860152516084850152915160a4840152925160c483015251821660e482015291169063414bf3899061010401602060405180830381600087803b15801561194a57600080fd5b505af115801561195e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca391906125ea565b610cf08133611d03565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16610ca35760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556119ea3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff1615610ca35760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216611b115760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c90565b6001600160a01b03821660009081526020819052604090205481811015611b855760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c90565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611c6f5781811015611c625760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c90565b611c6f84848484036114bc565b50505050565b60085460ff1615611cf857600754811115611cf85760405162461bcd60e51b815260206004820152603a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61786960448201527f6d756d20616d6f756e7420706572207472616e73616374696f6e0000000000006064820152608401610c90565b610c11838383611d78565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16610ca357611d3681611f4b565b611d41836020611f5d565b604051602001611d52929190612603565b60408051601f198184030181529082905262461bcd60e51b8252610c909160040161215c565b6001600160a01b038316611df45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610c90565b6001600160a01b038216611e565760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c90565b6001600160a01b03831660009081526020819052604090205481811015611ee55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610c90565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611c6f565b60606108a36001600160a01b03831660145b60606000611f6c83600261237b565b611f779060026123ef565b67ffffffffffffffff811115611f8f57611f8f612442565b6040519080825280601f01601f191660200182016040528015611fb9576020820181803683370190505b509050600360fc1b81600081518110611fd457611fd4612458565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061200357612003612458565b60200101906001600160f81b031916908160001a905350600061202784600261237b565b6120329060016123ef565b90505b60018111156120b7577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061207357612073612458565b1a60f81b82828151811061208957612089612458565b60200101906001600160f81b031916908160001a90535060049490941c936120b081612684565b9050612035565b508315610be55760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c90565b60006020828403121561211857600080fd5b81356001600160e01b031981168114610be557600080fd5b60005b8381101561214b578181015183820152602001612133565b83811115611c6f5750506000910152565b602081526000825180602084015261217b816040850160208701612130565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610cf057600080fd5b600080604083850312156121b757600080fd5b82356121c28161218f565b946020939093013593505050565b6000602082840312156121e257600080fd5b8135610be58161218f565b60008060006060848603121561220257600080fd5b833561220d8161218f565b9250602084013561221d8161218f565b929592945050506040919091013590565b60006020828403121561224057600080fd5b5035919050565b6000806040838503121561225a57600080fd5b82359150602083013561226c8161218f565b809150509250929050565b6000806040838503121561228a57600080fd5b82356122958161218f565b915060208301356003811061226c57600080fd5b6000602082840312156122bb57600080fd5b81358015158114610be557600080fd5b600080604083850312156122de57600080fd5b82356122e98161218f565b9150602083013561226c8161218f565b600181811c9082168061230d57607f821691505b6020821081141561232e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156123745761237461234a565b5060010190565b60008160001904831182151516156123955761239561234a565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826123bf576123bf61239a565b500490565b6000828210156123d6576123d661234a565b500390565b6000826123ea576123ea61239a565b500690565b600082198211156124025761240261234a565b500190565b6001600160a01b0383168152604081016003831061243557634e487b7160e01b600052602160045260246000fd5b8260208301529392505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561248057600080fd5b8151610be58161218f565b600081518084526020808501945080840160005b838110156124c45781516001600160a01b03168752958201959082019060010161249f565b509495945050505050565b8281526040602082015260006124e8604083018461248b565b949350505050565b6000602080838503121561250357600080fd5b825167ffffffffffffffff8082111561251b57600080fd5b818501915085601f83011261252f57600080fd5b81518181111561254157612541612442565b8060051b604051601f19603f8301168101818110858211171561256657612566612442565b60405291825284820192508381018501918883111561258457600080fd5b938501935b828510156125a257845184529385019392850192612589565b98975050505050505050565b85815284602082015260a0604082015260006125cd60a083018661248b565b6001600160a01b0394909416606083015250608001529392505050565b6000602082840312156125fc57600080fd5b5051919050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161263b816017850160208801612130565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351612678816028840160208801612130565b01602801949350505050565b6000816126935761269361234a565b50600019019056fea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a164736f6c6343000809000a

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000248a3fdf9346da30c39800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006521502bdf1983194d4273297bf048676dd066bd0000000000000000000000000000000000001c8c01e6ab0f5a7618cec0000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

-----Decoded View---------------
Arg [0] : _sellAndBuyTaxRate (uint256): 100
Arg [1] : _maxAmountPerTx (uint256): 2895000000000000000000000000000
Arg [2] : _isAntiWhaleEnabled (bool): False
Arg [3] : _sellAndBuyTaxRecipient (address): 0x6521502bdF1983194D4273297bF048676dd066bd
Arg [4] : _totalSupply (uint256): 579000000000000000000000000000000
Arg [5] : _WETH9 (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [1] : 00000000000000000000000000000000000000248a3fdf9346da30c398000000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000006521502bdf1983194d4273297bf048676dd066bd
Arg [4] : 0000000000000000000000000000000000001c8c01e6ab0f5a7618cec0000000
Arg [5] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2


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.